@dxos/plugin-attention 0.8.4-main.d05673bc65 → 0.8.4-main.d9fc60f731

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 (114) hide show
  1. package/LICENSE +102 -5
  2. package/README.md +1 -1
  3. package/dist/lib/neutral/AttentionPlugin.mjs +9 -0
  4. package/dist/lib/neutral/capabilities/index.mjs +11 -0
  5. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  6. package/dist/lib/{browser/index.mjs → neutral/chunk-DPUSNLAH.mjs} +15 -38
  7. package/dist/lib/neutral/chunk-DPUSNLAH.mjs.map +7 -0
  8. package/dist/lib/neutral/chunk-DTGSOFCE.mjs +41 -0
  9. package/dist/lib/neutral/chunk-DTGSOFCE.mjs.map +7 -0
  10. package/dist/lib/neutral/chunk-GMJVXKMY.mjs +21 -0
  11. package/dist/lib/neutral/chunk-GMJVXKMY.mjs.map +7 -0
  12. package/dist/lib/neutral/chunk-QSTYRKHK.mjs +8 -0
  13. package/dist/lib/neutral/chunk-QSTYRKHK.mjs.map +7 -0
  14. package/dist/lib/{browser/types → neutral}/index.mjs +6 -4
  15. package/dist/lib/{browser/keyboard-AV3LSVDV.mjs → neutral/keyboard-6CPNUR24.mjs} +3 -6
  16. package/dist/lib/neutral/keyboard-6CPNUR24.mjs.map +7 -0
  17. package/dist/lib/neutral/meta.json +1 -0
  18. package/dist/lib/neutral/meta.mjs +7 -0
  19. package/dist/lib/neutral/meta.mjs.map +7 -0
  20. package/dist/lib/neutral/operation-handler-O5PDEBTC.mjs +11 -0
  21. package/dist/lib/neutral/operation-handler-O5PDEBTC.mjs.map +7 -0
  22. package/dist/lib/neutral/operations/index.mjs +7 -0
  23. package/dist/lib/neutral/operations/index.mjs.map +7 -0
  24. package/dist/lib/neutral/plugin.mjs +15 -0
  25. package/dist/lib/neutral/plugin.mjs.map +7 -0
  26. package/dist/lib/{browser/react-context-GCD36IDC.mjs → neutral/react-context-W7BGQDHK.mjs} +4 -7
  27. package/dist/lib/neutral/react-context-W7BGQDHK.mjs.map +7 -0
  28. package/dist/lib/neutral/select-CI2OLVWT.mjs +46 -0
  29. package/dist/lib/neutral/select-CI2OLVWT.mjs.map +7 -0
  30. package/dist/lib/neutral/testing.mjs +7 -0
  31. package/dist/lib/neutral/testing.mjs.map +7 -0
  32. package/dist/lib/neutral/types/index.mjs +11 -0
  33. package/dist/lib/neutral/types/index.mjs.map +7 -0
  34. package/dist/types/src/AttentionPlugin.d.ts +1 -0
  35. package/dist/types/src/AttentionPlugin.d.ts.map +1 -1
  36. package/dist/types/src/AttentionPlugin.test.d.ts +2 -0
  37. package/dist/types/src/AttentionPlugin.test.d.ts.map +1 -0
  38. package/dist/types/src/capabilities/index.d.ts +9 -3
  39. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  40. package/dist/types/src/capabilities/keyboard.d.ts.map +1 -0
  41. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  42. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  43. package/dist/types/src/capabilities/react-context.d.ts.map +1 -0
  44. package/dist/types/src/index.d.ts +0 -2
  45. package/dist/types/src/index.d.ts.map +1 -1
  46. package/dist/types/src/meta.d.ts +1 -1
  47. package/dist/types/src/meta.d.ts.map +1 -1
  48. package/dist/types/src/operations/index.d.ts +3 -0
  49. package/dist/types/src/operations/index.d.ts.map +1 -0
  50. package/dist/types/src/operations/select.d.ts +5 -0
  51. package/dist/types/src/operations/select.d.ts.map +1 -0
  52. package/dist/types/src/plugin.d.ts +4 -0
  53. package/dist/types/src/plugin.d.ts.map +1 -0
  54. package/dist/types/src/testing.d.ts +2 -0
  55. package/dist/types/src/testing.d.ts.map +1 -0
  56. package/dist/types/src/types/capabilities.d.ts.map +1 -1
  57. package/dist/types/src/types/events.d.ts.map +1 -1
  58. package/dist/types/src/types/types.d.ts +0 -36
  59. package/dist/types/src/types/types.d.ts.map +1 -1
  60. package/dist/types/tsconfig.tsbuildinfo +1 -1
  61. package/package.json +49 -26
  62. package/src/AttentionPlugin.test.ts +32 -0
  63. package/src/AttentionPlugin.ts +8 -6
  64. package/src/capabilities/index.ts +9 -3
  65. package/src/capabilities/{keyboard/keyboard.ts → keyboard.ts} +1 -1
  66. package/src/capabilities/operation-handler.ts +16 -0
  67. package/src/capabilities/{react-context/react-context.tsx → react-context.tsx} +2 -2
  68. package/src/index.ts +0 -3
  69. package/src/meta.ts +7 -4
  70. package/src/operations/index.ts +7 -0
  71. package/src/operations/select.ts +43 -0
  72. package/src/plugin.ts +11 -0
  73. package/src/testing.ts +7 -0
  74. package/src/types/capabilities.ts +1 -1
  75. package/src/types/events.ts +1 -1
  76. package/src/types/types.ts +1 -21
  77. package/dist/lib/browser/chunk-JO3EOIIM.mjs +0 -79
  78. package/dist/lib/browser/chunk-JO3EOIIM.mjs.map +0 -7
  79. package/dist/lib/browser/index.mjs.map +0 -7
  80. package/dist/lib/browser/keyboard-AV3LSVDV.mjs.map +0 -7
  81. package/dist/lib/browser/meta.json +0 -1
  82. package/dist/lib/browser/operation-resolver-FH44CQ25.mjs +0 -52
  83. package/dist/lib/browser/operation-resolver-FH44CQ25.mjs.map +0 -7
  84. package/dist/lib/browser/react-context-GCD36IDC.mjs.map +0 -7
  85. package/dist/lib/node-esm/chunk-CRCKBQIM.mjs +0 -81
  86. package/dist/lib/node-esm/chunk-CRCKBQIM.mjs.map +0 -7
  87. package/dist/lib/node-esm/index.mjs +0 -84
  88. package/dist/lib/node-esm/index.mjs.map +0 -7
  89. package/dist/lib/node-esm/keyboard-STZXDVX7.mjs +0 -23
  90. package/dist/lib/node-esm/keyboard-STZXDVX7.mjs.map +0 -7
  91. package/dist/lib/node-esm/meta.json +0 -1
  92. package/dist/lib/node-esm/operation-resolver-WLB3FSCG.mjs +0 -53
  93. package/dist/lib/node-esm/operation-resolver-WLB3FSCG.mjs.map +0 -7
  94. package/dist/lib/node-esm/react-context-WMKDSFBF.mjs +0 -30
  95. package/dist/lib/node-esm/react-context-WMKDSFBF.mjs.map +0 -7
  96. package/dist/lib/node-esm/types/index.mjs +0 -14
  97. package/dist/types/src/capabilities/keyboard/index.d.ts +0 -3
  98. package/dist/types/src/capabilities/keyboard/index.d.ts.map +0 -1
  99. package/dist/types/src/capabilities/keyboard/keyboard.d.ts.map +0 -1
  100. package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -3
  101. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
  102. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
  103. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
  104. package/dist/types/src/capabilities/react-context/index.d.ts +0 -7
  105. package/dist/types/src/capabilities/react-context/index.d.ts.map +0 -1
  106. package/dist/types/src/capabilities/react-context/react-context.d.ts.map +0 -1
  107. package/src/capabilities/keyboard/index.ts +0 -7
  108. package/src/capabilities/operation-resolver/index.ts +0 -7
  109. package/src/capabilities/operation-resolver/operation-resolver.ts +0 -45
  110. package/src/capabilities/react-context/index.ts +0 -7
  111. /package/dist/lib/{browser/types/index.mjs.map → neutral/AttentionPlugin.mjs.map} +0 -0
  112. /package/dist/lib/{node-esm/types → neutral}/index.mjs.map +0 -0
  113. /package/dist/types/src/capabilities/{keyboard/keyboard.d.ts → keyboard.d.ts} +0 -0
  114. /package/dist/types/src/capabilities/{react-context/react-context.d.ts → react-context.d.ts} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/operations/select.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport * as Match from 'effect/Match';\n\nimport { Capability } from '@dxos/app-framework';\nimport { LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/compute';\n\nimport { AttentionCapabilities } from '../types';\n\nconst handler: Operation.WithHandler<typeof LayoutOperation.Select> = LayoutOperation.Select.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const selection = yield* Capability.get(AttentionCapabilities.Selection);\n Match.value(input.subject).pipe(\n Match.when({ mode: 'single', id: undefined }, () => {\n selection.clearSelection(input.contextId);\n }),\n Match.when({ mode: 'single' }, (s) => {\n selection.updateSingle(input.contextId, s.id!);\n }),\n Match.when({ mode: 'multi' }, (s) => {\n selection.updateMulti(input.contextId, s.ids);\n }),\n Match.when({ mode: 'range', from: undefined, to: undefined }, () => {\n selection.clearSelection(input.contextId);\n }),\n Match.when({ mode: 'range' }, (s) => {\n selection.updateRange(input.contextId, s.from!, s.to!);\n }),\n Match.when({ mode: 'multi-range' }, (s) => {\n selection.updateMultiRange(input.contextId, s.ranges);\n }),\n Match.exhaustive,\n );\n }),\n ),\n);\n\nexport default handler;\n"],
5
+ "mappings": ";;;;;AAIA,YAAYA,YAAY;AACxB,YAAYC,WAAW;AAEvB,SAASC,kBAAkB;AAC3B,SAASC,uBAAuB;AAChC,SAASC,iBAAiB;AAI1B,IAAMC,UAAgEC,gBAAgBC,OAAOC,KAC3FC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,QAAMC,YAAY,OAAOC,WAAWC,IAAIC,sBAAsBC,SAAS;AACvEC,EAAMC,YAAMP,MAAMQ,OAAO,EAAEZ,KACnBa,WAAK;IAAEC,MAAM;IAAUC,IAAIC;EAAU,GAAG,MAAA;AAC5CX,cAAUY,eAAeb,MAAMc,SAAS;EAC1C,CAAA,GACML,WAAK;IAAEC,MAAM;EAAS,GAAG,CAACK,MAAAA;AAC9Bd,cAAUe,aAAahB,MAAMc,WAAWC,EAAEJ,EAAE;EAC9C,CAAA,GACMF,WAAK;IAAEC,MAAM;EAAQ,GAAG,CAACK,MAAAA;AAC7Bd,cAAUgB,YAAYjB,MAAMc,WAAWC,EAAEG,GAAG;EAC9C,CAAA,GACMT,WAAK;IAAEC,MAAM;IAASS,MAAMP;IAAWQ,IAAIR;EAAU,GAAG,MAAA;AAC5DX,cAAUY,eAAeb,MAAMc,SAAS;EAC1C,CAAA,GACML,WAAK;IAAEC,MAAM;EAAQ,GAAG,CAACK,MAAAA;AAC7Bd,cAAUoB,YAAYrB,MAAMc,WAAWC,EAAEI,MAAOJ,EAAEK,EAAE;EACtD,CAAA,GACMX,WAAK;IAAEC,MAAM;EAAc,GAAG,CAACK,MAAAA;AACnCd,cAAUqB,iBAAiBtB,MAAMc,WAAWC,EAAEQ,MAAM;EACtD,CAAA,GACMC,gBAAU;AAEpB,CAAA,CAAA,CAAA;AAIJ,IAAA,iBAAe/B;",
6
+ "names": ["Effect", "Match", "Capability", "LayoutOperation", "Operation", "handler", "LayoutOperation", "Select", "pipe", "Operation", "withHandler", "fnUntraced", "input", "selection", "Capability", "get", "AttentionCapabilities", "Selection", "Match", "value", "subject", "when", "mode", "id", "undefined", "clearSelection", "contextId", "s", "updateSingle", "updateMulti", "ids", "from", "to", "updateRange", "updateMultiRange", "ranges", "exhaustive"]
7
+ }
@@ -0,0 +1,7 @@
1
+ import {
2
+ AttentionPlugin
3
+ } from "./chunk-DPUSNLAH.mjs";
4
+ export {
5
+ AttentionPlugin
6
+ };
7
+ //# sourceMappingURL=testing.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1,11 @@
1
+ import {
2
+ AttentionAction,
3
+ AttentionCapabilities,
4
+ AttentionEvents
5
+ } from "../chunk-DTGSOFCE.mjs";
6
+ export {
7
+ AttentionAction,
8
+ AttentionCapabilities,
9
+ AttentionEvents
10
+ };
11
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -1,3 +1,4 @@
1
1
  import { Plugin } from '@dxos/app-framework';
2
2
  export declare const AttentionPlugin: Plugin.PluginFactory<void>;
3
+ export default AttentionPlugin;
3
4
  //# sourceMappingURL=AttentionPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttentionPlugin.d.ts","sourceRoot":"","sources":["../../../src/AttentionPlugin.ts"],"names":[],"mappings":"AAMA,OAAO,EAA+D,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAS1G,eAAO,MAAM,eAAe,4BA2B3B,CAAC"}
1
+ {"version":3,"file":"AttentionPlugin.d.ts","sourceRoot":"","sources":["../../../src/AttentionPlugin.ts"],"names":[],"mappings":"AAMA,OAAO,EAA+D,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAS1G,eAAO,MAAM,eAAe,4BA2B3B,CAAC;eAuBa,eAAe"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=AttentionPlugin.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttentionPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/AttentionPlugin.test.ts"],"names":[],"mappings":""}
@@ -1,4 +1,10 @@
1
- export * from './keyboard';
2
- export * from './operation-resolver';
3
- export * from './react-context';
1
+ import { Capability } from '@dxos/app-framework';
2
+ import { OperationHandlerSet } from '@dxos/compute';
3
+ export declare const Keyboard: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<null>>, Error>;
4
+ export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
5
+ export declare const ReactContext: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
6
+ id: string;
7
+ dependsOn?: string[];
8
+ context: import("react").FC<import("react").PropsWithChildren>;
9
+ }>>>, Error>;
4
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,QAAQ,8FAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY;;;;YAAmE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyboard.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/keyboard.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import type { OperationHandlerSet } from '@dxos/compute';
4
+ declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
5
+ export default _default;
6
+ //# sourceMappingURL=operation-handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-context.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-context.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,5 +1,3 @@
1
- export * from '@dxos/react-ui-attention';
2
- export * from './AttentionPlugin';
3
1
  export * from './meta';
4
2
  export * from './types';
5
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,0BAA0B,CAAC;AAEzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type Plugin } from '@dxos/app-framework';
1
+ import { Plugin } from '@dxos/app-framework';
2
2
  export declare const meta: Plugin.Meta;
3
3
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAOzB,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,IAAI,aASf,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { OperationHandlerSet } from '@dxos/compute';
2
+ export declare const AttentionOperationHandlerSet: OperationHandlerSet.OperationHandlerSet;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,4BAA4B,yCAAqD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.Select>;
4
+ export default handler;
5
+ //# sourceMappingURL=select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../src/operations/select.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,MAAM,CA2BjE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,4 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const AttentionPlugin: Plugin.PluginFactory<void>;
3
+ export { AttentionOperationHandlerSet } from './operations';
4
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,eAAe,4BAA6C,CAAC;AAE1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './AttentionPlugin';
2
+ //# sourceMappingURL=testing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/testing.ts"],"names":[],"mappings":"AAMA,cAAc,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAIxF,yBAAiB,qBAAqB,CAAC;IAC9B,MAAM,SAAS,2CAAuE,CAAC;IACvF,MAAM,SAAS,2CAAuE,CAAC;CAC/F"}
1
+ {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAIxF,yBAAiB,qBAAqB,CAAC,CAAC;IAC/B,MAAM,SAAS,2CAAuE,CAAC;IACvF,MAAM,SAAS,2CAAuE,CAAC;CAC/F"}
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/types/events.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,yBAAiB,eAAe,CAAC;IACxB,MAAM,cAAc,iCAA2D,CAAC;CACxF"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/types/events.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,yBAAiB,eAAe,CAAC,CAAC;IACzB,MAAM,cAAc,iCAA2D,CAAC;CACxF"}
@@ -1,5 +1,4 @@
1
1
  import * as Schema from 'effect/Schema';
2
- import { Capability } from '@dxos/app-framework';
3
2
  export declare namespace AttentionAction {
4
3
  const Select_base: Schema.TaggedClass<Select, `${string}.select`, {
5
4
  readonly _tag: Schema.tag<`${string}.select`>;
@@ -30,39 +29,4 @@ export declare namespace AttentionAction {
30
29
  }
31
30
  export {};
32
31
  }
33
- export declare namespace AttentionOperation {
34
- const Select: Omit<{
35
- readonly meta: {
36
- readonly key: `${string}.operation.select`;
37
- readonly name: "Select";
38
- readonly description: "Select items in an attention context.";
39
- };
40
- readonly services: readonly [typeof Capability.Service];
41
- readonly schema: {
42
- readonly input: Schema.Struct<{
43
- contextId: Schema.SchemaClass<string, string, never>;
44
- selection: Schema.mutable<Schema.Union<[Schema.mutable<Schema.Struct<{
45
- mode: Schema.Literal<["single"]>;
46
- id: Schema.optional<typeof Schema.String>;
47
- }>>, Schema.mutable<Schema.Struct<{
48
- mode: Schema.Literal<["multi"]>;
49
- ids: Schema.mutable<Schema.Array$<typeof Schema.String>>;
50
- }>>, Schema.mutable<Schema.Struct<{
51
- mode: Schema.Literal<["range"]>;
52
- from: Schema.optional<typeof Schema.String>;
53
- to: Schema.optional<typeof Schema.String>;
54
- }>>, Schema.mutable<Schema.Struct<{
55
- mode: Schema.Literal<["multi-range"]>;
56
- ranges: Schema.mutable<Schema.Array$<Schema.Struct<{
57
- from: typeof Schema.String;
58
- to: typeof Schema.String;
59
- }>>>;
60
- }>>]>>;
61
- }>;
62
- readonly output: typeof Schema.Void;
63
- };
64
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
65
- readonly executionMode: "sync" | "async";
66
- };
67
- }
68
32
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,yBAAiB,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;IAG/B,MAAM,OAAO,MAAO,SAAQ,WAM1B;KAAG;;CACN;AAED,yBAAiB,kBAAkB,CAAC;IAC3B,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAcjB,CAAC;CACJ"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,yBAAiB,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;IAGhC,MAAM,OAAO,MAAO,SAAQ,WAM1B;KAAG;;CACN"}