@dxos/plugin-assistant 0.8.4-main.3c1ae3b → 0.8.4-main.3eb6e50203
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-6SP2ZWJ2.mjs +30 -0
- package/dist/lib/browser/BlueprintArticle-6SP2ZWJ2.mjs.map +7 -0
- package/dist/lib/browser/ChatCompanion-CAKFZAWN.mjs +200 -0
- package/dist/lib/browser/ChatCompanion-CAKFZAWN.mjs.map +7 -0
- package/dist/lib/browser/ChatContainer-QB37VONJ.mjs +73 -0
- package/dist/lib/browser/ChatContainer-QB37VONJ.mjs.map +7 -0
- package/dist/lib/browser/ChatDialog-ASVBLOOS.mjs +85 -0
- package/dist/lib/browser/ChatDialog-ASVBLOOS.mjs.map +7 -0
- package/dist/lib/browser/InitiativeContainer-V522FCYH.mjs +266 -0
- package/dist/lib/browser/InitiativeContainer-V522FCYH.mjs.map +7 -0
- package/dist/lib/browser/PromptArticle-PK3CBRUB.mjs +52 -0
- package/dist/lib/browser/PromptArticle-PK3CBRUB.mjs.map +7 -0
- package/dist/lib/browser/ai-service-CY2BYPH6.mjs +22 -0
- package/dist/lib/browser/ai-service-CY2BYPH6.mjs.map +7 -0
- package/dist/lib/browser/app-graph-builder-MUZGUQSC.mjs +234 -0
- package/dist/lib/browser/app-graph-builder-MUZGUQSC.mjs.map +7 -0
- package/dist/lib/browser/blueprint-definition-YAGWYVCL.mjs +14 -0
- package/dist/lib/browser/blueprints/index.mjs +12 -0
- package/dist/lib/browser/chunk-3ETBCBMH.mjs +47 -0
- package/dist/lib/browser/chunk-3ETBCBMH.mjs.map +7 -0
- package/dist/lib/browser/chunk-6BVCG5SJ.mjs +230 -0
- package/dist/lib/browser/chunk-6BVCG5SJ.mjs.map +7 -0
- package/dist/lib/browser/{chunk-7ZJIXQ2Y.mjs → chunk-DKQMSMBN.mjs} +54 -63
- package/dist/lib/browser/chunk-DKQMSMBN.mjs.map +7 -0
- package/dist/lib/browser/{chunk-WBG5PTSX.mjs → chunk-EXVT7D4B.mjs} +1 -1
- package/dist/lib/browser/chunk-EXVT7D4B.mjs.map +7 -0
- package/dist/lib/browser/{chunk-F6YX2HHA.mjs → chunk-IJYAKPEU.mjs} +45 -21
- package/dist/lib/browser/chunk-IJYAKPEU.mjs.map +7 -0
- package/dist/lib/browser/chunk-JA7PUZC7.mjs +1974 -0
- package/dist/lib/browser/chunk-JA7PUZC7.mjs.map +7 -0
- package/dist/lib/browser/chunk-POPBT2AQ.mjs +198 -0
- package/dist/lib/browser/chunk-POPBT2AQ.mjs.map +7 -0
- package/dist/lib/browser/edge-model-resolver-YTMFQEN5.mjs +21 -0
- package/dist/lib/browser/edge-model-resolver-YTMFQEN5.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +205 -177
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/local-model-resolver-CGRQH37T.mjs +20 -0
- package/dist/lib/browser/local-model-resolver-CGRQH37T.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operation-resolver-2673CFJS.mjs +133 -0
- package/dist/lib/browser/operation-resolver-2673CFJS.mjs.map +7 -0
- package/dist/lib/browser/react-surface-T3FN4GVP.mjs +125 -0
- package/dist/lib/browser/react-surface-T3FN4GVP.mjs.map +7 -0
- package/dist/lib/browser/{repair-3MZXLUHO.mjs → repair-IRXDYF4R.mjs} +24 -17
- package/dist/lib/browser/repair-IRXDYF4R.mjs.map +7 -0
- package/dist/lib/browser/settings-XF6GKHCG.mjs +33 -0
- package/dist/lib/browser/settings-XF6GKHCG.mjs.map +7 -0
- package/dist/lib/browser/state-OYDPWLKA.mjs +26 -0
- package/dist/lib/browser/state-OYDPWLKA.mjs.map +7 -0
- package/dist/lib/browser/toolkit-IDXQCSTX.mjs +19 -0
- package/dist/lib/browser/toolkit-IDXQCSTX.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +8 -4
- package/dist/lib/node-esm/BlueprintArticle-7LI6UXKZ.mjs +31 -0
- package/dist/lib/node-esm/BlueprintArticle-7LI6UXKZ.mjs.map +7 -0
- package/dist/lib/node-esm/ChatCompanion-W4PGOCGR.mjs +201 -0
- package/dist/lib/node-esm/ChatCompanion-W4PGOCGR.mjs.map +7 -0
- package/dist/lib/node-esm/ChatContainer-ECFQVH6O.mjs +74 -0
- package/dist/lib/node-esm/ChatContainer-ECFQVH6O.mjs.map +7 -0
- package/dist/lib/node-esm/ChatDialog-AFLPYSIU.mjs +86 -0
- package/dist/lib/node-esm/ChatDialog-AFLPYSIU.mjs.map +7 -0
- package/dist/lib/node-esm/InitiativeContainer-U4LGO3BW.mjs +267 -0
- package/dist/lib/node-esm/InitiativeContainer-U4LGO3BW.mjs.map +7 -0
- package/dist/lib/node-esm/PromptArticle-BHPABYLT.mjs +53 -0
- package/dist/lib/node-esm/PromptArticle-BHPABYLT.mjs.map +7 -0
- package/dist/lib/node-esm/ai-service-ZI3A6RVG.mjs +23 -0
- package/dist/lib/node-esm/ai-service-ZI3A6RVG.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-4QN5M6PD.mjs +235 -0
- package/dist/lib/node-esm/app-graph-builder-4QN5M6PD.mjs.map +7 -0
- package/dist/lib/node-esm/{blueprint-definition-S3DNWJFV.mjs → blueprint-definition-H3LFAEK2.mjs} +6 -4
- package/dist/lib/node-esm/blueprint-definition-H3LFAEK2.mjs.map +7 -0
- package/dist/lib/node-esm/blueprints/index.mjs +13 -0
- package/dist/lib/node-esm/blueprints/index.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-2LEN26ZQ.mjs +48 -0
- package/dist/lib/node-esm/chunk-2LEN26ZQ.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-3XC7LQSO.mjs +1975 -0
- package/dist/lib/node-esm/chunk-3XC7LQSO.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-CKW4IYLY.mjs → chunk-75PHXBN3.mjs} +54 -63
- package/dist/lib/node-esm/chunk-75PHXBN3.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-F6LA7XNS.mjs +199 -0
- package/dist/lib/node-esm/chunk-F6LA7XNS.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-LB72WG6R.mjs +231 -0
- package/dist/lib/node-esm/chunk-LB72WG6R.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-GWKWQSEQ.mjs → chunk-MJD5XWQV.mjs} +45 -21
- package/dist/lib/node-esm/chunk-MJD5XWQV.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-WE6KTH72.mjs → chunk-POWB2BPC.mjs} +1 -1
- package/dist/lib/node-esm/chunk-POWB2BPC.mjs.map +7 -0
- package/dist/lib/node-esm/edge-model-resolver-CMJ3KNLQ.mjs +22 -0
- package/dist/lib/node-esm/edge-model-resolver-CMJ3KNLQ.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +205 -177
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/local-model-resolver-FFDAKOXN.mjs +21 -0
- package/dist/lib/node-esm/local-model-resolver-FFDAKOXN.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/operation-resolver-2ZD2DXOU.mjs +134 -0
- package/dist/lib/node-esm/operation-resolver-2ZD2DXOU.mjs.map +7 -0
- package/dist/lib/node-esm/{react-surface-AOBQALOV.mjs → react-surface-T4VMCCKZ.mjs} +57 -32
- package/dist/lib/node-esm/react-surface-T4VMCCKZ.mjs.map +7 -0
- package/dist/lib/node-esm/{repair-RER5H7Y6.mjs → repair-DMI55PON.mjs} +24 -17
- package/dist/lib/node-esm/repair-DMI55PON.mjs.map +7 -0
- package/dist/lib/node-esm/settings-NGGZA7S7.mjs +34 -0
- package/dist/lib/node-esm/settings-NGGZA7S7.mjs.map +7 -0
- package/dist/lib/node-esm/state-VSCPGN7R.mjs +27 -0
- package/dist/lib/node-esm/state-VSCPGN7R.mjs.map +7 -0
- package/dist/lib/node-esm/toolkit-JPRJRDDB.mjs +20 -0
- package/dist/lib/node-esm/toolkit-JPRJRDDB.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +8 -4
- package/dist/types/src/AssistantPlugin.d.ts +2 -1
- package/dist/types/src/AssistantPlugin.d.ts.map +1 -1
- package/dist/types/src/blueprints/assistant-blueprint.d.ts +11 -0
- package/dist/types/src/blueprints/assistant-blueprint.d.ts.map +1 -0
- package/dist/types/src/blueprints/index.d.ts +7 -0
- package/dist/types/src/blueprints/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/ai-service/ai-service.d.ts +6 -0
- package/dist/types/src/capabilities/ai-service/ai-service.d.ts.map +1 -0
- package/dist/types/src/capabilities/ai-service/index.d.ts +3 -0
- package/dist/types/src/capabilities/ai-service/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts +26 -0
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts +4 -0
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/edge-model-resolver/edge-model-resolver.d.ts +7 -0
- package/dist/types/src/capabilities/edge-model-resolver/edge-model-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/edge-model-resolver/index.d.ts +3 -0
- package/dist/types/src/capabilities/edge-model-resolver/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +10 -12
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/local-model-resolver/index.d.ts +3 -0
- package/dist/types/src/capabilities/local-model-resolver/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/local-model-resolver/local-model-resolver.d.ts +13 -0
- package/dist/types/src/capabilities/local-model-resolver/local-model-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/repair/index.d.ts +3 -0
- package/dist/types/src/capabilities/repair/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/repair/repair.d.ts +6 -0
- package/dist/types/src/capabilities/repair/repair.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings/index.d.ts +15 -0
- package/dist/types/src/capabilities/settings/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings/settings.d.ts +18 -0
- package/dist/types/src/capabilities/settings/settings.d.ts.map +1 -0
- package/dist/types/src/capabilities/state/index.d.ts +11 -0
- package/dist/types/src/capabilities/state/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/state/state.d.ts +13 -0
- package/dist/types/src/capabilities/state/state.d.ts.map +1 -0
- package/dist/types/src/capabilities/toolkit/index.d.ts +3 -0
- package/dist/types/src/capabilities/toolkit/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/toolkit/toolkit.d.ts +6 -0
- package/dist/types/src/capabilities/toolkit/toolkit.d.ts.map +1 -0
- package/dist/types/src/components/AssistantSettings/AssistantSettings.d.ts +4 -2
- package/dist/types/src/components/AssistantSettings/AssistantSettings.d.ts.map +1 -1
- package/dist/types/src/components/BlueprintArticle.d.ts +2 -2
- package/dist/types/src/components/BlueprintArticle.d.ts.map +1 -1
- package/dist/types/src/components/Chat/Chat.d.ts +13 -11
- package/dist/types/src/components/Chat/Chat.d.ts.map +1 -1
- package/dist/types/src/components/Chat/events.d.ts +1 -1
- package/dist/types/src/components/Chat/events.d.ts.map +1 -1
- package/dist/types/src/components/ChatCompanion.d.ts +3 -3
- package/dist/types/src/components/ChatCompanion.d.ts.map +1 -1
- package/dist/types/src/components/ChatContainer.d.ts +8 -8
- package/dist/types/src/components/ChatContainer.d.ts.map +1 -1
- package/dist/types/src/components/ChatDialog.d.ts +2 -2
- package/dist/types/src/components/ChatDialog.d.ts.map +1 -1
- package/dist/types/src/components/ChatProgress/ChatProgress.d.ts +2 -2
- package/dist/types/src/components/ChatProgress/ChatProgress.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatActions.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatOptions.d.ts +3 -3
- package/dist/types/src/components/ChatPrompt/ChatOptions.d.ts.map +1 -1
- package/dist/types/src/components/ChatPrompt/ChatReferences.d.ts +3 -3
- package/dist/types/src/components/ChatPrompt/ChatReferences.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/ChatThread.d.ts +2 -2
- package/dist/types/src/components/ChatThread/ChatThread.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts +116 -2
- package/dist/types/src/components/ChatThread/ChatThread.stories.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/registry.d.ts +1 -1
- package/dist/types/src/components/ChatThread/registry.d.ts.map +1 -1
- package/dist/types/src/components/ChatThread/sync.d.ts +1 -1
- package/dist/types/src/components/ChatThread/sync.d.ts.map +1 -1
- package/dist/types/src/components/InitiativeContainer.d.ts +9 -0
- package/dist/types/src/components/InitiativeContainer.d.ts.map +1 -0
- package/dist/types/src/components/PromptArticle.d.ts +2 -2
- package/dist/types/src/components/PromptArticle.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts +114 -0
- package/dist/types/src/components/TemplateEditor/TemplateEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts +11 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts +115 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.stories.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/extensions/handlebars-extension.d.ts.map +1 -1
- package/dist/types/src/components/ToolBlock/ToolBlock.d.ts +3 -3
- package/dist/types/src/components/ToolBlock/ToolBlock.d.ts.map +1 -1
- package/dist/types/src/components/Toolbox/Toolbox.d.ts +4 -5
- package/dist/types/src/components/Toolbox/Toolbox.d.ts.map +1 -1
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts +114 -0
- package/dist/types/src/components/Toolbox/Toolbox.stories.d.ts.map +1 -1
- package/dist/types/src/components/TriggerStatus/TriggerStatus.d.ts +4 -0
- package/dist/types/src/components/TriggerStatus/TriggerStatus.d.ts.map +1 -0
- package/dist/types/src/components/TriggerStatus/index.d.ts +2 -0
- package/dist/types/src/components/TriggerStatus/index.d.ts.map +1 -0
- package/dist/types/src/components/Typewriter/AssistantToolbar.d.ts +12 -0
- package/dist/types/src/components/Typewriter/AssistantToolbar.d.ts.map +1 -0
- package/dist/types/src/components/Typewriter/Typewriter.d.ts +11 -0
- package/dist/types/src/components/Typewriter/Typewriter.d.ts.map +1 -0
- package/dist/types/src/components/Typewriter/Typewriter.stories.d.ts +7 -0
- package/dist/types/src/components/Typewriter/Typewriter.stories.d.ts.map +1 -0
- package/dist/types/src/components/Typewriter/assistant-extension.d.ts +5 -0
- package/dist/types/src/components/Typewriter/assistant-extension.d.ts.map +1 -0
- package/dist/types/src/components/Typewriter/index.d.ts +2 -0
- package/dist/types/src/components/Typewriter/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +10 -10
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/functions/index.d.ts +1 -1
- package/dist/types/src/functions/index.d.ts.map +1 -1
- package/dist/types/src/functions/object-list.d.ts +1 -1
- package/dist/types/src/functions/object-load.d.ts +1 -1
- package/dist/types/src/functions/object-load.d.ts.map +1 -1
- package/dist/types/src/functions/object-search.d.ts +10 -0
- package/dist/types/src/functions/object-search.d.ts.map +1 -0
- package/dist/types/src/hooks/useBlueprintRegistry.d.ts +5 -5
- package/dist/types/src/hooks/useBlueprintRegistry.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatProcessor.d.ts +2 -1
- package/dist/types/src/hooks/useChatProcessor.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatServices.d.ts +5 -5
- package/dist/types/src/hooks/useChatServices.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatToolbarActions.d.ts +3 -3
- package/dist/types/src/hooks/useChatToolbarActions.d.ts.map +1 -1
- package/dist/types/src/hooks/useContextBinder.d.ts.map +1 -1
- package/dist/types/src/hooks/useContextObjects.d.ts +7 -7
- package/dist/types/src/hooks/useContextObjects.d.ts.map +1 -1
- package/dist/types/src/hooks/useFilteredTypes.d.ts +2 -3
- package/dist/types/src/hooks/useFilteredTypes.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +0 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/processor/processor.d.ts +13 -9
- package/dist/types/src/processor/processor.d.ts.map +1 -1
- package/dist/types/src/processor/update-name.d.ts +2 -2
- package/dist/types/src/processor/update-name.d.ts.map +1 -1
- package/dist/types/src/queue-logger.d.ts.map +1 -1
- package/dist/types/src/testing/test-services.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +114 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Assistant.d.ts +7 -32
- package/dist/types/src/types/Assistant.d.ts.map +1 -1
- package/dist/types/src/types/AssistantAction.d.ts +90 -122
- package/dist/types/src/types/AssistantAction.d.ts.map +1 -1
- package/dist/types/src/types/capabilities.d.ts +33 -0
- package/dist/types/src/types/capabilities.d.ts.map +1 -0
- package/dist/types/src/types/events.d.ts +5 -0
- package/dist/types/src/types/events.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +4 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/service.d.ts +11 -260
- package/dist/types/src/types/service.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +116 -93
- package/src/AssistantPlugin.tsx +104 -99
- package/src/blueprints/assistant-blueprint.ts +57 -0
- package/src/blueprints/index.ts +12 -0
- package/src/capabilities/ai-service/ai-service.ts +30 -0
- package/src/capabilities/ai-service/index.ts +7 -0
- package/src/capabilities/app-graph-builder/app-graph-builder.ts +200 -0
- package/src/capabilities/app-graph-builder/index.ts +7 -0
- package/src/capabilities/blueprint-definition/blueprint-definition.ts +74 -0
- package/src/capabilities/blueprint-definition/index.ts +8 -0
- package/src/capabilities/edge-model-resolver/edge-model-resolver.ts +33 -0
- package/src/capabilities/edge-model-resolver/index.ts +7 -0
- package/src/capabilities/index.ts +10 -15
- package/src/capabilities/local-model-resolver/index.ts +7 -0
- package/src/capabilities/local-model-resolver/local-model-resolver.ts +38 -0
- package/src/capabilities/operation-resolver/index.ts +7 -0
- package/src/capabilities/operation-resolver/operation-resolver.ts +112 -0
- package/src/capabilities/react-surface/index.ts +7 -0
- package/src/capabilities/react-surface/react-surface.tsx +111 -0
- package/src/capabilities/repair/index.ts +7 -0
- package/src/capabilities/{repair.ts → repair/repair.ts} +24 -11
- package/src/capabilities/settings/index.ts +7 -0
- package/src/capabilities/settings/settings.ts +31 -0
- package/src/capabilities/state/index.ts +7 -0
- package/src/capabilities/state/state.ts +27 -0
- package/src/capabilities/toolkit/index.ts +7 -0
- package/src/capabilities/toolkit/toolkit.ts +27 -0
- package/src/components/AssistantSettings/AssistantSettings.tsx +28 -20
- package/src/components/BlueprintArticle.tsx +5 -6
- package/src/components/Chat/Chat.tsx +104 -77
- package/src/components/Chat/events.ts +1 -1
- package/src/components/ChatCompanion.tsx +103 -43
- package/src/components/ChatContainer.tsx +30 -24
- package/src/components/ChatDialog.tsx +8 -8
- package/src/components/ChatProgress/ChatProgress.tsx +5 -19
- package/src/components/ChatPrompt/ChatActions.tsx +9 -1
- package/src/components/ChatPrompt/ChatOptions.tsx +62 -58
- package/src/components/ChatPrompt/ChatReferences.tsx +5 -6
- package/src/components/ChatPrompt/ChatStatusIndicator.tsx +1 -1
- package/src/components/ChatThread/ChatThread.stories.tsx +9 -8
- package/src/components/ChatThread/ChatThread.tsx +14 -5
- package/src/components/ChatThread/Link.tsx +3 -3
- package/src/components/ChatThread/registry.tsx +1 -1
- package/src/components/ChatThread/sync.test.ts +13 -5
- package/src/components/ChatThread/sync.ts +8 -2
- package/src/components/InitiativeContainer.tsx +340 -0
- package/src/components/PromptArticle.tsx +9 -11
- package/src/components/TemplateEditor/TemplateEditor.stories.tsx +3 -3
- package/src/components/TemplateEditor/TemplateEditor.tsx +7 -4
- package/src/components/TemplateEditor/TemplateForm.stories.tsx +15 -7
- package/src/components/TemplateEditor/TemplateForm.tsx +75 -28
- package/src/components/TemplateEditor/extensions/handlebars-extension.ts +10 -5
- package/src/components/ToolBlock/ToolBlock.tsx +6 -6
- package/src/components/Toolbox/Toolbox.stories.tsx +10 -11
- package/src/components/Toolbox/Toolbox.tsx +50 -52
- package/src/components/TriggerStatus/TriggerStatus.tsx +142 -0
- package/src/components/TriggerStatus/index.ts +5 -0
- package/src/components/Typewriter/AssistantToolbar.tsx +161 -0
- package/src/components/Typewriter/Typewriter.stories.tsx +83 -0
- package/src/components/Typewriter/Typewriter.tsx +54 -0
- package/src/components/Typewriter/assistant-extension.tsx +144 -0
- package/src/components/Typewriter/index.ts +5 -0
- package/src/components/index.ts +11 -2
- package/src/functions/index.ts +1 -1
- package/src/functions/object-list.ts +2 -2
- package/src/functions/object-load.ts +9 -11
- package/src/functions/object-search.ts +46 -0
- package/src/hooks/useBlueprintRegistry.ts +31 -21
- package/src/hooks/useChatProcessor.ts +7 -3
- package/src/hooks/useChatServices.ts +14 -18
- package/src/hooks/useChatToolbarActions.ts +27 -27
- package/src/hooks/useContextBinder.ts +4 -2
- package/src/hooks/useContextObjects.ts +13 -25
- package/src/hooks/useFilteredTypes.ts +6 -7
- package/src/hooks/useReferencesProvider.ts +4 -4
- package/src/index.ts +0 -1
- package/src/meta.ts +2 -2
- package/src/processor/processor.test.ts +8 -8
- package/src/processor/processor.ts +49 -25
- package/src/processor/update-name.ts +6 -4
- package/src/queue-logger.ts +4 -1
- package/src/testing/test-services.ts +8 -6
- package/src/translations.ts +23 -2
- package/src/types/Assistant.ts +4 -39
- package/src/types/AssistantAction.ts +61 -64
- package/src/types/capabilities.ts +27 -0
- package/src/types/events.ts +11 -0
- package/src/types/index.ts +6 -1
- package/src/types/service.ts +10 -7
- package/dist/lib/browser/BlueprintArticle-BWSLH6LG.mjs +0 -36
- package/dist/lib/browser/BlueprintArticle-BWSLH6LG.mjs.map +0 -7
- package/dist/lib/browser/ChatCompanion-U7VMDYO6.mjs +0 -159
- package/dist/lib/browser/ChatCompanion-U7VMDYO6.mjs.map +0 -7
- package/dist/lib/browser/ChatContainer-JXDZQ2EY.mjs +0 -79
- package/dist/lib/browser/ChatContainer-JXDZQ2EY.mjs.map +0 -7
- package/dist/lib/browser/ChatDialog-5NNGCRKJ.mjs +0 -90
- package/dist/lib/browser/ChatDialog-5NNGCRKJ.mjs.map +0 -7
- package/dist/lib/browser/PromptArticle-Q7JYGFQV.mjs +0 -59
- package/dist/lib/browser/PromptArticle-Q7JYGFQV.mjs.map +0 -7
- package/dist/lib/browser/ai-service-ERTZBTP3.mjs +0 -19
- package/dist/lib/browser/ai-service-ERTZBTP3.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-ADZRPJ3V.mjs +0 -199
- package/dist/lib/browser/app-graph-builder-ADZRPJ3V.mjs.map +0 -7
- package/dist/lib/browser/blueprint-definition-7HPQPCL7.mjs +0 -12
- package/dist/lib/browser/chunk-5JZRYQZL.mjs +0 -229
- package/dist/lib/browser/chunk-5JZRYQZL.mjs.map +0 -7
- package/dist/lib/browser/chunk-7ZJIXQ2Y.mjs.map +0 -7
- package/dist/lib/browser/chunk-F6YX2HHA.mjs.map +0 -7
- package/dist/lib/browser/chunk-LRE4VEZV.mjs +0 -16
- package/dist/lib/browser/chunk-LRE4VEZV.mjs.map +0 -7
- package/dist/lib/browser/chunk-SWEOO227.mjs +0 -1930
- package/dist/lib/browser/chunk-SWEOO227.mjs.map +0 -7
- package/dist/lib/browser/chunk-WBG5PTSX.mjs.map +0 -7
- package/dist/lib/browser/chunk-YDSFERCV.mjs +0 -178
- package/dist/lib/browser/chunk-YDSFERCV.mjs.map +0 -7
- package/dist/lib/browser/edge-model-resolver-O6OFYIO2.mjs +0 -18
- package/dist/lib/browser/edge-model-resolver-O6OFYIO2.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-Q7TX3MV7.mjs +0 -143
- package/dist/lib/browser/intent-resolver-Q7TX3MV7.mjs.map +0 -7
- package/dist/lib/browser/local-model-resolver-34MVHRKD.mjs +0 -17
- package/dist/lib/browser/local-model-resolver-34MVHRKD.mjs.map +0 -7
- package/dist/lib/browser/react-surface-VXXS6ZVC.mjs +0 -100
- package/dist/lib/browser/react-surface-VXXS6ZVC.mjs.map +0 -7
- package/dist/lib/browser/repair-3MZXLUHO.mjs.map +0 -7
- package/dist/lib/browser/settings-HD5WA24I.mjs +0 -23
- package/dist/lib/browser/settings-HD5WA24I.mjs.map +0 -7
- package/dist/lib/browser/state-GG7Z3NB7.mjs +0 -25
- package/dist/lib/browser/state-GG7Z3NB7.mjs.map +0 -7
- package/dist/lib/browser/toolkit-VYDAWNE4.mjs +0 -17
- package/dist/lib/browser/toolkit-VYDAWNE4.mjs.map +0 -7
- package/dist/lib/node-esm/BlueprintArticle-R2XYBRCK.mjs +0 -37
- package/dist/lib/node-esm/BlueprintArticle-R2XYBRCK.mjs.map +0 -7
- package/dist/lib/node-esm/ChatCompanion-O4T7PMMC.mjs +0 -160
- package/dist/lib/node-esm/ChatCompanion-O4T7PMMC.mjs.map +0 -7
- package/dist/lib/node-esm/ChatContainer-OWAZI6ZF.mjs +0 -80
- package/dist/lib/node-esm/ChatContainer-OWAZI6ZF.mjs.map +0 -7
- package/dist/lib/node-esm/ChatDialog-IBXH5FRI.mjs +0 -91
- package/dist/lib/node-esm/ChatDialog-IBXH5FRI.mjs.map +0 -7
- package/dist/lib/node-esm/PromptArticle-IV7O5UZ3.mjs +0 -60
- package/dist/lib/node-esm/PromptArticle-IV7O5UZ3.mjs.map +0 -7
- package/dist/lib/node-esm/ai-service-MUYLV3NT.mjs +0 -20
- package/dist/lib/node-esm/ai-service-MUYLV3NT.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-26KXQ5ZY.mjs +0 -200
- package/dist/lib/node-esm/app-graph-builder-26KXQ5ZY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-CKW4IYLY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-E4JSYCWZ.mjs +0 -230
- package/dist/lib/node-esm/chunk-E4JSYCWZ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-GWKWQSEQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-VGSP5WMV.mjs +0 -180
- package/dist/lib/node-esm/chunk-VGSP5WMV.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-WE6KTH72.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-YWFWT57N.mjs +0 -17
- package/dist/lib/node-esm/chunk-YWFWT57N.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-ZNSHGWE4.mjs +0 -1931
- package/dist/lib/node-esm/chunk-ZNSHGWE4.mjs.map +0 -7
- package/dist/lib/node-esm/edge-model-resolver-2ARXDOYS.mjs +0 -19
- package/dist/lib/node-esm/edge-model-resolver-2ARXDOYS.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-LTKMN3YB.mjs +0 -144
- package/dist/lib/node-esm/intent-resolver-LTKMN3YB.mjs.map +0 -7
- package/dist/lib/node-esm/local-model-resolver-TP2NTSAX.mjs +0 -18
- package/dist/lib/node-esm/local-model-resolver-TP2NTSAX.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-AOBQALOV.mjs.map +0 -7
- package/dist/lib/node-esm/repair-RER5H7Y6.mjs.map +0 -7
- package/dist/lib/node-esm/settings-YJQVKHH5.mjs +0 -24
- package/dist/lib/node-esm/settings-YJQVKHH5.mjs.map +0 -7
- package/dist/lib/node-esm/state-FSUHFMDM.mjs +0 -26
- package/dist/lib/node-esm/state-FSUHFMDM.mjs.map +0 -7
- package/dist/lib/node-esm/toolkit-HFJZLVIR.mjs +0 -18
- package/dist/lib/node-esm/toolkit-HFJZLVIR.mjs.map +0 -7
- package/dist/types/src/capabilities/ai-service.d.ts +0 -4
- package/dist/types/src/capabilities/ai-service.d.ts.map +0 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +0 -7
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +0 -1
- package/dist/types/src/capabilities/capabilities.d.ts +0 -10
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/edge-model-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/edge-model-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/local-model-resolver.d.ts +0 -10
- package/dist/types/src/capabilities/local-model-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface.d.ts +0 -4
- package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
- package/dist/types/src/capabilities/repair.d.ts +0 -4
- package/dist/types/src/capabilities/repair.d.ts.map +0 -1
- package/dist/types/src/capabilities/settings.d.ts +0 -4
- package/dist/types/src/capabilities/settings.d.ts.map +0 -1
- package/dist/types/src/capabilities/state.d.ts +0 -4
- package/dist/types/src/capabilities/state.d.ts.map +0 -1
- package/dist/types/src/capabilities/toolkit.d.ts +0 -4
- package/dist/types/src/capabilities/toolkit.d.ts.map +0 -1
- package/dist/types/src/components/ChatThread/reducers.d.ts +0 -40
- package/dist/types/src/components/ChatThread/reducers.d.ts.map +0 -1
- package/dist/types/src/events.d.ts +0 -4
- package/dist/types/src/events.d.ts.map +0 -1
- package/dist/types/src/functions/analysis.d.ts +0 -5
- package/dist/types/src/functions/analysis.d.ts.map +0 -1
- package/src/capabilities/ai-service.ts +0 -27
- package/src/capabilities/app-graph-builder.ts +0 -208
- package/src/capabilities/blueprint-definition.ts +0 -66
- package/src/capabilities/capabilities.ts +0 -17
- package/src/capabilities/edge-model-resolver.ts +0 -25
- package/src/capabilities/intent-resolver.ts +0 -135
- package/src/capabilities/local-model-resolver.ts +0 -30
- package/src/capabilities/react-surface.tsx +0 -87
- package/src/capabilities/settings.ts +0 -19
- package/src/capabilities/state.ts +0 -22
- package/src/capabilities/toolkit.ts +0 -17
- package/src/components/ChatThread/reducers.ts +0 -151
- package/src/events.ts +0 -11
- package/src/functions/analysis.ts +0 -22
- /package/dist/lib/browser/{blueprint-definition-7HPQPCL7.mjs.map → blueprint-definition-YAGWYVCL.mjs.map} +0 -0
- /package/dist/lib/{node-esm/blueprint-definition-S3DNWJFV.mjs.map → browser/blueprints/index.mjs.map} +0 -0
|
@@ -1,129 +1,97 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { Database, Type } from '@dxos/echo';
|
|
4
|
+
export declare namespace AssistantOperation {
|
|
5
|
+
const OnCreateSpace: Omit<{
|
|
6
|
+
readonly meta: {
|
|
7
|
+
readonly key: `${string}/on-create-space`;
|
|
8
|
+
readonly name: "On Create Space";
|
|
9
|
+
};
|
|
10
|
+
readonly services: readonly [typeof Capability.Service];
|
|
11
|
+
readonly schema: {
|
|
12
|
+
readonly input: Schema.Struct<{
|
|
13
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
14
|
+
rootCollection: Type.Obj<{
|
|
15
|
+
readonly name?: string | undefined;
|
|
16
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
17
|
+
}, Schema.Struct.Fields>;
|
|
18
|
+
}>;
|
|
19
|
+
readonly output: typeof Schema.Void;
|
|
20
|
+
};
|
|
21
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
22
|
+
readonly executionMode: "sync" | "async";
|
|
23
|
+
};
|
|
24
|
+
const CreateChat: Omit<{
|
|
25
|
+
readonly meta: {
|
|
26
|
+
readonly key: `${string}/create-chat`;
|
|
27
|
+
readonly name: "Create Chat";
|
|
28
|
+
};
|
|
29
|
+
readonly services: readonly [typeof Capability.Service];
|
|
30
|
+
readonly schema: {
|
|
31
|
+
readonly input: Schema.Struct<{
|
|
32
|
+
db: Schema.Schema<Database.Database, Database.Database, never>;
|
|
33
|
+
name: Schema.optional<typeof Schema.String>;
|
|
34
|
+
/** If false, chat is created in-memory only and not added to space. Defaults to true. */
|
|
35
|
+
addToSpace: Schema.optional<typeof Schema.Boolean>;
|
|
36
|
+
}>;
|
|
37
|
+
readonly output: Schema.Struct<{
|
|
38
|
+
object: Type.Obj<{
|
|
39
|
+
readonly name?: string | undefined;
|
|
40
|
+
readonly queue: import("@dxos/echo/internal").Ref<import("@dxos/echo-db").Queue<import("@dxos/echo/Entity").Unknown>>;
|
|
41
|
+
readonly traceQueue?: import("@dxos/echo/internal").Ref<import("@dxos/echo-db").Queue<import("@dxos/echo/Entity").Unknown>> | undefined;
|
|
42
|
+
}, Schema.Struct.Fields>;
|
|
43
|
+
}>;
|
|
44
|
+
};
|
|
45
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
46
|
+
readonly executionMode: "sync" | "async";
|
|
47
|
+
};
|
|
48
|
+
const UpdateChatName: Omit<{
|
|
49
|
+
readonly meta: {
|
|
50
|
+
readonly key: `${string}/update-chat-name`;
|
|
51
|
+
readonly name: "Update Chat Name";
|
|
52
|
+
};
|
|
53
|
+
readonly services: readonly [typeof Capability.Service];
|
|
54
|
+
readonly schema: {
|
|
55
|
+
readonly input: Schema.Struct<{
|
|
56
|
+
chat: Type.Obj<{
|
|
57
|
+
readonly name?: string | undefined;
|
|
58
|
+
readonly queue: import("@dxos/echo/internal").Ref<import("@dxos/echo-db").Queue<import("@dxos/echo/Entity").Unknown>>;
|
|
59
|
+
readonly traceQueue?: import("@dxos/echo/internal").Ref<import("@dxos/echo-db").Queue<import("@dxos/echo/Entity").Unknown>> | undefined;
|
|
60
|
+
}, Schema.Struct.Fields>;
|
|
61
|
+
}>;
|
|
62
|
+
readonly output: typeof Schema.Void;
|
|
63
|
+
};
|
|
64
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
65
|
+
readonly executionMode: "sync" | "async";
|
|
66
|
+
};
|
|
67
|
+
const SetCurrentChat: Omit<{
|
|
68
|
+
readonly meta: {
|
|
69
|
+
readonly key: `${string}/set-current-chat`;
|
|
70
|
+
readonly name: "Set Current Chat";
|
|
71
|
+
};
|
|
72
|
+
readonly services: readonly [typeof Capability.Service];
|
|
73
|
+
readonly schema: {
|
|
74
|
+
readonly input: Schema.Struct<{
|
|
75
|
+
companionTo: Schema.Schema<any, {
|
|
76
|
+
id: string;
|
|
77
|
+
} & import("@dxos/echo/internal").AnyProperties, never> & {
|
|
78
|
+
readonly "~@dxos/echo/SchemaKind": import("@dxos/echo/internal").EntityKind.Object;
|
|
79
|
+
} & import("@dxos/echo/internal").TypeMeta;
|
|
80
|
+
chat: Schema.optional<Type.Obj<{
|
|
81
|
+
readonly name?: string | undefined;
|
|
82
|
+
readonly queue: import("@dxos/echo/internal").Ref<import("@dxos/echo-db").Queue<import("@dxos/echo/Entity").Unknown>>;
|
|
83
|
+
readonly traceQueue?: import("@dxos/echo/internal").Ref<import("@dxos/echo-db").Queue<import("@dxos/echo/Entity").Unknown>> | undefined;
|
|
84
|
+
}, Schema.Struct.Fields>>;
|
|
85
|
+
}>;
|
|
86
|
+
readonly output: typeof Schema.Void;
|
|
87
|
+
};
|
|
88
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
89
|
+
readonly executionMode: "sync" | "async";
|
|
90
|
+
};
|
|
91
|
+
const BlueprintForm: Schema.Struct<{
|
|
57
92
|
key: typeof Schema.String;
|
|
58
93
|
name: typeof Schema.String;
|
|
59
94
|
description: Schema.optional<typeof Schema.String>;
|
|
60
95
|
}>;
|
|
61
|
-
output: Schema.Struct<{
|
|
62
|
-
object: import("@dxos/echo/Type").obj<Schema.Struct<{
|
|
63
|
-
key: Schema.SchemaClass<string, string, never>;
|
|
64
|
-
name: Schema.SchemaClass<string, string, never>;
|
|
65
|
-
description: Schema.optional<typeof Schema.String>;
|
|
66
|
-
instructions: Schema.mutable<Schema.Struct<{
|
|
67
|
-
source: Schema.SchemaClass<import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
68
|
-
content: string;
|
|
69
|
-
}>, import("@dxos/echo-protocol").EncodedReference, never>;
|
|
70
|
-
inputs: Schema.optional<Schema.mutable<Schema.Array$<Schema.mutable<Schema.Struct<{
|
|
71
|
-
name: typeof Schema.String;
|
|
72
|
-
kind: Schema.optional<Schema.Literal<["value", "pass-through", "retriever", "function", "query", "resolver", "context", "schema"]>>;
|
|
73
|
-
default: Schema.optional<typeof Schema.Any>;
|
|
74
|
-
}>>>>>;
|
|
75
|
-
}>>;
|
|
76
|
-
tools: Schema.Array$<Schema.brand<typeof Schema.String, "ToolId">>;
|
|
77
|
-
}>>;
|
|
78
|
-
}>;
|
|
79
|
-
}>;
|
|
80
|
-
export declare class CreateBlueprint extends CreateBlueprint_base {
|
|
81
|
-
}
|
|
82
|
-
declare const CreatePrompt_base: Schema.TaggedClass<CreatePrompt, `${string}/action/create-prompt`, {
|
|
83
|
-
readonly _tag: Schema.tag<`${string}/action/create-prompt`>;
|
|
84
|
-
} & {
|
|
85
|
-
input: Schema.Struct<{
|
|
86
|
-
name: Schema.optional<typeof Schema.String>;
|
|
87
|
-
}>;
|
|
88
|
-
output: Schema.Struct<{
|
|
89
|
-
object: Schema.Schema<Prompt.Prompt, Prompt.Prompt_Encoded, never>;
|
|
90
|
-
}>;
|
|
91
|
-
}>;
|
|
92
|
-
export declare class CreatePrompt extends CreatePrompt_base {
|
|
93
|
-
}
|
|
94
|
-
declare const CreateSequence_base: Schema.TaggedClass<CreateSequence, `${string}/action/create-sequence`, {
|
|
95
|
-
readonly _tag: Schema.tag<`${string}/action/create-sequence`>;
|
|
96
|
-
} & {
|
|
97
|
-
input: Schema.Struct<{
|
|
98
|
-
name: Schema.optional<typeof Schema.String>;
|
|
99
|
-
}>;
|
|
100
|
-
output: Schema.Struct<{
|
|
101
|
-
object: import("@dxos/echo/Type").obj<Schema.Struct<{
|
|
102
|
-
name: Schema.optional<typeof Schema.String>;
|
|
103
|
-
steps: Schema.Array$<Schema.Struct<{
|
|
104
|
-
id: import("@dxos/keys").ObjectIdClass;
|
|
105
|
-
instructions: typeof Schema.String;
|
|
106
|
-
tools: Schema.optional<Schema.Array$<Schema.brand<typeof Schema.String, "ToolId">>>;
|
|
107
|
-
}>>;
|
|
108
|
-
}>>;
|
|
109
|
-
}>;
|
|
110
|
-
}>;
|
|
111
|
-
export declare class CreateSequence extends CreateSequence_base {
|
|
112
|
-
}
|
|
113
|
-
declare const SetCurrentChat_base: Schema.TaggedClass<SetCurrentChat, `${string}/action/set-current-chat`, {
|
|
114
|
-
readonly _tag: Schema.tag<`${string}/action/set-current-chat`>;
|
|
115
|
-
} & {
|
|
116
|
-
input: Schema.Struct<{
|
|
117
|
-
companionTo: Schema.Schema<any, any, never>;
|
|
118
|
-
chat: Schema.optional<import("@dxos/echo/Type").obj<Schema.Struct<{
|
|
119
|
-
name: Schema.optional<typeof Schema.String>;
|
|
120
|
-
queue: import("@dxos/echo/internal").RefSchema<import("@dxos/echo-db").Queue<import("@dxos/echo/Entity").Unknown>>;
|
|
121
|
-
traceQueue: Schema.optional<import("@dxos/echo/internal").RefSchema<import("@dxos/echo-db").Queue<import("@dxos/echo/Entity").Unknown>>>;
|
|
122
|
-
}>>>;
|
|
123
|
-
}>;
|
|
124
|
-
output: typeof Schema.Void;
|
|
125
|
-
}>;
|
|
126
|
-
export declare class SetCurrentChat extends SetCurrentChat_base {
|
|
127
96
|
}
|
|
128
|
-
export {};
|
|
129
97
|
//# sourceMappingURL=AssistantAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssistantAction.d.ts","sourceRoot":"","sources":["../../../../src/types/AssistantAction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,
|
|
1
|
+
{"version":3,"file":"AssistantAction.d.ts","sourceRoot":"","sources":["../../../../src/types/AssistantAction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAS5C,yBAAiB,kBAAkB,CAAC;IAC3B,MAAM,aAAa;;;;;;;;;;;;;;;;;;KAUxB,CAAC;IAEI,MAAM,UAAU;;;;;;;;;;gBAOjB,yFAAyF;;;;;;;;;;;;;KAO7F,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;KASzB,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;KAUzB,CAAC;IAEI,MAAM,aAAa;;;;MAIxB,CAAC;CACJ"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type Atom } from '@effect-atom/atom-react';
|
|
2
|
+
import * as Schema from 'effect/Schema';
|
|
3
|
+
import { Capability } from '@dxos/app-framework';
|
|
4
|
+
export declare namespace AssistantCapabilities {
|
|
5
|
+
const Settings: Capability.InterfaceDef<Atom.Writable<{
|
|
6
|
+
llmProvider?: "edge" | "ollama" | "lmstudio" | undefined;
|
|
7
|
+
edgeModel?: string | undefined;
|
|
8
|
+
ollamaModel?: string | undefined;
|
|
9
|
+
lmstudioModel?: string | undefined;
|
|
10
|
+
customPrompts?: boolean | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
llmProvider?: "edge" | "ollama" | "lmstudio" | undefined;
|
|
13
|
+
edgeModel?: string | undefined;
|
|
14
|
+
ollamaModel?: string | undefined;
|
|
15
|
+
lmstudioModel?: string | undefined;
|
|
16
|
+
customPrompts?: boolean | undefined;
|
|
17
|
+
}>>;
|
|
18
|
+
const StateSchema: Schema.mutable<Schema.Struct<{
|
|
19
|
+
/** Map of primary object dxn to current chat dxn. */
|
|
20
|
+
currentChat: Schema.Record$<typeof Schema.String, Schema.UndefinedOr<typeof Schema.String>>;
|
|
21
|
+
}>>;
|
|
22
|
+
type AssistantState = Schema.Schema.Type<typeof StateSchema>;
|
|
23
|
+
const State: Capability.InterfaceDef<Atom.Writable<{
|
|
24
|
+
currentChat: {
|
|
25
|
+
readonly [x: string]: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
currentChat: {
|
|
29
|
+
readonly [x: string]: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
}>>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,yBAAiB,qBAAqB,CAAC;IAC9B,MAAM,QAAQ;;;;;;;;;;;;OAAuF,CAAC;IAEtG,MAAM,WAAW;QAEpB,qDAAqD;;OAGxD,CAAC;IAEF,KAAY,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;IAE7D,MAAM,KAAK;;;;;;;;OAAgF,CAAC;CACpG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/types/events.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,yBAAiB,eAAe,CAAC;IACxB,MAAM,uBAAuB,iCAAsE,CAAC;CAC5G"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
export type { Chat as ChatType } from '@dxos/assistant-toolkit';
|
|
1
2
|
export * as Assistant from './Assistant';
|
|
2
|
-
export
|
|
3
|
+
export { AssistantOperation } from './AssistantAction';
|
|
4
|
+
export * from './capabilities';
|
|
3
5
|
export * from './defs';
|
|
6
|
+
export * from './events';
|
|
4
7
|
export * from './service';
|
|
5
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAKA,YAAY,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { Type } from '@dxos/echo';
|
|
2
3
|
export declare const ApiAuthorization: Schema.Union<[Schema.Struct<{
|
|
3
4
|
type: Schema.Literal<["api-key"]>;
|
|
4
5
|
key: typeof Schema.String;
|
|
@@ -16,267 +17,17 @@ export declare const ApiAuthorization: Schema.Union<[Schema.Struct<{
|
|
|
16
17
|
grantType: typeof Schema.String;
|
|
17
18
|
}>]>;
|
|
18
19
|
export type ApiAuthorization = Schema.Schema.Type<typeof ApiAuthorization>;
|
|
19
|
-
declare const ServiceInterface:
|
|
20
|
-
kind: Schema.Literal<["function"]>;
|
|
21
|
-
fn: import("@dxos/echo/internal").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
22
|
-
key?: string | undefined;
|
|
23
|
-
description?: string | undefined;
|
|
24
|
-
version: string;
|
|
25
|
-
name: string;
|
|
26
|
-
source?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
27
|
-
source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
28
|
-
content: string;
|
|
29
|
-
}>;
|
|
30
|
-
description?: string | undefined;
|
|
31
|
-
name?: string | undefined;
|
|
32
|
-
changed?: boolean | undefined;
|
|
33
|
-
}> | undefined;
|
|
34
|
-
updated?: string | undefined;
|
|
35
|
-
inputSchema?: import("@dxos/echo/internal").JsonSchemaType | undefined;
|
|
36
|
-
outputSchema?: import("@dxos/echo/internal").JsonSchemaType | undefined;
|
|
37
|
-
services?: readonly string[] | undefined;
|
|
38
|
-
binding?: string | undefined;
|
|
39
|
-
}>;
|
|
40
|
-
}>, Schema.Struct<{
|
|
41
|
-
kind: Schema.Literal<["workflow"]>;
|
|
42
|
-
workflow: import("@dxos/echo/internal").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
43
|
-
output?: {
|
|
44
|
-
readonly data?: any;
|
|
45
|
-
readonly id: string;
|
|
46
|
-
readonly type?: string | undefined;
|
|
47
|
-
} | undefined;
|
|
48
|
-
input?: {
|
|
49
|
-
readonly data?: any;
|
|
50
|
-
readonly id: string;
|
|
51
|
-
readonly type?: string | undefined;
|
|
52
|
-
} | undefined;
|
|
53
|
-
graph: {
|
|
54
|
-
readonly id?: string | undefined;
|
|
55
|
-
readonly nodes: {
|
|
56
|
-
readonly data?: any;
|
|
57
|
-
readonly id: string;
|
|
58
|
-
readonly type?: string | undefined;
|
|
59
|
-
}[];
|
|
60
|
-
readonly edges: {
|
|
61
|
-
readonly data?: any;
|
|
62
|
-
readonly id: string;
|
|
63
|
-
readonly source: string;
|
|
64
|
-
readonly target: string;
|
|
65
|
-
readonly type?: string | undefined;
|
|
66
|
-
}[];
|
|
67
|
-
};
|
|
68
|
-
}>;
|
|
69
|
-
}>, Schema.Struct<{
|
|
70
|
-
kind: Schema.Literal<["api"]>;
|
|
71
|
-
/**
|
|
72
|
-
* URL to fetch the openapi schema.
|
|
73
|
-
*/
|
|
74
|
-
schemaUrl: Schema.optional<typeof Schema.String>;
|
|
75
|
-
/**
|
|
76
|
-
* Inlined openapi schema.
|
|
77
|
-
*/
|
|
78
|
-
schema: Schema.optional<typeof Schema.Any>;
|
|
79
|
-
/**
|
|
80
|
-
* Authorization configuration if required.
|
|
81
|
-
*/
|
|
82
|
-
authorization: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
83
|
-
type: Schema.Literal<["api-key"]>;
|
|
84
|
-
key: typeof Schema.String;
|
|
85
|
-
placement: Schema.Union<[Schema.Struct<{
|
|
86
|
-
type: Schema.Literal<["authorization-header"]>;
|
|
87
|
-
}>, Schema.Struct<{
|
|
88
|
-
type: Schema.Literal<["query"]>;
|
|
89
|
-
name: typeof Schema.String;
|
|
90
|
-
}>]>;
|
|
91
|
-
}>, Schema.Struct<{
|
|
92
|
-
type: Schema.Literal<["oauth"]>;
|
|
93
|
-
clientId: typeof Schema.String;
|
|
94
|
-
clientSecret: typeof Schema.String;
|
|
95
|
-
tokenUrl: typeof Schema.String;
|
|
96
|
-
grantType: typeof Schema.String;
|
|
97
|
-
}>]>>;
|
|
98
|
-
}>]>;
|
|
20
|
+
declare const ServiceInterface: any;
|
|
99
21
|
export type ServiceInterface = Schema.Schema.Type<typeof ServiceInterface>;
|
|
100
|
-
declare const
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
category
|
|
105
|
-
enabled
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
interfaces: Schema.optional<Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
110
|
-
kind: Schema.Literal<["function"]>;
|
|
111
|
-
fn: import("@dxos/echo/internal").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
112
|
-
key?: string | undefined;
|
|
113
|
-
description?: string | undefined;
|
|
114
|
-
version: string;
|
|
115
|
-
name: string;
|
|
116
|
-
source?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
117
|
-
source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
118
|
-
content: string;
|
|
119
|
-
}>;
|
|
120
|
-
description?: string | undefined;
|
|
121
|
-
name?: string | undefined;
|
|
122
|
-
changed?: boolean | undefined;
|
|
123
|
-
}> | undefined;
|
|
124
|
-
updated?: string | undefined;
|
|
125
|
-
inputSchema?: import("@dxos/echo/internal").JsonSchemaType | undefined;
|
|
126
|
-
outputSchema?: import("@dxos/echo/internal").JsonSchemaType | undefined;
|
|
127
|
-
services?: readonly string[] | undefined;
|
|
128
|
-
binding?: string | undefined;
|
|
129
|
-
}>;
|
|
130
|
-
}>, Schema.Struct<{
|
|
131
|
-
kind: Schema.Literal<["workflow"]>;
|
|
132
|
-
workflow: import("@dxos/echo/internal").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
133
|
-
output?: {
|
|
134
|
-
readonly data?: any;
|
|
135
|
-
readonly id: string;
|
|
136
|
-
readonly type?: string | undefined;
|
|
137
|
-
} | undefined;
|
|
138
|
-
input?: {
|
|
139
|
-
readonly data?: any;
|
|
140
|
-
readonly id: string;
|
|
141
|
-
readonly type?: string | undefined;
|
|
142
|
-
} | undefined;
|
|
143
|
-
graph: {
|
|
144
|
-
readonly id?: string | undefined;
|
|
145
|
-
readonly nodes: {
|
|
146
|
-
readonly data?: any;
|
|
147
|
-
readonly id: string;
|
|
148
|
-
readonly type?: string | undefined;
|
|
149
|
-
}[];
|
|
150
|
-
readonly edges: {
|
|
151
|
-
readonly data?: any;
|
|
152
|
-
readonly id: string;
|
|
153
|
-
readonly source: string;
|
|
154
|
-
readonly target: string;
|
|
155
|
-
readonly type?: string | undefined;
|
|
156
|
-
}[];
|
|
157
|
-
};
|
|
158
|
-
}>;
|
|
159
|
-
}>, Schema.Struct<{
|
|
160
|
-
kind: Schema.Literal<["api"]>;
|
|
161
|
-
/**
|
|
162
|
-
* URL to fetch the openapi schema.
|
|
163
|
-
*/
|
|
164
|
-
schemaUrl: Schema.optional<typeof Schema.String>;
|
|
165
|
-
/**
|
|
166
|
-
* Inlined openapi schema.
|
|
167
|
-
*/
|
|
168
|
-
schema: Schema.optional<typeof Schema.Any>;
|
|
169
|
-
/**
|
|
170
|
-
* Authorization configuration if required.
|
|
171
|
-
*/
|
|
172
|
-
authorization: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
173
|
-
type: Schema.Literal<["api-key"]>;
|
|
174
|
-
key: typeof Schema.String;
|
|
175
|
-
placement: Schema.Union<[Schema.Struct<{
|
|
176
|
-
type: Schema.Literal<["authorization-header"]>;
|
|
177
|
-
}>, Schema.Struct<{
|
|
178
|
-
type: Schema.Literal<["query"]>;
|
|
179
|
-
name: typeof Schema.String;
|
|
180
|
-
}>]>;
|
|
181
|
-
}>, Schema.Struct<{
|
|
182
|
-
type: Schema.Literal<["oauth"]>;
|
|
183
|
-
clientId: typeof Schema.String;
|
|
184
|
-
clientSecret: typeof Schema.String;
|
|
185
|
-
tokenUrl: typeof Schema.String;
|
|
186
|
-
grantType: typeof Schema.String;
|
|
187
|
-
}>]>>;
|
|
188
|
-
}>]>>>;
|
|
189
|
-
}, import("@dxos/echo/internal").TypedObjectOptions>, Schema.Struct.Encoded<{
|
|
190
|
-
serviceId: typeof Schema.String;
|
|
191
|
-
name: Schema.optional<typeof Schema.String>;
|
|
192
|
-
description: Schema.optional<typeof Schema.String>;
|
|
193
|
-
category: Schema.optional<typeof Schema.String>;
|
|
194
|
-
enabled: Schema.optional<typeof Schema.Boolean>;
|
|
195
|
-
/**
|
|
196
|
-
* Entries exposed: functions, workflows, and APIs.
|
|
197
|
-
*/
|
|
198
|
-
interfaces: Schema.optional<Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
199
|
-
kind: Schema.Literal<["function"]>;
|
|
200
|
-
fn: import("@dxos/echo/internal").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
201
|
-
key?: string | undefined;
|
|
202
|
-
description?: string | undefined;
|
|
203
|
-
version: string;
|
|
204
|
-
name: string;
|
|
205
|
-
source?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
206
|
-
source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
207
|
-
content: string;
|
|
208
|
-
}>;
|
|
209
|
-
description?: string | undefined;
|
|
210
|
-
name?: string | undefined;
|
|
211
|
-
changed?: boolean | undefined;
|
|
212
|
-
}> | undefined;
|
|
213
|
-
updated?: string | undefined;
|
|
214
|
-
inputSchema?: import("@dxos/echo/internal").JsonSchemaType | undefined;
|
|
215
|
-
outputSchema?: import("@dxos/echo/internal").JsonSchemaType | undefined;
|
|
216
|
-
services?: readonly string[] | undefined;
|
|
217
|
-
binding?: string | undefined;
|
|
218
|
-
}>;
|
|
219
|
-
}>, Schema.Struct<{
|
|
220
|
-
kind: Schema.Literal<["workflow"]>;
|
|
221
|
-
workflow: import("@dxos/echo/internal").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
222
|
-
output?: {
|
|
223
|
-
readonly data?: any;
|
|
224
|
-
readonly id: string;
|
|
225
|
-
readonly type?: string | undefined;
|
|
226
|
-
} | undefined;
|
|
227
|
-
input?: {
|
|
228
|
-
readonly data?: any;
|
|
229
|
-
readonly id: string;
|
|
230
|
-
readonly type?: string | undefined;
|
|
231
|
-
} | undefined;
|
|
232
|
-
graph: {
|
|
233
|
-
readonly id?: string | undefined;
|
|
234
|
-
readonly nodes: {
|
|
235
|
-
readonly data?: any;
|
|
236
|
-
readonly id: string;
|
|
237
|
-
readonly type?: string | undefined;
|
|
238
|
-
}[];
|
|
239
|
-
readonly edges: {
|
|
240
|
-
readonly data?: any;
|
|
241
|
-
readonly id: string;
|
|
242
|
-
readonly source: string;
|
|
243
|
-
readonly target: string;
|
|
244
|
-
readonly type?: string | undefined;
|
|
245
|
-
}[];
|
|
246
|
-
};
|
|
247
|
-
}>;
|
|
248
|
-
}>, Schema.Struct<{
|
|
249
|
-
kind: Schema.Literal<["api"]>;
|
|
250
|
-
/**
|
|
251
|
-
* URL to fetch the openapi schema.
|
|
252
|
-
*/
|
|
253
|
-
schemaUrl: Schema.optional<typeof Schema.String>;
|
|
254
|
-
/**
|
|
255
|
-
* Inlined openapi schema.
|
|
256
|
-
*/
|
|
257
|
-
schema: Schema.optional<typeof Schema.Any>;
|
|
258
|
-
/**
|
|
259
|
-
* Authorization configuration if required.
|
|
260
|
-
*/
|
|
261
|
-
authorization: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
262
|
-
type: Schema.Literal<["api-key"]>;
|
|
263
|
-
key: typeof Schema.String;
|
|
264
|
-
placement: Schema.Union<[Schema.Struct<{
|
|
265
|
-
type: Schema.Literal<["authorization-header"]>;
|
|
266
|
-
}>, Schema.Struct<{
|
|
267
|
-
type: Schema.Literal<["query"]>;
|
|
268
|
-
name: typeof Schema.String;
|
|
269
|
-
}>]>;
|
|
270
|
-
}>, Schema.Struct<{
|
|
271
|
-
type: Schema.Literal<["oauth"]>;
|
|
272
|
-
clientId: typeof Schema.String;
|
|
273
|
-
clientSecret: typeof Schema.String;
|
|
274
|
-
tokenUrl: typeof Schema.String;
|
|
275
|
-
grantType: typeof Schema.String;
|
|
276
|
-
}>]>>;
|
|
277
|
-
}>]>>>;
|
|
278
|
-
}>>;
|
|
279
|
-
export declare class ServiceType extends ServiceType_base {
|
|
22
|
+
export declare const ServiceType: Type.Obj<{
|
|
23
|
+
readonly name?: string | undefined;
|
|
24
|
+
readonly description?: string | undefined;
|
|
25
|
+
readonly serviceId: string;
|
|
26
|
+
readonly category?: string | undefined;
|
|
27
|
+
readonly enabled?: boolean | undefined;
|
|
28
|
+
readonly interfaces?: readonly unknown[] | undefined;
|
|
29
|
+
}, Schema.Struct.Fields>;
|
|
30
|
+
export interface ServiceType extends Schema.Schema.Type<typeof ServiceType> {
|
|
280
31
|
}
|
|
281
32
|
export interface BaseServiceRegistry {
|
|
282
33
|
queryServices(query?: ServiceQuery): Promise<ServiceType[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/types/service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/types/service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AA2BlC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;IAA2D,CAAC;AACzF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AA+B3E,QAAA,MAAM,gBAAgB,EAKjB,GAAG,CAAC;AAET,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3E,eAAO,MAAM,WAAW;;;;;;;wBAgBvB,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC;CAAG;AAM9E,MAAM,WAAW,mBAAmB;IAClC,aAAa,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;CAC7D;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAUvC,CAAC"}
|