Remove config file deployment path

This commit is contained in:
hwhung
2026-04-27 12:37:02 +08:00
parent c5eca5bdb9
commit 934ab43ccc
4 changed files with 13 additions and 124 deletions
+11 -5
View File
@@ -2,7 +2,7 @@
## Overview
Standalone TypeScript API server with file-based configuration.
Standalone TypeScript API server with CLI-only deployment configuration.
## Stack
@@ -11,16 +11,22 @@ Standalone TypeScript API server with file-based configuration.
- **TypeScript version**: 5.9
- **API framework**: Express 5
- **Build**: esbuild
- **Config**: `config.json` by default, or `--config ./path.json`
## Provider Endpoints
Do not configure this proxy with public official provider endpoints. Agents should populate `providers.openai.baseURL` and `providers.anthropic.baseURL` with the internal endpoints supplied by their runtime/integration, along with the matching internal tokens.
Use Replit AI Integrations endpoints through CLI flags:
- `--openai-base-url`
- `--openai-api-key`
- `--anthropic-base-url`
- `--anthropic-api-key`
Never use public official provider endpoints.
## Key Commands
- `pnpm dev` — run API server locally
- `pnpm dev -- --config ./config.local.json` — run with a custom config file
- `pnpm install --ignore-workspace` — install dependencies without joining a parent workspace
- `pnpm dev` — run API server locally on port `24731`
- `pnpm run typecheck` — typecheck the server
- `pnpm run build` — typecheck and build `dist/index.mjs`
- `pnpm start` — run the built server