@dreb/coding-agent 2.60.0 → 2.61.0
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 +3 -3
- package/dist/core/agent-session.d.ts +49 -7
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +136 -28
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/model-registry.d.ts +4 -0
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +74 -3
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/settings-manager.d.ts +1 -4
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/modes/interactive/components/user-message-selector.d.ts +7 -2
- package/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/user-message-selector.js +19 -12
- package/dist/modes/interactive/components/user-message-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +27 -12
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts +1 -0
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +2 -1
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +1 -1
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +1 -0
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/docs/models.md +26 -8
- package/docs/rpc.md +16 -6
- package/docs/settings.md +11 -3
- package/docs/tree.md +1 -1
- package/package.json +1 -1
package/docs/settings.md
CHANGED
|
@@ -98,6 +98,12 @@ prompt and append model-specific instructions:
|
|
|
98
98
|
}
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
+
For a model defined or overridden in `~/.dreb/agent/models.json`, the same two fields may
|
|
102
|
+
instead live directly on its custom `models[]` object or built-in `modelOverrides` object.
|
|
103
|
+
This keeps a custom model and its behavior together. Do not use both surfaces for one
|
|
104
|
+
canonical model: any prompt declaration in both files is rejected, even if both declarations
|
|
105
|
+
use the same mode.
|
|
106
|
+
|
|
101
107
|
Prompt behavior:
|
|
102
108
|
|
|
103
109
|
- The key is matched as one exact string. Model IDs may themselves contain `/`, so
|
|
@@ -114,12 +120,14 @@ Prompt behavior:
|
|
|
114
120
|
subagent-definition instructions.
|
|
115
121
|
- Switching or cycling models rebuilds the prompt immediately: instructions from the old
|
|
116
122
|
model are removed and instructions for the new model are applied. `/reload` picks up
|
|
117
|
-
external `settings.json`
|
|
123
|
+
external prompt edits and removals from both `settings.json` and `models.json`.
|
|
118
124
|
- Global and project entries follow the existing per-property merge. A project value wins
|
|
119
125
|
for the same field; a merged entry that supplies both prompt modes is rejected rather
|
|
120
126
|
than choosing one silently.
|
|
121
|
-
- Built-in and custom models use the same
|
|
122
|
-
|
|
127
|
+
- Built-in and custom models use the same exact identity. A `models.json` custom model or
|
|
128
|
+
built-in override can own the prompt directly; otherwise use its exact `provider/id` here.
|
|
129
|
+
- A canonical model with prompt behavior in both files is invalid. There is no source
|
|
130
|
+
precedence between `models.json` and `settings.json`.
|
|
123
131
|
|
|
124
132
|
### UI & Display
|
|
125
133
|
|
package/docs/tree.md
CHANGED
|
@@ -10,7 +10,7 @@ Sessions are stored as trees where each entry has an `id` and `parentId`. The "l
|
|
|
10
10
|
|
|
11
11
|
| Feature | `/fork` | `/tree` |
|
|
12
12
|
|---------|---------|---------|
|
|
13
|
-
| View | Flat list of user messages | Full tree structure |
|
|
13
|
+
| View | Flat list of user and assistant messages | Full tree structure |
|
|
14
14
|
| Action | Extracts path to **new session file** | Changes leaf in **same session** |
|
|
15
15
|
| Summary | Never | Optional (user prompted) |
|
|
16
16
|
| Events | `session_before_fork` / `session_fork` | `session_before_tree` / `session_tree` |
|