@dxos/plugin-assistant 0.8.4-main.5acf9ea → 0.8.4-main.5ea62a8
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/{BlueprintContainer-IZ4AK5EO.mjs → BlueprintContainer-OWUSKPRK.mjs} +4 -3
- package/dist/lib/browser/ChatCompanion-FRCVSLPP.mjs +126 -0
- package/dist/lib/browser/ChatCompanion-FRCVSLPP.mjs.map +7 -0
- package/dist/lib/browser/{ChatContainer-RP3QEXYX.mjs → ChatContainer-YBJBIVUZ.mjs} +34 -13
- package/dist/lib/browser/ChatContainer-YBJBIVUZ.mjs.map +7 -0
- package/dist/lib/browser/{ChatDialog-ZVLXFHEY.mjs → ChatDialog-MTPJLEHM.mjs} +26 -9
- package/dist/lib/browser/ChatDialog-MTPJLEHM.mjs.map +7 -0
- package/dist/lib/browser/{SequenceContainer-3UDVKWPA.mjs → SequenceContainer-TF5QNXYM.mjs} +5 -17
- package/dist/lib/browser/SequenceContainer-TF5QNXYM.mjs.map +7 -0
- package/dist/lib/browser/ai-service-NRZPTUHO.mjs +22 -0
- package/dist/lib/browser/ai-service-NRZPTUHO.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-XSEOKJLG.mjs → app-graph-builder-7AAWTWGA.mjs} +25 -36
- package/dist/lib/browser/app-graph-builder-7AAWTWGA.mjs.map +7 -0
- package/dist/lib/browser/blueprint-definition-CRZPIA5A.mjs +12 -0
- package/dist/lib/browser/blueprint-definition-CRZPIA5A.mjs.map +7 -0
- package/dist/lib/browser/chunk-6QMISAU6.mjs +167 -0
- package/dist/lib/browser/chunk-6QMISAU6.mjs.map +7 -0
- package/dist/lib/browser/{chunk-LERGF5YG.mjs → chunk-CFXXQM25.mjs} +96 -22
- package/dist/lib/browser/chunk-CFXXQM25.mjs.map +7 -0
- package/dist/lib/browser/chunk-IJAJRAR7.mjs +18 -0
- package/dist/lib/browser/chunk-IJAJRAR7.mjs.map +7 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/browser/chunk-O4LUJEDV.mjs +20 -0
- package/dist/lib/browser/{chunk-FDCJSQYF.mjs.map → chunk-O4LUJEDV.mjs.map} +2 -2
- package/dist/lib/browser/chunk-OYFQS7JM.mjs +157 -0
- package/dist/lib/browser/chunk-OYFQS7JM.mjs.map +7 -0
- package/dist/lib/browser/chunk-SMIVXXAI.mjs +202 -0
- package/dist/lib/browser/chunk-SMIVXXAI.mjs.map +7 -0
- package/dist/lib/browser/chunk-V5H5CCZA.mjs +218 -0
- package/dist/lib/browser/chunk-V5H5CCZA.mjs.map +7 -0
- package/dist/lib/browser/chunk-XL557TXF.mjs +2332 -0
- package/dist/lib/browser/chunk-XL557TXF.mjs.map +7 -0
- package/dist/lib/browser/edge-model-resolver-E5M3CC46.mjs +22 -0
- package/dist/lib/browser/edge-model-resolver-E5M3CC46.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +134 -59
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/intent-resolver-BQO5SVGI.mjs +112 -0
- package/dist/lib/browser/intent-resolver-BQO5SVGI.mjs.map +7 -0
- package/dist/lib/browser/local-model-resolver-VZ5WZQIC.mjs +21 -0
- package/dist/lib/browser/local-model-resolver-VZ5WZQIC.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-3GYEHQRP.mjs → react-surface-VNCD2H7C.mjs} +25 -66
- package/dist/lib/browser/react-surface-VNCD2H7C.mjs.map +7 -0
- package/dist/lib/browser/{settings-5GTTCVGD.mjs → settings-36V3VUMW.mjs} +6 -5
- package/dist/lib/{node-esm/settings-J2EXEM5H.mjs.map → browser/settings-36V3VUMW.mjs.map} +1 -1
- package/dist/lib/browser/state-D5IVKNYG.mjs +21 -0
- package/dist/lib/browser/state-D5IVKNYG.mjs.map +7 -0
- package/dist/lib/browser/toolkit-Y5OYX5PO.mjs +191 -0
- package/dist/lib/browser/toolkit-Y5OYX5PO.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +7 -4
- package/dist/lib/node-esm/{BlueprintContainer-RGTMNLNX.mjs → BlueprintContainer-UFVWCRN6.mjs} +4 -3
- package/dist/lib/{browser/BlueprintContainer-IZ4AK5EO.mjs.map → node-esm/BlueprintContainer-UFVWCRN6.mjs.map} +1 -1
- package/dist/lib/node-esm/ChatCompanion-ZNRZEKH5.mjs +127 -0
- package/dist/lib/node-esm/ChatCompanion-ZNRZEKH5.mjs.map +7 -0
- package/dist/lib/node-esm/{ChatContainer-W3W6FWV3.mjs → ChatContainer-TUCITJJW.mjs} +34 -13
- package/dist/lib/node-esm/ChatContainer-TUCITJJW.mjs.map +7 -0
- package/dist/lib/node-esm/{ChatDialog-QW4JRKVO.mjs → ChatDialog-JLM7RDZQ.mjs} +26 -9
- package/dist/lib/node-esm/ChatDialog-JLM7RDZQ.mjs.map +7 -0
- package/dist/lib/node-esm/{SequenceContainer-RQQH5XOC.mjs → SequenceContainer-UXOVZPZO.mjs} +5 -17
- package/dist/lib/node-esm/SequenceContainer-UXOVZPZO.mjs.map +7 -0
- package/dist/lib/node-esm/ai-service-UDEPIPTO.mjs +23 -0
- package/dist/lib/node-esm/ai-service-UDEPIPTO.mjs.map +7 -0
- package/dist/lib/node-esm/{app-graph-builder-PANCJUHV.mjs → app-graph-builder-PNAFQUYT.mjs} +25 -36
- package/dist/lib/node-esm/app-graph-builder-PNAFQUYT.mjs.map +7 -0
- package/dist/lib/node-esm/blueprint-definition-275J3XL2.mjs +13 -0
- package/dist/lib/node-esm/blueprint-definition-275J3XL2.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-2X6VEO32.mjs +2333 -0
- package/dist/lib/node-esm/chunk-2X6VEO32.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-7YOGZI66.mjs +203 -0
- package/dist/lib/node-esm/chunk-7YOGZI66.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-CAQKGW3B.mjs +159 -0
- package/dist/lib/node-esm/chunk-CAQKGW3B.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-MS3PJARN.mjs → chunk-FNZJJL7G.mjs} +96 -22
- package/dist/lib/node-esm/chunk-FNZJJL7G.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-RLBN4RNR.mjs +168 -0
- package/dist/lib/node-esm/chunk-RLBN4RNR.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-UWUUZQWJ.mjs +219 -0
- package/dist/lib/node-esm/chunk-UWUUZQWJ.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-VFY2JG62.mjs +22 -0
- package/dist/lib/node-esm/{chunk-QN2H2EHV.mjs.map → chunk-VFY2JG62.mjs.map} +2 -2
- package/dist/lib/node-esm/chunk-YPXEA46Q.mjs +19 -0
- package/dist/lib/node-esm/chunk-YPXEA46Q.mjs.map +7 -0
- package/dist/lib/node-esm/edge-model-resolver-SZHDLXCT.mjs +23 -0
- package/dist/lib/node-esm/edge-model-resolver-SZHDLXCT.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +134 -59
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/intent-resolver-FIS3T5KP.mjs +113 -0
- package/dist/lib/node-esm/intent-resolver-FIS3T5KP.mjs.map +7 -0
- package/dist/lib/node-esm/local-model-resolver-2KCBKMYA.mjs +22 -0
- package/dist/lib/node-esm/local-model-resolver-2KCBKMYA.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-QDQWJ7FZ.mjs → react-surface-4NLRKNBU.mjs} +25 -66
- package/dist/lib/node-esm/react-surface-4NLRKNBU.mjs.map +7 -0
- package/dist/lib/node-esm/{settings-J2EXEM5H.mjs → settings-7ZCZ6AS5.mjs} +6 -5
- package/dist/lib/{browser/settings-5GTTCVGD.mjs.map → node-esm/settings-7ZCZ6AS5.mjs.map} +1 -1
- package/dist/lib/node-esm/state-4VLKPLW3.mjs +22 -0
- package/dist/lib/node-esm/state-4VLKPLW3.mjs.map +7 -0
- package/dist/lib/node-esm/toolkit-2F2OL6WB.mjs +192 -0
- package/dist/lib/node-esm/toolkit-2F2OL6WB.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +7 -4
- package/dist/types/src/AssistantPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/ai-service.d.ts +5 -0
- package/dist/types/src/capabilities/ai-service.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +7 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/capabilities.d.ts +19 -0
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -0
- package/dist/types/src/capabilities/edge-model-resolver.d.ts +4 -0
- package/dist/types/src/capabilities/edge-model-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +11 -3
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/local-model-resolver.d.ts +10 -0
- package/dist/types/src/capabilities/local-model-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +1 -1
- package/dist/types/src/capabilities/state.d.ts +4 -0
- package/dist/types/src/capabilities/state.d.ts.map +1 -0
- package/dist/types/src/capabilities/toolkit.d.ts +4 -0
- package/dist/types/src/capabilities/toolkit.d.ts.map +1 -0
- package/dist/types/src/components/AssistantSettings/AssistantSettings.d.ts.map +1 -1
- package/dist/types/src/components/Chat/Chat.d.ts +19 -16
- package/dist/types/src/components/Chat/Chat.d.ts.map +1 -1
- package/dist/types/src/components/Chat/events.d.ts +5 -0
- package/dist/types/src/components/Chat/events.d.ts.map +1 -1
- package/dist/types/src/components/ChatCompanion.d.ts +13 -0
- package/dist/types/src/components/ChatCompanion.d.ts.map +1 -0
- package/dist/types/src/components/ChatContainer.d.ts +4 -4
- package/dist/types/src/components/ChatContainer.d.ts.map +1 -1
- package/dist/types/src/components/ChatDialog.d.ts.map +1 -1
- package/dist/types/src/components/ChatProgress/ChatProgress.d.ts +7 -0
- package/dist/types/src/components/ChatProgress/ChatProgress.d.ts.map +1 -0
- package/dist/types/src/components/ChatProgress/index.d.ts +2 -0
- package/dist/types/src/components/ChatProgress/index.d.ts.map +1 -0
- package/dist/types/src/components/ChatPrompt/ChatActions.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatOptions.d.ts +20 -0
- package/dist/types/src/components/ChatPrompt/ChatOptions.d.ts.map +1 -0
- package/dist/types/src/components/ChatPrompt/ChatPresets.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatReferences.d.ts +4 -5
- package/dist/types/src/components/ChatPrompt/ChatReferences.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatStatusIndicator.d.ts +6 -4
- package/dist/types/src/components/ChatPrompt/ChatStatusIndicator.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/index.d.ts +1 -1
- package/dist/types/src/components/ChatPrompt/index.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/ChatMessage.d.ts +21 -5
- package/dist/types/src/components/ChatThread/ChatMessage.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/ChatThread.d.ts +4 -4
- package/dist/types/src/components/ChatThread/ChatThread.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts +108 -30
- package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/Link.d.ts +9 -0
- package/dist/types/src/components/ChatThread/Link.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/ToolBlock.d.ts +12 -12
- package/dist/types/src/components/ChatThread/ToolBlock.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/reducers.d.ts +40 -0
- package/dist/types/src/components/ChatThread/reducers.d.ts.map +1 -0
- package/dist/types/src/components/PromptSettings.d.ts.map +1 -1
- package/dist/types/src/components/SequenceContainer.d.ts.map +1 -1
- package/dist/types/src/components/SequenceEditor/SequenceEditor.d.ts.map +1 -1
- package/dist/types/src/components/SequenceEditor/SequenceEditor.stories.d.ts +257 -2
- package/dist/types/src/components/SequenceEditor/SequenceEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts +0 -5
- package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts +257 -6
- package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts +254 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/handlebars-extension.d.ts +12 -0
- package/dist/types/src/components/TemplateEditor/handlebars-extension.d.ts.map +1 -0
- package/dist/types/src/components/Toolbar/Toolbar.d.ts +4 -0
- package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +1 -0
- package/dist/types/src/components/Toolbar/index.d.ts +2 -0
- package/dist/types/src/components/Toolbar/index.d.ts.map +1 -0
- package/dist/types/src/components/Toolbar/useChatToolbarActions.d.ts +11 -0
- package/dist/types/src/components/Toolbar/useChatToolbarActions.d.ts.map +1 -0
- package/dist/types/src/components/Toolbox/Toolbox.d.ts +4 -9
- package/dist/types/src/components/Toolbox/Toolbox.d.ts.map +1 -1
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts +258 -4
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +4 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/events.d.ts +1 -1
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/execution-graph/execution-graph.d.ts +21 -0
- package/dist/types/src/execution-graph/execution-graph.d.ts.map +1 -0
- package/dist/types/src/execution-graph/index.d.ts +2 -0
- package/dist/types/src/execution-graph/index.d.ts.map +1 -0
- package/dist/types/src/functions/analysis.d.ts +5 -0
- package/dist/types/src/functions/analysis.d.ts.map +1 -0
- package/dist/types/src/functions/index.d.ts +4 -0
- package/dist/types/src/functions/index.d.ts.map +1 -0
- package/dist/types/src/functions/list.d.ts +10 -0
- package/dist/types/src/functions/list.d.ts.map +1 -0
- package/dist/types/src/functions/load.d.ts +8 -0
- package/dist/types/src/functions/load.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +10 -3
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useBlueprintRegistry.d.ts +24 -0
- package/dist/types/src/hooks/useBlueprintRegistry.d.ts.map +1 -0
- package/dist/types/src/hooks/useChatProcessor.d.ts +7 -20
- package/dist/types/src/hooks/useChatProcessor.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatServices.d.ts +4 -5
- package/dist/types/src/hooks/useChatServices.d.ts.map +1 -1
- package/dist/types/src/hooks/useContextBinder.d.ts +4 -0
- package/dist/types/src/hooks/useContextBinder.d.ts.map +1 -0
- package/dist/types/src/hooks/useContextObjects.d.ts +15 -0
- package/dist/types/src/hooks/useContextObjects.d.ts.map +1 -0
- package/dist/types/src/hooks/useExecutionGraph.d.ts +7 -0
- package/dist/types/src/hooks/useExecutionGraph.d.ts.map +1 -0
- package/dist/types/src/hooks/useFlush.d.ts +6 -0
- package/dist/types/src/hooks/useFlush.d.ts.map +1 -0
- package/dist/types/src/hooks/useItemTypes.d.ts +4 -0
- package/dist/types/src/hooks/useItemTypes.d.ts.map +1 -0
- package/dist/types/src/hooks/useMatcherExtension.d.ts +3 -0
- package/dist/types/src/hooks/useMatcherExtension.d.ts.map +1 -0
- package/dist/types/src/hooks/useOnline.d.ts +3 -0
- package/dist/types/src/hooks/useOnline.d.ts.map +1 -0
- package/dist/types/src/hooks/usePresets.d.ts +7 -0
- package/dist/types/src/hooks/usePresets.d.ts.map +1 -0
- package/dist/types/src/hooks/useReferencesProvider.d.ts.map +1 -1
- package/dist/types/src/hooks/useResolveRef.d.ts +4 -0
- package/dist/types/src/hooks/useResolveRef.d.ts.map +1 -0
- package/dist/types/src/parser/filter-generator.d.ts.map +1 -1
- package/dist/types/src/parser/query-parser.d.ts.map +1 -1
- package/dist/types/src/parser/types.d.ts.map +1 -1
- package/dist/types/src/processor/index.d.ts +3 -0
- package/dist/types/src/processor/index.d.ts.map +1 -0
- package/dist/types/src/{hooks → processor}/presets.d.ts +2 -2
- package/dist/types/src/processor/presets.d.ts.map +1 -0
- package/dist/types/src/processor/processor.d.ts +80 -0
- package/dist/types/src/processor/processor.d.ts.map +1 -0
- package/dist/types/src/processor/processor.test.d.ts +2 -0
- package/dist/types/src/processor/processor.test.d.ts.map +1 -0
- package/dist/types/src/stories/Chat.stories.d.ts +22 -203
- package/dist/types/src/stories/Chat.stories.d.ts.map +1 -1
- package/dist/types/src/stories/components/BlueprintContainer.d.ts +4 -0
- package/dist/types/src/stories/components/BlueprintContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/ChatContainer.d.ts +4 -0
- package/dist/types/src/stories/components/ChatContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/CommentsContainer.d.ts +4 -0
- package/dist/types/src/stories/components/CommentsContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/GraphContainer.d.ts +6 -0
- package/dist/types/src/stories/components/GraphContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/LoggingContainer.d.ts +4 -0
- package/dist/types/src/stories/components/LoggingContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/MessageContainer.d.ts +4 -0
- package/dist/types/src/stories/components/MessageContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/SurfaceContainer.d.ts +8 -0
- package/dist/types/src/stories/components/SurfaceContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/TasksContainer.d.ts +4 -0
- package/dist/types/src/stories/components/TasksContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/TokenManagerContainer.d.ts +3 -0
- package/dist/types/src/stories/components/TokenManagerContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/index.d.ts +11 -0
- package/dist/types/src/stories/components/index.d.ts.map +1 -0
- package/dist/types/src/stories/components/types.d.ts +7 -0
- package/dist/types/src/stories/components/types.d.ts.map +1 -0
- package/dist/types/src/stories/testing/data.d.ts +5 -0
- package/dist/types/src/stories/testing/data.d.ts.map +1 -0
- package/dist/types/src/stories/testing/index.d.ts +3 -0
- package/dist/types/src/stories/testing/index.d.ts.map +1 -0
- package/dist/types/src/stories/testing/testing.d.ts +44 -0
- package/dist/types/src/stories/testing/testing.d.ts.map +1 -0
- package/dist/types/src/testing/index.d.ts +2 -1
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/test-data.d.ts +4 -0
- package/dist/types/src/testing/test-data.d.ts.map +1 -0
- package/dist/types/src/testing/test-functions.d.ts +5 -2
- package/dist/types/src/testing/test-functions.d.ts.map +1 -1
- package/dist/types/src/testing/test-sequence.d.ts +0 -4
- package/dist/types/src/testing/test-sequence.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +26 -11
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Assistant.d.ts +42 -0
- package/dist/types/src/types/Assistant.d.ts.map +1 -0
- package/dist/types/src/types/AssistantAction.d.ts +107 -0
- package/dist/types/src/types/AssistantAction.d.ts.map +1 -0
- package/dist/types/src/types/defs.d.ts +2 -0
- package/dist/types/src/types/defs.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +3 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/service.d.ts +9 -6
- package/dist/types/src/types/service.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +99 -81
- package/src/AssistantPlugin.tsx +52 -16
- package/src/capabilities/ai-service.ts +28 -0
- package/src/capabilities/app-graph-builder.ts +41 -48
- package/src/capabilities/blueprint-definition.ts +42 -0
- package/src/capabilities/capabilities.ts +31 -0
- package/src/capabilities/edge-model-resolver.ts +27 -0
- package/src/capabilities/index.ts +9 -0
- package/src/capabilities/intent-resolver.ts +45 -23
- package/src/capabilities/local-model-resolver.ts +32 -0
- package/src/capabilities/react-surface.tsx +10 -57
- package/src/capabilities/state.ts +20 -0
- package/src/capabilities/toolkit.ts +163 -0
- package/src/components/AssistantSettings/AssistantSettings.tsx +83 -76
- package/src/components/Chat/Chat.tsx +171 -165
- package/src/components/Chat/events.ts +7 -0
- package/src/components/ChatCompanion.tsx +111 -0
- package/src/components/ChatContainer.tsx +19 -13
- package/src/components/ChatDialog.tsx +11 -7
- package/src/components/ChatProgress/ChatProgress.tsx +68 -0
- package/src/components/ChatProgress/index.ts +5 -0
- package/src/components/ChatPrompt/ChatActions.tsx +10 -24
- package/src/components/ChatPrompt/ChatOptions.tsx +233 -0
- package/src/components/ChatPrompt/ChatPresets.tsx +1 -0
- package/src/components/ChatPrompt/ChatReferences.tsx +31 -36
- package/src/components/ChatPrompt/ChatStatusIndicator.tsx +25 -22
- package/src/components/ChatPrompt/index.ts +1 -1
- package/src/components/ChatThread/ChatMessage.tsx +214 -148
- package/src/components/ChatThread/ChatThread.stories.tsx +244 -104
- package/src/components/ChatThread/ChatThread.tsx +44 -22
- package/src/components/ChatThread/Link.tsx +23 -0
- package/src/components/ChatThread/ToolBlock.tsx +103 -77
- package/src/components/ChatThread/reducers.ts +151 -0
- package/src/components/PromptSettings.tsx +1 -0
- package/src/components/SequenceContainer.tsx +27 -28
- package/src/components/SequenceEditor/SequenceEditor.stories.tsx +5 -4
- package/src/components/SequenceEditor/SequenceEditor.tsx +1 -1
- package/src/components/TemplateEditor/TemplateEditor.stories.tsx +25 -12
- package/src/components/TemplateEditor/TemplateEditor.tsx +14 -47
- package/src/components/TemplateEditor/TemplateForm.stories.tsx +12 -5
- package/src/components/TemplateEditor/TemplateForm.tsx +3 -1
- package/src/components/TemplateEditor/handlebars-extension.ts +165 -0
- package/src/components/Toolbar/Toolbar.tsx +20 -0
- package/src/components/Toolbar/index.ts +5 -0
- package/src/components/Toolbar/useChatToolbarActions.ts +125 -0
- package/src/components/Toolbox/Toolbox.stories.tsx +10 -16
- package/src/components/Toolbox/Toolbox.tsx +21 -51
- package/src/components/index.ts +3 -4
- package/src/events.ts +2 -2
- package/src/execution-graph/execution-graph.ts +211 -0
- package/src/execution-graph/index.ts +5 -0
- package/src/functions/analysis.ts +20 -0
- package/src/functions/index.ts +7 -0
- package/src/functions/list.ts +46 -0
- package/src/functions/load.ts +43 -0
- package/src/hooks/index.ts +10 -4
- package/src/hooks/useBlueprintRegistry.ts +80 -0
- package/src/hooks/useChatProcessor.ts +20 -97
- package/src/hooks/useChatServices.ts +29 -32
- package/src/hooks/useContextBinder.ts +18 -0
- package/src/hooks/useContextObjects.ts +58 -0
- package/src/hooks/useExecutionGraph.ts +20 -0
- package/src/hooks/useFlush.ts +35 -0
- package/src/hooks/useItemTypes.ts +37 -0
- package/src/hooks/useMatcherExtension.ts +45 -0
- package/src/hooks/useOnline.ts +10 -0
- package/src/hooks/usePresets.ts +44 -0
- package/src/hooks/useReferencesProvider.ts +11 -9
- package/src/hooks/useResolveRef.ts +33 -0
- package/src/meta.ts +1 -1
- package/src/parser/filter-generator.ts +8 -13
- package/src/parser/query-parser.ts +1 -1
- package/src/parser/types.ts +2 -0
- package/src/processor/index.ts +6 -0
- package/src/{hooks → processor}/presets.ts +14 -6
- package/src/processor/processor.test.ts +77 -0
- package/src/processor/processor.ts +304 -0
- package/src/queue-logger.ts +5 -5
- package/src/stories/Chat.stories.tsx +391 -293
- package/src/stories/components/BlueprintContainer.tsx +32 -0
- package/src/stories/components/ChatContainer.tsx +57 -0
- package/src/stories/components/CommentsContainer.tsx +25 -0
- package/src/stories/components/GraphContainer.tsx +118 -0
- package/src/stories/components/LoggingContainer.tsx +21 -0
- package/src/stories/components/MessageContainer.tsx +27 -0
- package/src/stories/components/SurfaceContainer.tsx +52 -0
- package/src/stories/components/TasksContainer.tsx +49 -0
- package/src/stories/components/TokenManagerContainer.tsx +14 -0
- package/src/stories/components/index.ts +15 -0
- package/src/stories/components/types.ts +11 -0
- package/src/stories/testing/data.ts +142 -0
- package/src/stories/testing/index.ts +6 -0
- package/src/stories/testing/testing.tsx +254 -0
- package/src/testing/index.ts +2 -1
- package/src/testing/test-data.ts +109 -0
- package/src/testing/test-functions.ts +8 -3
- package/src/testing/test-sequence.ts +2 -27
- package/src/translations.ts +30 -11
- package/src/types/Assistant.ts +61 -0
- package/src/types/AssistantAction.ts +62 -0
- package/src/types/defs.ts +5 -0
- package/src/types/index.ts +4 -1
- package/src/vite-env.d.ts +30 -0
- package/dist/lib/browser/ChatContainer-RP3QEXYX.mjs.map +0 -7
- package/dist/lib/browser/ChatDialog-ZVLXFHEY.mjs.map +0 -7
- package/dist/lib/browser/SequenceContainer-3UDVKWPA.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-XSEOKJLG.mjs.map +0 -7
- package/dist/lib/browser/chunk-63GG6U6D.mjs +0 -2226
- package/dist/lib/browser/chunk-63GG6U6D.mjs.map +0 -7
- package/dist/lib/browser/chunk-7W7LHTRH.mjs +0 -171
- package/dist/lib/browser/chunk-7W7LHTRH.mjs.map +0 -7
- package/dist/lib/browser/chunk-FDCJSQYF.mjs +0 -40
- package/dist/lib/browser/chunk-KFXSBNZR.mjs +0 -89
- package/dist/lib/browser/chunk-KFXSBNZR.mjs.map +0 -7
- package/dist/lib/browser/chunk-LERGF5YG.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-MV3VSZLS.mjs +0 -75
- package/dist/lib/browser/intent-resolver-MV3VSZLS.mjs.map +0 -7
- package/dist/lib/browser/react-surface-3GYEHQRP.mjs.map +0 -7
- package/dist/lib/node-esm/ChatContainer-W3W6FWV3.mjs.map +0 -7
- package/dist/lib/node-esm/ChatDialog-QW4JRKVO.mjs.map +0 -7
- package/dist/lib/node-esm/SequenceContainer-RQQH5XOC.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-PANCJUHV.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-BFO3KHYL.mjs +0 -2227
- package/dist/lib/node-esm/chunk-BFO3KHYL.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-MS3PJARN.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-QN2H2EHV.mjs +0 -41
- package/dist/lib/node-esm/chunk-VIIMA3XQ.mjs +0 -90
- package/dist/lib/node-esm/chunk-VIIMA3XQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-Z7PUODRT.mjs +0 -172
- package/dist/lib/node-esm/chunk-Z7PUODRT.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-3FMC3GHC.mjs +0 -76
- package/dist/lib/node-esm/intent-resolver-3FMC3GHC.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-QDQWJ7FZ.mjs.map +0 -7
- package/dist/types/src/capability-definitions.d.ts +0 -7
- package/dist/types/src/capability-definitions.d.ts.map +0 -1
- package/dist/types/src/components/ChatPrompt/ChatOptionsMenu.d.ts +0 -9
- package/dist/types/src/components/ChatPrompt/ChatOptionsMenu.d.ts.map +0 -1
- package/dist/types/src/components/ChatThread/reducer.d.ts +0 -12
- package/dist/types/src/components/ChatThread/reducer.d.ts.map +0 -1
- package/dist/types/src/hooks/chat-processor.d.ts +0 -86
- package/dist/types/src/hooks/chat-processor.d.ts.map +0 -1
- package/dist/types/src/hooks/chat-processor.test.d.ts +0 -2
- package/dist/types/src/hooks/chat-processor.test.d.ts.map +0 -1
- package/dist/types/src/hooks/presets.d.ts.map +0 -1
- package/dist/types/src/hooks/useBlueprints.d.ts +0 -9
- package/dist/types/src/hooks/useBlueprints.d.ts.map +0 -1
- package/dist/types/src/tools/function.d.ts +0 -5
- package/dist/types/src/tools/function.d.ts.map +0 -1
- package/dist/types/src/tools/index.d.ts +0 -3
- package/dist/types/src/tools/index.d.ts.map +0 -1
- package/dist/types/src/tools/openapi.d.ts +0 -10
- package/dist/types/src/tools/openapi.d.ts.map +0 -1
- package/dist/types/src/tools/openapi.test.d.ts +0 -2
- package/dist/types/src/tools/openapi.test.d.ts.map +0 -1
- package/dist/types/src/types/schema.d.ts +0 -120
- package/dist/types/src/types/schema.d.ts.map +0 -1
- package/src/capability-definitions.ts +0 -15
- package/src/components/ChatPrompt/ChatOptionsMenu.tsx +0 -52
- package/src/components/ChatThread/reducer.ts +0 -52
- package/src/hooks/chat-processor.test.ts +0 -16
- package/src/hooks/chat-processor.ts +0 -314
- package/src/hooks/useBlueprints.ts +0 -57
- package/src/shims.d.ts +0 -8
- package/src/tools/function.ts +0 -46
- package/src/tools/index.ts +0 -6
- package/src/tools/openapi.test.ts +0 -217
- package/src/tools/openapi.ts +0 -338
- package/src/types/schema.ts +0 -108
- package/src/typings.d.ts +0 -9
- /package/dist/lib/{node-esm/BlueprintContainer-RGTMNLNX.mjs.map → browser/BlueprintContainer-OWUSKPRK.mjs.map} +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.5ea62a8",
|
|
4
4
|
"description": "Assistant plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
"type": "module",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
+
"source": "./src/index.ts",
|
|
13
14
|
"types": "./dist/types/src/index.d.ts",
|
|
14
15
|
"browser": "./dist/lib/browser/index.mjs",
|
|
15
|
-
"node": "./dist/lib/node-esm/index.mjs"
|
|
16
|
-
"source": "./src/index.ts"
|
|
16
|
+
"node": "./dist/lib/node-esm/index.mjs"
|
|
17
17
|
},
|
|
18
18
|
"./types": {
|
|
19
|
+
"source": "./src/types/index.ts",
|
|
19
20
|
"types": "./dist/types/src/types/index.d.ts",
|
|
20
21
|
"browser": "./dist/lib/browser/types/index.mjs",
|
|
21
|
-
"node": "./dist/lib/node-esm/types/index.mjs"
|
|
22
|
-
"source": "./src/types/index.ts"
|
|
22
|
+
"node": "./dist/lib/node-esm/types/index.mjs"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"types": "dist/types/src/index.d.ts",
|
|
@@ -41,100 +41,118 @@
|
|
|
41
41
|
"@codemirror/search": "^6.5.6",
|
|
42
42
|
"@codemirror/state": "^6.4.1",
|
|
43
43
|
"@codemirror/view": "^6.34.1",
|
|
44
|
-
"@effect/ai": "0.
|
|
44
|
+
"@effect/ai": "0.25.2",
|
|
45
|
+
"@effect/ai-anthropic": "^0.16.1",
|
|
46
|
+
"@effect/ai-openai": "^0.29.1",
|
|
45
47
|
"@lezer/highlight": "^1.2.1",
|
|
48
|
+
"@lezer/markdown": "^1.3.1",
|
|
46
49
|
"@preact-signals/safe-react": "^0.9.0",
|
|
47
50
|
"@preact/signals-core": "^1.9.0",
|
|
48
51
|
"@preact/signals-react": "^3.2.0",
|
|
49
52
|
"@radix-ui/react-context": "1.1.1",
|
|
50
|
-
"
|
|
51
|
-
"effect": "3.17.0",
|
|
53
|
+
"effect": "3.17.7",
|
|
52
54
|
"exa-js": "^1.5.12",
|
|
53
55
|
"json5": "^2.2.3",
|
|
54
56
|
"jsonpointer": "^5.0.1",
|
|
55
57
|
"lodash.defaultsdeep": "^4.6.1",
|
|
56
58
|
"unified": "^11.0.0",
|
|
57
59
|
"use-deep-compare-effect": "^1.8.1",
|
|
58
|
-
"@dxos/ai": "0.8.4-main.
|
|
59
|
-
"@dxos/app-framework": "0.8.4-main.
|
|
60
|
-
"@dxos/assistant": "0.8.4-main.
|
|
61
|
-
"@dxos/async": "0.8.4-main.
|
|
62
|
-
"@dxos/blueprints": "0.8.4-main.
|
|
63
|
-
"@dxos/compute": "0.8.4-main.
|
|
64
|
-
"@dxos/
|
|
65
|
-
"@dxos/
|
|
66
|
-
"@dxos/
|
|
67
|
-
"@dxos/
|
|
68
|
-
"@dxos/
|
|
69
|
-
"@dxos/echo": "0.8.4-main.
|
|
70
|
-
"@dxos/
|
|
71
|
-
"@dxos/echo-
|
|
72
|
-
"@dxos/
|
|
73
|
-
"@dxos/
|
|
74
|
-
"@dxos/
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/
|
|
77
|
-
"@dxos/
|
|
78
|
-
"@dxos/
|
|
79
|
-
"@dxos/keys": "0.8.4-main.
|
|
80
|
-
"@dxos/
|
|
81
|
-
"@dxos/
|
|
82
|
-
"@dxos/
|
|
83
|
-
"@dxos/
|
|
84
|
-
"@dxos/plugin-
|
|
85
|
-
"@dxos/plugin-
|
|
86
|
-
"@dxos/plugin-
|
|
87
|
-
"@dxos/plugin-
|
|
88
|
-
"@dxos/plugin-
|
|
89
|
-
"@dxos/plugin-preview": "0.8.4-main.
|
|
90
|
-
"@dxos/plugin-script": "0.8.4-main.
|
|
91
|
-
"@dxos/plugin-
|
|
92
|
-
"@dxos/plugin-
|
|
93
|
-
"@dxos/plugin-
|
|
94
|
-
"@dxos/plugin-
|
|
95
|
-
"@dxos/plugin-transcription": "0.8.4-main.
|
|
96
|
-
"@dxos/
|
|
97
|
-
"@dxos/
|
|
98
|
-
"@dxos/
|
|
99
|
-
"@dxos/
|
|
100
|
-
"@dxos/react-
|
|
101
|
-
"@dxos/react-ui-
|
|
102
|
-
"@dxos/react-ui-
|
|
103
|
-
"@dxos/react-ui-
|
|
104
|
-
"@dxos/react-ui-editor": "0.8.4-main.
|
|
105
|
-
"@dxos/react-ui-form": "0.8.4-main.
|
|
106
|
-
"@dxos/react-ui-
|
|
107
|
-
"@dxos/react-ui-
|
|
108
|
-
"@dxos/react-ui-
|
|
109
|
-
"@dxos/react-ui-
|
|
110
|
-
"@dxos/react-ui-
|
|
111
|
-
"@dxos/react-ui-
|
|
112
|
-
"@dxos/
|
|
113
|
-
"@dxos/
|
|
60
|
+
"@dxos/ai": "0.8.4-main.5ea62a8",
|
|
61
|
+
"@dxos/app-framework": "0.8.4-main.5ea62a8",
|
|
62
|
+
"@dxos/assistant": "0.8.4-main.5ea62a8",
|
|
63
|
+
"@dxos/async": "0.8.4-main.5ea62a8",
|
|
64
|
+
"@dxos/blueprints": "0.8.4-main.5ea62a8",
|
|
65
|
+
"@dxos/compute": "0.8.4-main.5ea62a8",
|
|
66
|
+
"@dxos/conductor": "0.8.4-main.5ea62a8",
|
|
67
|
+
"@dxos/context": "0.8.4-main.5ea62a8",
|
|
68
|
+
"@dxos/debug": "0.8.4-main.5ea62a8",
|
|
69
|
+
"@dxos/devtools": "0.8.4-main.5ea62a8",
|
|
70
|
+
"@dxos/echo": "0.8.4-main.5ea62a8",
|
|
71
|
+
"@dxos/echo-protocol": "0.8.4-main.5ea62a8",
|
|
72
|
+
"@dxos/echo-db": "0.8.4-main.5ea62a8",
|
|
73
|
+
"@dxos/echo-schema": "0.8.4-main.5ea62a8",
|
|
74
|
+
"@dxos/edge-client": "0.8.4-main.5ea62a8",
|
|
75
|
+
"@dxos/effect": "0.8.4-main.5ea62a8",
|
|
76
|
+
"@dxos/functions": "0.8.4-main.5ea62a8",
|
|
77
|
+
"@dxos/client": "0.8.4-main.5ea62a8",
|
|
78
|
+
"@dxos/config": "0.8.4-main.5ea62a8",
|
|
79
|
+
"@dxos/graph": "0.8.4-main.5ea62a8",
|
|
80
|
+
"@dxos/invariant": "0.8.4-main.5ea62a8",
|
|
81
|
+
"@dxos/keys": "0.8.4-main.5ea62a8",
|
|
82
|
+
"@dxos/lit-ui": "0.8.4-main.5ea62a8",
|
|
83
|
+
"@dxos/live-object": "0.8.4-main.5ea62a8",
|
|
84
|
+
"@dxos/local-storage": "0.8.4-main.5ea62a8",
|
|
85
|
+
"@dxos/log": "0.8.4-main.5ea62a8",
|
|
86
|
+
"@dxos/plugin-board": "0.8.4-main.5ea62a8",
|
|
87
|
+
"@dxos/plugin-attention": "0.8.4-main.5ea62a8",
|
|
88
|
+
"@dxos/plugin-client": "0.8.4-main.5ea62a8",
|
|
89
|
+
"@dxos/plugin-deck": "0.8.4-main.5ea62a8",
|
|
90
|
+
"@dxos/plugin-explorer": "0.8.4-main.5ea62a8",
|
|
91
|
+
"@dxos/plugin-preview": "0.8.4-main.5ea62a8",
|
|
92
|
+
"@dxos/plugin-script": "0.8.4-main.5ea62a8",
|
|
93
|
+
"@dxos/plugin-stack": "0.8.4-main.5ea62a8",
|
|
94
|
+
"@dxos/plugin-sketch": "0.8.4-main.5ea62a8",
|
|
95
|
+
"@dxos/plugin-wnfs": "0.8.4-main.5ea62a8",
|
|
96
|
+
"@dxos/plugin-space": "0.8.4-main.5ea62a8",
|
|
97
|
+
"@dxos/plugin-transcription": "0.8.4-main.5ea62a8",
|
|
98
|
+
"@dxos/react-client": "0.8.4-main.5ea62a8",
|
|
99
|
+
"@dxos/plugin-graph": "0.8.4-main.5ea62a8",
|
|
100
|
+
"@dxos/plugin-markdown": "0.8.4-main.5ea62a8",
|
|
101
|
+
"@dxos/protocols": "0.8.4-main.5ea62a8",
|
|
102
|
+
"@dxos/react-edge-client": "0.8.4-main.5ea62a8",
|
|
103
|
+
"@dxos/react-ui-attention": "0.8.4-main.5ea62a8",
|
|
104
|
+
"@dxos/react-ui-canvas-compute": "0.8.4-main.5ea62a8",
|
|
105
|
+
"@dxos/react-ui-canvas-editor": "0.8.4-main.5ea62a8",
|
|
106
|
+
"@dxos/react-ui-editor": "0.8.4-main.5ea62a8",
|
|
107
|
+
"@dxos/react-ui-form": "0.8.4-main.5ea62a8",
|
|
108
|
+
"@dxos/react-ui-graph": "0.8.4-main.5ea62a8",
|
|
109
|
+
"@dxos/react-ui-list": "0.8.4-main.5ea62a8",
|
|
110
|
+
"@dxos/react-ui-menu": "0.8.4-main.5ea62a8",
|
|
111
|
+
"@dxos/react-ui-searchlist": "0.8.4-main.5ea62a8",
|
|
112
|
+
"@dxos/react-ui-sfx": "0.8.4-main.5ea62a8",
|
|
113
|
+
"@dxos/react-ui-components": "0.8.4-main.5ea62a8",
|
|
114
|
+
"@dxos/react-ui-stack": "0.8.4-main.5ea62a8",
|
|
115
|
+
"@dxos/react-ui-tabs": "0.8.4-main.5ea62a8",
|
|
116
|
+
"@dxos/react-ui-tag-picker": "0.8.4-main.5ea62a8",
|
|
117
|
+
"@dxos/schema": "0.8.4-main.5ea62a8",
|
|
118
|
+
"@dxos/react-ui-chat": "0.8.4-main.5ea62a8",
|
|
119
|
+
"@dxos/util": "0.8.4-main.5ea62a8",
|
|
120
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.4-main.5ea62a8"
|
|
114
121
|
},
|
|
115
122
|
"devDependencies": {
|
|
116
123
|
"@effect-rx/rx-react": "^0.38.0",
|
|
117
|
-
"@effect/platform": "0.
|
|
124
|
+
"@effect/platform": "0.90.2",
|
|
118
125
|
"@types/lodash.defaultsdeep": "^4.6.6",
|
|
119
126
|
"@types/react": "~18.2.0",
|
|
120
127
|
"@types/react-dom": "~18.2.0",
|
|
121
|
-
"effect": "3.17.
|
|
128
|
+
"effect": "3.17.7",
|
|
122
129
|
"openapi-types": "^12.1.3",
|
|
123
130
|
"react": "~18.2.0",
|
|
124
131
|
"react-dom": "~18.2.0",
|
|
125
|
-
"vite": "
|
|
126
|
-
"@dxos/assistant-testing": "0.8.4-main.
|
|
127
|
-
"@dxos/
|
|
128
|
-
"@dxos/plugin-chess": "0.8.4-main.
|
|
129
|
-
"@dxos/plugin-
|
|
130
|
-
"@dxos/plugin-
|
|
131
|
-
"@dxos/plugin-
|
|
132
|
-
"@dxos/
|
|
133
|
-
"@dxos/
|
|
134
|
-
"@dxos/
|
|
135
|
-
"@dxos/
|
|
136
|
-
"@dxos/
|
|
137
|
-
"@dxos/
|
|
132
|
+
"vite": "7.1.1",
|
|
133
|
+
"@dxos/assistant-testing": "0.8.4-main.5ea62a8",
|
|
134
|
+
"@dxos/plugin-attention": "0.8.4-main.5ea62a8",
|
|
135
|
+
"@dxos/plugin-chess": "0.8.4-main.5ea62a8",
|
|
136
|
+
"@dxos/plugin-board": "0.8.4-main.5ea62a8",
|
|
137
|
+
"@dxos/plugin-inbox": "0.8.4-main.5ea62a8",
|
|
138
|
+
"@dxos/plugin-map": "0.8.4-main.5ea62a8",
|
|
139
|
+
"@dxos/plugin-markdown": "0.8.4-main.5ea62a8",
|
|
140
|
+
"@dxos/echo-db": "0.8.4-main.5ea62a8",
|
|
141
|
+
"@dxos/plugin-preview": "0.8.4-main.5ea62a8",
|
|
142
|
+
"@dxos/plugin-stack": "0.8.4-main.5ea62a8",
|
|
143
|
+
"@dxos/plugin-sketch": "0.8.4-main.5ea62a8",
|
|
144
|
+
"@dxos/plugin-table": "0.8.4-main.5ea62a8",
|
|
145
|
+
"@dxos/plugin-theme": "0.8.4-main.5ea62a8",
|
|
146
|
+
"@dxos/plugin-thread": "0.8.4-main.5ea62a8",
|
|
147
|
+
"@dxos/plugin-wnfs": "0.8.4-main.5ea62a8",
|
|
148
|
+
"@dxos/random": "0.8.4-main.5ea62a8",
|
|
149
|
+
"@dxos/react-ui": "0.8.4-main.5ea62a8",
|
|
150
|
+
"@dxos/plugin-token-manager": "0.8.4-main.5ea62a8",
|
|
151
|
+
"@dxos/react-ui-menu": "0.8.4-main.5ea62a8",
|
|
152
|
+
"@dxos/react-ui-table": "0.8.4-main.5ea62a8",
|
|
153
|
+
"@dxos/react-ui-theme": "0.8.4-main.5ea62a8",
|
|
154
|
+
"@dxos/storybook-utils": "0.8.4-main.5ea62a8",
|
|
155
|
+
"@dxos/plugin-script": "0.8.4-main.5ea62a8"
|
|
138
156
|
},
|
|
139
157
|
"peerDependencies": {
|
|
140
158
|
"@effect-rx/rx-react": "^0.34.1",
|
|
@@ -142,8 +160,8 @@
|
|
|
142
160
|
"effect": "^3.13.3",
|
|
143
161
|
"react": "~18.2.0",
|
|
144
162
|
"react-dom": "~18.2.0",
|
|
145
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
146
|
-
"@dxos/react-ui-theme": "0.8.4-main.
|
|
163
|
+
"@dxos/react-ui": "0.8.4-main.5ea62a8",
|
|
164
|
+
"@dxos/react-ui-theme": "0.8.4-main.5ea62a8"
|
|
147
165
|
},
|
|
148
166
|
"publishConfig": {
|
|
149
167
|
"access": "public"
|
package/src/AssistantPlugin.tsx
CHANGED
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Layer } from 'effect';
|
|
6
|
-
|
|
7
|
-
import { AiServiceTestingPreset } from '@dxos/ai/testing';
|
|
8
5
|
import { Capabilities, Events, contributes, createIntent, defineModule, definePlugin } from '@dxos/app-framework';
|
|
9
6
|
import { Blueprint } from '@dxos/blueprints';
|
|
10
7
|
import { Sequence } from '@dxos/conductor';
|
|
@@ -13,11 +10,22 @@ import { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';
|
|
|
13
10
|
import { SpaceCapabilities, SpaceEvents } from '@dxos/plugin-space';
|
|
14
11
|
import { defineObjectForm } from '@dxos/plugin-space/types';
|
|
15
12
|
|
|
16
|
-
import {
|
|
17
|
-
|
|
13
|
+
import {
|
|
14
|
+
AiService,
|
|
15
|
+
AppGraphBuilder,
|
|
16
|
+
AssistantState,
|
|
17
|
+
BlueprintDefinition,
|
|
18
|
+
EdgeModelResolver,
|
|
19
|
+
IntentResolver,
|
|
20
|
+
LocalModelResolver,
|
|
21
|
+
ReactSurface,
|
|
22
|
+
Settings,
|
|
23
|
+
Toolkit,
|
|
24
|
+
} from './capabilities';
|
|
25
|
+
import { AssistantEvents } from './events';
|
|
18
26
|
import { meta } from './meta';
|
|
19
27
|
import { translations } from './translations';
|
|
20
|
-
import { Assistant, ServiceType } from './types';
|
|
28
|
+
import { Assistant, AssistantAction, ServiceType } from './types';
|
|
21
29
|
|
|
22
30
|
export const AssistantPlugin = () =>
|
|
23
31
|
definePlugin(meta, [
|
|
@@ -31,6 +39,14 @@ export const AssistantPlugin = () =>
|
|
|
31
39
|
activatesOn: Events.SetupSettings,
|
|
32
40
|
activate: Settings,
|
|
33
41
|
}),
|
|
42
|
+
defineModule({
|
|
43
|
+
id: `${meta.id}/module/state`,
|
|
44
|
+
// TODO(wittjosiah): Does not integrate with settings store.
|
|
45
|
+
// Should this be a different event?
|
|
46
|
+
// Should settings store be renamed to be more generic?
|
|
47
|
+
activatesOn: Events.SetupSettings,
|
|
48
|
+
activate: AssistantState,
|
|
49
|
+
}),
|
|
34
50
|
defineModule({
|
|
35
51
|
id: `${meta.id}/module/metadata`,
|
|
36
52
|
activatesOn: Events.SetupMetadata,
|
|
@@ -63,22 +79,22 @@ export const AssistantPlugin = () =>
|
|
|
63
79
|
SpaceCapabilities.ObjectForm,
|
|
64
80
|
defineObjectForm({
|
|
65
81
|
objectSchema: Assistant.Chat,
|
|
66
|
-
getIntent: (_, options) => createIntent(
|
|
82
|
+
getIntent: (_, options) => createIntent(AssistantAction.CreateChat, { space: options.space }),
|
|
67
83
|
}),
|
|
68
84
|
),
|
|
69
85
|
contributes(
|
|
70
86
|
SpaceCapabilities.ObjectForm,
|
|
71
87
|
defineObjectForm({
|
|
72
88
|
objectSchema: Blueprint.Blueprint,
|
|
73
|
-
formSchema:
|
|
74
|
-
getIntent: (props) => createIntent(
|
|
89
|
+
formSchema: AssistantAction.BlueprintForm,
|
|
90
|
+
getIntent: (props) => createIntent(AssistantAction.CreateBlueprint, props),
|
|
75
91
|
}),
|
|
76
92
|
),
|
|
77
93
|
contributes(
|
|
78
94
|
SpaceCapabilities.ObjectForm,
|
|
79
95
|
defineObjectForm({
|
|
80
96
|
objectSchema: Sequence,
|
|
81
|
-
getIntent: () => createIntent(
|
|
97
|
+
getIntent: () => createIntent(AssistantAction.CreateSequence),
|
|
82
98
|
}),
|
|
83
99
|
),
|
|
84
100
|
],
|
|
@@ -92,8 +108,8 @@ export const AssistantPlugin = () =>
|
|
|
92
108
|
id: `${meta.id}/module/on-space-created`,
|
|
93
109
|
activatesOn: SpaceEvents.SpaceCreated,
|
|
94
110
|
activate: () =>
|
|
95
|
-
contributes(SpaceCapabilities.OnSpaceCreated, ({
|
|
96
|
-
createIntent(
|
|
111
|
+
contributes(SpaceCapabilities.OnSpaceCreated, ({ rootCollection, space }) =>
|
|
112
|
+
createIntent(AssistantAction.OnSpaceCreated, { rootCollection, space }),
|
|
97
113
|
),
|
|
98
114
|
}),
|
|
99
115
|
defineModule({
|
|
@@ -113,12 +129,32 @@ export const AssistantPlugin = () =>
|
|
|
113
129
|
activatesBefore: [Events.SetupArtifactDefinition],
|
|
114
130
|
activate: ReactSurface,
|
|
115
131
|
}),
|
|
132
|
+
defineModule({
|
|
133
|
+
id: `${meta.id}/module/edge-model-resolver`,
|
|
134
|
+
activatesOn: AssistantEvents.SetupAiServiceProviders,
|
|
135
|
+
activate: EdgeModelResolver,
|
|
136
|
+
}),
|
|
137
|
+
defineModule({
|
|
138
|
+
id: `${meta.id}/module/local-model-resolver`,
|
|
139
|
+
activatesOn: AssistantEvents.SetupAiServiceProviders,
|
|
140
|
+
activate: LocalModelResolver,
|
|
141
|
+
}),
|
|
116
142
|
defineModule({
|
|
117
143
|
id: `${meta.id}/module/ai-service`,
|
|
144
|
+
activatesBefore: [AssistantEvents.SetupAiServiceProviders],
|
|
145
|
+
// TODO(dmaretskyi): This should activate lazily when the AI chat is used.
|
|
118
146
|
activatesOn: Events.Startup,
|
|
119
|
-
activate:
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
147
|
+
activate: AiService,
|
|
148
|
+
}),
|
|
149
|
+
defineModule({
|
|
150
|
+
id: `${meta.id}/module/blueprint`,
|
|
151
|
+
activatesOn: Events.SetupArtifactDefinition,
|
|
152
|
+
activate: BlueprintDefinition,
|
|
153
|
+
}),
|
|
154
|
+
defineModule({
|
|
155
|
+
id: `${meta.id}/module/toolkit`,
|
|
156
|
+
// TODO(wittjosiah): Use a different event.
|
|
157
|
+
activatesOn: Events.Startup,
|
|
158
|
+
activate: Toolkit,
|
|
123
159
|
}),
|
|
124
160
|
]);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { Effect, Layer } from 'effect';
|
|
6
|
+
|
|
7
|
+
import { AiServiceRouter } from '@dxos/ai';
|
|
8
|
+
import { type PluginContext, contributes } from '@dxos/app-framework';
|
|
9
|
+
|
|
10
|
+
import { AssistantCapabilities } from './capabilities';
|
|
11
|
+
|
|
12
|
+
export default (context: PluginContext) => {
|
|
13
|
+
const resolvers = context.getCapabilities(AssistantCapabilities.AiModelResolver);
|
|
14
|
+
|
|
15
|
+
// TODO(dmaretskyi): Extract function to reduce them.
|
|
16
|
+
const combinedLayer = resolvers.reduce(
|
|
17
|
+
(acc, resolver) => resolver.pipe(Layer.provide(acc)),
|
|
18
|
+
AiServiceRouter.AiModelResolver.fromModelMap(Effect.succeed({})), // Empty resolver as fallback.
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
return [
|
|
22
|
+
// TODO(dmaretskyi): Read config from settings.
|
|
23
|
+
contributes(
|
|
24
|
+
AssistantCapabilities.AiServiceLayer,
|
|
25
|
+
AiServiceRouter.AiModelResolver.buildAiService.pipe(Layer.provide(combinedLayer)),
|
|
26
|
+
),
|
|
27
|
+
];
|
|
28
|
+
};
|
|
@@ -7,24 +7,26 @@ import { Option, pipe } from 'effect';
|
|
|
7
7
|
|
|
8
8
|
import {
|
|
9
9
|
Capabilities,
|
|
10
|
-
contributes,
|
|
11
|
-
createIntent,
|
|
12
10
|
LayoutAction,
|
|
13
|
-
type PromiseIntentDispatcher,
|
|
14
11
|
type PluginContext,
|
|
12
|
+
type PromiseIntentDispatcher,
|
|
13
|
+
contributes,
|
|
14
|
+
createIntent,
|
|
15
15
|
} from '@dxos/app-framework';
|
|
16
16
|
import { Sequence } from '@dxos/conductor';
|
|
17
17
|
import { Obj } from '@dxos/echo';
|
|
18
18
|
import { invariant } from '@dxos/invariant';
|
|
19
19
|
import { ClientCapabilities } from '@dxos/plugin-client';
|
|
20
|
-
import {
|
|
21
|
-
import { createExtension,
|
|
22
|
-
import { getActiveSpace
|
|
20
|
+
import { ATTENDABLE_PATH_SEPARATOR, PLANK_COMPANION_TYPE } from '@dxos/plugin-deck/types';
|
|
21
|
+
import { ROOT_ID, createExtension, rxFromSignal } from '@dxos/plugin-graph';
|
|
22
|
+
import { getActiveSpace } from '@dxos/plugin-space';
|
|
23
23
|
import { SpaceAction } from '@dxos/plugin-space/types';
|
|
24
|
-
import {
|
|
24
|
+
import { Query, type Space, fullyQualifiedId } from '@dxos/react-client/echo';
|
|
25
25
|
|
|
26
26
|
import { ASSISTANT_DIALOG, meta } from '../meta';
|
|
27
|
-
import { Assistant } from '../types';
|
|
27
|
+
import { Assistant, AssistantAction } from '../types';
|
|
28
|
+
|
|
29
|
+
import { AssistantCapabilities } from './capabilities';
|
|
28
30
|
|
|
29
31
|
export default (context: PluginContext) =>
|
|
30
32
|
contributes(Capabilities.AppGraphBuilder, [
|
|
@@ -79,44 +81,36 @@ export default (context: PluginContext) =>
|
|
|
79
81
|
}),
|
|
80
82
|
|
|
81
83
|
createExtension({
|
|
82
|
-
id: `${meta.id}/
|
|
84
|
+
id: `${meta.id}/companion-chat`,
|
|
83
85
|
connector: (node) => {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
const space = getSpace(object);
|
|
97
|
-
if (!space) {
|
|
98
|
-
return [];
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
if (!query) {
|
|
102
|
-
query = space.db.query(Query.select(Filter.ids(object.id)).targetOf(Assistant.CompanionTo).source());
|
|
103
|
-
}
|
|
86
|
+
return Rx.make((get) =>
|
|
87
|
+
pipe(
|
|
88
|
+
get(node),
|
|
89
|
+
Option.flatMap((node) => (Obj.isObject(node.data) ? Option.some(node.data) : Option.none())),
|
|
90
|
+
Option.map((object) => {
|
|
91
|
+
const currentChat = get(
|
|
92
|
+
rxFromSignal(
|
|
93
|
+
() => context.getCapability(AssistantCapabilities.State).currentChat[fullyQualifiedId(object)],
|
|
94
|
+
),
|
|
95
|
+
);
|
|
104
96
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
97
|
+
return [
|
|
98
|
+
{
|
|
99
|
+
id: [fullyQualifiedId(object), 'assistant-chat'].join(ATTENDABLE_PATH_SEPARATOR),
|
|
100
|
+
type: PLANK_COMPANION_TYPE,
|
|
101
|
+
data: currentChat ?? 'assistant-chat',
|
|
102
|
+
properties: {
|
|
103
|
+
label: ['assistant chat label', { ns: meta.id }],
|
|
104
|
+
icon: 'ph--sparkle--regular',
|
|
105
|
+
position: 'hoist',
|
|
106
|
+
disposition: 'hidden',
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
];
|
|
110
|
+
}),
|
|
111
|
+
Option.getOrElse(() => []),
|
|
112
|
+
),
|
|
113
|
+
);
|
|
120
114
|
},
|
|
121
115
|
}),
|
|
122
116
|
|
|
@@ -155,14 +149,13 @@ const getOrCreateChat = async (
|
|
|
155
149
|
const { objects: relatedChats } = await space.db
|
|
156
150
|
.query(Query.type(Assistant.Chat).sourceOf(Assistant.CompanionTo).source())
|
|
157
151
|
.run();
|
|
152
|
+
|
|
158
153
|
const chats = allChats.filter((chat) => !relatedChats.includes(chat));
|
|
159
|
-
// console.log('objects', JSON.stringify(objects, null, 2));
|
|
160
154
|
if (chats.length > 0) {
|
|
161
|
-
|
|
162
|
-
return chats[chats.length - 1];
|
|
155
|
+
return chats.at(-1);
|
|
163
156
|
}
|
|
164
157
|
|
|
165
|
-
const { data } = await dispatch(createIntent(
|
|
158
|
+
const { data } = await dispatch(createIntent(AssistantAction.CreateChat, { space }));
|
|
166
159
|
invariant(Obj.instanceOf(Assistant.Chat, data?.object));
|
|
167
160
|
await dispatch(createIntent(SpaceAction.AddObject, { target: space, object: data.object }));
|
|
168
161
|
return data.object;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { Capabilities, type Capability, contributes } from '@dxos/app-framework';
|
|
6
|
+
import { templates } from '@dxos/assistant';
|
|
7
|
+
import { Blueprint } from '@dxos/blueprints';
|
|
8
|
+
import { type FunctionDefinition } from '@dxos/functions';
|
|
9
|
+
|
|
10
|
+
import { analysis, list, load } from '../functions';
|
|
11
|
+
|
|
12
|
+
const functions: FunctionDefinition[] = [analysis, list, load];
|
|
13
|
+
const tools = [
|
|
14
|
+
'add-to-context',
|
|
15
|
+
// TODO(wittjosiah): Factor out to an ECHO blueprint.
|
|
16
|
+
'get-schemas',
|
|
17
|
+
'add-schema',
|
|
18
|
+
'create-record',
|
|
19
|
+
// TODO(wittjosiah): Factor out to a generic app-framework blueprint.
|
|
20
|
+
'open-item',
|
|
21
|
+
// TODO(burdon): Anthropic only.
|
|
22
|
+
// https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/text-editor-tool#example-str-replace-command
|
|
23
|
+
// AI_TOOL_NOT_FOUND: str_replace_based_edit_tool
|
|
24
|
+
// 'str_replace_based_edit_tool',
|
|
25
|
+
];
|
|
26
|
+
|
|
27
|
+
export const BLUEPRINT_KEY = 'dxos.org/blueprint/assistant';
|
|
28
|
+
|
|
29
|
+
export const createBlueprint = (): Blueprint.Blueprint =>
|
|
30
|
+
Blueprint.make({
|
|
31
|
+
key: BLUEPRINT_KEY,
|
|
32
|
+
name: 'Assistant',
|
|
33
|
+
tools: Blueprint.toolDefinitions({ functions, tools }),
|
|
34
|
+
instructions: templates.system,
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
const blueprint = createBlueprint();
|
|
38
|
+
|
|
39
|
+
export default (): Capability<any>[] => [
|
|
40
|
+
contributes(Capabilities.Functions, functions),
|
|
41
|
+
contributes(Capabilities.BlueprintDefinition, blueprint),
|
|
42
|
+
];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { type Layer } from 'effect';
|
|
6
|
+
|
|
7
|
+
import { type AiService, type AiServiceRouter } from '@dxos/ai';
|
|
8
|
+
import { defineCapability } from '@dxos/app-framework';
|
|
9
|
+
import { type DeepReadonly } from '@dxos/util';
|
|
10
|
+
|
|
11
|
+
import { meta } from '../meta';
|
|
12
|
+
import { type Assistant } from '../types';
|
|
13
|
+
|
|
14
|
+
export namespace AssistantCapabilities {
|
|
15
|
+
export type AssistantState = {
|
|
16
|
+
/** Map of primary object fq id to current chat. */
|
|
17
|
+
currentChat: Record<string, Assistant.Chat>;
|
|
18
|
+
};
|
|
19
|
+
export const State = defineCapability<DeepReadonly<AssistantState>>(`${meta.id}/capability/state`);
|
|
20
|
+
export const MutableState = defineCapability<AssistantState>(`${meta.id}/capability/state`);
|
|
21
|
+
|
|
22
|
+
export type AiServiceLayer = Layer.Layer<AiService.AiService>;
|
|
23
|
+
export const AiServiceLayer = defineCapability<AiServiceLayer>(`${meta.id}/capability/ai-service-factory`);
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Plugins can contribute them to provide model resolvers.
|
|
27
|
+
*/
|
|
28
|
+
export const AiModelResolver = defineCapability<Layer.Layer<AiServiceRouter.AiModelResolver>>(
|
|
29
|
+
`${meta.id}/capability/ai-model-resolver`,
|
|
30
|
+
);
|
|
31
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import * as AnthropicClient from '@effect/ai-anthropic/AnthropicClient';
|
|
6
|
+
import { FetchHttpClient } from '@effect/platform';
|
|
7
|
+
import { Layer } from 'effect';
|
|
8
|
+
|
|
9
|
+
import { AiServiceRouter } from '@dxos/ai';
|
|
10
|
+
import { type Capability, contributes } from '@dxos/app-framework';
|
|
11
|
+
|
|
12
|
+
import { AssistantCapabilities } from './capabilities';
|
|
13
|
+
|
|
14
|
+
export default (): Capability<any>[] => [
|
|
15
|
+
contributes(
|
|
16
|
+
AssistantCapabilities.AiModelResolver,
|
|
17
|
+
AiServiceRouter.AnthropicResolver.pipe(
|
|
18
|
+
Layer.provide(
|
|
19
|
+
AnthropicClient.layer({
|
|
20
|
+
// TODO(dmaretskyi): Read endpoint from config/settings.
|
|
21
|
+
apiUrl: 'https://ai-service.dxos.workers.dev/provider/anthropic',
|
|
22
|
+
}),
|
|
23
|
+
),
|
|
24
|
+
Layer.provide(FetchHttpClient.layer),
|
|
25
|
+
),
|
|
26
|
+
),
|
|
27
|
+
];
|
|
@@ -4,7 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
import { lazy } from '@dxos/app-framework';
|
|
6
6
|
|
|
7
|
+
export const AiService = lazy(() => import('./ai-service'));
|
|
7
8
|
export const AppGraphBuilder = lazy(() => import('./app-graph-builder'));
|
|
9
|
+
export const AssistantState = lazy(() => import('./state'));
|
|
10
|
+
export const BlueprintDefinition = lazy(() => import('./blueprint-definition'));
|
|
11
|
+
export const EdgeModelResolver = lazy(() => import('./edge-model-resolver'));
|
|
8
12
|
export const IntentResolver = lazy(() => import('./intent-resolver'));
|
|
13
|
+
export const LocalModelResolver = lazy(() => import('./local-model-resolver'));
|
|
9
14
|
export const ReactSurface = lazy(() => import('./react-surface'));
|
|
10
15
|
export const Settings = lazy(() => import('./settings'));
|
|
16
|
+
export const Toolkit = lazy(() => import('./toolkit'));
|
|
17
|
+
|
|
18
|
+
export * from './blueprint-definition';
|
|
19
|
+
export * from './capabilities';
|