@dxos/plugin-assistant 0.8.2-staging.7ac8446 → 0.8.3-main.672df60
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/AssistantDialog-UAZSN6GT.mjs +46 -0
- package/dist/lib/browser/AssistantDialog-UAZSN6GT.mjs.map +7 -0
- package/dist/lib/browser/BlueprintEditor-DGV4KJDM.mjs +45 -0
- package/dist/lib/browser/BlueprintEditor-DGV4KJDM.mjs.map +7 -0
- package/dist/lib/browser/ChatContainer-UTN3AO5U.mjs +39 -0
- package/dist/lib/browser/ChatContainer-UTN3AO5U.mjs.map +7 -0
- package/dist/lib/browser/TemplateContainer-AKUYL4AV.mjs +28 -0
- package/dist/lib/browser/TemplateContainer-AKUYL4AV.mjs.map +7 -0
- package/dist/lib/browser/{ai-client-CDZLSNXE.mjs → ai-client-COXVUC6V.mjs} +6 -6
- package/dist/lib/browser/ai-client-COXVUC6V.mjs.map +7 -0
- package/dist/lib/browser/app-graph-builder-56OZ5RW4.mjs +206 -0
- package/dist/lib/browser/app-graph-builder-56OZ5RW4.mjs.map +7 -0
- package/dist/lib/browser/{chunk-TXJWGWJ7.mjs → chunk-3F44MBHU.mjs} +3 -3
- package/dist/lib/browser/chunk-3F44MBHU.mjs.map +7 -0
- package/dist/lib/browser/chunk-6SD7S7W5.mjs +157 -0
- package/dist/lib/browser/chunk-6SD7S7W5.mjs.map +7 -0
- package/dist/lib/browser/chunk-JQFUME3B.mjs +87 -0
- package/dist/lib/{node-esm/chunk-PBZA7XJR.mjs.map → browser/chunk-JQFUME3B.mjs.map} +1 -1
- package/dist/lib/browser/chunk-NBSPGIHL.mjs +206 -0
- package/dist/lib/browser/chunk-NBSPGIHL.mjs.map +7 -0
- package/dist/lib/browser/chunk-Q6UZ4F3H.mjs +96 -0
- package/dist/lib/browser/chunk-Q6UZ4F3H.mjs.map +7 -0
- package/dist/lib/browser/{chunk-FMB7RGMP.mjs → chunk-Q6XE3O3E.mjs} +1714 -1536
- package/dist/lib/browser/chunk-Q6XE3O3E.mjs.map +7 -0
- package/dist/lib/browser/{chunk-3HCI5FIL.mjs → chunk-XOZ7YMO3.mjs} +3 -3
- package/dist/lib/browser/{chunk-3HCI5FIL.mjs.map → chunk-XOZ7YMO3.mjs.map} +1 -1
- package/dist/lib/browser/index.mjs +47 -23
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/intent-resolver-GWELYIX2.mjs +39 -0
- package/dist/lib/browser/intent-resolver-GWELYIX2.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-DGS34EON.mjs +144 -0
- package/dist/lib/browser/react-surface-DGS34EON.mjs.map +7 -0
- package/dist/lib/browser/{settings-U6UFQX32.mjs → settings-BTFB7IQ6.mjs} +5 -5
- package/dist/lib/browser/settings-BTFB7IQ6.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +6 -2
- package/dist/lib/node/AssistantDialog-RTB5Q7FP.cjs +72 -0
- package/dist/lib/node/AssistantDialog-RTB5Q7FP.cjs.map +7 -0
- package/dist/lib/node/BlueprintEditor-43VM3XPO.cjs +72 -0
- package/dist/lib/node/BlueprintEditor-43VM3XPO.cjs.map +7 -0
- package/dist/lib/node/{ChatContainer-ZJ5JXF6A.cjs → ChatContainer-P3JL4VZ7.cjs} +25 -19
- package/dist/lib/node/ChatContainer-P3JL4VZ7.cjs.map +7 -0
- package/dist/lib/node/TemplateContainer-CTG2MB4W.cjs +58 -0
- package/dist/lib/node/TemplateContainer-CTG2MB4W.cjs.map +7 -0
- package/dist/lib/node/{ai-client-URCCYU6B.cjs → ai-client-R2CGEYZW.cjs} +13 -13
- package/dist/lib/node/ai-client-R2CGEYZW.cjs.map +7 -0
- package/dist/lib/node/app-graph-builder-QLF353LH.cjs +216 -0
- package/dist/lib/node/app-graph-builder-QLF353LH.cjs.map +7 -0
- package/dist/lib/node/{chunk-XI2ARIEO.cjs → chunk-4EEWTDQK.cjs} +45 -39
- package/dist/lib/node/{chunk-XI2ARIEO.cjs.map → chunk-4EEWTDQK.cjs.map} +1 -1
- package/dist/lib/node/chunk-BWL5A3O5.cjs +184 -0
- package/dist/lib/node/chunk-BWL5A3O5.cjs.map +7 -0
- package/dist/lib/node/chunk-HRNIUYVQ.cjs +128 -0
- package/dist/lib/node/chunk-HRNIUYVQ.cjs.map +7 -0
- package/dist/lib/node/{chunk-Q5XWEMHB.cjs → chunk-P74TWGMG.cjs} +6 -6
- package/dist/lib/node/{chunk-Q5XWEMHB.cjs.map → chunk-P74TWGMG.cjs.map} +1 -1
- package/dist/lib/node/{chunk-RPBKMP2E.cjs → chunk-PG7YNQ4R.cjs} +1523 -1338
- package/dist/lib/node/chunk-PG7YNQ4R.cjs.map +7 -0
- package/dist/lib/node/{chunk-GBUNQ257.cjs → chunk-TS3H5OSX.cjs} +7 -7
- package/dist/lib/node/chunk-TS3H5OSX.cjs.map +7 -0
- package/dist/lib/node/chunk-UNVDZOLA.cjs +231 -0
- package/dist/lib/node/chunk-UNVDZOLA.cjs.map +7 -0
- package/dist/lib/node/index.cjs +88 -65
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/{intent-resolver-R3OSTIMH.cjs → intent-resolver-U7663JU7.cjs} +15 -21
- package/dist/lib/node/intent-resolver-U7663JU7.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/react-surface-QXZTILW6.cjs +157 -0
- package/dist/lib/node/react-surface-QXZTILW6.cjs.map +7 -0
- package/dist/lib/node/{settings-TXGRCYAL.cjs → settings-LBJMT6YB.cjs} +9 -9
- package/dist/lib/node/settings-LBJMT6YB.cjs.map +7 -0
- package/dist/lib/node/types/index.cjs +17 -13
- package/dist/lib/node/types/index.cjs.map +2 -2
- package/dist/lib/node-esm/AssistantDialog-DONAO6SA.mjs +47 -0
- package/dist/lib/node-esm/AssistantDialog-DONAO6SA.mjs.map +7 -0
- package/dist/lib/node-esm/BlueprintEditor-CTARB2FO.mjs +47 -0
- package/dist/lib/node-esm/BlueprintEditor-CTARB2FO.mjs.map +7 -0
- package/dist/lib/node-esm/ChatContainer-FVIGCDIG.mjs +40 -0
- package/dist/lib/node-esm/ChatContainer-FVIGCDIG.mjs.map +7 -0
- package/dist/lib/node-esm/TemplateContainer-IVDQ4XQG.mjs +29 -0
- package/dist/lib/node-esm/TemplateContainer-IVDQ4XQG.mjs.map +7 -0
- package/dist/lib/node-esm/{ai-client-WMHS5EGV.mjs → ai-client-I5LXHMOZ.mjs} +6 -6
- package/dist/lib/node-esm/ai-client-I5LXHMOZ.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-5YX5TKKT.mjs +207 -0
- package/dist/lib/node-esm/app-graph-builder-5YX5TKKT.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-ECRK6TUQ.mjs → chunk-BB2TAT4P.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-ECRK6TUQ.mjs.map → chunk-BB2TAT4P.mjs.map} +1 -1
- package/dist/lib/node-esm/chunk-CDAILLCU.mjs +98 -0
- package/dist/lib/node-esm/chunk-CDAILLCU.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-GJE4WCUJ.mjs +158 -0
- package/dist/lib/node-esm/chunk-GJE4WCUJ.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-6JK5HEUQ.mjs → chunk-HLPGKJ7N.mjs} +3 -3
- package/dist/lib/node-esm/chunk-HLPGKJ7N.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-MVDAY3CZ.mjs → chunk-MNH6E6EB.mjs} +1714 -1536
- package/dist/lib/node-esm/chunk-MNH6E6EB.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-PBZA7XJR.mjs → chunk-OYN6HLXZ.mjs} +42 -36
- package/dist/lib/{browser/chunk-NFUHCW2J.mjs.map → node-esm/chunk-OYN6HLXZ.mjs.map} +1 -1
- package/dist/lib/node-esm/chunk-TQYSF2GS.mjs +207 -0
- package/dist/lib/node-esm/chunk-TQYSF2GS.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +47 -23
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/intent-resolver-N5TM3RTL.mjs +40 -0
- package/dist/lib/node-esm/intent-resolver-N5TM3RTL.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/react-surface-FTKGQQD2.mjs +145 -0
- package/dist/lib/node-esm/react-surface-FTKGQQD2.mjs.map +7 -0
- package/dist/lib/node-esm/{settings-DZU5PNXM.mjs → settings-TGCCAH5D.mjs} +5 -5
- package/dist/lib/node-esm/settings-TGCCAH5D.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +6 -2
- package/dist/types/src/AssistantPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/ai-client.d.ts +3 -3
- package/dist/types/src/capabilities/ai-client.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +2 -179
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +3 -179
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/AmbientDialog/AmbientDialog.d.ts +3 -1
- package/dist/types/src/components/AmbientDialog/AmbientDialog.d.ts.map +1 -1
- package/dist/types/src/components/AssistantSettings/AssistantSettings.d.ts.map +1 -1
- package/dist/types/src/components/BlueprintEditor/BlueprintEditor.d.ts +8 -0
- package/dist/types/src/components/BlueprintEditor/BlueprintEditor.d.ts.map +1 -0
- package/dist/types/src/components/BlueprintEditor/BlueprintEditor.stories.d.ts +8 -0
- package/dist/types/src/components/BlueprintEditor/BlueprintEditor.stories.d.ts.map +1 -0
- package/dist/types/src/components/BlueprintEditor/index.d.ts +3 -0
- package/dist/types/src/components/BlueprintEditor/index.d.ts.map +1 -0
- package/dist/types/src/components/ChatContainer.d.ts +4 -3
- package/dist/types/src/components/ChatContainer.d.ts.map +1 -1
- package/dist/types/src/components/Prompt/Prompt.d.ts +5 -2
- package/dist/types/src/components/Prompt/Prompt.d.ts.map +1 -1
- package/dist/types/src/components/Prompt/Prompt.stories.d.ts +6 -3
- package/dist/types/src/components/Prompt/Prompt.stories.d.ts.map +1 -1
- package/dist/types/src/components/Prompt/PromptBar.d.ts +9 -4
- package/dist/types/src/components/Prompt/PromptBar.d.ts.map +1 -1
- package/dist/types/src/components/Prompt/PromptBar.stories.d.ts +9 -0
- package/dist/types/src/components/Prompt/PromptBar.stories.d.ts.map +1 -0
- package/dist/types/src/components/Prompt/autocomplete.d.ts +5 -1
- package/dist/types/src/components/Prompt/autocomplete.d.ts.map +1 -1
- package/dist/types/src/components/Prompt/references.d.ts.map +1 -1
- package/dist/types/src/components/PromptSettings.d.ts +6 -0
- package/dist/types/src/components/PromptSettings.d.ts.map +1 -0
- package/dist/types/src/components/TemplateContainer.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.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts +2 -2
- package/dist/types/src/components/TemplateEditor/TemplateForm.d.ts.map +1 -1
- package/dist/types/src/components/Thread/Thread.d.ts +2 -2
- package/dist/types/src/components/Thread/Thread.d.ts.map +1 -1
- package/dist/types/src/components/Thread/Thread.stories.d.ts.map +1 -1
- package/dist/types/src/components/Thread/ThreadContainer.d.ts +1 -1
- package/dist/types/src/components/Thread/ThreadContainer.d.ts.map +1 -1
- package/dist/types/src/components/Thread/ThreadContainer.stories.d.ts +2 -2
- package/dist/types/src/components/Thread/ThreadContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/Thread/ThreadMessage.d.ts +4 -2
- package/dist/types/src/components/Thread/ThreadMessage.d.ts.map +1 -1
- package/dist/types/src/components/Thread/ToolInvocations.d.ts +1 -1
- package/dist/types/src/components/Thread/ToolInvocations.d.ts.map +1 -1
- package/dist/types/src/components/Thread/reducer.d.ts +1 -1
- package/dist/types/src/components/Thread/reducer.d.ts.map +1 -1
- package/dist/types/src/components/Toolbox/Toolbox.d.ts +3 -2
- package/dist/types/src/components/Toolbox/Toolbox.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +5 -6
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/experimental/transcription/index.d.ts +1 -0
- package/dist/types/src/experimental/transcription/index.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +0 -1
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/processor.d.ts +6 -5
- package/dist/types/src/hooks/processor.d.ts.map +1 -1
- package/dist/types/src/hooks/useChatProcessor.d.ts.map +1 -1
- package/dist/types/src/hooks/useContextProvider.d.ts +1 -1
- package/dist/types/src/hooks/useContextProvider.d.ts.map +1 -1
- package/dist/types/src/hooks/useMessageQueue.d.ts +11 -10
- package/dist/types/src/hooks/useMessageQueue.d.ts.map +1 -1
- package/dist/types/src/hooks/useServices.d.ts.map +1 -1
- package/dist/types/src/hooks/useTextInputEvents.d.ts.map +1 -1
- package/dist/types/src/parser/filter-generator.d.ts +4 -0
- package/dist/types/src/parser/filter-generator.d.ts.map +1 -0
- package/dist/types/src/parser/filter-generator.test.d.ts +2 -0
- package/dist/types/src/parser/filter-generator.test.d.ts.map +1 -0
- package/dist/types/src/parser/index.d.ts +4 -0
- package/dist/types/src/parser/index.d.ts.map +1 -0
- package/dist/types/src/parser/query-parser.d.ts +15 -0
- package/dist/types/src/parser/query-parser.d.ts.map +1 -0
- package/dist/types/src/parser/query-parser.test.d.ts +2 -0
- package/dist/types/src/parser/query-parser.test.d.ts.map +1 -0
- package/dist/types/src/parser/types.d.ts +24 -0
- package/dist/types/src/parser/types.d.ts.map +1 -0
- package/dist/types/src/stories/Prompt.stories.d.ts +8 -0
- package/dist/types/src/stories/Prompt.stories.d.ts.map +1 -0
- package/dist/types/src/stories/Query.stories.d.ts +19 -0
- package/dist/types/src/stories/Query.stories.d.ts.map +1 -0
- package/dist/types/src/stories/Research.stories.d.ts +15 -0
- package/dist/types/src/stories/Research.stories.d.ts.map +1 -0
- package/dist/types/src/stories/test-data.d.ts +3 -0
- package/dist/types/src/stories/test-data.d.ts.map +1 -0
- package/dist/types/src/stories/testing.d.ts +12 -0
- package/dist/types/src/stories/testing.d.ts.map +1 -0
- package/dist/types/src/testing/index.d.ts +1 -0
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/test-blueprint.d.ts +14 -0
- package/dist/types/src/testing/test-blueprint.d.ts.map +1 -0
- package/dist/types/src/testing/test-functions.d.ts +1 -1
- package/dist/types/src/testing/test-functions.d.ts.map +1 -1
- package/dist/types/src/tools/function.d.ts +4 -4
- package/dist/types/src/tools/function.d.ts.map +1 -1
- package/dist/types/src/tools/openapi.d.ts +3 -3
- package/dist/types/src/tools/openapi.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +6 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/chat.d.ts +18 -8
- package/dist/types/src/types/chat.d.ts.map +1 -1
- package/dist/types/src/types/service.d.ts +96 -95
- package/dist/types/src/types/service.d.ts.map +1 -1
- package/dist/types/src/types/template.d.ts +52 -52
- package/dist/types/src/types/template.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +34 -23
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +79 -61
- package/src/AssistantPlugin.tsx +12 -11
- package/src/capabilities/ai-client.ts +5 -6
- package/src/capabilities/app-graph-builder.ts +173 -135
- package/src/capabilities/capabilities.ts +1 -1
- package/src/capabilities/index.ts +1 -1
- package/src/capabilities/intent-resolver.ts +10 -11
- package/src/capabilities/react-surface.tsx +88 -22
- package/src/capabilities/settings.ts +2 -2
- package/src/components/AmbientDialog/AmbientDialog.stories.tsx +2 -2
- package/src/components/AmbientDialog/AmbientDialog.tsx +27 -13
- package/src/components/AssistantDialog.tsx +1 -1
- package/src/components/AssistantSettings/AssistantSettings.tsx +29 -7
- package/src/components/BlueprintEditor/BlueprintEditor.stories.tsx +32 -0
- package/src/components/BlueprintEditor/BlueprintEditor.tsx +40 -0
- package/src/components/BlueprintEditor/index.ts +7 -0
- package/src/components/ChatContainer.tsx +6 -8
- package/src/components/Prompt/Prompt.stories.tsx +60 -52
- package/src/components/Prompt/Prompt.tsx +24 -10
- package/src/components/Prompt/PromptBar.stories.tsx +69 -0
- package/src/components/Prompt/PromptBar.tsx +82 -88
- package/src/components/Prompt/autocomplete.ts +14 -8
- package/src/components/Prompt/references.ts +3 -3
- package/src/components/PromptSettings.tsx +91 -0
- package/src/components/TemplateContainer.tsx +3 -79
- package/src/components/TemplateEditor/TemplateEditor.stories.tsx +4 -4
- package/src/components/TemplateEditor/TemplateForm.stories.tsx +3 -3
- package/src/components/TemplateEditor/TemplateForm.tsx +2 -2
- package/src/components/Thread/Thread.stories.tsx +14 -17
- package/src/components/Thread/Thread.tsx +2 -2
- package/src/components/Thread/ThreadContainer.stories.tsx +83 -62
- package/src/components/Thread/ThreadContainer.tsx +26 -5
- package/src/components/Thread/ThreadMessage.tsx +49 -11
- package/src/components/Thread/ToolInvocations.tsx +9 -7
- package/src/components/Thread/reducer.ts +1 -1
- package/src/components/Toolbox/Toolbox.stories.tsx +4 -4
- package/src/components/Toolbox/Toolbox.tsx +5 -4
- package/src/components/index.ts +4 -1
- package/src/experimental/transcription/index.ts +3 -0
- package/src/hooks/index.ts +0 -1
- package/src/hooks/processor.ts +68 -8
- package/src/hooks/useChatProcessor.tsx +12 -11
- package/src/hooks/useContextProvider.ts +20 -17
- package/src/hooks/useMessageQueue.ts +5 -5
- package/src/meta.ts +2 -2
- package/src/parser/filter-generator.test.ts +32 -0
- package/src/parser/filter-generator.ts +81 -0
- package/src/parser/index.ts +7 -0
- package/src/parser/query-parser.test.ts +139 -0
- package/src/parser/query-parser.ts +199 -0
- package/src/parser/types.ts +34 -0
- package/src/shims.d.ts +8 -0
- package/src/stories/Prompt.stories.tsx +60 -0
- package/src/stories/Query.stories.tsx +515 -0
- package/src/stories/Research.stories.tsx +496 -0
- package/src/stories/test-data.ts +128 -0
- package/src/stories/testing.ts +60 -0
- package/src/testing/index.ts +1 -0
- package/src/testing/test-blueprint.ts +50 -0
- package/src/testing/test-functions.ts +1 -1
- package/src/testing/test-services.ts +6 -6
- package/src/tools/function.ts +11 -12
- package/src/tools/openapi.test.ts +18 -19
- package/src/tools/openapi.ts +24 -17
- package/src/translations.ts +14 -6
- package/src/types/chat.ts +27 -4
- package/src/types/service.ts +39 -37
- package/src/types/template.ts +27 -25
- package/src/types/types.ts +24 -19
- package/dist/lib/browser/AssistantDialog-YSHMAHW5.mjs +0 -117
- package/dist/lib/browser/AssistantDialog-YSHMAHW5.mjs.map +0 -7
- package/dist/lib/browser/ChatContainer-V5GP7DYF.mjs +0 -33
- package/dist/lib/browser/ChatContainer-V5GP7DYF.mjs.map +0 -7
- package/dist/lib/browser/TemplateContainer-K4EJNGIL.mjs +0 -78
- package/dist/lib/browser/TemplateContainer-K4EJNGIL.mjs.map +0 -7
- package/dist/lib/browser/ai-client-CDZLSNXE.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-MF5EVDWW.mjs +0 -209
- package/dist/lib/browser/app-graph-builder-MF5EVDWW.mjs.map +0 -7
- package/dist/lib/browser/chunk-FMB7RGMP.mjs.map +0 -7
- package/dist/lib/browser/chunk-IAMR2FAE.mjs +0 -183
- package/dist/lib/browser/chunk-IAMR2FAE.mjs.map +0 -7
- package/dist/lib/browser/chunk-KYMKVE6M.mjs +0 -128
- package/dist/lib/browser/chunk-KYMKVE6M.mjs.map +0 -7
- package/dist/lib/browser/chunk-NFUHCW2J.mjs +0 -81
- package/dist/lib/browser/chunk-TXJWGWJ7.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-WJGLKKVO.mjs +0 -46
- package/dist/lib/browser/intent-resolver-WJGLKKVO.mjs.map +0 -7
- package/dist/lib/browser/react-surface-57VRDOQT.mjs +0 -90
- package/dist/lib/browser/react-surface-57VRDOQT.mjs.map +0 -7
- package/dist/lib/browser/settings-U6UFQX32.mjs.map +0 -7
- package/dist/lib/node/AssistantDialog-YI2BSGSX.cjs +0 -141
- package/dist/lib/node/AssistantDialog-YI2BSGSX.cjs.map +0 -7
- package/dist/lib/node/ChatContainer-ZJ5JXF6A.cjs.map +0 -7
- package/dist/lib/node/TemplateContainer-XWFYJB4T.cjs +0 -104
- package/dist/lib/node/TemplateContainer-XWFYJB4T.cjs.map +0 -7
- package/dist/lib/node/ai-client-URCCYU6B.cjs.map +0 -7
- package/dist/lib/node/app-graph-builder-N5ZUUI2Z.cjs +0 -220
- package/dist/lib/node/app-graph-builder-N5ZUUI2Z.cjs.map +0 -7
- package/dist/lib/node/chunk-APRU3QWK.cjs +0 -206
- package/dist/lib/node/chunk-APRU3QWK.cjs.map +0 -7
- package/dist/lib/node/chunk-GBUNQ257.cjs.map +0 -7
- package/dist/lib/node/chunk-RPBKMP2E.cjs.map +0 -7
- package/dist/lib/node/chunk-ZKOC4ZFY.cjs +0 -152
- package/dist/lib/node/chunk-ZKOC4ZFY.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-R3OSTIMH.cjs.map +0 -7
- package/dist/lib/node/react-surface-NUQTM6MS.cjs +0 -106
- package/dist/lib/node/react-surface-NUQTM6MS.cjs.map +0 -7
- package/dist/lib/node/settings-TXGRCYAL.cjs.map +0 -7
- package/dist/lib/node-esm/AssistantDialog-U2FQX5TD.mjs +0 -118
- package/dist/lib/node-esm/AssistantDialog-U2FQX5TD.mjs.map +0 -7
- package/dist/lib/node-esm/ChatContainer-QW3OOXTT.mjs +0 -34
- package/dist/lib/node-esm/ChatContainer-QW3OOXTT.mjs.map +0 -7
- package/dist/lib/node-esm/TemplateContainer-EUM2X65J.mjs +0 -79
- package/dist/lib/node-esm/TemplateContainer-EUM2X65J.mjs.map +0 -7
- package/dist/lib/node-esm/ai-client-WMHS5EGV.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-DWBNIMHM.mjs +0 -210
- package/dist/lib/node-esm/app-graph-builder-DWBNIMHM.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-6JK5HEUQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-GBBXIW5F.mjs +0 -129
- package/dist/lib/node-esm/chunk-GBBXIW5F.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-MVDAY3CZ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-MXK2EANZ.mjs +0 -184
- package/dist/lib/node-esm/chunk-MXK2EANZ.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-H32TL4X6.mjs +0 -47
- package/dist/lib/node-esm/intent-resolver-H32TL4X6.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-JBVZF6CP.mjs +0 -91
- package/dist/lib/node-esm/react-surface-JBVZF6CP.mjs.map +0 -7
- package/dist/lib/node-esm/settings-DZU5PNXM.mjs.map +0 -7
- package/dist/types/src/components/ServiceRegistry/ServiceRegistry.d.ts +0 -6
- package/dist/types/src/components/ServiceRegistry/ServiceRegistry.d.ts.map +0 -1
- package/dist/types/src/components/ServiceRegistry/ServiceRegistry.stories.d.ts +0 -8
- package/dist/types/src/components/ServiceRegistry/ServiceRegistry.stories.d.ts.map +0 -1
- package/dist/types/src/components/ServiceRegistry/index.d.ts +0 -2
- package/dist/types/src/components/ServiceRegistry/index.d.ts.map +0 -1
- package/dist/types/src/hooks/invocation-handler.d.ts +0 -5
- package/dist/types/src/hooks/invocation-handler.d.ts.map +0 -1
- package/dist/types/src/hooks/useLocalTriggerManager.d.ts +0 -3
- package/dist/types/src/hooks/useLocalTriggerManager.d.ts.map +0 -1
- package/src/components/ServiceRegistry/ServiceRegistry.stories.tsx +0 -49
- package/src/components/ServiceRegistry/ServiceRegistry.tsx +0 -76
- package/src/components/ServiceRegistry/index.ts +0 -5
- package/src/hooks/invocation-handler.ts +0 -107
- package/src/hooks/useLocalTriggerManager.ts +0 -82
|
@@ -1,148 +1,149 @@
|
|
|
1
|
+
import { Schema } from 'effect';
|
|
1
2
|
import { ComputeGraph } from '@dxos/conductor';
|
|
2
|
-
import {
|
|
3
|
-
import { FunctionType } from '@dxos/functions
|
|
4
|
-
export declare const ApiAuthorization:
|
|
5
|
-
type:
|
|
6
|
-
key: typeof
|
|
7
|
-
placement:
|
|
8
|
-
type:
|
|
9
|
-
}>,
|
|
10
|
-
type:
|
|
11
|
-
name: typeof
|
|
3
|
+
import { type Ref$ } from '@dxos/echo-schema';
|
|
4
|
+
import { FunctionType } from '@dxos/functions';
|
|
5
|
+
export declare const ApiAuthorization: Schema.Union<[Schema.Struct<{
|
|
6
|
+
type: Schema.Literal<["api-key"]>;
|
|
7
|
+
key: typeof Schema.String;
|
|
8
|
+
placement: Schema.Union<[Schema.Struct<{
|
|
9
|
+
type: Schema.Literal<["authorization-header"]>;
|
|
10
|
+
}>, Schema.Struct<{
|
|
11
|
+
type: Schema.Literal<["query"]>;
|
|
12
|
+
name: typeof Schema.String;
|
|
12
13
|
}>]>;
|
|
13
|
-
}>,
|
|
14
|
-
type:
|
|
15
|
-
clientId: typeof
|
|
16
|
-
clientSecret: typeof
|
|
17
|
-
tokenUrl: typeof
|
|
18
|
-
grantType: typeof
|
|
14
|
+
}>, Schema.Struct<{
|
|
15
|
+
type: Schema.Literal<["oauth"]>;
|
|
16
|
+
clientId: typeof Schema.String;
|
|
17
|
+
clientSecret: typeof Schema.String;
|
|
18
|
+
tokenUrl: typeof Schema.String;
|
|
19
|
+
grantType: typeof Schema.String;
|
|
19
20
|
}>]>;
|
|
20
|
-
export type ApiAuthorization =
|
|
21
|
-
declare const ServiceInterface:
|
|
22
|
-
kind:
|
|
21
|
+
export type ApiAuthorization = Schema.Schema.Type<typeof ApiAuthorization>;
|
|
22
|
+
declare const ServiceInterface: Schema.Union<[Schema.Struct<{
|
|
23
|
+
kind: Schema.Literal<["function"]>;
|
|
23
24
|
fn: Ref$<FunctionType>;
|
|
24
|
-
}>,
|
|
25
|
-
kind:
|
|
25
|
+
}>, Schema.Struct<{
|
|
26
|
+
kind: Schema.Literal<["workflow"]>;
|
|
26
27
|
workflow: Ref$<ComputeGraph>;
|
|
27
|
-
}>,
|
|
28
|
-
kind:
|
|
28
|
+
}>, Schema.Struct<{
|
|
29
|
+
kind: Schema.Literal<["api"]>;
|
|
29
30
|
/**
|
|
30
31
|
* URL to fetch the openapi schema.
|
|
31
32
|
*/
|
|
32
|
-
schemaUrl:
|
|
33
|
+
schemaUrl: Schema.optional<typeof Schema.String>;
|
|
33
34
|
/**
|
|
34
35
|
* Inlined openapi schema.
|
|
35
36
|
*/
|
|
36
|
-
schema:
|
|
37
|
+
schema: Schema.optional<typeof Schema.Any>;
|
|
37
38
|
/**
|
|
38
39
|
* Authorization configuration if required.
|
|
39
40
|
*/
|
|
40
|
-
authorization:
|
|
41
|
-
type:
|
|
42
|
-
key: typeof
|
|
43
|
-
placement:
|
|
44
|
-
type:
|
|
45
|
-
}>,
|
|
46
|
-
type:
|
|
47
|
-
name: typeof
|
|
41
|
+
authorization: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
42
|
+
type: Schema.Literal<["api-key"]>;
|
|
43
|
+
key: typeof Schema.String;
|
|
44
|
+
placement: Schema.Union<[Schema.Struct<{
|
|
45
|
+
type: Schema.Literal<["authorization-header"]>;
|
|
46
|
+
}>, Schema.Struct<{
|
|
47
|
+
type: Schema.Literal<["query"]>;
|
|
48
|
+
name: typeof Schema.String;
|
|
48
49
|
}>]>;
|
|
49
|
-
}>,
|
|
50
|
-
type:
|
|
51
|
-
clientId: typeof
|
|
52
|
-
clientSecret: typeof
|
|
53
|
-
tokenUrl: typeof
|
|
54
|
-
grantType: typeof
|
|
50
|
+
}>, Schema.Struct<{
|
|
51
|
+
type: Schema.Literal<["oauth"]>;
|
|
52
|
+
clientId: typeof Schema.String;
|
|
53
|
+
clientSecret: typeof Schema.String;
|
|
54
|
+
tokenUrl: typeof Schema.String;
|
|
55
|
+
grantType: typeof Schema.String;
|
|
55
56
|
}>]>>;
|
|
56
57
|
}>]>;
|
|
57
|
-
export type ServiceInterface =
|
|
58
|
+
export type ServiceInterface = Schema.Schema.Type<typeof ServiceInterface>;
|
|
58
59
|
declare const ServiceType_base: import("@dxos/echo-schema").TypedObjectPrototype<import("@dxos/echo-schema").TypedObjectFields<{
|
|
59
|
-
serviceId: typeof
|
|
60
|
-
name:
|
|
61
|
-
description:
|
|
62
|
-
category:
|
|
63
|
-
enabled:
|
|
60
|
+
serviceId: typeof Schema.String;
|
|
61
|
+
name: Schema.optional<typeof Schema.String>;
|
|
62
|
+
description: Schema.optional<typeof Schema.String>;
|
|
63
|
+
category: Schema.optional<typeof Schema.String>;
|
|
64
|
+
enabled: Schema.optional<typeof Schema.Boolean>;
|
|
64
65
|
/**
|
|
65
66
|
* Entries exposed: functions, workflows, and APIs.
|
|
66
67
|
*/
|
|
67
|
-
interfaces:
|
|
68
|
-
kind:
|
|
68
|
+
interfaces: Schema.optional<Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
69
|
+
kind: Schema.Literal<["function"]>;
|
|
69
70
|
fn: Ref$<FunctionType>;
|
|
70
|
-
}>,
|
|
71
|
-
kind:
|
|
71
|
+
}>, Schema.Struct<{
|
|
72
|
+
kind: Schema.Literal<["workflow"]>;
|
|
72
73
|
workflow: Ref$<ComputeGraph>;
|
|
73
|
-
}>,
|
|
74
|
-
kind:
|
|
74
|
+
}>, Schema.Struct<{
|
|
75
|
+
kind: Schema.Literal<["api"]>;
|
|
75
76
|
/**
|
|
76
77
|
* URL to fetch the openapi schema.
|
|
77
78
|
*/
|
|
78
|
-
schemaUrl:
|
|
79
|
+
schemaUrl: Schema.optional<typeof Schema.String>;
|
|
79
80
|
/**
|
|
80
81
|
* Inlined openapi schema.
|
|
81
82
|
*/
|
|
82
|
-
schema:
|
|
83
|
+
schema: Schema.optional<typeof Schema.Any>;
|
|
83
84
|
/**
|
|
84
85
|
* Authorization configuration if required.
|
|
85
86
|
*/
|
|
86
|
-
authorization:
|
|
87
|
-
type:
|
|
88
|
-
key: typeof
|
|
89
|
-
placement:
|
|
90
|
-
type:
|
|
91
|
-
}>,
|
|
92
|
-
type:
|
|
93
|
-
name: typeof
|
|
87
|
+
authorization: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
88
|
+
type: Schema.Literal<["api-key"]>;
|
|
89
|
+
key: typeof Schema.String;
|
|
90
|
+
placement: Schema.Union<[Schema.Struct<{
|
|
91
|
+
type: Schema.Literal<["authorization-header"]>;
|
|
92
|
+
}>, Schema.Struct<{
|
|
93
|
+
type: Schema.Literal<["query"]>;
|
|
94
|
+
name: typeof Schema.String;
|
|
94
95
|
}>]>;
|
|
95
|
-
}>,
|
|
96
|
-
type:
|
|
97
|
-
clientId: typeof
|
|
98
|
-
clientSecret: typeof
|
|
99
|
-
tokenUrl: typeof
|
|
100
|
-
grantType: typeof
|
|
96
|
+
}>, Schema.Struct<{
|
|
97
|
+
type: Schema.Literal<["oauth"]>;
|
|
98
|
+
clientId: typeof Schema.String;
|
|
99
|
+
clientSecret: typeof Schema.String;
|
|
100
|
+
tokenUrl: typeof Schema.String;
|
|
101
|
+
grantType: typeof Schema.String;
|
|
101
102
|
}>]>>;
|
|
102
103
|
}>]>>>;
|
|
103
|
-
}, import("@dxos/echo-schema").TypedObjectOptions>,
|
|
104
|
-
serviceId: typeof
|
|
105
|
-
name:
|
|
106
|
-
description:
|
|
107
|
-
category:
|
|
108
|
-
enabled:
|
|
104
|
+
}, import("@dxos/echo-schema").TypedObjectOptions>, Schema.Struct.Encoded<{
|
|
105
|
+
serviceId: typeof Schema.String;
|
|
106
|
+
name: Schema.optional<typeof Schema.String>;
|
|
107
|
+
description: Schema.optional<typeof Schema.String>;
|
|
108
|
+
category: Schema.optional<typeof Schema.String>;
|
|
109
|
+
enabled: Schema.optional<typeof Schema.Boolean>;
|
|
109
110
|
/**
|
|
110
111
|
* Entries exposed: functions, workflows, and APIs.
|
|
111
112
|
*/
|
|
112
|
-
interfaces:
|
|
113
|
-
kind:
|
|
113
|
+
interfaces: Schema.optional<Schema.Array$<Schema.Union<[Schema.Struct<{
|
|
114
|
+
kind: Schema.Literal<["function"]>;
|
|
114
115
|
fn: Ref$<FunctionType>;
|
|
115
|
-
}>,
|
|
116
|
-
kind:
|
|
116
|
+
}>, Schema.Struct<{
|
|
117
|
+
kind: Schema.Literal<["workflow"]>;
|
|
117
118
|
workflow: Ref$<ComputeGraph>;
|
|
118
|
-
}>,
|
|
119
|
-
kind:
|
|
119
|
+
}>, Schema.Struct<{
|
|
120
|
+
kind: Schema.Literal<["api"]>;
|
|
120
121
|
/**
|
|
121
122
|
* URL to fetch the openapi schema.
|
|
122
123
|
*/
|
|
123
|
-
schemaUrl:
|
|
124
|
+
schemaUrl: Schema.optional<typeof Schema.String>;
|
|
124
125
|
/**
|
|
125
126
|
* Inlined openapi schema.
|
|
126
127
|
*/
|
|
127
|
-
schema:
|
|
128
|
+
schema: Schema.optional<typeof Schema.Any>;
|
|
128
129
|
/**
|
|
129
130
|
* Authorization configuration if required.
|
|
130
131
|
*/
|
|
131
|
-
authorization:
|
|
132
|
-
type:
|
|
133
|
-
key: typeof
|
|
134
|
-
placement:
|
|
135
|
-
type:
|
|
136
|
-
}>,
|
|
137
|
-
type:
|
|
138
|
-
name: typeof
|
|
132
|
+
authorization: Schema.optional<Schema.Union<[Schema.Struct<{
|
|
133
|
+
type: Schema.Literal<["api-key"]>;
|
|
134
|
+
key: typeof Schema.String;
|
|
135
|
+
placement: Schema.Union<[Schema.Struct<{
|
|
136
|
+
type: Schema.Literal<["authorization-header"]>;
|
|
137
|
+
}>, Schema.Struct<{
|
|
138
|
+
type: Schema.Literal<["query"]>;
|
|
139
|
+
name: typeof Schema.String;
|
|
139
140
|
}>]>;
|
|
140
|
-
}>,
|
|
141
|
-
type:
|
|
142
|
-
clientId: typeof
|
|
143
|
-
clientSecret: typeof
|
|
144
|
-
tokenUrl: typeof
|
|
145
|
-
grantType: typeof
|
|
141
|
+
}>, Schema.Struct<{
|
|
142
|
+
type: Schema.Literal<["oauth"]>;
|
|
143
|
+
clientId: typeof Schema.String;
|
|
144
|
+
clientSecret: typeof Schema.String;
|
|
145
|
+
tokenUrl: typeof Schema.String;
|
|
146
|
+
grantType: typeof Schema.String;
|
|
146
147
|
}>]>>;
|
|
147
148
|
}>]>>>;
|
|
148
149
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/types/service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/types/service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAoB,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAwB/C,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;;QA3BK,IAAI,CAAC,YAAY,CAAC;;;cAKZ,IAAI,CAAC,YAAY,CAAC;;;IAMjD;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;IAIyG,CAAC;AAC/G,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;;;;;;;IASzE;;OAEG;;;YAvCsB,IAAI,CAAC,YAAY,CAAC;;;kBAKZ,IAAI,CAAC,YAAY,CAAC;;;QAMjD;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;IAcH;;OAEG;;;YAvCsB,IAAI,CAAC,YAAY,CAAC;;;kBAKZ,IAAI,CAAC,YAAY,CAAC;;;QAMjD;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;;;;;;;;;;;;;;;;;;AAOL,qBAAa,WAAY,SAAQ,gBAW/B;CAAG;AAML,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,aAAa,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;CAC7D;AAED,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAUvC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
2
|
export declare enum TemplateInputType {
|
|
3
3
|
VALUE = 0,
|
|
4
4
|
PASS_THROUGH = 1,
|
|
@@ -9,66 +9,66 @@ export declare enum TemplateInputType {
|
|
|
9
9
|
CONTEXT = 6,
|
|
10
10
|
SCHEMA = 7
|
|
11
11
|
}
|
|
12
|
-
export declare const TemplateInputSchema:
|
|
13
|
-
name: typeof
|
|
14
|
-
type:
|
|
15
|
-
value:
|
|
12
|
+
export declare const TemplateInputSchema: Schema.mutable<Schema.Struct<{
|
|
13
|
+
name: typeof Schema.String;
|
|
14
|
+
type: Schema.optional<Schema.Enums<typeof TemplateInputType>>;
|
|
15
|
+
value: Schema.optional<typeof Schema.String>;
|
|
16
16
|
}>>;
|
|
17
|
-
export type TemplateInput =
|
|
17
|
+
export type TemplateInput = Schema.Schema.Type<typeof TemplateInputSchema>;
|
|
18
18
|
export declare const TemplateKinds: readonly ["always", "schema-matching", "automatically", "manual"];
|
|
19
19
|
export type TemplateKind = (typeof TemplateKinds)[number];
|
|
20
|
-
export declare const TemplateKindSchema:
|
|
21
|
-
include:
|
|
22
|
-
}>,
|
|
23
|
-
include:
|
|
24
|
-
typename: typeof
|
|
25
|
-
}>,
|
|
26
|
-
include:
|
|
27
|
-
description: typeof
|
|
28
|
-
}>,
|
|
29
|
-
include:
|
|
20
|
+
export declare const TemplateKindSchema: Schema.Union<[Schema.Struct<{
|
|
21
|
+
include: Schema.Literal<["always"]>;
|
|
22
|
+
}>, Schema.Struct<{
|
|
23
|
+
include: Schema.Literal<["schema-matching"]>;
|
|
24
|
+
typename: typeof Schema.String;
|
|
25
|
+
}>, Schema.Struct<{
|
|
26
|
+
include: Schema.Literal<["automatically"]>;
|
|
27
|
+
description: typeof Schema.String;
|
|
28
|
+
}>, Schema.Struct<{
|
|
29
|
+
include: Schema.Literal<["manual"]>;
|
|
30
30
|
}>]>;
|
|
31
|
-
export type TemplateKindType =
|
|
31
|
+
export type TemplateKindType = Schema.Schema.Type<typeof TemplateKindSchema>;
|
|
32
32
|
declare const TemplateType_base: import("@dxos/echo-schema").TypedObjectPrototype<import("@dxos/echo-schema").TypedObjectFields<{
|
|
33
|
-
name:
|
|
34
|
-
kind:
|
|
35
|
-
include:
|
|
36
|
-
}>,
|
|
37
|
-
include:
|
|
38
|
-
typename: typeof
|
|
39
|
-
}>,
|
|
40
|
-
include:
|
|
41
|
-
description: typeof
|
|
42
|
-
}>,
|
|
43
|
-
include:
|
|
33
|
+
name: Schema.optional<typeof Schema.String>;
|
|
34
|
+
kind: Schema.mutable<Schema.Union<[Schema.Struct<{
|
|
35
|
+
include: Schema.Literal<["always"]>;
|
|
36
|
+
}>, Schema.Struct<{
|
|
37
|
+
include: Schema.Literal<["schema-matching"]>;
|
|
38
|
+
typename: typeof Schema.String;
|
|
39
|
+
}>, Schema.Struct<{
|
|
40
|
+
include: Schema.Literal<["automatically"]>;
|
|
41
|
+
description: typeof Schema.String;
|
|
42
|
+
}>, Schema.Struct<{
|
|
43
|
+
include: Schema.Literal<["manual"]>;
|
|
44
44
|
}>]>>;
|
|
45
|
-
source: typeof
|
|
46
|
-
inputs:
|
|
47
|
-
name: typeof
|
|
48
|
-
type:
|
|
49
|
-
value:
|
|
45
|
+
source: typeof Schema.String;
|
|
46
|
+
inputs: Schema.optional<Schema.mutable<Schema.Array$<Schema.mutable<Schema.Struct<{
|
|
47
|
+
name: typeof Schema.String;
|
|
48
|
+
type: Schema.optional<Schema.Enums<typeof TemplateInputType>>;
|
|
49
|
+
value: Schema.optional<typeof Schema.String>;
|
|
50
50
|
}>>>>>;
|
|
51
|
-
command:
|
|
52
|
-
}, import("@dxos/echo-schema").TypedObjectOptions>,
|
|
53
|
-
name:
|
|
54
|
-
kind:
|
|
55
|
-
include:
|
|
56
|
-
}>,
|
|
57
|
-
include:
|
|
58
|
-
typename: typeof
|
|
59
|
-
}>,
|
|
60
|
-
include:
|
|
61
|
-
description: typeof
|
|
62
|
-
}>,
|
|
63
|
-
include:
|
|
51
|
+
command: Schema.optional<typeof Schema.String>;
|
|
52
|
+
}, import("@dxos/echo-schema").TypedObjectOptions>, Schema.Struct.Encoded<{
|
|
53
|
+
name: Schema.optional<typeof Schema.String>;
|
|
54
|
+
kind: Schema.mutable<Schema.Union<[Schema.Struct<{
|
|
55
|
+
include: Schema.Literal<["always"]>;
|
|
56
|
+
}>, Schema.Struct<{
|
|
57
|
+
include: Schema.Literal<["schema-matching"]>;
|
|
58
|
+
typename: typeof Schema.String;
|
|
59
|
+
}>, Schema.Struct<{
|
|
60
|
+
include: Schema.Literal<["automatically"]>;
|
|
61
|
+
description: typeof Schema.String;
|
|
62
|
+
}>, Schema.Struct<{
|
|
63
|
+
include: Schema.Literal<["manual"]>;
|
|
64
64
|
}>]>>;
|
|
65
|
-
source: typeof
|
|
66
|
-
inputs:
|
|
67
|
-
name: typeof
|
|
68
|
-
type:
|
|
69
|
-
value:
|
|
65
|
+
source: typeof Schema.String;
|
|
66
|
+
inputs: Schema.optional<Schema.mutable<Schema.Array$<Schema.mutable<Schema.Struct<{
|
|
67
|
+
name: typeof Schema.String;
|
|
68
|
+
type: Schema.optional<Schema.Enums<typeof TemplateInputType>>;
|
|
69
|
+
value: Schema.optional<typeof Schema.String>;
|
|
70
70
|
}>>>>>;
|
|
71
|
-
command:
|
|
71
|
+
command: Schema.optional<typeof Schema.String>;
|
|
72
72
|
}>>;
|
|
73
73
|
export declare class TemplateType extends TemplateType_base {
|
|
74
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/types/template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/types/template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAKhC,oBAAY,iBAAiB;IAC3B,KAAK,IAAI;IACT,YAAY,IAAI;IAChB,SAAS,IAAI;IACb,QAAQ,IAAI;IACZ,KAAK,IAAI;IACT,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,MAAM,IAAI;CACX;AAED,eAAO,MAAM,mBAAmB;;;;GAM/B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE3E,eAAO,MAAM,aAAa,mEAAoE,CAAC;AAC/F,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D,eAAO,MAAM,kBAAkB;;;;;;;;;;IAe9B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAC7E,qBAAa,YAAa,SAAQ,iBAMhC;CAAG"}
|
|
@@ -1,39 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AIChatType } from './chat';
|
|
3
|
-
import { TemplateType } from './template';
|
|
1
|
+
import { Schema } from 'effect';
|
|
4
2
|
export declare namespace AssistantAction {
|
|
5
|
-
const CreateChat_base:
|
|
6
|
-
readonly _tag:
|
|
3
|
+
const CreateChat_base: Schema.TaggedClass<CreateChat, "dxos.org/plugin/assistant/action/create-chat", {
|
|
4
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/assistant/action/create-chat">;
|
|
7
5
|
} & {
|
|
8
|
-
input:
|
|
9
|
-
|
|
10
|
-
name:
|
|
6
|
+
input: Schema.Struct<{
|
|
7
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
8
|
+
name: Schema.optional<typeof Schema.String>;
|
|
11
9
|
}>;
|
|
12
|
-
output:
|
|
13
|
-
object:
|
|
10
|
+
output: Schema.Struct<{
|
|
11
|
+
object: import("@dxos/echo-schema").EchoTypeSchema<Schema.Struct<{
|
|
12
|
+
id: import("@dxos/keys").ObjectIdClass;
|
|
13
|
+
name: Schema.optional<typeof Schema.String>;
|
|
14
|
+
queue: import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>;
|
|
15
|
+
}>, {}>;
|
|
14
16
|
}>;
|
|
15
17
|
}>;
|
|
16
18
|
export class CreateChat extends CreateChat_base {
|
|
17
19
|
}
|
|
18
|
-
const
|
|
19
|
-
readonly _tag:
|
|
20
|
+
const CreateBlueprint_base: Schema.TaggedClass<CreateBlueprint, "dxos.org/plugin/assistant/action/create-blueprint", {
|
|
21
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/assistant/action/create-blueprint">;
|
|
20
22
|
} & {
|
|
21
|
-
input:
|
|
22
|
-
name:
|
|
23
|
+
input: Schema.Struct<{
|
|
24
|
+
name: Schema.optional<typeof Schema.String>;
|
|
23
25
|
}>;
|
|
24
|
-
output:
|
|
25
|
-
object:
|
|
26
|
+
output: Schema.Struct<{
|
|
27
|
+
object: import("@dxos/echo-schema").EchoTypeSchema<Schema.Struct<{
|
|
28
|
+
name: Schema.optional<typeof Schema.String>;
|
|
29
|
+
steps: Schema.Array$<Schema.Struct<{
|
|
30
|
+
id: import("@dxos/keys").ObjectIdClass;
|
|
31
|
+
instructions: typeof Schema.String;
|
|
32
|
+
tools: Schema.Array$<typeof Schema.String>;
|
|
33
|
+
}>>;
|
|
34
|
+
}>, {}>;
|
|
26
35
|
}>;
|
|
27
36
|
}>;
|
|
28
|
-
export class
|
|
37
|
+
export class CreateBlueprint extends CreateBlueprint_base {
|
|
29
38
|
}
|
|
30
39
|
export {};
|
|
31
40
|
}
|
|
32
|
-
export declare const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
41
|
+
export declare const LLM_PROVIDERS: readonly ["edge", "ollama", "lmstudio"];
|
|
42
|
+
export declare const AssistantSettingsSchema: Schema.mutable<Schema.Struct<{
|
|
43
|
+
llmProvider: Schema.optional<Schema.Literal<["edge", "ollama", "lmstudio"]>>;
|
|
44
|
+
edgeModel: Schema.optional<typeof Schema.String>;
|
|
45
|
+
ollamaModel: Schema.optional<typeof Schema.String>;
|
|
46
|
+
lmstudioModel: Schema.optional<typeof Schema.String>;
|
|
47
|
+
customPrompts: Schema.optional<typeof Schema.Boolean>;
|
|
37
48
|
}>>;
|
|
38
|
-
export type AssistantSettingsProps =
|
|
49
|
+
export type AssistantSettingsProps = Schema.Schema.Type<typeof AssistantSettingsSchema>;
|
|
39
50
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAQhC,yBAAiB,eAAe,CAAC;;;;;;;;;;;;;;;;IAG/B,MAAM,OAAO,UAAW,SAAQ,eAQ9B;KAAG;;;;;;;;;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAOnC;KAAG;;CACN;AAED,eAAO,MAAM,aAAa,yCAA0C,CAAC;AAErE,eAAO,MAAM,uBAAuB;;;;;;GAQnC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"5.
|
|
1
|
+
{"version":"5.8.3"}
|