@dxos/plugin-assistant 0.8.4-main.67995b8 → 0.8.4-main.c4373fc
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-TO35YXHT.mjs} +4 -3
- package/dist/lib/browser/ChatCompanion-ZIKNUUSU.mjs +127 -0
- package/dist/lib/browser/ChatCompanion-ZIKNUUSU.mjs.map +7 -0
- package/dist/lib/browser/{ChatContainer-RP3QEXYX.mjs → ChatContainer-MA5BVDGH.mjs} +33 -14
- package/dist/lib/browser/ChatContainer-MA5BVDGH.mjs.map +7 -0
- package/dist/lib/browser/{ChatDialog-ZVLXFHEY.mjs → ChatDialog-7OXLIWZI.mjs} +26 -12
- package/dist/lib/browser/ChatDialog-7OXLIWZI.mjs.map +7 -0
- package/dist/lib/browser/{SequenceContainer-3UDVKWPA.mjs → SequenceContainer-2FEWMQGW.mjs} +7 -19
- package/dist/lib/browser/SequenceContainer-2FEWMQGW.mjs.map +7 -0
- package/dist/lib/browser/ai-service-ERTZBTP3.mjs +19 -0
- package/dist/lib/browser/ai-service-ERTZBTP3.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-XSEOKJLG.mjs → app-graph-builder-VKFRYY2N.mjs} +31 -41
- package/dist/lib/browser/app-graph-builder-VKFRYY2N.mjs.map +7 -0
- package/dist/lib/browser/blueprint-definition-NSJARW5U.mjs +12 -0
- package/dist/lib/browser/blueprint-definition-NSJARW5U.mjs.map +7 -0
- package/dist/lib/browser/chunk-2CE2KPKZ.mjs +175 -0
- package/dist/lib/browser/chunk-2CE2KPKZ.mjs.map +7 -0
- package/dist/lib/browser/chunk-43I2LR6O.mjs +216 -0
- package/dist/lib/browser/chunk-43I2LR6O.mjs.map +7 -0
- package/dist/lib/browser/chunk-5EGXHCAZ.mjs +16 -0
- package/dist/lib/browser/chunk-5EGXHCAZ.mjs.map +7 -0
- package/dist/lib/browser/chunk-5RICKAMN.mjs +18 -0
- package/dist/lib/browser/chunk-5RICKAMN.mjs.map +7 -0
- package/dist/lib/browser/chunk-B2RCJXEO.mjs +202 -0
- package/dist/lib/browser/chunk-B2RCJXEO.mjs.map +7 -0
- package/dist/lib/browser/chunk-BRJMNZOS.mjs +169 -0
- package/dist/lib/browser/chunk-BRJMNZOS.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-P5P7QXBS.mjs +296 -0
- package/dist/lib/browser/chunk-P5P7QXBS.mjs.map +7 -0
- package/dist/lib/browser/chunk-UDH4MR7H.mjs +1744 -0
- package/dist/lib/browser/chunk-UDH4MR7H.mjs.map +7 -0
- package/dist/lib/browser/edge-model-resolver-O6OFYIO2.mjs +18 -0
- package/dist/lib/browser/edge-model-resolver-O6OFYIO2.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +144 -63
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/intent-resolver-5LB25ZRN.mjs +112 -0
- package/dist/lib/browser/intent-resolver-5LB25ZRN.mjs.map +7 -0
- package/dist/lib/browser/local-model-resolver-GO6ZEMLL.mjs +17 -0
- package/dist/lib/browser/local-model-resolver-GO6ZEMLL.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-WQZXU624.mjs +107 -0
- package/dist/lib/browser/react-surface-WQZXU624.mjs.map +7 -0
- package/dist/lib/browser/{settings-5GTTCVGD.mjs → settings-4B2NA4CE.mjs} +8 -7
- package/dist/lib/{node-esm/settings-J2EXEM5H.mjs.map → browser/settings-4B2NA4CE.mjs.map} +1 -1
- package/dist/lib/browser/state-LXTS54DI.mjs +21 -0
- package/dist/lib/browser/state-LXTS54DI.mjs.map +7 -0
- package/dist/lib/browser/toolkit-NQ2GXCF5.mjs +199 -0
- package/dist/lib/browser/toolkit-NQ2GXCF5.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +7 -4
- package/dist/lib/node-esm/{BlueprintContainer-RGTMNLNX.mjs → BlueprintContainer-J664LTU3.mjs} +4 -3
- package/dist/lib/{browser/BlueprintContainer-IZ4AK5EO.mjs.map → node-esm/BlueprintContainer-J664LTU3.mjs.map} +1 -1
- package/dist/lib/node-esm/ChatCompanion-YDXJIVCF.mjs +128 -0
- package/dist/lib/node-esm/ChatCompanion-YDXJIVCF.mjs.map +7 -0
- package/dist/lib/node-esm/{ChatContainer-W3W6FWV3.mjs → ChatContainer-WLTOQLHH.mjs} +33 -14
- package/dist/lib/node-esm/ChatContainer-WLTOQLHH.mjs.map +7 -0
- package/dist/lib/node-esm/{ChatDialog-QW4JRKVO.mjs → ChatDialog-ADKF62SY.mjs} +26 -12
- package/dist/lib/node-esm/ChatDialog-ADKF62SY.mjs.map +7 -0
- package/dist/lib/node-esm/{SequenceContainer-RQQH5XOC.mjs → SequenceContainer-PGGJUQ46.mjs} +7 -19
- package/dist/lib/node-esm/SequenceContainer-PGGJUQ46.mjs.map +7 -0
- package/dist/lib/node-esm/ai-service-MUYLV3NT.mjs +20 -0
- package/dist/lib/node-esm/ai-service-MUYLV3NT.mjs.map +7 -0
- package/dist/lib/node-esm/{app-graph-builder-PANCJUHV.mjs → app-graph-builder-K6AYO4YM.mjs} +31 -41
- package/dist/lib/node-esm/app-graph-builder-K6AYO4YM.mjs.map +7 -0
- package/dist/lib/node-esm/blueprint-definition-WD2IVMAI.mjs +13 -0
- package/dist/lib/node-esm/blueprint-definition-WD2IVMAI.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-73ABYRYX.mjs +20 -0
- package/dist/lib/node-esm/chunk-73ABYRYX.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-DBDKOC3I.mjs +203 -0
- package/dist/lib/node-esm/chunk-DBDKOC3I.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-DSE2IILK.mjs +217 -0
- package/dist/lib/node-esm/chunk-DSE2IILK.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-I7BZMIAG.mjs +170 -0
- package/dist/lib/node-esm/chunk-I7BZMIAG.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-TBQOICXZ.mjs +297 -0
- package/dist/lib/node-esm/chunk-TBQOICXZ.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-U2NYUS2N.mjs +177 -0
- package/dist/lib/node-esm/chunk-U2NYUS2N.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-UPPSDTOJ.mjs +1745 -0
- package/dist/lib/node-esm/chunk-UPPSDTOJ.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-XQGWSZ4T.mjs +17 -0
- package/dist/lib/node-esm/chunk-XQGWSZ4T.mjs.map +7 -0
- package/dist/lib/node-esm/edge-model-resolver-2ARXDOYS.mjs +19 -0
- package/dist/lib/node-esm/edge-model-resolver-2ARXDOYS.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +144 -63
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/intent-resolver-I64MNI4C.mjs +113 -0
- package/dist/lib/node-esm/intent-resolver-I64MNI4C.mjs.map +7 -0
- package/dist/lib/node-esm/local-model-resolver-WOQ2D2R2.mjs +18 -0
- package/dist/lib/node-esm/local-model-resolver-WOQ2D2R2.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-QDQWJ7FZ.mjs → react-surface-TVVVRIR3.mjs} +25 -68
- package/dist/lib/node-esm/react-surface-TVVVRIR3.mjs.map +7 -0
- package/dist/lib/node-esm/{settings-J2EXEM5H.mjs → settings-7Y3CRASE.mjs} +8 -7
- package/dist/lib/{browser/settings-5GTTCVGD.mjs.map → node-esm/settings-7Y3CRASE.mjs.map} +1 -1
- package/dist/lib/node-esm/state-BO6GUFLB.mjs +22 -0
- package/dist/lib/node-esm/state-BO6GUFLB.mjs.map +7 -0
- package/dist/lib/node-esm/toolkit-V57PRJNG.mjs +200 -0
- package/dist/lib/node-esm/toolkit-V57PRJNG.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +7 -4
- package/dist/types/src/AssistantPlugin.d.ts +1 -1
- package/dist/types/src/AssistantPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/ai-service.d.ts +4 -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 +11 -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 +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 -33
- 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 +1 -1
- package/dist/types/src/components/SequenceEditor/SequenceEditor.d.ts.map +1 -1
- package/dist/types/src/components/SequenceEditor/SequenceEditor.stories.d.ts +264 -3
- 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 +262 -7
- package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts +259 -2
- 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 -5
- 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/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 +7 -3
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useBlueprintRegistry.d.ts +25 -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/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/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/meta.d.ts +1 -2
- package/dist/types/src/meta.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 +3 -3
- package/dist/types/src/processor/presets.d.ts.map +1 -0
- package/dist/types/src/processor/processor.d.ts +74 -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 +28 -203
- package/dist/types/src/stories/Chat.stories.d.ts.map +1 -1
- package/dist/types/src/stories/QueryEditor.stories.d.ts +7 -0
- package/dist/types/src/stories/QueryEditor.stories.d.ts.map +1 -0
- 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/ExecutionGraphContainer.d.ts +7 -0
- package/dist/types/src/stories/components/ExecutionGraphContainer.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/MessageContainer.d.ts +4 -0
- package/dist/types/src/stories/components/MessageContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/ProjectContainer.d.ts +4 -0
- package/dist/types/src/stories/components/ProjectContainer.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/ScriptContainer.d.ts +4 -0
- package/dist/types/src/stories/components/ScriptContainer.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 +3 -0
- package/dist/types/src/stories/components/TriggersContainer.d.ts.map +1 -0
- package/dist/types/src/stories/components/index.d.ts +18 -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 +51 -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 +15 -12
- package/dist/types/src/types/service.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +115 -96
- package/src/AssistantPlugin.tsx +150 -107
- package/src/capabilities/ai-service.ts +27 -0
- package/src/capabilities/app-graph-builder.ts +45 -51
- package/src/capabilities/blueprint-definition.ts +64 -0
- package/src/capabilities/capabilities.ts +18 -0
- package/src/capabilities/edge-model-resolver.ts +25 -0
- package/src/capabilities/index.ts +9 -0
- package/src/capabilities/intent-resolver.ts +46 -24
- package/src/capabilities/local-model-resolver.ts +30 -0
- package/src/capabilities/react-surface.tsx +10 -57
- package/src/capabilities/state.ts +20 -0
- package/src/capabilities/toolkit.ts +168 -0
- package/src/components/AssistantSettings/AssistantSettings.tsx +83 -76
- package/src/components/Chat/Chat.tsx +180 -176
- package/src/components/Chat/events.ts +7 -0
- package/src/components/ChatCompanion.tsx +114 -0
- package/src/components/ChatContainer.tsx +19 -13
- package/src/components/ChatDialog.tsx +18 -14
- package/src/components/ChatProgress/ChatProgress.tsx +67 -0
- package/src/components/ChatProgress/index.ts +5 -0
- package/src/components/ChatPrompt/ChatActions.tsx +10 -24
- package/src/components/ChatPrompt/ChatOptions.tsx +225 -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 +98 -112
- 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 +184 -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 +29 -30
- package/src/components/SequenceEditor/SequenceEditor.stories.tsx +11 -8
- package/src/components/SequenceEditor/SequenceEditor.tsx +3 -3
- package/src/components/TemplateEditor/TemplateEditor.stories.tsx +26 -15
- package/src/components/TemplateEditor/TemplateEditor.tsx +17 -50
- package/src/components/TemplateEditor/TemplateForm.stories.tsx +15 -10
- package/src/components/TemplateEditor/TemplateForm.tsx +4 -2
- 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 +13 -22
- package/src/components/Toolbox/Toolbox.tsx +21 -51
- package/src/components/index.ts +3 -4
- package/src/events.ts +2 -2
- package/src/functions/analysis.ts +22 -0
- package/src/functions/index.ts +7 -0
- package/src/functions/list.ts +48 -0
- package/src/functions/load.ts +46 -0
- package/src/hooks/index.ts +7 -4
- package/src/hooks/useBlueprintRegistry.ts +94 -0
- package/src/hooks/useChatProcessor.ts +21 -98
- package/src/hooks/useChatServices.ts +30 -48
- package/src/hooks/useContextBinder.ts +18 -0
- package/src/hooks/useContextObjects.ts +58 -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 +4 -6
- package/src/processor/index.ts +6 -0
- package/src/{hooks → processor}/presets.ts +15 -7
- package/src/processor/processor.test.ts +81 -0
- package/src/processor/processor.ts +303 -0
- package/src/queue-logger.ts +10 -10
- package/src/stories/Chat.stories.tsx +816 -305
- package/src/stories/QueryEditor.stories.tsx +114 -0
- 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/ExecutionGraphContainer.tsx +30 -0
- package/src/stories/components/GraphContainer.tsx +106 -0
- package/src/stories/components/InvocationsContainer.tsx +17 -0
- package/src/stories/components/MessageContainer.tsx +22 -0
- package/src/stories/components/ProjectContainer.tsx +17 -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/ScriptContainer.tsx +28 -0
- package/src/stories/components/TasksContainer.tsx +47 -0
- package/src/stories/components/TokenManagerContainer.tsx +14 -0
- package/src/stories/components/TriggersContainer.tsx +12 -0
- package/src/stories/components/index.ts +22 -0
- package/src/stories/components/types.ts +11 -0
- package/src/stories/testing/data.ts +135 -0
- package/src/stories/testing/index.ts +6 -0
- package/src/stories/testing/schema.ts +17 -0
- package/src/stories/testing/testing.tsx +291 -0
- package/src/testing/index.ts +3 -1
- package/src/testing/test-data.ts +248 -0
- package/src/testing/test-functions.ts +8 -3
- package/src/testing/test-generator.ts +261 -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/types/service.ts +2 -2
- 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-FDCJSQYF.mjs.map +0 -7
- 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 +0 -150
- 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-QN2H2EHV.mjs.map +0 -7
- 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-TO35YXHT.mjs.map} +0 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { type Live, type Space } from '@dxos/client/echo';
|
|
6
|
+
import { Obj, Ref, Relation, type Type } from '@dxos/echo';
|
|
7
|
+
import { invariant } from '@dxos/invariant';
|
|
8
|
+
import { DataType } from '@dxos/schema';
|
|
9
|
+
|
|
10
|
+
export const testTypes: Type.Obj.Any[] = [
|
|
11
|
+
DataType.Organization,
|
|
12
|
+
DataType.Person,
|
|
13
|
+
DataType.Employer,
|
|
14
|
+
DataType.HasConnection,
|
|
15
|
+
];
|
|
16
|
+
|
|
17
|
+
export const organizations: (Type.Properties<DataType.Organization> & { id: string })[] = [
|
|
18
|
+
{ id: 'dxos', name: 'DXOS', website: 'https://dxos.org' },
|
|
19
|
+
{ id: 'socket_supply', name: 'Socket Supply', website: 'https://socketsupply.com' },
|
|
20
|
+
{ id: 'ink_and_switch', name: 'Ink & Switch', website: 'https://inkandswitch.com' },
|
|
21
|
+
{ id: 'effectful', name: 'Effectful', website: 'https://effect.co' },
|
|
22
|
+
{ id: 'blueyard', name: 'Blue Yard', website: 'https://blueyard.com' },
|
|
23
|
+
{ id: 'backed', name: 'Backed', website: 'https://backed.vc' },
|
|
24
|
+
{ id: 'protocol_labs', name: 'Protocol Labs', website: 'https://protocol.ai' },
|
|
25
|
+
{ id: 'newlab', name: 'Newlab', website: 'https://newlab.com' },
|
|
26
|
+
{ id: 'google', name: 'Google', website: 'https://google.com' },
|
|
27
|
+
{ id: 'microsoft', name: 'Microsoft', website: 'https://microsoft.com' },
|
|
28
|
+
{ id: 'openai', name: 'OpenAI', website: 'https://openai.com' },
|
|
29
|
+
{ id: 'anthropic', name: 'Anthropic', website: 'https://anthropic.com' },
|
|
30
|
+
{ id: 'amazon', name: 'Amazon', website: 'https://amazon.com' },
|
|
31
|
+
{ id: 'deshaw', name: 'D. E. Shaw & Co.', website: 'https://deshaw.com' },
|
|
32
|
+
];
|
|
33
|
+
|
|
34
|
+
export const people: (Type.Properties<DataType.Person> & { id: string })[] = [
|
|
35
|
+
{ id: 'rich_burdon', fullName: 'Rich Burdon' },
|
|
36
|
+
{ id: 'josiah_witt', fullName: 'Josiah Witt' },
|
|
37
|
+
{ id: 'dima_maretskyi', fullName: 'Dima Maretskyi' },
|
|
38
|
+
{ id: 'chad_fowler', fullName: 'Chad Fowler' },
|
|
39
|
+
{ id: 'ciaran_oleary', fullName: "Ciarán O'Leary" },
|
|
40
|
+
{ id: 'jason_whitmire', fullName: 'Jason Whitmire' },
|
|
41
|
+
{ id: 'alex_brunicki', fullName: 'Alex Brunicki' },
|
|
42
|
+
{ id: 'andre_de_haes', fullName: 'Andre de Haes' },
|
|
43
|
+
{ id: 'scott_cohen', fullName: 'Scott Cohen' },
|
|
44
|
+
{ id: 'juan_benet', fullName: 'Juan Benet' },
|
|
45
|
+
{ id: 'satya_nadella', fullName: 'Satya Nadella' },
|
|
46
|
+
{ id: 'kevin_scott', fullName: 'Kevin Scott' },
|
|
47
|
+
{ id: 'jeff_bezos', fullName: 'Jeff Bezos' },
|
|
48
|
+
];
|
|
49
|
+
|
|
50
|
+
const testObjects: Record<string, any[]> = {
|
|
51
|
+
[DataType.Organization.typename]: organizations,
|
|
52
|
+
[DataType.Person.typename]: people,
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const testRelationships: Record<
|
|
56
|
+
string,
|
|
57
|
+
({
|
|
58
|
+
source: string;
|
|
59
|
+
target: string;
|
|
60
|
+
} & Record<string, any>)[]
|
|
61
|
+
> = {
|
|
62
|
+
[DataType.Employer.typename]: [
|
|
63
|
+
// prettier-ignore
|
|
64
|
+
{ source: 'rich_burdon', target: 'dxos', active: true },
|
|
65
|
+
{ source: 'rich_burdon', target: 'google', active: false }, // TODO(burdon): Should not contribute to force.
|
|
66
|
+
{ source: 'rich_burdon', target: 'deshaw', active: false },
|
|
67
|
+
{ source: 'josiah_witt', target: 'dxos', active: true },
|
|
68
|
+
{ source: 'dima_maretskyi', target: 'dxos', active: true },
|
|
69
|
+
{ source: 'chad_fowler', target: 'blueyard', active: true },
|
|
70
|
+
{ source: 'chad_fowler', target: 'microsoft', active: false },
|
|
71
|
+
{ source: 'ciaran_oleary', target: 'blueyard', active: true },
|
|
72
|
+
{ source: 'jason_whitmire', target: 'blueyard', active: true },
|
|
73
|
+
{ source: 'juan_benet', target: 'protocol_labs', active: true },
|
|
74
|
+
{ source: 'alex_brunicki', target: 'backed', active: true },
|
|
75
|
+
{ source: 'andre_de_haes', target: 'backed', active: true },
|
|
76
|
+
{ source: 'scott_cohen', target: 'newlab', active: true },
|
|
77
|
+
{ source: 'satya_nadella', target: 'microsoft', active: true },
|
|
78
|
+
{ source: 'kevin_scott', target: 'microsoft', active: true },
|
|
79
|
+
{ source: 'kevin_scott', target: 'google', active: false },
|
|
80
|
+
{ source: 'jeff_bezos', target: 'amazon', active: true },
|
|
81
|
+
{ source: 'jeff_bezos', target: 'deshaw', active: false },
|
|
82
|
+
],
|
|
83
|
+
|
|
84
|
+
// TODO(burdon): Limit graph view to selected relationship types.
|
|
85
|
+
[DataType.HasConnection.typename]: [
|
|
86
|
+
// prettier-ignore
|
|
87
|
+
{ kind: 'partner', source: 'dxos', target: 'ink_and_switch' },
|
|
88
|
+
{ kind: 'partner', source: 'dxos', target: 'effectful' },
|
|
89
|
+
{ kind: 'partner', source: 'dxos', target: 'socket_supply' },
|
|
90
|
+
|
|
91
|
+
// prettier-ignore
|
|
92
|
+
{ kind: 'investor', source: 'blueyard', target: 'dxos' },
|
|
93
|
+
{ kind: 'investor', source: 'blueyard', target: 'protocol_labs' },
|
|
94
|
+
{ kind: 'investor', source: 'protocol_labs', target: 'dxos' },
|
|
95
|
+
{ kind: 'investor', source: 'backed', target: 'dxos' },
|
|
96
|
+
{ kind: 'investor', source: 'newlab', target: 'dxos' },
|
|
97
|
+
{ kind: 'investor', source: 'microsoft', target: 'openai' },
|
|
98
|
+
{ kind: 'investor', source: 'google', target: 'anthropic' },
|
|
99
|
+
{ kind: 'investor', source: 'amazon', target: 'anthropic' },
|
|
100
|
+
],
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export const addTestData = async (space: Space): Promise<void> => {
|
|
104
|
+
const objectMap = new Map<string, Live<any>>();
|
|
105
|
+
|
|
106
|
+
for (const [typename, objects] of Object.entries(testObjects)) {
|
|
107
|
+
const schema = space.db.graph.schemaRegistry.getSchema(typename);
|
|
108
|
+
invariant(schema, `Schema not found: ${typename}`);
|
|
109
|
+
for (const { id, ...data } of objects) {
|
|
110
|
+
const object = space.db.add(Obj.make(schema, data));
|
|
111
|
+
objectMap.set(id, object);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
for (const [typename, relationships] of Object.entries(testRelationships)) {
|
|
116
|
+
const schema = space.db.graph.schemaRegistry.getSchema(typename);
|
|
117
|
+
invariant(schema, `Schema not found: ${typename}`);
|
|
118
|
+
|
|
119
|
+
for (const { source, target, ...data } of relationships) {
|
|
120
|
+
const sourceObject = objectMap.get(source);
|
|
121
|
+
const targetObject = objectMap.get(target);
|
|
122
|
+
invariant(sourceObject, `Source object not found: ${source}`);
|
|
123
|
+
invariant(targetObject, `Target object not found: ${target}`);
|
|
124
|
+
|
|
125
|
+
space.db.add(
|
|
126
|
+
Relation.make(schema, {
|
|
127
|
+
// TODO(burdon): Test source/target types match.
|
|
128
|
+
[Relation.Source]: sourceObject,
|
|
129
|
+
[Relation.Target]: targetObject,
|
|
130
|
+
...data,
|
|
131
|
+
}),
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
export const createTestTranscription = (): DataType.Message[] => {
|
|
138
|
+
const timeInterval = 1_000;
|
|
139
|
+
const transcription: DataType.Message[] = [
|
|
140
|
+
{
|
|
141
|
+
text: 'Hey everyone, glad we could all connect today. I was thinking we could discuss where AI might be heading in the next decade.',
|
|
142
|
+
sender: 'Mykola',
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
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.',
|
|
146
|
+
sender: 'Rich',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
text: 'That’s true, but there are risks too. If AI predicts too much, we might lose the sense of making decisions ourselves.',
|
|
150
|
+
sender: 'Dima',
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
text: 'Good point. I think the balance will come from better human-AI collaboration rather than pure automation.',
|
|
154
|
+
sender: 'Dima',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
text: 'Right, like AI as a co-pilot instead of a replacement. I see that happening a lot in creative fields already.',
|
|
158
|
+
sender: 'Mykola',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
text: 'Exactly. And in science, too—AI models can suggest hypotheses humans wouldn’t think of, speeding up discoveries.',
|
|
162
|
+
sender: 'Rich',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
text: 'So it looks like the future is less about AI replacing us, and more about AI amplifying what humans can do.',
|
|
166
|
+
sender: 'Dima',
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
text: 'I think we should research alignment of AI with human values.',
|
|
170
|
+
sender: 'Mykola',
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
text: 'I agree. We should also research the risks of AI generating content and polluting knowledge bases.',
|
|
174
|
+
sender: 'Rich',
|
|
175
|
+
},
|
|
176
|
+
].map((message, index, array) => {
|
|
177
|
+
const created = new Date(Date.now() - (array.length - index) * timeInterval);
|
|
178
|
+
return Obj.make(DataType.Message, {
|
|
179
|
+
created: created.toISOString(),
|
|
180
|
+
blocks: [{ _tag: 'transcript', started: created.toISOString(), text: message.text }],
|
|
181
|
+
sender: { identityDid: message.sender },
|
|
182
|
+
});
|
|
183
|
+
});
|
|
184
|
+
|
|
185
|
+
return transcription;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
// TODO(wittjosiah): Find way to use data generator to generate substantive messages that could be summarized.
|
|
189
|
+
export const createTestMailbox = (contacts?: DataType.Person[]): DataType.Message[] => {
|
|
190
|
+
const timeInterval = 1000;
|
|
191
|
+
const messages: DataType.Message[] = [
|
|
192
|
+
{
|
|
193
|
+
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',
|
|
194
|
+
sender: contacts?.[0] ?? 'alice.johnson@acme-corp.com',
|
|
195
|
+
labels: ['Project'],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
text: 'Subject: Sales Update\n\nDear all,\n\nQ2 sales numbers have exceeded expectations. Congratulations to everyone for their hard work!\n\nRegards,\nBob',
|
|
199
|
+
sender: contacts?.[1] ?? 'bob.smith@salesforce.biz',
|
|
200
|
+
labels: ['Project'],
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
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',
|
|
204
|
+
sender: contacts?.[2] ?? 'carol.finance@invoicesolutions.com',
|
|
205
|
+
labels: ['Project'],
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
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',
|
|
209
|
+
sender: contacts?.[3] ?? 'david.lee@productdesign.io',
|
|
210
|
+
labels: ['Project'],
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
text: 'Subject: Welcome Aboard!\n\nWelcome to the company, Emily! We are thrilled to have you join the marketing department.\n\nBest,\nFiona',
|
|
214
|
+
sender: contacts?.[4] ?? 'fiona.hr@enterpriseco.com',
|
|
215
|
+
labels: [],
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
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',
|
|
219
|
+
sender: contacts?.[5] ?? 'greg.it@supporthub.net',
|
|
220
|
+
labels: [],
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
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',
|
|
224
|
+
sender: contacts?.[6] ?? 'helen.training@acme-corp.com',
|
|
225
|
+
labels: [],
|
|
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: contacts?.[7] ?? 'ivan.account@consultingpartners.org',
|
|
230
|
+
labels: [],
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
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',
|
|
234
|
+
sender: contacts?.[8] ?? 'julia.admin@acme-corp.com',
|
|
235
|
+
labels: [],
|
|
236
|
+
},
|
|
237
|
+
].map((message, index, array) => {
|
|
238
|
+
const created = new Date(Date.now() - (array.length - index) * timeInterval);
|
|
239
|
+
return Obj.make(DataType.Message, {
|
|
240
|
+
created: created.toISOString(),
|
|
241
|
+
blocks: [{ _tag: 'text', text: message.text }],
|
|
242
|
+
sender: typeof message.sender === 'string' ? { email: message.sender } : { contact: Ref.make(message.sender) },
|
|
243
|
+
properties: { labels: message.labels },
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
return messages;
|
|
248
|
+
};
|
|
@@ -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,261 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import * as Effect from 'effect/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
|
+
providerExecuted: false,
|
|
192
|
+
},
|
|
193
|
+
]),
|
|
194
|
+
createMessage('user', [
|
|
195
|
+
{
|
|
196
|
+
_tag: 'toolResult',
|
|
197
|
+
toolCallId: '1234',
|
|
198
|
+
name: 'search',
|
|
199
|
+
result: 'This is a tool result.',
|
|
200
|
+
providerExecuted: false,
|
|
201
|
+
},
|
|
202
|
+
]),
|
|
203
|
+
]),
|
|
204
|
+
);
|
|
205
|
+
}),
|
|
206
|
+
|
|
207
|
+
Effect.gen(function* () {
|
|
208
|
+
const { queue } = yield* ContextQueueService;
|
|
209
|
+
yield* Effect.promise(() =>
|
|
210
|
+
queue.append([
|
|
211
|
+
createMessage('assistant', [
|
|
212
|
+
{
|
|
213
|
+
_tag: 'text',
|
|
214
|
+
text: faker.lorem.paragraph() + '\n',
|
|
215
|
+
},
|
|
216
|
+
]),
|
|
217
|
+
createMessage('assistant', [
|
|
218
|
+
{
|
|
219
|
+
_tag: 'toolCall',
|
|
220
|
+
toolCallId: '4567',
|
|
221
|
+
name: 'create',
|
|
222
|
+
input: JSON.stringify({}),
|
|
223
|
+
providerExecuted: false,
|
|
224
|
+
},
|
|
225
|
+
]),
|
|
226
|
+
createMessage('user', [
|
|
227
|
+
{
|
|
228
|
+
_tag: 'toolResult',
|
|
229
|
+
toolCallId: '4567',
|
|
230
|
+
name: 'create',
|
|
231
|
+
result: 'This is a tool result.',
|
|
232
|
+
providerExecuted: false,
|
|
233
|
+
},
|
|
234
|
+
]),
|
|
235
|
+
createMessage('assistant', [
|
|
236
|
+
{
|
|
237
|
+
_tag: 'text',
|
|
238
|
+
text:
|
|
239
|
+
Array.from({ length: faker.number.int({ min: 2, max: 3 }) })
|
|
240
|
+
.map(() => faker.lorem.paragraph())
|
|
241
|
+
.join('\n\n') + '\n',
|
|
242
|
+
},
|
|
243
|
+
]),
|
|
244
|
+
]),
|
|
245
|
+
);
|
|
246
|
+
}),
|
|
247
|
+
|
|
248
|
+
Effect.gen(function* () {
|
|
249
|
+
const { queue } = yield* ContextQueueService;
|
|
250
|
+
yield* Effect.promise(() =>
|
|
251
|
+
queue.append([
|
|
252
|
+
createMessage('assistant', [
|
|
253
|
+
{
|
|
254
|
+
_tag: 'text',
|
|
255
|
+
text: faker.lorem.paragraph(),
|
|
256
|
+
},
|
|
257
|
+
]),
|
|
258
|
+
]),
|
|
259
|
+
);
|
|
260
|
+
}),
|
|
261
|
+
];
|
|
@@ -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',
|