@sixb/app 0.2.4 → 0.2.5

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 (247) hide show
  1. package/assets/connector-icons/README.md +1 -0
  2. package/assets/connector-icons/ctm.png +0 -0
  3. package/dist/agent/activity-label.d.ts.map +1 -1
  4. package/dist/agent/agent-chat.d.ts +3 -1
  5. package/dist/agent/agent-chat.d.ts.map +1 -1
  6. package/dist/agent/agent-panel.d.ts.map +1 -1
  7. package/dist/agent/artifact-panel.d.ts +3 -1
  8. package/dist/agent/artifact-panel.d.ts.map +1 -1
  9. package/dist/agent/components/composer-settings.d.ts +1 -1
  10. package/dist/agent/components/composer-settings.d.ts.map +1 -1
  11. package/dist/agent/components/composer.d.ts +22 -5
  12. package/dist/agent/components/composer.d.ts.map +1 -1
  13. package/dist/agent/components/context-meter.d.ts +1 -1
  14. package/dist/agent/components/context-meter.d.ts.map +1 -1
  15. package/dist/agent/components/conversation-panel.d.ts +5 -2
  16. package/dist/agent/components/conversation-panel.d.ts.map +1 -1
  17. package/dist/agent/components/message-parts.d.ts +2 -1
  18. package/dist/agent/components/message-parts.d.ts.map +1 -1
  19. package/dist/agent/components/message-view.d.ts.map +1 -1
  20. package/dist/agent/components/pending-messages.d.ts +20 -0
  21. package/dist/agent/components/pending-messages.d.ts.map +1 -0
  22. package/dist/agent/components/sandbox-recovery.d.ts +11 -2
  23. package/dist/agent/components/sandbox-recovery.d.ts.map +1 -1
  24. package/dist/agent/components/threads-button.d.ts +1 -1
  25. package/dist/agent/components/threads-button.d.ts.map +1 -1
  26. package/dist/agent/components/transcript.d.ts.map +1 -1
  27. package/dist/agent/conversation.d.ts +3 -6
  28. package/dist/agent/conversation.d.ts.map +1 -1
  29. package/dist/agent/delegation/interpret.d.ts +5 -0
  30. package/dist/agent/delegation/interpret.d.ts.map +1 -1
  31. package/dist/agent/delegation/use-children.d.ts.map +1 -1
  32. package/dist/agent/hooks/use-agent-conversation.d.ts +10 -4
  33. package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
  34. package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -1
  35. package/dist/agent/hooks/use-thread-stream.d.ts.map +1 -1
  36. package/dist/agent/i18n/en.d.ts +68 -0
  37. package/dist/agent/i18n/en.d.ts.map +1 -1
  38. package/dist/agent/i18n/fr.d.ts.map +1 -1
  39. package/dist/agent/i18n/index.d.ts +114 -0
  40. package/dist/agent/i18n/index.d.ts.map +1 -1
  41. package/dist/agent/inbox-handoff.d.ts +10 -0
  42. package/dist/agent/inbox-handoff.d.ts.map +1 -0
  43. package/dist/agent/live-run.d.ts +8 -1
  44. package/dist/agent/live-run.d.ts.map +1 -1
  45. package/dist/agent/search/interpret.d.ts +101 -0
  46. package/dist/agent/search/interpret.d.ts.map +1 -0
  47. package/dist/agent/search/search-tool-view.d.ts +10 -0
  48. package/dist/agent/search/search-tool-view.d.ts.map +1 -0
  49. package/dist/agent/thread-state.d.ts +26 -0
  50. package/dist/agent/thread-state.d.ts.map +1 -0
  51. package/dist/agent/tool-views/built-in.d.ts.map +1 -1
  52. package/dist/agent/tool-views/registry.d.ts +5 -6
  53. package/dist/agent/tool-views/registry.d.ts.map +1 -1
  54. package/dist/agent/types.d.ts +5 -1
  55. package/dist/agent/types.d.ts.map +1 -1
  56. package/dist/agent/view-file/view-file-tool-view.d.ts +2 -1
  57. package/dist/agent/view-file/view-file-tool-view.d.ts.map +1 -1
  58. package/dist/artifacts/card-preview.d.ts.map +1 -1
  59. package/dist/artifacts/editor/block-handle.d.ts +20 -0
  60. package/dist/artifacts/editor/block-handle.d.ts.map +1 -0
  61. package/dist/artifacts/editor/blocks.d.ts +34 -0
  62. package/dist/artifacts/editor/blocks.d.ts.map +1 -0
  63. package/dist/artifacts/editor/callout-view.d.ts +7 -0
  64. package/dist/artifacts/editor/callout-view.d.ts.map +1 -0
  65. package/dist/artifacts/editor/document-editor.d.ts +30 -0
  66. package/dist/artifacts/editor/document-editor.d.ts.map +1 -0
  67. package/dist/artifacts/editor/figure-view.d.ts +12 -0
  68. package/dist/artifacts/editor/figure-view.d.ts.map +1 -0
  69. package/dist/artifacts/editor/find-blocks.d.ts +6 -0
  70. package/dist/artifacts/editor/find-blocks.d.ts.map +1 -0
  71. package/dist/artifacts/editor/markdown-document.d.ts +12 -0
  72. package/dist/artifacts/editor/markdown-document.d.ts.map +1 -0
  73. package/dist/artifacts/editor/messages.d.ts +4 -0
  74. package/dist/artifacts/editor/messages.d.ts.map +1 -0
  75. package/dist/artifacts/editor/schema.d.ts +21 -0
  76. package/dist/artifacts/editor/schema.d.ts.map +1 -0
  77. package/dist/artifacts/editor/selection-toolbar.d.ts +35 -0
  78. package/dist/artifacts/editor/selection-toolbar.d.ts.map +1 -0
  79. package/dist/artifacts/editor/slash-menu.d.ts +43 -0
  80. package/dist/artifacts/editor/slash-menu.d.ts.map +1 -0
  81. package/dist/artifacts/editor/upload.d.ts +12 -0
  82. package/dist/artifacts/editor/upload.d.ts.map +1 -0
  83. package/dist/artifacts/file-source.d.ts +5 -0
  84. package/dist/artifacts/file-source.d.ts.map +1 -1
  85. package/dist/artifacts/frame-editor/bundle.d.ts +7 -0
  86. package/dist/artifacts/frame-editor/bundle.d.ts.map +1 -0
  87. package/dist/artifacts/frame-editor/commands.d.ts +93 -0
  88. package/dist/artifacts/frame-editor/commands.d.ts.map +1 -0
  89. package/dist/artifacts/frame-editor/entry.d.ts +2 -0
  90. package/dist/artifacts/frame-editor/entry.d.ts.map +1 -0
  91. package/dist/artifacts/frame-editor/frame.d.ts +5 -0
  92. package/dist/artifacts/frame-editor/frame.d.ts.map +1 -0
  93. package/dist/artifacts/frame-editor/keys.d.ts +8 -0
  94. package/dist/artifacts/frame-editor/keys.d.ts.map +1 -0
  95. package/dist/artifacts/frame-editor/protocol.d.ts +186 -0
  96. package/dist/artifacts/frame-editor/protocol.d.ts.map +1 -0
  97. package/dist/artifacts/frame-editor/schema.d.ts +34 -0
  98. package/dist/artifacts/frame-editor/schema.d.ts.map +1 -0
  99. package/dist/artifacts/frame-editor/style.d.ts +2 -0
  100. package/dist/artifacts/frame-editor/style.d.ts.map +1 -0
  101. package/dist/artifacts/frame.d.ts +2 -2
  102. package/dist/artifacts/frame.d.ts.map +1 -1
  103. package/dist/artifacts/live/boards.d.ts +2 -0
  104. package/dist/artifacts/live/boards.d.ts.map +1 -1
  105. package/dist/artifacts/live/document.d.ts +32 -0
  106. package/dist/artifacts/live/document.d.ts.map +1 -0
  107. package/dist/artifacts/live/header.d.ts +4 -4
  108. package/dist/artifacts/live/header.d.ts.map +1 -1
  109. package/dist/artifacts/live/presence.d.ts.map +1 -1
  110. package/dist/artifacts/live/session.d.ts +2 -0
  111. package/dist/artifacts/live/session.d.ts.map +1 -1
  112. package/dist/artifacts/live/view.d.ts +4 -3
  113. package/dist/artifacts/live/view.d.ts.map +1 -1
  114. package/dist/artifacts/messages.d.ts +226 -2
  115. package/dist/artifacts/messages.d.ts.map +1 -1
  116. package/dist/artifacts/pdf.d.ts +8 -0
  117. package/dist/artifacts/pdf.d.ts.map +1 -0
  118. package/dist/artifacts/queries.d.ts +80 -0
  119. package/dist/artifacts/queries.d.ts.map +1 -1
  120. package/dist/artifacts/references/references.d.ts +3 -3
  121. package/dist/artifacts/references/references.d.ts.map +1 -1
  122. package/dist/artifacts/renderers/canvas/board-editor.d.ts.map +1 -1
  123. package/dist/artifacts/renderers/canvas/comment-pins.d.ts +4 -2
  124. package/dist/artifacts/renderers/canvas/comment-pins.d.ts.map +1 -1
  125. package/dist/artifacts/renderers/canvas/comments-panel.d.ts.map +1 -1
  126. package/dist/artifacts/renderers/canvas/comments.d.ts +2 -1
  127. package/dist/artifacts/renderers/canvas/comments.d.ts.map +1 -1
  128. package/dist/artifacts/renderers/designed-document.d.ts +28 -0
  129. package/dist/artifacts/renderers/designed-document.d.ts.map +1 -0
  130. package/dist/artifacts/renderers/document-tree.d.ts +2 -0
  131. package/dist/artifacts/renderers/document-tree.d.ts.map +1 -1
  132. package/dist/artifacts/renderers/document.d.ts +9 -1
  133. package/dist/artifacts/renderers/document.d.ts.map +1 -1
  134. package/dist/artifacts/renderers/live-frame.d.ts +145 -0
  135. package/dist/artifacts/renderers/live-frame.d.ts.map +1 -0
  136. package/dist/artifacts/renderers/page-editor.d.ts +16 -0
  137. package/dist/artifacts/renderers/page-editor.d.ts.map +1 -0
  138. package/dist/artifacts/renderers/page.d.ts +10 -1
  139. package/dist/artifacts/renderers/page.d.ts.map +1 -1
  140. package/dist/artifacts/viewer.d.ts.map +1 -1
  141. package/dist/{chunk-kymx9y5e.js → chunk-4fex83k2.js} +10874 -4690
  142. package/dist/chunk-4fex83k2.js.map +239 -0
  143. package/dist/{chunk-yrcm1pbg.js → chunk-4wm09prf.js} +491 -2128
  144. package/dist/chunk-4wm09prf.js.map +27 -0
  145. package/dist/{chunk-pxd07kvx.js → chunk-5sgac68y.js} +1 -1
  146. package/dist/{chunk-970s5nkn.js → chunk-69qgh20f.js} +1 -1
  147. package/dist/chunk-y51c4tsz.js +11 -0
  148. package/dist/chunk-y51c4tsz.js.map +10 -0
  149. package/dist/index.d.ts +2 -1
  150. package/dist/index.d.ts.map +1 -1
  151. package/dist/index.js +11 -6
  152. package/dist/index.js.map +5 -5
  153. package/dist/pages/console/data/messages.d.ts +6 -0
  154. package/dist/pages/console/data/messages.d.ts.map +1 -1
  155. package/dist/pages/console/data/shared.d.ts.map +1 -1
  156. package/dist/pages.js +12 -5
  157. package/dist/pages.js.map +6 -6
  158. package/dist/shell/search-command.d.ts.map +1 -1
  159. package/package.json +22 -5
  160. package/src/agent/activity-label.ts +3 -0
  161. package/src/agent/agent-chat.tsx +56 -37
  162. package/src/agent/agent-execution-trace.tsx +2 -2
  163. package/src/agent/agent-panel.tsx +6 -4
  164. package/src/agent/agent.css +254 -0
  165. package/src/agent/artifact-panel.tsx +77 -22
  166. package/src/agent/components/composer-settings.tsx +20 -10
  167. package/src/agent/components/composer.tsx +342 -104
  168. package/src/agent/components/context-meter.tsx +7 -3
  169. package/src/agent/components/conversation-panel.tsx +69 -29
  170. package/src/agent/components/message-parts.tsx +367 -59
  171. package/src/agent/components/message-view.tsx +12 -2
  172. package/src/agent/components/pending-messages.tsx +338 -0
  173. package/src/agent/components/sandbox-recovery.tsx +36 -17
  174. package/src/agent/components/threads-button.tsx +3 -2
  175. package/src/agent/components/transcript.tsx +63 -34
  176. package/src/agent/conversation.ts +203 -54
  177. package/src/agent/delegation/interpret.ts +31 -7
  178. package/src/agent/hooks/use-agent-conversation.ts +348 -100
  179. package/src/agent/hooks/use-thread-stream.ts +10 -0
  180. package/src/agent/i18n/en.ts +87 -11
  181. package/src/agent/i18n/fr.ts +83 -12
  182. package/src/agent/inbox-handoff.ts +47 -0
  183. package/src/agent/live-run.ts +23 -2
  184. package/src/agent/react-router.tsx +2 -2
  185. package/src/agent/search/interpret.ts +367 -0
  186. package/src/agent/search/search-tool-view.tsx +235 -0
  187. package/src/agent/thread-state.ts +114 -0
  188. package/src/agent/tool-views/built-in.tsx +16 -0
  189. package/src/agent/tool-views/registry.tsx +28 -2
  190. package/src/agent/types.ts +7 -0
  191. package/src/agent/view-file/view-file-tool-view.tsx +33 -19
  192. package/src/artifacts/artifacts.css +398 -0
  193. package/src/artifacts/card-preview.tsx +6 -1
  194. package/src/artifacts/editor/block-handle.tsx +278 -0
  195. package/src/artifacts/editor/blocks.ts +216 -0
  196. package/src/artifacts/editor/callout-view.tsx +31 -0
  197. package/src/artifacts/editor/document-editor.tsx +484 -0
  198. package/src/artifacts/editor/figure-view.tsx +66 -0
  199. package/src/artifacts/editor/find-blocks.ts +19 -0
  200. package/src/artifacts/editor/markdown-document.tsx +72 -0
  201. package/src/artifacts/editor/messages.ts +4 -0
  202. package/src/artifacts/editor/schema.ts +159 -0
  203. package/src/artifacts/editor/selection-toolbar.tsx +364 -0
  204. package/src/artifacts/editor/slash-menu.tsx +251 -0
  205. package/src/artifacts/editor/upload.ts +40 -0
  206. package/src/artifacts/file-source.ts +11 -0
  207. package/src/artifacts/frame-editor/bundle.ts +8 -0
  208. package/src/artifacts/frame-editor/commands.ts +565 -0
  209. package/src/artifacts/frame-editor/entry.ts +6 -0
  210. package/src/artifacts/frame-editor/frame.ts +847 -0
  211. package/src/artifacts/frame-editor/generated/editor.txt +149 -0
  212. package/src/artifacts/frame-editor/generated.d.ts +5 -0
  213. package/src/artifacts/frame-editor/keys.ts +323 -0
  214. package/src/artifacts/frame-editor/protocol.ts +151 -0
  215. package/src/artifacts/frame-editor/schema.ts +293 -0
  216. package/src/artifacts/frame-editor/style.ts +58 -0
  217. package/src/artifacts/frame.tsx +11 -3
  218. package/src/artifacts/live/boards.ts +46 -3
  219. package/src/artifacts/live/document.ts +89 -0
  220. package/src/artifacts/live/header.tsx +9 -14
  221. package/src/artifacts/live/presence.ts +5 -1
  222. package/src/artifacts/live/session.ts +4 -2
  223. package/src/artifacts/live/view.ts +14 -8
  224. package/src/artifacts/messages.ts +138 -2
  225. package/src/artifacts/pdf.ts +50 -0
  226. package/src/artifacts/references/references.tsx +46 -11
  227. package/src/artifacts/renderers/canvas/board-editor.tsx +11 -144
  228. package/src/artifacts/renderers/canvas/comment-pins.tsx +5 -0
  229. package/src/artifacts/renderers/canvas/comments-panel.tsx +58 -1
  230. package/src/artifacts/renderers/canvas/comments.ts +8 -4
  231. package/src/artifacts/renderers/designed-document.tsx +277 -0
  232. package/src/artifacts/renderers/document-tree.ts +9 -0
  233. package/src/artifacts/renderers/document.tsx +13 -102
  234. package/src/artifacts/renderers/live-frame.ts +163 -0
  235. package/src/artifacts/renderers/page-editor.tsx +613 -0
  236. package/src/artifacts/renderers/page.tsx +21 -4
  237. package/src/artifacts/viewer.tsx +87 -41
  238. package/src/index.ts +6 -0
  239. package/src/pages/console/data/messages.ts +6 -0
  240. package/src/pages/console/data/projections.tsx +4 -0
  241. package/src/pages/console/data/shared.tsx +1 -0
  242. package/src/pages/console/ontology/lineage/trail.tsx +3 -0
  243. package/src/shell/search-command.tsx +2 -0
  244. package/dist/chunk-kymx9y5e.js.map +0 -211
  245. package/dist/chunk-yrcm1pbg.js.map +0 -34
  246. /package/dist/{chunk-pxd07kvx.js.map → chunk-5sgac68y.js.map} +0 -0
  247. /package/dist/{chunk-970s5nkn.js.map → chunk-69qgh20f.js.map} +0 -0
@@ -55,6 +55,19 @@ export declare const en: {
55
55
  add: string;
56
56
  mention: string;
57
57
  commands: string;
58
+ /** The messages waiting beside a running turn. */
59
+ steerPending: string;
60
+ queuePending: string;
61
+ sendNowPending: string;
62
+ waitingFile: string;
63
+ steer: string;
64
+ queue: string;
65
+ sendNow: string;
66
+ withdraw: string;
67
+ messageActions: string;
68
+ changeFailed: string;
69
+ withdrawFailed: string;
70
+ notYourAnswer: string;
58
71
  };
59
72
  /** Slash commands, typed as the whole message: `/opus`, `/ask`. */
60
73
  commands: {
@@ -276,6 +289,7 @@ export declare const en: {
276
289
  messageAgentFailed: (key: string) => string;
277
290
  reasoning: string;
278
291
  steps: (steps: number) => string;
292
+ latest: string;
279
293
  searchFailedHint: string;
280
294
  noSources: string;
281
295
  running: string;
@@ -499,6 +513,56 @@ export declare const en: {
499
513
  lines: (start: number, end: number) => string;
500
514
  moreAvailable: (range: string) => string;
501
515
  };
516
+ /**
517
+ * The glob and grep tools: files found by name, and text searched for in them. A search reads
518
+ * as the shell's ("Searched files"), however it ran.
519
+ */
520
+ search: {
521
+ found: (files: number) => string;
522
+ /** More files match than the ones listed. */
523
+ foundMore: (files: number) => string;
524
+ looked: string;
525
+ looking: string;
526
+ lookFailed: string;
527
+ /** `term` is the pattern, when it reads as words. */
528
+ searchedFor: (term: string) => string;
529
+ searched: string;
530
+ searching: string;
531
+ searchFailed: (term?: string) => string;
532
+ /** A search in the user's memory, or in the project's when `project`. */
533
+ memory: {
534
+ title: (project: boolean) => string;
535
+ running: (project: boolean) => string;
536
+ failed: (project: boolean) => string;
537
+ };
538
+ /** A search in the Agent's guides, or in one of them when it has a `name`. */
539
+ guide: {
540
+ title: (name: string) => string;
541
+ running: (name: string) => string;
542
+ failed: (name: string) => string;
543
+ };
544
+ ontology: {
545
+ title: string;
546
+ running: string;
547
+ failed: string;
548
+ };
549
+ term: (term: string) => string;
550
+ files: (files: number) => string;
551
+ moreFiles: (files: number) => string;
552
+ matches: (matches: number, files: number) => string;
553
+ moreMatches: (matches: number) => string;
554
+ noMatches: string;
555
+ /** Under a file's lines, the ones it holds past them. */
556
+ moreInFile: (matches: number) => string;
557
+ noFiles: string;
558
+ noLines: string;
559
+ truncatedFiles: (files: number) => string;
560
+ truncatedMatches: (lines: number) => string;
561
+ incomplete: string;
562
+ error: string;
563
+ /** Before the folder a search looked in. */
564
+ in: (path: string) => string;
565
+ };
502
566
  /** Headlines of the agent's shell commands: past tense when done, progressive while running. */
503
567
  bash: {
504
568
  preparing: string;
@@ -911,6 +975,10 @@ export declare const en: {
911
975
  cancel: string;
912
976
  create: string;
913
977
  ownerOnly: (owner: string) => string;
978
+ resume: string;
979
+ resuming: string;
980
+ resumeHint: string;
981
+ resumeFailed: string;
914
982
  };
915
983
  /** A command the agent runs in the background, as its card and its calls read. */
916
984
  background: {
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/en.ts"],"names":[],"mappings":"AAuBA;;;GAGG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAuCiB,MAAM;;;;iCAIT,MAAM;;;;;;;;QAQ/B,+DAA+D;;;;;IAKjE,mEAAmE;;;;sBAInD,MAAM;;;;;;;IAOtB,yFAAyF;;;wBAGvE,MAAM;;;;;;;;;;;wBAWN,MAAM;6BACD,MAAM;qBACd,MAAM;;;;;;;;;;yBAUF,MAAM;;;;uBAIR,MAAM;wBACL,MAAM;QACtB,gGAAgG;8BAC1E,MAAM;;yBAEX,MAAM;QACvB,6CAA6C;;;;;;;;;wBAS7B,MAAM;;yBAEL,MAAM;;;;;;;oBAOX,MAAM;;QAElB,sDAAsD;;;6BAGj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;;;uBAItD,SAAS,MAAM,EAAE;yBACf,MAAM;;;;;;;uBAOR,MAAM;;;;;;;0BAOH,MAAM;;;wBAGR,MAAM;;0BAGJ,MAAM;;;;;;;kCAQE,MAAM;;;;0BAKd,MAAM;QACxB,8FAA8F;4BAC1E,MAAM;0BACR,MAAM;;;;;4BAKJ,SAAS,MAAM,EAAE;wBAMrB,MAAM;;;;IAIxB,yFAAyF;;;wBAGvE,MAAM;;;;;;;;;;;;;;;;;;IAmBxB,qEAAqE;;sBAErD,MAAM;;6BAEC,MAAM;8BACL,MAAM;;;;;;QAM5B,6FAA6F;;gCAErE,MAAM;kCACJ,MAAM;2BAEb,MAAM;;;;;;;;;;;;8BAYH,MAAM;;6BAEP,MAAM;;;;;6BAKR,MAAM;;;;;;;;;;;;;;;;;0BAiBP,MAAM;kCACE,MAAM;;;IAGlC,yEAAyE;;;;;;;CAQpD,CAAA;AAEvB,MAAM,MAAM,aAAa,GAAG,OAAO,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/fr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAiBzC,eAAO,MAAM,EAAE,EAAE,WAAW,CAAC,aAAa,CA8jCzC,CAAA"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/fr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAiBzC,eAAO,MAAM,EAAE,EAAE,WAAW,CAAC,aAAa,CAqoCzC,CAAA"}
@@ -53,6 +53,18 @@ export declare const useAgentMessages: () => {
53
53
  add: string;
54
54
  mention: string;
55
55
  commands: string;
56
+ steerPending: string;
57
+ queuePending: string;
58
+ sendNowPending: string;
59
+ waitingFile: string;
60
+ steer: string;
61
+ queue: string;
62
+ sendNow: string;
63
+ withdraw: string;
64
+ messageActions: string;
65
+ changeFailed: string;
66
+ withdrawFailed: string;
67
+ notYourAnswer: string;
56
68
  };
57
69
  commands: {
58
70
  list: string;
@@ -261,6 +273,7 @@ export declare const useAgentMessages: () => {
261
273
  messageAgentFailed: (key: string) => string;
262
274
  reasoning: string;
263
275
  steps: (steps: number) => string;
276
+ latest: string;
264
277
  searchFailedHint: string;
265
278
  noSources: string;
266
279
  running: string;
@@ -468,6 +481,46 @@ export declare const useAgentMessages: () => {
468
481
  lines: (start: number, end: number) => string;
469
482
  moreAvailable: (range: string) => string;
470
483
  };
484
+ search: {
485
+ found: (files: number) => string;
486
+ foundMore: (files: number) => string;
487
+ looked: string;
488
+ looking: string;
489
+ lookFailed: string;
490
+ searchedFor: (term: string) => string;
491
+ searched: string;
492
+ searching: string;
493
+ searchFailed: (term?: string) => string;
494
+ memory: {
495
+ title: (project: boolean) => string;
496
+ running: (project: boolean) => string;
497
+ failed: (project: boolean) => string;
498
+ };
499
+ guide: {
500
+ title: (name: string) => string;
501
+ running: (name: string) => string;
502
+ failed: (name: string) => string;
503
+ };
504
+ ontology: {
505
+ title: string;
506
+ running: string;
507
+ failed: string;
508
+ };
509
+ term: (term: string) => string;
510
+ files: (files: number) => string;
511
+ moreFiles: (files: number) => string;
512
+ matches: (matches: number, files: number) => string;
513
+ moreMatches: (matches: number) => string;
514
+ noMatches: string;
515
+ moreInFile: (matches: number) => string;
516
+ noFiles: string;
517
+ noLines: string;
518
+ truncatedFiles: (files: number) => string;
519
+ truncatedMatches: (lines: number) => string;
520
+ incomplete: string;
521
+ error: string;
522
+ in: (path: string) => string;
523
+ };
471
524
  bash: {
472
525
  preparing: string;
473
526
  timedOut: (duration: string) => string;
@@ -870,6 +923,10 @@ export declare const useAgentMessages: () => {
870
923
  cancel: string;
871
924
  create: string;
872
925
  ownerOnly: (owner: string) => string;
926
+ resume: string;
927
+ resuming: string;
928
+ resumeHint: string;
929
+ resumeFailed: string;
873
930
  };
874
931
  background: {
875
932
  card: (command: string) => string;
@@ -1113,6 +1170,18 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1113
1170
  add: string;
1114
1171
  mention: string;
1115
1172
  commands: string;
1173
+ steerPending: string;
1174
+ queuePending: string;
1175
+ sendNowPending: string;
1176
+ waitingFile: string;
1177
+ steer: string;
1178
+ queue: string;
1179
+ sendNow: string;
1180
+ withdraw: string;
1181
+ messageActions: string;
1182
+ changeFailed: string;
1183
+ withdrawFailed: string;
1184
+ notYourAnswer: string;
1116
1185
  };
1117
1186
  commands: {
1118
1187
  list: string;
@@ -1321,6 +1390,7 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1321
1390
  messageAgentFailed: (key: string) => string;
1322
1391
  reasoning: string;
1323
1392
  steps: (steps: number) => string;
1393
+ latest: string;
1324
1394
  searchFailedHint: string;
1325
1395
  noSources: string;
1326
1396
  running: string;
@@ -1528,6 +1598,46 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1528
1598
  lines: (start: number, end: number) => string;
1529
1599
  moreAvailable: (range: string) => string;
1530
1600
  };
1601
+ search: {
1602
+ found: (files: number) => string;
1603
+ foundMore: (files: number) => string;
1604
+ looked: string;
1605
+ looking: string;
1606
+ lookFailed: string;
1607
+ searchedFor: (term: string) => string;
1608
+ searched: string;
1609
+ searching: string;
1610
+ searchFailed: (term?: string) => string;
1611
+ memory: {
1612
+ title: (project: boolean) => string;
1613
+ running: (project: boolean) => string;
1614
+ failed: (project: boolean) => string;
1615
+ };
1616
+ guide: {
1617
+ title: (name: string) => string;
1618
+ running: (name: string) => string;
1619
+ failed: (name: string) => string;
1620
+ };
1621
+ ontology: {
1622
+ title: string;
1623
+ running: string;
1624
+ failed: string;
1625
+ };
1626
+ term: (term: string) => string;
1627
+ files: (files: number) => string;
1628
+ moreFiles: (files: number) => string;
1629
+ matches: (matches: number, files: number) => string;
1630
+ moreMatches: (matches: number) => string;
1631
+ noMatches: string;
1632
+ moreInFile: (matches: number) => string;
1633
+ noFiles: string;
1634
+ noLines: string;
1635
+ truncatedFiles: (files: number) => string;
1636
+ truncatedMatches: (lines: number) => string;
1637
+ incomplete: string;
1638
+ error: string;
1639
+ in: (path: string) => string;
1640
+ };
1531
1641
  bash: {
1532
1642
  preparing: string;
1533
1643
  timedOut: (duration: string) => string;
@@ -1930,6 +2040,10 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
1930
2040
  cancel: string;
1931
2041
  create: string;
1932
2042
  ownerOnly: (owner: string) => string;
2043
+ resume: string;
2044
+ resuming: string;
2045
+ resumeHint: string;
2046
+ resumeFailed: string;
1933
2047
  };
1934
2048
  background: {
1935
2049
  card: (command: string) => 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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAA+B,CAAA;AAE/D,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA;AAC/C,YAAY,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,10 @@
1
+ /** Marks a tray line's text with the key its message will have in the conversation. */
2
+ export declare const TRAY_MESSAGE_ATTRIBUTE = "data-tray-message";
3
+ /** The key a tray message has in the conversation once read: its saved message's own. */
4
+ export declare function trayMessageKey(messageId: string): string;
5
+ /**
6
+ * Bring `element`, the conversation's copy of the message keyed `key`, into place: from its tray
7
+ * line when the tray still shows it, or by a short fade where the reader never saw it there.
8
+ */
9
+ export declare function riseFromTray(element: HTMLElement, key: string): void;
10
+ //# sourceMappingURL=inbox-handoff.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inbox-handoff.d.ts","sourceRoot":"","sources":["../../src/agent/inbox-handoff.ts"],"names":[],"mappings":"AAIA,uFAAuF;AACvF,eAAO,MAAM,sBAAsB,sBAAsB,CAAA;AAEzD,yFAAyF;AACzF,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAExD;AAKD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CA2BpE"}
@@ -1,6 +1,11 @@
1
- import type { AgentRunFailure, AgentRunStreamEvent } from "@sixb/client";
1
+ import type { AgentInboxReadMessage, AgentRunFailure, AgentRunStreamEvent } from "@sixb/client";
2
2
  import type { NormalizedPart } from "./parts";
3
3
  import type { AgentRunStatus } from "./types";
4
+ /** Messages the turn read from its inbox, before the part at `at`: where the thread will hold them. */
5
+ export interface LiveInboxRead {
6
+ readonly at: number;
7
+ readonly messages: readonly AgentInboxReadMessage[];
8
+ }
4
9
  export interface LiveRunState {
5
10
  /** The run this state belongs to, or null when idle. */
6
11
  readonly runId: string | null;
@@ -18,6 +23,8 @@ export interface LiveRunState {
18
23
  * rendering — the view consumes `parts` directly.
19
24
  */
20
25
  readonly partKeys: readonly string[];
26
+ /** What the turn read from its inbox as it answered, in order. */
27
+ readonly inboxReads: readonly LiveInboxRead[];
21
28
  /** Model step currently being streamed. Used to keep reused part ids ordered. */
22
29
  readonly stepIndex: number;
23
30
  /** How many parts came before the current step: a step asked again drops the ones after. */
@@ -1 +1 @@
1
- {"version":3,"file":"live-run.d.ts","sourceRoot":"","sources":["../../src/agent/live-run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAgB,MAAM,cAAc,CAAA;AACtF,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,SAAS,CAAA;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C,MAAM,WAAW,YAAY;IAC3B,wDAAwD;IACxD,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,0EAA0E;IAC1E,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;IACxB,sFAAsF;IACtF,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;IAC5B,iGAAiG;IACjG,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;IAC7B,4FAA4F;IAC5F,QAAQ,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;IACzC;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;IACpC,iFAAiF;IACjF,QAAQ,CAAC,SAAS,EAAE,MAAM,CA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Q,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CACpC;AAED,MAAM,MAAM,aAAa,GACrB;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GACzD;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAA;CAAE,GAC/D;IAAE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAE/D,wBAAgB,kBAAkB,CAAC,KAAK,GAAE,MAAM,GAAG,IAAW,GAAG,YAAY,CAiB5E;AAED,oGAAoG;AACpG,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAEjE;AAED,6EAA6E;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAGjF;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,GAAG,YAAY,CAWvF"}
@@ -0,0 +1,101 @@
1
+ import { type AgentMessages } from "../i18n/en";
2
+ import type { NormalizedTool } from "../parts";
3
+ /** What `glob` stores: the files whose path matched, sorted. */
4
+ export interface GlobOutput {
5
+ readonly files: readonly string[];
6
+ /** More files match than the ones listed. */
7
+ readonly truncated: boolean;
8
+ /** The search stopped at its deadline. */
9
+ readonly incomplete: boolean;
10
+ }
11
+ export interface GrepMatch {
12
+ readonly path: string;
13
+ readonly line: number;
14
+ readonly text: string;
15
+ }
16
+ /** What `grep` stores: the matching lines, grouped by file in order. */
17
+ export interface GrepOutput {
18
+ readonly matches: readonly GrepMatch[];
19
+ /** How many files the matches are in. */
20
+ readonly files: number;
21
+ /** Matching lines past the ones a file shows, by path. */
22
+ readonly more: Readonly<Record<string, number>>;
23
+ /** Another file matches past the lines shown. */
24
+ readonly truncated: boolean;
25
+ /** The search stopped at its deadline. */
26
+ readonly incomplete: boolean;
27
+ }
28
+ /**
29
+ * Where a search looked, as the chat names it: the Agent's memory, its guides and its ontology
30
+ * read as themselves, as `read` names their files; anywhere else is files.
31
+ */
32
+ export type SearchPlace = {
33
+ readonly kind: "files";
34
+ } | {
35
+ readonly kind: "memory";
36
+ readonly project: boolean;
37
+ } | {
38
+ readonly kind: "guide";
39
+ readonly name: string;
40
+ } | {
41
+ readonly kind: "ontology";
42
+ };
43
+ export interface SearchDescription {
44
+ readonly place: SearchPlace;
45
+ readonly title: string;
46
+ readonly runningTitle: string;
47
+ readonly failedTitle: string;
48
+ /** What came of it, once it has a result: `8 matches in 3 files`. */
49
+ readonly detail?: string;
50
+ /** The pattern as the call wrote it, or empty until it streams in. */
51
+ readonly pattern: string;
52
+ /** The folder or file it looked in, as the call named it; absent for the working folder. */
53
+ readonly path?: string;
54
+ /** The files `grep` was limited to. */
55
+ readonly include?: string;
56
+ /** What the results leave out, in plain words. */
57
+ readonly notes: readonly string[];
58
+ }
59
+ export interface GlobDescription extends SearchDescription {
60
+ /** Relative to the folder searched, which the header names. */
61
+ readonly files: readonly string[];
62
+ }
63
+ /** The matches of one file, in the order `grep` found them. */
64
+ export interface GrepGroup {
65
+ /** Relative to the folder searched, which the header names. */
66
+ readonly path: string;
67
+ readonly matches: readonly Omit<GrepMatch, "path">[];
68
+ /** Matching lines past the ones shown. */
69
+ readonly more: number;
70
+ }
71
+ export interface GrepDescription extends SearchDescription {
72
+ readonly groups: readonly GrepGroup[];
73
+ /** The search as a regular expression, to mark where each line first matched. */
74
+ readonly highlight?: RegExp;
75
+ }
76
+ /** One run of a line's text: what the search matched, or what surrounds it. */
77
+ export interface LineSegment {
78
+ readonly text: string;
79
+ readonly match: boolean;
80
+ }
81
+ export declare function coerceGlobOutput(value: unknown): GlobOutput | null;
82
+ export declare function coerceGrepOutput(value: unknown): GrepOutput | null;
83
+ /** A search for files by name: `Found 12 files`, or where it looked when that has a name. */
84
+ export declare function describeGlob(tool: Pick<NormalizedTool, "input" | "output">, messages?: AgentMessages): GlobDescription;
85
+ /**
86
+ * A search for text: `Searched for “retries” · 8 matches in 3 files`. The pattern names the step
87
+ * only when it reads as words; a regular expression stays behind the disclosure.
88
+ */
89
+ export declare function describeGrep(tool: Pick<NormalizedTool, "input" | "output">, messages?: AgentMessages): GrepDescription;
90
+ /**
91
+ * A line cut where the search first matched it, so the match can be marked. Only the first: it is
92
+ * the work the search did on the line and finished, while matching on through the rest of the line
93
+ * can backtrack without end on a pattern such as `(a|a)+b`, and again on every render.
94
+ */
95
+ export declare function highlightLine(text: string, regex: RegExp | undefined): LineSegment[];
96
+ /** A path's folder and its name, so the name can stand out. */
97
+ export declare function splitPath(path: string): {
98
+ readonly folder: string;
99
+ readonly name: string;
100
+ };
101
+ //# sourceMappingURL=interpret.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interpret.d.ts","sourceRoot":"","sources":["../../../src/agent/search/interpret.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,YAAY,CAAA;AAEnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C,gEAAgE;AAChE,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;IACjC,6CAA6C;IAC7C,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;IAC3B,0CAA0C;IAC1C,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;CAC7B;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB;AAED,wEAAwE;AACxE,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,OAAO,EAAE,SAA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SAAS,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAK1F"}
@@ -0,0 +1,10 @@
1
+ import type { NormalizedTool } from "../parts";
2
+ /** Files the agent found by name: `Found 12 files`, opening to the list. */
3
+ export declare function GlobToolView({ tool }: {
4
+ tool: NormalizedTool;
5
+ }): import("react").JSX.Element;
6
+ /** Text the agent searched for: `Searched for “retries” · 8 matches in 3 files`, opening to them. */
7
+ export declare function GrepToolView({ tool }: {
8
+ tool: NormalizedTool;
9
+ }): import("react").JSX.Element;
10
+ //# sourceMappingURL=search-tool-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/search/search-tool-view.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAW9C,4EAA4E;AAC5E,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BAsB9D;AAED,qGAAqG;AACrG,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BAyB9D"}
@@ -0,0 +1,26 @@
1
+ import type { AgentContextEntryInput } from "@sixb/core/agents/context";
2
+ import type { ViewerTarget } from "../artifacts/target";
3
+ import type { AgentFileRef } from "./types";
4
+ export interface ThreadComposerDraft {
5
+ readonly text: string;
6
+ readonly attachments: readonly AgentFileRef[];
7
+ readonly explicitContext: readonly AgentContextEntryInput[];
8
+ }
9
+ export declare class ThreadStateStore {
10
+ private readonly entries;
11
+ readDraft(draftKey: string): ThreadComposerDraft | null;
12
+ writeDraft(draftKey: string, draft: ThreadComposerDraft): void;
13
+ clearDraft(draftKey: string): void;
14
+ readPanelTarget(scopeKey: string): ViewerTarget | null;
15
+ writePanelTarget(scopeKey: string, target: ViewerTarget | null): void;
16
+ private touch;
17
+ }
18
+ /** Return the `ThreadStateStore` scoped to an app-lifetime owner such as `QueryClient`. */
19
+ export declare function threadStateStoreFor(owner: object): ThreadStateStore;
20
+ export declare const ThreadStateContext: import("react").Context<ThreadStateStore | null>;
21
+ /**
22
+ * The surrounding conversation store when inside `AgentChat`, or a mount-local store when a
23
+ * component such as `ArtifactPanelRoot` is rendered standalone.
24
+ */
25
+ export declare function useThreadStateStore(owner?: object | null): ThreadStateStore;
26
+ //# sourceMappingURL=thread-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thread-state.d.ts","sourceRoot":"","sources":["../../src/agent/thread-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAA;AAEvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI3C,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,WAAW,EAAE,SAAS,YAAY,EAAE,CAAA;IAC7C,QAAQ,CAAC,eAAe,EAAE,SAAS,sBAAsB,EAAE,CAAA;CAC5D;AAOD,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAsC;IAE9D,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,mBAAmB,GAAG,IAAI;IAMvD,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,mBAAmB,GAAG,IAAI;IAkB9D,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAIlC,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI;IAKtD,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,GAAG,IAAI,GAAG,IAAI;IAkBrE,OAAO,CAAC,KAAK;CASd;AAID,2FAA2F;AAC3F,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAOnE;AAED,eAAO,MAAM,kBAAkB,kDAA+C,CAAA;AAE9E;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,gBAAgB,CAO3E"}
@@ -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;AAQtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAyE9C,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;AAyF9C,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CAE/D"}
@@ -11,13 +11,11 @@ export declare function AgentToolViewsProvider({ views, children, }: {
11
11
  }): import("react").JSX.Element;
12
12
  /** The project's view of a tool, which takes the place of the framework's. */
13
13
  export declare function useAgentToolView(toolName: string): AgentToolView | undefined;
14
- /**
15
- * The views of the turn's tools shown in the answer, in call order. Each call keeps its row in the
16
- * work; a view that fails shows nothing here.
17
- */
18
- export declare function AnswerToolViews({ parts }: {
14
+ interface AnswerToolViewsProps {
19
15
  readonly parts: readonly NormalizedPart[];
20
- }): (import("react").JSX.Element | null)[];
16
+ }
17
+ declare function AnswerToolViewsList({ parts }: AnswerToolViewsProps): (import("react").JSX.Element | null)[] | null;
18
+ export declare const AnswerToolViews: import("react").MemoExoticComponent<typeof AnswerToolViewsList>;
21
19
  /** A call shown through the project's view, or through `fallback` when the view throws. */
22
20
  export declare function ProjectToolView({ view, tool, fallback, }: {
23
21
  readonly view: AgentToolView;
@@ -25,4 +23,5 @@ export declare function ProjectToolView({ view, tool, fallback, }: {
25
23
  readonly fallback: ReactNode;
26
24
  }): import("react").JSX.Element;
27
25
  export declare function toolViewProps(tool: NormalizedTool): AgentToolViewProps;
26
+ export {};
28
27
  //# sourceMappingURL=registry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/agent/tool-views/registry.tsx"],"names":[],"mappings":"AACA,OAAO,EAA4B,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9D,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAkB,MAAM,UAAU,CAAA;AAMtF;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,+BAMA;AAED,8EAA8E;AAC9E,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAE5E;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;CAAE,0CAUvF;AAED,2FAA2F;AAC3F,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAA;IAC5B,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;IAC7B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,+BAQA;AAOD,wBAAgB,aAAa,CAAC,IAAI,EAAE,cAAc,GAAG,kBAAkB,CAiBtE"}
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/agent/tool-views/registry.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkC,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AAC3F,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9D,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAkB,MAAM,UAAU,CAAA;AAMtF;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,+BAMA;AAED,8EAA8E;AAC9E,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAE5E;AAqBD,UAAU,oBAAoB;IAC5B,QAAQ,CAAC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;CAC1C;AAMD,iBAAS,mBAAmB,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,iDAW3D;AAED,eAAO,MAAM,eAAe,iEAA6C,CAAA;AAEzE,2FAA2F;AAC3F,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAA;IAC5B,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAA;IAC7B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,+BAQA;AAOD,wBAAgB,aAAa,CAAC,IAAI,EAAE,cAAc,GAAG,kBAAkB,CAiBtE"}
@@ -1,4 +1,4 @@
1
- import type { CreateAgentThreadData, GetAgentResponse, GetAgentRunResponse, GetAgentThreadContextResponse, ListAgentThreadMessagesResponse, ListAgentThreadsResponse, ListModelsResponse } from "@sixb/client";
1
+ import type { CreateAgentThreadData, GetAgentResponse, GetAgentRunResponse, GetAgentThreadContextResponse, ListAgentThreadInboxResponse, 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 };
@@ -14,6 +14,10 @@ export type AgentFileRef = Extract<AgentMessagePart, {
14
14
  export type AgentContextPart = Extract<AgentMessagePart, {
15
15
  type: "context";
16
16
  }>;
17
+ /** A message waiting in a conversation's inbox: a steer, or a turn queued behind one. */
18
+ export type AgentInboxItem = ListAgentThreadInboxResponse["items"][number];
19
+ /** Where a message goes while a turn runs: into it, behind it, or after stopping it. */
20
+ export type AgentMessageDelivery = "auto" | "steer" | "queue" | "send_now";
17
21
  export type AgentRun = GetAgentRunResponse;
18
22
  /** A conversation's context against its model's limits: what the context meter shows. */
19
23
  export type AgentThreadContext = GetAgentThreadContextResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/agent/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,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,C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A;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"}
@@ -1,7 +1,8 @@
1
1
  import type { NormalizedTool } from "../parts";
2
2
  /**
3
3
  * A file the agent viewed. It belongs to the work, not to the answer, so it stays in the trace: an
4
- * image as a small preview, any other file as a compact chip, each opening in the artifact panel.
4
+ * image as an inline thumbnail beside its label, any other file as a compact chip, each opening in
5
+ * the artifact panel.
5
6
  */
6
7
  export declare function ViewFileToolView({ tool }: {
7
8
  tool: NormalizedTool;
@@ -1 +1 @@
1
- {"version":3,"file":"view-file-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/view-file/view-file-tool-view.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9D;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BA4BlE"}
1
+ {"version":3,"file":"view-file-tool-view.d.ts","sourceRoot":"","sources":["../../../src/agent/view-file/view-file-tool-view.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9D;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAA;CAAE,+BAsDlE"}
@@ -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,EAAE,KAAK,eAAe,EAAoD,MAAM,WAA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Q,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;AA4HD;;;;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,20 @@
1
+ import type { Editor } from "@tiptap/core";
2
+ import type { BlockChoice, BlockType } from "./blocks";
3
+ import type { EditorMessages } from "./messages";
4
+ export declare function BlockHandle({ editor, types, messages, }: {
5
+ readonly editor: Editor;
6
+ readonly types: readonly BlockType[];
7
+ readonly messages: EditorMessages;
8
+ }): import("react").JSX.Element;
9
+ /** What can be done to a block from its handle's menu, whichever editor it is in. */
10
+ export declare function BlockMenuItems({ textual, types, messages, onTurnInto, onDuplicate, onMove, onRemove, }: {
11
+ /** Whether it holds words, which "Turn into" changes. */
12
+ readonly textual: boolean;
13
+ readonly types: readonly BlockChoice[];
14
+ readonly messages: EditorMessages;
15
+ readonly onTurnInto: (id: string) => void;
16
+ readonly onDuplicate: () => void;
17
+ readonly onMove: (by: -1 | 1) => void;
18
+ readonly onRemove: () => void;
19
+ }): import("react").JSX.Element;
20
+ //# sourceMappingURL=block-handle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-handle.d.ts","sourceRoot":"","sources":["../../../src/artifacts/editor/block-handle.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAM1C,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAiBhD,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,KAAK,EACL,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,KAAK,EAAE,SAAS,SAAS,EAAE,CAAA;IACpC,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAA;CAClC,+BAuKA;AAED,qFAAqF;AACrF,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,KAAK,EACL,QAAQ,EACR,UAAU,EACV,WAAW,EACX,MAAM,EACN,QAAQ,GACT,EAAE;IACD,yDAAyD;IACzD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,KAAK,EAAE,SAAS,WAAW,EAAE,CAAA;IACtC,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAA;IACjC,QAAQ,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,QAAQ,CAAC,WAAW,EAAE,MAAM,IAAI,CAAA;IAChC,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,IAAI,CAAA;IACrC,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAA;CAC9B,+BA+CA"}