@dxos/plugin-attention 0.8.4-main.422d1c7879 → 0.8.4-main.4f23b4e393

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 (80) hide show
  1. package/dist/lib/neutral/AttentionPlugin.mjs +9 -0
  2. package/dist/lib/neutral/capabilities/index.mjs +11 -0
  3. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  4. package/dist/lib/{browser/index.mjs → neutral/chunk-DPUSNLAH.mjs} +3 -12
  5. package/dist/lib/{browser/index.mjs.map → neutral/chunk-DPUSNLAH.mjs.map} +4 -4
  6. package/dist/lib/{browser/chunk-BDLH2DQU.mjs → neutral/chunk-DTGSOFCE.mjs} +1 -1
  7. package/dist/lib/{browser/chunk-BDLH2DQU.mjs.map → neutral/chunk-DTGSOFCE.mjs.map} +2 -2
  8. package/dist/lib/neutral/chunk-PT4QDAR2.mjs +18 -0
  9. package/dist/lib/neutral/chunk-PT4QDAR2.mjs.map +7 -0
  10. package/dist/lib/{browser/operations/index.mjs → neutral/chunk-QSTYRKHK.mjs} +4 -3
  11. package/dist/lib/neutral/chunk-QSTYRKHK.mjs.map +7 -0
  12. package/dist/lib/{node-esm/types → neutral}/index.mjs +6 -3
  13. package/dist/lib/neutral/keyboard-6CPNUR24.mjs +19 -0
  14. package/dist/lib/neutral/keyboard-6CPNUR24.mjs.map +7 -0
  15. package/dist/lib/neutral/meta.json +1 -0
  16. package/dist/lib/neutral/meta.mjs +7 -0
  17. package/dist/lib/neutral/meta.mjs.map +7 -0
  18. package/dist/lib/neutral/operation-handler-O5PDEBTC.mjs +11 -0
  19. package/dist/lib/neutral/operation-handler-O5PDEBTC.mjs.map +7 -0
  20. package/dist/lib/neutral/operations/index.mjs +7 -0
  21. package/dist/lib/neutral/operations/index.mjs.map +7 -0
  22. package/dist/lib/neutral/plugin.mjs +15 -0
  23. package/dist/lib/neutral/plugin.mjs.map +7 -0
  24. package/dist/lib/neutral/react-context-W7BGQDHK.mjs +26 -0
  25. package/dist/lib/neutral/react-context-W7BGQDHK.mjs.map +7 -0
  26. package/dist/lib/{browser/select-SKCOV6LN.mjs → neutral/select-CI2OLVWT.mjs} +3 -3
  27. package/dist/lib/{browser/select-SKCOV6LN.mjs.map → neutral/select-CI2OLVWT.mjs.map} +1 -1
  28. package/dist/lib/neutral/testing.mjs +7 -0
  29. package/dist/lib/neutral/testing.mjs.map +7 -0
  30. package/dist/lib/{browser → neutral}/types/index.mjs +1 -1
  31. package/dist/lib/neutral/types/index.mjs.map +7 -0
  32. package/dist/types/src/AttentionPlugin.d.ts +1 -0
  33. package/dist/types/src/AttentionPlugin.d.ts.map +1 -1
  34. package/dist/types/src/AttentionPlugin.test.d.ts +2 -0
  35. package/dist/types/src/AttentionPlugin.test.d.ts.map +1 -0
  36. package/dist/types/src/capabilities/index.d.ts +1 -1
  37. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  38. package/dist/types/src/capabilities/keyboard.d.ts.map +1 -1
  39. package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
  40. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
  41. package/dist/types/src/capabilities/react-context.d.ts.map +1 -1
  42. package/dist/types/src/index.d.ts +2 -2
  43. package/dist/types/src/index.d.ts.map +1 -1
  44. package/dist/types/src/meta.d.ts.map +1 -1
  45. package/dist/types/src/operations/index.d.ts +1 -1
  46. package/dist/types/src/operations/index.d.ts.map +1 -1
  47. package/dist/types/src/operations/select.d.ts +1 -1
  48. package/dist/types/src/operations/select.d.ts.map +1 -1
  49. package/dist/types/src/plugin.d.ts +4 -0
  50. package/dist/types/src/plugin.d.ts.map +1 -0
  51. package/dist/types/src/testing.d.ts +2 -0
  52. package/dist/types/src/testing.d.ts.map +1 -0
  53. package/dist/types/src/types/capabilities.d.ts.map +1 -1
  54. package/dist/types/src/types/events.d.ts.map +1 -1
  55. package/dist/types/src/types/types.d.ts.map +1 -1
  56. package/dist/types/tsconfig.tsbuildinfo +1 -1
  57. package/package.json +43 -28
  58. package/src/AttentionPlugin.test.ts +32 -0
  59. package/src/AttentionPlugin.ts +2 -0
  60. package/src/capabilities/index.ts +1 -1
  61. package/src/capabilities/operation-handler.ts +1 -1
  62. package/src/index.ts +2 -2
  63. package/src/meta.ts +1 -0
  64. package/src/operations/index.ts +1 -1
  65. package/src/operations/select.ts +1 -1
  66. package/src/plugin.ts +11 -0
  67. package/src/testing.ts +7 -0
  68. package/dist/lib/browser/meta.json +0 -1
  69. package/dist/lib/browser/operations/index.mjs.map +0 -7
  70. package/dist/lib/node-esm/chunk-GWUE2YCZ.mjs +0 -43
  71. package/dist/lib/node-esm/chunk-GWUE2YCZ.mjs.map +0 -7
  72. package/dist/lib/node-esm/index.mjs +0 -71
  73. package/dist/lib/node-esm/index.mjs.map +0 -7
  74. package/dist/lib/node-esm/meta.json +0 -1
  75. package/dist/lib/node-esm/operations/index.mjs +0 -9
  76. package/dist/lib/node-esm/operations/index.mjs.map +0 -7
  77. package/dist/lib/node-esm/select-G2YZ2R7L.mjs +0 -47
  78. package/dist/lib/node-esm/select-G2YZ2R7L.mjs.map +0 -7
  79. /package/dist/lib/{browser/types/index.mjs.map → neutral/AttentionPlugin.mjs.map} +0 -0
  80. /package/dist/lib/{node-esm/types → neutral}/index.mjs.map +0 -0
@@ -0,0 +1,9 @@
1
+ import {
2
+ AttentionPlugin,
3
+ AttentionPlugin_default
4
+ } from "./chunk-DPUSNLAH.mjs";
5
+ export {
6
+ AttentionPlugin,
7
+ AttentionPlugin_default as default
8
+ };
9
+ //# sourceMappingURL=AttentionPlugin.mjs.map
@@ -0,0 +1,11 @@
1
+ // src/capabilities/index.ts
2
+ import { Capability } from "@dxos/app-framework";
3
+ var Keyboard = Capability.lazy("Keyboard", () => import("../keyboard-6CPNUR24.mjs"));
4
+ var OperationHandler = Capability.lazy("OperationHandler", () => import("../operation-handler-O5PDEBTC.mjs"));
5
+ var ReactContext = Capability.lazy("ReactContext", () => import("../react-context-W7BGQDHK.mjs"));
6
+ export {
7
+ Keyboard,
8
+ OperationHandler,
9
+ ReactContext
10
+ };
11
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/capabilities/index.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\nimport { OperationHandlerSet } from '@dxos/compute';\n\nexport const Keyboard = Capability.lazy('Keyboard', () => import('./keyboard'));\nexport const OperationHandler = Capability.lazy<OperationHandlerSet.OperationHandlerSet>(\n 'OperationHandler',\n () => import('./operation-handler'),\n);\nexport const ReactContext = Capability.lazy('ReactContext', () => import('./react-context'));\n"],
5
+ "mappings": ";AAIA,SAASA,kBAAkB;AAGpB,IAAMC,WAAWD,WAAWE,KAAK,YAAY,MAAM,OAAO,0BAAA,CAAA;AAC1D,IAAMC,mBAAmBH,WAAWE,KACzC,oBACA,MAAM,OAAO,mCAAA,CAAA;AAER,IAAME,eAAeJ,WAAWE,KAAK,gBAAgB,MAAM,OAAO,+BAAA,CAAA;",
6
+ "names": ["Capability", "Keyboard", "lazy", "OperationHandler", "ReactContext"]
7
+ }
@@ -51,19 +51,10 @@ var setupDevtools = (attention) => {
51
51
  }
52
52
  };
53
53
  };
54
+ var AttentionPlugin_default = AttentionPlugin;
54
55
 
55
- // src/meta.ts
56
- import { trim } from "@dxos/util";
57
- var meta2 = {
58
- id: "org.dxos.plugin.attention",
59
- name: "Attention",
60
- description: trim`
61
- Track and manage focused attention on objects across your workspace.
62
- Highlight items requiring action and coordinate team focus on priority work.
63
- `
64
- };
65
56
  export {
66
57
  AttentionPlugin,
67
- meta2 as meta
58
+ AttentionPlugin_default
68
59
  };
69
- //# sourceMappingURL=index.mjs.map
60
+ //# sourceMappingURL=chunk-DPUSNLAH.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/AttentionPlugin.ts", "../../../src/meta.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { ActivationEvent, ActivationEvents, Capabilities, Capability, Plugin } from '@dxos/app-framework';\nimport { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';\nimport { AttentionManager, SelectionManager } from '@dxos/react-ui-attention';\n\nimport { Keyboard, OperationHandler, ReactContext } from '#capabilities';\nimport { meta } from '#meta';\nimport { AttentionEvents } from '#types';\nimport { AttentionCapabilities } from '#types';\n\nexport const AttentionPlugin = Plugin.define(meta).pipe(\n AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),\n Plugin.addModule({\n id: 'attention',\n activatesOn: ActivationEvents.Startup,\n firesAfterActivation: [AttentionEvents.AttentionReady],\n activate: () =>\n Effect.gen(function* () {\n const registry = yield* Capability.get(Capabilities.AtomRegistry);\n const attention = new AttentionManager(registry);\n const selection = new SelectionManager(registry);\n setupDevtools(attention);\n return [\n Capability.contributes(AttentionCapabilities.Attention, attention),\n Capability.contributes(AttentionCapabilities.Selection, selection),\n ];\n }),\n }),\n Plugin.addModule({\n activatesOn: ActivationEvents.Startup,\n activate: ReactContext,\n }),\n Plugin.addModule({\n activatesOn: ActivationEvent.allOf(AppActivationEvents.AppGraphReady, AttentionEvents.AttentionReady),\n activate: Keyboard,\n }),\n Plugin.make,\n);\n\nconst setupDevtools = (attention: AttentionManager) => {\n (globalThis as any).composer ??= {};\n\n (globalThis as any).composer.attention = {\n get manager() {\n return attention;\n },\n get attended() {\n return attention.getCurrent();\n },\n get currentSpace() {\n for (const id of attention.getCurrent()) {\n const segments = id.split('/');\n if (segments.length > 1 && segments[1].length === 33) {\n return segments[1];\n }\n }\n },\n };\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.attention',\n name: 'Attention',\n description: trim`\n Track and manage focused attention on objects across your workspace.\n Highlight items requiring action and coordinate team focus on priority work.\n `,\n};\n"],
5
- "mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,iBAAiBC,kBAAkBC,cAAcC,YAAYC,cAAc;AACpF,SAASC,qBAAqBC,iBAAiB;AAC/C,SAASC,kBAAkBC,wBAAwB;AAEnD,SAASC,UAAUC,kBAAkBC,oBAAoB;AACzD,SAASC,YAAY;AACrB,SAASC,uBAAuB;AAChC,SAASC,6BAA6B;AAE/B,IAAMC,kBAAkBC,OAAOC,OAAOC,IAAAA,EAAMC,KACjDC,UAAUC,0BAA0B;EAAEC,UAAUC;AAAiB,CAAA,GACjEP,OAAOQ,UAAU;EACfC,IAAI;EACJC,aAAaC,iBAAiBC;EAC9BC,sBAAsB;IAACC,gBAAgBC;;EACvCT,UAAU,MACDU,WAAI,aAAA;AACT,UAAMC,WAAW,OAAOC,WAAWC,IAAIC,aAAaC,YAAY;AAChE,UAAMC,YAAY,IAAIC,iBAAiBN,QAAAA;AACvC,UAAMO,YAAY,IAAIC,iBAAiBR,QAAAA;AACvCS,kBAAcJ,SAAAA;AACd,WAAO;MACLJ,WAAWS,YAAYC,sBAAsBC,WAAWP,SAAAA;MACxDJ,WAAWS,YAAYC,sBAAsBE,WAAWN,SAAAA;;EAE5D,CAAA;AACJ,CAAA,GACAxB,OAAOQ,UAAU;EACfE,aAAaC,iBAAiBC;EAC9BN,UAAUyB;AACZ,CAAA,GACA/B,OAAOQ,UAAU;EACfE,aAAasB,gBAAgBC,MAAMC,oBAAoBC,eAAerB,gBAAgBC,cAAc;EACpGT,UAAU8B;AACZ,CAAA,GACApC,OAAOqC,IAAI;AAGb,IAAMX,gBAAgB,CAACJ,cAAAA;AACpBgB,aAAmBC,aAAa,CAAC;AAEjCD,aAAmBC,SAASjB,YAAY;IACvC,IAAIkB,UAAU;AACZ,aAAOlB;IACT;IACA,IAAImB,WAAW;AACb,aAAOnB,UAAUoB,WAAU;IAC7B;IACA,IAAIC,eAAe;AACjB,iBAAWlC,MAAMa,UAAUoB,WAAU,GAAI;AACvC,cAAME,WAAWnC,GAAGoC,MAAM,GAAA;AAC1B,YAAID,SAASE,SAAS,KAAKF,SAAS,CAAA,EAAGE,WAAW,IAAI;AACpD,iBAAOF,SAAS,CAAA;QAClB;MACF;IACF;EACF;AACF;;;AC1DA,SAASG,YAAY;AAEd,IAAMC,QAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaC;;;;AAIf;",
6
- "names": ["Effect", "ActivationEvent", "ActivationEvents", "Capabilities", "Capability", "Plugin", "AppActivationEvents", "AppPlugin", "AttentionManager", "SelectionManager", "Keyboard", "OperationHandler", "ReactContext", "meta", "AttentionEvents", "AttentionCapabilities", "AttentionPlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addOperationHandlerModule", "activate", "OperationHandler", "addModule", "id", "activatesOn", "ActivationEvents", "Startup", "firesAfterActivation", "AttentionEvents", "AttentionReady", "gen", "registry", "Capability", "get", "Capabilities", "AtomRegistry", "attention", "AttentionManager", "selection", "SelectionManager", "setupDevtools", "contributes", "AttentionCapabilities", "Attention", "Selection", "ReactContext", "ActivationEvent", "allOf", "AppActivationEvents", "AppGraphReady", "Keyboard", "make", "globalThis", "composer", "manager", "attended", "getCurrent", "currentSpace", "segments", "split", "length", "trim", "meta", "id", "name", "description", "trim"]
3
+ "sources": ["../../../src/AttentionPlugin.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { ActivationEvent, ActivationEvents, Capabilities, Capability, Plugin } from '@dxos/app-framework';\nimport { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';\nimport { AttentionManager, SelectionManager } from '@dxos/react-ui-attention';\n\nimport { Keyboard, OperationHandler, ReactContext } from '#capabilities';\nimport { meta } from '#meta';\nimport { AttentionEvents } from '#types';\nimport { AttentionCapabilities } from '#types';\n\nexport const AttentionPlugin = Plugin.define(meta).pipe(\n AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),\n Plugin.addModule({\n id: 'attention',\n activatesOn: ActivationEvents.Startup,\n firesAfterActivation: [AttentionEvents.AttentionReady],\n activate: () =>\n Effect.gen(function* () {\n const registry = yield* Capability.get(Capabilities.AtomRegistry);\n const attention = new AttentionManager(registry);\n const selection = new SelectionManager(registry);\n setupDevtools(attention);\n return [\n Capability.contributes(AttentionCapabilities.Attention, attention),\n Capability.contributes(AttentionCapabilities.Selection, selection),\n ];\n }),\n }),\n Plugin.addModule({\n activatesOn: ActivationEvents.Startup,\n activate: ReactContext,\n }),\n Plugin.addModule({\n activatesOn: ActivationEvent.allOf(AppActivationEvents.AppGraphReady, AttentionEvents.AttentionReady),\n activate: Keyboard,\n }),\n Plugin.make,\n);\n\nconst setupDevtools = (attention: AttentionManager) => {\n (globalThis as any).composer ??= {};\n\n (globalThis as any).composer.attention = {\n get manager() {\n return attention;\n },\n get attended() {\n return attention.getCurrent();\n },\n get currentSpace() {\n for (const id of attention.getCurrent()) {\n const segments = id.split('/');\n if (segments.length > 1 && segments[1].length === 33) {\n return segments[1];\n }\n }\n },\n };\n};\n\nexport default AttentionPlugin;\n"],
5
+ "mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,iBAAiBC,kBAAkBC,cAAcC,YAAYC,cAAc;AACpF,SAASC,qBAAqBC,iBAAiB;AAC/C,SAASC,kBAAkBC,wBAAwB;AAEnD,SAASC,UAAUC,kBAAkBC,oBAAoB;AACzD,SAASC,YAAY;AACrB,SAASC,uBAAuB;AAChC,SAASC,6BAA6B;AAE/B,IAAMC,kBAAkBX,OAAOY,OAAOJ,IAAAA,EAAMK,KACjDX,UAAUY,0BAA0B;EAAEC,UAAUT;AAAiB,CAAA,GACjEN,OAAOgB,UAAU;EACfC,IAAI;EACJC,aAAarB,iBAAiBsB;EAC9BC,sBAAsB;IAACX,gBAAgBY;;EACvCN,UAAU,MACDO,WAAI,aAAA;AACT,UAAMC,WAAW,OAAOxB,WAAWyB,IAAI1B,aAAa2B,YAAY;AAChE,UAAMC,YAAY,IAAIvB,iBAAiBoB,QAAAA;AACvC,UAAMI,YAAY,IAAIvB,iBAAiBmB,QAAAA;AACvCK,kBAAcF,SAAAA;AACd,WAAO;MACL3B,WAAW8B,YAAYnB,sBAAsBoB,WAAWJ,SAAAA;MACxD3B,WAAW8B,YAAYnB,sBAAsBqB,WAAWJ,SAAAA;;EAE5D,CAAA;AACJ,CAAA,GACA3B,OAAOgB,UAAU;EACfE,aAAarB,iBAAiBsB;EAC9BJ,UAAUR;AACZ,CAAA,GACAP,OAAOgB,UAAU;EACfE,aAAatB,gBAAgBoC,MAAM/B,oBAAoBgC,eAAexB,gBAAgBY,cAAc;EACpGN,UAAUV;AACZ,CAAA,GACAL,OAAOkC,IAAI;AAGb,IAAMN,gBAAgB,CAACF,cAAAA;AACpBS,aAAmBC,aAAa,CAAC;AAEjCD,aAAmBC,SAASV,YAAY;IACvC,IAAIW,UAAU;AACZ,aAAOX;IACT;IACA,IAAIY,WAAW;AACb,aAAOZ,UAAUa,WAAU;IAC7B;IACA,IAAIC,eAAe;AACjB,iBAAWvB,MAAMS,UAAUa,WAAU,GAAI;AACvC,cAAME,WAAWxB,GAAGyB,MAAM,GAAA;AAC1B,YAAID,SAASE,SAAS,KAAKF,SAAS,CAAA,EAAGE,WAAW,IAAI;AACpD,iBAAOF,SAAS,CAAA;QAClB;MACF;IACF;EACF;AACF;AAEA,IAAA,0BAAe9B;",
6
+ "names": ["Effect", "ActivationEvent", "ActivationEvents", "Capabilities", "Capability", "Plugin", "AppActivationEvents", "AppPlugin", "AttentionManager", "SelectionManager", "Keyboard", "OperationHandler", "ReactContext", "meta", "AttentionEvents", "AttentionCapabilities", "AttentionPlugin", "define", "pipe", "addOperationHandlerModule", "activate", "addModule", "id", "activatesOn", "Startup", "firesAfterActivation", "AttentionReady", "gen", "registry", "get", "AtomRegistry", "attention", "selection", "setupDevtools", "contributes", "Attention", "Selection", "allOf", "AppGraphReady", "make", "globalThis", "composer", "manager", "attended", "getCurrent", "currentSpace", "segments", "split", "length"]
7
7
  }
@@ -38,4 +38,4 @@ export {
38
38
  AttentionEvents,
39
39
  AttentionAction
40
40
  };
41
- //# sourceMappingURL=chunk-BDLH2DQU.mjs.map
41
+ //# sourceMappingURL=chunk-DTGSOFCE.mjs.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/types/capabilities.ts", "../../../src/types/events.ts", "../../../src/types/types.ts"],
4
4
  "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\nimport { type AttentionManager, type SelectionManager } from '@dxos/react-ui-attention';\n\nimport { meta } from '#meta';\n\nexport namespace AttentionCapabilities {\n export const Attention = Capability.make<AttentionManager>(`${meta.id}.capability.attention`);\n export const Selection = Capability.make<SelectionManager>(`${meta.id}.capability.selection`);\n}\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent } from '@dxos/app-framework';\n\nimport { meta } from '#meta';\n\nexport namespace AttentionEvents {\n export const AttentionReady = ActivationEvent.make(`${meta.id}.event.attention-ready`);\n}\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { SelectionSchema } from '@dxos/react-ui-attention';\n\nimport { meta } from '#meta';\n\nexport namespace AttentionAction {\n const ATTENTION_ACTION = `${meta.id}.action`;\n\n export class Select extends Schema.TaggedClass<Select>()(`${ATTENTION_ACTION}.select`, {\n input: Schema.Struct({\n contextId: Schema.String,\n selection: SelectionSchema,\n }),\n output: Schema.Void,\n }) {}\n}\n"],
5
- "mappings": ";AAIA,SAASA,kBAAkB;AAG3B,SAASC,YAAY;UAEJC,wBAAAA;yBACFC,YAAYC,WAAWC,KAAuB,GAAGC,KAAKC,EAAE,uBAAuB;yBAC/EC,YAAYJ,WAAWC,KAAuB,GAAGC,KAAKC,EAAE,uBAAuB;AAC9F,GAHiBL,0BAAAA,wBAAAA,CAAAA,EAAAA;;;;ACLjB,SAASO,uBAAuB;AAEhC,SAASC,QAAAA,aAAY;UAEJC,kBAAAA;mBACFC,iBAAiBC,gBAAgBC,KAAK,GAAGC,MAAKC,EAAE,wBAAwB;AACvF,GAFiBL,oBAAAA,kBAAAA,CAAAA,EAAAA;;;;ACJjB,YAAYM,YAAY;AAExB,SAASC,uBAAuB;AAEhC,SAASC,QAAAA,aAAY;UAEJC,kBAAAA;AACf,QAAMC,mBAAmB,GAAGC,MAAKC,EAAE;EAE5B,MAAMC,eAAsBC,mBAAW,EAAW,GAAGJ,gBAAAA,WAA2B;IACrFK,OAAcC,cAAO;MACnBC,WAAkBC;MAClBC,WAAWC;IACb,CAAA;IACAC,QAAeC;EACjB,CAAA,EAAA;EAAI;mBANST,SAAAA;AAOf,GAViBJ,oBAAAA,kBAAAA,CAAAA,EAAAA;;",
6
- "names": ["Capability", "meta", "AttentionCapabilities", "Attention", "Capability", "make", "meta", "id", "Selection", "ActivationEvent", "meta", "AttentionEvents", "AttentionReady", "ActivationEvent", "make", "meta", "id", "Schema", "SelectionSchema", "meta", "AttentionAction", "ATTENTION_ACTION", "meta", "id", "Select", "TaggedClass", "input", "Struct", "contextId", "String", "selection", "SelectionSchema", "output", "Void"]
5
+ "mappings": ";AAIA,SAASA,kBAAkB;AAG3B,SAASC,YAAY;UAEJC,wBAAAA;yBACFC,YAAYH,WAAWI,KAAuB,GAAGH,KAAKI,EAAE,uBAAuB;yBAC/EC,YAAYN,WAAWI,KAAuB,GAAGH,KAAKI,EAAE,uBAAuB;AAC9F,GAHiBH,0BAAAA,wBAAAA,CAAAA,EAAAA;;;;ACLjB,SAASK,uBAAuB;AAEhC,SAASC,QAAAA,aAAY;UAEJC,kBAAAA;mBACFC,iBAAiBH,gBAAgBI,KAAK,GAAGH,MAAKI,EAAE,wBAAwB;AACvF,GAFiBH,oBAAAA,kBAAAA,CAAAA,EAAAA;;;;ACJjB,YAAYI,YAAY;AAExB,SAASC,uBAAuB;AAEhC,SAASC,QAAAA,aAAY;UAEJC,kBAAAA;AACf,QAAMC,mBAAmB,GAAGF,MAAKG,EAAE;EAE5B,MAAMC,eAAsBC,mBAAW,EAAW,GAAGH,gBAAAA,WAA2B;IACrFI,OAAcC,cAAO;MACnBC,WAAkBC;MAClBC,WAAWX;IACb,CAAA;IACAY,QAAeC;EACjB,CAAA,EAAA;EAAI;mBANSR,SAAAA;AAOf,GAViBH,oBAAAA,kBAAAA,CAAAA,EAAAA;;",
6
+ "names": ["Capability", "meta", "AttentionCapabilities", "Attention", "make", "id", "Selection", "ActivationEvent", "meta", "AttentionEvents", "AttentionReady", "make", "id", "Schema", "SelectionSchema", "meta", "AttentionAction", "ATTENTION_ACTION", "id", "Select", "TaggedClass", "input", "Struct", "contextId", "String", "selection", "output", "Void"]
7
7
  }
@@ -0,0 +1,18 @@
1
+ // src/meta.ts
2
+ import { trim } from "@dxos/util";
3
+ var meta = {
4
+ id: "org.dxos.plugin.attention",
5
+ name: "Attention",
6
+ description: trim`
7
+ Track and manage focused attention on objects across your workspace.
8
+ Highlight items requiring action and coordinate team focus on priority work.
9
+ `,
10
+ tags: [
11
+ "system"
12
+ ]
13
+ };
14
+
15
+ export {
16
+ meta
17
+ };
18
+ //# sourceMappingURL=chunk-PT4QDAR2.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/meta.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.attention',\n name: 'Attention',\n description: trim`\n Track and manage focused attention on objects across your workspace.\n Highlight items requiring action and coordinate team focus on priority work.\n `,\n tags: ['system'],\n};\n"],
5
+ "mappings": ";AAKA,SAASA,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;IAAC;;AACT;",
6
+ "names": ["trim", "meta", "id", "name", "description", "tags"]
7
+ }
@@ -1,7 +1,8 @@
1
1
  // src/operations/index.ts
2
- import { OperationHandlerSet } from "@dxos/operation";
3
- var AttentionOperationHandlerSet = OperationHandlerSet.lazy(() => import("../select-SKCOV6LN.mjs"));
2
+ import { OperationHandlerSet } from "@dxos/compute";
3
+ var AttentionOperationHandlerSet = OperationHandlerSet.lazy(() => import("./select-CI2OLVWT.mjs"));
4
+
4
5
  export {
5
6
  AttentionOperationHandlerSet
6
7
  };
7
- //# sourceMappingURL=index.mjs.map
8
+ //# sourceMappingURL=chunk-QSTYRKHK.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/operations/index.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { OperationHandlerSet } from '@dxos/compute';\n\nexport const AttentionOperationHandlerSet = OperationHandlerSet.lazy(() => import('./select'));\n"],
5
+ "mappings": ";AAIA,SAASA,2BAA2B;AAE7B,IAAMC,+BAA+BD,oBAAoBE,KAAK,MAAM,OAAO,uBAAA,CAAA;",
6
+ "names": ["OperationHandlerSet", "AttentionOperationHandlerSet", "lazy"]
7
+ }
@@ -1,12 +1,15 @@
1
- import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
1
+ import {
2
+ meta
3
+ } from "./chunk-PT4QDAR2.mjs";
2
4
  import {
3
5
  AttentionAction,
4
6
  AttentionCapabilities,
5
7
  AttentionEvents
6
- } from "../chunk-GWUE2YCZ.mjs";
8
+ } from "./chunk-DTGSOFCE.mjs";
7
9
  export {
8
10
  AttentionAction,
9
11
  AttentionCapabilities,
10
- AttentionEvents
12
+ AttentionEvents,
13
+ meta
11
14
  };
12
15
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,19 @@
1
+ // src/capabilities/keyboard.ts
2
+ import * as Effect from "effect/Effect";
3
+ import { Capabilities, Capability } from "@dxos/app-framework";
4
+ import { Keyboard } from "@dxos/keyboard";
5
+ import { AttentionCapabilities } from "#types";
6
+ var keyboard_default = Capability.makeModule(Effect.fnUntraced(function* () {
7
+ const attention = yield* Capability.get(AttentionCapabilities.Attention);
8
+ const unsubscribe = attention.subscribeCurrent((current) => {
9
+ const id = current[0];
10
+ if (id) {
11
+ Keyboard.singleton.setCurrentContext(id);
12
+ }
13
+ });
14
+ return Capability.contributes(Capabilities.Null, null, () => Effect.sync(() => unsubscribe()));
15
+ }));
16
+ export {
17
+ keyboard_default as default
18
+ };
19
+ //# sourceMappingURL=keyboard-6CPNUR24.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/keyboard.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Keyboard } from '@dxos/keyboard';\n\nimport { AttentionCapabilities } from '#types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const attention = yield* Capability.get(AttentionCapabilities.Attention);\n\n const unsubscribe = attention.subscribeCurrent((current) => {\n const id = current[0];\n if (id) {\n Keyboard.singleton.setCurrentContext(id);\n }\n });\n\n return Capability.contributes(Capabilities.Null, null, () => Effect.sync(() => unsubscribe()));\n }),\n);\n"],
5
+ "mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,gBAAgB;AAEzB,SAASC,6BAA6B;AAEtC,IAAA,mBAAeF,WAAWG,WACjBC,kBAAW,aAAA;AAChB,QAAMC,YAAY,OAAOL,WAAWM,IAAIJ,sBAAsBK,SAAS;AAEvE,QAAMC,cAAcH,UAAUI,iBAAiB,CAACC,YAAAA;AAC9C,UAAMC,KAAKD,QAAQ,CAAA;AACnB,QAAIC,IAAI;AACNV,eAASW,UAAUC,kBAAkBF,EAAAA;IACvC;EACF,CAAA;AAEA,SAAOX,WAAWc,YAAYf,aAAagB,MAAM,MAAM,MAAaC,YAAK,MAAMR,YAAAA,CAAAA,CAAAA;AACjF,CAAA,CAAA;",
6
+ "names": ["Effect", "Capabilities", "Capability", "Keyboard", "AttentionCapabilities", "makeModule", "fnUntraced", "attention", "get", "Attention", "unsubscribe", "subscribeCurrent", "current", "id", "singleton", "setCurrentContext", "contributes", "Null", "sync"]
7
+ }
@@ -0,0 +1 @@
1
+ {"inputs":{"src/meta.ts":{"bytes":1397,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/capabilities.ts":{"bytes":1628,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/events.ts":{"bytes":1160,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/types.ts":{"bytes":2131,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":551,"imports":[{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/types/events.ts","kind":"import-statement","original":"./events"},{"path":"src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":449,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/AttentionPlugin.ts":{"bytes":7982,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/keyboard.ts":{"bytes":2713,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/operation-handler.ts":{"bytes":1679,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#operations","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/react-context.tsx":{"bytes":4534,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1593,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/keyboard.ts","kind":"dynamic-import","original":"./keyboard"},{"path":"src/capabilities/operation-handler.ts","kind":"dynamic-import","original":"./operation-handler"},{"path":"src/capabilities/react-context.tsx","kind":"dynamic-import","original":"./react-context"}],"format":"esm"},"src/operations/select.ts":{"bytes":5402,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/index.ts":{"bytes":843,"imports":[{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"src/operations/select.ts","kind":"dynamic-import","original":"./select"}],"format":"esm"},"src/plugin.ts":{"bytes":1095,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/operations/index.ts","kind":"import-statement","original":"./operations"},{"path":"#plugin","kind":"dynamic-import","external":true}],"format":"esm"},"src/testing.ts":{"bytes":673,"imports":[{"path":"src/AttentionPlugin.ts","kind":"import-statement","original":"./AttentionPlugin"}],"format":"esm"}},"outputs":{"dist/lib/neutral/keyboard-6CPNUR24.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1481},"dist/lib/neutral/keyboard-6CPNUR24.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/keyboard.ts","inputs":{"src/capabilities/keyboard.ts":{"bytesInOutput":618}},"bytes":739},"dist/lib/neutral/operation-handler-O5PDEBTC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":935},"dist/lib/neutral/operation-handler-O5PDEBTC.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#operations","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/operation-handler.ts","inputs":{"src/capabilities/operation-handler.ts":{"bytesInOutput":351}},"bytes":499},"dist/lib/neutral/react-context-W7BGQDHK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2297},"dist/lib/neutral/react-context-W7BGQDHK.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-context.tsx","inputs":{"src/capabilities/react-context.tsx":{"bytesInOutput":901}},"bytes":1038},"dist/lib/neutral/select-CI2OLVWT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2952},"dist/lib/neutral/select-CI2OLVWT.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-DTGSOFCE.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/select.ts","inputs":{"src/operations/select.ts":{"bytesInOutput":1168}},"bytes":1346},"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-PT4QDAR2.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-DTGSOFCE.mjs","kind":"import-statement"}],"exports":["AttentionAction","AttentionCapabilities","AttentionEvents","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":266},"dist/lib/neutral/AttentionPlugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/AttentionPlugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-DPUSNLAH.mjs","kind":"import-statement"}],"exports":["AttentionPlugin","default"],"entryPoint":"src/AttentionPlugin.ts","inputs":{},"bytes":198},"dist/lib/neutral/capabilities/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":871},"dist/lib/neutral/capabilities/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/neutral/keyboard-6CPNUR24.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/operation-handler-O5PDEBTC.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/react-context-W7BGQDHK.mjs","kind":"dynamic-import"}],"exports":["Keyboard","OperationHandler","ReactContext"],"entryPoint":"src/capabilities/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":346}},"bytes":469},"dist/lib/neutral/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/meta.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-PT4QDAR2.mjs","kind":"import-statement"}],"exports":["meta"],"entryPoint":"src/meta.ts","inputs":{},"bytes":100},"dist/lib/neutral/operations/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/operations/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-QSTYRKHK.mjs","kind":"import-statement"}],"exports":["AttentionOperationHandlerSet"],"entryPoint":"src/operations/index.ts","inputs":{},"bytes":150},"dist/lib/neutral/plugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":514},"dist/lib/neutral/plugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-PT4QDAR2.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-QSTYRKHK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["AttentionOperationHandlerSet","AttentionPlugin"],"entryPoint":"src/plugin.ts","inputs":{"src/plugin.ts":{"bytesInOutput":112}},"bytes":346},"dist/lib/neutral/chunk-PT4QDAR2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":693},"dist/lib/neutral/chunk-PT4QDAR2.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":314}},"bytes":393},"dist/lib/neutral/chunk-QSTYRKHK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":454},"dist/lib/neutral/chunk-QSTYRKHK.mjs":{"imports":[{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"dist/lib/neutral/select-CI2OLVWT.mjs","kind":"dynamic-import"}],"exports":["AttentionOperationHandlerSet"],"inputs":{"src/operations/index.ts":{"bytesInOutput":153}},"bytes":268},"dist/lib/neutral/testing.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/testing.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-DPUSNLAH.mjs","kind":"import-statement"}],"exports":["AttentionPlugin"],"entryPoint":"src/testing.ts","inputs":{"src/testing.ts":{"bytesInOutput":0}},"bytes":125},"dist/lib/neutral/chunk-DPUSNLAH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4186},"dist/lib/neutral/chunk-DPUSNLAH.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["AttentionPlugin","AttentionPlugin_default"],"inputs":{"src/AttentionPlugin.ts":{"bytesInOutput":1939}},"bytes":2067},"dist/lib/neutral/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/types/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-DTGSOFCE.mjs","kind":"import-statement"}],"exports":["AttentionAction","AttentionCapabilities","AttentionEvents"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":212},"dist/lib/neutral/chunk-DTGSOFCE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2394},"dist/lib/neutral/chunk-DTGSOFCE.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["AttentionAction","AttentionCapabilities","AttentionEvents"],"inputs":{"src/types/capabilities.ts":{"bytesInOutput":380},"src/types/index.ts":{"bytesInOutput":0},"src/types/events.ts":{"bytesInOutput":287},"src/types/types.ts":{"bytesInOutput":534}},"bytes":1396}}}
@@ -0,0 +1,7 @@
1
+ import {
2
+ meta
3
+ } from "./chunk-PT4QDAR2.mjs";
4
+ export {
5
+ meta
6
+ };
7
+ //# sourceMappingURL=meta.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1,11 @@
1
+ // src/capabilities/operation-handler.ts
2
+ import * as Effect from "effect/Effect";
3
+ import { Capabilities, Capability } from "@dxos/app-framework";
4
+ import { AttentionOperationHandlerSet } from "#operations";
5
+ var operation_handler_default = Capability.makeModule(Effect.fnUntraced(function* () {
6
+ return Capability.contributes(Capabilities.OperationHandler, AttentionOperationHandlerSet);
7
+ }));
8
+ export {
9
+ operation_handler_default as default
10
+ };
11
+ //# sourceMappingURL=operation-handler-O5PDEBTC.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/operation-handler.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport type { OperationHandlerSet } from '@dxos/compute';\n\nimport { AttentionOperationHandlerSet } from '#operations';\n\nexport default Capability.makeModule<OperationHandlerSet.OperationHandlerSet>(\n Effect.fnUntraced(function* () {\n return Capability.contributes(Capabilities.OperationHandler, AttentionOperationHandlerSet);\n }),\n);\n"],
5
+ "mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AAGzC,SAASC,oCAAoC;AAE7C,IAAA,4BAAeD,WAAWE,WACjBC,kBAAW,aAAA;AAChB,SAAOH,WAAWI,YAAYL,aAAaM,kBAAkBJ,4BAAAA;AAC/D,CAAA,CAAA;",
6
+ "names": ["Effect", "Capabilities", "Capability", "AttentionOperationHandlerSet", "makeModule", "fnUntraced", "contributes", "OperationHandler"]
7
+ }
@@ -0,0 +1,7 @@
1
+ import {
2
+ AttentionOperationHandlerSet
3
+ } from "../chunk-QSTYRKHK.mjs";
4
+ export {
5
+ AttentionOperationHandlerSet
6
+ };
7
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1,15 @@
1
+ import {
2
+ meta
3
+ } from "./chunk-PT4QDAR2.mjs";
4
+ import {
5
+ AttentionOperationHandlerSet
6
+ } from "./chunk-QSTYRKHK.mjs";
7
+
8
+ // src/plugin.ts
9
+ import { Plugin } from "@dxos/app-framework";
10
+ var AttentionPlugin = Plugin.lazy(meta, () => import("#plugin"));
11
+ export {
12
+ AttentionOperationHandlerSet,
13
+ AttentionPlugin
14
+ };
15
+ //# sourceMappingURL=plugin.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/plugin.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const AttentionPlugin = Plugin.lazy(meta, () => import('#plugin'));\n\nexport { AttentionOperationHandlerSet } from './operations';\n"],
5
+ "mappings": ";;;;;;;;AAIA,SAASA,cAAc;AAIhB,IAAMC,kBAAkBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
6
+ "names": ["Plugin", "AttentionPlugin", "Plugin", "lazy", "meta"]
7
+ }
@@ -0,0 +1,26 @@
1
+ // src/capabilities/react-context.tsx
2
+ import * as Effect from "effect/Effect";
3
+ import React from "react";
4
+ import { Capabilities, Capability } from "@dxos/app-framework";
5
+ import { useCapability } from "@dxos/app-framework/ui";
6
+ import { RootAttentionProvider, SelectionProvider } from "@dxos/react-ui-attention";
7
+ import { meta } from "#meta";
8
+ import { AttentionCapabilities } from "#types";
9
+ var react_context_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactContext, {
10
+ id: meta.id,
11
+ context: (props) => {
12
+ const attention = useCapability(AttentionCapabilities.Attention);
13
+ const selection = useCapability(AttentionCapabilities.Selection);
14
+ return /* @__PURE__ */ React.createElement(RootAttentionProvider, {
15
+ attention,
16
+ onChange: (nextAttended) => {
17
+ }
18
+ }, /* @__PURE__ */ React.createElement(SelectionProvider, {
19
+ selection
20
+ }, props.children));
21
+ }
22
+ })));
23
+ export {
24
+ react_context_default as default
25
+ };
26
+ //# sourceMappingURL=react-context-W7BGQDHK.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/react-context.tsx"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React, { type PropsWithChildren } from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { useCapability } from '@dxos/app-framework/ui';\nimport { RootAttentionProvider, SelectionProvider } from '@dxos/react-ui-attention';\n\nimport { meta } from '#meta';\nimport { AttentionCapabilities } from '#types';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactContext, {\n id: meta.id,\n context: (props: PropsWithChildren) => {\n const attention = useCapability(AttentionCapabilities.Attention);\n const selection = useCapability(AttentionCapabilities.Selection);\n\n return (\n <RootAttentionProvider\n attention={attention}\n onChange={(nextAttended) => {\n // TODO(Zan): Workout why this was in deck plugin. It didn't seem to work?\n // if (layout.values.scrollIntoView && nextAttended.has(layout.values.scrollIntoView)) {\n // layout.values.scrollIntoView = undefined;\n // }\n }}\n >\n <SelectionProvider selection={selection}>{props.children}</SelectionProvider>\n </RootAttentionProvider>\n );\n },\n }),\n ),\n);\n"],
5
+ "mappings": ";AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAuC;AAE9C,SAASC,cAAcC,kBAAkB;AACzC,SAASC,qBAAqB;AAC9B,SAASC,uBAAuBC,yBAAyB;AAEzD,SAASC,YAAY;AACrB,SAASC,6BAA6B;AAEtC,IAAA,wBAAeL,WAAWM,WAAW,MAC5BC,eACLP,WAAWQ,YAAYT,aAAaU,cAAc;EAChDC,IAAIN,KAAKM;EACTC,SAAS,CAACC,UAAAA;AACR,UAAMC,YAAYZ,cAAcI,sBAAsBS,SAAS;AAC/D,UAAMC,YAAYd,cAAcI,sBAAsBW,SAAS;AAE/D,WACE,sBAAA,cAACd,uBAAAA;MACCW;MACAI,UAAU,CAACC,iBAAAA;MAKX;OAEA,sBAAA,cAACf,mBAAAA;MAAkBY;OAAuBH,MAAMO,QAAQ,CAAA;EAG9D;AACF,CAAA,CAAA,CAAA;",
6
+ "names": ["Effect", "React", "Capabilities", "Capability", "useCapability", "RootAttentionProvider", "SelectionProvider", "meta", "AttentionCapabilities", "makeModule", "succeed", "contributes", "ReactContext", "id", "context", "props", "attention", "Attention", "selection", "Selection", "onChange", "nextAttended", "children"]
7
+ }
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AttentionCapabilities
3
- } from "./chunk-BDLH2DQU.mjs";
3
+ } from "./chunk-DTGSOFCE.mjs";
4
4
 
5
5
  // src/operations/select.ts
6
6
  import * as Effect from "effect/Effect";
7
7
  import * as Match from "effect/Match";
8
8
  import { Capability } from "@dxos/app-framework";
9
9
  import { LayoutOperation } from "@dxos/app-toolkit";
10
- import { Operation } from "@dxos/operation";
10
+ import { Operation } from "@dxos/compute";
11
11
  var handler = LayoutOperation.Select.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
12
12
  const selection = yield* Capability.get(AttentionCapabilities.Selection);
13
13
  Match.value(input.subject).pipe(Match.when({
@@ -43,4 +43,4 @@ var select_default = handler;
43
43
  export {
44
44
  select_default as default
45
45
  };
46
- //# sourceMappingURL=select-SKCOV6LN.mjs.map
46
+ //# sourceMappingURL=select-CI2OLVWT.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
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/operation';\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"],
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
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
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
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
+ }
@@ -2,7 +2,7 @@ import {
2
2
  AttentionAction,
3
3
  AttentionCapabilities,
4
4
  AttentionEvents
5
- } from "../chunk-BDLH2DQU.mjs";
5
+ } from "../chunk-DTGSOFCE.mjs";
6
6
  export {
7
7
  AttentionAction,
8
8
  AttentionCapabilities,
@@ -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,5 +1,5 @@
1
1
  import { Capability } from '@dxos/app-framework';
2
- import { OperationHandlerSet } from '@dxos/operation';
2
+ import { OperationHandlerSet } from '@dxos/compute';
3
3
  export declare const Keyboard: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<null>>, Error>;
4
4
  export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
5
5
  export declare const ReactContext: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
@@ -1 +1 @@
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,iBAAiB,CAAC;AAEtD,eAAO,MAAM,QAAQ,8FAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY;;;;YAAmE,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"}
@@ -1 +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;;AAK/D,wBAaE"}
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"}
@@ -1,6 +1,6 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
- import type { OperationHandlerSet } from '@dxos/operation';
3
+ import type { OperationHandlerSet } from '@dxos/compute';
4
4
  declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
5
5
  export default _default;
6
6
  //# sourceMappingURL=operation-handler.d.ts.map
@@ -1 +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,iBAAiB,CAAC;;AAI3D,wBAIE"}
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"}
@@ -1 +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;;;;;;AAO/D,wBAwBE"}
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,3 +1,3 @@
1
- export { AttentionPlugin } from './AttentionPlugin';
2
- export { meta } from './meta';
1
+ export * from './meta';
2
+ export * from './types';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
@@ -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,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAQzB,CAAC"}
@@ -1,3 +1,3 @@
1
- import { OperationHandlerSet } from '@dxos/operation';
1
+ import { OperationHandlerSet } from '@dxos/compute';
2
2
  export declare const AttentionOperationHandlerSet: OperationHandlerSet.OperationHandlerSet;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,4BAA4B,yCAAqD,CAAC"}
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"}
@@ -1,5 +1,5 @@
1
1
  import { LayoutOperation } from '@dxos/app-toolkit';
2
- import { Operation } from '@dxos/operation';
2
+ import { Operation } from '@dxos/compute';
3
3
  declare const handler: Operation.WithHandler<typeof LayoutOperation.Select>;
4
4
  export default handler;
5
5
  //# sourceMappingURL=select.d.ts.map
@@ -1 +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,iBAAiB,CAAC;AAI5C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,MAAM,CA2BjE,CAAC;AAEF,eAAe,OAAO,CAAC"}
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"}