@dreb/coding-agent 2.4.0 → 2.4.1
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/README.md +4 -5
- package/dist/core/keybindings.d.ts +3 -3
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +3 -3
- package/dist/core/keybindings.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +7 -5
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/docs/extensions.md +2 -2
- package/docs/keybindings.md +3 -3
- package/docs/sdk.md +1 -1
- package/docs/settings.md +1 -1
- package/package.json +1 -1
package/docs/extensions.md
CHANGED
|
@@ -275,7 +275,7 @@ user sends another prompt ◄─────────────────
|
|
|
275
275
|
├─► session_before_tree (can cancel or customize)
|
|
276
276
|
└─► session_tree
|
|
277
277
|
|
|
278
|
-
/model
|
|
278
|
+
/model (model selection/cycling)
|
|
279
279
|
└─► model_select
|
|
280
280
|
|
|
281
281
|
exit (Ctrl+C, Ctrl+D)
|
|
@@ -536,7 +536,7 @@ This is mainly useful for debugging provider serialization and cache behavior.
|
|
|
536
536
|
|
|
537
537
|
#### model_select
|
|
538
538
|
|
|
539
|
-
Fired when the model changes via `/model` command, model cycling
|
|
539
|
+
Fired when the model changes via `/model` command, model cycling, or session restore.
|
|
540
540
|
|
|
541
541
|
```typescript
|
|
542
542
|
dreb.on("model_select", async (event, ctx) => {
|
package/docs/keybindings.md
CHANGED
|
@@ -109,9 +109,9 @@ Modifier combinations: `ctrl+shift+x`, `alt+ctrl+x`, `ctrl+shift+alt+x`, `ctrl+1
|
|
|
109
109
|
|
|
110
110
|
| Keybinding id | Default | Description |
|
|
111
111
|
|--------|---------|-------------|
|
|
112
|
-
| `app.model.select` |
|
|
113
|
-
| `app.model.cycleForward` |
|
|
114
|
-
| `app.model.cycleBackward` |
|
|
112
|
+
| `app.model.select` | *(none)* | Open model selector |
|
|
113
|
+
| `app.model.cycleForward` | *(none)* | Cycle to next model |
|
|
114
|
+
| `app.model.cycleBackward` | *(none)* | Cycle to previous model |
|
|
115
115
|
| `app.thinking.cycle` | `shift+tab` | Cycle thinking level |
|
|
116
116
|
| `app.thinking.toggle` | `ctrl+t` | Collapse or expand thinking blocks |
|
|
117
117
|
|
package/docs/sdk.md
CHANGED
|
@@ -304,7 +304,7 @@ const { session } = await createAgentSession({
|
|
|
304
304
|
model: opus,
|
|
305
305
|
thinkingLevel: "medium", // off, minimal, low, medium, high, xhigh
|
|
306
306
|
|
|
307
|
-
// Models for cycling (
|
|
307
|
+
// Models for cycling (bindable via keybindings.json)
|
|
308
308
|
scopedModels: [
|
|
309
309
|
{ model: opus, thinkingLevel: "high" },
|
|
310
310
|
{ model: haiku, thinkingLevel: "off" },
|
package/docs/settings.md
CHANGED
|
@@ -144,7 +144,7 @@ When multiple sources specify a session directory, `--session-dir` CLI flag take
|
|
|
144
144
|
|
|
145
145
|
| Setting | Type | Default | Description |
|
|
146
146
|
|---------|------|---------|-------------|
|
|
147
|
-
| `enabledModels` | string[] | - | Model patterns for
|
|
147
|
+
| `enabledModels` | string[] | - | Model patterns for cycling (same format as `--models` CLI flag) |
|
|
148
148
|
|
|
149
149
|
```json
|
|
150
150
|
{
|