@dxos/plugin-deck 0.8.4-main.b97322e → 0.8.4-main.bc674ce
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/app-graph-builder-DTVCULQ4.mjs +120 -0
- package/dist/lib/browser/app-graph-builder-DTVCULQ4.mjs.map +7 -0
- package/dist/lib/browser/{check-app-scheme-57U62A3A.mjs → check-app-scheme-JSRXXIYF.mjs} +9 -9
- package/dist/lib/browser/check-app-scheme-JSRXXIYF.mjs.map +7 -0
- package/dist/lib/browser/{chunk-F5BQOOEG.mjs → chunk-ATFPDN6J.mjs} +155 -23
- package/dist/lib/browser/chunk-ATFPDN6J.mjs.map +7 -0
- package/dist/lib/browser/{chunk-CNTGBCMK.mjs → chunk-NHABISX2.mjs} +40 -33
- package/dist/lib/browser/chunk-NHABISX2.mjs.map +7 -0
- package/dist/lib/browser/chunk-S4A5UO4K.mjs +1448 -0
- package/dist/lib/browser/chunk-S4A5UO4K.mjs.map +7 -0
- package/dist/lib/browser/chunk-UNG4CLLP.mjs +161 -0
- package/dist/lib/browser/chunk-UNG4CLLP.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +79 -67
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operation-resolver-CDYBLZJ4.mjs +595 -0
- package/dist/lib/browser/operation-resolver-CDYBLZJ4.mjs.map +7 -0
- package/dist/lib/browser/react-root-XDCMNENQ.mjs +47 -0
- package/dist/lib/browser/react-root-XDCMNENQ.mjs.map +7 -0
- package/dist/lib/browser/react-surface-HODERLOL.mjs +42 -0
- package/dist/lib/browser/react-surface-HODERLOL.mjs.map +7 -0
- package/dist/lib/browser/settings-OMHVGZ6V.mjs +37 -0
- package/dist/lib/browser/settings-OMHVGZ6V.mjs.map +7 -0
- package/dist/lib/browser/state-OC3BSB6E.mjs +103 -0
- package/dist/lib/browser/state-OC3BSB6E.mjs.map +7 -0
- package/dist/lib/browser/toolkit-R53LD3EA.mjs +53 -0
- package/dist/lib/browser/toolkit-R53LD3EA.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +11 -4
- package/dist/lib/browser/url-handler-53TE6JZO.mjs +93 -0
- package/dist/lib/browser/url-handler-53TE6JZO.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-473BNZDJ.mjs +121 -0
- package/dist/lib/node-esm/app-graph-builder-473BNZDJ.mjs.map +7 -0
- package/dist/lib/node-esm/check-app-scheme-IVYRHKRH.mjs +33 -0
- package/dist/lib/node-esm/check-app-scheme-IVYRHKRH.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-ADPMWKLL.mjs +154 -0
- package/dist/lib/node-esm/chunk-ADPMWKLL.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-D34L3ECT.mjs +1449 -0
- package/dist/lib/node-esm/chunk-D34L3ECT.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-SKEVPQ7E.mjs +162 -0
- package/dist/lib/node-esm/chunk-SKEVPQ7E.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-XAKTY3EB.mjs +294 -0
- package/dist/lib/node-esm/chunk-XAKTY3EB.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +181 -0
- package/dist/lib/node-esm/index.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -0
- package/dist/lib/node-esm/operation-resolver-WUOE33ID.mjs +596 -0
- package/dist/lib/node-esm/operation-resolver-WUOE33ID.mjs.map +7 -0
- package/dist/lib/node-esm/react-root-O6GZO62Z.mjs +48 -0
- package/dist/lib/node-esm/react-root-O6GZO62Z.mjs.map +7 -0
- package/dist/lib/node-esm/react-surface-IHDJDGC5.mjs +43 -0
- package/dist/lib/node-esm/react-surface-IHDJDGC5.mjs.map +7 -0
- package/dist/lib/node-esm/settings-2HB6FKIK.mjs +38 -0
- package/dist/lib/node-esm/settings-2HB6FKIK.mjs.map +7 -0
- package/dist/lib/node-esm/state-JRQ45ACJ.mjs +104 -0
- package/dist/lib/node-esm/state-JRQ45ACJ.mjs.map +7 -0
- package/dist/lib/node-esm/toolkit-JLPZNNKB.mjs +54 -0
- package/dist/lib/node-esm/toolkit-JLPZNNKB.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +40 -0
- package/dist/lib/node-esm/url-handler-QGF2R24T.mjs +94 -0
- package/dist/lib/node-esm/url-handler-QGF2R24T.mjs.map +7 -0
- package/dist/types/src/DeckPlugin.d.ts +2 -1
- package/dist/types/src/DeckPlugin.d.ts.map +1 -1
- 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/check-app-scheme/check-app-scheme.d.ts +5 -0
- package/dist/types/src/capabilities/check-app-scheme/check-app-scheme.d.ts.map +1 -0
- package/dist/types/src/capabilities/check-app-scheme/index.d.ts +3 -0
- package/dist/types/src/capabilities/check-app-scheme/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +8 -13
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- 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-root/index.d.ts +6 -0
- package/dist/types/src/capabilities/react-root/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-root/react-root.d.ts +9 -0
- package/dist/types/src/capabilities/react-root/react-root.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/settings/index.d.ts +19 -0
- package/dist/types/src/capabilities/settings/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings/settings.d.ts +21 -0
- package/dist/types/src/capabilities/settings/settings.d.ts.map +1 -0
- package/dist/types/src/capabilities/state/index.d.ts +172 -0
- package/dist/types/src/capabilities/state/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/state/state.d.ts +175 -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 +26 -0
- package/dist/types/src/capabilities/toolkit/toolkit.d.ts.map +1 -0
- package/dist/types/src/capabilities/tools/index.d.ts +3 -0
- package/dist/types/src/capabilities/tools/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/tools/tools.d.ts +12 -0
- package/dist/types/src/capabilities/tools/tools.d.ts.map +1 -0
- package/dist/types/src/capabilities/url-handler/index.d.ts +3 -0
- package/dist/types/src/capabilities/url-handler/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/url-handler/url-handler.d.ts +5 -0
- package/dist/types/src/capabilities/url-handler/url-handler.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +2 -3
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts +74 -0
- package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/DeckMain.d.ts +3 -0
- package/dist/types/src/components/DeckLayout/DeckMain.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/Dialog.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Popover.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Toast.d.ts +7 -2
- package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts +4 -2
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +1 -1
- package/dist/types/src/components/Plank/Plank.d.ts +4 -4
- package/dist/types/src/components/Plank/Plank.d.ts.map +1 -1
- package/dist/types/src/components/Plank/Plank.stories.d.ts +104 -5
- package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankControls.d.ts +1 -1
- package/dist/types/src/components/Plank/PlankControls.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankError.d.ts +1 -1
- package/dist/types/src/components/Plank/PlankError.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankHeading.d.ts +3 -3
- package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/SidebarButton.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +1 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckCompanions.d.ts +3 -3
- package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckState.d.ts +17 -0
- package/dist/types/src/hooks/useDeckState.d.ts.map +1 -0
- package/dist/types/src/hooks/useHoistStatusbar.d.ts +1 -1
- package/dist/types/src/hooks/useHoistStatusbar.d.ts.map +1 -1
- package/dist/types/src/hooks/useNodeActionExpander.d.ts +1 -1
- package/dist/types/src/hooks/useNodeActionExpander.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -3
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +3 -1
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/{capabilities → types}/capabilities.d.ts +96 -90
- package/dist/types/src/types/capabilities.d.ts.map +1 -0
- package/dist/types/src/types/events.d.ts +7 -0
- package/dist/types/src/types/events.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +2 -0
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +90 -30
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/src/util/set-active.d.ts +18 -3
- package/dist/types/src/util/set-active.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +56 -46
- package/src/DeckPlugin.ts +45 -61
- package/src/capabilities/app-graph-builder/app-graph-builder.ts +118 -0
- package/src/capabilities/app-graph-builder/index.ts +7 -0
- package/src/capabilities/{check-app-scheme.ts → check-app-scheme/check-app-scheme.ts} +12 -11
- package/src/capabilities/check-app-scheme/index.ts +7 -0
- package/src/capabilities/index.ts +9 -13
- package/src/capabilities/operation-resolver/index.ts +10 -0
- package/src/capabilities/operation-resolver/operation-resolver.ts +555 -0
- package/src/capabilities/react-root/index.ts +7 -0
- package/src/capabilities/react-root/react-root.tsx +47 -0
- package/src/capabilities/react-surface/index.ts +7 -0
- package/src/capabilities/react-surface/react-surface.tsx +37 -0
- package/src/capabilities/settings/index.ts +7 -0
- package/src/capabilities/settings/settings.ts +38 -0
- package/src/capabilities/state/index.ts +7 -0
- package/src/capabilities/state/state.ts +104 -0
- package/src/capabilities/toolkit/index.ts +7 -0
- package/src/capabilities/toolkit/toolkit.ts +63 -0
- package/src/capabilities/tools/index.ts +7 -0
- package/src/capabilities/tools/tools.ts +92 -0
- package/src/capabilities/url-handler/index.ts +7 -0
- package/src/capabilities/url-handler/url-handler.ts +95 -0
- package/src/components/DeckLayout/ActiveNode.tsx +1 -1
- package/src/components/DeckLayout/Banner.tsx +6 -6
- package/src/components/DeckLayout/ContentEmpty.tsx +4 -5
- package/src/components/DeckLayout/DeckLayout.stories.tsx +51 -0
- package/src/components/DeckLayout/DeckLayout.tsx +18 -285
- package/src/components/DeckLayout/DeckMain.tsx +286 -0
- package/src/components/DeckLayout/Dialog.tsx +13 -10
- package/src/components/DeckLayout/Fallback.tsx +4 -4
- package/src/components/DeckLayout/Popover.tsx +44 -32
- package/src/components/DeckLayout/StatusBar.tsx +1 -1
- package/src/components/DeckLayout/Toast.tsx +30 -5
- package/src/components/DeckSettings/DeckSettings.tsx +91 -66
- package/src/components/Plank/Plank.stories.tsx +23 -16
- package/src/components/Plank/Plank.tsx +89 -56
- package/src/components/Plank/PlankControls.tsx +9 -9
- package/src/components/Plank/PlankError.tsx +5 -4
- package/src/components/Plank/PlankHeading.tsx +38 -42
- package/src/components/Sidebar/ComplementarySidebar.tsx +61 -33
- package/src/components/Sidebar/Sidebar.tsx +6 -6
- package/src/components/Sidebar/SidebarButton.tsx +39 -32
- package/src/components/fragments.ts +1 -1
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useCompanions.ts +1 -1
- package/src/hooks/useDeckCompanions.ts +7 -5
- package/src/hooks/useDeckState.ts +82 -0
- package/src/hooks/useHoistStatusbar.ts +4 -5
- package/src/hooks/useNodeActionExpander.ts +4 -4
- package/src/index.ts +1 -2
- package/src/meta.ts +8 -5
- package/src/translations.ts +3 -1
- package/src/types/capabilities.ts +33 -0
- package/src/types/events.ts +20 -0
- package/src/types/index.ts +2 -0
- package/src/types/schema.ts +86 -14
- package/src/util/layoutAppliesTopbar.ts +1 -1
- package/src/util/set-active.ts +49 -29
- package/dist/lib/browser/app-graph-builder-JTFSDT2I.mjs +0 -152
- package/dist/lib/browser/app-graph-builder-JTFSDT2I.mjs.map +0 -7
- package/dist/lib/browser/check-app-scheme-57U62A3A.mjs.map +0 -7
- package/dist/lib/browser/chunk-CNTGBCMK.mjs.map +0 -7
- package/dist/lib/browser/chunk-D7KTFCUV.mjs +0 -1494
- package/dist/lib/browser/chunk-D7KTFCUV.mjs.map +0 -7
- package/dist/lib/browser/chunk-F5BQOOEG.mjs.map +0 -7
- package/dist/lib/browser/chunk-JFTXENFN.mjs +0 -129
- package/dist/lib/browser/chunk-JFTXENFN.mjs.map +0 -7
- package/dist/lib/browser/chunk-M57WD3V6.mjs +0 -16
- package/dist/lib/browser/chunk-M57WD3V6.mjs.map +0 -7
- package/dist/lib/browser/chunk-QDZO4AJ4.mjs +0 -127
- package/dist/lib/browser/chunk-QDZO4AJ4.mjs.map +0 -7
- package/dist/lib/browser/chunk-Z5KITAZW.mjs +0 -13
- package/dist/lib/browser/chunk-Z5KITAZW.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-P2OBK5HK.mjs +0 -521
- package/dist/lib/browser/intent-resolver-P2OBK5HK.mjs.map +0 -7
- package/dist/lib/browser/react-root-PO64J7ML.mjs +0 -43
- package/dist/lib/browser/react-root-PO64J7ML.mjs.map +0 -7
- package/dist/lib/browser/react-surface-E45YOVF5.mjs +0 -40
- package/dist/lib/browser/react-surface-E45YOVF5.mjs.map +0 -7
- package/dist/lib/browser/settings-6AJZPZPM.mjs +0 -29
- package/dist/lib/browser/settings-6AJZPZPM.mjs.map +0 -7
- package/dist/lib/browser/state-MVDYX77Y.mjs +0 -12
- package/dist/lib/browser/tools-TKQDPCHJ.mjs +0 -88
- package/dist/lib/browser/tools-TKQDPCHJ.mjs.map +0 -7
- package/dist/lib/browser/url-handler-7L7M6IKH.mjs +0 -70
- package/dist/lib/browser/url-handler-7L7M6IKH.mjs.map +0 -7
- 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/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/check-app-scheme.d.ts +0 -4
- package/dist/types/src/capabilities/check-app-scheme.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/react-root.d.ts +0 -7
- package/dist/types/src/capabilities/react-root.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/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 -101
- package/dist/types/src/capabilities/state.d.ts.map +0 -1
- package/dist/types/src/capabilities/tools.d.ts +0 -11
- package/dist/types/src/capabilities/tools.d.ts.map +0 -1
- package/dist/types/src/capabilities/url-handler.d.ts +0 -4
- package/dist/types/src/capabilities/url-handler.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/src/capabilities/app-graph-builder.ts +0 -141
- package/src/capabilities/capabilities.ts +0 -14
- package/src/capabilities/intent-resolver.ts +0 -468
- package/src/capabilities/react-root.tsx +0 -38
- package/src/capabilities/react-surface.tsx +0 -30
- package/src/capabilities/settings.ts +0 -26
- package/src/capabilities/state.ts +0 -104
- package/src/capabilities/tools.ts +0 -81
- package/src/capabilities/url-handler.ts +0 -59
- package/src/events.ts +0 -11
- /package/dist/lib/{browser/state-MVDYX77Y.mjs.map → node-esm/types/index.mjs.map} +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { GraphBuilder } from '@dxos/plugin-graph';
|
|
4
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<GraphBuilder.BuilderExtensions>>, never, Capability.Service>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=app-graph-builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/app-graph-builder/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAC;AAGzD,OAAO,EAAE,YAAY,EAAe,MAAM,oBAAoB,CAAC;;AAK/D,wBAuGE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/app-graph-builder/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe,qIAA0E,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<void, Error, Capability.Service>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=check-app-scheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-app-scheme.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/check-app-scheme/check-app-scheme.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAC;;AA2BzD,wBAOE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/check-app-scheme/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,cAAc,8CAAwE,CAAC"}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
id: string;
|
|
8
|
-
root: import("react").FC<import("react").PropsWithChildren>;
|
|
9
|
-
}>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
10
|
-
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
11
|
-
export declare const Tools: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/ai").ExecutableTool[]> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
12
|
-
export declare const UrlHandler: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
13
|
-
export * from './capabilities';
|
|
1
|
+
export * from './app-graph-builder';
|
|
2
|
+
export * from './check-app-scheme';
|
|
3
|
+
export * from './operation-resolver';
|
|
4
|
+
export * from './react-root';
|
|
5
|
+
export * from './react-surface';
|
|
6
|
+
export * from './settings';
|
|
14
7
|
export * from './state';
|
|
8
|
+
export * from './toolkit';
|
|
9
|
+
export * from './url-handler';
|
|
15
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAE1B,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAA6B,MAAM,qBAAqB,CAAC;AAEjF,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,cAGhD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability, Common } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Common.Capability.OperationResolver[]>>, never, never>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=operation-resolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/operation-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;;AA4CzD,wBAsfE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Capability } from '@dxos/app-framework';
|
|
2
|
+
export declare const ReactRoot: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
|
|
3
|
+
id: string;
|
|
4
|
+
root: import("react").FC<import("react").PropsWithChildren>;
|
|
5
|
+
}>>>, Error>;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-root/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,SAAS;;;YAA6D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Capability } from '@dxos/app-framework';
|
|
4
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Readonly<{
|
|
5
|
+
id: string;
|
|
6
|
+
root: React.FC<React.PropsWithChildren>;
|
|
7
|
+
}>>>, never, never>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=react-root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-root/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAC;;;;;AAMzD,wBAiCE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY,sJAAmE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability, Common } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Common.Capability.ReactSurface>>, never, never>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;;AAOzD,wBAsBE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Capability } from '@dxos/app-framework';
|
|
2
|
+
export declare const DeckSettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
|
|
3
|
+
showHints?: boolean | undefined;
|
|
4
|
+
enableDeck?: boolean | undefined;
|
|
5
|
+
enableStatusbar?: boolean | undefined;
|
|
6
|
+
enableNativeRedirect?: boolean | undefined;
|
|
7
|
+
newPlankPositioning?: "start" | "end" | undefined;
|
|
8
|
+
overscroll?: "none" | "centering" | undefined;
|
|
9
|
+
encapsulatedPlanks?: boolean | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
showHints?: boolean | undefined;
|
|
12
|
+
enableDeck?: boolean | undefined;
|
|
13
|
+
enableStatusbar?: boolean | undefined;
|
|
14
|
+
enableNativeRedirect?: boolean | undefined;
|
|
15
|
+
newPlankPositioning?: "start" | "end" | undefined;
|
|
16
|
+
overscroll?: "none" | "centering" | undefined;
|
|
17
|
+
encapsulatedPlanks?: boolean | undefined;
|
|
18
|
+
}>>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Common").Capability.Settings>>], Error>;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/settings/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;uHAA8D,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability, Common } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
|
|
4
|
+
showHints?: boolean | undefined;
|
|
5
|
+
enableDeck?: boolean | undefined;
|
|
6
|
+
enableStatusbar?: boolean | undefined;
|
|
7
|
+
enableNativeRedirect?: boolean | undefined;
|
|
8
|
+
newPlankPositioning?: "start" | "end" | undefined;
|
|
9
|
+
overscroll?: "none" | "centering" | undefined;
|
|
10
|
+
encapsulatedPlanks?: boolean | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
showHints?: boolean | undefined;
|
|
13
|
+
enableDeck?: boolean | undefined;
|
|
14
|
+
enableStatusbar?: boolean | undefined;
|
|
15
|
+
enableNativeRedirect?: boolean | undefined;
|
|
16
|
+
newPlankPositioning?: "start" | "end" | undefined;
|
|
17
|
+
overscroll?: "none" | "centering" | undefined;
|
|
18
|
+
encapsulatedPlanks?: boolean | undefined;
|
|
19
|
+
}>>>, Capability.Capability<Capability.InterfaceDef<Common.Capability.Settings>>], never, never>;
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/settings/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;AAMzD,wBAyBE"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { Capability } from '@dxos/app-framework';
|
|
2
|
+
export declare const DeckState: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
|
|
3
|
+
sidebarState: "closed" | "collapsed" | "expanded";
|
|
4
|
+
complementarySidebarState: "closed" | "collapsed" | "expanded";
|
|
5
|
+
complementarySidebarPanel?: string | undefined;
|
|
6
|
+
activeDeck: string;
|
|
7
|
+
previousDeck: string;
|
|
8
|
+
decks: {
|
|
9
|
+
[x: string]: {
|
|
10
|
+
initialized: boolean;
|
|
11
|
+
active: string[];
|
|
12
|
+
activeCompanions?: {
|
|
13
|
+
[x: string]: string;
|
|
14
|
+
} | undefined;
|
|
15
|
+
inactive: string[];
|
|
16
|
+
solo?: string | undefined;
|
|
17
|
+
fullscreen: boolean;
|
|
18
|
+
plankSizing: {
|
|
19
|
+
[x: string]: number;
|
|
20
|
+
};
|
|
21
|
+
companionFrameSizing: {
|
|
22
|
+
[x: string]: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
previousMode: {
|
|
27
|
+
[x: string]: "solo" | "deck" | "solo--fullscreen";
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
sidebarState: "closed" | "collapsed" | "expanded";
|
|
31
|
+
complementarySidebarState: "closed" | "collapsed" | "expanded";
|
|
32
|
+
complementarySidebarPanel?: string | undefined;
|
|
33
|
+
activeDeck: string;
|
|
34
|
+
previousDeck: string;
|
|
35
|
+
decks: {
|
|
36
|
+
[x: string]: {
|
|
37
|
+
initialized: boolean;
|
|
38
|
+
active: string[];
|
|
39
|
+
activeCompanions?: {
|
|
40
|
+
[x: string]: string;
|
|
41
|
+
} | undefined;
|
|
42
|
+
inactive: string[];
|
|
43
|
+
solo?: string | undefined;
|
|
44
|
+
fullscreen: boolean;
|
|
45
|
+
plankSizing: {
|
|
46
|
+
[x: string]: number;
|
|
47
|
+
};
|
|
48
|
+
companionFrameSizing: {
|
|
49
|
+
[x: string]: number;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
previousMode: {
|
|
54
|
+
[x: string]: "solo" | "deck" | "solo--fullscreen";
|
|
55
|
+
};
|
|
56
|
+
}>>>, Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
|
|
57
|
+
dialogOpen: boolean;
|
|
58
|
+
dialogType?: "default" | "alert" | undefined;
|
|
59
|
+
dialogBlockAlign?: "start" | "end" | "center" | undefined;
|
|
60
|
+
dialogOverlayClasses?: string | undefined;
|
|
61
|
+
dialogOverlayStyle?: {
|
|
62
|
+
readonly [x: string]: any;
|
|
63
|
+
} | undefined;
|
|
64
|
+
dialogContent?: any;
|
|
65
|
+
popoverOpen: boolean;
|
|
66
|
+
popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
67
|
+
popoverAnchor?: any;
|
|
68
|
+
popoverAnchorId?: string | undefined;
|
|
69
|
+
popoverKind?: "base" | "card" | undefined;
|
|
70
|
+
popoverTitle?: string | [string, {
|
|
71
|
+
ns: string;
|
|
72
|
+
count?: number | undefined;
|
|
73
|
+
defaultValue?: string | undefined;
|
|
74
|
+
}] | undefined;
|
|
75
|
+
popoverContent?: any;
|
|
76
|
+
toasts: {
|
|
77
|
+
readonly description?: string | [string, {
|
|
78
|
+
ns: string;
|
|
79
|
+
count?: number | undefined;
|
|
80
|
+
defaultValue?: string | undefined;
|
|
81
|
+
}] | undefined;
|
|
82
|
+
readonly id: string;
|
|
83
|
+
readonly title?: string | [string, {
|
|
84
|
+
ns: string;
|
|
85
|
+
count?: number | undefined;
|
|
86
|
+
defaultValue?: string | undefined;
|
|
87
|
+
}] | undefined;
|
|
88
|
+
readonly icon?: string | undefined;
|
|
89
|
+
readonly duration?: number | undefined;
|
|
90
|
+
readonly closeLabel?: string | [string, {
|
|
91
|
+
ns: string;
|
|
92
|
+
count?: number | undefined;
|
|
93
|
+
defaultValue?: string | undefined;
|
|
94
|
+
}] | undefined;
|
|
95
|
+
readonly actionLabel?: string | [string, {
|
|
96
|
+
ns: string;
|
|
97
|
+
count?: number | undefined;
|
|
98
|
+
defaultValue?: string | undefined;
|
|
99
|
+
}] | undefined;
|
|
100
|
+
readonly actionAlt?: string | [string, {
|
|
101
|
+
ns: string;
|
|
102
|
+
count?: number | undefined;
|
|
103
|
+
defaultValue?: string | undefined;
|
|
104
|
+
}] | undefined;
|
|
105
|
+
readonly onAction?: any;
|
|
106
|
+
}[];
|
|
107
|
+
currentUndoId?: string | undefined;
|
|
108
|
+
scrollIntoView?: string | undefined;
|
|
109
|
+
}, {
|
|
110
|
+
dialogOpen: boolean;
|
|
111
|
+
dialogType?: "default" | "alert" | undefined;
|
|
112
|
+
dialogBlockAlign?: "start" | "end" | "center" | undefined;
|
|
113
|
+
dialogOverlayClasses?: string | undefined;
|
|
114
|
+
dialogOverlayStyle?: {
|
|
115
|
+
readonly [x: string]: any;
|
|
116
|
+
} | undefined;
|
|
117
|
+
dialogContent?: any;
|
|
118
|
+
popoverOpen: boolean;
|
|
119
|
+
popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
120
|
+
popoverAnchor?: any;
|
|
121
|
+
popoverAnchorId?: string | undefined;
|
|
122
|
+
popoverKind?: "base" | "card" | undefined;
|
|
123
|
+
popoverTitle?: string | [string, {
|
|
124
|
+
ns: string;
|
|
125
|
+
count?: number | undefined;
|
|
126
|
+
defaultValue?: string | undefined;
|
|
127
|
+
}] | undefined;
|
|
128
|
+
popoverContent?: any;
|
|
129
|
+
toasts: {
|
|
130
|
+
readonly description?: string | [string, {
|
|
131
|
+
ns: string;
|
|
132
|
+
count?: number | undefined;
|
|
133
|
+
defaultValue?: string | undefined;
|
|
134
|
+
}] | undefined;
|
|
135
|
+
readonly id: string;
|
|
136
|
+
readonly title?: string | [string, {
|
|
137
|
+
ns: string;
|
|
138
|
+
count?: number | undefined;
|
|
139
|
+
defaultValue?: string | undefined;
|
|
140
|
+
}] | undefined;
|
|
141
|
+
readonly icon?: string | undefined;
|
|
142
|
+
readonly duration?: number | undefined;
|
|
143
|
+
readonly closeLabel?: string | [string, {
|
|
144
|
+
ns: string;
|
|
145
|
+
count?: number | undefined;
|
|
146
|
+
defaultValue?: string | undefined;
|
|
147
|
+
}] | undefined;
|
|
148
|
+
readonly actionLabel?: string | [string, {
|
|
149
|
+
ns: string;
|
|
150
|
+
count?: number | undefined;
|
|
151
|
+
defaultValue?: string | undefined;
|
|
152
|
+
}] | undefined;
|
|
153
|
+
readonly actionAlt?: string | [string, {
|
|
154
|
+
ns: string;
|
|
155
|
+
count?: number | undefined;
|
|
156
|
+
defaultValue?: string | undefined;
|
|
157
|
+
}] | undefined;
|
|
158
|
+
readonly onAction?: any;
|
|
159
|
+
}[];
|
|
160
|
+
currentUndoId?: string | undefined;
|
|
161
|
+
scrollIntoView?: string | undefined;
|
|
162
|
+
}>>>, Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Atom<Readonly<{
|
|
163
|
+
mode: string;
|
|
164
|
+
dialogOpen: boolean;
|
|
165
|
+
sidebarOpen: boolean;
|
|
166
|
+
complementarySidebarOpen: boolean;
|
|
167
|
+
workspace: string;
|
|
168
|
+
active: string[];
|
|
169
|
+
inactive: string[];
|
|
170
|
+
scrollIntoView: string | undefined;
|
|
171
|
+
}>>>>], Error>;
|
|
172
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/state/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAwD,CAAC"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { Atom } from '@effect-atom/atom-react';
|
|
2
|
+
import * as Effect from 'effect/Effect';
|
|
3
|
+
import { Capability } from '@dxos/app-framework';
|
|
4
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<Atom.Writable<{
|
|
5
|
+
sidebarState: "closed" | "collapsed" | "expanded";
|
|
6
|
+
complementarySidebarState: "closed" | "collapsed" | "expanded";
|
|
7
|
+
complementarySidebarPanel?: string | undefined;
|
|
8
|
+
activeDeck: string;
|
|
9
|
+
previousDeck: string;
|
|
10
|
+
decks: {
|
|
11
|
+
[x: string]: {
|
|
12
|
+
initialized: boolean;
|
|
13
|
+
active: string[];
|
|
14
|
+
activeCompanions?: {
|
|
15
|
+
[x: string]: string;
|
|
16
|
+
} | undefined;
|
|
17
|
+
inactive: string[];
|
|
18
|
+
solo?: string | undefined;
|
|
19
|
+
fullscreen: boolean;
|
|
20
|
+
plankSizing: {
|
|
21
|
+
[x: string]: number;
|
|
22
|
+
};
|
|
23
|
+
companionFrameSizing: {
|
|
24
|
+
[x: string]: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
previousMode: {
|
|
29
|
+
[x: string]: "solo" | "deck" | "solo--fullscreen";
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
sidebarState: "closed" | "collapsed" | "expanded";
|
|
33
|
+
complementarySidebarState: "closed" | "collapsed" | "expanded";
|
|
34
|
+
complementarySidebarPanel?: string | undefined;
|
|
35
|
+
activeDeck: string;
|
|
36
|
+
previousDeck: string;
|
|
37
|
+
decks: {
|
|
38
|
+
[x: string]: {
|
|
39
|
+
initialized: boolean;
|
|
40
|
+
active: string[];
|
|
41
|
+
activeCompanions?: {
|
|
42
|
+
[x: string]: string;
|
|
43
|
+
} | undefined;
|
|
44
|
+
inactive: string[];
|
|
45
|
+
solo?: string | undefined;
|
|
46
|
+
fullscreen: boolean;
|
|
47
|
+
plankSizing: {
|
|
48
|
+
[x: string]: number;
|
|
49
|
+
};
|
|
50
|
+
companionFrameSizing: {
|
|
51
|
+
[x: string]: number;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
previousMode: {
|
|
56
|
+
[x: string]: "solo" | "deck" | "solo--fullscreen";
|
|
57
|
+
};
|
|
58
|
+
}>>>, Capability.Capability<Capability.InterfaceDef<Atom.Writable<{
|
|
59
|
+
dialogOpen: boolean;
|
|
60
|
+
dialogType?: "default" | "alert" | undefined;
|
|
61
|
+
dialogBlockAlign?: "start" | "end" | "center" | undefined;
|
|
62
|
+
dialogOverlayClasses?: string | undefined;
|
|
63
|
+
dialogOverlayStyle?: {
|
|
64
|
+
readonly [x: string]: any;
|
|
65
|
+
} | undefined;
|
|
66
|
+
dialogContent?: any;
|
|
67
|
+
popoverOpen: boolean;
|
|
68
|
+
popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
69
|
+
popoverAnchor?: any;
|
|
70
|
+
popoverAnchorId?: string | undefined;
|
|
71
|
+
popoverKind?: "base" | "card" | undefined;
|
|
72
|
+
popoverTitle?: string | [string, {
|
|
73
|
+
ns: string;
|
|
74
|
+
count?: number | undefined;
|
|
75
|
+
defaultValue?: string | undefined;
|
|
76
|
+
}] | undefined;
|
|
77
|
+
popoverContent?: any;
|
|
78
|
+
toasts: {
|
|
79
|
+
readonly description?: string | [string, {
|
|
80
|
+
ns: string;
|
|
81
|
+
count?: number | undefined;
|
|
82
|
+
defaultValue?: string | undefined;
|
|
83
|
+
}] | undefined;
|
|
84
|
+
readonly id: string;
|
|
85
|
+
readonly title?: string | [string, {
|
|
86
|
+
ns: string;
|
|
87
|
+
count?: number | undefined;
|
|
88
|
+
defaultValue?: string | undefined;
|
|
89
|
+
}] | undefined;
|
|
90
|
+
readonly icon?: string | undefined;
|
|
91
|
+
readonly duration?: number | undefined;
|
|
92
|
+
readonly closeLabel?: string | [string, {
|
|
93
|
+
ns: string;
|
|
94
|
+
count?: number | undefined;
|
|
95
|
+
defaultValue?: string | undefined;
|
|
96
|
+
}] | undefined;
|
|
97
|
+
readonly actionLabel?: string | [string, {
|
|
98
|
+
ns: string;
|
|
99
|
+
count?: number | undefined;
|
|
100
|
+
defaultValue?: string | undefined;
|
|
101
|
+
}] | undefined;
|
|
102
|
+
readonly actionAlt?: string | [string, {
|
|
103
|
+
ns: string;
|
|
104
|
+
count?: number | undefined;
|
|
105
|
+
defaultValue?: string | undefined;
|
|
106
|
+
}] | undefined;
|
|
107
|
+
readonly onAction?: any;
|
|
108
|
+
}[];
|
|
109
|
+
currentUndoId?: string | undefined;
|
|
110
|
+
scrollIntoView?: string | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
dialogOpen: boolean;
|
|
113
|
+
dialogType?: "default" | "alert" | undefined;
|
|
114
|
+
dialogBlockAlign?: "start" | "end" | "center" | undefined;
|
|
115
|
+
dialogOverlayClasses?: string | undefined;
|
|
116
|
+
dialogOverlayStyle?: {
|
|
117
|
+
readonly [x: string]: any;
|
|
118
|
+
} | undefined;
|
|
119
|
+
dialogContent?: any;
|
|
120
|
+
popoverOpen: boolean;
|
|
121
|
+
popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
|
|
122
|
+
popoverAnchor?: any;
|
|
123
|
+
popoverAnchorId?: string | undefined;
|
|
124
|
+
popoverKind?: "base" | "card" | undefined;
|
|
125
|
+
popoverTitle?: string | [string, {
|
|
126
|
+
ns: string;
|
|
127
|
+
count?: number | undefined;
|
|
128
|
+
defaultValue?: string | undefined;
|
|
129
|
+
}] | undefined;
|
|
130
|
+
popoverContent?: any;
|
|
131
|
+
toasts: {
|
|
132
|
+
readonly description?: string | [string, {
|
|
133
|
+
ns: string;
|
|
134
|
+
count?: number | undefined;
|
|
135
|
+
defaultValue?: string | undefined;
|
|
136
|
+
}] | undefined;
|
|
137
|
+
readonly id: string;
|
|
138
|
+
readonly title?: string | [string, {
|
|
139
|
+
ns: string;
|
|
140
|
+
count?: number | undefined;
|
|
141
|
+
defaultValue?: string | undefined;
|
|
142
|
+
}] | undefined;
|
|
143
|
+
readonly icon?: string | undefined;
|
|
144
|
+
readonly duration?: number | undefined;
|
|
145
|
+
readonly closeLabel?: string | [string, {
|
|
146
|
+
ns: string;
|
|
147
|
+
count?: number | undefined;
|
|
148
|
+
defaultValue?: string | undefined;
|
|
149
|
+
}] | undefined;
|
|
150
|
+
readonly actionLabel?: string | [string, {
|
|
151
|
+
ns: string;
|
|
152
|
+
count?: number | undefined;
|
|
153
|
+
defaultValue?: string | undefined;
|
|
154
|
+
}] | undefined;
|
|
155
|
+
readonly actionAlt?: string | [string, {
|
|
156
|
+
ns: string;
|
|
157
|
+
count?: number | undefined;
|
|
158
|
+
defaultValue?: string | undefined;
|
|
159
|
+
}] | undefined;
|
|
160
|
+
readonly onAction?: any;
|
|
161
|
+
}[];
|
|
162
|
+
currentUndoId?: string | undefined;
|
|
163
|
+
scrollIntoView?: string | undefined;
|
|
164
|
+
}>>>, Capability.Capability<Capability.InterfaceDef<Atom.Atom<Readonly<{
|
|
165
|
+
mode: string;
|
|
166
|
+
dialogOpen: boolean;
|
|
167
|
+
sidebarOpen: boolean;
|
|
168
|
+
complementarySidebarOpen: boolean;
|
|
169
|
+
workspace: string;
|
|
170
|
+
active: string[];
|
|
171
|
+
inactive: string[];
|
|
172
|
+
scrollIntoView: string | undefined;
|
|
173
|
+
}>>>>], Error, Capability.Service>;
|
|
174
|
+
export default _default;
|
|
175
|
+
//# sourceMappingURL=state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/state/state.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CzD,wBAsDE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/toolkit/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,OAAO,iJAAwD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as Tool from '@effect/ai/Tool';
|
|
2
|
+
import * as Toolkit from '@effect/ai/Toolkit';
|
|
3
|
+
import * as Effect from 'effect/Effect';
|
|
4
|
+
import * as Schema from 'effect/Schema';
|
|
5
|
+
import { Capability, type CapabilityManager, Common } from '@dxos/app-framework';
|
|
6
|
+
import { ArtifactId } from '@dxos/assistant';
|
|
7
|
+
import { type SpaceId } from '@dxos/keys';
|
|
8
|
+
export declare namespace DeckToolkit {
|
|
9
|
+
const Toolkit: Toolkit.Toolkit<{
|
|
10
|
+
readonly "open-item": Tool.Tool<"open-item", {
|
|
11
|
+
readonly parameters: Schema.Struct<{
|
|
12
|
+
id: Schema.Schema<string, string, never> & {
|
|
13
|
+
toDXN: (reference: ArtifactId, owningSpaceId?: SpaceId) => import("@dxos/keys").DXN;
|
|
14
|
+
resolve: <S extends import("@dxos/echo/Type").Entity.Any>(schema: S, ref: ArtifactId) => Effect.Effect<Schema.Schema.Type<S>, import("@dxos/echo/Err").ObjectNotFoundError, import("@dxos/echo/Database").Service>;
|
|
15
|
+
};
|
|
16
|
+
}>;
|
|
17
|
+
readonly success: typeof Schema.Any;
|
|
18
|
+
readonly failure: typeof Schema.Never;
|
|
19
|
+
readonly failureMode: "error";
|
|
20
|
+
}, never>;
|
|
21
|
+
}>;
|
|
22
|
+
const createLayer: (capabilityManager: CapabilityManager.CapabilityManager) => import("effect/Layer").Layer<Tool.Handler<"open-item">, never, never>;
|
|
23
|
+
}
|
|
24
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Common.Capability.Toolkit>>, never, Capability.Service>;
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=toolkit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolkit.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/toolkit/toolkit.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAEjF,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAkB1C,yBAAiB,WAAW,CAAC;IACpB,MAAM,OAAO;;;;gEAXhB,CAAD;;;;;;;;MAW4B,CAAC;IAEzB,MAAM,WAAW,GAAI,mBAAmB,iBAAiB,CAAC,iBAAiB,0EAiB9E,CAAC;CACN;;AAED,wBASE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/tools/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,KAAK,oEAAoD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability, type PromiseIntentDispatcher } from '@dxos/app-framework';
|
|
3
|
+
declare global {
|
|
4
|
+
interface ToolContextExtensions {
|
|
5
|
+
dispatch?: PromiseIntentDispatcher;
|
|
6
|
+
pivotId?: string;
|
|
7
|
+
part?: 'deck' | 'dialog';
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<any>, never, never>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/tools/tools.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAEL,UAAU,EAEV,KAAK,uBAAuB,EAE7B,MAAM,qBAAqB,CAAC;AAS7B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,CAAC,EAAE,uBAAuB,CAAC;QACnC,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;KAC1B;CACF;;AAED,wBA0DE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/url-handler/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,UAAU,8FAA+D,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<null>>, Error, Capability.Service>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=url-handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-handler.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/url-handler/url-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAC;;AAMzD,wBAkFE"}
|