@dxos/app-framework 0.8.3 → 0.8.4-main.2e9d522

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 (251) hide show
  1. package/.swc/plugins/v7_linux_x86_64_13.0.0/f45bdff002284d9e8f9ef3f0be909de12da36c049cbcf261ac78fc00abb09a2d +0 -0
  2. package/.swc/plugins/v7_linux_x86_64_13.0.0/fce1bdb8e20a094e4af08bad09cc81497ed0e2e7c51223b07d371063cca18429 +0 -0
  3. package/README.md +0 -8
  4. package/dist/lib/browser/{app-graph-builder-BI4VVKSW.mjs → app-graph-builder-LYF7EKNN.mjs} +4 -4
  5. package/dist/lib/browser/{chunk-EHM4UI3V.mjs → chunk-FMN65HSW.mjs} +26 -25
  6. package/dist/lib/browser/{chunk-EHM4UI3V.mjs.map → chunk-FMN65HSW.mjs.map} +3 -3
  7. package/dist/lib/browser/{chunk-DIBVO47Z.mjs → chunk-FO2PH7M3.mjs} +27 -18
  8. package/dist/lib/browser/{chunk-DIBVO47Z.mjs.map → chunk-FO2PH7M3.mjs.map} +3 -3
  9. package/dist/lib/browser/{chunk-WWEJRWFX.mjs → chunk-ORWHM7CO.mjs} +2 -2
  10. package/dist/lib/browser/index.mjs +10 -10
  11. package/dist/lib/browser/index.mjs.map +3 -3
  12. package/dist/lib/browser/{intent-dispatcher-XVBOMF2Y.mjs → intent-dispatcher-LSYQZSEB.mjs} +2 -2
  13. package/dist/lib/browser/{intent-resolver-3QMBXLIY.mjs → intent-resolver-ZTNOSO3A.mjs} +4 -4
  14. package/dist/lib/browser/meta.json +1 -1
  15. package/dist/lib/browser/{store-5H7XPJGA.mjs → store-KML2R4IE.mjs} +3 -3
  16. package/dist/lib/browser/testing/index.mjs +3 -3
  17. package/dist/lib/browser/worker.mjs +1 -1
  18. package/dist/lib/node-esm/{app-graph-builder-NROP6RPQ.mjs → app-graph-builder-SAOWGJDK.mjs} +4 -4
  19. package/dist/lib/node-esm/{chunk-FHNZZWP4.mjs → chunk-73HGSHKE.mjs} +27 -18
  20. package/dist/lib/node-esm/{chunk-FHNZZWP4.mjs.map → chunk-73HGSHKE.mjs.map} +3 -3
  21. package/dist/lib/node-esm/{chunk-I6BVZMAH.mjs → chunk-UMZQERLE.mjs} +2 -2
  22. package/dist/lib/node-esm/{chunk-2J6FVECI.mjs → chunk-ZEZ4FVEU.mjs} +26 -25
  23. package/dist/lib/node-esm/{chunk-2J6FVECI.mjs.map → chunk-ZEZ4FVEU.mjs.map} +3 -3
  24. package/dist/lib/node-esm/index.mjs +10 -10
  25. package/dist/lib/node-esm/index.mjs.map +3 -3
  26. package/dist/lib/node-esm/{intent-dispatcher-7JPGLCQ5.mjs → intent-dispatcher-6CYNGPSW.mjs} +2 -2
  27. package/dist/lib/node-esm/{intent-resolver-VY4X5UHN.mjs → intent-resolver-W7Z7WFFM.mjs} +4 -4
  28. package/dist/lib/node-esm/meta.json +1 -1
  29. package/dist/lib/node-esm/{store-UKD2R2KA.mjs → store-QEXGXLWZ.mjs} +3 -3
  30. package/dist/lib/node-esm/testing/index.mjs +3 -3
  31. package/dist/lib/node-esm/worker.mjs +1 -1
  32. package/dist/types/src/common/capabilities.d.ts +4 -2
  33. package/dist/types/src/common/capabilities.d.ts.map +1 -1
  34. package/dist/types/src/common/index.d.ts +1 -1
  35. package/dist/types/src/common/index.d.ts.map +1 -1
  36. package/dist/types/src/plugin-settings/translations.d.ts +7 -8
  37. package/dist/types/src/plugin-settings/translations.d.ts.map +1 -1
  38. package/dist/types/tsconfig.tsbuildinfo +1 -1
  39. package/moon.yml +14 -0
  40. package/package.json +28 -28
  41. package/src/App.tsx +3 -3
  42. package/src/common/capabilities.ts +9 -3
  43. package/src/common/index.ts +1 -1
  44. package/src/core/manager.test.ts +1 -2
  45. package/src/plugin-settings/SettingsPlugin.ts +1 -1
  46. package/src/plugin-settings/translations.ts +4 -2
  47. package/tsconfig.json +4 -1
  48. package/vitest.config.ts +5 -2
  49. package/.eslintrc.cjs +0 -9
  50. package/README.yml +0 -5
  51. package/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs +0 -146
  52. package/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs.map +0 -7
  53. package/dist/lib/node/chunk-G774ASXO.cjs +0 -58
  54. package/dist/lib/node/chunk-G774ASXO.cjs.map +0 -7
  55. package/dist/lib/node/chunk-VSOSVDQ3.cjs +0 -1551
  56. package/dist/lib/node/chunk-VSOSVDQ3.cjs.map +0 -7
  57. package/dist/lib/node/chunk-YGAY3H34.cjs +0 -429
  58. package/dist/lib/node/chunk-YGAY3H34.cjs.map +0 -7
  59. package/dist/lib/node/index.cjs +0 -193
  60. package/dist/lib/node/index.cjs.map +0 -7
  61. package/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs +0 -32
  62. package/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs.map +0 -7
  63. package/dist/lib/node/intent-resolver-IOJDYO34.cjs +0 -46
  64. package/dist/lib/node/intent-resolver-IOJDYO34.cjs.map +0 -7
  65. package/dist/lib/node/meta.json +0 -1
  66. package/dist/lib/node/store-ESF5VR57.cjs +0 -45
  67. package/dist/lib/node/store-ESF5VR57.cjs.map +0 -7
  68. package/dist/lib/node/testing/index.cjs +0 -119
  69. package/dist/lib/node/testing/index.cjs.map +0 -7
  70. package/dist/lib/node/worker.cjs +0 -101
  71. package/dist/lib/node/worker.cjs.map +0 -7
  72. package/project.json +0 -29
  73. package/typedoc/.nojekyll +0 -1
  74. package/typedoc/assets/hierarchy.js +0 -1
  75. package/typedoc/assets/highlight.css +0 -106
  76. package/typedoc/assets/icons.js +0 -18
  77. package/typedoc/assets/icons.svg +0 -1
  78. package/typedoc/assets/main.js +0 -60
  79. package/typedoc/assets/navigation.js +0 -1
  80. package/typedoc/assets/search.js +0 -1
  81. package/typedoc/assets/style.css +0 -1640
  82. package/typedoc/classes/CollaborationActions.InsertContent.html +0 -421
  83. package/typedoc/classes/ErrorBoundary.html +0 -125
  84. package/typedoc/classes/IntentAction.ShowUndo.html +0 -227
  85. package/typedoc/classes/IntentAction.Track.html +0 -266
  86. package/typedoc/classes/LayoutAction.AddToast.html +0 -265
  87. package/typedoc/classes/LayoutAction.Close.html +0 -382
  88. package/typedoc/classes/LayoutAction.Expose.html +0 -265
  89. package/typedoc/classes/LayoutAction.Open.html +0 -1123
  90. package/typedoc/classes/LayoutAction.RevertWorkspace.html +0 -343
  91. package/typedoc/classes/LayoutAction.ScrollIntoView.html +0 -460
  92. package/typedoc/classes/LayoutAction.Set.html +0 -460
  93. package/typedoc/classes/LayoutAction.SetLayoutMode.html +0 -499
  94. package/typedoc/classes/LayoutAction.SwitchWorkspace.html +0 -265
  95. package/typedoc/classes/LayoutAction.UpdateComplementary.html +0 -616
  96. package/typedoc/classes/LayoutAction.UpdateDialog.html +0 -1123
  97. package/typedoc/classes/LayoutAction.UpdateLayout.html +0 -461
  98. package/typedoc/classes/LayoutAction.UpdatePopover.html +0 -1435
  99. package/typedoc/classes/LayoutAction.UpdateSidebar.html +0 -616
  100. package/typedoc/classes/Plugin.html +0 -6
  101. package/typedoc/classes/PluginContext.html +0 -38
  102. package/typedoc/classes/PluginManager.html +0 -43
  103. package/typedoc/classes/PluginModule.html +0 -18
  104. package/typedoc/classes/SettingsAction.Open.html +0 -226
  105. package/typedoc/classes/SettingsAction.OpenPluginRegistry.html +0 -265
  106. package/typedoc/functions/Events.createStateEvent.html +0 -2
  107. package/typedoc/functions/IntentPlugin.html +0 -1
  108. package/typedoc/functions/SettingsPlugin.html +0 -1
  109. package/typedoc/functions/allOf.html +0 -2
  110. package/typedoc/functions/chain.html +0 -3
  111. package/typedoc/functions/contributes.html +0 -2
  112. package/typedoc/functions/createDispatcher.html +0 -3
  113. package/typedoc/functions/createIntent.html +0 -6
  114. package/typedoc/functions/createResolver.html +0 -2
  115. package/typedoc/functions/createSurface.html +0 -2
  116. package/typedoc/functions/defineCapability.html +0 -2
  117. package/typedoc/functions/defineEvent.html +0 -2
  118. package/typedoc/functions/defineModule.html +0 -2
  119. package/typedoc/functions/definePlugin.html +0 -2
  120. package/typedoc/functions/eventKey.html +0 -2
  121. package/typedoc/functions/getEvents.html +0 -2
  122. package/typedoc/functions/isAllOf.html +0 -2
  123. package/typedoc/functions/isOneOf.html +0 -2
  124. package/typedoc/functions/isSurfaceAvailable.html +0 -2
  125. package/typedoc/functions/lazy.html +0 -2
  126. package/typedoc/functions/oneOf.html +0 -2
  127. package/typedoc/functions/useApp.html +0 -6
  128. package/typedoc/functions/useAppGraph.html +0 -1
  129. package/typedoc/functions/useCapabilities.html +0 -3
  130. package/typedoc/functions/useCapability.html +0 -4
  131. package/typedoc/functions/useIntentDispatcher.html +0 -1
  132. package/typedoc/functions/useIntentResolver.html +0 -1
  133. package/typedoc/functions/useLayout.html +0 -1
  134. package/typedoc/functions/usePluginManager.html +0 -2
  135. package/typedoc/hierarchy.html +0 -1
  136. package/typedoc/index.html +0 -16
  137. package/typedoc/interfaces/LayoutAction.Toast.html +0 -10
  138. package/typedoc/media/LICENSE +0 -8
  139. package/typedoc/modules/Capabilities.html +0 -1
  140. package/typedoc/modules/CollaborationActions.html +0 -1
  141. package/typedoc/modules/Events.html +0 -1
  142. package/typedoc/modules/IntentAction.html +0 -1
  143. package/typedoc/modules/LayoutAction.html +0 -2
  144. package/typedoc/modules/SettingsAction.html +0 -1
  145. package/typedoc/modules.html +0 -1
  146. package/typedoc/types/ActivationEvent.html +0 -8
  147. package/typedoc/types/ActivationEvents.html +0 -2
  148. package/typedoc/types/AnyCapability.html +0 -1
  149. package/typedoc/types/AnyIntent.html +0 -1
  150. package/typedoc/types/AnyIntentChain.html +0 -1
  151. package/typedoc/types/AnyIntentEffectResult.html +0 -1
  152. package/typedoc/types/AnyIntentResolver.html +0 -1
  153. package/typedoc/types/AnyIntentResult.html +0 -1
  154. package/typedoc/types/Capabilities.FileUploader.html +0 -1
  155. package/typedoc/types/Capabilities.IntentResolver.html +0 -1
  156. package/typedoc/types/Capabilities.Layout.html +0 -1
  157. package/typedoc/types/Capabilities.Metadata.html +0 -1
  158. package/typedoc/types/Capabilities.ReactContext.html +0 -1
  159. package/typedoc/types/Capabilities.ReactRoot.html +0 -1
  160. package/typedoc/types/Capabilities.ReactSurface.html +0 -1
  161. package/typedoc/types/Capabilities.Settings.html +0 -4
  162. package/typedoc/types/Capability.html +0 -9
  163. package/typedoc/types/CreateAppOptions.html +0 -10
  164. package/typedoc/types/FileInfo.html +0 -1
  165. package/typedoc/types/Intent.html +0 -10
  166. package/typedoc/types/IntentChain.html +0 -6
  167. package/typedoc/types/IntentContext.html +0 -5
  168. package/typedoc/types/IntentData.html +0 -1
  169. package/typedoc/types/IntentDispatcher.html +0 -2
  170. package/typedoc/types/IntentDispatcherResult.html +0 -2
  171. package/typedoc/types/IntentEffectDefinition.html +0 -2
  172. package/typedoc/types/IntentEffectResult.html +0 -15
  173. package/typedoc/types/IntentParams.html +0 -3
  174. package/typedoc/types/IntentResolver.html +0 -2
  175. package/typedoc/types/IntentResultData.html +0 -1
  176. package/typedoc/types/IntentSchema.html +0 -1
  177. package/typedoc/types/IntentUndo.html +0 -2
  178. package/typedoc/types/InterfaceDef.html +0 -4
  179. package/typedoc/types/Label.html +0 -1
  180. package/typedoc/types/NodeSerializer.html +0 -8
  181. package/typedoc/types/PluginManagerOptions.html +0 -6
  182. package/typedoc/types/PluginMeta.html +0 -21
  183. package/typedoc/types/PromiseIntentDispatcher.html +0 -2
  184. package/typedoc/types/PromiseIntentUndo.html +0 -2
  185. package/typedoc/types/Resource.html +0 -1
  186. package/typedoc/types/ResourceKey.html +0 -1
  187. package/typedoc/types/ResourceLanguage.html +0 -1
  188. package/typedoc/types/SerializedNode.html +0 -4
  189. package/typedoc/types/SurfaceComponent.html +0 -2
  190. package/typedoc/types/SurfaceDefinition.html +0 -2
  191. package/typedoc/types/SurfaceProps.html +0 -4
  192. package/typedoc/variables/Capabilities.AnchorSort.html +0 -1
  193. package/typedoc/variables/Capabilities.AppGraph.html +0 -1
  194. package/typedoc/variables/Capabilities.AppGraphBuilder.html +0 -1
  195. package/typedoc/variables/Capabilities.AppGraphSerializer.html +0 -1
  196. package/typedoc/variables/Capabilities.ArtifactDefinition.html +0 -1
  197. package/typedoc/variables/Capabilities.FileUploader.html +0 -1
  198. package/typedoc/variables/Capabilities.IntentDispatcher.html +0 -1
  199. package/typedoc/variables/Capabilities.IntentResolver.html +0 -1
  200. package/typedoc/variables/Capabilities.Layout.html +0 -1
  201. package/typedoc/variables/Capabilities.Metadata.html +0 -1
  202. package/typedoc/variables/Capabilities.Null.html +0 -1
  203. package/typedoc/variables/Capabilities.PluginManager.html +0 -1
  204. package/typedoc/variables/Capabilities.ReactContext.html +0 -1
  205. package/typedoc/variables/Capabilities.ReactRoot.html +0 -1
  206. package/typedoc/variables/Capabilities.ReactSurface.html +0 -1
  207. package/typedoc/variables/Capabilities.RxRegistry.html +0 -1
  208. package/typedoc/variables/Capabilities.Settings.html +0 -1
  209. package/typedoc/variables/Capabilities.SettingsStore.html +0 -1
  210. package/typedoc/variables/Capabilities.Tools.html +0 -1
  211. package/typedoc/variables/Capabilities.Translations.html +0 -1
  212. package/typedoc/variables/Events.AppGraphReady.html +0 -2
  213. package/typedoc/variables/Events.DispatcherReady.html +0 -2
  214. package/typedoc/variables/Events.LayoutReady.html +0 -1
  215. package/typedoc/variables/Events.SettingsReady.html +0 -2
  216. package/typedoc/variables/Events.SetupAppGraph.html +0 -2
  217. package/typedoc/variables/Events.SetupArtifactDefinition.html +0 -2
  218. package/typedoc/variables/Events.SetupIntentResolver.html +0 -2
  219. package/typedoc/variables/Events.SetupMetadata.html +0 -2
  220. package/typedoc/variables/Events.SetupReactSurface.html +0 -2
  221. package/typedoc/variables/Events.SetupSettings.html +0 -2
  222. package/typedoc/variables/Events.SetupTranslations.html +0 -2
  223. package/typedoc/variables/Events.Startup.html +0 -2
  224. package/typedoc/variables/FileInfoSchema.html +0 -1
  225. package/typedoc/variables/INTENT_ACTION.html +0 -1
  226. package/typedoc/variables/INTENT_PLUGIN.html +0 -1
  227. package/typedoc/variables/LAYOUT_ACTION.html +0 -1
  228. package/typedoc/variables/LAYOUT_PLUGIN.html +0 -1
  229. package/typedoc/variables/Label.html +0 -1
  230. package/typedoc/variables/LayoutAction.Toast.html +0 -1
  231. package/typedoc/variables/LayoutAction.UPDATE_LAYOUT.html +0 -1
  232. package/typedoc/variables/PluginManagerProvider.html +0 -2
  233. package/typedoc/variables/Resource.html +0 -2
  234. package/typedoc/variables/ResourceKey.html +0 -1
  235. package/typedoc/variables/ResourceLanguage.html +0 -1
  236. package/typedoc/variables/SETTINGS_ACTION.html +0 -1
  237. package/typedoc/variables/SETTINGS_ID.html +0 -1
  238. package/typedoc/variables/SETTINGS_KEY.html +0 -1
  239. package/typedoc/variables/SETTINGS_PLUGIN.html +0 -1
  240. package/typedoc/variables/Surface.html +0 -2
  241. package/typedoc/variables/defaultFileTypes.html +0 -1
  242. /package/dist/lib/browser/{app-graph-builder-BI4VVKSW.mjs.map → app-graph-builder-LYF7EKNN.mjs.map} +0 -0
  243. /package/dist/lib/browser/{chunk-WWEJRWFX.mjs.map → chunk-ORWHM7CO.mjs.map} +0 -0
  244. /package/dist/lib/browser/{intent-dispatcher-XVBOMF2Y.mjs.map → intent-dispatcher-LSYQZSEB.mjs.map} +0 -0
  245. /package/dist/lib/browser/{intent-resolver-3QMBXLIY.mjs.map → intent-resolver-ZTNOSO3A.mjs.map} +0 -0
  246. /package/dist/lib/browser/{store-5H7XPJGA.mjs.map → store-KML2R4IE.mjs.map} +0 -0
  247. /package/dist/lib/node-esm/{app-graph-builder-NROP6RPQ.mjs.map → app-graph-builder-SAOWGJDK.mjs.map} +0 -0
  248. /package/dist/lib/node-esm/{chunk-I6BVZMAH.mjs.map → chunk-UMZQERLE.mjs.map} +0 -0
  249. /package/dist/lib/node-esm/{intent-dispatcher-7JPGLCQ5.mjs.map → intent-dispatcher-6CYNGPSW.mjs.map} +0 -0
  250. /package/dist/lib/node-esm/{intent-resolver-VY4X5UHN.mjs.map → intent-resolver-W7Z7WFFM.mjs.map} +0 -0
  251. /package/dist/lib/node-esm/{store-UKD2R2KA.mjs.map → store-QEXGXLWZ.mjs.map} +0 -0
@@ -1,15 +1,15 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
 
3
- // packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts
3
+ // src/plugin-intent/intent-dispatcher.ts
4
4
  import { Effect as Effect3, Option, pipe as pipe2, Ref as Ref2 } from "effect";
5
5
  import { live as live2 } from "@dxos/live-object";
6
6
  import { log as log3 } from "@dxos/log";
7
7
  import { byPosition } from "@dxos/util";
8
8
 
9
- // packages/sdk/app-framework/src/plugin-intent/actions.ts
9
+ // src/plugin-intent/actions.ts
10
10
  import { Schema as Schema2 } from "effect";
11
11
 
12
- // packages/sdk/app-framework/src/plugin-intent/intent.ts
12
+ // src/plugin-intent/intent.ts
13
13
  import { Schema } from "effect";
14
14
  var createIntent = (schema, data = {}, params = {}) => {
15
15
  const _ = Schema.validateSync(schema.fields.input)(data);
@@ -53,7 +53,7 @@ var Label = Schema.Union(Schema.String, Schema.mutable(Schema.Tuple(Schema.Strin
53
53
  defaultValue: Schema.optional(Schema.String)
54
54
  })))));
55
55
 
56
- // packages/sdk/app-framework/src/plugin-intent/actions.ts
56
+ // src/plugin-intent/actions.ts
57
57
  var INTENT_PLUGIN = "dxos.org/plugin/intent";
58
58
  var INTENT_ACTION = `${INTENT_PLUGIN}/action`;
59
59
  (function(IntentAction2) {
@@ -77,7 +77,7 @@ var INTENT_ACTION = `${INTENT_PLUGIN}/action`;
77
77
  })(IntentAction || (IntentAction = {}));
78
78
  var IntentAction;
79
79
 
80
- // packages/sdk/app-framework/src/plugin-intent/errors.ts
80
+ // src/plugin-intent/errors.ts
81
81
  var BaseError = class extends Error {
82
82
  constructor(code, message, context) {
83
83
  super(message ?? code, {
@@ -100,13 +100,13 @@ var CycleDetectedError = class extends BaseError {
100
100
  }
101
101
  };
102
102
 
103
- // packages/sdk/app-framework/src/core/capabilities.ts
103
+ // src/core/capabilities.ts
104
104
  import { Rx } from "@effect-rx/rx-react";
105
105
  import { Effect } from "effect";
106
106
  import { Trigger } from "@dxos/async";
107
107
  import { invariant } from "@dxos/invariant";
108
108
  import { log } from "@dxos/log";
109
- var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/app-framework/src/core/capabilities.ts";
109
+ var __dxlog_file = "/__w/dxos/dxos/packages/sdk/app-framework/src/core/capabilities.ts";
110
110
  var InterfaceDefTypeId = Symbol.for("InterfaceDefTypeId");
111
111
  var defineCapability = (identifier) => {
112
112
  return {
@@ -276,7 +276,7 @@ var PluginContext = class {
276
276
  }
277
277
  };
278
278
 
279
- // packages/sdk/app-framework/src/core/events.ts
279
+ // src/core/events.ts
280
280
  var defineEvent = (id, specifier) => {
281
281
  return {
282
282
  id,
@@ -298,14 +298,14 @@ var getEvents = (events) => "type" in events ? events.events : [
298
298
  events
299
299
  ];
300
300
 
301
- // packages/sdk/app-framework/src/core/manager.ts
301
+ // src/core/manager.ts
302
302
  import { Registry } from "@effect-rx/rx-react";
303
303
  import { untracked } from "@preact/signals-core";
304
304
  import { Array as A, Effect as Effect2, Either, Match, pipe } from "effect";
305
305
  import { Event } from "@dxos/async";
306
306
  import { live } from "@dxos/live-object";
307
307
  import { log as log2 } from "@dxos/log";
308
- var __dxlog_file2 = "/home/runner/work/dxos/dxos/packages/sdk/app-framework/src/core/manager.ts";
308
+ var __dxlog_file2 = "/__w/dxos/dxos/packages/sdk/app-framework/src/core/manager.ts";
309
309
  var isPromise = (value) => {
310
310
  return value !== null && typeof value === "object" && "then" in value;
311
311
  };
@@ -838,7 +838,7 @@ var PluginManager = class {
838
838
  }
839
839
  };
840
840
 
841
- // packages/sdk/app-framework/src/core/plugin.ts
841
+ // src/core/plugin.ts
842
842
  var PluginModule = class {
843
843
  constructor(options) {
844
844
  this.id = options.id;
@@ -859,10 +859,10 @@ var definePlugin = (meta, modules) => {
859
859
  return new Plugin(meta, modules);
860
860
  };
861
861
 
862
- // packages/sdk/app-framework/src/common/capabilities.ts
862
+ // src/common/capabilities.ts
863
863
  (function(Capabilities2) {
864
- Capabilities2.PluginManager = defineCapability("dxos.org/app-framework/capability/plugin-manager");
865
864
  Capabilities2.Null = defineCapability("dxos.org/app-framework/capability/null");
865
+ Capabilities2.PluginManager = defineCapability("dxos.org/app-framework/capability/plugin-manager");
866
866
  Capabilities2.RxRegistry = defineCapability("dxos.org/app-framework/capability/rx-registry");
867
867
  Capabilities2.ReactContext = defineCapability("dxos.org/app-framework/capability/react-context");
868
868
  Capabilities2.ReactRoot = defineCapability("dxos.org/app-framework/capability/react-root");
@@ -879,12 +879,13 @@ var definePlugin = (meta, modules) => {
879
879
  Capabilities2.Metadata = defineCapability("dxos.org/app-framework/capability/metadata");
880
880
  Capabilities2.Tools = defineCapability("dxos.org/app-framework/capability/tools");
881
881
  Capabilities2.ArtifactDefinition = defineCapability("dxos.org/app-framework/capability/artifact-definition");
882
+ Capabilities2.Functions = defineCapability("dxos.org/app-framework/capability/functions");
882
883
  Capabilities2.FileUploader = defineCapability("dxos.org/app-framework/capability/file-uploader");
883
884
  Capabilities2.AnchorSort = defineCapability("dxos.org/app-framework/capability/anchor-sort");
884
885
  })(Capabilities || (Capabilities = {}));
885
886
  var Capabilities;
886
887
 
887
- // packages/sdk/app-framework/src/common/collaboration.ts
888
+ // src/common/collaboration.ts
888
889
  import { Schema as Schema3 } from "effect";
889
890
  import { Expando, Ref } from "@dxos/echo-schema";
890
891
  (function(CollaborationActions2) {
@@ -904,7 +905,7 @@ import { Expando, Ref } from "@dxos/echo-schema";
904
905
  })(CollaborationActions || (CollaborationActions = {}));
905
906
  var CollaborationActions;
906
907
 
907
- // packages/sdk/app-framework/src/common/events.ts
908
+ // src/common/events.ts
908
909
  (function(Events2) {
909
910
  Events2.Startup = defineEvent("dxos.org/app-framework/event/startup");
910
911
  Events2.SetupReactSurface = defineEvent("dxos.org/app-framework/event/setup-react-surface");
@@ -922,7 +923,7 @@ var CollaborationActions;
922
923
  })(Events || (Events = {}));
923
924
  var Events;
924
925
 
925
- // packages/sdk/app-framework/src/common/file.ts
926
+ // src/common/file.ts
926
927
  import { Schema as Schema4 } from "effect";
927
928
  var defaultFileTypes = {
928
929
  images: [
@@ -950,10 +951,10 @@ var FileInfoSchema = Schema4.Struct({
950
951
  cid: Schema4.optional(Schema4.String)
951
952
  });
952
953
 
953
- // packages/sdk/app-framework/src/common/layout.ts
954
+ // src/common/layout.ts
954
955
  import { Schema as Schema5 } from "effect";
955
956
 
956
- // packages/sdk/app-framework/src/plugin-intent/IntentPlugin.ts
957
+ // src/plugin-intent/IntentPlugin.ts
957
958
  var IntentPlugin = () => definePlugin({
958
959
  id: INTENT_PLUGIN,
959
960
  name: "Intent"
@@ -967,11 +968,11 @@ var IntentPlugin = () => definePlugin({
967
968
  activatesAfter: [
968
969
  Events.DispatcherReady
969
970
  ],
970
- activate: lazy(() => import("./intent-dispatcher-7JPGLCQ5.mjs"))
971
+ activate: lazy(() => import("./intent-dispatcher-6CYNGPSW.mjs"))
971
972
  })
972
973
  ]);
973
974
 
974
- // packages/sdk/app-framework/src/common/layout.ts
975
+ // src/common/layout.ts
975
976
  var LAYOUT_PLUGIN = "dxos.org/plugin/layout";
976
977
  var LAYOUT_ACTION = `${LAYOUT_PLUGIN}/action`;
977
978
  (function(LayoutAction2) {
@@ -1308,10 +1309,10 @@ var LAYOUT_ACTION = `${LAYOUT_PLUGIN}/action`;
1308
1309
  })(LayoutAction || (LayoutAction = {}));
1309
1310
  var LayoutAction;
1310
1311
 
1311
- // packages/sdk/app-framework/src/common/surface.ts
1312
+ // src/common/surface.ts
1312
1313
  var createSurface = (definition) => definition;
1313
1314
 
1314
- // packages/sdk/app-framework/src/common/translations.ts
1315
+ // src/common/translations.ts
1315
1316
  import { Schema as Schema6 } from "effect";
1316
1317
  var ResourceKey = Schema6.Union(Schema6.String, Schema6.Record({
1317
1318
  key: Schema6.String,
@@ -1326,8 +1327,8 @@ var Resource = Schema6.Record({
1326
1327
  value: ResourceLanguage
1327
1328
  });
1328
1329
 
1329
- // packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts
1330
- var __dxlog_file3 = "/home/runner/work/dxos/dxos/packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts";
1330
+ // src/plugin-intent/intent-dispatcher.ts
1331
+ var __dxlog_file3 = "/__w/dxos/dxos/packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts";
1331
1332
  var EXECUTION_LIMIT = 100;
1332
1333
  var HISTORY_LIMIT = 100;
1333
1334
  var createResolver = (resolver) => resolver;
@@ -1517,4 +1518,4 @@ export {
1517
1518
  ResourceLanguage,
1518
1519
  Resource
1519
1520
  };
1520
- //# sourceMappingURL=chunk-2J6FVECI.mjs.map
1521
+ //# sourceMappingURL=chunk-ZEZ4FVEU.mjs.map