@dxos/plugin-assistant 0.8.4-main.1068cf700f → 0.8.4-main.1c7ec43d41
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/dist/lib/browser/AssistantSettings-GG52BLKS.mjs +40 -0
- package/dist/lib/browser/AssistantSettings-GG52BLKS.mjs.map +7 -0
- package/dist/lib/browser/blueprints/index.mjs +27 -8
- package/dist/lib/browser/blueprints/index.mjs.map +4 -4
- package/dist/lib/browser/chunk-DVOOFAWU.mjs +175 -0
- package/dist/lib/browser/chunk-DVOOFAWU.mjs.map +7 -0
- package/dist/lib/browser/chunk-QZERAFAR.mjs +195 -0
- package/dist/lib/browser/chunk-QZERAFAR.mjs.map +7 -0
- package/dist/lib/browser/chunk-RSLHZTJH.mjs +2253 -0
- package/dist/lib/browser/chunk-RSLHZTJH.mjs.map +7 -0
- package/dist/lib/browser/chunk-RYVWX6AD.mjs +932 -0
- package/dist/lib/browser/chunk-RYVWX6AD.mjs.map +7 -0
- package/dist/lib/browser/cli/index.mjs +73 -0
- package/dist/lib/browser/cli/index.mjs.map +7 -0
- package/dist/lib/browser/components/index.mjs +20 -0
- package/dist/lib/browser/create-chat-E2ZLVTLP.mjs +73 -0
- package/dist/lib/browser/create-chat-E2ZLVTLP.mjs.map +7 -0
- package/dist/lib/browser/ensure-companion-chat-5TPMUPUL.mjs +65 -0
- package/dist/lib/browser/ensure-companion-chat-5TPMUPUL.mjs.map +7 -0
- package/dist/lib/browser/hooks/index.mjs +39 -0
- package/dist/lib/browser/index.mjs +37 -355
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/on-create-space-4J3KTNAJ.mjs +22 -0
- package/dist/lib/browser/on-create-space-4J3KTNAJ.mjs.map +7 -0
- package/dist/lib/browser/operations/index.mjs +13 -0
- package/dist/lib/browser/operations/index.mjs.map +7 -0
- package/dist/lib/browser/resolve-navigation-targets-3ZPQE6SZ.mjs +22 -0
- package/dist/lib/browser/resolve-navigation-targets-3ZPQE6SZ.mjs.map +7 -0
- package/dist/lib/browser/run-prompt-in-new-chat-5Y5CWP6Y.mjs +106 -0
- package/dist/lib/browser/run-prompt-in-new-chat-5Y5CWP6Y.mjs.map +7 -0
- package/dist/lib/browser/set-current-chat-JCY2THT3.mjs +54 -0
- package/dist/lib/browser/set-current-chat-JCY2THT3.mjs.map +7 -0
- package/dist/lib/browser/translations.mjs +173 -0
- package/dist/lib/browser/translations.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +1 -6
- package/dist/lib/browser/update-chat-name-VWKNUON7.mjs +56 -0
- package/dist/lib/browser/update-chat-name-VWKNUON7.mjs.map +7 -0
- package/dist/lib/node-esm/AssistantSettings-23A5IMHS.mjs +41 -0
- package/dist/lib/node-esm/AssistantSettings-23A5IMHS.mjs.map +7 -0
- package/dist/lib/node-esm/blueprints/index.mjs +27 -8
- package/dist/lib/node-esm/blueprints/index.mjs.map +4 -4
- package/dist/lib/node-esm/chunk-BHBN2PFD.mjs +2255 -0
- package/dist/lib/node-esm/chunk-BHBN2PFD.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-MBDVPB4V.mjs +176 -0
- package/dist/lib/node-esm/chunk-MBDVPB4V.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-WTT4XU46.mjs +196 -0
- package/dist/lib/node-esm/chunk-WTT4XU46.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-Y2HSA4US.mjs +933 -0
- package/dist/lib/node-esm/chunk-Y2HSA4US.mjs.map +7 -0
- package/dist/lib/node-esm/cli/index.mjs +74 -0
- package/dist/lib/node-esm/cli/index.mjs.map +7 -0
- package/dist/lib/node-esm/components/index.mjs +21 -0
- package/dist/lib/node-esm/components/index.mjs.map +7 -0
- package/dist/lib/node-esm/create-chat-UQQ3542N.mjs +74 -0
- package/dist/lib/node-esm/create-chat-UQQ3542N.mjs.map +7 -0
- package/dist/lib/node-esm/ensure-companion-chat-T4YCTT73.mjs +66 -0
- package/dist/lib/node-esm/ensure-companion-chat-T4YCTT73.mjs.map +7 -0
- package/dist/lib/node-esm/hooks/index.mjs +40 -0
- package/dist/lib/node-esm/hooks/index.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +37 -355
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/on-create-space-M63UBTTT.mjs +23 -0
- package/dist/lib/node-esm/on-create-space-M63UBTTT.mjs.map +7 -0
- package/dist/lib/node-esm/operations/index.mjs +14 -0
- package/dist/lib/node-esm/operations/index.mjs.map +7 -0
- package/dist/lib/node-esm/resolve-navigation-targets-HO77CAFT.mjs +23 -0
- package/dist/lib/node-esm/resolve-navigation-targets-HO77CAFT.mjs.map +7 -0
- package/dist/lib/node-esm/run-prompt-in-new-chat-V6VQJ3GL.mjs +107 -0
- package/dist/lib/node-esm/run-prompt-in-new-chat-V6VQJ3GL.mjs.map +7 -0
- package/dist/lib/node-esm/set-current-chat-FIGKWDTF.mjs +55 -0
- package/dist/lib/node-esm/set-current-chat-FIGKWDTF.mjs.map +7 -0
- package/dist/lib/node-esm/translations.mjs +174 -0
- package/dist/lib/node-esm/translations.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +1 -6
- package/dist/lib/node-esm/update-chat-name-GV4HX32Z.mjs +57 -0
- package/dist/lib/node-esm/update-chat-name-GV4HX32Z.mjs.map +7 -0
- package/dist/types/src/AssistantPlugin.d.ts +1 -0
- 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/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.test.d.ts +2 -0
- package/dist/types/src/blueprints/assistant/blueprint.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 +1 -6
- package/dist/types/src/blueprints/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/ai-service.d.ts +6 -0
- package/dist/types/src/capabilities/ai-service.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts +5 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
- 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/edge-model-resolver.d.ts → edge-model-resolver.d.ts} +1 -1
- package/dist/types/src/capabilities/edge-model-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +55 -11
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/local-model-resolver.d.ts +16 -0
- package/dist/types/src/capabilities/local-model-resolver.d.ts.map +1 -0
- 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 +5 -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 +5 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings.d.ts +6 -0
- package/dist/types/src/capabilities/settings.d.ts.map +1 -0
- package/dist/types/src/capabilities/state.d.ts +21 -0
- package/dist/types/src/capabilities/state.d.ts.map +1 -0
- package/dist/types/src/capabilities/toolkit.d.ts +6 -0
- package/dist/types/src/capabilities/toolkit.d.ts.map +1 -0
- package/dist/types/src/cli/index.d.ts +2 -0
- package/dist/types/src/cli/index.d.ts.map +1 -0
- package/dist/types/src/cli/plugin.d.ts +10 -0
- package/dist/types/src/cli/plugin.d.ts.map +1 -0
- package/dist/types/src/components/AssistantSettings/AssistantSettings.d.ts +4 -6
- 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 +36 -45
- 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/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 +6 -2
- 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.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 +6 -3
- package/dist/types/src/components/ChatThread/ChatThread.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts +8 -427
- package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts.map +1 -1
- 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 +18 -0
- package/dist/types/src/components/ChatThread/registry.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/sync.d.ts +44 -17
- 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/TemplateEditor/TemplateEditor.d.ts +6 -5
- package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts +1 -419
- package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts +4 -5
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts +2 -420
- 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 -1
- package/dist/types/src/components/TemplateEditor/extensions/xml-extension.d.ts.map +1 -1
- package/dist/types/src/components/ToolBlock/ToolBlock.d.ts +4 -13
- package/dist/types/src/components/ToolBlock/ToolBlock.d.ts.map +1 -1
- package/dist/types/src/components/Toolbox/Toolbox.d.ts +11 -9
- package/dist/types/src/components/Toolbox/Toolbox.d.ts.map +1 -1
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts +1 -419
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +3 -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/AgentProperties.stories.d.ts +16 -0
- package/dist/types/src/containers/AgentProperties/AgentProperties.stories.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/ChatCompanion/ChatCompanion.d.ts +18 -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/containers/ChatContainer/ChatContainer.d.ts +12 -0
- package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts.map +1 -0
- package/dist/types/src/containers/ChatContainer/index.d.ts +2 -0
- package/dist/types/src/containers/ChatContainer/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/ChatDialog}/ChatDialog.d.ts +0 -1
- 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/RoutineArticle/RoutineArticle.d.ts +6 -0
- package/dist/types/src/containers/RoutineArticle/RoutineArticle.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 +13 -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/execution-graph.d.ts +97 -0
- package/dist/types/src/containers/TracePanel/execution-graph.d.ts.map +1 -0
- package/dist/types/src/containers/TracePanel/execution-graph.test.d.ts +2 -0
- package/dist/types/src/containers/TracePanel/execution-graph.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 +12 -0
- package/dist/types/src/containers/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/hooks/index.d.ts +2 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useBlueprintRegistry.d.ts +1 -1
- 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 +6 -6
- package/dist/types/src/hooks/useChatProcessor.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatServices.d.ts +3 -6
- package/dist/types/src/hooks/useChatServices.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatToolbarActions.d.ts.map +1 -1
- package/dist/types/src/hooks/useContextBinder.d.ts +3 -2
- package/dist/types/src/hooks/useContextBinder.d.ts.map +1 -1
- 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 +1 -1
- package/dist/types/src/hooks/useFilteredTypes.d.ts.map +1 -1
- 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 +3 -5
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -0
- 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/definitions.d.ts +142 -0
- package/dist/types/src/operations/definitions.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 +4 -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.test.d.ts +2 -0
- package/dist/types/src/operations/prompt.test.d.ts.map +1 -0
- package/dist/types/src/operations/resolve-navigation-targets.d.ts +15 -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/update-chat-name.d.ts +5 -0
- package/dist/types/src/operations/update-chat-name.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 +49 -30
- package/dist/types/src/processor/processor.d.ts.map +1 -1
- package/dist/types/src/queue-logger.d.ts.map +1 -1
- package/dist/types/src/testing/index.d.ts +1 -0
- package/dist/types/src/testing/index.d.ts.map +1 -1
- 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-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.test.d.ts +2 -0
- package/dist/types/src/testing/trace-timeline.test.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +2 -419
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Assistant.d.ts +30 -14
- package/dist/types/src/types/Assistant.d.ts.map +1 -1
- package/dist/types/src/types/Settings.d.ts +26 -0
- package/dist/types/src/types/Settings.d.ts.map +1 -0
- package/dist/types/src/types/capabilities.d.ts +12 -13
- package/dist/types/src/types/capabilities.d.ts.map +1 -1
- package/dist/types/src/types/events.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +0 -2
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/service.d.ts +1 -1
- package/dist/types/src/types/service.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +135 -96
- package/src/AssistantPlugin.node.ts +44 -0
- package/src/AssistantPlugin.test.ts +35 -0
- package/src/AssistantPlugin.tsx +50 -92
- package/src/blueprints/assistant/blueprint.test.ts +46 -0
- package/src/blueprints/assistant/blueprint.ts +31 -0
- package/src/blueprints/assistant/index.ts +5 -0
- package/src/blueprints/index.ts +1 -8
- package/src/capabilities/app-graph-builder.ts +193 -0
- package/src/capabilities/blueprint-definition.ts +56 -0
- package/src/capabilities/companion-chat-provisioner.ts +164 -0
- package/src/capabilities/create-object.ts +107 -0
- package/src/capabilities/index.ts +24 -11
- package/src/capabilities/{local-model-resolver/local-model-resolver.ts → local-model-resolver.ts} +14 -4
- 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 +167 -0
- package/src/capabilities/{settings/settings.ts → settings.ts} +2 -2
- package/src/capabilities/{state/state.ts → state.ts} +11 -3
- package/src/capabilities/toolkit.ts +13 -0
- package/src/{components/Typewriter → cli}/index.ts +1 -1
- package/src/cli/plugin.ts +83 -0
- package/src/components/AssistantSettings/AssistantSettings.stories.tsx +35 -0
- package/src/components/AssistantSettings/AssistantSettings.tsx +30 -107
- package/src/components/AssistantSettings/index.ts +2 -2
- package/src/components/Chat/Chat.tsx +94 -282
- package/src/components/Chat/context.ts +39 -0
- package/src/components/ChatPrompt/ChatActions.tsx +28 -16
- package/src/components/ChatPrompt/ChatMcpErrors.tsx +50 -0
- package/src/components/ChatPrompt/ChatOptions.stories.tsx +136 -0
- package/src/components/ChatPrompt/ChatOptions.tsx +248 -42
- package/src/components/ChatPrompt/ChatPrompt.tsx +182 -0
- package/src/components/ChatPrompt/ChatReferences.tsx +18 -8
- package/src/components/ChatPrompt/ChatStatus.tsx +123 -0
- package/src/components/ChatPrompt/index.ts +3 -0
- package/src/components/ChatThread/Anchor.stories.tsx +95 -0
- package/src/components/ChatThread/ChatThread.stories.tsx +61 -68
- package/src/components/ChatThread/ChatThread.tsx +46 -29
- package/src/components/ChatThread/DEBUG.md +41 -0
- package/src/components/ChatThread/MarkdownStream.stories.tsx +281 -0
- package/src/components/ChatThread/registry.tsx +171 -55
- package/src/components/ChatThread/sync.test.ts +186 -26
- package/src/components/ChatThread/sync.ts +93 -97
- 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.md → thread-2.md} +19 -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 +29 -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 +119 -0
- package/src/components/ProcessTree/index.ts +5 -0
- package/src/components/TemplateEditor/TemplateEditor.stories.tsx +6 -10
- package/src/components/TemplateEditor/TemplateEditor.tsx +51 -43
- package/src/components/TemplateEditor/TemplateForm.stories.tsx +9 -11
- package/src/components/TemplateEditor/TemplateForm.tsx +56 -78
- package/src/components/TemplateEditor/extensions/handlebars-extension.ts +5 -5
- package/src/components/ToolBlock/ToolBlock.tsx +22 -21
- package/src/components/Toolbox/Toolbox.stories.tsx +5 -6
- package/src/components/Toolbox/Toolbox.tsx +66 -59
- package/src/components/index.ts +3 -16
- package/src/containers/AgentArticle/AgentArticle.stories.tsx +120 -0
- package/src/containers/AgentArticle/AgentArticle.tsx +200 -0
- package/src/containers/AgentArticle/index.ts +5 -0
- package/src/containers/AgentProperties/AgentProperties.stories.tsx +101 -0
- package/src/containers/AgentProperties/AgentProperties.tsx +127 -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/ChatCompanion/ChatCompanion.tsx +129 -0
- package/src/containers/ChatCompanion/index.ts +5 -0
- package/src/containers/ChatContainer/ChatContainer.tsx +105 -0
- package/src/containers/ChatContainer/index.ts +5 -0
- package/src/{components → containers/ChatDialog}/ChatDialog.tsx +8 -17
- package/src/containers/ChatDialog/index.ts +5 -0
- package/src/containers/RoutineArticle/RoutineArticle.tsx +59 -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 +285 -0
- package/src/containers/TracePanel/TracePanel.tsx +167 -0
- package/src/containers/TracePanel/dxn-extractor.test.ts +153 -0
- package/src/containers/TracePanel/dxn-extractor.ts +178 -0
- package/src/containers/TracePanel/execution-graph.test.ts +382 -0
- package/src/containers/TracePanel/execution-graph.ts +621 -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 +16 -0
- package/src/extensions/index.ts +5 -0
- package/src/extensions/prompt-extension.ts +111 -0
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useBlueprintRegistry.ts +7 -3
- package/src/hooks/useChatKeymap.ts +52 -0
- package/src/hooks/useChatProcessor.ts +36 -24
- package/src/hooks/useChatServices.ts +6 -27
- package/src/hooks/useChatToolbarActions.ts +9 -9
- package/src/hooks/useContextBinder.ts +17 -6
- package/src/hooks/useContextObjects.ts +8 -4
- package/src/hooks/useDebug.ts +38 -0
- package/src/hooks/useFilteredTypes.ts +3 -3
- package/src/hooks/usePresets.ts +2 -1
- package/src/hooks/useReferencesProvider.ts +1 -5
- package/src/index.ts +8 -6
- package/src/meta.ts +6 -3
- package/src/operations/create-chat.ts +79 -0
- package/src/operations/definitions.ts +126 -0
- package/src/operations/ensure-companion-chat.ts +61 -0
- package/src/operations/index.ts +17 -0
- package/src/operations/on-create-space.ts +24 -0
- package/src/operations/prompt.test.ts +77 -0
- package/src/operations/resolve-navigation-targets.ts +26 -0
- package/src/operations/run-prompt-in-new-chat.ts +112 -0
- package/src/operations/set-current-chat.ts +50 -0
- package/src/operations/update-chat-name.ts +61 -0
- package/src/processor/index.ts +0 -1
- package/src/processor/presets.ts +11 -3
- package/src/processor/processor.test.ts +18 -50
- package/src/processor/processor.ts +211 -160
- package/src/queue-logger.ts +19 -8
- package/src/testing/data/trace-timeline.dx.json +4657 -0
- package/src/testing/index.ts +1 -0
- package/src/testing/test-generator.test.ts +81 -0
- package/src/testing/test-generator.ts +79 -42
- package/src/testing/test-sequence.ts +3 -3
- package/src/testing/test-services.ts +2 -2
- package/src/testing/test-trace.ts +20 -0
- package/src/testing/trace-timeline.conversations.json +1 -0
- package/src/testing/trace-timeline.test.ts +250 -0
- package/src/translations.ts +152 -106
- package/src/types/Assistant.ts +15 -19
- package/src/types/Settings.ts +76 -0
- package/src/types/capabilities.ts +11 -3
- package/src/types/events.ts +2 -2
- package/src/types/index.ts +0 -2
- package/src/types/service.ts +5 -5
- package/dist/lib/browser/BlueprintArticle-6SP2ZWJ2.mjs +0 -30
- package/dist/lib/browser/BlueprintArticle-6SP2ZWJ2.mjs.map +0 -7
- package/dist/lib/browser/ChatCompanion-JOTRKE7B.mjs +0 -200
- package/dist/lib/browser/ChatCompanion-JOTRKE7B.mjs.map +0 -7
- package/dist/lib/browser/ChatContainer-ESDLG5JY.mjs +0 -73
- package/dist/lib/browser/ChatContainer-ESDLG5JY.mjs.map +0 -7
- package/dist/lib/browser/ChatDialog-LKY3FTYO.mjs +0 -85
- package/dist/lib/browser/ChatDialog-LKY3FTYO.mjs.map +0 -7
- package/dist/lib/browser/InitiativeContainer-T2SQ4O6J.mjs +0 -267
- package/dist/lib/browser/InitiativeContainer-T2SQ4O6J.mjs.map +0 -7
- package/dist/lib/browser/PromptArticle-PK3CBRUB.mjs +0 -52
- package/dist/lib/browser/PromptArticle-PK3CBRUB.mjs.map +0 -7
- package/dist/lib/browser/ai-service-CY2BYPH6.mjs +0 -22
- package/dist/lib/browser/ai-service-CY2BYPH6.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-MUZGUQSC.mjs +0 -234
- package/dist/lib/browser/app-graph-builder-MUZGUQSC.mjs.map +0 -7
- package/dist/lib/browser/blueprint-definition-YAGWYVCL.mjs +0 -14
- package/dist/lib/browser/chunk-3ETBCBMH.mjs +0 -47
- package/dist/lib/browser/chunk-3ETBCBMH.mjs.map +0 -7
- package/dist/lib/browser/chunk-6BVCG5SJ.mjs +0 -230
- package/dist/lib/browser/chunk-6BVCG5SJ.mjs.map +0 -7
- package/dist/lib/browser/chunk-DKQMSMBN.mjs +0 -326
- package/dist/lib/browser/chunk-DKQMSMBN.mjs.map +0 -7
- package/dist/lib/browser/chunk-EXVT7D4B.mjs +0 -23
- package/dist/lib/browser/chunk-EXVT7D4B.mjs.map +0 -7
- package/dist/lib/browser/chunk-IJYAKPEU.mjs +0 -286
- package/dist/lib/browser/chunk-IJYAKPEU.mjs.map +0 -7
- package/dist/lib/browser/chunk-POPBT2AQ.mjs +0 -198
- package/dist/lib/browser/chunk-POPBT2AQ.mjs.map +0 -7
- package/dist/lib/browser/chunk-Q4QUMX62.mjs +0 -1974
- package/dist/lib/browser/chunk-Q4QUMX62.mjs.map +0 -7
- package/dist/lib/browser/edge-model-resolver-YTMFQEN5.mjs +0 -21
- package/dist/lib/browser/edge-model-resolver-YTMFQEN5.mjs.map +0 -7
- package/dist/lib/browser/local-model-resolver-CGRQH37T.mjs +0 -20
- package/dist/lib/browser/local-model-resolver-CGRQH37T.mjs.map +0 -7
- package/dist/lib/browser/operation-resolver-2673CFJS.mjs +0 -133
- package/dist/lib/browser/operation-resolver-2673CFJS.mjs.map +0 -7
- package/dist/lib/browser/react-surface-I7YJVK4K.mjs +0 -125
- package/dist/lib/browser/react-surface-I7YJVK4K.mjs.map +0 -7
- package/dist/lib/browser/repair-IRXDYF4R.mjs +0 -51
- package/dist/lib/browser/repair-IRXDYF4R.mjs.map +0 -7
- package/dist/lib/browser/settings-XF6GKHCG.mjs +0 -33
- package/dist/lib/browser/settings-XF6GKHCG.mjs.map +0 -7
- package/dist/lib/browser/state-OYDPWLKA.mjs +0 -26
- package/dist/lib/browser/state-OYDPWLKA.mjs.map +0 -7
- package/dist/lib/browser/toolkit-IDXQCSTX.mjs +0 -19
- package/dist/lib/browser/toolkit-IDXQCSTX.mjs.map +0 -7
- package/dist/lib/node-esm/BlueprintArticle-7LI6UXKZ.mjs +0 -31
- package/dist/lib/node-esm/BlueprintArticle-7LI6UXKZ.mjs.map +0 -7
- package/dist/lib/node-esm/ChatCompanion-52OWAARX.mjs +0 -201
- package/dist/lib/node-esm/ChatCompanion-52OWAARX.mjs.map +0 -7
- package/dist/lib/node-esm/ChatContainer-VLWSQ3ZO.mjs +0 -74
- package/dist/lib/node-esm/ChatContainer-VLWSQ3ZO.mjs.map +0 -7
- package/dist/lib/node-esm/ChatDialog-5DUQIF2T.mjs +0 -86
- package/dist/lib/node-esm/ChatDialog-5DUQIF2T.mjs.map +0 -7
- package/dist/lib/node-esm/InitiativeContainer-ATD3D23L.mjs +0 -268
- package/dist/lib/node-esm/InitiativeContainer-ATD3D23L.mjs.map +0 -7
- package/dist/lib/node-esm/PromptArticle-BHPABYLT.mjs +0 -53
- package/dist/lib/node-esm/PromptArticle-BHPABYLT.mjs.map +0 -7
- package/dist/lib/node-esm/ai-service-ZI3A6RVG.mjs +0 -23
- package/dist/lib/node-esm/ai-service-ZI3A6RVG.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-4QN5M6PD.mjs +0 -235
- package/dist/lib/node-esm/app-graph-builder-4QN5M6PD.mjs.map +0 -7
- package/dist/lib/node-esm/blueprint-definition-H3LFAEK2.mjs +0 -15
- package/dist/lib/node-esm/chunk-2LEN26ZQ.mjs +0 -48
- package/dist/lib/node-esm/chunk-2LEN26ZQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-75PHXBN3.mjs +0 -327
- package/dist/lib/node-esm/chunk-75PHXBN3.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-ESDMBGF7.mjs +0 -1975
- package/dist/lib/node-esm/chunk-ESDMBGF7.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-F6LA7XNS.mjs +0 -199
- package/dist/lib/node-esm/chunk-F6LA7XNS.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-LB72WG6R.mjs +0 -231
- package/dist/lib/node-esm/chunk-LB72WG6R.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-MJD5XWQV.mjs +0 -288
- package/dist/lib/node-esm/chunk-MJD5XWQV.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-POWB2BPC.mjs +0 -25
- package/dist/lib/node-esm/chunk-POWB2BPC.mjs.map +0 -7
- package/dist/lib/node-esm/edge-model-resolver-CMJ3KNLQ.mjs +0 -22
- package/dist/lib/node-esm/edge-model-resolver-CMJ3KNLQ.mjs.map +0 -7
- package/dist/lib/node-esm/local-model-resolver-FFDAKOXN.mjs +0 -21
- package/dist/lib/node-esm/local-model-resolver-FFDAKOXN.mjs.map +0 -7
- package/dist/lib/node-esm/operation-resolver-2ZD2DXOU.mjs +0 -134
- package/dist/lib/node-esm/operation-resolver-2ZD2DXOU.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-2CWJ6GZW.mjs +0 -126
- package/dist/lib/node-esm/react-surface-2CWJ6GZW.mjs.map +0 -7
- package/dist/lib/node-esm/repair-DMI55PON.mjs +0 -52
- package/dist/lib/node-esm/repair-DMI55PON.mjs.map +0 -7
- package/dist/lib/node-esm/settings-NGGZA7S7.mjs +0 -34
- package/dist/lib/node-esm/settings-NGGZA7S7.mjs.map +0 -7
- package/dist/lib/node-esm/state-VSCPGN7R.mjs +0 -27
- package/dist/lib/node-esm/state-VSCPGN7R.mjs.map +0 -7
- package/dist/lib/node-esm/toolkit-JPRJRDDB.mjs +0 -20
- package/dist/lib/node-esm/toolkit-JPRJRDDB.mjs.map +0 -7
- package/dist/types/src/blueprints/assistant-blueprint.d.ts +0 -11
- package/dist/types/src/blueprints/assistant-blueprint.d.ts.map +0 -1
- package/dist/types/src/capabilities/ai-service/ai-service.d.ts +0 -6
- package/dist/types/src/capabilities/ai-service/ai-service.d.ts.map +0 -1
- package/dist/types/src/capabilities/ai-service/index.d.ts +0 -3
- package/dist/types/src/capabilities/ai-service/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts +0 -26
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts.map +0 -1
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts +0 -4
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/edge-model-resolver/edge-model-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/edge-model-resolver/index.d.ts +0 -3
- package/dist/types/src/capabilities/edge-model-resolver/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/local-model-resolver/index.d.ts +0 -3
- package/dist/types/src/capabilities/local-model-resolver/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/local-model-resolver/local-model-resolver.d.ts +0 -13
- package/dist/types/src/capabilities/local-model-resolver/local-model-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -3
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/capabilities/repair/index.d.ts +0 -3
- package/dist/types/src/capabilities/repair/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/repair/repair.d.ts +0 -6
- package/dist/types/src/capabilities/repair/repair.d.ts.map +0 -1
- package/dist/types/src/capabilities/settings/index.d.ts +0 -15
- package/dist/types/src/capabilities/settings/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/settings/settings.d.ts +0 -18
- package/dist/types/src/capabilities/settings/settings.d.ts.map +0 -1
- package/dist/types/src/capabilities/state/index.d.ts +0 -11
- package/dist/types/src/capabilities/state/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/state/state.d.ts +0 -13
- package/dist/types/src/capabilities/state/state.d.ts.map +0 -1
- package/dist/types/src/capabilities/toolkit/index.d.ts +0 -3
- package/dist/types/src/capabilities/toolkit/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/toolkit/toolkit.d.ts +0 -6
- package/dist/types/src/capabilities/toolkit/toolkit.d.ts.map +0 -1
- package/dist/types/src/components/BlueprintArticle.d.ts +0 -7
- package/dist/types/src/components/BlueprintArticle.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 -19
- 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/InitiativeContainer.d.ts +0 -9
- package/dist/types/src/components/InitiativeContainer.d.ts.map +0 -1
- package/dist/types/src/components/PromptArticle.d.ts +0 -7
- package/dist/types/src/components/PromptArticle.d.ts.map +0 -1
- package/dist/types/src/components/TriggerStatus/TriggerStatus.d.ts +0 -4
- package/dist/types/src/components/TriggerStatus/TriggerStatus.d.ts.map +0 -1
- package/dist/types/src/components/TriggerStatus/index.d.ts +0 -2
- package/dist/types/src/components/TriggerStatus/index.d.ts.map +0 -1
- package/dist/types/src/components/Typewriter/AssistantToolbar.d.ts +0 -12
- package/dist/types/src/components/Typewriter/AssistantToolbar.d.ts.map +0 -1
- package/dist/types/src/components/Typewriter/Typewriter.d.ts +0 -11
- package/dist/types/src/components/Typewriter/Typewriter.d.ts.map +0 -1
- package/dist/types/src/components/Typewriter/Typewriter.stories.d.ts +0 -7
- package/dist/types/src/components/Typewriter/Typewriter.stories.d.ts.map +0 -1
- package/dist/types/src/components/Typewriter/assistant-extension.d.ts +0 -5
- package/dist/types/src/components/Typewriter/assistant-extension.d.ts.map +0 -1
- package/dist/types/src/components/Typewriter/index.d.ts +0 -2
- package/dist/types/src/components/Typewriter/index.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/object-list.d.ts +0 -10
- package/dist/types/src/functions/object-list.d.ts.map +0 -1
- package/dist/types/src/functions/object-load.d.ts +0 -8
- package/dist/types/src/functions/object-load.d.ts.map +0 -1
- package/dist/types/src/functions/object-search.d.ts +0 -10
- package/dist/types/src/functions/object-search.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/types/AssistantAction.d.ts +0 -97
- 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/blueprints/assistant-blueprint.ts +0 -57
- package/src/capabilities/ai-service/index.ts +0 -7
- package/src/capabilities/app-graph-builder/app-graph-builder.ts +0 -200
- package/src/capabilities/app-graph-builder/index.ts +0 -7
- package/src/capabilities/blueprint-definition/blueprint-definition.ts +0 -74
- package/src/capabilities/blueprint-definition/index.ts +0 -8
- package/src/capabilities/edge-model-resolver/index.ts +0 -7
- package/src/capabilities/local-model-resolver/index.ts +0 -7
- package/src/capabilities/operation-resolver/index.ts +0 -7
- package/src/capabilities/operation-resolver/operation-resolver.ts +0 -112
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/capabilities/react-surface/react-surface.tsx +0 -111
- package/src/capabilities/repair/index.ts +0 -7
- package/src/capabilities/repair/repair.ts +0 -62
- package/src/capabilities/settings/index.ts +0 -7
- package/src/capabilities/state/index.ts +0 -7
- package/src/capabilities/toolkit/index.ts +0 -7
- package/src/capabilities/toolkit/toolkit.ts +0 -27
- package/src/components/BlueprintArticle.tsx +0 -28
- package/src/components/ChatCompanion.tsx +0 -226
- package/src/components/ChatContainer.tsx +0 -68
- package/src/components/ChatProgress/ChatProgress.tsx +0 -53
- package/src/components/ChatProgress/index.ts +0 -5
- package/src/components/InitiativeContainer.tsx +0 -340
- package/src/components/PromptArticle.tsx +0 -49
- package/src/components/TriggerStatus/TriggerStatus.tsx +0 -142
- package/src/components/TriggerStatus/index.ts +0 -5
- package/src/components/Typewriter/AssistantToolbar.tsx +0 -161
- package/src/components/Typewriter/Typewriter.stories.tsx +0 -83
- package/src/components/Typewriter/Typewriter.tsx +0 -54
- package/src/components/Typewriter/assistant-extension.tsx +0 -144
- package/src/functions/index.ts +0 -7
- package/src/functions/object-list.ts +0 -49
- package/src/functions/object-load.ts +0 -44
- package/src/functions/object-search.ts +0 -46
- package/src/processor/update-name.ts +0 -58
- package/src/types/AssistantAction.ts +0 -76
- package/src/types/defs.ts +0 -5
- /package/dist/lib/browser/{blueprint-definition-YAGWYVCL.mjs.map → components/index.mjs.map} +0 -0
- /package/dist/lib/{node-esm/blueprint-definition-H3LFAEK2.mjs.map → browser/hooks/index.mjs.map} +0 -0
- /package/src/capabilities/{ai-service/ai-service.ts → ai-service.ts} +0 -0
- /package/src/capabilities/{edge-model-resolver/edge-model-resolver.ts → edge-model-resolver.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-assistant",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.1c7ec43d41",
|
|
4
4
|
"description": "Assistant plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -12,6 +12,23 @@
|
|
|
12
12
|
"author": "DXOS.org",
|
|
13
13
|
"sideEffects": true,
|
|
14
14
|
"type": "module",
|
|
15
|
+
"imports": {
|
|
16
|
+
"#blueprints": "./src/blueprints/index.ts",
|
|
17
|
+
"#capabilities": "./src/capabilities/index.ts",
|
|
18
|
+
"#components": "./src/components/index.ts",
|
|
19
|
+
"#containers": "./src/containers/index.ts",
|
|
20
|
+
"#hooks": "./src/hooks/index.ts",
|
|
21
|
+
"#meta": "./src/meta.ts",
|
|
22
|
+
"#operations": "./src/operations/index.ts",
|
|
23
|
+
"#plugin": {
|
|
24
|
+
"browser": "./src/AssistantPlugin.tsx",
|
|
25
|
+
"node": "./src/AssistantPlugin.node.ts",
|
|
26
|
+
"default": "./src/AssistantPlugin.tsx"
|
|
27
|
+
},
|
|
28
|
+
"#testing": "./src/testing/index.ts",
|
|
29
|
+
"#translations": "./src/translations.ts",
|
|
30
|
+
"#types": "./src/types/index.ts"
|
|
31
|
+
},
|
|
15
32
|
"exports": {
|
|
16
33
|
".": {
|
|
17
34
|
"source": "./src/index.ts",
|
|
@@ -19,6 +36,18 @@
|
|
|
19
36
|
"browser": "./dist/lib/browser/index.mjs",
|
|
20
37
|
"node": "./dist/lib/node-esm/index.mjs"
|
|
21
38
|
},
|
|
39
|
+
"./components": {
|
|
40
|
+
"source": "./src/components/index.ts",
|
|
41
|
+
"types": "./dist/types/src/components/index.d.ts",
|
|
42
|
+
"browser": "./dist/lib/browser/components/index.mjs",
|
|
43
|
+
"node": "./dist/lib/node-esm/components/index.mjs"
|
|
44
|
+
},
|
|
45
|
+
"./hooks": {
|
|
46
|
+
"source": "./src/hooks/index.ts",
|
|
47
|
+
"types": "./dist/types/src/hooks/index.d.ts",
|
|
48
|
+
"browser": "./dist/lib/browser/hooks/index.mjs",
|
|
49
|
+
"node": "./dist/lib/node-esm/hooks/index.mjs"
|
|
50
|
+
},
|
|
22
51
|
"./blueprints": {
|
|
23
52
|
"source": "./src/blueprints/index.ts",
|
|
24
53
|
"types": "./dist/types/src/blueprints/index.d.ts",
|
|
@@ -26,6 +55,23 @@
|
|
|
26
55
|
"node": "./dist/lib/node-esm/blueprints/index.mjs",
|
|
27
56
|
"default": "./src/blueprints/index.ts"
|
|
28
57
|
},
|
|
58
|
+
"./cli": {
|
|
59
|
+
"source": "./src/cli/index.ts",
|
|
60
|
+
"types": "./dist/types/src/cli/index.d.ts",
|
|
61
|
+
"node": "./dist/lib/node-esm/cli/index.mjs"
|
|
62
|
+
},
|
|
63
|
+
"./operations": {
|
|
64
|
+
"source": "./src/operations/index.ts",
|
|
65
|
+
"types": "./dist/types/src/operations/index.d.ts",
|
|
66
|
+
"browser": "./dist/lib/browser/operations/index.mjs",
|
|
67
|
+
"node": "./dist/lib/node-esm/operations/index.mjs"
|
|
68
|
+
},
|
|
69
|
+
"./translations": {
|
|
70
|
+
"source": "./src/translations.ts",
|
|
71
|
+
"types": "./dist/types/src/translations.d.ts",
|
|
72
|
+
"browser": "./dist/lib/browser/translations.mjs",
|
|
73
|
+
"node": "./dist/lib/node-esm/translations.mjs"
|
|
74
|
+
},
|
|
29
75
|
"./types": {
|
|
30
76
|
"source": "./src/types/index.ts",
|
|
31
77
|
"types": "./dist/types/src/types/index.d.ts",
|
|
@@ -34,16 +80,6 @@
|
|
|
34
80
|
}
|
|
35
81
|
},
|
|
36
82
|
"types": "dist/types/src/index.d.ts",
|
|
37
|
-
"typesVersions": {
|
|
38
|
-
"*": {
|
|
39
|
-
"blueprints": [
|
|
40
|
-
"dist/types/src/blueprints/index.d.ts"
|
|
41
|
-
],
|
|
42
|
-
"types": [
|
|
43
|
-
"dist/types/src/types/index.d.ts"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
83
|
"files": [
|
|
48
84
|
"assets",
|
|
49
85
|
"dist",
|
|
@@ -57,7 +93,7 @@
|
|
|
57
93
|
"@codemirror/language": "^6.11.3",
|
|
58
94
|
"@codemirror/lint": "6.8.5",
|
|
59
95
|
"@codemirror/state": "^6.5.2",
|
|
60
|
-
"@codemirror/view": "^6.38.
|
|
96
|
+
"@codemirror/view": "^6.38.5",
|
|
61
97
|
"@effect-atom/atom": "^0.5.1",
|
|
62
98
|
"@effect-atom/atom-react": "^0.5.0",
|
|
63
99
|
"@effect/ai": "0.33.2",
|
|
@@ -65,112 +101,115 @@
|
|
|
65
101
|
"@effect/ai-openai": "0.37.2",
|
|
66
102
|
"@effect/experimental": "0.58.0",
|
|
67
103
|
"@effect/platform-browser": "0.74.0",
|
|
104
|
+
"@radix-ui/react-compose-refs": "1.1.1",
|
|
68
105
|
"@radix-ui/react-context": "1.1.1",
|
|
69
|
-
"effect": "3.
|
|
106
|
+
"effect": "3.20.0",
|
|
70
107
|
"exa-js": "^1.5.12",
|
|
71
108
|
"json5": "^2.2.3",
|
|
72
109
|
"jsonpointer": "^5.0.1",
|
|
73
110
|
"lodash.defaultsdeep": "^4.6.1",
|
|
74
111
|
"unified": "^11.0.0",
|
|
75
112
|
"use-deep-compare-effect": "^1.8.1",
|
|
76
|
-
"@dxos/ai": "0.8.4-main.
|
|
77
|
-
"@dxos/
|
|
78
|
-
"@dxos/app-toolkit": "0.8.4-main.
|
|
79
|
-
"@dxos/assistant-toolkit": "0.8.4-main.
|
|
80
|
-
"@dxos/
|
|
81
|
-
"@dxos/async": "0.8.4-main.
|
|
82
|
-
"@dxos/
|
|
83
|
-
"@dxos/
|
|
84
|
-
"@dxos/
|
|
85
|
-
"@dxos/
|
|
86
|
-
"@dxos/
|
|
87
|
-
"@dxos/
|
|
88
|
-
"@dxos/
|
|
89
|
-
"@dxos/devtools": "0.8.4-main.
|
|
90
|
-
"@dxos/echo-
|
|
91
|
-
"@dxos/echo": "0.8.4-main.
|
|
92
|
-
"@dxos/echo-
|
|
93
|
-
"@dxos/echo-query": "0.8.4-main.
|
|
94
|
-
"@dxos/echo
|
|
95
|
-
"@dxos/
|
|
96
|
-
"@dxos/
|
|
97
|
-
"@dxos/functions": "0.8.4-main.
|
|
98
|
-
"@dxos/
|
|
99
|
-
"@dxos/
|
|
100
|
-
"@dxos/invariant": "0.8.4-main.
|
|
101
|
-
"@dxos/keys": "0.8.4-main.
|
|
102
|
-
"@dxos/log": "0.8.4-main.
|
|
103
|
-
"@dxos/
|
|
104
|
-
"@dxos/plugin-
|
|
105
|
-
"@dxos/plugin-client": "0.8.4-main.
|
|
106
|
-
"@dxos/plugin-
|
|
107
|
-
"@dxos/plugin-
|
|
108
|
-
"@dxos/
|
|
109
|
-
"@dxos/plugin-
|
|
110
|
-
"@dxos/plugin-
|
|
111
|
-
"@dxos/plugin-
|
|
112
|
-
"@dxos/plugin-status-bar": "0.8.4-main.
|
|
113
|
-
"@dxos/plugin-table": "0.8.4-main.
|
|
114
|
-
"@dxos/
|
|
115
|
-
"@dxos/plugin-transcription": "0.8.4-main.
|
|
116
|
-
"@dxos/
|
|
117
|
-
"@dxos/react-
|
|
118
|
-
"@dxos/react-
|
|
119
|
-
"@dxos/react-ui-
|
|
120
|
-
"@dxos/react-ui-
|
|
121
|
-
"@dxos/react-ui-
|
|
122
|
-
"@dxos/react-ui-
|
|
123
|
-
"@dxos/react-ui-
|
|
124
|
-
"@dxos/react-ui-
|
|
125
|
-
"@dxos/react-ui-
|
|
126
|
-
"@dxos/react-ui-
|
|
127
|
-
"@dxos/react-ui-
|
|
128
|
-
"@dxos/react-ui-
|
|
129
|
-
"@dxos/react-ui-mosaic": "0.8.4-main.
|
|
130
|
-
"@dxos/react-ui-
|
|
131
|
-
"@dxos/react-ui-
|
|
132
|
-
"@dxos/react-ui-
|
|
133
|
-
"@dxos/react-ui-syntax-highlighter": "0.8.4-main.
|
|
134
|
-
"@dxos/
|
|
135
|
-
"@dxos/
|
|
136
|
-
"@dxos/
|
|
137
|
-
"@dxos/
|
|
138
|
-
"@dxos/
|
|
139
|
-
"@dxos/ui": "0.8.4-main.
|
|
140
|
-
"@dxos/
|
|
113
|
+
"@dxos/ai": "0.8.4-main.1c7ec43d41",
|
|
114
|
+
"@dxos/assistant": "0.8.4-main.1c7ec43d41",
|
|
115
|
+
"@dxos/app-toolkit": "0.8.4-main.1c7ec43d41",
|
|
116
|
+
"@dxos/assistant-toolkit": "0.8.4-main.1c7ec43d41",
|
|
117
|
+
"@dxos/app-framework": "0.8.4-main.1c7ec43d41",
|
|
118
|
+
"@dxos/async": "0.8.4-main.1c7ec43d41",
|
|
119
|
+
"@dxos/conductor": "0.8.4-main.1c7ec43d41",
|
|
120
|
+
"@dxos/compute": "0.8.4-main.1c7ec43d41",
|
|
121
|
+
"@dxos/config": "0.8.4-main.1c7ec43d41",
|
|
122
|
+
"@dxos/app-graph": "0.8.4-main.1c7ec43d41",
|
|
123
|
+
"@dxos/client": "0.8.4-main.1c7ec43d41",
|
|
124
|
+
"@dxos/context": "0.8.4-main.1c7ec43d41",
|
|
125
|
+
"@dxos/debug": "0.8.4-main.1c7ec43d41",
|
|
126
|
+
"@dxos/devtools": "0.8.4-main.1c7ec43d41",
|
|
127
|
+
"@dxos/echo-atom": "0.8.4-main.1c7ec43d41",
|
|
128
|
+
"@dxos/echo-db": "0.8.4-main.1c7ec43d41",
|
|
129
|
+
"@dxos/echo-protocol": "0.8.4-main.1c7ec43d41",
|
|
130
|
+
"@dxos/echo-query": "0.8.4-main.1c7ec43d41",
|
|
131
|
+
"@dxos/echo": "0.8.4-main.1c7ec43d41",
|
|
132
|
+
"@dxos/edge-client": "0.8.4-main.1c7ec43d41",
|
|
133
|
+
"@dxos/effect": "0.8.4-main.1c7ec43d41",
|
|
134
|
+
"@dxos/functions": "0.8.4-main.1c7ec43d41",
|
|
135
|
+
"@dxos/graph": "0.8.4-main.1c7ec43d41",
|
|
136
|
+
"@dxos/functions-runtime": "0.8.4-main.1c7ec43d41",
|
|
137
|
+
"@dxos/invariant": "0.8.4-main.1c7ec43d41",
|
|
138
|
+
"@dxos/keys": "0.8.4-main.1c7ec43d41",
|
|
139
|
+
"@dxos/log": "0.8.4-main.1c7ec43d41",
|
|
140
|
+
"@dxos/lit-ui": "0.8.4-main.1c7ec43d41",
|
|
141
|
+
"@dxos/plugin-attention": "0.8.4-main.1c7ec43d41",
|
|
142
|
+
"@dxos/plugin-client": "0.8.4-main.1c7ec43d41",
|
|
143
|
+
"@dxos/plugin-deck": "0.8.4-main.1c7ec43d41",
|
|
144
|
+
"@dxos/plugin-automation": "0.8.4-main.1c7ec43d41",
|
|
145
|
+
"@dxos/plugin-graph": "0.8.4-main.1c7ec43d41",
|
|
146
|
+
"@dxos/plugin-map": "0.8.4-main.1c7ec43d41",
|
|
147
|
+
"@dxos/plugin-markdown": "0.8.4-main.1c7ec43d41",
|
|
148
|
+
"@dxos/plugin-space": "0.8.4-main.1c7ec43d41",
|
|
149
|
+
"@dxos/plugin-status-bar": "0.8.4-main.1c7ec43d41",
|
|
150
|
+
"@dxos/plugin-table": "0.8.4-main.1c7ec43d41",
|
|
151
|
+
"@dxos/protocols": "0.8.4-main.1c7ec43d41",
|
|
152
|
+
"@dxos/plugin-transcription": "0.8.4-main.1c7ec43d41",
|
|
153
|
+
"@dxos/react-edge-client": "0.8.4-main.1c7ec43d41",
|
|
154
|
+
"@dxos/react-ui-attention": "0.8.4-main.1c7ec43d41",
|
|
155
|
+
"@dxos/react-ui-canvas-compute": "0.8.4-main.1c7ec43d41",
|
|
156
|
+
"@dxos/react-ui-components": "0.8.4-main.1c7ec43d41",
|
|
157
|
+
"@dxos/react-ui-editor": "0.8.4-main.1c7ec43d41",
|
|
158
|
+
"@dxos/react-ui-chat": "0.8.4-main.1c7ec43d41",
|
|
159
|
+
"@dxos/react-ui-form": "0.8.4-main.1c7ec43d41",
|
|
160
|
+
"@dxos/react-ui-canvas-editor": "0.8.4-main.1c7ec43d41",
|
|
161
|
+
"@dxos/react-ui-graph": "0.8.4-main.1c7ec43d41",
|
|
162
|
+
"@dxos/react-ui-list": "0.8.4-main.1c7ec43d41",
|
|
163
|
+
"@dxos/react-ui-markdown": "0.8.4-main.1c7ec43d41",
|
|
164
|
+
"@dxos/react-ui-menu": "0.8.4-main.1c7ec43d41",
|
|
165
|
+
"@dxos/react-ui-masonry": "0.8.4-main.1c7ec43d41",
|
|
166
|
+
"@dxos/react-ui-mosaic": "0.8.4-main.1c7ec43d41",
|
|
167
|
+
"@dxos/react-ui-search": "0.8.4-main.1c7ec43d41",
|
|
168
|
+
"@dxos/react-ui-stack": "0.8.4-main.1c7ec43d41",
|
|
169
|
+
"@dxos/react-ui-sfx": "0.8.4-main.1c7ec43d41",
|
|
170
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.4-main.1c7ec43d41",
|
|
171
|
+
"@dxos/react-ui-tabs": "0.8.4-main.1c7ec43d41",
|
|
172
|
+
"@dxos/schema": "0.8.4-main.1c7ec43d41",
|
|
173
|
+
"@dxos/ui": "0.8.4-main.1c7ec43d41",
|
|
174
|
+
"@dxos/types": "0.8.4-main.1c7ec43d41",
|
|
175
|
+
"@dxos/react-client": "0.8.4-main.1c7ec43d41",
|
|
176
|
+
"@dxos/ui-editor": "0.8.4-main.1c7ec43d41",
|
|
177
|
+
"@dxos/util": "0.8.4-main.1c7ec43d41"
|
|
141
178
|
},
|
|
142
179
|
"devDependencies": {
|
|
143
180
|
"@effect/platform": "0.94.4",
|
|
144
181
|
"@types/lodash.defaultsdeep": "^4.6.6",
|
|
145
182
|
"@types/react": "~19.2.7",
|
|
146
183
|
"@types/react-dom": "~19.2.3",
|
|
147
|
-
"effect": "3.
|
|
184
|
+
"effect": "3.20.0",
|
|
148
185
|
"openapi-types": "^12.1.3",
|
|
149
186
|
"react": "~19.2.3",
|
|
150
187
|
"react-dom": "~19.2.3",
|
|
151
|
-
"vite": "
|
|
152
|
-
"@dxos/
|
|
153
|
-
"@dxos/
|
|
154
|
-
"@dxos/
|
|
155
|
-
"@dxos/plugin-chess": "0.8.4-main.
|
|
156
|
-
"@dxos/plugin-
|
|
157
|
-
"@dxos/plugin-map": "0.8.4-main.
|
|
158
|
-
"@dxos/
|
|
159
|
-
"@dxos/
|
|
160
|
-
"@dxos/
|
|
161
|
-
"@dxos/
|
|
162
|
-
"@dxos/react-ui
|
|
163
|
-
"@dxos/
|
|
164
|
-
"@dxos/ui-
|
|
188
|
+
"vite": "^8.0.10",
|
|
189
|
+
"@dxos/echo-db": "0.8.4-main.1c7ec43d41",
|
|
190
|
+
"@dxos/assistant-toolkit": "0.8.4-main.1c7ec43d41",
|
|
191
|
+
"@dxos/devtools": "0.8.4-main.1c7ec43d41",
|
|
192
|
+
"@dxos/plugin-chess": "0.8.4-main.1c7ec43d41",
|
|
193
|
+
"@dxos/plugin-client": "0.8.4-main.1c7ec43d41",
|
|
194
|
+
"@dxos/plugin-map": "0.8.4-main.1c7ec43d41",
|
|
195
|
+
"@dxos/plugin-table": "0.8.4-main.1c7ec43d41",
|
|
196
|
+
"@dxos/plugin-testing": "0.8.4-main.1c7ec43d41",
|
|
197
|
+
"@dxos/random": "0.8.4-main.1c7ec43d41",
|
|
198
|
+
"@dxos/plugin-preview": "0.8.4-main.1c7ec43d41",
|
|
199
|
+
"@dxos/react-ui": "0.8.4-main.1c7ec43d41",
|
|
200
|
+
"@dxos/react-ui-menu": "0.8.4-main.1c7ec43d41",
|
|
201
|
+
"@dxos/react-ui-table": "0.8.4-main.1c7ec43d41",
|
|
202
|
+
"@dxos/storybook-utils": "0.8.4-main.1c7ec43d41",
|
|
203
|
+
"@dxos/ui-theme": "0.8.4-main.1c7ec43d41"
|
|
165
204
|
},
|
|
166
205
|
"peerDependencies": {
|
|
167
206
|
"@effect-atom/atom-react": "^0.5.0",
|
|
168
207
|
"@effect/platform": "0.94.4",
|
|
169
|
-
"effect": "3.
|
|
208
|
+
"effect": "3.20.0",
|
|
170
209
|
"react": "~19.2.3",
|
|
171
210
|
"react-dom": "~19.2.3",
|
|
172
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
173
|
-
"@dxos/ui-theme": "0.8.4-main.
|
|
211
|
+
"@dxos/react-ui": "0.8.4-main.1c7ec43d41",
|
|
212
|
+
"@dxos/ui-theme": "0.8.4-main.1c7ec43d41"
|
|
174
213
|
},
|
|
175
214
|
"publishConfig": {
|
|
176
215
|
"access": "public"
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { Plugin } from '@dxos/app-framework';
|
|
6
|
+
import { AppPlugin } from '@dxos/app-toolkit';
|
|
7
|
+
import { ContextBinding } from '@dxos/assistant';
|
|
8
|
+
import { Agent, Chat, McpServer, Memory, Plan } from '@dxos/assistant-toolkit';
|
|
9
|
+
import { Blueprint, Routine } from '@dxos/compute';
|
|
10
|
+
import { Sequence } from '@dxos/conductor';
|
|
11
|
+
import { Feed } from '@dxos/echo';
|
|
12
|
+
import { Text } from '@dxos/schema';
|
|
13
|
+
import { HasSubject, Message } from '@dxos/types';
|
|
14
|
+
|
|
15
|
+
import { AppGraphBuilder, BlueprintDefinition, CreateObject, OperationHandler } from '#capabilities';
|
|
16
|
+
import { meta } from '#meta';
|
|
17
|
+
|
|
18
|
+
export const AssistantPlugin = Plugin.define(meta).pipe(
|
|
19
|
+
AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),
|
|
20
|
+
AppPlugin.addBlueprintDefinitionModule({ activate: BlueprintDefinition }),
|
|
21
|
+
AppPlugin.addCreateObjectModule({ activate: CreateObject }),
|
|
22
|
+
AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),
|
|
23
|
+
AppPlugin.addSchemaModule({
|
|
24
|
+
schema: [
|
|
25
|
+
Chat.Chat,
|
|
26
|
+
Chat.CompanionTo,
|
|
27
|
+
Blueprint.Blueprint,
|
|
28
|
+
ContextBinding,
|
|
29
|
+
Feed.Feed,
|
|
30
|
+
HasSubject.HasSubject,
|
|
31
|
+
Message.Message,
|
|
32
|
+
Routine.Routine,
|
|
33
|
+
Agent.Agent,
|
|
34
|
+
McpServer.McpServer,
|
|
35
|
+
Plan.Plan,
|
|
36
|
+
Sequence,
|
|
37
|
+
Memory.Memory,
|
|
38
|
+
Text.Text,
|
|
39
|
+
],
|
|
40
|
+
}),
|
|
41
|
+
Plugin.make,
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
export default AssistantPlugin;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { describe, test } from 'vitest';
|
|
6
|
+
|
|
7
|
+
import { AppActivationEvents } from '@dxos/app-toolkit/events';
|
|
8
|
+
import { ClientPlugin } from '@dxos/plugin-client';
|
|
9
|
+
import { createComposerTestApp } from '@dxos/plugin-testing/harness';
|
|
10
|
+
|
|
11
|
+
import { AssistantPlugin } from '#plugin';
|
|
12
|
+
|
|
13
|
+
import { meta } from './meta';
|
|
14
|
+
|
|
15
|
+
const moduleId = (name: string) => `${meta.id}.module.${name}`;
|
|
16
|
+
|
|
17
|
+
describe('AssistantPlugin', () => {
|
|
18
|
+
test('modules activate on the expected events', async ({ expect }) => {
|
|
19
|
+
await using harness = await createComposerTestApp({
|
|
20
|
+
plugins: [ClientPlugin({}), AssistantPlugin()],
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
// After autoStart: AppGraphBuilder, CreateObject, schema, OperationHandler all auto-cascade.
|
|
24
|
+
expect(harness.manager.getActive()).toEqual(
|
|
25
|
+
expect.arrayContaining([moduleId('AppGraphBuilder'), moduleId('CreateObject'), moduleId('schema')]),
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
// AssistantPlugin fires SetupArtifactDefinition itself, so it can test its own blueprint.
|
|
29
|
+
await harness.fire(AppActivationEvents.SetupArtifactDefinition);
|
|
30
|
+
expect(harness.manager.getActive()).toContain(moduleId('BlueprintDefinition'));
|
|
31
|
+
|
|
32
|
+
// OperationHandler auto-cascades from OperationPlugin.
|
|
33
|
+
expect(harness.manager.getActive()).toContain(moduleId('OperationHandler'));
|
|
34
|
+
});
|
|
35
|
+
});
|
package/src/AssistantPlugin.tsx
CHANGED
|
@@ -4,114 +4,75 @@
|
|
|
4
4
|
|
|
5
5
|
import * as Effect from 'effect/Effect';
|
|
6
6
|
|
|
7
|
-
import { ActivationEvents, Capability, Plugin } from '@dxos/app-framework';
|
|
7
|
+
import { ActivationEvent, ActivationEvents, Capability, Plugin } from '@dxos/app-framework';
|
|
8
8
|
import { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { ContextBinding } from '@dxos/assistant';
|
|
10
|
+
import { Agent, Chat, McpServer, Memory, Plan } from '@dxos/assistant-toolkit';
|
|
11
|
+
import { Blueprint, Operation, Routine } from '@dxos/compute';
|
|
11
12
|
import { Sequence } from '@dxos/conductor';
|
|
12
|
-
import {
|
|
13
|
-
import { type SpaceId } from '@dxos/keys';
|
|
14
|
-
import { Operation } from '@dxos/operation';
|
|
15
|
-
import { AutomationCapabilities } from '@dxos/plugin-automation/types';
|
|
13
|
+
import { Feed } from '@dxos/echo';
|
|
16
14
|
import { ClientEvents } from '@dxos/plugin-client/types';
|
|
15
|
+
import { DeckEvents } from '@dxos/plugin-deck/types';
|
|
16
|
+
import { MarkdownEvents } from '@dxos/plugin-markdown/types';
|
|
17
17
|
import { SpaceCapabilities, SpaceEvents } from '@dxos/plugin-space/types';
|
|
18
|
-
import {
|
|
19
|
-
import { HasSubject } from '@dxos/types';
|
|
18
|
+
import { Text } from '@dxos/schema';
|
|
19
|
+
import { HasSubject, Message } from '@dxos/types';
|
|
20
20
|
|
|
21
21
|
import {
|
|
22
22
|
AiService,
|
|
23
23
|
AppGraphBuilder,
|
|
24
24
|
AssistantState,
|
|
25
25
|
BlueprintDefinition,
|
|
26
|
+
CompanionChatProvisioner,
|
|
27
|
+
CreateObject,
|
|
26
28
|
EdgeModelResolver,
|
|
27
29
|
LocalModelResolver,
|
|
28
|
-
|
|
30
|
+
MarkdownExtension,
|
|
31
|
+
Migrations,
|
|
32
|
+
OperationHandler,
|
|
29
33
|
ReactSurface,
|
|
30
|
-
Repair,
|
|
31
34
|
Settings,
|
|
32
35
|
Toolkit,
|
|
33
|
-
} from '
|
|
34
|
-
import { meta } from '
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
36
|
+
} from '#capabilities';
|
|
37
|
+
import { meta } from '#meta';
|
|
38
|
+
import { AssistantOperation } from '#operations';
|
|
39
|
+
import { translations } from '#translations';
|
|
40
|
+
import { AssistantEvents } from '#types';
|
|
37
41
|
|
|
38
42
|
export const AssistantPlugin = Plugin.define(meta).pipe(
|
|
39
43
|
AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),
|
|
40
44
|
AppPlugin.addBlueprintDefinitionModule({ activate: BlueprintDefinition }),
|
|
41
|
-
AppPlugin.
|
|
42
|
-
|
|
43
|
-
{
|
|
44
|
-
id: Type.getTypename(Chat.Chat),
|
|
45
|
-
metadata: {
|
|
46
|
-
icon: 'ph--atom--regular',
|
|
47
|
-
iconHue: 'sky',
|
|
48
|
-
createObject: ((props) => Effect.sync(() => Chat.make(props))) satisfies CreateObject,
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
id: Type.getTypename(Blueprint.Blueprint),
|
|
53
|
-
metadata: {
|
|
54
|
-
icon: 'ph--blueprint--regular',
|
|
55
|
-
iconHue: 'sky',
|
|
56
|
-
inputSchema: AssistantOperation.BlueprintForm,
|
|
57
|
-
createObject: ((props) => Effect.sync(() => Blueprint.make(props))) satisfies CreateObject,
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
id: Type.getTypename(Prompt.Prompt),
|
|
62
|
-
metadata: {
|
|
63
|
-
icon: 'ph--scroll--regular',
|
|
64
|
-
iconHue: 'sky',
|
|
65
|
-
createObject: ((props) => Effect.sync(() => Prompt.make(props))) satisfies CreateObject,
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
id: Type.getTypename(Sequence),
|
|
70
|
-
metadata: {
|
|
71
|
-
icon: 'ph--circuitry--regular',
|
|
72
|
-
iconHue: 'sky',
|
|
73
|
-
createObject: ((props) => Effect.sync(() => Obj.make(Sequence, props))) satisfies CreateObject,
|
|
74
|
-
addToCollectionOnCreate: true,
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
id: Type.getTypename(Initiative.Initiative),
|
|
79
|
-
metadata: {
|
|
80
|
-
icon: 'ph--circuitry--regular',
|
|
81
|
-
iconHue: 'sky',
|
|
82
|
-
createObject: ((_, { db }) =>
|
|
83
|
-
Initiative.makeInitialized(
|
|
84
|
-
{
|
|
85
|
-
name: 'New Initiative',
|
|
86
|
-
spec: 'Not specified yet',
|
|
87
|
-
},
|
|
88
|
-
Initiative.makeBlueprint(),
|
|
89
|
-
).pipe(withComputeRuntime(db.spaceId))) satisfies CreateObject,
|
|
90
|
-
addToCollectionOnCreate: true,
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
],
|
|
94
|
-
}),
|
|
95
|
-
AppPlugin.addOperationResolverModule({ activate: OperationResolver }),
|
|
45
|
+
AppPlugin.addCreateObjectModule({ activate: CreateObject }),
|
|
46
|
+
AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),
|
|
96
47
|
AppPlugin.addSchemaModule({
|
|
97
48
|
schema: [
|
|
98
49
|
Chat.Chat,
|
|
99
50
|
Chat.CompanionTo,
|
|
100
51
|
Blueprint.Blueprint,
|
|
52
|
+
ContextBinding,
|
|
53
|
+
Feed.Feed,
|
|
101
54
|
HasSubject.HasSubject,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
55
|
+
Message.Message,
|
|
56
|
+
Routine.Routine,
|
|
57
|
+
Agent.Agent,
|
|
58
|
+
McpServer.McpServer,
|
|
59
|
+
Plan.Plan,
|
|
106
60
|
Sequence,
|
|
61
|
+
Memory.Memory,
|
|
62
|
+
Text.Text,
|
|
107
63
|
],
|
|
108
64
|
}),
|
|
109
65
|
AppPlugin.addSettingsModule({ activate: Settings }),
|
|
110
66
|
AppPlugin.addSurfaceModule({
|
|
111
67
|
activate: ReactSurface,
|
|
112
|
-
|
|
68
|
+
firesBeforeActivation: [AppActivationEvents.SetupArtifactDefinition],
|
|
113
69
|
}),
|
|
114
70
|
AppPlugin.addTranslationsModule({ translations }),
|
|
71
|
+
Plugin.addModule({
|
|
72
|
+
id: 'markdown',
|
|
73
|
+
activatesOn: MarkdownEvents.SetupExtensions,
|
|
74
|
+
activate: MarkdownExtension,
|
|
75
|
+
}),
|
|
115
76
|
Plugin.addModule({
|
|
116
77
|
// TODO(wittjosiah): Does not integrate with settings store.
|
|
117
78
|
// Should this be a different event?
|
|
@@ -129,10 +90,6 @@ export const AssistantPlugin = Plugin.define(meta).pipe(
|
|
|
129
90
|
),
|
|
130
91
|
),
|
|
131
92
|
}),
|
|
132
|
-
Plugin.addModule({
|
|
133
|
-
activatesOn: ClientEvents.SpacesReady,
|
|
134
|
-
activate: Repair,
|
|
135
|
-
}),
|
|
136
93
|
Plugin.addModule({
|
|
137
94
|
activatesOn: AssistantEvents.SetupAiServiceProviders,
|
|
138
95
|
activate: EdgeModelResolver,
|
|
@@ -142,7 +99,7 @@ export const AssistantPlugin = Plugin.define(meta).pipe(
|
|
|
142
99
|
activate: LocalModelResolver,
|
|
143
100
|
}),
|
|
144
101
|
Plugin.addModule({
|
|
145
|
-
|
|
102
|
+
firesBeforeActivation: [AssistantEvents.SetupAiServiceProviders],
|
|
146
103
|
// TODO(dmaretskyi): This should activate lazily when the AI chat is used.
|
|
147
104
|
activatesOn: ActivationEvents.Startup,
|
|
148
105
|
activate: AiService,
|
|
@@ -152,18 +109,19 @@ export const AssistantPlugin = Plugin.define(meta).pipe(
|
|
|
152
109
|
activatesOn: ActivationEvents.Startup,
|
|
153
110
|
activate: Toolkit,
|
|
154
111
|
}),
|
|
112
|
+
Plugin.addModule({
|
|
113
|
+
activatesOn: ActivationEvent.allOf(
|
|
114
|
+
ActivationEvents.OperationInvokerReady,
|
|
115
|
+
AppActivationEvents.AppGraphReady,
|
|
116
|
+
DeckEvents.StateReady,
|
|
117
|
+
),
|
|
118
|
+
activate: CompanionChatProvisioner,
|
|
119
|
+
}),
|
|
120
|
+
Plugin.addModule({
|
|
121
|
+
activatesOn: ClientEvents.SetupMigration,
|
|
122
|
+
activate: Migrations,
|
|
123
|
+
}),
|
|
155
124
|
Plugin.make,
|
|
156
125
|
);
|
|
157
126
|
|
|
158
|
-
|
|
159
|
-
const withComputeRuntime =
|
|
160
|
-
(spaceId: SpaceId) =>
|
|
161
|
-
<A, E, R>(
|
|
162
|
-
effect: Effect.Effect<A, E, R>,
|
|
163
|
-
): Effect.Effect<A, E, Exclude<R, AutomationCapabilities.ComputeServices> | Capability.Service> =>
|
|
164
|
-
Effect.gen(function* () {
|
|
165
|
-
// TODO(dmaretskyi): Capability.get has `Error` in the error channel. We should throw those as defects instead.
|
|
166
|
-
const provider = yield* Capability.get(AutomationCapabilities.ComputeRuntime).pipe(Effect.orDie);
|
|
167
|
-
const runtime = yield* provider.getRuntime(spaceId).runtimeEffect;
|
|
168
|
-
return yield* effect.pipe(Effect.provide(runtime));
|
|
169
|
-
});
|
|
127
|
+
export default AssistantPlugin;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { describe, it } from '@effect/vitest';
|
|
6
|
+
import * as Effect from 'effect/Effect';
|
|
7
|
+
|
|
8
|
+
import { DatabaseBlueprint, DatabaseHandlers } from '@dxos/assistant-toolkit';
|
|
9
|
+
import { Blueprint } from '@dxos/compute';
|
|
10
|
+
import { Feed } from '@dxos/echo';
|
|
11
|
+
import { TestHelpers } from '@dxos/effect/testing';
|
|
12
|
+
import { AgentService } from '@dxos/functions-runtime';
|
|
13
|
+
import { AssistantTestLayer } from '@dxos/functions-runtime/testing';
|
|
14
|
+
import { ObjectId } from '@dxos/keys';
|
|
15
|
+
import { Organization } from '@dxos/types';
|
|
16
|
+
|
|
17
|
+
import AssistantBlueprint from './blueprint';
|
|
18
|
+
|
|
19
|
+
ObjectId.dangerouslyDisableRandomness();
|
|
20
|
+
|
|
21
|
+
const TestLayer = AssistantTestLayer({
|
|
22
|
+
aiServicePreset: 'edge-remote',
|
|
23
|
+
operationHandlers: DatabaseHandlers,
|
|
24
|
+
types: [Organization.Organization, Blueprint.Blueprint, Feed.Feed],
|
|
25
|
+
blueprints: [AssistantBlueprint.make(), DatabaseBlueprint.make()],
|
|
26
|
+
tracing: 'pretty',
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
describe('Assistant Blueprint', () => {
|
|
30
|
+
// TODO(dmaretskyi): Regenerate memoized conversation with ALLOW_LLM_GENERATION=1.
|
|
31
|
+
it.effect.skip(
|
|
32
|
+
'works with Database blueprint to create objects',
|
|
33
|
+
Effect.fnUntraced(
|
|
34
|
+
function* (_) {
|
|
35
|
+
const agent = yield* AgentService.createSession({
|
|
36
|
+
blueprints: [AssistantBlueprint.make(), DatabaseBlueprint.make()],
|
|
37
|
+
});
|
|
38
|
+
yield* agent.submitPrompt('Create a new organization called "Test Corp".');
|
|
39
|
+
yield* agent.waitForCompletion();
|
|
40
|
+
},
|
|
41
|
+
Effect.provide(TestLayer),
|
|
42
|
+
TestHelpers.provideTestContext,
|
|
43
|
+
),
|
|
44
|
+
{ timeout: 60_000 },
|
|
45
|
+
);
|
|
46
|
+
});
|