@dxos/plugin-assistant 0.8.4-main.ead640a → 0.8.4-main.effb148878
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/LICENSE +102 -5
- package/README.md +1 -1
- package/dist/lib/neutral/AgentArticle-UPXYXYFJ.mjs +166 -0
- package/dist/lib/neutral/AgentArticle-UPXYXYFJ.mjs.map +7 -0
- package/dist/lib/neutral/AgentProperties-W6LD56IB.mjs +40 -0
- package/dist/lib/neutral/AgentProperties-W6LD56IB.mjs.map +7 -0
- package/dist/lib/neutral/AssistantPlugin.mjs +10 -0
- package/dist/lib/neutral/AssistantPlugin.node.mjs +62 -0
- package/dist/lib/neutral/AssistantPlugin.node.mjs.map +7 -0
- package/dist/lib/neutral/AssistantPlugin.workerd.mjs +40 -0
- package/dist/lib/neutral/AssistantPlugin.workerd.mjs.map +7 -0
- package/dist/lib/neutral/AssistantSettings-GG52BLKS.mjs +40 -0
- package/dist/lib/neutral/AssistantSettings-GG52BLKS.mjs.map +7 -0
- package/dist/lib/neutral/BlueprintArticle-U7LUBFOS.mjs +27 -0
- package/dist/lib/neutral/BlueprintArticle-U7LUBFOS.mjs.map +7 -0
- package/dist/lib/neutral/ChatArticle-WVAFZPVI.mjs +8 -0
- package/dist/lib/neutral/ChatCompanion-PA5WC4ND.mjs +133 -0
- package/dist/lib/neutral/ChatCompanion-PA5WC4ND.mjs.map +7 -0
- package/dist/lib/neutral/ChatDialog-QKZLG7SQ.mjs +72 -0
- package/dist/lib/neutral/ChatDialog-QKZLG7SQ.mjs.map +7 -0
- package/dist/lib/neutral/PlanArticle-TS5ULWYS.mjs +28 -0
- package/dist/lib/neutral/PlanArticle-TS5ULWYS.mjs.map +7 -0
- package/dist/lib/neutral/RoutineArticle-HWB5ZQ6O.mjs +119 -0
- package/dist/lib/neutral/RoutineArticle-HWB5ZQ6O.mjs.map +7 -0
- package/dist/lib/neutral/RoutineList-SO5ETHNT.mjs +48 -0
- package/dist/lib/neutral/RoutineList-SO5ETHNT.mjs.map +7 -0
- package/dist/lib/neutral/RoutineProperties-FISLMW2R.mjs +17 -0
- package/dist/lib/neutral/RoutineProperties-FISLMW2R.mjs.map +7 -0
- package/dist/lib/neutral/TracePanel-75DMDJEB.mjs +136 -0
- package/dist/lib/neutral/TracePanel-75DMDJEB.mjs.map +7 -0
- package/dist/lib/neutral/TriggerStatus-WTFYUIG5.mjs +92 -0
- package/dist/lib/neutral/TriggerStatus-WTFYUIG5.mjs.map +7 -0
- package/dist/lib/neutral/ai-context-ERNAJDGG.mjs +42 -0
- package/dist/lib/neutral/ai-context-ERNAJDGG.mjs.map +7 -0
- package/dist/lib/neutral/ai-service-7SQH5S4F.mjs +34 -0
- package/dist/lib/neutral/ai-service-7SQH5S4F.mjs.map +7 -0
- package/dist/lib/neutral/app-graph-builder-VBWAKZE5.mjs +199 -0
- package/dist/lib/neutral/app-graph-builder-VBWAKZE5.mjs.map +7 -0
- package/dist/lib/neutral/blueprint-definition-VXJYQ5AE.mjs +32 -0
- package/dist/lib/neutral/blueprint-definition-VXJYQ5AE.mjs.map +7 -0
- package/dist/lib/neutral/blueprints/index.mjs +8 -0
- package/dist/lib/neutral/capabilities/index.mjs +37 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/neutral/chunk-5H6UJHLF.mjs +30 -0
- package/dist/lib/neutral/chunk-5H6UJHLF.mjs.map +7 -0
- package/dist/lib/neutral/chunk-6UMJI6ON.mjs +110 -0
- package/dist/lib/neutral/chunk-6UMJI6ON.mjs.map +7 -0
- package/dist/lib/neutral/chunk-CJXRQ2YX.mjs +386 -0
- package/dist/lib/neutral/chunk-CJXRQ2YX.mjs.map +7 -0
- package/dist/lib/neutral/chunk-JUCBGMF3.mjs +8 -0
- package/dist/lib/neutral/chunk-JUCBGMF3.mjs.map +7 -0
- package/dist/lib/neutral/chunk-SLIPV6NN.mjs +106 -0
- package/dist/lib/neutral/chunk-SLIPV6NN.mjs.map +7 -0
- package/dist/lib/neutral/chunk-ZWY6Y5IW.mjs +41 -0
- package/dist/lib/neutral/chunk-ZWY6Y5IW.mjs.map +7 -0
- package/dist/lib/neutral/companion-chat-provisioner-7RTSXL6M.mjs +116 -0
- package/dist/lib/neutral/companion-chat-provisioner-7RTSXL6M.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +2373 -0
- package/dist/lib/neutral/components/index.mjs.map +7 -0
- package/dist/lib/neutral/containers/index.mjs +29 -0
- package/dist/lib/neutral/containers/index.mjs.map +7 -0
- package/dist/lib/neutral/create-chat-QQZURUBW.mjs +71 -0
- package/dist/lib/neutral/create-chat-QQZURUBW.mjs.map +7 -0
- package/dist/lib/neutral/create-object-XPVVVEKF.mjs +89 -0
- package/dist/lib/neutral/create-object-XPVVVEKF.mjs.map +7 -0
- package/dist/lib/neutral/edge-model-resolver-XDNBZ3US.mjs +21 -0
- package/dist/lib/neutral/edge-model-resolver-XDNBZ3US.mjs.map +7 -0
- package/dist/lib/neutral/ensure-companion-chat-AMOF3C66.mjs +58 -0
- package/dist/lib/neutral/ensure-companion-chat-AMOF3C66.mjs.map +7 -0
- package/dist/lib/neutral/execution-graph/index.mjs +658 -0
- package/dist/lib/neutral/execution-graph/index.mjs.map +7 -0
- package/dist/lib/neutral/hooks/index.mjs +952 -0
- package/dist/lib/neutral/hooks/index.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +32 -0
- package/dist/lib/neutral/local-model-resolver-I2BENFFS.mjs +24 -0
- package/dist/lib/neutral/local-model-resolver-I2BENFFS.mjs.map +7 -0
- package/dist/lib/neutral/markdown-KTBFOMFM.mjs +110 -0
- package/dist/lib/neutral/markdown-KTBFOMFM.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +12 -0
- package/dist/lib/neutral/migrations-7DEMVBOG.mjs +28 -0
- package/dist/lib/neutral/migrations-7DEMVBOG.mjs.map +7 -0
- package/dist/lib/neutral/on-create-space-Q2R7OSP6.mjs +19 -0
- package/dist/lib/neutral/on-create-space-Q2R7OSP6.mjs.map +7 -0
- package/dist/lib/neutral/operation-handler-SF36MOB5.mjs +13 -0
- package/dist/lib/neutral/operation-handler-SF36MOB5.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +8 -0
- package/dist/lib/neutral/operations/index.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +16 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/neutral/react-surface-CC6J7D4K.mjs +174 -0
- package/dist/lib/neutral/react-surface-CC6J7D4K.mjs.map +7 -0
- package/dist/lib/neutral/resolve-navigation-targets-ZHIMMH7L.mjs +22 -0
- package/dist/lib/neutral/resolve-navigation-targets-ZHIMMH7L.mjs.map +7 -0
- package/dist/lib/neutral/run-prompt-in-new-chat-KPXN5YJ2.mjs +102 -0
- package/dist/lib/neutral/run-prompt-in-new-chat-KPXN5YJ2.mjs.map +7 -0
- package/dist/lib/neutral/set-current-chat-VWBPSIMZ.mjs +48 -0
- package/dist/lib/neutral/set-current-chat-VWBPSIMZ.mjs.map +7 -0
- package/dist/lib/neutral/settings-W4BLWQ53.mjs +28 -0
- package/dist/lib/neutral/settings-W4BLWQ53.mjs.map +7 -0
- package/dist/lib/neutral/state-H3G7QCU6.mjs +28 -0
- package/dist/lib/neutral/state-H3G7QCU6.mjs.map +7 -0
- package/dist/lib/neutral/testing.mjs +8 -0
- package/dist/lib/neutral/testing.mjs.map +7 -0
- package/dist/lib/neutral/toggle-trace-panel-debug-JGTB6KVJ.mjs +21 -0
- package/dist/lib/neutral/toggle-trace-panel-debug-JGTB6KVJ.mjs.map +7 -0
- package/dist/lib/neutral/toolkit-GVWXPDLJ.mjs +14 -0
- package/dist/lib/neutral/toolkit-GVWXPDLJ.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +175 -0
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/lib/neutral/types/index.mjs +20 -0
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/lib/neutral/update-chat-name-ENXRUMDJ.mjs +54 -0
- package/dist/lib/neutral/update-chat-name-ENXRUMDJ.mjs.map +7 -0
- package/dist/types/src/AssistantPlugin.d.ts +3 -1
- package/dist/types/src/AssistantPlugin.d.ts.map +1 -1
- package/dist/types/src/AssistantPlugin.node.d.ts +4 -0
- package/dist/types/src/AssistantPlugin.node.d.ts.map +1 -0
- package/dist/types/src/AssistantPlugin.test.d.ts +2 -0
- package/dist/types/src/AssistantPlugin.test.d.ts.map +1 -0
- package/dist/types/src/AssistantPlugin.workerd.d.ts +4 -0
- package/dist/types/src/AssistantPlugin.workerd.d.ts.map +1 -0
- package/dist/types/src/blueprints/assistant/blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/assistant/blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/assistant/blueprint.node.test.d.ts +2 -0
- package/dist/types/src/blueprints/assistant/blueprint.node.test.d.ts.map +1 -0
- package/dist/types/src/blueprints/assistant/index.d.ts +2 -0
- package/dist/types/src/blueprints/assistant/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/index.d.ts +2 -0
- package/dist/types/src/blueprints/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/ai-context.d.ts +6 -0
- package/dist/types/src/capabilities/ai-context.d.ts.map +1 -0
- package/dist/types/src/capabilities/ai-service.d.ts +5 -2
- package/dist/types/src/capabilities/ai-service.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +4 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +4 -6
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -1
- package/dist/types/src/capabilities/companion-chat-provisioner.d.ts +9 -0
- package/dist/types/src/capabilities/companion-chat-provisioner.d.ts.map +1 -0
- package/dist/types/src/capabilities/create-object.d.ts +31 -0
- package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
- package/dist/types/src/capabilities/edge-model-resolver.d.ts +6 -3
- package/dist/types/src/capabilities/edge-model-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +56 -12
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/local-model-resolver.d.ts +9 -3
- package/dist/types/src/capabilities/local-model-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown.d.ts +5 -0
- package/dist/types/src/capabilities/markdown.d.ts.map +1 -0
- package/dist/types/src/capabilities/migrations.d.ts +6 -0
- package/dist/types/src/capabilities/migrations.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +3 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +4 -2
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +19 -2
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/toolkit.d.ts +4 -2
- package/dist/types/src/capabilities/toolkit.d.ts.map +1 -1
- package/dist/types/src/components/AgentProperties/AgentProperties.d.ts +7 -0
- package/dist/types/src/components/AgentProperties/AgentProperties.d.ts.map +1 -0
- package/dist/types/src/components/AgentProperties/AgentProperties.stories.d.ts +15 -0
- package/dist/types/src/components/AgentProperties/AgentProperties.stories.d.ts.map +1 -0
- package/dist/types/src/components/AgentProperties/index.d.ts +2 -0
- package/dist/types/src/components/AgentProperties/index.d.ts.map +1 -0
- package/dist/types/src/components/AssistantSettings/AssistantSettings.d.ts +4 -4
- package/dist/types/src/components/AssistantSettings/AssistantSettings.d.ts.map +1 -1
- package/dist/types/src/components/AssistantSettings/AssistantSettings.stories.d.ts +15 -0
- package/dist/types/src/components/AssistantSettings/AssistantSettings.stories.d.ts.map +1 -0
- package/dist/types/src/components/AssistantSettings/index.d.ts +1 -1
- package/dist/types/src/components/AssistantSettings/index.d.ts.map +1 -1
- package/dist/types/src/components/Chat/Chat.d.ts +42 -33
- package/dist/types/src/components/Chat/Chat.d.ts.map +1 -1
- package/dist/types/src/components/Chat/context.d.ts +29 -0
- package/dist/types/src/components/Chat/context.d.ts.map +1 -0
- package/dist/types/src/components/Chat/events.d.ts +5 -1
- package/dist/types/src/components/Chat/events.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatActions.d.ts +2 -1
- package/dist/types/src/components/ChatPrompt/ChatActions.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatMcpErrors.d.ts +12 -0
- package/dist/types/src/components/ChatPrompt/ChatMcpErrors.d.ts.map +1 -0
- package/dist/types/src/components/ChatPrompt/ChatOptions.d.ts +10 -6
- package/dist/types/src/components/ChatPrompt/ChatOptions.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatOptions.stories.d.ts +19 -0
- package/dist/types/src/components/ChatPrompt/ChatOptions.stories.d.ts.map +1 -0
- package/dist/types/src/components/ChatPrompt/ChatPresets.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatPrompt.d.ts +28 -0
- package/dist/types/src/components/ChatPrompt/ChatPrompt.d.ts.map +1 -0
- package/dist/types/src/components/ChatPrompt/ChatReferences.d.ts +5 -5
- package/dist/types/src/components/ChatPrompt/ChatReferences.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatStatus.d.ts +20 -0
- package/dist/types/src/components/ChatPrompt/ChatStatus.d.ts.map +1 -0
- package/dist/types/src/components/ChatPrompt/ChatStatusIndicator.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/index.d.ts +3 -0
- package/dist/types/src/components/ChatPrompt/index.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/Anchor.stories.d.ts +14 -0
- package/dist/types/src/components/ChatThread/Anchor.stories.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/ChatThread.d.ts +11 -11
- package/dist/types/src/components/ChatThread/ChatThread.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts +15 -266
- package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/Link.d.ts +2 -2
- package/dist/types/src/components/ChatThread/Link.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/MarkdownStream.stories.d.ts +42 -0
- package/dist/types/src/components/ChatThread/MarkdownStream.stories.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/registry.d.ts +19 -1
- package/dist/types/src/components/ChatThread/registry.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/sync.d.ts +51 -18
- package/dist/types/src/components/ChatThread/sync.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/tool-widget-state.d.ts +18 -0
- package/dist/types/src/components/ChatThread/tool-widget-state.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/tool-widget-state.test.d.ts +2 -0
- package/dist/types/src/components/ChatThread/tool-widget-state.test.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/FallbackWidget.d.ts +8 -0
- package/dist/types/src/components/ChatThread/widgets/FallbackWidget.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/ReasoningWidget.d.ts +25 -0
- package/dist/types/src/components/ChatThread/widgets/ReasoningWidget.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/ReasoningWidget.stories.d.ts +18 -0
- package/dist/types/src/components/ChatThread/widgets/ReasoningWidget.stories.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/ReferenceWidget.d.ts +9 -0
- package/dist/types/src/components/ChatThread/widgets/ReferenceWidget.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/SelectWidget.d.ts +14 -0
- package/dist/types/src/components/ChatThread/widgets/SelectWidget.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/StatsWidget.d.ts +12 -0
- package/dist/types/src/components/ChatThread/widgets/StatsWidget.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/StatusWidget.d.ts +12 -0
- package/dist/types/src/components/ChatThread/widgets/StatusWidget.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/SuggestionWidget.d.ts +11 -0
- package/dist/types/src/components/ChatThread/widgets/SuggestionWidget.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/SummaryWidget.d.ts +5 -0
- package/dist/types/src/components/ChatThread/widgets/SummaryWidget.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/ToolWidget.d.ts +9 -0
- package/dist/types/src/components/ChatThread/widgets/ToolWidget.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/ToolWidget.stories.d.ts +15 -0
- package/dist/types/src/components/ChatThread/widgets/ToolWidget.stories.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/defaults.d.ts +5 -0
- package/dist/types/src/components/ChatThread/widgets/defaults.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/widgets/index.d.ts +10 -0
- package/dist/types/src/components/ChatThread/widgets/index.d.ts.map +1 -0
- package/dist/types/src/components/ProcessTree/ProcessTree.d.ts +11 -0
- package/dist/types/src/components/ProcessTree/ProcessTree.d.ts.map +1 -0
- package/dist/types/src/components/ProcessTree/ProcessTree.stories.d.ts +7 -0
- package/dist/types/src/components/ProcessTree/ProcessTree.stories.d.ts.map +1 -0
- package/dist/types/src/components/ProcessTree/index.d.ts +2 -0
- package/dist/types/src/components/ProcessTree/index.d.ts.map +1 -0
- package/dist/types/src/components/RoutineProperties/RoutineProperties.d.ts +7 -0
- package/dist/types/src/components/RoutineProperties/RoutineProperties.d.ts.map +1 -0
- package/dist/types/src/components/RoutineProperties/RoutineProperties.stories.d.ts +15 -0
- package/dist/types/src/components/RoutineProperties/RoutineProperties.stories.d.ts.map +1 -0
- package/dist/types/src/components/RoutineProperties/index.d.ts +2 -0
- package/dist/types/src/components/RoutineProperties/index.d.ts.map +1 -0
- package/dist/types/src/components/TaskList/TaskList.d.ts +10 -0
- package/dist/types/src/components/TaskList/TaskList.d.ts.map +1 -0
- package/dist/types/src/components/TaskList/TaskList.stories.d.ts +16 -0
- package/dist/types/src/components/TaskList/TaskList.stories.d.ts.map +1 -0
- package/dist/types/src/components/TaskList/index.d.ts +2 -0
- package/dist/types/src/components/TaskList/index.d.ts.map +1 -0
- package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts +7 -5
- package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts +1 -253
- package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts +12 -3
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts +2 -254
- package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/extensions/handlebars-extension.d.ts.map +1 -0
- package/dist/types/src/components/TemplateEditor/extensions/index.d.ts +3 -0
- package/dist/types/src/components/TemplateEditor/extensions/index.d.ts.map +1 -0
- package/dist/types/src/components/TemplateEditor/extensions/xml-extension.d.ts +8 -0
- package/dist/types/src/components/TemplateEditor/extensions/xml-extension.d.ts.map +1 -0
- package/dist/types/src/components/ToolBlock/ToolBlock.d.ts +9 -16
- package/dist/types/src/components/ToolBlock/ToolBlock.d.ts.map +1 -1
- package/dist/types/src/components/Toolbox/Toolbox.d.ts +14 -13
- package/dist/types/src/components/Toolbox/Toolbox.d.ts.map +1 -1
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts +1 -253
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +6 -11
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/AgentArticle/AgentArticle.d.ts +6 -0
- package/dist/types/src/containers/AgentArticle/AgentArticle.d.ts.map +1 -0
- package/dist/types/src/containers/AgentArticle/AgentArticle.stories.d.ts +21 -0
- package/dist/types/src/containers/AgentArticle/AgentArticle.stories.d.ts.map +1 -0
- package/dist/types/src/containers/AgentArticle/index.d.ts +2 -0
- package/dist/types/src/containers/AgentArticle/index.d.ts.map +1 -0
- package/dist/types/src/containers/AgentProperties/AgentProperties.d.ts +6 -0
- package/dist/types/src/containers/AgentProperties/AgentProperties.d.ts.map +1 -0
- package/dist/types/src/containers/AgentProperties/index.d.ts +2 -0
- package/dist/types/src/containers/AgentProperties/index.d.ts.map +1 -0
- package/dist/types/src/containers/BlueprintArticle/BlueprintArticle.d.ts +6 -0
- package/dist/types/src/containers/BlueprintArticle/BlueprintArticle.d.ts.map +1 -0
- package/dist/types/src/containers/BlueprintArticle/index.d.ts +2 -0
- package/dist/types/src/containers/BlueprintArticle/index.d.ts.map +1 -0
- package/dist/types/src/containers/ChatArticle/ChatArticle.d.ts +12 -0
- package/dist/types/src/containers/ChatArticle/ChatArticle.d.ts.map +1 -0
- package/dist/types/src/containers/ChatArticle/ChatArticle.stories.d.ts +15 -0
- package/dist/types/src/containers/ChatArticle/ChatArticle.stories.d.ts.map +1 -0
- package/dist/types/src/containers/ChatArticle/index.d.ts +2 -0
- package/dist/types/src/containers/ChatArticle/index.d.ts.map +1 -0
- package/dist/types/src/containers/ChatCompanion/ChatCompanion.d.ts +26 -0
- package/dist/types/src/containers/ChatCompanion/ChatCompanion.d.ts.map +1 -0
- package/dist/types/src/containers/ChatCompanion/index.d.ts +2 -0
- package/dist/types/src/containers/ChatCompanion/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/ChatDialog}/ChatDialog.d.ts +2 -3
- package/dist/types/src/containers/ChatDialog/ChatDialog.d.ts.map +1 -0
- package/dist/types/src/containers/ChatDialog/index.d.ts +2 -0
- package/dist/types/src/containers/ChatDialog/index.d.ts.map +1 -0
- package/dist/types/src/containers/PlanArticle/PlanArticle.d.ts +6 -0
- package/dist/types/src/containers/PlanArticle/PlanArticle.d.ts.map +1 -0
- package/dist/types/src/containers/PlanArticle/index.d.ts +2 -0
- package/dist/types/src/containers/PlanArticle/index.d.ts.map +1 -0
- package/dist/types/src/containers/RoutineArticle/RoutineArticle.d.ts +6 -0
- package/dist/types/src/containers/RoutineArticle/RoutineArticle.d.ts.map +1 -0
- package/dist/types/src/containers/RoutineArticle/RoutineArticle.stories.d.ts +15 -0
- package/dist/types/src/containers/RoutineArticle/RoutineArticle.stories.d.ts.map +1 -0
- package/dist/types/src/containers/RoutineArticle/index.d.ts +2 -0
- package/dist/types/src/containers/RoutineArticle/index.d.ts.map +1 -0
- package/dist/types/src/containers/RoutineList/RoutineList.d.ts +6 -0
- package/dist/types/src/containers/RoutineList/RoutineList.d.ts.map +1 -0
- package/dist/types/src/containers/RoutineList/RoutineList.stories.d.ts +21 -0
- package/dist/types/src/containers/RoutineList/RoutineList.stories.d.ts.map +1 -0
- package/dist/types/src/containers/RoutineList/index.d.ts +2 -0
- package/dist/types/src/containers/RoutineList/index.d.ts.map +1 -0
- package/dist/types/src/containers/TracePanel/TracePanel.d.ts +8 -0
- package/dist/types/src/containers/TracePanel/TracePanel.d.ts.map +1 -0
- package/dist/types/src/containers/TracePanel/TracePanel.stories.d.ts +15 -0
- package/dist/types/src/containers/TracePanel/TracePanel.stories.d.ts.map +1 -0
- package/dist/types/src/containers/TracePanel/dxn-extractor.d.ts +19 -0
- package/dist/types/src/containers/TracePanel/dxn-extractor.d.ts.map +1 -0
- package/dist/types/src/containers/TracePanel/dxn-extractor.test.d.ts +2 -0
- package/dist/types/src/containers/TracePanel/dxn-extractor.test.d.ts.map +1 -0
- package/dist/types/src/containers/TracePanel/index.d.ts +4 -0
- package/dist/types/src/containers/TracePanel/index.d.ts.map +1 -0
- package/dist/types/src/containers/TracePanel/testing/index.d.ts +3 -0
- package/dist/types/src/containers/TracePanel/testing/index.d.ts.map +1 -0
- package/dist/types/src/containers/TracePanel/testing/simulated-agent.d.ts +14 -0
- package/dist/types/src/containers/TracePanel/testing/simulated-agent.d.ts.map +1 -0
- package/dist/types/src/containers/TracePanel/testing/snapshot-playback.d.ts +12 -0
- package/dist/types/src/containers/TracePanel/testing/snapshot-playback.d.ts.map +1 -0
- package/dist/types/src/containers/TriggerStatus/TriggerStatus.d.ts +5 -0
- package/dist/types/src/containers/TriggerStatus/TriggerStatus.d.ts.map +1 -0
- package/dist/types/src/containers/TriggerStatus/index.d.ts +2 -0
- package/dist/types/src/containers/TriggerStatus/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +13 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/execution-graph/execution-graph.d.ts +108 -0
- package/dist/types/src/execution-graph/execution-graph.d.ts.map +1 -0
- package/dist/types/src/execution-graph/execution-graph.test.d.ts +2 -0
- package/dist/types/src/execution-graph/execution-graph.test.d.ts.map +1 -0
- package/dist/types/src/execution-graph/index.d.ts +3 -0
- package/dist/types/src/execution-graph/index.d.ts.map +1 -0
- package/dist/types/src/execution-graph/remote-snapshot.test.d.ts +2 -0
- package/dist/types/src/execution-graph/remote-snapshot.test.d.ts.map +1 -0
- package/dist/types/src/execution-graph/span-tree.d.ts +76 -0
- package/dist/types/src/execution-graph/span-tree.d.ts.map +1 -0
- package/dist/types/src/execution-graph/span-tree.test.d.ts +2 -0
- package/dist/types/src/execution-graph/span-tree.test.d.ts.map +1 -0
- package/dist/types/src/execution-graph/testing/collect-trace-events.d.ts +40 -0
- package/dist/types/src/execution-graph/testing/collect-trace-events.d.ts.map +1 -0
- package/dist/types/src/execution-graph/testing/index.d.ts +2 -0
- package/dist/types/src/execution-graph/testing/index.d.ts.map +1 -0
- package/dist/types/src/extensions/index.d.ts +2 -0
- package/dist/types/src/extensions/index.d.ts.map +1 -0
- package/dist/types/src/extensions/prompt-extension.d.ts +10 -0
- package/dist/types/src/extensions/prompt-extension.d.ts.map +1 -0
- package/dist/types/src/feed-logger.d.ts +13 -0
- package/dist/types/src/feed-logger.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +4 -1
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useBlueprintRegistry.d.ts +57 -11
- package/dist/types/src/hooks/useBlueprintRegistry.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatKeymap.d.ts +12 -0
- package/dist/types/src/hooks/useChatKeymap.d.ts.map +1 -0
- package/dist/types/src/hooks/useChatProcessor.d.ts +10 -7
- package/dist/types/src/hooks/useChatProcessor.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatServices.d.ts +9 -8
- package/dist/types/src/hooks/useChatServices.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatToolbarActions.d.ts +8 -0
- package/dist/types/src/hooks/useChatToolbarActions.d.ts.map +1 -0
- package/dist/types/src/hooks/useContextBinder.d.ts +4 -3
- package/dist/types/src/hooks/useContextBinder.d.ts.map +1 -1
- package/dist/types/src/hooks/useContextObjects.d.ts +10 -9
- package/dist/types/src/hooks/useContextObjects.d.ts.map +1 -1
- package/dist/types/src/hooks/useDebug.d.ts +10 -0
- package/dist/types/src/hooks/useDebug.d.ts.map +1 -0
- package/dist/types/src/hooks/useFilteredTypes.d.ts +3 -0
- package/dist/types/src/hooks/useFilteredTypes.d.ts.map +1 -0
- package/dist/types/src/hooks/useFlush.d.ts +1 -1
- package/dist/types/src/hooks/useFlush.d.ts.map +1 -1
- package/dist/types/src/hooks/usePresets.d.ts +1 -1
- package/dist/types/src/hooks/usePresets.d.ts.map +1 -1
- package/dist/types/src/hooks/useReferencesProvider.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -6
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +4 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/create-chat.d.ts +5 -0
- package/dist/types/src/operations/create-chat.d.ts.map +1 -0
- package/dist/types/src/operations/ensure-companion-chat.d.ts +5 -0
- package/dist/types/src/operations/ensure-companion-chat.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +3 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/on-create-space.d.ts +5 -0
- package/dist/types/src/operations/on-create-space.d.ts.map +1 -0
- package/dist/types/src/operations/prompt.node.test.d.ts +2 -0
- package/dist/types/src/operations/prompt.node.test.d.ts.map +1 -0
- package/dist/types/src/operations/resolve-navigation-targets.d.ts +17 -0
- package/dist/types/src/operations/resolve-navigation-targets.d.ts.map +1 -0
- package/dist/types/src/operations/run-prompt-in-new-chat.d.ts +5 -0
- package/dist/types/src/operations/run-prompt-in-new-chat.d.ts.map +1 -0
- package/dist/types/src/operations/set-current-chat.d.ts +5 -0
- package/dist/types/src/operations/set-current-chat.d.ts.map +1 -0
- package/dist/types/src/operations/toggle-trace-panel-debug.d.ts +5 -0
- package/dist/types/src/operations/toggle-trace-panel-debug.d.ts.map +1 -0
- package/dist/types/src/operations/update-chat-name.d.ts +5 -0
- package/dist/types/src/operations/update-chat-name.d.ts.map +1 -0
- package/dist/types/src/plugin.d.ts +4 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/processor/index.d.ts +0 -1
- package/dist/types/src/processor/index.d.ts.map +1 -1
- package/dist/types/src/processor/presets.d.ts +1 -1
- package/dist/types/src/processor/presets.d.ts.map +1 -1
- package/dist/types/src/processor/processor.d.ts +261 -40
- package/dist/types/src/processor/processor.d.ts.map +1 -1
- package/dist/types/src/processor/processor.node.test.d.ts +2 -0
- package/dist/types/src/processor/processor.node.test.d.ts.map +1 -0
- package/dist/types/src/testing/index.d.ts +2 -0
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/snapshot.d.ts +21 -0
- package/dist/types/src/testing/snapshot.d.ts.map +1 -0
- package/dist/types/src/testing/test-generator.d.ts +4 -4
- package/dist/types/src/testing/test-generator.d.ts.map +1 -1
- package/dist/types/src/testing/test-generator.test.d.ts +2 -0
- package/dist/types/src/testing/test-generator.test.d.ts.map +1 -0
- package/dist/types/src/testing/test-sequence.d.ts +10 -3
- package/dist/types/src/testing/test-sequence.d.ts.map +1 -1
- package/dist/types/src/testing/test-services.d.ts +1 -1
- package/dist/types/src/testing/test-services.d.ts.map +1 -1
- package/dist/types/src/testing/test-trace.d.ts +5 -0
- package/dist/types/src/testing/test-trace.d.ts.map +1 -0
- package/dist/types/src/testing/trace-timeline.node.test.d.ts +2 -0
- package/dist/types/src/testing/trace-timeline.node.test.d.ts.map +1 -0
- package/dist/types/src/testing.d.ts +2 -0
- package/dist/types/src/testing.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +2 -88
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Assistant.d.ts +34 -48
- package/dist/types/src/types/Assistant.d.ts.map +1 -1
- package/dist/types/src/types/AssistantCapabilities.d.ts +30 -0
- package/dist/types/src/types/AssistantCapabilities.d.ts.map +1 -0
- package/dist/types/src/types/AssistantEvents.d.ts +3 -0
- package/dist/types/src/types/AssistantEvents.d.ts.map +1 -0
- package/dist/types/src/types/AssistantOperation.d.ts +145 -0
- package/dist/types/src/types/AssistantOperation.d.ts.map +1 -0
- package/dist/types/src/types/Settings.d.ts +27 -0
- package/dist/types/src/types/Settings.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +4 -2
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/service.d.ts +10 -213
- package/dist/types/src/types/service.d.ts.map +1 -1
- package/dist/types/src/util/suggestions.d.ts +9 -0
- package/dist/types/src/util/suggestions.d.ts.map +1 -0
- package/dist/types/src/util/suggestions.test.d.ts +2 -0
- package/dist/types/src/util/suggestions.test.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +206 -110
- package/src/AssistantPlugin.node.ts +71 -0
- package/src/AssistantPlugin.test.ts +49 -0
- package/src/AssistantPlugin.ts +140 -0
- package/src/AssistantPlugin.workerd.ts +41 -0
- package/src/blueprints/assistant/blueprint.node.test.ts +46 -0
- package/src/blueprints/assistant/blueprint.ts +31 -0
- package/src/blueprints/assistant/index.ts +5 -0
- package/src/{components/Toolbar → blueprints}/index.ts +1 -1
- package/src/capabilities/ai-context.ts +85 -0
- package/src/capabilities/ai-service.ts +34 -17
- package/src/capabilities/app-graph-builder.ts +174 -171
- package/src/capabilities/blueprint-definition.ts +47 -55
- package/src/capabilities/companion-chat-provisioner.ts +163 -0
- package/src/capabilities/create-object.ts +98 -0
- package/src/capabilities/edge-model-resolver.ts +22 -14
- package/src/capabilities/index.ts +24 -14
- package/src/capabilities/local-model-resolver.ts +31 -13
- package/src/capabilities/markdown.ts +40 -0
- package/src/capabilities/migrations.ts +28 -0
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/react-surface.tsx +161 -78
- package/src/capabilities/settings.ts +24 -12
- package/src/capabilities/state.ts +27 -12
- package/src/capabilities/toolkit.ts +6 -161
- package/src/components/AgentProperties/AgentProperties.stories.tsx +74 -0
- package/src/components/AgentProperties/AgentProperties.tsx +102 -0
- package/src/components/AgentProperties/index.ts +5 -0
- package/src/components/AssistantSettings/AssistantSettings.stories.tsx +35 -0
- package/src/components/AssistantSettings/AssistantSettings.tsx +30 -99
- package/src/components/AssistantSettings/index.ts +2 -2
- package/src/components/Chat/Chat.tsx +162 -258
- package/src/components/Chat/context.ts +39 -0
- package/src/components/Chat/events.ts +7 -1
- package/src/components/ChatPrompt/ChatActions.tsx +34 -16
- package/src/components/ChatPrompt/ChatMcpErrors.tsx +50 -0
- package/src/components/ChatPrompt/ChatOptions.stories.tsx +136 -0
- package/src/components/ChatPrompt/ChatOptions.tsx +311 -90
- package/src/components/ChatPrompt/ChatPrompt.tsx +182 -0
- package/src/components/ChatPrompt/ChatReferences.tsx +28 -18
- package/src/components/ChatPrompt/ChatStatus.tsx +123 -0
- package/src/components/ChatPrompt/ChatStatusIndicator.tsx +2 -2
- package/src/components/ChatPrompt/index.ts +3 -0
- package/src/components/ChatThread/Anchor.stories.tsx +95 -0
- package/src/components/ChatThread/ChatThread.stories.tsx +81 -71
- package/src/components/ChatThread/ChatThread.tsx +62 -46
- package/src/components/ChatThread/DEBUG.md +41 -0
- package/src/components/ChatThread/Link.tsx +6 -6
- package/src/components/ChatThread/MarkdownStream.stories.tsx +281 -0
- package/src/components/ChatThread/registry.tsx +184 -78
- package/src/components/ChatThread/sync.test.ts +201 -25
- package/src/components/ChatThread/sync.ts +105 -68
- package/src/components/ChatThread/testing/reasoning.md +25 -0
- package/src/components/ChatThread/testing/thinking.md +21 -0
- package/src/components/ChatThread/testing/thread-1.md +30 -0
- package/src/components/ChatThread/testing/thread-2.md +56 -0
- package/src/components/ChatThread/testing/thread-widgets.md +79 -0
- package/src/components/ChatThread/tool-widget-state.test.ts +34 -0
- package/src/components/ChatThread/tool-widget-state.ts +48 -0
- package/src/components/ChatThread/widgets/FallbackWidget.tsx +26 -0
- package/src/components/ChatThread/widgets/ReasoningWidget.stories.tsx +68 -0
- package/src/components/ChatThread/widgets/ReasoningWidget.ts +133 -0
- package/src/components/ChatThread/widgets/ReferenceWidget.ts +33 -0
- package/src/components/ChatThread/widgets/SelectWidget.ts +39 -0
- package/src/components/ChatThread/widgets/StatsWidget.ts +31 -0
- package/src/components/ChatThread/widgets/StatusWidget.ts +53 -0
- package/src/components/ChatThread/widgets/SuggestionWidget.ts +41 -0
- package/src/components/ChatThread/widgets/SummaryWidget.tsx +27 -0
- package/src/components/ChatThread/widgets/ToolWidget.stories.tsx +55 -0
- package/src/components/ChatThread/widgets/ToolWidget.tsx +156 -0
- package/src/components/ChatThread/widgets/defaults.ts +8 -0
- package/src/components/ChatThread/widgets/index.ts +13 -0
- package/src/components/ProcessTree/ProcessTree.stories.tsx +83 -0
- package/src/components/ProcessTree/ProcessTree.tsx +122 -0
- package/src/components/ProcessTree/index.ts +5 -0
- package/src/components/RoutineProperties/RoutineProperties.stories.tsx +59 -0
- package/src/components/RoutineProperties/RoutineProperties.tsx +23 -0
- package/src/components/RoutineProperties/index.ts +5 -0
- package/src/components/TaskList/TaskList.stories.tsx +44 -0
- package/src/components/TaskList/TaskList.tsx +45 -0
- package/src/components/TaskList/index.ts +5 -0
- package/src/components/TemplateEditor/TemplateEditor.stories.tsx +18 -14
- package/src/components/TemplateEditor/TemplateEditor.tsx +58 -42
- package/src/components/TemplateEditor/TemplateForm.stories.tsx +21 -15
- package/src/components/TemplateEditor/TemplateForm.tsx +111 -86
- package/src/components/TemplateEditor/extensions/handlebars-extension.ts +274 -0
- package/src/components/TemplateEditor/extensions/index.ts +6 -0
- package/src/components/TemplateEditor/extensions/xml-extension.ts +64 -0
- package/src/components/ToolBlock/ToolBlock.tsx +46 -54
- package/src/components/Toolbox/Toolbox.stories.tsx +16 -18
- package/src/components/Toolbox/Toolbox.tsx +72 -66
- package/src/components/index.ts +6 -10
- package/src/containers/AgentArticle/AgentArticle.stories.tsx +120 -0
- package/src/containers/AgentArticle/AgentArticle.tsx +197 -0
- package/src/containers/AgentArticle/index.ts +5 -0
- package/src/containers/AgentProperties/AgentProperties.tsx +43 -0
- package/src/containers/AgentProperties/index.ts +5 -0
- package/src/containers/BlueprintArticle/BlueprintArticle.tsx +29 -0
- package/src/containers/BlueprintArticle/index.ts +5 -0
- package/src/containers/ChatArticle/ChatArticle.stories.tsx +76 -0
- package/src/containers/ChatArticle/ChatArticle.tsx +107 -0
- package/src/containers/ChatArticle/index.ts +5 -0
- package/src/containers/ChatCompanion/ChatCompanion.tsx +133 -0
- package/src/containers/ChatCompanion/index.ts +5 -0
- package/src/{components → containers/ChatDialog}/ChatDialog.tsx +14 -16
- package/src/containers/ChatDialog/index.ts +5 -0
- package/src/containers/PlanArticle/PlanArticle.tsx +33 -0
- package/src/containers/PlanArticle/index.ts +5 -0
- package/src/containers/RoutineArticle/RoutineArticle.stories.tsx +75 -0
- package/src/containers/RoutineArticle/RoutineArticle.tsx +109 -0
- package/src/containers/RoutineArticle/index.ts +5 -0
- package/src/containers/RoutineList/RoutineList.stories.tsx +130 -0
- package/src/containers/RoutineList/RoutineList.tsx +50 -0
- package/src/containers/RoutineList/index.ts +5 -0
- package/src/containers/TracePanel/TracePanel.stories.tsx +319 -0
- package/src/containers/TracePanel/TracePanel.tsx +213 -0
- package/src/containers/TracePanel/dxn-extractor.test.ts +153 -0
- package/src/containers/TracePanel/dxn-extractor.ts +168 -0
- package/src/containers/TracePanel/index.ts +9 -0
- package/src/containers/TracePanel/testing/index.ts +6 -0
- package/src/containers/TracePanel/testing/simulated-agent.ts +114 -0
- package/src/containers/TracePanel/testing/snapshot-playback.ts +45 -0
- package/src/containers/TriggerStatus/TriggerStatus.tsx +129 -0
- package/src/containers/TriggerStatus/index.ts +5 -0
- package/src/containers/index.ts +17 -0
- package/src/execution-graph/SPEC.md +678 -0
- package/src/execution-graph/execution-graph.test.ts +799 -0
- package/src/execution-graph/execution-graph.ts +714 -0
- package/src/execution-graph/index.ts +24 -0
- package/src/execution-graph/remote-snapshot.test.ts +116 -0
- package/src/execution-graph/span-tree.test.ts +249 -0
- package/src/execution-graph/span-tree.ts +259 -0
- package/src/execution-graph/testing/collect-trace-events.ts +74 -0
- package/src/execution-graph/testing/index.ts +5 -0
- package/src/extensions/index.ts +5 -0
- package/src/extensions/prompt-extension.ts +111 -0
- package/src/feed-logger.ts +149 -0
- package/src/hooks/index.ts +4 -1
- package/src/hooks/useBlueprintRegistry.ts +48 -27
- package/src/hooks/useChatKeymap.ts +52 -0
- package/src/hooks/useChatProcessor.ts +60 -28
- package/src/hooks/useChatServices.ts +14 -35
- package/src/hooks/useChatToolbarActions.ts +120 -0
- package/src/hooks/useContextBinder.ts +23 -10
- package/src/hooks/useContextObjects.ts +20 -27
- package/src/hooks/useDebug.ts +38 -0
- package/src/hooks/useFilteredTypes.ts +37 -0
- package/src/hooks/usePresets.ts +2 -1
- package/src/hooks/useReferencesProvider.ts +11 -22
- package/src/index.ts +1 -7
- package/src/meta.ts +33 -7
- package/src/operations/create-chat.ts +84 -0
- package/src/operations/ensure-companion-chat.ts +63 -0
- package/src/operations/index.ts +16 -0
- package/src/operations/on-create-space.ts +24 -0
- package/src/operations/prompt.node.test.ts +80 -0
- package/src/operations/resolve-navigation-targets.ts +31 -0
- package/src/operations/run-prompt-in-new-chat.ts +113 -0
- package/src/operations/set-current-chat.ts +49 -0
- package/src/operations/toggle-trace-panel-debug.ts +27 -0
- package/src/operations/update-chat-name.ts +61 -0
- package/src/plugin.ts +11 -0
- package/src/processor/index.ts +0 -1
- package/src/processor/presets.ts +12 -4
- package/src/processor/processor.node.test.ts +41 -0
- package/src/processor/processor.ts +287 -163
- package/src/testing/data/trace-timeline-multiple.dx.json +1 -0
- package/src/testing/data/trace-timeline-remote.dx.json +1 -0
- package/src/testing/data/trace-timeline.dx.json +4657 -0
- package/src/testing/index.ts +2 -0
- package/src/testing/snapshot.ts +35 -0
- package/src/testing/test-generator.test.ts +71 -0
- package/src/testing/test-generator.ts +217 -194
- package/src/testing/test-sequence.ts +6 -6
- package/src/testing/test-services.ts +9 -7
- package/src/testing/test-trace.ts +20 -0
- package/src/testing/trace-timeline.node.conversations.json +1 -0
- package/src/testing/trace-timeline.node.test.ts +250 -0
- package/src/testing.ts +9 -0
- package/src/translations.ts +162 -82
- package/src/types/Assistant.ts +17 -55
- package/src/types/AssistantCapabilities.ts +35 -0
- package/src/types/AssistantEvents.ts +11 -0
- package/src/types/AssistantOperation.ts +152 -0
- package/src/types/Settings.ts +82 -0
- package/src/types/index.ts +8 -2
- package/src/types/service.ts +9 -11
- package/src/util/suggestions.test.ts +52 -0
- package/src/util/suggestions.ts +42 -0
- package/dist/lib/browser/BlueprintContainer-FOZTO447.mjs +0 -28
- package/dist/lib/browser/BlueprintContainer-FOZTO447.mjs.map +0 -7
- package/dist/lib/browser/ChatCompanion-EC6LBEWF.mjs +0 -150
- package/dist/lib/browser/ChatCompanion-EC6LBEWF.mjs.map +0 -7
- package/dist/lib/browser/ChatContainer-A2SL6WO5.mjs +0 -73
- package/dist/lib/browser/ChatContainer-A2SL6WO5.mjs.map +0 -7
- package/dist/lib/browser/ChatDialog-XMOUFX2P.mjs +0 -86
- package/dist/lib/browser/ChatDialog-XMOUFX2P.mjs.map +0 -7
- package/dist/lib/browser/SequenceContainer-2FEWMQGW.mjs +0 -150
- package/dist/lib/browser/SequenceContainer-2FEWMQGW.mjs.map +0 -7
- package/dist/lib/browser/ai-service-ERTZBTP3.mjs +0 -19
- package/dist/lib/browser/ai-service-ERTZBTP3.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-7AE4R5KJ.mjs +0 -183
- package/dist/lib/browser/app-graph-builder-7AE4R5KJ.mjs.map +0 -7
- package/dist/lib/browser/blueprint-definition-NSJARW5U.mjs +0 -12
- package/dist/lib/browser/chunk-2CE2KPKZ.mjs +0 -175
- package/dist/lib/browser/chunk-2CE2KPKZ.mjs.map +0 -7
- package/dist/lib/browser/chunk-37VMDB4P.mjs +0 -220
- package/dist/lib/browser/chunk-37VMDB4P.mjs.map +0 -7
- package/dist/lib/browser/chunk-3EWE2UQD.mjs +0 -220
- package/dist/lib/browser/chunk-3EWE2UQD.mjs.map +0 -7
- package/dist/lib/browser/chunk-5EGXHCAZ.mjs +0 -16
- package/dist/lib/browser/chunk-5EGXHCAZ.mjs.map +0 -7
- package/dist/lib/browser/chunk-5RICKAMN.mjs +0 -18
- package/dist/lib/browser/chunk-5RICKAMN.mjs.map +0 -7
- package/dist/lib/browser/chunk-7THOIN6F.mjs +0 -1802
- package/dist/lib/browser/chunk-7THOIN6F.mjs.map +0 -7
- package/dist/lib/browser/chunk-HYYWP3KP.mjs +0 -170
- package/dist/lib/browser/chunk-HYYWP3KP.mjs.map +0 -7
- package/dist/lib/browser/chunk-Z7DQT64Z.mjs +0 -301
- package/dist/lib/browser/chunk-Z7DQT64Z.mjs.map +0 -7
- package/dist/lib/browser/edge-model-resolver-O6OFYIO2.mjs +0 -18
- package/dist/lib/browser/edge-model-resolver-O6OFYIO2.mjs.map +0 -7
- package/dist/lib/browser/index.mjs +0 -370
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-BZUU4UNA.mjs +0 -130
- package/dist/lib/browser/intent-resolver-BZUU4UNA.mjs.map +0 -7
- package/dist/lib/browser/local-model-resolver-GO6ZEMLL.mjs +0 -17
- package/dist/lib/browser/local-model-resolver-GO6ZEMLL.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/react-surface-KRRUOMYY.mjs +0 -107
- package/dist/lib/browser/react-surface-KRRUOMYY.mjs.map +0 -7
- package/dist/lib/browser/settings-PSR3WF3X.mjs +0 -23
- package/dist/lib/browser/settings-PSR3WF3X.mjs.map +0 -7
- package/dist/lib/browser/state-LXTS54DI.mjs +0 -21
- package/dist/lib/browser/state-LXTS54DI.mjs.map +0 -7
- package/dist/lib/browser/toolkit-NQ2GXCF5.mjs +0 -199
- package/dist/lib/browser/toolkit-NQ2GXCF5.mjs.map +0 -7
- package/dist/lib/browser/types/index.mjs +0 -19
- package/dist/lib/node-esm/BlueprintContainer-6HSEVQ7U.mjs +0 -29
- package/dist/lib/node-esm/BlueprintContainer-6HSEVQ7U.mjs.map +0 -7
- package/dist/lib/node-esm/ChatCompanion-NDYEAUQN.mjs +0 -151
- package/dist/lib/node-esm/ChatCompanion-NDYEAUQN.mjs.map +0 -7
- package/dist/lib/node-esm/ChatContainer-NMDQM5HG.mjs +0 -74
- package/dist/lib/node-esm/ChatContainer-NMDQM5HG.mjs.map +0 -7
- package/dist/lib/node-esm/ChatDialog-QPRWMRU4.mjs +0 -87
- package/dist/lib/node-esm/ChatDialog-QPRWMRU4.mjs.map +0 -7
- package/dist/lib/node-esm/SequenceContainer-PGGJUQ46.mjs +0 -151
- package/dist/lib/node-esm/SequenceContainer-PGGJUQ46.mjs.map +0 -7
- package/dist/lib/node-esm/ai-service-MUYLV3NT.mjs +0 -20
- package/dist/lib/node-esm/ai-service-MUYLV3NT.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-SJCOS64C.mjs +0 -184
- package/dist/lib/node-esm/app-graph-builder-SJCOS64C.mjs.map +0 -7
- package/dist/lib/node-esm/blueprint-definition-WD2IVMAI.mjs +0 -13
- package/dist/lib/node-esm/chunk-73ABYRYX.mjs +0 -20
- package/dist/lib/node-esm/chunk-73ABYRYX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HDZX6TSZ.mjs +0 -221
- package/dist/lib/node-esm/chunk-HDZX6TSZ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
- package/dist/lib/node-esm/chunk-TMCGJPAN.mjs +0 -171
- package/dist/lib/node-esm/chunk-TMCGJPAN.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-TW2WKKSR.mjs +0 -302
- package/dist/lib/node-esm/chunk-TW2WKKSR.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-U2NYUS2N.mjs +0 -177
- package/dist/lib/node-esm/chunk-U2NYUS2N.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-XQGWSZ4T.mjs +0 -17
- package/dist/lib/node-esm/chunk-XQGWSZ4T.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-YZYGXFVG.mjs +0 -1803
- package/dist/lib/node-esm/chunk-YZYGXFVG.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-ZQ3THJ2W.mjs +0 -221
- package/dist/lib/node-esm/chunk-ZQ3THJ2W.mjs.map +0 -7
- package/dist/lib/node-esm/edge-model-resolver-2ARXDOYS.mjs +0 -19
- package/dist/lib/node-esm/edge-model-resolver-2ARXDOYS.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -371
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-B7YAS3NT.mjs +0 -131
- package/dist/lib/node-esm/intent-resolver-B7YAS3NT.mjs.map +0 -7
- package/dist/lib/node-esm/local-model-resolver-WOQ2D2R2.mjs +0 -18
- package/dist/lib/node-esm/local-model-resolver-WOQ2D2R2.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/react-surface-VRDDARFF.mjs +0 -108
- package/dist/lib/node-esm/react-surface-VRDDARFF.mjs.map +0 -7
- package/dist/lib/node-esm/settings-4EBIOJVK.mjs +0 -24
- package/dist/lib/node-esm/settings-4EBIOJVK.mjs.map +0 -7
- package/dist/lib/node-esm/state-BO6GUFLB.mjs +0 -22
- package/dist/lib/node-esm/state-BO6GUFLB.mjs.map +0 -7
- package/dist/lib/node-esm/toolkit-V57PRJNG.mjs +0 -200
- package/dist/lib/node-esm/toolkit-V57PRJNG.mjs.map +0 -7
- package/dist/lib/node-esm/types/index.mjs +0 -20
- package/dist/types/src/capabilities/capabilities.d.ts +0 -11
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/components/BlueprintContainer.d.ts +0 -8
- package/dist/types/src/components/BlueprintContainer.d.ts.map +0 -1
- package/dist/types/src/components/BlueprintSettings.d.ts +0 -6
- package/dist/types/src/components/BlueprintSettings.d.ts.map +0 -1
- package/dist/types/src/components/ChatCompanion.d.ts +0 -13
- package/dist/types/src/components/ChatCompanion.d.ts.map +0 -1
- package/dist/types/src/components/ChatContainer.d.ts +0 -11
- package/dist/types/src/components/ChatContainer.d.ts.map +0 -1
- package/dist/types/src/components/ChatDialog.d.ts.map +0 -1
- package/dist/types/src/components/ChatProgress/ChatProgress.d.ts +0 -7
- package/dist/types/src/components/ChatProgress/ChatProgress.d.ts.map +0 -1
- package/dist/types/src/components/ChatProgress/index.d.ts +0 -2
- package/dist/types/src/components/ChatProgress/index.d.ts.map +0 -1
- package/dist/types/src/components/ChatThread/reducers.d.ts +0 -40
- package/dist/types/src/components/ChatThread/reducers.d.ts.map +0 -1
- package/dist/types/src/components/SequenceContainer.d.ts +0 -8
- package/dist/types/src/components/SequenceContainer.d.ts.map +0 -1
- package/dist/types/src/components/SequenceEditor/SequenceEditor.d.ts +0 -13
- package/dist/types/src/components/SequenceEditor/SequenceEditor.d.ts.map +0 -1
- package/dist/types/src/components/SequenceEditor/SequenceEditor.stories.d.ts +0 -272
- package/dist/types/src/components/SequenceEditor/SequenceEditor.stories.d.ts.map +0 -1
- package/dist/types/src/components/SequenceEditor/index.d.ts +0 -2
- package/dist/types/src/components/SequenceEditor/index.d.ts.map +0 -1
- package/dist/types/src/components/TemplateEditor/handlebars-extension.d.ts.map +0 -1
- package/dist/types/src/components/Toolbar/Toolbar.d.ts +0 -5
- package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +0 -1
- package/dist/types/src/components/Toolbar/index.d.ts +0 -2
- package/dist/types/src/components/Toolbar/index.d.ts.map +0 -1
- package/dist/types/src/components/Toolbar/useChatToolbarActions.d.ts +0 -9
- package/dist/types/src/components/Toolbar/useChatToolbarActions.d.ts.map +0 -1
- package/dist/types/src/events.d.ts +0 -4
- package/dist/types/src/events.d.ts.map +0 -1
- package/dist/types/src/functions/analysis.d.ts +0 -5
- package/dist/types/src/functions/analysis.d.ts.map +0 -1
- package/dist/types/src/functions/index.d.ts +0 -4
- package/dist/types/src/functions/index.d.ts.map +0 -1
- package/dist/types/src/functions/list.d.ts +0 -10
- package/dist/types/src/functions/list.d.ts.map +0 -1
- package/dist/types/src/functions/load.d.ts +0 -8
- package/dist/types/src/functions/load.d.ts.map +0 -1
- package/dist/types/src/hooks/useItemTypes.d.ts +0 -4
- package/dist/types/src/hooks/useItemTypes.d.ts.map +0 -1
- package/dist/types/src/processor/processor.test.d.ts +0 -2
- package/dist/types/src/processor/processor.test.d.ts.map +0 -1
- package/dist/types/src/processor/update-name.d.ts +0 -10
- package/dist/types/src/processor/update-name.d.ts.map +0 -1
- package/dist/types/src/queue-logger.d.ts +0 -11
- package/dist/types/src/queue-logger.d.ts.map +0 -1
- package/dist/types/src/types/AssistantAction.d.ts +0 -122
- package/dist/types/src/types/AssistantAction.d.ts.map +0 -1
- package/dist/types/src/types/defs.d.ts +0 -2
- package/dist/types/src/types/defs.d.ts.map +0 -1
- package/src/AssistantPlugin.tsx +0 -170
- package/src/capabilities/capabilities.ts +0 -18
- package/src/capabilities/intent-resolver.ts +0 -117
- package/src/components/BlueprintContainer.tsx +0 -24
- package/src/components/BlueprintSettings.tsx +0 -15
- package/src/components/ChatCompanion.tsx +0 -136
- package/src/components/ChatContainer.tsx +0 -51
- package/src/components/ChatProgress/ChatProgress.tsx +0 -67
- package/src/components/ChatProgress/index.ts +0 -5
- package/src/components/ChatThread/reducers.ts +0 -151
- package/src/components/SequenceContainer.tsx +0 -131
- package/src/components/SequenceEditor/SequenceEditor.stories.tsx +0 -34
- package/src/components/SequenceEditor/SequenceEditor.tsx +0 -50
- package/src/components/SequenceEditor/index.ts +0 -5
- package/src/components/TemplateEditor/handlebars-extension.ts +0 -165
- package/src/components/Toolbar/Toolbar.tsx +0 -21
- package/src/components/Toolbar/useChatToolbarActions.ts +0 -126
- package/src/events.ts +0 -11
- package/src/functions/analysis.ts +0 -22
- package/src/functions/index.ts +0 -7
- package/src/functions/list.ts +0 -48
- package/src/functions/load.ts +0 -46
- package/src/hooks/useItemTypes.ts +0 -37
- package/src/processor/processor.test.ts +0 -81
- package/src/processor/update-name.ts +0 -57
- package/src/queue-logger.ts +0 -125
- package/src/types/AssistantAction.ts +0 -70
- package/src/types/defs.ts +0 -5
- /package/dist/lib/{browser/blueprint-definition-NSJARW5U.mjs.map → neutral/AssistantPlugin.mjs.map} +0 -0
- /package/dist/lib/{browser/chunk-J5LGTIGS.mjs.map → neutral/ChatArticle-WVAFZPVI.mjs.map} +0 -0
- /package/dist/lib/{browser/types → neutral/blueprints}/index.mjs.map +0 -0
- /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
- /package/dist/lib/{node-esm/blueprint-definition-WD2IVMAI.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/lib/{node-esm/types → neutral}/index.mjs.map +0 -0
- /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/meta.mjs.map} +0 -0
- /package/dist/types/src/components/TemplateEditor/{handlebars-extension.d.ts → extensions/handlebars-extension.d.ts} +0 -0
|
@@ -1,51 +1,37 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { Chat as ChatModule } from '@dxos/assistant-toolkit';
|
|
2
|
+
export declare const Chat: import("@dxos/echo/Type").Obj<{
|
|
3
|
+
readonly name?: string | undefined;
|
|
4
|
+
readonly feed: import("@dxos/echo/internal").Ref<{
|
|
5
|
+
readonly name?: string | undefined;
|
|
6
|
+
readonly kind?: string | undefined;
|
|
7
|
+
readonly namespace?: "data" | "trace" | undefined;
|
|
8
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
9
|
+
readonly view?: string | undefined;
|
|
10
|
+
}, import("effect/Schema").Struct.Fields>;
|
|
11
|
+
export type Chat = ChatModule.Chat;
|
|
12
|
+
import * as SettingsModule from './Settings';
|
|
13
|
+
export declare const Settings: import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
14
|
+
customPrompts: import("effect/Schema").optional<import("effect/Schema").SchemaClass<boolean, boolean, never>>;
|
|
15
|
+
chatView: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").Literal<["normal"]>, import("effect/Schema").Literal<["summary"]>, import("effect/Schema").Literal<["thinking"]>, import("effect/Schema").Literal<["debug"]>]>>;
|
|
16
|
+
modelProvider: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").Literal<["edge"]>, import("effect/Schema").Literal<["ollama"]>, import("effect/Schema").Literal<["lmstudio"]>]>>;
|
|
17
|
+
modelDefaults: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
18
|
+
edge: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
19
|
+
ollama: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
20
|
+
lmstudio: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
21
|
+
}>>>;
|
|
22
|
+
tracePanelDebug: import("effect/Schema").optional<import("effect/Schema").SchemaClass<boolean, boolean, never>>;
|
|
12
23
|
}>>;
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
export declare const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Relation between a Chat and companion objects (e.g., artifacts).
|
|
26
|
-
*/
|
|
27
|
-
export declare const CompanionTo: Type.relation<Schema.Struct<{
|
|
28
|
-
id: import("@dxos/keys").ObjectIdClass;
|
|
29
|
-
}>, Type.obj<Schema.Struct<{
|
|
30
|
-
id: import("@dxos/keys").ObjectIdClass;
|
|
31
|
-
name: Schema.optional<typeof Schema.String>;
|
|
32
|
-
queue: Type.ref<Schema.Schema<Queue<Obj.Any | import("@dxos/echo/Relation").Any>, Queue<Obj.Any | import("@dxos/echo/Relation").Any>, never>>;
|
|
33
|
-
traceQueue: Schema.optional<Type.ref<Schema.Schema<Queue<Obj.Any | import("@dxos/echo/Relation").Any>, Queue<Obj.Any | import("@dxos/echo/Relation").Any>, never>>>;
|
|
34
|
-
}>>, Schema.Schema<Type.Expando, {
|
|
35
|
-
[x: string]: any;
|
|
36
|
-
id: string;
|
|
37
|
-
}, never>>;
|
|
38
|
-
export interface CompanionTo extends Schema.Schema.Type<typeof CompanionTo> {
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Plugin settings.
|
|
42
|
-
*/
|
|
43
|
-
export declare const Settings: Schema.mutable<Schema.Struct<{
|
|
44
|
-
llmProvider: Schema.optional<Schema.Literal<["edge", "ollama", "lmstudio"]>>;
|
|
45
|
-
edgeModel: Schema.optional<typeof Schema.String>;
|
|
46
|
-
ollamaModel: Schema.optional<typeof Schema.String>;
|
|
47
|
-
lmstudioModel: Schema.optional<typeof Schema.String>;
|
|
48
|
-
customPrompts: Schema.optional<typeof Schema.Boolean>;
|
|
24
|
+
export type Settings = SettingsModule.Settings;
|
|
25
|
+
export declare const ChatViews: readonly ("debug" | "normal" | "summary" | "thinking")[];
|
|
26
|
+
export declare const ChatView: import("effect/Schema").Union<[import("effect/Schema").Literal<["normal"]>, import("effect/Schema").Literal<["summary"]>, import("effect/Schema").Literal<["thinking"]>, import("effect/Schema").Literal<["debug"]>]>;
|
|
27
|
+
export type ChatView = SettingsModule.ChatView;
|
|
28
|
+
export declare const ModelProviders: readonly ("edge" | "lmstudio" | "ollama")[];
|
|
29
|
+
export declare const ModelProvider: import("effect/Schema").Union<[import("effect/Schema").Literal<["edge"]>, import("effect/Schema").Literal<["ollama"]>, import("effect/Schema").Literal<["lmstudio"]>]>;
|
|
30
|
+
export type ModelProvider = SettingsModule.ModelProvider;
|
|
31
|
+
export declare const ModelDefaults: import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
32
|
+
edge: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
33
|
+
ollama: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
34
|
+
lmstudio: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
49
35
|
}>>;
|
|
50
|
-
export type
|
|
36
|
+
export type ModelDefaults = SettingsModule.ModelDefaults;
|
|
51
37
|
//# sourceMappingURL=Assistant.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Assistant.d.ts","sourceRoot":"","sources":["../../../../src/types/Assistant.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Assistant.d.ts","sourceRoot":"","sources":["../../../../src/types/Assistant.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC7D,eAAO,MAAM,IAAI;;;;;;;;yCAAkB,CAAC;AACpC,MAAM,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;AAGnC,OAAO,KAAK,cAAc,MAAM,YAAY,CAAC;AAC7C,eAAO,MAAM,QAAQ;;;;;;;;;;GAA0B,CAAC;AAChD,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;AAE/C,eAAO,MAAM,SAAS,0DAA2B,CAAC;AAClD,eAAO,MAAM,QAAQ,uNAA0B,CAAC;AAChD,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;AAE/C,eAAO,MAAM,cAAc,6CAAgC,CAAC;AAC5D,eAAO,MAAM,aAAa,wKAA+B,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,aAAa,CAAC;AAEzD,eAAO,MAAM,aAAa;;;;GAA+B,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,aAAa,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type Atom } from '@effect-atom/atom-react';
|
|
2
|
+
import * as Schema from 'effect/Schema';
|
|
3
|
+
import { Capability } from '@dxos/app-framework';
|
|
4
|
+
import { type Obj } from '@dxos/echo';
|
|
5
|
+
export declare const Settings: Capability.InterfaceDef<Atom.Writable<import("./Settings").Settings, import("./Settings").Settings>>;
|
|
6
|
+
export declare const StateSchema: Schema.mutable<Schema.Struct<{
|
|
7
|
+
/** Map of primary object dxn to current chat dxn. */
|
|
8
|
+
currentChat: Schema.Record$<typeof Schema.String, Schema.UndefinedOr<typeof Schema.String>>;
|
|
9
|
+
/** Map of chat object path to prompt text to auto-submit when the chat opens. */
|
|
10
|
+
pendingPrompts: Schema.Record$<typeof Schema.String, Schema.UndefinedOr<typeof Schema.String>>;
|
|
11
|
+
}>>;
|
|
12
|
+
export type AssistantState = Schema.Schema.Type<typeof StateSchema>;
|
|
13
|
+
export declare const State: Capability.InterfaceDef<Atom.Writable<{
|
|
14
|
+
currentChat: {
|
|
15
|
+
readonly [x: string]: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
pendingPrompts: {
|
|
18
|
+
readonly [x: string]: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
currentChat: {
|
|
22
|
+
readonly [x: string]: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
pendingPrompts: {
|
|
25
|
+
readonly [x: string]: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
}>>;
|
|
28
|
+
/** Session-scoped cache of transient (not yet persisted) companion chats keyed by companion DXN string. */
|
|
29
|
+
export declare const CompanionChatCache: Capability.InterfaceDef<Atom.Writable<Record<string, Obj.Unknown | undefined>, Record<string, Obj.Unknown | undefined>>>;
|
|
30
|
+
//# sourceMappingURL=AssistantCapabilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssistantCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/AssistantCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAMtC,eAAO,MAAM,QAAQ,sGAAuF,CAAC;AAE7G,eAAO,MAAM,WAAW;IAEpB,qDAAqD;;IAErD,iFAAiF;;GAGpF,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEpE,eAAO,MAAM,KAAK;;;;;;;;;;;;;;GAAgF,CAAC;AAEnG,2GAA2G;AAC3G,eAAO,MAAM,kBAAkB,0HAE9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssistantEvents.d.ts","sourceRoot":"","sources":["../../../../src/types/AssistantEvents.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,eAAO,MAAM,uBAAuB,iCAAsE,CAAC"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { AiService } from '@dxos/ai';
|
|
3
|
+
import { Capability } from '@dxos/app-framework';
|
|
4
|
+
import { Operation } from '@dxos/compute';
|
|
5
|
+
import { Database, Feed, Obj } from '@dxos/echo';
|
|
6
|
+
import { DXN } from '@dxos/keys';
|
|
7
|
+
export declare const OnCreateSpace: Operation.Definition<{
|
|
8
|
+
readonly space: import("@dxos/client-protocol").Space;
|
|
9
|
+
readonly rootCollection: {
|
|
10
|
+
readonly name?: string | undefined;
|
|
11
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<Obj.Unknown>[];
|
|
12
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
13
|
+
}, void, Capability.Service>;
|
|
14
|
+
export declare const CreateChat: Operation.Definition<{
|
|
15
|
+
readonly db: Database.Database;
|
|
16
|
+
readonly name?: string | undefined;
|
|
17
|
+
readonly addToSpace?: boolean | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
readonly object: {
|
|
20
|
+
readonly name?: string | undefined;
|
|
21
|
+
readonly feed: import("@dxos/echo/internal").Ref<{
|
|
22
|
+
readonly name?: string | undefined;
|
|
23
|
+
readonly kind?: string | undefined;
|
|
24
|
+
readonly namespace?: "data" | "trace" | undefined;
|
|
25
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
26
|
+
readonly view?: string | undefined;
|
|
27
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
28
|
+
}, Capability.Service>;
|
|
29
|
+
export declare const UpdateChatName: Operation.Definition<{
|
|
30
|
+
readonly chat: {
|
|
31
|
+
readonly name?: string | undefined;
|
|
32
|
+
readonly feed: import("@dxos/echo/internal").Ref<{
|
|
33
|
+
readonly name?: string | undefined;
|
|
34
|
+
readonly kind?: string | undefined;
|
|
35
|
+
readonly namespace?: "data" | "trace" | undefined;
|
|
36
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
37
|
+
readonly view?: string | undefined;
|
|
38
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
39
|
+
}, void, AiService.AiService | Feed.FeedService | Database.Service>;
|
|
40
|
+
export declare const SetCurrentChat: Operation.Definition<{
|
|
41
|
+
readonly companionTo: Obj.Unknown;
|
|
42
|
+
readonly chat?: ({
|
|
43
|
+
readonly name?: string | undefined;
|
|
44
|
+
readonly feed: import("@dxos/echo/internal").Ref<{
|
|
45
|
+
readonly name?: string | undefined;
|
|
46
|
+
readonly kind?: string | undefined;
|
|
47
|
+
readonly namespace?: "data" | "trace" | undefined;
|
|
48
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
49
|
+
readonly view?: string | undefined;
|
|
50
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>) | undefined;
|
|
51
|
+
}, void, Capability.Service>;
|
|
52
|
+
export declare const RunPromptInNewChat: Operation.Definition<{
|
|
53
|
+
readonly db: Database.Database;
|
|
54
|
+
readonly objects?: readonly Obj.Unknown[] | undefined;
|
|
55
|
+
readonly blueprints?: readonly string[] | undefined;
|
|
56
|
+
readonly prompt: string | import("@dxos/echo/internal").Ref<{
|
|
57
|
+
readonly name?: string | undefined;
|
|
58
|
+
readonly description?: string | undefined;
|
|
59
|
+
readonly input: import("@dxos/echo/internal").JsonSchemaType;
|
|
60
|
+
readonly output: import("@dxos/echo/internal").JsonSchemaType;
|
|
61
|
+
readonly instructions: {
|
|
62
|
+
readonly source: import("@dxos/echo/internal").Ref<{
|
|
63
|
+
readonly name?: string | undefined;
|
|
64
|
+
readonly content: string;
|
|
65
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
66
|
+
readonly inputs?: readonly {
|
|
67
|
+
readonly name: string;
|
|
68
|
+
readonly kind: "operation" | "value";
|
|
69
|
+
readonly default?: any;
|
|
70
|
+
readonly operation?: string | undefined;
|
|
71
|
+
}[] | undefined;
|
|
72
|
+
};
|
|
73
|
+
readonly blueprints: readonly import("@dxos/echo/internal").Ref<{
|
|
74
|
+
readonly name: string;
|
|
75
|
+
readonly description?: string | undefined;
|
|
76
|
+
readonly instructions: {
|
|
77
|
+
readonly source: import("@dxos/echo/internal").Ref<{
|
|
78
|
+
readonly name?: string | undefined;
|
|
79
|
+
readonly content: string;
|
|
80
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
81
|
+
readonly inputs?: readonly {
|
|
82
|
+
readonly name: string;
|
|
83
|
+
readonly kind: "operation" | "value";
|
|
84
|
+
readonly default?: any;
|
|
85
|
+
readonly operation?: string | undefined;
|
|
86
|
+
}[] | undefined;
|
|
87
|
+
};
|
|
88
|
+
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
89
|
+
readonly agentCanEnable?: boolean | undefined;
|
|
90
|
+
readonly mcpServers?: readonly {
|
|
91
|
+
readonly name?: string | undefined;
|
|
92
|
+
readonly url: string;
|
|
93
|
+
readonly protocol: "http" | "sse";
|
|
94
|
+
readonly apiKey?: string | undefined;
|
|
95
|
+
}[] | undefined;
|
|
96
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
|
|
97
|
+
readonly context: readonly any[];
|
|
98
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
99
|
+
readonly background?: boolean | undefined;
|
|
100
|
+
}, {
|
|
101
|
+
readonly object: {
|
|
102
|
+
readonly name?: string | undefined;
|
|
103
|
+
readonly feed: import("@dxos/echo/internal").Ref<{
|
|
104
|
+
readonly name?: string | undefined;
|
|
105
|
+
readonly kind?: string | undefined;
|
|
106
|
+
readonly namespace?: "data" | "trace" | undefined;
|
|
107
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
108
|
+
readonly view?: string | undefined;
|
|
109
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
110
|
+
}, Capability.Service>;
|
|
111
|
+
export declare const ResolveNavigationTargets: Operation.Definition<{
|
|
112
|
+
readonly query?: {
|
|
113
|
+
readonly dxn?: DXN.DXN | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
readonly targets: readonly {
|
|
117
|
+
readonly path: string;
|
|
118
|
+
readonly label: string;
|
|
119
|
+
readonly type: string;
|
|
120
|
+
}[];
|
|
121
|
+
}, Capability.Service>;
|
|
122
|
+
export declare const EnsureCompanionChat: Operation.Definition<{
|
|
123
|
+
readonly db: Database.Database;
|
|
124
|
+
readonly companionTo: Obj.Unknown;
|
|
125
|
+
}, {
|
|
126
|
+
readonly chat: {
|
|
127
|
+
readonly name?: string | undefined;
|
|
128
|
+
readonly feed: import("@dxos/echo/internal").Ref<{
|
|
129
|
+
readonly name?: string | undefined;
|
|
130
|
+
readonly kind?: string | undefined;
|
|
131
|
+
readonly namespace?: "data" | "trace" | undefined;
|
|
132
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>;
|
|
133
|
+
readonly view?: string | undefined;
|
|
134
|
+
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>;
|
|
135
|
+
readonly persisted: boolean;
|
|
136
|
+
}, Capability.Service>;
|
|
137
|
+
export declare const BlueprintForm: Schema.Struct<{
|
|
138
|
+
key: typeof Schema.String;
|
|
139
|
+
name: typeof Schema.String;
|
|
140
|
+
description: Schema.optional<typeof Schema.String>;
|
|
141
|
+
}>;
|
|
142
|
+
export declare const ToggleTracePanelDebug: Operation.Definition<{
|
|
143
|
+
readonly state?: boolean | undefined;
|
|
144
|
+
}, boolean, Capability.Service>;
|
|
145
|
+
//# sourceMappingURL=AssistantOperation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssistantOperation.d.ts","sourceRoot":"","sources":["../../../../src/types/AssistantOperation.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAW,SAAS,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAc,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAa,MAAM,YAAY,CAAC;AACxE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAMjC,eAAO,MAAM,aAAa;;;;;;4BAQxB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;sBAYrB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;mEAOzB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;4BAQzB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAuB7B,CAAC;AAQH,eAAO,MAAM,wBAAwB;;;;;;;;;;sBAmBnC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;sBAgB9B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;EAIxB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;+BAYhC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
export declare const ModelProvider: Schema.Union<[Schema.Literal<["edge"]>, Schema.Literal<["ollama"]>, Schema.Literal<["lmstudio"]>]>;
|
|
3
|
+
export type ModelProvider = Schema.Schema.Type<typeof ModelProvider>;
|
|
4
|
+
export declare const ModelProviders: readonly ("edge" | "lmstudio" | "ollama")[];
|
|
5
|
+
export declare const ChatView: Schema.Union<[Schema.Literal<["normal"]>, Schema.Literal<["summary"]>, Schema.Literal<["thinking"]>, Schema.Literal<["debug"]>]>;
|
|
6
|
+
export type ChatView = Schema.Schema.Type<typeof ChatView>;
|
|
7
|
+
export declare const ChatViews: readonly ("debug" | "normal" | "summary" | "thinking")[];
|
|
8
|
+
export declare const ModelDefaults: Schema.mutable<Schema.Struct<{
|
|
9
|
+
edge: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
10
|
+
ollama: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
11
|
+
lmstudio: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
12
|
+
}>>;
|
|
13
|
+
export type ModelDefaults = Schema.Schema.Type<typeof ModelDefaults>;
|
|
14
|
+
export declare const Settings: Schema.mutable<Schema.Struct<{
|
|
15
|
+
customPrompts: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
16
|
+
chatView: Schema.optional<Schema.Union<[Schema.Literal<["normal"]>, Schema.Literal<["summary"]>, Schema.Literal<["thinking"]>, Schema.Literal<["debug"]>]>>;
|
|
17
|
+
modelProvider: Schema.optional<Schema.Union<[Schema.Literal<["edge"]>, Schema.Literal<["ollama"]>, Schema.Literal<["lmstudio"]>]>>;
|
|
18
|
+
modelDefaults: Schema.optional<Schema.mutable<Schema.Struct<{
|
|
19
|
+
edge: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
20
|
+
ollama: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
21
|
+
lmstudio: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
22
|
+
}>>>;
|
|
23
|
+
tracePanelDebug: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
24
|
+
}>>;
|
|
25
|
+
export interface Settings extends Schema.Schema.Type<typeof Settings> {
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=Settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../../src/types/Settings.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,eAAO,MAAM,aAAa,oGAIzB,CAAC;AACF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAC;AACrE,eAAO,MAAM,cAAc,6CAAkC,CAAC;AAE9D,eAAO,MAAM,QAAQ,kIAKpB,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC3D,eAAO,MAAM,SAAS,0DAA6B,CAAC;AAEpD,eAAO,MAAM,aAAa;;;;GAqBzB,CAAC;AACF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAC;AAErE,eAAO,MAAM,QAAQ;;;;;;;;;;GA6BpB,CAAC;AACF,MAAM,WAAW,QAAS,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC;CAAG"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export type { Chat as ChatType } from '@dxos/assistant-toolkit';
|
|
1
2
|
export * as Assistant from './Assistant';
|
|
2
|
-
export * as
|
|
3
|
-
export * from './
|
|
3
|
+
export * as AssistantOperation from './AssistantOperation';
|
|
4
|
+
export * as AssistantCapabilities from './AssistantCapabilities';
|
|
5
|
+
export * as AssistantEvents from './AssistantEvents';
|
|
4
6
|
export * from './service';
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAMA,YAAY,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,qBAAqB,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AAGrD,cAAc,WAAW,CAAC"}
|
|
@@ -17,220 +17,17 @@ export declare const ApiAuthorization: Schema.Union<[Schema.Struct<{
|
|
|
17
17
|
grantType: typeof Schema.String;
|
|
18
18
|
}>]>;
|
|
19
19
|
export type ApiAuthorization = Schema.Schema.Type<typeof ApiAuthorization>;
|
|
20
|
-
declare const ServiceInterface:
|
|
21
|
-
kind: Schema.Literal<["function"]>;
|
|
22
|
-
fn: Type.ref<Type.obj<Schema.Struct<{
|
|
23
|
-
key: Schema.optional<typeof Schema.String>;
|
|
24
|
-
name: typeof Schema.NonEmptyString;
|
|
25
|
-
version: typeof Schema.String;
|
|
26
|
-
description: Schema.optional<typeof Schema.String>;
|
|
27
|
-
source: Schema.optional<import("@dxos/echo/internal").Ref$<Type.OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
28
|
-
name?: string | undefined;
|
|
29
|
-
description?: string | undefined;
|
|
30
|
-
changed?: boolean | undefined;
|
|
31
|
-
source: import("@dxos/echo/internal").Ref<Type.OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
32
|
-
content: string;
|
|
33
|
-
}>;
|
|
34
|
-
}>>;
|
|
35
|
-
inputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
|
|
36
|
-
outputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
|
|
37
|
-
binding: Schema.optional<typeof Schema.String>;
|
|
38
|
-
}>>>;
|
|
39
|
-
}>, Schema.Struct<{
|
|
40
|
-
kind: Schema.Literal<["workflow"]>;
|
|
41
|
-
workflow: Type.ref<Type.obj<Schema.Struct<{
|
|
42
|
-
graph: Schema.Schema<import("@dxos/graph").Graph>;
|
|
43
|
-
input: Schema.optional<Schema.Struct<{
|
|
44
|
-
id: typeof Schema.String;
|
|
45
|
-
type: Schema.optional<typeof Schema.String>;
|
|
46
|
-
data: Schema.optional<typeof Schema.Any>;
|
|
47
|
-
}>>;
|
|
48
|
-
output: Schema.optional<Schema.Struct<{
|
|
49
|
-
id: typeof Schema.String;
|
|
50
|
-
type: Schema.optional<typeof Schema.String>;
|
|
51
|
-
data: Schema.optional<typeof Schema.Any>;
|
|
52
|
-
}>>;
|
|
53
|
-
}>>>;
|
|
54
|
-
}>, Schema.Struct<{
|
|
55
|
-
kind: Schema.Literal<["api"]>;
|
|
56
|
-
/**
|
|
57
|
-
* URL to fetch the openapi schema.
|
|
58
|
-
*/
|
|
59
|
-
schemaUrl: Schema.optional<typeof Schema.String>;
|
|
60
|
-
/**
|
|
61
|
-
* Inlined openapi schema.
|
|
62
|
-
*/
|
|
63
|
-
schema: Schema.optional<typeof Schema.Any>;
|
|
64
|
-
/**
|
|
65
|
-
* Authorization configuration if required.
|
|
66
|
-
*/
|
|
67
|
-
authorization: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
68
|
-
type: Schema.Literal<["api-key"]>;
|
|
69
|
-
key: typeof Schema.String;
|
|
70
|
-
placement: Schema.Union<[Schema.Struct<{
|
|
71
|
-
type: Schema.Literal<["authorization-header"]>;
|
|
72
|
-
}>, Schema.Struct<{
|
|
73
|
-
type: Schema.Literal<["query"]>;
|
|
74
|
-
name: typeof Schema.String;
|
|
75
|
-
}>]>;
|
|
76
|
-
}>, Schema.Struct<{
|
|
77
|
-
type: Schema.Literal<["oauth"]>;
|
|
78
|
-
clientId: typeof Schema.String;
|
|
79
|
-
clientSecret: typeof Schema.String;
|
|
80
|
-
tokenUrl: typeof Schema.String;
|
|
81
|
-
grantType: typeof Schema.String;
|
|
82
|
-
}>]>>;
|
|
83
|
-
}>]>;
|
|
20
|
+
declare const ServiceInterface: any;
|
|
84
21
|
export type ServiceInterface = Schema.Schema.Type<typeof ServiceInterface>;
|
|
85
|
-
declare const
|
|
86
|
-
serviceId:
|
|
87
|
-
name
|
|
88
|
-
description
|
|
89
|
-
category
|
|
90
|
-
enabled
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
interfaces: Schema.optional<Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
95
|
-
kind: Schema.Literal<["function"]>;
|
|
96
|
-
fn: Type.ref<Type.obj<Schema.Struct<{
|
|
97
|
-
key: Schema.optional<typeof Schema.String>;
|
|
98
|
-
name: typeof Schema.NonEmptyString;
|
|
99
|
-
version: typeof Schema.String;
|
|
100
|
-
description: Schema.optional<typeof Schema.String>;
|
|
101
|
-
source: Schema.optional<import("@dxos/echo/internal").Ref$<Type.OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
102
|
-
name?: string | undefined;
|
|
103
|
-
description?: string | undefined;
|
|
104
|
-
changed?: boolean | undefined;
|
|
105
|
-
source: import("@dxos/echo/internal").Ref<Type.OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
106
|
-
content: string;
|
|
107
|
-
}>;
|
|
108
|
-
}>>;
|
|
109
|
-
inputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
|
|
110
|
-
outputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
|
|
111
|
-
binding: Schema.optional<typeof Schema.String>;
|
|
112
|
-
}>>>;
|
|
113
|
-
}>, Schema.Struct<{
|
|
114
|
-
kind: Schema.Literal<["workflow"]>;
|
|
115
|
-
workflow: Type.ref<Type.obj<Schema.Struct<{
|
|
116
|
-
graph: Schema.Schema<import("@dxos/graph").Graph>;
|
|
117
|
-
input: Schema.optional<Schema.Struct<{
|
|
118
|
-
id: typeof Schema.String;
|
|
119
|
-
type: Schema.optional<typeof Schema.String>;
|
|
120
|
-
data: Schema.optional<typeof Schema.Any>;
|
|
121
|
-
}>>;
|
|
122
|
-
output: Schema.optional<Schema.Struct<{
|
|
123
|
-
id: typeof Schema.String;
|
|
124
|
-
type: Schema.optional<typeof Schema.String>;
|
|
125
|
-
data: Schema.optional<typeof Schema.Any>;
|
|
126
|
-
}>>;
|
|
127
|
-
}>>>;
|
|
128
|
-
}>, Schema.Struct<{
|
|
129
|
-
kind: Schema.Literal<["api"]>;
|
|
130
|
-
/**
|
|
131
|
-
* URL to fetch the openapi schema.
|
|
132
|
-
*/
|
|
133
|
-
schemaUrl: Schema.optional<typeof Schema.String>;
|
|
134
|
-
/**
|
|
135
|
-
* Inlined openapi schema.
|
|
136
|
-
*/
|
|
137
|
-
schema: Schema.optional<typeof Schema.Any>;
|
|
138
|
-
/**
|
|
139
|
-
* Authorization configuration if required.
|
|
140
|
-
*/
|
|
141
|
-
authorization: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
142
|
-
type: Schema.Literal<["api-key"]>;
|
|
143
|
-
key: typeof Schema.String;
|
|
144
|
-
placement: Schema.Union<[Schema.Struct<{
|
|
145
|
-
type: Schema.Literal<["authorization-header"]>;
|
|
146
|
-
}>, Schema.Struct<{
|
|
147
|
-
type: Schema.Literal<["query"]>;
|
|
148
|
-
name: typeof Schema.String;
|
|
149
|
-
}>]>;
|
|
150
|
-
}>, Schema.Struct<{
|
|
151
|
-
type: Schema.Literal<["oauth"]>;
|
|
152
|
-
clientId: typeof Schema.String;
|
|
153
|
-
clientSecret: typeof Schema.String;
|
|
154
|
-
tokenUrl: typeof Schema.String;
|
|
155
|
-
grantType: typeof Schema.String;
|
|
156
|
-
}>]>>;
|
|
157
|
-
}>]>>>;
|
|
158
|
-
}, import("@dxos/echo/internal").TypedObjectOptions>, Schema.Struct.Encoded<{
|
|
159
|
-
serviceId: typeof Schema.String;
|
|
160
|
-
name: Schema.optional<typeof Schema.String>;
|
|
161
|
-
description: Schema.optional<typeof Schema.String>;
|
|
162
|
-
category: Schema.optional<typeof Schema.String>;
|
|
163
|
-
enabled: Schema.optional<typeof Schema.Boolean>;
|
|
164
|
-
/**
|
|
165
|
-
* Entries exposed: functions, workflows, and APIs.
|
|
166
|
-
*/
|
|
167
|
-
interfaces: Schema.optional<Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
168
|
-
kind: Schema.Literal<["function"]>;
|
|
169
|
-
fn: Type.ref<Type.obj<Schema.Struct<{
|
|
170
|
-
key: Schema.optional<typeof Schema.String>;
|
|
171
|
-
name: typeof Schema.NonEmptyString;
|
|
172
|
-
version: typeof Schema.String;
|
|
173
|
-
description: Schema.optional<typeof Schema.String>;
|
|
174
|
-
source: Schema.optional<import("@dxos/echo/internal").Ref$<Type.OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
175
|
-
name?: string | undefined;
|
|
176
|
-
description?: string | undefined;
|
|
177
|
-
changed?: boolean | undefined;
|
|
178
|
-
source: import("@dxos/echo/internal").Ref<Type.OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
179
|
-
content: string;
|
|
180
|
-
}>;
|
|
181
|
-
}>>;
|
|
182
|
-
inputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
|
|
183
|
-
outputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
|
|
184
|
-
binding: Schema.optional<typeof Schema.String>;
|
|
185
|
-
}>>>;
|
|
186
|
-
}>, Schema.Struct<{
|
|
187
|
-
kind: Schema.Literal<["workflow"]>;
|
|
188
|
-
workflow: Type.ref<Type.obj<Schema.Struct<{
|
|
189
|
-
graph: Schema.Schema<import("@dxos/graph").Graph>;
|
|
190
|
-
input: Schema.optional<Schema.Struct<{
|
|
191
|
-
id: typeof Schema.String;
|
|
192
|
-
type: Schema.optional<typeof Schema.String>;
|
|
193
|
-
data: Schema.optional<typeof Schema.Any>;
|
|
194
|
-
}>>;
|
|
195
|
-
output: Schema.optional<Schema.Struct<{
|
|
196
|
-
id: typeof Schema.String;
|
|
197
|
-
type: Schema.optional<typeof Schema.String>;
|
|
198
|
-
data: Schema.optional<typeof Schema.Any>;
|
|
199
|
-
}>>;
|
|
200
|
-
}>>>;
|
|
201
|
-
}>, Schema.Struct<{
|
|
202
|
-
kind: Schema.Literal<["api"]>;
|
|
203
|
-
/**
|
|
204
|
-
* URL to fetch the openapi schema.
|
|
205
|
-
*/
|
|
206
|
-
schemaUrl: Schema.optional<typeof Schema.String>;
|
|
207
|
-
/**
|
|
208
|
-
* Inlined openapi schema.
|
|
209
|
-
*/
|
|
210
|
-
schema: Schema.optional<typeof Schema.Any>;
|
|
211
|
-
/**
|
|
212
|
-
* Authorization configuration if required.
|
|
213
|
-
*/
|
|
214
|
-
authorization: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
215
|
-
type: Schema.Literal<["api-key"]>;
|
|
216
|
-
key: typeof Schema.String;
|
|
217
|
-
placement: Schema.Union<[Schema.Struct<{
|
|
218
|
-
type: Schema.Literal<["authorization-header"]>;
|
|
219
|
-
}>, Schema.Struct<{
|
|
220
|
-
type: Schema.Literal<["query"]>;
|
|
221
|
-
name: typeof Schema.String;
|
|
222
|
-
}>]>;
|
|
223
|
-
}>, Schema.Struct<{
|
|
224
|
-
type: Schema.Literal<["oauth"]>;
|
|
225
|
-
clientId: typeof Schema.String;
|
|
226
|
-
clientSecret: typeof Schema.String;
|
|
227
|
-
tokenUrl: typeof Schema.String;
|
|
228
|
-
grantType: typeof Schema.String;
|
|
229
|
-
}>]>>;
|
|
230
|
-
}>]>>>;
|
|
231
|
-
}>>;
|
|
232
|
-
export declare class ServiceType extends ServiceType_base {
|
|
233
|
-
}
|
|
22
|
+
export declare const ServiceType: Type.Obj<{
|
|
23
|
+
readonly serviceId: string;
|
|
24
|
+
readonly name?: string | undefined;
|
|
25
|
+
readonly description?: string | undefined;
|
|
26
|
+
readonly category?: string | undefined;
|
|
27
|
+
readonly enabled?: boolean | undefined;
|
|
28
|
+
readonly interfaces?: readonly unknown[] | undefined;
|
|
29
|
+
}, Schema.Struct.Fields>;
|
|
30
|
+
export type ServiceType = Type.InstanceType<typeof ServiceType>;
|
|
234
31
|
export interface BaseServiceRegistry {
|
|
235
32
|
queryServices(query?: ServiceQuery): Promise<ServiceType[]>;
|
|
236
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/types/service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/types/service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAY,IAAI,EAAE,MAAM,YAAY,CAAC;AA0B5C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;IAA2D,CAAC;AACzF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AA+B3E,QAAA,MAAM,gBAAgB,EAKjB,GAAG,CAAC;AAET,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3E,eAAO,MAAM,WAAW;;;;;;;wBAW4C,CAAC;AAErE,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAMhE,MAAM,WAAW,mBAAmB;IAClC,aAAa,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;CAC7D;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAUvC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extract starter-prompt suggestions from a blueprint's instructions markdown.
|
|
3
|
+
*
|
|
4
|
+
* Looks for the first `## Suggested starting prompts` heading (case-insensitive) and returns the
|
|
5
|
+
* bullet-list items immediately following it. Items wrapped in single or double quotes have their
|
|
6
|
+
* quotes stripped. Returns an empty array when the section is missing or empty.
|
|
7
|
+
*/
|
|
8
|
+
export declare const parseSuggestions: (markdown: string | undefined) => string[];
|
|
9
|
+
//# sourceMappingURL=suggestions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestions.d.ts","sourceRoot":"","sources":["../../../../src/util/suggestions.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,aAAc,MAAM,GAAG,SAAS,KAAG,MAAM,EA8BrE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestions.test.d.ts","sourceRoot":"","sources":["../../../../src/util/suggestions.test.ts"],"names":[],"mappings":""}
|