- Add ia_dev submodule (projects/smart_ide on forge 4nk) - Document APIs, orchestrator, gateway, local-office, rollout - Add systemd/scripts layout; relocate setup scripts - Remove obsolete nginx/enso-only docs from this repo scope
35 lines
1.0 KiB
Markdown
35 lines
1.0 KiB
Markdown
# smart-ide-orchestrator
|
|
|
|
HTTP **intent router** (no LLM): maps `intent` strings to upstream targets (Ollama, AnythingLLM, micro-services, ia-dev-gateway). `POST /v1/execute` records timeline entries; forwarding to upstreams is a stub — extend with `fetch()` and service tokens.
|
|
|
|
## Build / run
|
|
|
|
```bash
|
|
npm install
|
|
npm run build
|
|
export ORCHESTRATOR_TOKEN='your-secret'
|
|
npm start
|
|
```
|
|
|
|
Default bind: `127.0.0.1:37145`.
|
|
|
|
## Environment (optional)
|
|
|
|
| Variable | Role |
|
|
|----------|------|
|
|
| `OLLAMA_URL` | Default `http://127.0.0.1:11434` |
|
|
| `ANYTHINGLLM_BASE_URL` | For `rag.query` resolution |
|
|
| `REPOS_DEVTOOLS_URL` | Default `http://127.0.0.1:37140` |
|
|
| `REGEX_SEARCH_URL` | Default `http://127.0.0.1:37143` |
|
|
| `LANGEXTRACT_URL` | Default `http://127.0.0.1:37141` |
|
|
| `LOCAL_OFFICE_URL` | Default `http://127.0.0.1:8000` |
|
|
| `IA_DEV_GATEWAY_URL` | Default `http://127.0.0.1:37144` |
|
|
|
|
## Contract
|
|
|
|
[docs/API/orchestrator.md](../../docs/API/orchestrator.md), [docs/features/orchestrator-api.md](../../docs/features/orchestrator-api.md).
|
|
|
|
## License
|
|
|
|
MIT
|