@dxos/plugin-assistant 0.8.4-main.5acf9ea → 0.8.4-main.66e292d
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/BlueprintArticle-BWSLH6LG.mjs +36 -0
- package/dist/lib/browser/BlueprintArticle-BWSLH6LG.mjs.map +7 -0
- package/dist/lib/browser/ChatCompanion-OSZZZSWV.mjs +158 -0
- package/dist/lib/browser/ChatCompanion-OSZZZSWV.mjs.map +7 -0
- package/dist/lib/browser/ChatContainer-2W6FNSJD.mjs +77 -0
- package/dist/lib/browser/ChatContainer-2W6FNSJD.mjs.map +7 -0
- package/dist/lib/browser/{ChatDialog-ZVLXFHEY.mjs → ChatDialog-XQ3KDYWE.mjs} +30 -12
- package/dist/lib/browser/ChatDialog-XQ3KDYWE.mjs.map +7 -0
- package/dist/lib/browser/PromptArticle-Q7JYGFQV.mjs +59 -0
- package/dist/lib/browser/PromptArticle-Q7JYGFQV.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-LM6GVHQO.mjs +199 -0
- package/dist/lib/browser/app-graph-builder-LM6GVHQO.mjs.map +7 -0
- package/dist/lib/browser/blueprint-definition-VBEOXNBS.mjs +12 -0
- package/dist/lib/browser/blueprint-definition-VBEOXNBS.mjs.map +7 -0
- package/dist/lib/browser/chunk-2BOE3OTW.mjs +262 -0
- package/dist/lib/browser/chunk-2BOE3OTW.mjs.map +7 -0
- package/dist/lib/browser/chunk-5JZRYQZL.mjs +229 -0
- package/dist/lib/browser/chunk-5JZRYQZL.mjs.map +7 -0
- package/dist/lib/browser/chunk-7ZJIXQ2Y.mjs +335 -0
- package/dist/lib/browser/chunk-7ZJIXQ2Y.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-LRE4VEZV.mjs +16 -0
- package/dist/lib/browser/chunk-LRE4VEZV.mjs.map +7 -0
- package/dist/lib/browser/chunk-NC2QNMBF.mjs +176 -0
- package/dist/lib/browser/chunk-NC2QNMBF.mjs.map +7 -0
- package/dist/lib/browser/chunk-PWSTPQUY.mjs +1929 -0
- package/dist/lib/browser/chunk-PWSTPQUY.mjs.map +7 -0
- package/dist/lib/browser/chunk-WBG5PTSX.mjs +23 -0
- package/dist/lib/browser/chunk-WBG5PTSX.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 +221 -107
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/intent-resolver-EEYS2GJF.mjs +143 -0
- package/dist/lib/browser/intent-resolver-EEYS2GJF.mjs.map +7 -0
- package/dist/lib/browser/local-model-resolver-34MVHRKD.mjs +17 -0
- package/dist/lib/browser/local-model-resolver-34MVHRKD.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-ECKZNDSU.mjs +98 -0
- package/dist/lib/browser/react-surface-ECKZNDSU.mjs.map +7 -0
- package/dist/lib/browser/repair-3MZXLUHO.mjs +44 -0
- package/dist/lib/browser/repair-3MZXLUHO.mjs.map +7 -0
- package/dist/lib/browser/{settings-5GTTCVGD.mjs → settings-HD5WA24I.mjs} +8 -7
- package/dist/lib/{node-esm/settings-J2EXEM5H.mjs.map → browser/settings-HD5WA24I.mjs.map} +1 -1
- package/dist/lib/browser/state-GG7Z3NB7.mjs +25 -0
- package/dist/lib/browser/state-GG7Z3NB7.mjs.map +7 -0
- package/dist/lib/browser/toolkit-VYDAWNE4.mjs +17 -0
- package/dist/lib/browser/toolkit-VYDAWNE4.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +7 -4
- package/dist/lib/node-esm/BlueprintArticle-R2XYBRCK.mjs +37 -0
- package/dist/lib/node-esm/BlueprintArticle-R2XYBRCK.mjs.map +7 -0
- package/dist/lib/node-esm/ChatCompanion-IUMU7WRQ.mjs +159 -0
- package/dist/lib/node-esm/ChatCompanion-IUMU7WRQ.mjs.map +7 -0
- package/dist/lib/node-esm/{ChatContainer-W3W6FWV3.mjs → ChatContainer-CTUNUEU3.mjs} +38 -15
- package/dist/lib/node-esm/ChatContainer-CTUNUEU3.mjs.map +7 -0
- package/dist/lib/node-esm/{ChatDialog-QW4JRKVO.mjs → ChatDialog-X42ASXQD.mjs} +30 -12
- package/dist/lib/node-esm/ChatDialog-X42ASXQD.mjs.map +7 -0
- package/dist/lib/node-esm/PromptArticle-IV7O5UZ3.mjs +60 -0
- package/dist/lib/node-esm/PromptArticle-IV7O5UZ3.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-6XUAGTRS.mjs +200 -0
- package/dist/lib/node-esm/app-graph-builder-6XUAGTRS.mjs.map +7 -0
- package/dist/lib/node-esm/blueprint-definition-RDCLLIQH.mjs +13 -0
- package/dist/lib/node-esm/blueprint-definition-RDCLLIQH.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-25GMMNY5.mjs +178 -0
- package/dist/lib/node-esm/chunk-25GMMNY5.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-3Q22TTXW.mjs +264 -0
- package/dist/lib/node-esm/chunk-3Q22TTXW.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-CKW4IYLY.mjs +336 -0
- package/dist/lib/node-esm/chunk-CKW4IYLY.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-E4JSYCWZ.mjs +230 -0
- package/dist/lib/node-esm/chunk-E4JSYCWZ.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-WE6KTH72.mjs +25 -0
- package/dist/lib/node-esm/chunk-WE6KTH72.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-YWFWT57N.mjs +17 -0
- package/dist/lib/node-esm/chunk-YWFWT57N.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-Z37USO4K.mjs +1930 -0
- package/dist/lib/node-esm/chunk-Z37USO4K.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 +221 -107
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/intent-resolver-4SRYLDK5.mjs +144 -0
- package/dist/lib/node-esm/intent-resolver-4SRYLDK5.mjs.map +7 -0
- package/dist/lib/node-esm/local-model-resolver-TP2NTSAX.mjs +18 -0
- package/dist/lib/node-esm/local-model-resolver-TP2NTSAX.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react-surface-NLIG5VAI.mjs +99 -0
- package/dist/lib/node-esm/react-surface-NLIG5VAI.mjs.map +7 -0
- package/dist/lib/node-esm/repair-RER5H7Y6.mjs +45 -0
- package/dist/lib/node-esm/repair-RER5H7Y6.mjs.map +7 -0
- package/dist/lib/node-esm/{settings-J2EXEM5H.mjs → settings-YJQVKHH5.mjs} +8 -7
- package/dist/lib/{browser/settings-5GTTCVGD.mjs.map → node-esm/settings-YJQVKHH5.mjs.map} +1 -1
- package/dist/lib/node-esm/state-FSUHFMDM.mjs +26 -0
- package/dist/lib/node-esm/state-FSUHFMDM.mjs.map +7 -0
- package/dist/lib/node-esm/toolkit-HFJZLVIR.mjs +18 -0
- package/dist/lib/node-esm/toolkit-HFJZLVIR.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 +10 -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 +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/repair.d.ts +4 -0
- package/dist/types/src/capabilities/repair.d.ts.map +1 -0
- 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/BlueprintArticle.d.ts +7 -0
- package/dist/types/src/components/BlueprintArticle.d.ts.map +1 -0
- package/dist/types/src/components/Chat/Chat.d.ts +35 -21
- package/dist/types/src/components/Chat/Chat.d.ts.map +1 -1
- package/dist/types/src/components/Chat/events.d.ts +9 -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 +9 -6
- 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 +12 -10
- package/dist/types/src/components/ChatThread/ChatThread.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts +196 -55
- 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 +42 -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/PromptArticle.d.ts +7 -0
- package/dist/types/src/components/PromptArticle.d.ts.map +1 -0
- package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts +2 -6
- package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts +317 -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 +314 -2
- package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/extensions/handlebars-extension.d.ts +12 -0
- package/dist/types/src/components/TemplateEditor/extensions/handlebars-extension.d.ts.map +1 -0
- package/dist/types/src/components/TemplateEditor/extensions/index.d.ts +3 -0
- package/dist/types/src/components/TemplateEditor/extensions/index.d.ts.map +1 -0
- package/dist/types/src/components/TemplateEditor/extensions/xml-extension.d.ts +8 -0
- package/dist/types/src/components/TemplateEditor/extensions/xml-extension.d.ts.map +1 -0
- package/dist/types/src/components/ToolBlock/ToolBlock.d.ts +21 -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/Toolbox/Toolbox.d.ts +6 -11
- package/dist/types/src/components/Toolbox/Toolbox.d.ts.map +1 -1
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts +318 -5
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +4 -6
- 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/object-list.d.ts +10 -0
- package/dist/types/src/functions/object-list.d.ts.map +1 -0
- package/dist/types/src/functions/object-load.d.ts +8 -0
- package/dist/types/src/functions/object-load.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +8 -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 -19
- 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/useChatToolbarActions.d.ts +8 -0
- package/dist/types/src/hooks/useChatToolbarActions.d.ts.map +1 -0
- package/dist/types/src/hooks/useContextBinder.d.ts +4 -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/useFilteredTypes.d.ts +4 -0
- package/dist/types/src/hooks/useFilteredTypes.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/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/index.d.ts +2 -0
- package/dist/types/src/index.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 +4 -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/processor/update-name.d.ts +10 -0
- package/dist/types/src/processor/update-name.d.ts.map +1 -0
- package/dist/types/src/queue-logger.d.ts.map +1 -1
- package/dist/types/src/testing/index.d.ts +1 -1
- package/dist/types/src/testing/index.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/testing/test-services.d.ts +2 -2
- package/dist/types/src/testing/test-services.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +262 -28
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Assistant.d.ts +45 -0
- package/dist/types/src/types/Assistant.d.ts.map +1 -0
- package/dist/types/src/types/AssistantAction.d.ts +129 -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 +135 -85
- package/dist/types/src/types/service.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +100 -97
- package/src/AssistantPlugin.tsx +151 -111
- package/src/capabilities/ai-service.ts +27 -0
- package/src/capabilities/app-graph-builder.ts +101 -60
- package/src/capabilities/blueprint-definition.ts +66 -0
- package/src/capabilities/capabilities.ts +17 -0
- package/src/capabilities/edge-model-resolver.ts +25 -0
- package/src/capabilities/index.ts +10 -0
- package/src/capabilities/intent-resolver.ts +89 -26
- package/src/capabilities/local-model-resolver.ts +30 -0
- package/src/capabilities/react-surface.tsx +24 -75
- package/src/capabilities/repair.ts +49 -0
- package/src/capabilities/state.ts +22 -0
- package/src/capabilities/toolkit.ts +17 -0
- package/src/components/AssistantSettings/AssistantSettings.tsx +83 -76
- package/src/components/BlueprintArticle.tsx +29 -0
- package/src/components/Chat/Chat.tsx +260 -217
- package/src/components/Chat/events.ts +13 -0
- package/src/components/ChatCompanion.tsx +155 -0
- package/src/components/ChatContainer.tsx +36 -20
- package/src/components/ChatDialog.tsx +25 -14
- package/src/components/ChatProgress/ChatProgress.tsx +67 -0
- package/src/components/{SequenceEditor → ChatProgress}/index.ts +1 -1
- package/src/components/ChatPrompt/ChatActions.tsx +10 -26
- package/src/components/ChatPrompt/ChatOptions.tsx +234 -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 +120 -115
- package/src/components/ChatThread/ChatThread.tsx +65 -35
- package/src/components/ChatThread/Link.tsx +26 -0
- package/src/components/ChatThread/reducers.ts +151 -0
- package/src/components/ChatThread/registry.tsx +174 -0
- package/src/components/ChatThread/sync.test.ts +89 -0
- package/src/components/ChatThread/sync.ts +148 -0
- package/src/components/ChatThread/testing/thread.md +37 -0
- package/src/components/PromptArticle.tsx +51 -0
- package/src/components/TemplateEditor/TemplateEditor.stories.tsx +38 -17
- package/src/components/TemplateEditor/TemplateEditor.tsx +30 -54
- package/src/components/TemplateEditor/TemplateForm.stories.tsx +16 -11
- package/src/components/TemplateEditor/TemplateForm.tsx +5 -3
- package/src/components/TemplateEditor/extensions/handlebars-extension.ts +269 -0
- package/src/components/TemplateEditor/extensions/index.ts +6 -0
- package/src/components/TemplateEditor/extensions/xml-extension.ts +64 -0
- package/src/components/ToolBlock/ToolBlock.tsx +143 -0
- package/src/components/ToolBlock/ToolBlockWidget.tsx +5 -0
- package/src/components/ToolBlock/index.ts +6 -0
- package/src/components/Toolbox/Toolbox.stories.tsx +14 -23
- package/src/components/Toolbox/Toolbox.tsx +25 -55
- package/src/components/index.ts +3 -7
- package/src/events.ts +2 -2
- package/src/functions/analysis.ts +22 -0
- package/src/functions/index.ts +7 -0
- package/src/functions/object-list.ts +48 -0
- package/src/functions/object-load.ts +45 -0
- package/src/hooks/index.ts +8 -4
- package/src/hooks/useBlueprintRegistry.ts +95 -0
- package/src/hooks/useChatProcessor.ts +35 -104
- package/src/hooks/useChatServices.ts +33 -49
- package/src/hooks/useChatToolbarActions.ts +122 -0
- package/src/hooks/useContextBinder.ts +30 -0
- package/src/hooks/useContextObjects.ts +58 -0
- package/src/hooks/useFilteredTypes.ts +38 -0
- package/src/hooks/useFlush.ts +35 -0
- package/src/hooks/useOnline.ts +10 -0
- package/src/hooks/usePresets.ts +44 -0
- package/src/hooks/useReferencesProvider.ts +13 -10
- package/src/index.ts +2 -0
- package/src/meta.ts +9 -6
- package/src/processor/index.ts +7 -0
- package/src/{hooks → processor}/presets.ts +16 -8
- package/src/processor/processor.test.ts +71 -0
- package/src/processor/processor.ts +277 -0
- package/src/processor/update-name.ts +56 -0
- package/src/queue-logger.ts +13 -17
- package/src/testing/index.ts +1 -1
- package/src/testing/test-generator.ts +261 -0
- package/src/testing/test-sequence.ts +2 -27
- package/src/testing/test-services.ts +2 -8
- package/src/translations.ts +49 -18
- package/src/types/Assistant.ts +63 -0
- package/src/types/AssistantAction.ts +79 -0
- package/src/types/defs.ts +5 -0
- package/src/types/index.ts +4 -1
- package/src/types/service.ts +17 -9
- package/src/vite-env.d.ts +30 -0
- package/dist/lib/browser/BlueprintContainer-IZ4AK5EO.mjs +0 -28
- package/dist/lib/browser/BlueprintContainer-IZ4AK5EO.mjs.map +0 -7
- package/dist/lib/browser/ChatContainer-RP3QEXYX.mjs +0 -54
- 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 +0 -162
- package/dist/lib/browser/SequenceContainer-3UDVKWPA.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-XSEOKJLG.mjs +0 -164
- 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/BlueprintContainer-RGTMNLNX.mjs +0 -29
- package/dist/lib/node-esm/BlueprintContainer-RGTMNLNX.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 +0 -163
- package/dist/lib/node-esm/SequenceContainer-RQQH5XOC.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-PANCJUHV.mjs +0 -165
- 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 +0 -151
- 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/BlueprintContainer.d.ts +0 -8
- package/dist/types/src/components/BlueprintContainer.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/components/PromptSettings.d.ts +0 -6
- package/dist/types/src/components/PromptSettings.d.ts.map +0 -1
- package/dist/types/src/components/SequenceContainer.d.ts +0 -8
- package/dist/types/src/components/SequenceContainer.d.ts.map +0 -1
- package/dist/types/src/components/SequenceEditor/SequenceEditor.d.ts +0 -13
- package/dist/types/src/components/SequenceEditor/SequenceEditor.d.ts.map +0 -1
- package/dist/types/src/components/SequenceEditor/SequenceEditor.stories.d.ts +0 -8
- package/dist/types/src/components/SequenceEditor/SequenceEditor.stories.d.ts.map +0 -1
- package/dist/types/src/components/SequenceEditor/index.d.ts +0 -2
- package/dist/types/src/components/SequenceEditor/index.d.ts.map +0 -1
- package/dist/types/src/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/stories/Chat.stories.d.ts +0 -207
- package/dist/types/src/stories/Chat.stories.d.ts.map +0 -1
- package/dist/types/src/testing/test-functions.d.ts +0 -3
- package/dist/types/src/testing/test-functions.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/BlueprintContainer.tsx +0 -24
- 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/components/PromptSettings.tsx +0 -89
- package/src/components/SequenceContainer.tsx +0 -132
- package/src/components/SequenceEditor/SequenceEditor.stories.tsx +0 -32
- package/src/components/SequenceEditor/SequenceEditor.tsx +0 -50
- 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/stories/Chat.stories.tsx +0 -371
- package/src/testing/test-functions.ts +0 -11
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOnline.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useOnline.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AAErE,eAAO,MAAM,SAAS,QAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAGvE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ChatPromptProps } from '../components';
|
|
2
|
+
import { type AiServicePreset } from '../processor';
|
|
3
|
+
export type UsePresets = {
|
|
4
|
+
preset: AiServicePreset | undefined;
|
|
5
|
+
} & Pick<ChatPromptProps, 'presets' | 'onPresetChange'>;
|
|
6
|
+
export declare const usePresets: (online: boolean) => UsePresets;
|
|
7
|
+
//# sourceMappingURL=usePresets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePresets.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePresets.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,KAAK,eAAe,EAAoB,MAAM,cAAc,CAAC;AAEtE,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,EAAE,eAAe,GAAG,SAAS,CAAC;CACrC,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,gBAAgB,CAAC,CAAC;AAExD,eAAO,MAAM,UAAU,GAAI,QAAQ,OAAO,KAAG,UA8B5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReferencesProvider.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useReferencesProvider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useReferencesProvider.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useReferencesProvider.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,QAAQ,KAAK,KAAG,kBAAkB,GAAG,SAwC1E,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from './capabilities';
|
|
2
2
|
export * from './components';
|
|
3
3
|
export * from './events';
|
|
4
|
+
export * from './hooks';
|
|
4
5
|
export * from './meta';
|
|
6
|
+
export * from './translations';
|
|
5
7
|
export * from './types';
|
|
6
8
|
export * from './AssistantPlugin';
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AAExB,cAAc,mBAAmB,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type PluginMeta } from '@dxos/app-framework';
|
|
2
|
-
export declare const ASSISTANT_PLUGIN = "dxos.org/plugin/assistant";
|
|
3
|
-
export declare const ASSISTANT_DIALOG = "dxos.org/plugin/assistant/assistant/dialog";
|
|
4
2
|
export declare const meta: PluginMeta;
|
|
3
|
+
export declare const ASSISTANT_DIALOG: string;
|
|
5
4
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtD,eAAO,MAAM,IAAI,EAAE,UAWlB,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/processor/index.ts"],"names":[],"mappings":"AAIA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { type
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { type ModelName } from '@dxos/ai';
|
|
3
3
|
declare const ModelProvider: Schema.Literal<["dxos-local", "dxos-remote", "lm-studio"]>;
|
|
4
4
|
type ModelProvider = Schema.Schema.Type<typeof ModelProvider>;
|
|
5
5
|
export type AiServicePreset = {
|
|
6
6
|
id: string;
|
|
7
7
|
provider: ModelProvider;
|
|
8
|
-
model:
|
|
8
|
+
model: ModelName;
|
|
9
9
|
label?: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const AiServicePresets: AiServicePreset[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../../src/processor/presets.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAI1C,QAAA,MAAM,aAAa,4DAAoC,CAAC;AACxD,KAAK,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAC;AAE9D,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,aAAa,CAAC;IACxB,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAQF,eAAO,MAAM,gBAAgB,EAAE,eAAe,EAiC7C,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Atom, Registry } from '@effect-atom/atom-react';
|
|
2
|
+
import * as Option from 'effect/Option';
|
|
3
|
+
import * as Runtime from 'effect/Runtime';
|
|
4
|
+
import { AiService, type ModelName, type ModelRegistry, type ToolExecutionService, type ToolResolverService } from '@dxos/ai';
|
|
5
|
+
import { type AiConversation, type AiConversationRunParams } from '@dxos/assistant';
|
|
6
|
+
import { type Blueprint } from '@dxos/blueprints';
|
|
7
|
+
import { type CredentialsService, type DatabaseService, type FunctionInvocationService, type QueueService, type TracingService } from '@dxos/functions';
|
|
8
|
+
import { Message } from '@dxos/types';
|
|
9
|
+
import { type Assistant } from '../types';
|
|
10
|
+
export type AiChatServices = CredentialsService | DatabaseService | QueueService | FunctionInvocationService | AiService.AiService | ToolExecutionService | ToolResolverService | TracingService;
|
|
11
|
+
export type AiChatProcessorOptions = {
|
|
12
|
+
model?: ModelName;
|
|
13
|
+
modelRegistry?: ModelRegistry;
|
|
14
|
+
blueprintRegistry?: Blueprint.Registry;
|
|
15
|
+
observableRegistry?: Registry.Registry;
|
|
16
|
+
extensions?: ToolContextExtensions;
|
|
17
|
+
} & Pick<AiConversationRunParams, 'system'>;
|
|
18
|
+
export type AiRequestOptions = {};
|
|
19
|
+
export type AiRequest = {
|
|
20
|
+
message: string;
|
|
21
|
+
options?: AiRequestOptions;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Handles interactions with the AI service.
|
|
25
|
+
* Handles streaming responses from the conversation.
|
|
26
|
+
*/
|
|
27
|
+
export declare class AiChatProcessor {
|
|
28
|
+
private readonly _conversation;
|
|
29
|
+
private readonly _services;
|
|
30
|
+
private readonly _options;
|
|
31
|
+
private readonly _registry;
|
|
32
|
+
/** External observer. */
|
|
33
|
+
private readonly _observer;
|
|
34
|
+
/** Currently active request fiber. */
|
|
35
|
+
private _fiber;
|
|
36
|
+
/** Last request (for retries). */
|
|
37
|
+
private _lastRequest;
|
|
38
|
+
/** Pending messages (incl. the current user request). */
|
|
39
|
+
private readonly _pending;
|
|
40
|
+
/** Currently streaming message (from the AI service). */
|
|
41
|
+
private readonly _streaming;
|
|
42
|
+
/** Streaming state. */
|
|
43
|
+
readonly streaming: Atom.Atom<boolean>;
|
|
44
|
+
/** Active state. */
|
|
45
|
+
readonly active: Atom.Writable<boolean, boolean>;
|
|
46
|
+
/** Array of Messages (incl. the current message being streamed). */
|
|
47
|
+
readonly messages: Atom.Atom<Message.Message[]>;
|
|
48
|
+
/** Last error. */
|
|
49
|
+
readonly error: Atom.Writable<Option.Option<Error>, Option.Option<Error>>;
|
|
50
|
+
constructor(_conversation: AiConversation, _services: () => Promise<Runtime.Runtime<AiChatServices>>, _options?: AiChatProcessorOptions);
|
|
51
|
+
get context(): import("@dxos/assistant").AiContextBinder;
|
|
52
|
+
get conversation(): AiConversation;
|
|
53
|
+
get blueprintRegistry(): Blueprint.Registry | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Initiates a new request.
|
|
56
|
+
*/
|
|
57
|
+
request(requestParam: AiRequest): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Cancels the current request.
|
|
60
|
+
*/
|
|
61
|
+
cancel(): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Retry last failed request.
|
|
64
|
+
*/
|
|
65
|
+
retry(): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Update the current chat's name.
|
|
68
|
+
*/
|
|
69
|
+
updateName(chat: Assistant.Chat): Promise<void>;
|
|
70
|
+
private _artifactDiffResolver;
|
|
71
|
+
private _onMessage;
|
|
72
|
+
private _onBlock;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=processor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processor.d.ts","sourceRoot":"","sources":["../../../../src/processor/processor.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAKzD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EACL,SAAS,EAET,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACzB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAI7B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,YAAY,EACjB,KAAK,cAAc,EACpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAqB,OAAO,EAAE,MAAM,aAAa,CAAC;AAEzD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAI1C,MAAM,MAAM,cAAc,GACtB,kBAAkB,GAClB,eAAe,GACf,YAAY,GACZ,yBAAyB,GACzB,SAAS,CAAC,SAAS,GACnB,oBAAoB,GACpB,mBAAmB,GACnB,cAAc,CAAC;AAEnB,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,iBAAiB,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC;IACvC,kBAAkB,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC;IACvC,UAAU,CAAC,EAAE,qBAAqB,CAAC;CACpC,GAAG,IAAI,CAAC,uBAAuB,EAAE,QAAQ,CAAC,CAAC;AAO5C,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAElC,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAEF;;;GAGG;AACH,qBAAa,eAAe;IAoCxB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAtC3B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoB;IAE9C,yBAAyB;IACzB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAqB;IAE/C,sCAAsC;IACtC,OAAO,CAAC,MAAM,CAAqC;IAEnD,kCAAkC;IAClC,OAAO,CAAC,YAAY,CAAwB;IAE5C,yDAAyD;IACzD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoC;IAE7D,yDAAyD;IACzD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4D;IAEvF,uBAAuB;IACvB,SAAgB,SAAS,qBAAoE;IAE7F,oBAAoB;IACpB,SAAgB,MAAM,kCAAoB;IAE1C,oEAAoE;IACpE,SAAgB,QAAQ,+BAKtB;IAEF,kBAAkB;IAClB,SAAgB,KAAK,4DAAkD;gBAGpD,aAAa,EAAE,cAAc,EAE7B,SAAS,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,EACzD,QAAQ,GAAE,sBAAuC;IAcpE,IAAI,OAAO,8CAEV;IAED,IAAI,YAAY,mBAEf;IAED,IAAI,iBAAiB,mCAEpB;IAED;;OAEG;IACG,OAAO,CAAC,YAAY,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAgDrD;;OAEG;IACG,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAa7B;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAM5B;;OAEG;IACG,UAAU,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAMrD,OAAO,CAAC,qBAAqB,CAqB3B;IAEF,OAAO,CAAC,UAAU,CAKhB;IAEF,OAAO,CAAC,QAAQ,CAiBd;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processor.test.d.ts","sourceRoot":"","sources":["../../../../src/processor/processor.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as Runtime from 'effect/Runtime';
|
|
2
|
+
import { type ModelName } from '@dxos/ai';
|
|
3
|
+
import { type AiConversation } from '@dxos/assistant';
|
|
4
|
+
import { type Assistant } from '../types';
|
|
5
|
+
import { type AiChatServices } from './processor';
|
|
6
|
+
/**
|
|
7
|
+
* Update the current chat's name.
|
|
8
|
+
*/
|
|
9
|
+
export declare const updateName: (runtime: Runtime.Runtime<AiChatServices>, conversation: AiConversation, chat: Assistant.Chat, model?: ModelName) => Promise<void>;
|
|
10
|
+
//# sourceMappingURL=update-name.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-name.d.ts","sourceRoot":"","sources":["../../../../src/processor/update-name.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AACzE,OAAO,EAAE,KAAK,cAAc,EAAa,MAAM,iBAAiB,CAAC;AAIjE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD;;GAEG;AAEH,eAAO,MAAM,UAAU,GACrB,SAAS,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,EACxC,cAAc,cAAc,EAC5B,MAAM,SAAS,CAAC,IAAI,EACpB,QAAO,SAA8B,KACpC,OAAO,CAAC,IAAI,CA4Bd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue-logger.d.ts","sourceRoot":"","sources":["../../../src/queue-logger.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"queue-logger.d.ts","sourceRoot":"","sources":["../../../src/queue-logger.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AASzF,qBAAa,WAAY,YAAW,cAAc;IAIpC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAHrC,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,qBAAqB,CAA8B;gBAE9B,QAAQ,EAAE,QAAQ;IAY/C,GAAG,CAAC,KAAK,EAAE,aAAa;IAkFxB,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,mBAAmB;CAI5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/testing/index.ts"],"names":[],"mappings":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/testing/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { ContextQueueService, DatabaseService } from '@dxos/functions';
|
|
3
|
+
import { type Actor, type ContentBlock, Message } from '@dxos/types';
|
|
4
|
+
export declare const createMessage: (role: Actor.Role, blocks: ContentBlock.Any[]) => Message.Message;
|
|
5
|
+
export type MessageGenerator = Effect.Effect<void, never, DatabaseService | ContextQueueService>;
|
|
6
|
+
export declare const createMessageGenerator: () => MessageGenerator[];
|
|
7
|
+
//# sourceMappingURL=test-generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-generator.d.ts","sourceRoot":"","sources":["../../../../src/testing/test-generator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGvE,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,YAAY,EAAE,OAAO,EAAgB,MAAM,aAAa,CAAC;AAGnF,eAAO,MAAM,aAAa,GAAI,MAAM,KAAK,CAAC,IAAI,EAAE,QAAQ,YAAY,CAAC,GAAG,EAAE,KAAG,OAAO,CAAC,OAMpF,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,eAAe,GAAG,mBAAmB,CAAC,CAAC;AAEjG,eAAO,MAAM,sBAAsB,QAAO,gBAAgB,EA6OzD,CAAC"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import { ToolRegistry } from '@dxos/ai';
|
|
2
|
-
import { type Space } from '@dxos/client/echo';
|
|
3
1
|
import { type SequenceDefinition } from '@dxos/conductor';
|
|
4
|
-
import { type DXN } from '@dxos/keys';
|
|
5
|
-
export declare const createToolRegistry: (space: Space, queueDxn?: DXN) => ToolRegistry;
|
|
6
2
|
export declare const RESEARCH_SEQUENCE_DEFINITION: SequenceDefinition;
|
|
7
3
|
export declare const RESEARCH_SEQUENCE: import("@dxos/conductor").Sequence;
|
|
8
4
|
//# sourceMappingURL=test-sequence.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-sequence.d.ts","sourceRoot":"","sources":["../../../../src/testing/test-sequence.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"test-sequence.d.ts","sourceRoot":"","sources":["../../../../src/testing/test-sequence.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,kBAAkB,EAAkB,MAAM,iBAAiB,CAAC;AAE1E,eAAO,MAAM,4BAA4B,EAAE,kBAgB1C,CAAC;AAEF,eAAO,MAAM,iBAAiB,oCAA8D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type BaseServiceRegistry,
|
|
1
|
+
import { type BaseServiceRegistry, ServiceType } from '../types';
|
|
2
2
|
export declare class MockServiceRegistry implements BaseServiceRegistry {
|
|
3
|
-
queryServices(
|
|
3
|
+
queryServices(): Promise<ServiceType[]>;
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=test-services.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-services.d.ts","sourceRoot":"","sources":["../../../../src/testing/test-services.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"test-services.d.ts","sourceRoot":"","sources":["../../../../src/testing/test-services.ts"],"names":[],"mappings":"AAMA,OAAO,EAAyB,KAAK,mBAAmB,EAAE,WAAW,EAAiB,MAAM,UAAU,CAAC;AAEvG,qBAAa,mBAAoB,YAAW,mBAAmB;IACvD,aAAa,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC;CAG9C"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { Blueprint } from '@dxos/blueprints';
|
|
2
|
-
import { Sequence } from '@dxos/conductor';
|
|
3
|
-
import { meta } from './meta';
|
|
4
|
-
import { Assistant } from './types';
|
|
5
1
|
export declare const translations: [{
|
|
6
2
|
readonly 'en-US': {
|
|
7
|
-
readonly [
|
|
3
|
+
readonly [x: string]: {
|
|
8
4
|
readonly 'typename label': "Blueprint";
|
|
9
5
|
readonly 'typename label_zero': "Blueprints";
|
|
10
6
|
readonly 'typename label_one': "Blueprint";
|
|
@@ -12,8 +8,119 @@ export declare const translations: [{
|
|
|
12
8
|
readonly 'object name placeholder': "New blueprint";
|
|
13
9
|
readonly 'rename object label': "Rename blueprint";
|
|
14
10
|
readonly 'delete object label': "Delete blueprint";
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
readonly 'object deleted label': "Blueprint deleted";
|
|
12
|
+
readonly 'templates label'?: undefined;
|
|
13
|
+
readonly 'open ambient chat label'?: undefined;
|
|
14
|
+
readonly 'assistant chat label'?: undefined;
|
|
15
|
+
readonly 'plugin name'?: undefined;
|
|
16
|
+
readonly 'settings title'?: undefined;
|
|
17
|
+
readonly 'object placeholder'?: undefined;
|
|
18
|
+
readonly 'create object label'?: undefined;
|
|
19
|
+
readonly 'create trigger label'?: undefined;
|
|
20
|
+
readonly 'create stack section label'?: undefined;
|
|
21
|
+
readonly 'command placeholder'?: undefined;
|
|
22
|
+
readonly 'template placeholder'?: undefined;
|
|
23
|
+
readonly 'value placeholder'?: undefined;
|
|
24
|
+
readonly 'prompt rules label'?: undefined;
|
|
25
|
+
readonly 'typename placeholder'?: undefined;
|
|
26
|
+
readonly 'description placeholder'?: undefined;
|
|
27
|
+
readonly 'select preset template placeholder'?: undefined;
|
|
28
|
+
readonly 'service registry label'?: undefined;
|
|
29
|
+
readonly 'type filter placeholder'?: undefined;
|
|
30
|
+
readonly 'any type filter label'?: undefined;
|
|
31
|
+
readonly 'no blueprint message'?: undefined;
|
|
32
|
+
readonly 'tool call label'?: undefined;
|
|
33
|
+
readonly 'tool result label'?: undefined;
|
|
34
|
+
readonly 'tool error label'?: undefined;
|
|
35
|
+
readonly 'invocations label'?: undefined;
|
|
36
|
+
readonly 'assistant dialog title'?: undefined;
|
|
37
|
+
readonly 'open assistant label'?: undefined;
|
|
38
|
+
readonly 'no tools'?: undefined;
|
|
39
|
+
readonly 'no results'?: undefined;
|
|
40
|
+
readonly 'cancel button'?: undefined;
|
|
41
|
+
readonly 'save button'?: undefined;
|
|
42
|
+
readonly 'new thread button'?: undefined;
|
|
43
|
+
readonly 'rename thread button'?: undefined;
|
|
44
|
+
readonly 'chat history label'?: undefined;
|
|
45
|
+
readonly 'chat update name label'?: undefined;
|
|
46
|
+
readonly 'toolkit label'?: undefined;
|
|
47
|
+
readonly 'summary label'?: undefined;
|
|
48
|
+
readonly 'search placeholder'?: undefined;
|
|
49
|
+
readonly 'prompt placeholder'?: undefined;
|
|
50
|
+
readonly 'context objects button'?: undefined;
|
|
51
|
+
readonly 'context settings button'?: undefined;
|
|
52
|
+
readonly 'microphone button'?: undefined;
|
|
53
|
+
readonly 'cancel processing button'?: undefined;
|
|
54
|
+
readonly 'blueprints in context title'?: undefined;
|
|
55
|
+
readonly 'objects in context title'?: undefined;
|
|
56
|
+
readonly 'remove object in context label'?: undefined;
|
|
57
|
+
readonly 'chat model title'?: undefined;
|
|
58
|
+
readonly 'settings default label'?: undefined;
|
|
59
|
+
readonly 'settings custom prompts label'?: undefined;
|
|
60
|
+
readonly 'settings llm provider label'?: undefined;
|
|
61
|
+
readonly 'settings edge llm model label'?: undefined;
|
|
62
|
+
readonly 'settings ollama llm model label'?: undefined;
|
|
63
|
+
} | {
|
|
64
|
+
readonly 'typename label': "Prompt";
|
|
65
|
+
readonly 'typename label_zero': "Prompts";
|
|
66
|
+
readonly 'typename label_one': "Prompt";
|
|
67
|
+
readonly 'typename label_other': "Prompts";
|
|
68
|
+
readonly 'object name placeholder': "New prompt";
|
|
69
|
+
readonly 'rename object label': "Rename prompt";
|
|
70
|
+
readonly 'delete object label': "Delete prompt";
|
|
71
|
+
readonly 'object deleted label': "Prompt deleted";
|
|
72
|
+
readonly 'templates label'?: undefined;
|
|
73
|
+
readonly 'open ambient chat label'?: undefined;
|
|
74
|
+
readonly 'assistant chat label'?: undefined;
|
|
75
|
+
readonly 'plugin name'?: undefined;
|
|
76
|
+
readonly 'settings title'?: undefined;
|
|
77
|
+
readonly 'object placeholder'?: undefined;
|
|
78
|
+
readonly 'create object label'?: undefined;
|
|
79
|
+
readonly 'create trigger label'?: undefined;
|
|
80
|
+
readonly 'create stack section label'?: undefined;
|
|
81
|
+
readonly 'command placeholder'?: undefined;
|
|
82
|
+
readonly 'template placeholder'?: undefined;
|
|
83
|
+
readonly 'value placeholder'?: undefined;
|
|
84
|
+
readonly 'prompt rules label'?: undefined;
|
|
85
|
+
readonly 'typename placeholder'?: undefined;
|
|
86
|
+
readonly 'description placeholder'?: undefined;
|
|
87
|
+
readonly 'select preset template placeholder'?: undefined;
|
|
88
|
+
readonly 'service registry label'?: undefined;
|
|
89
|
+
readonly 'type filter placeholder'?: undefined;
|
|
90
|
+
readonly 'any type filter label'?: undefined;
|
|
91
|
+
readonly 'no blueprint message'?: undefined;
|
|
92
|
+
readonly 'tool call label'?: undefined;
|
|
93
|
+
readonly 'tool result label'?: undefined;
|
|
94
|
+
readonly 'tool error label'?: undefined;
|
|
95
|
+
readonly 'invocations label'?: undefined;
|
|
96
|
+
readonly 'assistant dialog title'?: undefined;
|
|
97
|
+
readonly 'open assistant label'?: undefined;
|
|
98
|
+
readonly 'no tools'?: undefined;
|
|
99
|
+
readonly 'no results'?: undefined;
|
|
100
|
+
readonly 'cancel button'?: undefined;
|
|
101
|
+
readonly 'save button'?: undefined;
|
|
102
|
+
readonly 'new thread button'?: undefined;
|
|
103
|
+
readonly 'rename thread button'?: undefined;
|
|
104
|
+
readonly 'chat history label'?: undefined;
|
|
105
|
+
readonly 'chat update name label'?: undefined;
|
|
106
|
+
readonly 'toolkit label'?: undefined;
|
|
107
|
+
readonly 'summary label'?: undefined;
|
|
108
|
+
readonly 'search placeholder'?: undefined;
|
|
109
|
+
readonly 'prompt placeholder'?: undefined;
|
|
110
|
+
readonly 'context objects button'?: undefined;
|
|
111
|
+
readonly 'context settings button'?: undefined;
|
|
112
|
+
readonly 'microphone button'?: undefined;
|
|
113
|
+
readonly 'cancel processing button'?: undefined;
|
|
114
|
+
readonly 'blueprints in context title'?: undefined;
|
|
115
|
+
readonly 'objects in context title'?: undefined;
|
|
116
|
+
readonly 'remove object in context label'?: undefined;
|
|
117
|
+
readonly 'chat model title'?: undefined;
|
|
118
|
+
readonly 'settings default label'?: undefined;
|
|
119
|
+
readonly 'settings custom prompts label'?: undefined;
|
|
120
|
+
readonly 'settings llm provider label'?: undefined;
|
|
121
|
+
readonly 'settings edge llm model label'?: undefined;
|
|
122
|
+
readonly 'settings ollama llm model label'?: undefined;
|
|
123
|
+
} | {
|
|
17
124
|
readonly 'typename label': "Sequence";
|
|
18
125
|
readonly 'typename label_zero': "Sequences";
|
|
19
126
|
readonly 'typename label_one': "Sequence";
|
|
@@ -21,21 +128,124 @@ export declare const translations: [{
|
|
|
21
128
|
readonly 'object name placeholder': "New sequence";
|
|
22
129
|
readonly 'rename object label': "Rename sequence";
|
|
23
130
|
readonly 'delete object label': "Delete sequence";
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
readonly '
|
|
27
|
-
readonly '
|
|
28
|
-
readonly '
|
|
29
|
-
readonly '
|
|
30
|
-
readonly 'object
|
|
31
|
-
readonly '
|
|
32
|
-
readonly '
|
|
33
|
-
|
|
34
|
-
|
|
131
|
+
readonly 'object deleted label': "Sequence deleted";
|
|
132
|
+
readonly 'templates label'?: undefined;
|
|
133
|
+
readonly 'open ambient chat label'?: undefined;
|
|
134
|
+
readonly 'assistant chat label'?: undefined;
|
|
135
|
+
readonly 'plugin name'?: undefined;
|
|
136
|
+
readonly 'settings title'?: undefined;
|
|
137
|
+
readonly 'object placeholder'?: undefined;
|
|
138
|
+
readonly 'create object label'?: undefined;
|
|
139
|
+
readonly 'create trigger label'?: undefined;
|
|
140
|
+
readonly 'create stack section label'?: undefined;
|
|
141
|
+
readonly 'command placeholder'?: undefined;
|
|
142
|
+
readonly 'template placeholder'?: undefined;
|
|
143
|
+
readonly 'value placeholder'?: undefined;
|
|
144
|
+
readonly 'prompt rules label'?: undefined;
|
|
145
|
+
readonly 'typename placeholder'?: undefined;
|
|
146
|
+
readonly 'description placeholder'?: undefined;
|
|
147
|
+
readonly 'select preset template placeholder'?: undefined;
|
|
148
|
+
readonly 'service registry label'?: undefined;
|
|
149
|
+
readonly 'type filter placeholder'?: undefined;
|
|
150
|
+
readonly 'any type filter label'?: undefined;
|
|
151
|
+
readonly 'no blueprint message'?: undefined;
|
|
152
|
+
readonly 'tool call label'?: undefined;
|
|
153
|
+
readonly 'tool result label'?: undefined;
|
|
154
|
+
readonly 'tool error label'?: undefined;
|
|
155
|
+
readonly 'invocations label'?: undefined;
|
|
156
|
+
readonly 'assistant dialog title'?: undefined;
|
|
157
|
+
readonly 'open assistant label'?: undefined;
|
|
158
|
+
readonly 'no tools'?: undefined;
|
|
159
|
+
readonly 'no results'?: undefined;
|
|
160
|
+
readonly 'cancel button'?: undefined;
|
|
161
|
+
readonly 'save button'?: undefined;
|
|
162
|
+
readonly 'new thread button'?: undefined;
|
|
163
|
+
readonly 'rename thread button'?: undefined;
|
|
164
|
+
readonly 'chat history label'?: undefined;
|
|
165
|
+
readonly 'chat update name label'?: undefined;
|
|
166
|
+
readonly 'toolkit label'?: undefined;
|
|
167
|
+
readonly 'summary label'?: undefined;
|
|
168
|
+
readonly 'search placeholder'?: undefined;
|
|
169
|
+
readonly 'prompt placeholder'?: undefined;
|
|
170
|
+
readonly 'context objects button'?: undefined;
|
|
171
|
+
readonly 'context settings button'?: undefined;
|
|
172
|
+
readonly 'microphone button'?: undefined;
|
|
173
|
+
readonly 'cancel processing button'?: undefined;
|
|
174
|
+
readonly 'blueprints in context title'?: undefined;
|
|
175
|
+
readonly 'objects in context title'?: undefined;
|
|
176
|
+
readonly 'remove object in context label'?: undefined;
|
|
177
|
+
readonly 'chat model title'?: undefined;
|
|
178
|
+
readonly 'settings default label'?: undefined;
|
|
179
|
+
readonly 'settings custom prompts label'?: undefined;
|
|
180
|
+
readonly 'settings llm provider label'?: undefined;
|
|
181
|
+
readonly 'settings edge llm model label'?: undefined;
|
|
182
|
+
readonly 'settings ollama llm model label'?: undefined;
|
|
183
|
+
} | {
|
|
184
|
+
readonly 'typename label': "AI Chat";
|
|
185
|
+
readonly 'object name placeholder': "New AI Chat";
|
|
186
|
+
readonly 'rename object label': "Rename AI Chat";
|
|
187
|
+
readonly 'delete object label': "Delete AI Chat";
|
|
188
|
+
readonly 'object deleted label': "AI Chat deleted";
|
|
189
|
+
readonly 'typename label_zero'?: undefined;
|
|
190
|
+
readonly 'typename label_one'?: undefined;
|
|
191
|
+
readonly 'typename label_other'?: undefined;
|
|
192
|
+
readonly 'templates label'?: undefined;
|
|
193
|
+
readonly 'open ambient chat label'?: undefined;
|
|
194
|
+
readonly 'assistant chat label'?: undefined;
|
|
195
|
+
readonly 'plugin name'?: undefined;
|
|
196
|
+
readonly 'settings title'?: undefined;
|
|
197
|
+
readonly 'object placeholder'?: undefined;
|
|
198
|
+
readonly 'create object label'?: undefined;
|
|
199
|
+
readonly 'create trigger label'?: undefined;
|
|
200
|
+
readonly 'create stack section label'?: undefined;
|
|
201
|
+
readonly 'command placeholder'?: undefined;
|
|
202
|
+
readonly 'template placeholder'?: undefined;
|
|
203
|
+
readonly 'value placeholder'?: undefined;
|
|
204
|
+
readonly 'prompt rules label'?: undefined;
|
|
205
|
+
readonly 'typename placeholder'?: undefined;
|
|
206
|
+
readonly 'description placeholder'?: undefined;
|
|
207
|
+
readonly 'select preset template placeholder'?: undefined;
|
|
208
|
+
readonly 'service registry label'?: undefined;
|
|
209
|
+
readonly 'type filter placeholder'?: undefined;
|
|
210
|
+
readonly 'any type filter label'?: undefined;
|
|
211
|
+
readonly 'no blueprint message'?: undefined;
|
|
212
|
+
readonly 'tool call label'?: undefined;
|
|
213
|
+
readonly 'tool result label'?: undefined;
|
|
214
|
+
readonly 'tool error label'?: undefined;
|
|
215
|
+
readonly 'invocations label'?: undefined;
|
|
216
|
+
readonly 'assistant dialog title'?: undefined;
|
|
217
|
+
readonly 'open assistant label'?: undefined;
|
|
218
|
+
readonly 'no tools'?: undefined;
|
|
219
|
+
readonly 'no results'?: undefined;
|
|
220
|
+
readonly 'cancel button'?: undefined;
|
|
221
|
+
readonly 'save button'?: undefined;
|
|
222
|
+
readonly 'new thread button'?: undefined;
|
|
223
|
+
readonly 'rename thread button'?: undefined;
|
|
224
|
+
readonly 'chat history label'?: undefined;
|
|
225
|
+
readonly 'chat update name label'?: undefined;
|
|
226
|
+
readonly 'toolkit label'?: undefined;
|
|
227
|
+
readonly 'summary label'?: undefined;
|
|
228
|
+
readonly 'search placeholder'?: undefined;
|
|
229
|
+
readonly 'prompt placeholder'?: undefined;
|
|
230
|
+
readonly 'context objects button'?: undefined;
|
|
231
|
+
readonly 'context settings button'?: undefined;
|
|
232
|
+
readonly 'microphone button'?: undefined;
|
|
233
|
+
readonly 'cancel processing button'?: undefined;
|
|
234
|
+
readonly 'blueprints in context title'?: undefined;
|
|
235
|
+
readonly 'objects in context title'?: undefined;
|
|
236
|
+
readonly 'remove object in context label'?: undefined;
|
|
237
|
+
readonly 'chat model title'?: undefined;
|
|
238
|
+
readonly 'settings default label'?: undefined;
|
|
239
|
+
readonly 'settings custom prompts label'?: undefined;
|
|
240
|
+
readonly 'settings llm provider label'?: undefined;
|
|
241
|
+
readonly 'settings edge llm model label'?: undefined;
|
|
242
|
+
readonly 'settings ollama llm model label'?: undefined;
|
|
243
|
+
} | {
|
|
35
244
|
readonly 'templates label': "Templates";
|
|
36
245
|
readonly 'open ambient chat label': "Open Assistant";
|
|
37
246
|
readonly 'assistant chat label': "Assistant";
|
|
38
247
|
readonly 'plugin name': "Assistant";
|
|
248
|
+
readonly 'settings title': "Assistant settings";
|
|
39
249
|
readonly 'object placeholder': "New prompt";
|
|
40
250
|
readonly 'create object label': "Create prompt";
|
|
41
251
|
readonly 'create trigger label': "Create trigger";
|
|
@@ -48,24 +258,48 @@ export declare const translations: [{
|
|
|
48
258
|
readonly 'description placeholder': "Enter description of when this template should be used";
|
|
49
259
|
readonly 'select preset template placeholder': "Select preset";
|
|
50
260
|
readonly 'service registry label': "Service Registry";
|
|
51
|
-
readonly '
|
|
261
|
+
readonly 'type filter placeholder': "Type";
|
|
262
|
+
readonly 'any type filter label': "Any";
|
|
263
|
+
readonly 'no blueprint message': "No active blueprints";
|
|
264
|
+
readonly 'tool call label': "Calling tool...";
|
|
265
|
+
readonly 'tool result label': "Success";
|
|
266
|
+
readonly 'tool error label': "Tool call failed";
|
|
267
|
+
readonly 'invocations label': "Invocations";
|
|
52
268
|
readonly 'assistant dialog title': "Assistant";
|
|
53
269
|
readonly 'open assistant label': "Open assistant";
|
|
54
|
-
readonly 'no tools': "No tools are configured
|
|
55
|
-
readonly '
|
|
56
|
-
readonly 'button
|
|
270
|
+
readonly 'no tools': "No tools are configured";
|
|
271
|
+
readonly 'no results': "No results";
|
|
272
|
+
readonly 'cancel button': "Cancel";
|
|
273
|
+
readonly 'save button': "Save";
|
|
274
|
+
readonly 'new thread button': "New Chat";
|
|
275
|
+
readonly 'rename thread button': "Rename Chat";
|
|
276
|
+
readonly 'chat history label': "Chat History";
|
|
277
|
+
readonly 'chat update name label': "Update AI Chat name";
|
|
278
|
+
readonly 'toolkit label': "Toolkit";
|
|
279
|
+
readonly 'summary label': "Summary";
|
|
57
280
|
readonly 'search placeholder': "Search...";
|
|
58
|
-
readonly 'prompt placeholder': "
|
|
59
|
-
readonly 'context objects
|
|
60
|
-
readonly '
|
|
61
|
-
readonly 'button
|
|
62
|
-
readonly '
|
|
63
|
-
readonly '
|
|
281
|
+
readonly 'prompt placeholder': "Enter question or command...";
|
|
282
|
+
readonly 'context objects button': "Add to context";
|
|
283
|
+
readonly 'context settings button': "Chat settings";
|
|
284
|
+
readonly 'microphone button': "Click to speak";
|
|
285
|
+
readonly 'cancel processing button': "Stop processing";
|
|
286
|
+
readonly 'blueprints in context title': "Blueprints";
|
|
287
|
+
readonly 'objects in context title': "Content";
|
|
288
|
+
readonly 'remove object in context label': "Remove document";
|
|
289
|
+
readonly 'chat model title': "Model";
|
|
64
290
|
readonly 'settings default label': "Default";
|
|
65
291
|
readonly 'settings custom prompts label': "Use custom prompts";
|
|
66
292
|
readonly 'settings llm provider label': "LLM provider";
|
|
67
293
|
readonly 'settings edge llm model label': "Remote language model";
|
|
68
294
|
readonly 'settings ollama llm model label': "Ollama language model";
|
|
295
|
+
readonly 'typename label'?: undefined;
|
|
296
|
+
readonly 'typename label_zero'?: undefined;
|
|
297
|
+
readonly 'typename label_one'?: undefined;
|
|
298
|
+
readonly 'typename label_other'?: undefined;
|
|
299
|
+
readonly 'object name placeholder'?: undefined;
|
|
300
|
+
readonly 'rename object label'?: undefined;
|
|
301
|
+
readonly 'delete object label'?: undefined;
|
|
302
|
+
readonly 'object deleted label'?: undefined;
|
|
69
303
|
};
|
|
70
304
|
};
|
|
71
305
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyGM,CAAC"}
|