@dxos/plugin-attention 0.8.4-main.406dc2a → 0.8.4-main.422d1c7879

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 (93) hide show
  1. package/dist/lib/browser/chunk-BDLH2DQU.mjs +41 -0
  2. package/dist/lib/browser/chunk-BDLH2DQU.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +49 -68
  4. package/dist/lib/browser/index.mjs.map +4 -4
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/operations/index.mjs +7 -0
  7. package/dist/lib/browser/operations/index.mjs.map +7 -0
  8. package/dist/lib/browser/select-SKCOV6LN.mjs +46 -0
  9. package/dist/lib/browser/select-SKCOV6LN.mjs.map +7 -0
  10. package/dist/lib/browser/types/index.mjs +7 -4
  11. package/dist/lib/node-esm/chunk-GWUE2YCZ.mjs +43 -0
  12. package/dist/lib/node-esm/chunk-GWUE2YCZ.mjs.map +7 -0
  13. package/dist/lib/node-esm/index.mjs +49 -67
  14. package/dist/lib/node-esm/index.mjs.map +4 -4
  15. package/dist/lib/node-esm/meta.json +1 -1
  16. package/dist/lib/node-esm/operations/index.mjs +9 -0
  17. package/dist/lib/node-esm/operations/index.mjs.map +7 -0
  18. package/dist/lib/node-esm/select-G2YZ2R7L.mjs +47 -0
  19. package/dist/lib/node-esm/select-G2YZ2R7L.mjs.map +7 -0
  20. package/dist/lib/node-esm/types/index.mjs +7 -4
  21. package/dist/types/src/AttentionPlugin.d.ts +2 -1
  22. package/dist/types/src/AttentionPlugin.d.ts.map +1 -1
  23. package/dist/types/src/capabilities/index.d.ts +6 -5
  24. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  25. package/dist/types/src/capabilities/keyboard.d.ts +3 -2
  26. package/dist/types/src/capabilities/keyboard.d.ts.map +1 -1
  27. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  28. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  29. package/dist/types/src/capabilities/react-context.d.ts +4 -2
  30. package/dist/types/src/capabilities/react-context.d.ts.map +1 -1
  31. package/dist/types/src/index.d.ts +2 -5
  32. package/dist/types/src/index.d.ts.map +1 -1
  33. package/dist/types/src/meta.d.ts +2 -2
  34. package/dist/types/src/meta.d.ts.map +1 -1
  35. package/dist/types/src/operations/index.d.ts +3 -0
  36. package/dist/types/src/operations/index.d.ts.map +1 -0
  37. package/dist/types/src/operations/select.d.ts +5 -0
  38. package/dist/types/src/operations/select.d.ts.map +1 -0
  39. package/dist/types/src/types/capabilities.d.ts +7 -0
  40. package/dist/types/src/types/capabilities.d.ts.map +1 -0
  41. package/dist/types/src/types/events.d.ts +5 -0
  42. package/dist/types/src/types/events.d.ts.map +1 -0
  43. package/dist/types/src/types/index.d.ts +2 -0
  44. package/dist/types/src/types/index.d.ts.map +1 -1
  45. package/dist/types/src/types/types.d.ts +2 -2
  46. package/dist/types/tsconfig.tsbuildinfo +1 -1
  47. package/package.json +32 -22
  48. package/src/AttentionPlugin.ts +36 -35
  49. package/src/capabilities/index.ts +8 -6
  50. package/src/capabilities/keyboard.ts +15 -16
  51. package/src/capabilities/operation-handler.ts +16 -0
  52. package/src/capabilities/react-context.tsx +29 -25
  53. package/src/index.ts +2 -6
  54. package/src/meta.ts +8 -3
  55. package/src/operations/index.ts +7 -0
  56. package/src/operations/select.ts +43 -0
  57. package/src/types/capabilities.ts +13 -0
  58. package/src/types/events.ts +11 -0
  59. package/src/types/index.ts +2 -0
  60. package/src/types/types.ts +3 -3
  61. package/dist/lib/browser/chunk-EJ4ELAEO.mjs +0 -16
  62. package/dist/lib/browser/chunk-EJ4ELAEO.mjs.map +0 -7
  63. package/dist/lib/browser/chunk-NMXGUHSU.mjs +0 -10
  64. package/dist/lib/browser/chunk-NMXGUHSU.mjs.map +0 -7
  65. package/dist/lib/browser/chunk-SBLZSJTD.mjs +0 -25
  66. package/dist/lib/browser/chunk-SBLZSJTD.mjs.map +0 -7
  67. package/dist/lib/browser/intent-resolver-C3JE25O5.mjs +0 -51
  68. package/dist/lib/browser/intent-resolver-C3JE25O5.mjs.map +0 -7
  69. package/dist/lib/browser/keyboard-H7IAAFBN.mjs +0 -28
  70. package/dist/lib/browser/keyboard-H7IAAFBN.mjs.map +0 -7
  71. package/dist/lib/browser/react-context-7HCRTOWZ.mjs +0 -29
  72. package/dist/lib/browser/react-context-7HCRTOWZ.mjs.map +0 -7
  73. package/dist/lib/node-esm/chunk-FKQHPGTA.mjs +0 -17
  74. package/dist/lib/node-esm/chunk-FKQHPGTA.mjs.map +0 -7
  75. package/dist/lib/node-esm/chunk-GC4PRMVZ.mjs +0 -12
  76. package/dist/lib/node-esm/chunk-GC4PRMVZ.mjs.map +0 -7
  77. package/dist/lib/node-esm/chunk-YNOCLBTT.mjs +0 -26
  78. package/dist/lib/node-esm/chunk-YNOCLBTT.mjs.map +0 -7
  79. package/dist/lib/node-esm/intent-resolver-2IB4I23V.mjs +0 -52
  80. package/dist/lib/node-esm/intent-resolver-2IB4I23V.mjs.map +0 -7
  81. package/dist/lib/node-esm/keyboard-Y32WSEOC.mjs +0 -29
  82. package/dist/lib/node-esm/keyboard-Y32WSEOC.mjs.map +0 -7
  83. package/dist/lib/node-esm/react-context-7RDGSUXD.mjs +0 -30
  84. package/dist/lib/node-esm/react-context-7RDGSUXD.mjs.map +0 -7
  85. package/dist/types/src/capabilities/capabilities.d.ts +0 -6
  86. package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
  87. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  88. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  89. package/dist/types/src/events.d.ts +0 -4
  90. package/dist/types/src/events.d.ts.map +0 -1
  91. package/src/capabilities/capabilities.ts +0 -13
  92. package/src/capabilities/intent-resolver.ts +0 -43
  93. package/src/events.ts +0 -11
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/index.ts", "../../../src/AttentionPlugin.ts", "../../../src/capabilities/index.ts", "../../../src/events.ts"],
4
- "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nexport * from '@dxos/react-ui-attention';\n\nexport * from './AttentionPlugin';\nexport { AttentionCapabilities } from './capabilities';\nexport * from './events';\nexport * from './meta';\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Events, allOf, contributes, defineModule, definePlugin } from '@dxos/app-framework';\nimport { AttentionManager, SelectionManager } from '@dxos/react-ui-attention';\n\nimport { AttentionCapabilities, IntentResolver, Keyboard, ReactContext } from './capabilities';\nimport { AttentionEvents } from './events';\nimport { meta } from './meta';\n\nexport const AttentionPlugin = definePlugin(meta, () => [\n defineModule({\n id: `${meta.id}/module/attention`,\n activatesOn: Events.Startup,\n activatesAfter: [AttentionEvents.AttentionReady],\n activate: () => {\n const attention = new AttentionManager();\n const selection = new SelectionManager();\n setupDevtools(attention);\n return [\n contributes(AttentionCapabilities.Attention, attention),\n contributes(AttentionCapabilities.Selection, selection),\n ];\n },\n }),\n defineModule({\n id: `${meta.id}/module/react-context`,\n activatesOn: Events.Startup,\n activate: ReactContext,\n }),\n defineModule({\n id: `${meta.id}/module/keyboard`,\n activatesOn: allOf(Events.AppGraphReady, AttentionEvents.AttentionReady),\n activate: Keyboard,\n }),\n defineModule({\n id: `${meta.id}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: IntentResolver,\n }),\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.current;\n },\n get currentSpace() {\n for (const id of attention.current) {\n const [spaceId, objectId] = id.split(':');\n if (spaceId && objectId && spaceId.length === 33) {\n return spaceId;\n }\n }\n },\n };\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const IntentResolver = lazy(() => import('./intent-resolver'));\nexport const Keyboard = lazy(() => import('./keyboard'));\nexport const ReactContext = lazy(() => import('./react-context'));\n\nexport * from './capabilities';\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { defineEvent } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport namespace AttentionEvents {\n export const AttentionReady = defineEvent(`${meta.id}/event/attention-ready`);\n}\n"],
5
- "mappings": ";;;;;;;;;AAIA,cAAc;;;ACAd,SAASA,QAAQC,OAAOC,aAAaC,cAAcC,oBAAoB;AACvE,SAASC,kBAAkBC,wBAAwB;;;ACDnD,SAASC,YAAY;AAEd,IAAMC,iBAAiBC,KAAK,MAAM,OAAO,gCAAA,CAAA;AACzC,IAAMC,WAAWD,KAAK,MAAM,OAAO,yBAAA,CAAA;AACnC,IAAME,eAAeF,KAAK,MAAM,OAAO,8BAAA,CAAA;;;ACJ9C,SAASG,mBAAmB;UAIXC,kBAAAA;mBACFC,iBAAiBC,YAAY,GAAGC,KAAKC,EAAE,wBAAwB;AAC9E,GAFiBJ,oBAAAA,kBAAAA,CAAAA,EAAAA;;;;AFGV,IAAMK,kBAAkBC,aAAaC,MAAM,MAAM;EACtDC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBC,gBAAgB;MAACC,gBAAgBC;;IACjCC,UAAU,MAAA;AACR,YAAMC,YAAY,IAAIC,iBAAAA;AACtB,YAAMC,YAAY,IAAIC,iBAAAA;AACtBC,oBAAcJ,SAAAA;AACd,aAAO;QACLK,YAAYC,sBAAsBC,WAAWP,SAAAA;QAC7CK,YAAYC,sBAAsBE,WAAWN,SAAAA;;IAEjD;EACF,CAAA;EACAX,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBI,UAAUU;EACZ,CAAA;EACAlB,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaiB,MAAMhB,OAAOiB,eAAed,gBAAgBC,cAAc;IACvEC,UAAUa;EACZ,CAAA;EACArB,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOmB;IACpBd,UAAUe;EACZ,CAAA;CACD;AAED,IAAMV,gBAAgB,CAACJ,cAAAA;MACpBe;AAAD,GAACA,cAAAA,YAAmBC,aAAnBD,YAAmBC,WAAa,CAAC;AAEjCD,aAAmBC,SAAShB,YAAY;IACvC,IAAIiB,UAAU;AACZ,aAAOjB;IACT;IACA,IAAIkB,WAAW;AACb,aAAOlB,UAAUmB;IACnB;IACA,IAAIC,eAAe;AACjB,iBAAW5B,MAAMQ,UAAUmB,SAAS;AAClC,cAAM,CAACE,SAASC,QAAAA,IAAY9B,GAAG+B,MAAM,GAAA;AACrC,YAAIF,WAAWC,YAAYD,QAAQG,WAAW,IAAI;AAChD,iBAAOH;QACT;MACF;IACF;EACF;AACF;",
6
- "names": ["Events", "allOf", "contributes", "defineModule", "definePlugin", "AttentionManager", "SelectionManager", "lazy", "IntentResolver", "lazy", "Keyboard", "ReactContext", "defineEvent", "AttentionEvents", "AttentionReady", "defineEvent", "meta", "id", "AttentionPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "Events", "Startup", "activatesAfter", "AttentionEvents", "AttentionReady", "activate", "attention", "AttentionManager", "selection", "SelectionManager", "setupDevtools", "contributes", "AttentionCapabilities", "Attention", "Selection", "ReactContext", "allOf", "AppGraphReady", "Keyboard", "SetupIntentResolver", "IntentResolver", "globalThis", "composer", "manager", "attended", "current", "currentSpace", "spaceId", "objectId", "split", "length"]
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"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/meta.ts":{"bytes":759,"imports":[],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":1730,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/types.ts":{"bytes":2227,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":459,"imports":[{"path":"src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":6004,"imports":[{"path":"effect/Match","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/keyboard.ts":{"bytes":3539,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/react-context.tsx":{"bytes":4129,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1355,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/keyboard.ts","kind":"dynamic-import","original":"./keyboard"},{"path":"src/capabilities/react-context.tsx","kind":"dynamic-import","original":"./react-context"}],"format":"esm"},"src/events.ts":{"bytes":1189,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/AttentionPlugin.ts":{"bytes":7402,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/index.ts":{"bytes":971,"imports":[{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/AttentionPlugin.ts","kind":"import-statement","original":"./AttentionPlugin"},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5006},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-FKQHPGTA.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-GC4PRMVZ.mjs","kind":"import-statement"},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/intent-resolver-2IB4I23V.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/keyboard-Y32WSEOC.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/react-context-7RDGSUXD.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["AttentionCapabilities","AttentionEvents","AttentionPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":42},"src/AttentionPlugin.ts":{"bytesInOutput":1636},"src/capabilities/index.ts":{"bytesInOutput":252},"src/events.ts":{"bytesInOutput":234}},"bytes":2603},"dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-YNOCLBTT.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-GC4PRMVZ.mjs","kind":"import-statement"}],"exports":["AttentionAction"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":248},"dist/lib/node-esm/intent-resolver-2IB4I23V.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3035},"dist/lib/node-esm/intent-resolver-2IB4I23V.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-YNOCLBTT.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FKQHPGTA.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-GC4PRMVZ.mjs","kind":"import-statement"},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":1219}},"bytes":1607},"dist/lib/node-esm/chunk-YNOCLBTT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1101},"dist/lib/node-esm/chunk-YNOCLBTT.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-GC4PRMVZ.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"exports":["AttentionAction"],"inputs":{"src/types/types.ts":{"bytesInOutput":494},"src/types/index.ts":{"bytesInOutput":0}},"bytes":731},"dist/lib/node-esm/keyboard-Y32WSEOC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1904},"dist/lib/node-esm/keyboard-Y32WSEOC.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-FKQHPGTA.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-GC4PRMVZ.mjs","kind":"import-statement"},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/keyboard.ts","inputs":{"src/capabilities/keyboard.ts":{"bytesInOutput":735}},"bytes":1044},"dist/lib/node-esm/react-context-7RDGSUXD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2076},"dist/lib/node-esm/react-context-7RDGSUXD.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-FKQHPGTA.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-GC4PRMVZ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-context.tsx","inputs":{"src/capabilities/react-context.tsx":{"bytesInOutput":694}},"bytes":1035},"dist/lib/node-esm/chunk-FKQHPGTA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":873},"dist/lib/node-esm/chunk-FKQHPGTA.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-GC4PRMVZ.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["AttentionCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":358}},"bytes":615},"dist/lib/node-esm/chunk-GC4PRMVZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":378},"dist/lib/node-esm/chunk-GC4PRMVZ.mjs":{"imports":[],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":71}},"bytes":243}}}
1
+ {"inputs":{"src/AttentionPlugin.ts":{"bytes":7976,"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/meta.ts":{"bytes":1376,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":680,"imports":[{"path":"src/AttentionPlugin.ts","kind":"import-statement","original":"./AttentionPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/types/capabilities.ts":{"bytes":1725,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/events.ts":{"bytes":1255,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/types.ts":{"bytes":2225,"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":645,"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/operations/select.ts":{"bytes":5504,"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/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/index.ts":{"bytes":944,"imports":[{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/operations/select.ts","kind":"dynamic-import","original":"./select"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4946},"dist/lib/node-esm/index.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},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["AttentionPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/AttentionPlugin.ts":{"bytesInOutput":1892},"src/index.ts":{"bytesInOutput":0},"src/meta.ts":{"bytesInOutput":287}},"bytes":2396},"dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-GWUE2YCZ.mjs","kind":"import-statement"}],"exports":["AttentionAction","AttentionCapabilities","AttentionEvents"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":304},"dist/lib/node-esm/operations/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":484},"dist/lib/node-esm/operations/index.mjs":{"imports":[{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/select-G2YZ2R7L.mjs","kind":"dynamic-import"}],"exports":["AttentionOperationHandlerSet"],"entryPoint":"src/operations/index.ts","inputs":{"src/operations/index.ts":{"bytesInOutput":156}},"bytes":354},"dist/lib/node-esm/select-G2YZ2R7L.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2955},"dist/lib/node-esm/select-G2YZ2R7L.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-GWUE2YCZ.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/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/select.ts","inputs":{"src/operations/select.ts":{"bytesInOutput":1170}},"bytes":1440},"dist/lib/node-esm/chunk-GWUE2YCZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2472},"dist/lib/node-esm/chunk-GWUE2YCZ.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":1489}}}
@@ -0,0 +1,9 @@
1
+ import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
+
3
+ // src/operations/index.ts
4
+ import { OperationHandlerSet } from "@dxos/operation";
5
+ var AttentionOperationHandlerSet = OperationHandlerSet.lazy(() => import("../select-G2YZ2R7L.mjs"));
6
+ export {
7
+ AttentionOperationHandlerSet
8
+ };
9
+ //# sourceMappingURL=index.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/operation';\n\nexport const AttentionOperationHandlerSet = OperationHandlerSet.lazy(() => import('./select'));\n"],
5
+ "mappings": ";;;AAIA,SAASA,2BAA2B;AAE7B,IAAMC,+BAA+BC,oBAAoBC,KAAK,MAAM,OAAO,wBAAA,CAAA;",
6
+ "names": ["OperationHandlerSet", "AttentionOperationHandlerSet", "OperationHandlerSet", "lazy"]
7
+ }
@@ -0,0 +1,47 @@
1
+ import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
+ import {
3
+ AttentionCapabilities
4
+ } from "./chunk-GWUE2YCZ.mjs";
5
+
6
+ // src/operations/select.ts
7
+ import * as Effect from "effect/Effect";
8
+ import * as Match from "effect/Match";
9
+ import { Capability } from "@dxos/app-framework";
10
+ import { LayoutOperation } from "@dxos/app-toolkit";
11
+ import { Operation } from "@dxos/operation";
12
+ var handler = LayoutOperation.Select.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
13
+ const selection = yield* Capability.get(AttentionCapabilities.Selection);
14
+ Match.value(input.subject).pipe(Match.when({
15
+ mode: "single",
16
+ id: void 0
17
+ }, () => {
18
+ selection.clearSelection(input.contextId);
19
+ }), Match.when({
20
+ mode: "single"
21
+ }, (s) => {
22
+ selection.updateSingle(input.contextId, s.id);
23
+ }), Match.when({
24
+ mode: "multi"
25
+ }, (s) => {
26
+ selection.updateMulti(input.contextId, s.ids);
27
+ }), Match.when({
28
+ mode: "range",
29
+ from: void 0,
30
+ to: void 0
31
+ }, () => {
32
+ selection.clearSelection(input.contextId);
33
+ }), Match.when({
34
+ mode: "range"
35
+ }, (s) => {
36
+ selection.updateRange(input.contextId, s.from, s.to);
37
+ }), Match.when({
38
+ mode: "multi-range"
39
+ }, (s) => {
40
+ selection.updateMultiRange(input.contextId, s.ranges);
41
+ }), Match.exhaustive);
42
+ })));
43
+ var select_default = handler;
44
+ export {
45
+ select_default as default
46
+ };
47
+ //# sourceMappingURL=select-G2YZ2R7L.mjs.map
@@ -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/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"],
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
+ }
@@ -1,9 +1,12 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
  import {
3
- AttentionAction
4
- } from "../chunk-YNOCLBTT.mjs";
5
- import "../chunk-GC4PRMVZ.mjs";
3
+ AttentionAction,
4
+ AttentionCapabilities,
5
+ AttentionEvents
6
+ } from "../chunk-GWUE2YCZ.mjs";
6
7
  export {
7
- AttentionAction
8
+ AttentionAction,
9
+ AttentionCapabilities,
10
+ AttentionEvents
8
11
  };
9
12
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,3 @@
1
- export declare const AttentionPlugin: import("@dxos/app-framework").PluginFactory<void>;
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const AttentionPlugin: Plugin.PluginFactory<void>;
2
3
  //# sourceMappingURL=AttentionPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttentionPlugin.d.ts","sourceRoot":"","sources":["../../../src/AttentionPlugin.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,eAAe,mDA8B1B,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"}
@@ -1,9 +1,10 @@
1
- export declare const IntentResolver: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.IntentResolver>> | import("@dxos/app-framework").AnyCapability[]>>;
2
- export declare const Keyboard: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<null>> | import("@dxos/app-framework").AnyCapability[]>>;
3
- export declare const ReactContext: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Readonly<{
1
+ import { Capability } from '@dxos/app-framework';
2
+ import { OperationHandlerSet } from '@dxos/operation';
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<{
4
6
  id: string;
5
7
  dependsOn?: string[];
6
8
  context: import("react").FC<import("react").PropsWithChildren>;
7
- }>>> | import("@dxos/app-framework").AnyCapability[]>>;
8
- export * from './capabilities';
9
+ }>>>, Error>;
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,8RAA0C,CAAC;AACtE,eAAO,MAAM,QAAQ,yOAAmC,CAAC;AACzD,eAAO,MAAM,YAAY;;;;sDAAwC,CAAC;AAElE,cAAc,gBAAgB,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,iBAAiB,CAAC;AAEtD,eAAO,MAAM,QAAQ,8FAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY;;;;YAAmE,CAAC"}
@@ -1,4 +1,5 @@
1
- import { type PluginContext } from '@dxos/app-framework';
2
- declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<null>>;
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<null>>, Error, Capability.Service>;
3
4
  export default _default;
4
5
  //# sourceMappingURL=keyboard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"keyboard.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/keyboard.ts"],"names":[],"mappings":"AAOA,OAAO,EAAmC,KAAK,aAAa,EAAe,MAAM,qBAAqB,CAAC;yBAKvF,SAAS,aAAa;AAAtC,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;;AAK/D,wBAaE"}
@@ -0,0 +1,6 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import type { OperationHandlerSet } from '@dxos/operation';
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,iBAAiB,CAAC;;AAI3D,wBAIE"}
@@ -1,8 +1,10 @@
1
+ import * as Effect from 'effect/Effect';
1
2
  import React, { type PropsWithChildren } from 'react';
2
- declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Readonly<{
3
+ import { Capability } from '@dxos/app-framework';
4
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Readonly<{
3
5
  id: string;
4
6
  dependsOn?: string[];
5
7
  context: React.FC<PropsWithChildren>;
6
- }>>>;
8
+ }>>>, never, never>;
7
9
  export default _default;
8
10
  //# sourceMappingURL=react-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-context.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-context.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;;;;;;AAStD,wBAqBK"}
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,6 +1,3 @@
1
- export * from '@dxos/react-ui-attention';
2
- export * from './AttentionPlugin';
3
- export { AttentionCapabilities } from './capabilities';
4
- export * from './events';
5
- export * from './meta';
1
+ export { AttentionPlugin } from './AttentionPlugin';
2
+ export { meta } from './meta';
6
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,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
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,3 +1,3 @@
1
- import { type PluginMeta } from '@dxos/app-framework';
2
- export declare const meta: PluginMeta;
1
+ import { type Plugin } from '@dxos/app-framework';
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,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,IAAI,EAAE,UAGlB,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,IAOzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { OperationHandlerSet } from '@dxos/operation';
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,iBAAiB,CAAC;AAEtD,eAAO,MAAM,4BAA4B,yCAAqD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/operation';
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,iBAAiB,CAAC;AAI5C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,MAAM,CA2BjE,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Capability } from '@dxos/app-framework';
2
+ import { type AttentionManager, type SelectionManager } from '@dxos/react-ui-attention';
3
+ export declare namespace AttentionCapabilities {
4
+ const Attention: Capability.InterfaceDef<AttentionManager>;
5
+ const Selection: Capability.InterfaceDef<SelectionManager>;
6
+ }
7
+ //# sourceMappingURL=capabilities.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,5 @@
1
+ import { ActivationEvent } from '@dxos/app-framework';
2
+ export declare namespace AttentionEvents {
3
+ const AttentionReady: ActivationEvent.ActivationEvent;
4
+ }
5
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +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,2 +1,4 @@
1
+ export * from './capabilities';
2
+ export * from './events';
1
3
  export * from './types';
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import * as Schema from 'effect/Schema';
2
2
  export declare namespace AttentionAction {
3
- const Select_base: Schema.TaggedClass<Select, `${string}/select`, {
4
- readonly _tag: Schema.tag<`${string}/select`>;
3
+ const Select_base: Schema.TaggedClass<Select, `${string}.select`, {
4
+ readonly _tag: Schema.tag<`${string}.select`>;
5
5
  } & {
6
6
  input: Schema.Struct<{
7
7
  contextId: typeof Schema.String;