@celljs/ta 4.9.1 → 4.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/dist/cli.mjs +69 -15
  2. package/dist/gateway.mjs +144 -20
  3. package/dist/pi/CHANGELOG.md +7 -0
  4. package/dist/pi/dist/bundle/chunks/anthropic-messages-CA3HHOL3.js +6 -0
  5. package/dist/pi/dist/bundle/chunks/{azure-openai-responses-FSC6BAW3.js → azure-openai-responses-76TWS6DT.js} +1 -1
  6. package/dist/pi/dist/bundle/chunks/bedrock-converse-stream.js +3 -3
  7. package/dist/pi/dist/bundle/chunks/chunk-4KSTFUIK.js +19 -0
  8. package/dist/pi/dist/bundle/chunks/chunk-4UNPP53I.js +55 -0
  9. package/dist/pi/dist/bundle/chunks/chunk-AUUCDC7R.js +4 -0
  10. package/dist/pi/dist/bundle/chunks/{chunk-V6KH5QG4.js → chunk-BAC3QPNW.js} +1 -1
  11. package/dist/pi/dist/bundle/chunks/{chunk-4EYXVSA5.js → chunk-FF6XOTWB.js} +9 -9
  12. package/dist/pi/dist/bundle/chunks/chunk-FMPAMX2W.js +82 -0
  13. package/dist/pi/dist/bundle/chunks/chunk-GFUN2N5K.js +2 -0
  14. package/dist/pi/dist/bundle/chunks/chunk-IEBK4HQA.js +2 -0
  15. package/dist/pi/dist/bundle/chunks/{chunk-C2WU32PX.js → chunk-IQUU5XIT.js} +1 -1
  16. package/dist/pi/dist/bundle/chunks/{chunk-EBFHJFEE.js → chunk-LQLJ7CDW.js} +1 -1
  17. package/dist/pi/dist/bundle/chunks/chunk-MMDXLZVS.js +30 -0
  18. package/dist/pi/dist/bundle/chunks/{chunk-GN3QYODH.js → chunk-QN4TOIZN.js} +1 -1
  19. package/dist/pi/dist/bundle/chunks/chunk-RKNK4Y6L.js +2 -0
  20. package/dist/pi/dist/bundle/chunks/{chunk-B46VJEHW.js → chunk-V7SLUK6A.js} +1 -1
  21. package/dist/pi/dist/bundle/chunks/chunk-VEJDBY3O.js +1237 -0
  22. package/dist/pi/dist/bundle/chunks/chunk-VKJQ6CME.js +8 -0
  23. package/dist/pi/dist/bundle/chunks/{chunk-3TGLJEWK.js → chunk-WL4TUXY7.js} +1 -1
  24. package/dist/pi/dist/bundle/chunks/{chunk-YZKQS34S.js → chunk-Y55SJART.js} +5 -1
  25. package/dist/pi/dist/bundle/chunks/{chunk-EOO47QGR.js → chunk-ZBIZYD6W.js} +1 -1
  26. package/dist/pi/dist/bundle/chunks/chunk-ZG74NES2.js +2 -0
  27. package/dist/pi/dist/bundle/chunks/chunk-ZGYS4UTC.js +2 -0
  28. package/dist/pi/dist/bundle/chunks/{cli-MCOUW5WS.js → cli-7RHMDOHL.js} +7 -7
  29. package/dist/pi/dist/bundle/chunks/{cloudflare-workers-ai-system-one-WLAFJSP6.js → cloudflare-workers-ai-system-one-U4J7D646.js} +1 -1
  30. package/dist/pi/dist/bundle/chunks/codemode-worker.js +2 -0
  31. package/dist/pi/dist/bundle/chunks/{easter-egg-3d-WMBNSJ4M.js → easter-egg-3d-GEVPKQF6.js} +1 -1
  32. package/dist/pi/dist/bundle/chunks/{execute-4CEBORGZ.js → execute-L2EEDV3L.js} +5 -3
  33. package/dist/pi/dist/bundle/chunks/github-copilot.js +1 -1
  34. package/dist/pi/dist/bundle/chunks/{google-generative-ai-INGKNW72.js → google-generative-ai-D5B6W47J.js} +1 -1
  35. package/dist/pi/dist/bundle/chunks/{google-vertex-IBTX6MBF.js → google-vertex-U4H5YDEW.js} +1 -1
  36. package/dist/pi/dist/bundle/chunks/{llama-cpp-classify-V5U3QKXI.js → llama-cpp-classify-EJXCQRUQ.js} +1 -1
  37. package/dist/pi/dist/bundle/chunks/{mistral-conversations-S4OWXIXQ.js → mistral-conversations-S277EKLB.js} +1 -1
  38. package/dist/pi/dist/bundle/chunks/openai-codex-responses-TEQRB65N.js +10 -0
  39. package/dist/pi/dist/bundle/chunks/{openai-completions-EJNYB6IX.js → openai-completions-HRZOSLBO.js} +3 -3
  40. package/dist/pi/dist/bundle/chunks/{openai-decisions-IXI34BYG.js → openai-decisions-F66BDLOM.js} +1 -1
  41. package/dist/pi/dist/bundle/chunks/openai-responses-BAKFWTGE.js +4 -0
  42. package/dist/pi/dist/bundle/chunks/{openrouter-images-PISKSFMS.js → openrouter-images-VXF5TVIK.js} +1 -1
  43. package/dist/pi/dist/bundle/chunks/{pi-messages-NORUKF4E.js → pi-messages-UBJKNDRN.js} +1 -1
  44. package/dist/pi/dist/bundle/chunks/{runtime-FQB7RU7U.js → runtime-J5ZSBGTX.js} +1 -1
  45. package/dist/pi/dist/bundle/chunks/{typesafe-system-one-CHVC2UUI.js → typesafe-system-one-56TEMIHL.js} +1 -1
  46. package/dist/pi/dist/bundle/chunks/virtual-modules-KITQRTYM.js +2 -0
  47. package/dist/pi/dist/bundle/cli-runtime.js +1 -1
  48. package/dist/pi/dist/bundle/index.js +1 -1
  49. package/dist/pi/dist/bundle/rpc-entry.js +1 -1
  50. package/dist/pi/docs/cli.md +14 -1
  51. package/dist/pi/docs/extensions.md +27 -7
  52. package/dist/pi/docs/keybindings.md +1 -1
  53. package/dist/pi/docs/llama-cpp.md +5 -8
  54. package/dist/pi/docs/models-configuration.md +6 -1
  55. package/dist/pi/docs/models.md +2 -1
  56. package/dist/pi/docs/prompt-templates.md +1 -1
  57. package/dist/pi/docs/providers.md +1 -1
  58. package/dist/pi/docs/rpc.md +4 -2
  59. package/dist/pi/docs/sessions.md +7 -1
  60. package/dist/pi/docs/settings.md +1 -1
  61. package/dist/pi/docs/tui.md +1 -1
  62. package/dist/pi/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  63. package/dist/pi/examples/extensions/custom-provider-anthropic/package.json +1 -1
  64. package/dist/pi/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  65. package/dist/pi/examples/extensions/gondolin/package-lock.json +2 -2
  66. package/dist/pi/examples/extensions/gondolin/package.json +1 -1
  67. package/dist/pi/examples/extensions/plan-mode/index.ts +23 -13
  68. package/dist/pi/examples/extensions/plan-mode/utils.ts +42 -16
  69. package/dist/pi/examples/extensions/subagent/README.md +14 -11
  70. package/dist/pi/examples/extensions/subagent/index.ts +392 -171
  71. package/dist/pi/examples/extensions/with-deps/package-lock.json +2 -2
  72. package/dist/pi/examples/extensions/with-deps/package.json +1 -1
  73. package/dist/pi/examples/tsconfig.json +63 -35
  74. package/dist/pi/package.json +1 -1
  75. package/dist/pi/packages/ta-agents/extension/index.mjs +19 -1
  76. package/dist/pi/packages/ta-agents/lib/agent-bindings.d.ts +2 -0
  77. package/dist/pi/packages/ta-agents/lib/agent-bindings.js +4 -0
  78. package/dist/pi/packages/ta-agents/lib/extension.js +15 -1
  79. package/dist/pi/packages/ta-agents/lib/texts.d.ts +4 -0
  80. package/dist/pi/packages/ta-agents/lib/texts.js +4 -0
  81. package/dist/pi/packages/ta-agents/package.json +3 -3
  82. package/dist/pi/packages/ta-bots/extension/index.mjs +46 -0
  83. package/dist/pi/packages/ta-bots/host/index.mjs +46 -0
  84. package/dist/pi/packages/ta-bots/package.json +1 -1
  85. package/dist/pi/packages/ta-changes/package.json +1 -1
  86. package/dist/pi/packages/ta-channels/README.en.md +2 -2
  87. package/dist/pi/packages/ta-channels/README.md +2 -2
  88. package/dist/pi/packages/ta-channels/host/index.mjs +50 -0
  89. package/dist/pi/packages/ta-channels/lib/create.js +11 -3
  90. package/dist/pi/packages/ta-channels/lib/faces.js +1 -1
  91. package/dist/pi/packages/ta-channels/lib/i18n.d.ts +4 -8
  92. package/dist/pi/packages/ta-channels/lib/i18n.js +8 -16
  93. package/dist/pi/packages/ta-channels/lib/more-menu.d.ts +3 -2
  94. package/dist/pi/packages/ta-channels/lib/more-menu.js +21 -29
  95. package/dist/pi/packages/ta-channels/lib/room.js +13 -8
  96. package/dist/pi/packages/ta-channels/lib/sidebar.js +184 -74
  97. package/dist/pi/packages/ta-channels/lib/style.d.ts +1 -1
  98. package/dist/pi/packages/ta-channels/lib/style.js +83 -37
  99. package/dist/pi/packages/ta-channels/lib/tasks.js +3 -4
  100. package/dist/pi/packages/ta-channels/lib/views.d.ts +49 -1
  101. package/dist/pi/packages/ta-channels/lib/views.js +100 -1
  102. package/dist/pi/packages/ta-channels/package.json +1 -1
  103. package/dist/pi/packages/ta-channels/web/index.js +398 -243
  104. package/dist/pi/packages/ta-computer-use/package.json +2 -2
  105. package/dist/pi/packages/ta-cron/README.en.md +2 -2
  106. package/dist/pi/packages/ta-cron/README.md +2 -2
  107. package/dist/pi/packages/ta-cron/host/index.mjs +6 -0
  108. package/dist/pi/packages/ta-cron/lib/editor.js +60 -27
  109. package/dist/pi/packages/ta-cron/lib/i18n.d.ts +12 -1
  110. package/dist/pi/packages/ta-cron/lib/i18n.js +24 -2
  111. package/dist/pi/packages/ta-cron/lib/page.d.ts +33 -3
  112. package/dist/pi/packages/ta-cron/lib/page.js +119 -4
  113. package/dist/pi/packages/ta-cron/lib/style.d.ts +1 -1
  114. package/dist/pi/packages/ta-cron/lib/style.js +166 -46
  115. package/dist/pi/packages/ta-cron/lib/task-extension.d.ts +15 -0
  116. package/dist/pi/packages/ta-cron/lib/task-extension.js +56 -0
  117. package/dist/pi/packages/ta-cron/lib/task-util.d.ts +2 -0
  118. package/dist/pi/packages/ta-cron/lib/task-util.js +11 -0
  119. package/dist/pi/packages/ta-cron/lib/tasks-view.d.ts +4 -1
  120. package/dist/pi/packages/ta-cron/lib/tasks-view.js +102 -66
  121. package/dist/pi/packages/ta-cron/package.json +1 -1
  122. package/dist/pi/packages/ta-cron/web/index.js +928 -404
  123. package/dist/pi/packages/ta-extensions/README.en.md +3 -1
  124. package/dist/pi/packages/ta-extensions/README.md +3 -1
  125. package/dist/pi/packages/ta-extensions/lib/actions.js +3 -1
  126. package/dist/pi/packages/ta-extensions/lib/composer.d.ts +17 -0
  127. package/dist/pi/packages/ta-extensions/lib/composer.js +84 -0
  128. package/dist/pi/packages/ta-extensions/lib/i18n.d.ts +9 -0
  129. package/dist/pi/packages/ta-extensions/lib/i18n.js +18 -0
  130. package/dist/pi/packages/ta-extensions/lib/index.js +4 -0
  131. package/dist/pi/packages/ta-extensions/lib/make-model.d.ts +20 -0
  132. package/dist/pi/packages/ta-extensions/lib/make-model.js +43 -0
  133. package/dist/pi/packages/ta-extensions/lib/page.js +42 -18
  134. package/dist/pi/packages/ta-extensions/lib/settings.d.ts +4 -0
  135. package/dist/pi/packages/ta-extensions/lib/settings.js +44 -0
  136. package/dist/pi/packages/ta-extensions/lib/style.d.ts +1 -1
  137. package/dist/pi/packages/ta-extensions/lib/style.js +10 -4
  138. package/dist/pi/packages/ta-extensions/package.json +1 -1
  139. package/dist/pi/packages/ta-extensions/skills/ta-package/SKILL.md +7 -3
  140. package/dist/pi/packages/ta-extensions/web/index.js +269 -26
  141. package/dist/pi/packages/ta-launcher/package.json +1 -1
  142. package/dist/pi/packages/ta-workspace/README.md +1 -1
  143. package/dist/pi/packages/ta-workspace/README.zh-cn.md +1 -1
  144. package/dist/pi/packages/ta-workspace/lib/bytes.d.ts +11 -0
  145. package/dist/pi/packages/ta-workspace/lib/bytes.js +40 -0
  146. package/dist/pi/packages/ta-workspace/lib/common.d.ts +2 -1
  147. package/dist/pi/packages/ta-workspace/lib/common.js +15 -37
  148. package/dist/pi/packages/ta-workspace/lib/editors.js +12 -3
  149. package/dist/pi/packages/ta-workspace/lib/i18n.d.ts +1 -2
  150. package/dist/pi/packages/ta-workspace/lib/i18n.js +2 -4
  151. package/dist/pi/packages/ta-workspace/lib/index.js +15 -0
  152. package/dist/pi/packages/ta-workspace/lib/launcher.d.ts +9 -0
  153. package/dist/pi/packages/ta-workspace/lib/launcher.js +39 -0
  154. package/dist/pi/packages/ta-workspace/lib/preview.d.ts +13 -3
  155. package/dist/pi/packages/ta-workspace/lib/preview.js +17 -14
  156. package/dist/pi/packages/ta-workspace/lib/style.d.ts +1 -1
  157. package/dist/pi/packages/ta-workspace/lib/style.js +20 -7
  158. package/dist/pi/packages/ta-workspace/lib/util/keys.d.ts +18 -0
  159. package/dist/pi/packages/ta-workspace/lib/util/keys.js +23 -0
  160. package/dist/pi/packages/ta-workspace/lib/util/preview.d.ts +19 -0
  161. package/dist/pi/packages/ta-workspace/lib/util/preview.js +32 -1
  162. package/dist/pi/packages/ta-workspace/package.json +1 -1
  163. package/dist/pi/packages/ta-workspace/web/index.js +235 -67
  164. package/dist/public/assets/{abnfDiagram-S7VZAUFO-EVMX_yOb.js → abnfDiagram-S7VZAUFO-BmIko5tV.js} +1 -1
  165. package/dist/public/assets/{architecture-WOLXFQ4H-CDgbgZ_o.js → architecture-WOLXFQ4H-XgsdQ7ul.js} +1 -1
  166. package/dist/public/assets/{architectureDiagram-YGSQEFNW-dHreaCWz.js → architectureDiagram-YGSQEFNW--sVhMS03.js} +1 -1
  167. package/dist/public/assets/{blockDiagram-APKKGZFW-D6FhzBDq.js → blockDiagram-APKKGZFW-8f9b-9k2.js} +1 -1
  168. package/dist/public/assets/browser-DOHZ0JCf.js +12 -0
  169. package/dist/public/assets/{c4Diagram-KJ2TOQU5-BFpcr8Cs.js → c4Diagram-KJ2TOQU5-CwYQ0Jfy.js} +1 -1
  170. package/dist/public/assets/{chunk-6MUBBAK2-BczXkMV-.js → chunk-6MUBBAK2-7Y9ezehi.js} +1 -1
  171. package/dist/public/assets/{chunk-AXFCVDMN-CjJsv3jB.js → chunk-AXFCVDMN-CZIH4pWz.js} +1 -1
  172. package/dist/public/assets/{chunk-BG4553SI-FBaleaLz.js → chunk-BG4553SI-DsNATY2m.js} +1 -1
  173. package/dist/public/assets/{chunk-DQASFODM-BFdXY5sX.js → chunk-DQASFODM-CoXkfYE-.js} +1 -1
  174. package/dist/public/assets/{chunk-HFQBQIA3-C5cwK-Fg.js → chunk-HFQBQIA3-C5OLqki8.js} +1 -1
  175. package/dist/public/assets/{chunk-KQLB2F66-BUek3IRk.js → chunk-KQLB2F66-DMHuYGEF.js} +1 -1
  176. package/dist/public/assets/{chunk-KS47KZWR-BxsYBzt6.js → chunk-KS47KZWR-BKeOttO1.js} +1 -1
  177. package/dist/public/assets/{chunk-LEVMRMFU-Bdcwz9fS.js → chunk-LEVMRMFU-D6zCwkk7.js} +1 -1
  178. package/dist/public/assets/{chunk-M57EVK23-kkpP5oug.js → chunk-M57EVK23-B5-QqcZg.js} +1 -1
  179. package/dist/public/assets/{chunk-OY52VR5R-CFhQgxmD.js → chunk-OY52VR5R-DQrq3n0T.js} +1 -1
  180. package/dist/public/assets/{chunk-QB3YPZ4I-BVXqu0eC.js → chunk-QB3YPZ4I-j6ZT7EDR.js} +1 -1
  181. package/dist/public/assets/{chunk-R3KSYZAL-B7SUqqLI.js → chunk-R3KSYZAL-D5MXUO36.js} +1 -1
  182. package/dist/public/assets/{chunk-STOXU5M4-B3abfbnH.js → chunk-STOXU5M4-DaBkw4dD.js} +1 -1
  183. package/dist/public/assets/{chunk-TU62E6Q5-C9NqnUav.js → chunk-TU62E6Q5-vXcRfGci.js} +1 -1
  184. package/dist/public/assets/{chunk-X4PVCEUW-BeLfETDx.js → chunk-X4PVCEUW-CIh6H4Y2.js} +1 -1
  185. package/dist/public/assets/{chunk-XXDRQBXY-DXai1i8p.js → chunk-XXDRQBXY-C_Vwv1FM.js} +1 -1
  186. package/dist/public/assets/{classDiagram-v2-L25IHNXF-Zj6ne_tC.js → classDiagram-v2-L25IHNXF-DccDWEJn.js} +1 -1
  187. package/dist/public/assets/{cose-bilkent-JH36ORCC-C0-TjqfJ.js → cose-bilkent-JH36ORCC-BX47lumZ.js} +1 -1
  188. package/dist/public/assets/cynefin-EF2NZ3EQ-MaI-3dMQ.js +1 -0
  189. package/dist/public/assets/{cynefinDiagram-L36ESFBY-BnqxfzPa.js → cynefinDiagram-L36ESFBY-BE6WOGxW.js} +1 -1
  190. package/dist/public/assets/{d3-selection-DfFLTR9d.js → d3-selection-ZcE6yRN5.js} +1 -1
  191. package/dist/public/assets/{dagre-SPEB5RXH-kI17e5cH.js → dagre-SPEB5RXH-CE6SOOcN.js} +1 -1
  192. package/dist/public/assets/{diagram-3B7GL73J-DgPjeLA5.js → diagram-3B7GL73J-xC8VtiYL.js} +1 -1
  193. package/dist/public/assets/{diagram-DNEMPZML-CRhPfa0I.js → diagram-DNEMPZML-4dmcBbjL.js} +1 -1
  194. package/dist/public/assets/{diagram-L3MUGCDN-ExuTg12b.js → diagram-L3MUGCDN-D14Yn3sQ.js} +1 -1
  195. package/dist/public/assets/{diagram-LA4NIPWU-Dgx5xNiY.js → diagram-LA4NIPWU-GxSXIhsK.js} +1 -1
  196. package/dist/public/assets/{diagram-MHCOC4E2-BuifkUTl.js → diagram-MHCOC4E2-Cm7Prlpc.js} +1 -1
  197. package/dist/public/assets/{diagram-XPFHEONP-CFEaBo7z.js → diagram-XPFHEONP-mkUnnKFu.js} +1 -1
  198. package/dist/public/assets/{dist-C-iJHcSK.js → dist-acJS-BlA.js} +1 -1
  199. package/dist/public/assets/{ebnfDiagram-UZSYDL2S-D-hp5yNt.js → ebnfDiagram-UZSYDL2S-m77ua3UQ.js} +1 -1
  200. package/dist/public/assets/{editor.api-BopUWpqY.js → editor.api-CljTm-EQ.js} +1 -1
  201. package/dist/public/assets/{elk-XV6XMXQE-CBbk_IpU.js → elk-XV6XMXQE-DsQY1hw9.js} +1 -1
  202. package/dist/public/assets/{erDiagram-EYBAPDEH-B02R_WWE.js → erDiagram-EYBAPDEH-CV8gJM0P.js} +1 -1
  203. package/dist/public/assets/{eventmodeling-K75KTNOO-aCZfYnCI.js → eventmodeling-K75KTNOO-C1pymbUr.js} +1 -1
  204. package/dist/public/assets/flowDiagram-MALGAFMO-shBnAQFk.js +1 -0
  205. package/dist/public/assets/{freemarker2-DMN60LeK.js → freemarker2-DYJXaMHN.js} +1 -1
  206. package/dist/public/assets/{ganttDiagram-23REXITY-DioU8TlD.js → ganttDiagram-23REXITY-CppxOWRh.js} +1 -1
  207. package/dist/public/assets/gitGraph-VSP46ZUC-BtQWboBz.js +1 -0
  208. package/dist/public/assets/{gitGraphDiagram-STJD7YCW--q3ctg6y.js → gitGraphDiagram-STJD7YCW-CrQrZhcP.js} +1 -1
  209. package/dist/public/assets/{handlebars-B_-qdvpB.js → handlebars-DZCnH9e2.js} +1 -1
  210. package/dist/public/assets/{html-BN8Ah3Js.js → html-DuzouNES.js} +1 -1
  211. package/dist/public/assets/{index-B3A--ac8.js → index-B7OYKvCE.js} +2 -2
  212. package/dist/public/assets/info-OHQRW6UA-CDSLjba_.js +1 -0
  213. package/dist/public/assets/{infoDiagram-KBXO4MBG-CGXteYo9.js → infoDiagram-KBXO4MBG-6pby19tQ.js} +1 -1
  214. package/dist/public/assets/{ishikawaDiagram-M35NCXHK-DM2LmOAc.js → ishikawaDiagram-M35NCXHK-Duf8c8rQ.js} +1 -1
  215. package/dist/public/assets/{javascript-BlizGb0q.js → javascript-2d_L6cVd.js} +1 -1
  216. package/dist/public/assets/{journeyDiagram-OPLOXDXO-CNITRtGl.js → journeyDiagram-OPLOXDXO-Dvv-xzNo.js} +1 -1
  217. package/dist/public/assets/{jsonMode-CEUmT5sN.js → jsonMode-CFadYXyI.js} +1 -1
  218. package/dist/public/assets/{kanban-definition-BZKZHSQY-BPUuS9um.js → kanban-definition-BZKZHSQY-Dsk6F-TT.js} +1 -1
  219. package/dist/public/assets/{liquid-BbyLjUbE.js → liquid-Din4CF34.js} +1 -1
  220. package/dist/public/assets/{mdx-DiQz7Q35.js → mdx-DivDuCWI.js} +1 -1
  221. package/dist/public/assets/{mermaid-parser.core-Dum100hC.js → mermaid-parser.core-BfCv4CYZ.js} +3 -3
  222. package/dist/public/assets/{mermaid.core-BWmWf6XO.js → mermaid.core-DC20ZwJj.js} +4 -4
  223. package/dist/public/assets/{mindmap-definition-I2QAS2VK-L8HyYUDY.js → mindmap-definition-I2QAS2VK-DRZRrJU_.js} +1 -1
  224. package/dist/public/assets/module-BAQaY56j.js +1 -0
  225. package/dist/public/assets/module-DxRGg3ED.js +1947 -0
  226. package/dist/public/assets/{monaco-zOOyBmxy.js → monaco-D1d6MOPe.js} +3 -3
  227. package/dist/public/assets/packet-JDAUHWVQ-dYb4P9eU.js +1 -0
  228. package/dist/public/assets/{pegDiagram-FD4XPPHP-CTZKPo0Z.js → pegDiagram-FD4XPPHP-DcGr3Tbk.js} +1 -1
  229. package/dist/public/assets/pie-XZMESJXO-CIompBnc.js +1 -0
  230. package/dist/public/assets/{pieDiagram-J4AKIIQI-DAeT3dFi.js → pieDiagram-J4AKIIQI-GF7pu6ch.js} +1 -1
  231. package/dist/public/assets/{python-C984gt98.js → python-BQbTTTT5.js} +1 -1
  232. package/dist/public/assets/{quadrantDiagram-XTYBLID2--PXxwV1Z.js → quadrantDiagram-XTYBLID2-D-bcu7Ey.js} +1 -1
  233. package/dist/public/assets/radar-ABXABTNO-DiJl7BtK.js +1 -0
  234. package/dist/public/assets/railroad-I3PHUGI6-B5cRBukM.js +1 -0
  235. package/dist/public/assets/{railroad-abnf-LNEFI6M7-BYcFfrCa.js → railroad-abnf-LNEFI6M7-BiBHsI-K.js} +1 -1
  236. package/dist/public/assets/{railroad-ebnf-DWYD2UWJ-Cd33qxAm.js → railroad-ebnf-DWYD2UWJ-zKjrfkHs.js} +1 -1
  237. package/dist/public/assets/{railroad-peg-JR7BVNR7-C5TpzaU8.js → railroad-peg-JR7BVNR7-DKuVn0GT.js} +1 -1
  238. package/dist/public/assets/{railroadDiagram-MRQ6NCDL-DlWwjbhH.js → railroadDiagram-MRQ6NCDL-Cyn-16mJ.js} +1 -1
  239. package/dist/public/assets/{razor-BBqMR1Qn.js → razor-DiLk54O0.js} +1 -1
  240. package/dist/public/assets/{requirementDiagram-Y7LWUY3S-CsYBy9HS.js → requirementDiagram-Y7LWUY3S-CwU2EBkW.js} +1 -1
  241. package/dist/public/assets/{sankeyDiagram-WGJFYUXA-Baxyb5p9.js → sankeyDiagram-WGJFYUXA-ajf00HyW.js} +1 -1
  242. package/dist/public/assets/{sequenceDiagram-5NDRBG5M-Cq6VeBT_.js → sequenceDiagram-5NDRBG5M-DiX_OIAw.js} +1 -1
  243. package/dist/public/assets/{stateDiagram-v2-FJ4FJNEA-O60WKaE7.js → stateDiagram-v2-FJ4FJNEA-CV5bRqB7.js} +1 -1
  244. package/dist/public/assets/{swimlanes-UMQ2AFYF-C2nf1-Cc.js → swimlanes-UMQ2AFYF-BGQKSlj7.js} +1 -1
  245. package/dist/public/assets/swimlanesDiagram-OMPLPG4O-DxXlavVT.js +8 -0
  246. package/dist/public/assets/{timeline-definition-SEUHKTQE-DEfUG6YH.js → timeline-definition-SEUHKTQE-DhQoApff.js} +1 -1
  247. package/dist/public/assets/treeView-D4JQ5SDB-BOP6mkZC.js +1 -0
  248. package/dist/public/assets/treemap-SAJKECNS-BJxuPMz3.js +1 -0
  249. package/dist/public/assets/{typescript-Gtq7f0aU.js → typescript-COQ1g-up.js} +1 -1
  250. package/dist/public/assets/{usecaseDiagram-AFA6YXN4-Gw9DyJcx.js → usecaseDiagram-AFA6YXN4-CmLFzjie.js} +1 -1
  251. package/dist/public/assets/{vennDiagram-NNMJR3RB-Clb3MLWF.js → vennDiagram-NNMJR3RB-DOa6JR5K.js} +1 -1
  252. package/dist/public/assets/wardley-7MLQ67FV-jqlowjVL.js +1 -0
  253. package/dist/public/assets/{wardleyDiagram-S7YFUSEH-BrTRpwu2.js → wardleyDiagram-S7YFUSEH-BV7EEShp.js} +1 -1
  254. package/dist/public/assets/{xml-Bx3nk7iG.js → xml-BbvtjuaG.js} +1 -1
  255. package/dist/public/assets/{xychartDiagram-GGNKY7IX-BfjTcIsb.js → xychartDiagram-GGNKY7IX-DtMpPbsq.js} +1 -1
  256. package/dist/public/assets/{yaml-dFLE_rSl.js → yaml-Bw8NFga9.js} +1 -1
  257. package/dist/public/index.html +1 -1
  258. package/dist/public/launch.svg +46 -42
  259. package/dist/serve/index.mjs +1354 -555
  260. package/package.json +25 -25
  261. package/dist/pi/dist/bundle/chunks/anthropic-messages-BWGCKOF4.js +0 -6
  262. package/dist/pi/dist/bundle/chunks/chunk-44DLKSKE.js +0 -1232
  263. package/dist/pi/dist/bundle/chunks/chunk-62VOPMLK.js +0 -65
  264. package/dist/pi/dist/bundle/chunks/chunk-7O7QKK6A.js +0 -2
  265. package/dist/pi/dist/bundle/chunks/chunk-CHWNPHIS.js +0 -82
  266. package/dist/pi/dist/bundle/chunks/chunk-NL4X6LBY.js +0 -4
  267. package/dist/pi/dist/bundle/chunks/chunk-NZY7EIPA.js +0 -4
  268. package/dist/pi/dist/bundle/chunks/chunk-R2EGYMOO.js +0 -7
  269. package/dist/pi/dist/bundle/chunks/chunk-UKVNB6C4.js +0 -2
  270. package/dist/pi/dist/bundle/chunks/chunk-USJZMAIR.js +0 -2
  271. package/dist/pi/dist/bundle/chunks/chunk-VOLAXWGI.js +0 -2
  272. package/dist/pi/dist/bundle/chunks/openai-codex-responses-QAWLOQSN.js +0 -10
  273. package/dist/pi/dist/bundle/chunks/openai-responses-MD3562FB.js +0 -4
  274. package/dist/pi/dist/bundle/chunks/virtual-modules-O76XM3OB.js +0 -2
  275. package/dist/public/assets/browser-y6EDNUmc.js +0 -12
  276. package/dist/public/assets/cynefin-EF2NZ3EQ-CoY4CrZu.js +0 -1
  277. package/dist/public/assets/flowDiagram-MALGAFMO-CATkJShO.js +0 -1
  278. package/dist/public/assets/gitGraph-VSP46ZUC-g4yHXXxx.js +0 -1
  279. package/dist/public/assets/info-OHQRW6UA-CKADJjz4.js +0 -1
  280. package/dist/public/assets/module-CH7IXa5L.js +0 -1781
  281. package/dist/public/assets/module-DNAasuMC.js +0 -1
  282. package/dist/public/assets/packet-JDAUHWVQ-CpKMhX4K.js +0 -1
  283. package/dist/public/assets/pie-XZMESJXO-CW-zGDRd.js +0 -1
  284. package/dist/public/assets/radar-ABXABTNO-Cg8W433p.js +0 -1
  285. package/dist/public/assets/railroad-I3PHUGI6-DriMt2PQ.js +0 -1
  286. package/dist/public/assets/swimlanesDiagram-OMPLPG4O-B46JxqS8.js +0 -8
  287. package/dist/public/assets/treeView-D4JQ5SDB-1LhEWwC9.js +0 -1
  288. package/dist/public/assets/treemap-SAJKECNS-D3t3N7nS.js +0 -1
  289. package/dist/public/assets/wardley-7MLQ67FV-D3sAsd8p.js +0 -1
@@ -10,6 +10,9 @@ declare const EN: {
10
10
  readonly topic: 'Topic';
11
11
  readonly members: 'Members';
12
12
  readonly addMembers: 'Add members';
13
+ readonly makeExtension: 'Make an extension';
14
+ readonly makeExtensionDetail: 'Of what was worked out here';
15
+ readonly makeExtensionAsk: 'Make what this channel worked out an extension, with the ta-package skill, to do it again in a click';
13
16
  readonly add: 'Add';
14
17
  readonly allMembers: 'Every agent is in this channel already';
15
18
  readonly membersHint: 'The first one you pick leads: it answers what names nobody.';
@@ -34,12 +37,10 @@ declare const EN: {
34
37
  readonly search: 'Search';
35
38
  readonly clear: 'Clear';
36
39
  readonly new: 'New';
37
- readonly idle: 'Idle';
38
40
  readonly answeringIn: 'Answering in #{channel}';
39
41
  readonly answeringNow: '{name} is answering…';
40
42
  readonly noMatch: 'No matching agents or channels';
41
43
  readonly noMessages: 'No messages yet';
42
- readonly leadOf: 'Lead: {name}';
43
44
  readonly noAgentsYet: 'No agents yet';
44
45
  readonly noAgentsYetHint: 'Create one with +, or ask Ta for a team';
45
46
  readonly myDouble: 'My double';
@@ -118,18 +119,13 @@ declare const EN: {
118
119
  readonly membersSection: 'Members';
119
120
  readonly byDirectory: 'Group by directory';
120
121
  readonly channelsSection: 'Channels';
121
- readonly waitingSection: 'Waiting for you';
122
- readonly runningSection: 'In progress';
123
- readonly endedSection: 'Ended';
124
122
  readonly showAll: 'Show all {count}';
125
123
  readonly showFewer: 'Show fewer';
126
- readonly noTasksYet: 'Nothing handed out yet';
127
124
  readonly waitingCount: '{count} need you';
128
125
  readonly runningCount: '{count} running';
126
+ readonly freshCount: '{count} new';
129
127
  readonly standingBy: 'Standing by';
130
- readonly noTasksYetHint: 'Tell the double what you want done';
131
128
  readonly noTasksHere: 'What the double hands out, tasks and teams, is listed here';
132
- readonly tellDouble: 'Talk to the double';
133
129
  readonly deleteTask: 'Delete the team';
134
130
  readonly deleteTaskHint: 'The messages of #{channel} go with it. Its agents stay, among your members.';
135
131
  readonly selectTasks: 'Select';
@@ -13,6 +13,9 @@ const EN = {
13
13
  topic: 'Topic',
14
14
  members: 'Members',
15
15
  addMembers: 'Add members',
16
+ makeExtension: 'Make an extension',
17
+ makeExtensionDetail: 'Of what was worked out here',
18
+ makeExtensionAsk: 'Make what this channel worked out an extension, with the ta-package skill, to do it again in a click',
16
19
  add: 'Add',
17
20
  allMembers: 'Every agent is in this channel already',
18
21
  membersHint: 'The first one you pick leads: it answers what names nobody.',
@@ -37,12 +40,10 @@ const EN = {
37
40
  search: 'Search',
38
41
  clear: 'Clear',
39
42
  new: 'New',
40
- idle: 'Idle',
41
43
  answeringIn: 'Answering in #{channel}',
42
44
  answeringNow: '{name} is answering…',
43
45
  noMatch: 'No matching agents or channels',
44
46
  noMessages: 'No messages yet',
45
- leadOf: 'Lead: {name}',
46
47
  noAgentsYet: 'No agents yet',
47
48
  noAgentsYetHint: 'Create one with +, or ask Ta for a team',
48
49
  myDouble: 'My double',
@@ -121,18 +122,13 @@ const EN = {
121
122
  membersSection: 'Members',
122
123
  byDirectory: 'Group by directory',
123
124
  channelsSection: 'Channels',
124
- waitingSection: 'Waiting for you',
125
- runningSection: 'In progress',
126
- endedSection: 'Ended',
127
125
  showAll: 'Show all {count}',
128
126
  showFewer: 'Show fewer',
129
- noTasksYet: 'Nothing handed out yet',
130
127
  waitingCount: '{count} need you',
131
128
  runningCount: '{count} running',
129
+ freshCount: '{count} new',
132
130
  standingBy: 'Standing by',
133
- noTasksYetHint: 'Tell the double what you want done',
134
131
  noTasksHere: 'What the double hands out, tasks and teams, is listed here',
135
- tellDouble: 'Talk to the double',
136
132
  deleteTask: 'Delete the team',
137
133
  deleteTaskHint: 'The messages of #{channel} go with it. Its agents stay, among your members.',
138
134
  selectTasks: 'Select',
@@ -149,6 +145,9 @@ const ZH = {
149
145
  topic: '主题',
150
146
  members: '成员',
151
147
  addMembers: '添加成员',
148
+ makeExtension: '做成扩展',
149
+ makeExtensionDetail: '把这里商量出的事做成工具',
150
+ makeExtensionAsk: '把这个频道里商量和做成的事做成扩展(用 ta-package 技能),以后一键就能再用',
152
151
  add: '添加',
153
152
  allMembers: '所有智能体都已在这个频道里',
154
153
  membersHint: '先选的成员是负责人:没人被 @ 的消息由它回答。',
@@ -173,12 +172,10 @@ const ZH = {
173
172
  search: '搜索',
174
173
  clear: '清除',
175
174
  new: '新建',
176
- idle: '空闲',
177
175
  answeringIn: '正在 #{channel} 回答',
178
176
  answeringNow: '{name} 正在回答…',
179
177
  noMatch: '没有匹配的智能体或频道',
180
178
  noMessages: '还没有消息',
181
- leadOf: '负责人:{name}',
182
179
  noAgentsYet: '还没有智能体',
183
180
  noAgentsYetHint: '点 + 新建,或让 Ta 组个团队',
184
181
  myDouble: '我的分身',
@@ -257,18 +254,13 @@ const ZH = {
257
254
  membersSection: '成员',
258
255
  byDirectory: '按目录分组',
259
256
  channelsSection: '频道',
260
- waitingSection: '待你处理',
261
- runningSection: '进行中',
262
- endedSection: '已结束',
263
257
  showAll: '显示全部 {count} 个',
264
258
  showFewer: '收起',
265
- noTasksYet: '还没有交出的事',
266
259
  waitingCount: '{count} 个待你处理',
267
260
  runningCount: '{count} 个进行中',
261
+ freshCount: '{count} 个新结果',
268
262
  standingBy: '待命',
269
- noTasksYetHint: '告诉分身你想做什么',
270
263
  noTasksHere: '分身交出去的任务和团队会列在这里',
271
- tellDouble: '和分身说',
272
264
  deleteTask: '删除这个团队',
273
265
  deleteTaskHint: '#{channel} 的消息会一起删除,团队成员会留在你的成员里。',
274
266
  selectTasks: '多选',
@@ -12,8 +12,9 @@ export interface MoreItem {
12
12
  * row it is in (its parent) opens it too, as a long press does on a phone (where the … is not shown): at the
13
13
  * height of the pointer then. An entry closes the menu and runs; a click outside or Escape closes it. The menu
14
14
  * is fixed to the screen, below where it opened or above when there is no room, so that the list it is in does
15
- * not cut it. Opened by a finger (the page's data-touch), it is centred above the finger as the menus of a phone
16
- * (below when there is no room), out of the notch and the home indicator, and the row stays marked while it is open.
15
+ * not cut it. Opened by a finger (the page's data-touch), it goes and takes the finger as the menus of the page do
16
+ * (ui.attachMenu: out from under the finger and the row, slide onto an entry to choose it), and the row stays marked
17
+ * while it is open.
17
18
  */
18
19
  export declare function MoreMenu({ pi, label, items }: {
19
20
  pi: WebExtensionAPI;
@@ -5,40 +5,40 @@ const react_1 = require("./react");
5
5
  const views_1 = require("./views");
6
6
  /** Between the menu and the edges of the screen. */
7
7
  const MARGIN = 8;
8
- /** Between a finger and the menu it opened: the finger does not cover it. */
9
- const FINGER_GAP = 14;
10
- /** The insets of the notch and of the home indicator, which a menu on a phone keeps out of. */
11
- function safeArea() {
12
- const probe = document.createElement('div');
13
- probe.style.cssText =
14
- 'position:fixed;visibility:hidden;pointer-events:none;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)';
15
- document.body.appendChild(probe);
16
- const style = getComputedStyle(probe);
17
- const area = { top: Number.parseFloat(style.paddingTop) || 0, bottom: Number.parseFloat(style.paddingBottom) || 0 };
18
- probe.remove();
19
- return area;
20
- }
21
8
  /**
22
9
  * A … that shows on hover and opens a menu: sections of entries set apart by a line. A right click on the
23
10
  * row it is in (its parent) opens it too, as a long press does on a phone (where the … is not shown): at the
24
11
  * height of the pointer then. An entry closes the menu and runs; a click outside or Escape closes it. The menu
25
12
  * is fixed to the screen, below where it opened or above when there is no room, so that the list it is in does
26
- * not cut it. Opened by a finger (the page's data-touch), it is centred above the finger as the menus of a phone
27
- * (below when there is no room), out of the notch and the home indicator, and the row stays marked while it is open.
13
+ * not cut it. Opened by a finger (the page's data-touch), it goes and takes the finger as the menus of the page do
14
+ * (ui.attachMenu: out from under the finger and the row, slide onto an entry to choose it), and the row stays marked
15
+ * while it is open.
28
16
  */
29
17
  function MoreMenu({ pi, label, items }) {
30
18
  const w = views_1.ChannelViews.words(pi);
31
19
  const [open, setOpen] = react_1.React.useState(false);
32
20
  /** Where it opened: the right of the button, and the height of the pointer or the bottom and top of the button. */
33
- const anchor = react_1.React.useRef({ right: 0, below: 0, above: 0, finger: undefined });
21
+ const anchor = react_1.React.useRef({
22
+ right: 0,
23
+ below: 0,
24
+ above: 0,
25
+ finger: undefined,
26
+ });
34
27
  const root = react_1.React.useRef(null);
35
28
  const menu = react_1.React.useRef(null);
36
29
  const Ellipsis = views_1.ChannelViews.icon(pi, 'Ellipsis');
37
30
  const show = react_1.React.useCallback((button, at) => {
38
31
  var _a, _b;
32
+ var _c, _d, _e;
39
33
  const box = button.getBoundingClientRect();
40
34
  const touch = document.documentElement.hasAttribute('data-touch');
41
- anchor.current = { right: box.right, below: (_a = at === null || at === void 0 ? void 0 : at.y) !== null && _a !== void 0 ? _a : box.bottom, above: (_b = at === null || at === void 0 ? void 0 : at.y) !== null && _b !== void 0 ? _b : box.top, finger: touch ? at : undefined };
35
+ const row = (_c = (_b = (_a = root.current) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect()) !== null && _c !== void 0 ? _c : box;
36
+ anchor.current = {
37
+ right: box.right,
38
+ below: (_d = at === null || at === void 0 ? void 0 : at.y) !== null && _d !== void 0 ? _d : box.bottom,
39
+ above: (_e = at === null || at === void 0 ? void 0 : at.y) !== null && _e !== void 0 ? _e : box.top,
40
+ finger: touch && at ? { ...at, around: { top: row.top, bottom: row.bottom } } : undefined,
41
+ };
42
42
  setOpen(true);
43
43
  }, []);
44
44
  react_1.React.useLayoutEffect(() => {
@@ -47,23 +47,15 @@ function MoreMenu({ pi, label, items }) {
47
47
  return;
48
48
  }
49
49
  const { right, below, above, finger } = anchor.current;
50
- const width = element.offsetWidth;
51
- const height = element.offsetHeight;
52
50
  if (finger) {
53
- const safe = safeArea();
54
- const highest = safe.top + MARGIN;
55
- const lowest = window.innerHeight - safe.bottom - MARGIN - height;
56
- const over = finger.y - FINGER_GAP - height;
57
- const top = over >= highest ? over : Math.max(highest, Math.min(finger.y + FINGER_GAP, lowest));
58
- element.style.top = `${top}px`;
59
- element.style.left = `${Math.max(MARGIN, Math.min(finger.x - width / 2, window.innerWidth - MARGIN - width))}px`;
60
- element.style.transformOrigin = top < finger.y ? 'center bottom' : 'center top';
61
- return;
51
+ return pi.ui.attachMenu(element, finger, () => setOpen(false));
62
52
  }
53
+ const width = element.offsetWidth;
54
+ const height = element.offsetHeight;
63
55
  const top = below + 4 + height <= window.innerHeight - MARGIN ? below + 4 : Math.max(MARGIN, above - 4 - height);
64
56
  element.style.top = `${top}px`;
65
57
  element.style.left = `${Math.max(MARGIN, right - width)}px`;
66
- }, [open]);
58
+ }, [open, pi]);
67
59
  react_1.React.useEffect(() => {
68
60
  var _a, _b;
69
61
  const row = (_a = root.current) === null || _a === void 0 ? void 0 : _a.parentElement;
@@ -93,7 +93,6 @@ function ChannelRoom({ context, channelId: fixed }) {
93
93
  const channelId = fixed !== null && fixed !== void 0 ? fixed : shown;
94
94
  const faces = (0, views_1.useFaces)(state.team);
95
95
  const w = views_1.ChannelViews.words(pi);
96
- const list = react_1.React.useRef(null);
97
96
  const channel = state.team.channels.find(candidate => candidate.id === channelId);
98
97
  const messages = channel ? state.messages[channel.id] : undefined;
99
98
  const working = channel ? ((_a = state.working[channel.id]) !== null && _a !== void 0 ? _a : []) : [];
@@ -102,13 +101,9 @@ function ChannelRoom({ context, channelId: fixed }) {
102
101
  void service.messages(channelId);
103
102
  }
104
103
  }, [service, channelId]);
105
- // To the bottom when the chat grows or another channel shows.
106
- react_1.React.useLayoutEffect(() => {
107
- const element = list.current;
108
- if (element) {
109
- element.scrollTop = element.scrollHeight;
110
- }
111
- }, [channelId, messages === null || messages === void 0 ? void 0 : messages.length, working.length]);
104
+ // As the conversations of the page: following what comes in at the bottom, to it when the user sends or another channel shows.
105
+ const sent = react_1.React.useMemo(() => { var _a; return (_a = messages === null || messages === void 0 ? void 0 : messages.filter(message => message.author === channels_util_1.USER).length) !== null && _a !== void 0 ? _a : 0; }, [messages]);
106
+ const list = pi.ui.useChatScroll(sent, channelId);
112
107
  const Markdown = pi.ui.Markdown;
113
108
  const Composer = pi.ui.Composer;
114
109
  const Avatar = pi.ui.Avatar;
@@ -169,6 +164,16 @@ function ChannelRoom({ context, channelId: fixed }) {
169
164
  },
170
165
  },
171
166
  ],
167
+ [
168
+ {
169
+ // As in the + of every conversation (@celljs/ta-extensions): the lead answers, with what was said here.
170
+ key: 'make-extension',
171
+ label: w.makeExtension,
172
+ detail: w.makeExtensionDetail,
173
+ icon: views_1.ChannelViews.maybeIcon(pi, 'Sparkles', null, 16),
174
+ run: () => void service.post(channel.id, w.makeExtensionAsk).catch(error => pi.ui.notify(views_1.ChannelViews.message(error), 'error')),
175
+ },
176
+ ],
172
177
  ], onSend: text => service.post(channel.id, text) }))));
173
178
  }
174
179
  //# sourceMappingURL=room.js.map