@hearsay-tools/squawk 0.18.0-dev.8167 → 0.18.0-dev.8176

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 (440) hide show
  1. package/dist/boot.d.ts +11 -2
  2. package/dist/boot.js +24 -4
  3. package/dist/boot.js.map +1 -1
  4. package/dist/built-in-cli-commands.d.ts +3 -0
  5. package/dist/built-in-cli-commands.js +8 -0
  6. package/dist/built-in-cli-commands.js.map +1 -1
  7. package/dist/cli-dispatch.d.ts +6 -0
  8. package/dist/cli-dispatch.js +61 -20
  9. package/dist/cli-dispatch.js.map +1 -1
  10. package/dist/contract/health.d.ts +67 -0
  11. package/dist/contract/index.js +18 -1
  12. package/dist/core/cli-registry.d.ts +2 -0
  13. package/dist/core/cli-registry.js +4 -0
  14. package/dist/core/cli-registry.js.map +1 -1
  15. package/dist/core/json-guards.d.ts +3 -0
  16. package/dist/core/json-guards.js +8 -0
  17. package/dist/core/json-guards.js.map +1 -0
  18. package/dist/core/pi-rpc-turn.d.ts +4 -4
  19. package/dist/core/pi-rpc-turn.js +2 -2
  20. package/dist/core/pi-rpc-turn.js.map +1 -1
  21. package/dist/core/pi-rpc-wire.d.ts +3 -3
  22. package/dist/core/pi-rpc-wire.js +2 -6
  23. package/dist/core/pi-rpc-wire.js.map +1 -1
  24. package/dist/core/runner-registry.js +5 -1
  25. package/dist/core/runner-registry.js.map +1 -1
  26. package/dist/core/session-descendants.d.ts +1 -1
  27. package/dist/core/session-descendants.js +1 -1
  28. package/dist/core/session-descendants.js.map +1 -1
  29. package/dist/core/v1-text-coalescer.d.ts +1 -1
  30. package/dist/core/v1-text-coalescer.js +1 -1
  31. package/dist/core/v1-text-coalescer.js.map +1 -1
  32. package/dist/delegation/transport.d.ts +65 -65
  33. package/dist/home/home.d.ts +2 -0
  34. package/dist/home/home.js +1 -1
  35. package/dist/home/home.js.map +1 -1
  36. package/dist/index.js +1 -2
  37. package/dist/index.js.map +1 -1
  38. package/dist/plugin/api.d.ts +12 -2
  39. package/dist/plugin/api.js +14 -14
  40. package/dist/plugin/api.js.map +1 -1
  41. package/dist/plugin/cli.d.ts +5 -0
  42. package/dist/plugin/cli.js +53 -0
  43. package/dist/plugin/cli.js.map +1 -0
  44. package/dist/plugin/loader.d.ts +61 -0
  45. package/dist/plugin/loader.js +142 -0
  46. package/dist/plugin/loader.js.map +1 -0
  47. package/dist/plugin/managed-cli.d.ts +8 -0
  48. package/dist/plugin/managed-cli.js +9 -0
  49. package/dist/plugin/managed-cli.js.map +1 -0
  50. package/dist/plugin/model-settings.d.ts +8 -0
  51. package/dist/plugin/model-settings.js +8 -0
  52. package/dist/plugin/model-settings.js.map +1 -0
  53. package/dist/plugin/pi-rpc.d.ts +8 -0
  54. package/dist/plugin/pi-rpc.js +8 -0
  55. package/dist/plugin/pi-rpc.js.map +1 -0
  56. package/dist/plugin/resolve-hook.d.ts +21 -0
  57. package/dist/plugin/resolve-hook.js +52 -0
  58. package/dist/plugin/resolve-hook.js.map +1 -0
  59. package/dist/plugin/runner-kit.d.ts +11 -38
  60. package/dist/plugin/runner-kit.js +9 -41
  61. package/dist/plugin/runner-kit.js.map +1 -1
  62. package/dist/plugin/runtime.d.ts +37 -0
  63. package/dist/plugin/runtime.js +38 -0
  64. package/dist/plugin/runtime.js.map +1 -0
  65. package/dist/runners/antigravity/account-home.js +1 -1
  66. package/dist/runners/antigravity/account-home.js.map +1 -1
  67. package/dist/runners/{acp → antigravity/acp}/events.d.ts +1 -2
  68. package/dist/runners/antigravity/acp/events.js.map +1 -0
  69. package/dist/runners/{acp → antigravity/acp}/protocol.d.ts +1 -1
  70. package/dist/runners/antigravity/acp/protocol.js.map +1 -0
  71. package/dist/runners/antigravity/acp/session.js.map +1 -0
  72. package/dist/runners/{acp → antigravity/acp}/transport.js +1 -1
  73. package/dist/runners/antigravity/acp/transport.js.map +1 -0
  74. package/dist/runners/{acp → antigravity/acp}/usage.d.ts +1 -1
  75. package/dist/runners/antigravity/acp/usage.js.map +1 -0
  76. package/dist/runners/antigravity/antigravity-model-catalog.d.ts +1 -1
  77. package/dist/runners/antigravity/antigravity-model-catalog.js +3 -4
  78. package/dist/runners/antigravity/antigravity-model-catalog.js.map +1 -1
  79. package/dist/runners/antigravity/antigravity-runner.d.ts +1 -1
  80. package/dist/runners/antigravity/antigravity-runner.js +1 -1
  81. package/dist/runners/antigravity/antigravity-runner.js.map +1 -1
  82. package/dist/runners/antigravity/antigravity-session.d.ts +1 -1
  83. package/dist/runners/antigravity/antigravity-session.js +4 -10
  84. package/dist/runners/antigravity/antigravity-session.js.map +1 -1
  85. package/dist/runners/antigravity/antigravity-skill-catalog.d.ts +1 -2
  86. package/dist/runners/antigravity/antigravity-skill-catalog.js +2 -5
  87. package/dist/runners/antigravity/antigravity-skill-catalog.js.map +1 -1
  88. package/dist/runners/antigravity/antigravity-ui-mapper.d.ts +2 -2
  89. package/dist/runners/antigravity/antigravity-ui-mapper.js +2 -2
  90. package/dist/runners/antigravity/antigravity-ui-mapper.js.map +1 -1
  91. package/dist/runners/antigravity/ask-question.d.ts +1 -1
  92. package/dist/runners/antigravity/browser-sign-in.d.ts +1 -1
  93. package/dist/runners/antigravity/browser-sign-in.js +2 -4
  94. package/dist/runners/antigravity/browser-sign-in.js.map +1 -1
  95. package/dist/runners/antigravity/cli.d.ts +1 -1
  96. package/dist/runners/antigravity/cli.js.map +1 -1
  97. package/dist/runners/antigravity/client-files.d.ts +1 -1
  98. package/dist/runners/antigravity/client-files.js +1 -1
  99. package/dist/runners/antigravity/client-files.js.map +1 -1
  100. package/dist/runners/antigravity/config-files.d.ts +1 -1
  101. package/dist/runners/antigravity/definition.d.ts +1 -1
  102. package/dist/runners/antigravity/definition.js +1 -2
  103. package/dist/runners/antigravity/definition.js.map +1 -1
  104. package/dist/runners/antigravity/detection.js +1 -1
  105. package/dist/runners/antigravity/detection.js.map +1 -1
  106. package/dist/runners/antigravity/executable.js +2 -3
  107. package/dist/runners/antigravity/executable.js.map +1 -1
  108. package/dist/runners/antigravity/http-mcp.d.ts +1 -1
  109. package/dist/runners/antigravity/http-mcp.js +2 -3
  110. package/dist/runners/antigravity/http-mcp.js.map +1 -1
  111. package/dist/runners/antigravity/login-probe.d.ts +1 -1
  112. package/dist/runners/antigravity/login-probe.js +2 -2
  113. package/dist/runners/antigravity/login-probe.js.map +1 -1
  114. package/dist/runners/antigravity/mock.js +1 -1
  115. package/dist/runners/antigravity/mock.js.map +1 -1
  116. package/dist/runners/antigravity/model-settings.d.ts +1 -1
  117. package/dist/runners/antigravity/models.d.ts +1 -1
  118. package/dist/runners/antigravity/native-diagnostics.js +1 -2
  119. package/dist/runners/antigravity/native-diagnostics.js.map +1 -1
  120. package/dist/runners/antigravity/permissions.d.ts +2 -2
  121. package/dist/runners/antigravity/permissions.js +1 -1
  122. package/dist/runners/antigravity/permissions.js.map +1 -1
  123. package/dist/runners/antigravity/probe-process.d.ts +2 -2
  124. package/dist/runners/antigravity/probe-process.js +2 -3
  125. package/dist/runners/antigravity/probe-process.js.map +1 -1
  126. package/dist/runners/antigravity/runtime-env.d.ts +1 -1
  127. package/dist/runners/antigravity/runtime-env.js +2 -2
  128. package/dist/runners/antigravity/runtime-env.js.map +1 -1
  129. package/dist/runners/antigravity/spec-support.d.ts +1 -1
  130. package/dist/runners/antigravity/spec-support.js +1 -1
  131. package/dist/runners/antigravity/spec-support.js.map +1 -1
  132. package/dist/runners/antigravity/subagent-guard.js +1 -1
  133. package/dist/runners/antigravity/subagent-guard.js.map +1 -1
  134. package/dist/runners/antigravity/tool-normalization.d.ts +1 -1
  135. package/dist/runners/antigravity/tool-transcript.d.ts +1 -1
  136. package/dist/runners/antigravity/tool-transcript.js +1 -1
  137. package/dist/runners/antigravity/tool-transcript.js.map +1 -1
  138. package/dist/runners/antigravity/usage.d.ts +1 -1
  139. package/dist/runners/claude/claude-cli-runner.d.ts +2 -2
  140. package/dist/runners/claude/claude-cli-runner.js +3 -12
  141. package/dist/runners/claude/claude-cli-runner.js.map +1 -1
  142. package/dist/runners/claude/claude-executable.js +1 -1
  143. package/dist/runners/claude/claude-executable.js.map +1 -1
  144. package/dist/runners/claude/claude-forked-command.d.ts +1 -1
  145. package/dist/runners/claude/claude-model-catalog.d.ts +1 -1
  146. package/dist/runners/claude/claude-model-catalog.js +1 -3
  147. package/dist/runners/claude/claude-model-catalog.js.map +1 -1
  148. package/dist/runners/claude/claude-setting-sources.js +1 -1
  149. package/dist/runners/claude/claude-setting-sources.js.map +1 -1
  150. package/dist/runners/claude/claude-skill-catalog.d.ts +1 -2
  151. package/dist/runners/claude/claude-skill-catalog.js +1 -1
  152. package/dist/runners/claude/claude-skill-catalog.js.map +1 -1
  153. package/dist/runners/claude/claude-stream.d.ts +1 -1
  154. package/dist/runners/claude/claude-ui-mapper.d.ts +1 -1
  155. package/dist/runners/claude/claude-ui-mapper.js +2 -3
  156. package/dist/runners/claude/claude-ui-mapper.js.map +1 -1
  157. package/dist/runners/claude/config-files.d.ts +2 -2
  158. package/dist/runners/claude/config-files.js +1 -1
  159. package/dist/runners/claude/config-files.js.map +1 -1
  160. package/dist/runners/claude/definition.d.ts +1 -1
  161. package/dist/runners/claude/definition.js +2 -3
  162. package/dist/runners/claude/definition.js.map +1 -1
  163. package/dist/runners/claude/detection.js +1 -1
  164. package/dist/runners/claude/detection.js.map +1 -1
  165. package/dist/runners/claude/login-probe.d.ts +1 -1
  166. package/dist/runners/claude/mock.js +1 -1
  167. package/dist/runners/claude/mock.js.map +1 -1
  168. package/dist/runners/claude/model-settings.d.ts +2 -0
  169. package/dist/{agent-config/model-settings/claude.js → runners/claude/model-settings.js} +2 -2
  170. package/dist/runners/claude/model-settings.js.map +1 -0
  171. package/dist/runners/claude/models.d.ts +1 -1
  172. package/dist/runners/claude/spec-support.d.ts +1 -1
  173. package/dist/runners/claude/spec-support.js +1 -1
  174. package/dist/runners/claude/spec-support.js.map +1 -1
  175. package/dist/runners/codex/codex-app-server-runner.d.ts +1 -1
  176. package/dist/runners/codex/codex-app-server-runner.js +2 -11
  177. package/dist/runners/codex/codex-app-server-runner.js.map +1 -1
  178. package/dist/runners/codex/codex-app-server-transport.d.ts +1 -3
  179. package/dist/runners/codex/codex-app-server-transport.js +2 -5
  180. package/dist/runners/codex/codex-app-server-transport.js.map +1 -1
  181. package/dist/runners/codex/codex-approvals.d.ts +1 -1
  182. package/dist/runners/codex/codex-hook-mapper.d.ts +1 -1
  183. package/dist/runners/codex/codex-hook-mapper.js +1 -3
  184. package/dist/runners/codex/codex-hook-mapper.js.map +1 -1
  185. package/dist/runners/codex/codex-model-catalog.d.ts +1 -1
  186. package/dist/runners/codex/codex-model-catalog.js +1 -1
  187. package/dist/runners/codex/codex-model-catalog.js.map +1 -1
  188. package/dist/runners/codex/codex-native-frames.js +1 -1
  189. package/dist/runners/codex/codex-native-frames.js.map +1 -1
  190. package/dist/runners/codex/codex-skill-catalog.d.ts +1 -2
  191. package/dist/runners/codex/codex-skill-catalog.js +1 -1
  192. package/dist/runners/codex/codex-skill-catalog.js.map +1 -1
  193. package/dist/runners/codex/codex-thread-config.d.ts +1 -1
  194. package/dist/runners/codex/codex-thread-config.js +1 -1
  195. package/dist/runners/codex/codex-thread-config.js.map +1 -1
  196. package/dist/runners/codex/codex-turn-config.d.ts +1 -1
  197. package/dist/runners/codex/codex-turn-config.js +2 -2
  198. package/dist/runners/codex/codex-turn-config.js.map +1 -1
  199. package/dist/runners/codex/codex-turn-outcome.d.ts +1 -1
  200. package/dist/runners/codex/codex-ui-mapper-state.d.ts +1 -1
  201. package/dist/runners/codex/codex-ui-mapper.d.ts +1 -1
  202. package/dist/runners/codex/codex-ui-mapper.js +2 -2
  203. package/dist/runners/codex/codex-ui-mapper.js.map +1 -1
  204. package/dist/runners/codex/config-files.d.ts +2 -2
  205. package/dist/runners/codex/config-files.js +1 -3
  206. package/dist/runners/codex/config-files.js.map +1 -1
  207. package/dist/runners/codex/definition.d.ts +1 -1
  208. package/dist/runners/codex/definition.js +2 -3
  209. package/dist/runners/codex/definition.js.map +1 -1
  210. package/dist/runners/codex/detection.js +1 -1
  211. package/dist/runners/codex/detection.js.map +1 -1
  212. package/dist/runners/codex/login-probe.d.ts +1 -1
  213. package/dist/runners/codex/login-probe.js +1 -1
  214. package/dist/runners/codex/login-probe.js.map +1 -1
  215. package/dist/runners/codex/mock.js +1 -1
  216. package/dist/runners/codex/mock.js.map +1 -1
  217. package/dist/runners/codex/model-settings.d.ts +2 -0
  218. package/dist/{agent-config/model-settings/codex.js → runners/codex/model-settings.js} +2 -2
  219. package/dist/runners/codex/model-settings.js.map +1 -0
  220. package/dist/runners/codex/models.d.ts +1 -1
  221. package/dist/runners/codex/spec-support.d.ts +1 -1
  222. package/dist/runners/codex/spec-support.js +1 -1
  223. package/dist/runners/codex/spec-support.js.map +1 -1
  224. package/dist/runners/omp/cli.js +1 -1
  225. package/dist/runners/omp/cli.js.map +1 -1
  226. package/dist/runners/omp/config-files.d.ts +2 -2
  227. package/dist/runners/omp/config-files.js +1 -3
  228. package/dist/runners/omp/config-files.js.map +1 -1
  229. package/dist/runners/omp/definition.d.ts +1 -1
  230. package/dist/runners/omp/definition.js +1 -2
  231. package/dist/runners/omp/definition.js.map +1 -1
  232. package/dist/runners/omp/detection.js +1 -1
  233. package/dist/runners/omp/detection.js.map +1 -1
  234. package/dist/runners/omp/env.js +1 -1
  235. package/dist/runners/omp/env.js.map +1 -1
  236. package/dist/runners/omp/login-probe.d.ts +1 -1
  237. package/dist/runners/omp/mock.js +1 -1
  238. package/dist/runners/omp/mock.js.map +1 -1
  239. package/dist/runners/omp/models.d.ts +1 -1
  240. package/dist/runners/omp/omp-model-catalog.d.ts +1 -3
  241. package/dist/runners/omp/omp-model-catalog.js +3 -4
  242. package/dist/runners/omp/omp-model-catalog.js.map +1 -1
  243. package/dist/runners/omp/omp-runner.d.ts +2 -2
  244. package/dist/runners/omp/omp-runner.js +4 -14
  245. package/dist/runners/omp/omp-runner.js.map +1 -1
  246. package/dist/runners/omp/omp-skill-catalog.d.ts +1 -2
  247. package/dist/runners/omp/omp-skill-catalog.js +1 -1
  248. package/dist/runners/omp/omp-skill-catalog.js.map +1 -1
  249. package/dist/runners/omp/omp-subagent-rows.d.ts +1 -1
  250. package/dist/runners/omp/omp-subagent-rows.js +3 -3
  251. package/dist/runners/omp/omp-subagent-rows.js.map +1 -1
  252. package/dist/runners/omp/omp-ui-mapper.d.ts +1 -1
  253. package/dist/runners/omp/omp-ui-mapper.js +2 -2
  254. package/dist/runners/omp/omp-ui-mapper.js.map +1 -1
  255. package/dist/runners/omp/spec-support.d.ts +1 -1
  256. package/dist/runners/omp/spec-support.js +1 -1
  257. package/dist/runners/omp/spec-support.js.map +1 -1
  258. package/dist/runners/opencode/config-files.d.ts +2 -2
  259. package/dist/runners/opencode/config-files.js +1 -3
  260. package/dist/runners/opencode/config-files.js.map +1 -1
  261. package/dist/runners/opencode/definition.d.ts +1 -1
  262. package/dist/runners/opencode/definition.js +2 -3
  263. package/dist/runners/opencode/definition.js.map +1 -1
  264. package/dist/runners/opencode/detection.js +1 -1
  265. package/dist/runners/opencode/detection.js.map +1 -1
  266. package/dist/runners/opencode/env.js +1 -1
  267. package/dist/runners/opencode/env.js.map +1 -1
  268. package/dist/runners/opencode/login-probe.d.ts +1 -1
  269. package/dist/runners/opencode/login-probe.js +1 -1
  270. package/dist/runners/opencode/login-probe.js.map +1 -1
  271. package/dist/runners/opencode/mock.js +1 -1
  272. package/dist/runners/opencode/mock.js.map +1 -1
  273. package/dist/runners/opencode/model-settings.d.ts +2 -0
  274. package/dist/{agent-config/model-settings/opencode.js → runners/opencode/model-settings.js} +2 -2
  275. package/dist/runners/opencode/model-settings.js.map +1 -0
  276. package/dist/runners/opencode/models.d.ts +1 -1
  277. package/dist/runners/opencode/opencode-minimal.d.ts +1 -1
  278. package/dist/runners/opencode/opencode-minimal.js +1 -2
  279. package/dist/runners/opencode/opencode-minimal.js.map +1 -1
  280. package/dist/runners/opencode/opencode-model-catalog.d.ts +1 -2
  281. package/dist/runners/opencode/opencode-model-catalog.js +3 -4
  282. package/dist/runners/opencode/opencode-model-catalog.js.map +1 -1
  283. package/dist/runners/opencode/opencode-permissions.d.ts +1 -1
  284. package/dist/runners/opencode/opencode-questions.d.ts +1 -1
  285. package/dist/runners/opencode/opencode-questions.js +1 -1
  286. package/dist/runners/opencode/opencode-questions.js.map +1 -1
  287. package/dist/runners/opencode/opencode-runtime-config.d.ts +1 -1
  288. package/dist/runners/opencode/opencode-runtime-config.js +1 -1
  289. package/dist/runners/opencode/opencode-server-runner.d.ts +1 -1
  290. package/dist/runners/opencode/opencode-server-runner.js +3 -11
  291. package/dist/runners/opencode/opencode-server-runner.js.map +1 -1
  292. package/dist/runners/opencode/opencode-skill-catalog.d.ts +1 -2
  293. package/dist/runners/opencode/opencode-skill-catalog.js +1 -2
  294. package/dist/runners/opencode/opencode-skill-catalog.js.map +1 -1
  295. package/dist/runners/opencode/opencode-ui-mapper-state.d.ts +1 -1
  296. package/dist/runners/opencode/opencode-ui-mapper.d.ts +1 -37
  297. package/dist/runners/opencode/opencode-ui-mapper.js +38 -2
  298. package/dist/runners/opencode/opencode-ui-mapper.js.map +1 -1
  299. package/dist/runners/opencode/opencode-usage.d.ts +1 -1
  300. package/dist/runners/opencode/spec-support.d.ts +1 -1
  301. package/dist/runners/opencode/spec-support.js +1 -1
  302. package/dist/runners/opencode/spec-support.js.map +1 -1
  303. package/dist/runners/pi/config-files.d.ts +2 -2
  304. package/dist/runners/pi/config-files.js +1 -3
  305. package/dist/runners/pi/config-files.js.map +1 -1
  306. package/dist/runners/pi/definition.d.ts +1 -1
  307. package/dist/runners/pi/definition.js +2 -3
  308. package/dist/runners/pi/definition.js.map +1 -1
  309. package/dist/runners/pi/detection.js +1 -1
  310. package/dist/runners/pi/detection.js.map +1 -1
  311. package/dist/runners/pi/env.js +1 -1
  312. package/dist/runners/pi/env.js.map +1 -1
  313. package/dist/runners/pi/login-probe.d.ts +1 -1
  314. package/dist/runners/pi/login-probe.js +1 -1
  315. package/dist/runners/pi/login-probe.js.map +1 -1
  316. package/dist/runners/pi/mock.js +1 -1
  317. package/dist/runners/pi/mock.js.map +1 -1
  318. package/dist/runners/pi/model-settings.d.ts +2 -0
  319. package/dist/{agent-config/model-settings/pi.js → runners/pi/model-settings.js} +2 -2
  320. package/dist/runners/pi/model-settings.js.map +1 -0
  321. package/dist/runners/pi/models.d.ts +1 -1
  322. package/dist/runners/pi/pi-model-catalog.d.ts +2 -4
  323. package/dist/runners/pi/pi-model-catalog.js +3 -4
  324. package/dist/runners/pi/pi-model-catalog.js.map +1 -1
  325. package/dist/runners/pi/pi-runner.d.ts +2 -2
  326. package/dist/runners/pi/pi-runner.js +4 -12
  327. package/dist/runners/pi/pi-runner.js.map +1 -1
  328. package/dist/runners/pi/pi-skill-catalog.d.ts +1 -2
  329. package/dist/runners/pi/pi-skill-catalog.js +1 -2
  330. package/dist/runners/pi/pi-skill-catalog.js.map +1 -1
  331. package/dist/runners/pi/pi-ui-mapper.d.ts +1 -7
  332. package/dist/runners/pi/pi-ui-mapper.js +8 -2
  333. package/dist/runners/pi/pi-ui-mapper.js.map +1 -1
  334. package/dist/runners/pi/spec-support.d.ts +1 -1
  335. package/dist/runners/pi/spec-support.js +1 -1
  336. package/dist/runners/pi/spec-support.js.map +1 -1
  337. package/dist/server/accept-negotiation.d.ts +17 -0
  338. package/dist/server/accept-negotiation.js +53 -0
  339. package/dist/server/accept-negotiation.js.map +1 -0
  340. package/dist/server/activity-routes.d.ts +23 -23
  341. package/dist/server/host-authority.d.ts +20 -0
  342. package/dist/server/host-authority.js +46 -0
  343. package/dist/server/host-authority.js.map +1 -0
  344. package/dist/server/live-routes.d.ts +6 -6
  345. package/dist/server/provider-sign-in-routes.d.ts +2 -2
  346. package/dist/server/runners-routes.d.ts +10 -10
  347. package/dist/server/server.d.ts +640 -627
  348. package/dist/server/server.js +16 -99
  349. package/dist/server/server.js.map +1 -1
  350. package/dist/server/workspace-live-routes.d.ts +6 -6
  351. package/dist/subcommands.d.ts +5 -1
  352. package/dist/subcommands.js +11 -6
  353. package/dist/subcommands.js.map +1 -1
  354. package/dist/task-cli/discovery.js +5 -4
  355. package/dist/task-cli/discovery.js.map +1 -1
  356. package/package.json +8 -4
  357. package/scripts/benchmark-runtime.ts +4 -1
  358. package/scripts/benchmark-worker-lifecycle.ts +1 -1
  359. package/scripts/inline-contract.mjs +37 -2
  360. package/scripts/measure-transcript-facts-health.mjs +2 -0
  361. package/scripts/mock-wire-evidence.config.mjs +9 -0
  362. package/web/dist/assets/{accounts-section-CRiql0cT.js → accounts-section-3TFV3bKA.js} +1 -1
  363. package/web/dist/assets/{activity-motion-Dic711r4.js → activity-motion-DIEqBTn_.js} +1 -1
  364. package/web/dist/assets/{activity-route-DkqFQfEX.js → activity-route-1e-zJAwF.js} +1 -1
  365. package/web/dist/assets/{agent-config-section-pDXHYHXz.js → agent-config-section-BEhRUFXI.js} +1 -1
  366. package/web/dist/assets/{agent-defaults-section-D_d24TE0.js → agent-defaults-section-CPFpExY0.js} +1 -1
  367. package/web/dist/assets/{appearance-BcCBqgn-.js → appearance-DmZqmV_h.js} +1 -1
  368. package/web/dist/assets/{archive-on-merge-field-BJoirmK5.js → archive-on-merge-field-BMxl0_RG.js} +1 -1
  369. package/web/dist/assets/attention-BiqSbE32.js +1 -0
  370. package/web/dist/assets/{automations-route-fR3nMyuy.js → automations-route-BQTvY9OZ.js} +1 -1
  371. package/web/dist/assets/{commit-diff-panel-Ox2k_MeC.js → commit-diff-panel-CrCQrLkj.js} +1 -1
  372. package/web/dist/assets/{diff-B-6M-t3K.js → diff-CSURjwWN.js} +2 -2
  373. package/web/dist/assets/{diff-view-nrQTDxks.js → diff-view-C0EkYWIb.js} +1 -1
  374. package/web/dist/assets/{file-preview-B3KVy73J.js → file-preview-Dwpny4J1.js} +1 -1
  375. package/web/dist/assets/{folder-browser-DwKXxvit.js → folder-browser-vE5IBaDD.js} +1 -1
  376. package/web/dist/assets/{git-toolbar-TX4S_cYI.js → git-toolbar-Cxylz9oM.js} +1 -1
  377. package/web/dist/assets/{github-DMMGSGqg.js → github-QMdDPo6m.js} +1 -1
  378. package/web/dist/assets/{global-activity-route-c5c5Q00Y.js → global-activity-route-CbOpfU7Q.js} +1 -1
  379. package/web/dist/assets/{index-DfmmHZB9.js → index-Bra3Zx6_.js} +5 -5
  380. package/web/dist/assets/{label-DozlouK_.js → label-uUv3KkFX.js} +1 -1
  381. package/web/dist/assets/{markdown-CH0W4B61.js → markdown-CVLWRUFa.js} +1 -1
  382. package/web/dist/assets/{notifications-section-bytadcE1.js → notifications-section-y0N1nPKx.js} +1 -1
  383. package/web/dist/assets/{open-in-menu-9Hic-2Jh.js → open-in-menu-szYIrLlc.js} +1 -1
  384. package/web/dist/assets/{preview-pane-connected-Be0ZQ1QZ.js → preview-pane-connected-DzLCKXRK.js} +1 -1
  385. package/web/dist/assets/{project-location-YHLlezCN.js → project-location-D5yAc-_A.js} +1 -1
  386. package/web/dist/assets/{project-router-CYJwJlJL.js → project-router-BYHPCHz0.js} +1 -1
  387. package/web/dist/assets/project-scope-context-C0FJXpqD.js +4 -0
  388. package/web/dist/assets/{projects-section-D2OikZvZ.js → projects-section-DwrBHp8U.js} +1 -1
  389. package/web/dist/assets/{prompt-templates-section-BZQcqxyC.js → prompt-templates-section-B63ytixw.js} +1 -1
  390. package/web/dist/assets/{queries-DeeY9cGJ.js → queries-CK9ZDDfL.js} +1 -1
  391. package/web/dist/assets/{reference-chip-BSXiknFh.js → reference-chip-jyOBNGWj.js} +1 -1
  392. package/web/dist/assets/{remote-settings-notice-B7vBsgJe.js → remote-settings-notice-BaEqkFLb.js} +1 -1
  393. package/web/dist/assets/{repo-git-4HLZT14I.js → repo-git-CY6YcBMo.js} +1 -1
  394. package/web/dist/assets/{report-reader-CmGgO12j.js → report-reader-4K1U0nwt.js} +1 -1
  395. package/web/dist/assets/{reports-B-AxM1y5.js → reports-DzfdonA_.js} +1 -1
  396. package/web/dist/assets/{resources-section-21R3ObSS.js → resources-section-Dzqw_Eh_.js} +1 -1
  397. package/web/dist/assets/{run-header-KmcjpBMq.js → run-header-BwxE9ges.js} +1 -1
  398. package/web/dist/assets/{settings-agent-picker-X-g0UKgD.js → settings-agent-picker-BsfSkgY9.js} +1 -1
  399. package/web/dist/assets/{settings-shell-DEbkOTuH.js → settings-shell-DDTVjo7C.js} +1 -1
  400. package/web/dist/assets/{sidebar-section-D7e8bdCc.js → sidebar-section-BFcDThEN.js} +1 -1
  401. package/web/dist/assets/{skills-DkL4o5z5.js → skills-Cw_PL5-A.js} +1 -1
  402. package/web/dist/assets/{tab-link-Bc33InzJ.js → tab-link-Crlr5m1D.js} +1 -1
  403. package/web/dist/assets/{task-changes-DggkNS5B.js → task-changes-DLzIXSTR.js} +1 -1
  404. package/web/dist/assets/{task-commits-xhACNoGj.js → task-commits-amn0LePZ.js} +1 -1
  405. package/web/dist/assets/{task-files-CL76uaPp.js → task-files-9b6zqJWa.js} +1 -1
  406. package/web/dist/assets/{task-github-item-CqID35v9.js → task-github-item-DJvWvk2q.js} +1 -1
  407. package/web/dist/assets/{task-groups-CC8zwSMv.js → task-groups-CZPi6W0m.js} +1 -1
  408. package/web/dist/assets/{task-thread-BuX8KtlY.js → task-thread-DA-IdbEA.js} +1 -1
  409. package/web/dist/assets/{tasks-table-_5cXATkO.js → tasks-table-Cim2-KSS.js} +1 -1
  410. package/web/dist/assets/{thread-state-dtADhBQ_.js → thread-state-PGrlMiQA.js} +1 -1
  411. package/web/dist/assets/{use-hand-to-agent-state-BD10hMfn.js → use-hand-to-agent-state-CMiYRssU.js} +1 -1
  412. package/web/dist/assets/{useInfiniteQuery-BswGDVd8.js → useInfiniteQuery-waSOS4EO.js} +1 -1
  413. package/web/dist/assets/useQuery-9BEU-yko.js +1 -0
  414. package/web/dist/assets/{workflows-C2H-HfDa.js → workflows-DowJdAnR.js} +1 -1
  415. package/web/dist/assets/{workspace-tools-Cyfz8V_L.js → workspace-tools-BPmJcyzi.js} +1 -1
  416. package/web/dist/assets/{worktrees-section-Doo2MjMH.js → worktrees-section-Bn-NIqrK.js} +1 -1
  417. package/web/dist/assets/{ws-CKLbENkm.js → ws-DQjRhoew.js} +1 -1
  418. package/web/dist/index.html +14 -14
  419. package/dist/agent-config/model-settings/claude.d.ts +0 -2
  420. package/dist/agent-config/model-settings/claude.js.map +0 -1
  421. package/dist/agent-config/model-settings/codex.d.ts +0 -2
  422. package/dist/agent-config/model-settings/codex.js.map +0 -1
  423. package/dist/agent-config/model-settings/opencode.d.ts +0 -2
  424. package/dist/agent-config/model-settings/opencode.js.map +0 -1
  425. package/dist/agent-config/model-settings/pi.d.ts +0 -2
  426. package/dist/agent-config/model-settings/pi.js.map +0 -1
  427. package/dist/runners/acp/events.js.map +0 -1
  428. package/dist/runners/acp/protocol.js.map +0 -1
  429. package/dist/runners/acp/session.js.map +0 -1
  430. package/dist/runners/acp/transport.js.map +0 -1
  431. package/dist/runners/acp/usage.js.map +0 -1
  432. package/web/dist/assets/attention-D8ku2yDQ.js +0 -1
  433. package/web/dist/assets/project-scope-context-DqBHMdSb.js +0 -4
  434. package/web/dist/assets/useQuery-IS5tPlew.js +0 -1
  435. /package/dist/runners/{acp → antigravity/acp}/events.js +0 -0
  436. /package/dist/runners/{acp → antigravity/acp}/protocol.js +0 -0
  437. /package/dist/runners/{acp → antigravity/acp}/session.d.ts +0 -0
  438. /package/dist/runners/{acp → antigravity/acp}/session.js +0 -0
  439. /package/dist/runners/{acp → antigravity/acp}/transport.d.ts +0 -0
  440. /package/dist/runners/{acp → antigravity/acp}/usage.js +0 -0
@@ -0,0 +1,53 @@
1
+ function parseAccept(header) {
2
+ const ranges = [];
3
+ for (const part of header.split(',')) {
4
+ const [range = '', ...params] = part.split(';');
5
+ const [type = '', subtype = ''] = range.trim().toLowerCase().split('/');
6
+ if (type === '' || subtype === '')
7
+ continue;
8
+ const weight = params.map((p) => p.trim().toLowerCase()).find((p) => p.startsWith('q='));
9
+ const parsed = weight === undefined ? 1 : Number.parseFloat(weight.slice(2));
10
+ const q = Number.isFinite(parsed) ? Math.min(Math.max(parsed, 0), 1) : 0;
11
+ if (q > 0)
12
+ ranges.push({ type, subtype, q });
13
+ }
14
+ return ranges;
15
+ }
16
+ /**
17
+ * The best of `offers` for this `Accept`, or `null` for "no preference expressed" — which is what
18
+ * an absent header, a `*<slash>*`-only header and a header naming nothing on offer all mean, and
19
+ * what leaves the caller on its route's default.
20
+ *
21
+ * `offers` is the server's own preference order: an offer may itself be a wildcard (`image/*`,
22
+ * since the concrete image type is not known until the file is read), and equal q-values go to the
23
+ * EARLIER offer, so each route lists its default representation first.
24
+ */
25
+ export function negotiate(accept, offers) {
26
+ if (accept === undefined)
27
+ return null;
28
+ const ranges = parseAccept(accept);
29
+ let best = null;
30
+ for (const offer of offers) {
31
+ const [type = '', subtype = ''] = offer.split('/');
32
+ let q = 0;
33
+ for (const range of ranges) {
34
+ if (range.type === '*' && range.subtype === '*')
35
+ continue; // "anything" is not a preference
36
+ const typeMatches = range.type === type || range.type === '*' || type === '*';
37
+ const subtypeMatches = range.subtype === subtype || range.subtype === '*' || subtype === '*';
38
+ if (typeMatches && subtypeMatches && range.q > q)
39
+ q = range.q;
40
+ }
41
+ if (q > 0 && (best === null || q > best.q))
42
+ best = { offer, q };
43
+ }
44
+ return best?.offer ?? null;
45
+ }
46
+ /** What `GET /repo/commit/:sha` offers, DEFAULT FIRST: the legacy `text/plain` blob is what a
47
+ * request with no opinion has always received, so it also wins an Accept tie. */
48
+ export const COMMIT_FORMATS = ['text/plain', 'application/json'];
49
+ /** What `GET /runs/:id/files` offers, DEFAULT FIRST. `image/*` rather than a concrete type: which
50
+ * image type the bytes are is only known once the path resolves, and the raw branch refuses
51
+ * everything that is not an image anyway. */
52
+ export const FILE_FORMATS = ['application/json', 'image/*'];
53
+ //# sourceMappingURL=accept-negotiation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accept-negotiation.js","sourceRoot":"","sources":["../../src/server/accept-negotiation.ts"],"names":[],"mappings":"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"}
@@ -58,29 +58,6 @@ export declare function ciProgressPlugs(): {
58
58
  export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
59
59
  "/workspace/activity": {
60
60
  $get: {
61
- output: {
62
- error: string;
63
- code?: "invalid_input" | undefined;
64
- };
65
- outputFormat: "json";
66
- status: 400;
67
- input: {
68
- query: {
69
- project?: string | undefined;
70
- };
71
- };
72
- } | {
73
- output: {
74
- error: string;
75
- };
76
- outputFormat: "json";
77
- status: 404 | 409 | 503;
78
- input: {
79
- query: {
80
- project?: string | undefined;
81
- };
82
- };
83
- } | {
84
61
  output: {
85
62
  generatedAt: string;
86
63
  projects: {
@@ -327,6 +304,29 @@ export declare function createActivityRoutes(routeDeps: ActivityRouteDeps): impo
327
304
  project?: string | undefined;
328
305
  };
329
306
  };
307
+ } | {
308
+ output: {
309
+ error: string;
310
+ code?: "invalid_input" | undefined;
311
+ };
312
+ outputFormat: "json";
313
+ status: 400;
314
+ input: {
315
+ query: {
316
+ project?: string | undefined;
317
+ };
318
+ };
319
+ } | {
320
+ output: {
321
+ error: string;
322
+ };
323
+ outputFormat: "json";
324
+ status: 404 | 409 | 503;
325
+ input: {
326
+ query: {
327
+ project?: string | undefined;
328
+ };
329
+ };
330
330
  };
331
331
  };
332
332
  }, "/", "/workspace/activity">;
@@ -0,0 +1,20 @@
1
+ /** The bare hostname of a `Host` header — see `normalizeHostname`. `''` when the
2
+ * header is absent, which no allowlist matches. */
3
+ export declare function hostnameOfHost(host: string | undefined): string;
4
+ /** The `hostname:port` authority of a `Host` header, e.g. `127.0.0.1:4321`.
5
+ *
6
+ * The port is kept verbatim and is `''` when the header omits it — which is
7
+ * exactly when a browser also omits it from `Origin` (both drop the scheme's
8
+ * default port). That symmetry is what lets us compare the two without knowing
9
+ * our own scheme, which we cannot know behind a TLS-terminating proxy. */
10
+ export declare function authorityOfHost(host: string | undefined): string;
11
+ /** The `hostname:port` authority of an `Origin` header, or `null` when it is not
12
+ * a parseable http(s) URL (the opaque `"null"` origin of a sandboxed iframe, a
13
+ * `file://` page). `URL.port` is `''` for a scheme's default port, matching
14
+ * `authorityOfHost`. */
15
+ export declare function authorityOfOrigin(origin: string): string | null;
16
+ /** The hostname of an `Origin` header, or `null` when it is not a parseable URL
17
+ * (e.g. the opaque `"null"` origin of a sandboxed iframe). Normalized through
18
+ * the same path as `hostnameOfHost` so the two compare equal for IPv6 and for
19
+ * trailing-dot FQDNs. */
20
+ export declare function hostnameOfOrigin(origin: string): string | null;
@@ -0,0 +1,46 @@
1
+ import { normalizeHostname } from './capabilities.js';
2
+ /** The bare hostname of a `Host` header — see `normalizeHostname`. `''` when the
3
+ * header is absent, which no allowlist matches. */
4
+ export function hostnameOfHost(host) {
5
+ return host ? normalizeHostname(host) : '';
6
+ }
7
+ /** The `hostname:port` authority of a `Host` header, e.g. `127.0.0.1:4321`.
8
+ *
9
+ * The port is kept verbatim and is `''` when the header omits it — which is
10
+ * exactly when a browser also omits it from `Origin` (both drop the scheme's
11
+ * default port). That symmetry is what lets us compare the two without knowing
12
+ * our own scheme, which we cannot know behind a TLS-terminating proxy. */
13
+ export function authorityOfHost(host) {
14
+ if (!host)
15
+ return '';
16
+ const port = host.match(/^\[[^\]]*\]:(\d+)$/)?.[1] ?? host.match(/^[^:]*:(\d+)$/)?.[1] ?? '';
17
+ return `${normalizeHostname(host)}:${port}`;
18
+ }
19
+ /** The `hostname:port` authority of an `Origin` header, or `null` when it is not
20
+ * a parseable http(s) URL (the opaque `"null"` origin of a sandboxed iframe, a
21
+ * `file://` page). `URL.port` is `''` for a scheme's default port, matching
22
+ * `authorityOfHost`. */
23
+ export function authorityOfOrigin(origin) {
24
+ try {
25
+ const u = new URL(origin);
26
+ if (u.protocol !== 'http:' && u.protocol !== 'https:')
27
+ return null;
28
+ return `${normalizeHostname(u.hostname)}:${u.port}`;
29
+ }
30
+ catch {
31
+ return null;
32
+ }
33
+ }
34
+ /** The hostname of an `Origin` header, or `null` when it is not a parseable URL
35
+ * (e.g. the opaque `"null"` origin of a sandboxed iframe). Normalized through
36
+ * the same path as `hostnameOfHost` so the two compare equal for IPv6 and for
37
+ * trailing-dot FQDNs. */
38
+ export function hostnameOfOrigin(origin) {
39
+ try {
40
+ return normalizeHostname(new URL(origin).hostname);
41
+ }
42
+ catch {
43
+ return null;
44
+ }
45
+ }
46
+ //# sourceMappingURL=host-authority.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host-authority.js","sourceRoot":"","sources":["../../src/server/host-authority.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD;oDACoD;AACpD,MAAM,UAAU,cAAc,CAAC,IAAwB;IACrD,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAC7C,CAAC;AAED;;;;;2EAK2E;AAC3E,MAAM,UAAU,eAAe,CAAC,IAAwB;IACtD,IAAI,CAAC,IAAI;QAAE,OAAO,EAAE,CAAC;IACrB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAC7F,OAAO,GAAG,iBAAiB,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;AAC9C,CAAC;AAED;;;yBAGyB;AACzB,MAAM,UAAU,iBAAiB,CAAC,MAAc;IAC9C,IAAI,CAAC;QACH,MAAM,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;QAC1B,IAAI,CAAC,CAAC,QAAQ,KAAK,OAAO,IAAI,CAAC,CAAC,QAAQ,KAAK,QAAQ;YAAE,OAAO,IAAI,CAAC;QACnE,OAAO,GAAG,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;IACtD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED;;;0BAG0B;AAC1B,MAAM,UAAU,gBAAgB,CAAC,MAAc;IAC7C,IAAI,CAAC;QACH,OAAO,iBAAiB,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC;IACrD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
@@ -16,12 +16,6 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
16
16
  output: {
17
17
  generation: string;
18
18
  results: ({
19
- projectId: string;
20
- runId: string;
21
- type: "error" | "reset";
22
- status: 400 | 404 | 409 | 413 | 503;
23
- error: string;
24
- } | {
25
19
  projectId: string;
26
20
  runId: string;
27
21
  type: "batch";
@@ -35,6 +29,12 @@ export declare function createLiveRoutes({ resolveProject, serverGeneration, res
35
29
  cursor: string;
36
30
  afterSeq: number;
37
31
  hasMore: boolean;
32
+ } | {
33
+ projectId: string;
34
+ runId: string;
35
+ type: "error" | "reset";
36
+ status: 400 | 404 | 409 | 413 | 503;
37
+ error: string;
38
38
  })[];
39
39
  };
40
40
  outputFormat: "json";
@@ -18,7 +18,7 @@ export declare function createProviderSignInRoutes(options: {
18
18
  error: string;
19
19
  };
20
20
  outputFormat: "json";
21
- status: 409;
21
+ status: 400;
22
22
  input: {
23
23
  json: {
24
24
  provider: string;
@@ -30,7 +30,7 @@ export declare function createProviderSignInRoutes(options: {
30
30
  error: string;
31
31
  };
32
32
  outputFormat: "json";
33
- status: 400;
33
+ status: 409;
34
34
  input: {
35
35
  json: {
36
36
  provider: string;
@@ -58,11 +58,15 @@ export declare function createRunnersRoutes(options: {
58
58
  "/runner-install/:runner": {
59
59
  $post: {
60
60
  output: {
61
- error: string;
62
- code?: "invalid_input" | undefined;
61
+ supported: boolean;
62
+ installedVersion: string | null;
63
+ latestVersion: string | null;
64
+ updateAvailable: boolean;
65
+ phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
66
+ error: string | null;
63
67
  };
64
68
  outputFormat: "json";
65
- status: 400;
69
+ status: 202;
66
70
  input: {
67
71
  param: {
68
72
  runner: string;
@@ -74,15 +78,11 @@ export declare function createRunnersRoutes(options: {
74
78
  };
75
79
  } | {
76
80
  output: {
77
- supported: boolean;
78
- installedVersion: string | null;
79
- latestVersion: string | null;
80
- updateAvailable: boolean;
81
- phase: "activating" | "checking" | "downloading" | "extracting" | "failed" | "idle" | "removing" | "verifying";
82
- error: string | null;
81
+ error: string;
82
+ code?: "invalid_input" | undefined;
83
83
  };
84
84
  outputFormat: "json";
85
- status: 202;
85
+ status: 400;
86
86
  input: {
87
87
  param: {
88
88
  runner: string;