@evalops/maestro 0.10.18 → 0.10.20

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 (922) hide show
  1. package/README.md +56 -1
  2. package/dist/agent/action-approval.d.ts +12 -2
  3. package/dist/agent/action-approval.d.ts.map +1 -1
  4. package/dist/agent/action-approval.js +19 -32
  5. package/dist/agent/action-approval.js.map +1 -1
  6. package/dist/agent/agent.d.ts +1 -0
  7. package/dist/agent/agent.d.ts.map +1 -1
  8. package/dist/agent/agent.js +26 -0
  9. package/dist/agent/agent.js.map +1 -1
  10. package/dist/agent/compaction.d.ts +2 -0
  11. package/dist/agent/compaction.d.ts.map +1 -1
  12. package/dist/agent/compaction.js +4 -2
  13. package/dist/agent/compaction.js.map +1 -1
  14. package/dist/agent/index.d.ts +1 -1
  15. package/dist/agent/index.d.ts.map +1 -1
  16. package/dist/agent/index.js +1 -1
  17. package/dist/agent/index.js.map +1 -1
  18. package/dist/agent/modes.d.ts +56 -4
  19. package/dist/agent/modes.d.ts.map +1 -1
  20. package/dist/agent/modes.js +163 -2
  21. package/dist/agent/modes.js.map +1 -1
  22. package/dist/agent/prompt-recovery.d.ts.map +1 -1
  23. package/dist/agent/prompt-recovery.js +1 -3
  24. package/dist/agent/prompt-recovery.js.map +1 -1
  25. package/dist/agent/providers/anthropic.d.ts.map +1 -1
  26. package/dist/agent/providers/anthropic.js +9 -1
  27. package/dist/agent/providers/anthropic.js.map +1 -1
  28. package/dist/agent/providers/codex-app-server.d.ts +12 -0
  29. package/dist/agent/providers/codex-app-server.d.ts.map +1 -0
  30. package/dist/agent/providers/codex-app-server.js +788 -0
  31. package/dist/agent/providers/codex-app-server.js.map +1 -0
  32. package/dist/agent/providers/google-gemini-cli.js +14 -3
  33. package/dist/agent/providers/google.js +22 -3
  34. package/dist/agent/providers/scripted.d.ts +11 -0
  35. package/dist/agent/providers/scripted.d.ts.map +1 -0
  36. package/dist/agent/providers/scripted.js +399 -0
  37. package/dist/agent/providers/scripted.js.map +1 -0
  38. package/dist/agent/providers/vertex.js +14 -3
  39. package/dist/agent/scenario-source.d.ts +19 -0
  40. package/dist/agent/scenario-source.d.ts.map +1 -0
  41. package/dist/agent/scenario-source.js +112 -0
  42. package/dist/agent/scenario-source.js.map +1 -0
  43. package/dist/agent/subagent-specs.d.ts +1 -1
  44. package/dist/agent/subagent-specs.js +1 -1
  45. package/dist/agent/subagent-specs.js.map +1 -1
  46. package/dist/agent/swarm/executor.d.ts +25 -0
  47. package/dist/agent/swarm/executor.d.ts.map +1 -1
  48. package/dist/agent/swarm/executor.js +795 -20
  49. package/dist/agent/swarm/executor.js.map +1 -1
  50. package/dist/agent/swarm/runtime-events.d.ts +11 -0
  51. package/dist/agent/swarm/runtime-events.d.ts.map +1 -0
  52. package/dist/agent/swarm/runtime-events.js +26 -0
  53. package/dist/agent/swarm/runtime-events.js.map +1 -0
  54. package/dist/agent/swarm/types.d.ts +78 -0
  55. package/dist/agent/swarm/types.d.ts.map +1 -1
  56. package/dist/agent/swarm/types.js.map +1 -1
  57. package/dist/agent/tracing.d.ts +1 -1
  58. package/dist/agent/tracing.d.ts.map +1 -1
  59. package/dist/agent/tracing.js +17 -9
  60. package/dist/agent/tracing.js.map +1 -1
  61. package/dist/agent/transport/create-provider-stream.d.ts.map +1 -1
  62. package/dist/agent/transport/create-provider-stream.js +14 -0
  63. package/dist/agent/transport/create-provider-stream.js.map +1 -1
  64. package/dist/agent/transport/stable-stringify.d.ts +2 -0
  65. package/dist/agent/transport/stable-stringify.d.ts.map +1 -0
  66. package/dist/agent/transport/stable-stringify.js +14 -0
  67. package/dist/agent/transport/stable-stringify.js.map +1 -0
  68. package/dist/agent/transport/tool-execution-bridge.d.ts.map +1 -1
  69. package/dist/agent/transport/tool-execution-bridge.js +2 -15
  70. package/dist/agent/transport/tool-execution-bridge.js.map +1 -1
  71. package/dist/agent/transport/tool-safety-pipeline.d.ts +5 -1
  72. package/dist/agent/transport/tool-safety-pipeline.d.ts.map +1 -1
  73. package/dist/agent/transport/tool-safety-pipeline.js +184 -36
  74. package/dist/agent/transport/tool-safety-pipeline.js.map +1 -1
  75. package/dist/agent/transport.d.ts +8 -0
  76. package/dist/agent/transport.d.ts.map +1 -1
  77. package/dist/agent/transport.js +1613 -68
  78. package/dist/agent/transport.js.map +1 -1
  79. package/dist/agent/types.d.ts +170 -2
  80. package/dist/agent/types.d.ts.map +1 -1
  81. package/dist/agent/types.js.map +1 -1
  82. package/dist/api/enterprise-routes.d.ts.map +1 -1
  83. package/dist/api/enterprise-routes.js +34 -3
  84. package/dist/api/enterprise-routes.js.map +1 -1
  85. package/dist/app-server/in-process-client.d.ts +32 -0
  86. package/dist/app-server/in-process-client.d.ts.map +1 -0
  87. package/dist/app-server/in-process-client.js +73 -0
  88. package/dist/app-server/in-process-client.js.map +1 -0
  89. package/dist/app-server/session-api.d.ts +36 -0
  90. package/dist/app-server/session-api.d.ts.map +1 -0
  91. package/dist/app-server/session-api.js +713 -0
  92. package/dist/app-server/session-api.js.map +1 -0
  93. package/dist/approvals/platform-action-approval.d.ts +3 -1
  94. package/dist/approvals/platform-action-approval.d.ts.map +1 -1
  95. package/dist/approvals/platform-action-approval.js +16 -9
  96. package/dist/approvals/platform-action-approval.js.map +1 -1
  97. package/dist/approvals/service-client.d.ts.map +1 -1
  98. package/dist/approvals/service-client.js +7 -7
  99. package/dist/approvals/service-client.js.map +1 -1
  100. package/dist/audit/logger.d.ts +4 -4
  101. package/dist/bootstrap/agent-creation-setup.d.ts +4 -0
  102. package/dist/bootstrap/agent-creation-setup.d.ts.map +1 -1
  103. package/dist/bootstrap/agent-creation-setup.js +3 -1
  104. package/dist/bootstrap/agent-creation-setup.js.map +1 -1
  105. package/dist/bootstrap/auth-setup.js +1 -1
  106. package/dist/bootstrap/auth-setup.js.map +1 -1
  107. package/dist/bootstrap/event-subscriptions-setup.d.ts +6 -0
  108. package/dist/bootstrap/event-subscriptions-setup.d.ts.map +1 -1
  109. package/dist/bootstrap/event-subscriptions-setup.js +26 -2
  110. package/dist/bootstrap/event-subscriptions-setup.js.map +1 -1
  111. package/dist/bootstrap/model-resolution-setup.d.ts.map +1 -1
  112. package/dist/bootstrap/model-resolution-setup.js +4 -1
  113. package/dist/bootstrap/model-resolution-setup.js.map +1 -1
  114. package/dist/bootstrap/tools-setup.d.ts +2 -1
  115. package/dist/bootstrap/tools-setup.d.ts.map +1 -1
  116. package/dist/bootstrap/tools-setup.js +5 -1
  117. package/dist/bootstrap/tools-setup.js.map +1 -1
  118. package/dist/cli/args.d.ts +9 -1
  119. package/dist/cli/args.d.ts.map +1 -1
  120. package/dist/cli/args.js +130 -5
  121. package/dist/cli/args.js.map +1 -1
  122. package/dist/cli/commands/a2a.d.ts +9 -0
  123. package/dist/cli/commands/a2a.d.ts.map +1 -0
  124. package/dist/cli/commands/a2a.js +1714 -0
  125. package/dist/cli/commands/a2a.js.map +1 -0
  126. package/dist/cli/commands/agents.d.ts +16 -2
  127. package/dist/cli/commands/agents.d.ts.map +1 -1
  128. package/dist/cli/commands/agents.js +223 -35
  129. package/dist/cli/commands/agents.js.map +1 -1
  130. package/dist/cli/commands/codex.d.ts +1 -1
  131. package/dist/cli/commands/codex.d.ts.map +1 -1
  132. package/dist/cli/commands/codex.js +145 -39
  133. package/dist/cli/commands/codex.js.map +1 -1
  134. package/dist/cli/commands/context.d.ts +10 -0
  135. package/dist/cli/commands/context.d.ts.map +1 -0
  136. package/dist/cli/commands/context.js +176 -0
  137. package/dist/cli/commands/context.js.map +1 -0
  138. package/dist/cli/commands/hosted-runner.d.ts +1 -0
  139. package/dist/cli/commands/hosted-runner.d.ts.map +1 -1
  140. package/dist/cli/commands/hosted-runner.js +9 -1
  141. package/dist/cli/commands/hosted-runner.js.map +1 -1
  142. package/dist/cli/commands/modes.d.ts +8 -0
  143. package/dist/cli/commands/modes.d.ts.map +1 -0
  144. package/dist/cli/commands/modes.js +151 -0
  145. package/dist/cli/commands/modes.js.map +1 -0
  146. package/dist/cli/commands/operating-plane.d.ts +14 -0
  147. package/dist/cli/commands/operating-plane.d.ts.map +1 -0
  148. package/dist/cli/commands/operating-plane.js +160 -0
  149. package/dist/cli/commands/operating-plane.js.map +1 -0
  150. package/dist/cli/commands/run.d.ts +87 -0
  151. package/dist/cli/commands/run.d.ts.map +1 -0
  152. package/dist/cli/commands/run.js +356 -0
  153. package/dist/cli/commands/run.js.map +1 -0
  154. package/dist/cli/commands/scenario.d.ts +7 -0
  155. package/dist/cli/commands/scenario.d.ts.map +1 -0
  156. package/dist/cli/commands/scenario.js +195 -0
  157. package/dist/cli/commands/scenario.js.map +1 -0
  158. package/dist/cli/commands/skill.d.ts +7 -0
  159. package/dist/cli/commands/skill.d.ts.map +1 -0
  160. package/dist/cli/commands/skill.js +286 -0
  161. package/dist/cli/commands/skill.js.map +1 -0
  162. package/dist/cli/headless-protocol.d.ts +55 -1
  163. package/dist/cli/headless-protocol.d.ts.map +1 -1
  164. package/dist/cli/headless-protocol.js +446 -7
  165. package/dist/cli/headless-protocol.js.map +1 -1
  166. package/dist/cli/headless-runtime-selection.d.ts +38 -0
  167. package/dist/cli/headless-runtime-selection.d.ts.map +1 -0
  168. package/dist/cli/headless-runtime-selection.js +48 -0
  169. package/dist/cli/headless-runtime-selection.js.map +1 -0
  170. package/dist/cli/headless.d.ts +5 -1
  171. package/dist/cli/headless.d.ts.map +1 -1
  172. package/dist/cli/headless.js +11 -1
  173. package/dist/cli/headless.js.map +1 -1
  174. package/dist/cli/help.d.ts +3 -1
  175. package/dist/cli/help.d.ts.map +1 -1
  176. package/dist/cli/help.js +135 -30
  177. package/dist/cli/help.js.map +1 -1
  178. package/dist/cli/system-prompt.d.ts +22 -4
  179. package/dist/cli/system-prompt.d.ts.map +1 -1
  180. package/dist/cli/system-prompt.js +224 -127
  181. package/dist/cli/system-prompt.js.map +1 -1
  182. package/dist/cli-tui/commands/a2a-handlers.d.ts +7 -0
  183. package/dist/cli-tui/commands/a2a-handlers.d.ts.map +1 -0
  184. package/dist/cli-tui/commands/a2a-handlers.js +160 -0
  185. package/dist/cli-tui/commands/a2a-handlers.js.map +1 -0
  186. package/dist/cli-tui/commands/command-catalog.d.ts.map +1 -1
  187. package/dist/cli-tui/commands/command-catalog.js +15 -0
  188. package/dist/cli-tui/commands/command-catalog.js.map +1 -1
  189. package/dist/cli-tui/commands/command-registry-adapter.js +10 -1
  190. package/dist/cli-tui/commands/command-registry-adapter.js.map +1 -1
  191. package/dist/cli-tui/commands/handlers/mode-handler.d.ts.map +1 -1
  192. package/dist/cli-tui/commands/handlers/mode-handler.js +22 -10
  193. package/dist/cli-tui/commands/handlers/mode-handler.js.map +1 -1
  194. package/dist/cli-tui/commands/mcp-handlers.d.ts.map +1 -1
  195. package/dist/cli-tui/commands/mcp-handlers.js +6 -5
  196. package/dist/cli-tui/commands/mcp-handlers.js.map +1 -1
  197. package/dist/cli-tui/commands/types.d.ts +1 -0
  198. package/dist/cli-tui/commands/types.d.ts.map +1 -1
  199. package/dist/cli-tui/commands/types.js.map +1 -1
  200. package/dist/cli-tui/commands/utility-handlers.d.ts +4 -0
  201. package/dist/cli-tui/commands/utility-handlers.d.ts.map +1 -1
  202. package/dist/cli-tui/commands/utility-handlers.js +45 -6
  203. package/dist/cli-tui/commands/utility-handlers.js.map +1 -1
  204. package/dist/cli-tui/run/run-shell-command.d.ts.map +1 -1
  205. package/dist/cli-tui/run/run-shell-command.js +14 -5
  206. package/dist/cli-tui/run/run-shell-command.js.map +1 -1
  207. package/dist/cli-tui/run/streaming-shell-command.d.ts.map +1 -1
  208. package/dist/cli-tui/run/streaming-shell-command.js +14 -5
  209. package/dist/cli-tui/run/streaming-shell-command.js.map +1 -1
  210. package/dist/cli-tui/selectors/model-selector.d.ts +1 -0
  211. package/dist/cli-tui/selectors/model-selector.d.ts.map +1 -1
  212. package/dist/cli-tui/selectors/model-selector.js +6 -2
  213. package/dist/cli-tui/selectors/model-selector.js.map +1 -1
  214. package/dist/cli-tui/tui-renderer/command-registry-options.d.ts.map +1 -1
  215. package/dist/cli-tui/tui-renderer/command-registry-options.js +5 -0
  216. package/dist/cli-tui/tui-renderer/command-registry-options.js.map +1 -1
  217. package/dist/cli-tui/utils/commands/review-prompt.d.ts +1 -1
  218. package/dist/cli-tui/utils/commands/review-prompt.d.ts.map +1 -1
  219. package/dist/cli-tui/utils/commands/review-prompt.js +8 -3
  220. package/dist/cli-tui/utils/commands/review-prompt.js.map +1 -1
  221. package/dist/cli-tui/utils/runtime-badges.d.ts +1 -0
  222. package/dist/cli-tui/utils/runtime-badges.d.ts.map +1 -1
  223. package/dist/cli-tui/utils/runtime-badges.js +7 -0
  224. package/dist/cli-tui/utils/runtime-badges.js.map +1 -1
  225. package/dist/cli-tui/utils/text-formatting.d.ts +1 -0
  226. package/dist/cli-tui/utils/text-formatting.d.ts.map +1 -1
  227. package/dist/cli-tui/utils/text-formatting.js +5 -0
  228. package/dist/cli-tui/utils/text-formatting.js.map +1 -1
  229. package/dist/cli.js +49158 -26161
  230. package/dist/cli.js.map +1 -1
  231. package/dist/codex/app-server-client.d.ts +139 -0
  232. package/dist/codex/app-server-client.d.ts.map +1 -0
  233. package/dist/codex/app-server-client.js +352 -0
  234. package/dist/codex/app-server-client.js.map +1 -0
  235. package/dist/codex/compatibility.d.ts +48 -0
  236. package/dist/codex/compatibility.d.ts.map +1 -0
  237. package/dist/codex/compatibility.js +344 -0
  238. package/dist/codex/compatibility.js.map +1 -0
  239. package/dist/codex/subagent-dispatch-table.d.ts +66 -0
  240. package/dist/codex/subagent-dispatch-table.d.ts.map +1 -0
  241. package/dist/codex/subagent-dispatch-table.js +127 -0
  242. package/dist/codex/subagent-dispatch-table.js.map +1 -0
  243. package/dist/codex/subagent-workgraph.d.ts +56 -0
  244. package/dist/codex/subagent-workgraph.d.ts.map +1 -0
  245. package/dist/codex/subagent-workgraph.js +89 -0
  246. package/dist/codex/subagent-workgraph.js.map +1 -0
  247. package/dist/config/constants.d.ts +3 -1
  248. package/dist/config/constants.d.ts.map +1 -1
  249. package/dist/config/constants.js +9 -0
  250. package/dist/config/constants.js.map +1 -1
  251. package/dist/config/feature-flags.d.ts +10 -1
  252. package/dist/config/feature-flags.d.ts.map +1 -1
  253. package/dist/config/feature-flags.js +17 -6
  254. package/dist/config/feature-flags.js.map +1 -1
  255. package/dist/config/index.d.ts +1 -1
  256. package/dist/config/index.d.ts.map +1 -1
  257. package/dist/config/index.js +1 -1
  258. package/dist/config/index.js.map +1 -1
  259. package/dist/config/toml-config.d.ts +32 -0
  260. package/dist/config/toml-config.d.ts.map +1 -1
  261. package/dist/config/toml-config.js +152 -43
  262. package/dist/config/toml-config.js.map +1 -1
  263. package/dist/connectors/service-client.d.ts.map +1 -1
  264. package/dist/connectors/service-client.js +4 -7
  265. package/dist/connectors/service-client.js.map +1 -1
  266. package/dist/context/manifest-types.d.ts +59 -0
  267. package/dist/context/manifest-types.d.ts.map +1 -0
  268. package/dist/context/manifest-types.js +2 -0
  269. package/dist/context/manifest-types.js.map +1 -0
  270. package/dist/context/manifest.d.ts +16 -0
  271. package/dist/context/manifest.d.ts.map +1 -0
  272. package/dist/context/manifest.js +503 -0
  273. package/dist/context/manifest.js.map +1 -0
  274. package/dist/db/schema.d.ts +10 -1
  275. package/dist/db/schema.d.ts.map +1 -1
  276. package/dist/db/schema.js.map +1 -1
  277. package/dist/evalops/env-aliases.d.ts +13 -0
  278. package/dist/evalops/env-aliases.d.ts.map +1 -0
  279. package/dist/evalops/env-aliases.js +60 -0
  280. package/dist/evalops/env-aliases.js.map +1 -0
  281. package/dist/evalops/managed-context.d.ts.map +1 -1
  282. package/dist/evalops/managed-context.js +28 -62
  283. package/dist/evalops/managed-context.js.map +1 -1
  284. package/dist/guardian/config.d.ts.map +1 -1
  285. package/dist/guardian/config.js +1 -0
  286. package/dist/guardian/config.js.map +1 -1
  287. package/dist/guardian/runner.d.ts +2 -0
  288. package/dist/guardian/runner.d.ts.map +1 -1
  289. package/dist/guardian/runner.js +105 -2
  290. package/dist/guardian/runner.js.map +1 -1
  291. package/dist/guardian/types.d.ts +1 -0
  292. package/dist/guardian/types.d.ts.map +1 -1
  293. package/dist/guardian/types.js.map +1 -1
  294. package/dist/index.d.ts +5 -1
  295. package/dist/index.d.ts.map +1 -1
  296. package/dist/index.js +5 -1
  297. package/dist/index.js.map +1 -1
  298. package/dist/main.d.ts.map +1 -1
  299. package/dist/main.js +267 -55
  300. package/dist/main.js.map +1 -1
  301. package/dist/mcp/config.d.ts.map +1 -1
  302. package/dist/mcp/config.js +89 -7
  303. package/dist/mcp/config.js.map +1 -1
  304. package/dist/mcp/manager.d.ts +5 -1
  305. package/dist/mcp/manager.d.ts.map +1 -1
  306. package/dist/mcp/manager.js +159 -4
  307. package/dist/mcp/manager.js.map +1 -1
  308. package/dist/mcp/platform-plugin.d.ts.map +1 -1
  309. package/dist/mcp/platform-plugin.js +9 -26
  310. package/dist/mcp/platform-plugin.js.map +1 -1
  311. package/dist/mcp/schema.d.ts +15 -0
  312. package/dist/mcp/schema.d.ts.map +1 -1
  313. package/dist/mcp/schema.js +24 -0
  314. package/dist/mcp/schema.js.map +1 -1
  315. package/dist/mcp/tool-bridge.d.ts +39 -10
  316. package/dist/mcp/tool-bridge.d.ts.map +1 -1
  317. package/dist/mcp/tool-bridge.js +101 -24
  318. package/dist/mcp/tool-bridge.js.map +1 -1
  319. package/dist/mcp/types.d.ts +27 -0
  320. package/dist/mcp/types.d.ts.map +1 -1
  321. package/dist/mcp/types.js.map +1 -1
  322. package/dist/mcp/workspace-trust.d.ts +10 -0
  323. package/dist/mcp/workspace-trust.d.ts.map +1 -0
  324. package/dist/mcp/workspace-trust.js +295 -0
  325. package/dist/mcp/workspace-trust.js.map +1 -0
  326. package/dist/memory/service-client.d.ts +1 -0
  327. package/dist/memory/service-client.d.ts.map +1 -1
  328. package/dist/memory/service-client.js +194 -9
  329. package/dist/memory/service-client.js.map +1 -1
  330. package/dist/models/builtin.d.ts.map +1 -1
  331. package/dist/models/builtin.js +66 -25
  332. package/dist/models/builtin.js.map +1 -1
  333. package/dist/models/config-loader.d.ts +10 -10
  334. package/dist/models/config-loader.d.ts.map +1 -1
  335. package/dist/models/config-loader.js +2 -0
  336. package/dist/models/config-loader.js.map +1 -1
  337. package/dist/models/registry.d.ts +1 -0
  338. package/dist/models/registry.d.ts.map +1 -1
  339. package/dist/models/registry.js +1 -0
  340. package/dist/models/registry.js.map +1 -1
  341. package/dist/oauth/device-identity.d.ts.map +1 -1
  342. package/dist/oauth/device-identity.js +1 -3
  343. package/dist/oauth/device-identity.js.map +1 -1
  344. package/dist/oauth/evalops.d.ts.map +1 -1
  345. package/dist/oauth/evalops.js +2 -5
  346. package/dist/oauth/evalops.js.map +1 -1
  347. package/dist/opentelemetry.d.ts.map +1 -1
  348. package/dist/opentelemetry.js +12 -12
  349. package/dist/opentelemetry.js.map +1 -1
  350. package/dist/package-version.d.ts +2 -0
  351. package/dist/package-version.d.ts.map +1 -0
  352. package/dist/package-version.js +11 -0
  353. package/dist/package-version.js.map +1 -0
  354. package/dist/packages/constants.d.ts +3 -0
  355. package/dist/packages/constants.d.ts.map +1 -0
  356. package/dist/packages/constants.js +3 -0
  357. package/dist/packages/constants.js.map +1 -0
  358. package/dist/packages/inspection.d.ts.map +1 -1
  359. package/dist/packages/inspection.js +2 -1
  360. package/dist/packages/inspection.js.map +1 -1
  361. package/dist/packages/search.d.ts.map +1 -1
  362. package/dist/packages/search.js +1 -1
  363. package/dist/packages/search.js.map +1 -1
  364. package/dist/platform/a2a-capability-market.d.ts +21 -0
  365. package/dist/platform/a2a-capability-market.d.ts.map +1 -0
  366. package/dist/platform/a2a-capability-market.js +176 -0
  367. package/dist/platform/a2a-capability-market.js.map +1 -0
  368. package/dist/platform/a2a-client.d.ts +119 -0
  369. package/dist/platform/a2a-client.d.ts.map +1 -1
  370. package/dist/platform/a2a-client.js +413 -24
  371. package/dist/platform/a2a-client.js.map +1 -1
  372. package/dist/platform/a2a-fleet.d.ts +41 -0
  373. package/dist/platform/a2a-fleet.d.ts.map +1 -0
  374. package/dist/platform/a2a-fleet.js +109 -0
  375. package/dist/platform/a2a-fleet.js.map +1 -0
  376. package/dist/platform/a2a-maestro-peer.d.ts +20 -0
  377. package/dist/platform/a2a-maestro-peer.d.ts.map +1 -0
  378. package/dist/platform/a2a-maestro-peer.js +176 -0
  379. package/dist/platform/a2a-maestro-peer.js.map +1 -0
  380. package/dist/platform/a2a-peer-pairing.d.ts +107 -0
  381. package/dist/platform/a2a-peer-pairing.d.ts.map +1 -0
  382. package/dist/platform/a2a-peer-pairing.js +489 -0
  383. package/dist/platform/a2a-peer-pairing.js.map +1 -0
  384. package/dist/platform/a2a-peer-registry.d.ts +68 -0
  385. package/dist/platform/a2a-peer-registry.d.ts.map +1 -0
  386. package/dist/platform/a2a-peer-registry.js +320 -0
  387. package/dist/platform/a2a-peer-registry.js.map +1 -0
  388. package/dist/platform/a2a-task-ledger.d.ts +86 -0
  389. package/dist/platform/a2a-task-ledger.d.ts.map +1 -0
  390. package/dist/platform/a2a-task-ledger.js +546 -0
  391. package/dist/platform/a2a-task-ledger.js.map +1 -0
  392. package/dist/platform/a2a-work-graph.d.ts +43 -0
  393. package/dist/platform/a2a-work-graph.d.ts.map +1 -0
  394. package/dist/platform/a2a-work-graph.js +267 -0
  395. package/dist/platform/a2a-work-graph.js.map +1 -0
  396. package/dist/platform/agent-registry-client.d.ts +327 -0
  397. package/dist/platform/agent-registry-client.d.ts.map +1 -0
  398. package/dist/platform/agent-registry-client.js +803 -0
  399. package/dist/platform/agent-registry-client.js.map +1 -0
  400. package/dist/platform/agent-runtime-client.d.ts +135 -1
  401. package/dist/platform/agent-runtime-client.d.ts.map +1 -1
  402. package/dist/platform/agent-runtime-client.js +467 -10
  403. package/dist/platform/agent-runtime-client.js.map +1 -1
  404. package/dist/platform/cerebro-facts-client.d.ts.map +1 -1
  405. package/dist/platform/cerebro-facts-client.js +4 -7
  406. package/dist/platform/cerebro-facts-client.js.map +1 -1
  407. package/dist/platform/client.d.ts.map +1 -1
  408. package/dist/platform/client.js +3 -12
  409. package/dist/platform/client.js.map +1 -1
  410. package/dist/platform/core-services.d.ts +68 -0
  411. package/dist/platform/core-services.d.ts.map +1 -1
  412. package/dist/platform/core-services.js +68 -0
  413. package/dist/platform/core-services.js.map +1 -1
  414. package/dist/platform/fermata-eval-client.d.ts +195 -0
  415. package/dist/platform/fermata-eval-client.d.ts.map +1 -0
  416. package/dist/platform/fermata-eval-client.js +146 -0
  417. package/dist/platform/fermata-eval-client.js.map +1 -0
  418. package/dist/platform/fermata-scenario-suite.d.ts +99 -0
  419. package/dist/platform/fermata-scenario-suite.d.ts.map +1 -0
  420. package/dist/platform/fermata-scenario-suite.js +459 -0
  421. package/dist/platform/fermata-scenario-suite.js.map +1 -0
  422. package/dist/platform/maestro-timeline-client.d.ts.map +1 -1
  423. package/dist/platform/maestro-timeline-client.js +5 -11
  424. package/dist/platform/maestro-timeline-client.js.map +1 -1
  425. package/dist/platform/operating-plane-client.d.ts +156 -0
  426. package/dist/platform/operating-plane-client.d.ts.map +1 -0
  427. package/dist/platform/operating-plane-client.js +131 -0
  428. package/dist/platform/operating-plane-client.js.map +1 -0
  429. package/dist/platform/operating-plane-summary.d.ts +47 -0
  430. package/dist/platform/operating-plane-summary.d.ts.map +1 -0
  431. package/dist/platform/operating-plane-summary.js +209 -0
  432. package/dist/platform/operating-plane-summary.js.map +1 -0
  433. package/dist/platform/tool-execution-client.d.ts.map +1 -1
  434. package/dist/platform/tool-execution-client.js +4 -11
  435. package/dist/platform/tool-execution-client.js.map +1 -1
  436. package/dist/prompts/service-client.d.ts.map +1 -1
  437. package/dist/prompts/service-client.js +3 -5
  438. package/dist/prompts/service-client.js.map +1 -1
  439. package/dist/prompts/system-prompt.d.ts +3 -0
  440. package/dist/prompts/system-prompt.d.ts.map +1 -1
  441. package/dist/prompts/system-prompt.js +13 -3
  442. package/dist/prompts/system-prompt.js.map +1 -1
  443. package/dist/prompts/types.d.ts +2 -0
  444. package/dist/prompts/types.d.ts.map +1 -1
  445. package/dist/prompts/types.js.map +1 -1
  446. package/dist/providers/api-keys.d.ts +1 -1
  447. package/dist/providers/api-keys.d.ts.map +1 -1
  448. package/dist/providers/api-keys.js +2 -1
  449. package/dist/providers/api-keys.js.map +1 -1
  450. package/dist/providers/auth.d.ts.map +1 -1
  451. package/dist/providers/auth.js +48 -25
  452. package/dist/providers/auth.js.map +1 -1
  453. package/dist/remote-runner/attach-client.d.ts.map +1 -1
  454. package/dist/remote-runner/attach-client.js +1 -0
  455. package/dist/remote-runner/attach-client.js.map +1 -1
  456. package/dist/remote-runner/client.d.ts.map +1 -1
  457. package/dist/remote-runner/client.js +4 -7
  458. package/dist/remote-runner/client.js.map +1 -1
  459. package/dist/rpc/rpc-types.d.ts.map +1 -1
  460. package/dist/rpc/rpc-types.js +1 -0
  461. package/dist/rpc/rpc-types.js.map +1 -1
  462. package/dist/safety/action-firewall.d.ts.map +1 -1
  463. package/dist/safety/action-firewall.js +69 -6
  464. package/dist/safety/action-firewall.js.map +1 -1
  465. package/dist/safety/attack-patterns.d.ts.map +1 -1
  466. package/dist/safety/attack-patterns.js +31 -14
  467. package/dist/safety/attack-patterns.js.map +1 -1
  468. package/dist/safety/bash-parser.d.ts.map +1 -1
  469. package/dist/safety/bash-parser.js +4 -3
  470. package/dist/safety/bash-parser.js.map +1 -1
  471. package/dist/safety/execpolicy.d.ts +15 -3
  472. package/dist/safety/execpolicy.d.ts.map +1 -1
  473. package/dist/safety/execpolicy.js +248 -37
  474. package/dist/safety/execpolicy.js.map +1 -1
  475. package/dist/safety/governance-service-client.d.ts.map +1 -1
  476. package/dist/safety/governance-service-client.js +4 -7
  477. package/dist/safety/governance-service-client.js.map +1 -1
  478. package/dist/safety/guarded-files.d.ts +34 -0
  479. package/dist/safety/guarded-files.d.ts.map +1 -0
  480. package/dist/safety/guarded-files.js +372 -0
  481. package/dist/safety/guarded-files.js.map +1 -0
  482. package/dist/safety/loop-detector.d.ts.map +1 -1
  483. package/dist/safety/loop-detector.js +6 -1
  484. package/dist/safety/loop-detector.js.map +1 -1
  485. package/dist/safety/permission-profile.d.ts +47 -0
  486. package/dist/safety/permission-profile.d.ts.map +1 -0
  487. package/dist/safety/permission-profile.js +349 -0
  488. package/dist/safety/permission-profile.js.map +1 -0
  489. package/dist/safety/safety-middleware.d.ts +5 -1
  490. package/dist/safety/safety-middleware.d.ts.map +1 -1
  491. package/dist/safety/safety-middleware.js +3 -2
  492. package/dist/safety/safety-middleware.js.map +1 -1
  493. package/dist/safety/suspicious-patterns.d.ts.map +1 -1
  494. package/dist/safety/suspicious-patterns.js +12 -7
  495. package/dist/safety/suspicious-patterns.js.map +1 -1
  496. package/dist/safety/tool-categorization.js +1 -1
  497. package/dist/safety/tool-categorization.js.map +1 -1
  498. package/dist/safety/validators/path-policy-validator.d.ts.map +1 -1
  499. package/dist/safety/validators/path-policy-validator.js +7 -0
  500. package/dist/safety/validators/path-policy-validator.js.map +1 -1
  501. package/dist/sandbox/index.d.ts +6 -1
  502. package/dist/sandbox/index.d.ts.map +1 -1
  503. package/dist/sandbox/index.js +30 -4
  504. package/dist/sandbox/index.js.map +1 -1
  505. package/dist/sandbox/native-sandbox.d.ts +3 -0
  506. package/dist/sandbox/native-sandbox.d.ts.map +1 -1
  507. package/dist/sandbox/native-sandbox.js +139 -18
  508. package/dist/sandbox/native-sandbox.js.map +1 -1
  509. package/dist/sentry.d.ts +17 -0
  510. package/dist/sentry.d.ts.map +1 -0
  511. package/dist/sentry.js +91 -0
  512. package/dist/sentry.js.map +1 -0
  513. package/dist/server/agent-runtime-ledger.d.ts +141 -0
  514. package/dist/server/agent-runtime-ledger.d.ts.map +1 -0
  515. package/dist/server/agent-runtime-ledger.js +334 -0
  516. package/dist/server/agent-runtime-ledger.js.map +1 -0
  517. package/dist/server/agent-trajectory-inspection.d.ts +104 -0
  518. package/dist/server/agent-trajectory-inspection.d.ts.map +1 -0
  519. package/dist/server/agent-trajectory-inspection.js +168 -0
  520. package/dist/server/agent-trajectory-inspection.js.map +1 -0
  521. package/dist/server/agent-trajectory-replay.d.ts +56 -0
  522. package/dist/server/agent-trajectory-replay.d.ts.map +1 -0
  523. package/dist/server/agent-trajectory-replay.js +214 -0
  524. package/dist/server/agent-trajectory-replay.js.map +1 -0
  525. package/dist/server/agent-trajectory-scenarios.d.ts +109 -0
  526. package/dist/server/agent-trajectory-scenarios.d.ts.map +1 -0
  527. package/dist/server/agent-trajectory-scenarios.js +822 -0
  528. package/dist/server/agent-trajectory-scenarios.js.map +1 -0
  529. package/dist/server/agent-trajectory-scorers.d.ts +61 -0
  530. package/dist/server/agent-trajectory-scorers.d.ts.map +1 -0
  531. package/dist/server/agent-trajectory-scorers.js +162 -0
  532. package/dist/server/agent-trajectory-scorers.js.map +1 -0
  533. package/dist/server/agent-trajectory-validation.d.ts +7 -0
  534. package/dist/server/agent-trajectory-validation.d.ts.map +1 -0
  535. package/dist/server/agent-trajectory-validation.js +101 -0
  536. package/dist/server/agent-trajectory-validation.js.map +1 -0
  537. package/dist/server/agent-trajectory.d.ts +50 -0
  538. package/dist/server/agent-trajectory.d.ts.map +1 -0
  539. package/dist/server/agent-trajectory.js +159 -0
  540. package/dist/server/agent-trajectory.js.map +1 -0
  541. package/dist/server/app-context.d.ts +18 -0
  542. package/dist/server/app-context.d.ts.map +1 -1
  543. package/dist/server/app-context.js.map +1 -1
  544. package/dist/server/handlers/headless-sessions.d.ts.map +1 -1
  545. package/dist/server/handlers/headless-sessions.js +64 -27
  546. package/dist/server/handlers/headless-sessions.js.map +1 -1
  547. package/dist/server/handlers/health.d.ts +6 -0
  548. package/dist/server/handlers/health.d.ts.map +1 -1
  549. package/dist/server/handlers/health.js +6 -0
  550. package/dist/server/handlers/health.js.map +1 -1
  551. package/dist/server/handlers/hosted-runner-drain.d.ts +69 -1
  552. package/dist/server/handlers/hosted-runner-drain.d.ts.map +1 -1
  553. package/dist/server/handlers/hosted-runner-drain.js +309 -18
  554. package/dist/server/handlers/hosted-runner-drain.js.map +1 -1
  555. package/dist/server/handlers/hosted-runner-identity.d.ts +16 -0
  556. package/dist/server/handlers/hosted-runner-identity.d.ts.map +1 -1
  557. package/dist/server/handlers/hosted-runner-identity.js +43 -0
  558. package/dist/server/handlers/hosted-runner-identity.js.map +1 -1
  559. package/dist/server/handlers/mode.d.ts.map +1 -1
  560. package/dist/server/handlers/mode.js +3 -1
  561. package/dist/server/handlers/mode.js.map +1 -1
  562. package/dist/server/handlers/pending-requests.d.ts.map +1 -1
  563. package/dist/server/handlers/pending-requests.js +336 -51
  564. package/dist/server/handlers/pending-requests.js.map +1 -1
  565. package/dist/server/handlers/platform-a2a-push.d.ts +6 -0
  566. package/dist/server/handlers/platform-a2a-push.d.ts.map +1 -0
  567. package/dist/server/handlers/platform-a2a-push.js +136 -0
  568. package/dist/server/handlers/platform-a2a-push.js.map +1 -0
  569. package/dist/server/handlers/sessions.d.ts.map +1 -1
  570. package/dist/server/handlers/sessions.js +21 -1
  571. package/dist/server/handlers/sessions.js.map +1 -1
  572. package/dist/server/headless-runtime-service.d.ts +9 -2
  573. package/dist/server/headless-runtime-service.d.ts.map +1 -1
  574. package/dist/server/headless-runtime-service.js +39 -0
  575. package/dist/server/headless-runtime-service.js.map +1 -1
  576. package/dist/server/hosted-agent-runtime-progress.d.ts +144 -0
  577. package/dist/server/hosted-agent-runtime-progress.d.ts.map +1 -0
  578. package/dist/server/hosted-agent-runtime-progress.js +1650 -0
  579. package/dist/server/hosted-agent-runtime-progress.js.map +1 -0
  580. package/dist/server/hosted-runner-lease.d.ts +41 -0
  581. package/dist/server/hosted-runner-lease.d.ts.map +1 -0
  582. package/dist/server/hosted-runner-lease.js +140 -0
  583. package/dist/server/hosted-runner-lease.js.map +1 -0
  584. package/dist/server/hosted-session-manager.d.ts +16 -8
  585. package/dist/server/hosted-session-manager.d.ts.map +1 -1
  586. package/dist/server/hosted-session-manager.js +98 -76
  587. package/dist/server/hosted-session-manager.js.map +1 -1
  588. package/dist/server/junit-xml.d.ts +2 -0
  589. package/dist/server/junit-xml.d.ts.map +1 -0
  590. package/dist/server/junit-xml.js +9 -0
  591. package/dist/server/junit-xml.js.map +1 -0
  592. package/dist/server/routes.d.ts.map +1 -1
  593. package/dist/server/routes.js +6 -0
  594. package/dist/server/routes.js.map +1 -1
  595. package/dist/server/scenario-recorder.d.ts +56 -0
  596. package/dist/server/scenario-recorder.d.ts.map +1 -0
  597. package/dist/server/scenario-recorder.js +109 -0
  598. package/dist/server/scenario-recorder.js.map +1 -0
  599. package/dist/server/scripted-scenario-runner.d.ts +46 -0
  600. package/dist/server/scripted-scenario-runner.d.ts.map +1 -0
  601. package/dist/server/scripted-scenario-runner.js +190 -0
  602. package/dist/server/scripted-scenario-runner.js.map +1 -0
  603. package/dist/server/server-middlewares.d.ts +6 -2
  604. package/dist/server/server-middlewares.d.ts.map +1 -1
  605. package/dist/server/server-middlewares.js +8 -2
  606. package/dist/server/server-middlewares.js.map +1 -1
  607. package/dist/server/server-request-manager.d.ts +9 -1
  608. package/dist/server/server-request-manager.d.ts.map +1 -1
  609. package/dist/server/server-request-manager.js +49 -4
  610. package/dist/server/server-request-manager.js.map +1 -1
  611. package/dist/services/intelligent-router/service.d.ts +2 -0
  612. package/dist/services/intelligent-router/service.d.ts.map +1 -1
  613. package/dist/services/intelligent-router/service.js +4 -0
  614. package/dist/services/intelligent-router/service.js.map +1 -1
  615. package/dist/services/service-authority.d.ts +25 -0
  616. package/dist/services/service-authority.d.ts.map +1 -0
  617. package/dist/services/service-authority.js +143 -0
  618. package/dist/services/service-authority.js.map +1 -0
  619. package/dist/services/workspace-config/service.d.ts +2 -0
  620. package/dist/services/workspace-config/service.d.ts.map +1 -1
  621. package/dist/services/workspace-config/service.js +4 -0
  622. package/dist/services/workspace-config/service.js.map +1 -1
  623. package/dist/session/manager.d.ts +8 -2
  624. package/dist/session/manager.d.ts.map +1 -1
  625. package/dist/session/manager.js +19 -4
  626. package/dist/session/manager.js.map +1 -1
  627. package/dist/session/session-branch.d.ts.map +1 -1
  628. package/dist/session/session-branch.js +5 -1
  629. package/dist/session/session-branch.js.map +1 -1
  630. package/dist/session/session-catalog.d.ts +7 -2
  631. package/dist/session/session-catalog.d.ts.map +1 -1
  632. package/dist/session/session-catalog.js +13 -2
  633. package/dist/session/session-catalog.js.map +1 -1
  634. package/dist/session/session-context.d.ts +6 -2
  635. package/dist/session/session-context.d.ts.map +1 -1
  636. package/dist/session/session-context.js +44 -4
  637. package/dist/session/session-context.js.map +1 -1
  638. package/dist/session/session-graph-projection.d.ts +32 -0
  639. package/dist/session/session-graph-projection.d.ts.map +1 -0
  640. package/dist/session/session-graph-projection.js +133 -0
  641. package/dist/session/session-graph-projection.js.map +1 -0
  642. package/dist/session/types.d.ts +18 -0
  643. package/dist/session/types.d.ts.map +1 -1
  644. package/dist/session/types.js +8 -0
  645. package/dist/session/types.js.map +1 -1
  646. package/dist/session/wire-format.generated.d.ts +3 -0
  647. package/dist/session/wire-format.generated.d.ts.map +1 -1
  648. package/dist/session/wire-format.generated.js +20 -0
  649. package/dist/session/wire-format.generated.js.map +1 -1
  650. package/dist/skills/eval-harness.d.ts +38 -0
  651. package/dist/skills/eval-harness.d.ts.map +1 -0
  652. package/dist/skills/eval-harness.js +112 -0
  653. package/dist/skills/eval-harness.js.map +1 -0
  654. package/dist/skills/index.d.ts +5 -1
  655. package/dist/skills/index.d.ts.map +1 -1
  656. package/dist/skills/index.js +5 -1
  657. package/dist/skills/index.js.map +1 -1
  658. package/dist/skills/linter.d.ts +36 -0
  659. package/dist/skills/linter.d.ts.map +1 -0
  660. package/dist/skills/linter.js +398 -0
  661. package/dist/skills/linter.js.map +1 -0
  662. package/dist/skills/loader.d.ts +36 -6
  663. package/dist/skills/loader.d.ts.map +1 -1
  664. package/dist/skills/loader.js +169 -86
  665. package/dist/skills/loader.js.map +1 -1
  666. package/dist/skills/package-contract.d.ts +45 -0
  667. package/dist/skills/package-contract.d.ts.map +1 -0
  668. package/dist/skills/package-contract.js +153 -0
  669. package/dist/skills/package-contract.js.map +1 -0
  670. package/dist/skills/runtime-activation.d.ts +68 -0
  671. package/dist/skills/runtime-activation.d.ts.map +1 -0
  672. package/dist/skills/runtime-activation.js +228 -0
  673. package/dist/skills/runtime-activation.js.map +1 -0
  674. package/dist/skills/service-client.d.ts.map +1 -1
  675. package/dist/skills/service-client.js +3 -4
  676. package/dist/skills/service-client.js.map +1 -1
  677. package/dist/skills/tool.d.ts.map +1 -1
  678. package/dist/skills/tool.js +2 -0
  679. package/dist/skills/tool.js.map +1 -1
  680. package/dist/skills/types.d.ts +14 -0
  681. package/dist/skills/types.d.ts.map +1 -1
  682. package/dist/skills/types.js.map +1 -1
  683. package/dist/telemetry/agent-operating-plane-context.d.ts +24 -0
  684. package/dist/telemetry/agent-operating-plane-context.d.ts.map +1 -0
  685. package/dist/telemetry/agent-operating-plane-context.js +54 -0
  686. package/dist/telemetry/agent-operating-plane-context.js.map +1 -0
  687. package/dist/telemetry/beacon.d.ts +24 -0
  688. package/dist/telemetry/beacon.d.ts.map +1 -0
  689. package/dist/telemetry/beacon.js +115 -0
  690. package/dist/telemetry/beacon.js.map +1 -0
  691. package/dist/telemetry/cli-command-aggregator.d.ts +36 -0
  692. package/dist/telemetry/cli-command-aggregator.d.ts.map +1 -0
  693. package/dist/telemetry/cli-command-aggregator.js +251 -0
  694. package/dist/telemetry/cli-command-aggregator.js.map +1 -0
  695. package/dist/telemetry/cli-startup.d.ts +21 -0
  696. package/dist/telemetry/cli-startup.d.ts.map +1 -0
  697. package/dist/telemetry/cli-startup.js +83 -0
  698. package/dist/telemetry/cli-startup.js.map +1 -0
  699. package/dist/telemetry/disablement.d.ts +13 -0
  700. package/dist/telemetry/disablement.d.ts.map +1 -0
  701. package/dist/telemetry/disablement.js +19 -0
  702. package/dist/telemetry/disablement.js.map +1 -0
  703. package/dist/telemetry/index.d.ts +6 -2
  704. package/dist/telemetry/index.d.ts.map +1 -1
  705. package/dist/telemetry/index.js +6 -2
  706. package/dist/telemetry/index.js.map +1 -1
  707. package/dist/telemetry/maestro-event-bus.d.ts +52 -0
  708. package/dist/telemetry/maestro-event-bus.d.ts.map +1 -1
  709. package/dist/telemetry/maestro-event-bus.js +179 -3
  710. package/dist/telemetry/maestro-event-bus.js.map +1 -1
  711. package/dist/telemetry/maestro-event-catalog.d.ts +3 -1
  712. package/dist/telemetry/maestro-event-catalog.d.ts.map +1 -1
  713. package/dist/telemetry/maestro-event-catalog.js +2 -0
  714. package/dist/telemetry/maestro-event-catalog.js.map +1 -1
  715. package/dist/telemetry/maestro-platform-replay-fixture.d.ts.map +1 -1
  716. package/dist/telemetry/maestro-platform-replay-fixture.js +74 -9
  717. package/dist/telemetry/maestro-platform-replay-fixture.js.map +1 -1
  718. package/dist/telemetry/maestro-publisher-conformance-fixture.d.ts +1 -1
  719. package/dist/telemetry/maestro-publisher-conformance-fixture.d.ts.map +1 -1
  720. package/dist/telemetry/maestro-publisher-conformance-fixture.js +46 -11
  721. package/dist/telemetry/maestro-publisher-conformance-fixture.js.map +1 -1
  722. package/dist/telemetry/mcp-beacon.d.ts +20 -0
  723. package/dist/telemetry/mcp-beacon.d.ts.map +1 -0
  724. package/dist/telemetry/mcp-beacon.js +54 -0
  725. package/dist/telemetry/mcp-beacon.js.map +1 -0
  726. package/dist/telemetry/metadata-normalization.d.ts +7 -0
  727. package/dist/telemetry/metadata-normalization.d.ts.map +1 -0
  728. package/dist/telemetry/metadata-normalization.js +189 -0
  729. package/dist/telemetry/metadata-normalization.js.map +1 -0
  730. package/dist/telemetry/meter-service-client.d.ts.map +1 -1
  731. package/dist/telemetry/meter-service-client.js +5 -10
  732. package/dist/telemetry/meter-service-client.js.map +1 -1
  733. package/dist/telemetry/metrics.d.ts +123 -0
  734. package/dist/telemetry/metrics.d.ts.map +1 -0
  735. package/dist/telemetry/metrics.js +184 -0
  736. package/dist/telemetry/metrics.js.map +1 -0
  737. package/dist/telemetry/turn-tracker.d.ts +1 -0
  738. package/dist/telemetry/turn-tracker.d.ts.map +1 -1
  739. package/dist/telemetry/turn-tracker.js +22 -1
  740. package/dist/telemetry/turn-tracker.js.map +1 -1
  741. package/dist/telemetry/wide-events.d.ts +31 -1
  742. package/dist/telemetry/wide-events.d.ts.map +1 -1
  743. package/dist/telemetry/wide-events.js +229 -1
  744. package/dist/telemetry/wide-events.js.map +1 -1
  745. package/dist/telemetry.d.ts +39 -3
  746. package/dist/telemetry.d.ts.map +1 -1
  747. package/dist/telemetry.js +160 -3
  748. package/dist/telemetry.js.map +1 -1
  749. package/dist/testing/test-verification-hook.d.ts.map +1 -1
  750. package/dist/testing/test-verification-hook.js +34 -21
  751. package/dist/testing/test-verification-hook.js.map +1 -1
  752. package/dist/tools/apply-patch-parser.d.ts +26 -0
  753. package/dist/tools/apply-patch-parser.d.ts.map +1 -0
  754. package/dist/tools/apply-patch-parser.js +146 -0
  755. package/dist/tools/apply-patch-parser.js.map +1 -0
  756. package/dist/tools/apply-patch.d.ts +42 -0
  757. package/dist/tools/apply-patch.d.ts.map +1 -0
  758. package/dist/tools/apply-patch.js +648 -0
  759. package/dist/tools/apply-patch.js.map +1 -0
  760. package/dist/tools/ask-user.d.ts +1 -0
  761. package/dist/tools/ask-user.d.ts.map +1 -1
  762. package/dist/tools/background/tool-handler.d.ts +1 -0
  763. package/dist/tools/background/tool-handler.d.ts.map +1 -1
  764. package/dist/tools/bash.d.ts +1 -0
  765. package/dist/tools/bash.d.ts.map +1 -1
  766. package/dist/tools/codesearch.d.ts +1 -0
  767. package/dist/tools/codesearch.d.ts.map +1 -1
  768. package/dist/tools/conductor-client.d.ts +1 -0
  769. package/dist/tools/conductor-client.d.ts.map +1 -1
  770. package/dist/tools/conductor-client.js +63 -0
  771. package/dist/tools/conductor-client.js.map +1 -1
  772. package/dist/tools/diff.d.ts +1 -0
  773. package/dist/tools/diff.d.ts.map +1 -1
  774. package/dist/tools/edit.d.ts +1 -0
  775. package/dist/tools/edit.d.ts.map +1 -1
  776. package/dist/tools/extract-document.d.ts +1 -0
  777. package/dist/tools/extract-document.d.ts.map +1 -1
  778. package/dist/tools/find.d.ts +10 -0
  779. package/dist/tools/find.d.ts.map +1 -1
  780. package/dist/tools/find.js +236 -27
  781. package/dist/tools/find.js.map +1 -1
  782. package/dist/tools/gh.d.ts +3 -0
  783. package/dist/tools/gh.d.ts.map +1 -1
  784. package/dist/tools/index.d.ts +50 -0
  785. package/dist/tools/index.d.ts.map +1 -1
  786. package/dist/tools/index.js +4 -0
  787. package/dist/tools/index.js.map +1 -1
  788. package/dist/tools/list.d.ts +1 -0
  789. package/dist/tools/list.d.ts.map +1 -1
  790. package/dist/tools/notebook.d.ts +1 -0
  791. package/dist/tools/notebook.d.ts.map +1 -1
  792. package/dist/tools/oracle.d.ts +1 -0
  793. package/dist/tools/oracle.d.ts.map +1 -1
  794. package/dist/tools/oracle.js +17 -32
  795. package/dist/tools/oracle.js.map +1 -1
  796. package/dist/tools/parallel-execution.d.ts +13 -2
  797. package/dist/tools/parallel-execution.d.ts.map +1 -1
  798. package/dist/tools/parallel-execution.js +178 -7
  799. package/dist/tools/parallel-execution.js.map +1 -1
  800. package/dist/tools/parallel-ripgrep.d.ts +1 -0
  801. package/dist/tools/parallel-ripgrep.d.ts.map +1 -1
  802. package/dist/tools/pipeline.d.ts +4 -0
  803. package/dist/tools/pipeline.d.ts.map +1 -1
  804. package/dist/tools/read.d.ts +1 -0
  805. package/dist/tools/read.d.ts.map +1 -1
  806. package/dist/tools/search.d.ts +1 -0
  807. package/dist/tools/search.d.ts.map +1 -1
  808. package/dist/tools/status.d.ts +1 -0
  809. package/dist/tools/status.d.ts.map +1 -1
  810. package/dist/tools/todo.d.ts +1 -0
  811. package/dist/tools/todo.d.ts.map +1 -1
  812. package/dist/tools/tool-dsl.d.ts +5 -1
  813. package/dist/tools/tool-dsl.d.ts.map +1 -1
  814. package/dist/tools/tool-dsl.js +1 -0
  815. package/dist/tools/tool-dsl.js.map +1 -1
  816. package/dist/tools/tool-result-cache.d.ts.map +1 -1
  817. package/dist/tools/tool-result-cache.js +1 -0
  818. package/dist/tools/tool-result-cache.js.map +1 -1
  819. package/dist/tools/typebox-tool.d.ts.map +1 -1
  820. package/dist/tools/typebox-tool.js +3 -0
  821. package/dist/tools/typebox-tool.js.map +1 -1
  822. package/dist/tools/webfetch.d.ts +1 -0
  823. package/dist/tools/webfetch.d.ts.map +1 -1
  824. package/dist/tools/websearch.d.ts +1 -0
  825. package/dist/tools/websearch.d.ts.map +1 -1
  826. package/dist/tools/write.d.ts +1 -0
  827. package/dist/tools/write.d.ts.map +1 -1
  828. package/dist/utils/abort-error.d.ts +2 -0
  829. package/dist/utils/abort-error.d.ts.map +1 -0
  830. package/dist/utils/abort-error.js +7 -0
  831. package/dist/utils/abort-error.js.map +1 -0
  832. package/dist/utils/downstream.d.ts.map +1 -1
  833. package/dist/utils/downstream.js +4 -0
  834. package/dist/utils/downstream.js.map +1 -1
  835. package/dist/utils/logger.d.ts +3 -0
  836. package/dist/utils/logger.d.ts.map +1 -1
  837. package/dist/utils/logger.js +14 -3
  838. package/dist/utils/logger.js.map +1 -1
  839. package/dist/utils/path-containment.d.ts +2 -0
  840. package/dist/utils/path-containment.d.ts.map +1 -0
  841. package/dist/utils/path-containment.js +14 -0
  842. package/dist/utils/path-containment.js.map +1 -0
  843. package/dist/utils/prompt-safe-text.d.ts +7 -0
  844. package/dist/utils/prompt-safe-text.d.ts.map +1 -0
  845. package/dist/utils/prompt-safe-text.js +44 -0
  846. package/dist/utils/prompt-safe-text.js.map +1 -0
  847. package/dist/version.json +2 -2
  848. package/dist/web-server.d.ts.map +1 -1
  849. package/dist/web-server.js +32 -7
  850. package/dist/web-server.js.map +1 -1
  851. package/dist/workspace/root-resolver.d.ts +4 -1
  852. package/dist/workspace/root-resolver.d.ts.map +1 -1
  853. package/dist/workspace/root-resolver.js +16 -6
  854. package/dist/workspace/root-resolver.js.map +1 -1
  855. package/node_modules/@evalops/contracts/dist/advisor-effort.d.ts +8 -0
  856. package/node_modules/@evalops/contracts/dist/advisor-effort.d.ts.map +1 -0
  857. package/node_modules/@evalops/contracts/dist/advisor-effort.js +35 -0
  858. package/node_modules/@evalops/contracts/dist/advisor-effort.js.map +1 -0
  859. package/node_modules/@evalops/contracts/dist/delegation-prompt.d.ts +10 -0
  860. package/node_modules/@evalops/contracts/dist/delegation-prompt.d.ts.map +1 -0
  861. package/node_modules/@evalops/contracts/dist/delegation-prompt.js +48 -0
  862. package/node_modules/@evalops/contracts/dist/delegation-prompt.js.map +1 -0
  863. package/node_modules/@evalops/contracts/dist/guarded-files-settings.d.ts +20 -0
  864. package/node_modules/@evalops/contracts/dist/guarded-files-settings.d.ts.map +1 -0
  865. package/node_modules/@evalops/contracts/dist/guarded-files-settings.js +147 -0
  866. package/node_modules/@evalops/contracts/dist/guarded-files-settings.js.map +1 -0
  867. package/node_modules/@evalops/contracts/dist/headless-protocol-generated.d.ts +2 -0
  868. package/node_modules/@evalops/contracts/dist/headless-protocol-generated.d.ts.map +1 -1
  869. package/node_modules/@evalops/contracts/dist/headless-protocol-generated.js +1 -0
  870. package/node_modules/@evalops/contracts/dist/headless-protocol-generated.js.map +1 -1
  871. package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts +280 -5
  872. package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts.map +1 -1
  873. package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js +36 -1
  874. package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js.map +1 -1
  875. package/node_modules/@evalops/contracts/dist/index.d.ts +15 -1
  876. package/node_modules/@evalops/contracts/dist/index.d.ts.map +1 -1
  877. package/node_modules/@evalops/contracts/dist/index.js +6 -0
  878. package/node_modules/@evalops/contracts/dist/index.js.map +1 -1
  879. package/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts +593 -0
  880. package/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts.map +1 -0
  881. package/node_modules/@evalops/contracts/dist/maestro-app-server.js +218 -0
  882. package/node_modules/@evalops/contracts/dist/maestro-app-server.js.map +1 -0
  883. package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts +91 -0
  884. package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts.map +1 -1
  885. package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js +92 -61
  886. package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js.map +1 -1
  887. package/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts +3 -0
  888. package/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts.map +1 -1
  889. package/node_modules/@evalops/contracts/dist/runtime-constraints.d.ts +28 -0
  890. package/node_modules/@evalops/contracts/dist/runtime-constraints.d.ts.map +1 -0
  891. package/node_modules/@evalops/contracts/dist/runtime-constraints.js +71 -0
  892. package/node_modules/@evalops/contracts/dist/runtime-constraints.js.map +1 -0
  893. package/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts +7 -0
  894. package/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts.map +1 -1
  895. package/node_modules/@evalops/contracts/dist/runtime-server-request.js +2 -0
  896. package/node_modules/@evalops/contracts/dist/runtime-server-request.js.map +1 -1
  897. package/node_modules/@evalops/contracts/dist/scenario.d.ts +191 -0
  898. package/node_modules/@evalops/contracts/dist/scenario.d.ts.map +1 -0
  899. package/node_modules/@evalops/contracts/dist/scenario.js +4 -0
  900. package/node_modules/@evalops/contracts/dist/scenario.js.map +1 -0
  901. package/node_modules/@evalops/contracts/dist/schemas.d.ts +17 -3
  902. package/node_modules/@evalops/contracts/dist/schemas.d.ts.map +1 -1
  903. package/node_modules/@evalops/contracts/dist/schemas.js +16 -0
  904. package/node_modules/@evalops/contracts/dist/schemas.js.map +1 -1
  905. package/node_modules/@evalops/contracts/package.json +1 -1
  906. package/node_modules/@evalops/tui/package.json +1 -1
  907. package/package.json +41 -7
  908. package/skills/incident-triage/SKILL.md +40 -0
  909. package/skills/incident-triage/mcp.json +14 -0
  910. package/skills/incident-triage/reference/triage.md +20 -0
  911. package/skills/incident-triage/toolbox/incident-timeline +22 -0
  912. package/skills/incident-triage/toolbox/incident-timeline.cmd +16 -0
  913. package/skills/pr-review/SKILL.md +40 -0
  914. package/skills/pr-review/mcp.json +14 -0
  915. package/skills/pr-review/reference/rubric.md +20 -0
  916. package/skills/pr-review/toolbox/review-summary +20 -0
  917. package/skills/pr-review/toolbox/review-summary.cmd +14 -0
  918. package/skills/release-verification/SKILL.md +40 -0
  919. package/skills/release-verification/mcp.json +15 -0
  920. package/skills/release-verification/reference/checklist.md +21 -0
  921. package/skills/release-verification/toolbox/release-readiness +18 -0
  922. package/skills/release-verification/toolbox/release-readiness.cmd +12 -0
@@ -1 +1 @@
1
- {"version":3,"file":"headless-protocol-schemas.generated.d.ts","sourceRoot":"","sources":["../src/headless-protocol-schemas.generated.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,mBAAmB,CAAC;AAmBtD,eAAO,MAAM,wBAAwB;;;EAMpC,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;EAe5C,CAAC;AAEF,eAAO,MAAM,iCAAiC,oIAG7C,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;EAO5C,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;EAMrC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;EAOtC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;IAGrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;EAYtC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;EASrC,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;EAOvC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;EAK1C,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;EAQ7C,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;EAQjD,CAAC;AAEF,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;EAetD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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK9C,CAAC;AAEH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcrD,CAAC;AAEF,eAAO,MAAM,sCAAsC;;;;;;EASlD,CAAC"}
@@ -3,7 +3,7 @@
3
3
  * Do not edit manually; update `headless-protocol-payloads.manifest.json` instead.
4
4
  */
5
5
  import { Type } from "@sinclair/typebox";
6
- import { headlessApprovalModes, headlessConnectionRoles, headlessErrorTypes, headlessNotificationTypes, headlessServerRequestResolutions, headlessServerRequestResolvedBy, headlessServerRequestTypes, headlessThinkingLevels, headlessToolRetryDecisionActions, headlessUtilityCommandShellModes, headlessUtilityCommandStreams, headlessUtilityCommandTerminalModes, headlessUtilityFileWatchChangeTypes, headlessUtilityOperations, } from "./headless-protocol-generated.js";
6
+ import { headlessApprovalModes, headlessConnectionRoles, headlessErrorTypes, headlessExecutorTypes, headlessNotificationTypes, headlessServerRequestResolutions, headlessServerRequestResolvedBy, headlessServerRequestTypes, headlessThinkingLevels, headlessToolRetryDecisionActions, headlessUtilityCommandShellModes, headlessUtilityCommandStreams, headlessUtilityCommandTerminalModes, headlessUtilityFileWatchChangeTypes, headlessUtilityOperations, } from "./headless-protocol-generated.js";
7
7
  import { stringLiteralUnion } from "./typebox-utils.js";
8
8
  export const HeadlessClientInfoSchema = Type.Object({
9
9
  name: Type.String(),
@@ -18,6 +18,14 @@ export const HeadlessClientCapabilitiesSchema = Type.Object({
18
18
  })),
19
19
  raw_agent_events: Type.Optional(Type.Boolean()),
20
20
  }, { additionalProperties: false });
21
+ export const HeadlessServerCapabilitiesSchema = Type.Object({
22
+ server_requests: Type.Array(stringLiteralUnion(headlessServerRequestTypes), { uniqueItems: true }),
23
+ utility_operations: Type.Array(stringLiteralUnion(headlessUtilityOperations), { uniqueItems: true }),
24
+ raw_agent_events: Type.Boolean(),
25
+ connection_roles: Type.Array(stringLiteralUnion(headlessConnectionRoles), {
26
+ uniqueItems: true,
27
+ }),
28
+ }, { additionalProperties: false });
21
29
  export const HeadlessOptOutNotificationsSchema = Type.Array(stringLiteralUnion(headlessNotificationTypes), { uniqueItems: true });
22
30
  export const HeadlessToolResponseResultSchema = Type.Object({
23
31
  success: Type.Boolean(),
@@ -171,6 +179,7 @@ export const HeadlessHelloOkMessageSchema = Type.Object({
171
179
  client_protocol_version: Type.Optional(Type.String()),
172
180
  client_info: Type.Optional(HeadlessClientInfoSchema),
173
181
  capabilities: Type.Optional(HeadlessClientCapabilitiesSchema),
182
+ server_capabilities: Type.Optional(HeadlessServerCapabilitiesSchema),
174
183
  opt_out_notifications: Type.Optional(HeadlessOptOutNotificationsSchema),
175
184
  role: Type.Optional(stringLiteralUnion(headlessConnectionRoles)),
176
185
  controller_connection_id: Type.Optional(Type.Union([Type.String(), Type.Null()])),
@@ -182,6 +191,7 @@ export const HeadlessReadyMessageSchema = Type.Object({
182
191
  model: Type.String(),
183
192
  provider: Type.String(),
184
193
  session_id: Type.Union([Type.String(), Type.Null()]),
194
+ executor_type: Type.Optional(stringLiteralUnion(headlessExecutorTypes)),
185
195
  }, { additionalProperties: false });
186
196
  export const HeadlessResponseStartMessageSchema = Type.Object({
187
197
  type: Type.Literal("response_start"),
@@ -220,6 +230,7 @@ export const HeadlessResponseEndMessageSchema = Type.Object({
220
230
  export const HeadlessToolCallMessageSchema = Type.Object({
221
231
  type: Type.Literal("tool_call"),
222
232
  call_id: Type.String(),
233
+ tool_execution_id: Type.Optional(Type.String()),
223
234
  tool: Type.String(),
224
235
  args: Type.Unknown(),
225
236
  requires_approval: Type.Boolean(),
@@ -236,7 +247,10 @@ export const HeadlessToolOutputMessageSchema = Type.Object({
236
247
  export const HeadlessToolEndMessageSchema = Type.Object({
237
248
  type: Type.Literal("tool_end"),
238
249
  call_id: Type.String(),
250
+ tool_execution_id: Type.Optional(Type.String()),
239
251
  success: Type.Boolean(),
252
+ tool: Type.Optional(Type.String()),
253
+ details: Type.Optional(Type.Unknown()),
240
254
  error_code: Type.Optional(Type.String()),
241
255
  approval_request_id: Type.Optional(Type.String()),
242
256
  governed_outcome: Type.Optional(Type.String()),
@@ -244,6 +258,7 @@ export const HeadlessToolEndMessageSchema = Type.Object({
244
258
  export const HeadlessClientToolRequestMessageSchema = Type.Object({
245
259
  type: Type.Literal("client_tool_request"),
246
260
  call_id: Type.String(),
261
+ tool_execution_id: Type.Optional(Type.String()),
247
262
  tool: Type.String(),
248
263
  args: Type.Unknown(),
249
264
  }, { additionalProperties: false });
@@ -252,12 +267,14 @@ export const HeadlessServerRequestMessageSchema = Type.Object({
252
267
  request_id: Type.String(),
253
268
  request_type: stringLiteralUnion(headlessServerRequestTypes),
254
269
  call_id: Type.String(),
270
+ tool_execution_id: Type.Optional(Type.String()),
255
271
  tool: Type.String(),
256
272
  display_name: Type.Optional(Type.String()),
257
273
  summary_label: Type.Optional(Type.String()),
258
274
  action_description: Type.Optional(Type.String()),
259
275
  args: Type.Unknown(),
260
276
  reason: Type.String(),
277
+ started_at_ms: Type.Optional(Type.Number()),
261
278
  }, { additionalProperties: false });
262
279
  export const HeadlessServerRequestResolvedMessageSchema = Type.Object({
263
280
  type: Type.Literal("server_request_resolved"),
@@ -267,6 +284,8 @@ export const HeadlessServerRequestResolvedMessageSchema = Type.Object({
267
284
  resolution: stringLiteralUnion(headlessServerRequestResolutions),
268
285
  reason: Type.Optional(Type.String()),
269
286
  resolved_by: stringLiteralUnion(headlessServerRequestResolvedBy),
287
+ started_at_ms: Type.Optional(Type.Number()),
288
+ resolved_at_ms: Type.Optional(Type.Number()),
270
289
  }, { additionalProperties: false });
271
290
  export const HeadlessRawAgentEventMessageSchema = Type.Object({
272
291
  type: Type.Literal("raw_agent_event"),
@@ -482,12 +501,14 @@ export const HeadlessFromAgentMessageSchema = Type.Union([
482
501
  ]);
483
502
  export const HeadlessPendingToolStateSchema = Type.Object({
484
503
  call_id: Type.String(),
504
+ tool_execution_id: Type.Optional(Type.String()),
485
505
  request_id: Type.Optional(Type.String()),
486
506
  tool: Type.String(),
487
507
  display_name: Type.Optional(Type.String()),
488
508
  summary_label: Type.Optional(Type.String()),
489
509
  action_description: Type.Optional(Type.String()),
490
510
  args: Type.Unknown(),
511
+ started_at_ms: Type.Optional(Type.Number()),
491
512
  }, { additionalProperties: false });
492
513
  export const HeadlessPendingRequestStateSchema = Type.Object({
493
514
  id: Type.String(),
@@ -497,6 +518,7 @@ export const HeadlessPendingRequestStateSchema = Type.Object({
497
518
  session_id: Type.Optional(Type.Union([Type.String(), Type.Null()])),
498
519
  tool_call_id: Type.String(),
499
520
  call_id: Type.String(),
521
+ tool_execution_id: Type.Optional(Type.String()),
500
522
  request_id: Type.Optional(Type.String()),
501
523
  tool_name: Type.String(),
502
524
  tool: Type.String(),
@@ -504,6 +526,7 @@ export const HeadlessPendingRequestStateSchema = Type.Object({
504
526
  summary_label: Type.Optional(Type.String()),
505
527
  action_description: Type.Optional(Type.String()),
506
528
  args: Type.Unknown(),
529
+ started_at_ms: Type.Optional(Type.Number()),
507
530
  source: Type.Union([Type.Literal("local"), Type.Literal("platform")]),
508
531
  platform: Type.Optional(Type.Unknown()),
509
532
  }, { additionalProperties: false });
@@ -512,6 +535,16 @@ export const HeadlessActiveToolStateSchema = Type.Object({
512
535
  tool: Type.String(),
513
536
  output: Type.String(),
514
537
  }, { additionalProperties: false });
538
+ export const HeadlessCodexSubagentContinuityEdgeSchema = Type.Object({
539
+ spawn_tool_call_id: Type.Optional(Type.String()),
540
+ spawn_tool_execution_id: Type.Optional(Type.String()),
541
+ wait_tool_call_id: Type.Optional(Type.String()),
542
+ wait_tool_execution_id: Type.Optional(Type.String()),
543
+ child_run_id: Type.Optional(Type.String()),
544
+ thread_id: Type.Optional(Type.String()),
545
+ operation: Type.String(),
546
+ status: Type.String(),
547
+ }, { additionalProperties: false });
515
548
  export const HeadlessStreamingResponseStateSchema = Type.Object({
516
549
  response_id: Type.String(),
517
550
  text: Type.String(),
@@ -552,6 +585,7 @@ export const HeadlessRuntimeStateSchema = Type.Object({
552
585
  connections: Type.Array(HeadlessConnectionStateSchema),
553
586
  model: Type.Optional(Type.String()),
554
587
  provider: Type.Optional(Type.String()),
588
+ executor_type: Type.Optional(stringLiteralUnion(headlessExecutorTypes)),
555
589
  session_id: Type.Optional(Type.Union([Type.String(), Type.Null()])),
556
590
  cwd: Type.Optional(Type.String()),
557
591
  git_branch: Type.Optional(Type.Union([Type.String(), Type.Null()])),
@@ -566,6 +600,7 @@ export const HeadlessRuntimeStateSchema = Type.Object({
566
600
  active_utility_commands: Type.Array(HeadlessActiveUtilityCommandStateSchema),
567
601
  active_file_watches: Type.Array(HeadlessActiveFileWatchStateSchema),
568
602
  tracked_tools: Type.Array(HeadlessPendingToolStateSchema),
603
+ codex_subagent_edges: Type.Optional(Type.Array(HeadlessCodexSubagentContinuityEdgeSchema)),
569
604
  last_error: Type.Optional(Type.String()),
570
605
  last_error_type: Type.Optional(stringLiteralUnion(headlessErrorTypes)),
571
606
  last_status: Type.Optional(Type.String()),
@@ -1 +1 @@
1
- {"version":3,"file":"headless-protocol-schemas.generated.js","sourceRoot":"","sources":["../src/headless-protocol-schemas.generated.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAe,IAAI,EAAE,MAAM,mBAAmB,CAA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EAAE,oBAAoB,EAAE,KAAK,EAAE,CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,IAAI,CAAC,MAAM,CAChE;IACC,aAAa,EAAE,IAAI,CAAC,MAAM,EAAE;IAC5B,wBAAwB,EAAE,IAAI,CAAC,OAAO,EAAE;IACxC,wBAAwB,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAClE,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAC1D,qBAAqB,EAAE,IAAI,CAAC,MAAM,EAAE;CACpC,EACD,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAC/B,CAAC","sourcesContent":["/**\n * Auto-generated by `scripts/headless-protocol-codegen.mjs`.\n * Do not edit manually; update `headless-protocol-payloads.manifest.json` instead.\n */\n\nimport { type Static, Type } from \"@sinclair/typebox\";\nimport {\n\theadlessApprovalModes,\n\theadlessConnectionRoles,\n\theadlessErrorTypes,\n\theadlessNotificationTypes,\n\theadlessServerRequestResolutions,\n\theadlessServerRequestResolvedBy,\n\theadlessServerRequestTypes,\n\theadlessThinkingLevels,\n\theadlessToolRetryDecisionActions,\n\theadlessUtilityCommandShellModes,\n\theadlessUtilityCommandStreams,\n\theadlessUtilityCommandTerminalModes,\n\theadlessUtilityFileWatchChangeTypes,\n\theadlessUtilityOperations,\n} from \"./headless-protocol-generated.js\";\nimport { stringLiteralUnion } from \"./typebox-utils.js\";\n\nexport const HeadlessClientInfoSchema = Type.Object(\n\t{\n\t\tname: Type.String(),\n\t\tversion: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessClientCapabilitiesSchema = Type.Object(\n\t{\n\t\tserver_requests: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessServerRequestTypes), {\n\t\t\t\tuniqueItems: true,\n\t\t\t}),\n\t\t),\n\t\tutility_operations: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessUtilityOperations), {\n\t\t\t\tuniqueItems: true,\n\t\t\t}),\n\t\t),\n\t\traw_agent_events: Type.Optional(Type.Boolean()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessOptOutNotificationsSchema = Type.Array(\n\tstringLiteralUnion(headlessNotificationTypes),\n\t{ uniqueItems: true },\n);\n\nexport const HeadlessToolResponseResultSchema = Type.Object(\n\t{\n\t\tsuccess: Type.Boolean(),\n\t\toutput: Type.String(),\n\t\terror: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessTextContentSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"text\"),\n\t\ttext: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessImageContentSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"image\"),\n\t\tdata: Type.String(),\n\t\tmimeType: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessContentBlockSchema = Type.Union([\n\tHeadlessTextContentSchema,\n\tHeadlessImageContentSchema,\n]);\n\nexport const HeadlessHelloMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"hello\"),\n\t\tprotocol_version: Type.Optional(Type.String()),\n\t\tclient_info: Type.Optional(HeadlessClientInfoSchema),\n\t\tcapabilities: Type.Optional(HeadlessClientCapabilitiesSchema),\n\t\trole: Type.Optional(stringLiteralUnion(headlessConnectionRoles)),\n\t\topt_out_notifications: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessNotificationTypes)),\n\t\t),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessInitMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"init\"),\n\t\tsystem_prompt: Type.Optional(Type.String()),\n\t\tappend_system_prompt: Type.Optional(Type.String()),\n\t\tthinking_level: Type.Optional(stringLiteralUnion(headlessThinkingLevels)),\n\t\tapproval_mode: Type.Optional(stringLiteralUnion(headlessApprovalModes)),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessPromptMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"prompt\"),\n\t\tcontent: Type.String(),\n\t\tattachments: Type.Optional(Type.Array(Type.String())),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessInterruptMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"interrupt\"),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolResponseMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"tool_response\"),\n\t\tcall_id: Type.String(),\n\t\tapproved: Type.Boolean(),\n\t\tresult: Type.Optional(HeadlessToolResponseResultSchema),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessClientToolResultMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"client_tool_result\"),\n\t\tcall_id: Type.String(),\n\t\tcontent: Type.Array(HeadlessContentBlockSchema),\n\t\tis_error: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessServerRequestResponseMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"server_request_response\"),\n\t\trequest_id: Type.String(),\n\t\trequest_type: stringLiteralUnion(headlessServerRequestTypes),\n\t\tapproved: Type.Optional(Type.Boolean()),\n\t\tresult: Type.Optional(HeadlessToolResponseResultSchema),\n\t\tdecision_action: Type.Optional(\n\t\t\tstringLiteralUnion(headlessToolRetryDecisionActions),\n\t\t),\n\t\treason: Type.Optional(Type.String()),\n\t\tcontent: Type.Optional(Type.Array(HeadlessContentBlockSchema)),\n\t\tis_error: Type.Optional(Type.Boolean()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandStartMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_start\"),\n\t\tcommand_id: Type.String(),\n\t\tcommand: Type.String(),\n\t\tcwd: Type.Optional(Type.String()),\n\t\tenv: Type.Optional(Type.Record(Type.String(), Type.String())),\n\t\tshell_mode: Type.Optional(\n\t\t\tstringLiteralUnion(headlessUtilityCommandShellModes),\n\t\t),\n\t\tterminal_mode: Type.Optional(\n\t\t\tstringLiteralUnion(headlessUtilityCommandTerminalModes),\n\t\t),\n\t\tallow_stdin: Type.Optional(Type.Boolean()),\n\t\tcolumns: Type.Optional(Type.Number()),\n\t\trows: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandTerminateMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_terminate\"),\n\t\tcommand_id: Type.String(),\n\t\tforce: Type.Optional(Type.Boolean()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandStdinMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_stdin\"),\n\t\tcommand_id: Type.String(),\n\t\tcontent: Type.String(),\n\t\teof: Type.Optional(Type.Boolean()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandResizeMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_resize\"),\n\t\tcommand_id: Type.String(),\n\t\tcolumns: Type.Number(),\n\t\trows: Type.Number(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileSearchMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_search\"),\n\t\tsearch_id: Type.String(),\n\t\tquery: Type.String(),\n\t\tcwd: Type.Optional(Type.String()),\n\t\tlimit: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileReadMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_read\"),\n\t\tread_id: Type.String(),\n\t\tpath: Type.String(),\n\t\tcwd: Type.Optional(Type.String()),\n\t\toffset: Type.Optional(Type.Number()),\n\t\tlimit: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileWatchStartMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_watch_start\"),\n\t\twatch_id: Type.String(),\n\t\troot_dir: Type.Optional(Type.String()),\n\t\tinclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\texclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\tdebounce_ms: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileWatchStopMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_watch_stop\"),\n\t\twatch_id: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessCancelMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"cancel\"),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessShutdownMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"shutdown\"),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const headlessToAgentMessageSchemasByType = {\n\thello: HeadlessHelloMessageSchema,\n\tinit: HeadlessInitMessageSchema,\n\tprompt: HeadlessPromptMessageSchema,\n\tinterrupt: HeadlessInterruptMessageSchema,\n\ttool_response: HeadlessToolResponseMessageSchema,\n\tclient_tool_result: HeadlessClientToolResultMessageSchema,\n\tserver_request_response: HeadlessServerRequestResponseMessageSchema,\n\tutility_command_start: HeadlessUtilityCommandStartMessageSchema,\n\tutility_command_terminate: HeadlessUtilityCommandTerminateMessageSchema,\n\tutility_command_stdin: HeadlessUtilityCommandStdinMessageSchema,\n\tutility_command_resize: HeadlessUtilityCommandResizeMessageSchema,\n\tutility_file_search: HeadlessUtilityFileSearchMessageSchema,\n\tutility_file_read: HeadlessUtilityFileReadMessageSchema,\n\tutility_file_watch_start: HeadlessUtilityFileWatchStartMessageSchema,\n\tutility_file_watch_stop: HeadlessUtilityFileWatchStopMessageSchema,\n\tcancel: HeadlessCancelMessageSchema,\n\tshutdown: HeadlessShutdownMessageSchema,\n} as const;\n\nexport const HeadlessHelloOkMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"hello_ok\"),\n\t\tprotocol_version: Type.String(),\n\t\tconnection_id: Type.Optional(Type.String()),\n\t\tclient_protocol_version: Type.Optional(Type.String()),\n\t\tclient_info: Type.Optional(HeadlessClientInfoSchema),\n\t\tcapabilities: Type.Optional(HeadlessClientCapabilitiesSchema),\n\t\topt_out_notifications: Type.Optional(HeadlessOptOutNotificationsSchema),\n\t\trole: Type.Optional(stringLiteralUnion(headlessConnectionRoles)),\n\t\tcontroller_connection_id: Type.Optional(\n\t\t\tType.Union([Type.String(), Type.Null()]),\n\t\t),\n\t\tlease_expires_at: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessReadyMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"ready\"),\n\t\tprotocol_version: Type.String(),\n\t\tmodel: Type.String(),\n\t\tprovider: Type.String(),\n\t\tsession_id: Type.Union([Type.String(), Type.Null()]),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessResponseStartMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"response_start\"),\n\t\tresponse_id: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessResponseChunkMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"response_chunk\"),\n\t\tresponse_id: Type.String(),\n\t\tcontent: Type.String(),\n\t\tis_thinking: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessResponseEndUsageSchema = Type.Object(\n\t{\n\t\tinput_tokens: Type.Number(),\n\t\toutput_tokens: Type.Number(),\n\t\tcache_read_tokens: Type.Number(),\n\t\tcache_write_tokens: Type.Number(),\n\t\ttotal_tokens: Type.Number(),\n\t\ttotal_cost_usd: Type.Number(),\n\t\tmodel_id: Type.String(),\n\t\tprovider: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolsSummarySchema = Type.Object(\n\t{\n\t\ttools_used: Type.Array(Type.String()),\n\t\tcalls_succeeded: Type.Number(),\n\t\tcalls_failed: Type.Number(),\n\t\tsummary_labels: Type.Optional(Type.Array(Type.String())),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessResponseEndMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"response_end\"),\n\t\tresponse_id: Type.String(),\n\t\tusage: HeadlessResponseEndUsageSchema,\n\t\ttools_summary: HeadlessToolsSummarySchema,\n\t\tduration_ms: Type.Number(),\n\t\tttft_ms: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolCallMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"tool_call\"),\n\t\tcall_id: Type.String(),\n\t\ttool: Type.String(),\n\t\targs: Type.Unknown(),\n\t\trequires_approval: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolStartMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"tool_start\"),\n\t\tcall_id: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolOutputMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"tool_output\"),\n\t\tcall_id: Type.String(),\n\t\tcontent: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolEndMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"tool_end\"),\n\t\tcall_id: Type.String(),\n\t\tsuccess: Type.Boolean(),\n\t\terror_code: Type.Optional(Type.String()),\n\t\tapproval_request_id: Type.Optional(Type.String()),\n\t\tgoverned_outcome: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessClientToolRequestMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"client_tool_request\"),\n\t\tcall_id: Type.String(),\n\t\ttool: Type.String(),\n\t\targs: Type.Unknown(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessServerRequestMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"server_request\"),\n\t\trequest_id: Type.String(),\n\t\trequest_type: stringLiteralUnion(headlessServerRequestTypes),\n\t\tcall_id: Type.String(),\n\t\ttool: Type.String(),\n\t\tdisplay_name: Type.Optional(Type.String()),\n\t\tsummary_label: Type.Optional(Type.String()),\n\t\taction_description: Type.Optional(Type.String()),\n\t\targs: Type.Unknown(),\n\t\treason: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessServerRequestResolvedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"server_request_resolved\"),\n\t\trequest_id: Type.String(),\n\t\trequest_type: stringLiteralUnion(headlessServerRequestTypes),\n\t\tcall_id: Type.String(),\n\t\tresolution: stringLiteralUnion(headlessServerRequestResolutions),\n\t\treason: Type.Optional(Type.String()),\n\t\tresolved_by: stringLiteralUnion(headlessServerRequestResolvedBy),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRawAgentEventMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"raw_agent_event\"),\n\t\tevent_type: Type.String(),\n\t\tevent: Type.Unknown(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandStartedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_started\"),\n\t\tcommand_id: Type.String(),\n\t\tcommand: Type.String(),\n\t\tcwd: Type.Optional(Type.String()),\n\t\tshell_mode: stringLiteralUnion(headlessUtilityCommandShellModes),\n\t\tterminal_mode: stringLiteralUnion(headlessUtilityCommandTerminalModes),\n\t\tpid: Type.Optional(Type.Number()),\n\t\tcolumns: Type.Optional(Type.Number()),\n\t\trows: Type.Optional(Type.Number()),\n\t\towner_connection_id: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandResizedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_resized\"),\n\t\tcommand_id: Type.String(),\n\t\tcolumns: Type.Number(),\n\t\trows: Type.Number(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandOutputMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_output\"),\n\t\tcommand_id: Type.String(),\n\t\tstream: stringLiteralUnion(headlessUtilityCommandStreams),\n\t\tcontent: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandExitedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_exited\"),\n\t\tcommand_id: Type.String(),\n\t\tsuccess: Type.Boolean(),\n\t\texit_code: Type.Optional(Type.Union([Type.Number(), Type.Null()])),\n\t\tsignal: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t\treason: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileSearchMatchSchema = Type.Object(\n\t{\n\t\tpath: Type.String(),\n\t\tscore: Type.Number(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileSearchResultsMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_search_results\"),\n\t\tsearch_id: Type.String(),\n\t\tquery: Type.String(),\n\t\tcwd: Type.String(),\n\t\tresults: Type.Array(HeadlessUtilityFileSearchMatchSchema),\n\t\ttruncated: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileReadResultMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_read_result\"),\n\t\tread_id: Type.String(),\n\t\tpath: Type.String(),\n\t\trelative_path: Type.String(),\n\t\tcwd: Type.String(),\n\t\tcontent: Type.String(),\n\t\tstart_line: Type.Number(),\n\t\tend_line: Type.Number(),\n\t\ttotal_lines: Type.Number(),\n\t\ttruncated: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileWatchStartedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_watch_started\"),\n\t\twatch_id: Type.String(),\n\t\troot_dir: Type.String(),\n\t\tinclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\texclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\tdebounce_ms: Type.Number(),\n\t\towner_connection_id: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileWatchEventMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_watch_event\"),\n\t\twatch_id: Type.String(),\n\t\tchange_type: stringLiteralUnion(headlessUtilityFileWatchChangeTypes),\n\t\tpath: Type.String(),\n\t\trelative_path: Type.String(),\n\t\ttimestamp: Type.Number(),\n\t\tis_directory: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileWatchStoppedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_watch_stopped\"),\n\t\twatch_id: Type.String(),\n\t\treason: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessErrorMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"error\"),\n\t\trequest_id: Type.Optional(Type.String()),\n\t\tmessage: Type.String(),\n\t\tfatal: Type.Boolean(),\n\t\terror_type: stringLiteralUnion(headlessErrorTypes),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessStatusMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"status\"),\n\t\tmessage: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessCompactionMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"compaction\"),\n\t\tsummary: Type.String(),\n\t\tfirst_kept_entry_index: Type.Number(),\n\t\ttokens_before: Type.Number(),\n\t\tauto: Type.Boolean(),\n\t\tcustom_instructions: Type.Optional(Type.String()),\n\t\ttimestamp: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessSessionInfoMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"session_info\"),\n\t\tsession_id: Type.Union([Type.String(), Type.Null()]),\n\t\tcwd: Type.String(),\n\t\tgit_branch: Type.Union([Type.String(), Type.Null()]),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessConnectionStateSchema = Type.Object(\n\t{\n\t\tconnection_id: Type.String(),\n\t\trole: stringLiteralUnion(headlessConnectionRoles),\n\t\tclient_protocol_version: Type.Optional(Type.String()),\n\t\tclient_info: Type.Optional(HeadlessClientInfoSchema),\n\t\tcapabilities: Type.Optional(HeadlessClientCapabilitiesSchema),\n\t\topt_out_notifications: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessNotificationTypes)),\n\t\t),\n\t\tsubscription_count: Type.Number(),\n\t\tattached_subscription_count: Type.Number(),\n\t\tcontroller_lease_granted: Type.Boolean(),\n\t\tlease_expires_at: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessConnectionInfoMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"connection_info\"),\n\t\tconnection_id: Type.Optional(Type.String()),\n\t\tclient_protocol_version: Type.Optional(Type.String()),\n\t\tclient_info: Type.Optional(HeadlessClientInfoSchema),\n\t\tcapabilities: Type.Optional(HeadlessClientCapabilitiesSchema),\n\t\topt_out_notifications: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessNotificationTypes)),\n\t\t),\n\t\trole: Type.Optional(stringLiteralUnion(headlessConnectionRoles)),\n\t\tconnection_count: Type.Optional(Type.Number()),\n\t\tcontroller_connection_id: Type.Optional(\n\t\t\tType.Union([Type.String(), Type.Null()]),\n\t\t),\n\t\tlease_expires_at: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t\tconnections: Type.Optional(Type.Array(HeadlessConnectionStateSchema)),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const headlessFromAgentMessageSchemasByType = {\n\thello_ok: HeadlessHelloOkMessageSchema,\n\tready: HeadlessReadyMessageSchema,\n\tresponse_start: HeadlessResponseStartMessageSchema,\n\tresponse_chunk: HeadlessResponseChunkMessageSchema,\n\tresponse_end: HeadlessResponseEndMessageSchema,\n\ttool_call: HeadlessToolCallMessageSchema,\n\ttool_start: HeadlessToolStartMessageSchema,\n\ttool_output: HeadlessToolOutputMessageSchema,\n\ttool_end: HeadlessToolEndMessageSchema,\n\tclient_tool_request: HeadlessClientToolRequestMessageSchema,\n\tserver_request: HeadlessServerRequestMessageSchema,\n\tserver_request_resolved: HeadlessServerRequestResolvedMessageSchema,\n\traw_agent_event: HeadlessRawAgentEventMessageSchema,\n\tutility_command_started: HeadlessUtilityCommandStartedMessageSchema,\n\tutility_command_resized: HeadlessUtilityCommandResizedMessageSchema,\n\tutility_command_output: HeadlessUtilityCommandOutputMessageSchema,\n\tutility_command_exited: HeadlessUtilityCommandExitedMessageSchema,\n\tutility_file_search_results: HeadlessUtilityFileSearchResultsMessageSchema,\n\tutility_file_read_result: HeadlessUtilityFileReadResultMessageSchema,\n\tutility_file_watch_started: HeadlessUtilityFileWatchStartedMessageSchema,\n\tutility_file_watch_event: HeadlessUtilityFileWatchEventMessageSchema,\n\tutility_file_watch_stopped: HeadlessUtilityFileWatchStoppedMessageSchema,\n\terror: HeadlessErrorMessageSchema,\n\tstatus: HeadlessStatusMessageSchema,\n\tcompaction: HeadlessCompactionMessageSchema,\n\tsession_info: HeadlessSessionInfoMessageSchema,\n\tconnection_info: HeadlessConnectionInfoMessageSchema,\n} as const;\n\nexport const HeadlessToAgentMessageSchema = Type.Union([\n\tHeadlessHelloMessageSchema,\n\tHeadlessInitMessageSchema,\n\tHeadlessPromptMessageSchema,\n\tHeadlessInterruptMessageSchema,\n\tHeadlessToolResponseMessageSchema,\n\tHeadlessClientToolResultMessageSchema,\n\tHeadlessServerRequestResponseMessageSchema,\n\tHeadlessUtilityCommandStartMessageSchema,\n\tHeadlessUtilityCommandTerminateMessageSchema,\n\tHeadlessUtilityCommandStdinMessageSchema,\n\tHeadlessUtilityCommandResizeMessageSchema,\n\tHeadlessUtilityFileSearchMessageSchema,\n\tHeadlessUtilityFileReadMessageSchema,\n\tHeadlessUtilityFileWatchStartMessageSchema,\n\tHeadlessUtilityFileWatchStopMessageSchema,\n\tHeadlessCancelMessageSchema,\n\tHeadlessShutdownMessageSchema,\n]);\n\nexport type HeadlessToAgentMessageInput = Static<\n\ttypeof HeadlessToAgentMessageSchema\n>;\n\nexport const HeadlessFromAgentMessageSchema = Type.Union([\n\tHeadlessHelloOkMessageSchema,\n\tHeadlessReadyMessageSchema,\n\tHeadlessResponseStartMessageSchema,\n\tHeadlessResponseChunkMessageSchema,\n\tHeadlessResponseEndMessageSchema,\n\tHeadlessToolCallMessageSchema,\n\tHeadlessToolStartMessageSchema,\n\tHeadlessToolOutputMessageSchema,\n\tHeadlessToolEndMessageSchema,\n\tHeadlessClientToolRequestMessageSchema,\n\tHeadlessServerRequestMessageSchema,\n\tHeadlessServerRequestResolvedMessageSchema,\n\tHeadlessRawAgentEventMessageSchema,\n\tHeadlessUtilityCommandStartedMessageSchema,\n\tHeadlessUtilityCommandResizedMessageSchema,\n\tHeadlessUtilityCommandOutputMessageSchema,\n\tHeadlessUtilityCommandExitedMessageSchema,\n\tHeadlessUtilityFileSearchResultsMessageSchema,\n\tHeadlessUtilityFileReadResultMessageSchema,\n\tHeadlessUtilityFileWatchStartedMessageSchema,\n\tHeadlessUtilityFileWatchEventMessageSchema,\n\tHeadlessUtilityFileWatchStoppedMessageSchema,\n\tHeadlessErrorMessageSchema,\n\tHeadlessStatusMessageSchema,\n\tHeadlessCompactionMessageSchema,\n\tHeadlessSessionInfoMessageSchema,\n\tHeadlessConnectionInfoMessageSchema,\n]);\n\nexport type HeadlessFromAgentMessageInput = Static<\n\ttypeof HeadlessFromAgentMessageSchema\n>;\n\nexport const HeadlessPendingToolStateSchema = Type.Object(\n\t{\n\t\tcall_id: Type.String(),\n\t\trequest_id: Type.Optional(Type.String()),\n\t\ttool: Type.String(),\n\t\tdisplay_name: Type.Optional(Type.String()),\n\t\tsummary_label: Type.Optional(Type.String()),\n\t\taction_description: Type.Optional(Type.String()),\n\t\targs: Type.Unknown(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessPendingRequestStateSchema = Type.Object(\n\t{\n\t\tid: Type.String(),\n\t\tkind: stringLiteralUnion(headlessServerRequestTypes),\n\t\tstatus: Type.Literal(\"pending\"),\n\t\tvisibility: Type.Literal(\"user\"),\n\t\tsession_id: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t\ttool_call_id: Type.String(),\n\t\tcall_id: Type.String(),\n\t\trequest_id: Type.Optional(Type.String()),\n\t\ttool_name: Type.String(),\n\t\ttool: Type.String(),\n\t\tdisplay_name: Type.Optional(Type.String()),\n\t\tsummary_label: Type.Optional(Type.String()),\n\t\taction_description: Type.Optional(Type.String()),\n\t\targs: Type.Unknown(),\n\t\tsource: Type.Union([Type.Literal(\"local\"), Type.Literal(\"platform\")]),\n\t\tplatform: Type.Optional(Type.Unknown()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessActiveToolStateSchema = Type.Object(\n\t{\n\t\tcall_id: Type.String(),\n\t\ttool: Type.String(),\n\t\toutput: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessStreamingResponseStateSchema = Type.Object(\n\t{\n\t\tresponse_id: Type.String(),\n\t\ttext: Type.String(),\n\t\tthinking: Type.String(),\n\t\tusage: Type.Optional(HeadlessResponseEndUsageSchema),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessActiveUtilityCommandStateSchema = Type.Object(\n\t{\n\t\tcommand_id: Type.String(),\n\t\tcommand: Type.String(),\n\t\tcwd: Type.Optional(Type.String()),\n\t\tshell_mode: stringLiteralUnion(headlessUtilityCommandShellModes),\n\t\tterminal_mode: stringLiteralUnion(headlessUtilityCommandTerminalModes),\n\t\tpid: Type.Optional(Type.Number()),\n\t\tcolumns: Type.Optional(Type.Number()),\n\t\trows: Type.Optional(Type.Number()),\n\t\towner_connection_id: Type.Optional(Type.String()),\n\t\toutput: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessActiveFileWatchStateSchema = Type.Object(\n\t{\n\t\twatch_id: Type.String(),\n\t\troot_dir: Type.String(),\n\t\tinclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\texclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\tdebounce_ms: Type.Number(),\n\t\towner_connection_id: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeStateSchema = Type.Object(\n\t{\n\t\tprotocol_version: Type.Optional(Type.String()),\n\t\tclient_protocol_version: Type.Optional(Type.String()),\n\t\tclient_info: Type.Optional(HeadlessClientInfoSchema),\n\t\tcapabilities: Type.Optional(HeadlessClientCapabilitiesSchema),\n\t\topt_out_notifications: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessNotificationTypes)),\n\t\t),\n\t\tconnection_role: Type.Optional(stringLiteralUnion(headlessConnectionRoles)),\n\t\tconnection_count: Type.Number(),\n\t\tsubscriber_count: Type.Number(),\n\t\tcontroller_subscription_id: Type.Optional(\n\t\t\tType.Union([Type.String(), Type.Null()]),\n\t\t),\n\t\tcontroller_connection_id: Type.Optional(\n\t\t\tType.Union([Type.String(), Type.Null()]),\n\t\t),\n\t\tconnections: Type.Array(HeadlessConnectionStateSchema),\n\t\tmodel: Type.Optional(Type.String()),\n\t\tprovider: Type.Optional(Type.String()),\n\t\tsession_id: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t\tcwd: Type.Optional(Type.String()),\n\t\tgit_branch: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t\tcurrent_response: Type.Optional(HeadlessStreamingResponseStateSchema),\n\t\tpending_requests: Type.Optional(\n\t\t\tType.Array(HeadlessPendingRequestStateSchema),\n\t\t),\n\t\tpending_approvals: Type.Array(HeadlessPendingToolStateSchema),\n\t\tpending_client_tools: Type.Array(HeadlessPendingToolStateSchema),\n\t\tpending_mcp_elicitations: Type.Array(HeadlessPendingToolStateSchema),\n\t\tpending_user_inputs: Type.Array(HeadlessPendingToolStateSchema),\n\t\tpending_tool_retries: Type.Array(HeadlessPendingToolStateSchema),\n\t\tactive_tools: Type.Array(HeadlessActiveToolStateSchema),\n\t\tactive_utility_commands: Type.Array(\n\t\t\tHeadlessActiveUtilityCommandStateSchema,\n\t\t),\n\t\tactive_file_watches: Type.Array(HeadlessActiveFileWatchStateSchema),\n\t\ttracked_tools: Type.Array(HeadlessPendingToolStateSchema),\n\t\tlast_error: Type.Optional(Type.String()),\n\t\tlast_error_type: Type.Optional(stringLiteralUnion(headlessErrorTypes)),\n\t\tlast_status: Type.Optional(Type.String()),\n\t\tlast_response_duration_ms: Type.Optional(Type.Number()),\n\t\tlast_ttft_ms: Type.Optional(Type.Number()),\n\t\tis_ready: Type.Boolean(),\n\t\tis_responding: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeSnapshotSchema = Type.Object(\n\t{\n\t\tprotocolVersion: Type.String(),\n\t\tsession_id: Type.String(),\n\t\tcursor: Type.Number(),\n\t\tlast_init: Type.Union([HeadlessInitMessageSchema, Type.Null()]),\n\t\tstate: HeadlessRuntimeStateSchema,\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeSnapshotEnvelopeSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"snapshot\"),\n\t\tsnapshot: HeadlessRuntimeSnapshotSchema,\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeEventEnvelopeSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"message\"),\n\t\tcursor: Type.Number(),\n\t\tmessage: HeadlessFromAgentMessageSchema,\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeHeartbeatEnvelopeSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"heartbeat\"),\n\t\tcursor: Type.Number(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeResetEnvelopeSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"reset\"),\n\t\treason: Type.Union([\n\t\t\tType.Literal(\"lagged\"),\n\t\t\tType.Literal(\"replay_gap\"),\n\t\t\tType.Literal(\"restored_from_snapshot\"),\n\t\t]),\n\t\tsnapshot: HeadlessRuntimeSnapshotSchema,\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeStreamEnvelopeSchema = Type.Union([\n\tHeadlessRuntimeSnapshotEnvelopeSchema,\n\tHeadlessRuntimeEventEnvelopeSchema,\n\tHeadlessRuntimeHeartbeatEnvelopeSchema,\n\tHeadlessRuntimeResetEnvelopeSchema,\n]);\n\nexport const HeadlessRuntimeSubscriptionSnapshotSchema = Type.Object(\n\t{\n\t\tconnection_id: Type.String(),\n\t\tsubscription_id: Type.String(),\n\t\topt_out_notifications: Type.Optional(HeadlessOptOutNotificationsSchema),\n\t\trole: stringLiteralUnion(headlessConnectionRoles),\n\t\tcontroller_lease_granted: Type.Boolean(),\n\t\tcontroller_subscription_id: Type.Union([Type.String(), Type.Null()]),\n\t\tcontroller_connection_id: Type.Union([Type.String(), Type.Null()]),\n\t\tlease_expires_at: Type.Union([Type.String(), Type.Null()]),\n\t\theartbeat_interval_ms: Type.Number(),\n\t\tsnapshot: HeadlessRuntimeSnapshotSchema,\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeHeartbeatSnapshotSchema = Type.Object(\n\t{\n\t\tconnection_id: Type.String(),\n\t\tcontroller_lease_granted: Type.Boolean(),\n\t\tcontroller_connection_id: Type.Union([Type.String(), Type.Null()]),\n\t\tlease_expires_at: Type.Union([Type.String(), Type.Null()]),\n\t\theartbeat_interval_ms: Type.Number(),\n\t},\n\t{ additionalProperties: false },\n);\n"]}
1
+ {"version":3,"file":"headless-protocol-schemas.generated.js","sourceRoot":"","sources":["../src/headless-protocol-schemas.generated.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAe,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EACN,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACrB,yBAAyB,EACzB,gCAAgC,EAChC,+BAA+B,EAC/B,0BAA0B,EAC1B,sBAAsB,EACtB,gCAAgC,EAChC,gCAAgC,EAChC,6BAA6B,EAC7B,mCAAmC,EACnC,mCAAmC,EACnC,yBAAyB,GACzB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,wBAAwB,GAAG,IAAI,CAAC,MAAM,CAClD;IACC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;CACrC,EACD,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAG,IAAI,CAAC,MAAM,CAC1D;IACC,eAAe,EAAE,IAAI,CAAC,QAAQ,CAC7B,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,0BAA0B,CAAC,EAAE;QAC1D,WAAW,EAAE,IAAI;KACjB,CAAC,CACF;IACD,kBAAkB,EAAE,IAAI,CAAC,QAAQ,CAChC,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,yBAAyB,CAAC,EAAE;QACzD,WAAW,EAAE,IAAI;KACjB,CAAC,CACF;IACD,gBAAgB,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;CAC/C,E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,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAClE,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAC1D,qBAAqB,EAAE,IAAI,CAAC,MAAM,EAAE;IACpC,QAAQ,EAAE,6BAA6B;CACvC,EACD,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,IAAI,CAAC,MAAM,CAChE;IACC,aAAa,EAAE,IAAI,CAAC,MAAM,EAAE;IAC5B,wBAAwB,EAAE,IAAI,CAAC,OAAO,EAAE;IACxC,wBAAwB,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAClE,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAC1D,qBAAqB,EAAE,IAAI,CAAC,MAAM,EAAE;CACpC,EACD,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAC/B,CAAC","sourcesContent":["/**\n * Auto-generated by `scripts/headless-protocol-codegen.mjs`.\n * Do not edit manually; update `headless-protocol-payloads.manifest.json` instead.\n */\n\nimport { type Static, Type } from \"@sinclair/typebox\";\nimport {\n\theadlessApprovalModes,\n\theadlessConnectionRoles,\n\theadlessErrorTypes,\n\theadlessExecutorTypes,\n\theadlessNotificationTypes,\n\theadlessServerRequestResolutions,\n\theadlessServerRequestResolvedBy,\n\theadlessServerRequestTypes,\n\theadlessThinkingLevels,\n\theadlessToolRetryDecisionActions,\n\theadlessUtilityCommandShellModes,\n\theadlessUtilityCommandStreams,\n\theadlessUtilityCommandTerminalModes,\n\theadlessUtilityFileWatchChangeTypes,\n\theadlessUtilityOperations,\n} from \"./headless-protocol-generated.js\";\nimport { stringLiteralUnion } from \"./typebox-utils.js\";\n\nexport const HeadlessClientInfoSchema = Type.Object(\n\t{\n\t\tname: Type.String(),\n\t\tversion: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessClientCapabilitiesSchema = Type.Object(\n\t{\n\t\tserver_requests: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessServerRequestTypes), {\n\t\t\t\tuniqueItems: true,\n\t\t\t}),\n\t\t),\n\t\tutility_operations: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessUtilityOperations), {\n\t\t\t\tuniqueItems: true,\n\t\t\t}),\n\t\t),\n\t\traw_agent_events: Type.Optional(Type.Boolean()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessServerCapabilitiesSchema = Type.Object(\n\t{\n\t\tserver_requests: Type.Array(\n\t\t\tstringLiteralUnion(headlessServerRequestTypes),\n\t\t\t{ uniqueItems: true },\n\t\t),\n\t\tutility_operations: Type.Array(\n\t\t\tstringLiteralUnion(headlessUtilityOperations),\n\t\t\t{ uniqueItems: true },\n\t\t),\n\t\traw_agent_events: Type.Boolean(),\n\t\tconnection_roles: Type.Array(stringLiteralUnion(headlessConnectionRoles), {\n\t\t\tuniqueItems: true,\n\t\t}),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessOptOutNotificationsSchema = Type.Array(\n\tstringLiteralUnion(headlessNotificationTypes),\n\t{ uniqueItems: true },\n);\n\nexport const HeadlessToolResponseResultSchema = Type.Object(\n\t{\n\t\tsuccess: Type.Boolean(),\n\t\toutput: Type.String(),\n\t\terror: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessTextContentSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"text\"),\n\t\ttext: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessImageContentSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"image\"),\n\t\tdata: Type.String(),\n\t\tmimeType: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessContentBlockSchema = Type.Union([\n\tHeadlessTextContentSchema,\n\tHeadlessImageContentSchema,\n]);\n\nexport const HeadlessHelloMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"hello\"),\n\t\tprotocol_version: Type.Optional(Type.String()),\n\t\tclient_info: Type.Optional(HeadlessClientInfoSchema),\n\t\tcapabilities: Type.Optional(HeadlessClientCapabilitiesSchema),\n\t\trole: Type.Optional(stringLiteralUnion(headlessConnectionRoles)),\n\t\topt_out_notifications: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessNotificationTypes)),\n\t\t),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessInitMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"init\"),\n\t\tsystem_prompt: Type.Optional(Type.String()),\n\t\tappend_system_prompt: Type.Optional(Type.String()),\n\t\tthinking_level: Type.Optional(stringLiteralUnion(headlessThinkingLevels)),\n\t\tapproval_mode: Type.Optional(stringLiteralUnion(headlessApprovalModes)),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessPromptMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"prompt\"),\n\t\tcontent: Type.String(),\n\t\tattachments: Type.Optional(Type.Array(Type.String())),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessInterruptMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"interrupt\"),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolResponseMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"tool_response\"),\n\t\tcall_id: Type.String(),\n\t\tapproved: Type.Boolean(),\n\t\tresult: Type.Optional(HeadlessToolResponseResultSchema),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessClientToolResultMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"client_tool_result\"),\n\t\tcall_id: Type.String(),\n\t\tcontent: Type.Array(HeadlessContentBlockSchema),\n\t\tis_error: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessServerRequestResponseMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"server_request_response\"),\n\t\trequest_id: Type.String(),\n\t\trequest_type: stringLiteralUnion(headlessServerRequestTypes),\n\t\tapproved: Type.Optional(Type.Boolean()),\n\t\tresult: Type.Optional(HeadlessToolResponseResultSchema),\n\t\tdecision_action: Type.Optional(\n\t\t\tstringLiteralUnion(headlessToolRetryDecisionActions),\n\t\t),\n\t\treason: Type.Optional(Type.String()),\n\t\tcontent: Type.Optional(Type.Array(HeadlessContentBlockSchema)),\n\t\tis_error: Type.Optional(Type.Boolean()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandStartMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_start\"),\n\t\tcommand_id: Type.String(),\n\t\tcommand: Type.String(),\n\t\tcwd: Type.Optional(Type.String()),\n\t\tenv: Type.Optional(Type.Record(Type.String(), Type.String())),\n\t\tshell_mode: Type.Optional(\n\t\t\tstringLiteralUnion(headlessUtilityCommandShellModes),\n\t\t),\n\t\tterminal_mode: Type.Optional(\n\t\t\tstringLiteralUnion(headlessUtilityCommandTerminalModes),\n\t\t),\n\t\tallow_stdin: Type.Optional(Type.Boolean()),\n\t\tcolumns: Type.Optional(Type.Number()),\n\t\trows: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandTerminateMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_terminate\"),\n\t\tcommand_id: Type.String(),\n\t\tforce: Type.Optional(Type.Boolean()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandStdinMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_stdin\"),\n\t\tcommand_id: Type.String(),\n\t\tcontent: Type.String(),\n\t\teof: Type.Optional(Type.Boolean()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandResizeMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_resize\"),\n\t\tcommand_id: Type.String(),\n\t\tcolumns: Type.Number(),\n\t\trows: Type.Number(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileSearchMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_search\"),\n\t\tsearch_id: Type.String(),\n\t\tquery: Type.String(),\n\t\tcwd: Type.Optional(Type.String()),\n\t\tlimit: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileReadMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_read\"),\n\t\tread_id: Type.String(),\n\t\tpath: Type.String(),\n\t\tcwd: Type.Optional(Type.String()),\n\t\toffset: Type.Optional(Type.Number()),\n\t\tlimit: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileWatchStartMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_watch_start\"),\n\t\twatch_id: Type.String(),\n\t\troot_dir: Type.Optional(Type.String()),\n\t\tinclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\texclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\tdebounce_ms: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileWatchStopMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_watch_stop\"),\n\t\twatch_id: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessCancelMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"cancel\"),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessShutdownMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"shutdown\"),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const headlessToAgentMessageSchemasByType = {\n\thello: HeadlessHelloMessageSchema,\n\tinit: HeadlessInitMessageSchema,\n\tprompt: HeadlessPromptMessageSchema,\n\tinterrupt: HeadlessInterruptMessageSchema,\n\ttool_response: HeadlessToolResponseMessageSchema,\n\tclient_tool_result: HeadlessClientToolResultMessageSchema,\n\tserver_request_response: HeadlessServerRequestResponseMessageSchema,\n\tutility_command_start: HeadlessUtilityCommandStartMessageSchema,\n\tutility_command_terminate: HeadlessUtilityCommandTerminateMessageSchema,\n\tutility_command_stdin: HeadlessUtilityCommandStdinMessageSchema,\n\tutility_command_resize: HeadlessUtilityCommandResizeMessageSchema,\n\tutility_file_search: HeadlessUtilityFileSearchMessageSchema,\n\tutility_file_read: HeadlessUtilityFileReadMessageSchema,\n\tutility_file_watch_start: HeadlessUtilityFileWatchStartMessageSchema,\n\tutility_file_watch_stop: HeadlessUtilityFileWatchStopMessageSchema,\n\tcancel: HeadlessCancelMessageSchema,\n\tshutdown: HeadlessShutdownMessageSchema,\n} as const;\n\nexport const HeadlessHelloOkMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"hello_ok\"),\n\t\tprotocol_version: Type.String(),\n\t\tconnection_id: Type.Optional(Type.String()),\n\t\tclient_protocol_version: Type.Optional(Type.String()),\n\t\tclient_info: Type.Optional(HeadlessClientInfoSchema),\n\t\tcapabilities: Type.Optional(HeadlessClientCapabilitiesSchema),\n\t\tserver_capabilities: Type.Optional(HeadlessServerCapabilitiesSchema),\n\t\topt_out_notifications: Type.Optional(HeadlessOptOutNotificationsSchema),\n\t\trole: Type.Optional(stringLiteralUnion(headlessConnectionRoles)),\n\t\tcontroller_connection_id: Type.Optional(\n\t\t\tType.Union([Type.String(), Type.Null()]),\n\t\t),\n\t\tlease_expires_at: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessReadyMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"ready\"),\n\t\tprotocol_version: Type.String(),\n\t\tmodel: Type.String(),\n\t\tprovider: Type.String(),\n\t\tsession_id: Type.Union([Type.String(), Type.Null()]),\n\t\texecutor_type: Type.Optional(stringLiteralUnion(headlessExecutorTypes)),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessResponseStartMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"response_start\"),\n\t\tresponse_id: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessResponseChunkMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"response_chunk\"),\n\t\tresponse_id: Type.String(),\n\t\tcontent: Type.String(),\n\t\tis_thinking: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessResponseEndUsageSchema = Type.Object(\n\t{\n\t\tinput_tokens: Type.Number(),\n\t\toutput_tokens: Type.Number(),\n\t\tcache_read_tokens: Type.Number(),\n\t\tcache_write_tokens: Type.Number(),\n\t\ttotal_tokens: Type.Number(),\n\t\ttotal_cost_usd: Type.Number(),\n\t\tmodel_id: Type.String(),\n\t\tprovider: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolsSummarySchema = Type.Object(\n\t{\n\t\ttools_used: Type.Array(Type.String()),\n\t\tcalls_succeeded: Type.Number(),\n\t\tcalls_failed: Type.Number(),\n\t\tsummary_labels: Type.Optional(Type.Array(Type.String())),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessResponseEndMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"response_end\"),\n\t\tresponse_id: Type.String(),\n\t\tusage: HeadlessResponseEndUsageSchema,\n\t\ttools_summary: HeadlessToolsSummarySchema,\n\t\tduration_ms: Type.Number(),\n\t\tttft_ms: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolCallMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"tool_call\"),\n\t\tcall_id: Type.String(),\n\t\ttool_execution_id: Type.Optional(Type.String()),\n\t\ttool: Type.String(),\n\t\targs: Type.Unknown(),\n\t\trequires_approval: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolStartMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"tool_start\"),\n\t\tcall_id: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolOutputMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"tool_output\"),\n\t\tcall_id: Type.String(),\n\t\tcontent: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessToolEndMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"tool_end\"),\n\t\tcall_id: Type.String(),\n\t\ttool_execution_id: Type.Optional(Type.String()),\n\t\tsuccess: Type.Boolean(),\n\t\ttool: Type.Optional(Type.String()),\n\t\tdetails: Type.Optional(Type.Unknown()),\n\t\terror_code: Type.Optional(Type.String()),\n\t\tapproval_request_id: Type.Optional(Type.String()),\n\t\tgoverned_outcome: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessClientToolRequestMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"client_tool_request\"),\n\t\tcall_id: Type.String(),\n\t\ttool_execution_id: Type.Optional(Type.String()),\n\t\ttool: Type.String(),\n\t\targs: Type.Unknown(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessServerRequestMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"server_request\"),\n\t\trequest_id: Type.String(),\n\t\trequest_type: stringLiteralUnion(headlessServerRequestTypes),\n\t\tcall_id: Type.String(),\n\t\ttool_execution_id: Type.Optional(Type.String()),\n\t\ttool: Type.String(),\n\t\tdisplay_name: Type.Optional(Type.String()),\n\t\tsummary_label: Type.Optional(Type.String()),\n\t\taction_description: Type.Optional(Type.String()),\n\t\targs: Type.Unknown(),\n\t\treason: Type.String(),\n\t\tstarted_at_ms: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessServerRequestResolvedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"server_request_resolved\"),\n\t\trequest_id: Type.String(),\n\t\trequest_type: stringLiteralUnion(headlessServerRequestTypes),\n\t\tcall_id: Type.String(),\n\t\tresolution: stringLiteralUnion(headlessServerRequestResolutions),\n\t\treason: Type.Optional(Type.String()),\n\t\tresolved_by: stringLiteralUnion(headlessServerRequestResolvedBy),\n\t\tstarted_at_ms: Type.Optional(Type.Number()),\n\t\tresolved_at_ms: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRawAgentEventMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"raw_agent_event\"),\n\t\tevent_type: Type.String(),\n\t\tevent: Type.Unknown(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandStartedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_started\"),\n\t\tcommand_id: Type.String(),\n\t\tcommand: Type.String(),\n\t\tcwd: Type.Optional(Type.String()),\n\t\tshell_mode: stringLiteralUnion(headlessUtilityCommandShellModes),\n\t\tterminal_mode: stringLiteralUnion(headlessUtilityCommandTerminalModes),\n\t\tpid: Type.Optional(Type.Number()),\n\t\tcolumns: Type.Optional(Type.Number()),\n\t\trows: Type.Optional(Type.Number()),\n\t\towner_connection_id: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandResizedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_resized\"),\n\t\tcommand_id: Type.String(),\n\t\tcolumns: Type.Number(),\n\t\trows: Type.Number(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandOutputMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_output\"),\n\t\tcommand_id: Type.String(),\n\t\tstream: stringLiteralUnion(headlessUtilityCommandStreams),\n\t\tcontent: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityCommandExitedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_command_exited\"),\n\t\tcommand_id: Type.String(),\n\t\tsuccess: Type.Boolean(),\n\t\texit_code: Type.Optional(Type.Union([Type.Number(), Type.Null()])),\n\t\tsignal: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t\treason: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileSearchMatchSchema = Type.Object(\n\t{\n\t\tpath: Type.String(),\n\t\tscore: Type.Number(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileSearchResultsMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_search_results\"),\n\t\tsearch_id: Type.String(),\n\t\tquery: Type.String(),\n\t\tcwd: Type.String(),\n\t\tresults: Type.Array(HeadlessUtilityFileSearchMatchSchema),\n\t\ttruncated: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileReadResultMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_read_result\"),\n\t\tread_id: Type.String(),\n\t\tpath: Type.String(),\n\t\trelative_path: Type.String(),\n\t\tcwd: Type.String(),\n\t\tcontent: Type.String(),\n\t\tstart_line: Type.Number(),\n\t\tend_line: Type.Number(),\n\t\ttotal_lines: Type.Number(),\n\t\ttruncated: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileWatchStartedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_watch_started\"),\n\t\twatch_id: Type.String(),\n\t\troot_dir: Type.String(),\n\t\tinclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\texclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\tdebounce_ms: Type.Number(),\n\t\towner_connection_id: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileWatchEventMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_watch_event\"),\n\t\twatch_id: Type.String(),\n\t\tchange_type: stringLiteralUnion(headlessUtilityFileWatchChangeTypes),\n\t\tpath: Type.String(),\n\t\trelative_path: Type.String(),\n\t\ttimestamp: Type.Number(),\n\t\tis_directory: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessUtilityFileWatchStoppedMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"utility_file_watch_stopped\"),\n\t\twatch_id: Type.String(),\n\t\treason: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessErrorMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"error\"),\n\t\trequest_id: Type.Optional(Type.String()),\n\t\tmessage: Type.String(),\n\t\tfatal: Type.Boolean(),\n\t\terror_type: stringLiteralUnion(headlessErrorTypes),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessStatusMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"status\"),\n\t\tmessage: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessCompactionMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"compaction\"),\n\t\tsummary: Type.String(),\n\t\tfirst_kept_entry_index: Type.Number(),\n\t\ttokens_before: Type.Number(),\n\t\tauto: Type.Boolean(),\n\t\tcustom_instructions: Type.Optional(Type.String()),\n\t\ttimestamp: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessSessionInfoMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"session_info\"),\n\t\tsession_id: Type.Union([Type.String(), Type.Null()]),\n\t\tcwd: Type.String(),\n\t\tgit_branch: Type.Union([Type.String(), Type.Null()]),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessConnectionStateSchema = Type.Object(\n\t{\n\t\tconnection_id: Type.String(),\n\t\trole: stringLiteralUnion(headlessConnectionRoles),\n\t\tclient_protocol_version: Type.Optional(Type.String()),\n\t\tclient_info: Type.Optional(HeadlessClientInfoSchema),\n\t\tcapabilities: Type.Optional(HeadlessClientCapabilitiesSchema),\n\t\topt_out_notifications: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessNotificationTypes)),\n\t\t),\n\t\tsubscription_count: Type.Number(),\n\t\tattached_subscription_count: Type.Number(),\n\t\tcontroller_lease_granted: Type.Boolean(),\n\t\tlease_expires_at: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessConnectionInfoMessageSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"connection_info\"),\n\t\tconnection_id: Type.Optional(Type.String()),\n\t\tclient_protocol_version: Type.Optional(Type.String()),\n\t\tclient_info: Type.Optional(HeadlessClientInfoSchema),\n\t\tcapabilities: Type.Optional(HeadlessClientCapabilitiesSchema),\n\t\topt_out_notifications: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessNotificationTypes)),\n\t\t),\n\t\trole: Type.Optional(stringLiteralUnion(headlessConnectionRoles)),\n\t\tconnection_count: Type.Optional(Type.Number()),\n\t\tcontroller_connection_id: Type.Optional(\n\t\t\tType.Union([Type.String(), Type.Null()]),\n\t\t),\n\t\tlease_expires_at: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t\tconnections: Type.Optional(Type.Array(HeadlessConnectionStateSchema)),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const headlessFromAgentMessageSchemasByType = {\n\thello_ok: HeadlessHelloOkMessageSchema,\n\tready: HeadlessReadyMessageSchema,\n\tresponse_start: HeadlessResponseStartMessageSchema,\n\tresponse_chunk: HeadlessResponseChunkMessageSchema,\n\tresponse_end: HeadlessResponseEndMessageSchema,\n\ttool_call: HeadlessToolCallMessageSchema,\n\ttool_start: HeadlessToolStartMessageSchema,\n\ttool_output: HeadlessToolOutputMessageSchema,\n\ttool_end: HeadlessToolEndMessageSchema,\n\tclient_tool_request: HeadlessClientToolRequestMessageSchema,\n\tserver_request: HeadlessServerRequestMessageSchema,\n\tserver_request_resolved: HeadlessServerRequestResolvedMessageSchema,\n\traw_agent_event: HeadlessRawAgentEventMessageSchema,\n\tutility_command_started: HeadlessUtilityCommandStartedMessageSchema,\n\tutility_command_resized: HeadlessUtilityCommandResizedMessageSchema,\n\tutility_command_output: HeadlessUtilityCommandOutputMessageSchema,\n\tutility_command_exited: HeadlessUtilityCommandExitedMessageSchema,\n\tutility_file_search_results: HeadlessUtilityFileSearchResultsMessageSchema,\n\tutility_file_read_result: HeadlessUtilityFileReadResultMessageSchema,\n\tutility_file_watch_started: HeadlessUtilityFileWatchStartedMessageSchema,\n\tutility_file_watch_event: HeadlessUtilityFileWatchEventMessageSchema,\n\tutility_file_watch_stopped: HeadlessUtilityFileWatchStoppedMessageSchema,\n\terror: HeadlessErrorMessageSchema,\n\tstatus: HeadlessStatusMessageSchema,\n\tcompaction: HeadlessCompactionMessageSchema,\n\tsession_info: HeadlessSessionInfoMessageSchema,\n\tconnection_info: HeadlessConnectionInfoMessageSchema,\n} as const;\n\nexport const HeadlessToAgentMessageSchema = Type.Union([\n\tHeadlessHelloMessageSchema,\n\tHeadlessInitMessageSchema,\n\tHeadlessPromptMessageSchema,\n\tHeadlessInterruptMessageSchema,\n\tHeadlessToolResponseMessageSchema,\n\tHeadlessClientToolResultMessageSchema,\n\tHeadlessServerRequestResponseMessageSchema,\n\tHeadlessUtilityCommandStartMessageSchema,\n\tHeadlessUtilityCommandTerminateMessageSchema,\n\tHeadlessUtilityCommandStdinMessageSchema,\n\tHeadlessUtilityCommandResizeMessageSchema,\n\tHeadlessUtilityFileSearchMessageSchema,\n\tHeadlessUtilityFileReadMessageSchema,\n\tHeadlessUtilityFileWatchStartMessageSchema,\n\tHeadlessUtilityFileWatchStopMessageSchema,\n\tHeadlessCancelMessageSchema,\n\tHeadlessShutdownMessageSchema,\n]);\n\nexport type HeadlessToAgentMessageInput = Static<\n\ttypeof HeadlessToAgentMessageSchema\n>;\n\nexport const HeadlessFromAgentMessageSchema = Type.Union([\n\tHeadlessHelloOkMessageSchema,\n\tHeadlessReadyMessageSchema,\n\tHeadlessResponseStartMessageSchema,\n\tHeadlessResponseChunkMessageSchema,\n\tHeadlessResponseEndMessageSchema,\n\tHeadlessToolCallMessageSchema,\n\tHeadlessToolStartMessageSchema,\n\tHeadlessToolOutputMessageSchema,\n\tHeadlessToolEndMessageSchema,\n\tHeadlessClientToolRequestMessageSchema,\n\tHeadlessServerRequestMessageSchema,\n\tHeadlessServerRequestResolvedMessageSchema,\n\tHeadlessRawAgentEventMessageSchema,\n\tHeadlessUtilityCommandStartedMessageSchema,\n\tHeadlessUtilityCommandResizedMessageSchema,\n\tHeadlessUtilityCommandOutputMessageSchema,\n\tHeadlessUtilityCommandExitedMessageSchema,\n\tHeadlessUtilityFileSearchResultsMessageSchema,\n\tHeadlessUtilityFileReadResultMessageSchema,\n\tHeadlessUtilityFileWatchStartedMessageSchema,\n\tHeadlessUtilityFileWatchEventMessageSchema,\n\tHeadlessUtilityFileWatchStoppedMessageSchema,\n\tHeadlessErrorMessageSchema,\n\tHeadlessStatusMessageSchema,\n\tHeadlessCompactionMessageSchema,\n\tHeadlessSessionInfoMessageSchema,\n\tHeadlessConnectionInfoMessageSchema,\n]);\n\nexport type HeadlessFromAgentMessageInput = Static<\n\ttypeof HeadlessFromAgentMessageSchema\n>;\n\nexport const HeadlessPendingToolStateSchema = Type.Object(\n\t{\n\t\tcall_id: Type.String(),\n\t\ttool_execution_id: Type.Optional(Type.String()),\n\t\trequest_id: Type.Optional(Type.String()),\n\t\ttool: Type.String(),\n\t\tdisplay_name: Type.Optional(Type.String()),\n\t\tsummary_label: Type.Optional(Type.String()),\n\t\taction_description: Type.Optional(Type.String()),\n\t\targs: Type.Unknown(),\n\t\tstarted_at_ms: Type.Optional(Type.Number()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessPendingRequestStateSchema = Type.Object(\n\t{\n\t\tid: Type.String(),\n\t\tkind: stringLiteralUnion(headlessServerRequestTypes),\n\t\tstatus: Type.Literal(\"pending\"),\n\t\tvisibility: Type.Literal(\"user\"),\n\t\tsession_id: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t\ttool_call_id: Type.String(),\n\t\tcall_id: Type.String(),\n\t\ttool_execution_id: Type.Optional(Type.String()),\n\t\trequest_id: Type.Optional(Type.String()),\n\t\ttool_name: Type.String(),\n\t\ttool: Type.String(),\n\t\tdisplay_name: Type.Optional(Type.String()),\n\t\tsummary_label: Type.Optional(Type.String()),\n\t\taction_description: Type.Optional(Type.String()),\n\t\targs: Type.Unknown(),\n\t\tstarted_at_ms: Type.Optional(Type.Number()),\n\t\tsource: Type.Union([Type.Literal(\"local\"), Type.Literal(\"platform\")]),\n\t\tplatform: Type.Optional(Type.Unknown()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessActiveToolStateSchema = Type.Object(\n\t{\n\t\tcall_id: Type.String(),\n\t\ttool: Type.String(),\n\t\toutput: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessCodexSubagentContinuityEdgeSchema = Type.Object(\n\t{\n\t\tspawn_tool_call_id: Type.Optional(Type.String()),\n\t\tspawn_tool_execution_id: Type.Optional(Type.String()),\n\t\twait_tool_call_id: Type.Optional(Type.String()),\n\t\twait_tool_execution_id: Type.Optional(Type.String()),\n\t\tchild_run_id: Type.Optional(Type.String()),\n\t\tthread_id: Type.Optional(Type.String()),\n\t\toperation: Type.String(),\n\t\tstatus: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessStreamingResponseStateSchema = Type.Object(\n\t{\n\t\tresponse_id: Type.String(),\n\t\ttext: Type.String(),\n\t\tthinking: Type.String(),\n\t\tusage: Type.Optional(HeadlessResponseEndUsageSchema),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessActiveUtilityCommandStateSchema = Type.Object(\n\t{\n\t\tcommand_id: Type.String(),\n\t\tcommand: Type.String(),\n\t\tcwd: Type.Optional(Type.String()),\n\t\tshell_mode: stringLiteralUnion(headlessUtilityCommandShellModes),\n\t\tterminal_mode: stringLiteralUnion(headlessUtilityCommandTerminalModes),\n\t\tpid: Type.Optional(Type.Number()),\n\t\tcolumns: Type.Optional(Type.Number()),\n\t\trows: Type.Optional(Type.Number()),\n\t\towner_connection_id: Type.Optional(Type.String()),\n\t\toutput: Type.String(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessActiveFileWatchStateSchema = Type.Object(\n\t{\n\t\twatch_id: Type.String(),\n\t\troot_dir: Type.String(),\n\t\tinclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\texclude_patterns: Type.Optional(Type.Array(Type.String())),\n\t\tdebounce_ms: Type.Number(),\n\t\towner_connection_id: Type.Optional(Type.String()),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeStateSchema = Type.Object(\n\t{\n\t\tprotocol_version: Type.Optional(Type.String()),\n\t\tclient_protocol_version: Type.Optional(Type.String()),\n\t\tclient_info: Type.Optional(HeadlessClientInfoSchema),\n\t\tcapabilities: Type.Optional(HeadlessClientCapabilitiesSchema),\n\t\topt_out_notifications: Type.Optional(\n\t\t\tType.Array(stringLiteralUnion(headlessNotificationTypes)),\n\t\t),\n\t\tconnection_role: Type.Optional(stringLiteralUnion(headlessConnectionRoles)),\n\t\tconnection_count: Type.Number(),\n\t\tsubscriber_count: Type.Number(),\n\t\tcontroller_subscription_id: Type.Optional(\n\t\t\tType.Union([Type.String(), Type.Null()]),\n\t\t),\n\t\tcontroller_connection_id: Type.Optional(\n\t\t\tType.Union([Type.String(), Type.Null()]),\n\t\t),\n\t\tconnections: Type.Array(HeadlessConnectionStateSchema),\n\t\tmodel: Type.Optional(Type.String()),\n\t\tprovider: Type.Optional(Type.String()),\n\t\texecutor_type: Type.Optional(stringLiteralUnion(headlessExecutorTypes)),\n\t\tsession_id: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t\tcwd: Type.Optional(Type.String()),\n\t\tgit_branch: Type.Optional(Type.Union([Type.String(), Type.Null()])),\n\t\tcurrent_response: Type.Optional(HeadlessStreamingResponseStateSchema),\n\t\tpending_requests: Type.Optional(\n\t\t\tType.Array(HeadlessPendingRequestStateSchema),\n\t\t),\n\t\tpending_approvals: Type.Array(HeadlessPendingToolStateSchema),\n\t\tpending_client_tools: Type.Array(HeadlessPendingToolStateSchema),\n\t\tpending_mcp_elicitations: Type.Array(HeadlessPendingToolStateSchema),\n\t\tpending_user_inputs: Type.Array(HeadlessPendingToolStateSchema),\n\t\tpending_tool_retries: Type.Array(HeadlessPendingToolStateSchema),\n\t\tactive_tools: Type.Array(HeadlessActiveToolStateSchema),\n\t\tactive_utility_commands: Type.Array(\n\t\t\tHeadlessActiveUtilityCommandStateSchema,\n\t\t),\n\t\tactive_file_watches: Type.Array(HeadlessActiveFileWatchStateSchema),\n\t\ttracked_tools: Type.Array(HeadlessPendingToolStateSchema),\n\t\tcodex_subagent_edges: Type.Optional(\n\t\t\tType.Array(HeadlessCodexSubagentContinuityEdgeSchema),\n\t\t),\n\t\tlast_error: Type.Optional(Type.String()),\n\t\tlast_error_type: Type.Optional(stringLiteralUnion(headlessErrorTypes)),\n\t\tlast_status: Type.Optional(Type.String()),\n\t\tlast_response_duration_ms: Type.Optional(Type.Number()),\n\t\tlast_ttft_ms: Type.Optional(Type.Number()),\n\t\tis_ready: Type.Boolean(),\n\t\tis_responding: Type.Boolean(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeSnapshotSchema = Type.Object(\n\t{\n\t\tprotocolVersion: Type.String(),\n\t\tsession_id: Type.String(),\n\t\tcursor: Type.Number(),\n\t\tlast_init: Type.Union([HeadlessInitMessageSchema, Type.Null()]),\n\t\tstate: HeadlessRuntimeStateSchema,\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeSnapshotEnvelopeSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"snapshot\"),\n\t\tsnapshot: HeadlessRuntimeSnapshotSchema,\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeEventEnvelopeSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"message\"),\n\t\tcursor: Type.Number(),\n\t\tmessage: HeadlessFromAgentMessageSchema,\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeHeartbeatEnvelopeSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"heartbeat\"),\n\t\tcursor: Type.Number(),\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeResetEnvelopeSchema = Type.Object(\n\t{\n\t\ttype: Type.Literal(\"reset\"),\n\t\treason: Type.Union([\n\t\t\tType.Literal(\"lagged\"),\n\t\t\tType.Literal(\"replay_gap\"),\n\t\t\tType.Literal(\"restored_from_snapshot\"),\n\t\t]),\n\t\tsnapshot: HeadlessRuntimeSnapshotSchema,\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeStreamEnvelopeSchema = Type.Union([\n\tHeadlessRuntimeSnapshotEnvelopeSchema,\n\tHeadlessRuntimeEventEnvelopeSchema,\n\tHeadlessRuntimeHeartbeatEnvelopeSchema,\n\tHeadlessRuntimeResetEnvelopeSchema,\n]);\n\nexport const HeadlessRuntimeSubscriptionSnapshotSchema = Type.Object(\n\t{\n\t\tconnection_id: Type.String(),\n\t\tsubscription_id: Type.String(),\n\t\topt_out_notifications: Type.Optional(HeadlessOptOutNotificationsSchema),\n\t\trole: stringLiteralUnion(headlessConnectionRoles),\n\t\tcontroller_lease_granted: Type.Boolean(),\n\t\tcontroller_subscription_id: Type.Union([Type.String(), Type.Null()]),\n\t\tcontroller_connection_id: Type.Union([Type.String(), Type.Null()]),\n\t\tlease_expires_at: Type.Union([Type.String(), Type.Null()]),\n\t\theartbeat_interval_ms: Type.Number(),\n\t\tsnapshot: HeadlessRuntimeSnapshotSchema,\n\t},\n\t{ additionalProperties: false },\n);\n\nexport const HeadlessRuntimeHeartbeatSnapshotSchema = Type.Object(\n\t{\n\t\tconnection_id: Type.String(),\n\t\tcontroller_lease_granted: Type.Boolean(),\n\t\tcontroller_connection_id: Type.Union([Type.String(), Type.Null()]),\n\t\tlease_expires_at: Type.Union([Type.String(), Type.Null()]),\n\t\theartbeat_interval_ms: Type.Number(),\n\t},\n\t{ additionalProperties: false },\n);\n"]}
@@ -45,14 +45,20 @@
45
45
  export * from "./headless-protocol-generated.js";
46
46
  export * from "./headless-protocol-schemas.generated.js";
47
47
  export * as headlessProto from "./proto/maestro/v1/headless_pb.js";
48
+ export * from "./advisor-effort.js";
49
+ export * from "./delegation-prompt.js";
50
+ export * from "./guarded-files-settings.js";
48
51
  export * from "./key-value-tokens.js";
49
52
  export * from "./mcp-settings.js";
50
53
  export * from "./memory.js";
51
54
  export * from "./memory-utils.js";
55
+ export * from "./maestro-app-server.js";
52
56
  export * from "./onboarding-utils.js";
53
57
  export * from "./proto/maestro/v1/headless_pb.js";
58
+ export * from "./runtime-constraints.js";
54
59
  export * from "./runtime-app-server.js";
55
60
  export * from "./runtime-server-request.js";
61
+ export * from "./scenario.js";
56
62
  /**
57
63
  * Role of a message in the conversation.
58
64
  *
@@ -375,6 +381,7 @@ export interface ComposerSessionSummary {
375
381
  /** User-assigned tags for organization */
376
382
  tags?: string[];
377
383
  }
384
+ export type ComposerSessionMessagesView = "full" | "summary" | "notLoaded";
378
385
  export interface ComposerPendingClientToolRequest {
379
386
  toolCallId: string;
380
387
  toolName: string;
@@ -432,7 +439,7 @@ export interface ComposerPendingRequestResumeResponse {
432
439
  }
433
440
  export type ComposerRunTimelineVisibility = "user" | "admin" | "audit";
434
441
  export type ComposerRunTimelineSource = "local" | "platform";
435
- export type ComposerRunTimelineEventType = "session.started" | "session.updated" | "message.user" | "message.assistant" | "tool.requested" | "tool.completed" | "tool.failed" | "file.changed" | "diagnostic.delta" | "artifact.linked" | "policy.decision" | "wait.pending" | "compaction.created" | "branch.created" | "model.changed" | "thinking.changed" | "custom.event";
442
+ export type ComposerRunTimelineEventType = "session.started" | "session.updated" | "message.user" | "message.assistant" | "tool.requested" | "tool.completed" | "tool.failed" | "file.changed" | "diagnostic.delta" | "artifact.linked" | "policy.decision" | "wait.pending" | "agent.run.started" | "agent.run.completed" | "agent.run.failed" | "compaction.created" | "branch.created" | "model.changed" | "thinking.changed" | "runtime.recovery" | "runtime.finished" | "custom.event";
436
443
  export type ComposerRunTimelineStatus = "pending" | "running" | "completed" | "failed" | "approved" | "denied" | "info";
437
444
  export interface ComposerRunTimelineItem {
438
445
  id: string;
@@ -452,6 +459,9 @@ export interface ComposerRunTimelineItem {
452
459
  approvalRequestId?: string;
453
460
  toolExecutionId?: string;
454
461
  artifactId?: string;
462
+ agentRunId?: string;
463
+ parentAgentRunId?: string;
464
+ childAgentRunId?: string;
455
465
  remoteRunnerSessionId?: string;
456
466
  platform?: ComposerPendingRequestPlatformRef;
457
467
  platformOperation?: ComposerPendingRequestPlatformOperation;
@@ -471,6 +481,8 @@ export interface ComposerRunTimelineResponse {
471
481
  * Returned when loading a specific session.
472
482
  */
473
483
  export interface ComposerSession extends ComposerSessionSummary {
484
+ /** Hydration level used for the messages array. Defaults to full. */
485
+ messagesView?: ComposerSessionMessagesView;
474
486
  /** Complete conversation history */
475
487
  messages: ComposerMessage[];
476
488
  /** Pending approval requests that still require a decision */
@@ -555,12 +567,14 @@ export interface ComposerActionApprovalRequest {
555
567
  actionDescription?: string;
556
568
  args: unknown;
557
569
  reason: string;
570
+ startedAtMs?: number;
558
571
  platform?: ComposerPendingRequestPlatformRef;
559
572
  }
560
573
  export interface ComposerActionApprovalDecision {
561
574
  approved: boolean;
562
575
  reason?: string;
563
576
  resolvedBy: "policy" | "user";
577
+ resolvedAtMs?: number;
564
578
  }
565
579
  export interface ComposerToolRetryRequest {
566
580
  id: string;