@sixb/app 0.1.18 → 0.2.1
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 +2 -2
- package/assets/connector-icons/README.md +2 -1
- package/assets/connector-icons/fleetio.ico +0 -0
- package/dist/agent/activity-label.d.ts.map +1 -1
- package/dist/agent/agent-chat.d.ts.map +1 -1
- package/dist/agent/background/background-card.d.ts +10 -0
- package/dist/agent/background/background-card.d.ts.map +1 -0
- package/dist/agent/background/background-tool-row.d.ts +9 -0
- package/dist/agent/background/background-tool-row.d.ts.map +1 -0
- package/dist/agent/background/context.d.ts +23 -0
- package/dist/agent/background/context.d.ts.map +1 -0
- package/dist/agent/background/interpret.d.ts +116 -0
- package/dist/agent/background/interpret.d.ts.map +1 -0
- package/dist/agent/bash/bash-tool-view.d.ts.map +1 -1
- package/dist/agent/bash/interpret.d.ts +5 -1
- package/dist/agent/bash/interpret.d.ts.map +1 -1
- package/dist/agent/components/agent-message-body.d.ts.map +1 -1
- package/dist/agent/components/composer-menu.d.ts +3 -1
- package/dist/agent/components/composer-menu.d.ts.map +1 -1
- package/dist/agent/components/composer-place.d.ts +11 -0
- package/dist/agent/components/composer-place.d.ts.map +1 -0
- package/dist/agent/components/composer.d.ts +7 -1
- package/dist/agent/components/composer.d.ts.map +1 -1
- package/dist/agent/components/computer-place.d.ts +25 -0
- package/dist/agent/components/computer-place.d.ts.map +1 -0
- package/dist/agent/components/context-meter.d.ts +41 -0
- package/dist/agent/components/context-meter.d.ts.map +1 -0
- package/dist/agent/components/message-parts.d.ts +9 -1
- package/dist/agent/components/message-parts.d.ts.map +1 -1
- package/dist/agent/components/message-view.d.ts +18 -3
- package/dist/agent/components/message-view.d.ts.map +1 -1
- package/dist/agent/components/transcript.d.ts +13 -0
- package/dist/agent/components/transcript.d.ts.map +1 -1
- package/dist/agent/components/web-fetch-tool-view.d.ts.map +1 -1
- package/dist/agent/conversation.d.ts +17 -2
- package/dist/agent/conversation.d.ts.map +1 -1
- package/dist/agent/delegation/child-parts.d.ts +2 -0
- package/dist/agent/delegation/child-parts.d.ts.map +1 -1
- package/dist/agent/delegation/use-children.d.ts +65 -5
- package/dist/agent/delegation/use-children.d.ts.map +1 -1
- package/dist/agent/format.d.ts +4 -0
- package/dist/agent/format.d.ts.map +1 -1
- package/dist/agent/hooks/use-agent-conversation.d.ts +33 -3
- package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
- package/dist/agent/hooks/use-new-thread-place.d.ts +48 -0
- package/dist/agent/hooks/use-new-thread-place.d.ts.map +1 -0
- package/dist/agent/hooks/use-thread-lists.d.ts +68 -4
- package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -1
- package/dist/agent/hooks/use-thread-stream.d.ts.map +1 -1
- package/dist/agent/i18n/en.d.ts +125 -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 +224 -0
- package/dist/agent/i18n/index.d.ts.map +1 -1
- package/dist/agent/live-run.d.ts +4 -0
- package/dist/agent/live-run.d.ts.map +1 -1
- package/dist/agent/observed-conversation.d.ts.map +1 -1
- package/dist/agent/parts.d.ts +2 -0
- package/dist/agent/parts.d.ts.map +1 -1
- package/dist/agent/run-presentation.d.ts +2 -0
- package/dist/agent/run-presentation.d.ts.map +1 -1
- package/dist/agent/tool-views/built-in.d.ts.map +1 -1
- package/dist/agent/types.d.ts +3 -1
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/utils/web-fetch.d.ts +33 -1
- package/dist/agent/utils/web-fetch.d.ts.map +1 -1
- package/dist/agent/utils/web-search.d.ts +14 -2
- package/dist/agent/utils/web-search.d.ts.map +1 -1
- package/dist/{chunk-pkcm8rn8.js → chunk-4j3c3p72.js} +1 -1
- package/dist/{chunk-sw3pyqgy.js → chunk-4mprsd2n.js} +15 -34
- package/dist/chunk-4mprsd2n.js.map +10 -0
- package/dist/{chunk-gq6xek89.js → chunk-7fj9cfkw.js} +3 -3
- package/dist/chunk-7fj9cfkw.js.map +10 -0
- package/dist/{chunk-md3p7qdt.js → chunk-dgs11da9.js} +3 -3
- package/dist/{chunk-md3p7qdt.js.map → chunk-dgs11da9.js.map} +2 -2
- package/dist/{chunk-hdbmj6f0.js → chunk-j8g956dt.js} +1 -1
- package/dist/{chunk-6n5pdqp0.js → chunk-j98jkx60.js} +3 -3
- package/dist/{chunk-6n5pdqp0.js.map → chunk-j98jkx60.js.map} +2 -2
- package/dist/{chunk-k4epnkcr.js → chunk-kwbw4dyk.js} +1 -1
- package/dist/{chunk-53z5653y.js → chunk-q69001w3.js} +78 -90
- package/dist/chunk-q69001w3.js.map +11 -0
- package/dist/{chunk-btky7c9w.js → chunk-ytadd0b5.js} +4205 -2203
- package/dist/{chunk-btky7c9w.js.map → chunk-ytadd0b5.js.map} +44 -36
- package/dist/codegen.d.ts.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -16
- package/dist/index.js.map +5 -5
- package/dist/locale-messages.d.ts +8 -20
- package/dist/locale-messages.d.ts.map +1 -1
- package/dist/locale.d.ts +8 -20
- 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 → console}/action-run.d.ts +1 -1
- package/dist/pages/console/action-run.d.ts.map +1 -0
- package/dist/pages/console/data/connectors.d.ts +5 -0
- package/dist/pages/console/data/connectors.d.ts.map +1 -0
- package/dist/pages/{data → console/data}/datasets.d.ts +3 -3
- package/dist/pages/console/data/datasets.d.ts.map +1 -0
- package/dist/pages/console/data/live-updates.d.ts.map +1 -0
- package/dist/pages/{data → console/data}/messages.d.ts +19 -1
- package/dist/pages/console/data/messages.d.ts.map +1 -0
- package/dist/pages/{data → console/data}/pipeline-canvas.d.ts +1 -1
- package/dist/pages/console/data/pipeline-canvas.d.ts.map +1 -0
- package/dist/pages/console/data/pipelines.d.ts +9 -0
- package/dist/pages/console/data/pipelines.d.ts.map +1 -0
- package/dist/pages/console/data/producer.d.ts +21 -0
- package/dist/pages/console/data/producer.d.ts.map +1 -0
- package/dist/pages/{data → console/data}/projections.d.ts +3 -3
- package/dist/pages/console/data/projections.d.ts.map +1 -0
- package/dist/pages/console/data/schema.d.ts.map +1 -0
- package/dist/pages/console/data/shared.d.ts.map +1 -0
- package/dist/pages/console/data/sync-button.d.ts.map +1 -0
- package/dist/pages/console/data/syncs.d.ts +5 -0
- package/dist/pages/console/data/syncs.d.ts.map +1 -0
- package/dist/pages/console/live-updates.d.ts.map +1 -0
- package/dist/pages/{observability → console}/logs.d.ts +2 -2
- package/dist/pages/console/logs.d.ts.map +1 -0
- package/dist/pages/{observability → console}/messages.d.ts +8 -100
- package/dist/pages/console/messages.d.ts.map +1 -0
- package/dist/pages/console/ontology/action-runs.d.ts +16 -0
- package/dist/pages/console/ontology/action-runs.d.ts.map +1 -0
- package/dist/pages/console/ontology/actions.d.ts +6 -0
- package/dist/pages/console/ontology/actions.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/action-button.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/action-param-null-control.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/collection-toolbar.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/common.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/file-ref-upload-field.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/object-filter-popover.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/object-icon.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/object-query-bar.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/telemetry-chart.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/telemetry-grid.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/telemetry-tile.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/telemetry-value.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/usage-bar.d.ts.map +1 -0
- package/dist/pages/console/ontology/components/user-picker.d.ts.map +1 -0
- package/dist/pages/console/ontology/graph.d.ts +6 -0
- package/dist/pages/console/ontology/graph.d.ts.map +1 -0
- package/dist/pages/console/ontology/hooks/object-live-updates.d.ts.map +1 -0
- package/dist/pages/console/ontology/hooks/object-telemetry-updates.d.ts.map +1 -0
- package/dist/pages/console/ontology/hooks/object-type-counts.d.ts.map +1 -0
- package/dist/pages/console/ontology/hooks/rule-live-updates.d.ts.map +1 -0
- package/dist/pages/console/ontology/hooks/workflow-live-updates.d.ts.map +1 -0
- package/dist/pages/console/ontology/lib/action-params.d.ts.map +1 -0
- package/dist/pages/console/ontology/lib/format-value.d.ts.map +1 -0
- package/dist/pages/console/ontology/lib/labels.d.ts.map +1 -0
- package/dist/pages/{ontology → console/ontology}/lib/live-update-keys.d.ts +2 -0
- package/dist/pages/console/ontology/lib/live-update-keys.d.ts.map +1 -0
- package/dist/pages/console/ontology/lib/object-query.d.ts.map +1 -0
- package/dist/pages/console/ontology/lib/ontology-graph-layout.d.ts.map +1 -0
- package/dist/pages/console/ontology/lib/ontology-graph-links.d.ts.map +1 -0
- package/dist/pages/console/ontology/lib/telemetry-history.d.ts.map +1 -0
- package/dist/pages/console/ontology/lib/time.d.ts.map +1 -0
- package/dist/pages/console/ontology/lib/user-preferences.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/action-name.d.ts +6 -0
- package/dist/pages/console/ontology/lineage/action-name.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/dataset-steps.d.ts +15 -0
- package/dist/pages/console/ontology/lineage/dataset-steps.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/links.d.ts +13 -0
- package/dist/pages/console/ontology/lineage/links.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/messages.d.ts +108 -0
- package/dist/pages/console/ontology/lineage/messages.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/model.d.ts +84 -0
- package/dist/pages/console/ontology/lineage/model.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/properties-panel.d.ts +17 -0
- package/dist/pages/console/ontology/lineage/properties-panel.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/property-source.d.ts +12 -0
- package/dist/pages/console/ontology/lineage/property-source.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/query.d.ts +8 -0
- package/dist/pages/console/ontology/lineage/query.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/requester.d.ts +8 -0
- package/dist/pages/console/ontology/lineage/requester.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/separated.d.ts +16 -0
- package/dist/pages/console/ontology/lineage/separated.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/summary.d.ts +10 -0
- package/dist/pages/console/ontology/lineage/summary.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/trail-step.d.ts +20 -0
- package/dist/pages/console/ontology/lineage/trail-step.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/trail.d.ts +21 -0
- package/dist/pages/console/ontology/lineage/trail.d.ts.map +1 -0
- package/dist/pages/console/ontology/lineage/value-lineage-panel.d.ts +26 -0
- package/dist/pages/console/ontology/lineage/value-lineage-panel.d.ts.map +1 -0
- package/dist/pages/console/ontology/object-page.d.ts.map +1 -0
- package/dist/pages/console/ontology/object-type.d.ts +3 -0
- package/dist/pages/console/ontology/object-type.d.ts.map +1 -0
- package/dist/pages/console/ontology/object-types.d.ts +7 -0
- package/dist/pages/console/ontology/object-types.d.ts.map +1 -0
- package/dist/pages/console/ontology/objects.d.ts +6 -0
- package/dist/pages/console/ontology/objects.d.ts.map +1 -0
- package/dist/pages/{ontology → console/ontology}/rules.d.ts +3 -3
- package/dist/pages/console/ontology/rules.d.ts.map +1 -0
- package/dist/pages/{ontology → console/ontology}/workflow.d.ts +1 -1
- package/dist/pages/console/ontology/workflow.d.ts.map +1 -0
- package/dist/pages/{ontology → console/ontology}/workflows/agent-execution-panel.d.ts +1 -1
- package/dist/pages/console/ontology/workflows/agent-execution-panel.d.ts.map +1 -0
- package/dist/pages/console/ontology/workflows/intervention-panel.d.ts.map +1 -0
- package/dist/pages/{ontology → console/ontology}/workflows/node-execution-panel.d.ts +1 -1
- package/dist/pages/console/ontology/workflows/node-execution-panel.d.ts.map +1 -0
- package/dist/pages/console/ontology/workflows/request-run-dialog.d.ts.map +1 -0
- package/dist/pages/console/ontology/workflows/run-debug-section.d.ts.map +1 -0
- package/dist/pages/console/ontology/workflows/run-input-form.d.ts.map +1 -0
- package/dist/pages/console/ontology/workflows/run-progress.d.ts.map +1 -0
- package/dist/pages/console/ontology/workflows/schema-shape.d.ts.map +1 -0
- package/dist/pages/console/ontology/workflows/status-badge.d.ts.map +1 -0
- package/dist/pages/console/ontology/workflows/utils.d.ts.map +1 -0
- package/dist/pages/console/ontology/workflows/workflow-card.d.ts.map +1 -0
- package/dist/pages/console/ontology/workflows.d.ts +3 -0
- package/dist/pages/console/ontology/workflows.d.ts.map +1 -0
- package/dist/pages/{observability → console}/workflow-run.d.ts +1 -1
- package/dist/pages/console/workflow-run.d.ts.map +1 -0
- package/dist/pages/routes.d.ts +16 -8
- package/dist/pages/routes.d.ts.map +1 -1
- package/dist/pages/section-page.d.ts +2 -6
- package/dist/pages/section-page.d.ts.map +1 -1
- package/dist/pages/section-ui.d.ts +15 -0
- package/dist/pages/section-ui.d.ts.map +1 -1
- package/dist/pages/settings/activity/calendar.d.ts.map +1 -0
- package/dist/pages/settings/activity/connections.d.ts.map +1 -0
- package/dist/pages/settings/activity/format.d.ts.map +1 -0
- package/dist/pages/{observability → settings}/activity/messages.d.ts +1 -1
- package/dist/pages/settings/activity/messages.d.ts.map +1 -0
- package/dist/pages/settings/activity/meta-items.d.ts.map +1 -0
- package/dist/pages/settings/activity/page.d.ts +6 -0
- package/dist/pages/settings/activity/page.d.ts.map +1 -0
- package/dist/pages/{observability → settings}/activity/period.d.ts +1 -1
- package/dist/pages/settings/activity/period.d.ts.map +1 -0
- package/dist/pages/settings/activity/steps.d.ts.map +1 -0
- package/dist/pages/settings/activity/thread.d.ts +6 -0
- package/dist/pages/settings/activity/thread.d.ts.map +1 -0
- package/dist/pages/settings/activity/timeline.d.ts.map +1 -0
- package/dist/pages/settings/activity/users.d.ts.map +1 -0
- package/dist/pages/settings/controls.d.ts +1 -1
- package/dist/pages/settings/controls.d.ts.map +1 -1
- package/dist/pages/settings/members.d.ts +4 -1
- package/dist/pages/settings/members.d.ts.map +1 -1
- package/dist/pages/settings/memory-editors.d.ts +55 -0
- package/dist/pages/settings/memory-editors.d.ts.map +1 -0
- package/dist/pages/settings/memory-entries.d.ts +2 -5
- package/dist/pages/settings/memory-entries.d.ts.map +1 -1
- package/dist/pages/settings/memory-files.d.ts +17 -14
- package/dist/pages/settings/memory-files.d.ts.map +1 -1
- package/dist/pages/settings/memory-history.d.ts +5 -3
- package/dist/pages/settings/memory-history.d.ts.map +1 -1
- package/dist/pages/settings/memory-note.d.ts +15 -0
- package/dist/pages/settings/memory-note.d.ts.map +1 -0
- package/dist/pages/settings/memory.d.ts +3 -17
- package/dist/pages/settings/memory.d.ts.map +1 -1
- package/dist/pages/settings/messages.d.ts +76 -16
- package/dist/pages/settings/messages.d.ts.map +1 -1
- package/dist/pages/settings/service-accounts.d.ts +8 -2
- package/dist/pages/settings/service-accounts.d.ts.map +1 -1
- package/dist/pages/settings/usage/breakdown.d.ts +17 -0
- package/dist/pages/settings/usage/breakdown.d.ts.map +1 -0
- package/dist/pages/settings/usage/call-detail.d.ts +9 -0
- package/dist/pages/settings/usage/call-detail.d.ts.map +1 -0
- package/dist/pages/settings/usage/filter-menu.d.ts +28 -0
- package/dist/pages/settings/usage/filter-menu.d.ts.map +1 -0
- package/dist/pages/{observability/ai-usage → settings/usage}/format.d.ts +0 -53
- package/dist/pages/settings/usage/format.d.ts.map +1 -0
- package/dist/pages/settings/usage/limits.d.ts.map +1 -0
- package/dist/pages/settings/usage/messages.d.ts +615 -0
- package/dist/pages/settings/usage/messages.d.ts.map +1 -0
- package/dist/pages/settings/usage/page.d.ts +6 -0
- package/dist/pages/settings/usage/page.d.ts.map +1 -0
- package/dist/pages/settings/usage/runs.d.ts +17 -0
- package/dist/pages/settings/usage/runs.d.ts.map +1 -0
- package/dist/pages/settings/usage/segmented.d.ts +11 -0
- package/dist/pages/settings/usage/segmented.d.ts.map +1 -0
- package/dist/pages/settings/usage/spend-chart.d.ts +22 -0
- package/dist/pages/settings/usage/spend-chart.d.ts.map +1 -0
- package/dist/pages/settings/usage/spend-model.d.ts +133 -0
- package/dist/pages/settings/usage/spend-model.d.ts.map +1 -0
- package/dist/pages/values.d.ts +10 -2
- package/dist/pages/values.d.ts.map +1 -1
- package/dist/pages.d.ts +21 -23
- package/dist/pages.d.ts.map +1 -1
- package/dist/pages.js +24976 -22781
- package/dist/pages.js.map +87 -66
- package/dist/sections/catalog.d.ts +10 -6
- package/dist/sections/catalog.d.ts.map +1 -1
- package/dist/sections/counts.d.ts.map +1 -1
- package/dist/sections/sections.d.ts +11 -18
- package/dist/sections/sections.d.ts.map +1 -1
- package/dist/server.js +128 -37
- package/dist/server.js.map +4 -4
- package/dist/session.d.ts +6 -0
- package/dist/session.d.ts.map +1 -1
- package/dist/shared-unavailable.d.ts +14 -0
- package/dist/shared-unavailable.d.ts.map +1 -0
- package/dist/shell/user-menu.d.ts +1 -1
- package/package.json +4 -4
- package/src/agent/activity-label.ts +6 -2
- package/src/agent/agent-chat.tsx +4 -0
- package/src/agent/agent.css +47 -0
- package/src/agent/background/background-card.tsx +308 -0
- package/src/agent/background/background-tool-row.tsx +58 -0
- package/src/agent/background/context.ts +26 -0
- package/src/agent/background/interpret.ts +356 -0
- package/src/agent/bash/bash-tool-view.tsx +9 -4
- package/src/agent/bash/interpret.ts +29 -3
- package/src/agent/components/agent-message-body.tsx +13 -3
- package/src/agent/components/approval-card.tsx +1 -1
- package/src/agent/components/composer-menu.tsx +4 -1
- package/src/agent/components/composer-place.tsx +144 -0
- package/src/agent/components/composer.tsx +18 -0
- package/src/agent/components/computer-place.tsx +136 -0
- package/src/agent/components/context-meter.tsx +419 -0
- package/src/agent/components/conversation-panel.tsx +1 -1
- package/src/agent/components/message-parts.tsx +72 -6
- package/src/agent/components/message-view.tsx +74 -17
- package/src/agent/components/transcript.tsx +62 -5
- package/src/agent/components/web-fetch-tool-view.tsx +94 -29
- package/src/agent/conversation.ts +33 -3
- package/src/agent/delegation/child-parts.tsx +1 -1
- package/src/agent/format.ts +21 -1
- package/src/agent/hooks/use-agent-conversation.ts +200 -6
- package/src/agent/hooks/use-new-thread-place.ts +170 -0
- package/src/agent/hooks/use-thread-stream.ts +7 -0
- package/src/agent/i18n/en.ts +123 -0
- package/src/agent/i18n/fr.ts +121 -0
- package/src/agent/live-run.ts +24 -3
- package/src/agent/observed-conversation.tsx +3 -0
- package/src/agent/parts.ts +10 -0
- package/src/agent/run-presentation.ts +3 -0
- package/src/agent/tool-views/built-in.tsx +26 -11
- package/src/agent/types.ts +4 -0
- package/src/agent/utils/web-fetch.ts +89 -10
- package/src/agent/utils/web-search.ts +67 -28
- package/src/codegen.ts +134 -18
- package/src/index.ts +4 -2
- package/src/locale-messages.ts +12 -31
- package/src/metadata.ts +1 -33
- package/src/pages/{observability → console}/action-run.tsx +11 -10
- package/src/pages/{data → console/data}/connectors.tsx +11 -11
- package/src/pages/{data → console/data}/datasets.tsx +35 -16
- package/src/pages/{data → console/data}/messages.ts +13 -1
- package/src/pages/{data → console/data}/pipeline-canvas.tsx +1 -1
- package/src/pages/{data → console/data}/pipelines.tsx +11 -11
- package/src/pages/console/data/producer.tsx +90 -0
- package/src/pages/{data → console/data}/projections.tsx +11 -11
- package/src/pages/{data → console/data}/schema.tsx +1 -1
- package/src/pages/{data → console/data}/shared.tsx +2 -1
- package/src/pages/{data → console/data}/sync-button.tsx +1 -1
- package/src/pages/{data → console/data}/syncs.tsx +12 -12
- package/src/pages/{observability → console}/logs.tsx +10 -10
- package/src/pages/{observability → console}/messages.ts +9 -107
- package/src/pages/console/ontology/action-runs.tsx +247 -0
- package/src/pages/{ontology → console/ontology}/actions.tsx +57 -10
- package/src/pages/{ontology → console/ontology}/components/action-button.tsx +5 -5
- package/src/pages/{ontology → console/ontology}/graph.tsx +6 -6
- package/src/pages/{ontology → console/ontology}/lib/live-update-keys.ts +10 -1
- package/src/pages/console/ontology/lineage/action-name.ts +19 -0
- package/src/pages/console/ontology/lineage/dataset-steps.tsx +127 -0
- package/src/pages/console/ontology/lineage/links.tsx +45 -0
- package/src/pages/console/ontology/lineage/messages.ts +117 -0
- package/src/pages/console/ontology/lineage/model.ts +176 -0
- package/src/pages/console/ontology/lineage/properties-panel.tsx +95 -0
- package/src/pages/console/ontology/lineage/property-source.tsx +60 -0
- package/src/pages/console/ontology/lineage/query.ts +21 -0
- package/src/pages/console/ontology/lineage/requester.tsx +73 -0
- package/src/pages/console/ontology/lineage/separated.tsx +33 -0
- package/src/pages/console/ontology/lineage/summary.tsx +58 -0
- package/src/pages/console/ontology/lineage/trail-step.tsx +71 -0
- package/src/pages/console/ontology/lineage/trail.tsx +346 -0
- package/src/pages/console/ontology/lineage/value-lineage-panel.tsx +146 -0
- package/src/pages/{ontology → console/ontology}/object-page.tsx +22 -14
- package/src/pages/{ontology → console/ontology}/object-type.tsx +6 -6
- package/src/pages/{ontology → console/ontology}/object-types.tsx +7 -7
- package/src/pages/{ontology → console/ontology}/objects.tsx +6 -6
- package/src/pages/{ontology → console/ontology}/rules.tsx +10 -10
- package/src/pages/{ontology → console/ontology}/workflow.tsx +9 -9
- package/src/pages/{ontology → console/ontology}/workflows/agent-execution-panel.tsx +3 -3
- package/src/pages/{ontology → console/ontology}/workflows/intervention-panel.tsx +1 -1
- package/src/pages/{ontology → console/ontology}/workflows/node-execution-panel.tsx +2 -2
- package/src/pages/{ontology → console/ontology}/workflows/request-run-dialog.tsx +1 -1
- package/src/pages/{ontology → console/ontology}/workflows/run-debug-section.tsx +1 -1
- package/src/pages/{ontology → console/ontology}/workflows/utils.ts +2 -2
- package/src/pages/{ontology → console/ontology}/workflows/workflow-card.tsx +2 -2
- package/src/pages/{ontology → console/ontology}/workflows.tsx +5 -5
- package/src/pages/{observability → console}/workflow-run.tsx +18 -13
- package/src/pages/routes.ts +38 -16
- package/src/pages/section-page.tsx +3 -13
- package/src/pages/section-ui.tsx +74 -0
- package/src/pages/{observability → settings}/activity/messages.ts +1 -1
- package/src/pages/{observability → settings}/activity/page.tsx +3 -3
- package/src/pages/{observability → settings}/activity/period.ts +1 -1
- package/src/pages/{observability → settings}/activity/thread.tsx +5 -5
- package/src/pages/{observability → settings}/activity/timeline.tsx +2 -2
- package/src/pages/settings/controls.tsx +9 -4
- package/src/pages/settings/members.tsx +493 -203
- package/src/pages/settings/memory-editors.tsx +310 -0
- package/src/pages/settings/memory-entries.ts +10 -22
- package/src/pages/settings/memory-files.ts +37 -53
- package/src/pages/settings/memory-history.tsx +185 -194
- package/src/pages/settings/memory-note.tsx +710 -0
- package/src/pages/settings/memory.tsx +287 -776
- package/src/pages/settings/messages.ts +95 -26
- package/src/pages/settings/service-accounts.tsx +14 -12
- package/src/pages/settings/usage/breakdown.tsx +424 -0
- package/src/pages/settings/usage/call-detail.tsx +283 -0
- package/src/pages/settings/usage/filter-menu.tsx +183 -0
- package/src/pages/{observability/ai-usage → settings/usage}/format.ts +0 -156
- package/src/pages/settings/usage/messages.ts +566 -0
- package/src/pages/settings/usage/page.tsx +567 -0
- package/src/pages/settings/usage/runs.tsx +774 -0
- package/src/pages/settings/usage/segmented.tsx +38 -0
- package/src/pages/settings/usage/spend-chart.tsx +334 -0
- package/src/pages/settings/usage/spend-model.ts +336 -0
- package/src/pages/values.tsx +25 -3
- package/src/pages.ts +26 -30
- package/src/sections/catalog.ts +93 -89
- package/src/sections/counts.ts +31 -12
- package/src/sections/sections.tsx +29 -48
- package/src/session.ts +12 -0
- package/src/shared-unavailable.ts +13 -0
- package/src/shell/user-menu.tsx +1 -1
- package/dist/chunk-53z5653y.js.map +0 -11
- package/dist/chunk-gq6xek89.js.map +0 -10
- package/dist/chunk-sw3pyqgy.js.map +0 -10
- package/dist/chunk-yvhzn4ye.js +0 -98
- package/dist/chunk-yvhzn4ye.js.map +0 -10
- package/dist/pages/data/connectors.d.ts +0 -5
- package/dist/pages/data/connectors.d.ts.map +0 -1
- package/dist/pages/data/datasets.d.ts.map +0 -1
- package/dist/pages/data/live-updates.d.ts.map +0 -1
- package/dist/pages/data/messages.d.ts.map +0 -1
- package/dist/pages/data/pipeline-canvas.d.ts.map +0 -1
- package/dist/pages/data/pipelines.d.ts +0 -9
- package/dist/pages/data/pipelines.d.ts.map +0 -1
- package/dist/pages/data/projections.d.ts.map +0 -1
- package/dist/pages/data/schema.d.ts.map +0 -1
- package/dist/pages/data/shared.d.ts.map +0 -1
- package/dist/pages/data/sync-button.d.ts.map +0 -1
- package/dist/pages/data/syncs.d.ts +0 -5
- package/dist/pages/data/syncs.d.ts.map +0 -1
- package/dist/pages/observability/action-run.d.ts.map +0 -1
- package/dist/pages/observability/activity/calendar.d.ts.map +0 -1
- package/dist/pages/observability/activity/connections.d.ts.map +0 -1
- package/dist/pages/observability/activity/format.d.ts.map +0 -1
- package/dist/pages/observability/activity/messages.d.ts.map +0 -1
- package/dist/pages/observability/activity/meta-items.d.ts.map +0 -1
- package/dist/pages/observability/activity/page.d.ts +0 -6
- package/dist/pages/observability/activity/page.d.ts.map +0 -1
- package/dist/pages/observability/activity/period.d.ts.map +0 -1
- package/dist/pages/observability/activity/steps.d.ts.map +0 -1
- package/dist/pages/observability/activity/thread.d.ts +0 -6
- package/dist/pages/observability/activity/thread.d.ts.map +0 -1
- package/dist/pages/observability/activity/timeline.d.ts.map +0 -1
- package/dist/pages/observability/activity/users.d.ts.map +0 -1
- package/dist/pages/observability/ai-usage/calls.d.ts +0 -27
- package/dist/pages/observability/ai-usage/calls.d.ts.map +0 -1
- package/dist/pages/observability/ai-usage/charts.d.ts +0 -23
- package/dist/pages/observability/ai-usage/charts.d.ts.map +0 -1
- package/dist/pages/observability/ai-usage/format.d.ts.map +0 -1
- package/dist/pages/observability/ai-usage/kinds.d.ts +0 -40
- package/dist/pages/observability/ai-usage/kinds.d.ts.map +0 -1
- package/dist/pages/observability/ai-usage/limits.d.ts.map +0 -1
- package/dist/pages/observability/ai-usage/messages.d.ts +0 -493
- package/dist/pages/observability/ai-usage/messages.d.ts.map +0 -1
- package/dist/pages/observability/ai-usage/page.d.ts +0 -6
- package/dist/pages/observability/ai-usage/page.d.ts.map +0 -1
- package/dist/pages/observability/live-updates.d.ts.map +0 -1
- package/dist/pages/observability/logs.d.ts.map +0 -1
- package/dist/pages/observability/messages.d.ts.map +0 -1
- package/dist/pages/observability/runs.d.ts +0 -7
- package/dist/pages/observability/runs.d.ts.map +0 -1
- package/dist/pages/observability/workflow-run.d.ts.map +0 -1
- package/dist/pages/ontology/actions.d.ts +0 -3
- package/dist/pages/ontology/actions.d.ts.map +0 -1
- package/dist/pages/ontology/components/action-button.d.ts.map +0 -1
- package/dist/pages/ontology/components/action-param-null-control.d.ts.map +0 -1
- package/dist/pages/ontology/components/collection-toolbar.d.ts.map +0 -1
- package/dist/pages/ontology/components/common.d.ts.map +0 -1
- package/dist/pages/ontology/components/file-ref-upload-field.d.ts.map +0 -1
- package/dist/pages/ontology/components/object-filter-popover.d.ts.map +0 -1
- package/dist/pages/ontology/components/object-icon.d.ts.map +0 -1
- package/dist/pages/ontology/components/object-query-bar.d.ts.map +0 -1
- package/dist/pages/ontology/components/telemetry-chart.d.ts.map +0 -1
- package/dist/pages/ontology/components/telemetry-grid.d.ts.map +0 -1
- package/dist/pages/ontology/components/telemetry-tile.d.ts.map +0 -1
- package/dist/pages/ontology/components/telemetry-value.d.ts.map +0 -1
- package/dist/pages/ontology/components/usage-bar.d.ts.map +0 -1
- package/dist/pages/ontology/components/user-picker.d.ts.map +0 -1
- package/dist/pages/ontology/graph.d.ts +0 -6
- package/dist/pages/ontology/graph.d.ts.map +0 -1
- package/dist/pages/ontology/hooks/object-live-updates.d.ts.map +0 -1
- package/dist/pages/ontology/hooks/object-telemetry-updates.d.ts.map +0 -1
- package/dist/pages/ontology/hooks/object-type-counts.d.ts.map +0 -1
- package/dist/pages/ontology/hooks/rule-live-updates.d.ts.map +0 -1
- package/dist/pages/ontology/hooks/workflow-live-updates.d.ts.map +0 -1
- package/dist/pages/ontology/lib/action-params.d.ts.map +0 -1
- package/dist/pages/ontology/lib/format-value.d.ts.map +0 -1
- package/dist/pages/ontology/lib/labels.d.ts.map +0 -1
- package/dist/pages/ontology/lib/live-update-keys.d.ts.map +0 -1
- package/dist/pages/ontology/lib/object-query.d.ts.map +0 -1
- package/dist/pages/ontology/lib/ontology-graph-layout.d.ts.map +0 -1
- package/dist/pages/ontology/lib/ontology-graph-links.d.ts.map +0 -1
- package/dist/pages/ontology/lib/telemetry-history.d.ts.map +0 -1
- package/dist/pages/ontology/lib/time.d.ts.map +0 -1
- package/dist/pages/ontology/lib/user-preferences.d.ts.map +0 -1
- package/dist/pages/ontology/object-page.d.ts.map +0 -1
- package/dist/pages/ontology/object-type.d.ts +0 -3
- package/dist/pages/ontology/object-type.d.ts.map +0 -1
- package/dist/pages/ontology/object-types.d.ts +0 -7
- package/dist/pages/ontology/object-types.d.ts.map +0 -1
- package/dist/pages/ontology/objects.d.ts +0 -6
- package/dist/pages/ontology/objects.d.ts.map +0 -1
- package/dist/pages/ontology/rules.d.ts.map +0 -1
- package/dist/pages/ontology/workflow.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/agent-execution-panel.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/intervention-panel.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/node-execution-panel.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/request-run-dialog.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/run-debug-section.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/run-input-form.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/run-progress.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/schema-shape.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/status-badge.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/utils.d.ts.map +0 -1
- package/dist/pages/ontology/workflows/workflow-card.d.ts.map +0 -1
- package/dist/pages/ontology/workflows.d.ts +0 -3
- package/dist/pages/ontology/workflows.d.ts.map +0 -1
- package/dist/pages/settings/memory-contents.d.ts +0 -30
- package/dist/pages/settings/memory-contents.d.ts.map +0 -1
- package/src/pages/observability/ai-usage/calls.tsx +0 -585
- package/src/pages/observability/ai-usage/charts.tsx +0 -126
- package/src/pages/observability/ai-usage/kinds.tsx +0 -156
- package/src/pages/observability/ai-usage/messages.ts +0 -523
- package/src/pages/observability/ai-usage/page.tsx +0 -923
- package/src/pages/observability/runs.tsx +0 -732
- package/src/pages/settings/memory-contents.tsx +0 -173
- /package/dist/{chunk-pkcm8rn8.js.map → chunk-4j3c3p72.js.map} +0 -0
- /package/dist/{chunk-hdbmj6f0.js.map → chunk-j8g956dt.js.map} +0 -0
- /package/dist/{chunk-k4epnkcr.js.map → chunk-kwbw4dyk.js.map} +0 -0
- /package/dist/pages/{data → console/data}/live-updates.d.ts +0 -0
- /package/dist/pages/{data → console/data}/schema.d.ts +0 -0
- /package/dist/pages/{data → console/data}/shared.d.ts +0 -0
- /package/dist/pages/{data → console/data}/sync-button.d.ts +0 -0
- /package/dist/pages/{observability → console}/live-updates.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/action-button.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/action-param-null-control.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/collection-toolbar.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/common.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/file-ref-upload-field.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/object-filter-popover.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/object-icon.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/object-query-bar.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/telemetry-chart.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/telemetry-grid.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/telemetry-tile.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/telemetry-value.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/usage-bar.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/components/user-picker.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/hooks/object-live-updates.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/hooks/object-telemetry-updates.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/hooks/object-type-counts.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/hooks/rule-live-updates.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/hooks/workflow-live-updates.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/lib/action-params.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/lib/format-value.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/lib/labels.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/lib/object-query.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/lib/ontology-graph-layout.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/lib/ontology-graph-links.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/lib/telemetry-history.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/lib/time.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/lib/user-preferences.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/object-page.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/workflows/intervention-panel.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/workflows/request-run-dialog.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/workflows/run-debug-section.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/workflows/run-input-form.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/workflows/run-progress.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/workflows/schema-shape.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/workflows/status-badge.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/workflows/utils.d.ts +0 -0
- /package/dist/pages/{ontology → console/ontology}/workflows/workflow-card.d.ts +0 -0
- /package/dist/pages/{observability → settings}/activity/calendar.d.ts +0 -0
- /package/dist/pages/{observability → settings}/activity/connections.d.ts +0 -0
- /package/dist/pages/{observability → settings}/activity/format.d.ts +0 -0
- /package/dist/pages/{observability → settings}/activity/meta-items.d.ts +0 -0
- /package/dist/pages/{observability → settings}/activity/steps.d.ts +0 -0
- /package/dist/pages/{observability → settings}/activity/timeline.d.ts +0 -0
- /package/dist/pages/{observability → settings}/activity/users.d.ts +0 -0
- /package/dist/pages/{observability/ai-usage → settings/usage}/limits.d.ts +0 -0
- /package/src/pages/{data → console/data}/live-updates.ts +0 -0
- /package/src/pages/{observability → console}/live-updates.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/components/action-param-null-control.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/collection-toolbar.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/common.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/file-ref-upload-field.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/object-filter-popover.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/object-icon.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/object-query-bar.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/telemetry-chart.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/telemetry-grid.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/telemetry-tile.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/telemetry-value.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/usage-bar.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/components/user-picker.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/hooks/object-live-updates.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/hooks/object-telemetry-updates.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/hooks/object-type-counts.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/hooks/rule-live-updates.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/hooks/workflow-live-updates.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/lib/action-params.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/lib/format-value.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/lib/labels.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/lib/object-query.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/lib/ontology-graph-layout.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/lib/ontology-graph-links.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/lib/telemetry-history.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/lib/time.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/lib/user-preferences.ts +0 -0
- /package/src/pages/{ontology → console/ontology}/workflows/run-input-form.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/workflows/run-progress.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/workflows/schema-shape.tsx +0 -0
- /package/src/pages/{ontology → console/ontology}/workflows/status-badge.tsx +0 -0
- /package/src/pages/{observability → settings}/activity/calendar.tsx +0 -0
- /package/src/pages/{observability → settings}/activity/connections.tsx +0 -0
- /package/src/pages/{observability → settings}/activity/format.ts +0 -0
- /package/src/pages/{observability → settings}/activity/meta-items.tsx +0 -0
- /package/src/pages/{observability → settings}/activity/steps.ts +0 -0
- /package/src/pages/{observability → settings}/activity/users.tsx +0 -0
- /package/src/pages/{observability/ai-usage → settings/usage}/limits.tsx +0 -0
package/src/agent/i18n/en.ts
CHANGED
|
@@ -51,6 +51,8 @@ export const en = {
|
|
|
51
51
|
busy: "An answer is already in progress. Send yours when it finishes.",
|
|
52
52
|
busyOther: "Someone else's message is being answered. Send yours when it finishes.",
|
|
53
53
|
sandboxUnavailable: "This conversation's sandbox must be recovered before another answer.",
|
|
54
|
+
computerUnavailable:
|
|
55
|
+
"This computer can't run the agent right now. Try again, or choose Cloud below.",
|
|
54
56
|
retryFailed: "Couldn't retry this answer. Try again.",
|
|
55
57
|
stopFailed: "Couldn't stop this answer. Try again.",
|
|
56
58
|
removed: "You no longer take part in this thread.",
|
|
@@ -209,10 +211,44 @@ export const en = {
|
|
|
209
211
|
hours: (hours: number) => `${hours}h`,
|
|
210
212
|
days: (days: number) => `${days}d`,
|
|
211
213
|
},
|
|
214
|
+
/** The meter beside the model: how much of its limit the conversation uses. */
|
|
215
|
+
contextMeter: {
|
|
216
|
+
title: "Context",
|
|
217
|
+
label: (used: string, limit: string) => `Context: ${used} of ${limit} tokens`,
|
|
218
|
+
condensing: "Condensing…",
|
|
219
|
+
condensingLabel: "Condensing the conversation",
|
|
220
|
+
limit: (limit: string) => `Earlier messages are condensed as it nears ${limit}\u00a0tokens.`,
|
|
221
|
+
near: "Almost full: earlier messages will be condensed soon.",
|
|
222
|
+
over: "Full: earlier messages are condensed before the next answer.",
|
|
223
|
+
/** What the meter calls a model it cannot name. */
|
|
224
|
+
thisModel: "This model",
|
|
225
|
+
breakdown: "What the conversation uses",
|
|
226
|
+
parts: {
|
|
227
|
+
system: "Sixb instructions",
|
|
228
|
+
instructions: "Project instructions",
|
|
229
|
+
memory: "Memory",
|
|
230
|
+
skills: "Skills",
|
|
231
|
+
ontology: "Ontology",
|
|
232
|
+
tools: "Tools",
|
|
233
|
+
summary: "Summary of earlier messages",
|
|
234
|
+
messages: "Messages",
|
|
235
|
+
toolResults: "Tool results",
|
|
236
|
+
files: "Files and images",
|
|
237
|
+
},
|
|
238
|
+
free: "Free space",
|
|
239
|
+
reserved: "Kept for the answer",
|
|
240
|
+
cached: "Read from cache",
|
|
241
|
+
lastCondensed: "Last condensed",
|
|
242
|
+
justNow: "just now",
|
|
243
|
+
ago: (time: string) => `${time} ago`,
|
|
244
|
+
},
|
|
212
245
|
transcript: {
|
|
213
246
|
condensed: "Condensed conversation",
|
|
214
247
|
condensing: "Condensing earlier conversation…",
|
|
215
248
|
condensingLabel: "Agent is condensing earlier conversation",
|
|
249
|
+
/** The provider refused a request as too long: the turn condensed the conversation, then went on. */
|
|
250
|
+
condensedFull: "Context was full — condensed and continued",
|
|
251
|
+
condensingFull: "Context is full — condensing to continue…",
|
|
216
252
|
working: "Agent is working",
|
|
217
253
|
thinking: "Thinking",
|
|
218
254
|
takingLonger: "Taking a little longer",
|
|
@@ -229,6 +265,8 @@ export const en = {
|
|
|
229
265
|
retry: "Retry",
|
|
230
266
|
retrying: "Retrying…",
|
|
231
267
|
notStarted: "I couldn’t get a response started.",
|
|
268
|
+
contextFull:
|
|
269
|
+
"This conversation is too long for this model. Start a new thread, or pick a model with a larger context.",
|
|
232
270
|
notFinished: "I couldn’t finish that response.",
|
|
233
271
|
interrupted: "The response was interrupted before it finished.",
|
|
234
272
|
reconnecting: "Connection lost — reconnecting…",
|
|
@@ -243,6 +281,10 @@ export const en = {
|
|
|
243
281
|
unknown: "Something went wrong during this response.",
|
|
244
282
|
} satisfies Record<AgentRunDiagnosticCode | "unknown", string>,
|
|
245
283
|
activity: {
|
|
284
|
+
/** Under a call whose output was saved as a file: it opens the whole output. */
|
|
285
|
+
fullOutput: "Full output",
|
|
286
|
+
/** The saved output's name in the viewer: `bash output.txt`. */
|
|
287
|
+
savedOutputName: (tool: string, extension: string) => `${tool} output${extension}`,
|
|
246
288
|
thinking: "Thinking",
|
|
247
289
|
working: "Working",
|
|
248
290
|
workingThroughIt: "Working through it",
|
|
@@ -381,10 +423,18 @@ export const en = {
|
|
|
381
423
|
results: (results: number) => count(results, "result"),
|
|
382
424
|
webPage: "web page",
|
|
383
425
|
reading: (domain: string) => `Reading ${domain}`,
|
|
426
|
+
/** A page read to answer a question about it. */
|
|
427
|
+
asking: (domain: string) => `Asking ${domain}`,
|
|
384
428
|
read: (domain: string) => `Read ${domain}`,
|
|
385
429
|
reviewing: (domain: string) => `Reviewing ${domain}`,
|
|
386
430
|
readFailed: (domain: string) => `Could not read ${domain}`,
|
|
387
431
|
pageError: "The page could not be read.",
|
|
432
|
+
redirectedTo: (domain: string) => `Redirected to ${domain}`,
|
|
433
|
+
answerFailed: "No answer came back. Here is how the page begins.",
|
|
434
|
+
/** Under an answer that reached its length limit. */
|
|
435
|
+
answerTruncated: "The answer stopped at its length limit and may be incomplete.",
|
|
436
|
+
/** Beside the size of a page that was too large to read whole. */
|
|
437
|
+
truncated: "truncated",
|
|
388
438
|
noPageText: "No page text was returned.",
|
|
389
439
|
openPage: "Open page",
|
|
390
440
|
newTab: " (opens in a new tab)",
|
|
@@ -448,6 +498,8 @@ export const en = {
|
|
|
448
498
|
/** Headlines of the agent's shell commands: past tense when done, progressive while running. */
|
|
449
499
|
bash: {
|
|
450
500
|
preparing: "Preparing a command",
|
|
501
|
+
/** Beside a command stopped at its timeout, which reads otherwise as a plain failure. */
|
|
502
|
+
timedOut: (duration: string) => `timed out after ${duration}`,
|
|
451
503
|
steps: {
|
|
452
504
|
title: (steps: number) => `Ran ${count(steps, "step")}`,
|
|
453
505
|
running: (steps: number) => `Running ${count(steps, "step")}`,
|
|
@@ -502,6 +554,14 @@ export const en = {
|
|
|
502
554
|
version: { title: "Checked the Sixb version", running: "Checking the Sixb version" },
|
|
503
555
|
doctor: { title: "Checked the agent runtime", running: "Checking the agent runtime" },
|
|
504
556
|
runContext: { title: "Read the run context", running: "Reading the run context" },
|
|
557
|
+
history: {
|
|
558
|
+
title: "Read the earlier conversation",
|
|
559
|
+
running: "Reading the earlier conversation",
|
|
560
|
+
},
|
|
561
|
+
historyMessage: {
|
|
562
|
+
title: (seq: string) => `Read message ${seq}`,
|
|
563
|
+
running: (seq: string) => `Reading message ${seq}`,
|
|
564
|
+
},
|
|
505
565
|
ontology: { title: "Explored the ontology", running: "Exploring the ontology" },
|
|
506
566
|
objectType: {
|
|
507
567
|
title: (type: string) => `Inspected the ${type || "object"} type`,
|
|
@@ -735,6 +795,69 @@ export const en = {
|
|
|
735
795
|
create: "Create fresh sandbox",
|
|
736
796
|
ownerOnly: (owner: string) => `Only ${owner} can start this conversation with a fresh sandbox.`,
|
|
737
797
|
},
|
|
798
|
+
/** A command the agent runs in the background, as its card and its calls read. */
|
|
799
|
+
background: {
|
|
800
|
+
card: (command: string) => `Background command: ${command}`,
|
|
801
|
+
starting: "Starting in the background",
|
|
802
|
+
running: "Running",
|
|
803
|
+
waiting: "the agent waits for it",
|
|
804
|
+
reading: "the agent reads it",
|
|
805
|
+
stopping: "Stopping…",
|
|
806
|
+
exited: (code: number) => (code === 0 ? "Exited · code 0" : `Failed · exit code ${code}`),
|
|
807
|
+
stopped: "Stopped",
|
|
808
|
+
stoppedWithTurn: "Stopped as its turn ended",
|
|
809
|
+
stoppedWithSixb: "Stopped as sixb quit",
|
|
810
|
+
unknown: "Last seen running",
|
|
811
|
+
unreachable: "Last seen running · sixb is closed there",
|
|
812
|
+
stop: "Stop",
|
|
813
|
+
stopHint: "Stop it, and everything it started",
|
|
814
|
+
stopFailed: "Could not stop it: it may have ended. Try again.",
|
|
815
|
+
output: "Output",
|
|
816
|
+
lines: (lines: number) => count(lines, "line"),
|
|
817
|
+
earlierOutput: (path: string) => `Earlier output is in ${path}`,
|
|
818
|
+
rows: {
|
|
819
|
+
start: { title: "Started in the background", running: "Starting in the background" },
|
|
820
|
+
read: { title: "Checked a background command", running: "Checking a background command" },
|
|
821
|
+
wait: {
|
|
822
|
+
title: "Waited for a background command",
|
|
823
|
+
running: "Waiting for a background command",
|
|
824
|
+
},
|
|
825
|
+
stop: { title: "Stopped a background command", running: "Stopping a background command" },
|
|
826
|
+
},
|
|
827
|
+
},
|
|
828
|
+
/** A conversation that runs on its owner's computer, as its owner sees it. */
|
|
829
|
+
computer: {
|
|
830
|
+
online: "Connected",
|
|
831
|
+
offline: "Not connected",
|
|
832
|
+
offlineNotice: (computer: string, folder: string) =>
|
|
833
|
+
`${computer} is offline. Your message waits until ${folder} is connected there.`,
|
|
834
|
+
noFolder:
|
|
835
|
+
"This conversation has no folder yet. Open sixb in its folder and press ctrl+f, or continue in the cloud.",
|
|
836
|
+
/** In a desktop app, about a conversation of this computer's. */
|
|
837
|
+
offlineHere: (folder: string) =>
|
|
838
|
+
`Not running here yet. Your message waits until this computer is connected in ${folder}.`,
|
|
839
|
+
runHere: "Run on this computer",
|
|
840
|
+
waitingFor: (computer: string) => `Waiting for ${computer}`,
|
|
841
|
+
/** Where a new conversation runs, in a desktop app. */
|
|
842
|
+
placeTitle: "Where this conversation runs",
|
|
843
|
+
placeChip: (place: string) => `Runs in ${place}. Change where it runs`,
|
|
844
|
+
cloud: "Cloud",
|
|
845
|
+
chooseFolder: "Choose a folder…",
|
|
846
|
+
chooseFolderShort: "Choose a folder",
|
|
847
|
+
forgetFolder: (folder: string) => `Stop running messages in ${folder}`,
|
|
848
|
+
continueInCloud: "Continue in the cloud",
|
|
849
|
+
moving: "Moving…",
|
|
850
|
+
moveFailed: "Could not move it to the cloud. Try again.",
|
|
851
|
+
moveBusy: "A turn is running or waiting for your approval. Stop or answer it first.",
|
|
852
|
+
confirmTitle: "Continue in the cloud?",
|
|
853
|
+
confirmDescription:
|
|
854
|
+
"This conversation will run in the cloud from now on, including any waiting message. Its folder's files stay on your computer, and it can't move back.",
|
|
855
|
+
cancel: "Cancel",
|
|
856
|
+
movedToCloud: "Moved to the cloud. Files from before stayed on the computer.",
|
|
857
|
+
movedToFolder: (folder: string) =>
|
|
858
|
+
`Moved to ${folder}. Files from before stayed where they were.`,
|
|
859
|
+
movedElsewhere: "Moved to another folder. Files from before stayed where they were.",
|
|
860
|
+
},
|
|
738
861
|
/** A conversation its owner shares with other users of the project. */
|
|
739
862
|
sharing: {
|
|
740
863
|
share: "Share thread",
|
package/src/agent/i18n/fr.ts
CHANGED
|
@@ -42,6 +42,8 @@ export const fr: Translation<AgentMessages> = {
|
|
|
42
42
|
busy: "Une réponse est déjà en cours. Envoyez votre message quand elle sera terminée.",
|
|
43
43
|
busyOther:
|
|
44
44
|
"L’agent répond au message de quelqu’un d’autre. Envoyez le vôtre quand il aura fini.",
|
|
45
|
+
computerUnavailable:
|
|
46
|
+
"Cet ordinateur ne peut pas exécuter l’agent pour le moment. Réessayez, ou choisissez Cloud ci-dessous.",
|
|
45
47
|
sandboxUnavailable:
|
|
46
48
|
"L’environnement de cette conversation doit être récupéré avant une nouvelle réponse.",
|
|
47
49
|
retryFailed: "Impossible de relancer cette réponse. Réessayez.",
|
|
@@ -198,10 +200,42 @@ export const fr: Translation<AgentMessages> = {
|
|
|
198
200
|
hours: (hours) => `${hours} h`,
|
|
199
201
|
days: (days) => `${days} j`,
|
|
200
202
|
},
|
|
203
|
+
contextMeter: {
|
|
204
|
+
title: "Contexte",
|
|
205
|
+
label: (used, limit) => `Contexte : ${used} sur ${limit} jetons`,
|
|
206
|
+
condensing: "Condensation…",
|
|
207
|
+
condensingLabel: "Condensation de la conversation",
|
|
208
|
+
limit: (limit) =>
|
|
209
|
+
`Les échanges précédents sont condensés à l’approche de ${limit}\u00a0jetons.`,
|
|
210
|
+
near: "Presque plein : les échanges précédents seront bientôt condensés.",
|
|
211
|
+
over: "Plein : les échanges précédents sont condensés avant la prochaine réponse.",
|
|
212
|
+
thisModel: "Ce modèle",
|
|
213
|
+
breakdown: "Ce qu’utilise la conversation",
|
|
214
|
+
parts: {
|
|
215
|
+
system: "Instructions de Sixb",
|
|
216
|
+
instructions: "Instructions du projet",
|
|
217
|
+
memory: "Mémoire",
|
|
218
|
+
skills: "Compétences",
|
|
219
|
+
ontology: "Ontologie",
|
|
220
|
+
tools: "Outils",
|
|
221
|
+
summary: "Résumé des échanges précédents",
|
|
222
|
+
messages: "Messages",
|
|
223
|
+
toolResults: "Résultats d’outils",
|
|
224
|
+
files: "Fichiers et images",
|
|
225
|
+
},
|
|
226
|
+
free: "Espace libre",
|
|
227
|
+
reserved: "Réservé à la réponse",
|
|
228
|
+
cached: "Lu depuis le cache",
|
|
229
|
+
lastCondensed: "Dernière condensation",
|
|
230
|
+
justNow: "à l’instant",
|
|
231
|
+
ago: (time) => `il y a ${time}`,
|
|
232
|
+
},
|
|
201
233
|
transcript: {
|
|
202
234
|
condensed: "Conversation condensée",
|
|
203
235
|
condensing: "Condensation de la conversation précédente…",
|
|
204
236
|
condensingLabel: "L’agent condense la conversation précédente",
|
|
237
|
+
condensedFull: "Contexte plein — condensé, puis poursuivi",
|
|
238
|
+
condensingFull: "Contexte plein — condensation avant de poursuivre…",
|
|
205
239
|
working: "L’agent travaille",
|
|
206
240
|
thinking: "Réflexion",
|
|
207
241
|
takingLonger: "Cela prend un peu plus de temps",
|
|
@@ -216,6 +250,8 @@ export const fr: Translation<AgentMessages> = {
|
|
|
216
250
|
retry: "Réessayer",
|
|
217
251
|
retrying: "Nouvelle tentative…",
|
|
218
252
|
notStarted: "Je n’ai pas pu commencer à répondre.",
|
|
253
|
+
contextFull:
|
|
254
|
+
"Cette conversation est trop longue pour ce modèle. Ouvrez un nouveau fil, ou choisissez un modèle au contexte plus grand.",
|
|
219
255
|
notFinished: "Je n’ai pas pu terminer cette réponse.",
|
|
220
256
|
interrupted: "La réponse a été interrompue avant la fin.",
|
|
221
257
|
reconnecting: "Connexion perdue — reconnexion…",
|
|
@@ -229,6 +265,8 @@ export const fr: Translation<AgentMessages> = {
|
|
|
229
265
|
unknown: "Un problème est survenu pendant cette réponse.",
|
|
230
266
|
},
|
|
231
267
|
activity: {
|
|
268
|
+
fullOutput: "Sortie complète",
|
|
269
|
+
savedOutputName: (tool, extension) => `sortie ${tool}${extension}`,
|
|
232
270
|
thinking: "Réflexion",
|
|
233
271
|
working: "Travail en cours",
|
|
234
272
|
workingThroughIt: "Analyse en cours",
|
|
@@ -365,10 +403,15 @@ export const fr: Translation<AgentMessages> = {
|
|
|
365
403
|
results: (results) => count(results, "résultat"),
|
|
366
404
|
webPage: "page web",
|
|
367
405
|
reading: (domain) => `Lecture : ${domain}`,
|
|
406
|
+
asking: (domain) => `Question à ${domain}`,
|
|
368
407
|
read: (domain) => `Page consultée : ${domain}`,
|
|
369
408
|
reviewing: (domain) => `Analyse : ${domain}`,
|
|
370
409
|
readFailed: (domain) => `Lecture impossible : ${domain}`,
|
|
371
410
|
pageError: "La page n’a pas pu être lue.",
|
|
411
|
+
redirectedTo: (domain) => `Redirigé vers ${domain}`,
|
|
412
|
+
answerFailed: "Aucune réponse n’a été obtenue. Voici le début de la page.",
|
|
413
|
+
answerTruncated: "La réponse a atteint sa longueur maximale et peut être incomplète.",
|
|
414
|
+
truncated: "tronqué",
|
|
372
415
|
noPageText: "Aucun texte n’a été récupéré sur cette page.",
|
|
373
416
|
openPage: "Ouvrir la page",
|
|
374
417
|
newTab: " (s’ouvre dans un nouvel onglet)",
|
|
@@ -430,6 +473,7 @@ export const fr: Translation<AgentMessages> = {
|
|
|
430
473
|
},
|
|
431
474
|
bash: {
|
|
432
475
|
preparing: "Préparation d’une commande",
|
|
476
|
+
timedOut: (duration) => `délai de ${duration} dépassé`,
|
|
433
477
|
steps: {
|
|
434
478
|
title: (steps) => count(steps, "étape exécutée", "étapes exécutées"),
|
|
435
479
|
running: (steps) => `Exécution de ${count(steps, "étape")}`,
|
|
@@ -490,6 +534,14 @@ export const fr: Translation<AgentMessages> = {
|
|
|
490
534
|
running: "Vérification de l’environnement de l’agent",
|
|
491
535
|
},
|
|
492
536
|
runContext: { title: "Contexte d’exécution lu", running: "Lecture du contexte d’exécution" },
|
|
537
|
+
history: {
|
|
538
|
+
title: "Conversation précédente relue",
|
|
539
|
+
running: "Lecture de la conversation précédente",
|
|
540
|
+
},
|
|
541
|
+
historyMessage: {
|
|
542
|
+
title: (seq) => `Message ${seq} relu`,
|
|
543
|
+
running: (seq) => `Lecture du message ${seq}`,
|
|
544
|
+
},
|
|
493
545
|
ontology: { title: "Ontologie explorée", running: "Exploration de l’ontologie" },
|
|
494
546
|
objectType: {
|
|
495
547
|
title: (type) => (type ? `Type ${quoted(type)} examiné` : "Type d’objet examiné"),
|
|
@@ -791,6 +843,75 @@ export const fr: Translation<AgentMessages> = {
|
|
|
791
843
|
ownerOnly: (owner) =>
|
|
792
844
|
`${owner} est la seule personne à pouvoir faire repartir cette conversation d’un nouvel environnement.`,
|
|
793
845
|
},
|
|
846
|
+
background: {
|
|
847
|
+
card: (command) => `Commande en arrière-plan : ${command}`,
|
|
848
|
+
starting: "Démarrage en arrière-plan",
|
|
849
|
+
running: "En cours",
|
|
850
|
+
waiting: "l’agent l’attend",
|
|
851
|
+
reading: "l’agent la lit",
|
|
852
|
+
stopping: "Arrêt…",
|
|
853
|
+
exited: (code) => (code === 0 ? "Terminée · code 0" : `Échec · code de sortie ${code}`),
|
|
854
|
+
stopped: "Arrêtée",
|
|
855
|
+
stoppedWithTurn: "Arrêtée à la fin de son tour",
|
|
856
|
+
stoppedWithSixb: "Arrêtée à la fermeture de sixb",
|
|
857
|
+
unknown: "En cours à la dernière lecture",
|
|
858
|
+
unreachable: "En cours à la dernière lecture · sixb y est fermé",
|
|
859
|
+
stop: "Arrêter",
|
|
860
|
+
stopHint: "L’arrêter, avec tout ce qu’elle a lancé",
|
|
861
|
+
stopFailed: "Impossible de l’arrêter : elle est peut-être terminée. Réessayez.",
|
|
862
|
+
output: "Sortie",
|
|
863
|
+
lines: (lines) => count(lines, "ligne"),
|
|
864
|
+
earlierOutput: (path) => `La sortie précédente est dans ${path}`,
|
|
865
|
+
rows: {
|
|
866
|
+
start: {
|
|
867
|
+
title: "Commande lancée en arrière-plan",
|
|
868
|
+
running: "Lancement d’une commande en arrière-plan",
|
|
869
|
+
},
|
|
870
|
+
read: {
|
|
871
|
+
title: "Commande en arrière-plan consultée",
|
|
872
|
+
running: "Consultation d’une commande en arrière-plan",
|
|
873
|
+
},
|
|
874
|
+
wait: {
|
|
875
|
+
title: "Commande en arrière-plan attendue",
|
|
876
|
+
running: "Attente d’une commande en arrière-plan",
|
|
877
|
+
},
|
|
878
|
+
stop: {
|
|
879
|
+
title: "Commande en arrière-plan arrêtée",
|
|
880
|
+
running: "Arrêt d’une commande en arrière-plan",
|
|
881
|
+
},
|
|
882
|
+
},
|
|
883
|
+
},
|
|
884
|
+
computer: {
|
|
885
|
+
online: "Connecté",
|
|
886
|
+
offline: "Non connecté",
|
|
887
|
+
offlineNotice: (computer, folder) =>
|
|
888
|
+
`${computer} est hors ligne. Votre message attendra que ${folder} y soit connecté.`,
|
|
889
|
+
noFolder:
|
|
890
|
+
"Cette conversation n’a pas encore de dossier. Ouvrez sixb dans son dossier et appuyez sur ctrl+f, ou continuez dans le cloud.",
|
|
891
|
+
offlineHere: (folder) =>
|
|
892
|
+
`Pas encore en cours ici. Votre message attendra que cet ordinateur soit connecté dans ${folder}.`,
|
|
893
|
+
runHere: "Exécuter sur cet ordinateur",
|
|
894
|
+
placeTitle: "Où cette conversation s'exécute",
|
|
895
|
+
placeChip: (place) => `S'exécute dans ${place}. Changer l'emplacement`,
|
|
896
|
+
cloud: "Cloud",
|
|
897
|
+
chooseFolder: "Choisir un dossier…",
|
|
898
|
+
chooseFolderShort: "Choisir un dossier",
|
|
899
|
+
forgetFolder: (folder) => `Ne plus exécuter les messages dans ${folder}`,
|
|
900
|
+
waitingFor: (computer) => `En attente de ${computer}`,
|
|
901
|
+
continueInCloud: "Continuer dans le cloud",
|
|
902
|
+
moving: "Déplacement…",
|
|
903
|
+
moveFailed: "Impossible de la déplacer vers le cloud. Réessayez.",
|
|
904
|
+
moveBusy: "Un tour est en cours ou attend votre approbation. Arrêtez-le ou répondez d’abord.",
|
|
905
|
+
confirmTitle: "Continuer dans le cloud ?",
|
|
906
|
+
confirmDescription:
|
|
907
|
+
"Cette conversation s’exécutera désormais dans le cloud, y compris le message en attente. Les fichiers de son dossier restent sur votre ordinateur, et elle ne pourra pas revenir.",
|
|
908
|
+
cancel: "Annuler",
|
|
909
|
+
movedToCloud: "Déplacée vers le cloud. Les fichiers d’avant sont restés sur l’ordinateur.",
|
|
910
|
+
movedToFolder: (folder) =>
|
|
911
|
+
`Déplacée vers ${folder}. Les fichiers d’avant sont restés où ils étaient.`,
|
|
912
|
+
movedElsewhere:
|
|
913
|
+
"Déplacée vers un autre dossier. Les fichiers d’avant sont restés où ils étaient.",
|
|
914
|
+
},
|
|
794
915
|
sharing: {
|
|
795
916
|
share: "Partager le fil",
|
|
796
917
|
shareShort: "Partager",
|
package/src/agent/live-run.ts
CHANGED
|
@@ -9,6 +9,8 @@ export interface LiveRunState {
|
|
|
9
9
|
readonly active: boolean
|
|
10
10
|
/** True while the worker is condensing earlier turns before the normal model call. */
|
|
11
11
|
readonly compacting: boolean
|
|
12
|
+
/** The condensing follows a request the provider refused as too long: the turn goes on after. */
|
|
13
|
+
readonly contextFull: boolean
|
|
12
14
|
/** Ordered, render-ready parts of the in-flight assistant message, in first-chunk order. */
|
|
13
15
|
readonly parts: readonly NormalizedPart[]
|
|
14
16
|
/**
|
|
@@ -19,6 +21,8 @@ export interface LiveRunState {
|
|
|
19
21
|
readonly partKeys: readonly string[]
|
|
20
22
|
/** Model step currently being streamed. Used to keep reused part ids ordered. */
|
|
21
23
|
readonly stepIndex: number
|
|
24
|
+
/** How many parts came before the current step: a step asked again drops the ones after. */
|
|
25
|
+
readonly stepStart: number
|
|
22
26
|
/** Set once the worker persists the assistant message; the hook reloads durable state on change. */
|
|
23
27
|
readonly finalizedMessageId: string | null
|
|
24
28
|
/** Terminal run status, or null while in-flight. */
|
|
@@ -41,9 +45,11 @@ export function createLiveRunState(runId: string | null = null): LiveRunState {
|
|
|
41
45
|
runId,
|
|
42
46
|
active: false,
|
|
43
47
|
compacting: false,
|
|
48
|
+
contextFull: false,
|
|
44
49
|
parts: [],
|
|
45
50
|
partKeys: [],
|
|
46
51
|
stepIndex: 0,
|
|
52
|
+
stepStart: 0,
|
|
47
53
|
finalizedMessageId: null,
|
|
48
54
|
finishStatus: null,
|
|
49
55
|
finishReason: null,
|
|
@@ -81,10 +87,16 @@ function reduceEvent(state: LiveRunState, event: AgentRunStreamEvent): LiveRunSt
|
|
|
81
87
|
case "agent.run.started":
|
|
82
88
|
return { ...state, runId: event.runId, active: true }
|
|
83
89
|
case "agent.compaction.started":
|
|
84
|
-
return {
|
|
90
|
+
return {
|
|
91
|
+
...state,
|
|
92
|
+
runId: event.runId,
|
|
93
|
+
active: true,
|
|
94
|
+
compacting: true,
|
|
95
|
+
contextFull: event.reason === "overflow",
|
|
96
|
+
}
|
|
85
97
|
case "agent.compaction.completed":
|
|
86
98
|
case "agent.compaction.failed":
|
|
87
|
-
return { ...state, compacting: false }
|
|
99
|
+
return { ...state, compacting: false, contextFull: false }
|
|
88
100
|
case "agent.ui.chunk":
|
|
89
101
|
return applyChunk(state, event.chunk)
|
|
90
102
|
case "agent.message.finalized":
|
|
@@ -94,6 +106,7 @@ function reduceEvent(state: LiveRunState, event: AgentRunStreamEvent): LiveRunSt
|
|
|
94
106
|
...state,
|
|
95
107
|
active: false,
|
|
96
108
|
compacting: false,
|
|
109
|
+
contextFull: false,
|
|
97
110
|
finishStatus: event.status,
|
|
98
111
|
finishReason: event.finishReason ?? null,
|
|
99
112
|
finishError: event.error ?? null,
|
|
@@ -122,7 +135,15 @@ function applyChunk(state: LiveRunState, chunk: ModelUiChunk): LiveRunState {
|
|
|
122
135
|
case "reasoning-end":
|
|
123
136
|
return reduceReasoning(state, chunk)
|
|
124
137
|
case "start-step":
|
|
125
|
-
|
|
138
|
+
// A step asked again drops what its first call streamed.
|
|
139
|
+
if (chunk.retry) {
|
|
140
|
+
return {
|
|
141
|
+
...state,
|
|
142
|
+
parts: state.parts.slice(0, state.stepStart),
|
|
143
|
+
partKeys: state.partKeys.slice(0, state.stepStart),
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return { ...state, stepIndex: state.stepIndex + 1, stepStart: state.parts.length }
|
|
126
147
|
case "tool-input-start":
|
|
127
148
|
case "tool-input-delta":
|
|
128
149
|
case "tool-input-available":
|
|
@@ -137,6 +137,9 @@ export function ObservedConversation({
|
|
|
137
137
|
messages={conversation}
|
|
138
138
|
turn={turn}
|
|
139
139
|
approvalOutcomes={approvalOutcomes}
|
|
140
|
+
background={{
|
|
141
|
+
source: { onComputer: thread.runsOn === "computer", live: null, online: false },
|
|
142
|
+
}}
|
|
140
143
|
/>
|
|
141
144
|
)
|
|
142
145
|
if (messagesQuery.isLoading) {
|
package/src/agent/parts.ts
CHANGED
|
@@ -13,6 +13,8 @@ export type NormalizedTool = {
|
|
|
13
13
|
readonly errorText?: string
|
|
14
14
|
/** Files in a saved rich result, such as the image `view_file` prepared for the model. */
|
|
15
15
|
readonly files?: readonly NormalizedFile[]
|
|
16
|
+
/** The whole output, saved as a file when it was too large for the model's context. */
|
|
17
|
+
readonly outputFile?: NormalizedFile
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
/** A file shown in a message. Its source, which reads the bytes, exists once the message is saved. */
|
|
@@ -66,6 +68,14 @@ export function normalizeDurableParts(
|
|
|
66
68
|
input: part.input,
|
|
67
69
|
output: part.output,
|
|
68
70
|
...toolFiles(part.output, index),
|
|
71
|
+
...(part.outputFile
|
|
72
|
+
? {
|
|
73
|
+
outputFile: file(
|
|
74
|
+
part.outputFile.fileRef,
|
|
75
|
+
`/parts/${index}/outputFile/fileRef`
|
|
76
|
+
),
|
|
77
|
+
}
|
|
78
|
+
: {}),
|
|
69
79
|
}
|
|
70
80
|
: {
|
|
71
81
|
toolName: part.toolName,
|
|
@@ -87,6 +87,9 @@ export function selectActiveRunId(sources: {
|
|
|
87
87
|
)
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
/** A conversation too long for its model, even compacted: it fails the same way when run again. */
|
|
91
|
+
export const CONTEXT_LIMIT_EXCEEDED = "agent.context_limit_exceeded"
|
|
92
|
+
|
|
90
93
|
export interface ActiveTurnSources {
|
|
91
94
|
readonly activeRunId: string | null
|
|
92
95
|
/** The canonical run from an in-flight send, when it belongs to the current thread. */
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from "react"
|
|
2
|
+
import { BackgroundCommandStep } from "../background/background-card"
|
|
3
|
+
import { BackgroundToolRow } from "../background/background-tool-row"
|
|
4
|
+
import { isBackgroundStart } from "../background/interpret"
|
|
2
5
|
import { BashToolView } from "../bash/bash-tool-view"
|
|
3
6
|
import { WebFetchToolView } from "../components/web-fetch-tool-view"
|
|
4
7
|
import { WebSearchToolView } from "../components/web-search-tool-view"
|
|
@@ -18,17 +21,29 @@ const publishArtifact: BuiltInToolView = (tool) => <PublishArtifactToolView tool
|
|
|
18
21
|
const BUILT_IN_TOOL_VIEWS: ReadonlyMap<string, BuiltInToolView> = new Map([
|
|
19
22
|
[
|
|
20
23
|
"bash",
|
|
21
|
-
(tool) =>
|
|
22
|
-
|
|
23
|
-
tool={
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
(tool) =>
|
|
25
|
+
isBackgroundStart(tool) ? (
|
|
26
|
+
<BackgroundCommandStep tool={tool} />
|
|
27
|
+
) : (
|
|
28
|
+
<BashToolView
|
|
29
|
+
tool={{
|
|
30
|
+
state: tool.state,
|
|
31
|
+
input: tool.input,
|
|
32
|
+
inputText: tool.inputText,
|
|
33
|
+
output: tool.output,
|
|
34
|
+
errorText: tool.errorText,
|
|
35
|
+
}}
|
|
36
|
+
/>
|
|
37
|
+
),
|
|
38
|
+
],
|
|
39
|
+
// A failed read or stop keeps the inspector, which says why.
|
|
40
|
+
[
|
|
41
|
+
"bash_output",
|
|
42
|
+
(tool) => (tool.state === "output-error" ? null : <BackgroundToolRow tool={tool} />),
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
"bash_stop",
|
|
46
|
+
(tool) => (tool.state === "output-error" ? null : <BackgroundToolRow tool={tool} />),
|
|
32
47
|
],
|
|
33
48
|
["read", (tool) => <ReadToolView tool={tool} />],
|
|
34
49
|
["view_file", (tool) => <ViewFileToolView tool={tool} />],
|
package/src/agent/types.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
GetAgentResponse,
|
|
3
3
|
GetAgentRunResponse,
|
|
4
|
+
GetAgentThreadContextResponse,
|
|
4
5
|
ListAgentThreadMessagesResponse,
|
|
5
6
|
ListAgentThreadsResponse,
|
|
6
7
|
ListModelsResponse,
|
|
@@ -27,6 +28,9 @@ export type AgentContextPart = Extract<AgentMessagePart, { type: "context" }>
|
|
|
27
28
|
|
|
28
29
|
export type AgentRun = GetAgentRunResponse
|
|
29
30
|
|
|
31
|
+
/** A conversation's context against its model's limits: what the context meter shows. */
|
|
32
|
+
export type AgentThreadContext = GetAgentThreadContextResponse
|
|
33
|
+
|
|
30
34
|
export type AgentRunStatus = AgentRun["status"]
|
|
31
35
|
|
|
32
36
|
export type LanguageModel = ListModelsResponse["language"][number]
|
|
@@ -1,18 +1,97 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { httpUrl, type WebSource, webSource } from "./web-search"
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/** A `web_fetch` result, as the chat shows it. */
|
|
4
|
+
export interface WebFetchPage {
|
|
5
|
+
readonly source: WebSource
|
|
6
|
+
/** What the agent asked about the page. */
|
|
7
|
+
readonly question?: string
|
|
8
|
+
readonly answer?: string
|
|
9
|
+
/** The answer stopped at its length limit: its end may be missing. */
|
|
10
|
+
readonly answerTruncated: boolean
|
|
11
|
+
/** The question went unanswered: the preview stands in for the answer. */
|
|
12
|
+
readonly answerFailed: boolean
|
|
13
|
+
/** The start of the page, or all of it when it is short. */
|
|
14
|
+
readonly preview?: string
|
|
15
|
+
/**
|
|
16
|
+
* Another site the address sent the agent to, which it did not follow. Its host stays whole:
|
|
17
|
+
* `example.com` sending to `www.example.com` would otherwise read as a redirect to itself.
|
|
18
|
+
*/
|
|
19
|
+
readonly redirect?: { readonly url: string; readonly domain: string }
|
|
20
|
+
// What the server sent: shown only in the opened row.
|
|
21
|
+
readonly status?: number
|
|
22
|
+
readonly contentType?: string
|
|
23
|
+
readonly bytes?: number
|
|
24
|
+
readonly truncated: boolean
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Recognize a `web_fetch` output: Sixb's (`source`, `answer`, `preview`), and the Exa tool's that
|
|
29
|
+
* older threads stored (`title`, `url`, `content`).
|
|
30
|
+
*/
|
|
31
|
+
export function coerceWebFetchOutput(value: unknown): WebFetchPage | null {
|
|
32
|
+
if (!isRecord(value)) return null
|
|
33
|
+
|
|
34
|
+
if (typeof value.content === "string") {
|
|
35
|
+
if (typeof value.url !== "string" || typeof value.title !== "string") return null
|
|
36
|
+
|
|
37
|
+
const source = webSource(value.url, value.title, value.content)
|
|
38
|
+
if (!source) return null
|
|
39
|
+
|
|
40
|
+
return {
|
|
41
|
+
source,
|
|
42
|
+
preview: value.content,
|
|
43
|
+
answerTruncated: false,
|
|
44
|
+
answerFailed: false,
|
|
45
|
+
truncated: false,
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
if (!isRecord(value.source) || typeof value.source.url !== "string") return null
|
|
50
|
+
|
|
51
|
+
// The page speaks for itself in the row; its source carries no excerpt of it.
|
|
52
|
+
const source = webSource(value.source.url, text(value.source.title) ?? "", "")
|
|
53
|
+
if (!source) return null
|
|
54
|
+
|
|
55
|
+
const redirect = isRecord(value.redirect) ? httpUrl(text(value.redirect.url) ?? "") : null
|
|
56
|
+
|
|
57
|
+
return {
|
|
58
|
+
source,
|
|
59
|
+
question: text(value.question),
|
|
60
|
+
answer: text(value.answer),
|
|
61
|
+
answerTruncated: value.answerTruncated === true,
|
|
62
|
+
answerFailed: typeof value.answerError === "string",
|
|
63
|
+
preview: text(value.preview),
|
|
64
|
+
redirect: redirect ? { url: redirect.href, domain: redirect.hostname } : undefined,
|
|
65
|
+
status: count(value.status),
|
|
66
|
+
contentType: text(value.contentType),
|
|
67
|
+
bytes: count(value.bytes),
|
|
68
|
+
truncated: value.truncated === true,
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/** The page a `web_fetch` read, as a source; none when it only pointed elsewhere or failed. */
|
|
73
|
+
export function webFetchSource(value: unknown): WebSource | null {
|
|
74
|
+
const page = coerceWebFetchOutput(value)
|
|
75
|
+
if (!page || page.redirect) return null
|
|
76
|
+
if (page.status !== undefined && (page.status < 200 || page.status >= 300)) return null
|
|
77
|
+
return page.source
|
|
6
78
|
}
|
|
7
79
|
|
|
8
80
|
export function webFetchUrl(input: unknown): URL | null {
|
|
9
81
|
if (!isRecord(input) || typeof input.url !== "string") return null
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
82
|
+
return httpUrl(input.url)
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function webFetchQuestion(input: unknown): string | undefined {
|
|
86
|
+
return isRecord(input) ? text(input.question) : undefined
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function text(value: unknown): string | undefined {
|
|
90
|
+
return typeof value === "string" && value.trim() ? value.trim() : undefined
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function count(value: unknown): number | undefined {
|
|
94
|
+
return typeof value === "number" && Number.isFinite(value) && value >= 0 ? value : undefined
|
|
16
95
|
}
|
|
17
96
|
|
|
18
97
|
function isRecord(value: unknown): value is Record<string, unknown> {
|