@sixb/app 0.1.13 → 0.1.15
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.
- package/README.md +6 -0
- package/dist/agent/activity-label.d.ts.map +1 -1
- package/dist/agent/agent-chat.d.ts +1 -1
- package/dist/agent/agent-chat.d.ts.map +1 -1
- package/dist/agent/agent-context-provider.d.ts +1 -0
- package/dist/agent/agent-context-provider.d.ts.map +1 -1
- package/dist/agent/approvals.d.ts +110 -0
- package/dist/agent/approvals.d.ts.map +1 -0
- package/dist/agent/artifact-panel.d.ts +11 -7
- package/dist/agent/artifact-panel.d.ts.map +1 -1
- package/dist/agent/bash/bash-tool-view.d.ts +13 -0
- package/dist/agent/bash/bash-tool-view.d.ts.map +1 -1
- package/dist/agent/bash/interpret.d.ts +46 -2
- package/dist/agent/bash/interpret.d.ts.map +1 -1
- package/dist/agent/bash/model-media-view.d.ts +14 -0
- package/dist/agent/bash/model-media-view.d.ts.map +1 -0
- package/dist/agent/bash/shell.d.ts.map +1 -1
- package/dist/agent/components/agent-message-body.d.ts +21 -0
- package/dist/agent/components/agent-message-body.d.ts.map +1 -0
- package/dist/agent/components/agent-thread-switcher.d.ts +22 -1
- package/dist/agent/components/agent-thread-switcher.d.ts.map +1 -1
- package/dist/agent/components/approval-card.d.ts +17 -0
- package/dist/agent/components/approval-card.d.ts.map +1 -0
- package/dist/agent/components/approval-mode-chip.d.ts +17 -0
- package/dist/agent/components/approval-mode-chip.d.ts.map +1 -0
- package/dist/agent/components/auto-model-chip.d.ts +24 -0
- package/dist/agent/components/auto-model-chip.d.ts.map +1 -0
- package/dist/agent/components/composer.d.ts +21 -2
- package/dist/agent/components/composer.d.ts.map +1 -1
- package/dist/agent/components/context-chips.d.ts +4 -2
- package/dist/agent/components/context-chips.d.ts.map +1 -1
- package/dist/agent/components/conversation-panel.d.ts +13 -55
- package/dist/agent/components/conversation-panel.d.ts.map +1 -1
- package/dist/agent/components/message-parts.d.ts +17 -3
- package/dist/agent/components/message-parts.d.ts.map +1 -1
- package/dist/agent/components/message-view.d.ts +19 -21
- package/dist/agent/components/message-view.d.ts.map +1 -1
- package/dist/agent/components/model-controls.d.ts +8 -2
- package/dist/agent/components/model-controls.d.ts.map +1 -1
- package/dist/agent/components/model-picker-row.d.ts +5 -1
- package/dist/agent/components/model-picker-row.d.ts.map +1 -1
- package/dist/agent/components/participant-input.d.ts +29 -0
- package/dist/agent/components/participant-input.d.ts.map +1 -0
- package/dist/agent/components/provider-logo.d.ts +5 -4
- package/dist/agent/components/provider-logo.d.ts.map +1 -1
- package/dist/agent/components/reasoning-effort-slider.d.ts +8 -7
- package/dist/agent/components/reasoning-effort-slider.d.ts.map +1 -1
- package/dist/agent/components/sandbox-recovery.d.ts +8 -2
- package/dist/agent/components/sandbox-recovery.d.ts.map +1 -1
- package/dist/agent/components/shared-thread-notice.d.ts +10 -0
- package/dist/agent/components/shared-thread-notice.d.ts.map +1 -0
- package/dist/agent/components/thread-artifacts-menu.d.ts +8 -2
- package/dist/agent/components/thread-artifacts-menu.d.ts.map +1 -1
- package/dist/agent/components/thread-people.d.ts +24 -0
- package/dist/agent/components/thread-people.d.ts.map +1 -0
- package/dist/agent/components/transcript.d.ts +22 -29
- package/dist/agent/components/transcript.d.ts.map +1 -1
- package/dist/agent/conversation.d.ts +201 -0
- package/dist/agent/conversation.d.ts.map +1 -0
- package/dist/agent/delegation/child-card.d.ts +19 -0
- package/dist/agent/delegation/child-card.d.ts.map +1 -0
- package/dist/agent/delegation/child-cards.d.ts +9 -0
- package/dist/agent/delegation/child-cards.d.ts.map +1 -0
- package/dist/agent/delegation/child-group.d.ts +14 -0
- package/dist/agent/delegation/child-group.d.ts.map +1 -0
- package/dist/agent/delegation/child-parts.d.ts +50 -0
- package/dist/agent/delegation/child-parts.d.ts.map +1 -0
- package/dist/agent/delegation/child-work.d.ts +31 -0
- package/dist/agent/delegation/child-work.d.ts.map +1 -0
- package/dist/agent/delegation/context.d.ts +22 -0
- package/dist/agent/delegation/context.d.ts.map +1 -0
- package/dist/agent/delegation/interpret.d.ts +104 -0
- package/dist/agent/delegation/interpret.d.ts.map +1 -0
- package/dist/agent/delegation/model.d.ts +52 -0
- package/dist/agent/delegation/model.d.ts.map +1 -0
- package/dist/agent/delegation/use-children.d.ts +1007 -0
- package/dist/agent/delegation/use-children.d.ts.map +1 -0
- package/dist/agent/hooks/use-agent-conversation.d.ts +692 -131
- package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
- package/dist/agent/hooks/use-thread-sharing.d.ts +35 -0
- package/dist/agent/hooks/use-thread-sharing.d.ts.map +1 -0
- package/dist/agent/i18n/en.d.ts +313 -0
- package/dist/agent/i18n/en.d.ts.map +1 -1
- package/dist/agent/i18n/fr.d.ts.map +1 -1
- package/dist/agent/i18n/index.d.ts +608 -0
- package/dist/agent/i18n/index.d.ts.map +1 -1
- package/dist/agent/live-run.d.ts.map +1 -1
- package/dist/agent/memory-paths.d.ts +18 -0
- package/dist/agent/memory-paths.d.ts.map +1 -0
- package/dist/agent/message-agent/interpret.d.ts +21 -0
- package/dist/agent/message-agent/interpret.d.ts.map +1 -0
- package/dist/agent/message-authors.d.ts +56 -0
- package/dist/agent/message-authors.d.ts.map +1 -0
- package/dist/agent/model-selection.d.ts +10 -0
- package/dist/agent/model-selection.d.ts.map +1 -1
- package/dist/agent/observed-conversation.d.ts +26 -0
- package/dist/agent/observed-conversation.d.ts.map +1 -0
- package/dist/agent/observed-thread.d.ts +9 -0
- package/dist/agent/observed-thread.d.ts.map +1 -0
- package/dist/agent/parts.d.ts +5 -0
- package/dist/agent/parts.d.ts.map +1 -1
- package/dist/agent/publish-artifact/use-live-publishes.d.ts +5 -2
- package/dist/agent/publish-artifact/use-live-publishes.d.ts.map +1 -1
- package/dist/agent/read/interpret.d.ts +2 -0
- package/dist/agent/read/interpret.d.ts.map +1 -1
- package/dist/agent/run-presentation.d.ts +11 -0
- package/dist/agent/run-presentation.d.ts.map +1 -1
- package/dist/agent/sharing.d.ts +42 -0
- package/dist/agent/sharing.d.ts.map +1 -0
- package/dist/agent/tool-views/built-in.d.ts +5 -0
- package/dist/agent/tool-views/built-in.d.ts.map +1 -0
- package/dist/agent/tool-views/define.d.ts +79 -0
- package/dist/agent/tool-views/define.d.ts.map +1 -0
- package/dist/agent/tool-views/registry.d.ts +28 -0
- package/dist/agent/tool-views/registry.d.ts.map +1 -0
- package/dist/agent/utils/radio-group.d.ts +11 -0
- package/dist/agent/utils/radio-group.d.ts.map +1 -0
- package/dist/artifacts/card-details.d.ts.map +1 -1
- package/dist/artifacts/card-preview.d.ts.map +1 -1
- package/dist/artifacts/downloads.d.ts +26 -0
- package/dist/artifacts/downloads.d.ts.map +1 -0
- package/dist/artifacts/edit-session.d.ts +36 -0
- package/dist/artifacts/edit-session.d.ts.map +1 -0
- package/dist/artifacts/file-source.d.ts +27 -1
- package/dist/artifacts/file-source.d.ts.map +1 -1
- package/dist/artifacts/file-type-icon.d.ts +14 -0
- package/dist/artifacts/file-type-icon.d.ts.map +1 -0
- package/dist/artifacts/frame-embeds.d.ts +20 -0
- package/dist/artifacts/frame-embeds.d.ts.map +1 -0
- package/dist/artifacts/frame.d.ts +12 -1
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/artifacts/gallery.d.ts.map +1 -1
- package/dist/artifacts/history.d.ts +15 -0
- package/dist/artifacts/history.d.ts.map +1 -0
- package/dist/artifacts/kind-icon.d.ts +7 -0
- package/dist/artifacts/kind-icon.d.ts.map +1 -1
- package/dist/artifacts/messages.d.ts +518 -4
- package/dist/artifacts/messages.d.ts.map +1 -1
- package/dist/artifacts/page-queries.d.ts +22 -0
- package/dist/artifacts/page-queries.d.ts.map +1 -0
- package/dist/artifacts/page-state.d.ts +21 -0
- package/dist/artifacts/page-state.d.ts.map +1 -0
- package/dist/artifacts/people.d.ts +12 -0
- package/dist/artifacts/people.d.ts.map +1 -0
- package/dist/artifacts/person-avatar.d.ts +23 -0
- package/dist/artifacts/person-avatar.d.ts.map +1 -0
- package/dist/artifacts/publish-edit.d.ts +29 -0
- package/dist/artifacts/publish-edit.d.ts.map +1 -0
- package/dist/artifacts/queries.d.ts +77 -1
- package/dist/artifacts/queries.d.ts.map +1 -1
- package/dist/artifacts/references/references.d.ts.map +1 -1
- package/dist/artifacts/renderers/canvas/arrows.d.ts +21 -0
- package/dist/artifacts/renderers/canvas/arrows.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/board.d.ts +54 -0
- package/dist/artifacts/renderers/canvas/board.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/canvas.d.ts +27 -0
- package/dist/artifacts/renderers/canvas/canvas.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/controls.d.ts +8 -0
- package/dist/artifacts/renderers/canvas/controls.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/draft.d.ts +77 -0
- package/dist/artifacts/renderers/canvas/draft.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/edit-mode.d.ts +55 -0
- package/dist/artifacts/renderers/canvas/edit-mode.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/editing.d.ts +40 -0
- package/dist/artifacts/renderers/canvas/editing.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/focus.d.ts +15 -0
- package/dist/artifacts/renderers/canvas/focus.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/items.d.ts +13 -0
- package/dist/artifacts/renderers/canvas/items.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/layout.d.ts +46 -0
- package/dist/artifacts/renderers/canvas/layout.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/renderer.d.ts +13 -0
- package/dist/artifacts/renderers/canvas/renderer.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/thumbnail.d.ts +10 -0
- package/dist/artifacts/renderers/canvas/thumbnail.d.ts.map +1 -0
- package/dist/artifacts/renderers/canvas/toolbar.d.ts +15 -0
- package/dist/artifacts/renderers/canvas/toolbar.d.ts.map +1 -0
- package/dist/artifacts/renderers/notice.d.ts.map +1 -1
- package/dist/artifacts/renderers/page.d.ts +34 -0
- package/dist/artifacts/renderers/page.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/cell-editor.d.ts +21 -0
- package/dist/artifacts/renderers/sheet/cell-editor.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/cells.d.ts +93 -0
- package/dist/artifacts/renderers/sheet/cells.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/chart-data.d.ts +27 -7
- package/dist/artifacts/renderers/sheet/chart-data.d.ts.map +1 -1
- package/dist/artifacts/renderers/sheet/chart-icon.d.ts +5 -0
- package/dist/artifacts/renderers/sheet/chart-icon.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/chart-locked.d.ts +9 -0
- package/dist/artifacts/renderers/sheet/chart-locked.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/chart.d.ts +2 -1
- package/dist/artifacts/renderers/sheet/chart.d.ts.map +1 -1
- package/dist/artifacts/renderers/sheet/column-format.d.ts +28 -0
- package/dist/artifacts/renderers/sheet/column-format.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/column-menu.d.ts +51 -0
- package/dist/artifacts/renderers/sheet/column-menu.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/downloads.d.ts +10 -0
- package/dist/artifacts/renderers/sheet/downloads.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/draft.d.ts +131 -0
- package/dist/artifacts/renderers/sheet/draft.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/filter-panel.d.ts +20 -0
- package/dist/artifacts/renderers/sheet/filter-panel.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/filter.d.ts +40 -0
- package/dist/artifacts/renderers/sheet/filter.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/find-bar.d.ts +42 -0
- package/dist/artifacts/renderers/sheet/find-bar.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/find.d.ts +18 -0
- package/dist/artifacts/renderers/sheet/find.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/fit.d.ts +15 -0
- package/dist/artifacts/renderers/sheet/fit.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/format.d.ts +14 -6
- package/dist/artifacts/renderers/sheet/format.d.ts.map +1 -1
- package/dist/artifacts/renderers/sheet/frame.d.ts +69 -0
- package/dist/artifacts/renderers/sheet/frame.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/grid.d.ts +69 -6
- package/dist/artifacts/renderers/sheet/grid.d.ts.map +1 -1
- package/dist/artifacts/renderers/sheet/highlight.d.ts +32 -0
- package/dist/artifacts/renderers/sheet/highlight.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/input.d.ts +30 -0
- package/dist/artifacts/renderers/sheet/input.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/locked.d.ts +17 -0
- package/dist/artifacts/renderers/sheet/locked.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/mini-chart.d.ts.map +1 -1
- package/dist/artifacts/renderers/sheet/model.d.ts +26 -4
- package/dist/artifacts/renderers/sheet/model.d.ts.map +1 -1
- package/dist/artifacts/renderers/sheet/selection.d.ts +30 -6
- package/dist/artifacts/renderers/sheet/selection.d.ts.map +1 -1
- package/dist/artifacts/renderers/sheet/sheet.d.ts +5 -5
- package/dist/artifacts/renderers/sheet/sheet.d.ts.map +1 -1
- package/dist/artifacts/renderers/sheet/totals.d.ts +16 -0
- package/dist/artifacts/renderers/sheet/totals.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/view.d.ts +44 -0
- package/dist/artifacts/renderers/sheet/view.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/workbook.d.ts +23 -3
- package/dist/artifacts/renderers/sheet/workbook.d.ts.map +1 -1
- package/dist/artifacts/renderers/sheet/xlsx.d.ts +18 -0
- package/dist/artifacts/renderers/sheet/xlsx.d.ts.map +1 -0
- package/dist/artifacts/renderers/sheet/zip.d.ts +12 -0
- package/dist/artifacts/renderers/sheet/zip.d.ts.map +1 -0
- package/dist/artifacts/renderers/slides/slides.d.ts.map +1 -1
- package/dist/artifacts/tones.d.ts +4 -0
- package/dist/artifacts/tones.d.ts.map +1 -0
- package/dist/artifacts/viewer.d.ts +2 -0
- package/dist/artifacts/viewer.d.ts.map +1 -1
- package/dist/auth.d.ts +6 -1
- package/dist/auth.d.ts.map +1 -1
- package/dist/{chunk-gn3k23q5.js → chunk-53z5653y.js} +64 -3
- package/dist/chunk-53z5653y.js.map +11 -0
- package/dist/{chunk-3schcf10.js → chunk-736c9akn.js} +1 -1
- package/dist/{chunk-g3f4cm8x.js → chunk-k4epnkcr.js} +1 -1
- package/dist/{chunk-c7gy61rx.js → chunk-n0cxwvej.js} +165 -4
- package/dist/chunk-n0cxwvej.js.map +10 -0
- package/dist/chunk-qh1panvd.js +1487 -0
- package/dist/chunk-qh1panvd.js.map +18 -0
- package/dist/{chunk-ng0hdnrq.js → chunk-sw3pyqgy.js} +3 -1
- package/dist/chunk-sw3pyqgy.js.map +10 -0
- package/dist/chunk-twjs2sb9.js +29401 -0
- package/dist/chunk-twjs2sb9.js.map +176 -0
- package/dist/codegen.d.ts.map +1 -1
- package/dist/createCustomApp.d.ts +1 -0
- package/dist/createCustomApp.d.ts.map +1 -1
- package/dist/index.d.ts +18 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +51 -9
- package/dist/index.js.map +6 -6
- package/dist/locale-messages.d.ts +1 -0
- package/dist/locale-messages.d.ts.map +1 -1
- package/dist/locale.d.ts +1 -0
- package/dist/locale.d.ts.map +1 -1
- package/dist/locale.js +1 -1
- package/dist/metadata.d.ts.map +1 -1
- package/dist/pages/observability/action-run.d.ts.map +1 -1
- package/dist/pages/observability/activity/messages.d.ts +14 -0
- package/dist/pages/observability/activity/messages.d.ts.map +1 -1
- package/dist/pages/observability/activity/thread.d.ts +6 -0
- package/dist/pages/observability/activity/thread.d.ts.map +1 -0
- package/dist/pages/observability/activity/timeline.d.ts.map +1 -1
- package/dist/pages/observability/ai-usage/calls.d.ts.map +1 -1
- package/dist/pages/observability/ai-usage/format.d.ts +16 -5
- package/dist/pages/observability/ai-usage/format.d.ts.map +1 -1
- package/dist/pages/observability/ai-usage/kinds.d.ts +40 -0
- package/dist/pages/observability/ai-usage/kinds.d.ts.map +1 -0
- package/dist/pages/observability/ai-usage/messages.d.ts +74 -12
- package/dist/pages/observability/ai-usage/messages.d.ts.map +1 -1
- package/dist/pages/observability/ai-usage/page.d.ts.map +1 -1
- package/dist/pages/observability/messages.d.ts +4 -0
- package/dist/pages/observability/messages.d.ts.map +1 -1
- package/dist/pages/ontology/actions.d.ts.map +1 -1
- package/dist/pages/ontology/components/action-button.d.ts +6 -0
- package/dist/pages/ontology/components/action-button.d.ts.map +1 -1
- package/dist/pages/ontology/components/user-picker.d.ts +37 -0
- package/dist/pages/ontology/components/user-picker.d.ts.map +1 -0
- package/dist/pages/ontology/workflows/run-input-form.d.ts.map +1 -1
- package/dist/pages/routes.d.ts +2 -0
- package/dist/pages/routes.d.ts.map +1 -1
- package/dist/pages/section-page.d.ts +13 -0
- package/dist/pages/section-page.d.ts.map +1 -1
- package/dist/pages/section-ui.d.ts.map +1 -1
- package/dist/pages/settings/controls.d.ts.map +1 -1
- package/dist/pages/settings/members.d.ts.map +1 -1
- package/dist/pages/settings/memory-contents.d.ts +30 -0
- package/dist/pages/settings/memory-contents.d.ts.map +1 -0
- package/dist/pages/settings/memory-entries.d.ts +42 -0
- package/dist/pages/settings/memory-entries.d.ts.map +1 -0
- package/dist/pages/settings/memory-files.d.ts +49 -0
- package/dist/pages/settings/memory-files.d.ts.map +1 -0
- package/dist/pages/settings/memory-history.d.ts +8 -0
- package/dist/pages/settings/memory-history.d.ts.map +1 -0
- package/dist/pages/settings/memory.d.ts +21 -0
- package/dist/pages/settings/memory.d.ts.map +1 -0
- package/dist/pages/settings/messages.d.ts +206 -0
- package/dist/pages/settings/messages.d.ts.map +1 -1
- package/dist/pages/settings/personal.d.ts +2 -2
- package/dist/pages/settings/personal.d.ts.map +1 -1
- package/dist/pages/settings/sessions.d.ts.map +1 -1
- package/dist/pages/values.d.ts +1 -0
- package/dist/pages/values.d.ts.map +1 -1
- package/dist/pages.d.ts +13 -16
- package/dist/pages.d.ts.map +1 -1
- package/dist/pages.js +6766 -4391
- package/dist/pages.js.map +34 -28
- package/dist/sections/catalog.d.ts.map +1 -1
- package/dist/sections/sections.d.ts.map +1 -1
- package/dist/server.js +79 -44
- package/dist/server.js.map +5 -5
- package/package.json +4 -4
- package/src/agent/activity-label.ts +17 -2
- package/src/agent/agent-chat.tsx +81 -111
- package/src/agent/agent-context-provider.tsx +1 -0
- package/src/agent/agent-panel.tsx +4 -0
- package/src/agent/agent-surface.tsx +4 -0
- package/src/agent/agent.css +115 -3
- package/src/agent/approvals.ts +267 -0
- package/src/agent/artifact-panel.tsx +131 -46
- package/src/agent/bash/bash-tool-view.tsx +98 -6
- package/src/agent/bash/interpret.ts +265 -3
- package/src/agent/bash/model-media-view.tsx +474 -0
- package/src/agent/bash/shell.ts +3 -2
- package/src/agent/components/activity-status.tsx +1 -1
- package/src/agent/components/agent-message-body.tsx +56 -0
- package/src/agent/components/agent-threads.tsx +377 -0
- package/src/agent/components/approval-card.tsx +849 -0
- package/src/agent/components/approval-mode-chip.tsx +120 -0
- package/src/agent/components/auto-model-chip.tsx +219 -0
- package/src/agent/components/composer-menu.tsx +185 -0
- package/src/agent/components/composer.tsx +95 -30
- package/src/agent/components/context-chips.tsx +6 -7
- package/src/agent/components/conversation-panel.tsx +38 -180
- package/src/agent/components/file-attachment-card.tsx +5 -2
- package/src/agent/components/message-parts.tsx +190 -59
- package/src/agent/components/message-view.tsx +289 -228
- package/src/agent/components/model-controls.tsx +162 -128
- package/src/agent/components/model-picker-row.tsx +50 -11
- package/src/agent/components/participant-input.tsx +293 -0
- package/src/agent/components/provider-logo.tsx +6 -1
- package/src/agent/components/reasoning-effort-slider.tsx +37 -35
- package/src/agent/components/sandbox-recovery.tsx +24 -5
- package/src/agent/components/shared-thread-notice.tsx +34 -0
- package/src/agent/components/thread-artifacts-menu.tsx +29 -12
- package/src/agent/components/thread-people.tsx +551 -0
- package/src/agent/components/threads-button.tsx +70 -0
- package/src/agent/components/transcript.tsx +343 -147
- package/src/agent/conversation.ts +658 -0
- package/src/agent/delegation/child-card.tsx +338 -0
- package/src/agent/delegation/child-cards.tsx +141 -0
- package/src/agent/delegation/child-group.tsx +231 -0
- package/src/agent/delegation/child-parts.tsx +286 -0
- package/src/agent/delegation/child-work.tsx +198 -0
- package/src/agent/delegation/context.ts +28 -0
- package/src/agent/delegation/interpret.ts +379 -0
- package/src/agent/delegation/model.ts +235 -0
- package/src/agent/delegation/use-children.ts +235 -0
- package/src/agent/hooks/use-agent-conversation.ts +803 -125
- package/src/agent/hooks/use-people-suggestions.ts +90 -0
- package/src/agent/hooks/use-thread-lists.ts +77 -0
- package/src/agent/hooks/use-thread-sharing.ts +197 -0
- package/src/agent/i18n/en.ts +355 -20
- package/src/agent/i18n/fr.ts +371 -32
- package/src/agent/live-run.ts +23 -40
- package/src/agent/memory-paths.ts +41 -0
- package/src/agent/message-agent/interpret.ts +60 -0
- package/src/agent/message-authors.ts +115 -0
- package/src/agent/model-selection.ts +15 -0
- package/src/agent/observed-conversation.tsx +210 -0
- package/src/agent/observed-thread.ts +13 -0
- package/src/agent/parts.ts +23 -0
- package/src/agent/publish-artifact/use-live-publishes.ts +5 -2
- package/src/agent/react-router.tsx +48 -5
- package/src/agent/read/interpret.ts +18 -0
- package/src/agent/read/read-tool-view.tsx +2 -2
- package/src/agent/run-presentation.ts +41 -1
- package/src/agent/sharing.ts +95 -0
- package/src/agent/thread-navigation.ts +16 -0
- package/src/agent/thread-pages.ts +24 -0
- package/src/agent/tool-views/built-in.tsx +56 -0
- package/src/agent/tool-views/define.ts +150 -0
- package/src/agent/tool-views/registry.tsx +125 -0
- package/src/agent/utils/radio-group.ts +29 -0
- package/src/artifacts/artifacts.css +96 -0
- package/src/artifacts/card-details.ts +9 -1
- package/src/artifacts/card-preview.tsx +23 -12
- package/src/artifacts/downloads.tsx +130 -0
- package/src/artifacts/edit-session.tsx +115 -0
- package/src/artifacts/file-source.ts +94 -4
- package/src/artifacts/file-type-icon.tsx +114 -0
- package/src/artifacts/frame-embeds.tsx +113 -0
- package/src/artifacts/frame.tsx +143 -19
- package/src/artifacts/gallery.tsx +3 -0
- package/src/artifacts/history.ts +42 -0
- package/src/artifacts/kind-icon.tsx +31 -1
- package/src/artifacts/messages.ts +601 -16
- package/src/artifacts/page-queries.ts +80 -0
- package/src/artifacts/page-state.ts +211 -0
- package/src/artifacts/people.ts +19 -0
- package/src/artifacts/person-avatar.tsx +40 -0
- package/src/artifacts/publish-edit.ts +90 -0
- package/src/artifacts/queries.ts +242 -5
- package/src/artifacts/references/references.tsx +219 -18
- package/src/artifacts/renderers/canvas/arrows.tsx +134 -0
- package/src/artifacts/renderers/canvas/board.tsx +108 -0
- package/src/artifacts/renderers/canvas/canvas.tsx +195 -0
- package/src/artifacts/renderers/canvas/controls.tsx +75 -0
- package/src/artifacts/renderers/canvas/draft.ts +322 -0
- package/src/artifacts/renderers/canvas/edit-mode.tsx +301 -0
- package/src/artifacts/renderers/canvas/editing.tsx +187 -0
- package/src/artifacts/renderers/canvas/focus.tsx +128 -0
- package/src/artifacts/renderers/canvas/items.tsx +380 -0
- package/src/artifacts/renderers/canvas/layout.ts +132 -0
- package/src/artifacts/renderers/canvas/renderer.tsx +110 -0
- package/src/artifacts/renderers/canvas/thumbnail.tsx +144 -0
- package/src/artifacts/renderers/canvas/toolbar.tsx +316 -0
- package/src/artifacts/renderers/notice.tsx +3 -1
- package/src/artifacts/renderers/page.tsx +152 -0
- package/src/artifacts/renderers/sheet/cell-editor.tsx +125 -0
- package/src/artifacts/renderers/sheet/cells.tsx +462 -0
- package/src/artifacts/renderers/sheet/chart-data.ts +124 -14
- package/src/artifacts/renderers/sheet/chart-icon.ts +18 -0
- package/src/artifacts/renderers/sheet/chart-locked.tsx +30 -0
- package/src/artifacts/renderers/sheet/chart.tsx +153 -3
- package/src/artifacts/renderers/sheet/column-format.tsx +413 -0
- package/src/artifacts/renderers/sheet/column-menu.tsx +198 -0
- package/src/artifacts/renderers/sheet/downloads.tsx +88 -0
- package/src/artifacts/renderers/sheet/draft.ts +589 -0
- package/src/artifacts/renderers/sheet/filter-panel.tsx +255 -0
- package/src/artifacts/renderers/sheet/filter.ts +182 -0
- package/src/artifacts/renderers/sheet/find-bar.tsx +177 -0
- package/src/artifacts/renderers/sheet/find.ts +50 -0
- package/src/artifacts/renderers/sheet/fit.ts +54 -0
- package/src/artifacts/renderers/sheet/format.ts +48 -7
- package/src/artifacts/renderers/sheet/frame.tsx +531 -0
- package/src/artifacts/renderers/sheet/grid.tsx +1266 -287
- package/src/artifacts/renderers/sheet/highlight.ts +83 -0
- package/src/artifacts/renderers/sheet/input.ts +191 -0
- package/src/artifacts/renderers/sheet/locked.ts +112 -0
- package/src/artifacts/renderers/sheet/mini-chart.tsx +72 -4
- package/src/artifacts/renderers/sheet/model.ts +69 -8
- package/src/artifacts/renderers/sheet/selection.ts +136 -9
- package/src/artifacts/renderers/sheet/sheet.tsx +440 -264
- package/src/artifacts/renderers/sheet/totals.ts +54 -0
- package/src/artifacts/renderers/sheet/view.ts +96 -0
- package/src/artifacts/renderers/sheet/workbook.ts +107 -8
- package/src/artifacts/renderers/sheet/xlsx.ts +516 -0
- package/src/artifacts/renderers/sheet/zip.ts +108 -0
- package/src/artifacts/renderers/slides/slides.tsx +3 -55
- package/src/artifacts/tones.ts +14 -0
- package/src/artifacts/viewer.tsx +915 -96
- package/src/auth.ts +8 -2
- package/src/codegen.ts +29 -12
- package/src/createCustomApp.ts +72 -24
- package/src/index.ts +76 -2
- package/src/locale-messages.ts +2 -0
- package/src/metadata.ts +16 -3
- package/src/pages/home.tsx +3 -1
- package/src/pages/observability/action-run.tsx +5 -1
- package/src/pages/observability/activity/messages.ts +16 -0
- package/src/pages/observability/activity/thread.tsx +150 -0
- package/src/pages/observability/activity/timeline.tsx +40 -3
- package/src/pages/observability/ai-usage/calls.tsx +63 -19
- package/src/pages/observability/ai-usage/format.ts +61 -8
- package/src/pages/observability/ai-usage/kinds.tsx +156 -0
- package/src/pages/observability/ai-usage/messages.ts +91 -14
- package/src/pages/observability/ai-usage/page.tsx +157 -48
- package/src/pages/observability/messages.ts +3 -0
- package/src/pages/ontology/actions.tsx +25 -4
- package/src/pages/ontology/components/action-button.tsx +53 -17
- package/src/pages/ontology/components/user-picker.tsx +161 -0
- package/src/pages/ontology/object-type.tsx +6 -0
- package/src/pages/ontology/workflows/run-input-form.tsx +12 -1
- package/src/pages/routes.ts +5 -0
- package/src/pages/section-page.tsx +27 -0
- package/src/pages/section-ui.tsx +3 -2
- package/src/pages/settings/controls.tsx +10 -2
- package/src/pages/settings/members.tsx +1 -5
- package/src/pages/settings/memory-contents.tsx +173 -0
- package/src/pages/settings/memory-entries.ts +112 -0
- package/src/pages/settings/memory-files.ts +195 -0
- package/src/pages/settings/memory-history.tsx +560 -0
- package/src/pages/settings/memory.tsx +993 -0
- package/src/pages/settings/messages.ts +231 -2
- package/src/pages/settings/personal.tsx +247 -27
- package/src/pages/settings/service-accounts.tsx +1 -1
- package/src/pages/settings/sessions.tsx +1 -4
- package/src/pages/values.tsx +88 -11
- package/src/pages.ts +21 -27
- package/src/sections/catalog.ts +18 -1
- package/src/sections/sections.tsx +2 -0
- package/src/shell/agent-dock.tsx +4 -2
- package/dist/chunk-c7gy61rx.js.map +0 -10
- package/dist/chunk-gn3k23q5.js.map +0 -10
- package/dist/chunk-ng0hdnrq.js.map +0 -10
- package/dist/chunk-xxpdn63v.js +0 -15018
- package/dist/chunk-xxpdn63v.js.map +0 -105
- package/src/agent/agents-page.ts +0 -7
- package/src/agent/components/agent-thread-switcher.tsx +0 -346
- /package/dist/{chunk-3schcf10.js.map → chunk-736c9akn.js.map} +0 -0
- /package/dist/{chunk-g3f4cm8x.js.map → chunk-k4epnkcr.js.map} +0 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { type FileSource } from "../artifacts/file-source";
|
|
2
|
+
import type { LiveRunState } from "./live-run";
|
|
3
|
+
import { type MessageAuthor } from "./message-authors";
|
|
4
|
+
import { type NormalizedPart, type NormalizedTool } from "./parts";
|
|
5
|
+
import type { ActiveTurnPresentation } from "./run-presentation";
|
|
6
|
+
import type { AgentToolViewProps } from "./tool-views/define";
|
|
7
|
+
import type { AgentContextEntryInput, AgentFileRef, AgentMessage, AgentThread } from "./types";
|
|
8
|
+
/** Reads a saved file of a message: its URLs, or `load()` for its bytes with the reader's rights. */
|
|
9
|
+
export type AgentFileSource = FileSource;
|
|
10
|
+
/** A file in a message. Its source exists once the message is saved. */
|
|
11
|
+
export interface AgentConversationFile {
|
|
12
|
+
readonly fileRef: AgentFileRef;
|
|
13
|
+
readonly source?: AgentFileSource;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* One tool call of a reply, as it streams or as it was saved. Its `state` says which of the call's
|
|
17
|
+
* input, output and error it holds, as for a tool's view; no tool types them here.
|
|
18
|
+
*/
|
|
19
|
+
export type AgentConversationToolPart = {
|
|
20
|
+
readonly type: "tool";
|
|
21
|
+
readonly toolName: string;
|
|
22
|
+
readonly toolCallId?: string;
|
|
23
|
+
/** Files in a saved rich result, such as the image `view_file` prepared for the model. */
|
|
24
|
+
readonly files?: readonly AgentConversationFile[];
|
|
25
|
+
} & AgentToolViewProps;
|
|
26
|
+
/**
|
|
27
|
+
* What a message says, in order. Two text parts in a row are two steps of the reply; the built-in
|
|
28
|
+
* chat shows them as separate paragraphs.
|
|
29
|
+
*/
|
|
30
|
+
export type AgentConversationPart = {
|
|
31
|
+
readonly type: "text";
|
|
32
|
+
readonly text: string;
|
|
33
|
+
readonly streaming: boolean;
|
|
34
|
+
} | {
|
|
35
|
+
readonly type: "reasoning";
|
|
36
|
+
readonly text: string;
|
|
37
|
+
readonly streaming: boolean;
|
|
38
|
+
} | ({
|
|
39
|
+
readonly type: "file";
|
|
40
|
+
} & AgentConversationFile) | AgentConversationToolPart;
|
|
41
|
+
type AgentPrincipalType = NonNullable<AgentMessage["authorPrincipal"]>["type"];
|
|
42
|
+
/** Who wrote a user message. */
|
|
43
|
+
export interface AgentConversationAuthor {
|
|
44
|
+
readonly type: AgentPrincipalType;
|
|
45
|
+
readonly id: string;
|
|
46
|
+
/** Their account's name, when it has one. */
|
|
47
|
+
readonly displayName?: string;
|
|
48
|
+
/** The person reading the conversation wrote it. */
|
|
49
|
+
readonly isReader: boolean;
|
|
50
|
+
}
|
|
51
|
+
/** Why a reply stopped short of finishing, such as `output_limit_reached`. */
|
|
52
|
+
export type AgentConversationDiagnostic = AgentMessage["annotations"][number];
|
|
53
|
+
/** A message of the conversation: saved, just sent, or streaming in. */
|
|
54
|
+
export interface AgentConversationMessage {
|
|
55
|
+
/** Stable from the message the reader sends to its saved copy, and from a reply's stream to its. */
|
|
56
|
+
readonly key: string;
|
|
57
|
+
/** The saved message's id, once the conversation holds it. */
|
|
58
|
+
readonly id: string | null;
|
|
59
|
+
readonly role: "user" | "assistant";
|
|
60
|
+
/**
|
|
61
|
+
* `pending`: sent, not saved yet. `streaming`: a reply that still comes from its run, until its
|
|
62
|
+
* saved copy replaces it. `complete`: everything else.
|
|
63
|
+
*/
|
|
64
|
+
readonly status: "pending" | "streaming" | "complete";
|
|
65
|
+
/** The run that wrote a reply. */
|
|
66
|
+
readonly runId: string | null;
|
|
67
|
+
/** Who wrote a user message, when known. */
|
|
68
|
+
readonly author?: AgentConversationAuthor;
|
|
69
|
+
readonly parts: readonly AgentConversationPart[];
|
|
70
|
+
/** What a user message pointed the agent at: objects and app state, shown as chips. */
|
|
71
|
+
readonly context: readonly AgentContextEntryInput[];
|
|
72
|
+
/** Why a saved reply stopped short of finishing; `conversation.continue()` can finish it. */
|
|
73
|
+
readonly diagnostics: readonly AgentConversationDiagnostic[];
|
|
74
|
+
/** Earlier turns were condensed before this reply: the summary the agent read instead. */
|
|
75
|
+
readonly compaction?: NonNullable<AgentMessage["compaction"]>;
|
|
76
|
+
/**
|
|
77
|
+
* A reply whose run ended before finishing it: it failed, or someone stopped it. The turn tells
|
|
78
|
+
* only of a turn that ended without any answer.
|
|
79
|
+
*/
|
|
80
|
+
readonly unfinished?: "failed" | "cancelled";
|
|
81
|
+
}
|
|
82
|
+
/** What the reader sent, shown until the conversation holds the saved message. */
|
|
83
|
+
export interface PendingUserMessage {
|
|
84
|
+
readonly key: string;
|
|
85
|
+
readonly threadId: string;
|
|
86
|
+
readonly text: string;
|
|
87
|
+
readonly attachments: readonly AgentFileRef[];
|
|
88
|
+
readonly context: readonly AgentContextEntryInput[];
|
|
89
|
+
/** The saved message's id, once the API accepted it. */
|
|
90
|
+
readonly messageId: string | null;
|
|
91
|
+
}
|
|
92
|
+
export interface ConversationMessagesInput {
|
|
93
|
+
/** The saved messages, oldest first. */
|
|
94
|
+
readonly messages: readonly AgentMessage[];
|
|
95
|
+
/** The message page's authors, with their names. */
|
|
96
|
+
readonly authors?: readonly MessageAuthor[];
|
|
97
|
+
/** The conversation, whose people's names win over the authors'. */
|
|
98
|
+
readonly thread?: AgentThread | null;
|
|
99
|
+
/** Who reads it: their messages say so, and a pending message is theirs. */
|
|
100
|
+
readonly reader?: {
|
|
101
|
+
readonly type: AgentPrincipalType;
|
|
102
|
+
readonly id: string;
|
|
103
|
+
readonly displayName?: string;
|
|
104
|
+
};
|
|
105
|
+
/** Read through the observer's routes: the conversation is someone else's. */
|
|
106
|
+
readonly observed?: boolean;
|
|
107
|
+
readonly pending?: PendingUserMessage | null;
|
|
108
|
+
/** The key each message the reader sent had while pending, by its saved id. */
|
|
109
|
+
readonly sentKeys?: ReadonlyMap<string, string>;
|
|
110
|
+
/** The run followed live; an observer follows none. */
|
|
111
|
+
readonly live?: LiveRunState | null;
|
|
112
|
+
readonly presentation: ActiveTurnPresentation;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* The conversation as one list. A pending message gives way to its saved copy, and the live reply
|
|
116
|
+
* to its own, keeping their keys; until the copy is there, the pending or live one stands for it.
|
|
117
|
+
* An interrupted turn that saved nothing drops what it streamed, and the message Continue writes for
|
|
118
|
+
* the model is not shown.
|
|
119
|
+
*/
|
|
120
|
+
export declare function conversationMessages(input: ConversationMessagesInput): AgentConversationMessage[];
|
|
121
|
+
/**
|
|
122
|
+
* The parts as the built-in chat draws them. Two text parts in a row were two steps, which the
|
|
123
|
+
* chat keeps apart with the step boundary between them.
|
|
124
|
+
*/
|
|
125
|
+
export declare function normalizedParts(parts: readonly AgentConversationPart[]): NormalizedPart[];
|
|
126
|
+
/** A tool part as the built-in tool views read it. */
|
|
127
|
+
export declare function normalizedTool(part: AgentConversationToolPart): NormalizedTool;
|
|
128
|
+
/** What the reader may do with the turn, and what of it is under way. */
|
|
129
|
+
interface AgentConversationTurnActions {
|
|
130
|
+
/** `conversation.stop()` stops the answer in flight. */
|
|
131
|
+
readonly canStop: boolean;
|
|
132
|
+
/** `conversation.retry()` runs again a turn that never answered. */
|
|
133
|
+
readonly canRetry: boolean;
|
|
134
|
+
/** `conversation.continue()` finishes an answer cut short. */
|
|
135
|
+
readonly canContinue: boolean;
|
|
136
|
+
readonly stopping: boolean;
|
|
137
|
+
readonly retrying: boolean;
|
|
138
|
+
readonly continuing: boolean;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* The newest turn of the conversation: answering, or how it ended when it ended short. A chat draws
|
|
142
|
+
* its markers from it, such as the thinking shimmer or the notice that an answer timed out.
|
|
143
|
+
*/
|
|
144
|
+
export type AgentConversationTurn = AgentConversationTurnActions & ({
|
|
145
|
+
readonly kind: "idle";
|
|
146
|
+
} | {
|
|
147
|
+
readonly kind: "responding";
|
|
148
|
+
/** The run answering. Its reply joins `messages` once it streams content. */
|
|
149
|
+
readonly runId: string;
|
|
150
|
+
/** The answer has waited in the queue longer than usual. */
|
|
151
|
+
readonly waitingLonger: boolean;
|
|
152
|
+
/** Earlier turns are being condensed before the answer starts. */
|
|
153
|
+
readonly compacting: boolean;
|
|
154
|
+
/** The answer's live stream dropped and is reconnecting. */
|
|
155
|
+
readonly reconnecting: boolean;
|
|
156
|
+
/** Who asked for the answer, when it is someone other than the reader. */
|
|
157
|
+
readonly answeringFor: AgentConversationAuthor | null;
|
|
158
|
+
}
|
|
159
|
+
/** The turn failed without an answer. One that failed mid-answer says so on its reply. */
|
|
160
|
+
| {
|
|
161
|
+
readonly kind: "failed";
|
|
162
|
+
}
|
|
163
|
+
/** The turn hit its time limit. With progress saved it can continue, else run again. */
|
|
164
|
+
| {
|
|
165
|
+
readonly kind: "timeout";
|
|
166
|
+
readonly hasProgress: boolean;
|
|
167
|
+
readonly timeoutMs?: number;
|
|
168
|
+
}
|
|
169
|
+
/** The worker running the turn stopped. With progress saved it can continue, else run again. */
|
|
170
|
+
| {
|
|
171
|
+
readonly kind: "interrupted";
|
|
172
|
+
readonly hasProgress: boolean;
|
|
173
|
+
}
|
|
174
|
+
/** The turn was stopped without an answer. One stopped mid-answer says so on its reply. */
|
|
175
|
+
| {
|
|
176
|
+
readonly kind: "cancelled";
|
|
177
|
+
});
|
|
178
|
+
export interface ConversationTurnInput extends AgentConversationTurnActions {
|
|
179
|
+
readonly presentation: ActiveTurnPresentation;
|
|
180
|
+
readonly activeRunId: string | null;
|
|
181
|
+
readonly waitingLonger: boolean;
|
|
182
|
+
readonly compacting: boolean;
|
|
183
|
+
readonly reconnecting: boolean;
|
|
184
|
+
readonly answeringFor: AgentConversationAuthor | null;
|
|
185
|
+
}
|
|
186
|
+
export declare function conversationTurn(input: ConversationTurnInput): AgentConversationTurn;
|
|
187
|
+
/** A conversation read without acting on it, as an observer does. */
|
|
188
|
+
export declare const READ_ONLY_TURN: {
|
|
189
|
+
readonly canStop: false;
|
|
190
|
+
readonly canRetry: false;
|
|
191
|
+
readonly canContinue: false;
|
|
192
|
+
readonly stopping: false;
|
|
193
|
+
readonly retrying: false;
|
|
194
|
+
readonly continuing: false;
|
|
195
|
+
readonly waitingLonger: false;
|
|
196
|
+
readonly compacting: false;
|
|
197
|
+
readonly reconnecting: false;
|
|
198
|
+
readonly answeringFor: null;
|
|
199
|
+
};
|
|
200
|
+
export {};
|
|
201
|
+
//# sourceMappingURL=conversation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../src/agent/conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAqB,MAAM,0BAA0B,CAAA;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,EAAa,KAAK,aAAa,EAAgB,MAAM,mBAAmB,CAAA;AAC/E,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,cAAc,EAEpB,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AAChE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAE7D,OAAO,KAAK,EACV,sBAAsB,EAEtB,YAAY,EACZ,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAA;AAMhB,qGAAqG;AACrG,MAAM,MAAM,eAAe,GAAG,UAAU,CAAA;AAExC,wEAAwE;AACxE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAA;IAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,eAAe,CAAA;CAClC;AAED;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,0FAA0F;IAC1F,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,qBAAqB,EAAE,CAAA;CAClD,GAAG,kBAAkB,CAAA;AAEtB;;;GAGG;AACH,MAAM,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Model } from "./model";
|
|
2
|
+
import { type ChildrenSource } from "./use-children";
|
|
3
|
+
/**
|
|
4
|
+
* One child: what it was asked, on which model, where it stands and what it does now. Its work opens
|
|
5
|
+
* right under that, or in a sheet on a phone; below are what passed between it and the Agent, the
|
|
6
|
+
* calls it waits on, and the files it made.
|
|
7
|
+
*/
|
|
8
|
+
export declare const ChildCard: import("react").NamedExoticComponent<{
|
|
9
|
+
readonly model: ChildModel;
|
|
10
|
+
readonly source: ChildrenSource;
|
|
11
|
+
readonly unavailable: boolean;
|
|
12
|
+
/** A row of a group, which draws the border around it. */
|
|
13
|
+
readonly grouped?: boolean;
|
|
14
|
+
/** Say its changes to a screen reader: not while its group is folded. */
|
|
15
|
+
readonly announce?: boolean;
|
|
16
|
+
/** Its work opened or closed: a group stays open while any is. */
|
|
17
|
+
readonly onWorkOpenChange?: (childId: string, open: boolean) => void;
|
|
18
|
+
}>;
|
|
19
|
+
//# sourceMappingURL=child-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"child-card.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-card.tsx"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,gBAAgB,CAAA;AAKrE;;;;GAIG;AACH,eAAO,MAAM,SAAS;oBAQJ,UAAU;qBACT,cAAc;0BACT,OAAO;IAC7B,0DAA0D;uBACvC,OAAO;IAC1B,yEAAyE;wBACrD,OAAO;IAC3B,kEAAkE;gCACtC,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI;EA2QpE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type SpawnedChild } from "./interpret";
|
|
2
|
+
/**
|
|
3
|
+
* The sub-agents a run of the Agent's work spawned, under that work: one card each, or, for
|
|
4
|
+
* several, one group that says how they stand. Each child at work streams to its card.
|
|
5
|
+
*/
|
|
6
|
+
export declare function ChildCards({ spawned }: {
|
|
7
|
+
readonly spawned: readonly SpawnedChild[];
|
|
8
|
+
}): import("react").JSX.Element | null;
|
|
9
|
+
//# sourceMappingURL=child-cards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"child-cards.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-cards.tsx"],"names":[],"mappings":"AAQA,OAAO,EAA8B,KAAK,YAAY,EAAyB,MAAM,aAAa,CAAA;AAUlG;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,QAAQ,CAAC,OAAO,EAAE,SAAS,YAAY,EAAE,CAAA;CAAE,sCAyEpF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ChildModel } from "./model";
|
|
2
|
+
import type { ChildrenSource } from "./use-children";
|
|
3
|
+
/**
|
|
4
|
+
* Several children of one reply: a line that says how they stand, then a row for each, the ones
|
|
5
|
+
* waiting on the reader first. It is open while any works, waits or will continue, and folds to
|
|
6
|
+
* its line once all have settled, never while the reader has a child's work open. Something new
|
|
7
|
+
* for the reader to do opens it again.
|
|
8
|
+
*/
|
|
9
|
+
export declare function ChildGroup({ models, source, unavailable, }: {
|
|
10
|
+
readonly models: readonly ChildModel[];
|
|
11
|
+
readonly source: ChildrenSource;
|
|
12
|
+
readonly unavailable: boolean;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=child-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"child-group.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-group.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,UAAU,EAA2B,MAAM,SAAS,CAAA;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,MAAM,EACN,WAAW,GACZ,EAAE;IACD,QAAQ,CAAC,MAAM,EAAE,SAAS,UAAU,EAAE,CAAA;IACtC,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAA;IAC/B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;CAC9B,+BA4HA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { AgentMessages } from "../i18n/en";
|
|
3
|
+
import { type AgentChild, type ChildExchange, type ChildState, type SpawnedChild } from "./interpret";
|
|
4
|
+
import type { ChildModel, WaitingOn } from "./model";
|
|
5
|
+
/**
|
|
6
|
+
* Where a child stands at a glance: a turning ring while it works, amber while it waits on
|
|
7
|
+
* someone. `calm`: it waits on someone other than the reader, so it does not call for them.
|
|
8
|
+
*/
|
|
9
|
+
export declare function StateGlyph({ state, size, ringed, calm, }: {
|
|
10
|
+
readonly state: ChildState;
|
|
11
|
+
readonly size?: "sm" | "md";
|
|
12
|
+
/** Overlapping others in a stack. */
|
|
13
|
+
readonly ringed?: boolean;
|
|
14
|
+
readonly calm?: boolean;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
16
|
+
/** The status line's colour: amber only when the reader is the one to act. */
|
|
17
|
+
export declare function toneClass(state: ChildState, needsReader: boolean): string;
|
|
18
|
+
/** The status line: what it does right now while it works, else where it stands. */
|
|
19
|
+
export declare function statusLabel(model: ChildModel, input: {
|
|
20
|
+
readonly stopping: boolean;
|
|
21
|
+
readonly observed: boolean;
|
|
22
|
+
readonly messages: AgentMessages;
|
|
23
|
+
}): string;
|
|
24
|
+
/** Where a child stands, in words: also what a screen reader hears when it changes. */
|
|
25
|
+
export declare function stateLabel(state: ChildState, waitingOn: WaitingOn, observed: boolean, messages: AgentMessages): string;
|
|
26
|
+
/** How long a child worked, its waits left out, ticking while it works. */
|
|
27
|
+
export declare function WorkedFor({ views }: {
|
|
28
|
+
readonly views: readonly (AgentChild | undefined)[];
|
|
29
|
+
}): import("react").JSX.Element | null;
|
|
30
|
+
/** The model a child runs on: its provider's logo, its name, and the tier it came from. */
|
|
31
|
+
export declare function ModelChip({ child, view, className, }: {
|
|
32
|
+
readonly child: SpawnedChild;
|
|
33
|
+
readonly view?: AgentChild;
|
|
34
|
+
readonly className?: string;
|
|
35
|
+
}): import("react").JSX.Element | null;
|
|
36
|
+
/** A band of the card below its header, its content aligned with the title. */
|
|
37
|
+
export declare function Section({ label, children, }: {
|
|
38
|
+
readonly label?: string;
|
|
39
|
+
readonly children: ReactNode;
|
|
40
|
+
}): import("react").JSX.Element;
|
|
41
|
+
/**
|
|
42
|
+
* What the Agent told the child, what the child asked, and what the Agent answered. The question
|
|
43
|
+
* it waits on reads in full, in amber when the reader is the one to answer.
|
|
44
|
+
*/
|
|
45
|
+
export declare function Exchanges({ exchanges, openQuestion, urgent, }: {
|
|
46
|
+
readonly exchanges: readonly ChildExchange[];
|
|
47
|
+
readonly openQuestion: string | null;
|
|
48
|
+
readonly urgent: boolean;
|
|
49
|
+
}): import("react").JSX.Element;
|
|
50
|
+
//# sourceMappingURL=child-parts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"child-parts.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-parts.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AAI3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EACL,KAAK,UAAU,EAEf,KAAK,aAAa,EAClB,KAAK,UAAU,EAEf,KAAK,YAAY,EAElB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAiCpD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,IAAW,EACX,MAAc,EACd,IAAY,GACb,EAAE;IACD,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAA;IAC1B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SAAS,CAAA;CAC7B,+BAWA;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,YAAY,EACZ,MAAM,GACP,EAAE;IACD,QAAQ,CAAC,SAAS,EAAE,SAAS,aAAa,EAAE,CAAA;IAC5C,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IACpC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;CACzB,+BA8DA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { LiveRunState } from "../live-run";
|
|
3
|
+
import type { AgentChild, WaitedChild } from "./interpret";
|
|
4
|
+
import { type ChildrenSource } from "./use-children";
|
|
5
|
+
/**
|
|
6
|
+
* What the child did: the files it was handed, then each run's work, the one at work live. A run
|
|
7
|
+
* that continued another follows it under a line that says why.
|
|
8
|
+
*/
|
|
9
|
+
export declare function ChildWork({ view, live, source, unavailable, waited, enabled, }: {
|
|
10
|
+
readonly view?: AgentChild;
|
|
11
|
+
/** Its run at work, as its stream shows it. */
|
|
12
|
+
readonly live?: LiveRunState;
|
|
13
|
+
readonly source: ChildrenSource;
|
|
14
|
+
readonly unavailable: boolean;
|
|
15
|
+
readonly waited?: WaitedChild;
|
|
16
|
+
/** The panel is open: only then is its thread read. */
|
|
17
|
+
readonly enabled: boolean;
|
|
18
|
+
}): import("react").JSX.Element;
|
|
19
|
+
/**
|
|
20
|
+
* A scrolling box that follows new content while its reader is at its end, and stays where they
|
|
21
|
+
* scrolled otherwise.
|
|
22
|
+
*/
|
|
23
|
+
export declare function FollowingScroll({ follow, live, className, children, }: {
|
|
24
|
+
/** Changes when the content grows. */
|
|
25
|
+
readonly follow: string;
|
|
26
|
+
/** The content is still growing: it opens at its end. Otherwise at its start. */
|
|
27
|
+
readonly live: boolean;
|
|
28
|
+
readonly className?: string;
|
|
29
|
+
readonly children: ReactNode;
|
|
30
|
+
}): import("react").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=child-work.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"child-work.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/child-work.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkB,KAAK,SAAS,EAA+C,MAAM,OAAO,CAAA;AAKnG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG/C,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,KAAK,cAAc,EAAoB,MAAM,gBAAgB,CAAA;AAEtE;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,WAAW,EACX,MAAM,EACN,OAAO,GACR,EAAE;IACD,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAA;IAC1B,+CAA+C;IAC/C,QAAQ,CAAC,IAAI,CAAC,EAAE,YAAY,CAAA;IAC5B,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAA;IAC/B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;IAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAA;IAC7B,uDAAuD;IACvD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAC1B,+BA6HA;AA+CD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,IAAI,EACJ,SAAS,EACT,QAAQ,GACT,EAAE;IACD,sCAAsC;IACtC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,iFAAiF;IACjF,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC7B,+BAsBA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ThreadDelegation } from "./interpret";
|
|
2
|
+
/** What a conversation lets its reader do with its sub-agents. */
|
|
3
|
+
export interface TranscriptDelegation {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the reader may stop a sub-agent at work under this turn: whoever asked for the turn,
|
|
6
|
+
* or the thread's owner.
|
|
7
|
+
*/
|
|
8
|
+
readonly canStop: (runId: string) => boolean;
|
|
9
|
+
}
|
|
10
|
+
/** What the sub-agent cards of a transcript read. */
|
|
11
|
+
export interface DelegationCardsContext {
|
|
12
|
+
readonly threadId: string | null;
|
|
13
|
+
readonly delegation: ThreadDelegation;
|
|
14
|
+
/** The turn streaming now, which spawns the children whose runs are not listed yet. */
|
|
15
|
+
readonly liveRunId: string | null;
|
|
16
|
+
/** Absent for a reader who only reads, such as an observer. */
|
|
17
|
+
readonly actions?: TranscriptDelegation;
|
|
18
|
+
}
|
|
19
|
+
/** Null outside a transcript, such as in a workflow's agent trace: no card is shown there. */
|
|
20
|
+
export declare const DelegationCardsContext: import("react").Context<DelegationCardsContext | null>;
|
|
21
|
+
export declare function useDelegationCards(): DelegationCardsContext | null;
|
|
22
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEnD,kEAAkE;AAClE,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAA;CAC7C;AAED,qDAAqD;AACrD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAA;IACrC,uFAAuF;IACvF,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,+DAA+D;IAC/D,QAAQ,CAAC,OAAO,CAAC,EAAE,oBAAoB,CAAA;CACxC;AAED,8FAA8F;AAC9F,eAAO,MAAM,sBAAsB,wDAAqD,CAAA;AAExF,wBAAgB,kBAAkB,IAAI,sBAAsB,GAAG,IAAI,CAElE"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { AgentChild } from "@sixb/client";
|
|
2
|
+
import { type AgentConversationMessage } from "../conversation";
|
|
3
|
+
import type { AgentMessages } from "../i18n/en";
|
|
4
|
+
import { type NormalizedPart, type NormalizedTool } from "../parts";
|
|
5
|
+
export type { AgentChild };
|
|
6
|
+
export type AgentChildRun = AgentChild["runs"][number];
|
|
7
|
+
/** A child as its `spawn_agent` call names it. `id` is the run the call answered with. */
|
|
8
|
+
export interface SpawnedChild {
|
|
9
|
+
/** Its first run's id, or `pending:<key>` while the call is still being made. */
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly key: string;
|
|
12
|
+
readonly task: string;
|
|
13
|
+
/** The model the call answered with, once it did. */
|
|
14
|
+
readonly model?: {
|
|
15
|
+
readonly provider: string;
|
|
16
|
+
readonly modelId: string;
|
|
17
|
+
};
|
|
18
|
+
/** The tier the Agent asked for, when it asked for one. */
|
|
19
|
+
readonly tier?: string;
|
|
20
|
+
readonly pending: boolean;
|
|
21
|
+
}
|
|
22
|
+
/** One line of what passed between the Agent and a child, oldest first. */
|
|
23
|
+
export interface ChildExchange {
|
|
24
|
+
readonly kind: "told" | "asked" | "answered";
|
|
25
|
+
readonly text: string;
|
|
26
|
+
}
|
|
27
|
+
/** What `wait_agent` last said about one of a child's runs. */
|
|
28
|
+
export interface WaitedChild {
|
|
29
|
+
readonly status: string;
|
|
30
|
+
readonly text?: string;
|
|
31
|
+
readonly error?: string;
|
|
32
|
+
}
|
|
33
|
+
/** Everything the thread's parts say about its sub-agents, by the id of each one's first run. */
|
|
34
|
+
export interface ThreadDelegation {
|
|
35
|
+
/** The turn that spawned each child. */
|
|
36
|
+
readonly spawnedBy: ReadonlyMap<string, string | null>;
|
|
37
|
+
readonly exchanges: ReadonlyMap<string, readonly ChildExchange[]>;
|
|
38
|
+
/** By the id of the run waited on: a child's first run, or one that continued it. */
|
|
39
|
+
readonly waited: ReadonlyMap<string, WaitedChild>;
|
|
40
|
+
/**
|
|
41
|
+
* The child a key named in a turn: the latest spawned under it by then. A call a child made is
|
|
42
|
+
* filed on the turn that ran it, under its key.
|
|
43
|
+
*/
|
|
44
|
+
readonly ownerOf: (key: string, runId?: string) => string | undefined;
|
|
45
|
+
}
|
|
46
|
+
/** The child a `spawn_agent` call starts, from its input and, once it answered, its output. */
|
|
47
|
+
export declare function spawnedChild(tool: NormalizedTool): SpawnedChild | null;
|
|
48
|
+
/** The children a run of work spawned, once each, in the order the Agent spawned them. */
|
|
49
|
+
export declare function spawnedChildren(parts: readonly NormalizedPart[]): readonly SpawnedChild[];
|
|
50
|
+
/** A turn's delegation calls: the tools that spawn, wait for or message a child. */
|
|
51
|
+
export interface DelegationTurn {
|
|
52
|
+
readonly runId: string | null;
|
|
53
|
+
readonly tools: readonly NormalizedTool[];
|
|
54
|
+
}
|
|
55
|
+
/** The delegation calls of each reply, oldest first, the one streaming last. */
|
|
56
|
+
export declare function delegationTurns(messages: readonly AgentConversationMessage[]): readonly DelegationTurn[];
|
|
57
|
+
/**
|
|
58
|
+
* Read the thread's sub-agents from its turns, oldest first, the one streaming now last. Each
|
|
59
|
+
* `message_agent` and question goes to the child its key named at that point.
|
|
60
|
+
*/
|
|
61
|
+
export declare function readThreadDelegation(turns: readonly DelegationTurn[]): ThreadDelegation;
|
|
62
|
+
/** Where a child stands, as its card says it. */
|
|
63
|
+
export type ChildState = "starting" | "working" | "asking" | "approval" | "answer" | "resume" | "done" | "failed" | "stopped" | "ended" | "unknown";
|
|
64
|
+
/** A child at work, or about to be: its card streams it. */
|
|
65
|
+
export declare function isActive(state: ChildState): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Where a child stands: from its view when the reader has it, else from the parent's parts. `asking`
|
|
68
|
+
* is a child at work that waits on its question to the Agent.
|
|
69
|
+
*/
|
|
70
|
+
export declare function childState(input: {
|
|
71
|
+
readonly view?: AgentChild;
|
|
72
|
+
readonly spawned?: SpawnedChild;
|
|
73
|
+
readonly waited?: WaitedChild;
|
|
74
|
+
readonly asking?: boolean;
|
|
75
|
+
/** Its turn is streaming now: a child it spawned and nobody listed yet is starting. */
|
|
76
|
+
readonly turnLive?: boolean;
|
|
77
|
+
}): ChildState;
|
|
78
|
+
/** The run of a child at work, if any is: its thread's active run. */
|
|
79
|
+
export declare function activeRun(view: AgentChild | undefined): AgentChildRun | undefined;
|
|
80
|
+
/** The time a child spent at work, across its runs, at `now`. Waiting for a decision is not. */
|
|
81
|
+
export declare function workedMs(view: AgentChild, now: number): number;
|
|
82
|
+
/**
|
|
83
|
+
* What children spent together, in the currency the first of them was priced in; nothing until a
|
|
84
|
+
* call was priced.
|
|
85
|
+
*/
|
|
86
|
+
export declare function childrenCost(views: readonly (AgentChild | undefined)[], locale: string): string | null;
|
|
87
|
+
/**
|
|
88
|
+
* A child's name, from the key the Agent spawned it with: "supplier-terms" reads "Supplier terms",
|
|
89
|
+
* "checkINV4490" reads "Check INV4490". The key's own capitals stay.
|
|
90
|
+
*/
|
|
91
|
+
export declare function childTitle(key: string): string;
|
|
92
|
+
/** The question a child at work waits on, from its live parts: its `ask_parent` call in flight. */
|
|
93
|
+
export declare function liveQuestion(parts: readonly NormalizedPart[]): string | null;
|
|
94
|
+
/** How long, in words: "48s", "1m 12s", "1h 5m". */
|
|
95
|
+
export declare function formatWorked(ms: number, messages: AgentMessages["delegation"]): string;
|
|
96
|
+
/**
|
|
97
|
+
* What a delegation call reads as in the work, while it is made and once it answered: the Agent's
|
|
98
|
+
* spawns and waits, and a sub-agent's question. `null` for any other tool.
|
|
99
|
+
*/
|
|
100
|
+
export declare function describeDelegationTool(tool: NormalizedTool, parts: readonly NormalizedPart[], messages: AgentMessages): {
|
|
101
|
+
readonly title: string;
|
|
102
|
+
readonly running: string;
|
|
103
|
+
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AQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAqD7D"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { AgentApproval, TranscriptApprovals } from "../approvals";
|
|
2
|
+
import type { AgentMessages } from "../i18n/en";
|
|
3
|
+
import type { LiveRunState } from "../live-run";
|
|
4
|
+
import { type AgentChild, type ChildState, type SpawnedChild, type ThreadDelegation, type WaitedChild } from "./interpret";
|
|
5
|
+
/** Who a call waits on: the reader, someone they can name, or whoever decides. */
|
|
6
|
+
export type WaitingOn = {
|
|
7
|
+
readonly kind: "you";
|
|
8
|
+
} | {
|
|
9
|
+
readonly kind: "anyone";
|
|
10
|
+
} | {
|
|
11
|
+
readonly kind: "person";
|
|
12
|
+
readonly name: string;
|
|
13
|
+
};
|
|
14
|
+
export interface ChildModel {
|
|
15
|
+
readonly child: SpawnedChild;
|
|
16
|
+
readonly view?: AgentChild;
|
|
17
|
+
/** Its run at work, as its stream shows it. */
|
|
18
|
+
readonly live?: LiveRunState;
|
|
19
|
+
readonly state: ChildState;
|
|
20
|
+
readonly waited?: WaitedChild;
|
|
21
|
+
/** Its calls held under the turn that spawned it: their cards are in its card. */
|
|
22
|
+
readonly approvals: readonly AgentApproval[];
|
|
23
|
+
/** A call it holds under a later turn, which shows its card with that turn. */
|
|
24
|
+
readonly heldLater?: AgentApproval;
|
|
25
|
+
/** Who its call waits on. */
|
|
26
|
+
readonly waitingOn: WaitingOn;
|
|
27
|
+
/** The reader is the one to act: decide its call, or answer its question. */
|
|
28
|
+
readonly needsReader: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare function childModel(input: {
|
|
31
|
+
readonly child: SpawnedChild;
|
|
32
|
+
readonly view?: AgentChild;
|
|
33
|
+
readonly live?: LiveRunState;
|
|
34
|
+
/** The turn that spawned it. */
|
|
35
|
+
readonly runId: string | null;
|
|
36
|
+
readonly turnLive: boolean;
|
|
37
|
+
readonly observed: boolean;
|
|
38
|
+
readonly delegation: ThreadDelegation;
|
|
39
|
+
readonly approvals: TranscriptApprovals | null;
|
|
40
|
+
}): ChildModel;
|
|
41
|
+
/** Whether a sub-agent's call shows in its card: held under the turn that spawned it. */
|
|
42
|
+
export declare function heldInCard(approval: AgentApproval, delegation: ThreadDelegation): boolean;
|
|
43
|
+
/** Whether a group's children no longer change on their own: none works, waits or will continue. */
|
|
44
|
+
export declare function isSettled(state: ChildState): boolean;
|
|
45
|
+
/** One part of a group's summary: how many stand where, and whether the reader must act. */
|
|
46
|
+
export interface SummaryPart {
|
|
47
|
+
readonly text: string;
|
|
48
|
+
readonly urgent: boolean;
|
|
49
|
+
}
|
|
50
|
+
/** How a group's children stand, in the order a reader cares: what waits on them first. */
|
|
51
|
+
export declare function groupSummary(models: readonly ChildModel[], messages: AgentMessages): SummaryPart[];
|
|
52
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/agent/delegation/model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EACL,KAAK,UAAU,EACf,KAAK,UAAU,EAIf,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EACjB,MAAM,aAAa,CAAA;AAKpB,kFAAkF;AAClF,MAAM,MAAM,SAAS,GACjB;IAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAA;CAAE,GACxB;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,GAC3B;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,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