@nervekit/desktop 0.16.2 → 0.17.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.
Files changed (140) hide show
  1. package/README.md +8 -1
  2. package/node_modules/@nervekit/contracts/dist/domains/agents/agent.events.schema.d.ts.map +1 -1
  3. package/node_modules/@nervekit/contracts/dist/domains/agents/agent.events.schema.js +47 -0
  4. package/node_modules/@nervekit/contracts/dist/domains/agents/agent.events.schema.js.map +1 -1
  5. package/node_modules/@nervekit/contracts/dist/domains/agents/agent.operations.schema.d.ts +5 -0
  6. package/node_modules/@nervekit/contracts/dist/domains/agents/agent.operations.schema.d.ts.map +1 -1
  7. package/node_modules/@nervekit/contracts/dist/domains/agents/agent.operations.schema.js +6 -0
  8. package/node_modules/@nervekit/contracts/dist/domains/agents/agent.operations.schema.js.map +1 -1
  9. package/node_modules/@nervekit/contracts/dist/domains/agents/index.d.ts +1 -0
  10. package/node_modules/@nervekit/contracts/dist/domains/agents/index.d.ts.map +1 -1
  11. package/node_modules/@nervekit/contracts/dist/domains/agents/index.js +1 -0
  12. package/node_modules/@nervekit/contracts/dist/domains/agents/index.js.map +1 -1
  13. package/node_modules/@nervekit/contracts/dist/domains/agents/run.operations.schema.d.ts +8 -8
  14. package/node_modules/@nervekit/contracts/dist/domains/agents/subagent-transcript.schema.d.ts +72 -0
  15. package/node_modules/@nervekit/contracts/dist/domains/agents/subagent-transcript.schema.d.ts.map +1 -0
  16. package/node_modules/@nervekit/contracts/dist/domains/agents/subagent-transcript.schema.js +77 -0
  17. package/node_modules/@nervekit/contracts/dist/domains/agents/subagent-transcript.schema.js.map +1 -0
  18. package/node_modules/@nervekit/contracts/dist/domains/auth/auth.schema.d.ts +2 -2
  19. package/node_modules/@nervekit/contracts/dist/domains/conversations/conversation.schema.d.ts +2 -2
  20. package/node_modules/@nervekit/contracts/dist/domains/models/model.operations.schema.d.ts +4 -0
  21. package/node_modules/@nervekit/contracts/dist/domains/models/model.operations.schema.d.ts.map +1 -1
  22. package/node_modules/@nervekit/contracts/dist/domains/models/models.schema.d.ts +9 -0
  23. package/node_modules/@nervekit/contracts/dist/domains/models/models.schema.d.ts.map +1 -1
  24. package/node_modules/@nervekit/contracts/dist/domains/models/models.schema.js +3 -0
  25. package/node_modules/@nervekit/contracts/dist/domains/models/models.schema.js.map +1 -1
  26. package/node_modules/@nervekit/contracts/dist/domains/protocol/http.schema.d.ts +4 -0
  27. package/node_modules/@nervekit/contracts/dist/domains/protocol/http.schema.d.ts.map +1 -1
  28. package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.d.ts +2 -0
  29. package/node_modules/@nervekit/contracts/dist/domains/protocol/messages.schema.d.ts.map +1 -1
  30. package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.d.ts +17 -7
  31. package/node_modules/@nervekit/contracts/dist/domains/protocol/operation-catalog.schema.d.ts.map +1 -1
  32. package/node_modules/@nervekit/contracts/dist/domains/protocol/snapshot.schema.d.ts +1 -1
  33. package/node_modules/@nervekit/contracts/dist/domains/providers/providers.schema.d.ts +0 -5
  34. package/node_modules/@nervekit/contracts/dist/domains/providers/providers.schema.d.ts.map +1 -1
  35. package/node_modules/@nervekit/contracts/dist/domains/providers/providers.schema.js +1 -2
  36. package/node_modules/@nervekit/contracts/dist/domains/providers/providers.schema.js.map +1 -1
  37. package/node_modules/@nervekit/contracts/dist/domains/runs/run-runtime.schema.d.ts +3 -3
  38. package/node_modules/@nervekit/contracts/dist/domains/snapshots/snapshot.operations.schema.d.ts +1 -1
  39. package/node_modules/@nervekit/contracts/dist/domains/status/status.schema.d.ts +1 -0
  40. package/node_modules/@nervekit/contracts/dist/domains/status/status.schema.d.ts.map +1 -1
  41. package/node_modules/@nervekit/contracts/dist/domains/status/status.schema.js +1 -0
  42. package/node_modules/@nervekit/contracts/dist/domains/status/status.schema.js.map +1 -1
  43. package/node_modules/@nervekit/contracts/package.json +1 -1
  44. package/node_modules/@nervekit/harness/dist/models/resolution.d.ts.map +1 -1
  45. package/node_modules/@nervekit/harness/dist/models/resolution.js +1 -0
  46. package/node_modules/@nervekit/harness/dist/models/resolution.js.map +1 -1
  47. package/node_modules/@nervekit/harness/dist/models/types.d.ts +2 -0
  48. package/node_modules/@nervekit/harness/dist/models/types.d.ts.map +1 -1
  49. package/node_modules/@nervekit/harness/package.json +2 -2
  50. package/node_modules/@nervekit/protocol/package.json +2 -2
  51. package/node_modules/@nervekit/tools/dist/execution/executable/executable.d.ts +33 -0
  52. package/node_modules/@nervekit/tools/dist/execution/executable/executable.d.ts.map +1 -0
  53. package/node_modules/@nervekit/tools/dist/execution/executable/executable.js +249 -0
  54. package/node_modules/@nervekit/tools/dist/execution/executable/executable.js.map +1 -0
  55. package/node_modules/@nervekit/tools/dist/execution/index.d.ts +1 -0
  56. package/node_modules/@nervekit/tools/dist/execution/index.d.ts.map +1 -1
  57. package/node_modules/@nervekit/tools/dist/execution/index.js +1 -0
  58. package/node_modules/@nervekit/tools/dist/execution/index.js.map +1 -1
  59. package/node_modules/@nervekit/tools/dist/execution/python/runtime.d.ts +3 -0
  60. package/node_modules/@nervekit/tools/dist/execution/python/runtime.d.ts.map +1 -1
  61. package/node_modules/@nervekit/tools/dist/execution/python/runtime.js +134 -94
  62. package/node_modules/@nervekit/tools/dist/execution/python/runtime.js.map +1 -1
  63. package/node_modules/@nervekit/tools/dist/index.d.ts +1 -1
  64. package/node_modules/@nervekit/tools/dist/index.d.ts.map +1 -1
  65. package/node_modules/@nervekit/tools/dist/index.js +1 -1
  66. package/node_modules/@nervekit/tools/dist/index.js.map +1 -1
  67. package/node_modules/@nervekit/tools/package.json +3 -2
  68. package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.d.ts.map +1 -1
  69. package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.js +1 -0
  70. package/node_modules/@nervekit/workbench-server/dist/app/orchestrator-state.js.map +1 -1
  71. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.d.ts +10 -0
  72. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.d.ts.map +1 -1
  73. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.js +28 -8
  74. package/node_modules/@nervekit/workbench-server/dist/domains/agents/prompting/agent-browser-skills.js.map +1 -1
  75. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/explore-helpers.d.ts.map +1 -1
  76. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/explore-helpers.js +2 -71
  77. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/explore-helpers.js.map +1 -1
  78. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/explore-tool-summary.d.ts +2 -0
  79. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/explore-tool-summary.d.ts.map +1 -0
  80. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/explore-tool-summary.js +189 -0
  81. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/explore-tool-summary.js.map +1 -0
  82. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/message-mirror.d.ts +8 -1
  83. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/message-mirror.d.ts.map +1 -1
  84. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/message-mirror.js +20 -0
  85. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/message-mirror.js.map +1 -1
  86. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.d.ts +2 -0
  87. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.d.ts.map +1 -1
  88. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.js +28 -15
  89. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/subagent-runner.js.map +1 -1
  90. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.d.ts +2 -0
  91. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.d.ts.map +1 -1
  92. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.js +1 -0
  93. package/node_modules/@nervekit/workbench-server/dist/domains/agents/run/workbench-agent-mechanics.js.map +1 -1
  94. package/node_modules/@nervekit/workbench-server/dist/domains/agents/subagent-transcript-live.service.d.ts +20 -0
  95. package/node_modules/@nervekit/workbench-server/dist/domains/agents/subagent-transcript-live.service.d.ts.map +1 -0
  96. package/node_modules/@nervekit/workbench-server/dist/domains/agents/subagent-transcript-live.service.js +214 -0
  97. package/node_modules/@nervekit/workbench-server/dist/domains/agents/subagent-transcript-live.service.js.map +1 -0
  98. package/node_modules/@nervekit/workbench-server/dist/domains/agents/subagent-transcript.service.d.ts +20 -0
  99. package/node_modules/@nervekit/workbench-server/dist/domains/agents/subagent-transcript.service.d.ts.map +1 -0
  100. package/node_modules/@nervekit/workbench-server/dist/domains/agents/subagent-transcript.service.js +184 -0
  101. package/node_modules/@nervekit/workbench-server/dist/domains/agents/subagent-transcript.service.js.map +1 -0
  102. package/node_modules/@nervekit/workbench-server/dist/domains/projects/project-editor.service.d.ts +5 -2
  103. package/node_modules/@nervekit/workbench-server/dist/domains/projects/project-editor.service.d.ts.map +1 -1
  104. package/node_modules/@nervekit/workbench-server/dist/domains/projects/project-editor.service.js +14 -39
  105. package/node_modules/@nervekit/workbench-server/dist/domains/projects/project-editor.service.js.map +1 -1
  106. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.d.ts +3 -1
  107. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.d.ts.map +1 -1
  108. package/node_modules/@nervekit/workbench-server/dist/domains/tools/tool-service.js.map +1 -1
  109. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/paths.d.ts +2 -0
  110. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/paths.d.ts.map +1 -1
  111. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/paths.js +1 -0
  112. package/node_modules/@nervekit/workbench-server/dist/infrastructure/storage/paths.js.map +1 -1
  113. package/node_modules/@nervekit/workbench-server/dist/main.js +2 -0
  114. package/node_modules/@nervekit/workbench-server/dist/main.js.map +1 -1
  115. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.d.ts +6 -0
  116. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.d.ts.map +1 -1
  117. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.js +3 -0
  118. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/conversation-agent-method-handlers.js.map +1 -1
  119. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/git-method-handlers.d.ts +1 -1
  120. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.d.ts +1 -0
  121. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers/platform-method-handlers.d.ts.map +1 -1
  122. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.d.ts +1 -1
  123. package/node_modules/@nervekit/workbench-server/dist/protocol/method-handlers.d.ts.map +1 -1
  124. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.d.ts +4 -0
  125. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.d.ts.map +1 -1
  126. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.js +12 -0
  127. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-composition.js.map +1 -1
  128. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.d.ts +3 -0
  129. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.d.ts.map +1 -1
  130. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.js +22 -9
  131. package/node_modules/@nervekit/workbench-server/dist/runtime/runtime-registry.js.map +1 -1
  132. package/node_modules/@nervekit/workbench-server/dist/web/assets/{dist-_--zIOwq.js → dist-Cpy8QsNT.js} +1 -1
  133. package/node_modules/@nervekit/workbench-server/dist/web/assets/index-CK9u3bt5.js +264 -0
  134. package/node_modules/@nervekit/workbench-server/dist/web/assets/index-Dt2kEvYE.css +1 -0
  135. package/node_modules/@nervekit/workbench-server/dist/web/index.html +2 -2
  136. package/node_modules/@nervekit/workbench-server/dist/web/sw.js +1 -1
  137. package/node_modules/@nervekit/workbench-server/package.json +5 -5
  138. package/package.json +7 -6
  139. package/node_modules/@nervekit/workbench-server/dist/web/assets/index-Dboh6jC8.js +0 -261
  140. package/node_modules/@nervekit/workbench-server/dist/web/assets/index-dBcMgZ94.css +0 -1
package/README.md CHANGED
@@ -12,7 +12,10 @@ Nerve keeps agent activity visible and gives you direct control over models, per
12
12
 
13
13
  [Website](https://nerve.tlmtech.dev/) · [Documentation](https://nerve.tlmtech.dev/start/overview/) · [Install guide](https://nerve.tlmtech.dev/start/install/) · [Contributing](CONTRIBUTING.md) · [Security](SECURITY.md)
14
14
 
15
- ![Nerve desktop workbench showing a coding conversation, tool activity, and Git changes](packages/website/src/assets/shots/d1-conversation.webp)
15
+ <picture>
16
+ <source media="(prefers-color-scheme: dark)" srcset="packages/website/src/assets/shots/d5-git-dark.webp">
17
+ <img src="packages/website/src/assets/shots/d5-git-light.webp" alt="Nerve desktop workbench showing a coding conversation, tool activity, and Git changes">
18
+ </picture>
16
19
 
17
20
  > [!NOTE]
18
21
  > Nerve is beta software. It runs on Linux, Windows 11, and macOS and is distributed under the [Apache-2.0 license](LICENSE).
@@ -59,6 +62,10 @@ pnpm desktop
59
62
 
60
63
  Use `pnpm dev` for the daemon and browser UI development servers. See the [development guide](https://nerve.tlmtech.dev/developers/development/) and [`CONTRIBUTING.md`](CONTRIBUTING.md) for the complete workflow. Release engineering details remain in [`docs/release.md`](docs/release.md).
61
64
 
65
+ ## Support
66
+
67
+ If Nerve is useful to you, you can [support its continued development on Patreon](https://www.patreon.com/cw/thilinatlm).
68
+
62
69
  ## Contributing, security, and license
63
70
 
64
71
  Contributions are welcome. Read [`CONTRIBUTING.md`](CONTRIBUTING.md) before opening a change, and report vulnerabilities through the private channels in [`SECURITY.md`](SECURITY.md).
@@ -1 +1 @@
1
- {"version":3,"file":"agent.events.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/agents/agent.events.schema.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,qBAAqB,wEAkFjC,CAAC"}
1
+ {"version":3,"file":"agent.events.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/agents/agent.events.schema.ts"],"names":[],"mappings":"AA0CA,eAAO,MAAM,qBAAqB,wEA+HjC,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import { z } from "zod";
2
+ import { contentBlockIdSchema, liveMessageIdSchema, runIdSchema, turnIdSchema, } from "../conversations/conversation.schema.js";
3
+ import { PUBLIC_EVENT_MAX_STRING_CHARS } from "../events/bounded-public-data.schema.js";
2
4
  import { definePublicEvent } from "../events/event-definition.schema.js";
3
5
  import { modeSchema } from "../settings/settings.schema.js";
4
6
  import { agentSuspensionRecordSchema } from "../suspensions/suspension.schema.js";
@@ -6,6 +8,30 @@ import { exploreReportSummarySchema } from "../tools/tool-results.schema.js";
6
8
  import { agentRecordSchema, agentStatusSchema } from "./agent.schema.js";
7
9
  const workbenchRoles = ["workbench_server"];
8
10
  const agentIdSchema = z.string().startsWith("agent_");
11
+ const transcriptIdentitySchema = z
12
+ .object({
13
+ conversationId: z.string().startsWith("conv_"),
14
+ projectId: z.string().startsWith("proj_"),
15
+ parentAgentId: agentIdSchema,
16
+ childAgentId: agentIdSchema,
17
+ runId: runIdSchema,
18
+ })
19
+ .strict();
20
+ const transcriptTurnSchema = transcriptIdentitySchema.extend({
21
+ turnId: turnIdSchema,
22
+ });
23
+ const transcriptMessageSchema = transcriptTurnSchema.extend({
24
+ liveMessageId: liveMessageIdSchema,
25
+ });
26
+ const transcriptContentSchema = transcriptMessageSchema.extend({
27
+ contentBlockId: contentBlockIdSchema,
28
+ contentIndex: z.number().int().nonnegative(),
29
+ kind: z.enum(["text", "thinking"]),
30
+ });
31
+ const subagentTranscriptEvent = (name, schema) => definePublicEvent(name, schema, {
32
+ allowedSourceRoles: workbenchRoles,
33
+ scope: ["parentAgentId", "childAgentId", "runId"],
34
+ });
9
35
  export const agentEventDefinitions = [
10
36
  definePublicEvent("agent.created", z.object({
11
37
  agent: agentRecordSchema,
@@ -41,6 +67,27 @@ export const agentEventDefinitions = [
41
67
  allowedSourceRoles: workbenchRoles,
42
68
  scope: ["parentAgentId", "childAgentId"],
43
69
  }),
70
+ subagentTranscriptEvent("agent.subagent_transcript.run.started", transcriptIdentitySchema.extend({ startedAt: z.string().datetime() })),
71
+ subagentTranscriptEvent("agent.subagent_transcript.turn.started", transcriptTurnSchema.extend({ ordinal: z.number().int().nonnegative() })),
72
+ subagentTranscriptEvent("agent.subagent_transcript.message.started", transcriptMessageSchema.extend({
73
+ messageOrdinal: z.number().int().nonnegative(),
74
+ startedAt: z.string().datetime(),
75
+ })),
76
+ subagentTranscriptEvent("agent.subagent_transcript.content.delta", transcriptContentSchema.extend({
77
+ offset: z.number().int().nonnegative(),
78
+ delta: z.string().max(PUBLIC_EVENT_MAX_STRING_CHARS),
79
+ })),
80
+ subagentTranscriptEvent("agent.subagent_transcript.content.done", transcriptContentSchema.extend({
81
+ finalText: z.string().max(PUBLIC_EVENT_MAX_STRING_CHARS).optional(),
82
+ redacted: z.boolean().optional(),
83
+ })),
84
+ subagentTranscriptEvent("agent.subagent_transcript.message.completed", transcriptMessageSchema.extend({ status: z.enum(["completed", "failed"]) })),
85
+ subagentTranscriptEvent("agent.subagent_transcript.turn.completed", transcriptTurnSchema.extend({ status: z.enum(["completed", "failed"]) })),
86
+ subagentTranscriptEvent("agent.subagent_transcript.run.completed", transcriptIdentitySchema.extend({
87
+ status: z.enum(["completed", "failed", "aborted"]),
88
+ completedAt: z.string().datetime(),
89
+ message: z.string().max(PUBLIC_EVENT_MAX_STRING_CHARS).optional(),
90
+ })),
44
91
  definePublicEvent("agent.subagent_completed", z.object({
45
92
  parentAgentId: agentIdSchema,
46
93
  childAgentId: agentIdSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"agent.events.schema.js","sourceRoot":"","sources":["../../../src/domains/agents/agent.events.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEzE,MAAM,cAAc,GAAG,CAAC,kBAAkB,CAAU,CAAC;AACrD,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;AAEtD,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,iBAAiB,CACf,eAAe,EACf,CAAC,CAAC,MAAM,CAAC;QACP,KAAK,EAAE,iBAAiB;QACxB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE;KAC/C,CAAC,EACF,EAAE,kBAAkB,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,CAC5D;IACD,iBAAiB,CACf,kBAAkB,EAClB,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,iBAAiB,EAAE,CAAC,EACtC,EAAE,kBAAkB,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,CAC5D;IACD,iBAAiB,CACf,sBAAsB,EACtB,CAAC,CAAC,MAAM,CAAC;QACP,KAAK,EAAE,iBAAiB;QACxB,OAAO,EAAE,aAAa;QACtB,MAAM,EAAE,iBAAiB;KAC1B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CAAC,MAAM,CAAC;QACP,aAAa,EAAE,aAAa;QAC5B,YAAY,EAAE,aAAa;QAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;QAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC;KACpC,CAAC,EACF;QACE,kBAAkB,EAAE,cAAc;QAClC,KAAK,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;KACzC,CACF;IACD,iBAAiB,CACf,0BAA0B,EAC1B,CAAC,CAAC,MAAM,CAAC;QACP,aAAa,EAAE,aAAa;QAC5B,YAAY,EAAE,aAAa;QAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;QAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC;KAChC,CAAC,EACF;QACE,kBAAkB,EAAE,cAAc;QAClC,KAAK,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;KACzC,CACF;CACF,CAAC"}
1
+ {"version":3,"file":"agent.events.schema.js","sourceRoot":"","sources":["../../../src/domains/agents/agent.events.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,EACX,YAAY,GACb,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE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AC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC,QAAQ,EAAE;KAClE,CAAC,CACH;IACD,iBAAiB,CACf,0BAA0B,EAC1B,CAAC,CAAC,MAAM,CAAC;QACP,aAAa,EAAE,aAAa;QAC5B,YAAY,EAAE,aAAa;QAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;QAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC;KAChC,CAAC,EACF;QACE,kBAAkB,EAAE,cAAc;QAClC,KAAK,EAAE,CAAC,eAAe,EAAE,cAAc,CAAC;KACzC,CACF;CACF,CAAC"}
@@ -201,6 +201,11 @@ export declare const agentsOperationDefinitions: readonly [import("../protocol/o
201
201
  createdAt: z.ZodString;
202
202
  updatedAt: z.ZodString;
203
203
  }, z.core.$strip>;
204
+ }, z.core.$strip>>, import("../protocol/operation-definition.schema.js").OperationDefinition<"agent.subagentTranscript.get", z.ZodObject<{
205
+ parentAgentId: z.ZodString;
206
+ childAgentId: z.ZodString;
207
+ }, z.core.$strip>, z.ZodObject<{
208
+ transcript: z.ZodType<import("./subagent-transcript.schema.js").SubagentTranscriptSnapshot, unknown, z.core.$ZodTypeInternals<import("./subagent-transcript.schema.js").SubagentTranscriptSnapshot, unknown>>;
204
209
  }, z.core.$strip>>, import("../protocol/operation-definition.schema.js").OperationDefinition<"agent.configure", z.ZodObject<{
205
210
  agentId: z.ZodString;
206
211
  mode: z.ZodOptional<z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"agent.operations.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/agents/agent.operations.schema.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA0BxB,eAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA4E7B,CAAC"}
@@ -1,11 +1,16 @@
1
1
  import { approvalRecordSchema, executeToolRequestSchema, toolCallRecordSchema, } from "../tools/index.js";
2
2
  import { agentRecordSchema, createAgentRequestSchema, queuedPromptRecordSchema, updateAgentRequestSchema, } from "./agent.schema.js";
3
+ import { subagentTranscriptSnapshotSchema } from "./subagent-transcript.schema.js";
3
4
  import { z } from "zod";
4
5
  import { defineOperation } from "../protocol/operation-definition.schema.js";
5
6
  const emptyParamsSchema = z.object({}).optional();
6
7
  const agentIdSchema = z.string().startsWith("agent_");
7
8
  const queuedPromptIdSchema = z.string().startsWith("promptq_");
8
9
  const agentIdParamsSchema = z.object({ agentId: agentIdSchema });
10
+ const subagentTranscriptParamsSchema = z.object({
11
+ parentAgentId: agentIdSchema,
12
+ childAgentId: agentIdSchema,
13
+ });
9
14
  const agentConfigureParamsSchema = agentIdParamsSchema.merge(updateAgentRequestSchema);
10
15
  const agentConfigureResultSchema = z.union([
11
16
  z.object({ agent: agentRecordSchema }),
@@ -24,6 +29,7 @@ export const agentsOperationDefinitions = [
24
29
  defineOperation("agent.create", createAgentRequestSchema, z.object({ agent: agentRecordSchema }), "mutation", "recommended", ["workbench_server"], "operation.agent.create"),
25
30
  defineOperation("agent.list", emptyParamsSchema, z.object({ agents: z.array(agentRecordSchema) }), "read", "none", ["workbench_server"], "operation.agent.list"),
26
31
  defineOperation("agent.get", agentIdParamsSchema, z.object({ agent: agentRecordSchema }), "read", "none", ["workbench_server"], "operation.agent.get"),
32
+ defineOperation("agent.subagentTranscript.get", subagentTranscriptParamsSchema, z.object({ transcript: subagentTranscriptSnapshotSchema }), "read", "none", ["workbench_server"], "operation.agent.subagentTranscript.get"),
27
33
  defineOperation("agent.configure", agentConfigureParamsSchema, agentConfigureResultSchema, "mutation", "recommended", ["workbench_server"], "operation.agent.configure"),
28
34
  defineOperation("agent.promptQueue.list", agentPromptQueueParamsSchema, z.object({ queuedPrompts: z.array(queuedPromptRecordSchema) }), "read", "none", ["workbench_server"], "operation.agent.promptQueue.list"),
29
35
  defineOperation("agent.promptQueue.cancel", agentPromptQueueCancelParamsSchema, z.object({ queuedPrompt: queuedPromptRecordSchema }), "mutation", "recommended", ["workbench_server"], "operation.agent.promptQueue.cancel"),
@@ -1 +1 @@
1
- {"version":3,"file":"agent.operations.schema.js","sourceRoot":"","sources":["../../../src/domains/agents/agent.operations.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAE7E,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC;AAClD,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;AACtD,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAC/D,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,CAAC,CAAC;AACjE,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,KAAK,CAC1D,wBAAwB,CACzB,CAAC;AACF,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC;IACzC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,iBAAiB,EAAE,CAAC;IACtC,CAAC,CAAC,MAAM,CAAC;QACP,QAAQ,EAAE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AC,EAC9D,MAAM,EACN,MAAM,EACN,CAAC,kBAAkB,CAAU,EAC7B,kCAAkC,CACnC;IACD,eAAe,CACb,0BAA0B,EAC1B,kCAAkC,EAClC,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,wBAAwB,EAAE,CAAC,EACpD,UAAU,EACV,aAAa,EACb,CAAC,kBAAkB,CAAU,EAC7B,oCAAoC,CACrC;IACD,eAAe,CACb,mBAAmB,EACnB,4BAA4B,EAC5B,CAAC,CAAC,MAAM,CAAC;QACP,QAAQ,EAAE,oBAAoB;QAC9B,QAAQ,EAAE,oBAAoB,CAAC,QAAQ,EAAE;KAC1C,CAAC,EACF,UAAU,EACV,aAAa,EACb,CAAC,kBAAkB,CAAU,EAC7B,6BAA6B,CAC9B;CACO,CAAC"}
1
+ {"version":3,"file":"agent.operations.schema.js","sourceRoot":"","sources":["../../../src/domains/agents/agent.operations.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAE7E,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC;AAClD,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;AACtD,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAC/D,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,OA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AAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,iBAAiB,EAAE,CAAC,EACtC,MAAM,EACN,MAAM,EACN,CAAC,kBAAkB,CAAU,EAC7B,qBAAqB,CACtB;IACD,eAAe,CACb,8BAA8B,EAC9B,8BAA8B,EAC9B,CAAC,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,gCAAgC,EAAE,CAAC,EAC1D,MAAM,EACN,MAAM,EACN,CAAC,kBAAkB,CAAU,EAC7B,wCAAwC,CACzC;IACD,eAAe,CACb,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,EAC1B,UAAU,EACV,aAAa,EACb,CAAC,kBAAkB,CAAU,EAC7B,2BAA2B,CAC5B;IACD,eAAe,CACb,wBAAwB,EACxB,4BAA4B,EAC5B,CAAC,CAAC,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,EAAE,CAAC,EAC9D,MAAM,EACN,MAAM,EACN,CAAC,kBAAkB,CAAU,EAC7B,kCAAkC,CACnC;IACD,eAAe,CACb,0BAA0B,EAC1B,kCAAkC,EAClC,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,wBAAwB,EAAE,CAAC,EACpD,UAAU,EACV,aAAa,EACb,CAAC,kBAAkB,CAAU,EAC7B,oCAAoC,CACrC;IACD,eAAe,CACb,mBAAmB,EACnB,4BAA4B,EAC5B,CAAC,CAAC,MAAM,CAAC;QACP,QAAQ,EAAE,oBAAoB;QAC9B,QAAQ,EAAE,oBAAoB,CAAC,QAAQ,EAAE;KAC1C,CAAC,EACF,UAAU,EACV,aAAa,EACb,CAAC,kBAAkB,CAAU,EAC7B,6BAA6B,CAC9B;CACO,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from "./agent.schema.js";
2
+ export * from "./subagent-transcript.schema.js";
2
3
  export * from "./explore-policy.js";
3
4
  export * from "./agent.events.schema.js";
4
5
  export * from "./run.events.schema.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/domains/agents/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/domains/agents/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from "./agent.schema.js";
2
+ export * from "./subagent-transcript.schema.js";
2
3
  export * from "./explore-policy.js";
3
4
  export * from "./agent.events.schema.js";
4
5
  export * from "./run.events.schema.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domains/agents/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domains/agents/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC"}
@@ -36,10 +36,10 @@ export declare const runContinueParamsSchema: z.ZodObject<{
36
36
  conversationId: z.ZodOptional<z.ZodString>;
37
37
  runId: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
38
38
  reason: z.ZodOptional<z.ZodEnum<{
39
+ manual: "manual";
39
40
  after_input: "after_input";
40
41
  after_approval: "after_approval";
41
42
  retry_error: "retry_error";
42
- manual: "manual";
43
43
  }>>;
44
44
  }, z.core.$strip>;
45
45
  export declare const runCancelParamsSchema: z.ZodObject<{
@@ -61,8 +61,8 @@ export declare const runAcceptedResultSchema: z.ZodObject<{
61
61
  queued: "queued";
62
62
  accepted: "accepted";
63
63
  retrying: "retrying";
64
- suspended: "suspended";
65
64
  waiting: "waiting";
65
+ suspended: "suspended";
66
66
  }>>;
67
67
  }, z.core.$strip>;
68
68
  export declare const runOperationDefinitions: readonly [import("../protocol/operation-definition.schema.js").OperationDefinition<"run.start", z.ZodObject<{
@@ -87,8 +87,8 @@ export declare const runOperationDefinitions: readonly [import("../protocol/oper
87
87
  queued: "queued";
88
88
  accepted: "accepted";
89
89
  retrying: "retrying";
90
- suspended: "suspended";
91
90
  waiting: "waiting";
91
+ suspended: "suspended";
92
92
  }>>;
93
93
  }, z.core.$strip>>, import("../protocol/operation-definition.schema.js").OperationDefinition<"run.steer", z.ZodObject<{
94
94
  agentId: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
@@ -113,8 +113,8 @@ export declare const runOperationDefinitions: readonly [import("../protocol/oper
113
113
  queued: "queued";
114
114
  accepted: "accepted";
115
115
  retrying: "retrying";
116
- suspended: "suspended";
117
116
  waiting: "waiting";
117
+ suspended: "suspended";
118
118
  }>>;
119
119
  }, z.core.$strip>>, import("../protocol/operation-definition.schema.js").OperationDefinition<"run.followUp", z.ZodObject<{
120
120
  agentId: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
@@ -139,18 +139,18 @@ export declare const runOperationDefinitions: readonly [import("../protocol/oper
139
139
  queued: "queued";
140
140
  accepted: "accepted";
141
141
  retrying: "retrying";
142
- suspended: "suspended";
143
142
  waiting: "waiting";
143
+ suspended: "suspended";
144
144
  }>>;
145
145
  }, z.core.$strip>>, import("../protocol/operation-definition.schema.js").OperationDefinition<"run.continue", z.ZodObject<{
146
146
  agentId: z.ZodOptional<z.ZodString>;
147
147
  conversationId: z.ZodOptional<z.ZodString>;
148
148
  runId: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
149
149
  reason: z.ZodOptional<z.ZodEnum<{
150
+ manual: "manual";
150
151
  after_input: "after_input";
151
152
  after_approval: "after_approval";
152
153
  retry_error: "retry_error";
153
- manual: "manual";
154
154
  }>>;
155
155
  }, z.core.$strip>, z.ZodObject<{
156
156
  accepted: z.ZodLiteral<true>;
@@ -165,8 +165,8 @@ export declare const runOperationDefinitions: readonly [import("../protocol/oper
165
165
  queued: "queued";
166
166
  accepted: "accepted";
167
167
  retrying: "retrying";
168
- suspended: "suspended";
169
168
  waiting: "waiting";
169
+ suspended: "suspended";
170
170
  }>>;
171
171
  }, z.core.$strip>>, import("../protocol/operation-definition.schema.js").OperationDefinition<"run.cancel", z.ZodObject<{
172
172
  agentId: z.ZodOptional<z.ZodString>;
@@ -186,8 +186,8 @@ export declare const runOperationDefinitions: readonly [import("../protocol/oper
186
186
  queued: "queued";
187
187
  accepted: "accepted";
188
188
  retrying: "retrying";
189
- suspended: "suspended";
190
189
  waiting: "waiting";
190
+ suspended: "suspended";
191
191
  }>>;
192
192
  }, z.core.$strip>>];
193
193
  export type RunStartParams = z.infer<typeof runStartParamsSchema>;
@@ -0,0 +1,72 @@
1
+ import { z } from "zod";
2
+ import { type ThinkingLevel } from "../models/index.js";
3
+ import { type ConversationActiveRunSnapshot } from "../conversations/conversation.schema.js";
4
+ import { type ToolCallTranscriptRecord } from "../tools/records.schema.js";
5
+ import { type AgentStatus } from "./agent.schema.js";
6
+ export declare const SUBAGENT_TRANSCRIPT_MAX_ENTRIES = 500;
7
+ export declare const SUBAGENT_TRANSCRIPT_MAX_TOOL_CALLS = 500;
8
+ export declare const SUBAGENT_TRANSCRIPT_MAX_TEXT_CHARS = 65536;
9
+ export declare const SUBAGENT_TRANSCRIPT_MAX_THINKING_BLOCKS = 32;
10
+ export declare const subagentTranscriptEntrySchema: z.ZodObject<{
11
+ id: z.ZodString;
12
+ conversationId: z.ZodString;
13
+ agentId: z.ZodString;
14
+ role: z.ZodEnum<{
15
+ assistant: "assistant";
16
+ system: "system";
17
+ user: "user";
18
+ }>;
19
+ kind: z.ZodDefault<z.ZodLiteral<"message">>;
20
+ text: z.ZodString;
21
+ usage: z.ZodOptional<z.ZodObject<{
22
+ input: z.ZodNumber;
23
+ output: z.ZodNumber;
24
+ cacheRead: z.ZodNumber;
25
+ cacheWrite: z.ZodNumber;
26
+ totalTokens: z.ZodNumber;
27
+ cost: z.ZodNumber;
28
+ }, z.core.$strip>>;
29
+ details: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
30
+ thinkingBlocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
+ text: z.ZodString;
32
+ redacted: z.ZodOptional<z.ZodBoolean>;
33
+ }, z.core.$strict>>>;
34
+ stopReason: z.ZodOptional<z.ZodEnum<{
35
+ error: "error";
36
+ aborted: "aborted";
37
+ }>>;
38
+ errorMessage: z.ZodOptional<z.ZodString>;
39
+ }, z.core.$strict>, z.ZodObject<{
40
+ toolCallId: z.ZodOptional<z.ZodString>;
41
+ toolRecordId: z.ZodOptional<z.ZodString>;
42
+ toolName: z.ZodOptional<z.ZodString>;
43
+ status: z.ZodEnum<{
44
+ error: "error";
45
+ completed: "completed";
46
+ }>;
47
+ isError: z.ZodBoolean;
48
+ outputOmitted: z.ZodOptional<z.ZodBoolean>;
49
+ }, z.core.$strict>]>>;
50
+ createdAt: z.ZodString;
51
+ }, z.core.$strict>;
52
+ export type SubagentTranscriptEntry = z.infer<typeof subagentTranscriptEntrySchema>;
53
+ export interface SubagentTranscriptSnapshot {
54
+ agentId: string;
55
+ parentAgentId: string;
56
+ conversationId: string;
57
+ projectId: string;
58
+ cursorSeq: number;
59
+ activeRun?: ConversationActiveRunSnapshot;
60
+ status: AgentStatus;
61
+ model?: string;
62
+ thinkingLevel?: ThinkingLevel;
63
+ entries: SubagentTranscriptEntry[];
64
+ toolCalls: ToolCallTranscriptRecord[];
65
+ totalEntryCount: number;
66
+ totalToolCallCount: number;
67
+ entriesTruncated: boolean;
68
+ toolCallsTruncated: boolean;
69
+ updatedAt: string;
70
+ }
71
+ export declare const subagentTranscriptSnapshotSchema: z.ZodType<SubagentTranscriptSnapshot>;
72
+ //# sourceMappingURL=subagent-transcript.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subagent-transcript.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/agents/subagent-transcript.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,KAAK,6BAA6B,EAEnC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,mBAAmB,CAAC;AAExE,eAAO,MAAM,+BAA+B,MAAM,CAAC;AACnD,eAAO,MAAM,kCAAkC,MAAM,CAAC;AACtD,eAAO,MAAM,kCAAkC,QAAS,CAAC;AACzD,eAAO,MAAM,uCAAuC,KAAK,CAAC;AAiC1D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAc/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC3C,OAAO,6BAA6B,CACrC,CAAC;AAEF,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,6BAA6B,CAAC;IAC1C,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,EAAE,uBAAuB,EAAE,CAAC;IACnC,SAAS,EAAE,wBAAwB,EAAE,CAAC;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAwBtE,CAAC"}
@@ -0,0 +1,77 @@
1
+ import { z } from "zod";
2
+ import { thinkingLevelSchema } from "../models/index.js";
3
+ import { conversationActiveRunSnapshotSchema, } from "../conversations/conversation.schema.js";
4
+ import { conversationEntryUsageSchema } from "../conversations/tree.schema.js";
5
+ import { toolCallTranscriptRecordSchema, } from "../tools/records.schema.js";
6
+ import { agentStatusSchema } from "./agent.schema.js";
7
+ export const SUBAGENT_TRANSCRIPT_MAX_ENTRIES = 500;
8
+ export const SUBAGENT_TRANSCRIPT_MAX_TOOL_CALLS = 500;
9
+ export const SUBAGENT_TRANSCRIPT_MAX_TEXT_CHARS = 65_536;
10
+ export const SUBAGENT_TRANSCRIPT_MAX_THINKING_BLOCKS = 32;
11
+ const agentIdSchema = z.string().startsWith("agent_");
12
+ const thinkingBlockSchema = z
13
+ .object({
14
+ text: z.string().max(SUBAGENT_TRANSCRIPT_MAX_TEXT_CHARS),
15
+ redacted: z.boolean().optional(),
16
+ })
17
+ .strict();
18
+ const assistantDetailsSchema = z
19
+ .object({
20
+ thinkingBlocks: z
21
+ .array(thinkingBlockSchema)
22
+ .max(SUBAGENT_TRANSCRIPT_MAX_THINKING_BLOCKS)
23
+ .optional(),
24
+ stopReason: z.enum(["error", "aborted"]).optional(),
25
+ errorMessage: z.string().max(2_048).optional(),
26
+ })
27
+ .strict();
28
+ const toolResultDetailsSchema = z
29
+ .object({
30
+ toolCallId: z.string().min(1).max(512).optional(),
31
+ toolRecordId: z.string().startsWith("tool_").optional(),
32
+ toolName: z.string().min(1).max(128).optional(),
33
+ status: z.enum(["completed", "error"]),
34
+ isError: z.boolean(),
35
+ outputOmitted: z.boolean().optional(),
36
+ })
37
+ .strict();
38
+ export const subagentTranscriptEntrySchema = z
39
+ .object({
40
+ id: z.string().min(1).max(512),
41
+ conversationId: z.string().startsWith("conv_"),
42
+ agentId: agentIdSchema,
43
+ role: z.enum(["user", "assistant", "system"]),
44
+ kind: z.literal("message").default("message"),
45
+ text: z.string().max(SUBAGENT_TRANSCRIPT_MAX_TEXT_CHARS),
46
+ usage: conversationEntryUsageSchema.optional(),
47
+ details: z
48
+ .union([assistantDetailsSchema, toolResultDetailsSchema])
49
+ .optional(),
50
+ createdAt: z.string().datetime(),
51
+ })
52
+ .strict();
53
+ export const subagentTranscriptSnapshotSchema = z
54
+ .object({
55
+ agentId: agentIdSchema,
56
+ parentAgentId: agentIdSchema,
57
+ conversationId: z.string().startsWith("conv_"),
58
+ projectId: z.string().startsWith("proj_"),
59
+ cursorSeq: z.number().int().nonnegative(),
60
+ activeRun: conversationActiveRunSnapshotSchema.optional(),
61
+ status: agentStatusSchema,
62
+ model: z.string().max(256).optional(),
63
+ thinkingLevel: thinkingLevelSchema.optional(),
64
+ entries: z
65
+ .array(subagentTranscriptEntrySchema)
66
+ .max(SUBAGENT_TRANSCRIPT_MAX_ENTRIES),
67
+ toolCalls: z
68
+ .array(toolCallTranscriptRecordSchema)
69
+ .max(SUBAGENT_TRANSCRIPT_MAX_TOOL_CALLS),
70
+ totalEntryCount: z.number().int().nonnegative(),
71
+ totalToolCallCount: z.number().int().nonnegative(),
72
+ entriesTruncated: z.boolean(),
73
+ toolCallsTruncated: z.boolean(),
74
+ updatedAt: z.string().datetime(),
75
+ })
76
+ .strict();
77
+ //# sourceMappingURL=subagent-transcript.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subagent-transcript.schema.js","sourceRoot":"","sources":["../../../src/domains/agents/subagent-transcript.schema.ts"],"names":[],"m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Schema: z.ZodEnum<{
57
57
  starting: "starting";
58
58
  failed: "failed";
59
59
  cancelled: "cancelled";
60
+ progress: "progress";
60
61
  select: "select";
61
62
  auth_url: "auth_url";
62
63
  device_code: "device_code";
63
64
  prompt: "prompt";
64
- progress: "progress";
65
65
  succeeded: "succeeded";
66
66
  }>;
67
67
  export type OAuthFlowStatus = z.infer<typeof oauthFlowStatusSchema>;
@@ -73,11 +73,11 @@ export declare const oauthFlowInfoSchema: z.ZodObject<{
73
73
  starting: "starting";
74
74
  failed: "failed";
75
75
  cancelled: "cancelled";
76
+ progress: "progress";
76
77
  select: "select";
77
78
  auth_url: "auth_url";
78
79
  device_code: "device_code";
79
80
  prompt: "prompt";
80
- progress: "progress";
81
81
  succeeded: "succeeded";
82
82
  }>;
83
83
  promptId: z.ZodOptional<z.ZodString>;
@@ -652,8 +652,8 @@ export declare const conversationActiveRunSnapshotSchema: z.ZodObject<{
652
652
  running: "running";
653
653
  interrupted: "interrupted";
654
654
  retrying: "retrying";
655
- waiting: "waiting";
656
655
  aborting: "aborting";
656
+ waiting: "waiting";
657
657
  }>;
658
658
  startedAt: z.ZodString;
659
659
  turns: z.ZodArray<z.ZodObject<{
@@ -937,8 +937,8 @@ export declare const conversationSnapshotSchema: z.ZodObject<{
937
937
  running: "running";
938
938
  interrupted: "interrupted";
939
939
  retrying: "retrying";
940
- waiting: "waiting";
941
940
  aborting: "aborting";
941
+ waiting: "waiting";
942
942
  }>;
943
943
  startedAt: z.ZodString;
944
944
  turns: z.ZodArray<z.ZodObject<{
@@ -6,6 +6,10 @@ export declare const modelsOperationDefinitions: readonly [import("../protocol/o
6
6
  name: z.ZodString;
7
7
  label: z.ZodString;
8
8
  reasoning: z.ZodDefault<z.ZodBoolean>;
9
+ input: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10
+ text: "text";
11
+ image: "image";
12
+ }>>>;
9
13
  supportedThinkingLevels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
10
14
  off: "off";
11
15
  minimal: "minimal";
@@ -1 +1 @@
1
- {"version":3,"file":"model.operations.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/models/model.operations.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;mBAU7B,CAAC"}
1
+ {"version":3,"file":"model.operations.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/models/model.operations.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;mBAU7B,CAAC"}
@@ -15,12 +15,21 @@ export declare const modelSelectionSchema: z.ZodObject<{
15
15
  modelId: z.ZodString;
16
16
  }, z.core.$strip>;
17
17
  export type ModelSelection = z.infer<typeof modelSelectionSchema>;
18
+ export declare const modelInputSchema: z.ZodEnum<{
19
+ text: "text";
20
+ image: "image";
21
+ }>;
22
+ export type ModelInputModality = z.infer<typeof modelInputSchema>;
18
23
  export declare const modelInfoSchema: z.ZodObject<{
19
24
  provider: z.ZodString;
20
25
  modelId: z.ZodString;
21
26
  name: z.ZodString;
22
27
  label: z.ZodString;
23
28
  reasoning: z.ZodDefault<z.ZodBoolean>;
29
+ input: z.ZodDefault<z.ZodArray<z.ZodEnum<{
30
+ text: "text";
31
+ image: "image";
32
+ }>>>;
24
33
  supportedThinkingLevels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
25
34
  off: "off";
26
35
  minimal: "minimal";
@@ -1 +1 @@
1
- {"version":3,"file":"models.schema.d.ts","sourceRoot":"","sources":["../../../src/domains/models/models.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc,sEAQjB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;EAAyB,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG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,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -13,12 +13,15 @@ export const modelSelectionSchema = z.object({
13
13
  provider: z.string().min(1),
14
14
  modelId: z.string().min(1),
15
15
  });
16
+ export const modelInputSchema = z.enum(["text", "image"]);
16
17
  export const modelInfoSchema = z.object({
17
18
  provider: z.string(),
18
19
  modelId: z.string(),
19
20
  name: z.string(),
20
21
  label: z.string(),
21
22
  reasoning: z.boolean().default(false),
23
+ /** Accepted input modalities; `["text", "image"]` means vision input works. */
24
+ input: z.array(modelInputSchema).default(["text"]),
22
25
  supportedThinkingLevels: z.array(thinkingLevelSchema).default(["off"]),
23
26
  faux: z.boolean().optional(),
24
27
  contextWindow: z.number().int().nonnegative().default(0),
@@ -1 +1 @@
1
- {"version":3,"file":"models.schema.js","sourceRoot":"","sources":["../../../src/domains/models/models.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,KAAK;IACL,SAAS;IACT,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;CACG,CAAC;AAEX,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;AAG1D,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC3B,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;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,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;IACjD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC7C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC"}
@@ -10,6 +10,7 @@ export declare const protocolRequestDataSchema: z.ZodObject<{
10
10
  "agent.create": "agent.create";
11
11
  "agent.list": "agent.list";
12
12
  "agent.get": "agent.get";
13
+ "agent.subagentTranscript.get": "agent.subagentTranscript.get";
13
14
  "agent.configure": "agent.configure";
14
15
  "agent.promptQueue.list": "agent.promptQueue.list";
15
16
  "agent.promptQueue.cancel": "agent.promptQueue.cancel";
@@ -180,6 +181,7 @@ export declare const protocolRequestMessageSchema: z.ZodObject<{
180
181
  "agent.create": "agent.create";
181
182
  "agent.list": "agent.list";
182
183
  "agent.get": "agent.get";
184
+ "agent.subagentTranscript.get": "agent.subagentTranscript.get";
183
185
  "agent.configure": "agent.configure";
184
186
  "agent.promptQueue.list": "agent.promptQueue.list";
185
187
  "agent.promptQueue.cancel": "agent.promptQueue.cancel";
@@ -313,6 +315,7 @@ export declare const protocolResponseDataSchema: z.ZodObject<{
313
315
  "agent.create": "agent.create";
314
316
  "agent.list": "agent.list";
315
317
  "agent.get": "agent.get";
318
+ "agent.subagentTranscript.get": "agent.subagentTranscript.get";
316
319
  "agent.configure": "agent.configure";
317
320
  "agent.promptQueue.list": "agent.promptQueue.list";
318
321
  "agent.promptQueue.cancel": "agent.promptQueue.cancel";
@@ -498,6 +501,7 @@ export declare const protocolResponseMessageSchema: z.ZodObject<{
498
501
  "agent.create": "agent.create";
499
502
  "agent.list": "agent.list";
500
503
  "agent.get": "agent.get";
504
+ "agent.subagentTranscript.get": "agent.subagentTranscript.get";
501
505
  "agent.configure": "agent.configure";
502
506
  "agent.promptQueue.list": "agent.promptQueue.list";
503
507
  "agent.promptQueue.cancel": "agent.promptQue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