4NK 3f1894e21f Remove AnythingLLM VS Code extension; add Carbonyl service (upstream submodule)
- Delete extensions/anythingllm-workspaces; document migration to anythingllm-devtools
- Add services/carbonyl: shallow submodule fathyb/carbonyl, run-carbonyl.sh (Docker/native)
- Add scripts/open-carbonyl-preview-test.sh and smart_ide.preview_urls.test in example conf
- Docs: service-carbonyl, carbonyl-terminal-browser, architecture index updates
2026-04-03 22:13:34 +02:00

1.9 KiB
Raw Blame History

anythingllm-devtools

Service HTTP local : orchestration repos-devtools-server + API AnythingLLM (workspaces, upload documents initiaux selon .4nkaiignore). Remplace lancienne extension IDE AnythingLLM (voir extension-anythingllm-workspaces.md).

Prérequis

  • Node ≥ 20
  • repos-devtools-server démarré (REPOS_DEVTOOLS_URL, REPOS_DEVTOOLS_TOKEN)
  • AnythingLLM joignable (ANYTHINGLLM_BASE_URL, ANYTHINGLLM_API_KEY)

Configuration

Copier .env.example vers un fichier denvironnement chargé par votre gestionnaire de processus (le dépôt ne versionne pas les secrets). Variables principales :

Variable Rôle
ANYTHINGLLM_DEVTOOLS_TOKEN Secret Bearer pour ce service (obligatoire)
ANYTHINGLLM_DEVTOOLS_HOST / ANYTHINGLLM_DEVTOOLS_PORT Écoute (défaut 127.0.0.1:37146)
ANYTHINGLLM_BASE_URL / ANYTHINGLLM_API_KEY API AnythingLLM
REPOS_DEVTOOLS_URL / REPOS_DEVTOOLS_TOKEN API repos-devtools-server
ANYTHINGLLM_INITIAL_SYNC_* Limites upload RAG initial

Modèle .4nkaiignore par défaut : templates/4nkaiignore.default (surcharge possible avec ANYTHINGLLM_DEVTOOLS_TEMPLATE_PATH).

Build et exécution

cd services/anythingllm-devtools
npm install
npm run build
ANYTHINGLLM_DEVTOOLS_TOKEN=ANYTHINGLLM_BASE_URL=ANYTHINGLLM_API_KEY=REPOS_DEVTOOLS_URL=REPOS_DEVTOOLS_TOKEN=… npm start

API

Voir docs/API/anythingllm-devtools-api.md.

Intégration

Les clients (orchestrateur, scripts, agents via ia-dev-gateway) appellent ce service au lieu dembarquer la logique dans lIDE. Les actions openFolder / ouverture navigateur ne sont pas exécutées côté serveur : la réponse JSON contient une liste actions que le client peut appliquer.