@sixb/app 0.2.0 → 0.2.3

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 (469) hide show
  1. package/assets/connector-icons/README.md +1 -0
  2. package/assets/connector-icons/fleetio.ico +0 -0
  3. package/dist/agent/activity-label.d.ts.map +1 -1
  4. package/dist/agent/agent-chat.d.ts +9 -2
  5. package/dist/agent/agent-chat.d.ts.map +1 -1
  6. package/dist/agent/agent-panel.d.ts +9 -1
  7. package/dist/agent/agent-panel.d.ts.map +1 -1
  8. package/dist/agent/agent-surface.d.ts.map +1 -1
  9. package/dist/agent/artifact-card.d.ts +3 -1
  10. package/dist/agent/artifact-card.d.ts.map +1 -1
  11. package/dist/agent/artifact-panel.d.ts +7 -1
  12. package/dist/agent/artifact-panel.d.ts.map +1 -1
  13. package/dist/agent/background/background-card.d.ts +10 -0
  14. package/dist/agent/background/background-card.d.ts.map +1 -0
  15. package/dist/agent/background/background-tool-row.d.ts +9 -0
  16. package/dist/agent/background/background-tool-row.d.ts.map +1 -0
  17. package/dist/agent/background/context.d.ts +23 -0
  18. package/dist/agent/background/context.d.ts.map +1 -0
  19. package/dist/agent/background/interpret.d.ts +116 -0
  20. package/dist/agent/background/interpret.d.ts.map +1 -0
  21. package/dist/agent/bash/bash-tool-view.d.ts.map +1 -1
  22. package/dist/agent/bash/interpret.d.ts +4 -0
  23. package/dist/agent/bash/interpret.d.ts.map +1 -1
  24. package/dist/agent/components/composer-menu.d.ts +3 -1
  25. package/dist/agent/components/composer-menu.d.ts.map +1 -1
  26. package/dist/agent/components/composer-place.d.ts +13 -0
  27. package/dist/agent/components/composer-place.d.ts.map +1 -0
  28. package/dist/agent/components/composer.d.ts +23 -1
  29. package/dist/agent/components/composer.d.ts.map +1 -1
  30. package/dist/agent/components/computer-place.d.ts +3 -1
  31. package/dist/agent/components/computer-place.d.ts.map +1 -1
  32. package/dist/agent/components/context-chips.d.ts.map +1 -1
  33. package/dist/agent/components/context-meter.d.ts +1 -1
  34. package/dist/agent/components/conversation-panel.d.ts +3 -1
  35. package/dist/agent/components/conversation-panel.d.ts.map +1 -1
  36. package/dist/agent/components/message-parts.d.ts +3 -1
  37. package/dist/agent/components/message-parts.d.ts.map +1 -1
  38. package/dist/agent/components/thread-artifacts-menu.d.ts.map +1 -1
  39. package/dist/agent/components/transcript.d.ts +6 -0
  40. package/dist/agent/components/transcript.d.ts.map +1 -1
  41. package/dist/agent/components/web-fetch-tool-view.d.ts.map +1 -1
  42. package/dist/agent/composer-insertion.d.ts +24 -0
  43. package/dist/agent/composer-insertion.d.ts.map +1 -0
  44. package/dist/agent/delegation/child-parts.d.ts +2 -0
  45. package/dist/agent/delegation/child-parts.d.ts.map +1 -1
  46. package/dist/agent/delegation/use-children.d.ts +5 -5
  47. package/dist/agent/delegation/use-children.d.ts.map +1 -1
  48. package/dist/agent/hooks/use-agent-conversation.d.ts +24 -4
  49. package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
  50. package/dist/agent/hooks/use-new-thread-place.d.ts +70 -0
  51. package/dist/agent/hooks/use-new-thread-place.d.ts.map +1 -0
  52. package/dist/agent/hooks/use-thread-lists.d.ts +40 -0
  53. package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -1
  54. package/dist/agent/i18n/en.d.ts +74 -0
  55. package/dist/agent/i18n/en.d.ts.map +1 -1
  56. package/dist/agent/i18n/fr.d.ts.map +1 -1
  57. package/dist/agent/i18n/index.d.ts +126 -0
  58. package/dist/agent/i18n/index.d.ts.map +1 -1
  59. package/dist/agent/observed-conversation.d.ts.map +1 -1
  60. package/dist/agent/publish-artifact/interpret.d.ts +8 -2
  61. package/dist/agent/publish-artifact/interpret.d.ts.map +1 -1
  62. package/dist/agent/publish-artifact/open-artifact-tool-view.d.ts +9 -0
  63. package/dist/agent/publish-artifact/open-artifact-tool-view.d.ts.map +1 -0
  64. package/dist/agent/publish-artifact/publish-artifact-tool-view.d.ts +4 -2
  65. package/dist/agent/publish-artifact/publish-artifact-tool-view.d.ts.map +1 -1
  66. package/dist/agent/publish-artifact/use-live-publishes.d.ts +3 -3
  67. package/dist/agent/publish-artifact/use-live-publishes.d.ts.map +1 -1
  68. package/dist/agent/tool-views/built-in.d.ts.map +1 -1
  69. package/dist/agent/types.d.ts +3 -1
  70. package/dist/agent/types.d.ts.map +1 -1
  71. package/dist/agent/utils/web-fetch.d.ts +33 -1
  72. package/dist/agent/utils/web-fetch.d.ts.map +1 -1
  73. package/dist/agent/utils/web-search.d.ts +14 -2
  74. package/dist/agent/utils/web-search.d.ts.map +1 -1
  75. package/dist/artifacts/artifact-page.d.ts.map +1 -1
  76. package/dist/artifacts/artifact-viewer.d.ts +16 -0
  77. package/dist/artifacts/artifact-viewer.d.ts.map +1 -0
  78. package/dist/artifacts/card-details.d.ts +1 -1
  79. package/dist/artifacts/card-details.d.ts.map +1 -1
  80. package/dist/artifacts/card-preview.d.ts.map +1 -1
  81. package/dist/artifacts/comments-context.d.ts +48 -0
  82. package/dist/artifacts/comments-context.d.ts.map +1 -0
  83. package/dist/artifacts/edit-session.d.ts +6 -6
  84. package/dist/artifacts/edit-session.d.ts.map +1 -1
  85. package/dist/artifacts/file-source.d.ts.map +1 -1
  86. package/dist/artifacts/frame.d.ts +10 -2
  87. package/dist/artifacts/frame.d.ts.map +1 -1
  88. package/dist/artifacts/guest-badge.d.ts +8 -0
  89. package/dist/artifacts/guest-badge.d.ts.map +1 -0
  90. package/dist/artifacts/held-artifact.d.ts +19 -0
  91. package/dist/artifacts/held-artifact.d.ts.map +1 -0
  92. package/dist/artifacts/holders.d.ts +10 -0
  93. package/dist/artifacts/holders.d.ts.map +1 -0
  94. package/dist/artifacts/live/boards.d.ts +15 -0
  95. package/dist/artifacts/live/boards.d.ts.map +1 -0
  96. package/dist/artifacts/live/canvas.d.ts +79 -0
  97. package/dist/artifacts/live/canvas.d.ts.map +1 -0
  98. package/dist/artifacts/live/header.d.ts +29 -0
  99. package/dist/artifacts/live/header.d.ts.map +1 -0
  100. package/dist/artifacts/live/hooks.d.ts +21 -0
  101. package/dist/artifacts/live/hooks.d.ts.map +1 -0
  102. package/dist/artifacts/live/presence.d.ts +32 -0
  103. package/dist/artifacts/live/presence.d.ts.map +1 -0
  104. package/dist/artifacts/live/session.d.ts +130 -0
  105. package/dist/artifacts/live/session.d.ts.map +1 -0
  106. package/dist/artifacts/live/view.d.ts +28 -0
  107. package/dist/artifacts/live/view.d.ts.map +1 -0
  108. package/dist/artifacts/messages.d.ts +424 -14
  109. package/dist/artifacts/messages.d.ts.map +1 -1
  110. package/dist/artifacts/page-queries.d.ts +2 -2
  111. package/dist/artifacts/page-queries.d.ts.map +1 -1
  112. package/dist/artifacts/page-state.d.ts.map +1 -1
  113. package/dist/artifacts/publish-edit.d.ts +24 -14
  114. package/dist/artifacts/publish-edit.d.ts.map +1 -1
  115. package/dist/artifacts/queries.d.ts +490 -9
  116. package/dist/artifacts/queries.d.ts.map +1 -1
  117. package/dist/artifacts/references/references.d.ts.map +1 -1
  118. package/dist/artifacts/renderers/canvas/arrows.d.ts +0 -18
  119. package/dist/artifacts/renderers/canvas/arrows.d.ts.map +1 -1
  120. package/dist/artifacts/renderers/canvas/board-editor.d.ts +43 -0
  121. package/dist/artifacts/renderers/canvas/board-editor.d.ts.map +1 -0
  122. package/dist/artifacts/renderers/canvas/board-properties.d.ts +37 -0
  123. package/dist/artifacts/renderers/canvas/board-properties.d.ts.map +1 -0
  124. package/dist/artifacts/renderers/canvas/board-source.d.ts +18 -0
  125. package/dist/artifacts/renderers/canvas/board-source.d.ts.map +1 -0
  126. package/dist/artifacts/renderers/canvas/board.d.ts +64 -19
  127. package/dist/artifacts/renderers/canvas/board.d.ts.map +1 -1
  128. package/dist/artifacts/renderers/canvas/canvas.d.ts +13 -4
  129. package/dist/artifacts/renderers/canvas/canvas.d.ts.map +1 -1
  130. package/dist/artifacts/renderers/canvas/comment-pins.d.ts +84 -0
  131. package/dist/artifacts/renderers/canvas/comment-pins.d.ts.map +1 -0
  132. package/dist/artifacts/renderers/canvas/commenting.d.ts +58 -0
  133. package/dist/artifacts/renderers/canvas/commenting.d.ts.map +1 -0
  134. package/dist/artifacts/renderers/canvas/comments-panel.d.ts +27 -0
  135. package/dist/artifacts/renderers/canvas/comments-panel.d.ts.map +1 -0
  136. package/dist/artifacts/renderers/canvas/comments.d.ts +56 -0
  137. package/dist/artifacts/renderers/canvas/comments.d.ts.map +1 -0
  138. package/dist/artifacts/renderers/canvas/draft.d.ts +7 -6
  139. package/dist/artifacts/renderers/canvas/draft.d.ts.map +1 -1
  140. package/dist/artifacts/renderers/canvas/edit-mode.d.ts +19 -2
  141. package/dist/artifacts/renderers/canvas/edit-mode.d.ts.map +1 -1
  142. package/dist/artifacts/renderers/canvas/focus.d.ts +40 -5
  143. package/dist/artifacts/renderers/canvas/focus.d.ts.map +1 -1
  144. package/dist/artifacts/renderers/canvas/items.d.ts +47 -4
  145. package/dist/artifacts/renderers/canvas/items.d.ts.map +1 -1
  146. package/dist/artifacts/renderers/canvas/layout.d.ts +5 -8
  147. package/dist/artifacts/renderers/canvas/layout.d.ts.map +1 -1
  148. package/dist/artifacts/renderers/canvas/presence.d.ts +21 -0
  149. package/dist/artifacts/renderers/canvas/presence.d.ts.map +1 -0
  150. package/dist/artifacts/renderers/canvas/previews.d.ts +54 -0
  151. package/dist/artifacts/renderers/canvas/previews.d.ts.map +1 -0
  152. package/dist/artifacts/renderers/canvas/renderer.d.ts +11 -2
  153. package/dist/artifacts/renderers/canvas/renderer.d.ts.map +1 -1
  154. package/dist/artifacts/renderers/canvas/thumbnail.d.ts +5 -2
  155. package/dist/artifacts/renderers/canvas/thumbnail.d.ts.map +1 -1
  156. package/dist/artifacts/version-menu.d.ts +19 -0
  157. package/dist/artifacts/version-menu.d.ts.map +1 -0
  158. package/dist/artifacts/view-context.d.ts +43 -0
  159. package/dist/artifacts/view-context.d.ts.map +1 -0
  160. package/dist/artifacts/viewer.d.ts.map +1 -1
  161. package/dist/build.d.ts +5 -0
  162. package/dist/build.d.ts.map +1 -1
  163. package/dist/{chunk-fw2bm6dq.js → chunk-001c4gnk.js} +8086 -3870
  164. package/dist/chunk-001c4gnk.js.map +204 -0
  165. package/dist/chunk-00wggsst.js +7 -0
  166. package/dist/chunk-00wggsst.js.map +10 -0
  167. package/dist/chunk-5crvhjp2.js +4704 -0
  168. package/dist/chunk-5crvhjp2.js.map +28 -0
  169. package/dist/{chunk-q69001w3.js → chunk-694m74s7.js} +7 -1
  170. package/dist/{chunk-q69001w3.js.map → chunk-694m74s7.js.map} +3 -3
  171. package/dist/{chunk-4mprsd2n.js → chunk-fg6thecb.js} +25 -1
  172. package/dist/chunk-fg6thecb.js.map +10 -0
  173. package/dist/{chunk-j9653e83.js → chunk-fwb9mxwm.js} +1 -1
  174. package/dist/{chunk-km25essq.js → chunk-kes4ygmz.js} +1 -1
  175. package/dist/{chunk-kwbw4dyk.js → chunk-ryed2jq8.js} +1 -1
  176. package/dist/codegen.d.ts.map +1 -1
  177. package/dist/createCustomApp.d.ts.map +1 -1
  178. package/dist/index.d.ts +7 -1
  179. package/dist/index.d.ts.map +1 -1
  180. package/dist/index.js +930 -309
  181. package/dist/index.js.map +15 -10
  182. package/dist/locale-messages.d.ts +12 -0
  183. package/dist/locale-messages.d.ts.map +1 -1
  184. package/dist/locale.d.ts +12 -0
  185. package/dist/locale.d.ts.map +1 -1
  186. package/dist/locale.js +1 -1
  187. package/dist/metadata.d.ts +8 -0
  188. package/dist/metadata.d.ts.map +1 -1
  189. package/dist/pages/console/action-run.d.ts.map +1 -1
  190. package/dist/pages/console/data/connectors.d.ts.map +1 -1
  191. package/dist/pages/console/data/datasets.d.ts.map +1 -1
  192. package/dist/pages/console/data/lake-health.d.ts +3 -0
  193. package/dist/pages/console/data/lake-health.d.ts.map +1 -0
  194. package/dist/pages/console/data/messages.d.ts +98 -2
  195. package/dist/pages/console/data/messages.d.ts.map +1 -1
  196. package/dist/pages/console/data/pipelines.d.ts.map +1 -1
  197. package/dist/pages/console/data/projections.d.ts.map +1 -1
  198. package/dist/pages/console/data/shared.d.ts.map +1 -1
  199. package/dist/pages/console/data/syncs.d.ts.map +1 -1
  200. package/dist/pages/console/ontology/action-runs.d.ts.map +1 -1
  201. package/dist/pages/console/ontology/actions.d.ts.map +1 -1
  202. package/dist/pages/console/ontology/components/action-button.d.ts.map +1 -1
  203. package/dist/pages/console/ontology/components/artifact-picker.d.ts +36 -0
  204. package/dist/pages/console/ontology/components/artifact-picker.d.ts.map +1 -0
  205. package/dist/pages/console/ontology/components/object-query-bar.d.ts.map +1 -1
  206. package/dist/pages/console/ontology/lib/action-params.d.ts +2 -0
  207. package/dist/pages/console/ontology/lib/action-params.d.ts.map +1 -1
  208. package/dist/pages/console/ontology/lineage/properties-panel.d.ts +2 -1
  209. package/dist/pages/console/ontology/lineage/properties-panel.d.ts.map +1 -1
  210. package/dist/pages/console/ontology/object-page.d.ts.map +1 -1
  211. package/dist/pages/console/ontology/object-type.d.ts.map +1 -1
  212. package/dist/pages/console/ontology/object-types.d.ts.map +1 -1
  213. package/dist/pages/console/ontology/objects.d.ts.map +1 -1
  214. package/dist/pages/console/ontology/rules.d.ts.map +1 -1
  215. package/dist/pages/console/ontology/workflow.d.ts.map +1 -1
  216. package/dist/pages/console/ontology/workflows/run-input-form.d.ts.map +1 -1
  217. package/dist/pages/console/ontology/workflows/schema-shape.d.ts.map +1 -1
  218. package/dist/pages/console/ontology/workflows.d.ts.map +1 -1
  219. package/dist/pages/console/skeletons.d.ts +30 -0
  220. package/dist/pages/console/skeletons.d.ts.map +1 -0
  221. package/dist/pages/console/workflow-run.d.ts.map +1 -1
  222. package/dist/pages/section-page.d.ts +11 -1
  223. package/dist/pages/section-page.d.ts.map +1 -1
  224. package/dist/pages/section-ui.d.ts +25 -3
  225. package/dist/pages/section-ui.d.ts.map +1 -1
  226. package/dist/pages/settings/activity/calendar.d.ts.map +1 -1
  227. package/dist/pages/settings/activity/connections.d.ts.map +1 -1
  228. package/dist/pages/settings/activity/page.d.ts.map +1 -1
  229. package/dist/pages/settings/activity/thread.d.ts.map +1 -1
  230. package/dist/pages/settings/activity/timeline.d.ts +2 -0
  231. package/dist/pages/settings/activity/timeline.d.ts.map +1 -1
  232. package/dist/pages/settings/controls.d.ts +4 -0
  233. package/dist/pages/settings/controls.d.ts.map +1 -1
  234. package/dist/pages/settings/members.d.ts.map +1 -1
  235. package/dist/pages/settings/memory-history.d.ts +2 -0
  236. package/dist/pages/settings/memory-history.d.ts.map +1 -1
  237. package/dist/pages/settings/memory.d.ts.map +1 -1
  238. package/dist/pages/settings/service-accounts.d.ts.map +1 -1
  239. package/dist/pages/settings/sessions.d.ts.map +1 -1
  240. package/dist/pages/settings/usage/breakdown.d.ts.map +1 -1
  241. package/dist/pages/settings/usage/limits.d.ts.map +1 -1
  242. package/dist/pages/settings/usage/messages.d.ts +2 -2
  243. package/dist/pages/settings/usage/messages.d.ts.map +1 -1
  244. package/dist/pages/settings/usage/runs.d.ts +8 -2
  245. package/dist/pages/settings/usage/runs.d.ts.map +1 -1
  246. package/dist/pages/settings/usage/spend-chart.d.ts.map +1 -1
  247. package/dist/pages/settings/usage/spend-model.d.ts +5 -0
  248. package/dist/pages/settings/usage/spend-model.d.ts.map +1 -1
  249. package/dist/pages/values.d.ts +6 -0
  250. package/dist/pages/values.d.ts.map +1 -1
  251. package/dist/pages.d.ts +4 -0
  252. package/dist/pages.d.ts.map +1 -1
  253. package/dist/pages.js +8195 -4841
  254. package/dist/pages.js.map +58 -49
  255. package/dist/sections/catalog.d.ts.map +1 -1
  256. package/dist/sections/sections.d.ts.map +1 -1
  257. package/dist/server.js +294 -23
  258. package/dist/server.js.map +8 -7
  259. package/dist/service-worker.d.ts +39 -0
  260. package/dist/service-worker.d.ts.map +1 -0
  261. package/dist/shared-session.d.ts +25 -0
  262. package/dist/shared-session.d.ts.map +1 -0
  263. package/dist/shell/app-return.d.ts +35 -0
  264. package/dist/shell/app-return.d.ts.map +1 -0
  265. package/dist/shell/app-shell.d.ts +1 -1
  266. package/dist/shell/app-shell.d.ts.map +1 -1
  267. package/dist/shell/nav-items.d.ts +2 -0
  268. package/dist/shell/nav-items.d.ts.map +1 -1
  269. package/dist/shell/phone/back.d.ts +6 -0
  270. package/dist/shell/phone/back.d.ts.map +1 -0
  271. package/dist/shell/phone/launch.d.ts +7 -0
  272. package/dist/shell/phone/launch.d.ts.map +1 -0
  273. package/dist/shell/phone/more-sheet.d.ts +36 -0
  274. package/dist/shell/phone/more-sheet.d.ts.map +1 -0
  275. package/dist/shell/phone/phone-foundations.d.ts +9 -0
  276. package/dist/shell/phone/phone-foundations.d.ts.map +1 -0
  277. package/dist/shell/phone/pull-to-refresh.d.ts +9 -0
  278. package/dist/shell/phone/pull-to-refresh.d.ts.map +1 -0
  279. package/dist/shell/phone/routes.d.ts +12 -0
  280. package/dist/shell/phone/routes.d.ts.map +1 -0
  281. package/dist/shell/phone/screen-motion.d.ts +11 -0
  282. package/dist/shell/phone/screen-motion.d.ts.map +1 -0
  283. package/dist/shell/phone/scroll-restoration.d.ts +7 -0
  284. package/dist/shell/phone/scroll-restoration.d.ts.map +1 -0
  285. package/dist/shell/phone/startup-image.d.ts +17 -0
  286. package/dist/shell/phone/startup-image.d.ts.map +1 -0
  287. package/dist/shell/phone/tab-bar.d.ts +14 -0
  288. package/dist/shell/phone/tab-bar.d.ts.map +1 -0
  289. package/dist/shell/phone/top-bar.d.ts +24 -0
  290. package/dist/shell/phone/top-bar.d.ts.map +1 -0
  291. package/dist/shell/search-command.d.ts +3 -1
  292. package/dist/shell/search-command.d.ts.map +1 -1
  293. package/dist/shell/user-menu.d.ts +2 -0
  294. package/dist/shell/user-menu.d.ts.map +1 -1
  295. package/package.json +8 -5
  296. package/src/agent/activity-label.ts +6 -2
  297. package/src/agent/agent-chat.tsx +51 -8
  298. package/src/agent/agent-panel.tsx +12 -0
  299. package/src/agent/agent-surface.tsx +4 -0
  300. package/src/agent/agent.css +18 -0
  301. package/src/agent/artifact-card.tsx +84 -16
  302. package/src/agent/artifact-panel.tsx +63 -43
  303. package/src/agent/background/background-card.tsx +308 -0
  304. package/src/agent/background/background-tool-row.tsx +58 -0
  305. package/src/agent/background/context.ts +26 -0
  306. package/src/agent/background/interpret.ts +356 -0
  307. package/src/agent/bash/bash-tool-view.tsx +9 -4
  308. package/src/agent/bash/interpret.ts +21 -3
  309. package/src/agent/components/agent-message-body.tsx +1 -1
  310. package/src/agent/components/composer-menu.tsx +4 -1
  311. package/src/agent/components/composer-place.tsx +168 -0
  312. package/src/agent/components/composer.tsx +101 -3
  313. package/src/agent/components/computer-place.tsx +18 -1
  314. package/src/agent/components/context-chips.tsx +72 -2
  315. package/src/agent/components/conversation-panel.tsx +3 -2
  316. package/src/agent/components/message-parts.tsx +6 -1
  317. package/src/agent/components/thread-artifacts-menu.tsx +22 -5
  318. package/src/agent/components/transcript.tsx +33 -1
  319. package/src/agent/components/web-fetch-tool-view.tsx +94 -29
  320. package/src/agent/composer-insertion.ts +36 -0
  321. package/src/agent/delegation/child-parts.tsx +1 -1
  322. package/src/agent/hooks/use-agent-conversation.ts +101 -8
  323. package/src/agent/hooks/use-new-thread-place.ts +294 -0
  324. package/src/agent/i18n/en.ts +70 -3
  325. package/src/agent/i18n/fr.ts +70 -3
  326. package/src/agent/observed-conversation.tsx +3 -0
  327. package/src/agent/publish-artifact/interpret.ts +27 -5
  328. package/src/agent/publish-artifact/open-artifact-tool-view.tsx +49 -0
  329. package/src/agent/publish-artifact/publish-artifact-tool-view.tsx +14 -8
  330. package/src/agent/publish-artifact/use-live-publishes.ts +7 -11
  331. package/src/agent/react-router.tsx +2 -2
  332. package/src/agent/tool-views/built-in.tsx +29 -11
  333. package/src/agent/types.ts +4 -0
  334. package/src/agent/utils/web-fetch.ts +89 -10
  335. package/src/agent/utils/web-search.ts +67 -28
  336. package/src/artifacts/artifact-page.tsx +42 -17
  337. package/src/artifacts/artifact-viewer.tsx +56 -0
  338. package/src/artifacts/artifacts.css +80 -0
  339. package/src/artifacts/card-details.ts +2 -2
  340. package/src/artifacts/card-preview.tsx +17 -3
  341. package/src/artifacts/comments-context.ts +125 -0
  342. package/src/artifacts/edit-session.tsx +6 -6
  343. package/src/artifacts/file-source.ts +10 -3
  344. package/src/artifacts/frame.tsx +50 -12
  345. package/src/artifacts/gallery.tsx +9 -11
  346. package/src/artifacts/guest-badge.tsx +21 -0
  347. package/src/artifacts/held-artifact.tsx +241 -0
  348. package/src/artifacts/holders.tsx +170 -0
  349. package/src/artifacts/live/boards.ts +95 -0
  350. package/src/artifacts/live/canvas.ts +402 -0
  351. package/src/artifacts/live/header.tsx +137 -0
  352. package/src/artifacts/live/hooks.ts +94 -0
  353. package/src/artifacts/live/presence.ts +147 -0
  354. package/src/artifacts/live/session.ts +520 -0
  355. package/src/artifacts/live/view.ts +81 -0
  356. package/src/artifacts/messages.ts +415 -24
  357. package/src/artifacts/page-queries.ts +2 -3
  358. package/src/artifacts/page-state.ts +16 -7
  359. package/src/artifacts/publish-edit.ts +50 -22
  360. package/src/artifacts/queries.ts +108 -10
  361. package/src/artifacts/references/references.tsx +6 -9
  362. package/src/artifacts/renderers/canvas/arrows.tsx +12 -39
  363. package/src/artifacts/renderers/canvas/board-editor.tsx +817 -0
  364. package/src/artifacts/renderers/canvas/board-properties.tsx +488 -0
  365. package/src/artifacts/renderers/canvas/board-source.ts +110 -0
  366. package/src/artifacts/renderers/canvas/board.tsx +309 -33
  367. package/src/artifacts/renderers/canvas/canvas.tsx +387 -72
  368. package/src/artifacts/renderers/canvas/comment-pins.tsx +465 -0
  369. package/src/artifacts/renderers/canvas/commenting.tsx +319 -0
  370. package/src/artifacts/renderers/canvas/comments-panel.tsx +574 -0
  371. package/src/artifacts/renderers/canvas/comments.ts +225 -0
  372. package/src/artifacts/renderers/canvas/draft.ts +41 -50
  373. package/src/artifacts/renderers/canvas/edit-mode.tsx +145 -20
  374. package/src/artifacts/renderers/canvas/focus.tsx +175 -24
  375. package/src/artifacts/renderers/canvas/items.tsx +179 -52
  376. package/src/artifacts/renderers/canvas/layout.ts +99 -47
  377. package/src/artifacts/renderers/canvas/presence.tsx +184 -0
  378. package/src/artifacts/renderers/canvas/previews.ts +127 -0
  379. package/src/artifacts/renderers/canvas/renderer.tsx +87 -22
  380. package/src/artifacts/renderers/canvas/thumbnail.tsx +56 -15
  381. package/src/artifacts/renderers/canvas/toolbar.tsx +1 -1
  382. package/src/artifacts/renderers/slides/slides.tsx +1 -1
  383. package/src/artifacts/version-menu.tsx +438 -0
  384. package/src/artifacts/view-context.ts +102 -0
  385. package/src/artifacts/viewer.tsx +205 -147
  386. package/src/build.ts +96 -11
  387. package/src/codegen.ts +83 -5
  388. package/src/createCustomApp.ts +20 -7
  389. package/src/index.ts +12 -0
  390. package/src/locale-messages.ts +24 -0
  391. package/src/metadata.ts +12 -0
  392. package/src/pages/console/action-run.tsx +20 -0
  393. package/src/pages/console/data/connectors.tsx +27 -3
  394. package/src/pages/console/data/datasets.tsx +30 -1
  395. package/src/pages/console/data/lake-health.tsx +299 -0
  396. package/src/pages/console/data/messages.ts +143 -2
  397. package/src/pages/console/data/pipelines.tsx +91 -3
  398. package/src/pages/console/data/projections.tsx +23 -4
  399. package/src/pages/console/data/shared.tsx +1 -0
  400. package/src/pages/console/data/syncs.tsx +39 -2
  401. package/src/pages/console/ontology/action-runs.tsx +8 -2
  402. package/src/pages/console/ontology/actions.tsx +39 -15
  403. package/src/pages/console/ontology/components/action-button.tsx +10 -0
  404. package/src/pages/console/ontology/components/artifact-picker.tsx +522 -0
  405. package/src/pages/console/ontology/components/object-query-bar.tsx +21 -5
  406. package/src/pages/console/ontology/lib/action-params.ts +10 -0
  407. package/src/pages/console/ontology/lineage/properties-panel.tsx +32 -24
  408. package/src/pages/console/ontology/object-page.tsx +2 -0
  409. package/src/pages/console/ontology/object-type.tsx +73 -14
  410. package/src/pages/console/ontology/object-types.tsx +56 -7
  411. package/src/pages/console/ontology/objects.tsx +167 -19
  412. package/src/pages/console/ontology/rules.tsx +186 -30
  413. package/src/pages/console/ontology/workflow.tsx +130 -74
  414. package/src/pages/console/ontology/workflows/run-input-form.tsx +21 -2
  415. package/src/pages/console/ontology/workflows/schema-shape.tsx +3 -0
  416. package/src/pages/console/ontology/workflows.tsx +34 -21
  417. package/src/pages/console/skeletons.tsx +99 -0
  418. package/src/pages/console/workflow-run.tsx +20 -0
  419. package/src/pages/section-page.tsx +37 -7
  420. package/src/pages/section-ui.tsx +96 -13
  421. package/src/pages/settings/activity/calendar.tsx +13 -6
  422. package/src/pages/settings/activity/connections.tsx +26 -9
  423. package/src/pages/settings/activity/page.tsx +31 -4
  424. package/src/pages/settings/activity/thread.tsx +32 -18
  425. package/src/pages/settings/activity/timeline.tsx +39 -0
  426. package/src/pages/settings/controls.tsx +19 -1
  427. package/src/pages/settings/developers.tsx +2 -2
  428. package/src/pages/settings/members.tsx +42 -9
  429. package/src/pages/settings/memory-history.tsx +76 -10
  430. package/src/pages/settings/memory.tsx +47 -5
  431. package/src/pages/settings/service-accounts.tsx +7 -2
  432. package/src/pages/settings/sessions.tsx +6 -2
  433. package/src/pages/settings/usage/breakdown.tsx +62 -2
  434. package/src/pages/settings/usage/limits.tsx +45 -3
  435. package/src/pages/settings/usage/messages.ts +2 -2
  436. package/src/pages/settings/usage/page.tsx +99 -52
  437. package/src/pages/settings/usage/runs.tsx +105 -8
  438. package/src/pages/settings/usage/spend-chart.tsx +79 -45
  439. package/src/pages/settings/usage/spend-model.ts +17 -0
  440. package/src/pages/values.tsx +72 -6
  441. package/src/pages.ts +4 -0
  442. package/src/sections/catalog.ts +6 -0
  443. package/src/sections/sections.tsx +2 -0
  444. package/src/service-worker.ts +176 -0
  445. package/src/shared-session.ts +73 -0
  446. package/src/shell/app-return.ts +115 -0
  447. package/src/shell/app-shell.tsx +125 -27
  448. package/src/shell/nav-items.tsx +2 -0
  449. package/src/shell/phone/back.ts +16 -0
  450. package/src/shell/phone/launch.ts +6 -0
  451. package/src/shell/phone/more-sheet.tsx +249 -0
  452. package/src/shell/phone/phone-foundations.tsx +43 -0
  453. package/src/shell/phone/phone.css +660 -0
  454. package/src/shell/phone/pull-to-refresh.tsx +201 -0
  455. package/src/shell/phone/routes.ts +34 -0
  456. package/src/shell/phone/screen-motion.ts +292 -0
  457. package/src/shell/phone/scroll-restoration.tsx +70 -0
  458. package/src/shell/phone/startup-image.ts +119 -0
  459. package/src/shell/phone/tab-bar.tsx +95 -0
  460. package/src/shell/phone/top-bar.tsx +195 -0
  461. package/src/shell/search-command.tsx +30 -14
  462. package/src/shell/user-menu.tsx +2 -1
  463. package/dist/chunk-4mprsd2n.js.map +0 -10
  464. package/dist/chunk-fw2bm6dq.js.map +0 -182
  465. package/dist/chunk-zxthr2q5.js +0 -1487
  466. package/dist/chunk-zxthr2q5.js.map +0 -18
  467. /package/dist/{chunk-j9653e83.js.map → chunk-fwb9mxwm.js.map} +0 -0
  468. /package/dist/{chunk-km25essq.js.map → chunk-kes4ygmz.js.map} +0 -0
  469. /package/dist/{chunk-kwbw4dyk.js.map → chunk-ryed2jq8.js.map} +0 -0
@@ -26,6 +26,7 @@ export declare const useAgentMessages: () => {
26
26
  busy: string;
27
27
  busyOther: string;
28
28
  sandboxUnavailable: string;
29
+ computerUnavailable: string;
29
30
  retryFailed: string;
30
31
  stopFailed: string;
31
32
  removed: string;
@@ -94,6 +95,9 @@ export declare const useAgentMessages: () => {
94
95
  searching: string;
95
96
  empty: (query: string) => string;
96
97
  remove: (label: string) => string;
98
+ showComments: (label: string) => string;
99
+ someone: string;
100
+ replies: (count: number) => string;
97
101
  unnamed: string;
98
102
  };
99
103
  models: {
@@ -366,10 +370,15 @@ export declare const useAgentMessages: () => {
366
370
  results: (results: number) => string;
367
371
  webPage: string;
368
372
  reading: (domain: string) => string;
373
+ asking: (domain: string) => string;
369
374
  read: (domain: string) => string;
370
375
  reviewing: (domain: string) => string;
371
376
  readFailed: (domain: string) => string;
372
377
  pageError: string;
378
+ redirectedTo: (domain: string) => string;
379
+ answerFailed: string;
380
+ answerTruncated: string;
381
+ truncated: string;
373
382
  noPageText: string;
374
383
  openPage: string;
375
384
  newTab: string;
@@ -427,6 +436,7 @@ export declare const useAgentMessages: () => {
427
436
  };
428
437
  bash: {
429
438
  preparing: string;
439
+ timedOut: (duration: string) => string;
430
440
  steps: {
431
441
  title: (steps: number) => string;
432
442
  running: (steps: number) => string;
@@ -801,6 +811,13 @@ export declare const useAgentMessages: () => {
801
811
  publishing: (title: string) => string;
802
812
  published: (title: string) => string;
803
813
  publishFailed: (title: string) => string;
814
+ updating: (title: string) => string;
815
+ updated: (title: string) => string;
816
+ updateFailed: (title: string) => string;
817
+ opening: (title: string) => string;
818
+ opened: (title: string) => string;
819
+ openFailed: (title: string) => string;
820
+ changed: string;
804
821
  open: (title: string) => string;
805
822
  cards: string;
806
823
  close: string;
@@ -820,12 +837,58 @@ export declare const useAgentMessages: () => {
820
837
  create: string;
821
838
  ownerOnly: (owner: string) => string;
822
839
  };
840
+ background: {
841
+ card: (command: string) => string;
842
+ starting: string;
843
+ running: string;
844
+ waiting: string;
845
+ reading: string;
846
+ stopping: string;
847
+ exited: (code: number) => string;
848
+ stopped: string;
849
+ stoppedWithTurn: string;
850
+ stoppedWithSixb: string;
851
+ unknown: string;
852
+ unreachable: string;
853
+ stop: string;
854
+ stopHint: string;
855
+ stopFailed: string;
856
+ output: string;
857
+ lines: (lines: number) => string;
858
+ earlierOutput: (path: string) => string;
859
+ rows: {
860
+ start: {
861
+ title: string;
862
+ running: string;
863
+ };
864
+ read: {
865
+ title: string;
866
+ running: string;
867
+ };
868
+ wait: {
869
+ title: string;
870
+ running: string;
871
+ };
872
+ stop: {
873
+ title: string;
874
+ running: string;
875
+ };
876
+ };
877
+ };
823
878
  computer: {
824
879
  online: string;
825
880
  offline: string;
826
881
  offlineNotice: (computer: string, folder: string) => string;
827
882
  noFolder: string;
883
+ offlineHere: (folder: string) => string;
884
+ runHere: string;
828
885
  waitingFor: (computer: string) => string;
886
+ placeTitle: string;
887
+ placeChip: (place: string) => string;
888
+ cloud: string;
889
+ chooseFolder: string;
890
+ chooseFolderShort: string;
891
+ forgetFolder: (folder: string) => string;
829
892
  continueInCloud: string;
830
893
  moving: string;
831
894
  moveFailed: string;
@@ -989,6 +1052,7 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
989
1052
  busy: string;
990
1053
  busyOther: string;
991
1054
  sandboxUnavailable: string;
1055
+ computerUnavailable: string;
992
1056
  retryFailed: string;
993
1057
  stopFailed: string;
994
1058
  removed: string;
@@ -1057,6 +1121,9 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1057
1121
  searching: string;
1058
1122
  empty: (query: string) => string;
1059
1123
  remove: (label: string) => string;
1124
+ showComments: (label: string) => string;
1125
+ someone: string;
1126
+ replies: (count: number) => string;
1060
1127
  unnamed: string;
1061
1128
  };
1062
1129
  models: {
@@ -1329,10 +1396,15 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1329
1396
  results: (results: number) => string;
1330
1397
  webPage: string;
1331
1398
  reading: (domain: string) => string;
1399
+ asking: (domain: string) => string;
1332
1400
  read: (domain: string) => string;
1333
1401
  reviewing: (domain: string) => string;
1334
1402
  readFailed: (domain: string) => string;
1335
1403
  pageError: string;
1404
+ redirectedTo: (domain: string) => string;
1405
+ answerFailed: string;
1406
+ answerTruncated: string;
1407
+ truncated: string;
1336
1408
  noPageText: string;
1337
1409
  openPage: string;
1338
1410
  newTab: string;
@@ -1390,6 +1462,7 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1390
1462
  };
1391
1463
  bash: {
1392
1464
  preparing: string;
1465
+ timedOut: (duration: string) => string;
1393
1466
  steps: {
1394
1467
  title: (steps: number) => string;
1395
1468
  running: (steps: number) => string;
@@ -1764,6 +1837,13 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1764
1837
  publishing: (title: string) => string;
1765
1838
  published: (title: string) => string;
1766
1839
  publishFailed: (title: string) => string;
1840
+ updating: (title: string) => string;
1841
+ updated: (title: string) => string;
1842
+ updateFailed: (title: string) => string;
1843
+ opening: (title: string) => string;
1844
+ opened: (title: string) => string;
1845
+ openFailed: (title: string) => string;
1846
+ changed: string;
1767
1847
  open: (title: string) => string;
1768
1848
  cards: string;
1769
1849
  close: string;
@@ -1783,12 +1863,58 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1783
1863
  create: string;
1784
1864
  ownerOnly: (owner: string) => string;
1785
1865
  };
1866
+ background: {
1867
+ card: (command: string) => string;
1868
+ starting: string;
1869
+ running: string;
1870
+ waiting: string;
1871
+ reading: string;
1872
+ stopping: string;
1873
+ exited: (code: number) => string;
1874
+ stopped: string;
1875
+ stoppedWithTurn: string;
1876
+ stoppedWithSixb: string;
1877
+ unknown: string;
1878
+ unreachable: string;
1879
+ stop: string;
1880
+ stopHint: string;
1881
+ stopFailed: string;
1882
+ output: string;
1883
+ lines: (lines: number) => string;
1884
+ earlierOutput: (path: string) => string;
1885
+ rows: {
1886
+ start: {
1887
+ title: string;
1888
+ running: string;
1889
+ };
1890
+ read: {
1891
+ title: string;
1892
+ running: string;
1893
+ };
1894
+ wait: {
1895
+ title: string;
1896
+ running: string;
1897
+ };
1898
+ stop: {
1899
+ title: string;
1900
+ running: string;
1901
+ };
1902
+ };
1903
+ };
1786
1904
  computer: {
1787
1905
  online: string;
1788
1906
  offline: string;
1789
1907
  offlineNotice: (computer: string, folder: string) => string;
1790
1908
  noFolder: string;
1909
+ offlineHere: (folder: string) => string;
1910
+ runHere: string;
1791
1911
  waitingFor: (computer: string) => string;
1912
+ placeTitle: string;
1913
+ placeChip: (place: string) => string;
1914
+ cloud: string;
1915
+ chooseFolder: string;
1916
+ chooseFolderShort: string;
1917
+ forgetFolder: (folder: string) => string;
1792
1918
  continueInCloud: string;
1793
1919
  moving: string;
1794
1920
  moveFailed: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agent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;AAOD,iFAAiF;AACjF,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAGhF"}
@@ -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 isUpdateTool(toolName: string): 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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AAE,MAAM,CAAA;IAC1B,2FAA2F;IAC3F,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAA;IACvB,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,CA+BhF;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;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"}
@@ -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;AAItC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAgD9C,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;AAOtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AA+D9C,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,M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coerceWebFetchOutput(value: unknown): WebSource | null;
2
+ /** A `web_fetch` result, as the chat shows it. */
3
+ export interface WebFetchPage {
4
+ readonly source: WebSource;
5
+ /** What the agent asked about the page. */
6
+ readonly question?: string;
7
+ readonly answer?: string;
8
+ /** The answer stopped at its length limit: its end may be missing. */
9
+ readonly answerTruncated: boolean;
10
+ /** The question went unanswered: the preview stands in for the answer. */
11
+ readonly answerFailed: boolean;
12
+ /** The start of the page, or all of it when it is short. */
13
+ readonly preview?: string;
14
+ /**
15
+ * Another site the address sent the agent to, which it did not follow. Its host stays whole:
16
+ * `example.com` sending to `www.example.com` would otherwise read as a redirect to itself.
17
+ */
18
+ readonly redirect?: {
19
+ readonly url: string;
20
+ readonly domain: string;
21
+ };
22
+ readonly status?: number;
23
+ readonly contentType?: string;
24
+ readonly bytes?: number;
25
+ readonly truncated: boolean;
26
+ }
27
+ /**
28
+ * Recognize a `web_fetch` output: Sixb's (`source`, `answer`, `preview`), and the Exa tool's that
29
+ * older threads stored (`title`, `url`, `content`).
30
+ */
31
+ export declare function coerceWebFetchOutput(value: unknown): WebFetchPage | null;
32
+ /** The page a `web_fetch` read, as a source; none when it only pointed elsewhere or failed. */
33
+ export declare function webFetchSource(value: unknown): WebSource | null;
3
34
  export declare function webFetchUrl(input: unknown): URL | null;
35
+ export declare function webFetchQuestion(input: unknown): string | undefined;
4
36
  //# sourceMappingURL=web-fetch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"web-fetch.d.ts","sourceRoot":"","sources":["../../../src/agent/utils/web-fetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAEpE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAGrE;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,GAAG,GAAG,IAAI,CAQtD"}
1
+ {"version":3,"file":"web-fetch.d.ts","sourceRoot":"","sources":["../../../src/agent/utils/web-fetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,SAAS,EAAa,MAAM,cAAc,CAAA;AAEjE,kDAAkD;AAClD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAA;IAC1B,2CAA2C;IAC3C,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,sEAAsE;IACtE,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAA;IACjC,0EAA0E;IAC1E,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;IAC9B,4DAA4D;IAC5D,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;IAErE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;CAC5B;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,IAAI,CAuCxE;AAED,+FAA+F;AAC/F,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAK/D;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,GAAG,GAAG,IAAI,CAGtD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAEnE"}
@@ -12,9 +12,21 @@ export interface WebSource {
12
12
  }
13
13
  /** A publication date in the reader's language. Sources publish calendar dates, read in UTC. */
14
14
  export declare function formatPublicationDate(value: string, locale: string): string;
15
- /** Recognize the bounded Exa web_search output, without depending on the connector package. */
15
+ /**
16
+ * Recognize a `web_search` output: Sixb's hits (`snippet`, `publishedAt`), and the Exa tool's
17
+ * that older threads stored (`text`, `author`, `publishedDate`).
18
+ */
16
19
  export declare function coerceWebSearchOutput(value: unknown): readonly WebSource[] | null;
20
+ /** A page as a source, or null when its link is not a plain web address. */
21
+ export declare function webSource(url: string, title: string, text: string): WebSource | null;
22
+ /** A host as people read it: without the `www.` prefix. */
23
+ export declare function displayDomain(url: URL): string;
17
24
  export declare function webSearchQuery(input: unknown): string | undefined;
18
- /** Keep provider order and the first occurrence; separate pages on one domain remain separate. */
25
+ /**
26
+ * Keep provider order and the first occurrence; separate pages on one domain remain separate. A
27
+ * page the agent read counts too, unless it only pointed elsewhere.
28
+ */
19
29
  export declare function collectWebSources(parts: readonly NormalizedPart[]): readonly WebSource[];
30
+ /** A plain web address: http or https, with no credentials in it. */
31
+ export declare function httpUrl(value: string): URL | null;
20
32
  //# sourceMappingURL=web-search.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"web-search.d.ts","sourceRoot":"","sources":["../../../src/agent/utils/web-search.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,8EAA8E;IAC9E,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CA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I,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAcpF;AAED,2DAA2D;AAC3D,wBAAgB,aAAa,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAE9C;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAEjE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,GAAG,SAAS,SAAS,EAAE,CAmBxF;AAED,qEAAqE;AACrE,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,CAQjD"}
@@ -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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D;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":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AE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACzC,QAAQ,CAAC,OAAO,EAAE,SAAS;QACzB,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAA;QAC7B,QAAQ,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,CAAA;KACzC,EAAE,CAAA;CACJ,GAAG;IAAE,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAiCjE;AAED,uFAAuF;AACvF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,GAAG,oBAAoB,GAAG,IAAI,CA6B3F"}
@@ -1,4 +1,4 @@
1
- import type { PublishArtifactVersionResponse } from "@sixb/client";
1
+ import type { UpdateArtifactResponse } from "@sixb/client";
2
2
  import type { QueryClient } from "@tanstack/react-query";
3
3
  import { type ReactNode } from "react";
4
4
  import { type ArtifactVersion } from "./queries";
@@ -25,12 +25,12 @@ export declare function useArtifactEditing(): boolean;
25
25
  /** Tells the viewer what the renderer's draft holds, for the header's Save. */
26
26
  export declare function useReportDraft(draft: ArtifactDraft | null): void;
27
27
  /**
28
- * Publishes a draft as the artifact's next version, and fills the cache with it: the new version,
29
- * and each file's text, the changed ones from the draft and the rest from the version edited, so
30
- * the new version opens at once, without reading again what the reader already has.
28
+ * Saves a draft as the artifact's latest, and fills the cache with what it saved: the version, and
29
+ * each file's text, the changed ones from the draft and the rest from the version edited, so it
30
+ * shows at once, without reading again what the reader already has.
31
31
  */
32
32
  export declare function saveDraft(queries: QueryClient, version: ArtifactVersion, draft: ArtifactDraft, options?: {
33
- readonly baseVersion?: number;
34
- }): Promise<PublishArtifactVersionResponse>;
33
+ readonly baseRevision?: number;
34
+ }): Promise<UpdateArtifactResponse>;
35
35
  export {};
36
36
  //# sourceMappingURL=edit-session.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"edit-session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