@dxos/plugin-assistant 0.8.4-main.67995b8 → 0.8.4-main.dedc0f3
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-BFNN6K46.mjs} +4 -3
- package/dist/lib/browser/ChatCompanion-YYYCHZYV.mjs +126 -0
- package/dist/lib/browser/ChatCompanion-YYYCHZYV.mjs.map +7 -0
- package/dist/lib/browser/{ChatContainer-RP3QEXYX.mjs → ChatContainer-G6YHR6GJ.mjs} +34 -13
- package/dist/lib/browser/ChatContainer-G6YHR6GJ.mjs.map +7 -0
- package/dist/lib/browser/{ChatDialog-ZVLXFHEY.mjs → ChatDialog-HJ7VDRQO.mjs} +28 -12
- package/dist/lib/browser/ChatDialog-HJ7VDRQO.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-YC2EQPHA.mjs +22 -0
- package/dist/lib/browser/ai-service-YC2EQPHA.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-XSEOKJLG.mjs → app-graph-builder-3C43MLCD.mjs} +25 -36
- package/dist/lib/browser/app-graph-builder-3C43MLCD.mjs.map +7 -0
- package/dist/lib/browser/blueprint-definition-VHFSRTEJ.mjs +12 -0
- package/dist/lib/browser/blueprint-definition-VHFSRTEJ.mjs.map +7 -0
- package/dist/lib/browser/chunk-EZUSNS2J.mjs +19 -0
- package/dist/lib/browser/chunk-EZUSNS2J.mjs.map +7 -0
- package/dist/lib/browser/chunk-GLWD66TA.mjs +161 -0
- package/dist/lib/browser/chunk-GLWD66TA.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-PL4O4ZJU.mjs +1974 -0
- package/dist/lib/browser/chunk-PL4O4ZJU.mjs.map +7 -0
- package/dist/lib/browser/chunk-PPJAIE2T.mjs +299 -0
- package/dist/lib/browser/chunk-PPJAIE2T.mjs.map +7 -0
- package/dist/lib/browser/chunk-PQI3MGDN.mjs +169 -0
- package/dist/lib/browser/chunk-PQI3MGDN.mjs.map +7 -0
- package/dist/lib/browser/chunk-R6LRGW3I.mjs +216 -0
- package/dist/lib/browser/chunk-R6LRGW3I.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/compute-runtime-X6IREJN3.mjs +155 -0
- package/dist/lib/browser/compute-runtime-X6IREJN3.mjs.map +7 -0
- package/dist/lib/browser/edge-model-resolver-JNEB355N.mjs +22 -0
- package/dist/lib/browser/edge-model-resolver-JNEB355N.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +148 -62
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/intent-resolver-I6M3ZDAS.mjs +112 -0
- package/dist/lib/browser/intent-resolver-I6M3ZDAS.mjs.map +7 -0
- package/dist/lib/browser/local-model-resolver-EUXSRZ7X.mjs +21 -0
- package/dist/lib/browser/local-model-resolver-EUXSRZ7X.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-3GYEHQRP.mjs → react-surface-WNLA2636.mjs} +25 -66
- package/dist/lib/browser/react-surface-WNLA2636.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-AINRYS5W.mjs +21 -0
- package/dist/lib/browser/state-AINRYS5W.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-X4MRBKDR.mjs} +4 -3
- package/dist/lib/{browser/BlueprintContainer-IZ4AK5EO.mjs.map → node-esm/BlueprintContainer-X4MRBKDR.mjs.map} +1 -1
- package/dist/lib/node-esm/ChatCompanion-PUAFRIEC.mjs +127 -0
- package/dist/lib/node-esm/ChatCompanion-PUAFRIEC.mjs.map +7 -0
- package/dist/lib/node-esm/{ChatContainer-W3W6FWV3.mjs → ChatContainer-EZZF7RSQ.mjs} +34 -13
- package/dist/lib/node-esm/ChatContainer-EZZF7RSQ.mjs.map +7 -0
- package/dist/lib/node-esm/{ChatDialog-QW4JRKVO.mjs → ChatDialog-PTQLZNJU.mjs} +28 -12
- package/dist/lib/node-esm/ChatDialog-PTQLZNJU.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-XUMZVFCK.mjs +23 -0
- package/dist/lib/node-esm/ai-service-XUMZVFCK.mjs.map +7 -0
- package/dist/lib/node-esm/{app-graph-builder-PANCJUHV.mjs → app-graph-builder-NM3JDLQ2.mjs} +25 -36
- package/dist/lib/node-esm/app-graph-builder-NM3JDLQ2.mjs.map +7 -0
- package/dist/lib/node-esm/blueprint-definition-4E6XTLVN.mjs +13 -0
- package/dist/lib/node-esm/blueprint-definition-4E6XTLVN.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-4WLFSXZG.mjs +170 -0
- package/dist/lib/node-esm/chunk-4WLFSXZG.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-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-LVTG5JTW.mjs +217 -0
- package/dist/lib/node-esm/chunk-LVTG5JTW.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-QG2KT3AT.mjs +163 -0
- package/dist/lib/node-esm/chunk-QG2KT3AT.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-VH3LTD76.mjs +300 -0
- package/dist/lib/node-esm/chunk-VH3LTD76.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-XD4CDA4R.mjs +20 -0
- package/dist/lib/node-esm/chunk-XD4CDA4R.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-ZIDP7HBI.mjs +1975 -0
- package/dist/lib/node-esm/chunk-ZIDP7HBI.mjs.map +7 -0
- package/dist/lib/node-esm/compute-runtime-NRHLLTSC.mjs +156 -0
- package/dist/lib/node-esm/compute-runtime-NRHLLTSC.mjs.map +7 -0
- package/dist/lib/node-esm/edge-model-resolver-UE5TLLJZ.mjs +23 -0
- package/dist/lib/node-esm/edge-model-resolver-UE5TLLJZ.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +148 -62
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/intent-resolver-VIINHFMT.mjs +113 -0
- package/dist/lib/node-esm/intent-resolver-VIINHFMT.mjs.map +7 -0
- package/dist/lib/node-esm/local-model-resolver-JBEFVVZA.mjs +22 -0
- package/dist/lib/node-esm/local-model-resolver-JBEFVVZA.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-QDQWJ7FZ.mjs → react-surface-GP3LU6DX.mjs} +25 -66
- package/dist/lib/node-esm/react-surface-GP3LU6DX.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-EQS5KP6M.mjs +22 -0
- package/dist/lib/node-esm/state-EQS5KP6M.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 +32 -0
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -0
- package/dist/types/src/capabilities/compute-runtime.d.ts +5 -0
- package/dist/types/src/capabilities/compute-runtime.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 +12 -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 +20 -17
- 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/ChatThread.d.ts +10 -7
- package/dist/types/src/components/ChatThread/ChatThread.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts +115 -32
- 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/reducers.d.ts +40 -0
- package/dist/types/src/components/ChatThread/reducers.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/registry.d.ts +11 -0
- package/dist/types/src/components/ChatThread/registry.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/sync.d.ts +36 -0
- package/dist/types/src/components/ChatThread/sync.d.ts.map +1 -0
- package/dist/types/src/components/ChatThread/sync.test.d.ts +2 -0
- package/dist/types/src/components/ChatThread/sync.test.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 +261 -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 +261 -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 +258 -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/ToolBlock/ToolBlock.d.ts +19 -0
- package/dist/types/src/components/ToolBlock/ToolBlock.d.ts.map +1 -0
- package/dist/types/src/components/ToolBlock/ToolBlockWidget.d.ts +2 -0
- package/dist/types/src/components/ToolBlock/ToolBlockWidget.d.ts.map +1 -0
- package/dist/types/src/components/ToolBlock/index.d.ts +3 -0
- package/dist/types/src/components/ToolBlock/index.d.ts.map +1 -0
- package/dist/types/src/components/Toolbar/Toolbar.d.ts +5 -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 +262 -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 +9 -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 +8 -21
- package/dist/types/src/hooks/useChatProcessor.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatServices.d.ts +5 -6
- package/dist/types/src/hooks/useChatServices.d.ts.map +1 -1
- package/dist/types/src/hooks/useComputeRuntimeCallback.d.ts +8 -0
- package/dist/types/src/hooks/useComputeRuntimeCallback.d.ts.map +1 -0
- 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 +6 -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/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/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 +73 -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 +25 -202
- 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/ChessContainer.d.ts +4 -0
- package/dist/types/src/stories/components/ChessContainer.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/DebugCard.d.ts +8 -0
- package/dist/types/src/stories/components/DebugCard.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/InvocationsContainer.d.ts +4 -0
- package/dist/types/src/stories/components/InvocationsContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/LoggingContainer.d.ts +7 -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/PromptContainer.d.ts +6 -0
- package/dist/types/src/stories/components/PromptContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/ResearchInputStack.d.ts +4 -0
- package/dist/types/src/stories/components/ResearchInputStack.d.ts.map +1 -0
- package/dist/types/src/stories/components/ResearchOutputStack.d.ts +4 -0
- package/dist/types/src/stories/components/ResearchOutputStack.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/TriggersContainer.d.ts +14 -0
- package/dist/types/src/stories/components/TriggersContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/index.d.ts +16 -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 +9 -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/schema.d.ts +7 -0
- package/dist/types/src/stories/testing/schema.d.ts.map +1 -0
- package/dist/types/src/stories/testing/testing.d.ts +48 -0
- package/dist/types/src/stories/testing/testing.d.ts.map +1 -0
- package/dist/types/src/testing/index.d.ts +3 -1
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/test-data.d.ts +14 -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-generator.d.ts +7 -0
- package/dist/types/src/testing/test-generator.d.ts.map +1 -0
- 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 +28 -12
- 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 +6 -3
- package/dist/types/src/types/service.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +108 -86
- package/src/AssistantPlugin.tsx +61 -17
- package/src/capabilities/ai-service.ts +28 -0
- package/src/capabilities/app-graph-builder.ts +41 -48
- package/src/capabilities/blueprint-definition.ts +58 -0
- package/src/capabilities/capabilities.ts +71 -0
- package/src/capabilities/compute-runtime.ts +124 -0
- package/src/capabilities/edge-model-resolver.ts +27 -0
- package/src/capabilities/index.ts +10 -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 +175 -174
- 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 +18 -14
- 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/ChatThread.stories.tsx +97 -110
- package/src/components/ChatThread/ChatThread.tsx +65 -29
- package/src/components/ChatThread/Link.tsx +26 -0
- package/src/components/ChatThread/reducers.ts +151 -0
- package/src/components/ChatThread/registry.tsx +189 -0
- package/src/components/ChatThread/sync.test.ts +81 -0
- package/src/components/ChatThread/sync.ts +113 -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/ToolBlock/ToolBlock.tsx +152 -0
- package/src/components/ToolBlock/ToolBlockWidget.tsx +5 -0
- package/src/components/ToolBlock/index.ts +6 -0
- package/src/components/Toolbar/Toolbar.tsx +21 -0
- package/src/components/Toolbar/index.ts +5 -0
- package/src/components/Toolbar/useChatToolbarActions.ts +126 -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 +42 -0
- package/src/hooks/index.ts +9 -4
- package/src/hooks/useBlueprintRegistry.ts +80 -0
- package/src/hooks/useChatProcessor.ts +21 -98
- package/src/hooks/useChatServices.ts +29 -48
- package/src/hooks/useComputeRuntimeCallback.ts +25 -0
- 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/useOnline.ts +10 -0
- package/src/hooks/usePresets.ts +44 -0
- package/src/hooks/useReferencesProvider.ts +11 -9
- package/src/meta.ts +1 -1
- 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 +302 -0
- package/src/queue-logger.ts +10 -10
- package/src/stories/Chat.stories.tsx +594 -308
- package/src/stories/components/BlueprintContainer.tsx +34 -0
- package/src/stories/components/ChatContainer.tsx +74 -0
- package/src/stories/components/ChessContainer.tsx +17 -0
- package/src/stories/components/CommentsContainer.tsx +25 -0
- package/src/stories/components/DebugCard.tsx +61 -0
- package/src/stories/components/GraphContainer.tsx +119 -0
- package/src/stories/components/InvocationsContainer.tsx +17 -0
- package/src/stories/components/LoggingContainer.tsx +33 -0
- package/src/stories/components/MessageContainer.tsx +22 -0
- package/src/stories/components/PromptContainer.tsx +52 -0
- package/src/stories/components/ResearchInputStack.tsx +30 -0
- package/src/stories/components/ResearchOutputStack.tsx +29 -0
- package/src/stories/components/TasksContainer.tsx +49 -0
- package/src/stories/components/TokenManagerContainer.tsx +14 -0
- package/src/stories/components/TriggersContainer.tsx +75 -0
- package/src/stories/components/index.ts +20 -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/schema.ts +17 -0
- package/src/stories/testing/testing.tsx +279 -0
- package/src/testing/index.ts +3 -1
- package/src/testing/test-data.ts +245 -0
- package/src/testing/test-functions.ts +8 -3
- package/src/testing/test-generator.ts +257 -0
- package/src/testing/test-sequence.ts +2 -27
- package/src/translations.ts +31 -12
- 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 +0 -108
- 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 +0 -109
- 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/ChatMessage.d.ts +0 -17
- package/dist/types/src/components/ChatThread/ChatMessage.d.ts.map +0 -1
- package/dist/types/src/components/ChatThread/ToolBlock.d.ts +0 -19
- package/dist/types/src/components/ChatThread/ToolBlock.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/parser/filter-generator.d.ts +0 -4
- package/dist/types/src/parser/filter-generator.d.ts.map +0 -1
- package/dist/types/src/parser/filter-generator.test.d.ts +0 -2
- package/dist/types/src/parser/filter-generator.test.d.ts.map +0 -1
- package/dist/types/src/parser/index.d.ts +0 -4
- package/dist/types/src/parser/index.d.ts.map +0 -1
- package/dist/types/src/parser/query-parser.d.ts +0 -15
- package/dist/types/src/parser/query-parser.d.ts.map +0 -1
- package/dist/types/src/parser/query-parser.test.d.ts +0 -2
- package/dist/types/src/parser/query-parser.test.d.ts.map +0 -1
- package/dist/types/src/parser/types.d.ts +0 -24
- package/dist/types/src/parser/types.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/ChatMessage.tsx +0 -268
- package/src/components/ChatThread/ToolBlock.tsx +0 -121
- 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/parser/filter-generator.test.ts +0 -32
- package/src/parser/filter-generator.ts +0 -81
- package/src/parser/index.ts +0 -7
- package/src/parser/query-parser.test.ts +0 -139
- package/src/parser/query-parser.ts +0 -199
- package/src/parser/types.ts +0 -34
- 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-BFNN6K46.mjs.map} +0 -0
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { type Live, type Space } from '@dxos/client/echo';
|
|
6
|
+
import { Obj, Relation, type Type } from '@dxos/echo';
|
|
7
|
+
import { invariant } from '@dxos/invariant';
|
|
8
|
+
import { DataType } from '@dxos/schema';
|
|
9
|
+
|
|
10
|
+
// import { faker } from '@dxos/random';
|
|
11
|
+
// import { DataType } from '@dxos/schema';
|
|
12
|
+
// import { type ValueGenerator, createGenerator } from '@dxos/schema/testing';
|
|
13
|
+
// faker.seed(1);
|
|
14
|
+
// const generator = faker as any as ValueGenerator;
|
|
15
|
+
// const objectGenerator = createGenerator(generator, DataType.Organization, { force: true });
|
|
16
|
+
|
|
17
|
+
export const testTypes: Type.Obj.Any[] = [
|
|
18
|
+
DataType.Organization,
|
|
19
|
+
DataType.Person,
|
|
20
|
+
DataType.Employer,
|
|
21
|
+
DataType.HasConnection,
|
|
22
|
+
];
|
|
23
|
+
|
|
24
|
+
export const organizations: (Type.Properties<DataType.Organization> & { id: string })[] = [
|
|
25
|
+
{ id: 'dxos', name: 'DXOS', website: 'https://dxos.org' },
|
|
26
|
+
{ id: 'socket_supply', name: 'Socket Supply', website: 'https://socketsupply.com' },
|
|
27
|
+
{ id: 'ink_and_switch', name: 'Ink & Switch', website: 'https://inkandswitch.com' },
|
|
28
|
+
{ id: 'effectful', name: 'Effectful', website: 'https://effect.co' },
|
|
29
|
+
{ id: 'blueyard', name: 'Blue Yard', website: 'https://blueyard.com' },
|
|
30
|
+
{ id: 'backed', name: 'Backed', website: 'https://backed.vc' },
|
|
31
|
+
{ id: 'protocol_labs', name: 'Protocol Labs', website: 'https://protocol.ai' },
|
|
32
|
+
{ id: 'newlab', name: 'Newlab', website: 'https://newlab.com' },
|
|
33
|
+
{ id: 'google', name: 'Google', website: 'https://google.com' },
|
|
34
|
+
{ id: 'microsoft', name: 'Microsoft', website: 'https://microsoft.com' },
|
|
35
|
+
{ id: 'openai', name: 'OpenAI', website: 'https://openai.com' },
|
|
36
|
+
{ id: 'anthropic', name: 'Anthropic', website: 'https://anthropic.com' },
|
|
37
|
+
{ id: 'amazon', name: 'Amazon', website: 'https://amazon.com' },
|
|
38
|
+
{ id: 'deshaw', name: 'D. E. Shaw & Co.', website: 'https://deshaw.com' },
|
|
39
|
+
];
|
|
40
|
+
|
|
41
|
+
export const people: (Type.Properties<DataType.Person> & { id: string })[] = [
|
|
42
|
+
{ id: 'rich_burdon', fullName: 'Rich Burdon' },
|
|
43
|
+
{ id: 'josiah_witt', fullName: 'Josiah Witt' },
|
|
44
|
+
{ id: 'dima_dmaretskyi', fullName: 'Dima Maretskyi' },
|
|
45
|
+
{ id: 'chad_fowler', fullName: 'Chad Fowler' },
|
|
46
|
+
{ id: 'ciaran_oleary', fullName: "Ciarán O'Leary" },
|
|
47
|
+
{ id: 'jason_whitmire', fullName: 'Jason Whitmire' },
|
|
48
|
+
{ id: 'alex_brunicki', fullName: 'Alex Brunicki' },
|
|
49
|
+
{ id: 'andre_de_haes', fullName: 'Andre de Haes' },
|
|
50
|
+
{ id: 'scott_cohen', fullName: 'Scott Cohen' },
|
|
51
|
+
{ id: 'juan_benet', fullName: 'Juan Benet' },
|
|
52
|
+
{ id: 'satya_nadella', fullName: 'Satya Nadella' },
|
|
53
|
+
{ id: 'kevin_scott', fullName: 'Kevin Scott' },
|
|
54
|
+
{ id: 'jeff_bezos', fullName: 'Jeff Bezos' },
|
|
55
|
+
];
|
|
56
|
+
|
|
57
|
+
const testObjects: Record<string, any[]> = {
|
|
58
|
+
[DataType.Organization.typename]: organizations,
|
|
59
|
+
[DataType.Person.typename]: people,
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
const testRelationships: Record<
|
|
63
|
+
string,
|
|
64
|
+
({
|
|
65
|
+
source: string;
|
|
66
|
+
target: string;
|
|
67
|
+
} & Record<string, any>)[]
|
|
68
|
+
> = {
|
|
69
|
+
[DataType.Employer.typename]: [
|
|
70
|
+
// prettier-ignore
|
|
71
|
+
{ source: 'rich_burdon', target: 'dxos' },
|
|
72
|
+
{ source: 'rich_burdon', target: 'google', active: false }, // TODO(burdon): Should not contribute to force.
|
|
73
|
+
{ source: 'rich_burdon', target: 'deshaw', active: false },
|
|
74
|
+
{ source: 'josiah_witt', target: 'dxos' },
|
|
75
|
+
{ source: 'dima_dmaretskyi', target: 'dxos' },
|
|
76
|
+
{ source: 'chad_fowler', target: 'blueyard' },
|
|
77
|
+
{ source: 'chad_fowler', target: 'microsoft', active: false },
|
|
78
|
+
{ source: 'ciaran_oleary', target: 'blueyard' },
|
|
79
|
+
{ source: 'jason_whitmire', target: 'blueyard' },
|
|
80
|
+
{ source: 'juan_benet', target: 'protocol_labs' },
|
|
81
|
+
{ source: 'alex_brunicki', target: 'backed' },
|
|
82
|
+
{ source: 'andre_de_haes', target: 'backed' },
|
|
83
|
+
{ source: 'scott_cohen', target: 'newlab' },
|
|
84
|
+
{ source: 'satya_nadella', target: 'microsoft' },
|
|
85
|
+
{ source: 'kevin_scott', target: 'microsoft' },
|
|
86
|
+
{ source: 'kevin_scott', target: 'google', active: false },
|
|
87
|
+
{ source: 'jeff_bezos', target: 'amazon' },
|
|
88
|
+
{ source: 'jeff_bezos', target: 'deshaw', active: false },
|
|
89
|
+
],
|
|
90
|
+
|
|
91
|
+
// TODO(burdon): Limit graph view to selected relationship types.
|
|
92
|
+
[DataType.HasConnection.typename]: [
|
|
93
|
+
// prettier-ignore
|
|
94
|
+
{ kind: 'partner', source: 'dxos', target: 'ink_and_switch' },
|
|
95
|
+
{ kind: 'partner', source: 'dxos', target: 'effectful' },
|
|
96
|
+
{ kind: 'partner', source: 'dxos', target: 'socket_supply' },
|
|
97
|
+
|
|
98
|
+
// prettier-ignore
|
|
99
|
+
{ kind: 'investor', source: 'blueyard', target: 'dxos' },
|
|
100
|
+
{ kind: 'investor', source: 'blueyard', target: 'protocol_labs' },
|
|
101
|
+
{ kind: 'investor', source: 'protocol_labs', target: 'dxos' },
|
|
102
|
+
{ kind: 'investor', source: 'backed', target: 'dxos' },
|
|
103
|
+
{ kind: 'investor', source: 'newlab', target: 'dxos' },
|
|
104
|
+
{ kind: 'investor', source: 'microsoft', target: 'openai' },
|
|
105
|
+
{ kind: 'investor', source: 'google', target: 'anthropic' },
|
|
106
|
+
{ kind: 'investor', source: 'amazon', target: 'anthropic' },
|
|
107
|
+
],
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export const addTestData = async (space: Space): Promise<void> => {
|
|
111
|
+
const objectMap = new Map<string, Live<any>>();
|
|
112
|
+
|
|
113
|
+
for (const [typename, objects] of Object.entries(testObjects)) {
|
|
114
|
+
const schema = space.db.graph.schemaRegistry.getSchema(typename);
|
|
115
|
+
invariant(schema, `Schema not found: ${typename}`);
|
|
116
|
+
for (const { id, ...data } of objects) {
|
|
117
|
+
const object = space.db.add(Obj.make(schema, data));
|
|
118
|
+
objectMap.set(id, object);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
for (const [typename, relationships] of Object.entries(testRelationships)) {
|
|
123
|
+
const schema = space.db.graph.schemaRegistry.getSchema(typename);
|
|
124
|
+
invariant(schema, `Schema not found: ${typename}`);
|
|
125
|
+
|
|
126
|
+
for (const { source, target, ...data } of relationships) {
|
|
127
|
+
const sourceObject = objectMap.get(source);
|
|
128
|
+
const targetObject = objectMap.get(target);
|
|
129
|
+
invariant(sourceObject, `Source object not found: ${source}`);
|
|
130
|
+
invariant(targetObject, `Target object not found: ${target}`);
|
|
131
|
+
|
|
132
|
+
space.db.add(
|
|
133
|
+
Relation.make(schema, {
|
|
134
|
+
// TODO(burdon): Test source/target types match.
|
|
135
|
+
[Relation.Source]: sourceObject,
|
|
136
|
+
[Relation.Target]: targetObject,
|
|
137
|
+
...data,
|
|
138
|
+
}),
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
export const createTestTranscription = (): DataType.Message[] => {
|
|
145
|
+
const timeInterval = 1_000;
|
|
146
|
+
const transcription: DataType.Message[] = [
|
|
147
|
+
{
|
|
148
|
+
text: 'Hey everyone, glad we could all connect today. I was thinking we could discuss where AI might be heading in the next decade.',
|
|
149
|
+
sender: 'Mykola',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
text: 'Yeah, that sounds great. Personally, I think AI will get deeply integrated into daily life—like assistants that don’t just answer questions but anticipate our needs.',
|
|
153
|
+
sender: 'Rich',
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
text: 'That’s true, but there are risks too. If AI predicts too much, we might lose the sense of making decisions ourselves.',
|
|
157
|
+
sender: 'Dima',
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
text: 'Good point. I think the balance will come from better human-AI collaboration rather than pure automation.',
|
|
161
|
+
sender: 'Dima',
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
text: 'Right, like AI as a co-pilot instead of a replacement. I see that happening a lot in creative fields already.',
|
|
165
|
+
sender: 'Mykola',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
text: 'Exactly. And in science, too—AI models can suggest hypotheses humans wouldn’t think of, speeding up discoveries.',
|
|
169
|
+
sender: 'Rich',
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
text: 'So it looks like the future is less about AI replacing us, and more about AI amplifying what humans can do.',
|
|
173
|
+
sender: 'Dima',
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
text: 'I think we should research alignment of AI with human values.',
|
|
177
|
+
sender: 'Mykola',
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
text: 'I agree. We should also research the risks of AI generating content and polluting knowledge bases.',
|
|
181
|
+
sender: 'Rich',
|
|
182
|
+
},
|
|
183
|
+
].map((message, index, array) => {
|
|
184
|
+
const created = new Date(Date.now() - (array.length - index) * timeInterval);
|
|
185
|
+
return Obj.make(DataType.Message, {
|
|
186
|
+
created: created.toISOString(),
|
|
187
|
+
blocks: [{ _tag: 'transcript', started: created.toISOString(), text: message.text }],
|
|
188
|
+
sender: { identityDid: message.sender },
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
return transcription;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
// TODO(wittjosiah): Find way to use data generator to generate substantive messages that could be summarized.
|
|
196
|
+
export const createTestMailbox = (): DataType.Message[] => {
|
|
197
|
+
const timeInterval = 1000;
|
|
198
|
+
const messages: DataType.Message[] = [
|
|
199
|
+
{
|
|
200
|
+
text: 'Subject: Project Kickoff\n\nHi team,\n\nWe are excited to announce the kickoff of the Apollo project. Please review the attached roadmap and be prepared for our first meeting on Monday.\n\nBest,\nAlice',
|
|
201
|
+
sender: 'alice.johnson@acme-corp.com',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
text: 'Subject: Sales Update\n\nDear all,\n\nQ2 sales numbers have exceeded expectations. Congratulations to everyone for their hard work!\n\nRegards,\nBob',
|
|
205
|
+
sender: 'bob.smith@salesforce.biz',
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
text: 'Subject: Invoice Reminder\n\nHello,\n\nThis is a friendly reminder that invoice #12345 is due next week. Please let us know if you have any questions.\n\nThank you,\nCarol',
|
|
209
|
+
sender: 'carol.finance@invoicesolutions.com',
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
text: 'Subject: Meeting Rescheduled\n\nHi team,\n\nTomorrow’s product design meeting has been moved to Friday at 2pm. Please update your calendars.\n\nThanks,\nDavid',
|
|
213
|
+
sender: 'david.lee@productdesign.io',
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
text: 'Subject: Welcome Aboard!\n\nWelcome to the company, Emily! We are thrilled to have you join the marketing department.\n\nBest,\nFiona',
|
|
217
|
+
sender: 'fiona.hr@enterpriseco.com',
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
text: 'Subject: IT Maintenance\n\nDear colleagues,\n\nScheduled IT maintenance will occur this Saturday from 1am to 5am. Please save your work accordingly.\n\nSincerely,\nGreg',
|
|
221
|
+
sender: 'greg.it@supporthub.net',
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
text: 'Subject: Lunch & Learn\n\nJoin us for a Lunch & Learn session on cloud security this Thursday in the main conference room.\n\nSee you there,\nHelen',
|
|
225
|
+
sender: 'helen.training@acme-corp.com',
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
text: 'Subject: Client Feedback\n\nHi,\n\nOur client, InnovateX, sent positive feedback on the recent deployment. Great job, everyone!\n\nCheers,\nIvan',
|
|
229
|
+
sender: 'ivan.account@consultingpartners.org',
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
text: 'Subject: Policy Update\n\nPlease review the updated remote work policy attached to this email. Let us know if you have any questions.\n\nBest regards,\nJulia',
|
|
233
|
+
sender: 'julia.admin@acme-corp.com',
|
|
234
|
+
},
|
|
235
|
+
].map((message, index, array) => {
|
|
236
|
+
const created = new Date(Date.now() - (array.length - index) * timeInterval);
|
|
237
|
+
return Obj.make(DataType.Message, {
|
|
238
|
+
created: created.toISOString(),
|
|
239
|
+
blocks: [{ _tag: 'text', text: message.text }],
|
|
240
|
+
sender: { email: message.sender },
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
|
|
244
|
+
return messages;
|
|
245
|
+
};
|
|
@@ -2,10 +2,15 @@
|
|
|
2
2
|
// Copyright 2024 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { DEFAULT_EDGE_MODEL
|
|
5
|
+
import { DEFAULT_EDGE_MODEL } from '@dxos/ai';
|
|
6
6
|
import { createSystemPrompt } from '@dxos/assistant';
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
import { type AiChatProcessorOptions } from '../processor';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated
|
|
12
|
+
*/
|
|
13
|
+
export const createProcessorOptions = (): Pick<AiChatProcessorOptions, 'model' | 'system'> => ({
|
|
9
14
|
model: DEFAULT_EDGE_MODEL,
|
|
10
|
-
|
|
15
|
+
system: createSystemPrompt({}),
|
|
11
16
|
});
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { Effect } from 'effect';
|
|
6
|
+
|
|
7
|
+
import { Obj } from '@dxos/echo';
|
|
8
|
+
import { ContextQueueService, DatabaseService } from '@dxos/functions';
|
|
9
|
+
import { faker } from '@dxos/random';
|
|
10
|
+
import { renderObjectLink } from '@dxos/react-ui-components';
|
|
11
|
+
import { type ContentBlock, DataType } from '@dxos/schema';
|
|
12
|
+
import { trim } from '@dxos/util';
|
|
13
|
+
|
|
14
|
+
export const createMessage = (role: DataType.ActorRole, blocks: ContentBlock.Any[]): DataType.Message => {
|
|
15
|
+
return Obj.make(DataType.Message, {
|
|
16
|
+
created: new Date().toISOString(),
|
|
17
|
+
sender: { role },
|
|
18
|
+
blocks,
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type MessageGenerator = Effect.Effect<void, never, DatabaseService | ContextQueueService>;
|
|
23
|
+
|
|
24
|
+
export const createMessageGenerator = (): MessageGenerator[] => [
|
|
25
|
+
Effect.gen(function* () {
|
|
26
|
+
const { queue } = yield* ContextQueueService;
|
|
27
|
+
yield* Effect.promise(() =>
|
|
28
|
+
queue.append([
|
|
29
|
+
createMessage('user', [
|
|
30
|
+
{
|
|
31
|
+
_tag: 'text',
|
|
32
|
+
text: faker.lorem.sentence(5),
|
|
33
|
+
},
|
|
34
|
+
]),
|
|
35
|
+
]),
|
|
36
|
+
);
|
|
37
|
+
}),
|
|
38
|
+
|
|
39
|
+
Effect.gen(function* () {
|
|
40
|
+
const { queue } = yield* ContextQueueService;
|
|
41
|
+
yield* Effect.promise(() =>
|
|
42
|
+
queue.append([
|
|
43
|
+
createMessage('assistant', [
|
|
44
|
+
{
|
|
45
|
+
_tag: 'text',
|
|
46
|
+
text:
|
|
47
|
+
trim`
|
|
48
|
+
## Markdown
|
|
49
|
+
Here is a [link](https://dxos.org)
|
|
50
|
+
|
|
51
|
+
And some **bold** text.
|
|
52
|
+
|
|
53
|
+
And some JSON
|
|
54
|
+
\`\`\`json
|
|
55
|
+
{
|
|
56
|
+
"key": "value"
|
|
57
|
+
}
|
|
58
|
+
\`\`\`
|
|
59
|
+
|
|
60
|
+
And some code
|
|
61
|
+
\`\`\`js
|
|
62
|
+
const x = 1;
|
|
63
|
+
\`\`\`
|
|
64
|
+
` + '\n',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
_tag: 'text',
|
|
68
|
+
disposition: 'cot',
|
|
69
|
+
text:
|
|
70
|
+
[
|
|
71
|
+
faker.lorem.paragraph(),
|
|
72
|
+
'',
|
|
73
|
+
...Array.from({ length: faker.number.int({ min: 3, max: 5 }) }).map(
|
|
74
|
+
(_, idx) => `${idx + 1}. ${faker.lorem.paragraph()}`,
|
|
75
|
+
),
|
|
76
|
+
].join('\n') + '\n',
|
|
77
|
+
},
|
|
78
|
+
]),
|
|
79
|
+
]),
|
|
80
|
+
);
|
|
81
|
+
}),
|
|
82
|
+
|
|
83
|
+
Effect.gen(function* () {
|
|
84
|
+
const { queue } = yield* ContextQueueService;
|
|
85
|
+
yield* Effect.promise(() =>
|
|
86
|
+
queue.append([
|
|
87
|
+
createMessage('assistant', [
|
|
88
|
+
{
|
|
89
|
+
_tag: 'text',
|
|
90
|
+
text: 'How can I help?',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
_tag: 'suggestion',
|
|
94
|
+
text: 'List tools',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
_tag: 'suggestion',
|
|
98
|
+
text: 'Show info',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
_tag: 'suggestion',
|
|
102
|
+
text: faker.lorem.paragraph(),
|
|
103
|
+
},
|
|
104
|
+
]),
|
|
105
|
+
createMessage('assistant', [
|
|
106
|
+
{
|
|
107
|
+
_tag: 'text',
|
|
108
|
+
text: 'Select an option:',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
_tag: 'select',
|
|
112
|
+
options: ['Option 1', 'Option 2', 'Option 3'],
|
|
113
|
+
},
|
|
114
|
+
]),
|
|
115
|
+
]),
|
|
116
|
+
);
|
|
117
|
+
}),
|
|
118
|
+
|
|
119
|
+
Effect.gen(function* () {
|
|
120
|
+
const { queue } = yield* ContextQueueService;
|
|
121
|
+
yield* Effect.promise(() =>
|
|
122
|
+
queue.append([
|
|
123
|
+
createMessage('assistant', [
|
|
124
|
+
{
|
|
125
|
+
_tag: 'toolkit',
|
|
126
|
+
},
|
|
127
|
+
]),
|
|
128
|
+
]),
|
|
129
|
+
);
|
|
130
|
+
}),
|
|
131
|
+
|
|
132
|
+
Effect.gen(function* () {
|
|
133
|
+
const { queue } = yield* ContextQueueService;
|
|
134
|
+
yield* Effect.promise(() =>
|
|
135
|
+
queue.append([
|
|
136
|
+
createMessage('user', [
|
|
137
|
+
{
|
|
138
|
+
_tag: 'text',
|
|
139
|
+
text: faker.lorem.sentence(5),
|
|
140
|
+
},
|
|
141
|
+
]),
|
|
142
|
+
]),
|
|
143
|
+
);
|
|
144
|
+
}),
|
|
145
|
+
|
|
146
|
+
Effect.gen(function* () {
|
|
147
|
+
const { queue } = yield* ContextQueueService;
|
|
148
|
+
const { db } = yield* DatabaseService;
|
|
149
|
+
const obj1 = db.add(Obj.make(DataType.Organization, { name: 'DXOS' }));
|
|
150
|
+
// const obj2 = db.add(Obj.make(DataType.Person, { fullName: 'Alice' }));
|
|
151
|
+
// const obj3 = db.add(Obj.make(DataType.Person, { fullName: 'Bob' }));
|
|
152
|
+
// const obj4 = db.add(Obj.make(DataType.Person, { fullName: 'Charlie' }));
|
|
153
|
+
yield* Effect.promise(() =>
|
|
154
|
+
queue.append([
|
|
155
|
+
createMessage('assistant', [
|
|
156
|
+
// Inline tag.
|
|
157
|
+
{
|
|
158
|
+
_tag: 'text',
|
|
159
|
+
text: [faker.lorem.paragraph(), renderObjectLink(obj1), faker.lorem.paragraph(), '\n'].join(' '),
|
|
160
|
+
},
|
|
161
|
+
|
|
162
|
+
// Inline cards.
|
|
163
|
+
// ...[obj1, obj2, obj3, obj4].map(
|
|
164
|
+
// (obj) =>
|
|
165
|
+
// ({
|
|
166
|
+
// _tag: 'text',
|
|
167
|
+
// text: renderObjectLink(obj, true) + '\n',
|
|
168
|
+
// }) satisfies ContentBlock.Text,
|
|
169
|
+
// ),
|
|
170
|
+
]),
|
|
171
|
+
]),
|
|
172
|
+
);
|
|
173
|
+
}),
|
|
174
|
+
|
|
175
|
+
Effect.gen(function* () {
|
|
176
|
+
const { queue } = yield* ContextQueueService;
|
|
177
|
+
yield* Effect.promise(() =>
|
|
178
|
+
queue.append([
|
|
179
|
+
createMessage('assistant', [
|
|
180
|
+
{
|
|
181
|
+
_tag: 'text',
|
|
182
|
+
text: faker.lorem.paragraph() + '\n',
|
|
183
|
+
},
|
|
184
|
+
]),
|
|
185
|
+
createMessage('assistant', [
|
|
186
|
+
{
|
|
187
|
+
_tag: 'toolCall',
|
|
188
|
+
toolCallId: '1234',
|
|
189
|
+
name: 'search',
|
|
190
|
+
input: JSON.stringify({}),
|
|
191
|
+
},
|
|
192
|
+
]),
|
|
193
|
+
createMessage('user', [
|
|
194
|
+
{
|
|
195
|
+
_tag: 'toolResult',
|
|
196
|
+
toolCallId: '1234',
|
|
197
|
+
name: 'search',
|
|
198
|
+
result: 'This is a tool result.',
|
|
199
|
+
},
|
|
200
|
+
]),
|
|
201
|
+
]),
|
|
202
|
+
);
|
|
203
|
+
}),
|
|
204
|
+
|
|
205
|
+
Effect.gen(function* () {
|
|
206
|
+
const { queue } = yield* ContextQueueService;
|
|
207
|
+
yield* Effect.promise(() =>
|
|
208
|
+
queue.append([
|
|
209
|
+
createMessage('assistant', [
|
|
210
|
+
{
|
|
211
|
+
_tag: 'text',
|
|
212
|
+
text: faker.lorem.paragraph() + '\n',
|
|
213
|
+
},
|
|
214
|
+
]),
|
|
215
|
+
createMessage('assistant', [
|
|
216
|
+
{
|
|
217
|
+
_tag: 'toolCall',
|
|
218
|
+
toolCallId: '4567',
|
|
219
|
+
name: 'create',
|
|
220
|
+
input: JSON.stringify({}),
|
|
221
|
+
},
|
|
222
|
+
]),
|
|
223
|
+
createMessage('user', [
|
|
224
|
+
{
|
|
225
|
+
_tag: 'toolResult',
|
|
226
|
+
toolCallId: '4567',
|
|
227
|
+
name: 'create',
|
|
228
|
+
result: 'This is a tool result.',
|
|
229
|
+
},
|
|
230
|
+
]),
|
|
231
|
+
createMessage('assistant', [
|
|
232
|
+
{
|
|
233
|
+
_tag: 'text',
|
|
234
|
+
text:
|
|
235
|
+
Array.from({ length: faker.number.int({ min: 2, max: 3 }) })
|
|
236
|
+
.map(() => faker.lorem.paragraph())
|
|
237
|
+
.join('\n\n') + '\n',
|
|
238
|
+
},
|
|
239
|
+
]),
|
|
240
|
+
]),
|
|
241
|
+
);
|
|
242
|
+
}),
|
|
243
|
+
|
|
244
|
+
Effect.gen(function* () {
|
|
245
|
+
const { queue } = yield* ContextQueueService;
|
|
246
|
+
yield* Effect.promise(() =>
|
|
247
|
+
queue.append([
|
|
248
|
+
createMessage('assistant', [
|
|
249
|
+
{
|
|
250
|
+
_tag: 'text',
|
|
251
|
+
text: faker.lorem.paragraph(),
|
|
252
|
+
},
|
|
253
|
+
]),
|
|
254
|
+
]),
|
|
255
|
+
);
|
|
256
|
+
}),
|
|
257
|
+
];
|
|
@@ -2,33 +2,8 @@
|
|
|
2
2
|
// Copyright 2025 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { ToolId
|
|
6
|
-
|
|
7
|
-
import { type Space } from '@dxos/client/echo';
|
|
8
|
-
import { SequenceParser, type SequenceDefinition } from '@dxos/conductor';
|
|
9
|
-
import { type DXN } from '@dxos/keys';
|
|
10
|
-
import { isNonNullable } from '@dxos/util';
|
|
11
|
-
|
|
12
|
-
// TODO(dmaretskyi): make db available through services (same as function executor).
|
|
13
|
-
// TODO(burdon): Can tools implement "aspects" so that variants can be used rather than an explicit reference?
|
|
14
|
-
export const createToolRegistry = (space: Space, queueDxn?: DXN): ToolRegistry => {
|
|
15
|
-
return new ToolRegistry(
|
|
16
|
-
[
|
|
17
|
-
// createExaTool({ apiKey: EXA_API_KEY }),
|
|
18
|
-
// createLocalSearchTool(space.db, queueDxn && space.queues.get(queueDxn)),
|
|
19
|
-
// queueDxn &&
|
|
20
|
-
// createGraphWriterTool({
|
|
21
|
-
// db: space.db,
|
|
22
|
-
// queue: space.queues.get(queueDxn),
|
|
23
|
-
// schema: DataTypes,
|
|
24
|
-
// onDone: async (objects) => {
|
|
25
|
-
// const queue = space.queues.get(queueDxn);
|
|
26
|
-
// await queue.append(objects);
|
|
27
|
-
// },
|
|
28
|
-
// }),
|
|
29
|
-
].filter(isNonNullable),
|
|
30
|
-
);
|
|
31
|
-
};
|
|
5
|
+
import { ToolId } from '@dxos/ai';
|
|
6
|
+
import { type SequenceDefinition, SequenceParser } from '@dxos/conductor';
|
|
32
7
|
|
|
33
8
|
export const RESEARCH_SEQUENCE_DEFINITION: SequenceDefinition = {
|
|
34
9
|
steps: [
|
package/src/translations.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { type Resource } from '@dxos/react-ui';
|
|
|
9
9
|
import { meta } from './meta';
|
|
10
10
|
import { Assistant } from './types';
|
|
11
11
|
|
|
12
|
+
// TODO(burdon): Standardize translation names.
|
|
12
13
|
export const translations = [
|
|
13
14
|
{
|
|
14
15
|
'en-US': {
|
|
@@ -33,19 +34,18 @@ export const translations = [
|
|
|
33
34
|
'delete object label': 'Delete sequence',
|
|
34
35
|
},
|
|
35
36
|
[Assistant.Chat.typename]: {
|
|
36
|
-
'typename label': '
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'object name placeholder': 'New assistant',
|
|
41
|
-
'rename object label': 'Rename assistant',
|
|
42
|
-
'delete object label': 'Delete assistant',
|
|
37
|
+
'typename label': 'AI Chat',
|
|
38
|
+
'object name placeholder': 'New AI Chat',
|
|
39
|
+
'rename object label': 'Rename AI Chat',
|
|
40
|
+
'delete object label': 'Delete AI Chat',
|
|
43
41
|
},
|
|
42
|
+
// TODO(burdon): Reconcile with react-ui-chat.
|
|
44
43
|
[meta.id]: {
|
|
45
44
|
'templates label': 'Templates',
|
|
46
45
|
'open ambient chat label': 'Open Assistant',
|
|
47
46
|
'assistant chat label': 'Assistant',
|
|
48
47
|
'plugin name': 'Assistant',
|
|
48
|
+
'settings title': 'Assistant settings',
|
|
49
49
|
'object placeholder': 'New prompt',
|
|
50
50
|
'create object label': 'Create prompt',
|
|
51
51
|
'create trigger label': 'Create trigger',
|
|
@@ -58,24 +58,43 @@ export const translations = [
|
|
|
58
58
|
'description placeholder': 'Enter description of when this template should be used',
|
|
59
59
|
'select preset template placeholder': 'Select preset',
|
|
60
60
|
'service registry label': 'Service Registry',
|
|
61
|
+
'type filter placeholder': 'Type',
|
|
62
|
+
'any type filter label': 'Any',
|
|
63
|
+
'no blueprint message': 'No active blueprints',
|
|
64
|
+
'calling tool label': 'Calling tool...',
|
|
65
|
+
'calling label': 'Calling',
|
|
66
|
+
'error label': 'Error',
|
|
61
67
|
|
|
62
68
|
'sequence logs label': 'Logs',
|
|
63
69
|
|
|
64
70
|
'assistant dialog title': 'Assistant',
|
|
65
71
|
'open assistant label': 'Open assistant',
|
|
66
72
|
|
|
67
|
-
'no tools': 'No tools are configured
|
|
73
|
+
'no tools': 'No tools are configured',
|
|
74
|
+
'no results': 'No results',
|
|
68
75
|
|
|
76
|
+
'button retry': 'Retry',
|
|
77
|
+
'button suggestion': 'Assistant suggestion',
|
|
78
|
+
'button select option': 'Select option',
|
|
79
|
+
'button cancel': 'Cancel',
|
|
69
80
|
'button save': 'Save',
|
|
70
81
|
'button run': 'Run',
|
|
82
|
+
'button new thread': 'New Chat',
|
|
83
|
+
'chat history label': 'Chat History',
|
|
84
|
+
|
|
85
|
+
'toolkit label': 'Toolkit',
|
|
86
|
+
'summary label': 'Summary',
|
|
71
87
|
|
|
72
88
|
'search placeholder': 'Search...',
|
|
73
|
-
'prompt placeholder': '
|
|
74
|
-
'context objects
|
|
75
|
-
'button
|
|
89
|
+
'prompt placeholder': 'Enter question or command...',
|
|
90
|
+
'button context objects': 'Add to context',
|
|
91
|
+
'button context settings': 'Chat settings',
|
|
76
92
|
'button microphone': 'Click to speak',
|
|
77
93
|
'button cancel processing': 'Stop processing',
|
|
78
|
-
'
|
|
94
|
+
'blueprints in context title': 'Blueprints',
|
|
95
|
+
'objects in context title': 'Content',
|
|
96
|
+
'remove object in context label': 'Remove document',
|
|
97
|
+
'chat model title': 'Model',
|
|
79
98
|
|
|
80
99
|
'settings default label': 'Default',
|
|
81
100
|
'settings custom prompts label': 'Use custom prompts',
|