@sixb/app 0.2.1 → 0.2.4

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 (494) hide show
  1. package/dist/agent/activity-label.d.ts.map +1 -1
  2. package/dist/agent/agent-chat.d.ts +9 -2
  3. package/dist/agent/agent-chat.d.ts.map +1 -1
  4. package/dist/agent/agent-panel.d.ts +9 -1
  5. package/dist/agent/agent-panel.d.ts.map +1 -1
  6. package/dist/agent/agent-surface.d.ts.map +1 -1
  7. package/dist/agent/artifact-card.d.ts +3 -1
  8. package/dist/agent/artifact-card.d.ts.map +1 -1
  9. package/dist/agent/artifact-panel.d.ts +7 -1
  10. package/dist/agent/artifact-panel.d.ts.map +1 -1
  11. package/dist/agent/background/background-tool-row.d.ts.map +1 -1
  12. package/dist/agent/background/interpret.d.ts +1 -1
  13. package/dist/agent/background/interpret.d.ts.map +1 -1
  14. package/dist/agent/components/composer-place.d.ts +3 -1
  15. package/dist/agent/components/composer-place.d.ts.map +1 -1
  16. package/dist/agent/components/composer.d.ts +20 -1
  17. package/dist/agent/components/composer.d.ts.map +1 -1
  18. package/dist/agent/components/context-chips.d.ts.map +1 -1
  19. package/dist/agent/components/context-meter.d.ts +1 -1
  20. package/dist/agent/components/conversation-panel.d.ts +7 -2
  21. package/dist/agent/components/conversation-panel.d.ts.map +1 -1
  22. package/dist/agent/components/message-parts.d.ts +3 -1
  23. package/dist/agent/components/message-parts.d.ts.map +1 -1
  24. package/dist/agent/components/thread-artifacts-menu.d.ts.map +1 -1
  25. package/dist/agent/components/transcript.d.ts +5 -0
  26. package/dist/agent/components/transcript.d.ts.map +1 -1
  27. package/dist/agent/composer-insertion.d.ts +24 -0
  28. package/dist/agent/composer-insertion.d.ts.map +1 -0
  29. package/dist/agent/delegation/agent-exchange.d.ts +16 -0
  30. package/dist/agent/delegation/agent-exchange.d.ts.map +1 -0
  31. package/dist/agent/delegation/child-card.d.ts +3 -3
  32. package/dist/agent/delegation/child-card.d.ts.map +1 -1
  33. package/dist/agent/delegation/child-parts.d.ts +1 -10
  34. package/dist/agent/delegation/child-parts.d.ts.map +1 -1
  35. package/dist/agent/delegation/child-work.d.ts.map +1 -1
  36. package/dist/agent/delegation/interpret.d.ts +4 -10
  37. package/dist/agent/delegation/interpret.d.ts.map +1 -1
  38. package/dist/agent/delegation/use-children.d.ts +5 -5
  39. package/dist/agent/delegation/use-children.d.ts.map +1 -1
  40. package/dist/agent/file-edits/file-edit-tool-view.d.ts +10 -0
  41. package/dist/agent/file-edits/file-edit-tool-view.d.ts.map +1 -0
  42. package/dist/agent/file-edits/interpret.d.ts +25 -0
  43. package/dist/agent/file-edits/interpret.d.ts.map +1 -0
  44. package/dist/agent/hooks/use-agent-conversation.d.ts +16 -4
  45. package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
  46. package/dist/agent/hooks/use-new-thread-place.d.ts +39 -17
  47. package/dist/agent/hooks/use-new-thread-place.d.ts.map +1 -1
  48. package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -1
  49. package/dist/agent/i18n/en.d.ts +59 -4
  50. package/dist/agent/i18n/en.d.ts.map +1 -1
  51. package/dist/agent/i18n/fr.d.ts.map +1 -1
  52. package/dist/agent/i18n/index.d.ts +96 -8
  53. package/dist/agent/i18n/index.d.ts.map +1 -1
  54. package/dist/agent/message-agent/interpret.d.ts +2 -2
  55. package/dist/agent/message-agent/interpret.d.ts.map +1 -1
  56. package/dist/agent/publish-artifact/interpret.d.ts +8 -2
  57. package/dist/agent/publish-artifact/interpret.d.ts.map +1 -1
  58. package/dist/agent/publish-artifact/open-artifact-tool-view.d.ts +9 -0
  59. package/dist/agent/publish-artifact/open-artifact-tool-view.d.ts.map +1 -0
  60. package/dist/agent/publish-artifact/publish-artifact-tool-view.d.ts +4 -2
  61. package/dist/agent/publish-artifact/publish-artifact-tool-view.d.ts.map +1 -1
  62. package/dist/agent/publish-artifact/use-live-publishes.d.ts +3 -3
  63. package/dist/agent/publish-artifact/use-live-publishes.d.ts.map +1 -1
  64. package/dist/agent/questions/interpret.d.ts +31 -0
  65. package/dist/agent/questions/interpret.d.ts.map +1 -0
  66. package/dist/agent/questions/question-card.d.ts +16 -0
  67. package/dist/agent/questions/question-card.d.ts.map +1 -0
  68. package/dist/agent/questions/question-composer.d.ts +15 -0
  69. package/dist/agent/questions/question-composer.d.ts.map +1 -0
  70. package/dist/agent/read/interpret.d.ts +8 -1
  71. package/dist/agent/read/interpret.d.ts.map +1 -1
  72. package/dist/agent/read/read-tool-view.d.ts.map +1 -1
  73. package/dist/agent/tool-views/built-in.d.ts.map +1 -1
  74. package/dist/agent/types.d.ts +3 -1
  75. package/dist/agent/types.d.ts.map +1 -1
  76. package/dist/agent/waits.d.ts +14 -0
  77. package/dist/agent/waits.d.ts.map +1 -0
  78. package/dist/artifacts/artifact-page.d.ts.map +1 -1
  79. package/dist/artifacts/artifact-viewer.d.ts +16 -0
  80. package/dist/artifacts/artifact-viewer.d.ts.map +1 -0
  81. package/dist/artifacts/card-details.d.ts +1 -1
  82. package/dist/artifacts/card-details.d.ts.map +1 -1
  83. package/dist/artifacts/card-preview.d.ts.map +1 -1
  84. package/dist/artifacts/comments-context.d.ts +48 -0
  85. package/dist/artifacts/comments-context.d.ts.map +1 -0
  86. package/dist/artifacts/edit-session.d.ts +17 -7
  87. package/dist/artifacts/edit-session.d.ts.map +1 -1
  88. package/dist/artifacts/file-source.d.ts.map +1 -1
  89. package/dist/artifacts/frame.d.ts +10 -2
  90. package/dist/artifacts/frame.d.ts.map +1 -1
  91. package/dist/artifacts/guest-badge.d.ts +8 -0
  92. package/dist/artifacts/guest-badge.d.ts.map +1 -0
  93. package/dist/artifacts/held-artifact.d.ts +19 -0
  94. package/dist/artifacts/held-artifact.d.ts.map +1 -0
  95. package/dist/artifacts/holders.d.ts +10 -0
  96. package/dist/artifacts/holders.d.ts.map +1 -0
  97. package/dist/artifacts/live/boards.d.ts +15 -0
  98. package/dist/artifacts/live/boards.d.ts.map +1 -0
  99. package/dist/artifacts/live/canvas.d.ts +79 -0
  100. package/dist/artifacts/live/canvas.d.ts.map +1 -0
  101. package/dist/artifacts/live/header.d.ts +29 -0
  102. package/dist/artifacts/live/header.d.ts.map +1 -0
  103. package/dist/artifacts/live/hooks.d.ts +21 -0
  104. package/dist/artifacts/live/hooks.d.ts.map +1 -0
  105. package/dist/artifacts/live/presence.d.ts +32 -0
  106. package/dist/artifacts/live/presence.d.ts.map +1 -0
  107. package/dist/artifacts/live/session.d.ts +130 -0
  108. package/dist/artifacts/live/session.d.ts.map +1 -0
  109. package/dist/artifacts/live/view.d.ts +28 -0
  110. package/dist/artifacts/live/view.d.ts.map +1 -0
  111. package/dist/artifacts/messages.d.ts +476 -14
  112. package/dist/artifacts/messages.d.ts.map +1 -1
  113. package/dist/artifacts/page-queries.d.ts +2 -2
  114. package/dist/artifacts/page-queries.d.ts.map +1 -1
  115. package/dist/artifacts/page-state.d.ts.map +1 -1
  116. package/dist/artifacts/publish-edit.d.ts +24 -14
  117. package/dist/artifacts/publish-edit.d.ts.map +1 -1
  118. package/dist/artifacts/queries.d.ts +490 -9
  119. package/dist/artifacts/queries.d.ts.map +1 -1
  120. package/dist/artifacts/references/references.d.ts.map +1 -1
  121. package/dist/artifacts/renderers/canvas/arrows.d.ts +0 -18
  122. package/dist/artifacts/renderers/canvas/arrows.d.ts.map +1 -1
  123. package/dist/artifacts/renderers/canvas/board-editor.d.ts +50 -0
  124. package/dist/artifacts/renderers/canvas/board-editor.d.ts.map +1 -0
  125. package/dist/artifacts/renderers/canvas/board-properties.d.ts +37 -0
  126. package/dist/artifacts/renderers/canvas/board-properties.d.ts.map +1 -0
  127. package/dist/artifacts/renderers/canvas/board-source.d.ts +18 -0
  128. package/dist/artifacts/renderers/canvas/board-source.d.ts.map +1 -0
  129. package/dist/artifacts/renderers/canvas/board.d.ts +77 -20
  130. package/dist/artifacts/renderers/canvas/board.d.ts.map +1 -1
  131. package/dist/artifacts/renderers/canvas/canvas.d.ts +14 -4
  132. package/dist/artifacts/renderers/canvas/canvas.d.ts.map +1 -1
  133. package/dist/artifacts/renderers/canvas/comment-pins.d.ts +84 -0
  134. package/dist/artifacts/renderers/canvas/comment-pins.d.ts.map +1 -0
  135. package/dist/artifacts/renderers/canvas/commenting.d.ts +58 -0
  136. package/dist/artifacts/renderers/canvas/commenting.d.ts.map +1 -0
  137. package/dist/artifacts/renderers/canvas/comments-panel.d.ts +27 -0
  138. package/dist/artifacts/renderers/canvas/comments-panel.d.ts.map +1 -0
  139. package/dist/artifacts/renderers/canvas/comments.d.ts +56 -0
  140. package/dist/artifacts/renderers/canvas/comments.d.ts.map +1 -0
  141. package/dist/artifacts/renderers/canvas/controls.d.ts +15 -4
  142. package/dist/artifacts/renderers/canvas/controls.d.ts.map +1 -1
  143. package/dist/artifacts/renderers/canvas/draft.d.ts +7 -6
  144. package/dist/artifacts/renderers/canvas/draft.d.ts.map +1 -1
  145. package/dist/artifacts/renderers/canvas/edit-mode.d.ts +19 -2
  146. package/dist/artifacts/renderers/canvas/edit-mode.d.ts.map +1 -1
  147. package/dist/artifacts/renderers/canvas/focus.d.ts +54 -5
  148. package/dist/artifacts/renderers/canvas/focus.d.ts.map +1 -1
  149. package/dist/artifacts/renderers/canvas/gestures.d.ts +46 -0
  150. package/dist/artifacts/renderers/canvas/gestures.d.ts.map +1 -0
  151. package/dist/artifacts/renderers/canvas/items.d.ts +47 -4
  152. package/dist/artifacts/renderers/canvas/items.d.ts.map +1 -1
  153. package/dist/artifacts/renderers/canvas/layout.d.ts +5 -8
  154. package/dist/artifacts/renderers/canvas/layout.d.ts.map +1 -1
  155. package/dist/artifacts/renderers/canvas/page-resize.d.ts +21 -0
  156. package/dist/artifacts/renderers/canvas/page-resize.d.ts.map +1 -0
  157. package/dist/artifacts/renderers/canvas/page-size-controls.d.ts +21 -0
  158. package/dist/artifacts/renderers/canvas/page-size-controls.d.ts.map +1 -0
  159. package/dist/artifacts/renderers/canvas/page-size.d.ts +93 -0
  160. package/dist/artifacts/renderers/canvas/page-size.d.ts.map +1 -0
  161. package/dist/artifacts/renderers/canvas/page-zoom.d.ts +64 -0
  162. package/dist/artifacts/renderers/canvas/page-zoom.d.ts.map +1 -0
  163. package/dist/artifacts/renderers/canvas/presence.d.ts +21 -0
  164. package/dist/artifacts/renderers/canvas/presence.d.ts.map +1 -0
  165. package/dist/artifacts/renderers/canvas/previews.d.ts +54 -0
  166. package/dist/artifacts/renderers/canvas/previews.d.ts.map +1 -0
  167. package/dist/artifacts/renderers/canvas/renderer.d.ts +11 -2
  168. package/dist/artifacts/renderers/canvas/renderer.d.ts.map +1 -1
  169. package/dist/artifacts/renderers/canvas/shown-size.d.ts +26 -0
  170. package/dist/artifacts/renderers/canvas/shown-size.d.ts.map +1 -0
  171. package/dist/artifacts/renderers/canvas/thumbnail.d.ts +5 -2
  172. package/dist/artifacts/renderers/canvas/thumbnail.d.ts.map +1 -1
  173. package/dist/artifacts/version-menu.d.ts +19 -0
  174. package/dist/artifacts/version-menu.d.ts.map +1 -0
  175. package/dist/artifacts/view-context.d.ts +43 -0
  176. package/dist/artifacts/view-context.d.ts.map +1 -0
  177. package/dist/artifacts/viewer.d.ts.map +1 -1
  178. package/dist/build.d.ts +5 -0
  179. package/dist/build.d.ts.map +1 -1
  180. package/dist/chunk-00wggsst.js +7 -0
  181. package/dist/chunk-00wggsst.js.map +10 -0
  182. package/dist/{chunk-q69001w3.js → chunk-694m74s7.js} +7 -1
  183. package/dist/{chunk-q69001w3.js.map → chunk-694m74s7.js.map} +3 -3
  184. package/dist/{chunk-7fj9cfkw.js → chunk-970s5nkn.js} +1 -1
  185. package/dist/{chunk-4mprsd2n.js → chunk-fg6thecb.js} +25 -1
  186. package/dist/chunk-fg6thecb.js.map +10 -0
  187. package/dist/{chunk-ytadd0b5.js → chunk-kymx9y5e.js} +8126 -4257
  188. package/dist/chunk-kymx9y5e.js.map +211 -0
  189. package/dist/{chunk-j8g956dt.js → chunk-pxd07kvx.js} +1 -1
  190. package/dist/{chunk-kwbw4dyk.js → chunk-ryed2jq8.js} +1 -1
  191. package/dist/chunk-yrcm1pbg.js +5975 -0
  192. package/dist/chunk-yrcm1pbg.js.map +34 -0
  193. package/dist/codegen.d.ts.map +1 -1
  194. package/dist/createCustomApp.d.ts.map +1 -1
  195. package/dist/index.d.ts +9 -1
  196. package/dist/index.d.ts.map +1 -1
  197. package/dist/index.js +932 -309
  198. package/dist/index.js.map +15 -10
  199. package/dist/locale-messages.d.ts +12 -0
  200. package/dist/locale-messages.d.ts.map +1 -1
  201. package/dist/locale.d.ts +12 -0
  202. package/dist/locale.d.ts.map +1 -1
  203. package/dist/locale.js +1 -1
  204. package/dist/metadata.d.ts +8 -0
  205. package/dist/metadata.d.ts.map +1 -1
  206. package/dist/pages/console/action-run.d.ts.map +1 -1
  207. package/dist/pages/console/data/connectors.d.ts.map +1 -1
  208. package/dist/pages/console/data/datasets.d.ts.map +1 -1
  209. package/dist/pages/console/data/lake-health.d.ts +3 -0
  210. package/dist/pages/console/data/lake-health.d.ts.map +1 -0
  211. package/dist/pages/console/data/messages.d.ts +98 -2
  212. package/dist/pages/console/data/messages.d.ts.map +1 -1
  213. package/dist/pages/console/data/pipelines.d.ts.map +1 -1
  214. package/dist/pages/console/data/projections.d.ts.map +1 -1
  215. package/dist/pages/console/data/syncs.d.ts.map +1 -1
  216. package/dist/pages/console/ontology/action-runs.d.ts.map +1 -1
  217. package/dist/pages/console/ontology/actions.d.ts.map +1 -1
  218. package/dist/pages/console/ontology/components/action-button.d.ts.map +1 -1
  219. package/dist/pages/console/ontology/components/artifact-picker.d.ts +36 -0
  220. package/dist/pages/console/ontology/components/artifact-picker.d.ts.map +1 -0
  221. package/dist/pages/console/ontology/components/object-query-bar.d.ts.map +1 -1
  222. package/dist/pages/console/ontology/lib/action-params.d.ts +2 -0
  223. package/dist/pages/console/ontology/lib/action-params.d.ts.map +1 -1
  224. package/dist/pages/console/ontology/lineage/properties-panel.d.ts +2 -1
  225. package/dist/pages/console/ontology/lineage/properties-panel.d.ts.map +1 -1
  226. package/dist/pages/console/ontology/object-page.d.ts.map +1 -1
  227. package/dist/pages/console/ontology/object-type.d.ts.map +1 -1
  228. package/dist/pages/console/ontology/object-types.d.ts.map +1 -1
  229. package/dist/pages/console/ontology/objects.d.ts.map +1 -1
  230. package/dist/pages/console/ontology/rules.d.ts.map +1 -1
  231. package/dist/pages/console/ontology/workflow.d.ts.map +1 -1
  232. package/dist/pages/console/ontology/workflows/run-input-form.d.ts.map +1 -1
  233. package/dist/pages/console/ontology/workflows/schema-shape.d.ts.map +1 -1
  234. package/dist/pages/console/ontology/workflows.d.ts.map +1 -1
  235. package/dist/pages/console/skeletons.d.ts +30 -0
  236. package/dist/pages/console/skeletons.d.ts.map +1 -0
  237. package/dist/pages/console/workflow-run.d.ts.map +1 -1
  238. package/dist/pages/section-page.d.ts +11 -1
  239. package/dist/pages/section-page.d.ts.map +1 -1
  240. package/dist/pages/section-ui.d.ts +25 -3
  241. package/dist/pages/section-ui.d.ts.map +1 -1
  242. package/dist/pages/settings/activity/calendar.d.ts.map +1 -1
  243. package/dist/pages/settings/activity/connections.d.ts.map +1 -1
  244. package/dist/pages/settings/activity/page.d.ts.map +1 -1
  245. package/dist/pages/settings/activity/thread.d.ts.map +1 -1
  246. package/dist/pages/settings/activity/timeline.d.ts +2 -0
  247. package/dist/pages/settings/activity/timeline.d.ts.map +1 -1
  248. package/dist/pages/settings/controls.d.ts +4 -0
  249. package/dist/pages/settings/controls.d.ts.map +1 -1
  250. package/dist/pages/settings/members.d.ts.map +1 -1
  251. package/dist/pages/settings/memory-history.d.ts +2 -0
  252. package/dist/pages/settings/memory-history.d.ts.map +1 -1
  253. package/dist/pages/settings/memory.d.ts.map +1 -1
  254. package/dist/pages/settings/service-accounts.d.ts.map +1 -1
  255. package/dist/pages/settings/sessions.d.ts.map +1 -1
  256. package/dist/pages/settings/usage/breakdown.d.ts.map +1 -1
  257. package/dist/pages/settings/usage/limits.d.ts.map +1 -1
  258. package/dist/pages/settings/usage/messages.d.ts +0 -2
  259. package/dist/pages/settings/usage/messages.d.ts.map +1 -1
  260. package/dist/pages/settings/usage/runs.d.ts +8 -2
  261. package/dist/pages/settings/usage/runs.d.ts.map +1 -1
  262. package/dist/pages/settings/usage/spend-chart.d.ts.map +1 -1
  263. package/dist/pages/settings/usage/spend-model.d.ts +5 -0
  264. package/dist/pages/settings/usage/spend-model.d.ts.map +1 -1
  265. package/dist/pages/values.d.ts +6 -0
  266. package/dist/pages/values.d.ts.map +1 -1
  267. package/dist/pages.d.ts +4 -0
  268. package/dist/pages.d.ts.map +1 -1
  269. package/dist/pages.js +8188 -4841
  270. package/dist/pages.js.map +56 -47
  271. package/dist/sections/catalog.d.ts.map +1 -1
  272. package/dist/sections/sections.d.ts.map +1 -1
  273. package/dist/server.js +294 -23
  274. package/dist/server.js.map +8 -7
  275. package/dist/service-worker.d.ts +39 -0
  276. package/dist/service-worker.d.ts.map +1 -0
  277. package/dist/shared-session.d.ts +25 -0
  278. package/dist/shared-session.d.ts.map +1 -0
  279. package/dist/shell/app-return.d.ts +35 -0
  280. package/dist/shell/app-return.d.ts.map +1 -0
  281. package/dist/shell/app-shell.d.ts +1 -1
  282. package/dist/shell/app-shell.d.ts.map +1 -1
  283. package/dist/shell/nav-items.d.ts +2 -0
  284. package/dist/shell/nav-items.d.ts.map +1 -1
  285. package/dist/shell/phone/back.d.ts +6 -0
  286. package/dist/shell/phone/back.d.ts.map +1 -0
  287. package/dist/shell/phone/launch.d.ts +7 -0
  288. package/dist/shell/phone/launch.d.ts.map +1 -0
  289. package/dist/shell/phone/more-sheet.d.ts +36 -0
  290. package/dist/shell/phone/more-sheet.d.ts.map +1 -0
  291. package/dist/shell/phone/phone-foundations.d.ts +9 -0
  292. package/dist/shell/phone/phone-foundations.d.ts.map +1 -0
  293. package/dist/shell/phone/pull-to-refresh.d.ts +9 -0
  294. package/dist/shell/phone/pull-to-refresh.d.ts.map +1 -0
  295. package/dist/shell/phone/routes.d.ts +12 -0
  296. package/dist/shell/phone/routes.d.ts.map +1 -0
  297. package/dist/shell/phone/screen-motion.d.ts +11 -0
  298. package/dist/shell/phone/screen-motion.d.ts.map +1 -0
  299. package/dist/shell/phone/scroll-restoration.d.ts +7 -0
  300. package/dist/shell/phone/scroll-restoration.d.ts.map +1 -0
  301. package/dist/shell/phone/startup-image.d.ts +17 -0
  302. package/dist/shell/phone/startup-image.d.ts.map +1 -0
  303. package/dist/shell/phone/tab-bar.d.ts +14 -0
  304. package/dist/shell/phone/tab-bar.d.ts.map +1 -0
  305. package/dist/shell/phone/top-bar.d.ts +24 -0
  306. package/dist/shell/phone/top-bar.d.ts.map +1 -0
  307. package/dist/shell/search-command.d.ts +3 -1
  308. package/dist/shell/search-command.d.ts.map +1 -1
  309. package/dist/shell/user-menu.d.ts +2 -0
  310. package/dist/shell/user-menu.d.ts.map +1 -1
  311. package/package.json +8 -5
  312. package/src/agent/activity-label.ts +6 -1
  313. package/src/agent/agent-chat.tsx +52 -8
  314. package/src/agent/agent-panel.tsx +12 -0
  315. package/src/agent/agent-surface.tsx +4 -0
  316. package/src/agent/artifact-card.tsx +84 -16
  317. package/src/agent/artifact-panel.tsx +63 -43
  318. package/src/agent/background/background-tool-row.tsx +24 -10
  319. package/src/agent/background/interpret.ts +60 -51
  320. package/src/agent/components/agent-message-body.tsx +1 -1
  321. package/src/agent/components/composer-place.tsx +77 -53
  322. package/src/agent/components/composer.tsx +92 -7
  323. package/src/agent/components/context-chips.tsx +72 -2
  324. package/src/agent/components/conversation-panel.tsx +30 -10
  325. package/src/agent/components/message-parts.tsx +29 -6
  326. package/src/agent/components/thread-artifacts-menu.tsx +22 -5
  327. package/src/agent/components/transcript.tsx +45 -27
  328. package/src/agent/composer-insertion.ts +36 -0
  329. package/src/agent/delegation/agent-exchange.tsx +53 -0
  330. package/src/agent/delegation/child-card.tsx +6 -40
  331. package/src/agent/delegation/child-parts.tsx +1 -84
  332. package/src/agent/delegation/child-work.tsx +19 -5
  333. package/src/agent/delegation/interpret.ts +33 -54
  334. package/src/agent/delegation/model.ts +1 -1
  335. package/src/agent/file-edits/file-edit-tool-view.tsx +126 -0
  336. package/src/agent/file-edits/interpret.ts +120 -0
  337. package/src/agent/hooks/use-agent-conversation.ts +61 -10
  338. package/src/agent/hooks/use-new-thread-place.ts +149 -25
  339. package/src/agent/i18n/en.ts +60 -4
  340. package/src/agent/i18n/fr.ts +51 -4
  341. package/src/agent/message-agent/interpret.ts +4 -3
  342. package/src/agent/publish-artifact/interpret.ts +37 -6
  343. package/src/agent/publish-artifact/open-artifact-tool-view.tsx +49 -0
  344. package/src/agent/publish-artifact/publish-artifact-tool-view.tsx +14 -8
  345. package/src/agent/publish-artifact/use-live-publishes.ts +7 -11
  346. package/src/agent/questions/interpret.ts +90 -0
  347. package/src/agent/questions/question-card.tsx +57 -0
  348. package/src/agent/questions/question-composer.tsx +257 -0
  349. package/src/agent/react-router.tsx +2 -2
  350. package/src/agent/read/interpret.ts +34 -1
  351. package/src/agent/read/read-tool-view.tsx +20 -4
  352. package/src/agent/tool-views/built-in.tsx +22 -8
  353. package/src/agent/types.ts +4 -0
  354. package/src/agent/waits.ts +50 -0
  355. package/src/artifacts/artifact-page.tsx +42 -17
  356. package/src/artifacts/artifact-viewer.tsx +56 -0
  357. package/src/artifacts/artifacts.css +116 -0
  358. package/src/artifacts/card-details.ts +2 -2
  359. package/src/artifacts/card-preview.tsx +17 -3
  360. package/src/artifacts/comments-context.ts +125 -0
  361. package/src/artifacts/edit-session.tsx +21 -7
  362. package/src/artifacts/file-source.ts +10 -3
  363. package/src/artifacts/frame.tsx +53 -14
  364. package/src/artifacts/gallery.tsx +9 -11
  365. package/src/artifacts/guest-badge.tsx +21 -0
  366. package/src/artifacts/held-artifact.tsx +241 -0
  367. package/src/artifacts/holders.tsx +170 -0
  368. package/src/artifacts/live/boards.ts +95 -0
  369. package/src/artifacts/live/canvas.ts +402 -0
  370. package/src/artifacts/live/header.tsx +137 -0
  371. package/src/artifacts/live/hooks.ts +94 -0
  372. package/src/artifacts/live/presence.ts +147 -0
  373. package/src/artifacts/live/session.ts +520 -0
  374. package/src/artifacts/live/view.ts +81 -0
  375. package/src/artifacts/messages.ts +469 -24
  376. package/src/artifacts/page-queries.ts +2 -3
  377. package/src/artifacts/page-state.ts +16 -7
  378. package/src/artifacts/publish-edit.ts +50 -22
  379. package/src/artifacts/queries.ts +108 -10
  380. package/src/artifacts/references/references.tsx +6 -9
  381. package/src/artifacts/renderers/canvas/arrows.tsx +12 -39
  382. package/src/artifacts/renderers/canvas/board-editor.tsx +839 -0
  383. package/src/artifacts/renderers/canvas/board-properties.tsx +488 -0
  384. package/src/artifacts/renderers/canvas/board-source.ts +110 -0
  385. package/src/artifacts/renderers/canvas/board.tsx +373 -35
  386. package/src/artifacts/renderers/canvas/canvas.tsx +441 -75
  387. package/src/artifacts/renderers/canvas/comment-pins.tsx +465 -0
  388. package/src/artifacts/renderers/canvas/commenting.tsx +319 -0
  389. package/src/artifacts/renderers/canvas/comments-panel.tsx +574 -0
  390. package/src/artifacts/renderers/canvas/comments.ts +225 -0
  391. package/src/artifacts/renderers/canvas/controls.tsx +64 -30
  392. package/src/artifacts/renderers/canvas/draft.ts +41 -50
  393. package/src/artifacts/renderers/canvas/edit-mode.tsx +145 -20
  394. package/src/artifacts/renderers/canvas/focus.tsx +321 -26
  395. package/src/artifacts/renderers/canvas/gestures.ts +265 -0
  396. package/src/artifacts/renderers/canvas/items.tsx +179 -52
  397. package/src/artifacts/renderers/canvas/layout.ts +99 -47
  398. package/src/artifacts/renderers/canvas/page-resize.tsx +542 -0
  399. package/src/artifacts/renderers/canvas/page-size-controls.tsx +193 -0
  400. package/src/artifacts/renderers/canvas/page-size.ts +218 -0
  401. package/src/artifacts/renderers/canvas/page-zoom.ts +280 -0
  402. package/src/artifacts/renderers/canvas/presence.tsx +184 -0
  403. package/src/artifacts/renderers/canvas/previews.ts +127 -0
  404. package/src/artifacts/renderers/canvas/renderer.tsx +87 -22
  405. package/src/artifacts/renderers/canvas/shown-size.ts +105 -0
  406. package/src/artifacts/renderers/canvas/thumbnail.tsx +56 -15
  407. package/src/artifacts/renderers/canvas/toolbar.tsx +1 -1
  408. package/src/artifacts/renderers/slides/slides.tsx +1 -1
  409. package/src/artifacts/version-menu.tsx +438 -0
  410. package/src/artifacts/view-context.ts +102 -0
  411. package/src/artifacts/viewer.tsx +219 -147
  412. package/src/build.ts +96 -11
  413. package/src/codegen.ts +83 -5
  414. package/src/createCustomApp.ts +20 -7
  415. package/src/index.ts +14 -0
  416. package/src/locale-messages.ts +24 -0
  417. package/src/metadata.ts +12 -0
  418. package/src/pages/console/action-run.tsx +20 -0
  419. package/src/pages/console/data/connectors.tsx +27 -3
  420. package/src/pages/console/data/datasets.tsx +30 -1
  421. package/src/pages/console/data/lake-health.tsx +299 -0
  422. package/src/pages/console/data/messages.ts +143 -2
  423. package/src/pages/console/data/pipelines.tsx +91 -3
  424. package/src/pages/console/data/projections.tsx +23 -4
  425. package/src/pages/console/data/syncs.tsx +39 -2
  426. package/src/pages/console/ontology/action-runs.tsx +8 -2
  427. package/src/pages/console/ontology/actions.tsx +39 -15
  428. package/src/pages/console/ontology/components/action-button.tsx +10 -0
  429. package/src/pages/console/ontology/components/artifact-picker.tsx +522 -0
  430. package/src/pages/console/ontology/components/object-query-bar.tsx +21 -5
  431. package/src/pages/console/ontology/lib/action-params.ts +10 -0
  432. package/src/pages/console/ontology/lineage/properties-panel.tsx +32 -24
  433. package/src/pages/console/ontology/object-page.tsx +2 -0
  434. package/src/pages/console/ontology/object-type.tsx +73 -14
  435. package/src/pages/console/ontology/object-types.tsx +56 -7
  436. package/src/pages/console/ontology/objects.tsx +167 -19
  437. package/src/pages/console/ontology/rules.tsx +186 -30
  438. package/src/pages/console/ontology/workflow.tsx +130 -74
  439. package/src/pages/console/ontology/workflows/run-input-form.tsx +21 -2
  440. package/src/pages/console/ontology/workflows/schema-shape.tsx +3 -0
  441. package/src/pages/console/ontology/workflows.tsx +34 -21
  442. package/src/pages/console/skeletons.tsx +99 -0
  443. package/src/pages/console/workflow-run.tsx +20 -0
  444. package/src/pages/section-page.tsx +37 -7
  445. package/src/pages/section-ui.tsx +96 -13
  446. package/src/pages/settings/activity/calendar.tsx +13 -6
  447. package/src/pages/settings/activity/connections.tsx +26 -9
  448. package/src/pages/settings/activity/page.tsx +31 -4
  449. package/src/pages/settings/activity/thread.tsx +32 -18
  450. package/src/pages/settings/activity/timeline.tsx +39 -0
  451. package/src/pages/settings/controls.tsx +19 -1
  452. package/src/pages/settings/developers.tsx +2 -2
  453. package/src/pages/settings/members.tsx +42 -9
  454. package/src/pages/settings/memory-history.tsx +76 -10
  455. package/src/pages/settings/memory.tsx +47 -5
  456. package/src/pages/settings/service-accounts.tsx +7 -2
  457. package/src/pages/settings/sessions.tsx +6 -2
  458. package/src/pages/settings/usage/breakdown.tsx +62 -2
  459. package/src/pages/settings/usage/limits.tsx +45 -3
  460. package/src/pages/settings/usage/messages.ts +0 -2
  461. package/src/pages/settings/usage/page.tsx +99 -52
  462. package/src/pages/settings/usage/runs.tsx +105 -8
  463. package/src/pages/settings/usage/spend-chart.tsx +79 -45
  464. package/src/pages/settings/usage/spend-model.ts +16 -0
  465. package/src/pages/values.tsx +72 -6
  466. package/src/pages.ts +4 -0
  467. package/src/sections/catalog.ts +6 -0
  468. package/src/sections/sections.tsx +2 -0
  469. package/src/service-worker.ts +176 -0
  470. package/src/shared-session.ts +73 -0
  471. package/src/shell/app-return.ts +115 -0
  472. package/src/shell/app-shell.tsx +125 -27
  473. package/src/shell/nav-items.tsx +2 -0
  474. package/src/shell/phone/back.ts +16 -0
  475. package/src/shell/phone/launch.ts +6 -0
  476. package/src/shell/phone/more-sheet.tsx +249 -0
  477. package/src/shell/phone/phone-foundations.tsx +43 -0
  478. package/src/shell/phone/phone.css +660 -0
  479. package/src/shell/phone/pull-to-refresh.tsx +201 -0
  480. package/src/shell/phone/routes.ts +34 -0
  481. package/src/shell/phone/screen-motion.ts +292 -0
  482. package/src/shell/phone/scroll-restoration.tsx +70 -0
  483. package/src/shell/phone/startup-image.ts +119 -0
  484. package/src/shell/phone/tab-bar.tsx +95 -0
  485. package/src/shell/phone/top-bar.tsx +195 -0
  486. package/src/shell/search-command.tsx +30 -14
  487. package/src/shell/user-menu.tsx +2 -1
  488. package/dist/chunk-4j3c3p72.js +0 -1487
  489. package/dist/chunk-4j3c3p72.js.map +0 -18
  490. package/dist/chunk-4mprsd2n.js.map +0 -10
  491. package/dist/chunk-ytadd0b5.js.map +0 -188
  492. /package/dist/{chunk-7fj9cfkw.js.map → chunk-970s5nkn.js.map} +0 -0
  493. /package/dist/{chunk-j8g956dt.js.map → chunk-pxd07kvx.js.map} +0 -0
  494. /package/dist/{chunk-kwbw4dyk.js.map → chunk-ryed2jq8.js.map} +0 -0
@@ -95,6 +95,9 @@ export declare const useAgentMessages: () => {
95
95
  searching: string;
96
96
  empty: (query: string) => string;
97
97
  remove: (label: string) => string;
98
+ showComments: (label: string) => string;
99
+ someone: string;
100
+ replies: (count: number) => string;
98
101
  unnamed: string;
99
102
  };
100
103
  models: {
@@ -300,10 +303,7 @@ export declare const useAgentMessages: () => {
300
303
  timeout: string;
301
304
  unknown: string;
302
305
  };
303
- fromAgent: string;
304
- asks: string;
305
- answer: string;
306
- answerHint: string;
306
+ noAnswer: string;
307
307
  close: string;
308
308
  viewRequest: string;
309
309
  stepsLater: string;
@@ -337,6 +337,9 @@ export declare const useAgentMessages: () => {
337
337
  heardFrom: (key: string) => string;
338
338
  heardFromCount: (agents: number) => string;
339
339
  waitFailed: string;
340
+ stoppingAgent: (key: string) => string;
341
+ stoppedAgent: (key: string) => string;
342
+ stopAgentFailed: (key: string) => string;
340
343
  askedAgent: (question: string) => string;
341
344
  line: {
342
345
  names: (names: readonly string[]) => string;
@@ -402,6 +405,34 @@ export declare const useAgentMessages: () => {
402
405
  failed: (name: string) => string;
403
406
  open: (name: string) => string;
404
407
  };
408
+ questions: {
409
+ card: (count: number) => string;
410
+ asked: string;
411
+ waiting: string;
412
+ running: string;
413
+ send: string;
414
+ sending: string;
415
+ pickAny: string;
416
+ typeAnswer: string;
417
+ typeOther: string;
418
+ somethingElse: string;
419
+ next: string;
420
+ back: string;
421
+ step: (step: number, total: number) => string;
422
+ dismiss: string;
423
+ };
424
+ edit: {
425
+ title: (name: string) => string;
426
+ running: (name: string) => string;
427
+ failed: (name: string) => string;
428
+ };
429
+ write: {
430
+ created: (name: string) => string;
431
+ replaced: (name: string) => string;
432
+ running: (name: string) => string;
433
+ failed: (name: string) => string;
434
+ lines: (lines: number) => string;
435
+ };
405
436
  read: {
406
437
  file: {
407
438
  title: (name: string) => string;
@@ -418,6 +449,12 @@ export declare const useAgentMessages: () => {
418
449
  running: (name: string) => string;
419
450
  failed: (name: string) => string;
420
451
  };
452
+ directory: {
453
+ title: (name: string) => string;
454
+ running: (name: string) => string;
455
+ failed: (name: string) => string;
456
+ };
457
+ entries: (entries: number) => string;
421
458
  memory: {
422
459
  title: (project: boolean) => string;
423
460
  running: (project: boolean) => string;
@@ -808,6 +845,13 @@ export declare const useAgentMessages: () => {
808
845
  publishing: (title: string) => string;
809
846
  published: (title: string) => string;
810
847
  publishFailed: (title: string) => string;
848
+ updating: (title: string) => string;
849
+ updated: (title: string) => string;
850
+ updateFailed: (title: string) => string;
851
+ opening: (title: string) => string;
852
+ opened: (title: string) => string;
853
+ openFailed: (title: string) => string;
854
+ changed: string;
811
855
  open: (title: string) => string;
812
856
  cards: string;
813
857
  close: string;
@@ -1111,6 +1155,9 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1111
1155
  searching: string;
1112
1156
  empty: (query: string) => string;
1113
1157
  remove: (label: string) => string;
1158
+ showComments: (label: string) => string;
1159
+ someone: string;
1160
+ replies: (count: number) => string;
1114
1161
  unnamed: string;
1115
1162
  };
1116
1163
  models: {
@@ -1316,10 +1363,7 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1316
1363
  timeout: string;
1317
1364
  unknown: string;
1318
1365
  };
1319
- fromAgent: string;
1320
- asks: string;
1321
- answer: string;
1322
- answerHint: string;
1366
+ noAnswer: string;
1323
1367
  close: string;
1324
1368
  viewRequest: string;
1325
1369
  stepsLater: string;
@@ -1353,6 +1397,9 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1353
1397
  heardFrom: (key: string) => string;
1354
1398
  heardFromCount: (agents: number) => string;
1355
1399
  waitFailed: string;
1400
+ stoppingAgent: (key: string) => string;
1401
+ stoppedAgent: (key: string) => string;
1402
+ stopAgentFailed: (key: string) => string;
1356
1403
  askedAgent: (question: string) => string;
1357
1404
  line: {
1358
1405
  names: (names: readonly string[]) => string;
@@ -1418,6 +1465,34 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1418
1465
  failed: (name: string) => string;
1419
1466
  open: (name: string) => string;
1420
1467
  };
1468
+ questions: {
1469
+ card: (count: number) => string;
1470
+ asked: string;
1471
+ waiting: string;
1472
+ running: string;
1473
+ send: string;
1474
+ sending: string;
1475
+ pickAny: string;
1476
+ typeAnswer: string;
1477
+ typeOther: string;
1478
+ somethingElse: string;
1479
+ next: string;
1480
+ back: string;
1481
+ step: (step: number, total: number) => string;
1482
+ dismiss: string;
1483
+ };
1484
+ edit: {
1485
+ title: (name: string) => string;
1486
+ running: (name: string) => string;
1487
+ failed: (name: string) => string;
1488
+ };
1489
+ write: {
1490
+ created: (name: string) => string;
1491
+ replaced: (name: string) => string;
1492
+ running: (name: string) => string;
1493
+ failed: (name: string) => string;
1494
+ lines: (lines: number) => string;
1495
+ };
1421
1496
  read: {
1422
1497
  file: {
1423
1498
  title: (name: string) => string;
@@ -1434,6 +1509,12 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1434
1509
  running: (name: string) => string;
1435
1510
  failed: (name: string) => string;
1436
1511
  };
1512
+ directory: {
1513
+ title: (name: string) => string;
1514
+ running: (name: string) => string;
1515
+ failed: (name: string) => string;
1516
+ };
1517
+ entries: (entries: number) => string;
1437
1518
  memory: {
1438
1519
  title: (project: boolean) => string;
1439
1520
  running: (project: boolean) => string;
@@ -1824,6 +1905,13 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1824
1905
  publishing: (title: string) => string;
1825
1906
  published: (title: string) => string;
1826
1907
  publishFailed: (title: string) => string;
1908
+ updating: (title: string) => string;
1909
+ updated: (title: string) => string;
1910
+ updateFailed: (title: string) => string;
1911
+ opening: (title: string) => string;
1912
+ opened: (title: string) => string;
1913
+ openFailed: (title: string) => string;
1914
+ changed: string;
1827
1915
  open: (title: string) => string;
1828
1916
  cards: string;
1829
1917
  close: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,MAAM,CAAA;AAK7C,wFAAwF;AACxF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,aAAa,CAAC,CAAA;AAC/C,YAAY,EAAE,aAAa,EAAE,CAAA"}
@@ -6,7 +6,7 @@ export interface MessageAgentDescription {
6
6
  /** The live label while it is the latest work: short, in the moment. */
7
7
  readonly running: string;
8
8
  }
9
- /** A question a child waits on, as `wait_agent` returned it. */
9
+ /** A question a child waits on, as `wait` returned it. */
10
10
  export interface ChildQuestion {
11
11
  readonly key: string;
12
12
  readonly text: string;
@@ -16,6 +16,6 @@ export interface ChildQuestion {
16
16
  * a child waiting on its question, it is the Agent's answer.
17
17
  */
18
18
  export declare function describeMessageAgent(tool: NormalizedTool, messages: AgentMessages): MessageAgentDescription;
19
- /** The questions a `wait_agent` call returned: the children that wait on the Agent's answer. */
19
+ /** The questions a `wait` call returned: the children that wait on the Agent's answer. */
20
20
  export declare function childQuestions(tool: NormalizedTool): readonly ChildQuestion[];
21
21
  //# sourceMappingURL=interpret.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/message-agent/interpret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,UAAU,CAAA;AAE/D,MAAM,WAAW,uBAAuB;IACtC,8EAA8E;IAC9E,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,wEAAwE;IACxE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CACzB;AAED,gEAAgE;AAChE,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,cAAc,EACpB,QAAQ,EAAE,aAAa,GACtB,uBAAuB,CAmBzB;AAED,gGAAgG;AAChG,wBAAgB,cAAc,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,aAAa,EAAE,CAU7E"}
1
+ {"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/message-agent/interpret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,UAAU,CAAA;AAG/D,MAAM,WAAW,uBAAuB;IACtC,8EAA8E;IAC9E,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,wEAAwE;IACxE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CACzB;AAED,0DAA0D;AAC1D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,cAAc,EACpB,QAAQ,EAAE,aAAa,GACtB,uBAAuB,CAmBzB;AAED,0FAA0F;AAC1F,wBAAgB,cAAc,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,aAAa,EAAE,CAU7E"}
@@ -1,10 +1,16 @@
1
1
  import type { ArtifactKindName } from "../../artifacts/kind-icon";
2
2
  import type { NormalizedPart, NormalizedTool } from "../parts";
3
3
  export declare function isPublishTool(toolName: string): boolean;
4
+ /** Whether a publish call changed an artifact that was there before, rather than created one. */
5
+ export declare function isUpdate(tool: Pick<NormalizedTool, "toolName" | "input">): boolean;
4
6
  /** What one publish call published, read from its result. */
5
7
  export interface PublishedArtifact {
6
8
  readonly artifactId: string;
7
9
  readonly version: number;
10
+ /** The artifact's revision once written: absent from calls made before revisions. */
11
+ readonly revision?: number;
12
+ /** Whether the version written stays open; absent from calls made before open versions. */
13
+ readonly open?: boolean;
8
14
  readonly kind: ArtifactKindName;
9
15
  readonly title: string;
10
16
  readonly warnings: readonly {
@@ -20,8 +26,8 @@ export interface TurnArtifact extends PublishedArtifact {
20
26
  readonly created: boolean;
21
27
  }
22
28
  /**
23
- * Each artifact a turn published, once, at the last version the turn published, in the order the
24
- * turn first published them.
29
+ * Each artifact a turn published, once, as the turn last wrote it, in the order the turn first
30
+ * published them.
25
31
  */
26
32
  export declare function turnArtifacts(parts: readonly NormalizedPart[]): TurnArtifact[];
27
33
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/interpret.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAK9D,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEvD;AAED,6DAA6D;AAC7D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAA;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,QAAQ,EAAE,SAAS;QAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CACnF;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,cAAc,GAAG,iBAAiB,GAAG,IAAI,CA6BhF;AAED,iFAAiF;AACjF,wBAAgB,YAAY,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAIzD;AAED,gGAAgG;AAChG,MAAM,WAAW,YAAa,SAAQ,iBAAiB;IACrD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAC1B;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,GAAG,YAAY,EAAE,CAe9E;AAED;;;GAGG;AACH,wBAAgB,i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;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,GAAG,YAAY,EAAE,CAe9E;AAUD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,GAAG,MAAM,EAAE,CAiB5E"}
@@ -0,0 +1,9 @@
1
+ import type { NormalizedTool } from "../parts";
2
+ /**
3
+ * An `open_artifact` call in the work trace: the Agent opened an artifact to read it, or to revise
4
+ * it. A calm step, as reading a file is; a failure says why, without the harness's prefix.
5
+ */
6
+ export declare function OpenArtifactToolView({ tool }: {
7
+ tool: NormalizedTool;
8
+ }): import("react").JSX.Element;
9
+ //# sourceMappingURL=open-artifact-tool-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"open-artifact-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/open-artifact-tool-view.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BA4BtE"}
@@ -1,7 +1,9 @@
1
1
  import type { NormalizedTool } from "../parts";
2
2
  /**
3
- * A publish in the work trace: what it published and at which version, with any warnings, or why
4
- * it was refused. The answer's cards show the result; this row keeps each attempt.
3
+ * A publish in the work trace: what it published, with any warnings, or why it was refused. The
4
+ * answer's cards show the result; this row keeps each attempt. A write to an open version names
5
+ * no version: the version is the current one, which changes until someone creates it. A call from
6
+ * before open versions published a version for good, which it names.
5
7
  */
6
8
  export declare function PublishArtifactToolView({ tool }: {
7
9
  tool: NormalizedTool;
@@ -1 +1 @@
1
- {"version":3,"file":"publish-artifact-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/publish-artifact-tool-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BA6CzE"}
1
+ {"version":3,"file":"publish-artifact-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/publish-artifact-tool-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BA8CzE"}
@@ -1,8 +1,8 @@
1
1
  import type { NormalizedPart } from "../parts";
2
2
  /**
3
- * Follows what a live turn publishes: each new version refreshes the artifact and every list of
4
- * artifacts, and the turn's first publish opens the panel on it, at its latest version so later
5
- * versions of the turn replace it in place. It opens only beside the conversation or over the app:
3
+ * Follows what a live turn publishes: each write, by its revision, refreshes the artifact and every
4
+ * list of artifacts, and the turn's first publish opens the panel on it, at its latest version so
5
+ * the turn's later writes show in place. It opens only beside the conversation or over the app:
6
6
  * a dialog would take the reader's focus, and the composer's, while the Agent is still working,
7
7
  * so there the card waits to be opened.
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"use-live-publishes.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/use-live-publishes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAM9C;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE;IACrC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,QAAQ,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;CAC1C,GAAG,IAAI,CA0BP"}
1
+ {"version":3,"file":"use-live-publishes.d.ts","sourceRoot":"","sources":["../../../src/agent/publish-artifact/use-live-publishes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAM9C;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE;IACrC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,QAAQ,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;CAC1C,GAAG,IAAI,CAsBP"}
@@ -0,0 +1,31 @@
1
+ import type { AgentConversationMessage, AgentConversationTurn } from "../conversation";
2
+ /** One question of an `ask` call, as the card shows it. */
3
+ export interface AskedQuestion {
4
+ readonly question: string;
5
+ readonly choices: readonly string[];
6
+ /** Several of the choices may be picked. */
7
+ readonly multiple: boolean;
8
+ }
9
+ /** The tools an agent asks with: `ask`, and a sub-agent's `ask_parent` in earlier threads. */
10
+ export declare function isAskTool(toolName: string): boolean;
11
+ /** The questions of an `ask` call's input, or of an `ask_parent` call's `{ question }`. */
12
+ export declare function askedQuestions(input: unknown): readonly AskedQuestion[];
13
+ /** The questions as one line, for a row that names them: `Which year? · Which regions?`. */
14
+ export declare function askedText(input: unknown): string;
15
+ /**
16
+ * The user's answer as the message the card sends: the picked choices or the typed text, and with
17
+ * several questions each answer after its question. Unanswered questions are left out; empty when
18
+ * nothing was answered.
19
+ */
20
+ export declare function answerText(questions: readonly AskedQuestion[], answers: readonly (readonly string[])[]): string;
21
+ /** The questions the conversation's last word asks the user, and the reply that asked them. */
22
+ export interface OpenQuestion {
23
+ readonly messageKey: string;
24
+ readonly questions: readonly AskedQuestion[];
25
+ }
26
+ /**
27
+ * What still waits for the user: the questions of the conversation's last message, a reply that
28
+ * asked, once its turn ended. A later message answers it, and a running turn has not asked yet.
29
+ */
30
+ export declare function openQuestion(messages: readonly AgentConversationMessage[], turn: AgentConversationTurn): OpenQuestion | null;
31
+ //# sourceMappingURL=interpret.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/questions/interpret.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAEtF,2DAA2D;AAC3D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;IACnC,4CAA4C;IAC5C,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;CAC3B;AAED,8FAA8F;AAC9F,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEnD;AAED,2FAA2F;AAC3F,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,aAAa,EAAE,CAmBvE;AAED,4FAA4F;AAC5F,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAIhD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CACxB,SAAS,EAAE,SAAS,aAAa,EAAE,EACnC,OAAO,EAAE,SAAS,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,GACtC,MAAM,CAOR;AAED,+FAA+F;AAC/F,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,SAAS,EAAE,SAAS,aAAa,EAAE,CAAA;CAC7C;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,SAAS,wBAAwB,EAAE,EAC7C,IAAI,EAAE,qBAAqB,GAC1B,YAAY,GAAG,IAAI,CAWrB"}
@@ -0,0 +1,16 @@
1
+ import type { NormalizedTool } from "../parts";
2
+ /**
3
+ * Whether the reply a line is in asks the reader now: its question is the conversation's last word,
4
+ * answered in the composer, which becomes the question (`QuestionComposer`). `answering` when the
5
+ * reader may answer there; otherwise, as for an observer, someone else's answer is awaited.
6
+ */
7
+ export interface QuestionTurn {
8
+ readonly open: boolean;
9
+ readonly answering?: boolean;
10
+ }
11
+ export declare const QuestionTurnContext: import("react").Context<QuestionTurn>;
12
+ /** The Agent's questions in its reply: a quiet line each, the composer asks them. */
13
+ export declare function QuestionCards({ tools }: {
14
+ readonly tools: readonly NormalizedTool[];
15
+ }): import("react").JSX.Element | null;
16
+ //# sourceMappingURL=question-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"question-card.d.ts","sourceRoot":"","sources":["../../../src/agent/questions/question-card.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,eAAO,MAAM,mBAAmB,uCAA+C,CAAA;AAE/E,qFAAqF;AACrF,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;CAAE,sCAUrF"}
@@ -0,0 +1,15 @@
1
+ import { type AskedQuestion } from "./interpret";
2
+ export interface QuestionComposerProps {
3
+ readonly questions: readonly AskedQuestion[];
4
+ readonly onAnswer: (text: string) => void;
5
+ /** Back to the composer, to reply in words of one's own. */
6
+ readonly onDismiss: () => void;
7
+ readonly className?: string;
8
+ }
9
+ /**
10
+ * The composer, become the Agent's question: the same surface in the same place, its questions one
11
+ * at a time, each choice a row to pick and a last row to write something else. Picking the one
12
+ * answer of the last question sends; several questions send together from the last.
13
+ */
14
+ export declare function QuestionComposer({ questions, onAnswer, onDismiss, className, }: QuestionComposerProps): import("react").JSX.Element | null;
15
+ //# sourceMappingURL=question-composer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"question-composer.d.ts","sourceRoot":"","sources":["../../../src/agent/questions/question-composer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAc,MAAM,aAAa,CAAA;AAE5D,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,SAAS,EAAE,SAAS,aAAa,EAAE,CAAA;IAC5C,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,4DAA4D;IAC5D,QAAQ,CAAC,SAAS,EAAE,MAAM,IAAI,CAAA;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE,qBAAqB,sCAwOvB"}
@@ -10,6 +10,12 @@ export interface ReadOutput {
10
10
  readonly truncated: boolean;
11
11
  readonly nextOffset?: number;
12
12
  }
13
+ /** A folder `read` listed: its entries, folders ending in `/`. */
14
+ export interface ReadDirectory {
15
+ readonly path: string;
16
+ readonly entries: readonly string[];
17
+ readonly truncated: boolean;
18
+ }
13
19
  export interface ReadDescription {
14
20
  readonly path: string;
15
21
  readonly title: string;
@@ -22,5 +28,6 @@ export interface ReadDescription {
22
28
  }
23
29
  export declare function coerceReadInput(value: unknown): ReadInput | null;
24
30
  export declare function coerceReadOutput(value: unknown): ReadOutput | null;
25
- export declare function describeRead(input: ReadInput | null, output: ReadOutput | null, messages?: AgentMessages): ReadDescription;
31
+ export declare function coerceReadDirectory(value: unknown): ReadDirectory | null;
32
+ export declare function describeRead(input: ReadInput | null, output: ReadOutput | null, messages?: AgentMessages, directory?: ReadDirectory | null): ReadDescription;
26
33
  //# sourceMappingURL=interpret.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/read/interpret.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,YAAY,CAAA;AAGnD,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,UA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ool-view.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BAkD9D"}
1
+ {"version":3,"file":"read-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/read/read-tool-view.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BA2D9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"built-in.d.ts","sourceRoot":"","sources":["../../../src/agent/tool-views/built-in.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AA4D9C,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CAE/D"}
1
+ {"version":3,"file":"built-in.d.ts","sourceRoot":"","sources":["../../../src/agent/tool-views/built-in.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAyE9C,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CAE/D"}
@@ -1,9 +1,11 @@
1
- import type { GetAgentResponse, GetAgentRunResponse, GetAgentThreadContextResponse, ListAgentThreadMessagesResponse, ListAgentThreadsResponse, ListModelsResponse } from "@sixb/client";
1
+ import type { CreateAgentThreadData, GetAgentResponse, GetAgentRunResponse, GetAgentThreadContextResponse, ListAgentThreadMessagesResponse, ListAgentThreadsResponse, ListModelsResponse } from "@sixb/client";
2
2
  import type { AgentContextEntryInput, AgentContextInput } from "@sixb/core/agents/context";
3
3
  import type { ModelReasoningLevel } from "@sixb/core/models";
4
4
  export type { AgentContextEntryInput, AgentContextInput };
5
5
  export type Agent = GetAgentResponse;
6
6
  export type AgentThread = ListAgentThreadsResponse["threads"][number];
7
+ /** What a new conversation's sandbox is made from, as the project's sandbox declares its params. */
8
+ export type AgentThreadSandboxParams = NonNullable<CreateAgentThreadData["body"]["sandbox"]>;
7
9
  export type AgentMessage = ListAgentThreadMessagesResponse["messages"][number];
8
10
  export type AgentMessagePart = AgentMessage["parts"][number];
9
11
  export type AgentFileRef = Extract<AgentMessagePart, {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/agent/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,6BAA6B,EAC7B,+BAA+B,EAC/B,wBAAwB,EACxB,kBAAkB,EACnB,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAC1F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,YAAY,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,CAAA;AAKzD,MAAM,MAAM,KAAK,GAAG,gBAAgB,CAAA;AAEpC,MAAM,MAAM,WAAW,GAAG,wBAAwB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAA;AAErE,MAAM,MAAM,YAAY,GAAG,+BAA+B,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAA;AAE9E,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAA;AAE5D,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,SAAS,CAAC,CAAA;AAEjF,MAAM,MA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AM,CAAC,CAAA;AAE9E,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAA;AAE5D,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,SAAS,CAAC,CAAA;AAEjF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,CAAA;AAE7E,MAAM,MAAM,QAAQ,GAAG,mBAAmB,CAAA;AAE1C,yFAAyF;AACzF,MAAM,MAAM,kBAAkB,GAAG,6BAA6B,CAAA;AAE9D,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAA;AAE/C,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAA;AAElE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,SAAS,CAAC,CAAA;IAC3D,QAAQ,CAAC,SAAS,CAAC,EAAE,mBAAmB,CAAA;CACzC"}
@@ -0,0 +1,14 @@
1
+ import type { NormalizedTool } from "./parts";
2
+ /** The tools that read or stop a background command, today's and earlier threads'. */
3
+ export declare const COMMAND_TOOLS: ReadonlySet<string>;
4
+ /** What a `wait` or a `stop` names: the ids it was called with, as the model wrote them. */
5
+ export declare function namedIds(tool: Pick<NormalizedTool, "toolName" | "input">): readonly string[];
6
+ /** Whether an id names a background command rather than a sub-agent. */
7
+ export declare function isCommandId(id: string): boolean;
8
+ /** Whether a call waits for, or stops, one of the Agent's sub-agents: its row stands for it. */
9
+ export declare function waitsForChildren(tool: Pick<NormalizedTool, "toolName" | "input">): boolean;
10
+ /** Whether a call reads, waits for, or stops background commands alone. */
11
+ export declare function waitsForCommandsOnly(tool: Pick<NormalizedTool, "toolName" | "input">): boolean;
12
+ /** Whether a call stops what it names. */
13
+ export declare function isStop(tool: Pick<NormalizedTool, "toolName">): boolean;
14
+ //# sourceMappingURL=waits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"waits.d.ts","sourceRoot":"","sources":["../../src/agent/waits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAM7C,sFAAsF;AACtF,eAAO,MAAM,aAAa,EAAE,WAAW,CAAC,MAAM,CAK5C,CAAA;AAEF,4FAA4F;AAC5F,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG,SAAS,MAAM,EAAE,CAQ5F;AAED,wEAAwE;AACxE,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAE/C;AAED,gGAAgG;AAChG,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG,OAAO,CAI1F;AAED,2EAA2E;AAC3E,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG,OAAO,CAE9F;AAED,0CAA0C;AAC1C,wBAAgB,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,GAAG,OAAO,CAEtE"}
@@ -1 +1 @@
1
- {"version":3,"file":"artifact-page.d.ts","sourceRoot":"","sources":["../../src/artifacts/artifact-page.tsx"],"names":[],"mappings":"AASA;;;;GAIG;AACH,wBAAgB,YAAY,uCAkC3B"}
1
+ {"version":3,"file":"artifact-page.d.ts","sourceRoot":"","sources":["../../src/artifacts/artifact-page.tsx"],"names":[],"mappings":"AAcA;;;;GAIG;AACH,wBAAgB,YAAY,uCAsD3B"}
@@ -0,0 +1,16 @@
1
+ export interface ArtifactViewerProps {
2
+ /** The artifact to show, at its latest version: `object.properties.plan.id`. */
3
+ readonly artifactId: string;
4
+ /** Sizes the frame; it is 34rem tall unless a class says otherwise. */
5
+ readonly className?: string;
6
+ }
7
+ /**
8
+ * An artifact in place on a page of your own, such as the plan a contract holds: the viewer its
9
+ * own page uses, under its header, following it live, with its versions and its comments. Open full
10
+ * page, and an artifact it links to, go to that artifact's page.
11
+ *
12
+ * On a phone it is the artifact's card, opening its page: a canvas panned inside a page that
13
+ * scrolls fights the finger, and the page gives the artifact the whole screen.
14
+ */
15
+ export declare function ArtifactViewer({ artifactId, className }: ArtifactViewerProps): import("react").JSX.Element;
16
+ //# sourceMappingURL=artifact-viewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact-viewer.d.ts","sourceRoot":"","sources":["../../src/artifacts/artifact-viewer.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,mBAAmB;IAClC,gFAAgF;IAChF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,uEAAuE;IACvE,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,mBAAmB,+BA+B5E"}
@@ -11,5 +11,5 @@ export declare function fileExtension(name: string): string | undefined;
11
11
  * What a version changed in its artifact's structure: the sheets, charts, or sections it added and
12
12
  * removed. Edits within them leave no trace in the structure, so they say nothing here.
13
13
  */
14
- export declare function versionChanges(previous: ArtifactVersion, current: ArtifactVersion, messages: ArtifactMessages): string[];
14
+ export declare function versionChanges(previous: Pick<ArtifactVersion, "outline">, current: Pick<ArtifactVersion, "outline">, messages: ArtifactMessages): string[];
15
15
  //# sourceMappingURL=card-details.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"card-details.d.ts","sourceRoot":"","sources":["../../src/artifacts/card-details.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAEhD;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,gBAAgB,EAC1B,MAAM,EAAE,MAAM,GACb,MAAM,CAyCR;AAED,0FAA0F;AAC1F,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAE9D;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,eAAe,EACzB,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,gBAAgB,GACzB,MAAM,EAAE,CA+BV"}
1
+ {"version":3,"file":"card-details.d.ts","sourceRoot":"","sources":["../../src/artifacts/card-details.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAEhD;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,gBAAgB,EAC1B,MAAM,EAAE,MAAM,GACb,MAAM,CAyCR;AAED,0FAA0F;AAC1F,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAE9D;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,EAC1C,OAAO,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,EACzC,QAAQ,EAAE,gBAAgB,GACzB,MAAM,EAAE,CA+BV"}
@@ -1 +1 @@
1
- {"version":3,"file":"card-preview.d.ts","sourceRoot":"","sources":["../../src/artifacts/card-preview.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAA;AAK/C,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAErE,OAAO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C,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAA;IAC1B,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;IACxB,2DAA2D;IAC3D,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B,+BA2BA;AAwHD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAA;CAAE,+BAe3E;AAmKD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE,CAM1D;AA+GD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG;IACjD,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CACvB,CAmBA"}
@@ -0,0 +1,48 @@
1
+ import { type AgentContextInput } from "@sixb/core/agents/context";
2
+ import { quoteArtifactComment } from "@sixb/core/artifacts";
3
+ /** What a comments context's id starts with, before the artifact's id. */
4
+ export declare const COMMENTS_CONTEXT_PREFIX = "artifact-comments:";
5
+ /** One comment as the context holds it: quoted for the Agent, its words for the chip. */
6
+ export interface ContextComment {
7
+ readonly id: string;
8
+ readonly quote: string;
9
+ readonly author: string | null;
10
+ readonly body: string;
11
+ readonly replies: readonly string[];
12
+ }
13
+ /** What a comments context holds. */
14
+ export interface CommentsContextValue {
15
+ readonly artifactId: string;
16
+ readonly title: string;
17
+ readonly comments: readonly ContextComment[];
18
+ }
19
+ /** What a comment brings to the context: itself and its replies, as the API gives them. */
20
+ interface SentComment {
21
+ readonly id: string;
22
+ readonly anchor: Parameters<typeof quoteArtifactComment>[0]["anchor"];
23
+ readonly body: string;
24
+ readonly authorName?: string | null;
25
+ readonly author?: {
26
+ readonly type: string;
27
+ };
28
+ }
29
+ /**
30
+ * The context that sends these comments to the Agent, labelled for the chip. As many as fit in a
31
+ * context entry go, in order; `sent` says how many.
32
+ */
33
+ export declare function commentsContext(input: {
34
+ readonly artifactId: string;
35
+ readonly title: string;
36
+ readonly label: (count: number) => string;
37
+ readonly threads: readonly {
38
+ readonly comment: SentComment;
39
+ readonly replies: readonly SentComment[];
40
+ }[];
41
+ }): {
42
+ readonly context: AgentContextInput;
43
+ readonly sent: number;
44
+ };
45
+ /** The comments a context sends, when it is a comments context; null for any other. */
46
+ export declare function readCommentsContext(context: AgentContextInput): CommentsContextValue | null;
47
+ export {};
48
+ //# sourceMappingURL=comments-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comments-context.d.ts","sourceRoot":"","sources":["../../src/artifacts/comments-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAmC,MAAM,2BAA2B,CAAA;AACnG,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAO3D,0EAA0E;AAC1E,eAAO,MAAM,uBAAuB,uBAAuB,CAAA;AAE3D,yFAAyF;AACzF,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;CACpC;AAED,qCAAqC;AACrC,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,QAAQ,EAAE,SAAS,cAAc,EAAE,CAAA;CAC7C;AAED,2FAA2F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