@dreb/coding-agent 2.25.2 → 2.25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +2 -2
- package/dist/core/agent-session.d.ts +7 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +15 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +3 -1
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/settings-manager.d.ts +13 -0
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +40 -0
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/thinking.d.ts +10 -1
- package/dist/core/thinking.d.ts.map +1 -1
- package/dist/core/thinking.js +14 -0
- package/dist/core/thinking.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts +5 -0
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +16 -0
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +26 -0
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/docs/providers.md +7 -0
- package/docs/settings.md +27 -0
- package/package.json +1 -1
package/docs/providers.md
CHANGED
|
@@ -40,6 +40,13 @@ Use `/logout` to clear credentials. Tokens are stored in `~/.dreb/agent/auth.jso
|
|
|
40
40
|
- Requires ChatGPT Plus or Pro subscription
|
|
41
41
|
- Personal use only; for production, use the OpenAI Platform API
|
|
42
42
|
|
|
43
|
+
### Kimi For Coding
|
|
44
|
+
|
|
45
|
+
- `/login` uses the Kimi Code OAuth subscription endpoint at `https://api.kimi.com/coding/v1`.
|
|
46
|
+
- `KIMI_API_KEY` uses Kimi For Coding's Anthropic-compatible API at `https://api.kimi.com/coding`.
|
|
47
|
+
- The OAuth coding endpoint has been verified to accept OpenAI-style multimodal content arrays with base64 `image_url` data URLs for `kimi-for-coding`.
|
|
48
|
+
- Moonshot Open Platform vision docs use a different base URL (`https://api.moonshot.ai/v1`), and the first-party Kimi CLI may have its own media handling; don't assume all Kimi routes expose identical media behavior.
|
|
49
|
+
|
|
43
50
|
## API Keys
|
|
44
51
|
|
|
45
52
|
### Environment Variables or Auth File
|
package/docs/settings.md
CHANGED
|
@@ -21,6 +21,7 @@ Edit directly or use `/settings` for common options.
|
|
|
21
21
|
| `hideThinkingBlock` | boolean | `false` | Hide thinking blocks in output |
|
|
22
22
|
| `thinkingBudgets` | object | - | Custom token budgets per thinking level |
|
|
23
23
|
| `agentModels.models` | object | - | Per-agent model fallback lists for subagents (map of agent name → ordered model IDs). See [agent-models.md](agent-models.md) |
|
|
24
|
+
| `modelSettings` | object | - | Per-model overrides keyed by model ID (e.g. thinking display). See [modelSettings](#modelsettings) |
|
|
24
25
|
|
|
25
26
|
#### agentModels.models
|
|
26
27
|
|
|
@@ -52,6 +53,32 @@ Configurable in the TUI via `/settings` → **Agent Models**. See [agent-models.
|
|
|
52
53
|
}
|
|
53
54
|
```
|
|
54
55
|
|
|
56
|
+
#### modelSettings
|
|
57
|
+
|
|
58
|
+
Per-model overrides keyed by model ID. Currently supports `thinkingDisplay`, which controls
|
|
59
|
+
whether adaptive-thinking Claude models (Opus 4.6+, Sonnet 4.6+) return thinking summaries.
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"modelSettings": {
|
|
64
|
+
"claude-opus-4-8": { "thinkingDisplay": "summarized" }
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
- `"summarized"` — show thinking summaries (default for adaptive models).
|
|
70
|
+
- `"omitted"` — hide thinking text for faster time-to-first-token; only an encrypted
|
|
71
|
+
signature is returned.
|
|
72
|
+
|
|
73
|
+
Anthropic's API defaults Opus 4.7+ to `"omitted"`, so dreb sends `"summarized"` by default
|
|
74
|
+
on adaptive models to keep thinking visible. Set `"omitted"` here to opt into the
|
|
75
|
+
lower-latency behavior. The setting is **keyed by model ID**, so it is honored identically
|
|
76
|
+
by the main session and by any subagent that uses the same model. Non-adaptive models
|
|
77
|
+
ignore the setting.
|
|
78
|
+
|
|
79
|
+
Configurable in the TUI via `/settings` → **Show thinking summaries** (shown only when the
|
|
80
|
+
current model supports adaptive thinking).
|
|
81
|
+
|
|
55
82
|
### UI & Display
|
|
56
83
|
|
|
57
84
|
| Setting | Type | Default | Description |
|