smart_ide/docs/repo/service-claw-harness.md
Nicolas Cantu ac96434351 docs: centralize README content under docs/repo/
**Motivations:**
- Single canonical documentation tree under docs/; reduce drift between README copies.

**Evolutions:**
- Add docs/repo/ with operational guides (cron, systemd, projects, logs, docv, ia_dev, services, scripts, extension).
- Replace scattered README.md files with pointers to docs/repo/*.md.
- Refresh docs/README.md index and cross-links across docs/, .cursor rules/agents.
- Bump ia_dev submodule to matching doc pointer commits.
2026-04-03 18:20:31 +02:00

35 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# claw-harness-api (`services/claw-harness-api/`)
Notes dintégration et **proxy HTTP mince** pour le harnais **claw-code** (runtime multi-modèles). Amont :
- [gitlawb — claw-code](https://gitlawb.com/node/repos/z6Mks1jg/claw-code)
- [instructkr/claw-code](https://github.com/instructkr/claw-code) (clone fréquent)
Ce dossier **ne vend pas** claw-code : cloner amont, builder selon son `README` (workspace Rust `rust/`, etc.).
## Politique : pas dAnthropic dans les gabarits
**`providers.example.yaml`** : Ollama et placeholders OpenAI-compatibles / Gemini ; **Anthropic `enabled: false`**. Lapplication opérationnelle (pare-feu, absence de clé) reste de votre ressort.
## Proxy (`proxy/`)
| Variable | Obligatoire | Description |
|----------|-------------|-------------|
| `CLAW_PROXY_TOKEN` | oui | Bearer côté client du proxy. |
| `CLAW_PROXY_HOST` | non | Défaut `127.0.0.1` |
| `CLAW_PROXY_PORT` | non | Défaut `37142` |
| `CLAW_UPSTREAM_URL` | oui | URL du serveur HTTP claw |
```bash
cd services/claw-harness-api/proxy
npm install
npm run build
export CLAW_PROXY_TOKEN='…'
export CLAW_UPSTREAM_URL='http://127.0.0.1:37143'
npm start
```
## Spécification smart_ide
[API/claw-harness-proxy.md](../API/claw-harness-proxy.md), [features/claw-harness-api.md](../features/claw-harness-api.md).