@demicodes/agent 0.22.0 → 0.22.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/dist/index.d.mts +5 -3
- package/dist/index.mjs +1 -0
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -275,9 +275,11 @@ interface AgentServerOptions {
|
|
|
275
275
|
session?: AgentServerSessionOptions;
|
|
276
276
|
subagents?: {
|
|
277
277
|
/**
|
|
278
|
-
* When false, a child closing never wakes
|
|
279
|
-
* user send; the host app observes the `subagent
|
|
280
|
-
* the
|
|
278
|
+
* When false, a child of the ROOT session closing never wakes the idle
|
|
279
|
+
* root with an automatic user send; the host app observes the `subagent
|
|
280
|
+
* closed` frame and drives the root itself. Applies to the root level
|
|
281
|
+
* only: a subagent parent has no host-side message channel, so deeper
|
|
282
|
+
* levels always self-notify. Defaults to true.
|
|
281
283
|
*/
|
|
282
284
|
notifyParentOnIdle?: boolean;
|
|
283
285
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -3255,6 +3255,7 @@ var ChildSupervisor = class ChildSupervisor {
|
|
|
3255
3255
|
parentCommands: inherited,
|
|
3256
3256
|
storePrefix: `${this.options.storePrefix}/subagents/${id}`,
|
|
3257
3257
|
canSpawn: input.canSpawnSubagents,
|
|
3258
|
+
notifyParentOnIdle: true,
|
|
3258
3259
|
onJobsChanged: () => job.wake?.()
|
|
3259
3260
|
});
|
|
3260
3261
|
const commands = injectSubagentCommand(inherited, job.ownSupervisor.rootCommandNode());
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@demicodes/agent",
|
|
3
3
|
"description": "Session runtime and transport-neutral client and server protocol for Demi.",
|
|
4
|
-
"version": "0.22.
|
|
4
|
+
"version": "0.22.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@demicodes/core": "^0.22.
|
|
23
|
-
"@demicodes/provider": "^0.22.
|
|
24
|
-
"@demicodes/shell": "^0.22.
|
|
25
|
-
"@demicodes/utils": "^0.22.
|
|
22
|
+
"@demicodes/core": "^0.22.1",
|
|
23
|
+
"@demicodes/provider": "^0.22.1",
|
|
24
|
+
"@demicodes/shell": "^0.22.1",
|
|
25
|
+
"@demicodes/utils": "^0.22.1",
|
|
26
26
|
"zod": "^4.0.0"
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|