@dreb/coding-agent 2.57.0 → 2.58.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 +4 -2
- package/dist/core/agent-session.d.ts +10 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +28 -3
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +1 -0
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/settings-manager.d.ts +5 -0
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +26 -0
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/system-prompt.d.ts +2 -0
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +6 -1
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tools/index.d.ts +1 -1
- package/dist/core/tools/index.d.ts.map +1 -1
- package/dist/core/tools/index.js +1 -1
- package/dist/core/tools/index.js.map +1 -1
- package/dist/core/tools/subagent.d.ts +29 -0
- package/dist/core/tools/subagent.d.ts.map +1 -1
- package/dist/core/tools/subagent.js +48 -25
- package/dist/core/tools/subagent.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts +3 -0
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +11 -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 +15 -0
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts +2 -2
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +12 -0
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +3 -0
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-types.js.map +1 -1
- package/docs/custom-provider.md +17 -2
- package/docs/dashboard.md +1 -1
- package/docs/models.md +1 -1
- package/docs/rpc.md +11 -1
- package/docs/sdk.md +1 -1
- package/docs/settings.md +5 -1
- package/package.json +1 -1
package/docs/settings.md
CHANGED
|
@@ -210,6 +210,9 @@ When a provider requests a retry delay longer than `maxDelayMs` (e.g., Google's
|
|
|
210
210
|
|---------|------|---------|-------------|
|
|
211
211
|
| `backgroundAgents.parentTurnGuardrail` | boolean | `true` | Pause the parent agent after `parentTurnLimit` turns while background subagents are still running |
|
|
212
212
|
| `backgroundAgents.parentTurnLimit` | number | `3` | Parent turns allowed while background agents run before pausing |
|
|
213
|
+
| `backgroundAgents.maxConcurrentSubagents` | non-negative integer | `4` | Maximum children a new parent session may run at once; `0` removes the subagent tool |
|
|
214
|
+
|
|
215
|
+
`maxConcurrentSubagents` is captured when a parent session starts. Positive values bound that session's running children while additional work waits for a slot. A value of `0` starts the parent without the `subagent` tool and adds explicit system-prompt guidance to perform normally delegated work itself. Changing the persistent value does not retrofit an already-running parent session. The separate `tasks` input limit remains eight items per parallel call.
|
|
213
216
|
|
|
214
217
|
When you launch background subagents, the parent agent keeps working and returns control to you while subagents run. The guardrail pauses the parent after `parentTurnLimit` turns so it doesn't spin ahead of results — when this happens, dreb surfaces a friendly, non-error notification in the TUI and Telegram explaining that background agents are still working and the parent paused intentionally (it resumes when they report back, or you can send a message to steer it).
|
|
215
218
|
|
|
@@ -219,7 +222,8 @@ Set `parentTurnGuardrail` to `false` to let the parent keep running with no turn
|
|
|
219
222
|
{
|
|
220
223
|
"backgroundAgents": {
|
|
221
224
|
"parentTurnGuardrail": true,
|
|
222
|
-
"parentTurnLimit": 3
|
|
225
|
+
"parentTurnLimit": 3,
|
|
226
|
+
"maxConcurrentSubagents": 4
|
|
223
227
|
}
|
|
224
228
|
}
|
|
225
229
|
```
|