sageroute
Trajectory-aware model router. An OpenAI-compatible proxy that starts every task on a cheap model, watches what the agent actually does, and escalates on real execution evidence via the Levanto Sage API.
파일 탐색기
- bug_report.yml
- config.yml
- feature_request.yml
- ci.yml
- pull_request_template.md
- architecture-dark.svg
- architecture-light.svg
- architecture.md
- configuration.md
- decision-model.md
- README.md
- run.sh
- SPEC.md
- test_engine.py
- live-e2e.ts
- live-oauth.ts
- live-subscription.ts
- install-launchagent.sh
- sageroute-daemon.sh
- setup.sh
- evidence.ts
- index.ts
- policy.ts
- resolve.ts
- router.ts
- sage.ts
- session.ts
- signals.ts
- types.ts
- anthropic.ts
- callback.ts
- import.ts
- index.ts
- openai.ts
- pkce.ts
- store.ts
- types.ts
- anthropic.ts
- config.ts
- fingerprint.ts
- inbound-anthropic.ts
- server.ts
- upstream.ts
- cli.ts
- init.ts
- registry.ts
- inbound-anthropic.test.ts
- init.test.ts
- oauth-import.test.ts
- oauth-pkce.test.ts
- oauth-store.test.ts
- proxy-anthropic.test.ts
- proxy-authmode.test.ts
- proxy-config.test.ts
- proxy-messages-route.test.ts
- proxy-oauth-dispatch.test.ts
- proxy-server.test.ts
- proxy-upstream.test.ts
- registry.test.ts
- sageroute-evidence.test.ts
- sageroute-policy.test.ts
- sageroute-session.test.ts
- sageroute-signals.test.ts
- .dockerignore
- .editorconfig
- .env.example
- .gitignore
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- Dockerfile
- LICENSE
- package.json
- README.md
- sageroute.config.example.json
- sageroute.config.oauth.example.json
- sageroute.daily.json
- SECURITY.md
- tsconfig.json
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
bun install
설명 보기 ▼
bun install
Install JavaScript dependencies for a project from `package.json`.
bun {{[i|install]}}
Install all dependencies listed in `package.json`:
bun {{[i|install]}} {{package_name}}@{{version}}
Install a single package (this is an alias for `bun add`):
bun {{[i|install]}} {{[-g|--global]}} {{package_name}}
Install a package globally:
bun run
설명 보기 ▼
bun run
Execute a JavaScript/TypeScript file, or a script from `package.json`.
bun run {{script_name}}
Run a script defined in `package.json`:
bun run {{path/to/file.ts}}
Run a JavaScript or TypeScript file directly:
bun run --watch {{path/to/file.ts}}
Run a file in "watch" mode (restarts automatically when the file changes):
bun test
설명 보기 ▼
bun test
Run tests using Bun's built-in test runner.
It is a fast, Jest-compatible test runner that looks for `*.test.ts` (and similar) files.
bun test
Run all test files found in the project:
bun test {{path/to/file.test.ts}}
Run a specific test file or directory:
bun test --watch
Run tests in "watch" mode (re-runs automatically on file changes):
claude
설명 보기 ▼
claude
코드베이스를 이해하고 자연어 명령을 통해 더 빠르게 코딩할 수 있도록 도와주는 에이전트 기반 코딩 도구.
더 많은 정보: <https://code.claude.com/docs/en/cli-reference>.
claude prompt
프롬프트로 실행:
claude update
`claude`를 업데이트:
claude mcp list
지정된 MCP 서버 목록을 표시:
docker build
설명 보기 ▼
docker build
Build an image from a Dockerfile.
docker build .
Build a Docker image using the Dockerfile in the current directory:
docker build {{github.com/creack/docker-firefox}}
Build a Docker image from a Dockerfile at a specified URL:
docker build {{[-t|--tag]}} {{name:tag}} .
Build a Docker image and tag it:
docker run
설명 보기 ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
git clone
설명 보기 ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
openai
설명 보기 ▼
openai
OpenAI API에 접근할 수 있는 CLI 도구.
더 많은 정보: <https://github.com/openai/openai-python>.
openai api models.list
모델 나열:
openai api completions.create --model {{ada}} --prompt "{{Hello world}}"
완료 생성:
openai api chat_completions.create --model {{gpt-3.5-turbo}} --message {{user "Hello world"}}
채팅 완료 생성:
serve
설명 보기 ▼
serve
정적 파일 제공 및 디렉토리 목록화 도구.
더 많은 정보: <https://github.com/vercel/serve>.
serve
기본 포트에서 현재 디렉토리를 제공하는 HTTP 서버 시작:
serve -p {{port}} {{path/to/directory}}
특정 [p]포트에서 특정 디렉토리를 제공하는 HTTP 서버 시작:
serve {{[-C|--cors]}}
모든 응답에 `Access-Control-Allow-Origin: *` 헤더를 포함하여 CORS가 활성화된 HTTP 서버 시작:
choice
설명 보기 ▼
choice
키 입력을 기다리고 배치 스크립트에서 `ERRORLEVEL`을 설정하는 명령어 .
더 많은 정보: <https://www.dosbox.com/wiki/Commands#CHOICE>.
CHOICE "{{prompt}}"
yes/no 선택을 묻는 프롬프트 표시:
