Revert "refactor(honcho): write all host-scoped settings into hosts block"

This reverts commit c90ba029ce.
This commit is contained in:
Erosika 2026-03-10 17:11:58 -04:00
parent c90ba029ce
commit 4c54c2709c
3 changed files with 28 additions and 42 deletions

View file

@ -37,16 +37,16 @@ The setup wizard walks through API key, peer names, workspace, memory mode, writ
### Manual Setup
#### 1. Get an API Key
Go to [app.honcho.dev](https://app.honcho.dev) > Settings > API Keys.
#### 2. Install the Client Library
#### 1. Install the Client Library
```bash
pip install 'honcho-ai>=2.0.1'
```
#### 2. Get an API Key
Go to [app.honcho.dev](https://app.honcho.dev) > Settings > API Keys.
#### 3. Configure
Honcho reads from `~/.honcho/config.json` (shared across all Honcho-enabled applications):
@ -54,23 +54,17 @@ Honcho reads from `~/.honcho/config.json` (shared across all Honcho-enabled appl
```json
{
"apiKey": "your-honcho-api-key",
"workspace": "hermes",
"peerName": "your-name",
"enabled": true,
"hosts": {
"hermes": {
"workspace": "hermes",
"aiPeer": "hermes",
"memoryMode": "hybrid",
"writeFrequency": "async",
"recallMode": "hybrid",
"sessionStrategy": "per-directory"
}
}
"aiPeer": "hermes",
"memoryMode": "hybrid",
"writeFrequency": "async",
"recallMode": "hybrid",
"sessionStrategy": "per-directory",
"enabled": true
}
```
The `hosts` structure lets multiple integrations share the same config file. Each host (Hermes, Claude Code, Cursor, etc.) reads its own block while sharing global fields like `apiKey` and `peerName`.
Or set the API key as an environment variable:
```bash