@dxos/plugin-assistant 0.8.3-main.7f5a14c → 0.8.3

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.
Files changed (155) hide show
  1. package/dist/lib/browser/{AssistantDialog-YCPMFK7Y.mjs → AssistantDialog-MQOOR364.mjs} +5 -5
  2. package/dist/lib/browser/{BlueprintContainer-4MEK52NT.mjs → BlueprintContainer-AT5Y7EXG.mjs} +145 -28
  3. package/dist/lib/browser/BlueprintContainer-AT5Y7EXG.mjs.map +7 -0
  4. package/dist/lib/browser/{ChatContainer-RYFYYEWI.mjs → ChatContainer-C2NEAS3A.mjs} +5 -5
  5. package/dist/lib/browser/{ai-client-MTCTMJ5N.mjs → ai-client-MK2ZZII2.mjs} +6 -6
  6. package/dist/lib/browser/ai-client-MK2ZZII2.mjs.map +7 -0
  7. package/dist/lib/browser/{app-graph-builder-DBCVARVI.mjs → app-graph-builder-E4H5DCOJ.mjs} +35 -22
  8. package/dist/lib/browser/app-graph-builder-E4H5DCOJ.mjs.map +7 -0
  9. package/dist/lib/browser/{chunk-ZVHA24BL.mjs → chunk-AAOKC2JN.mjs} +10 -8
  10. package/dist/lib/browser/{chunk-ZVHA24BL.mjs.map → chunk-AAOKC2JN.mjs.map} +3 -3
  11. package/dist/lib/browser/{chunk-WFZ4EPPI.mjs → chunk-BI6AHRNJ.mjs} +6 -6
  12. package/dist/lib/browser/{chunk-WFZ4EPPI.mjs.map → chunk-BI6AHRNJ.mjs.map} +1 -1
  13. package/dist/lib/browser/{chunk-DLWFPGZE.mjs → chunk-JO4W3MF7.mjs} +6 -6
  14. package/dist/lib/browser/{chunk-DLWFPGZE.mjs.map → chunk-JO4W3MF7.mjs.map} +3 -3
  15. package/dist/lib/browser/chunk-MEGMOFJB.mjs +16 -0
  16. package/dist/lib/browser/{chunk-3TIEETB2.mjs → chunk-UE3IZ4PN.mjs} +1 -1
  17. package/dist/lib/browser/{chunk-3TIEETB2.mjs.map → chunk-UE3IZ4PN.mjs.map} +1 -1
  18. package/dist/lib/browser/index.mjs +66 -23
  19. package/dist/lib/browser/index.mjs.map +4 -4
  20. package/dist/lib/browser/{intent-resolver-ID5NOIIJ.mjs → intent-resolver-3UICTGPM.mjs} +2 -2
  21. package/dist/lib/browser/meta.json +1 -1
  22. package/dist/lib/browser/{react-surface-OD23FVUD.mjs → react-surface-LXCNUSZN.mjs} +23 -6
  23. package/dist/lib/browser/react-surface-LXCNUSZN.mjs.map +7 -0
  24. package/dist/lib/browser/{settings-FUYUBGSQ.mjs → settings-XRHXVWGB.mjs} +2 -2
  25. package/dist/lib/browser/types/index.mjs +1 -1
  26. package/dist/lib/node/{AssistantDialog-B5YKJOAF.cjs → AssistantDialog-AN4Z6YUV.cjs} +9 -9
  27. package/dist/lib/node/{BlueprintContainer-VD6EIWH7.cjs → BlueprintContainer-NOWLDYCZ.cjs} +141 -26
  28. package/dist/lib/node/BlueprintContainer-NOWLDYCZ.cjs.map +7 -0
  29. package/dist/lib/node/{ChatContainer-WFLTSAFA.cjs → ChatContainer-VKYBQHUB.cjs} +9 -9
  30. package/dist/lib/node/{ai-client-3XNIFMJX.cjs → ai-client-7HNSMUMT.cjs} +9 -9
  31. package/dist/lib/node/ai-client-7HNSMUMT.cjs.map +7 -0
  32. package/dist/lib/node/{app-graph-builder-VEPLBTML.cjs → app-graph-builder-PPR5B5KU.cjs} +42 -29
  33. package/dist/lib/node/app-graph-builder-PPR5B5KU.cjs.map +7 -0
  34. package/dist/lib/node/{chunk-BGRQNE3L.cjs → chunk-FUAGEO7Q.cjs} +9 -9
  35. package/dist/lib/node/{chunk-DXBAFX6M.cjs → chunk-IKZBMHSW.cjs} +11 -11
  36. package/dist/lib/node/{chunk-DXBAFX6M.cjs.map → chunk-IKZBMHSW.cjs.map} +1 -1
  37. package/dist/lib/node/{chunk-7TQAIKE2.cjs → chunk-LMDJEGZ2.cjs} +14 -12
  38. package/dist/lib/node/chunk-LMDJEGZ2.cjs.map +7 -0
  39. package/dist/lib/node/{chunk-WR5L3TVB.cjs → chunk-NIDICM57.cjs} +18 -18
  40. package/dist/lib/node/{chunk-WR5L3TVB.cjs.map → chunk-NIDICM57.cjs.map} +3 -3
  41. package/dist/lib/node/{chunk-ZP732NHS.cjs → chunk-QGPWY6GW.cjs} +4 -4
  42. package/dist/lib/node/{chunk-ZP732NHS.cjs.map → chunk-QGPWY6GW.cjs.map} +1 -1
  43. package/dist/lib/node/index.cjs +118 -76
  44. package/dist/lib/node/index.cjs.map +4 -4
  45. package/dist/lib/node/{intent-resolver-SDO4YKJK.cjs → intent-resolver-QSWGTKON.cjs} +8 -8
  46. package/dist/lib/node/meta.json +1 -1
  47. package/dist/lib/node/{react-surface-FANQXIRI.cjs → react-surface-D3NBYRZ6.cjs} +40 -23
  48. package/dist/lib/node/react-surface-D3NBYRZ6.cjs.map +7 -0
  49. package/dist/lib/node/{settings-PXPIPYJN.cjs → settings-2JXLKYGE.cjs} +6 -6
  50. package/dist/lib/node/types/index.cjs +14 -14
  51. package/dist/lib/node/types/index.cjs.map +1 -1
  52. package/dist/lib/node-esm/{AssistantDialog-KPZZD7XC.mjs → AssistantDialog-6WEMLUPU.mjs} +5 -5
  53. package/dist/lib/node-esm/{BlueprintContainer-SVOKCRCP.mjs → BlueprintContainer-STOJAVML.mjs} +145 -28
  54. package/dist/lib/node-esm/BlueprintContainer-STOJAVML.mjs.map +7 -0
  55. package/dist/lib/node-esm/{ChatContainer-WSMKUGS6.mjs → ChatContainer-3MVBTUJN.mjs} +5 -5
  56. package/dist/lib/node-esm/{ai-client-YIP44I4D.mjs → ai-client-XGZBJ6BE.mjs} +6 -6
  57. package/dist/lib/node-esm/ai-client-XGZBJ6BE.mjs.map +7 -0
  58. package/dist/lib/node-esm/{app-graph-builder-WJXDXLBQ.mjs → app-graph-builder-3SY5MBIK.mjs} +35 -22
  59. package/dist/lib/node-esm/app-graph-builder-3SY5MBIK.mjs.map +7 -0
  60. package/dist/lib/node-esm/chunk-34EX6E5Q.mjs +18 -0
  61. package/dist/lib/node-esm/{chunk-VXGO6Q2L.mjs → chunk-3UEZLJ2V.mjs} +1 -1
  62. package/dist/lib/node-esm/{chunk-VXGO6Q2L.mjs.map → chunk-3UEZLJ2V.mjs.map} +1 -1
  63. package/dist/lib/node-esm/{chunk-24LIHQST.mjs → chunk-J6UXXZGJ.mjs} +10 -8
  64. package/dist/lib/node-esm/{chunk-24LIHQST.mjs.map → chunk-J6UXXZGJ.mjs.map} +3 -3
  65. package/dist/lib/node-esm/{chunk-TTSMEWR6.mjs → chunk-OD574YIU.mjs} +6 -6
  66. package/dist/lib/node-esm/{chunk-TTSMEWR6.mjs.map → chunk-OD574YIU.mjs.map} +3 -3
  67. package/dist/lib/node-esm/{chunk-QFX6SFFZ.mjs → chunk-UCOFKNKN.mjs} +6 -6
  68. package/dist/lib/node-esm/{chunk-QFX6SFFZ.mjs.map → chunk-UCOFKNKN.mjs.map} +1 -1
  69. package/dist/lib/node-esm/index.mjs +66 -23
  70. package/dist/lib/node-esm/index.mjs.map +4 -4
  71. package/dist/lib/node-esm/{intent-resolver-75REJDDQ.mjs → intent-resolver-E6MXTYAU.mjs} +2 -2
  72. package/dist/lib/node-esm/meta.json +1 -1
  73. package/dist/lib/node-esm/{react-surface-NAN4SDCE.mjs → react-surface-7HA5EDWY.mjs} +23 -6
  74. package/dist/lib/node-esm/react-surface-7HA5EDWY.mjs.map +7 -0
  75. package/dist/lib/node-esm/{settings-JHMKX3UV.mjs → settings-5IAY6BT4.mjs} +2 -2
  76. package/dist/lib/node-esm/types/index.mjs +1 -1
  77. package/dist/types/src/AssistantPlugin.d.ts.map +1 -1
  78. package/dist/types/src/capabilities/ai-client.d.ts +2 -2
  79. package/dist/types/src/capabilities/ai-client.d.ts.map +1 -1
  80. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  81. package/dist/types/src/capabilities/capabilities.d.ts +2 -2
  82. package/dist/types/src/capabilities/index.d.ts +1 -1
  83. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  84. package/dist/types/src/components/BlueprintContainer.d.ts.map +1 -1
  85. package/dist/types/src/components/Thread/Thread.stories.d.ts.map +1 -1
  86. package/dist/types/src/events.d.ts +4 -0
  87. package/dist/types/src/events.d.ts.map +1 -0
  88. package/dist/types/src/hooks/processor.d.ts +3 -3
  89. package/dist/types/src/hooks/useMessageQueue.d.ts +2 -2
  90. package/dist/types/src/index.d.ts +1 -0
  91. package/dist/types/src/index.d.ts.map +1 -1
  92. package/dist/types/src/queue-logger.d.ts +11 -0
  93. package/dist/types/src/queue-logger.d.ts.map +1 -0
  94. package/dist/types/src/translations.d.ts +75 -11
  95. package/dist/types/src/translations.d.ts.map +1 -1
  96. package/dist/types/src/types/chat.d.ts +12 -9
  97. package/dist/types/src/types/chat.d.ts.map +1 -1
  98. package/dist/types/src/types/service.d.ts +51 -102
  99. package/dist/types/src/types/service.d.ts.map +1 -1
  100. package/dist/types/src/types/template.d.ts +3 -23
  101. package/dist/types/src/types/template.d.ts.map +1 -1
  102. package/dist/types/src/types/types.d.ts +5 -5
  103. package/package.json +70 -69
  104. package/src/AssistantPlugin.tsx +26 -3
  105. package/src/capabilities/ai-client.ts +4 -4
  106. package/src/capabilities/app-graph-builder.ts +34 -22
  107. package/src/capabilities/capabilities.ts +2 -2
  108. package/src/capabilities/react-surface.tsx +16 -0
  109. package/src/components/BlueprintContainer.tsx +10 -22
  110. package/src/components/PromptSettings.tsx +1 -1
  111. package/src/components/Thread/Thread.stories.tsx +19 -27
  112. package/src/components/Thread/ThreadContainer.stories.tsx +5 -5
  113. package/src/components/Thread/ThreadContainer.tsx +1 -1
  114. package/src/components/Thread/reducer.ts +3 -3
  115. package/src/events.ts +11 -0
  116. package/src/hooks/processor.ts +4 -4
  117. package/src/index.ts +1 -0
  118. package/src/queue-logger.ts +125 -0
  119. package/src/stories/Query.stories.tsx +4 -4
  120. package/src/stories/Research.stories.tsx +11 -11
  121. package/src/stories/test-data.ts +4 -4
  122. package/src/testing/test-blueprint.ts +1 -1
  123. package/src/tools/openapi.test.ts +4 -4
  124. package/src/translations.ts +16 -4
  125. package/src/types/template.ts +11 -6
  126. package/dist/lib/browser/BlueprintContainer-4MEK52NT.mjs.map +0 -7
  127. package/dist/lib/browser/ai-client-MTCTMJ5N.mjs.map +0 -7
  128. package/dist/lib/browser/app-graph-builder-DBCVARVI.mjs.map +0 -7
  129. package/dist/lib/browser/chunk-AKYSTUBJ.mjs +0 -16
  130. package/dist/lib/browser/react-surface-OD23FVUD.mjs.map +0 -7
  131. package/dist/lib/node/BlueprintContainer-VD6EIWH7.cjs.map +0 -7
  132. package/dist/lib/node/ai-client-3XNIFMJX.cjs.map +0 -7
  133. package/dist/lib/node/app-graph-builder-VEPLBTML.cjs.map +0 -7
  134. package/dist/lib/node/chunk-7TQAIKE2.cjs.map +0 -7
  135. package/dist/lib/node/react-surface-FANQXIRI.cjs.map +0 -7
  136. package/dist/lib/node-esm/BlueprintContainer-SVOKCRCP.mjs.map +0 -7
  137. package/dist/lib/node-esm/ai-client-YIP44I4D.mjs.map +0 -7
  138. package/dist/lib/node-esm/app-graph-builder-WJXDXLBQ.mjs.map +0 -7
  139. package/dist/lib/node-esm/chunk-ZKTIHNT7.mjs +0 -18
  140. package/dist/lib/node-esm/react-surface-NAN4SDCE.mjs.map +0 -7
  141. /package/dist/lib/browser/{AssistantDialog-YCPMFK7Y.mjs.map → AssistantDialog-MQOOR364.mjs.map} +0 -0
  142. /package/dist/lib/browser/{ChatContainer-RYFYYEWI.mjs.map → ChatContainer-C2NEAS3A.mjs.map} +0 -0
  143. /package/dist/lib/browser/{chunk-AKYSTUBJ.mjs.map → chunk-MEGMOFJB.mjs.map} +0 -0
  144. /package/dist/lib/browser/{intent-resolver-ID5NOIIJ.mjs.map → intent-resolver-3UICTGPM.mjs.map} +0 -0
  145. /package/dist/lib/browser/{settings-FUYUBGSQ.mjs.map → settings-XRHXVWGB.mjs.map} +0 -0
  146. /package/dist/lib/node/{AssistantDialog-B5YKJOAF.cjs.map → AssistantDialog-AN4Z6YUV.cjs.map} +0 -0
  147. /package/dist/lib/node/{ChatContainer-WFLTSAFA.cjs.map → ChatContainer-VKYBQHUB.cjs.map} +0 -0
  148. /package/dist/lib/node/{chunk-BGRQNE3L.cjs.map → chunk-FUAGEO7Q.cjs.map} +0 -0
  149. /package/dist/lib/node/{intent-resolver-SDO4YKJK.cjs.map → intent-resolver-QSWGTKON.cjs.map} +0 -0
  150. /package/dist/lib/node/{settings-PXPIPYJN.cjs.map → settings-2JXLKYGE.cjs.map} +0 -0
  151. /package/dist/lib/node-esm/{AssistantDialog-KPZZD7XC.mjs.map → AssistantDialog-6WEMLUPU.mjs.map} +0 -0
  152. /package/dist/lib/node-esm/{ChatContainer-WSMKUGS6.mjs.map → ChatContainer-3MVBTUJN.mjs.map} +0 -0
  153. /package/dist/lib/node-esm/{chunk-ZKTIHNT7.mjs.map → chunk-34EX6E5Q.mjs.map} +0 -0
  154. /package/dist/lib/node-esm/{intent-resolver-75REJDDQ.mjs.map → intent-resolver-E6MXTYAU.mjs.map} +0 -0
  155. /package/dist/lib/node-esm/{settings-JHMKX3UV.mjs.map → settings-5IAY6BT4.mjs.map} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/react-surface.tsx"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Effect } from 'effect';\nimport React, { useEffect, useMemo } from 'react';\n\nimport { Capabilities, contributes, createIntent, createSurface, useIntentDispatcher } from '@dxos/app-framework';\nimport { Blueprint } from '@dxos/assistant';\nimport { InvocationTraceContainer } from '@dxos/devtools';\nimport { Filter, type Key, Obj, Query } from '@dxos/echo';\nimport { SettingsStore } from '@dxos/local-storage';\nimport { SpaceAction } from '@dxos/plugin-space/types';\nimport { fullyQualifiedId, getSpace, getTypename } from '@dxos/react-client/echo';\nimport { StackItem } from '@dxos/react-ui-stack';\n\nimport {\n AssistantDialog,\n AssistantSettings,\n BlueprintContainer,\n ChatContainer,\n PromptSettings,\n TemplateContainer,\n} from '../components';\nimport { ASSISTANT_PLUGIN, ASSISTANT_DIALOG } from '../meta';\nimport { AIChatType, AssistantAction, type AssistantSettingsProps, CompanionTo, TemplateType } from '../types';\n\nexport default () =>\n contributes(Capabilities.ReactSurface, [\n createSurface({\n id: `${ASSISTANT_PLUGIN}/plugin-settings`,\n role: 'article',\n filter: (data): data is { subject: SettingsStore<AssistantSettingsProps> } =>\n data.subject instanceof SettingsStore && data.subject.prefix === ASSISTANT_PLUGIN,\n component: ({ data: { subject } }) => <AssistantSettings settings={subject.value} />,\n }),\n createSurface({\n id: `${ASSISTANT_PLUGIN}/chat`,\n role: 'article',\n filter: (data): data is { subject: AIChatType; variant: undefined } =>\n Obj.instanceOf(AIChatType, data.subject) && data.variant !== 'assistant-chat',\n component: ({ data, role }) => <ChatContainer role={role} chat={data.subject} />,\n }),\n createSurface({\n id: `${ASSISTANT_PLUGIN}/object-chat`,\n role: 'article',\n filter: (data): data is { companionTo: Obj.Any; subject: AIChatType | 'assistant-chat' } =>\n Obj.isObject(data.companionTo) &&\n (Obj.instanceOf(AIChatType, data.subject) || data.subject === 'assistant-chat'),\n component: ({ data, role }) => {\n const { dispatch } = useIntentDispatcher();\n const associatedArtifact = useMemo(\n () => ({\n id: fullyQualifiedId(data.companionTo),\n typename: getTypename(data.companionTo) ?? 'unknown',\n spaceId: (getSpace(data.companionTo)?.id ?? 'unknown') as Key.SpaceId,\n }),\n [data.companionTo],\n );\n\n // TODO(wittjosiah): Factor out to container.\n useEffect(() => {\n const timeout = setTimeout(async () => {\n const space = getSpace(data.companionTo);\n if (space && data.subject === 'assistant-chat') {\n const result = await space.db\n .query(Query.select(Filter.ids(data.companionTo.id)).targetOf(CompanionTo).source())\n .run();\n if (result.objects.length > 0) {\n return;\n }\n\n const program = Effect.gen(function* () {\n const { object } = yield* dispatch(createIntent(AssistantAction.CreateChat, { space }));\n yield* dispatch(createIntent(SpaceAction.AddObject, { object, target: space, hidden: true }));\n yield* dispatch(\n createIntent(SpaceAction.AddRelation, {\n space,\n schema: CompanionTo,\n source: object,\n target: data.companionTo,\n }),\n );\n });\n void Effect.runPromise(program);\n }\n });\n\n return () => clearTimeout(timeout);\n }, [data.subject]);\n\n if (data.subject === 'assistant-chat') {\n return null;\n }\n\n return <ChatContainer role={role} chat={data.subject} associatedArtifact={associatedArtifact} />;\n },\n }),\n createSurface({\n id: `${ASSISTANT_PLUGIN}/blueprint`,\n role: 'article',\n filter: (data): data is { subject: Blueprint } => Obj.instanceOf(Blueprint, data.subject),\n component: ({ data, role }) => <BlueprintContainer role={role} blueprint={data.subject} />,\n }),\n createSurface({\n id: `${ASSISTANT_PLUGIN}/companion/logs`,\n role: 'article',\n filter: (data): data is { companionTo: Blueprint } =>\n Obj.instanceOf(Blueprint, data.companionTo) && data.subject === 'logs',\n component: ({ data, role }) => {\n const space = getSpace(data.companionTo);\n return (\n <StackItem.Content role={role}>\n <InvocationTraceContainer space={space} target={data.companionTo} detailAxis='block' />\n </StackItem.Content>\n );\n },\n }),\n createSurface({\n id: `${ASSISTANT_PLUGIN}/template`,\n role: 'article',\n filter: (data): data is { subject: TemplateType } => Obj.instanceOf(TemplateType, data.subject),\n component: ({ data, role }) => <TemplateContainer role={role} template={data.subject} />,\n }),\n createSurface({\n id: ASSISTANT_DIALOG,\n role: 'dialog',\n filter: (data): data is { props: { chat: AIChatType } } => data.component === ASSISTANT_DIALOG,\n component: ({ data }) => <AssistantDialog {...data.props} />,\n }),\n createSurface({\n id: `${ASSISTANT_PLUGIN}/prompt-settings`,\n role: 'object-settings',\n filter: (data): data is { subject: TemplateType } => Obj.instanceOf(TemplateType, data.subject),\n component: ({ data }) => <PromptSettings template={data.subject} />,\n }),\n ]);\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,SAASA,cAAc;AACvB,OAAOC,SAASC,WAAWC,eAAe;AAE1C,SAASC,cAAcC,aAAaC,cAAcC,eAAeC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,MAAM;IACNC,QAAQ,CAACC,SACPQ,IAAIC,WAAWgD,WAAWzD,KAAKe,WAAW,KAAKf,KAAKC,YAAY;IAClEG,WAAW,CAAC,EAAEJ,MAAMF,KAAI,MAAE;AACxB,YAAM8B,QAAQJ,SAASxB,KAAKe,WAAW;AACvC,aACE,sBAAA,cAAC6C,UAAUC,SAAO;QAAC/D;SACjB,sBAAA,cAACgE,0BAAAA;QAAyBlC;QAAcuB,QAAQnD,KAAKe;QAAagD,YAAW;;IAGnF;EACF,CAAA;EACApE,cAAc;IACZC,IAAI,GAAGC,gBAAAA;IACPC,MAAM;IACNC,QAAQ,CAACC,SAA4CQ,IAAIC,WAAWuD,cAAchE,KAAKC,OAAO;IAC9FG,WAAW,CAAC,EAAEJ,MAAMF,KAAI,MAAO,sBAAA,cAACmE,mBAAAA;MAAkBnE;MAAYoE,UAAUlE,KAAKC;;EAC/E,CAAA;EACAN,cAAc;IACZC,IAAIuE;IACJrE,MAAM;IACNC,QAAQ,CAACC,SAAkDA,KAAKI,cAAc+D;IAC9E/D,WAAW,CAAC,EAAEJ,KAAI,MAAO,sBAAA,cAACoE,iBAAoBpE,KAAKqE,KAAK;EAC1D,CAAA;EACA1E,cAAc;IACZC,IAAI,GAAGC,gBAAAA;IACPC,MAAM;IACNC,QAAQ,CAACC,SAA4CQ,IAAIC,WAAWuD,cAAchE,KAAKC,OAAO;IAC9FG,WAAW,CAAC,EAAEJ,KAAI,MAAO,sBAAA,cAACsE,gBAAAA;MAAeJ,UAAUlE,KAAKC;;EAC1D,CAAA;CACD;",
6
+ "names": ["Effect", "React", "useEffect", "useMemo", "Capabilities", "contributes", "createIntent", "createSurface", "useIntentDispatcher", "Blueprint", "InvocationTraceContainer", "Filter", "Obj", "Query", "SettingsStore", "SpaceAction", "fullyQualifiedId", "getSpace", "getTypename", "StackItem", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "ASSISTANT_PLUGIN", "role", "filter", "data", "subject", "SettingsStore", "prefix", "component", "AssistantSettings", "settings", "value", "Obj", "instanceOf", "AIChatType", "variant", "ChatContainer", "chat", "isObject", "companionTo", "dispatch", "useIntentDispatcher", "associatedArtifact", "useMemo", "fullyQualifiedId", "typename", "getTypename", "spaceId", "getSpace", "useEffect", "timeout", "setTimeout", "space", "result", "db", "query", "Query", "select", "Filter", "ids", "targetOf", "CompanionTo", "source", "run", "objects", "length", "program", "Effect", "gen", "object", "createIntent", "AssistantAction", "CreateChat", "SpaceAction", "AddObject", "target", "hidden", "AddRelation", "schema", "runPromise", "clearTimeout", "Blueprint", "BlueprintContainer", "blueprint", "StackItem", "Content", "InvocationTraceContainer", "detailAxis", "TemplateType", "TemplateContainer", "template", "ASSISTANT_DIALOG", "AssistantDialog", "props", "PromptSettings"]
7
+ }
@@ -1,7 +1,7 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
  import {
3
3
  AssistantSettingsSchema
4
- } from "./chunk-24LIHQST.mjs";
4
+ } from "./chunk-J6UXXZGJ.mjs";
5
5
  import {
6
6
  meta
7
7
  } from "./chunk-BB2TAT4P.mjs";
@@ -20,4 +20,4 @@ var settings_default = () => {
20
20
  export {
21
21
  settings_default as default
22
22
  };
23
- //# sourceMappingURL=settings-JHMKX3UV.mjs.map
23
+ //# sourceMappingURL=settings-5IAY6BT4.mjs.map
@@ -13,7 +13,7 @@ import {
13
13
  TemplateKinds,
14
14
  TemplateType,
15
15
  categoryIcons
16
- } from "../chunk-24LIHQST.mjs";
16
+ } from "../chunk-J6UXXZGJ.mjs";
17
17
  import "../chunk-BB2TAT4P.mjs";
18
18
  export {
19
19
  AIChatType,
@@ -1 +1 @@
1
- {"version":3,"file":"AssistantPlugin.d.ts","sourceRoot":"","sources":["../../../src/AssistantPlugin.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,eAAe,4CA6ExB,CAAC"}
1
+ {"version":3,"file":"AssistantPlugin.d.ts","sourceRoot":"","sources":["../../../src/AssistantPlugin.tsx"],"names":[],"mappings":"AA2BA,eAAO,MAAM,eAAe,4CAiGxB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { type AIServiceClient } from '@dxos/ai';
1
+ import { type AiServiceClient } from '@dxos/ai';
2
2
  import { type PluginContext } from '@dxos/app-framework';
3
- declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<import("@preact/signals-core").Signal<AIServiceClient>>;
3
+ declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<import("@preact/signals-core").Signal<AiServiceClient>>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=ai-client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ai-client.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/ai-client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,eAAe,EAAqC,MAAM,UAAU,CAAC;AACnF,OAAO,EAA6B,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;yBAUpE,SAAS,aAAa;AAAtC,wBAwBE"}
1
+ {"version":3,"file":"ai-client.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/ai-client.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,eAAe,EAA8C,MAAM,UAAU,CAAC;AAC5F,OAAO,EAA6B,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;yBAUpE,SAAS,aAAa;AAAtC,wBAwBE"}
@@ -1 +1 @@
1
- {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAOA,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,qBAAqB,CAAC;yBAqBb,SAAS,aAAa;AAAtC,wBAyLK"}
1
+ {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAOA,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,qBAAqB,CAAC;yBAsBb,SAAS,aAAa;AAAtC,wBAiMK"}
@@ -1,6 +1,6 @@
1
1
  import { type ReadonlySignal } from '@preact/signals-core';
2
- import { type AIServiceClient } from '@dxos/ai';
2
+ import { type AiServiceClient } from '@dxos/ai';
3
3
  export declare namespace AssistantCapabilities {
4
- const AiClient: import("@dxos/app-framework").InterfaceDef<ReadonlySignal<AIServiceClient>>;
4
+ const AiClient: import("@dxos/app-framework").InterfaceDef<ReadonlySignal<AiServiceClient>>;
5
5
  }
6
6
  //# sourceMappingURL=capabilities.d.ts.map
@@ -1,4 +1,4 @@
1
- export declare const AiClient: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@preact/signals-core").Signal<import("@dxos/ai").AIServiceClient>> | import("@dxos/app-framework").AnyCapability[]>>;
1
+ export declare const AiClient: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@preact/signals-core").Signal<import("@dxos/ai").AiServiceClient>> | import("@dxos/app-framework").AnyCapability[]>>;
2
2
  export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-graph").BuilderExtensions> | import("@dxos/app-framework").AnyCapability[]>>;
3
3
  export declare const IntentResolver: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").AnyCapability[] | import("@dxos/app-framework").Capability<unknown>>>;
4
4
  export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAiE,MAAM,qBAAqB,CAAC;;AAkBlH,wBA+FK"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAiE,MAAM,qBAAqB,CAAC;;AAoBlH,wBA6GK"}
@@ -1 +1 @@
1
- {"version":3,"file":"BlueprintContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/BlueprintContainer.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAIjF,OAAO,EACL,KAAK,SAAS,EAQf,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EAAa,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAO7E,eAAO,MAAM,WAAW,yCAAyC,CAAC;AAalE,eAAO,MAAM,kBAAkB,GAAI,sBAGhC,IAAI,CAAC,qBAAqB,EAAE,MAAM,CAAC,GAAG;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,sBA8GhE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"BlueprintContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/BlueprintContainer.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAIjF,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EAAa,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAQ7E,eAAO,MAAM,WAAW,yCAAyC,CAAC;AAalE,eAAO,MAAM,kBAAkB,GAAI,sBAGhC,IAAI,CAAC,qBAAqB,EAAE,MAAM,CAAC,GAAG;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,sBAmGhE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Thread.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Thread/Thread.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAW5D,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAqDpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,WAAW,CAc3B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAC;AAoFnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAiBzB,CAAC"}
1
+ {"version":3,"file":"Thread.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Thread/Thread.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAW5D,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAmDpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,WAAW,CAc3B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAC;AA8EnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAiBzB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare namespace AssistantEvents {
2
+ const AiClientReady: import("@dxos/app-framework").ActivationEvent;
3
+ }
4
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,eAAe,CAAC;IACxB,MAAM,aAAa,+CAAiE,CAAC;CAC7F"}
@@ -1,5 +1,5 @@
1
1
  import { type Signal } from '@preact/signals-core';
2
- import { type ExecutableTool, type AIServiceClient, type GenerateRequest, type Message } from '@dxos/ai';
2
+ import { type ExecutableTool, type AiServiceClient, type GenerateRequest, type Message } from '@dxos/ai';
3
3
  import { type PromiseIntentDispatcher } from '@dxos/app-framework';
4
4
  import { type ArtifactDefinition } from '@dxos/artifact';
5
5
  import { type Space } from '@dxos/react-client/echo';
@@ -47,7 +47,7 @@ export declare class ChatProcessor {
47
47
  * @reactive
48
48
  */
49
49
  readonly messages: Signal<Message[]>;
50
- constructor(_ai: AIServiceClient, _tools?: ExecutableTool[] | undefined, _artifacts?: ArtifactDefinition[] | undefined, _extensions?: ToolContextExtensions | undefined, _options?: ChatProcessorOptions);
50
+ constructor(_ai: AiServiceClient, _tools?: ExecutableTool[] | undefined, _artifacts?: ArtifactDefinition[] | undefined, _extensions?: ToolContextExtensions | undefined, _options?: ChatProcessorOptions);
51
51
  get tools(): ExecutableTool[] | undefined;
52
52
  /**
53
53
  * Update tools.
@@ -65,7 +65,7 @@ export declare class ChatProcessor {
65
65
  private _reset;
66
66
  private _artifactDiffResolver;
67
67
  }
68
- export declare class AIServiceOverloadedError extends Error {
68
+ export declare class AiServiceOverloadedError extends Error {
69
69
  code: string;
70
70
  }
71
71
  export {};
@@ -1,6 +1,6 @@
1
1
  import { type AIChatType } from '../types';
2
- export declare const useMessageQueue: (chat?: AIChatType) => import("@dxos/echo-db").Queue<{
3
- readonly id: string;
2
+ export declare const useMessageQueue: (chat?: AIChatType) => import("@dxos/echo-db").Queue<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
3
+ id: string;
4
4
  role: "user" | "assistant";
5
5
  content: ({
6
6
  pending?: boolean | undefined;
@@ -1,5 +1,6 @@
1
1
  export * from './capabilities';
2
2
  export * from './components';
3
+ export * from './events';
3
4
  export * from './meta';
4
5
  export * from './types';
5
6
  export * from './AssistantPlugin';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type Blueprint, type BlueprintEvent, type BlueprintLogger } from '@dxos/assistant';
2
+ export declare class QueueLogger implements BlueprintLogger {
3
+ private readonly blueprint;
4
+ private _space;
5
+ private _invocationTraceQueue;
6
+ constructor(blueprint: Blueprint);
7
+ log(event: BlueprintEvent): void;
8
+ private _getTraceQueueDxn;
9
+ private _getTraceEventQueue;
10
+ }
11
+ //# sourceMappingURL=queue-logger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue-logger.d.ts","sourceRoot":"","sources":["../../../src/queue-logger.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAc5F,qBAAa,WAAY,YAAW,eAAe;IAIrC,OAAO,CAAC,QAAQ,CAAC,SAAS;IAHtC,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,qBAAqB,CAA8B;gBAE9B,SAAS,EAAE,SAAS;IAYjD,GAAG,CAAC,KAAK,EAAE,cAAc;IAkFzB,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,mBAAmB;CAI5B"}
@@ -1,18 +1,81 @@
1
- import { Blueprint } from '@dxos/assistant';
2
- import { AIChatType, TemplateType } from './types';
3
1
  declare const _default: {
4
2
  'en-US': {
5
- [AIChatType.typename]: {
6
- 'typename label': string;
7
- 'object name placeholder': string;
8
- };
9
- [Blueprint.typename]: {
10
- 'typename label': string;
11
- 'object name placeholder': string;
12
- };
13
- [TemplateType.typename]: {
3
+ [x: string]: {
14
4
  'typename label': string;
5
+ 'typename label_zero': string;
6
+ 'typename label_one': string;
7
+ 'typename label_other': string;
15
8
  'object name placeholder': string;
9
+ 'templates label'?: undefined;
10
+ 'open ambient chat label'?: undefined;
11
+ 'assistant chat label'?: undefined;
12
+ 'plugin name'?: undefined;
13
+ 'object placeholder'?: undefined;
14
+ 'create object label'?: undefined;
15
+ 'create trigger label'?: undefined;
16
+ 'create stack section label'?: undefined;
17
+ 'command placeholder'?: undefined;
18
+ 'template placeholder'?: undefined;
19
+ 'value placeholder'?: undefined;
20
+ 'prompt rules label'?: undefined;
21
+ 'typename placeholder'?: undefined;
22
+ 'description placeholder'?: undefined;
23
+ 'select preset template placeholder'?: undefined;
24
+ 'service registry label'?: undefined;
25
+ 'blueprint logs label'?: undefined;
26
+ 'assistant dialog title'?: undefined;
27
+ 'open assistant label'?: undefined;
28
+ 'search input placeholder'?: undefined;
29
+ 'chat input placeholder'?: undefined;
30
+ 'chat stop'?: undefined;
31
+ 'button save'?: undefined;
32
+ 'button run'?: undefined;
33
+ 'prompt placeholder'?: undefined;
34
+ 'microphone button'?: undefined;
35
+ 'cancel processing button'?: undefined;
36
+ 'settings default label'?: undefined;
37
+ 'settings custom prompts label'?: undefined;
38
+ 'settings llm provider label'?: undefined;
39
+ 'settings edge llm model label'?: undefined;
40
+ 'settings ollama llm model label'?: undefined;
41
+ } | {
42
+ 'templates label': string;
43
+ 'open ambient chat label': string;
44
+ 'assistant chat label': string;
45
+ 'plugin name': string;
46
+ 'object placeholder': string;
47
+ 'create object label': string;
48
+ 'create trigger label': string;
49
+ 'create stack section label': string;
50
+ 'command placeholder': string;
51
+ 'template placeholder': string;
52
+ 'value placeholder': string;
53
+ 'prompt rules label': string;
54
+ 'typename placeholder': string;
55
+ 'description placeholder': string;
56
+ 'select preset template placeholder': string;
57
+ 'service registry label': string;
58
+ 'blueprint logs label': string;
59
+ 'assistant dialog title': string;
60
+ 'open assistant label': string;
61
+ 'search input placeholder': string;
62
+ 'chat input placeholder': string;
63
+ 'chat stop': string;
64
+ 'button save': string;
65
+ 'button run': string;
66
+ 'prompt placeholder': string;
67
+ 'microphone button': string;
68
+ 'cancel processing button': string;
69
+ 'settings default label': string;
70
+ 'settings custom prompts label': string;
71
+ 'settings llm provider label': string;
72
+ 'settings edge llm model label': string;
73
+ 'settings ollama llm model label': string;
74
+ 'typename label'?: undefined;
75
+ 'typename label_zero'?: undefined;
76
+ 'typename label_one'?: undefined;
77
+ 'typename label_other'?: undefined;
78
+ 'object name placeholder'?: undefined;
16
79
  };
17
80
  "dxos.org/plugin/assistant": {
18
81
  'templates label': string;
@@ -31,6 +94,7 @@ declare const _default: {
31
94
  'description placeholder': string;
32
95
  'select preset template placeholder': string;
33
96
  'service registry label': string;
97
+ 'blueprint logs label': string;
34
98
  'assistant dialog title': string;
35
99
  'open assistant label': string;
36
100
  'search input placeholder': string;
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;;;QAK7C,CAAC,UAAU,CAAC,QAAQ,CAAC;;;UAGpB;QACD,CAAC,SAAS,CAAC,QAAQ,CAAC;;;UAGnB;QACD,CAAC,YAAY,CAAC,QAAQ,CAAC;;;UAGtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAdP,wBAuDE"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,wBAkEE"}
@@ -1,20 +1,23 @@
1
1
  import { Schema } from 'effect';
2
2
  import { Queue } from '@dxos/client/echo';
3
3
  import { Type } from '@dxos/echo';
4
- export declare const AIChatType: import("@dxos/echo-schema").EchoTypeSchema<Schema.Struct<{
4
+ export declare const AIChatType: Type.obj<Schema.Struct<{
5
5
  id: import("@dxos/keys").ObjectIdClass;
6
6
  name: Schema.optional<typeof Schema.String>;
7
- queue: import("@dxos/echo-schema").Ref$<Queue<import("@dxos/echo-schema").AnyEchoObject>>;
8
- }>, {}>;
7
+ queue: Type.ref<Schema.Schema<Queue<import("@dxos/echo/Obj").Any | import("@dxos/echo/Relation").Any>, Queue<import("@dxos/echo/Obj").Any | import("@dxos/echo/Relation").Any>, never>>;
8
+ }>>;
9
9
  export interface AIChatType extends Schema.Schema.Type<typeof AIChatType> {
10
10
  }
11
- export declare const CompanionTo: import("@dxos/echo-schema").EchoTypeSchema<Schema.Struct<{
11
+ export declare const CompanionTo: Type.relation<Schema.Struct<{
12
12
  id: import("@dxos/keys").ObjectIdClass;
13
- }>, import("@dxos/echo-schema").RelationSourceTargetRefs<{
14
- readonly id: string;
15
- name?: string | undefined;
16
- queue: import("@dxos/echo-schema").Ref<Queue<import("@dxos/echo-schema").AnyEchoObject>>;
17
- }, Type.Expando>>;
13
+ }>, Type.obj<Schema.Struct<{
14
+ id: import("@dxos/keys").ObjectIdClass;
15
+ name: Schema.optional<typeof Schema.String>;
16
+ queue: Type.ref<Schema.Schema<Queue<import("@dxos/echo/Obj").Any | import("@dxos/echo/Relation").Any>, Queue<import("@dxos/echo/Obj").Any | import("@dxos/echo/Relation").Any>, never>>;
17
+ }>>, Schema.Schema<Type.Expando, {
18
+ [x: string]: any;
19
+ id: string;
20
+ }, never>>;
18
21
  export interface CompanionTo extends Schema.Schema.Type<typeof CompanionTo> {
19
22
  }
20
23
  //# sourceMappingURL=chat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../src/types/chat.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,eAAO,MAAM,UAAU;;;;OAStB,CAAC;AACF,MAAM,WAAW,UAAW,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC;CAAG;AAE5E,eAAO,MAAM,WAAW;;;;;;iBASvB,CAAC;AACF,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC;CAAG"}
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../src/types/chat.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,eAAO,MAAM,UAAU;;;;GAStB,CAAC;AACF,MAAM,WAAW,UAAW,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC;CAAG;AAE5E,eAAO,MAAM,WAAW;;;;;;;;;UASvB,CAAC;AACF,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC;CAAG"}
@@ -19,54 +19,37 @@ export declare const ApiAuthorization: Schema.Union<[Schema.Struct<{
19
19
  export type ApiAuthorization = Schema.Schema.Type<typeof ApiAuthorization>;
20
20
  declare const ServiceInterface: Schema.Union<[Schema.Struct<{
21
21
  kind: Schema.Literal<["function"]>;
22
- fn: import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").TypedObjectFields<{
22
+ fn: Type.ref<Type.obj<Schema.Struct<{
23
23
  name: typeof Schema.NonEmptyString;
24
24
  version: typeof Schema.String;
25
25
  description: Schema.optional<typeof Schema.String>;
26
- source: Schema.optional<import("@dxos/echo-schema").Ref$<{
27
- readonly id: string;
26
+ source: Schema.optional<import("@dxos/echo-schema").Ref$<Type.OfKind<Type.Kind.Object> & {
28
27
  name?: string | undefined;
29
28
  description?: string | undefined;
30
29
  changed?: boolean | undefined;
31
- source: import("@dxos/echo-schema").Ref<{
32
- readonly id: string;
30
+ source: import("@dxos/echo-schema").Ref<Type.OfKind<Type.Kind.Object> & {
33
31
  content: string;
34
32
  }>;
35
33
  }>>;
36
34
  inputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
37
35
  outputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
38
36
  binding: Schema.optional<typeof Schema.String>;
39
- }, import("@dxos/echo-schema").TypedObjectOptions>>;
37
+ }>>>;
40
38
  }>, Schema.Struct<{
41
39
  kind: Schema.Literal<["workflow"]>;
42
- workflow: import("@dxos/echo-schema").Ref$<{
43
- readonly id: string;
44
- graph: {
45
- readonly id?: string | undefined;
46
- readonly nodes: {
47
- readonly id: string;
48
- readonly type?: string | undefined;
49
- readonly data?: any;
50
- }[];
51
- readonly edges: {
52
- readonly id: string;
53
- readonly type?: string | undefined;
54
- readonly source: string;
55
- readonly data?: any;
56
- readonly target: string;
57
- }[];
58
- };
59
- input?: {
60
- readonly id: string;
61
- readonly type?: string | undefined;
62
- readonly data?: any;
63
- } | undefined;
64
- output?: {
65
- readonly id: string;
66
- readonly type?: string | undefined;
67
- readonly data?: any;
68
- } | undefined;
69
- }>;
40
+ workflow: Type.ref<Type.obj<Schema.Struct<{
41
+ graph: Schema.Schema<import("@dxos/graph").Graph>;
42
+ input: Schema.optional<Schema.Struct<{
43
+ id: typeof Schema.String;
44
+ type: Schema.optional<typeof Schema.String>;
45
+ data: Schema.optional<typeof Schema.Any>;
46
+ }>>;
47
+ output: Schema.optional<Schema.Struct<{
48
+ id: typeof Schema.String;
49
+ type: Schema.optional<typeof Schema.String>;
50
+ data: Schema.optional<typeof Schema.Any>;
51
+ }>>;
52
+ }>>>;
70
53
  }>, Schema.Struct<{
71
54
  kind: Schema.Literal<["api"]>;
72
55
  /**
@@ -109,54 +92,37 @@ declare const ServiceType_base: import("@dxos/echo-schema").TypedObjectPrototype
109
92
  */
110
93
  interfaces: Schema.optional<Schema.Array$<Schema.Union<[Schema.Struct<{
111
94
  kind: Schema.Literal<["function"]>;
112
- fn: import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").TypedObjectFields<{
95
+ fn: Type.ref<Type.obj<Schema.Struct<{
113
96
  name: typeof Schema.NonEmptyString;
114
97
  version: typeof Schema.String;
115
98
  description: Schema.optional<typeof Schema.String>;
116
- source: Schema.optional<import("@dxos/echo-schema").Ref$<{
117
- readonly id: string;
99
+ source: Schema.optional<import("@dxos/echo-schema").Ref$<Type.OfKind<Type.Kind.Object> & {
118
100
  name?: string | undefined;
119
101
  description?: string | undefined;
120
102
  changed?: boolean | undefined;
121
- source: import("@dxos/echo-schema").Ref<{
122
- readonly id: string;
103
+ source: import("@dxos/echo-schema").Ref<Type.OfKind<Type.Kind.Object> & {
123
104
  content: string;
124
105
  }>;
125
106
  }>>;
126
107
  inputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
127
108
  outputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
128
109
  binding: Schema.optional<typeof Schema.String>;
129
- }, import("@dxos/echo-schema").TypedObjectOptions>>;
110
+ }>>>;
130
111
  }>, Schema.Struct<{
131
112
  kind: Schema.Literal<["workflow"]>;
132
- workflow: import("@dxos/echo-schema").Ref$<{
133
- readonly id: string;
134
- graph: {
135
- readonly id?: string | undefined;
136
- readonly nodes: {
137
- readonly id: string;
138
- readonly type?: string | undefined;
139
- readonly data?: any;
140
- }[];
141
- readonly edges: {
142
- readonly id: string;
143
- readonly type?: string | undefined;
144
- readonly source: string;
145
- readonly data?: any;
146
- readonly target: string;
147
- }[];
148
- };
149
- input?: {
150
- readonly id: string;
151
- readonly type?: string | undefined;
152
- readonly data?: any;
153
- } | undefined;
154
- output?: {
155
- readonly id: string;
156
- readonly type?: string | undefined;
157
- readonly data?: any;
158
- } | undefined;
159
- }>;
113
+ workflow: Type.ref<Type.obj<Schema.Struct<{
114
+ graph: Schema.Schema<import("@dxos/graph").Graph>;
115
+ input: Schema.optional<Schema.Struct<{
116
+ id: typeof Schema.String;
117
+ type: Schema.optional<typeof Schema.String>;
118
+ data: Schema.optional<typeof Schema.Any>;
119
+ }>>;
120
+ output: Schema.optional<Schema.Struct<{
121
+ id: typeof Schema.String;
122
+ type: Schema.optional<typeof Schema.String>;
123
+ data: Schema.optional<typeof Schema.Any>;
124
+ }>>;
125
+ }>>>;
160
126
  }>, Schema.Struct<{
161
127
  kind: Schema.Literal<["api"]>;
162
128
  /**
@@ -198,54 +164,37 @@ declare const ServiceType_base: import("@dxos/echo-schema").TypedObjectPrototype
198
164
  */
199
165
  interfaces: Schema.optional<Schema.Array$<Schema.Union<[Schema.Struct<{
200
166
  kind: Schema.Literal<["function"]>;
201
- fn: import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").TypedObjectFields<{
167
+ fn: Type.ref<Type.obj<Schema.Struct<{
202
168
  name: typeof Schema.NonEmptyString;
203
169
  version: typeof Schema.String;
204
170
  description: Schema.optional<typeof Schema.String>;
205
- source: Schema.optional<import("@dxos/echo-schema").Ref$<{
206
- readonly id: string;
171
+ source: Schema.optional<import("@dxos/echo-schema").Ref$<Type.OfKind<Type.Kind.Object> & {
207
172
  name?: string | undefined;
208
173
  description?: string | undefined;
209
174
  changed?: boolean | undefined;
210
- source: import("@dxos/echo-schema").Ref<{
211
- readonly id: string;
175
+ source: import("@dxos/echo-schema").Ref<Type.OfKind<Type.Kind.Object> & {
212
176
  content: string;
213
177
  }>;
214
178
  }>>;
215
179
  inputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
216
180
  outputSchema: Schema.optional<Schema.Schema<Type.JsonSchema, Type.JsonSchema, never>>;
217
181
  binding: Schema.optional<typeof Schema.String>;
218
- }, import("@dxos/echo-schema").TypedObjectOptions>>;
182
+ }>>>;
219
183
  }>, Schema.Struct<{
220
184
  kind: Schema.Literal<["workflow"]>;
221
- workflow: import("@dxos/echo-schema").Ref$<{
222
- readonly id: string;
223
- graph: {
224
- readonly id?: string | undefined;
225
- readonly nodes: {
226
- readonly id: string;
227
- readonly type?: string | undefined;
228
- readonly data?: any;
229
- }[];
230
- readonly edges: {
231
- readonly id: string;
232
- readonly type?: string | undefined;
233
- readonly source: string;
234
- readonly data?: any;
235
- readonly target: string;
236
- }[];
237
- };
238
- input?: {
239
- readonly id: string;
240
- readonly type?: string | undefined;
241
- readonly data?: any;
242
- } | undefined;
243
- output?: {
244
- readonly id: string;
245
- readonly type?: string | undefined;
246
- readonly data?: any;
247
- } | undefined;
248
- }>;
185
+ workflow: Type.ref<Type.obj<Schema.Struct<{
186
+ graph: Schema.Schema<import("@dxos/graph").Graph>;
187
+ input: Schema.optional<Schema.Struct<{
188
+ id: typeof Schema.String;
189
+ type: Schema.optional<typeof Schema.String>;
190
+ data: Schema.optional<typeof Schema.Any>;
191
+ }>>;
192
+ output: Schema.optional<Schema.Struct<{
193
+ id: typeof Schema.String;
194
+ type: Schema.optional<typeof Schema.String>;
195
+ data: Schema.optional<typeof Schema.Any>;
196
+ }>>;
197
+ }>>>;
249
198
  }>, Schema.Struct<{
250
199
  kind: Schema.Literal<["api"]>;
251
200
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/types/service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AA0BlC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;IAA2D,CAAC;AACzF,MAAM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declare enum TemplateInputType {
3
4
  VALUE = 0,
4
5
  PASS_THROUGH = 1,
@@ -29,27 +30,7 @@ export declare const TemplateKindSchema: Schema.Union<[Schema.Struct<{
29
30
  include: Schema.Literal<["manual"]>;
30
31
  }>]>;
31
32
  export type TemplateKindType = Schema.Schema.Type<typeof TemplateKindSchema>;
32
- declare const TemplateType_base: import("@dxos/echo-schema").TypedObjectPrototype<import("@dxos/echo-schema").TypedObjectFields<{
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
- }>]>>;
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
- }>>>>>;
51
- command: Schema.optional<typeof Schema.String>;
52
- }, import("@dxos/echo-schema").TypedObjectOptions>, Schema.Struct.Encoded<{
33
+ export declare const TemplateType: Type.obj<Schema.Struct<{
53
34
  name: Schema.optional<typeof Schema.String>;
54
35
  kind: Schema.mutable<Schema.Union<[Schema.Struct<{
55
36
  include: Schema.Literal<["always"]>;
@@ -70,7 +51,6 @@ declare const TemplateType_base: import("@dxos/echo-schema").TypedObjectPrototyp
70
51
  }>>>>>;
71
52
  command: Schema.optional<typeof Schema.String>;
72
53
  }>>;
73
- export declare class TemplateType extends TemplateType_base {
54
+ export interface TemplateType extends Schema.Schema.Type<typeof TemplateType> {
74
55
  }
75
- export {};
76
56
  //# sourceMappingURL=template.d.ts.map
@@ -1 +1 @@
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,iBAShC;CAAG"}
1
+ {"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../src/types/template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAIlC,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,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