@waq666/pneuma 0.8.1 → 0.9.2

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 (2840) hide show
  1. package/README.md +87 -18
  2. package/bin/dsc.js +25 -2
  3. package/lib/adapter/transcript.d.ts +94 -1
  4. package/lib/adapter/transcript.js +398 -12
  5. package/lib/boot.js +6 -27
  6. package/lib/contract/approval.d.ts +41 -4
  7. package/lib/contract/fonts.d.ts +101 -0
  8. package/lib/contract/fonts.js +157 -0
  9. package/lib/contract/memory.d.ts +93 -0
  10. package/lib/contract/memory.js +12 -0
  11. package/lib/contract/plugin.d.ts +106 -5
  12. package/lib/contract/remote.d.ts +8 -0
  13. package/lib/contract/remote.js +8 -0
  14. package/lib/contract/runtime.d.ts +240 -11
  15. package/lib/contract/session.d.ts +69 -6
  16. package/lib/contract/settings.d.ts +143 -3
  17. package/lib/contract/snapshot.d.ts +22 -5
  18. package/lib/contract/task.d.ts +38 -2
  19. package/lib/contract/transcript.d.ts +209 -13
  20. package/lib/contract/transcript.js +47 -1
  21. package/lib/contract.d.ts +3 -1
  22. package/lib/contract.js +3 -1
  23. package/lib/core/bytes.d.ts +1 -1
  24. package/lib/core/bytes.js +2 -2
  25. package/lib/core/child-env.d.ts +31 -0
  26. package/lib/core/child-env.js +70 -0
  27. package/lib/core/command-intent.d.ts +121 -0
  28. package/lib/core/command-intent.js +380 -0
  29. package/lib/core/command-policy.js +10 -46
  30. package/lib/core/config-store.js +6 -1
  31. package/lib/core/config.d.ts +98 -0
  32. package/lib/core/config.js +286 -4
  33. package/lib/core/context-injection-report.d.ts +107 -0
  34. package/lib/core/context-injection-report.js +132 -0
  35. package/lib/core/dock-browser.d.ts +30 -1
  36. package/lib/core/dock-browser.js +2 -1
  37. package/lib/core/dock-ops.d.ts +4 -4
  38. package/lib/core/dock-ops.js +2 -2
  39. package/lib/core/dock-session.d.ts +1 -2
  40. package/lib/core/dsh-compat/resolve-hook.d.ts +29 -1
  41. package/lib/core/dsh-compat/resolve-hook.js +272 -15
  42. package/lib/core/dsh-compat/service-map.js +1 -1
  43. package/lib/core/events.d.ts +52 -4
  44. package/lib/core/executable.d.ts +38 -0
  45. package/lib/core/executable.js +115 -0
  46. package/lib/core/git-exec.d.ts +11 -2
  47. package/lib/core/git-exec.js +27 -3
  48. package/lib/core/guard-session.d.ts +50 -0
  49. package/lib/core/guard-session.js +58 -0
  50. package/lib/core/host-browser-link.d.ts +1 -2
  51. package/lib/core/host-methods.d.ts +1 -1
  52. package/lib/core/host-methods.js +14 -1
  53. package/lib/core/http-debug.d.ts +43 -0
  54. package/lib/core/http-debug.js +65 -0
  55. package/lib/core/i18n-text.d.ts +39 -0
  56. package/lib/core/i18n-text.js +50 -0
  57. package/lib/core/i18n.d.ts +28 -0
  58. package/lib/core/i18n.js +109 -0
  59. package/lib/core/image-diet.d.ts +77 -22
  60. package/lib/core/image-diet.js +233 -9
  61. package/lib/core/llm.d.ts +76 -9
  62. package/lib/core/llm.js +151 -22
  63. package/lib/core/lockfile.d.ts +4 -5
  64. package/lib/core/lockfile.js +78 -16
  65. package/lib/core/log-config.d.ts +35 -0
  66. package/lib/core/log-config.js +71 -0
  67. package/lib/core/mention.d.ts +25 -15
  68. package/lib/core/mention.js +153 -32
  69. package/lib/core/migrate.d.ts +18 -0
  70. package/lib/core/native-bridge.d.ts +1 -1
  71. package/lib/core/native-bridge.js +1 -1
  72. package/lib/core/os-lock.d.ts +30 -0
  73. package/lib/core/os-lock.js +232 -0
  74. package/lib/core/path-policy.d.ts +13 -2
  75. package/lib/core/path-policy.js +30 -2
  76. package/lib/core/plugin-bundle.d.ts +90 -8
  77. package/lib/core/plugin-bundle.js +184 -22
  78. package/lib/core/plugin-loader.d.ts +238 -8
  79. package/lib/core/plugin-loader.js +1288 -152
  80. package/lib/core/plugin-locale.d.ts +42 -0
  81. package/lib/core/plugin-locale.js +132 -0
  82. package/lib/core/plugin-npm.d.ts +44 -0
  83. package/lib/core/plugin-npm.js +459 -0
  84. package/lib/core/plugin-patch.d.ts +17 -0
  85. package/lib/core/plugin-patch.js +23 -1
  86. package/lib/core/plugin-registry.d.ts +72 -13
  87. package/lib/core/plugin-registry.js +275 -76
  88. package/lib/core/plugin-watch.d.ts +128 -0
  89. package/lib/core/plugin-watch.js +880 -0
  90. package/lib/core/prefs.d.ts +7 -1
  91. package/lib/core/prefs.js +125 -33
  92. package/lib/core/profile-bootstrap.d.ts +5 -0
  93. package/lib/core/profile-bootstrap.js +33 -0
  94. package/lib/core/profile-dir.js +7 -3
  95. package/lib/core/records.d.ts +1 -1
  96. package/lib/core/records.js +1 -1
  97. package/lib/core/redact.d.ts +20 -0
  98. package/lib/core/redact.js +52 -0
  99. package/lib/core/repeat-reminder.d.ts +152 -0
  100. package/lib/core/repeat-reminder.js +175 -0
  101. package/lib/core/request-invariant.js +1 -1
  102. package/lib/core/schedule/runner.d.ts +18 -2
  103. package/lib/core/schedule/runner.js +50 -15
  104. package/lib/core/session.d.ts +192 -11
  105. package/lib/core/session.js +250 -19
  106. package/lib/core/shell-quote.d.ts +2 -2
  107. package/lib/core/shell-quote.js +2 -2
  108. package/lib/core/skills.d.ts +14 -0
  109. package/lib/core/skills.js +31 -0
  110. package/lib/core/team-board.d.ts +94 -10
  111. package/lib/core/team-board.js +226 -7
  112. package/lib/core/terminal-env.d.ts +18 -4
  113. package/lib/core/terminal-env.js +151 -15
  114. package/lib/core/todo-reminder-cadence.d.ts +86 -0
  115. package/lib/core/todo-reminder-cadence.js +76 -0
  116. package/lib/core/token-estimate.d.ts +1 -1
  117. package/lib/core/token-estimate.js +1 -1
  118. package/lib/core/tool-guards.d.ts +42 -0
  119. package/lib/core/tool-guards.js +43 -1
  120. package/lib/core/tools/command-runner.d.ts +11 -0
  121. package/lib/core/tools/fs-tools.js +6 -0
  122. package/lib/core/tools.d.ts +21 -4
  123. package/lib/core/transcript-text.d.ts +1 -1
  124. package/lib/core/transcript-text.js +1 -1
  125. package/lib/core/ui-boot-source.d.ts +3 -1
  126. package/lib/core/ui-boot-source.js +1 -1
  127. package/lib/core/ui-bundles.d.ts +13 -4
  128. package/lib/core/ui-bundles.js +122 -29
  129. package/lib/core/ui-graph-frames.d.ts +47 -0
  130. package/lib/core/ui-graph-frames.js +54 -0
  131. package/lib/core/ui-hmr.d.ts +1 -1
  132. package/lib/core/ui-manifest.d.ts +224 -0
  133. package/lib/core/ui-manifest.js +185 -0
  134. package/lib/core/ui-methods.d.ts +1 -1
  135. package/lib/core/ui-methods.js +54 -2
  136. package/lib/core/ui-server.d.ts +3 -2
  137. package/lib/core/ui-server.js +18 -18
  138. package/lib/core/usage-log.d.ts +58 -1
  139. package/lib/core/usage-log.js +140 -1
  140. package/lib/headless.js +4 -24
  141. package/lib/host/kernel.d.ts +7 -15
  142. package/lib/host/kernel.js +65 -434
  143. package/lib/host/launch.d.ts +20 -0
  144. package/lib/host/launch.js +48 -0
  145. package/lib/host/startup.d.ts +8 -0
  146. package/lib/host/startup.js +74 -0
  147. package/lib/node_modules/@pneuma/agent/cache-probe.d.ts +1 -0
  148. package/lib/node_modules/@pneuma/agent/cache-probe.js +1 -0
  149. package/lib/node_modules/@pneuma/agent/cordis.patch.yml +4 -0
  150. package/lib/node_modules/@pneuma/agent/index.d.ts +1 -0
  151. package/lib/node_modules/@pneuma/agent/index.js +1 -0
  152. package/lib/node_modules/@pneuma/agent/locale/en.json +4 -0
  153. package/lib/node_modules/@pneuma/agent/package.json +38 -0
  154. package/lib/node_modules/@pneuma/approval/approval.d.ts +1 -0
  155. package/lib/node_modules/@pneuma/approval/approval.js +1 -0
  156. package/lib/node_modules/@pneuma/approval/call-meaning.d.ts +1 -0
  157. package/lib/node_modules/@pneuma/approval/call-meaning.js +1 -0
  158. package/lib/node_modules/@pneuma/approval/cordis.patch.yml +4 -0
  159. package/lib/node_modules/@pneuma/approval/index.d.ts +1 -0
  160. package/lib/node_modules/@pneuma/approval/index.js +1 -0
  161. package/lib/node_modules/@pneuma/approval/locale/en.json +4 -0
  162. package/lib/node_modules/@pneuma/approval/package.json +38 -0
  163. package/lib/node_modules/@pneuma/approval-floor/approval-floor.d.ts +1 -0
  164. package/lib/node_modules/@pneuma/approval-floor/approval-floor.js +1 -0
  165. package/lib/node_modules/@pneuma/approval-floor/cordis.patch.yml +4 -0
  166. package/lib/node_modules/@pneuma/approval-floor/index.d.ts +1 -0
  167. package/lib/node_modules/@pneuma/approval-floor/index.js +1 -0
  168. package/lib/node_modules/@pneuma/approval-floor/locale/en.json +4 -0
  169. package/lib/node_modules/@pneuma/approval-floor/locale/ui.en.json +28 -0
  170. package/lib/node_modules/@pneuma/approval-floor/locale/ui.zh.json +28 -0
  171. package/lib/node_modules/@pneuma/approval-floor/package.json +40 -0
  172. package/lib/node_modules/@pneuma/ask/cordis.patch.yml +4 -0
  173. package/lib/node_modules/@pneuma/ask/index.d.ts +1 -0
  174. package/lib/node_modules/@pneuma/ask/index.js +1 -0
  175. package/lib/node_modules/@pneuma/ask/locale/en.json +4 -0
  176. package/lib/node_modules/@pneuma/ask/package.json +38 -0
  177. package/lib/node_modules/@pneuma/base/cordis.patch.yml +176 -0
  178. package/lib/node_modules/@pneuma/base/package.json +12 -0
  179. package/lib/node_modules/@pneuma/browser/cordis.patch.yml +5 -0
  180. package/lib/node_modules/@pneuma/browser/index.d.ts +1 -0
  181. package/lib/node_modules/@pneuma/browser/index.js +1 -0
  182. package/lib/node_modules/@pneuma/browser/locale/en.json +4 -0
  183. package/lib/node_modules/@pneuma/browser/locale/ui.en.json +61 -0
  184. package/lib/node_modules/@pneuma/browser/locale/ui.zh.json +61 -0
  185. package/lib/node_modules/@pneuma/browser/package.json +40 -0
  186. package/lib/node_modules/@pneuma/cdp/actions.d.ts +1 -0
  187. package/lib/node_modules/@pneuma/cdp/actions.js +1 -0
  188. package/lib/node_modules/@pneuma/cdp/cloud-metadata.d.ts +1 -0
  189. package/lib/node_modules/@pneuma/cdp/cloud-metadata.js +1 -0
  190. package/lib/node_modules/@pneuma/cdp/index.d.ts +1 -0
  191. package/lib/node_modules/@pneuma/cdp/index.js +1 -0
  192. package/lib/node_modules/@pneuma/cdp/launch.d.ts +1 -0
  193. package/lib/node_modules/@pneuma/cdp/launch.js +1 -0
  194. package/lib/node_modules/@pneuma/cdp/locale/en.json +4 -0
  195. package/lib/node_modules/@pneuma/cdp/package.json +40 -0
  196. package/lib/node_modules/@pneuma/cdp/report.d.ts +1 -0
  197. package/lib/node_modules/@pneuma/cdp/report.js +1 -0
  198. package/lib/node_modules/@pneuma/cdp/ring-buffer.d.ts +1 -0
  199. package/lib/node_modules/@pneuma/cdp/ring-buffer.js +1 -0
  200. package/lib/node_modules/@pneuma/cdp/snapshot.d.ts +1 -0
  201. package/lib/node_modules/@pneuma/cdp/snapshot.js +1 -0
  202. package/lib/node_modules/@pneuma/cdp/transport.d.ts +1 -0
  203. package/lib/node_modules/@pneuma/cdp/transport.js +1 -0
  204. package/lib/node_modules/@pneuma/checkpoint/cordis.patch.yml +4 -0
  205. package/lib/node_modules/@pneuma/checkpoint/index.d.ts +1 -0
  206. package/lib/node_modules/@pneuma/checkpoint/index.js +1 -0
  207. package/lib/node_modules/@pneuma/checkpoint/locale/en.json +4 -0
  208. package/lib/node_modules/@pneuma/checkpoint/locale/ui.en.json +15 -0
  209. package/lib/node_modules/@pneuma/checkpoint/locale/ui.zh.json +15 -0
  210. package/lib/node_modules/@pneuma/checkpoint/package.json +38 -0
  211. package/lib/node_modules/@pneuma/checkpoint/shadow.d.ts +1 -0
  212. package/lib/node_modules/@pneuma/checkpoint/shadow.js +1 -0
  213. package/lib/node_modules/@pneuma/cli/config-cli.d.ts +1 -0
  214. package/lib/node_modules/@pneuma/cli/config-cli.js +1 -0
  215. package/lib/node_modules/@pneuma/cli/index.d.ts +1 -0
  216. package/lib/node_modules/@pneuma/cli/index.js +1 -0
  217. package/lib/node_modules/@pneuma/cli/locale/en.json +4 -0
  218. package/lib/node_modules/@pneuma/cli/package.json +35 -0
  219. package/lib/node_modules/@pneuma/cli/plugin-cli.d.ts +1 -0
  220. package/lib/node_modules/@pneuma/cli/plugin-cli.js +1 -0
  221. package/lib/node_modules/@pneuma/cli/pnpm-builds.d.ts +1 -0
  222. package/lib/node_modules/@pneuma/cli/pnpm-builds.js +1 -0
  223. package/lib/node_modules/@pneuma/commands/cordis.patch.yml +4 -0
  224. package/lib/node_modules/@pneuma/commands/index.d.ts +1 -0
  225. package/lib/node_modules/@pneuma/commands/index.js +1 -0
  226. package/lib/node_modules/@pneuma/commands/locale/en.json +4 -0
  227. package/lib/node_modules/@pneuma/commands/package.json +38 -0
  228. package/lib/node_modules/@pneuma/commands/session-export.d.ts +1 -0
  229. package/lib/node_modules/@pneuma/commands/session-export.js +1 -0
  230. package/lib/node_modules/@pneuma/commands-core/commands-completion.d.ts +1 -0
  231. package/lib/node_modules/@pneuma/commands-core/commands-completion.js +1 -0
  232. package/lib/node_modules/@pneuma/commands-core/index.d.ts +1 -0
  233. package/lib/node_modules/@pneuma/commands-core/index.js +1 -0
  234. package/lib/node_modules/@pneuma/commands-core/locale/en.json +4 -0
  235. package/lib/node_modules/@pneuma/commands-core/package.json +34 -0
  236. package/lib/node_modules/@pneuma/compact/cordis.patch.yml +4 -0
  237. package/lib/node_modules/@pneuma/compact/index.d.ts +1 -0
  238. package/lib/node_modules/@pneuma/compact/index.js +1 -0
  239. package/lib/node_modules/@pneuma/compact/locale/en.json +4 -0
  240. package/lib/node_modules/@pneuma/compact/locale/ui.en.json +24 -0
  241. package/lib/node_modules/@pneuma/compact/locale/ui.zh.json +24 -0
  242. package/lib/node_modules/@pneuma/compact/package.json +39 -0
  243. package/lib/node_modules/@pneuma/computer-use/cordis.patch.yml +5 -0
  244. package/lib/node_modules/@pneuma/computer-use/desktop-control.d.ts +1 -0
  245. package/lib/node_modules/@pneuma/computer-use/desktop-control.js +1 -0
  246. package/lib/node_modules/@pneuma/computer-use/index.d.ts +1 -0
  247. package/lib/node_modules/@pneuma/computer-use/index.js +1 -0
  248. package/lib/node_modules/@pneuma/computer-use/locale/en.json +4 -0
  249. package/lib/node_modules/@pneuma/computer-use/locale/ui.en.json +41 -0
  250. package/lib/node_modules/@pneuma/computer-use/locale/ui.zh.json +41 -0
  251. package/lib/node_modules/@pneuma/computer-use/package.json +40 -0
  252. package/lib/node_modules/@pneuma/config-core/index.d.ts +1 -0
  253. package/lib/node_modules/@pneuma/config-core/index.js +1 -0
  254. package/lib/node_modules/@pneuma/config-core/locale/en.json +4 -0
  255. package/lib/node_modules/@pneuma/config-core/market.d.ts +1 -0
  256. package/lib/node_modules/@pneuma/config-core/market.js +1 -0
  257. package/lib/node_modules/@pneuma/config-core/package.json +35 -0
  258. package/lib/node_modules/@pneuma/config-core/presets.d.ts +1 -0
  259. package/lib/node_modules/@pneuma/config-core/presets.js +1 -0
  260. package/lib/node_modules/@pneuma/desktop-dock/cordis.patch.yml +4 -0
  261. package/lib/node_modules/@pneuma/desktop-dock/index.d.ts +1 -0
  262. package/lib/node_modules/@pneuma/desktop-dock/index.js +1 -0
  263. package/lib/node_modules/@pneuma/desktop-dock/locale/en.json +4 -0
  264. package/lib/node_modules/@pneuma/desktop-dock/locale/ui.en.json +11 -0
  265. package/lib/node_modules/@pneuma/desktop-dock/locale/ui.zh.json +11 -0
  266. package/lib/node_modules/@pneuma/desktop-dock/package.json +38 -0
  267. package/lib/node_modules/@pneuma/dock-browser/cordis.patch.yml +5 -0
  268. package/lib/node_modules/@pneuma/dock-browser/index.d.ts +1 -0
  269. package/lib/node_modules/@pneuma/dock-browser/index.js +1 -0
  270. package/lib/node_modules/@pneuma/dock-browser/locale/en.json +4 -0
  271. package/lib/node_modules/@pneuma/dock-browser/locale/ui.en.json +10 -0
  272. package/lib/node_modules/@pneuma/dock-browser/locale/ui.zh.json +10 -0
  273. package/lib/node_modules/@pneuma/dock-browser/package.json +40 -0
  274. package/lib/node_modules/@pneuma/doctor/bundle.d.ts +1 -0
  275. package/lib/node_modules/@pneuma/doctor/bundle.js +1 -0
  276. package/lib/node_modules/@pneuma/doctor/checks/data.d.ts +1 -0
  277. package/lib/node_modules/@pneuma/doctor/checks/data.js +1 -0
  278. package/lib/node_modules/@pneuma/doctor/checks/ecosystem.d.ts +1 -0
  279. package/lib/node_modules/@pneuma/doctor/checks/ecosystem.js +1 -0
  280. package/lib/node_modules/@pneuma/doctor/checks/environment.d.ts +1 -0
  281. package/lib/node_modules/@pneuma/doctor/checks/environment.js +1 -0
  282. package/lib/node_modules/@pneuma/doctor/checks/util.d.ts +1 -0
  283. package/lib/node_modules/@pneuma/doctor/checks/util.js +1 -0
  284. package/lib/node_modules/@pneuma/doctor/cordis.patch.yml +4 -0
  285. package/lib/node_modules/@pneuma/doctor/index.d.ts +1 -0
  286. package/lib/node_modules/@pneuma/doctor/index.js +1 -0
  287. package/lib/node_modules/@pneuma/doctor/locale/en.json +4 -0
  288. package/lib/node_modules/@pneuma/doctor/package.json +39 -0
  289. package/lib/node_modules/@pneuma/dsh-compat/cordis.patch.yml +5 -0
  290. package/lib/node_modules/@pneuma/dsh-compat/index.d.ts +1 -0
  291. package/lib/node_modules/@pneuma/dsh-compat/index.js +1 -0
  292. package/lib/node_modules/@pneuma/dsh-compat/locale/en.json +4 -0
  293. package/lib/node_modules/@pneuma/dsh-compat/package.json +40 -0
  294. package/lib/node_modules/@pneuma/git/cordis.patch.yml +4 -0
  295. package/lib/node_modules/@pneuma/git/index.d.ts +1 -0
  296. package/lib/node_modules/@pneuma/git/index.js +1 -0
  297. package/lib/node_modules/@pneuma/git/locale/en.json +4 -0
  298. package/lib/node_modules/@pneuma/git/package.json +38 -0
  299. package/lib/node_modules/@pneuma/goal/cordis.patch.yml +4 -0
  300. package/lib/node_modules/@pneuma/goal/goal.d.ts +1 -0
  301. package/lib/node_modules/@pneuma/goal/goal.js +1 -0
  302. package/lib/node_modules/@pneuma/goal/index.d.ts +1 -0
  303. package/lib/node_modules/@pneuma/goal/index.js +1 -0
  304. package/lib/node_modules/@pneuma/goal/locale/en.json +4 -0
  305. package/lib/node_modules/@pneuma/goal/locale/ui.en.json +10 -0
  306. package/lib/node_modules/@pneuma/goal/locale/ui.zh.json +10 -0
  307. package/lib/node_modules/@pneuma/goal/package.json +39 -0
  308. package/lib/node_modules/@pneuma/guards/cordis.patch.yml +4 -0
  309. package/lib/node_modules/@pneuma/guards/index.d.ts +1 -0
  310. package/lib/node_modules/@pneuma/guards/index.js +1 -0
  311. package/lib/node_modules/@pneuma/guards/locale/en.json +4 -0
  312. package/lib/node_modules/@pneuma/guards/package.json +38 -0
  313. package/lib/node_modules/@pneuma/hooks/cordis.patch.yml +4 -0
  314. package/lib/node_modules/@pneuma/hooks/index.d.ts +1 -0
  315. package/lib/node_modules/@pneuma/hooks/index.js +1 -0
  316. package/lib/node_modules/@pneuma/hooks/lifecycle-hooks.d.ts +1 -0
  317. package/lib/node_modules/@pneuma/hooks/lifecycle-hooks.js +1 -0
  318. package/lib/node_modules/@pneuma/hooks/locale/en.json +4 -0
  319. package/lib/node_modules/@pneuma/hooks/locale/ui.en.json +111 -0
  320. package/lib/node_modules/@pneuma/hooks/locale/ui.zh.json +111 -0
  321. package/lib/node_modules/@pneuma/hooks/package.json +39 -0
  322. package/lib/node_modules/@pneuma/host-stdio/cordis.patch.yml +4 -0
  323. package/lib/node_modules/@pneuma/host-stdio/index.d.ts +1 -0
  324. package/lib/node_modules/@pneuma/host-stdio/index.js +1 -0
  325. package/lib/node_modules/@pneuma/host-stdio/locale/en.json +4 -0
  326. package/lib/node_modules/@pneuma/host-stdio/package.json +38 -0
  327. package/lib/node_modules/@pneuma/image-diet/cordis.patch.yml +4 -0
  328. package/lib/node_modules/@pneuma/image-diet/index.d.ts +1 -0
  329. package/lib/node_modules/@pneuma/image-diet/index.js +1 -0
  330. package/lib/node_modules/@pneuma/image-diet/locale/en.json +4 -0
  331. package/lib/node_modules/@pneuma/image-diet/locale/ui.en.json +14 -0
  332. package/lib/node_modules/@pneuma/image-diet/locale/ui.zh.json +14 -0
  333. package/lib/node_modules/@pneuma/image-diet/package.json +39 -0
  334. package/lib/node_modules/@pneuma/llm/cordis.patch.yml +4 -0
  335. package/lib/node_modules/@pneuma/llm/index.d.ts +1 -0
  336. package/lib/node_modules/@pneuma/llm/index.js +1 -0
  337. package/lib/node_modules/@pneuma/llm/locale/en.json +4 -0
  338. package/lib/node_modules/@pneuma/llm/package.json +38 -0
  339. package/lib/node_modules/@pneuma/log/cordis.patch.yml +4 -0
  340. package/lib/node_modules/@pneuma/log/filter.d.ts +1 -0
  341. package/lib/node_modules/@pneuma/log/filter.js +1 -0
  342. package/lib/node_modules/@pneuma/log/index.d.ts +1 -0
  343. package/lib/node_modules/@pneuma/log/index.js +1 -0
  344. package/lib/node_modules/@pneuma/log/locale/en.json +4 -0
  345. package/lib/node_modules/@pneuma/log/locale/ui.en.json +30 -0
  346. package/lib/node_modules/@pneuma/log/locale/ui.zh.json +30 -0
  347. package/lib/node_modules/@pneuma/log/package.json +40 -0
  348. package/lib/node_modules/@pneuma/log/sink.d.ts +1 -0
  349. package/lib/node_modules/@pneuma/log/sink.js +1 -0
  350. package/lib/node_modules/@pneuma/lsp/client.d.ts +1 -0
  351. package/lib/node_modules/@pneuma/lsp/client.js +1 -0
  352. package/lib/node_modules/@pneuma/lsp/cordis.patch.yml +5 -0
  353. package/lib/node_modules/@pneuma/lsp/framing.d.ts +1 -0
  354. package/lib/node_modules/@pneuma/lsp/framing.js +1 -0
  355. package/lib/node_modules/@pneuma/lsp/index.d.ts +1 -0
  356. package/lib/node_modules/@pneuma/lsp/index.js +1 -0
  357. package/lib/node_modules/@pneuma/lsp/line-shift.d.ts +1 -0
  358. package/lib/node_modules/@pneuma/lsp/line-shift.js +1 -0
  359. package/lib/node_modules/@pneuma/lsp/locale/en.json +4 -0
  360. package/lib/node_modules/@pneuma/lsp/locale/ui.en.json +17 -0
  361. package/lib/node_modules/@pneuma/lsp/locale/ui.zh.json +17 -0
  362. package/lib/node_modules/@pneuma/lsp/manager.d.ts +1 -0
  363. package/lib/node_modules/@pneuma/lsp/manager.js +1 -0
  364. package/lib/node_modules/@pneuma/lsp/normalize.d.ts +1 -0
  365. package/lib/node_modules/@pneuma/lsp/normalize.js +1 -0
  366. package/lib/node_modules/@pneuma/lsp/package.json +40 -0
  367. package/lib/node_modules/@pneuma/lsp/servers.d.ts +1 -0
  368. package/lib/node_modules/@pneuma/lsp/servers.js +1 -0
  369. package/lib/node_modules/@pneuma/lsp/uri.d.ts +1 -0
  370. package/lib/node_modules/@pneuma/lsp/uri.js +1 -0
  371. package/lib/node_modules/@pneuma/mcp/cordis.patch.yml +5 -0
  372. package/lib/node_modules/@pneuma/mcp/index.d.ts +1 -0
  373. package/lib/node_modules/@pneuma/mcp/index.js +1 -0
  374. package/lib/node_modules/@pneuma/mcp/locale/en.json +4 -0
  375. package/lib/node_modules/@pneuma/mcp/locale/ui.en.json +28 -0
  376. package/lib/node_modules/@pneuma/mcp/locale/ui.zh.json +28 -0
  377. package/lib/node_modules/@pneuma/mcp/mcp.d.ts +1 -0
  378. package/lib/node_modules/@pneuma/mcp/mcp.js +1 -0
  379. package/lib/node_modules/@pneuma/mcp/package.json +40 -0
  380. package/lib/node_modules/@pneuma/memory/cordis.patch.yml +4 -0
  381. package/lib/node_modules/@pneuma/memory/index.d.ts +1 -0
  382. package/lib/node_modules/@pneuma/memory/index.js +1 -0
  383. package/lib/node_modules/@pneuma/memory/locale/en.json +4 -0
  384. package/lib/node_modules/@pneuma/memory/locale/ui.en.json +67 -0
  385. package/lib/node_modules/@pneuma/memory/locale/ui.zh.json +67 -0
  386. package/lib/node_modules/@pneuma/memory/memory-eval.d.ts +1 -0
  387. package/lib/node_modules/@pneuma/memory/memory-eval.js +1 -0
  388. package/lib/node_modules/@pneuma/memory/memory.d.ts +1 -0
  389. package/lib/node_modules/@pneuma/memory/memory.js +1 -0
  390. package/lib/node_modules/@pneuma/memory/package.json +39 -0
  391. package/lib/node_modules/@pneuma/microcompact/cordis.patch.yml +4 -0
  392. package/lib/node_modules/@pneuma/microcompact/index.d.ts +1 -0
  393. package/lib/node_modules/@pneuma/microcompact/index.js +1 -0
  394. package/lib/node_modules/@pneuma/microcompact/locale/en.json +4 -0
  395. package/lib/node_modules/@pneuma/microcompact/locale/ui.en.json +20 -0
  396. package/lib/node_modules/@pneuma/microcompact/locale/ui.zh.json +20 -0
  397. package/lib/node_modules/@pneuma/microcompact/microcompact.d.ts +1 -0
  398. package/lib/node_modules/@pneuma/microcompact/microcompact.js +1 -0
  399. package/lib/node_modules/@pneuma/microcompact/package.json +39 -0
  400. package/lib/node_modules/@pneuma/mode/cordis.patch.yml +4 -0
  401. package/lib/node_modules/@pneuma/mode/index.d.ts +1 -0
  402. package/lib/node_modules/@pneuma/mode/index.js +1 -0
  403. package/lib/node_modules/@pneuma/mode/locale/en.json +4 -0
  404. package/lib/node_modules/@pneuma/mode/package.json +38 -0
  405. package/lib/node_modules/@pneuma/ops/cordis.patch.yml +5 -0
  406. package/lib/node_modules/@pneuma/ops/index.d.ts +1 -0
  407. package/lib/node_modules/@pneuma/ops/index.js +1 -0
  408. package/lib/node_modules/@pneuma/ops/locale/en.json +4 -0
  409. package/lib/node_modules/@pneuma/ops/locale/ui.en.json +21 -0
  410. package/lib/node_modules/@pneuma/ops/locale/ui.zh.json +21 -0
  411. package/lib/node_modules/@pneuma/ops/package.json +41 -0
  412. package/lib/node_modules/@pneuma/ops/render.d.ts +1 -0
  413. package/lib/node_modules/@pneuma/ops/render.js +1 -0
  414. package/lib/node_modules/@pneuma/ops/tools.d.ts +1 -0
  415. package/lib/node_modules/@pneuma/ops/tools.js +1 -0
  416. package/lib/node_modules/@pneuma/ops/worker.d.ts +1 -0
  417. package/lib/node_modules/@pneuma/ops/worker.js +1 -0
  418. package/lib/node_modules/@pneuma/permission-core/index.d.ts +1 -0
  419. package/lib/node_modules/@pneuma/permission-core/index.js +1 -0
  420. package/lib/node_modules/@pneuma/permission-core/locale/en.json +4 -0
  421. package/lib/node_modules/@pneuma/permission-core/package.json +35 -0
  422. package/lib/node_modules/@pneuma/permission-core/permission-presets.d.ts +1 -0
  423. package/lib/node_modules/@pneuma/permission-core/permission-presets.js +1 -0
  424. package/lib/node_modules/@pneuma/permission-core/permission-scope.d.ts +1 -0
  425. package/lib/node_modules/@pneuma/permission-core/permission-scope.js +1 -0
  426. package/lib/node_modules/@pneuma/permission-presets/cordis.patch.yml +4 -0
  427. package/lib/node_modules/@pneuma/permission-presets/index.d.ts +1 -0
  428. package/lib/node_modules/@pneuma/permission-presets/index.js +1 -0
  429. package/lib/node_modules/@pneuma/permission-presets/locale/en.json +4 -0
  430. package/lib/node_modules/@pneuma/permission-presets/locale/ui.en.json +10 -0
  431. package/lib/node_modules/@pneuma/permission-presets/locale/ui.zh.json +10 -0
  432. package/lib/node_modules/@pneuma/permission-presets/package.json +38 -0
  433. package/lib/node_modules/@pneuma/plan/cordis.patch.yml +4 -0
  434. package/lib/node_modules/@pneuma/plan/index.d.ts +1 -0
  435. package/lib/node_modules/@pneuma/plan/index.js +1 -0
  436. package/lib/node_modules/@pneuma/plan/locale/en.json +4 -0
  437. package/lib/node_modules/@pneuma/plan/package.json +38 -0
  438. package/lib/node_modules/@pneuma/plugin-manager/cordis.patch.yml +4 -0
  439. package/lib/node_modules/@pneuma/plugin-manager/index.d.ts +1 -0
  440. package/lib/node_modules/@pneuma/plugin-manager/index.js +1 -0
  441. package/lib/node_modules/@pneuma/plugin-manager/locale/en.json +4 -0
  442. package/lib/node_modules/@pneuma/plugin-manager/package.json +38 -0
  443. package/lib/node_modules/@pneuma/presets/cordis.patch.yml +4 -0
  444. package/lib/node_modules/@pneuma/presets/index.d.ts +1 -0
  445. package/lib/node_modules/@pneuma/presets/index.js +1 -0
  446. package/lib/node_modules/@pneuma/presets/locale/en.json +4 -0
  447. package/lib/node_modules/@pneuma/presets/locale/ui.en.json +10 -0
  448. package/lib/node_modules/@pneuma/presets/locale/ui.zh.json +10 -0
  449. package/lib/node_modules/@pneuma/presets/package.json +38 -0
  450. package/lib/node_modules/@pneuma/prompt/cordis.patch.yml +4 -0
  451. package/lib/node_modules/@pneuma/prompt/index.d.ts +1 -0
  452. package/lib/node_modules/@pneuma/prompt/index.js +1 -0
  453. package/lib/node_modules/@pneuma/prompt/locale/en.json +4 -0
  454. package/lib/node_modules/@pneuma/prompt/package.json +38 -0
  455. package/lib/node_modules/@pneuma/prompt/tool-result-prune.d.ts +1 -0
  456. package/lib/node_modules/@pneuma/prompt/tool-result-prune.js +1 -0
  457. package/lib/node_modules/@pneuma/ptc/cordis.patch.yml +4 -0
  458. package/lib/node_modules/@pneuma/ptc/index.d.ts +1 -0
  459. package/lib/node_modules/@pneuma/ptc/index.js +1 -0
  460. package/lib/node_modules/@pneuma/ptc/locale/en.json +4 -0
  461. package/lib/node_modules/@pneuma/ptc/package.json +38 -0
  462. package/lib/node_modules/@pneuma/remote/cordis.patch.yml +4 -0
  463. package/lib/node_modules/@pneuma/remote/http.d.ts +1 -0
  464. package/lib/node_modules/@pneuma/remote/http.js +1 -0
  465. package/lib/node_modules/@pneuma/remote/index.d.ts +1 -0
  466. package/lib/node_modules/@pneuma/remote/index.js +1 -0
  467. package/lib/node_modules/@pneuma/remote/locale/en.json +4 -0
  468. package/lib/node_modules/@pneuma/remote/locale/ui.en.json +76 -0
  469. package/lib/node_modules/@pneuma/remote/locale/ui.zh.json +76 -0
  470. package/lib/node_modules/@pneuma/remote/package.json +38 -0
  471. package/lib/node_modules/@pneuma/remote/routes.d.ts +1 -0
  472. package/lib/node_modules/@pneuma/remote/routes.js +1 -0
  473. package/lib/node_modules/@pneuma/remote/types.d.ts +1 -0
  474. package/lib/node_modules/@pneuma/remote/types.js +1 -0
  475. package/lib/node_modules/@pneuma/runtime/adapter/transcript.d.ts +1 -0
  476. package/lib/node_modules/@pneuma/runtime/adapter/transcript.js +1 -0
  477. package/lib/node_modules/@pneuma/runtime/boot.d.ts +1 -0
  478. package/lib/node_modules/@pneuma/runtime/boot.js +1 -0
  479. package/lib/node_modules/@pneuma/runtime/contract/approval.d.ts +1 -0
  480. package/lib/node_modules/@pneuma/runtime/contract/approval.js +1 -0
  481. package/lib/node_modules/@pneuma/runtime/contract/fonts.d.ts +1 -0
  482. package/lib/node_modules/@pneuma/runtime/contract/fonts.js +1 -0
  483. package/lib/node_modules/@pneuma/runtime/contract/memory.d.ts +1 -0
  484. package/lib/node_modules/@pneuma/runtime/contract/memory.js +1 -0
  485. package/lib/node_modules/@pneuma/runtime/contract/mode.d.ts +1 -0
  486. package/lib/node_modules/@pneuma/runtime/contract/mode.js +1 -0
  487. package/lib/node_modules/@pneuma/runtime/contract/plugin.d.ts +1 -0
  488. package/lib/node_modules/@pneuma/runtime/contract/plugin.js +1 -0
  489. package/lib/node_modules/@pneuma/runtime/contract/remote.d.ts +1 -0
  490. package/lib/node_modules/@pneuma/runtime/contract/remote.js +1 -0
  491. package/lib/node_modules/@pneuma/runtime/contract/runtime.d.ts +1 -0
  492. package/lib/node_modules/@pneuma/runtime/contract/runtime.js +1 -0
  493. package/lib/node_modules/@pneuma/runtime/contract/session.d.ts +1 -0
  494. package/lib/node_modules/@pneuma/runtime/contract/session.js +1 -0
  495. package/lib/node_modules/@pneuma/runtime/contract/settings.d.ts +1 -0
  496. package/lib/node_modules/@pneuma/runtime/contract/settings.js +1 -0
  497. package/lib/node_modules/@pneuma/runtime/contract/snapshot.d.ts +1 -0
  498. package/lib/node_modules/@pneuma/runtime/contract/snapshot.js +1 -0
  499. package/lib/node_modules/@pneuma/runtime/contract/task.d.ts +1 -0
  500. package/lib/node_modules/@pneuma/runtime/contract/task.js +1 -0
  501. package/lib/node_modules/@pneuma/runtime/contract/transcript.d.ts +1 -0
  502. package/lib/node_modules/@pneuma/runtime/contract/transcript.js +1 -0
  503. package/lib/node_modules/@pneuma/runtime/contract/usage.d.ts +1 -0
  504. package/lib/node_modules/@pneuma/runtime/contract/usage.js +1 -0
  505. package/lib/node_modules/@pneuma/runtime/contract.d.ts +1 -0
  506. package/lib/node_modules/@pneuma/runtime/contract.js +1 -0
  507. package/lib/node_modules/@pneuma/runtime/core/attachments.d.ts +1 -0
  508. package/lib/node_modules/@pneuma/runtime/core/attachments.js +1 -0
  509. package/lib/node_modules/@pneuma/runtime/core/audit.d.ts +1 -0
  510. package/lib/node_modules/@pneuma/runtime/core/audit.js +1 -0
  511. package/lib/node_modules/@pneuma/runtime/core/boot-notices.d.ts +1 -0
  512. package/lib/node_modules/@pneuma/runtime/core/boot-notices.js +1 -0
  513. package/lib/node_modules/@pneuma/runtime/core/bytes.d.ts +1 -0
  514. package/lib/node_modules/@pneuma/runtime/core/bytes.js +1 -0
  515. package/lib/node_modules/@pneuma/runtime/core/child-env.d.ts +1 -0
  516. package/lib/node_modules/@pneuma/runtime/core/child-env.js +1 -0
  517. package/lib/node_modules/@pneuma/runtime/core/clamp.d.ts +1 -0
  518. package/lib/node_modules/@pneuma/runtime/core/clamp.js +1 -0
  519. package/lib/node_modules/@pneuma/runtime/core/clock.d.ts +1 -0
  520. package/lib/node_modules/@pneuma/runtime/core/clock.js +1 -0
  521. package/lib/node_modules/@pneuma/runtime/core/command-intent.d.ts +1 -0
  522. package/lib/node_modules/@pneuma/runtime/core/command-intent.js +1 -0
  523. package/lib/node_modules/@pneuma/runtime/core/command-policy.d.ts +1 -0
  524. package/lib/node_modules/@pneuma/runtime/core/command-policy.js +1 -0
  525. package/lib/node_modules/@pneuma/runtime/core/compact-anchors.d.ts +1 -0
  526. package/lib/node_modules/@pneuma/runtime/core/compact-anchors.js +1 -0
  527. package/lib/node_modules/@pneuma/runtime/core/config-store.d.ts +1 -0
  528. package/lib/node_modules/@pneuma/runtime/core/config-store.js +1 -0
  529. package/lib/node_modules/@pneuma/runtime/core/config.d.ts +1 -0
  530. package/lib/node_modules/@pneuma/runtime/core/config.js +1 -0
  531. package/lib/node_modules/@pneuma/runtime/core/context-injection-report.d.ts +1 -0
  532. package/lib/node_modules/@pneuma/runtime/core/context-injection-report.js +1 -0
  533. package/lib/node_modules/@pneuma/runtime/core/diff-text.d.ts +1 -0
  534. package/lib/node_modules/@pneuma/runtime/core/diff-text.js +1 -0
  535. package/lib/node_modules/@pneuma/runtime/core/dock-browser.d.ts +1 -0
  536. package/lib/node_modules/@pneuma/runtime/core/dock-browser.js +1 -0
  537. package/lib/node_modules/@pneuma/runtime/core/dock-ops.d.ts +1 -0
  538. package/lib/node_modules/@pneuma/runtime/core/dock-ops.js +1 -0
  539. package/lib/node_modules/@pneuma/runtime/core/dock-session.d.ts +1 -0
  540. package/lib/node_modules/@pneuma/runtime/core/dock-session.js +1 -0
  541. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/llm-usage-event.d.ts +1 -0
  542. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/llm-usage-event.js +1 -0
  543. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/presentation.d.ts +1 -0
  544. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/presentation.js +1 -0
  545. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/resolve-hook.d.ts +1 -0
  546. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/resolve-hook.js +1 -0
  547. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/service-map.d.ts +1 -0
  548. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/service-map.js +1 -0
  549. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/session-bridge.d.ts +1 -0
  550. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/session-bridge.js +1 -0
  551. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/session-events.d.ts +1 -0
  552. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/session-events.js +1 -0
  553. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/shims/credentials.d.ts +1 -0
  554. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/shims/credentials.js +1 -0
  555. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/shims/home-paths.d.ts +1 -0
  556. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/shims/home-paths.js +1 -0
  557. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/tools-facade.d.ts +1 -0
  558. package/lib/node_modules/@pneuma/runtime/core/dsh-compat/tools-facade.js +1 -0
  559. package/lib/node_modules/@pneuma/runtime/core/err-text.d.ts +1 -0
  560. package/lib/node_modules/@pneuma/runtime/core/err-text.js +1 -0
  561. package/lib/node_modules/@pneuma/runtime/core/events.d.ts +1 -0
  562. package/lib/node_modules/@pneuma/runtime/core/events.js +1 -0
  563. package/lib/node_modules/@pneuma/runtime/core/executable.d.ts +1 -0
  564. package/lib/node_modules/@pneuma/runtime/core/executable.js +1 -0
  565. package/lib/node_modules/@pneuma/runtime/core/git-exec.d.ts +1 -0
  566. package/lib/node_modules/@pneuma/runtime/core/git-exec.js +1 -0
  567. package/lib/node_modules/@pneuma/runtime/core/git-info.d.ts +1 -0
  568. package/lib/node_modules/@pneuma/runtime/core/git-info.js +1 -0
  569. package/lib/node_modules/@pneuma/runtime/core/git-surface.d.ts +1 -0
  570. package/lib/node_modules/@pneuma/runtime/core/git-surface.js +1 -0
  571. package/lib/node_modules/@pneuma/runtime/core/guard-session.d.ts +1 -0
  572. package/lib/node_modules/@pneuma/runtime/core/guard-session.js +1 -0
  573. package/lib/node_modules/@pneuma/runtime/core/host-browser-link.d.ts +1 -0
  574. package/lib/node_modules/@pneuma/runtime/core/host-browser-link.js +1 -0
  575. package/lib/node_modules/@pneuma/runtime/core/host-methods.d.ts +1 -0
  576. package/lib/node_modules/@pneuma/runtime/core/host-methods.js +1 -0
  577. package/lib/node_modules/@pneuma/runtime/core/http-debug.d.ts +1 -0
  578. package/lib/node_modules/@pneuma/runtime/core/http-debug.js +1 -0
  579. package/lib/node_modules/@pneuma/runtime/core/i18n-text.d.ts +1 -0
  580. package/lib/node_modules/@pneuma/runtime/core/i18n-text.js +1 -0
  581. package/lib/node_modules/@pneuma/runtime/core/i18n.d.ts +1 -0
  582. package/lib/node_modules/@pneuma/runtime/core/i18n.js +1 -0
  583. package/lib/node_modules/@pneuma/runtime/core/image-diet.d.ts +1 -0
  584. package/lib/node_modules/@pneuma/runtime/core/image-diet.js +1 -0
  585. package/lib/node_modules/@pneuma/runtime/core/json-text.d.ts +1 -0
  586. package/lib/node_modules/@pneuma/runtime/core/json-text.js +1 -0
  587. package/lib/node_modules/@pneuma/runtime/core/llm.d.ts +1 -0
  588. package/lib/node_modules/@pneuma/runtime/core/llm.js +1 -0
  589. package/lib/node_modules/@pneuma/runtime/core/lockfile.d.ts +1 -0
  590. package/lib/node_modules/@pneuma/runtime/core/lockfile.js +1 -0
  591. package/lib/node_modules/@pneuma/runtime/core/log-config.d.ts +1 -0
  592. package/lib/node_modules/@pneuma/runtime/core/log-config.js +1 -0
  593. package/lib/node_modules/@pneuma/runtime/core/mention.d.ts +1 -0
  594. package/lib/node_modules/@pneuma/runtime/core/mention.js +1 -0
  595. package/lib/node_modules/@pneuma/runtime/core/migrate.d.ts +1 -0
  596. package/lib/node_modules/@pneuma/runtime/core/migrate.js +1 -0
  597. package/lib/node_modules/@pneuma/runtime/core/model-caps.d.ts +1 -0
  598. package/lib/node_modules/@pneuma/runtime/core/model-caps.js +1 -0
  599. package/lib/node_modules/@pneuma/runtime/core/native-bridge.d.ts +1 -0
  600. package/lib/node_modules/@pneuma/runtime/core/native-bridge.js +1 -0
  601. package/lib/node_modules/@pneuma/runtime/core/os-lock.d.ts +1 -0
  602. package/lib/node_modules/@pneuma/runtime/core/os-lock.js +1 -0
  603. package/lib/node_modules/@pneuma/runtime/core/path-policy.d.ts +1 -0
  604. package/lib/node_modules/@pneuma/runtime/core/path-policy.js +1 -0
  605. package/lib/node_modules/@pneuma/runtime/core/plugin-bundle.d.ts +1 -0
  606. package/lib/node_modules/@pneuma/runtime/core/plugin-bundle.js +1 -0
  607. package/lib/node_modules/@pneuma/runtime/core/plugin-loader.d.ts +1 -0
  608. package/lib/node_modules/@pneuma/runtime/core/plugin-loader.js +1 -0
  609. package/lib/node_modules/@pneuma/runtime/core/plugin-locale.d.ts +1 -0
  610. package/lib/node_modules/@pneuma/runtime/core/plugin-locale.js +1 -0
  611. package/lib/node_modules/@pneuma/runtime/core/plugin-npm.d.ts +1 -0
  612. package/lib/node_modules/@pneuma/runtime/core/plugin-npm.js +1 -0
  613. package/lib/node_modules/@pneuma/runtime/core/plugin-patch.d.ts +1 -0
  614. package/lib/node_modules/@pneuma/runtime/core/plugin-patch.js +1 -0
  615. package/lib/node_modules/@pneuma/runtime/core/plugin-registry.d.ts +1 -0
  616. package/lib/node_modules/@pneuma/runtime/core/plugin-registry.js +1 -0
  617. package/lib/node_modules/@pneuma/runtime/core/plugin-watch.d.ts +1 -0
  618. package/lib/node_modules/@pneuma/runtime/core/plugin-watch.js +1 -0
  619. package/lib/node_modules/@pneuma/runtime/core/prefs.d.ts +1 -0
  620. package/lib/node_modules/@pneuma/runtime/core/prefs.js +1 -0
  621. package/lib/node_modules/@pneuma/runtime/core/pricing.d.ts +1 -0
  622. package/lib/node_modules/@pneuma/runtime/core/pricing.js +1 -0
  623. package/lib/node_modules/@pneuma/runtime/core/profile-bootstrap.d.ts +1 -0
  624. package/lib/node_modules/@pneuma/runtime/core/profile-bootstrap.js +1 -0
  625. package/lib/node_modules/@pneuma/runtime/core/profile-dir.d.ts +1 -0
  626. package/lib/node_modules/@pneuma/runtime/core/profile-dir.js +1 -0
  627. package/lib/node_modules/@pneuma/runtime/core/ptc.d.ts +1 -0
  628. package/lib/node_modules/@pneuma/runtime/core/ptc.js +1 -0
  629. package/lib/node_modules/@pneuma/runtime/core/records.d.ts +1 -0
  630. package/lib/node_modules/@pneuma/runtime/core/records.js +1 -0
  631. package/lib/node_modules/@pneuma/runtime/core/redact.d.ts +1 -0
  632. package/lib/node_modules/@pneuma/runtime/core/redact.js +1 -0
  633. package/lib/node_modules/@pneuma/runtime/core/remote/frames.d.ts +1 -0
  634. package/lib/node_modules/@pneuma/runtime/core/remote/frames.js +1 -0
  635. package/lib/node_modules/@pneuma/runtime/core/remote/notify.d.ts +1 -0
  636. package/lib/node_modules/@pneuma/runtime/core/remote/notify.js +1 -0
  637. package/lib/node_modules/@pneuma/runtime/core/remote/owner.d.ts +1 -0
  638. package/lib/node_modules/@pneuma/runtime/core/remote/owner.js +1 -0
  639. package/lib/node_modules/@pneuma/runtime/core/remote/pairing.d.ts +1 -0
  640. package/lib/node_modules/@pneuma/runtime/core/remote/pairing.js +1 -0
  641. package/lib/node_modules/@pneuma/runtime/core/remote/push.d.ts +1 -0
  642. package/lib/node_modules/@pneuma/runtime/core/remote/push.js +1 -0
  643. package/lib/node_modules/@pneuma/runtime/core/remote/store.d.ts +1 -0
  644. package/lib/node_modules/@pneuma/runtime/core/remote/store.js +1 -0
  645. package/lib/node_modules/@pneuma/runtime/core/remote/tickets.d.ts +1 -0
  646. package/lib/node_modules/@pneuma/runtime/core/remote/tickets.js +1 -0
  647. package/lib/node_modules/@pneuma/runtime/core/remote/uploads.d.ts +1 -0
  648. package/lib/node_modules/@pneuma/runtime/core/remote/uploads.js +1 -0
  649. package/lib/node_modules/@pneuma/runtime/core/repeat-reminder.d.ts +1 -0
  650. package/lib/node_modules/@pneuma/runtime/core/repeat-reminder.js +1 -0
  651. package/lib/node_modules/@pneuma/runtime/core/request-attribution.d.ts +1 -0
  652. package/lib/node_modules/@pneuma/runtime/core/request-attribution.js +1 -0
  653. package/lib/node_modules/@pneuma/runtime/core/request-invariant.d.ts +1 -0
  654. package/lib/node_modules/@pneuma/runtime/core/request-invariant.js +1 -0
  655. package/lib/node_modules/@pneuma/runtime/core/schedule/rule.d.ts +1 -0
  656. package/lib/node_modules/@pneuma/runtime/core/schedule/rule.js +1 -0
  657. package/lib/node_modules/@pneuma/runtime/core/schedule/runner.d.ts +1 -0
  658. package/lib/node_modules/@pneuma/runtime/core/schedule/runner.js +1 -0
  659. package/lib/node_modules/@pneuma/runtime/core/schedule/store.d.ts +1 -0
  660. package/lib/node_modules/@pneuma/runtime/core/schedule/store.js +1 -0
  661. package/lib/node_modules/@pneuma/runtime/core/secrets.d.ts +1 -0
  662. package/lib/node_modules/@pneuma/runtime/core/secrets.js +1 -0
  663. package/lib/node_modules/@pneuma/runtime/core/session-meta.d.ts +1 -0
  664. package/lib/node_modules/@pneuma/runtime/core/session-meta.js +1 -0
  665. package/lib/node_modules/@pneuma/runtime/core/session.d.ts +1 -0
  666. package/lib/node_modules/@pneuma/runtime/core/session.js +1 -0
  667. package/lib/node_modules/@pneuma/runtime/core/shell-quote.d.ts +1 -0
  668. package/lib/node_modules/@pneuma/runtime/core/shell-quote.js +1 -0
  669. package/lib/node_modules/@pneuma/runtime/core/side-ask.d.ts +1 -0
  670. package/lib/node_modules/@pneuma/runtime/core/side-ask.js +1 -0
  671. package/lib/node_modules/@pneuma/runtime/core/skills.d.ts +1 -0
  672. package/lib/node_modules/@pneuma/runtime/core/skills.js +1 -0
  673. package/lib/node_modules/@pneuma/runtime/core/snapshot-throttle.d.ts +1 -0
  674. package/lib/node_modules/@pneuma/runtime/core/snapshot-throttle.js +1 -0
  675. package/lib/node_modules/@pneuma/runtime/core/spill.d.ts +1 -0
  676. package/lib/node_modules/@pneuma/runtime/core/spill.js +1 -0
  677. package/lib/node_modules/@pneuma/runtime/core/strings.d.ts +1 -0
  678. package/lib/node_modules/@pneuma/runtime/core/strings.js +1 -0
  679. package/lib/node_modules/@pneuma/runtime/core/team-board.d.ts +1 -0
  680. package/lib/node_modules/@pneuma/runtime/core/team-board.js +1 -0
  681. package/lib/node_modules/@pneuma/runtime/core/terminal-env.d.ts +1 -0
  682. package/lib/node_modules/@pneuma/runtime/core/terminal-env.js +1 -0
  683. package/lib/node_modules/@pneuma/runtime/core/text-format.d.ts +1 -0
  684. package/lib/node_modules/@pneuma/runtime/core/text-format.js +1 -0
  685. package/lib/node_modules/@pneuma/runtime/core/throughput.d.ts +1 -0
  686. package/lib/node_modules/@pneuma/runtime/core/throughput.js +1 -0
  687. package/lib/node_modules/@pneuma/runtime/core/todo-reminder-cadence.d.ts +1 -0
  688. package/lib/node_modules/@pneuma/runtime/core/todo-reminder-cadence.js +1 -0
  689. package/lib/node_modules/@pneuma/runtime/core/todo-reminder.d.ts +1 -0
  690. package/lib/node_modules/@pneuma/runtime/core/todo-reminder.js +1 -0
  691. package/lib/node_modules/@pneuma/runtime/core/token-estimate.d.ts +1 -0
  692. package/lib/node_modules/@pneuma/runtime/core/token-estimate.js +1 -0
  693. package/lib/node_modules/@pneuma/runtime/core/tool-guards.d.ts +1 -0
  694. package/lib/node_modules/@pneuma/runtime/core/tool-guards.js +1 -0
  695. package/lib/node_modules/@pneuma/runtime/core/tools/command-runner.d.ts +1 -0
  696. package/lib/node_modules/@pneuma/runtime/core/tools/command-runner.js +1 -0
  697. package/lib/node_modules/@pneuma/runtime/core/tools/fs-tools.d.ts +1 -0
  698. package/lib/node_modules/@pneuma/runtime/core/tools/fs-tools.js +1 -0
  699. package/lib/node_modules/@pneuma/runtime/core/tools/path-args.d.ts +1 -0
  700. package/lib/node_modules/@pneuma/runtime/core/tools/path-args.js +1 -0
  701. package/lib/node_modules/@pneuma/runtime/core/tools/sandbox-args.d.ts +1 -0
  702. package/lib/node_modules/@pneuma/runtime/core/tools/sandbox-args.js +1 -0
  703. package/lib/node_modules/@pneuma/runtime/core/tools.d.ts +1 -0
  704. package/lib/node_modules/@pneuma/runtime/core/tools.js +1 -0
  705. package/lib/node_modules/@pneuma/runtime/core/transcript-text.d.ts +1 -0
  706. package/lib/node_modules/@pneuma/runtime/core/transcript-text.js +1 -0
  707. package/lib/node_modules/@pneuma/runtime/core/ui-boot-source.d.ts +1 -0
  708. package/lib/node_modules/@pneuma/runtime/core/ui-boot-source.js +1 -0
  709. package/lib/node_modules/@pneuma/runtime/core/ui-bundles.d.ts +1 -0
  710. package/lib/node_modules/@pneuma/runtime/core/ui-bundles.js +1 -0
  711. package/lib/node_modules/@pneuma/runtime/core/ui-combo.d.ts +1 -0
  712. package/lib/node_modules/@pneuma/runtime/core/ui-combo.js +1 -0
  713. package/lib/node_modules/@pneuma/runtime/core/ui-events.d.ts +1 -0
  714. package/lib/node_modules/@pneuma/runtime/core/ui-events.js +1 -0
  715. package/lib/node_modules/@pneuma/runtime/core/ui-graph-frames.d.ts +1 -0
  716. package/lib/node_modules/@pneuma/runtime/core/ui-graph-frames.js +1 -0
  717. package/lib/node_modules/@pneuma/runtime/core/ui-hmr.d.ts +1 -0
  718. package/lib/node_modules/@pneuma/runtime/core/ui-hmr.js +1 -0
  719. package/lib/node_modules/@pneuma/runtime/core/ui-manifest.d.ts +1 -0
  720. package/lib/node_modules/@pneuma/runtime/core/ui-manifest.js +1 -0
  721. package/lib/node_modules/@pneuma/runtime/core/ui-methods.d.ts +1 -0
  722. package/lib/node_modules/@pneuma/runtime/core/ui-methods.js +1 -0
  723. package/lib/node_modules/@pneuma/runtime/core/ui-route.d.ts +1 -0
  724. package/lib/node_modules/@pneuma/runtime/core/ui-route.js +1 -0
  725. package/lib/node_modules/@pneuma/runtime/core/ui-server.d.ts +1 -0
  726. package/lib/node_modules/@pneuma/runtime/core/ui-server.js +1 -0
  727. package/lib/node_modules/@pneuma/runtime/core/ui-trust.d.ts +1 -0
  728. package/lib/node_modules/@pneuma/runtime/core/ui-trust.js +1 -0
  729. package/lib/node_modules/@pneuma/runtime/core/unified-diff.d.ts +1 -0
  730. package/lib/node_modules/@pneuma/runtime/core/unified-diff.js +1 -0
  731. package/lib/node_modules/@pneuma/runtime/core/untrusted.d.ts +1 -0
  732. package/lib/node_modules/@pneuma/runtime/core/untrusted.js +1 -0
  733. package/lib/node_modules/@pneuma/runtime/core/update-check.d.ts +1 -0
  734. package/lib/node_modules/@pneuma/runtime/core/update-check.js +1 -0
  735. package/lib/node_modules/@pneuma/runtime/core/usage-log.d.ts +1 -0
  736. package/lib/node_modules/@pneuma/runtime/core/usage-log.js +1 -0
  737. package/lib/node_modules/@pneuma/runtime/core/version.d.ts +1 -0
  738. package/lib/node_modules/@pneuma/runtime/core/version.js +1 -0
  739. package/lib/node_modules/@pneuma/runtime/core/web-http.d.ts +1 -0
  740. package/lib/node_modules/@pneuma/runtime/core/web-http.js +1 -0
  741. package/lib/node_modules/@pneuma/runtime/core/web-static.d.ts +1 -0
  742. package/lib/node_modules/@pneuma/runtime/core/web-static.js +1 -0
  743. package/lib/node_modules/@pneuma/runtime/headless.d.ts +1 -0
  744. package/lib/node_modules/@pneuma/runtime/headless.js +1 -0
  745. package/lib/node_modules/@pneuma/runtime/package.json +11 -0
  746. package/lib/node_modules/@pneuma/runtime/services/types.d.ts +1 -0
  747. package/lib/node_modules/@pneuma/runtime/services/types.js +1 -0
  748. package/lib/node_modules/@pneuma/runtime-adapter/cordis.patch.yml +4 -0
  749. package/lib/node_modules/@pneuma/runtime-adapter/index.d.ts +1 -0
  750. package/lib/node_modules/@pneuma/runtime-adapter/index.js +1 -0
  751. package/lib/node_modules/@pneuma/runtime-adapter/locale/en.json +4 -0
  752. package/lib/node_modules/@pneuma/runtime-adapter/package.json +38 -0
  753. package/lib/node_modules/@pneuma/runtime-api/cordis.patch.yml +4 -0
  754. package/lib/node_modules/@pneuma/runtime-api/index.d.ts +1 -0
  755. package/lib/node_modules/@pneuma/runtime-api/index.js +1 -0
  756. package/lib/node_modules/@pneuma/runtime-api/inspect.d.ts +1 -0
  757. package/lib/node_modules/@pneuma/runtime-api/inspect.js +1 -0
  758. package/lib/node_modules/@pneuma/runtime-api/locale/en.json +4 -0
  759. package/lib/node_modules/@pneuma/runtime-api/package.json +38 -0
  760. package/lib/node_modules/@pneuma/sandbox/backends.d.ts +1 -0
  761. package/lib/node_modules/@pneuma/sandbox/backends.js +1 -0
  762. package/lib/node_modules/@pneuma/sandbox/cordis.patch.yml +4 -0
  763. package/lib/node_modules/@pneuma/sandbox/execpolicy.d.ts +1 -0
  764. package/lib/node_modules/@pneuma/sandbox/execpolicy.js +1 -0
  765. package/lib/node_modules/@pneuma/sandbox/index.d.ts +1 -0
  766. package/lib/node_modules/@pneuma/sandbox/index.js +1 -0
  767. package/lib/node_modules/@pneuma/sandbox/locale/en.json +4 -0
  768. package/lib/node_modules/@pneuma/sandbox/locale/ui.en.json +78 -0
  769. package/lib/node_modules/@pneuma/sandbox/locale/ui.zh.json +78 -0
  770. package/lib/node_modules/@pneuma/sandbox/net-proxy.d.ts +1 -0
  771. package/lib/node_modules/@pneuma/sandbox/net-proxy.js +1 -0
  772. package/lib/node_modules/@pneuma/sandbox/package.json +40 -0
  773. package/lib/node_modules/@pneuma/sandbox/policy.d.ts +1 -0
  774. package/lib/node_modules/@pneuma/sandbox/policy.js +1 -0
  775. package/lib/node_modules/@pneuma/sandbox/review.d.ts +1 -0
  776. package/lib/node_modules/@pneuma/sandbox/review.js +1 -0
  777. package/lib/node_modules/@pneuma/sandbox/win/abi.d.ts +1 -0
  778. package/lib/node_modules/@pneuma/sandbox/win/abi.js +1 -0
  779. package/lib/node_modules/@pneuma/sandbox/win/account.d.ts +1 -0
  780. package/lib/node_modules/@pneuma/sandbox/win/account.js +1 -0
  781. package/lib/node_modules/@pneuma/sandbox/win/acl.d.ts +1 -0
  782. package/lib/node_modules/@pneuma/sandbox/win/acl.js +1 -0
  783. package/lib/node_modules/@pneuma/sandbox/win/backend.d.ts +1 -0
  784. package/lib/node_modules/@pneuma/sandbox/win/backend.js +1 -0
  785. package/lib/node_modules/@pneuma/sandbox/win/doctor.d.ts +1 -0
  786. package/lib/node_modules/@pneuma/sandbox/win/doctor.js +1 -0
  787. package/lib/node_modules/@pneuma/sandbox/win/ffi.d.ts +1 -0
  788. package/lib/node_modules/@pneuma/sandbox/win/ffi.js +1 -0
  789. package/lib/node_modules/@pneuma/sandbox/win/interpreter.d.ts +1 -0
  790. package/lib/node_modules/@pneuma/sandbox/win/interpreter.js +1 -0
  791. package/lib/node_modules/@pneuma/sandbox/win/net-abi.d.ts +1 -0
  792. package/lib/node_modules/@pneuma/sandbox/win/net-abi.js +1 -0
  793. package/lib/node_modules/@pneuma/sandbox/win/runner-entry.d.ts +1 -0
  794. package/lib/node_modules/@pneuma/sandbox/win/runner-entry.js +1 -0
  795. package/lib/node_modules/@pneuma/sandbox/win/setup.d.ts +1 -0
  796. package/lib/node_modules/@pneuma/sandbox/win/setup.js +1 -0
  797. package/lib/node_modules/@pneuma/sandbox/win/sweep.d.ts +1 -0
  798. package/lib/node_modules/@pneuma/sandbox/win/sweep.js +1 -0
  799. package/lib/node_modules/@pneuma/sandbox/win/token.d.ts +1 -0
  800. package/lib/node_modules/@pneuma/sandbox/win/token.js +1 -0
  801. package/lib/node_modules/@pneuma/sandbox/win/utf16.d.ts +1 -0
  802. package/lib/node_modules/@pneuma/sandbox/win/utf16.js +1 -0
  803. package/lib/node_modules/@pneuma/sandbox/win/wfp.d.ts +1 -0
  804. package/lib/node_modules/@pneuma/sandbox/win/wfp.js +1 -0
  805. package/lib/node_modules/@pneuma/sandbox/win/workspace-sid.d.ts +1 -0
  806. package/lib/node_modules/@pneuma/sandbox/win/workspace-sid.js +1 -0
  807. package/lib/node_modules/@pneuma/schedule/cordis.patch.yml +5 -0
  808. package/lib/node_modules/@pneuma/schedule/index.d.ts +1 -0
  809. package/lib/node_modules/@pneuma/schedule/index.js +1 -0
  810. package/lib/node_modules/@pneuma/schedule/locale/en.json +4 -0
  811. package/lib/node_modules/@pneuma/schedule/locale/ui.en.json +29 -0
  812. package/lib/node_modules/@pneuma/schedule/locale/ui.zh.json +29 -0
  813. package/lib/node_modules/@pneuma/schedule/package.json +40 -0
  814. package/lib/node_modules/@pneuma/self-improve/cordis.patch.yml +5 -0
  815. package/lib/node_modules/@pneuma/self-improve/index.d.ts +1 -0
  816. package/lib/node_modules/@pneuma/self-improve/index.js +1 -0
  817. package/lib/node_modules/@pneuma/self-improve/ledger.d.ts +1 -0
  818. package/lib/node_modules/@pneuma/self-improve/ledger.js +1 -0
  819. package/lib/node_modules/@pneuma/self-improve/locale/en.json +4 -0
  820. package/lib/node_modules/@pneuma/self-improve/locale/ui.en.json +31 -0
  821. package/lib/node_modules/@pneuma/self-improve/locale/ui.zh.json +31 -0
  822. package/lib/node_modules/@pneuma/self-improve/package.json +41 -0
  823. package/lib/node_modules/@pneuma/self-improve/skill-write.d.ts +1 -0
  824. package/lib/node_modules/@pneuma/self-improve/skill-write.js +1 -0
  825. package/lib/node_modules/@pneuma/self-improve/store.d.ts +1 -0
  826. package/lib/node_modules/@pneuma/self-improve/store.js +1 -0
  827. package/lib/node_modules/@pneuma/session/cordis.patch.yml +4 -0
  828. package/lib/node_modules/@pneuma/session/index.d.ts +1 -0
  829. package/lib/node_modules/@pneuma/session/index.js +1 -0
  830. package/lib/node_modules/@pneuma/session/locale/en.json +4 -0
  831. package/lib/node_modules/@pneuma/session/package.json +38 -0
  832. package/lib/node_modules/@pneuma/session-core/compact.d.ts +1 -0
  833. package/lib/node_modules/@pneuma/session-core/compact.js +1 -0
  834. package/lib/node_modules/@pneuma/session-core/hooks.d.ts +1 -0
  835. package/lib/node_modules/@pneuma/session-core/hooks.js +1 -0
  836. package/lib/node_modules/@pneuma/session-core/index.d.ts +1 -0
  837. package/lib/node_modules/@pneuma/session-core/index.js +1 -0
  838. package/lib/node_modules/@pneuma/session-core/locale/en.json +4 -0
  839. package/lib/node_modules/@pneuma/session-core/loop.d.ts +1 -0
  840. package/lib/node_modules/@pneuma/session-core/loop.js +1 -0
  841. package/lib/node_modules/@pneuma/session-core/modes.d.ts +1 -0
  842. package/lib/node_modules/@pneuma/session-core/modes.js +1 -0
  843. package/lib/node_modules/@pneuma/session-core/package.json +38 -0
  844. package/lib/node_modules/@pneuma/session-core/prompt.d.ts +1 -0
  845. package/lib/node_modules/@pneuma/session-core/prompt.js +1 -0
  846. package/lib/node_modules/@pneuma/session-search/cordis.patch.yml +4 -0
  847. package/lib/node_modules/@pneuma/session-search/index.d.ts +1 -0
  848. package/lib/node_modules/@pneuma/session-search/index.js +1 -0
  849. package/lib/node_modules/@pneuma/session-search/locale/en.json +4 -0
  850. package/lib/node_modules/@pneuma/session-search/locale/ui.en.json +29 -0
  851. package/lib/node_modules/@pneuma/session-search/locale/ui.zh.json +29 -0
  852. package/lib/node_modules/@pneuma/session-search/package.json +40 -0
  853. package/lib/node_modules/@pneuma/session-search/session-index.d.ts +1 -0
  854. package/lib/node_modules/@pneuma/session-search/session-index.js +1 -0
  855. package/lib/node_modules/@pneuma/session-title/cordis.patch.yml +4 -0
  856. package/lib/node_modules/@pneuma/session-title/index.d.ts +1 -0
  857. package/lib/node_modules/@pneuma/session-title/index.js +1 -0
  858. package/lib/node_modules/@pneuma/session-title/locale/en.json +4 -0
  859. package/lib/node_modules/@pneuma/session-title/package.json +38 -0
  860. package/lib/node_modules/@pneuma/settings/connection-test.d.ts +1 -0
  861. package/lib/node_modules/@pneuma/settings/connection-test.js +1 -0
  862. package/lib/node_modules/@pneuma/settings/cordis.patch.yml +4 -0
  863. package/lib/node_modules/@pneuma/settings/index.d.ts +1 -0
  864. package/lib/node_modules/@pneuma/settings/index.js +1 -0
  865. package/lib/node_modules/@pneuma/settings/locale/en.json +4 -0
  866. package/lib/node_modules/@pneuma/settings/locale/ui.en.json +94 -0
  867. package/lib/node_modules/@pneuma/settings/locale/ui.zh.json +94 -0
  868. package/lib/node_modules/@pneuma/settings/model-discovery.d.ts +1 -0
  869. package/lib/node_modules/@pneuma/settings/model-discovery.js +1 -0
  870. package/lib/node_modules/@pneuma/settings/package.json +38 -0
  871. package/lib/node_modules/@pneuma/skills/cordis.patch.yml +4 -0
  872. package/lib/node_modules/@pneuma/skills/index.d.ts +1 -0
  873. package/lib/node_modules/@pneuma/skills/index.js +1 -0
  874. package/lib/node_modules/@pneuma/skills/locale/en.json +4 -0
  875. package/lib/node_modules/@pneuma/skills/package.json +38 -0
  876. package/lib/node_modules/@pneuma/spill/cordis.patch.yml +4 -0
  877. package/lib/node_modules/@pneuma/spill/index.d.ts +1 -0
  878. package/lib/node_modules/@pneuma/spill/index.js +1 -0
  879. package/lib/node_modules/@pneuma/spill/locale/en.json +4 -0
  880. package/lib/node_modules/@pneuma/spill/locale/ui.en.json +31 -0
  881. package/lib/node_modules/@pneuma/spill/locale/ui.zh.json +31 -0
  882. package/lib/node_modules/@pneuma/spill/package.json +40 -0
  883. package/lib/node_modules/@pneuma/subagent/agent-roles.d.ts +1 -0
  884. package/lib/node_modules/@pneuma/subagent/agent-roles.js +1 -0
  885. package/lib/node_modules/@pneuma/subagent/board-snapshot.d.ts +1 -0
  886. package/lib/node_modules/@pneuma/subagent/board-snapshot.js +1 -0
  887. package/lib/node_modules/@pneuma/subagent/cordis.patch.yml +5 -0
  888. package/lib/node_modules/@pneuma/subagent/index.d.ts +1 -0
  889. package/lib/node_modules/@pneuma/subagent/index.js +1 -0
  890. package/lib/node_modules/@pneuma/subagent/locale/en.json +4 -0
  891. package/lib/node_modules/@pneuma/subagent/locale/ui.en.json +51 -0
  892. package/lib/node_modules/@pneuma/subagent/locale/ui.zh.json +51 -0
  893. package/lib/node_modules/@pneuma/subagent/package.json +40 -0
  894. package/lib/node_modules/@pneuma/superagent/app/api.d.ts +1 -0
  895. package/lib/node_modules/@pneuma/superagent/app/api.js +1 -0
  896. package/lib/node_modules/@pneuma/superagent/app/assessment.d.ts +1 -0
  897. package/lib/node_modules/@pneuma/superagent/app/assessment.js +1 -0
  898. package/lib/node_modules/@pneuma/superagent/app/cache.d.ts +1 -0
  899. package/lib/node_modules/@pneuma/superagent/app/cache.js +1 -0
  900. package/lib/node_modules/@pneuma/superagent/app/cards.d.ts +1 -0
  901. package/lib/node_modules/@pneuma/superagent/app/cards.js +1 -0
  902. package/lib/node_modules/@pneuma/superagent/app/context.d.ts +1 -0
  903. package/lib/node_modules/@pneuma/superagent/app/context.js +1 -0
  904. package/lib/node_modules/@pneuma/superagent/app/delivery.d.ts +1 -0
  905. package/lib/node_modules/@pneuma/superagent/app/delivery.js +1 -0
  906. package/lib/node_modules/@pneuma/superagent/app/effects.d.ts +1 -0
  907. package/lib/node_modules/@pneuma/superagent/app/effects.js +1 -0
  908. package/lib/node_modules/@pneuma/superagent/app/execution-environment.d.ts +1 -0
  909. package/lib/node_modules/@pneuma/superagent/app/execution-environment.js +1 -0
  910. package/lib/node_modules/@pneuma/superagent/app/links.d.ts +1 -0
  911. package/lib/node_modules/@pneuma/superagent/app/links.js +1 -0
  912. package/lib/node_modules/@pneuma/superagent/app/migration.d.ts +1 -0
  913. package/lib/node_modules/@pneuma/superagent/app/migration.js +1 -0
  914. package/lib/node_modules/@pneuma/superagent/app/notices.d.ts +1 -0
  915. package/lib/node_modules/@pneuma/superagent/app/notices.js +1 -0
  916. package/lib/node_modules/@pneuma/superagent/app/outbox.d.ts +1 -0
  917. package/lib/node_modules/@pneuma/superagent/app/outbox.js +1 -0
  918. package/lib/node_modules/@pneuma/superagent/app/passes.d.ts +1 -0
  919. package/lib/node_modules/@pneuma/superagent/app/passes.js +1 -0
  920. package/lib/node_modules/@pneuma/superagent/app/prompts.d.ts +1 -0
  921. package/lib/node_modules/@pneuma/superagent/app/prompts.js +1 -0
  922. package/lib/node_modules/@pneuma/superagent/app/resources.d.ts +1 -0
  923. package/lib/node_modules/@pneuma/superagent/app/resources.js +1 -0
  924. package/lib/node_modules/@pneuma/superagent/app/retry-health.d.ts +1 -0
  925. package/lib/node_modules/@pneuma/superagent/app/retry-health.js +1 -0
  926. package/lib/node_modules/@pneuma/superagent/app/role-models.d.ts +1 -0
  927. package/lib/node_modules/@pneuma/superagent/app/role-models.js +1 -0
  928. package/lib/node_modules/@pneuma/superagent/app/runtime.d.ts +1 -0
  929. package/lib/node_modules/@pneuma/superagent/app/runtime.js +1 -0
  930. package/lib/node_modules/@pneuma/superagent/app/sessions.d.ts +1 -0
  931. package/lib/node_modules/@pneuma/superagent/app/sessions.js +1 -0
  932. package/lib/node_modules/@pneuma/superagent/app/settings-history.d.ts +1 -0
  933. package/lib/node_modules/@pneuma/superagent/app/settings-history.js +1 -0
  934. package/lib/node_modules/@pneuma/superagent/app/settings.d.ts +1 -0
  935. package/lib/node_modules/@pneuma/superagent/app/settings.js +1 -0
  936. package/lib/node_modules/@pneuma/superagent/app/setup.d.ts +1 -0
  937. package/lib/node_modules/@pneuma/superagent/app/setup.js +1 -0
  938. package/lib/node_modules/@pneuma/superagent/app/skill-files.d.ts +1 -0
  939. package/lib/node_modules/@pneuma/superagent/app/skill-files.js +1 -0
  940. package/lib/node_modules/@pneuma/superagent/app/source-context.d.ts +1 -0
  941. package/lib/node_modules/@pneuma/superagent/app/source-context.js +1 -0
  942. package/lib/node_modules/@pneuma/superagent/app/store-read.d.ts +1 -0
  943. package/lib/node_modules/@pneuma/superagent/app/store-read.js +1 -0
  944. package/lib/node_modules/@pneuma/superagent/app/store.d.ts +1 -0
  945. package/lib/node_modules/@pneuma/superagent/app/store.js +1 -0
  946. package/lib/node_modules/@pneuma/superagent/app/tools/executor.d.ts +1 -0
  947. package/lib/node_modules/@pneuma/superagent/app/tools/executor.js +1 -0
  948. package/lib/node_modules/@pneuma/superagent/app/tools/main.d.ts +1 -0
  949. package/lib/node_modules/@pneuma/superagent/app/tools/main.js +1 -0
  950. package/lib/node_modules/@pneuma/superagent/app/tools/tool.d.ts +1 -0
  951. package/lib/node_modules/@pneuma/superagent/app/tools/tool.js +1 -0
  952. package/lib/node_modules/@pneuma/superagent/app/versions.d.ts +1 -0
  953. package/lib/node_modules/@pneuma/superagent/app/versions.js +1 -0
  954. package/lib/node_modules/@pneuma/superagent/app/views/overview.d.ts +1 -0
  955. package/lib/node_modules/@pneuma/superagent/app/views/overview.js +1 -0
  956. package/lib/node_modules/@pneuma/superagent/app/views/records.d.ts +1 -0
  957. package/lib/node_modules/@pneuma/superagent/app/views/records.js +1 -0
  958. package/lib/node_modules/@pneuma/superagent/app/views/settings.d.ts +1 -0
  959. package/lib/node_modules/@pneuma/superagent/app/views/settings.js +1 -0
  960. package/lib/node_modules/@pneuma/superagent/app/views/sources.d.ts +1 -0
  961. package/lib/node_modules/@pneuma/superagent/app/views/sources.js +1 -0
  962. package/lib/node_modules/@pneuma/superagent/app/views/text.d.ts +1 -0
  963. package/lib/node_modules/@pneuma/superagent/app/views/text.js +1 -0
  964. package/lib/node_modules/@pneuma/superagent/app/views/threads.d.ts +1 -0
  965. package/lib/node_modules/@pneuma/superagent/app/views/threads.js +1 -0
  966. package/lib/node_modules/@pneuma/superagent/app/views/tickets.d.ts +1 -0
  967. package/lib/node_modules/@pneuma/superagent/app/views/tickets.js +1 -0
  968. package/lib/node_modules/@pneuma/superagent/cordis.patch.yml +7 -0
  969. package/lib/node_modules/@pneuma/superagent/core/admission.d.ts +1 -0
  970. package/lib/node_modules/@pneuma/superagent/core/admission.js +1 -0
  971. package/lib/node_modules/@pneuma/superagent/core/assignments.d.ts +1 -0
  972. package/lib/node_modules/@pneuma/superagent/core/assignments.js +1 -0
  973. package/lib/node_modules/@pneuma/superagent/core/engine.d.ts +1 -0
  974. package/lib/node_modules/@pneuma/superagent/core/engine.js +1 -0
  975. package/lib/node_modules/@pneuma/superagent/core/errors.d.ts +1 -0
  976. package/lib/node_modules/@pneuma/superagent/core/errors.js +1 -0
  977. package/lib/node_modules/@pneuma/superagent/core/evals.d.ts +1 -0
  978. package/lib/node_modules/@pneuma/superagent/core/evals.js +1 -0
  979. package/lib/node_modules/@pneuma/superagent/core/ids.d.ts +1 -0
  980. package/lib/node_modules/@pneuma/superagent/core/ids.js +1 -0
  981. package/lib/node_modules/@pneuma/superagent/core/index.d.ts +1 -0
  982. package/lib/node_modules/@pneuma/superagent/core/index.js +1 -0
  983. package/lib/node_modules/@pneuma/superagent/core/intake.d.ts +1 -0
  984. package/lib/node_modules/@pneuma/superagent/core/intake.js +1 -0
  985. package/lib/node_modules/@pneuma/superagent/core/limits.d.ts +1 -0
  986. package/lib/node_modules/@pneuma/superagent/core/limits.js +1 -0
  987. package/lib/node_modules/@pneuma/superagent/core/memory.d.ts +1 -0
  988. package/lib/node_modules/@pneuma/superagent/core/memory.js +1 -0
  989. package/lib/node_modules/@pneuma/superagent/core/model.d.ts +1 -0
  990. package/lib/node_modules/@pneuma/superagent/core/model.js +1 -0
  991. package/lib/node_modules/@pneuma/superagent/core/part.d.ts +1 -0
  992. package/lib/node_modules/@pneuma/superagent/core/part.js +1 -0
  993. package/lib/node_modules/@pneuma/superagent/core/policy.d.ts +1 -0
  994. package/lib/node_modules/@pneuma/superagent/core/policy.js +1 -0
  995. package/lib/node_modules/@pneuma/superagent/core/ports.d.ts +1 -0
  996. package/lib/node_modules/@pneuma/superagent/core/ports.js +1 -0
  997. package/lib/node_modules/@pneuma/superagent/core/reasons.d.ts +1 -0
  998. package/lib/node_modules/@pneuma/superagent/core/reasons.js +1 -0
  999. package/lib/node_modules/@pneuma/superagent/core/replies.d.ts +1 -0
  1000. package/lib/node_modules/@pneuma/superagent/core/replies.js +1 -0
  1001. package/lib/node_modules/@pneuma/superagent/core/stage.d.ts +1 -0
  1002. package/lib/node_modules/@pneuma/superagent/core/stage.js +1 -0
  1003. package/lib/node_modules/@pneuma/superagent/core/tickets.d.ts +1 -0
  1004. package/lib/node_modules/@pneuma/superagent/core/tickets.js +1 -0
  1005. package/lib/node_modules/@pneuma/superagent/deployment.d.ts +1 -0
  1006. package/lib/node_modules/@pneuma/superagent/deployment.js +1 -0
  1007. package/lib/node_modules/@pneuma/superagent/executor/background.d.ts +1 -0
  1008. package/lib/node_modules/@pneuma/superagent/executor/background.js +1 -0
  1009. package/lib/node_modules/@pneuma/superagent/executor/dsh.d.ts +1 -0
  1010. package/lib/node_modules/@pneuma/superagent/executor/dsh.js +1 -0
  1011. package/lib/node_modules/@pneuma/superagent/host/command.d.ts +1 -0
  1012. package/lib/node_modules/@pneuma/superagent/host/command.js +1 -0
  1013. package/lib/node_modules/@pneuma/superagent/host/health.d.ts +1 -0
  1014. package/lib/node_modules/@pneuma/superagent/host/health.js +1 -0
  1015. package/lib/node_modules/@pneuma/superagent/host/settings-section.d.ts +1 -0
  1016. package/lib/node_modules/@pneuma/superagent/host/settings-section.js +1 -0
  1017. package/lib/node_modules/@pneuma/superagent/index.d.ts +1 -0
  1018. package/lib/node_modules/@pneuma/superagent/index.js +1 -0
  1019. package/lib/node_modules/@pneuma/superagent/infra/commands.d.ts +1 -0
  1020. package/lib/node_modules/@pneuma/superagent/infra/commands.js +1 -0
  1021. package/lib/node_modules/@pneuma/superagent/infra/environment.d.ts +1 -0
  1022. package/lib/node_modules/@pneuma/superagent/infra/environment.js +1 -0
  1023. package/lib/node_modules/@pneuma/superagent/infra/health.d.ts +1 -0
  1024. package/lib/node_modules/@pneuma/superagent/infra/health.js +1 -0
  1025. package/lib/node_modules/@pneuma/superagent/infra/text.d.ts +1 -0
  1026. package/lib/node_modules/@pneuma/superagent/infra/text.js +1 -0
  1027. package/lib/node_modules/@pneuma/superagent/kv.d.ts +1 -0
  1028. package/lib/node_modules/@pneuma/superagent/kv.js +1 -0
  1029. package/lib/node_modules/@pneuma/superagent/locale/en.json +4 -0
  1030. package/lib/node_modules/@pneuma/superagent/locale/ui.en.json +26 -0
  1031. package/lib/node_modules/@pneuma/superagent/locale/ui.zh.json +26 -0
  1032. package/lib/node_modules/@pneuma/superagent/package.json +46 -0
  1033. package/lib/node_modules/@pneuma/superagent/paths.d.ts +1 -0
  1034. package/lib/node_modules/@pneuma/superagent/paths.js +1 -0
  1035. package/lib/node_modules/@pneuma/superagent/prompts/admission.md +68 -0
  1036. package/lib/node_modules/@pneuma/superagent/prompts/cli.md +17 -0
  1037. package/lib/node_modules/@pneuma/superagent/prompts/dispatch.md +59 -0
  1038. package/lib/node_modules/@pneuma/superagent/prompts/handoff-orchestrator.md +4 -0
  1039. package/lib/node_modules/@pneuma/superagent/prompts/handoff-worker.md +7 -0
  1040. package/lib/node_modules/@pneuma/superagent/prompts/handoff.md +6 -0
  1041. package/lib/node_modules/@pneuma/superagent/prompts/orchestrator.md +16 -0
  1042. package/lib/node_modules/@pneuma/superagent/prompts/replies.md +35 -0
  1043. package/lib/node_modules/@pneuma/superagent/prompts/shared.md +7 -0
  1044. package/lib/node_modules/@pneuma/superagent/prompts/subscriptions.md +13 -0
  1045. package/lib/node_modules/@pneuma/superagent/prompts/team/communication.md +97 -0
  1046. package/lib/node_modules/@pneuma/superagent/prompts/team/delivery.md +28 -0
  1047. package/lib/node_modules/@pneuma/superagent/prompts/team/scope.md +22 -0
  1048. package/lib/node_modules/@pneuma/superagent/prompts/work.md +49 -0
  1049. package/lib/node_modules/@pneuma/superagent/prompts/worker.md +10 -0
  1050. package/lib/node_modules/@pneuma/superagent/setup.d.ts +1 -0
  1051. package/lib/node_modules/@pneuma/superagent/setup.js +1 -0
  1052. package/lib/node_modules/@pneuma/superagent/skills/dsh-superagent-feishu/SKILL.md +12 -0
  1053. package/lib/node_modules/@pneuma/superagent/skills/dsh-superagent-github/SKILL.md +14 -0
  1054. package/lib/node_modules/@pneuma/superagent/sources/admission-context.d.ts +1 -0
  1055. package/lib/node_modules/@pneuma/superagent/sources/admission-context.js +1 -0
  1056. package/lib/node_modules/@pneuma/superagent/sources/feishu-channel.d.ts +1 -0
  1057. package/lib/node_modules/@pneuma/superagent/sources/feishu-channel.js +1 -0
  1058. package/lib/node_modules/@pneuma/superagent/sources/feishu-image.d.ts +1 -0
  1059. package/lib/node_modules/@pneuma/superagent/sources/feishu-image.js +1 -0
  1060. package/lib/node_modules/@pneuma/superagent/sources/feishu-loops.d.ts +1 -0
  1061. package/lib/node_modules/@pneuma/superagent/sources/feishu-loops.js +1 -0
  1062. package/lib/node_modules/@pneuma/superagent/sources/feishu-read.d.ts +1 -0
  1063. package/lib/node_modules/@pneuma/superagent/sources/feishu-read.js +1 -0
  1064. package/lib/node_modules/@pneuma/superagent/sources/feishu-trigger.d.ts +1 -0
  1065. package/lib/node_modules/@pneuma/superagent/sources/feishu-trigger.js +1 -0
  1066. package/lib/node_modules/@pneuma/superagent/sources/feishu.d.ts +1 -0
  1067. package/lib/node_modules/@pneuma/superagent/sources/feishu.js +1 -0
  1068. package/lib/node_modules/@pneuma/superagent/sources/github-channel.d.ts +1 -0
  1069. package/lib/node_modules/@pneuma/superagent/sources/github-channel.js +1 -0
  1070. package/lib/node_modules/@pneuma/superagent/sources/github-pull.d.ts +1 -0
  1071. package/lib/node_modules/@pneuma/superagent/sources/github-pull.js +1 -0
  1072. package/lib/node_modules/@pneuma/superagent/sources/github-read.d.ts +1 -0
  1073. package/lib/node_modules/@pneuma/superagent/sources/github-read.js +1 -0
  1074. package/lib/node_modules/@pneuma/superagent/sources/github-trigger.d.ts +1 -0
  1075. package/lib/node_modules/@pneuma/superagent/sources/github-trigger.js +1 -0
  1076. package/lib/node_modules/@pneuma/superagent/sources/github.d.ts +1 -0
  1077. package/lib/node_modules/@pneuma/superagent/sources/github.js +1 -0
  1078. package/lib/node_modules/@pneuma/superagent/sources/host.d.ts +1 -0
  1079. package/lib/node_modules/@pneuma/superagent/sources/host.js +1 -0
  1080. package/lib/node_modules/@pneuma/superagent/sources/kind.d.ts +1 -0
  1081. package/lib/node_modules/@pneuma/superagent/sources/kind.js +1 -0
  1082. package/lib/node_modules/@pneuma/superagent/sources/poll.d.ts +1 -0
  1083. package/lib/node_modules/@pneuma/superagent/sources/poll.js +1 -0
  1084. package/lib/node_modules/@pneuma/superagent/sources/registry.d.ts +1 -0
  1085. package/lib/node_modules/@pneuma/superagent/sources/registry.js +1 -0
  1086. package/lib/node_modules/@pneuma/superagent-webhook/cordis.patch.yml +9 -0
  1087. package/lib/node_modules/@pneuma/superagent-webhook/index.d.ts +1 -0
  1088. package/lib/node_modules/@pneuma/superagent-webhook/index.js +1 -0
  1089. package/lib/node_modules/@pneuma/superagent-webhook/locale/en.json +4 -0
  1090. package/lib/node_modules/@pneuma/superagent-webhook/package.json +39 -0
  1091. package/lib/node_modules/@pneuma/superagent-webhook/tests/settings-contract.d.ts +1 -0
  1092. package/lib/node_modules/@pneuma/superagent-webhook/tests/settings-contract.js +1 -0
  1093. package/lib/node_modules/@pneuma/superagent-webhook/webhook.d.ts +1 -0
  1094. package/lib/node_modules/@pneuma/superagent-webhook/webhook.js +1 -0
  1095. package/lib/node_modules/@pneuma/surfaces/cordis.patch.yml +4 -0
  1096. package/lib/node_modules/@pneuma/surfaces/index.d.ts +1 -0
  1097. package/lib/node_modules/@pneuma/surfaces/index.js +1 -0
  1098. package/lib/node_modules/@pneuma/surfaces/locale/en.json +4 -0
  1099. package/lib/node_modules/@pneuma/surfaces/package.json +38 -0
  1100. package/lib/node_modules/@pneuma/surfaces/surface-registry.d.ts +1 -0
  1101. package/lib/node_modules/@pneuma/surfaces/surface-registry.js +1 -0
  1102. package/lib/node_modules/@pneuma/todo/cordis.patch.yml +4 -0
  1103. package/lib/node_modules/@pneuma/todo/index.d.ts +1 -0
  1104. package/lib/node_modules/@pneuma/todo/index.js +1 -0
  1105. package/lib/node_modules/@pneuma/todo/locale/en.json +4 -0
  1106. package/lib/node_modules/@pneuma/todo/locale/ui.en.json +11 -0
  1107. package/lib/node_modules/@pneuma/todo/locale/ui.zh.json +11 -0
  1108. package/lib/node_modules/@pneuma/todo/package.json +39 -0
  1109. package/lib/node_modules/@pneuma/todo/todo.d.ts +1 -0
  1110. package/lib/node_modules/@pneuma/todo/todo.js +1 -0
  1111. package/lib/node_modules/@pneuma/tool-search/cordis.patch.yml +5 -0
  1112. package/lib/node_modules/@pneuma/tool-search/index.d.ts +1 -0
  1113. package/lib/node_modules/@pneuma/tool-search/index.js +1 -0
  1114. package/lib/node_modules/@pneuma/tool-search/locale/en.json +4 -0
  1115. package/lib/node_modules/@pneuma/tool-search/locale/ui.en.json +36 -0
  1116. package/lib/node_modules/@pneuma/tool-search/locale/ui.zh.json +36 -0
  1117. package/lib/node_modules/@pneuma/tool-search/package.json +40 -0
  1118. package/lib/node_modules/@pneuma/tool-search/tool-search.d.ts +1 -0
  1119. package/lib/node_modules/@pneuma/tool-search/tool-search.js +1 -0
  1120. package/lib/node_modules/@pneuma/tools/cordis.patch.yml +4 -0
  1121. package/lib/node_modules/@pneuma/tools/index.d.ts +1 -0
  1122. package/lib/node_modules/@pneuma/tools/index.js +1 -0
  1123. package/lib/node_modules/@pneuma/tools/locale/en.json +4 -0
  1124. package/lib/node_modules/@pneuma/tools/package.json +38 -0
  1125. package/lib/node_modules/@pneuma/tools-default/bash.d.ts +1 -0
  1126. package/lib/node_modules/@pneuma/tools-default/bash.js +1 -0
  1127. package/lib/node_modules/@pneuma/tools-default/cordis.patch.yml +4 -0
  1128. package/lib/node_modules/@pneuma/tools-default/image-tool.d.ts +1 -0
  1129. package/lib/node_modules/@pneuma/tools-default/image-tool.js +1 -0
  1130. package/lib/node_modules/@pneuma/tools-default/index.d.ts +1 -0
  1131. package/lib/node_modules/@pneuma/tools-default/index.js +1 -0
  1132. package/lib/node_modules/@pneuma/tools-default/locale/en.json +4 -0
  1133. package/lib/node_modules/@pneuma/tools-default/locale/ui.en.json +27 -0
  1134. package/lib/node_modules/@pneuma/tools-default/locale/ui.zh.json +27 -0
  1135. package/lib/node_modules/@pneuma/tools-default/package.json +39 -0
  1136. package/lib/node_modules/@pneuma/tools-default/persistent-shell.d.ts +1 -0
  1137. package/lib/node_modules/@pneuma/tools-default/persistent-shell.js +1 -0
  1138. package/lib/node_modules/@pneuma/tools-default/search-tools.d.ts +1 -0
  1139. package/lib/node_modules/@pneuma/tools-default/search-tools.js +1 -0
  1140. package/lib/node_modules/@pneuma/transcript/cordis.patch.yml +4 -0
  1141. package/lib/node_modules/@pneuma/transcript/index.d.ts +1 -0
  1142. package/lib/node_modules/@pneuma/transcript/index.js +1 -0
  1143. package/lib/node_modules/@pneuma/transcript/locale/en.json +4 -0
  1144. package/lib/node_modules/@pneuma/transcript/package.json +38 -0
  1145. package/lib/node_modules/@pneuma/tui/app/AgentsOverlay.d.ts +1 -0
  1146. package/lib/node_modules/@pneuma/tui/app/AgentsOverlay.js +1 -0
  1147. package/lib/node_modules/@pneuma/tui/app/App.d.ts +1 -0
  1148. package/lib/node_modules/@pneuma/tui/app/App.js +1 -0
  1149. package/lib/node_modules/@pneuma/tui/app/ApprovalCard.d.ts +1 -0
  1150. package/lib/node_modules/@pneuma/tui/app/ApprovalCard.js +1 -0
  1151. package/lib/node_modules/@pneuma/tui/app/AskCard.d.ts +1 -0
  1152. package/lib/node_modules/@pneuma/tui/app/AskCard.js +1 -0
  1153. package/lib/node_modules/@pneuma/tui/app/ChatView.d.ts +1 -0
  1154. package/lib/node_modules/@pneuma/tui/app/ChatView.js +1 -0
  1155. package/lib/node_modules/@pneuma/tui/app/Composer.d.ts +1 -0
  1156. package/lib/node_modules/@pneuma/tui/app/Composer.js +1 -0
  1157. package/lib/node_modules/@pneuma/tui/app/DiffBlock.d.ts +1 -0
  1158. package/lib/node_modules/@pneuma/tui/app/DiffBlock.js +1 -0
  1159. package/lib/node_modules/@pneuma/tui/app/MarkdownView.d.ts +1 -0
  1160. package/lib/node_modules/@pneuma/tui/app/MarkdownView.js +1 -0
  1161. package/lib/node_modules/@pneuma/tui/app/ModelPicker.d.ts +1 -0
  1162. package/lib/node_modules/@pneuma/tui/app/ModelPicker.js +1 -0
  1163. package/lib/node_modules/@pneuma/tui/app/PickerFrame.d.ts +1 -0
  1164. package/lib/node_modules/@pneuma/tui/app/PickerFrame.js +1 -0
  1165. package/lib/node_modules/@pneuma/tui/app/PlanReviewCard.d.ts +1 -0
  1166. package/lib/node_modules/@pneuma/tui/app/PlanReviewCard.js +1 -0
  1167. package/lib/node_modules/@pneuma/tui/app/PresetPicker.d.ts +1 -0
  1168. package/lib/node_modules/@pneuma/tui/app/PresetPicker.js +1 -0
  1169. package/lib/node_modules/@pneuma/tui/app/PreviewOverlay.d.ts +1 -0
  1170. package/lib/node_modules/@pneuma/tui/app/PreviewOverlay.js +1 -0
  1171. package/lib/node_modules/@pneuma/tui/app/SessionPicker.d.ts +1 -0
  1172. package/lib/node_modules/@pneuma/tui/app/SessionPicker.js +1 -0
  1173. package/lib/node_modules/@pneuma/tui/app/SettingsOverlay.d.ts +1 -0
  1174. package/lib/node_modules/@pneuma/tui/app/SettingsOverlay.js +1 -0
  1175. package/lib/node_modules/@pneuma/tui/app/SkillsPicker.d.ts +1 -0
  1176. package/lib/node_modules/@pneuma/tui/app/SkillsPicker.js +1 -0
  1177. package/lib/node_modules/@pneuma/tui/app/StatusBar.d.ts +1 -0
  1178. package/lib/node_modules/@pneuma/tui/app/StatusBar.js +1 -0
  1179. package/lib/node_modules/@pneuma/tui/app/TaskStrips.d.ts +1 -0
  1180. package/lib/node_modules/@pneuma/tui/app/TaskStrips.js +1 -0
  1181. package/lib/node_modules/@pneuma/tui/app/TimelineRail.d.ts +1 -0
  1182. package/lib/node_modules/@pneuma/tui/app/TimelineRail.js +1 -0
  1183. package/lib/node_modules/@pneuma/tui/app/ToolCard.d.ts +1 -0
  1184. package/lib/node_modules/@pneuma/tui/app/ToolCard.js +1 -0
  1185. package/lib/node_modules/@pneuma/tui/app/TranscriptOverlay.d.ts +1 -0
  1186. package/lib/node_modules/@pneuma/tui/app/TranscriptOverlay.js +1 -0
  1187. package/lib/node_modules/@pneuma/tui/app/TranscriptViewport.d.ts +1 -0
  1188. package/lib/node_modules/@pneuma/tui/app/TranscriptViewport.js +1 -0
  1189. package/lib/node_modules/@pneuma/tui/app/Welcome.d.ts +1 -0
  1190. package/lib/node_modules/@pneuma/tui/app/Welcome.js +1 -0
  1191. package/lib/node_modules/@pneuma/tui/app/attach.d.ts +1 -0
  1192. package/lib/node_modules/@pneuma/tui/app/attach.js +1 -0
  1193. package/lib/node_modules/@pneuma/tui/app/click.d.ts +1 -0
  1194. package/lib/node_modules/@pneuma/tui/app/click.js +1 -0
  1195. package/lib/node_modules/@pneuma/tui/app/clipboard-image.d.ts +1 -0
  1196. package/lib/node_modules/@pneuma/tui/app/clipboard-image.js +1 -0
  1197. package/lib/node_modules/@pneuma/tui/app/cursor.d.ts +1 -0
  1198. package/lib/node_modules/@pneuma/tui/app/cursor.js +1 -0
  1199. package/lib/node_modules/@pneuma/tui/app/display-width.d.ts +1 -0
  1200. package/lib/node_modules/@pneuma/tui/app/display-width.js +1 -0
  1201. package/lib/node_modules/@pneuma/tui/app/history-store.d.ts +1 -0
  1202. package/lib/node_modules/@pneuma/tui/app/history-store.js +1 -0
  1203. package/lib/node_modules/@pneuma/tui/app/image-blocks.d.ts +1 -0
  1204. package/lib/node_modules/@pneuma/tui/app/image-blocks.js +1 -0
  1205. package/lib/node_modules/@pneuma/tui/app/keymap.d.ts +1 -0
  1206. package/lib/node_modules/@pneuma/tui/app/keymap.js +1 -0
  1207. package/lib/node_modules/@pneuma/tui/app/markdown.d.ts +1 -0
  1208. package/lib/node_modules/@pneuma/tui/app/markdown.js +1 -0
  1209. package/lib/node_modules/@pneuma/tui/app/mouse.d.ts +1 -0
  1210. package/lib/node_modules/@pneuma/tui/app/mouse.js +1 -0
  1211. package/lib/node_modules/@pneuma/tui/app/pointer.d.ts +1 -0
  1212. package/lib/node_modules/@pneuma/tui/app/pointer.js +1 -0
  1213. package/lib/node_modules/@pneuma/tui/app/scroll-model.d.ts +1 -0
  1214. package/lib/node_modules/@pneuma/tui/app/scroll-model.js +1 -0
  1215. package/lib/node_modules/@pneuma/tui/app/settings-model.d.ts +1 -0
  1216. package/lib/node_modules/@pneuma/tui/app/settings-model.js +1 -0
  1217. package/lib/node_modules/@pneuma/tui/app/snapshot-subscribe.d.ts +1 -0
  1218. package/lib/node_modules/@pneuma/tui/app/snapshot-subscribe.js +1 -0
  1219. package/lib/node_modules/@pneuma/tui/app/theme.d.ts +1 -0
  1220. package/lib/node_modules/@pneuma/tui/app/theme.js +1 -0
  1221. package/lib/node_modules/@pneuma/tui/app/ticker.d.ts +1 -0
  1222. package/lib/node_modules/@pneuma/tui/app/ticker.js +1 -0
  1223. package/lib/node_modules/@pneuma/tui/cordis.patch.yml +4 -0
  1224. package/lib/node_modules/@pneuma/tui/index.d.ts +1 -0
  1225. package/lib/node_modules/@pneuma/tui/index.js +1 -0
  1226. package/lib/node_modules/@pneuma/tui/locale/en.json +4 -0
  1227. package/lib/node_modules/@pneuma/tui/package.json +38 -0
  1228. package/lib/node_modules/@pneuma/ui-actions/cordis.patch.yml +5 -0
  1229. package/lib/node_modules/@pneuma/ui-actions/index.d.ts +1 -0
  1230. package/lib/node_modules/@pneuma/ui-actions/index.js +1 -0
  1231. package/lib/node_modules/@pneuma/ui-actions/locale/en.json +4 -0
  1232. package/lib/node_modules/@pneuma/ui-actions/locale/ui.en.json +3 -0
  1233. package/lib/node_modules/@pneuma/ui-actions/locale/ui.zh.json +3 -0
  1234. package/lib/node_modules/@pneuma/ui-actions/package.json +43 -0
  1235. package/lib/node_modules/@pneuma/ui-ask/cordis.patch.yml +5 -0
  1236. package/lib/node_modules/@pneuma/ui-ask/index.d.ts +1 -0
  1237. package/lib/node_modules/@pneuma/ui-ask/index.js +1 -0
  1238. package/lib/node_modules/@pneuma/ui-ask/locale/en.json +4 -0
  1239. package/lib/node_modules/@pneuma/ui-ask/locale/ui.en.json +28 -0
  1240. package/lib/node_modules/@pneuma/ui-ask/locale/ui.zh.json +28 -0
  1241. package/lib/node_modules/@pneuma/ui-ask/package.json +43 -0
  1242. package/lib/node_modules/@pneuma/ui-boot/index.d.ts +1 -0
  1243. package/lib/node_modules/@pneuma/ui-boot/index.js +1 -0
  1244. package/lib/node_modules/@pneuma/ui-boot/locale/en.json +4 -0
  1245. package/lib/node_modules/@pneuma/ui-boot/locale/ui.en.json +28 -0
  1246. package/lib/node_modules/@pneuma/ui-boot/locale/ui.zh.json +28 -0
  1247. package/lib/node_modules/@pneuma/ui-boot/package.json +38 -0
  1248. package/lib/node_modules/@pneuma/ui-browser/cordis.patch.yml +5 -0
  1249. package/lib/node_modules/@pneuma/ui-browser/index.d.ts +1 -0
  1250. package/lib/node_modules/@pneuma/ui-browser/index.js +1 -0
  1251. package/lib/node_modules/@pneuma/ui-browser/locale/en.json +4 -0
  1252. package/lib/node_modules/@pneuma/ui-browser/locale/ui.en.json +17 -0
  1253. package/lib/node_modules/@pneuma/ui-browser/locale/ui.zh.json +17 -0
  1254. package/lib/node_modules/@pneuma/ui-browser/package.json +43 -0
  1255. package/lib/node_modules/@pneuma/ui-composer/cordis.patch.yml +5 -0
  1256. package/lib/node_modules/@pneuma/ui-composer/index.d.ts +1 -0
  1257. package/lib/node_modules/@pneuma/ui-composer/index.js +1 -0
  1258. package/lib/node_modules/@pneuma/ui-composer/locale/en.json +4 -0
  1259. package/lib/node_modules/@pneuma/ui-composer/locale/ui.en.json +161 -0
  1260. package/lib/node_modules/@pneuma/ui-composer/locale/ui.zh.json +161 -0
  1261. package/lib/node_modules/@pneuma/ui-composer/package.json +44 -0
  1262. package/lib/node_modules/@pneuma/ui-core/arrival.d.ts +1 -0
  1263. package/lib/node_modules/@pneuma/ui-core/arrival.js +1 -0
  1264. package/lib/node_modules/@pneuma/ui-core/frames.d.ts +1 -0
  1265. package/lib/node_modules/@pneuma/ui-core/frames.js +1 -0
  1266. package/lib/node_modules/@pneuma/ui-core/i18n.d.ts +1 -0
  1267. package/lib/node_modules/@pneuma/ui-core/i18n.js +1 -0
  1268. package/lib/node_modules/@pneuma/ui-core/index.d.ts +1 -0
  1269. package/lib/node_modules/@pneuma/ui-core/index.js +1 -0
  1270. package/lib/node_modules/@pneuma/ui-core/locale/en.json +4 -0
  1271. package/lib/node_modules/@pneuma/ui-core/package.json +37 -0
  1272. package/lib/node_modules/@pneuma/ui-core/plugin.d.ts +1 -0
  1273. package/lib/node_modules/@pneuma/ui-core/plugin.js +1 -0
  1274. package/lib/node_modules/@pneuma/ui-core/scoped-slots.d.ts +1 -0
  1275. package/lib/node_modules/@pneuma/ui-core/scoped-slots.js +1 -0
  1276. package/lib/node_modules/@pneuma/ui-core/services-react.d.ts +1 -0
  1277. package/lib/node_modules/@pneuma/ui-core/services-react.js +1 -0
  1278. package/lib/node_modules/@pneuma/ui-core/services.d.ts +1 -0
  1279. package/lib/node_modules/@pneuma/ui-core/services.js +1 -0
  1280. package/lib/node_modules/@pneuma/ui-core/signal.d.ts +1 -0
  1281. package/lib/node_modules/@pneuma/ui-core/signal.js +1 -0
  1282. package/lib/node_modules/@pneuma/ui-core/slots-ink.d.ts +1 -0
  1283. package/lib/node_modules/@pneuma/ui-core/slots-ink.js +1 -0
  1284. package/lib/node_modules/@pneuma/ui-core/slots-react.d.ts +1 -0
  1285. package/lib/node_modules/@pneuma/ui-core/slots-react.js +1 -0
  1286. package/lib/node_modules/@pneuma/ui-core/slots.d.ts +1 -0
  1287. package/lib/node_modules/@pneuma/ui-core/slots.js +1 -0
  1288. package/lib/node_modules/@pneuma/ui-core/store.d.ts +1 -0
  1289. package/lib/node_modules/@pneuma/ui-core/store.js +1 -0
  1290. package/lib/node_modules/@pneuma/ui-core/tui-plugin-api.d.ts +1 -0
  1291. package/lib/node_modules/@pneuma/ui-core/tui-plugin-api.js +1 -0
  1292. package/lib/node_modules/@pneuma/ui-core/tui-plugins.d.ts +1 -0
  1293. package/lib/node_modules/@pneuma/ui-core/tui-plugins.js +1 -0
  1294. package/lib/node_modules/@pneuma/ui-dockkit/index.d.ts +1 -0
  1295. package/lib/node_modules/@pneuma/ui-dockkit/index.js +1 -0
  1296. package/lib/node_modules/@pneuma/ui-dockkit/locale/en.json +4 -0
  1297. package/lib/node_modules/@pneuma/ui-dockkit/locale/ui.en.json +21 -0
  1298. package/lib/node_modules/@pneuma/ui-dockkit/locale/ui.zh.json +21 -0
  1299. package/lib/node_modules/@pneuma/ui-dockkit/package.json +33 -0
  1300. package/lib/node_modules/@pneuma/ui-files/cordis.patch.yml +5 -0
  1301. package/lib/node_modules/@pneuma/ui-files/index.d.ts +1 -0
  1302. package/lib/node_modules/@pneuma/ui-files/index.js +1 -0
  1303. package/lib/node_modules/@pneuma/ui-files/locale/en.json +4 -0
  1304. package/lib/node_modules/@pneuma/ui-files/locale/ui.en.json +43 -0
  1305. package/lib/node_modules/@pneuma/ui-files/locale/ui.zh.json +43 -0
  1306. package/lib/node_modules/@pneuma/ui-files/package.json +43 -0
  1307. package/lib/node_modules/@pneuma/ui-layout/cordis.patch.yml +7 -0
  1308. package/lib/node_modules/@pneuma/ui-layout/index.d.ts +1 -0
  1309. package/lib/node_modules/@pneuma/ui-layout/index.js +1 -0
  1310. package/lib/node_modules/@pneuma/ui-layout/locale/en.json +4 -0
  1311. package/lib/node_modules/@pneuma/ui-layout/locale/ui.en.json +112 -0
  1312. package/lib/node_modules/@pneuma/ui-layout/locale/ui.zh.json +112 -0
  1313. package/lib/node_modules/@pneuma/ui-layout/package.json +44 -0
  1314. package/lib/node_modules/@pneuma/ui-palette/cordis.patch.yml +5 -0
  1315. package/lib/node_modules/@pneuma/ui-palette/index.d.ts +1 -0
  1316. package/lib/node_modules/@pneuma/ui-palette/index.js +1 -0
  1317. package/lib/node_modules/@pneuma/ui-palette/locale/en.json +4 -0
  1318. package/lib/node_modules/@pneuma/ui-palette/locale/ui.en.json +35 -0
  1319. package/lib/node_modules/@pneuma/ui-palette/locale/ui.zh.json +35 -0
  1320. package/lib/node_modules/@pneuma/ui-palette/package.json +43 -0
  1321. package/lib/node_modules/@pneuma/ui-plugins/cordis.patch.yml +5 -0
  1322. package/lib/node_modules/@pneuma/ui-plugins/index.d.ts +1 -0
  1323. package/lib/node_modules/@pneuma/ui-plugins/index.js +1 -0
  1324. package/lib/node_modules/@pneuma/ui-plugins/locale/en.json +4 -0
  1325. package/lib/node_modules/@pneuma/ui-plugins/locale/ui.en.json +134 -0
  1326. package/lib/node_modules/@pneuma/ui-plugins/locale/ui.zh.json +134 -0
  1327. package/lib/node_modules/@pneuma/ui-plugins/package.json +43 -0
  1328. package/lib/node_modules/@pneuma/ui-preview/cordis.patch.yml +5 -0
  1329. package/lib/node_modules/@pneuma/ui-preview/index.d.ts +1 -0
  1330. package/lib/node_modules/@pneuma/ui-preview/index.js +1 -0
  1331. package/lib/node_modules/@pneuma/ui-preview/locale/en.json +4 -0
  1332. package/lib/node_modules/@pneuma/ui-preview/locale/ui.en.json +29 -0
  1333. package/lib/node_modules/@pneuma/ui-preview/locale/ui.zh.json +29 -0
  1334. package/lib/node_modules/@pneuma/ui-preview/package.json +43 -0
  1335. package/lib/node_modules/@pneuma/ui-primitives/index.d.ts +1 -0
  1336. package/lib/node_modules/@pneuma/ui-primitives/index.js +1 -0
  1337. package/lib/node_modules/@pneuma/ui-primitives/locale/en.json +4 -0
  1338. package/lib/node_modules/@pneuma/ui-primitives/locale/ui.en.json +167 -0
  1339. package/lib/node_modules/@pneuma/ui-primitives/locale/ui.zh.json +167 -0
  1340. package/lib/node_modules/@pneuma/ui-primitives/package.json +33 -0
  1341. package/lib/node_modules/@pneuma/ui-prompt/cordis.patch.yml +5 -0
  1342. package/lib/node_modules/@pneuma/ui-prompt/index.d.ts +1 -0
  1343. package/lib/node_modules/@pneuma/ui-prompt/index.js +1 -0
  1344. package/lib/node_modules/@pneuma/ui-prompt/locale/en.json +4 -0
  1345. package/lib/node_modules/@pneuma/ui-prompt/locale/ui.en.json +73 -0
  1346. package/lib/node_modules/@pneuma/ui-prompt/locale/ui.zh.json +73 -0
  1347. package/lib/node_modules/@pneuma/ui-prompt/package.json +43 -0
  1348. package/lib/node_modules/@pneuma/ui-renderer/cordis.patch.yml +7 -0
  1349. package/lib/node_modules/@pneuma/ui-renderer/index.d.ts +1 -0
  1350. package/lib/node_modules/@pneuma/ui-renderer/index.js +1 -0
  1351. package/lib/node_modules/@pneuma/ui-renderer/locale/en.json +4 -0
  1352. package/lib/node_modules/@pneuma/ui-renderer/locale/ui.en.json +14 -0
  1353. package/lib/node_modules/@pneuma/ui-renderer/locale/ui.zh.json +14 -0
  1354. package/lib/node_modules/@pneuma/ui-renderer/package.json +45 -0
  1355. package/lib/node_modules/@pneuma/ui-runtime/index.d.ts +1 -0
  1356. package/lib/node_modules/@pneuma/ui-runtime/index.js +1 -0
  1357. package/lib/node_modules/@pneuma/ui-runtime/locale/en.json +4 -0
  1358. package/lib/node_modules/@pneuma/ui-runtime/locale/ui.en.json +5 -0
  1359. package/lib/node_modules/@pneuma/ui-runtime/locale/ui.zh.json +5 -0
  1360. package/lib/node_modules/@pneuma/ui-runtime/package.json +33 -0
  1361. package/lib/node_modules/@pneuma/ui-sessions/cordis.patch.yml +5 -0
  1362. package/lib/node_modules/@pneuma/ui-sessions/index.d.ts +1 -0
  1363. package/lib/node_modules/@pneuma/ui-sessions/index.js +1 -0
  1364. package/lib/node_modules/@pneuma/ui-sessions/locale/en.json +4 -0
  1365. package/lib/node_modules/@pneuma/ui-sessions/locale/ui.en.json +119 -0
  1366. package/lib/node_modules/@pneuma/ui-sessions/locale/ui.zh.json +119 -0
  1367. package/lib/node_modules/@pneuma/ui-sessions/package.json +43 -0
  1368. package/lib/node_modules/@pneuma/ui-settings/cordis.patch.yml +5 -0
  1369. package/lib/node_modules/@pneuma/ui-settings/index.d.ts +1 -0
  1370. package/lib/node_modules/@pneuma/ui-settings/index.js +1 -0
  1371. package/lib/node_modules/@pneuma/ui-settings/locale/en.json +4 -0
  1372. package/lib/node_modules/@pneuma/ui-settings/locale/ui.en.json +490 -0
  1373. package/lib/node_modules/@pneuma/ui-settings/locale/ui.zh.json +490 -0
  1374. package/lib/node_modules/@pneuma/ui-settings/package.json +43 -0
  1375. package/lib/node_modules/@pneuma/ui-skills/cordis.patch.yml +5 -0
  1376. package/lib/node_modules/@pneuma/ui-skills/index.d.ts +1 -0
  1377. package/lib/node_modules/@pneuma/ui-skills/index.js +1 -0
  1378. package/lib/node_modules/@pneuma/ui-skills/locale/en.json +4 -0
  1379. package/lib/node_modules/@pneuma/ui-skills/locale/ui.en.json +93 -0
  1380. package/lib/node_modules/@pneuma/ui-skills/locale/ui.zh.json +93 -0
  1381. package/lib/node_modules/@pneuma/ui-skills/package.json +43 -0
  1382. package/lib/node_modules/@pneuma/ui-slots/index.d.ts +1 -0
  1383. package/lib/node_modules/@pneuma/ui-slots/index.js +1 -0
  1384. package/lib/node_modules/@pneuma/ui-slots/locale/en.json +4 -0
  1385. package/lib/node_modules/@pneuma/ui-slots/locale/ui.en.json +4 -0
  1386. package/lib/node_modules/@pneuma/ui-slots/locale/ui.zh.json +4 -0
  1387. package/lib/node_modules/@pneuma/ui-slots/package.json +33 -0
  1388. package/lib/node_modules/@pneuma/ui-status/cordis.patch.yml +5 -0
  1389. package/lib/node_modules/@pneuma/ui-status/index.d.ts +1 -0
  1390. package/lib/node_modules/@pneuma/ui-status/index.js +1 -0
  1391. package/lib/node_modules/@pneuma/ui-status/locale/en.json +4 -0
  1392. package/lib/node_modules/@pneuma/ui-status/locale/ui.en.json +134 -0
  1393. package/lib/node_modules/@pneuma/ui-status/locale/ui.zh.json +134 -0
  1394. package/lib/node_modules/@pneuma/ui-status/package.json +43 -0
  1395. package/lib/node_modules/@pneuma/ui-statusbar/cordis.patch.yml +5 -0
  1396. package/lib/node_modules/@pneuma/ui-statusbar/index.d.ts +1 -0
  1397. package/lib/node_modules/@pneuma/ui-statusbar/index.js +1 -0
  1398. package/lib/node_modules/@pneuma/ui-statusbar/locale/en.json +4 -0
  1399. package/lib/node_modules/@pneuma/ui-statusbar/locale/ui.en.json +33 -0
  1400. package/lib/node_modules/@pneuma/ui-statusbar/locale/ui.zh.json +33 -0
  1401. package/lib/node_modules/@pneuma/ui-statusbar/package.json +44 -0
  1402. package/lib/node_modules/@pneuma/ui-superagent/cordis.patch.yml +10 -0
  1403. package/lib/node_modules/@pneuma/ui-superagent/index.d.ts +1 -0
  1404. package/lib/node_modules/@pneuma/ui-superagent/index.js +1 -0
  1405. package/lib/node_modules/@pneuma/ui-superagent/locale/en.json +4 -0
  1406. package/lib/node_modules/@pneuma/ui-superagent/locale/ui.en.json +117 -0
  1407. package/lib/node_modules/@pneuma/ui-superagent/locale/ui.zh.json +117 -0
  1408. package/lib/node_modules/@pneuma/ui-superagent/package.json +43 -0
  1409. package/lib/node_modules/@pneuma/ui-tasks/cordis.patch.yml +5 -0
  1410. package/lib/node_modules/@pneuma/ui-tasks/index.d.ts +1 -0
  1411. package/lib/node_modules/@pneuma/ui-tasks/index.js +1 -0
  1412. package/lib/node_modules/@pneuma/ui-tasks/locale/en.json +4 -0
  1413. package/lib/node_modules/@pneuma/ui-tasks/locale/ui.en.json +22 -0
  1414. package/lib/node_modules/@pneuma/ui-tasks/locale/ui.zh.json +22 -0
  1415. package/lib/node_modules/@pneuma/ui-tasks/package.json +43 -0
  1416. package/lib/node_modules/@pneuma/ui-team/cordis.patch.yml +5 -0
  1417. package/lib/node_modules/@pneuma/ui-team/index.d.ts +1 -0
  1418. package/lib/node_modules/@pneuma/ui-team/index.js +1 -0
  1419. package/lib/node_modules/@pneuma/ui-team/locale/en.json +4 -0
  1420. package/lib/node_modules/@pneuma/ui-team/locale/ui.en.json +19 -0
  1421. package/lib/node_modules/@pneuma/ui-team/locale/ui.zh.json +19 -0
  1422. package/lib/node_modules/@pneuma/ui-team/package.json +43 -0
  1423. package/lib/node_modules/@pneuma/ui-terminal/cordis.patch.yml +5 -0
  1424. package/lib/node_modules/@pneuma/ui-terminal/index.d.ts +1 -0
  1425. package/lib/node_modules/@pneuma/ui-terminal/index.js +1 -0
  1426. package/lib/node_modules/@pneuma/ui-terminal/locale/en.json +4 -0
  1427. package/lib/node_modules/@pneuma/ui-terminal/locale/ui.en.json +9 -0
  1428. package/lib/node_modules/@pneuma/ui-terminal/locale/ui.zh.json +9 -0
  1429. package/lib/node_modules/@pneuma/ui-terminal/package.json +43 -0
  1430. package/lib/node_modules/@pneuma/ui-trace/cordis.patch.yml +5 -0
  1431. package/lib/node_modules/@pneuma/ui-trace/index.d.ts +1 -0
  1432. package/lib/node_modules/@pneuma/ui-trace/index.js +1 -0
  1433. package/lib/node_modules/@pneuma/ui-trace/locale/en.json +4 -0
  1434. package/lib/node_modules/@pneuma/ui-trace/locale/ui.en.json +118 -0
  1435. package/lib/node_modules/@pneuma/ui-trace/locale/ui.zh.json +118 -0
  1436. package/lib/node_modules/@pneuma/ui-trace/package.json +46 -0
  1437. package/lib/node_modules/@pneuma/ui-transcript/cordis.patch.yml +4 -0
  1438. package/lib/node_modules/@pneuma/ui-transcript/index.d.ts +1 -0
  1439. package/lib/node_modules/@pneuma/ui-transcript/index.js +1 -0
  1440. package/lib/node_modules/@pneuma/ui-transcript/locale/en.json +4 -0
  1441. package/lib/node_modules/@pneuma/ui-transcript/locale/ui.en.json +281 -0
  1442. package/lib/node_modules/@pneuma/ui-transcript/locale/ui.zh.json +281 -0
  1443. package/lib/node_modules/@pneuma/ui-transcript/package.json +43 -0
  1444. package/lib/node_modules/@pneuma/waiting/cordis.patch.yml +4 -0
  1445. package/lib/node_modules/@pneuma/waiting/index.d.ts +1 -0
  1446. package/lib/node_modules/@pneuma/waiting/index.js +1 -0
  1447. package/lib/node_modules/@pneuma/waiting/locale/en.json +4 -0
  1448. package/lib/node_modules/@pneuma/waiting/package.json +38 -0
  1449. package/lib/node_modules/@pneuma/web-fetch/cordis.patch.yml +4 -0
  1450. package/lib/node_modules/@pneuma/web-fetch/html.d.ts +1 -0
  1451. package/lib/node_modules/@pneuma/web-fetch/html.js +1 -0
  1452. package/lib/node_modules/@pneuma/web-fetch/http.d.ts +1 -0
  1453. package/lib/node_modules/@pneuma/web-fetch/http.js +1 -0
  1454. package/lib/node_modules/@pneuma/web-fetch/index.d.ts +1 -0
  1455. package/lib/node_modules/@pneuma/web-fetch/index.js +1 -0
  1456. package/lib/node_modules/@pneuma/web-fetch/locale/en.json +4 -0
  1457. package/lib/node_modules/@pneuma/web-fetch/locale/ui.en.json +14 -0
  1458. package/lib/node_modules/@pneuma/web-fetch/locale/ui.zh.json +14 -0
  1459. package/lib/node_modules/@pneuma/web-fetch/package.json +40 -0
  1460. package/lib/node_modules/@pneuma/web-search/cordis.patch.yml +4 -0
  1461. package/lib/node_modules/@pneuma/web-search/index.d.ts +1 -0
  1462. package/lib/node_modules/@pneuma/web-search/index.js +1 -0
  1463. package/lib/node_modules/@pneuma/web-search/locale/en.json +4 -0
  1464. package/lib/node_modules/@pneuma/web-search/locale/ui.en.json +30 -0
  1465. package/lib/node_modules/@pneuma/web-search/locale/ui.zh.json +30 -0
  1466. package/lib/node_modules/@pneuma/web-search/package.json +40 -0
  1467. package/lib/node_modules/@pneuma/webserver/cordis.patch.yml +4 -0
  1468. package/lib/node_modules/@pneuma/webserver/index.d.ts +1 -0
  1469. package/lib/node_modules/@pneuma/webserver/index.js +1 -0
  1470. package/lib/node_modules/@pneuma/webserver/locale/en.json +4 -0
  1471. package/lib/node_modules/@pneuma/webserver/package.json +38 -0
  1472. package/lib/packages/agent/cache-probe.d.ts +56 -0
  1473. package/lib/packages/agent/cache-probe.js +169 -0
  1474. package/lib/packages/agent/index.d.ts +21 -0
  1475. package/lib/packages/agent/index.js +511 -0
  1476. package/lib/packages/agent/locale/en.json +4 -0
  1477. package/lib/packages/approval/approval.d.ts +11 -0
  1478. package/lib/packages/approval/approval.js +11 -0
  1479. package/lib/packages/approval/call-meaning.js +347 -0
  1480. package/lib/packages/approval/index.d.ts +26 -0
  1481. package/lib/packages/approval/index.js +1413 -0
  1482. package/lib/packages/approval/locale/en.json +4 -0
  1483. package/lib/packages/approval-floor/approval-floor.d.ts +192 -0
  1484. package/lib/packages/approval-floor/approval-floor.js +851 -0
  1485. package/lib/packages/approval-floor/index.js +236 -0
  1486. package/lib/packages/approval-floor/locale/en.json +4 -0
  1487. package/lib/packages/approval-floor/locale/ui.en.json +28 -0
  1488. package/lib/packages/approval-floor/locale/ui.zh.json +28 -0
  1489. package/lib/packages/ask/index.js +298 -0
  1490. package/lib/packages/ask/locale/en.json +4 -0
  1491. package/lib/packages/browser/index.d.ts +72 -0
  1492. package/lib/packages/browser/index.js +1286 -0
  1493. package/lib/packages/browser/locale/en.json +4 -0
  1494. package/lib/packages/browser/locale/ui.en.json +61 -0
  1495. package/lib/packages/browser/locale/ui.zh.json +61 -0
  1496. package/lib/packages/cdp/actions.js +655 -0
  1497. package/lib/packages/cdp/cloud-metadata.d.ts +9 -0
  1498. package/lib/packages/cdp/cloud-metadata.js +16 -0
  1499. package/lib/packages/cdp/index.d.ts +21 -0
  1500. package/lib/packages/cdp/index.js +21 -0
  1501. package/lib/packages/cdp/launch.js +491 -0
  1502. package/lib/packages/cdp/locale/en.json +4 -0
  1503. package/lib/packages/cdp/report.d.ts +42 -0
  1504. package/lib/packages/cdp/report.js +76 -0
  1505. package/lib/packages/cdp/ring-buffer.d.ts +25 -0
  1506. package/lib/packages/cdp/ring-buffer.js +44 -0
  1507. package/lib/packages/cdp/snapshot.d.ts +139 -0
  1508. package/lib/packages/cdp/snapshot.js +312 -0
  1509. package/lib/packages/cdp/transport.d.ts +147 -0
  1510. package/lib/packages/cdp/transport.js +359 -0
  1511. package/lib/packages/checkpoint/index.d.ts +21 -0
  1512. package/lib/packages/checkpoint/index.js +360 -0
  1513. package/lib/packages/checkpoint/locale/en.json +4 -0
  1514. package/lib/packages/checkpoint/locale/ui.en.json +15 -0
  1515. package/lib/packages/checkpoint/locale/ui.zh.json +15 -0
  1516. package/lib/packages/checkpoint/shadow.d.ts +166 -0
  1517. package/lib/packages/checkpoint/shadow.js +832 -0
  1518. package/lib/packages/cli/config-cli.js +89 -0
  1519. package/lib/packages/cli/index.d.ts +20 -0
  1520. package/lib/packages/cli/index.js +18 -0
  1521. package/lib/packages/cli/locale/en.json +4 -0
  1522. package/lib/packages/cli/plugin-cli.js +626 -0
  1523. package/lib/packages/cli/pnpm-builds.d.ts +26 -0
  1524. package/lib/packages/cli/pnpm-builds.js +68 -0
  1525. package/lib/packages/commands/index.d.ts +28 -0
  1526. package/lib/packages/commands/index.js +620 -0
  1527. package/lib/packages/commands/locale/en.json +4 -0
  1528. package/lib/packages/commands/session-export.d.ts +18 -0
  1529. package/lib/packages/commands/session-export.js +73 -0
  1530. package/lib/packages/commands-core/commands-completion.d.ts +106 -0
  1531. package/lib/packages/commands-core/index.d.ts +16 -0
  1532. package/lib/packages/commands-core/index.js +16 -0
  1533. package/lib/packages/commands-core/locale/en.json +4 -0
  1534. package/lib/packages/compact/index.d.ts +21 -0
  1535. package/lib/packages/compact/index.js +457 -0
  1536. package/lib/packages/compact/locale/en.json +4 -0
  1537. package/lib/packages/compact/locale/ui.en.json +24 -0
  1538. package/lib/packages/compact/locale/ui.zh.json +24 -0
  1539. package/lib/packages/computer-use/desktop-control.d.ts +298 -0
  1540. package/lib/packages/computer-use/desktop-control.js +1309 -0
  1541. package/lib/packages/computer-use/index.d.ts +47 -0
  1542. package/lib/packages/computer-use/index.js +564 -0
  1543. package/lib/packages/computer-use/locale/en.json +4 -0
  1544. package/lib/packages/computer-use/locale/ui.en.json +41 -0
  1545. package/lib/packages/computer-use/locale/ui.zh.json +41 -0
  1546. package/lib/packages/config-core/index.d.ts +15 -0
  1547. package/lib/packages/config-core/index.js +15 -0
  1548. package/lib/packages/config-core/locale/en.json +4 -0
  1549. package/lib/packages/config-core/market.d.ts +107 -0
  1550. package/lib/packages/config-core/market.js +730 -0
  1551. package/lib/packages/config-core/presets.d.ts +104 -0
  1552. package/lib/packages/config-core/presets.js +423 -0
  1553. package/lib/packages/desktop-dock/index.d.ts +13 -0
  1554. package/lib/packages/desktop-dock/index.js +719 -0
  1555. package/lib/packages/desktop-dock/locale/en.json +4 -0
  1556. package/lib/packages/desktop-dock/locale/ui.en.json +11 -0
  1557. package/lib/packages/desktop-dock/locale/ui.zh.json +11 -0
  1558. package/lib/packages/dock-browser/index.d.ts +38 -0
  1559. package/lib/packages/dock-browser/index.js +898 -0
  1560. package/lib/packages/dock-browser/locale/en.json +4 -0
  1561. package/lib/packages/dock-browser/locale/ui.en.json +10 -0
  1562. package/lib/packages/dock-browser/locale/ui.zh.json +10 -0
  1563. package/lib/packages/doctor/bundle.d.ts +93 -0
  1564. package/lib/packages/doctor/bundle.js +159 -0
  1565. package/lib/packages/doctor/checks/data.d.ts +19 -0
  1566. package/lib/packages/doctor/checks/data.js +143 -0
  1567. package/lib/packages/doctor/checks/ecosystem.d.ts +12 -0
  1568. package/lib/packages/doctor/checks/ecosystem.js +125 -0
  1569. package/lib/packages/doctor/checks/environment.d.ts +9 -0
  1570. package/lib/packages/doctor/checks/environment.js +130 -0
  1571. package/lib/packages/doctor/checks/util.d.ts +27 -0
  1572. package/lib/packages/doctor/checks/util.js +100 -0
  1573. package/lib/packages/doctor/index.d.ts +26 -0
  1574. package/lib/packages/doctor/index.js +168 -0
  1575. package/lib/packages/doctor/locale/en.json +4 -0
  1576. package/lib/packages/dsh-compat/index.js +44 -0
  1577. package/lib/packages/dsh-compat/locale/en.json +4 -0
  1578. package/lib/packages/git/index.js +177 -0
  1579. package/lib/packages/git/locale/en.json +4 -0
  1580. package/lib/packages/goal/goal.d.ts +77 -0
  1581. package/lib/packages/goal/index.d.ts +22 -0
  1582. package/lib/packages/goal/index.js +333 -0
  1583. package/lib/packages/goal/locale/en.json +4 -0
  1584. package/lib/packages/goal/locale/ui.en.json +10 -0
  1585. package/lib/packages/goal/locale/ui.zh.json +10 -0
  1586. package/lib/packages/guards/index.js +22 -0
  1587. package/lib/packages/guards/locale/en.json +4 -0
  1588. package/lib/packages/hooks/index.d.ts +26 -0
  1589. package/lib/packages/hooks/index.js +966 -0
  1590. package/lib/packages/hooks/lifecycle-hooks.d.ts +217 -0
  1591. package/lib/packages/hooks/lifecycle-hooks.js +608 -0
  1592. package/lib/packages/hooks/locale/en.json +4 -0
  1593. package/lib/packages/hooks/locale/ui.en.json +111 -0
  1594. package/lib/packages/hooks/locale/ui.zh.json +111 -0
  1595. package/lib/packages/host-stdio/index.d.ts +88 -0
  1596. package/lib/packages/host-stdio/index.js +330 -0
  1597. package/lib/packages/host-stdio/locale/en.json +4 -0
  1598. package/lib/packages/image-diet/index.js +92 -0
  1599. package/lib/packages/image-diet/locale/en.json +4 -0
  1600. package/lib/packages/image-diet/locale/ui.en.json +14 -0
  1601. package/lib/packages/image-diet/locale/ui.zh.json +14 -0
  1602. package/lib/packages/llm/index.d.ts +13 -0
  1603. package/lib/packages/llm/index.js +275 -0
  1604. package/lib/packages/llm/locale/en.json +4 -0
  1605. package/lib/packages/log/filter.d.ts +37 -0
  1606. package/lib/packages/log/filter.js +43 -0
  1607. package/lib/packages/log/index.d.ts +30 -0
  1608. package/lib/packages/log/index.js +311 -0
  1609. package/lib/packages/log/locale/en.json +4 -0
  1610. package/lib/packages/log/locale/ui.en.json +30 -0
  1611. package/lib/packages/log/locale/ui.zh.json +30 -0
  1612. package/lib/packages/log/sink.d.ts +91 -0
  1613. package/lib/packages/log/sink.js +286 -0
  1614. package/lib/packages/lsp/client.js +703 -0
  1615. package/lib/packages/lsp/index.d.ts +54 -0
  1616. package/lib/packages/lsp/index.js +616 -0
  1617. package/lib/packages/lsp/locale/en.json +4 -0
  1618. package/lib/packages/lsp/locale/ui.en.json +17 -0
  1619. package/lib/packages/lsp/locale/ui.zh.json +17 -0
  1620. package/lib/packages/lsp/manager.js +418 -0
  1621. package/lib/packages/lsp/normalize.js +134 -0
  1622. package/lib/packages/lsp/servers.js +349 -0
  1623. package/lib/packages/mcp/index.js +717 -0
  1624. package/lib/packages/mcp/locale/en.json +4 -0
  1625. package/lib/packages/mcp/locale/ui.en.json +28 -0
  1626. package/lib/packages/mcp/locale/ui.zh.json +28 -0
  1627. package/lib/packages/mcp/mcp.d.ts +207 -0
  1628. package/lib/packages/mcp/mcp.js +807 -0
  1629. package/lib/packages/memory/index.d.ts +36 -0
  1630. package/lib/packages/memory/index.js +930 -0
  1631. package/lib/packages/memory/locale/en.json +4 -0
  1632. package/lib/packages/memory/locale/ui.en.json +67 -0
  1633. package/lib/packages/memory/locale/ui.zh.json +67 -0
  1634. package/lib/packages/memory/memory.d.ts +187 -0
  1635. package/lib/packages/memory/memory.js +704 -0
  1636. package/lib/packages/microcompact/index.d.ts +31 -0
  1637. package/lib/packages/microcompact/index.js +261 -0
  1638. package/lib/packages/microcompact/locale/en.json +4 -0
  1639. package/lib/packages/microcompact/locale/ui.en.json +20 -0
  1640. package/lib/packages/microcompact/locale/ui.zh.json +20 -0
  1641. package/lib/packages/microcompact/microcompact.d.ts +142 -0
  1642. package/lib/packages/microcompact/microcompact.js +268 -0
  1643. package/lib/packages/mode/index.d.ts +18 -0
  1644. package/lib/packages/mode/index.js +138 -0
  1645. package/lib/packages/mode/locale/en.json +4 -0
  1646. package/lib/packages/ops/index.d.ts +36 -0
  1647. package/lib/packages/ops/index.js +187 -0
  1648. package/lib/packages/ops/locale/en.json +4 -0
  1649. package/lib/packages/ops/locale/ui.en.json +21 -0
  1650. package/lib/packages/ops/locale/ui.zh.json +21 -0
  1651. package/lib/packages/ops/render.d.ts +43 -0
  1652. package/lib/packages/ops/render.js +324 -0
  1653. package/lib/packages/ops/tools.d.ts +17 -0
  1654. package/lib/packages/ops/tools.js +640 -0
  1655. package/lib/packages/ops/worker.d.ts +63 -0
  1656. package/lib/packages/ops/worker.js +294 -0
  1657. package/lib/packages/permission-core/index.d.ts +15 -0
  1658. package/lib/packages/permission-core/index.js +15 -0
  1659. package/lib/packages/permission-core/locale/en.json +4 -0
  1660. package/lib/packages/permission-core/permission-presets.d.ts +71 -0
  1661. package/lib/packages/permission-core/permission-scope.d.ts +65 -0
  1662. package/lib/packages/permission-presets/index.d.ts +19 -0
  1663. package/lib/packages/permission-presets/index.js +176 -0
  1664. package/lib/packages/permission-presets/locale/en.json +4 -0
  1665. package/lib/packages/permission-presets/locale/ui.en.json +10 -0
  1666. package/lib/packages/permission-presets/locale/ui.zh.json +10 -0
  1667. package/lib/packages/plan/index.js +261 -0
  1668. package/lib/packages/plan/locale/en.json +4 -0
  1669. package/lib/packages/plugin-manager/index.js +217 -0
  1670. package/lib/packages/plugin-manager/locale/en.json +4 -0
  1671. package/lib/packages/presets/index.js +243 -0
  1672. package/lib/packages/presets/locale/en.json +4 -0
  1673. package/lib/packages/presets/locale/ui.en.json +10 -0
  1674. package/lib/packages/presets/locale/ui.zh.json +10 -0
  1675. package/lib/packages/prompt/index.d.ts +25 -0
  1676. package/lib/packages/prompt/index.js +441 -0
  1677. package/lib/packages/prompt/locale/en.json +4 -0
  1678. package/lib/packages/prompt/tool-result-prune.d.ts +93 -0
  1679. package/lib/packages/prompt/tool-result-prune.js +212 -0
  1680. package/lib/packages/ptc/index.js +377 -0
  1681. package/lib/packages/ptc/locale/en.json +4 -0
  1682. package/lib/packages/remote/http.d.ts +11 -0
  1683. package/lib/packages/remote/http.js +11 -0
  1684. package/lib/packages/remote/index.d.ts +17 -0
  1685. package/lib/packages/remote/index.js +1189 -0
  1686. package/lib/packages/remote/locale/en.json +4 -0
  1687. package/lib/packages/remote/locale/ui.en.json +76 -0
  1688. package/lib/packages/remote/locale/ui.zh.json +76 -0
  1689. package/lib/packages/remote/routes.js +384 -0
  1690. package/lib/packages/remote/types.d.ts +135 -0
  1691. package/lib/packages/remote/types.js +102 -0
  1692. package/lib/packages/runtime/index.js +678 -0
  1693. package/lib/packages/runtime/locale/en.json +4 -0
  1694. package/lib/packages/runtime-api/index.js +126 -0
  1695. package/lib/packages/runtime-api/inspect.d.ts +29 -0
  1696. package/lib/packages/runtime-api/inspect.js +73 -0
  1697. package/lib/packages/runtime-api/locale/en.json +4 -0
  1698. package/lib/packages/sandbox/backends.d.ts +64 -0
  1699. package/lib/packages/sandbox/execpolicy.d.ts +74 -0
  1700. package/lib/packages/sandbox/execpolicy.js +244 -0
  1701. package/lib/packages/sandbox/index.js +1132 -0
  1702. package/lib/packages/sandbox/locale/en.json +4 -0
  1703. package/lib/packages/sandbox/locale/ui.en.json +78 -0
  1704. package/lib/packages/sandbox/locale/ui.zh.json +78 -0
  1705. package/lib/packages/sandbox/net-proxy.js +202 -0
  1706. package/lib/packages/sandbox/policy.d.ts +294 -0
  1707. package/lib/packages/sandbox/policy.js +674 -0
  1708. package/lib/packages/sandbox/review.d.ts +141 -0
  1709. package/lib/packages/sandbox/review.js +348 -0
  1710. package/lib/packages/sandbox/win/account.js +203 -0
  1711. package/lib/packages/sandbox/win/backend.d.ts +107 -0
  1712. package/lib/packages/sandbox/win/backend.js +425 -0
  1713. package/lib/packages/sandbox/win/doctor.js +269 -0
  1714. package/lib/packages/sandbox/win/ffi.d.ts +116 -0
  1715. package/lib/packages/sandbox/win/ffi.js +185 -0
  1716. package/lib/packages/sandbox/win/interpreter.d.ts +44 -0
  1717. package/lib/packages/sandbox/win/interpreter.js +47 -0
  1718. package/lib/packages/sandbox/win/runner-entry.d.ts +61 -0
  1719. package/lib/packages/sandbox/win/runner-entry.js +898 -0
  1720. package/lib/packages/sandbox/win/setup.d.ts +134 -0
  1721. package/lib/packages/sandbox/win/setup.js +1384 -0
  1722. package/lib/packages/sandbox/win/sweep.d.ts +36 -0
  1723. package/lib/packages/sandbox/win/sweep.js +115 -0
  1724. package/lib/packages/sandbox/win/wfp.js +197 -0
  1725. package/lib/packages/schedule/index.d.ts +41 -0
  1726. package/lib/packages/schedule/index.js +612 -0
  1727. package/lib/packages/schedule/locale/en.json +4 -0
  1728. package/lib/packages/schedule/locale/ui.en.json +29 -0
  1729. package/lib/packages/schedule/locale/ui.zh.json +29 -0
  1730. package/lib/packages/self-improve/index.d.ts +140 -0
  1731. package/lib/packages/self-improve/index.js +1312 -0
  1732. package/lib/packages/self-improve/ledger.d.ts +75 -0
  1733. package/lib/packages/self-improve/ledger.js +364 -0
  1734. package/lib/packages/self-improve/locale/en.json +4 -0
  1735. package/lib/packages/self-improve/locale/ui.en.json +31 -0
  1736. package/lib/packages/self-improve/locale/ui.zh.json +31 -0
  1737. package/lib/packages/self-improve/skill-write.d.ts +257 -0
  1738. package/lib/packages/self-improve/skill-write.js +890 -0
  1739. package/lib/packages/self-improve/store.js +266 -0
  1740. package/lib/packages/session/index.js +383 -0
  1741. package/lib/packages/session/locale/en.json +4 -0
  1742. package/lib/packages/session-core/compact.d.ts +140 -0
  1743. package/lib/packages/session-core/compact.js +282 -0
  1744. package/lib/packages/session-core/hooks.d.ts +289 -0
  1745. package/lib/packages/session-core/hooks.js +862 -0
  1746. package/lib/packages/session-core/index.d.ts +20 -0
  1747. package/lib/packages/session-core/index.js +20 -0
  1748. package/lib/packages/session-core/locale/en.json +4 -0
  1749. package/lib/packages/session-core/loop.d.ts +215 -0
  1750. package/lib/packages/session-core/loop.js +726 -0
  1751. package/lib/packages/session-core/modes.d.ts +72 -0
  1752. package/lib/packages/session-core/modes.js +152 -0
  1753. package/lib/packages/session-core/prompt.d.ts +124 -0
  1754. package/lib/packages/session-core/prompt.js +436 -0
  1755. package/lib/packages/session-search/index.js +323 -0
  1756. package/lib/packages/session-search/locale/en.json +4 -0
  1757. package/lib/packages/session-search/locale/ui.en.json +29 -0
  1758. package/lib/packages/session-search/locale/ui.zh.json +29 -0
  1759. package/lib/packages/session-search/session-index.js +849 -0
  1760. package/lib/packages/session-title/index.js +109 -0
  1761. package/lib/packages/session-title/locale/en.json +4 -0
  1762. package/lib/packages/settings/connection-test.d.ts +60 -0
  1763. package/lib/packages/settings/connection-test.js +84 -0
  1764. package/lib/packages/settings/index.d.ts +3 -0
  1765. package/lib/packages/settings/index.js +689 -0
  1766. package/lib/packages/settings/locale/en.json +4 -0
  1767. package/lib/packages/settings/locale/ui.en.json +94 -0
  1768. package/lib/packages/settings/locale/ui.zh.json +94 -0
  1769. package/lib/packages/skills/index.d.ts +13 -0
  1770. package/lib/packages/skills/index.js +499 -0
  1771. package/lib/packages/skills/locale/en.json +4 -0
  1772. package/lib/packages/spill/index.js +223 -0
  1773. package/lib/packages/spill/locale/en.json +4 -0
  1774. package/lib/packages/spill/locale/ui.en.json +31 -0
  1775. package/lib/packages/spill/locale/ui.zh.json +31 -0
  1776. package/lib/packages/subagent/agent-roles.d.ts +78 -0
  1777. package/lib/packages/subagent/agent-roles.js +425 -0
  1778. package/lib/packages/subagent/board-snapshot.d.ts +114 -0
  1779. package/lib/packages/subagent/board-snapshot.js +194 -0
  1780. package/lib/packages/subagent/index.d.ts +133 -0
  1781. package/lib/packages/subagent/index.js +2414 -0
  1782. package/lib/packages/subagent/locale/en.json +4 -0
  1783. package/lib/packages/subagent/locale/ui.en.json +51 -0
  1784. package/lib/packages/subagent/locale/ui.zh.json +51 -0
  1785. package/lib/packages/superagent/app/api.d.ts +99 -0
  1786. package/lib/packages/superagent/app/api.js +556 -0
  1787. package/lib/packages/superagent/app/assessment.d.ts +573 -0
  1788. package/lib/packages/superagent/app/assessment.js +303 -0
  1789. package/lib/packages/superagent/app/cache.d.ts +22 -0
  1790. package/lib/packages/superagent/app/cache.js +42 -0
  1791. package/lib/packages/superagent/app/cards.d.ts +278 -0
  1792. package/lib/packages/superagent/app/cards.js +103 -0
  1793. package/lib/packages/superagent/app/context.d.ts +35 -0
  1794. package/lib/packages/superagent/app/context.js +49 -0
  1795. package/lib/packages/superagent/app/delivery.d.ts +118 -0
  1796. package/lib/packages/superagent/app/delivery.js +189 -0
  1797. package/lib/packages/superagent/app/effects.d.ts +97 -0
  1798. package/lib/packages/superagent/app/effects.js +162 -0
  1799. package/lib/packages/superagent/app/execution-environment.d.ts +42 -0
  1800. package/lib/packages/superagent/app/execution-environment.js +47 -0
  1801. package/lib/packages/superagent/app/links.d.ts +192 -0
  1802. package/lib/packages/superagent/app/links.js +59 -0
  1803. package/lib/packages/superagent/app/migration.d.ts +40 -0
  1804. package/lib/packages/superagent/app/migration.js +674 -0
  1805. package/lib/packages/superagent/app/notices.d.ts +60 -0
  1806. package/lib/packages/superagent/app/notices.js +128 -0
  1807. package/lib/packages/superagent/app/outbox.d.ts +39 -0
  1808. package/lib/packages/superagent/app/outbox.js +50 -0
  1809. package/lib/packages/superagent/app/passes.d.ts +44 -0
  1810. package/lib/packages/superagent/app/passes.js +65 -0
  1811. package/lib/packages/superagent/app/prompts.d.ts +220 -0
  1812. package/lib/packages/superagent/app/prompts.js +259 -0
  1813. package/lib/packages/superagent/app/resources.d.ts +41 -0
  1814. package/lib/packages/superagent/app/resources.js +394 -0
  1815. package/lib/packages/superagent/app/retry-health.d.ts +36 -0
  1816. package/lib/packages/superagent/app/retry-health.js +112 -0
  1817. package/lib/packages/superagent/app/role-models.d.ts +45 -0
  1818. package/lib/packages/superagent/app/role-models.js +26 -0
  1819. package/lib/packages/superagent/app/runtime.d.ts +94 -0
  1820. package/lib/packages/superagent/app/runtime.js +331 -0
  1821. package/lib/packages/superagent/app/sessions.d.ts +275 -0
  1822. package/lib/packages/superagent/app/sessions.js +676 -0
  1823. package/lib/packages/superagent/app/settings-history.d.ts +34 -0
  1824. package/lib/packages/superagent/app/settings-history.js +105 -0
  1825. package/lib/packages/superagent/app/settings.d.ts +198 -0
  1826. package/lib/packages/superagent/app/settings.js +260 -0
  1827. package/lib/packages/superagent/app/setup.d.ts +67 -0
  1828. package/lib/packages/superagent/app/setup.js +98 -0
  1829. package/lib/packages/superagent/app/skill-files.d.ts +19 -0
  1830. package/lib/packages/superagent/app/skill-files.js +54 -0
  1831. package/lib/packages/superagent/app/source-context.d.ts +46 -0
  1832. package/lib/packages/superagent/app/source-context.js +48 -0
  1833. package/lib/packages/superagent/app/store-read.d.ts +69 -0
  1834. package/lib/packages/superagent/app/store-read.js +75 -0
  1835. package/lib/packages/superagent/app/store.d.ts +179 -0
  1836. package/lib/packages/superagent/app/store.js +384 -0
  1837. package/lib/packages/superagent/app/tools/executor.d.ts +16 -0
  1838. package/lib/packages/superagent/app/tools/executor.js +114 -0
  1839. package/lib/packages/superagent/app/tools/main.d.ts +47 -0
  1840. package/lib/packages/superagent/app/tools/main.js +286 -0
  1841. package/lib/packages/superagent/app/tools/tool.d.ts +28 -0
  1842. package/lib/packages/superagent/app/tools/tool.js +36 -0
  1843. package/lib/packages/superagent/app/versions.d.ts +35 -0
  1844. package/lib/packages/superagent/app/versions.js +36 -0
  1845. package/lib/packages/superagent/app/views/overview.d.ts +327 -0
  1846. package/lib/packages/superagent/app/views/overview.js +91 -0
  1847. package/lib/packages/superagent/app/views/records.d.ts +478 -0
  1848. package/lib/packages/superagent/app/views/records.js +203 -0
  1849. package/lib/packages/superagent/app/views/settings.d.ts +111 -0
  1850. package/lib/packages/superagent/app/views/settings.js +50 -0
  1851. package/lib/packages/superagent/app/views/sources.d.ts +97 -0
  1852. package/lib/packages/superagent/app/views/sources.js +70 -0
  1853. package/lib/packages/superagent/app/views/text.d.ts +6 -0
  1854. package/lib/packages/superagent/app/views/text.js +53 -0
  1855. package/lib/packages/superagent/app/views/threads.d.ts +582 -0
  1856. package/lib/packages/superagent/app/views/threads.js +117 -0
  1857. package/lib/packages/superagent/app/views/tickets.d.ts +1852 -0
  1858. package/lib/packages/superagent/app/views/tickets.js +96 -0
  1859. package/lib/packages/superagent/core/admission.d.ts +17 -0
  1860. package/lib/packages/superagent/core/admission.js +4 -0
  1861. package/lib/packages/superagent/core/assignments.d.ts +53 -0
  1862. package/lib/packages/superagent/core/assignments.js +160 -0
  1863. package/lib/packages/superagent/core/engine.d.ts +191 -0
  1864. package/lib/packages/superagent/core/engine.js +244 -0
  1865. package/lib/packages/superagent/core/errors.d.ts +58 -0
  1866. package/lib/packages/superagent/core/errors.js +63 -0
  1867. package/lib/packages/superagent/core/evals.d.ts +99 -0
  1868. package/lib/packages/superagent/core/evals.js +381 -0
  1869. package/lib/packages/superagent/core/ids.d.ts +1 -0
  1870. package/lib/packages/superagent/core/ids.js +5 -0
  1871. package/lib/packages/superagent/core/index.d.ts +9 -0
  1872. package/lib/packages/superagent/core/index.js +9 -0
  1873. package/lib/packages/superagent/core/intake.d.ts +15 -0
  1874. package/lib/packages/superagent/core/intake.js +68 -0
  1875. package/lib/packages/superagent/core/limits.d.ts +26 -0
  1876. package/lib/packages/superagent/core/limits.js +11 -0
  1877. package/lib/packages/superagent/core/memory.d.ts +40 -0
  1878. package/lib/packages/superagent/core/memory.js +51 -0
  1879. package/lib/packages/superagent/core/model.d.ts +432 -0
  1880. package/lib/packages/superagent/core/model.js +79 -0
  1881. package/lib/packages/superagent/core/part.d.ts +49 -0
  1882. package/lib/packages/superagent/core/part.js +71 -0
  1883. package/lib/packages/superagent/core/policy.d.ts +187 -0
  1884. package/lib/packages/superagent/core/policy.js +244 -0
  1885. package/lib/packages/superagent/core/ports.d.ts +217 -0
  1886. package/lib/packages/superagent/core/ports.js +1 -0
  1887. package/lib/packages/superagent/core/reasons.d.ts +36 -0
  1888. package/lib/packages/superagent/core/reasons.js +35 -0
  1889. package/lib/packages/superagent/core/replies.d.ts +55 -0
  1890. package/lib/packages/superagent/core/replies.js +94 -0
  1891. package/lib/packages/superagent/core/stage.d.ts +18 -0
  1892. package/lib/packages/superagent/core/stage.js +27 -0
  1893. package/lib/packages/superagent/core/tickets.d.ts +151 -0
  1894. package/lib/packages/superagent/core/tickets.js +487 -0
  1895. package/lib/packages/superagent/deployment.d.ts +54 -0
  1896. package/lib/packages/superagent/deployment.js +160 -0
  1897. package/lib/packages/superagent/executor/background.d.ts +93 -0
  1898. package/lib/packages/superagent/executor/background.js +192 -0
  1899. package/lib/packages/superagent/executor/dsh.d.ts +304 -0
  1900. package/lib/packages/superagent/executor/dsh.js +776 -0
  1901. package/lib/packages/superagent/host/command.d.ts +89 -0
  1902. package/lib/packages/superagent/host/command.js +198 -0
  1903. package/lib/packages/superagent/host/health.d.ts +45 -0
  1904. package/lib/packages/superagent/host/health.js +355 -0
  1905. package/lib/packages/superagent/host/settings-section.d.ts +32 -0
  1906. package/lib/packages/superagent/host/settings-section.js +528 -0
  1907. package/lib/packages/superagent/index.d.ts +82 -0
  1908. package/lib/packages/superagent/index.js +140 -0
  1909. package/lib/packages/superagent/infra/commands.d.ts +55 -0
  1910. package/lib/packages/superagent/infra/commands.js +144 -0
  1911. package/lib/packages/superagent/infra/environment.d.ts +44 -0
  1912. package/lib/packages/superagent/infra/environment.js +227 -0
  1913. package/lib/packages/superagent/infra/health.d.ts +27 -0
  1914. package/lib/packages/superagent/infra/health.js +29 -0
  1915. package/lib/packages/superagent/infra/text.d.ts +10 -0
  1916. package/lib/packages/superagent/infra/text.js +31 -0
  1917. package/lib/packages/superagent/kv.d.ts +102 -0
  1918. package/lib/packages/superagent/kv.js +44 -0
  1919. package/lib/packages/superagent/locale/en.json +4 -0
  1920. package/lib/packages/superagent/locale/ui.en.json +26 -0
  1921. package/lib/packages/superagent/locale/ui.zh.json +26 -0
  1922. package/lib/packages/superagent/paths.d.ts +21 -0
  1923. package/lib/packages/superagent/paths.js +50 -0
  1924. package/lib/packages/superagent/prompts/admission.md +68 -0
  1925. package/lib/packages/superagent/prompts/cli.md +17 -0
  1926. package/lib/packages/superagent/prompts/dispatch.md +59 -0
  1927. package/lib/packages/superagent/prompts/handoff-orchestrator.md +4 -0
  1928. package/lib/packages/superagent/prompts/handoff-worker.md +7 -0
  1929. package/lib/packages/superagent/prompts/handoff.md +6 -0
  1930. package/lib/packages/superagent/prompts/orchestrator.md +16 -0
  1931. package/lib/packages/superagent/prompts/replies.md +35 -0
  1932. package/lib/packages/superagent/prompts/shared.md +7 -0
  1933. package/lib/packages/superagent/prompts/subscriptions.md +13 -0
  1934. package/lib/packages/superagent/prompts/team/communication.md +97 -0
  1935. package/lib/packages/superagent/prompts/team/delivery.md +28 -0
  1936. package/lib/packages/superagent/prompts/team/scope.md +22 -0
  1937. package/lib/packages/superagent/prompts/work.md +49 -0
  1938. package/lib/packages/superagent/prompts/worker.md +10 -0
  1939. package/lib/packages/superagent/setup.d.ts +37 -0
  1940. package/lib/packages/superagent/setup.js +46 -0
  1941. package/lib/packages/superagent/skills/dsh-superagent-feishu/SKILL.md +12 -0
  1942. package/lib/packages/superagent/skills/dsh-superagent-github/SKILL.md +14 -0
  1943. package/lib/packages/superagent/sources/admission-context.d.ts +43 -0
  1944. package/lib/packages/superagent/sources/admission-context.js +42 -0
  1945. package/lib/packages/superagent/sources/feishu-channel.d.ts +20 -0
  1946. package/lib/packages/superagent/sources/feishu-channel.js +33 -0
  1947. package/lib/packages/superagent/sources/feishu-image.d.ts +12 -0
  1948. package/lib/packages/superagent/sources/feishu-image.js +81 -0
  1949. package/lib/packages/superagent/sources/feishu-loops.d.ts +18 -0
  1950. package/lib/packages/superagent/sources/feishu-loops.js +330 -0
  1951. package/lib/packages/superagent/sources/feishu-read.d.ts +81 -0
  1952. package/lib/packages/superagent/sources/feishu-read.js +183 -0
  1953. package/lib/packages/superagent/sources/feishu-trigger.d.ts +95 -0
  1954. package/lib/packages/superagent/sources/feishu-trigger.js +96 -0
  1955. package/lib/packages/superagent/sources/feishu.d.ts +56 -0
  1956. package/lib/packages/superagent/sources/feishu.js +164 -0
  1957. package/lib/packages/superagent/sources/github-channel.d.ts +6 -0
  1958. package/lib/packages/superagent/sources/github-channel.js +62 -0
  1959. package/lib/packages/superagent/sources/github-pull.d.ts +82 -0
  1960. package/lib/packages/superagent/sources/github-pull.js +112 -0
  1961. package/lib/packages/superagent/sources/github-read.d.ts +54 -0
  1962. package/lib/packages/superagent/sources/github-read.js +184 -0
  1963. package/lib/packages/superagent/sources/github-trigger.d.ts +140 -0
  1964. package/lib/packages/superagent/sources/github-trigger.js +107 -0
  1965. package/lib/packages/superagent/sources/github.d.ts +52 -0
  1966. package/lib/packages/superagent/sources/github.js +559 -0
  1967. package/lib/packages/superagent/sources/host.d.ts +101 -0
  1968. package/lib/packages/superagent/sources/host.js +13 -0
  1969. package/lib/packages/superagent/sources/kind.d.ts +229 -0
  1970. package/lib/packages/superagent/sources/kind.js +1 -0
  1971. package/lib/packages/superagent/sources/poll.d.ts +21 -0
  1972. package/lib/packages/superagent/sources/poll.js +53 -0
  1973. package/lib/packages/superagent/sources/registry.d.ts +402 -0
  1974. package/lib/packages/superagent/sources/registry.js +162 -0
  1975. package/lib/packages/superagent-webhook/index.d.ts +47 -0
  1976. package/lib/packages/superagent-webhook/index.js +83 -0
  1977. package/lib/packages/superagent-webhook/locale/en.json +4 -0
  1978. package/lib/packages/superagent-webhook/tests/settings-contract.d.ts +34 -0
  1979. package/lib/packages/superagent-webhook/tests/settings-contract.js +66 -0
  1980. package/lib/packages/superagent-webhook/webhook.d.ts +87 -0
  1981. package/lib/packages/superagent-webhook/webhook.js +199 -0
  1982. package/lib/packages/surfaces/index.d.ts +11 -0
  1983. package/lib/packages/surfaces/index.js +20 -0
  1984. package/lib/packages/surfaces/locale/en.json +4 -0
  1985. package/lib/packages/todo/index.d.ts +21 -0
  1986. package/lib/packages/todo/index.js +351 -0
  1987. package/lib/packages/todo/locale/en.json +4 -0
  1988. package/lib/packages/todo/locale/ui.en.json +11 -0
  1989. package/lib/packages/todo/locale/ui.zh.json +11 -0
  1990. package/lib/packages/todo/todo.d.ts +73 -0
  1991. package/lib/packages/tool-search/index.js +474 -0
  1992. package/lib/packages/tool-search/locale/en.json +4 -0
  1993. package/lib/packages/tool-search/locale/ui.en.json +36 -0
  1994. package/lib/packages/tool-search/locale/ui.zh.json +36 -0
  1995. package/lib/packages/tool-search/tool-search.d.ts +153 -0
  1996. package/lib/packages/tools/locale/en.json +4 -0
  1997. package/lib/packages/tools-default/bash.d.ts +332 -0
  1998. package/lib/packages/tools-default/bash.js +1139 -0
  1999. package/lib/packages/tools-default/image-tool.d.ts +2 -0
  2000. package/lib/packages/tools-default/image-tool.js +59 -0
  2001. package/lib/packages/tools-default/index.js +407 -0
  2002. package/lib/packages/tools-default/locale/en.json +4 -0
  2003. package/lib/packages/tools-default/locale/ui.en.json +27 -0
  2004. package/lib/packages/tools-default/locale/ui.zh.json +27 -0
  2005. package/lib/packages/tools-default/persistent-shell.d.ts +79 -0
  2006. package/lib/packages/tools-default/persistent-shell.js +247 -0
  2007. package/lib/packages/tools-default/search-tools.d.ts +40 -0
  2008. package/lib/packages/tools-default/search-tools.js +484 -0
  2009. package/lib/packages/transcript/index.d.ts +48 -0
  2010. package/lib/packages/transcript/index.js +436 -0
  2011. package/lib/packages/transcript/locale/en.json +4 -0
  2012. package/lib/packages/tui/app/AgentsOverlay.d.ts +18 -0
  2013. package/lib/packages/tui/app/App.d.ts +21 -0
  2014. package/lib/packages/tui/app/App.js +1788 -0
  2015. package/lib/packages/tui/app/ApprovalCard.d.ts +12 -0
  2016. package/lib/packages/tui/app/ApprovalCard.js +82 -0
  2017. package/lib/packages/tui/app/AskCard.d.ts +20 -0
  2018. package/lib/packages/tui/app/ChatView.d.ts +67 -0
  2019. package/lib/packages/tui/app/ChatView.js +314 -0
  2020. package/lib/packages/tui/app/Composer.d.ts +56 -0
  2021. package/lib/packages/tui/app/Composer.js +306 -0
  2022. package/lib/packages/tui/app/DiffBlock.d.ts +6 -0
  2023. package/lib/packages/tui/app/DiffBlock.js +39 -0
  2024. package/lib/packages/tui/app/ModelPicker.d.ts +7 -0
  2025. package/lib/packages/tui/app/PlanReviewCard.d.ts +13 -0
  2026. package/lib/packages/tui/app/PresetPicker.d.ts +11 -0
  2027. package/lib/packages/tui/app/SessionPicker.d.ts +43 -0
  2028. package/lib/packages/tui/app/SettingsOverlay.d.ts +36 -0
  2029. package/lib/packages/tui/app/SettingsOverlay.js +265 -0
  2030. package/lib/packages/tui/app/SkillsPicker.d.ts +7 -0
  2031. package/lib/packages/tui/app/StatusBar.d.ts +22 -0
  2032. package/lib/packages/tui/app/StatusBar.js +189 -0
  2033. package/lib/packages/tui/app/TaskStrips.d.ts +13 -0
  2034. package/lib/packages/tui/app/TaskStrips.js +37 -0
  2035. package/lib/packages/tui/app/ToolCard.d.ts +11 -0
  2036. package/lib/packages/tui/app/ToolCard.js +62 -0
  2037. package/lib/packages/tui/app/TranscriptOverlay.d.ts +27 -0
  2038. package/lib/packages/tui/app/TranscriptViewport.d.ts +85 -0
  2039. package/lib/packages/tui/app/TranscriptViewport.js +233 -0
  2040. package/lib/packages/tui/app/Welcome.js +68 -0
  2041. package/lib/packages/tui/app/clipboard-image.js +66 -0
  2042. package/lib/packages/tui/app/display-width.d.ts +16 -0
  2043. package/lib/packages/tui/app/display-width.js +33 -0
  2044. package/lib/packages/tui/app/history-store.js +41 -0
  2045. package/lib/packages/tui/app/image-blocks.js +125 -0
  2046. package/lib/packages/tui/app/scroll-model.d.ts +240 -0
  2047. package/lib/packages/tui/app/settings-model.d.ts +128 -0
  2048. package/lib/packages/tui/app/settings-model.js +215 -0
  2049. package/lib/packages/tui/app/snapshot-subscribe.js +110 -0
  2050. package/lib/packages/tui/index.js +102 -0
  2051. package/lib/packages/tui/locale/en.json +4 -0
  2052. package/lib/packages/ui-actions/index.d.ts +27 -0
  2053. package/lib/packages/ui-actions/index.js +27 -0
  2054. package/lib/packages/ui-actions/locale/en.json +4 -0
  2055. package/lib/packages/ui-actions/locale/ui.en.json +3 -0
  2056. package/lib/packages/ui-actions/locale/ui.zh.json +3 -0
  2057. package/lib/packages/ui-ask/index.d.ts +29 -0
  2058. package/lib/packages/ui-ask/index.js +29 -0
  2059. package/lib/packages/ui-ask/locale/en.json +4 -0
  2060. package/lib/packages/ui-ask/locale/ui.en.json +28 -0
  2061. package/lib/packages/ui-ask/locale/ui.zh.json +28 -0
  2062. package/lib/packages/ui-boot/index.d.ts +13 -0
  2063. package/lib/packages/ui-boot/index.js +1 -0
  2064. package/lib/packages/ui-boot/locale/en.json +4 -0
  2065. package/lib/packages/ui-boot/locale/ui.en.json +28 -0
  2066. package/lib/packages/ui-boot/locale/ui.zh.json +28 -0
  2067. package/lib/packages/ui-browser/index.d.ts +29 -0
  2068. package/lib/packages/ui-browser/index.js +29 -0
  2069. package/lib/packages/ui-browser/locale/en.json +4 -0
  2070. package/lib/packages/ui-browser/locale/ui.en.json +17 -0
  2071. package/lib/packages/ui-browser/locale/ui.zh.json +17 -0
  2072. package/lib/packages/ui-composer/index.d.ts +28 -0
  2073. package/lib/packages/ui-composer/index.js +28 -0
  2074. package/lib/packages/ui-composer/locale/en.json +4 -0
  2075. package/lib/packages/ui-composer/locale/ui.en.json +161 -0
  2076. package/lib/packages/ui-composer/locale/ui.zh.json +161 -0
  2077. package/lib/packages/ui-core/frames.js +144 -0
  2078. package/lib/packages/ui-core/i18n.d.ts +33 -0
  2079. package/lib/packages/ui-core/i18n.js +42 -0
  2080. package/lib/packages/ui-core/index.d.ts +102 -0
  2081. package/lib/packages/ui-core/index.js +93 -0
  2082. package/lib/packages/ui-core/locale/en.json +4 -0
  2083. package/lib/packages/ui-core/plugin.d.ts +168 -0
  2084. package/lib/packages/ui-core/scoped-slots.d.ts +20 -0
  2085. package/lib/packages/ui-core/slots-ink.d.ts +26 -0
  2086. package/lib/packages/ui-core/slots-ink.js +78 -0
  2087. package/lib/packages/ui-core/slots.d.ts +490 -0
  2088. package/lib/packages/ui-core/tui-plugin-api.d.ts +23 -0
  2089. package/lib/packages/ui-core/tui-plugin-api.js +23 -0
  2090. package/lib/packages/ui-core/tui-plugins.d.ts +47 -0
  2091. package/lib/packages/ui-core/tui-plugins.js +293 -0
  2092. package/lib/packages/ui-dockkit/index.d.ts +13 -0
  2093. package/lib/packages/ui-dockkit/index.js +13 -0
  2094. package/lib/packages/ui-dockkit/locale/en.json +4 -0
  2095. package/lib/packages/ui-dockkit/locale/ui.en.json +21 -0
  2096. package/lib/packages/ui-dockkit/locale/ui.zh.json +21 -0
  2097. package/lib/packages/ui-files/index.d.ts +27 -0
  2098. package/lib/packages/ui-files/index.js +27 -0
  2099. package/lib/packages/ui-files/locale/en.json +4 -0
  2100. package/lib/packages/ui-files/locale/ui.en.json +43 -0
  2101. package/lib/packages/ui-files/locale/ui.zh.json +43 -0
  2102. package/lib/packages/ui-layout/index.d.ts +30 -0
  2103. package/lib/packages/ui-layout/index.js +30 -0
  2104. package/lib/packages/ui-layout/locale/en.json +4 -0
  2105. package/lib/packages/ui-layout/locale/ui.en.json +112 -0
  2106. package/lib/packages/ui-layout/locale/ui.zh.json +112 -0
  2107. package/lib/packages/ui-palette/index.d.ts +27 -0
  2108. package/lib/packages/ui-palette/index.js +27 -0
  2109. package/lib/packages/ui-palette/locale/en.json +4 -0
  2110. package/lib/packages/ui-palette/locale/ui.en.json +35 -0
  2111. package/lib/packages/ui-palette/locale/ui.zh.json +35 -0
  2112. package/lib/packages/ui-plugins/index.d.ts +27 -0
  2113. package/lib/packages/ui-plugins/index.js +27 -0
  2114. package/lib/packages/ui-plugins/locale/en.json +4 -0
  2115. package/lib/packages/ui-plugins/locale/ui.en.json +134 -0
  2116. package/lib/packages/ui-plugins/locale/ui.zh.json +134 -0
  2117. package/lib/packages/ui-preview/index.d.ts +27 -0
  2118. package/lib/packages/ui-preview/index.js +27 -0
  2119. package/lib/packages/ui-preview/locale/en.json +4 -0
  2120. package/lib/packages/ui-preview/locale/ui.en.json +29 -0
  2121. package/lib/packages/ui-preview/locale/ui.zh.json +29 -0
  2122. package/lib/packages/ui-primitives/index.d.ts +13 -0
  2123. package/lib/packages/ui-primitives/index.js +13 -0
  2124. package/lib/packages/ui-primitives/locale/en.json +4 -0
  2125. package/lib/packages/ui-primitives/locale/ui.en.json +167 -0
  2126. package/lib/packages/ui-primitives/locale/ui.zh.json +167 -0
  2127. package/lib/packages/ui-prompt/index.d.ts +29 -0
  2128. package/lib/packages/ui-prompt/index.js +29 -0
  2129. package/lib/packages/ui-prompt/locale/en.json +4 -0
  2130. package/lib/packages/ui-prompt/locale/ui.en.json +73 -0
  2131. package/lib/packages/ui-prompt/locale/ui.zh.json +73 -0
  2132. package/lib/packages/ui-renderer/index.d.ts +26 -0
  2133. package/lib/packages/ui-renderer/index.js +26 -0
  2134. package/lib/packages/ui-renderer/locale/en.json +4 -0
  2135. package/lib/packages/ui-renderer/locale/ui.en.json +14 -0
  2136. package/lib/packages/ui-renderer/locale/ui.zh.json +14 -0
  2137. package/lib/packages/ui-runtime/index.d.ts +17 -0
  2138. package/lib/packages/ui-runtime/index.js +17 -0
  2139. package/lib/packages/ui-runtime/locale/en.json +4 -0
  2140. package/lib/packages/ui-runtime/locale/ui.en.json +5 -0
  2141. package/lib/packages/ui-runtime/locale/ui.zh.json +5 -0
  2142. package/lib/packages/ui-sessions/index.d.ts +27 -0
  2143. package/lib/packages/ui-sessions/index.js +27 -0
  2144. package/lib/packages/ui-sessions/locale/en.json +4 -0
  2145. package/lib/packages/ui-sessions/locale/ui.en.json +119 -0
  2146. package/lib/packages/ui-sessions/locale/ui.zh.json +119 -0
  2147. package/lib/packages/ui-settings/index.d.ts +29 -0
  2148. package/lib/packages/ui-settings/index.js +29 -0
  2149. package/lib/packages/ui-settings/locale/en.json +4 -0
  2150. package/lib/packages/ui-settings/locale/ui.en.json +490 -0
  2151. package/lib/packages/ui-settings/locale/ui.zh.json +490 -0
  2152. package/lib/packages/ui-skills/index.d.ts +29 -0
  2153. package/lib/packages/ui-skills/index.js +29 -0
  2154. package/lib/packages/ui-skills/locale/en.json +4 -0
  2155. package/lib/packages/ui-skills/locale/ui.en.json +93 -0
  2156. package/lib/packages/ui-skills/locale/ui.zh.json +93 -0
  2157. package/lib/packages/ui-slots/index.d.ts +13 -0
  2158. package/lib/packages/ui-slots/index.js +13 -0
  2159. package/lib/packages/ui-slots/locale/en.json +4 -0
  2160. package/lib/packages/ui-slots/locale/ui.en.json +4 -0
  2161. package/lib/packages/ui-slots/locale/ui.zh.json +4 -0
  2162. package/lib/packages/ui-status/index.d.ts +27 -0
  2163. package/lib/packages/ui-status/index.js +27 -0
  2164. package/lib/packages/ui-status/locale/en.json +4 -0
  2165. package/lib/packages/ui-status/locale/ui.en.json +134 -0
  2166. package/lib/packages/ui-status/locale/ui.zh.json +134 -0
  2167. package/lib/packages/ui-statusbar/index.d.ts +28 -0
  2168. package/lib/packages/ui-statusbar/index.js +28 -0
  2169. package/lib/packages/ui-statusbar/locale/en.json +4 -0
  2170. package/lib/packages/ui-statusbar/locale/ui.en.json +33 -0
  2171. package/lib/packages/ui-statusbar/locale/ui.zh.json +33 -0
  2172. package/lib/packages/ui-superagent/index.d.ts +31 -0
  2173. package/lib/packages/ui-superagent/index.js +31 -0
  2174. package/lib/packages/ui-superagent/locale/en.json +4 -0
  2175. package/lib/packages/ui-superagent/locale/ui.en.json +117 -0
  2176. package/lib/packages/ui-superagent/locale/ui.zh.json +117 -0
  2177. package/lib/packages/ui-tasks/index.d.ts +27 -0
  2178. package/lib/packages/ui-tasks/index.js +27 -0
  2179. package/lib/packages/ui-tasks/locale/en.json +4 -0
  2180. package/lib/packages/ui-tasks/locale/ui.en.json +22 -0
  2181. package/lib/packages/ui-tasks/locale/ui.zh.json +22 -0
  2182. package/lib/packages/ui-team/index.d.ts +29 -0
  2183. package/lib/packages/ui-team/index.js +29 -0
  2184. package/lib/packages/ui-team/locale/en.json +4 -0
  2185. package/lib/packages/ui-team/locale/ui.en.json +19 -0
  2186. package/lib/packages/ui-team/locale/ui.zh.json +19 -0
  2187. package/lib/packages/ui-terminal/index.d.ts +27 -0
  2188. package/lib/packages/ui-terminal/index.js +27 -0
  2189. package/lib/packages/ui-terminal/locale/en.json +4 -0
  2190. package/lib/packages/ui-terminal/locale/ui.en.json +9 -0
  2191. package/lib/packages/ui-terminal/locale/ui.zh.json +9 -0
  2192. package/lib/packages/ui-trace/index.d.ts +28 -0
  2193. package/lib/packages/ui-trace/index.js +28 -0
  2194. package/lib/packages/ui-trace/locale/en.json +4 -0
  2195. package/lib/packages/ui-trace/locale/ui.en.json +118 -0
  2196. package/lib/packages/ui-trace/locale/ui.zh.json +118 -0
  2197. package/lib/packages/ui-transcript/index.d.ts +30 -0
  2198. package/lib/packages/ui-transcript/index.js +30 -0
  2199. package/lib/packages/ui-transcript/locale/en.json +4 -0
  2200. package/lib/packages/ui-transcript/locale/ui.en.json +281 -0
  2201. package/lib/packages/ui-transcript/locale/ui.zh.json +281 -0
  2202. package/lib/packages/waiting/index.d.ts +17 -0
  2203. package/lib/packages/waiting/index.js +53 -0
  2204. package/lib/packages/waiting/locale/en.json +4 -0
  2205. package/lib/packages/web-fetch/html.d.ts +26 -0
  2206. package/lib/packages/web-fetch/html.js +249 -0
  2207. package/lib/packages/web-fetch/http.d.ts +97 -0
  2208. package/lib/packages/web-fetch/http.js +252 -0
  2209. package/lib/packages/web-fetch/index.d.ts +17 -0
  2210. package/lib/packages/web-fetch/index.js +165 -0
  2211. package/lib/packages/web-fetch/locale/en.json +4 -0
  2212. package/lib/packages/web-fetch/locale/ui.en.json +14 -0
  2213. package/lib/packages/web-fetch/locale/ui.zh.json +14 -0
  2214. package/lib/packages/web-search/index.d.ts +15 -0
  2215. package/lib/packages/web-search/index.js +521 -0
  2216. package/lib/packages/web-search/locale/en.json +4 -0
  2217. package/lib/packages/web-search/locale/ui.en.json +30 -0
  2218. package/lib/packages/web-search/locale/ui.zh.json +30 -0
  2219. package/lib/packages/webserver/index.d.ts +51 -0
  2220. package/lib/packages/webserver/index.js +316 -0
  2221. package/lib/packages/webserver/locale/en.json +4 -0
  2222. package/lib/services/types.d.ts +318 -21
  2223. package/package.json +64 -8
  2224. package/lib/adapter/core-runtime.d.ts +0 -11
  2225. package/lib/adapter/core-runtime.js +0 -259
  2226. package/lib/adapter/host.d.ts +0 -18
  2227. package/lib/adapter/host.js +0 -14
  2228. package/lib/adapter/runtime.d.ts +0 -15
  2229. package/lib/adapter/runtime.js +0 -290
  2230. package/lib/app/AgentsOverlay.d.ts +0 -18
  2231. package/lib/app/App.d.ts +0 -15
  2232. package/lib/app/App.js +0 -1650
  2233. package/lib/app/App.js.nv-backup +0 -1650
  2234. package/lib/app/ApprovalCard.d.ts +0 -12
  2235. package/lib/app/ApprovalCard.js +0 -82
  2236. package/lib/app/AskCard.d.ts +0 -20
  2237. package/lib/app/ChatView.d.ts +0 -65
  2238. package/lib/app/ChatView.js +0 -314
  2239. package/lib/app/Composer.d.ts +0 -50
  2240. package/lib/app/Composer.js +0 -300
  2241. package/lib/app/DiffBlock.d.ts +0 -6
  2242. package/lib/app/DiffBlock.js +0 -37
  2243. package/lib/app/ModelPicker.d.ts +0 -7
  2244. package/lib/app/PlanReviewCard.d.ts +0 -13
  2245. package/lib/app/PresetPicker.d.ts +0 -11
  2246. package/lib/app/SessionPicker.d.ts +0 -43
  2247. package/lib/app/SettingsOverlay.d.ts +0 -32
  2248. package/lib/app/SettingsOverlay.js +0 -157
  2249. package/lib/app/SkillsPicker.d.ts +0 -7
  2250. package/lib/app/StatusBar.d.ts +0 -22
  2251. package/lib/app/StatusBar.js +0 -189
  2252. package/lib/app/TaskStrips.d.ts +0 -13
  2253. package/lib/app/TaskStrips.js +0 -37
  2254. package/lib/app/TimelineRail.js.negbak +0 -98
  2255. package/lib/app/TimelineRail.js.nv-backup +0 -160
  2256. package/lib/app/ToolCard.d.ts +0 -11
  2257. package/lib/app/ToolCard.js +0 -60
  2258. package/lib/app/ToolCard.js.nv-backup +0 -64
  2259. package/lib/app/TranscriptOverlay.d.ts +0 -27
  2260. package/lib/app/TranscriptViewport.d.ts +0 -78
  2261. package/lib/app/TranscriptViewport.js +0 -218
  2262. package/lib/app/Welcome.js +0 -68
  2263. package/lib/app/clipboard-image.js +0 -66
  2264. package/lib/app/display-width.d.ts +0 -16
  2265. package/lib/app/display-width.js +0 -33
  2266. package/lib/app/hello.d.ts +0 -11
  2267. package/lib/app/hello.js +0 -8
  2268. package/lib/app/history-store.js +0 -41
  2269. package/lib/app/image-blocks.js +0 -125
  2270. package/lib/app/scroll-model.d.ts +0 -240
  2271. package/lib/app/settings-model.d.ts +0 -69
  2272. package/lib/app/settings-model.js +0 -114
  2273. package/lib/app/snapshot-subscribe.js +0 -110
  2274. package/lib/commands.d.ts +0 -49
  2275. package/lib/commands.js +0 -115
  2276. package/lib/core/agent-roles.d.ts +0 -52
  2277. package/lib/core/agent-roles.js +0 -275
  2278. package/lib/core/approval-floor.d.ts +0 -192
  2279. package/lib/core/approval-floor.js +0 -806
  2280. package/lib/core/approval.d.ts +0 -42
  2281. package/lib/core/approval.js +0 -8
  2282. package/lib/core/call-meaning.js +0 -347
  2283. package/lib/core/cdp/actions.js +0 -655
  2284. package/lib/core/cdp/launch.js +0 -491
  2285. package/lib/core/cdp/report.d.ts +0 -27
  2286. package/lib/core/cdp/report.js +0 -50
  2287. package/lib/core/cdp/ring-buffer.d.ts +0 -25
  2288. package/lib/core/cdp/ring-buffer.js +0 -44
  2289. package/lib/core/cdp/snapshot.d.ts +0 -139
  2290. package/lib/core/cdp/snapshot.js +0 -312
  2291. package/lib/core/cdp/transport.d.ts +0 -160
  2292. package/lib/core/cdp/transport.js +0 -359
  2293. package/lib/core/commands-completion.d.ts +0 -106
  2294. package/lib/core/compact.d.ts +0 -140
  2295. package/lib/core/compact.js +0 -282
  2296. package/lib/core/connection-test.d.ts +0 -60
  2297. package/lib/core/connection-test.js +0 -84
  2298. package/lib/core/desktop-control.d.ts +0 -298
  2299. package/lib/core/desktop-control.js +0 -1309
  2300. package/lib/core/dsh-compat/hook.d.ts +0 -18
  2301. package/lib/core/dsh-compat/hook.js +0 -52
  2302. package/lib/core/goal.d.ts +0 -89
  2303. package/lib/core/hooks.d.ts +0 -289
  2304. package/lib/core/hooks.js +0 -862
  2305. package/lib/core/learnings/ledger.d.ts +0 -73
  2306. package/lib/core/learnings/ledger.js +0 -273
  2307. package/lib/core/learnings/skill-write.d.ts +0 -244
  2308. package/lib/core/learnings/skill-write.js +0 -820
  2309. package/lib/core/learnings/store.js +0 -266
  2310. package/lib/core/lifecycle-hooks.d.ts +0 -197
  2311. package/lib/core/lifecycle-hooks.js +0 -567
  2312. package/lib/core/loop.d.ts +0 -195
  2313. package/lib/core/loop.js +0 -654
  2314. package/lib/core/lsp/client.js +0 -703
  2315. package/lib/core/lsp/manager.js +0 -418
  2316. package/lib/core/lsp/normalize.js +0 -134
  2317. package/lib/core/lsp/servers.js +0 -349
  2318. package/lib/core/market.d.ts +0 -51
  2319. package/lib/core/market.js +0 -358
  2320. package/lib/core/mcp.d.ts +0 -219
  2321. package/lib/core/mcp.js +0 -880
  2322. package/lib/core/memory.d.ts +0 -266
  2323. package/lib/core/memory.js +0 -703
  2324. package/lib/core/microcompact.d.ts +0 -93
  2325. package/lib/core/microcompact.js +0 -207
  2326. package/lib/core/modes.d.ts +0 -72
  2327. package/lib/core/modes.js +0 -152
  2328. package/lib/core/permission-presets.d.ts +0 -71
  2329. package/lib/core/permission-scope.d.ts +0 -65
  2330. package/lib/core/presets.d.ts +0 -91
  2331. package/lib/core/presets.js +0 -412
  2332. package/lib/core/prompt.d.ts +0 -92
  2333. package/lib/core/prompt.js +0 -375
  2334. package/lib/core/sandbox/backends.d.ts +0 -64
  2335. package/lib/core/sandbox/execpolicy.d.ts +0 -93
  2336. package/lib/core/sandbox/execpolicy.js +0 -476
  2337. package/lib/core/sandbox/net-proxy.js +0 -162
  2338. package/lib/core/sandbox/policy.d.ts +0 -211
  2339. package/lib/core/sandbox/policy.js +0 -565
  2340. package/lib/core/sandbox/win/account.js +0 -203
  2341. package/lib/core/sandbox/win/backend.d.ts +0 -82
  2342. package/lib/core/sandbox/win/backend.js +0 -299
  2343. package/lib/core/sandbox/win/doctor.js +0 -269
  2344. package/lib/core/sandbox/win/ffi.d.ts +0 -107
  2345. package/lib/core/sandbox/win/ffi.js +0 -166
  2346. package/lib/core/sandbox/win/runner-entry.d.ts +0 -35
  2347. package/lib/core/sandbox/win/runner-entry.js +0 -386
  2348. package/lib/core/sandbox/win/setup.d.ts +0 -60
  2349. package/lib/core/sandbox/win/setup.js +0 -983
  2350. package/lib/core/sandbox/win/wfp.js +0 -197
  2351. package/lib/core/session-export.d.ts +0 -18
  2352. package/lib/core/session-export.js +0 -73
  2353. package/lib/core/session-index.js +0 -849
  2354. package/lib/core/todo.d.ts +0 -81
  2355. package/lib/core/tool-result-prune.d.ts +0 -42
  2356. package/lib/core/tool-result-prune.js +0 -47
  2357. package/lib/core/tool-search.d.ts +0 -153
  2358. package/lib/core/tools/bash.d.ts +0 -313
  2359. package/lib/core/tools/bash.js +0 -998
  2360. package/lib/core/tools/image-tool.d.ts +0 -2
  2361. package/lib/core/tools/image-tool.js +0 -59
  2362. package/lib/core/tools/index.d.ts +0 -8
  2363. package/lib/core/tools/index.js +0 -4
  2364. package/lib/core/tools/search-tools.d.ts +0 -33
  2365. package/lib/core/tools/search-tools.js +0 -440
  2366. package/lib/index.d.ts +0 -41
  2367. package/lib/index.js +0 -35
  2368. package/lib/plugins/agent.d.ts +0 -2
  2369. package/lib/plugins/agent.js +0 -355
  2370. package/lib/plugins/approval-floor.js +0 -227
  2371. package/lib/plugins/approval.d.ts +0 -16
  2372. package/lib/plugins/approval.js +0 -846
  2373. package/lib/plugins/ask.js +0 -297
  2374. package/lib/plugins/browser.d.ts +0 -68
  2375. package/lib/plugins/browser.js +0 -1289
  2376. package/lib/plugins/commands.d.ts +0 -23
  2377. package/lib/plugins/commands.js +0 -608
  2378. package/lib/plugins/compact.d.ts +0 -21
  2379. package/lib/plugins/compact.js +0 -444
  2380. package/lib/plugins/computer-use.d.ts +0 -47
  2381. package/lib/plugins/computer-use.js +0 -555
  2382. package/lib/plugins/desktop-dock.d.ts +0 -2
  2383. package/lib/plugins/desktop-dock.js +0 -626
  2384. package/lib/plugins/dock-browser.d.ts +0 -34
  2385. package/lib/plugins/dock-browser.js +0 -724
  2386. package/lib/plugins/dsh-compat.js +0 -44
  2387. package/lib/plugins/file-review.d.ts +0 -108
  2388. package/lib/plugins/file-review.js +0 -437
  2389. package/lib/plugins/git.js +0 -140
  2390. package/lib/plugins/goal.d.ts +0 -20
  2391. package/lib/plugins/goal.js +0 -246
  2392. package/lib/plugins/guards.js +0 -18
  2393. package/lib/plugins/hooks.d.ts +0 -19
  2394. package/lib/plugins/hooks.js +0 -585
  2395. package/lib/plugins/host-stdio.d.ts +0 -88
  2396. package/lib/plugins/host-stdio.js +0 -315
  2397. package/lib/plugins/image-diet.js +0 -85
  2398. package/lib/plugins/lifecycle-hooks.d.ts +0 -27
  2399. package/lib/plugins/lifecycle-hooks.js +0 -340
  2400. package/lib/plugins/llm.d.ts +0 -13
  2401. package/lib/plugins/llm.js +0 -256
  2402. package/lib/plugins/lsp.d.ts +0 -54
  2403. package/lib/plugins/lsp.js +0 -603
  2404. package/lib/plugins/mcp.js +0 -672
  2405. package/lib/plugins/memory.d.ts +0 -17
  2406. package/lib/plugins/memory.js +0 -837
  2407. package/lib/plugins/microcompact.d.ts +0 -21
  2408. package/lib/plugins/microcompact.js +0 -217
  2409. package/lib/plugins/mode.d.ts +0 -18
  2410. package/lib/plugins/mode.js +0 -134
  2411. package/lib/plugins/permission-presets.d.ts +0 -19
  2412. package/lib/plugins/permission-presets.js +0 -155
  2413. package/lib/plugins/plan.js +0 -192
  2414. package/lib/plugins/plugin-manager.js +0 -163
  2415. package/lib/plugins/presets.js +0 -211
  2416. package/lib/plugins/prompt.d.ts +0 -2
  2417. package/lib/plugins/prompt.js +0 -307
  2418. package/lib/plugins/ptc.js +0 -369
  2419. package/lib/plugins/remote/http.d.ts +0 -11
  2420. package/lib/plugins/remote/http.js +0 -11
  2421. package/lib/plugins/remote/routes.js +0 -384
  2422. package/lib/plugins/remote/types.d.ts +0 -135
  2423. package/lib/plugins/remote/types.js +0 -98
  2424. package/lib/plugins/remote.d.ts +0 -17
  2425. package/lib/plugins/remote.js +0 -1027
  2426. package/lib/plugins/runtime-api.js +0 -99
  2427. package/lib/plugins/runtime.js +0 -528
  2428. package/lib/plugins/sandbox.js +0 -882
  2429. package/lib/plugins/schedule.d.ts +0 -26
  2430. package/lib/plugins/schedule.js +0 -539
  2431. package/lib/plugins/self-improve.d.ts +0 -61
  2432. package/lib/plugins/self-improve.js +0 -963
  2433. package/lib/plugins/session-search.js +0 -313
  2434. package/lib/plugins/session-title.js +0 -109
  2435. package/lib/plugins/session.js +0 -374
  2436. package/lib/plugins/settings.d.ts +0 -3
  2437. package/lib/plugins/settings.js +0 -681
  2438. package/lib/plugins/skills.d.ts +0 -2
  2439. package/lib/plugins/skills.js +0 -377
  2440. package/lib/plugins/spill.js +0 -207
  2441. package/lib/plugins/subagent.d.ts +0 -2
  2442. package/lib/plugins/subagent.js +0 -1062
  2443. package/lib/plugins/surfaces.d.ts +0 -11
  2444. package/lib/plugins/surfaces.js +0 -20
  2445. package/lib/plugins/team.d.ts +0 -16
  2446. package/lib/plugins/team.js +0 -155
  2447. package/lib/plugins/todo.d.ts +0 -19
  2448. package/lib/plugins/todo.js +0 -194
  2449. package/lib/plugins/tool-search.js +0 -453
  2450. package/lib/plugins/tool-search.js.nv-backup +0 -434
  2451. package/lib/plugins/tools-default.js +0 -359
  2452. package/lib/plugins/transcript.d.ts +0 -15
  2453. package/lib/plugins/transcript.js +0 -418
  2454. package/lib/plugins/tui.js +0 -98
  2455. package/lib/plugins/waiting.d.ts +0 -12
  2456. package/lib/plugins/waiting.js +0 -34
  2457. package/lib/plugins/web-search.d.ts +0 -14
  2458. package/lib/plugins/web-search.js +0 -272
  2459. package/lib/plugins/webserver.d.ts +0 -48
  2460. package/lib/plugins/webserver.js +0 -261
  2461. package/lib/remote/assets/app-B3Id1EBq.js +0 -14
  2462. package/lib/remote/assets/icon-192.png +0 -0
  2463. package/lib/remote/assets/icon-512.png +0 -0
  2464. package/lib/remote/assets/index.html +0 -34
  2465. package/lib/remote/assets/manifest.json +0 -27
  2466. package/lib/remote/assets/style-NtlpbKOI.css +0 -1
  2467. package/lib/remote/assets/sw.js +0 -66
  2468. package/lib/tools/config-cli.js +0 -89
  2469. package/lib/tools/plugin-cli.js +0 -209
  2470. package/lib/ui/assets/app-B-Jx5dnh.js +0 -90
  2471. package/lib/ui/assets/chunk-2UxHyX5q.js +0 -1
  2472. package/lib/ui/assets/chunk-B1dDrJ26.js +0 -1
  2473. package/lib/ui/assets/chunk-B6aJPvgy.js +0 -1
  2474. package/lib/ui/assets/chunk-BEwlwnbL.js +0 -1
  2475. package/lib/ui/assets/chunk-BIGW1oBm.js +0 -1
  2476. package/lib/ui/assets/chunk-BPQ3VLAy.js +0 -1
  2477. package/lib/ui/assets/chunk-BRH0KZbk.js +0 -141
  2478. package/lib/ui/assets/chunk-BX6H_ySx.js +0 -1
  2479. package/lib/ui/assets/chunk-B_P3UbPa.js +0 -1
  2480. package/lib/ui/assets/chunk-B_TYUkTI.js +0 -1
  2481. package/lib/ui/assets/chunk-B_vNuMnf.js +0 -1
  2482. package/lib/ui/assets/chunk-BdnUsdx6.js +0 -1
  2483. package/lib/ui/assets/chunk-Bfdlo8Me.js +0 -10
  2484. package/lib/ui/assets/chunk-Buea-lGh.js +0 -1
  2485. package/lib/ui/assets/chunk-C0PvZCCE.js +0 -1
  2486. package/lib/ui/assets/chunk-C0m74zRD.js +0 -1
  2487. package/lib/ui/assets/chunk-C27-OAKa.js +0 -1
  2488. package/lib/ui/assets/chunk-C2oV4EkX.js +0 -1
  2489. package/lib/ui/assets/chunk-C7zT0LnQ.js +0 -1
  2490. package/lib/ui/assets/chunk-C9GSunVT.js +0 -1
  2491. package/lib/ui/assets/chunk-C9tS-k6U.js +0 -1
  2492. package/lib/ui/assets/chunk-CHLpvVh8.js +0 -1
  2493. package/lib/ui/assets/chunk-CLxacb5B.js +0 -1
  2494. package/lib/ui/assets/chunk-COt5Ahok.js +0 -1
  2495. package/lib/ui/assets/chunk-CPTIWCL2.js +0 -1
  2496. package/lib/ui/assets/chunk-CQLl-L-p.js +0 -1
  2497. package/lib/ui/assets/chunk-CUWRgxuq.js +0 -55
  2498. package/lib/ui/assets/chunk-CWanVSXC.js +0 -1
  2499. package/lib/ui/assets/chunk-Cf5RLm7j.js +0 -1
  2500. package/lib/ui/assets/chunk-CickPsom.js +0 -1
  2501. package/lib/ui/assets/chunk-Cj5Yp3dK.js +0 -1
  2502. package/lib/ui/assets/chunk-Cmh6b_Ma.js +0 -1
  2503. package/lib/ui/assets/chunk-Cp-IABpG.js +0 -1
  2504. package/lib/ui/assets/chunk-CqE71os6.js +0 -1
  2505. package/lib/ui/assets/chunk-CtKP3W-j.js +0 -1
  2506. package/lib/ui/assets/chunk-Cvjx9yec.js +0 -1
  2507. package/lib/ui/assets/chunk-CxGP3dtY.js +0 -1
  2508. package/lib/ui/assets/chunk-CylS5w8V.js +0 -1
  2509. package/lib/ui/assets/chunk-D38fbIBN.js +0 -1
  2510. package/lib/ui/assets/chunk-D97Zzqfu.js +0 -1
  2511. package/lib/ui/assets/chunk-DAi9KRSo.js +0 -1
  2512. package/lib/ui/assets/chunk-DGX-i4eb.js +0 -12
  2513. package/lib/ui/assets/chunk-DHK4yRfg.js +0 -1
  2514. package/lib/ui/assets/chunk-DJeabLx-.js +0 -1
  2515. package/lib/ui/assets/chunk-DNRxmY5a.js +0 -1
  2516. package/lib/ui/assets/chunk-DNSN1z5r.js +0 -1
  2517. package/lib/ui/assets/chunk-DNasK_ZG.js +0 -1
  2518. package/lib/ui/assets/chunk-DPvrY3IQ.js +0 -1
  2519. package/lib/ui/assets/chunk-DXmwc3jG.js +0 -1
  2520. package/lib/ui/assets/chunk-Dd0kTxKP.js +0 -1
  2521. package/lib/ui/assets/chunk-De0Btta0.js +0 -1
  2522. package/lib/ui/assets/chunk-Des-eS-w.js +0 -1
  2523. package/lib/ui/assets/chunk-Df6bDoY_.js +0 -1
  2524. package/lib/ui/assets/chunk-DijEV5ha.js +0 -1
  2525. package/lib/ui/assets/chunk-DkvoVjww.js +0 -1
  2526. package/lib/ui/assets/chunk-DlC-OlHO.js +0 -1
  2527. package/lib/ui/assets/chunk-DnzrXTVv.js +0 -1
  2528. package/lib/ui/assets/chunk-Dualf0xi.js +0 -1
  2529. package/lib/ui/assets/chunk-EXT84bkm.js +0 -1
  2530. package/lib/ui/assets/chunk-GwR3hkPK.js +0 -1
  2531. package/lib/ui/assets/chunk-P80f7IUj.js +0 -1
  2532. package/lib/ui/assets/chunk-VOosw3JB.js +0 -1
  2533. package/lib/ui/assets/chunk-YQ4lDkt_.js +0 -140
  2534. package/lib/ui/assets/chunk-Yzrsuije.js +0 -1
  2535. package/lib/ui/assets/chunk-Z72CF80r.js +0 -1
  2536. package/lib/ui/assets/chunk-g9-lgVsj.js +0 -1
  2537. package/lib/ui/assets/chunk-vGWfd6FD.js +0 -1
  2538. package/lib/ui/assets/chunk-wDzz0qaB.js +0 -1
  2539. package/lib/ui/assets/chunk-ySF7HWmS.js +0 -1
  2540. package/lib/ui/assets/icon.png +0 -0
  2541. package/lib/ui/assets/index.html +0 -62
  2542. package/lib/ui/assets/pdf.worker.min-CjEcRF4W.mjs +0 -28
  2543. package/lib/ui/assets/style-WzxwEPaE.css +0 -1
  2544. package/lib/ui/frames.js +0 -144
  2545. package/lib/ui/index.d.ts +0 -88
  2546. package/lib/ui/index.js +0 -79
  2547. package/lib/ui/manifest.d.ts +0 -190
  2548. package/lib/ui/manifest.js +0 -159
  2549. package/lib/ui/plugin.d.ts +0 -161
  2550. package/lib/ui/plugins/actions/bundle.json +0 -8
  2551. package/lib/ui/plugins/actions/client.js +0 -43
  2552. package/lib/ui/plugins/ask/bundle.json +0 -8
  2553. package/lib/ui/plugins/ask/client.js +0 -415
  2554. package/lib/ui/plugins/browser/bundle.json +0 -8
  2555. package/lib/ui/plugins/browser/client.js +0 -290
  2556. package/lib/ui/plugins/browser/icon.png +0 -0
  2557. package/lib/ui/plugins/composer/bundle.json +0 -9
  2558. package/lib/ui/plugins/composer/client.js +0 -2562
  2559. package/lib/ui/plugins/composer/icon.png +0 -0
  2560. package/lib/ui/plugins/files/bundle.json +0 -8
  2561. package/lib/ui/plugins/files/client.js +0 -561
  2562. package/lib/ui/plugins/files/icon.png +0 -0
  2563. package/lib/ui/plugins/manifest.json +0 -4
  2564. package/lib/ui/plugins/palette/bundle.json +0 -8
  2565. package/lib/ui/plugins/palette/client.js +0 -360
  2566. package/lib/ui/plugins/plugins/bundle.json +0 -8
  2567. package/lib/ui/plugins/plugins/client.js +0 -760
  2568. package/lib/ui/plugins/plugins/icon.png +0 -0
  2569. package/lib/ui/plugins/preview/bundle.json +0 -8
  2570. package/lib/ui/plugins/preview/client.js +0 -187
  2571. package/lib/ui/plugins/preview/icon.png +0 -0
  2572. package/lib/ui/plugins/prompt/bundle.json +0 -8
  2573. package/lib/ui/plugins/prompt/client.js +0 -687
  2574. package/lib/ui/plugins/prompt/icon.png +0 -0
  2575. package/lib/ui/plugins/sessions/bundle.json +0 -8
  2576. package/lib/ui/plugins/sessions/client.js +0 -1623
  2577. package/lib/ui/plugins/sessions/icon.png +0 -0
  2578. package/lib/ui/plugins/settings/bundle.json +0 -8
  2579. package/lib/ui/plugins/settings/client.js +0 -5484
  2580. package/lib/ui/plugins/settings/icon.png +0 -0
  2581. package/lib/ui/plugins/skills/bundle.json +0 -8
  2582. package/lib/ui/plugins/skills/client.js +0 -567
  2583. package/lib/ui/plugins/skills/icon.png +0 -0
  2584. package/lib/ui/plugins/status/bundle.json +0 -8
  2585. package/lib/ui/plugins/status/client.js +0 -1559
  2586. package/lib/ui/plugins/status/icon.png +0 -0
  2587. package/lib/ui/plugins/statusbar/bundle.json +0 -9
  2588. package/lib/ui/plugins/statusbar/client.js +0 -460
  2589. package/lib/ui/plugins/statusbar/icon.png +0 -0
  2590. package/lib/ui/plugins/tasks/bundle.json +0 -8
  2591. package/lib/ui/plugins/tasks/client.js +0 -52
  2592. package/lib/ui/plugins/tasks/icon.png +0 -0
  2593. package/lib/ui/plugins/team/bundle.json +0 -8
  2594. package/lib/ui/plugins/team/client.js +0 -529
  2595. package/lib/ui/plugins/team/icon.png +0 -0
  2596. package/lib/ui/plugins/terminal/bundle.json +0 -8
  2597. package/lib/ui/plugins/terminal/client.js +0 -226
  2598. package/lib/ui/plugins/terminal/icon.png +0 -0
  2599. package/lib/ui/plugins/trace/bundle.json +0 -11
  2600. package/lib/ui/plugins/trace/client.js +0 -1283
  2601. package/lib/ui/plugins/trace/icon.png +0 -0
  2602. package/lib/ui/plugins/transcript/bundle.json +0 -8
  2603. package/lib/ui/plugins/transcript/client.js +0 -3026
  2604. package/lib/ui/plugins/transcript/icon.png +0 -0
  2605. package/lib/ui/scoped-slots.d.ts +0 -20
  2606. package/lib/ui/sdk/@dsc/ui/index.d.ts +0 -280
  2607. package/lib/ui/sdk/@dsc/ui/package.json +0 -16
  2608. package/lib/ui/sdk/@dsc/ui-core/contract.d.ts +0 -25
  2609. package/lib/ui/sdk/@dsc/ui-core/core/attachments.d.ts +0 -185
  2610. package/lib/ui/sdk/@dsc/ui-core/core/bytes.d.ts +0 -14
  2611. package/lib/ui/sdk/@dsc/ui-core/core/diff-text.d.ts +0 -74
  2612. package/lib/ui/sdk/@dsc/ui-core/core/dock-browser.d.ts +0 -137
  2613. package/lib/ui/sdk/@dsc/ui-core/core/dock-ops.d.ts +0 -59
  2614. package/lib/ui/sdk/@dsc/ui-core/core/err-text.d.ts +0 -18
  2615. package/lib/ui/sdk/@dsc/ui-core/core/git-surface.d.ts +0 -17
  2616. package/lib/ui/sdk/@dsc/ui-core/core/json-text.d.ts +0 -11
  2617. package/lib/ui/sdk/@dsc/ui-core/core/model-caps.d.ts +0 -83
  2618. package/lib/ui/sdk/@dsc/ui-core/core/native-bridge.d.ts +0 -135
  2619. package/lib/ui/sdk/@dsc/ui-core/core/path-policy.d.ts +0 -44
  2620. package/lib/ui/sdk/@dsc/ui-core/core/records.d.ts +0 -16
  2621. package/lib/ui/sdk/@dsc/ui-core/core/throughput.d.ts +0 -46
  2622. package/lib/ui/sdk/@dsc/ui-core/core/token-estimate.d.ts +0 -71
  2623. package/lib/ui/sdk/@dsc/ui-core/core/unified-diff.d.ts +0 -35
  2624. package/lib/ui/sdk/@dsc/ui-core/package.json +0 -16
  2625. package/lib/ui/sdk/@dsc/ui-core/ui/arrival.d.ts +0 -72
  2626. package/lib/ui/sdk/@dsc/ui-core/ui/frames.d.ts +0 -67
  2627. package/lib/ui/sdk/@dsc/ui-core/ui/index.d.ts +0 -88
  2628. package/lib/ui/sdk/@dsc/ui-core/ui/manifest.d.ts +0 -190
  2629. package/lib/ui/sdk/@dsc/ui-core/ui/plugin.d.ts +0 -161
  2630. package/lib/ui/sdk/@dsc/ui-core/ui/scoped-slots.d.ts +0 -20
  2631. package/lib/ui/sdk/@dsc/ui-core/ui/slots.d.ts +0 -481
  2632. package/lib/ui/sdk/@dsc/ui-dockkit/dock-model.d.ts +0 -252
  2633. package/lib/ui/sdk/@dsc/ui-dockkit/dock-state.d.ts +0 -163
  2634. package/lib/ui/sdk/@dsc/ui-dockkit/dock.d.ts +0 -24
  2635. package/lib/ui/sdk/@dsc/ui-dockkit/index.d.ts +0 -15
  2636. package/lib/ui/sdk/@dsc/ui-dockkit/package.json +0 -16
  2637. package/lib/ui/sdk/@dsc/ui-layout/app.d.ts +0 -78
  2638. package/lib/ui/sdk/@dsc/ui-layout/appearance.d.ts +0 -75
  2639. package/lib/ui/sdk/@dsc/ui-layout/host-channel.d.ts +0 -133
  2640. package/lib/ui/sdk/@dsc/ui-layout/index.d.ts +0 -35
  2641. package/lib/ui/sdk/@dsc/ui-layout/package.json +0 -16
  2642. package/lib/ui/sdk/@dsc/ui-layout/page-state.d.ts +0 -14
  2643. package/lib/ui/sdk/@dsc/ui-layout/review-pane.d.ts +0 -21
  2644. package/lib/ui/sdk/@dsc/ui-layout/runtime-context.d.ts +0 -53
  2645. package/lib/ui/sdk/@dsc/ui-layout/thread-view.d.ts +0 -28
  2646. package/lib/ui/sdk/@dsc/ui-layout/update-button.d.ts +0 -21
  2647. package/lib/ui/sdk/@dsc/ui-layout/usage-today.d.ts +0 -11
  2648. package/lib/ui/sdk/@dsc/ui-primitives/code-file-icon-artwork.d.ts +0 -53
  2649. package/lib/ui/sdk/@dsc/ui-primitives/code-view.d.ts +0 -15
  2650. package/lib/ui/sdk/@dsc/ui-primitives/compat.d.ts +0 -27
  2651. package/lib/ui/sdk/@dsc/ui-primitives/completion-sound.d.ts +0 -24
  2652. package/lib/ui/sdk/@dsc/ui-primitives/confirm.d.ts +0 -33
  2653. package/lib/ui/sdk/@dsc/ui-primitives/css.d.ts +0 -47
  2654. package/lib/ui/sdk/@dsc/ui-primitives/dialog-focus.d.ts +0 -30
  2655. package/lib/ui/sdk/@dsc/ui-primitives/diff-rows.d.ts +0 -20
  2656. package/lib/ui/sdk/@dsc/ui-primitives/error-text.d.ts +0 -12
  2657. package/lib/ui/sdk/@dsc/ui-primitives/file-icons.d.ts +0 -38
  2658. package/lib/ui/sdk/@dsc/ui-primitives/file-type-classify.d.ts +0 -66
  2659. package/lib/ui/sdk/@dsc/ui-primitives/file-type-icon.d.ts +0 -57
  2660. package/lib/ui/sdk/@dsc/ui-primitives/git-surface.d.ts +0 -9
  2661. package/lib/ui/sdk/@dsc/ui-primitives/highlight.d.ts +0 -47
  2662. package/lib/ui/sdk/@dsc/ui-primitives/hover-delay.d.ts +0 -17
  2663. package/lib/ui/sdk/@dsc/ui-primitives/humanize-error.d.ts +0 -35
  2664. package/lib/ui/sdk/@dsc/ui-primitives/icons-workspace.d.ts +0 -33
  2665. package/lib/ui/sdk/@dsc/ui-primitives/icons.d.ts +0 -127
  2666. package/lib/ui/sdk/@dsc/ui-primitives/image-lightbox.d.ts +0 -21
  2667. package/lib/ui/sdk/@dsc/ui-primitives/index.d.ts +0 -71
  2668. package/lib/ui/sdk/@dsc/ui-primitives/lang-table.d.ts +0 -10
  2669. package/lib/ui/sdk/@dsc/ui-primitives/markdown.d.ts +0 -16
  2670. package/lib/ui/sdk/@dsc/ui-primitives/native.d.ts +0 -41
  2671. package/lib/ui/sdk/@dsc/ui-primitives/package.json +0 -16
  2672. package/lib/ui/sdk/@dsc/ui-primitives/panels.d.ts +0 -109
  2673. package/lib/ui/sdk/@dsc/ui-primitives/paths.d.ts +0 -13
  2674. package/lib/ui/sdk/@dsc/ui-primitives/pdf-view.d.ts +0 -13
  2675. package/lib/ui/sdk/@dsc/ui-primitives/plugin-text.d.ts +0 -15
  2676. package/lib/ui/sdk/@dsc/ui-primitives/review-findings-card.d.ts +0 -25
  2677. package/lib/ui/sdk/@dsc/ui-primitives/review-findings.d.ts +0 -64
  2678. package/lib/ui/sdk/@dsc/ui-primitives/review-notice-card.d.ts +0 -27
  2679. package/lib/ui/sdk/@dsc/ui-primitives/review-notice.d.ts +0 -80
  2680. package/lib/ui/sdk/@dsc/ui-primitives/select.d.ts +0 -35
  2681. package/lib/ui/sdk/@dsc/ui-primitives/signal.d.ts +0 -9
  2682. package/lib/ui/sdk/@dsc/ui-primitives/sizes.d.ts +0 -15
  2683. package/lib/ui/sdk/@dsc/ui-primitives/skeleton.d.ts +0 -39
  2684. package/lib/ui/sdk/@dsc/ui-primitives/snapshot.d.ts +0 -46
  2685. package/lib/ui/sdk/@dsc/ui-primitives/table-view.d.ts +0 -23
  2686. package/lib/ui/sdk/@dsc/ui-primitives/thread-resizer.d.ts +0 -22
  2687. package/lib/ui/sdk/@dsc/ui-primitives/throughput.d.ts +0 -13
  2688. package/lib/ui/sdk/@dsc/ui-primitives/time.d.ts +0 -33
  2689. package/lib/ui/sdk/@dsc/ui-primitives/toast.d.ts +0 -16
  2690. package/lib/ui/sdk/@dsc/ui-primitives/tokens.d.ts +0 -23
  2691. package/lib/ui/sdk/@dsc/ui-primitives/tool-args.d.ts +0 -49
  2692. package/lib/ui/sdk/@dsc/ui-primitives/tool-summary.d.ts +0 -88
  2693. package/lib/ui/sdk/@dsc/ui-primitives/unified-diff.d.ts +0 -10
  2694. package/lib/ui/sdk/@dsc/ui-renderer/boot.d.ts +0 -130
  2695. package/lib/ui/sdk/@dsc/ui-renderer/cordis-host.d.ts +0 -113
  2696. package/lib/ui/sdk/@dsc/ui-renderer/hmr.d.ts +0 -43
  2697. package/lib/ui/sdk/@dsc/ui-renderer/index.d.ts +0 -20
  2698. package/lib/ui/sdk/@dsc/ui-renderer/package.json +0 -16
  2699. package/lib/ui/sdk/@dsc/ui-slots/index.d.ts +0 -19
  2700. package/lib/ui/sdk/@dsc/ui-slots/package.json +0 -16
  2701. package/lib/ui/sdk/@dsc/ui-slots/slots-react.d.ts +0 -48
  2702. package/lib/ui/sdk/@dsc/ui-slots/slots.d.ts +0 -102
  2703. package/lib/ui/services-react.d.ts +0 -27
  2704. package/lib/ui/services.d.ts +0 -74
  2705. package/lib/ui/signal.d.ts +0 -49
  2706. package/lib/ui/slots-ink.d.ts +0 -26
  2707. package/lib/ui/slots-ink.js +0 -78
  2708. package/lib/ui/slots-react.d.ts +0 -28
  2709. package/lib/ui/slots.d.ts +0 -481
  2710. package/lib/ui/store.d.ts +0 -89
  2711. package/lib/ui/tui-plugin-api.d.ts +0 -23
  2712. package/lib/ui/tui-plugin-api.js +0 -23
  2713. package/lib/ui/tui-plugins.d.ts +0 -47
  2714. package/lib/ui/tui-plugins.js +0 -240
  2715. /package/lib/{core → packages/approval}/call-meaning.d.ts +0 -0
  2716. /package/lib/{plugins/approval-floor.d.ts → packages/approval-floor/index.d.ts} +0 -0
  2717. /package/lib/{plugins/ask.d.ts → packages/ask/index.d.ts} +0 -0
  2718. /package/lib/{core → packages}/cdp/actions.d.ts +0 -0
  2719. /package/lib/{core → packages}/cdp/launch.d.ts +0 -0
  2720. /package/lib/{tools → packages/cli}/config-cli.d.ts +0 -0
  2721. /package/lib/{tools → packages/cli}/plugin-cli.d.ts +0 -0
  2722. /package/lib/{core → packages/commands-core}/commands-completion.js +0 -0
  2723. /package/lib/{plugins/dsh-compat.d.ts → packages/dsh-compat/index.d.ts} +0 -0
  2724. /package/lib/{plugins/git.d.ts → packages/git/index.d.ts} +0 -0
  2725. /package/lib/{core → packages/goal}/goal.js +0 -0
  2726. /package/lib/{plugins/guards.d.ts → packages/guards/index.d.ts} +0 -0
  2727. /package/lib/{plugins/image-diet.d.ts → packages/image-diet/index.d.ts} +0 -0
  2728. /package/lib/{core → packages}/lsp/client.d.ts +0 -0
  2729. /package/lib/{core → packages}/lsp/framing.d.ts +0 -0
  2730. /package/lib/{core → packages}/lsp/framing.js +0 -0
  2731. /package/lib/{core → packages}/lsp/line-shift.d.ts +0 -0
  2732. /package/lib/{core → packages}/lsp/line-shift.js +0 -0
  2733. /package/lib/{core → packages}/lsp/manager.d.ts +0 -0
  2734. /package/lib/{core → packages}/lsp/normalize.d.ts +0 -0
  2735. /package/lib/{core → packages}/lsp/servers.d.ts +0 -0
  2736. /package/lib/{core → packages}/lsp/uri.d.ts +0 -0
  2737. /package/lib/{core → packages}/lsp/uri.js +0 -0
  2738. /package/lib/{plugins/mcp.d.ts → packages/mcp/index.d.ts} +0 -0
  2739. /package/lib/{core → packages/memory}/memory-eval.d.ts +0 -0
  2740. /package/lib/{core → packages/memory}/memory-eval.js +0 -0
  2741. /package/lib/{core → packages/permission-core}/permission-presets.js +0 -0
  2742. /package/lib/{core → packages/permission-core}/permission-scope.js +0 -0
  2743. /package/lib/{plugins/plan.d.ts → packages/plan/index.d.ts} +0 -0
  2744. /package/lib/{plugins/plugin-manager.d.ts → packages/plugin-manager/index.d.ts} +0 -0
  2745. /package/lib/{plugins/presets.d.ts → packages/presets/index.d.ts} +0 -0
  2746. /package/lib/{plugins/ptc.d.ts → packages/ptc/index.d.ts} +0 -0
  2747. /package/lib/{plugins → packages}/remote/routes.d.ts +0 -0
  2748. /package/lib/{plugins/runtime.d.ts → packages/runtime/index.d.ts} +0 -0
  2749. /package/lib/{plugins/runtime-api.d.ts → packages/runtime-api/index.d.ts} +0 -0
  2750. /package/lib/{core → packages}/sandbox/backends.js +0 -0
  2751. /package/lib/{plugins/sandbox.d.ts → packages/sandbox/index.d.ts} +0 -0
  2752. /package/lib/{core → packages}/sandbox/net-proxy.d.ts +0 -0
  2753. /package/lib/{core → packages}/sandbox/win/abi.d.ts +0 -0
  2754. /package/lib/{core → packages}/sandbox/win/abi.js +0 -0
  2755. /package/lib/{core → packages}/sandbox/win/account.d.ts +0 -0
  2756. /package/lib/{core → packages}/sandbox/win/acl.d.ts +0 -0
  2757. /package/lib/{core → packages}/sandbox/win/acl.js +0 -0
  2758. /package/lib/{core → packages}/sandbox/win/doctor.d.ts +0 -0
  2759. /package/lib/{core → packages}/sandbox/win/net-abi.d.ts +0 -0
  2760. /package/lib/{core → packages}/sandbox/win/net-abi.js +0 -0
  2761. /package/lib/{core → packages}/sandbox/win/token.d.ts +0 -0
  2762. /package/lib/{core → packages}/sandbox/win/token.js +0 -0
  2763. /package/lib/{core → packages}/sandbox/win/utf16.d.ts +0 -0
  2764. /package/lib/{core → packages}/sandbox/win/utf16.js +0 -0
  2765. /package/lib/{core → packages}/sandbox/win/wfp.d.ts +0 -0
  2766. /package/lib/{core → packages}/sandbox/win/workspace-sid.d.ts +0 -0
  2767. /package/lib/{core → packages}/sandbox/win/workspace-sid.js +0 -0
  2768. /package/lib/{core/learnings → packages/self-improve}/store.d.ts +0 -0
  2769. /package/lib/{plugins/session.d.ts → packages/session/index.d.ts} +0 -0
  2770. /package/lib/{plugins/session-search.d.ts → packages/session-search/index.d.ts} +0 -0
  2771. /package/lib/{core → packages/session-search}/session-index.d.ts +0 -0
  2772. /package/lib/{plugins/session-title.d.ts → packages/session-title/index.d.ts} +0 -0
  2773. /package/lib/{core → packages/settings}/model-discovery.d.ts +0 -0
  2774. /package/lib/{core → packages/settings}/model-discovery.js +0 -0
  2775. /package/lib/{plugins/spill.d.ts → packages/spill/index.d.ts} +0 -0
  2776. /package/lib/{core → packages/surfaces}/surface-registry.d.ts +0 -0
  2777. /package/lib/{core → packages/surfaces}/surface-registry.js +0 -0
  2778. /package/lib/{core → packages/todo}/todo.js +0 -0
  2779. /package/lib/{plugins/tool-search.d.ts → packages/tool-search/index.d.ts} +0 -0
  2780. /package/lib/{core → packages/tool-search}/tool-search.js +0 -0
  2781. /package/lib/{plugins/tools.d.ts → packages/tools/index.d.ts} +0 -0
  2782. /package/lib/{plugins/tools.js → packages/tools/index.js} +0 -0
  2783. /package/lib/{plugins/tools-default.d.ts → packages/tools-default/index.d.ts} +0 -0
  2784. /package/lib/{app → packages/tui/app}/AgentsOverlay.js +0 -0
  2785. /package/lib/{app → packages/tui/app}/AskCard.js +0 -0
  2786. /package/lib/{app → packages/tui/app}/MarkdownView.d.ts +0 -0
  2787. /package/lib/{app → packages/tui/app}/MarkdownView.js +0 -0
  2788. /package/lib/{app → packages/tui/app}/ModelPicker.js +0 -0
  2789. /package/lib/{app → packages/tui/app}/PickerFrame.d.ts +0 -0
  2790. /package/lib/{app → packages/tui/app}/PickerFrame.js +0 -0
  2791. /package/lib/{app → packages/tui/app}/PlanReviewCard.js +0 -0
  2792. /package/lib/{app → packages/tui/app}/PresetPicker.js +0 -0
  2793. /package/lib/{app → packages/tui/app}/PreviewOverlay.d.ts +0 -0
  2794. /package/lib/{app → packages/tui/app}/PreviewOverlay.js +0 -0
  2795. /package/lib/{app → packages/tui/app}/SessionPicker.js +0 -0
  2796. /package/lib/{app → packages/tui/app}/SkillsPicker.js +0 -0
  2797. /package/lib/{app → packages/tui/app}/TimelineRail.d.ts +0 -0
  2798. /package/lib/{app → packages/tui/app}/TimelineRail.js +0 -0
  2799. /package/lib/{app → packages/tui/app}/TranscriptOverlay.js +0 -0
  2800. /package/lib/{app → packages/tui/app}/Welcome.d.ts +0 -0
  2801. /package/lib/{app → packages/tui/app}/attach.d.ts +0 -0
  2802. /package/lib/{app → packages/tui/app}/attach.js +0 -0
  2803. /package/lib/{app → packages/tui/app}/click.d.ts +0 -0
  2804. /package/lib/{app → packages/tui/app}/click.js +0 -0
  2805. /package/lib/{app → packages/tui/app}/clipboard-image.d.ts +0 -0
  2806. /package/lib/{app → packages/tui/app}/cursor.d.ts +0 -0
  2807. /package/lib/{app → packages/tui/app}/cursor.js +0 -0
  2808. /package/lib/{app → packages/tui/app}/history-store.d.ts +0 -0
  2809. /package/lib/{app → packages/tui/app}/image-blocks.d.ts +0 -0
  2810. /package/lib/{app → packages/tui/app}/keymap.d.ts +0 -0
  2811. /package/lib/{app → packages/tui/app}/keymap.js +0 -0
  2812. /package/lib/{app → packages/tui/app}/markdown.d.ts +0 -0
  2813. /package/lib/{app → packages/tui/app}/markdown.js +0 -0
  2814. /package/lib/{app → packages/tui/app}/mouse.d.ts +0 -0
  2815. /package/lib/{app → packages/tui/app}/mouse.js +0 -0
  2816. /package/lib/{app → packages/tui/app}/pointer.d.ts +0 -0
  2817. /package/lib/{app → packages/tui/app}/pointer.js +0 -0
  2818. /package/lib/{app → packages/tui/app}/scroll-model.js +0 -0
  2819. /package/lib/{app → packages/tui/app}/snapshot-subscribe.d.ts +0 -0
  2820. /package/lib/{app → packages/tui/app}/theme.d.ts +0 -0
  2821. /package/lib/{app → packages/tui/app}/theme.js +0 -0
  2822. /package/lib/{app → packages/tui/app}/ticker.d.ts +0 -0
  2823. /package/lib/{app → packages/tui/app}/ticker.js +0 -0
  2824. /package/lib/{plugins/tui.d.ts → packages/tui/index.d.ts} +0 -0
  2825. /package/lib/{ui → packages/ui-core}/arrival.d.ts +0 -0
  2826. /package/lib/{ui → packages/ui-core}/arrival.js +0 -0
  2827. /package/lib/{ui → packages/ui-core}/frames.d.ts +0 -0
  2828. /package/lib/{ui → packages/ui-core}/plugin.js +0 -0
  2829. /package/lib/{ui → packages/ui-core}/scoped-slots.js +0 -0
  2830. /package/lib/{ui/sdk/@dsc/ui-core/ui → packages/ui-core}/services-react.d.ts +0 -0
  2831. /package/lib/{ui → packages/ui-core}/services-react.js +0 -0
  2832. /package/lib/{ui/sdk/@dsc/ui-core/ui → packages/ui-core}/services.d.ts +0 -0
  2833. /package/lib/{ui → packages/ui-core}/services.js +0 -0
  2834. /package/lib/{ui/sdk/@dsc/ui-core/ui → packages/ui-core}/signal.d.ts +0 -0
  2835. /package/lib/{ui → packages/ui-core}/signal.js +0 -0
  2836. /package/lib/{ui/sdk/@dsc/ui-core/ui → packages/ui-core}/slots-react.d.ts +0 -0
  2837. /package/lib/{ui → packages/ui-core}/slots-react.js +0 -0
  2838. /package/lib/{ui → packages/ui-core}/slots.js +0 -0
  2839. /package/lib/{ui/sdk/@dsc/ui-core/ui → packages/ui-core}/store.d.ts +0 -0
  2840. /package/lib/{ui → packages/ui-core}/store.js +0 -0
@@ -0,0 +1,776 @@
1
+ import { mkdir, rmdir, stat } from 'node:fs/promises';
2
+ import { dirname, join } from 'node:path';
3
+ import { key, latestAssignment, latestReport, liveTicket, runningAssignment, threadKey, waitsForPerson } from '../core/index.js';
4
+ import { runAsWorker, verifyDirectory } from '../infra/environment.js';
5
+ import { Later } from '../app/effects.js';
6
+ import { executionRoot } from '../app/execution-environment.js';
7
+ import { WorktreeNameSchema } from '../app/assessment.js';
8
+ import { resultRelay } from '../app/notices.js';
9
+ import { cancelled, collectJob, killJobs, runningJobs, stopBackground, stopSubagents, until, untilQuiet } from './background.js';
10
+ /**
11
+ * worker 的回合状态事件由 `app/sessions.ts` 声明并发出:`superagent/agent-status`、`superagent/inbox-claimed`、
12
+ * `superagent/message-read`、`superagent/agent-error`。上游这四条来自 dsh-agent 的 `agent/status`、
13
+ * `agent/inbox/claimed`、`session/event`、`agent/error`;本仓没有那套事件,改由 cordis 事件承载,
14
+ * 语义一一对应(见文件头对应表)。
15
+ */
16
+ const now = () => new Date().toISOString();
17
+ /** Returns the worker session ID (`worker-<ticketId>`) for a ticket. */
18
+ export const workerSessionId = (ticketId) => `worker-${ticketId}`;
19
+ /** Returns the ticket ID for a worker session ID (`worker-<ticketId>`), or undefined for non-worker sessions. */
20
+ export const ticketOfSession = (sessionId) => sessionId.startsWith('worker-') ? sessionId.slice('worker-'.length) : undefined;
21
+ /** Maximum runtime for a workspace prepare command. */
22
+ const PREPARE_TIMEOUT_MS = 10 * 60_000;
23
+ /** Maximum transient retry attempts for a launch or worker turn, and the initial backoff before resuming a turn. */
24
+ const TRANSIENT_TRIES = 3, TRANSIENT_BACKOFF_MS = 15_000;
25
+ /** How long a worker's background work may run on after its turn ended before it is stopped and the worker reported waiting. */
26
+ const BACKGROUND_LIMIT_MS = 30 * 60_000;
27
+ /** How long a host stop waits for the workers' background work to stop. */
28
+ const SHUTDOWN_STOP_MS = 10_000;
29
+ /** How long a worker that goes on after a passing failure waits for a worker slot, or for processing to resume, between looks. */
30
+ const SLOT_WAIT_MS = 5000;
31
+ /** True when an input comes from a person (a non-context human trigger or a direct text input such as a status request). */
32
+ const fromPerson = (input) => input?.kind === 'trigger' ? !!input.human && !input.context : input?.kind === 'text';
33
+ /**
34
+ * Internal error thrown when a ticket's workspace prepare command fails during launch.
35
+ * DshExecutor catches it to mark the ticket failed immediately rather than retrying automatically, because an existing directory counts as prepared and an automatic retry would treat whatever a failed prepare command left behind in the directory as a prepared workspace.
36
+ */
37
+ class PrepareFailed extends Error {
38
+ }
39
+ const PASSING = new RegExp(['ECONNRESET', 'ECONNREFUSED', 'ETIMEDOUT', 'EAI_AGAIN', 'ENOTFOUND', 'EPIPE', 'UND_ERR', 'socket hang up', 'fetch failed',
40
+ 'network error', 'overloaded', 'rate limit', '\\b(?:408|429|50[0-4])\\b'].join('|'), 'i');
41
+ /**
42
+ * True when an error represents a transient network or model-provider failure: an HTTP 408, 429, or 5xx status, or a
43
+ * connection that was refused, reset, timed out, or could not resolve its host.
44
+ */
45
+ export function transient(error) {
46
+ const status = error?.status;
47
+ if (typeof status === 'number')
48
+ return status === 408 || status === 429 || status >= 500;
49
+ const text = error instanceof Error ? `${error.name} ${error.message} ${String(error.code ?? '')}` : String(error);
50
+ return PASSING.test(text);
51
+ }
52
+ /** Appends a stable 12-character ticket ID suffix to a validated English worktree name. */
53
+ const ticketWorktreeName = (name, id) => `${WorktreeNameSchema.parse(name)}-${id.slice(0, 12)}`;
54
+ /** Looks up a ticket's origin trigger in Store. */
55
+ export const sourceTrigger = (host, ticket) => host.store.triggers.get(ticket.origin.triggerId);
56
+ /**
57
+ * Returns additional system-prompt mandate instructions for a worker beyond the request: for work accepted proactively under
58
+ * rules (`strength === 'inferred'`), restricts authorization to small internal changes within the rule scope; returns `''` for explicit requests.
59
+ */
60
+ export function mandateInstructions(mandate) {
61
+ return mandate.strength === 'inferred' ? 'This ticket has limited proactive authorization. Independently verify that it is a small change '
62
+ + 'internal to one module within the accepted rule scope. If it requires public-interface or behavior changes, new interaction, product '
63
+ + 'decisions or clarification, stop and report dropped; do not expand scope.' : '';
64
+ }
65
+ /** Builds a newly accepted ticket's Execution metadata: its worktree name, workspace directory, and assignment text. */
66
+ export function ticketExecution(ticket, outcome, settings, stateDir) {
67
+ const name = ticketWorktreeName(outcome.name ?? '', ticket.id);
68
+ const source = ticket.origin.triggerId;
69
+ const note = outcome.note ? `\nRouting note (not the source request): ${outcome.note}` : '';
70
+ const ruleIds = ticket.mandate.basis.rules;
71
+ const rules = settings.policy.rules.filter(rule => ruleIds?.includes(rule.id))
72
+ .map(rule => `\n- ${rule.name} (${rule.id}): ${rule.instruction}`).join('');
73
+ const precedence = rules ? `\nMatched rules; their procedure and communication instructions take precedence over the default acknowledgement and messaging policy for this ticket:${rules}` : '';
74
+ // The origin trigger is delivered alongside the assignment, so `assignment` omits the trigger text.
75
+ const assignment = ticket.mandate.strength === 'inferred' && ruleIds
76
+ ? `Proactively accepted under ${ruleIds.join(', ')}. Scope: ${outcome.scope}.${precedence}${note}`
77
+ : note.trim();
78
+ return { name, directory: join(executionRoot(settings, stateDir), name), assignment };
79
+ }
80
+ /** Character limits for inline assignment and trigger text in worker messages; longer text is read via its resource. */
81
+ const ASSIGNMENT_CHARS = 1500, TRIGGER_CHARS = 600;
82
+ /** Returns `text` up to `limit` characters, or a truncated preview with total character count and the resource path to read the full text. */
83
+ const capped = (text, limit, read) => text.length <= limit ? { text } : { text: `${text.slice(0, limit)}…`, chars: text.length, read };
84
+ /**
85
+ * Formats a Trigger for worker delivery: author, thread, timestamp, text up to `TRIGGER_CHARS`, source message link,
86
+ * optional routing note, and a preview of the replied-to message when the worker has not yet seen it.
87
+ */
88
+ export function triggerMessage(trigger, link, note, repliesTo) {
89
+ return { trigger_id: trigger.id, from: trigger.actor.id, thread: threadKey(trigger.threads[0]), at: trigger.at,
90
+ ...capped(trigger.text, TRIGGER_CHARS, `trigger/${trigger.id}`), ...link, ...(note ? { routing_note: note } : {}),
91
+ ...(repliesTo ? { replies_to: { trigger_id: repliesTo.id, preview: repliesTo.text.replace(/\s+/g, ' ').slice(0, 160) } } : {}) };
92
+ }
93
+ /** Formats a peer trigger from the ticket's acceptance batch with author, timestamp, 160-character preview, and read resource path. */
94
+ export const batchLine = (trigger) => ({ trigger_id: trigger.id, from: trigger.actor.id, at: trigger.at,
95
+ preview: trigger.text.replace(/\s+/g, ' ').slice(0, 160), read: `trigger/${trigger.id}` });
96
+ /** Returns the other triggers in a ticket's origin batch (excluding the primary `origin.triggerId`), oldest first. */
97
+ export const batchOf = (host, ticket) => ticket.origin.triggerIds
98
+ .filter(id => id !== ticket.origin.triggerId).flatMap(id => host.store.triggers.get(id) ?? []);
99
+ const RESUMED = 'This ticket ended earlier and the message that follows, on its thread, resumed it under the same mandate. If it asks for '
100
+ + 'more within the original scope, inspect the worktree, git history and PR state and continue; if it asks for work beyond that scope or '
101
+ + 'for another ticket, hand it back with orchestrator_trigger_handback and report dropped; if it needs nothing, such as thanks, '
102
+ + 'report dropped without a message. Report ready when the follow-up is done. Do not repeat completed work.';
103
+ const RETRIED = 'A person retried this ticket. Continue the assignment from the current worktree, git history and PR state.';
104
+ /** Formats a policy-change input for the worker; inputs recorded before `effect` existed fall back to a general notice. */
105
+ function policyMessage(effect) {
106
+ if (!effect)
107
+ return 'Policy change: the access or admission rules changed. Check that the remaining work stays within the assignment.';
108
+ return ['Policy change:',
109
+ ...(effect.rules ?? []).map(rule => rule.change === 'disabled'
110
+ ? `Rule ${rule.name} (${rule.id}), which this ticket was accepted under, no longer applies: finish only a change within it, or report dropped.`
111
+ : `Rule ${rule.name} (${rule.id}), which this ticket was accepted under, changed. Keep the remaining work within it as it reads now: ${rule.instruction}`),
112
+ ...effect.proactive === false ? ['Work inferred from a rule is no longer accepted, as the accept mode is no longer auto: finish only '
113
+ + 'what is in progress within the assignment, or report dropped, and take on nothing new.'] : [],
114
+ ...effect.requesterAllowed === false ? [`The sender this ticket is for, ${effect.requester ? `${effect.requester.id} on ${effect.requester.source}` : 'who '
115
+ + 'asked for it'}, may no longer start work here: finish the assignment within its scope, and take no new requests from them on it.`] : []].join('\n');
116
+ }
117
+ /** Resource path under which a worker session reads the full text of a ticket input. */
118
+ export const inputResource = (ticketId, inputId) => `ticket/${ticketId}/input/${key(inputId)}`;
119
+ /**
120
+ * Formats a ticket input for worker delivery: a `trigger` rendered via `trigger` (or by its ID and read path when absent),
121
+ * a `policy-changed` notice, a `resumed` notice, an orchestrator `note`, or a `text` input as written.
122
+ * Returns `undefined` for legacy `reopen` inputs, which are historical only because the schema 11 migration converted pending reopen inputs into text inputs.
123
+ */
124
+ export function inputMessage(input, trigger) {
125
+ // Mark triggers arriving on context-only subscriptions so the worker knows they are not addressed to the ticket.
126
+ if (input.kind === 'trigger')
127
+ return JSON.stringify({ ...trigger ?? { trigger_id: input.triggerId, read: `trigger/${input.triggerId}` },
128
+ ...input.context ? { context: true } : {} });
129
+ if (input.kind === 'policy-changed')
130
+ return policyMessage(input.effect);
131
+ if (input.kind === 'resumed')
132
+ return RESUMED;
133
+ if (input.kind === 'note')
134
+ return `Note from the orchestrator, for context only: ${input.text}`;
135
+ return input.kind === 'text' ? input.text : undefined;
136
+ }
137
+ /**
138
+ * Tracks active and starting worker sessions against the configured concurrency limit: a ticket holds a slot while its
139
+ * worker's turn runs, while its shell jobs or subagents run after that turn ended, and while a launch or wake starts that worker.
140
+ * DshExecutor reserves slots synchronously before awaiting launch or wake work so two starts cannot take the last slot,
141
+ * and allows one extra slot beyond the limit for human follow-ups (`by === 'person'`) so they never wait behind new launches.
142
+ */
143
+ export class WorkerSlots {
144
+ running;
145
+ max;
146
+ /** Tickets currently holding a startup slot, mapped to whether the start is a launch, a wake, or a wake for a person's message. */
147
+ starting = new Map();
148
+ /**
149
+ * @param running - Returns the ticket IDs whose worker holds a slot (see `DshExecutor.running`).
150
+ * @param max - Returns the configured maximum number of concurrent worker slots.
151
+ */
152
+ constructor(running, max) {
153
+ this.running = running;
154
+ this.max = max;
155
+ }
156
+ /** Number of slots currently in use across running workers and starting reservations. */
157
+ used() { return new Set([...this.running(), ...this.starting.keys()]).size; }
158
+ /** How many launches may run concurrently: the slots not held by a running worker or a wake reservation. */
159
+ launches() {
160
+ const wakes = [...this.starting].flatMap(([ticketId, by]) => by !== 'launch' ? [ticketId] : []);
161
+ return this.max() - new Set([...this.running(), ...wakes]).size;
162
+ }
163
+ /**
164
+ * Reserves a startup slot for `ticketId`; idempotent if `ticketId` already holds a starting slot.
165
+ * A wake for a person's message (`by === 'person'`) may use one extra slot beyond `max()`.
166
+ * Call `free(ticketId)` once the worker turn is running or the launch/wake attempt ends.
167
+ * @throws Later when no slot is free.
168
+ */
169
+ reserve(ticketId, by) {
170
+ if (this.starting.has(ticketId))
171
+ return;
172
+ if (this.used() >= this.max() + (by === 'person' ? 1 : 0))
173
+ throw new Later('No worker slot is free');
174
+ this.starting.set(ticketId, by);
175
+ }
176
+ /** Releases `ticketId`'s starting slot once its worker session is running or the launch/wake attempt has ended. */
177
+ free(ticketId) { this.starting.delete(ticketId); }
178
+ }
179
+ /**
180
+ * The shell command that runs a settings `prepare` command on this platform (`runAsWorker` spawns directly; Windows
181
+ * has no `sh`). Windows passes the command verbatim: node's default argument quoting escapes the quotes inside it to
182
+ * `\"` and cmd keeps those literally, so `git clone "C:\a b" "%DSH_SUPERAGENT_DIR%"` would fail on the quoted path.
183
+ */
184
+ const prepareCommand = (command) => process.platform === 'win32'
185
+ ? ['cmd.exe', '/d', '/s', '/c', command] : ['sh', '-c', command];
186
+ /**
187
+ * Executes ticket assignments in persistent per-ticket DSH worker sessions and isolated workspace directories.
188
+ * Queues launches and input deliveries through Effects, manages concurrency with WorkerSlots, listens for worker
189
+ * status, inbox, history and error events on the Cordis context, and reports status transitions back to Engine.
190
+ * Runtime, Engine, worker tools, and management routes use this class to prepare, launch, deliver to, stop, and resume ticket assignments.
191
+ */
192
+ export class DshExecutor {
193
+ host;
194
+ disposers = [];
195
+ slots;
196
+ /** Transient failure counts tried so far: keyed by `assignment.id` for worker turns and `launch:<assignment.id>` for launches. */
197
+ transient = new Map();
198
+ /** Assignment IDs currently waiting on a transient-failure backoff timer before resuming their worker turn. */
199
+ resuming = new Set();
200
+ /**
201
+ * The looks at background work of workers that went idle, by ticket, which hold their slots; a look ends when its worker
202
+ * runs again or its Assignment ends.
203
+ */
204
+ settling = new Map();
205
+ /** The stops of tickets' background work that run, by ticket, which a launch or a delivery of the ticket waits for. */
206
+ stopping = new Map();
207
+ /** The jobs workers left to a person when they handed off, by ticket, and the collecting of their ends. */
208
+ left = new Map();
209
+ /** When a person's message typed into a worker's Session last started a turn, by ticket. */
210
+ personal = new Map();
211
+ /** The timers of workers that go on after a passing failure, which dispose clears. */
212
+ timers = new Set();
213
+ /** Registers the `launch` and `delivery` effect handlers; both are held (concurrency limit 0) while processing is paused. */
214
+ constructor(host) {
215
+ this.host = host;
216
+ this.slots = new WorkerSlots(() => host.store.tickets.open().filter(ticket => this.running(ticket)).map(ticket => ticket.id), () => host.store.settings().executor.maxWorkers);
217
+ // Each launch reserves a worker slot so launches run concurrently while slots are free.
218
+ host.effects.handle('launch', payload => this.launchQueued(payload), { limit: () => host.paused() ? 0 : this.slots.launches(),
219
+ retry: [5000, 300_000] });
220
+ // Failed input deliveries are recorded on the ticket itself rather than reported through the `delivery` effect health entry (`quiet: true`).
221
+ host.effects.handle('delivery', payload => this.deliverQueued(payload.ticketId), { limit: () => host.paused() ? 0 : 4, quiet: true });
222
+ }
223
+ /** Populates a newly accepted ticket's `execution` attributes (worktree name, workspace directory, and assignment text). */
224
+ prepare(ticket, outcome) {
225
+ return { ...ticket, execution: ticketExecution(ticket, outcome, this.host.store.settings(), this.host.machine.stateDir) };
226
+ }
227
+ /**
228
+ * Runs the configured `executor.prepare` command for a new ticket workspace in its parent directory with the ticket's
229
+ * execution environment variables, then verifies the directory as the worker sees it.
230
+ * A failed prepare command throws `PrepareFailed`, which is not retried automatically; an empty directory it left is removed, a non-empty one kept.
231
+ * @throws PrepareFailed with the command's output when the prepare command fails.
232
+ */
233
+ async prepareDirectory(ticket) {
234
+ const directory = ticket.execution?.directory ?? '';
235
+ await mkdir(dirname(directory), { recursive: true });
236
+ const command = this.host.store.settings().executor.prepare.trim();
237
+ const env = Object.fromEntries(this.host.environment(ticket).map(variable => [variable.key, variable.value]));
238
+ // Enforce a timeout so a hung prepare command (such as on a credential prompt) fails the ticket instead of holding a worker slot indefinitely.
239
+ const signal = AbortSignal.any([this.host.lifetime, AbortSignal.timeout(PREPARE_TIMEOUT_MS)]);
240
+ // Windows passes the command verbatim (see `prepareCommand`), so the quotes inside it reach the command as typed.
241
+ if (command)
242
+ await runAsWorker(prepareCommand(command), dirname(directory), signal, env, process.platform === 'win32')
243
+ .catch(async (error) => {
244
+ // Remove an empty directory left by a failed prepare command so a later retry does not treat it as already prepared.
245
+ await rmdir(directory).catch(() => { });
246
+ throw new PrepareFailed(`The prepare command failed: ${error instanceof Error ? error.message : String(error)}`);
247
+ });
248
+ await mkdir(directory, { recursive: true });
249
+ await verifyDirectory(directory, this.host.lifetime);
250
+ }
251
+ /** Enqueues a `launch` effect for an accepted or resumed assignment; launches start in queue order as worker slots free up. */
252
+ start(ticket, assignment) {
253
+ this.host.effects.enqueue('launch', assignment.id, { ticketId: ticket.id, assignmentId: assignment.id });
254
+ }
255
+ /** Enqueues a `delivery` effect to steer pending inputs into `ticket`'s running worker session. */
256
+ deliver(ticket, _assignment) { this.host.effects.enqueue('delivery', ticket.id, { ticketId: ticket.id }); }
257
+ /** Launches a queued assignment unless its ticket ended or a newer assignment replaced it meanwhile. */
258
+ async launchQueued({ ticketId, assignmentId }) {
259
+ const ticket = this.host.store.tickets.get(ticketId);
260
+ const assignment = ticket && latestAssignment(ticket);
261
+ if (!ticket || !liveTicket(ticket) || assignment?.id !== assignmentId || assignment.state !== 'pending')
262
+ return;
263
+ this.slots.reserve(ticketId, 'launch');
264
+ try {
265
+ await this.launch(ticket, assignment);
266
+ this.transient.delete(`launch:${assignmentId}`);
267
+ }
268
+ catch (error) {
269
+ // Shutdown or pause re-queues the launch for resume, and transient network/provider errors retry with backoff.
270
+ // A failed prepare command is not retried automatically because an existing directory counts as prepared, so retrying
271
+ // would treat whatever a failed prepare command left behind in the directory as a prepared workspace; instead the
272
+ // ticket is marked failed and waits until new human input or an explicit retry arrives.
273
+ if (this.host.closing() || error instanceof Later)
274
+ throw error;
275
+ if (!(error instanceof PrepareFailed) && this.retries(`launch:${assignmentId}`, error))
276
+ throw error;
277
+ this.launchFailed(ticketId, assignmentId, error);
278
+ }
279
+ finally {
280
+ this.slots.free(ticketId);
281
+ }
282
+ }
283
+ /**
284
+ * Delivers queued inputs to a running assignment one by one, re-reading ticket state before each delivery so delivery
285
+ * stops immediately if the ticket ended or another assignment took over.
286
+ */
287
+ async deliverQueued(ticketId) {
288
+ // A stop of the worker's background work ends with a cancel, which would drop what is delivered meanwhile.
289
+ await this.stopped(ticketId);
290
+ const first = this.host.store.tickets.get(ticketId);
291
+ const target = first && liveTicket(first) ? runningAssignment(first) : undefined;
292
+ if (!first || !target || !first.undelivered.length)
293
+ return;
294
+ let woken = false;
295
+ try {
296
+ for (;;) {
297
+ const ticket = this.host.store.tickets.get(ticketId);
298
+ const assignment = ticket && liveTicket(ticket) ? runningAssignment(ticket) : undefined;
299
+ const inputId = ticket?.undelivered[0];
300
+ if (!ticket || !assignment || inputId === undefined)
301
+ return;
302
+ // Waking an idle worker reserves a slot (including the extra slot reserved for human follow-ups).
303
+ const sessionId = workerSessionId(ticketId);
304
+ if (!woken && !this.running(ticket)) {
305
+ // A person's message wakes its worker ahead of new launches, in the slot kept for it.
306
+ const person = ticket.undelivered.some(id => fromPerson(ticket.inputs.find(item => item.id === id)));
307
+ this.slots.reserve(ticketId, person ? 'person' : 'wake');
308
+ woken = true;
309
+ }
310
+ const input = ticket.inputs.find(item => item.id === inputId);
311
+ try {
312
+ // Recreate the worker session if it was externally deleted.
313
+ if (!this.host.sessions.agent(sessionId)) {
314
+ await this.host.sessions.ensure(sessionId, ticket.execution?.directory ?? '', ticket.title, 'worker');
315
+ }
316
+ if (input)
317
+ await this.deliverInput(ticket, assignment, input);
318
+ }
319
+ catch (error) {
320
+ if (this.host.closing() || error instanceof Later)
321
+ throw error;
322
+ const current = this.host.store.tickets.get(ticketId);
323
+ if (!current || !liveTicket(current) || runningAssignment(current)?.id !== assignment.id)
324
+ return;
325
+ this.host.engine.deliveryFailed(ticketId, assignment.id, String(error));
326
+ throw error;
327
+ }
328
+ this.host.engine.inputsDelivered(ticketId, assignment.id, [inputId]);
329
+ }
330
+ }
331
+ finally {
332
+ if (woken)
333
+ this.slots.free(ticketId);
334
+ }
335
+ }
336
+ async deliverInput(ticket, assignment, input) {
337
+ // Re-check right before session delivery because the ticket may have ended while awaiting `sourceLink`.
338
+ const live = () => {
339
+ const current = this.host.store.tickets.get(ticket.id);
340
+ if (!current || !liveTicket(current) || runningAssignment(current)?.id !== assignment.id)
341
+ throw new Error('The ticket ended or another Assignment took it over');
342
+ // A stop of the worker's background work that started meanwhile ends with a cancel, which would drop the Input.
343
+ if (this.stopping.has(ticket.id))
344
+ throw new Later('The worker\'s background work is stopping');
345
+ };
346
+ live();
347
+ const trigger = input.kind === 'trigger' ? await this.triggerCard(ticket, input.triggerId, input.note) : undefined;
348
+ const message = inputMessage(input, trigger);
349
+ if (message === undefined)
350
+ return;
351
+ const text = message.length > ASSIGNMENT_CHARS ? JSON.stringify(capped(message, ASSIGNMENT_CHARS, inputResource(ticket.id, input.id))) : message;
352
+ await this.host.sessions.prompt(workerSessionId(ticket.id), input.id, text, 'steer', live);
353
+ }
354
+ /** Formats a trigger on `ticket` for the worker, including a preview of the replied-to message when the worker has not yet seen it. */
355
+ async triggerCard(ticket, triggerId, note) {
356
+ const trigger = this.host.store.triggers.get(triggerId);
357
+ if (!trigger)
358
+ return undefined;
359
+ const parent = this.host.repliedTo(trigger);
360
+ const seen = parent && (parent.id === ticket.origin.triggerId || ticket.inputs.some(item => item.kind === 'trigger' && item.triggerId === parent.id));
361
+ return triggerMessage(trigger, await this.host.sourceLink(trigger), note, seen ? undefined : parent);
362
+ }
363
+ /**
364
+ * After the ending transaction commits (so a rollback leaves the worker working, and a launch the same transaction queued
365
+ * starts after it): ends the look at its background work, cancels its turn unless its last word was a `ready` or `dropped`
366
+ * report with no Input delivered since, and stops its shell jobs and subagents, including jobs it left to a person.
367
+ */
368
+ stop(ticket, assignment, reason) {
369
+ this.transient.delete(assignment.id);
370
+ this.transient.delete(`launch:${assignment.id}`);
371
+ const report = assignment.report;
372
+ const busy = !!assignment.deliveredAt && !!report && assignment.deliveredAt >= report.at;
373
+ const ownTurn = (report?.state === 'ready' || report?.state === 'dropped') && !busy;
374
+ const sessionId = workerSessionId(ticket.id);
375
+ this.host.store.afterCommit(() => {
376
+ this.settling.get(ticket.id)?.abort();
377
+ if (!ownTurn)
378
+ this.host.sessions.agent(sessionId)?.cancel({ kind: 'user', keepInbox: false });
379
+ // Its shell jobs and subagents stop with it, also those of a worker that ends its own turn.
380
+ this.stopWork(ticket.id, reason);
381
+ this.left.get(ticket.id)?.collect.abort();
382
+ this.left.delete(ticket.id);
383
+ this.personal.delete(ticket.id);
384
+ });
385
+ }
386
+ /** Stop what a ticket's worker runs in the background (see `stopBackground`). */
387
+ stopWork(ticketId, reason, keepInbox = false) {
388
+ const sessionId = workerSessionId(ticketId);
389
+ this.track(ticketId, stopBackground(this.host.context, sessionId, reason, keepInbox, this.host.sessions.agent(sessionId)));
390
+ }
391
+ /** A stop of a ticket's background work, which a launch or a delivery of the ticket waits for while it runs. */
392
+ track(ticketId, stop) {
393
+ const entry = Promise.all([this.stopping.get(ticketId), stop.catch(() => { })]).then(() => { })
394
+ .finally(() => { if (this.stopping.get(ticketId) === entry)
395
+ this.stopping.delete(ticketId); });
396
+ this.stopping.set(ticketId, entry);
397
+ void this.background(stop);
398
+ }
399
+ /** Wait for a stop of the ticket's background work that runs, unless the host stops first. */
400
+ async stopped(ticketId) {
401
+ const stopping = this.stopping.get(ticketId);
402
+ if (stopping)
403
+ await until(stopping, this.host.lifetime);
404
+ }
405
+ /**
406
+ * On a host stop, for a bounded time: stop each loaded worker's background work, keeping its inbox; then end the collecting
407
+ * of the jobs left to a person, which were killed, and cancel a worker turn that started meanwhile, keeping its inbox.
408
+ */
409
+ async shutdown() {
410
+ const agents = this.host.store.tickets.list().map(ticket => this.host.sessions.agent(workerSessionId(ticket.id)))
411
+ .filter((agent) => agent !== undefined);
412
+ const stop = async () => {
413
+ await Promise.allSettled(agents.map(agent => stopBackground(this.host.context, agent.id, 'dsh-superagent stopped', true, agent)));
414
+ for (const { collect } of this.left.values())
415
+ collect.abort();
416
+ const running = agents.filter(agent => agent.status !== 'idle');
417
+ for (const agent of running)
418
+ agent.cancel({ kind: 'user', keepInbox: true });
419
+ await Promise.allSettled(running.map(agent => agent.whenIdle()));
420
+ };
421
+ await until(stop(), undefined, SHUTDOWN_STOP_MS);
422
+ }
423
+ /** Number of open tickets whose worker holds a worker slot: its turn runs, or its shell jobs or subagents still run after its turn ended. */
424
+ activeCount() { return this.host.store.tickets.open().filter(ticket => this.running(ticket)).length; }
425
+ /** Whether a ticket's worker holds a worker slot: its turn runs, or its shell jobs or subagents do after its turn ended. */
426
+ running(ticket) {
427
+ if (!runningAssignment(ticket))
428
+ return false;
429
+ return this.host.sessions.agent(workerSessionId(ticket.id))?.status === 'running' || this.settling.has(ticket.id);
430
+ }
431
+ /** Marks a ticket failed after its launch fails; the ticket waits until new human input or an explicit retry arrives. */
432
+ launchFailed(ticketId, assignmentId, error) {
433
+ const ticket = this.host.store.tickets.get(ticketId);
434
+ if (!ticket || !liveTicket(ticket) || latestAssignment(ticket)?.id !== assignmentId)
435
+ return;
436
+ this.failed(ticketId, String(error));
437
+ }
438
+ /** Records a `failed` report on the ticket and relays the failure to the main Session in one transaction. */
439
+ failed(ticketId, summary) {
440
+ this.host.store.atomic(() => {
441
+ const updated = this.host.engine.report(ticketId, { state: 'failed', summary });
442
+ this.relay(resultRelay(updated, 'failed', summary));
443
+ });
444
+ }
445
+ relay({ id, text }) { this.host.sessions.relay(id, text); }
446
+ async launch(ticket, assignment) {
447
+ const current = () => {
448
+ if (this.host.closing())
449
+ throw new Error('dsh-superagent is stopping');
450
+ if (this.host.paused())
451
+ throw new Later('Processing is paused');
452
+ const stored = this.host.store.tickets.get(ticket.id);
453
+ return !!stored && liveTicket(stored) && latestAssignment(stored)?.id === assignment.id;
454
+ };
455
+ const source = sourceTrigger(this.host, ticket);
456
+ const workspace = ticket.execution?.directory ?? '';
457
+ if (!current())
458
+ return;
459
+ // Prepare the workspace directory once; an existing directory counts as already prepared, including worktrees created before `prepare` commands existed.
460
+ if (!await stat(workspace).then(() => true, () => false)) {
461
+ await this.prepareDirectory(ticket);
462
+ if (!current())
463
+ return;
464
+ }
465
+ if (!current())
466
+ return;
467
+ const sessionId = workerSessionId(ticket.id);
468
+ const agent = await this.host.sessions.ensure(sessionId, workspace, ticket.title, 'worker');
469
+ if (!current())
470
+ return;
471
+ // The background work of the Assignment this one replaces stops first, so its end does not clear this one's message.
472
+ await this.stopped(ticket.id);
473
+ if (!current())
474
+ return;
475
+ // A message put back for this Assignment may still wait in the Session, kept by a restart's cancel or persisted across a
476
+ // crash, where this launch's message would take it into a step beside the copy delivered next: that copy is the only one.
477
+ for (const id of this.host.store.tickets.get(ticket.id)?.undelivered ?? [])
478
+ agent.inbox.remove(this.host.sessions.promptedId(id));
479
+ // The first message holds the assignment and the source Trigger; a later Assignment's says only what is new, unless the
480
+ // Session lost the first, such as when someone deleted it.
481
+ const first = `assignment:${ticket.id}`;
482
+ const later = ticket.assignments.length > 1;
483
+ const told = later && await this.host.sessions.holds(sessionId, first);
484
+ if (!current())
485
+ return;
486
+ const retried = ticket.assignments.at(-2)?.endedReason === 'retried' ? { note: RETRIED } : {};
487
+ const assignmentText = ticket.execution?.assignment ?? '';
488
+ const { text: brief, chars, read } = capped(assignmentText, ASSIGNMENT_CHARS, `ticket/${ticket.id}/assignment`);
489
+ const card = told || !source ? undefined : await this.triggerCard(ticket, source.id);
490
+ if (!current())
491
+ return;
492
+ const batch = told ? [] : batchOf(this.host, ticket).map(batchLine);
493
+ const text = told ? JSON.stringify({ ticket_id: ticket.id, assignment: ticket.assignments.length, ...retried })
494
+ : JSON.stringify({ ticket_id: ticket.id, title: ticket.title, ...(brief ? { assignment: brief } : {}),
495
+ ...(read ? { assignment_chars: chars, assignment_read: read } : {}), ...(card ? { trigger: card } : {}),
496
+ ...(batch.length ? { batch } : {}), ...retried });
497
+ const requestId = later ? `assignment:${ticket.id}:${assignment.id}` : first;
498
+ await this.host.sessions.prompt(sessionId, requestId, text, 'queue', () => { if (!current())
499
+ throw new Error('Launch authorization changed before worker delivery'); }, () => { this.host.engine.assignmentStarted(ticket.id, assignment.id); });
500
+ this.host.engine.assignmentStarted(ticket.id, assignment.id);
501
+ }
502
+ /** Returns the stored ticket for `agent` when it is a worker session, or undefined otherwise. */
503
+ ticketOf(agent) {
504
+ const ticketId = ticketOfSession(agent.id);
505
+ return ticketId === undefined ? undefined : this.host.store.tickets.get(ticketId);
506
+ }
507
+ /** Subscribes to worker status, inbox, history and error events for worker sessions. Call once at startup. */
508
+ install() {
509
+ const ctx = this.host.context;
510
+ this.disposers.push(ctx.on('superagent/agent-status', ({ agent, status }) => {
511
+ // A turn that starts ends the look at its worker's background work; the turn's own idle looks afresh.
512
+ if (status === 'running') {
513
+ this.settling.get(ticketOfSession(agent.id) ?? '')?.abort();
514
+ return;
515
+ }
516
+ // The turn a stop of the worker's subagents woke and cancelled is no turn of the worker's.
517
+ if (status !== 'idle' || cancelled.delete(agent) || this.host.closing())
518
+ return;
519
+ const ticket = this.ticketOf(agent);
520
+ const assignment = ticket && runningAssignment(ticket);
521
+ if (ticket && assignment && liveTicket(ticket))
522
+ void this.background(this.workerIdle(ticket, assignment, agent));
523
+ }));
524
+ // A person's message typed into a worker's Session, which the ticket does not record (no interface input exists for a
525
+ // worker Session in this bundle, so `origin` is in practice always `'notice'`; the branch stays as upstream has it).
526
+ this.disposers.push(ctx.on('superagent/inbox-claimed', ({ sessionId, origin }) => {
527
+ const ticketId = ticketOfSession(sessionId);
528
+ if (ticketId !== undefined && origin === 'user')
529
+ this.personal.set(ticketId, now());
530
+ }));
531
+ // The Inputs a message of dsh-superagent's carries, which its worker reads once the Session took the message into its
532
+ // history: a step that claimed it may be cancelled or fail before, which drops it. `requestId` is the raw one the
533
+ // message was delivered under; `promptedId` prefixes it, so both forms match.
534
+ this.disposers.push(ctx.on('superagent/message-read', ({ sessionId, requestId }) => {
535
+ const ticketId = ticketOfSession(sessionId);
536
+ if (ticketId === undefined || this.host.closing())
537
+ return;
538
+ void this.background(Promise.resolve().then(() => {
539
+ const read = this.host.store.tickets.get(ticketId)?.inputs.filter(input => input.kind === 'trigger' && !input.readAt
540
+ && (input.id === requestId || this.host.sessions.promptedId(input.id) === requestId)).map(input => input.id) ?? [];
541
+ if (read.length)
542
+ this.host.engine.inputsRead(ticketId, read);
543
+ }));
544
+ }));
545
+ this.disposers.push(ctx.on('superagent/agent-error', ({ agent, error }) => {
546
+ const ticket = this.ticketOf(agent);
547
+ const assignment = ticket && runningAssignment(ticket);
548
+ if (!ticket || !assignment || !liveTicket(ticket) || this.host.closing())
549
+ return;
550
+ if (this.retries(assignment.id, error)) {
551
+ this.resumeAfter(ticket.id, assignment.id, error);
552
+ return;
553
+ }
554
+ void this.background(Promise.resolve().then(() => { this.failed(ticket.id, String(error)); }));
555
+ }));
556
+ }
557
+ /** Unsubscribes from host worker events and clears any pending transient-retry timers. */
558
+ dispose() {
559
+ for (const dispose of this.disposers.splice(0))
560
+ dispose();
561
+ for (const timer of this.timers)
562
+ clearTimeout(timer);
563
+ this.timers.clear();
564
+ }
565
+ /**
566
+ * Reconciles running and pending assignments across open tickets after a host restart: notifies Engine of interrupted
567
+ * running assignments and re-queues pending launches (which earlier versions may have kept outside the effect queue),
568
+ * while failed launches (`waitsForPerson`) wait for a person's message or a retry.
569
+ */
570
+ resume() {
571
+ // Launch pending tickets oldest first (in acceptance order).
572
+ for (const ticket of this.host.store.tickets.open().sort((a, b) => a.createdAt.localeCompare(b.createdAt))) {
573
+ const running = runningAssignment(ticket), latest = latestAssignment(ticket);
574
+ if (running) {
575
+ // A restart within this process left the worker Sessions, jobs and subagents running: they stop first. The inbox keeps an
576
+ // Input that was handed over but not yet taken.
577
+ this.host.sessions.agent(workerSessionId(ticket.id))?.cancel({ kind: 'user', keepInbox: true });
578
+ this.stopWork(ticket.id, 'dsh-superagent restarted', true);
579
+ this.host.engine.assignmentInterrupted(ticket.id, running.id);
580
+ }
581
+ else if (latest?.state === 'pending' && !waitsForPerson(ticket))
582
+ this.start(ticket, latest);
583
+ }
584
+ }
585
+ /** Runs background worker event handling and updates the `worker` health entry on failure or recovery. */
586
+ background(work) {
587
+ const { health } = this.host;
588
+ return work.then(() => { if (health.get()?.state === 'error')
589
+ health.set({ state: 'ready', detail: 'Worker events are handled', at: now() }); }, (error) => { health.set({ state: 'error', detail: String(error), at: now() }); });
590
+ }
591
+ /**
592
+ * Checks whether `error` is a transient failure with retry attempts remaining under `key`, mutating `this.transient`:
593
+ * increments the attempt counter and returns `true` when retrying, or deletes `key` from `this.transient` and returns `false` when non-transient or out of tries.
594
+ */
595
+ retries(key, error) {
596
+ const tries = this.transient.get(key) ?? 0;
597
+ if (!transient(error) || tries >= TRANSIENT_TRIES) {
598
+ this.transient.delete(key);
599
+ return false;
600
+ }
601
+ this.transient.set(key, tries + 1);
602
+ return true;
603
+ }
604
+ /** Schedules a worker turn retry with exponential backoff after a transient provider or network error. */
605
+ resumeAfter(ticketId, assignmentId, error) {
606
+ const tries = this.transient.get(assignmentId);
607
+ const text = `Your last turn failed for a passing reason (${String(error).slice(0, 200)}). Continue the assignment where it stopped.`;
608
+ this.resuming.add(assignmentId);
609
+ const go = () => {
610
+ if (this.host.closing())
611
+ return;
612
+ const ticket = this.host.store.tickets.get(ticketId);
613
+ if (!ticket || !liveTicket(ticket) || runningAssignment(ticket)?.id !== assignmentId) {
614
+ this.resuming.delete(assignmentId);
615
+ return;
616
+ }
617
+ // Wait while processing is paused or no wake slot is free.
618
+ if (this.host.paused()) {
619
+ this.after(SLOT_WAIT_MS, go);
620
+ return;
621
+ }
622
+ const sessionId = workerSessionId(ticketId);
623
+ const waking = !this.running(ticket);
624
+ try {
625
+ if (waking)
626
+ this.slots.reserve(ticketId, 'wake');
627
+ }
628
+ catch (failure) {
629
+ if (!(failure instanceof Later))
630
+ throw failure;
631
+ this.after(SLOT_WAIT_MS, go);
632
+ return;
633
+ }
634
+ const sent = this.host.sessions.prompt(sessionId, `retry:${assignmentId}:${tries}`, text, 'queue');
635
+ void this.background(sent.finally(() => { if (waking)
636
+ this.slots.free(ticketId); this.resuming.delete(assignmentId); })
637
+ .catch((failure) => { this.failed(ticketId, String(failure)); }));
638
+ };
639
+ this.after(TRANSIENT_BACKOFF_MS * 2 ** (tries - 1), go);
640
+ }
641
+ /** Schedules `then` to run after `ms` milliseconds unless `dispose()` is called first. */
642
+ after(ms, then) {
643
+ const timer = setTimeout(() => { this.timers.delete(timer); then(); }, ms);
644
+ timer.unref?.();
645
+ this.timers.add(timer);
646
+ }
647
+ /**
648
+ * A worker that handed off to a person frees its slot: its subagents stop, and its shell jobs, such as a server for the
649
+ * person, are left to the person until the Assignment ends. They hold no slot and run past any limit; their ends are
650
+ * collected, so none wakes the worker outside a slot, and the worker reads of each at its next turn.
651
+ */
652
+ handOff(ticketId, agent) {
653
+ this.track(ticketId, stopSubagents(this.host.context, agent, true));
654
+ const left = this.left.get(ticketId) ?? { jobs: new Set(), collect: new AbortController() };
655
+ this.left.set(ticketId, left);
656
+ for (const job of runningJobs(this.host.context, agent.id, left.jobs)) {
657
+ left.jobs.add(job.id);
658
+ void this.background(collectJob(this.host.context, agent.id, job, left.collect.signal).then(async (ended) => {
659
+ if (!ended)
660
+ return;
661
+ const note = `Your background job ${ended.name} ended: ${ended.status}.`;
662
+ await this.host.sessions.prompt(agent.id, `ended:${job.id}`, note, { inject: 'Background job ended' });
663
+ }));
664
+ }
665
+ }
666
+ /**
667
+ * Hands a quiet after background work back to the worker that still has it, the way DSH's job registry and subagent
668
+ * service wake a worker when that work ends (see the file header). `'queue'` starts the worker's next turn, which the next
669
+ * idle looks afresh from; the upstream `{ inject }` mode would leave the note unread until someone else woke it.
670
+ */
671
+ wake(agent, jobs, children) {
672
+ const lines = [
673
+ ...jobs.map(job => {
674
+ const status = this.host.context.get('jobs')?.list(agent.id).find(item => item.id === job.id)?.status ?? 'ended';
675
+ return `- job ${job.name}: ${status}`;
676
+ }),
677
+ ...children.map(child => `- subagent ${child.name}: ended`),
678
+ ].join('\n');
679
+ const note = 'Your background work ended after your turn ended; read a job\'s output with job_output (list_agents shows the '
680
+ + `subagents), then continue the assignment:\n${lines}`;
681
+ const requestId = `settled:${[...jobs.map(job => job.id), ...children.map(child => child.name)].join(',')}`;
682
+ void this.background(this.host.sessions.prompt(agent.id, requestId, note, 'queue'));
683
+ }
684
+ async workerIdle(ticket, idle, agent) {
685
+ await agent.whenIdle();
686
+ // A turn that failed for a passing reason goes on after its backoff, which is no end of the turn.
687
+ if (this.resuming.has(idle.id) || agent.status !== 'idle')
688
+ return;
689
+ // A turn that ended as turns do starts the count of passing failures again.
690
+ this.transient.delete(idle.id);
691
+ // The ticket while the Assignment that went idle runs it.
692
+ const live = () => {
693
+ const stored = this.host.store.tickets.get(ticket.id);
694
+ return stored && liveTicket(stored) && runningAssignment(stored)?.id === idle.id ? stored : undefined;
695
+ };
696
+ // A worker whose last word was its result, a question for a person, or a blocked or failed report handed off to a person;
697
+ // an Input delivered after its result or question is new work.
698
+ const handedOff = (stored) => {
699
+ const assignment = runningAssignment(stored), report = assignment?.report;
700
+ const since = !!assignment?.deliveredAt && !!report && assignment.deliveredAt >= report.at;
701
+ return ((report?.state === 'ready' || !!stored.attention) && !since) || waitsForPerson(stored);
702
+ };
703
+ const before = live();
704
+ if (!before || this.host.closing())
705
+ return;
706
+ // A turn a person started in the Session is the person's work, which goes on in the background as any turn's does.
707
+ const report = runningAssignment(before)?.report, person = this.personal.get(ticket.id);
708
+ // The worker read what reached it before a turn that ended: one it handed off with, or one whose background work ended.
709
+ if (handedOff(before) && !(report && person && person > report.at)) {
710
+ this.host.engine.turnEnded(ticket.id, idle.id);
711
+ this.handOff(ticket.id, agent);
712
+ return;
713
+ }
714
+ // Its turn ends once nothing runs for it in the background, which holds its slot meanwhile: at most for the limit from
715
+ // this idle, and until the worker runs again or the Assignment ends.
716
+ this.settling.get(ticket.id)?.abort();
717
+ const look = new AbortController(), limit = new AbortController();
718
+ this.settling.set(ticket.id, look);
719
+ const timer = setTimeout(() => { limit.abort(); }, BACKGROUND_LIMIT_MS);
720
+ timer.unref?.();
721
+ // The background work that was still running when this look started: a native stack cannot wake the worker with its end
722
+ // (see the file header), so `wake` hands it back when the look reports the quiet.
723
+ const pending = runningJobs(this.host.context, agent.id, this.left.get(ticket.id)?.jobs);
724
+ const team = this.host.context.get('team');
725
+ const children = team ? team.list().filter(child => child.sessionId === agent.id && child.state === 'working') : [];
726
+ let quiet;
727
+ const left = this.left.get(ticket.id)?.jobs;
728
+ try {
729
+ quiet = await untilQuiet(this.host.context, agent, AbortSignal.any([this.host.lifetime, look.signal, limit.signal]), left);
730
+ }
731
+ finally {
732
+ clearTimeout(timer);
733
+ if (this.settling.get(ticket.id) === look)
734
+ this.settling.delete(ticket.id);
735
+ }
736
+ const current = live();
737
+ if (this.host.closing() || look.signal.aborted || (!quiet && !limit.signal.aborted) || !current || this.resuming.has(idle.id))
738
+ return;
739
+ if (quiet)
740
+ this.host.engine.turnEnded(ticket.id, idle.id);
741
+ let stopped = '';
742
+ if (!quiet) {
743
+ // Its shell jobs that ran past the limit are killed, which it is told at its next turn; its subagents, whose stop would
744
+ // wake it, go on.
745
+ const sessionId = workerSessionId(ticket.id), minutes = BACKGROUND_LIMIT_MS / 60_000;
746
+ const jobs = runningJobs(this.host.context, sessionId, left).map(job => job.name);
747
+ if (jobs.length) {
748
+ void this.background(killJobs(this.host.context, sessionId, 'The job ran past its limit', left));
749
+ const note = `Your background jobs ran ${minutes} minutes after your turn ended and were killed: ${jobs.join(', ')}.`;
750
+ void this.background(this.host.sessions.prompt(sessionId, `killed:${jobs.join(',')}`, note, { inject: 'Background jobs killed' }));
751
+ }
752
+ stopped = jobs.length ? `Background jobs ran ${minutes} minutes after the worker's turn ended and were killed: ${jobs.join(', ')}.`
753
+ : `Subagents still ran ${minutes} minutes after the worker's turn ended.`;
754
+ }
755
+ // The worker may have reported while its turn ended; a blocked or failed report a person's message has lifted is stale.
756
+ if (handedOff(current))
757
+ return;
758
+ // The native wake for background work that ended quietly (see `wake` and the file header).
759
+ if (quiet && (pending.length || children.length)) {
760
+ this.wake(agent, pending, children);
761
+ return;
762
+ }
763
+ const text = agent.lastAssistantText();
764
+ const said = [text, stopped].filter(Boolean).join('\n\n');
765
+ this.host.store.atomic(() => {
766
+ const before = latestReport(current)?.summary ?? '';
767
+ const updated = this.host.engine.report(ticket.id, { state: 'waiting', summary: said || before });
768
+ // A quiet final after orchestrator_report is not a new status or an empty handoff.
769
+ if (said)
770
+ this.relay(resultRelay(updated, 'waiting', said));
771
+ else if (!before.trim()) {
772
+ this.relay(resultRelay(updated, 'waiting', 'Worker ended without a status report. Use orchestrator_ticket_request_status to request one.'));
773
+ }
774
+ });
775
+ }
776
+ }