@dxos/app-framework 0.8.2-main.f11618f → 0.8.2-staging.7ac8446

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/dist/lib/browser/{app-graph-builder-OHM2Z6YQ.mjs → app-graph-builder-576BHZC7.mjs} +2 -2
  2. package/dist/lib/browser/{chunk-DVNSCQJ5.mjs → chunk-6AVTZPMT.mjs} +159 -190
  3. package/dist/lib/browser/chunk-6AVTZPMT.mjs.map +7 -0
  4. package/dist/lib/browser/{chunk-X2YC645Z.mjs → chunk-PPIBZ5N4.mjs} +4 -4
  5. package/dist/lib/{node-esm/chunk-QHXUTJHE.mjs.map → browser/chunk-PPIBZ5N4.mjs.map} +3 -3
  6. package/dist/lib/browser/index.mjs +5 -7
  7. package/dist/lib/browser/index.mjs.map +1 -1
  8. package/dist/lib/browser/{intent-dispatcher-J7QIFHLO.mjs → intent-dispatcher-3Q67MHZZ.mjs} +2 -2
  9. package/dist/lib/browser/{intent-resolver-QV5MDMDV.mjs → intent-resolver-O763LCLG.mjs} +2 -2
  10. package/dist/lib/browser/meta.json +1 -1
  11. package/dist/lib/browser/{store-XMPVLJOQ.mjs → store-URSN7DZI.mjs} +2 -2
  12. package/dist/lib/browser/testing/index.mjs +2 -2
  13. package/dist/lib/browser/worker.mjs +1 -3
  14. package/dist/lib/node/{app-graph-builder-Z45FKS52.cjs → app-graph-builder-JZCSKYPY.cjs} +12 -12
  15. package/dist/lib/node/{chunk-I3CJYEBC.cjs → chunk-YIFTVCOR.cjs} +150 -180
  16. package/dist/lib/node/chunk-YIFTVCOR.cjs.map +7 -0
  17. package/dist/lib/node/{chunk-5UOVF3OR.cjs → chunk-YNTKVTVX.cjs} +20 -20
  18. package/dist/lib/node/{chunk-5UOVF3OR.cjs.map → chunk-YNTKVTVX.cjs.map} +3 -3
  19. package/dist/lib/node/index.cjs +66 -68
  20. package/dist/lib/node/index.cjs.map +1 -1
  21. package/dist/lib/node/{intent-dispatcher-FQPJNKIZ.cjs → intent-dispatcher-H334XLFD.cjs} +8 -8
  22. package/dist/lib/node/{intent-dispatcher-FQPJNKIZ.cjs.map → intent-dispatcher-H334XLFD.cjs.map} +2 -2
  23. package/dist/lib/node/{intent-resolver-PBAOGJS6.cjs → intent-resolver-3F4POWAM.cjs} +8 -8
  24. package/dist/lib/node/meta.json +1 -1
  25. package/dist/lib/node/{store-N7JLYYDI.cjs → store-OFDHTDCB.cjs} +7 -7
  26. package/dist/lib/node/testing/index.cjs +8 -8
  27. package/dist/lib/node/worker.cjs +37 -39
  28. package/dist/lib/node/worker.cjs.map +2 -2
  29. package/dist/lib/node-esm/{app-graph-builder-OMH534A4.mjs → app-graph-builder-VYKLSMSZ.mjs} +2 -2
  30. package/dist/lib/node-esm/{chunk-GSDBF2CK.mjs → chunk-AHKIPS2L.mjs} +159 -190
  31. package/dist/lib/node-esm/chunk-AHKIPS2L.mjs.map +7 -0
  32. package/dist/lib/node-esm/{chunk-QHXUTJHE.mjs → chunk-R6A7Z4LU.mjs} +4 -4
  33. package/dist/lib/node-esm/chunk-R6A7Z4LU.mjs.map +7 -0
  34. package/dist/lib/node-esm/index.mjs +5 -7
  35. package/dist/lib/node-esm/index.mjs.map +1 -1
  36. package/dist/lib/node-esm/{intent-dispatcher-QDUGA7NT.mjs → intent-dispatcher-YDE2ONZA.mjs} +2 -2
  37. package/dist/lib/node-esm/{intent-resolver-P7TC5RBD.mjs → intent-resolver-LAGJ7LXM.mjs} +2 -2
  38. package/dist/lib/node-esm/meta.json +1 -1
  39. package/dist/lib/node-esm/{store-M2BYJL6K.mjs → store-EYSUVNCS.mjs} +2 -2
  40. package/dist/lib/node-esm/testing/index.mjs +2 -2
  41. package/dist/lib/node-esm/worker.mjs +1 -3
  42. package/dist/types/src/common/index.d.ts +0 -1
  43. package/dist/types/src/common/index.d.ts.map +1 -1
  44. package/dist/types/src/common/layout.d.ts +4 -10
  45. package/dist/types/src/common/layout.d.ts.map +1 -1
  46. package/dist/types/src/core/capabilities.d.ts +2 -5
  47. package/dist/types/src/core/capabilities.d.ts.map +1 -1
  48. package/dist/types/src/core/events.d.ts +1 -4
  49. package/dist/types/src/core/events.d.ts.map +1 -1
  50. package/dist/types/src/core/manager.d.ts +8 -8
  51. package/dist/types/src/core/manager.d.ts.map +1 -1
  52. package/dist/types/src/core/plugin.d.ts +1 -2
  53. package/dist/types/src/core/plugin.d.ts.map +1 -1
  54. package/dist/types/src/plugin-intent/intent-dispatcher.d.ts +1 -27
  55. package/dist/types/src/plugin-intent/intent-dispatcher.d.ts.map +1 -1
  56. package/package.json +18 -22
  57. package/project.json +1 -2
  58. package/src/App.tsx +2 -2
  59. package/src/common/index.ts +0 -1
  60. package/src/common/layout.ts +3 -22
  61. package/src/core/capabilities.ts +5 -9
  62. package/src/core/events.ts +1 -4
  63. package/src/core/manager.test.ts +3 -3
  64. package/src/core/manager.ts +10 -10
  65. package/src/core/plugin.ts +1 -2
  66. package/src/plugin-intent/intent-dispatcher.ts +2 -18
  67. package/dist/lib/browser/chunk-DVNSCQJ5.mjs.map +0 -7
  68. package/dist/lib/browser/chunk-X2YC645Z.mjs.map +0 -7
  69. package/dist/lib/node/chunk-I3CJYEBC.cjs.map +0 -7
  70. package/dist/lib/node-esm/chunk-GSDBF2CK.mjs.map +0 -7
  71. package/dist/types/src/common/collaboration.d.ts +0 -19
  72. package/dist/types/src/common/collaboration.d.ts.map +0 -1
  73. package/src/common/collaboration.ts +0 -21
  74. package/typedoc/.nojekyll +0 -1
  75. package/typedoc/assets/hierarchy.js +0 -1
  76. package/typedoc/assets/highlight.css +0 -106
  77. package/typedoc/assets/icons.js +0 -18
  78. package/typedoc/assets/icons.svg +0 -1
  79. package/typedoc/assets/main.js +0 -60
  80. package/typedoc/assets/navigation.js +0 -1
  81. package/typedoc/assets/search.js +0 -1
  82. package/typedoc/assets/style.css +0 -1640
  83. package/typedoc/classes/CollaborationActions.InsertContent.html +0 -421
  84. package/typedoc/classes/ErrorBoundary.html +0 -125
  85. package/typedoc/classes/IntentAction.ShowUndo.html +0 -227
  86. package/typedoc/classes/IntentAction.Track.html +0 -266
  87. package/typedoc/classes/LayoutAction.AddToast.html +0 -265
  88. package/typedoc/classes/LayoutAction.Close.html +0 -382
  89. package/typedoc/classes/LayoutAction.Expose.html +0 -265
  90. package/typedoc/classes/LayoutAction.Open.html +0 -967
  91. package/typedoc/classes/LayoutAction.RevertWorkspace.html +0 -343
  92. package/typedoc/classes/LayoutAction.ScrollIntoView.html +0 -460
  93. package/typedoc/classes/LayoutAction.Set.html +0 -382
  94. package/typedoc/classes/LayoutAction.SetLayoutMode.html +0 -421
  95. package/typedoc/classes/LayoutAction.SwitchWorkspace.html +0 -265
  96. package/typedoc/classes/LayoutAction.UpdateComplementary.html +0 -616
  97. package/typedoc/classes/LayoutAction.UpdateDialog.html +0 -733
  98. package/typedoc/classes/LayoutAction.UpdateLayout.html +0 -461
  99. package/typedoc/classes/LayoutAction.UpdatePopover.html +0 -1435
  100. package/typedoc/classes/LayoutAction.UpdateSidebar.html +0 -538
  101. package/typedoc/classes/Plugin.html +0 -6
  102. package/typedoc/classes/PluginManager.html +0 -42
  103. package/typedoc/classes/PluginModule.html +0 -18
  104. package/typedoc/classes/PluginsContext.html +0 -25
  105. package/typedoc/classes/SettingsAction.Open.html +0 -226
  106. package/typedoc/classes/SettingsAction.OpenPluginRegistry.html +0 -265
  107. package/typedoc/functions/Events.createStateEvent.html +0 -2
  108. package/typedoc/functions/IntentPlugin.html +0 -1
  109. package/typedoc/functions/SettingsPlugin.html +0 -1
  110. package/typedoc/functions/allOf.html +0 -2
  111. package/typedoc/functions/chain.html +0 -3
  112. package/typedoc/functions/contributes.html +0 -2
  113. package/typedoc/functions/createApp.html +0 -6
  114. package/typedoc/functions/createDispatcher.html +0 -3
  115. package/typedoc/functions/createIntent.html +0 -6
  116. package/typedoc/functions/createResolver.html +0 -2
  117. package/typedoc/functions/createSurface.html +0 -2
  118. package/typedoc/functions/defineCapability.html +0 -2
  119. package/typedoc/functions/defineEvent.html +0 -2
  120. package/typedoc/functions/defineModule.html +0 -2
  121. package/typedoc/functions/definePlugin.html +0 -2
  122. package/typedoc/functions/eventKey.html +0 -2
  123. package/typedoc/functions/getEvents.html +0 -2
  124. package/typedoc/functions/isAllOf.html +0 -2
  125. package/typedoc/functions/isOneOf.html +0 -2
  126. package/typedoc/functions/isSurfaceAvailable.html +0 -2
  127. package/typedoc/functions/lazy.html +0 -2
  128. package/typedoc/functions/oneOf.html +0 -2
  129. package/typedoc/functions/useAppGraph.html +0 -1
  130. package/typedoc/functions/useCapabilities.html +0 -3
  131. package/typedoc/functions/useCapability.html +0 -4
  132. package/typedoc/functions/useIntentDispatcher.html +0 -1
  133. package/typedoc/functions/useIntentResolver.html +0 -1
  134. package/typedoc/functions/useLayout.html +0 -1
  135. package/typedoc/functions/usePluginManager.html +0 -2
  136. package/typedoc/hierarchy.html +0 -1
  137. package/typedoc/index.html +0 -16
  138. package/typedoc/interfaces/LayoutAction.Toast.html +0 -10
  139. package/typedoc/media/LICENSE +0 -8
  140. package/typedoc/modules/Capabilities.html +0 -1
  141. package/typedoc/modules/CollaborationActions.html +0 -1
  142. package/typedoc/modules/Events.html +0 -1
  143. package/typedoc/modules/IntentAction.html +0 -1
  144. package/typedoc/modules/LayoutAction.html +0 -2
  145. package/typedoc/modules/SettingsAction.html +0 -1
  146. package/typedoc/modules.html +0 -1
  147. package/typedoc/types/ActivationEvent.html +0 -8
  148. package/typedoc/types/ActivationEvents.html +0 -2
  149. package/typedoc/types/AnyCapability.html +0 -1
  150. package/typedoc/types/AnyIntent.html +0 -1
  151. package/typedoc/types/AnyIntentChain.html +0 -1
  152. package/typedoc/types/AnyIntentEffectResult.html +0 -1
  153. package/typedoc/types/AnyIntentResolver.html +0 -1
  154. package/typedoc/types/AnyIntentResult.html +0 -1
  155. package/typedoc/types/Capabilities.FileUploader.html +0 -1
  156. package/typedoc/types/Capabilities.IntentResolver.html +0 -1
  157. package/typedoc/types/Capabilities.Layout.html +0 -1
  158. package/typedoc/types/Capabilities.Metadata.html +0 -1
  159. package/typedoc/types/Capabilities.ReactContext.html +0 -1
  160. package/typedoc/types/Capabilities.ReactRoot.html +0 -1
  161. package/typedoc/types/Capabilities.ReactSurface.html +0 -1
  162. package/typedoc/types/Capabilities.Settings.html +0 -4
  163. package/typedoc/types/Capability.html +0 -9
  164. package/typedoc/types/CreateAppOptions.html +0 -9
  165. package/typedoc/types/FileInfo.html +0 -1
  166. package/typedoc/types/Intent.html +0 -14
  167. package/typedoc/types/IntentChain.html +0 -6
  168. package/typedoc/types/IntentContext.html +0 -5
  169. package/typedoc/types/IntentData.html +0 -1
  170. package/typedoc/types/IntentDispatcher.html +0 -2
  171. package/typedoc/types/IntentDispatcherResult.html +0 -2
  172. package/typedoc/types/IntentEffectDefinition.html +0 -2
  173. package/typedoc/types/IntentEffectResult.html +0 -15
  174. package/typedoc/types/IntentParams.html +0 -3
  175. package/typedoc/types/IntentResolver.html +0 -2
  176. package/typedoc/types/IntentResultData.html +0 -1
  177. package/typedoc/types/IntentSchema.html +0 -1
  178. package/typedoc/types/IntentUndo.html +0 -2
  179. package/typedoc/types/InterfaceDef.html +0 -4
  180. package/typedoc/types/Label.html +0 -1
  181. package/typedoc/types/NodeSerializer.html +0 -8
  182. package/typedoc/types/PluginManagerOptions.html +0 -5
  183. package/typedoc/types/PluginMeta.html +0 -21
  184. package/typedoc/types/PromiseIntentDispatcher.html +0 -2
  185. package/typedoc/types/PromiseIntentUndo.html +0 -2
  186. package/typedoc/types/Resource.html +0 -1
  187. package/typedoc/types/ResourceKey.html +0 -1
  188. package/typedoc/types/ResourceLanguage.html +0 -1
  189. package/typedoc/types/SerializedNode.html +0 -4
  190. package/typedoc/types/SurfaceComponent.html +0 -2
  191. package/typedoc/types/SurfaceDefinition.html +0 -2
  192. package/typedoc/types/SurfaceProps.html +0 -4
  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.Settings.html +0 -1
  208. package/typedoc/variables/Capabilities.SettingsStore.html +0 -1
  209. package/typedoc/variables/Capabilities.Tools.html +0 -1
  210. package/typedoc/variables/Capabilities.Translations.html +0 -1
  211. package/typedoc/variables/Events.AppGraphReady.html +0 -2
  212. package/typedoc/variables/Events.DispatcherReady.html +0 -2
  213. package/typedoc/variables/Events.LayoutReady.html +0 -1
  214. package/typedoc/variables/Events.SettingsReady.html +0 -2
  215. package/typedoc/variables/Events.SetupAppGraph.html +0 -2
  216. package/typedoc/variables/Events.SetupArtifactDefinition.html +0 -2
  217. package/typedoc/variables/Events.SetupIntentResolver.html +0 -2
  218. package/typedoc/variables/Events.SetupMetadata.html +0 -2
  219. package/typedoc/variables/Events.SetupReactSurface.html +0 -2
  220. package/typedoc/variables/Events.SetupSettings.html +0 -2
  221. package/typedoc/variables/Events.SetupTranslations.html +0 -2
  222. package/typedoc/variables/Events.Startup.html +0 -2
  223. package/typedoc/variables/FileInfoSchema.html +0 -1
  224. package/typedoc/variables/INTENT_ACTION.html +0 -1
  225. package/typedoc/variables/INTENT_PLUGIN.html +0 -1
  226. package/typedoc/variables/LAYOUT_ACTION.html +0 -1
  227. package/typedoc/variables/LAYOUT_PLUGIN.html +0 -1
  228. package/typedoc/variables/Label.html +0 -1
  229. package/typedoc/variables/LayoutAction.Toast.html +0 -1
  230. package/typedoc/variables/LayoutAction.UPDATE_LAYOUT.html +0 -1
  231. package/typedoc/variables/PluginManagerProvider.html +0 -2
  232. package/typedoc/variables/Resource.html +0 -2
  233. package/typedoc/variables/ResourceKey.html +0 -1
  234. package/typedoc/variables/ResourceLanguage.html +0 -1
  235. package/typedoc/variables/SETTINGS_ACTION.html +0 -1
  236. package/typedoc/variables/SETTINGS_ID.html +0 -1
  237. package/typedoc/variables/SETTINGS_KEY.html +0 -1
  238. package/typedoc/variables/SETTINGS_PLUGIN.html +0 -1
  239. package/typedoc/variables/Surface.html +0 -2
  240. package/typedoc/variables/defaultFileTypes.html +0 -1
  241. /package/dist/lib/browser/{app-graph-builder-OHM2Z6YQ.mjs.map → app-graph-builder-576BHZC7.mjs.map} +0 -0
  242. /package/dist/lib/browser/{intent-dispatcher-J7QIFHLO.mjs.map → intent-dispatcher-3Q67MHZZ.mjs.map} +0 -0
  243. /package/dist/lib/browser/{intent-resolver-QV5MDMDV.mjs.map → intent-resolver-O763LCLG.mjs.map} +0 -0
  244. /package/dist/lib/browser/{store-XMPVLJOQ.mjs.map → store-URSN7DZI.mjs.map} +0 -0
  245. /package/dist/lib/node/{app-graph-builder-Z45FKS52.cjs.map → app-graph-builder-JZCSKYPY.cjs.map} +0 -0
  246. /package/dist/lib/node/{intent-resolver-PBAOGJS6.cjs.map → intent-resolver-3F4POWAM.cjs.map} +0 -0
  247. /package/dist/lib/node/{store-N7JLYYDI.cjs.map → store-OFDHTDCB.cjs.map} +0 -0
  248. /package/dist/lib/node-esm/{app-graph-builder-OMH534A4.mjs.map → app-graph-builder-VYKLSMSZ.mjs.map} +0 -0
  249. /package/dist/lib/node-esm/{intent-dispatcher-QDUGA7NT.mjs.map → intent-dispatcher-YDE2ONZA.mjs.map} +0 -0
  250. /package/dist/lib/node-esm/{intent-resolver-P7TC5RBD.mjs.map → intent-resolver-LAGJ7LXM.mjs.map} +0 -0
  251. /package/dist/lib/node-esm/{store-M2BYJL6K.mjs.map → store-EYSUVNCS.mjs.map} +0 -0
@@ -26,10 +26,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_I3CJYEBC_exports = {};
30
- __export(chunk_I3CJYEBC_exports, {
29
+ var chunk_YIFTVCOR_exports = {};
30
+ __export(chunk_YIFTVCOR_exports, {
31
31
  Capabilities: () => Capabilities,
32
- CollaborationActions: () => CollaborationActions,
33
32
  Events: () => Events,
34
33
  FileInfoSchema: () => FileInfoSchema,
35
34
  INTENT_ACTION: () => INTENT_ACTION,
@@ -67,7 +66,7 @@ __export(chunk_I3CJYEBC_exports, {
67
66
  lazy: () => lazy,
68
67
  oneOf: () => oneOf
69
68
  });
70
- module.exports = __toCommonJS(chunk_I3CJYEBC_exports);
69
+ module.exports = __toCommonJS(chunk_YIFTVCOR_exports);
71
70
  var import_effect = require("effect");
72
71
  var import_live_object = require("@dxos/live-object");
73
72
  var import_log = require("@dxos/log");
@@ -86,10 +85,8 @@ var import_async2 = require("@dxos/async");
86
85
  var import_live_object3 = require("@dxos/live-object");
87
86
  var import_log3 = require("@dxos/log");
88
87
  var import_effect6 = require("effect");
89
- var import_echo_schema = require("@dxos/echo-schema");
90
88
  var import_effect7 = require("effect");
91
89
  var import_effect8 = require("effect");
92
- var import_effect9 = require("effect");
93
90
  var createIntent = (schema, data = {}, params = {}) => {
94
91
  const _ = import_effect3.Schema.validateSync(schema.fields.input)(data);
95
92
  const intent = {
@@ -211,7 +208,7 @@ var PluginsContext = class {
211
208
  contributeCapability({ module: moduleId, interface: interfaceDef, implementation }) {
212
209
  let current = this._definedCapabilities.get(interfaceDef.identifier);
213
210
  if (!current) {
214
- const object = (0, import_live_object2.live)({
211
+ const object = (0, import_live_object2.create)({
215
212
  value: []
216
213
  });
217
214
  current = (0, import_signals_core.untracked)(() => object.value);
@@ -224,7 +221,7 @@ var PluginsContext = class {
224
221
  count: (0, import_signals_core.untracked)(() => current.length)
225
222
  }, {
226
223
  F: __dxlog_file,
227
- L: 146,
224
+ L: 142,
228
225
  S: this,
229
226
  C: (f, a) => f(...a)
230
227
  });
@@ -245,7 +242,7 @@ var PluginsContext = class {
245
242
  count: (0, import_signals_core.untracked)(() => current.length)
246
243
  }, {
247
244
  F: __dxlog_file,
248
- L: 165,
245
+ L: 161,
249
246
  S: this,
250
247
  C: (f, a) => f(...a)
251
248
  });
@@ -254,7 +251,7 @@ var PluginsContext = class {
254
251
  id: interfaceDef.identifier
255
252
  }, {
256
253
  F: __dxlog_file,
257
- L: 167,
254
+ L: 163,
258
255
  S: this,
259
256
  C: (f, a) => f(...a)
260
257
  });
@@ -268,7 +265,7 @@ var PluginsContext = class {
268
265
  requestCapabilities(interfaceDef, filter) {
269
266
  let current = this._definedCapabilities.get(interfaceDef.identifier);
270
267
  if (!current) {
271
- const object = (0, import_live_object2.live)({
268
+ const object = (0, import_live_object2.create)({
272
269
  value: []
273
270
  });
274
271
  current = (0, import_signals_core.untracked)(() => object.value);
@@ -287,7 +284,7 @@ var PluginsContext = class {
287
284
  const capability = this.requestCapabilities(interfaceDef, filter)[0];
288
285
  (0, import_invariant.invariant)(capability, `No capability found for ${interfaceDef.identifier}`, {
289
286
  F: __dxlog_file,
290
- L: 203,
287
+ L: 199,
291
288
  S: this,
292
289
  A: [
293
290
  "capability",
@@ -352,7 +349,7 @@ var PluginManager = class {
352
349
  });
353
350
  this._capabilities = /* @__PURE__ */ new Map();
354
351
  this._pluginLoader = pluginLoader;
355
- this._state = (0, import_live_object3.live)({
352
+ this._state = (0, import_live_object3.create)({
356
353
  plugins,
357
354
  core,
358
355
  enabled,
@@ -909,22 +906,6 @@ var Capabilities;
909
906
  Capabilities2.ArtifactDefinition = defineCapability("dxos.org/app-framework/capability/artifact-definition");
910
907
  Capabilities2.FileUploader = defineCapability("dxos.org/app-framework/capability/file-uploader");
911
908
  })(Capabilities || (Capabilities = {}));
912
- var CollaborationActions;
913
- (function(CollaborationActions2) {
914
- class InsertContent extends import_effect6.Schema.TaggedClass()("assistant/intent-content", {
915
- input: import_effect6.Schema.Struct({
916
- spaceId: import_echo_schema.SpaceIdSchema,
917
- target: (0, import_echo_schema.Ref)(import_echo_schema.Expando),
918
- object: (0, import_echo_schema.Ref)(import_echo_schema.Expando),
919
- label: import_effect6.Schema.String.pipe(import_effect6.Schema.optional)
920
- }).annotations({
921
- [import_effect6.SchemaAST.DescriptionAnnotationId]: "Enables plugins to inject content blocks or references into a related entity."
922
- }),
923
- output: import_effect6.Schema.Void
924
- }) {
925
- }
926
- CollaborationActions2.InsertContent = InsertContent;
927
- })(CollaborationActions || (CollaborationActions = {}));
928
909
  var Events;
929
910
  (function(Events2) {
930
911
  Events2.Startup = defineEvent("dxos.org/app-framework/event/startup");
@@ -960,11 +941,11 @@ var defaultFileTypes = {
960
941
  "md"
961
942
  ]
962
943
  };
963
- var FileInfoSchema = import_effect7.Schema.Struct({
964
- name: import_effect7.Schema.String,
965
- type: import_effect7.Schema.String,
966
- url: import_effect7.Schema.optional(import_effect7.Schema.String),
967
- cid: import_effect7.Schema.optional(import_effect7.Schema.String)
944
+ var FileInfoSchema = import_effect6.Schema.Struct({
945
+ name: import_effect6.Schema.String,
946
+ type: import_effect6.Schema.String,
947
+ url: import_effect6.Schema.optional(import_effect6.Schema.String),
948
+ cid: import_effect6.Schema.optional(import_effect6.Schema.String)
968
949
  });
969
950
  var IntentPlugin = () => definePlugin({
970
951
  id: INTENT_PLUGIN,
@@ -979,7 +960,7 @@ var IntentPlugin = () => definePlugin({
979
960
  activatesAfter: [
980
961
  Events.DispatcherReady
981
962
  ],
982
- activate: lazy(() => import("./intent-dispatcher-FQPJNKIZ.cjs"))
963
+ activate: lazy(() => import("./intent-dispatcher-H334XLFD.cjs"))
983
964
  })
984
965
  ]);
985
966
  var LAYOUT_PLUGIN = "dxos.org/plugin/layout";
@@ -987,338 +968,328 @@ var LAYOUT_ACTION = `${LAYOUT_PLUGIN}/action`;
987
968
  var LayoutAction;
988
969
  (function(LayoutAction2) {
989
970
  LayoutAction2.UPDATE_LAYOUT = `${LAYOUT_ACTION}/update-layout`;
990
- class UpdateLayout extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
991
- input: import_effect8.Schema.Struct({
992
- part: import_effect8.Schema.String.annotations({
971
+ class UpdateLayout extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
972
+ input: import_effect7.Schema.Struct({
973
+ part: import_effect7.Schema.String.annotations({
993
974
  description: "The part of the layout to mutate."
994
975
  }),
995
- subject: import_effect8.Schema.optional(import_effect8.Schema.Any.annotations({
976
+ subject: import_effect7.Schema.optional(import_effect7.Schema.Any.annotations({
996
977
  description: "The subject of the layout update."
997
978
  })),
998
- options: import_effect8.Schema.optional(import_effect8.Schema.Record({
999
- key: import_effect8.Schema.String,
1000
- value: import_effect8.Schema.Any
979
+ options: import_effect7.Schema.optional(import_effect7.Schema.Record({
980
+ key: import_effect7.Schema.String,
981
+ value: import_effect7.Schema.Any
1001
982
  }).annotations({
1002
983
  description: "Additional options for the layout action."
1003
984
  }))
1004
985
  }),
1005
- output: import_effect8.Schema.Void
986
+ output: import_effect7.Schema.Void
1006
987
  }) {
1007
988
  }
1008
989
  LayoutAction2.UpdateLayout = UpdateLayout;
1009
- class SetLayoutMode extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1010
- input: import_effect8.Schema.Struct({
1011
- part: import_effect8.Schema.Literal("mode").annotations({
990
+ class SetLayoutMode extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
991
+ input: import_effect7.Schema.Struct({
992
+ part: import_effect7.Schema.Literal("mode").annotations({
1012
993
  description: "Setting the layout mode."
1013
994
  }),
1014
- subject: import_effect8.Schema.optional(import_effect8.Schema.String.annotations({
995
+ subject: import_effect7.Schema.optional(import_effect7.Schema.String.annotations({
1015
996
  description: "Item which is the subject of the new layout mode."
1016
997
  })),
1017
- options: import_effect8.Schema.Union(import_effect8.Schema.Struct({
1018
- mode: import_effect8.Schema.String.annotations({
998
+ options: import_effect7.Schema.Union(import_effect7.Schema.Struct({
999
+ mode: import_effect7.Schema.String.annotations({
1019
1000
  description: "The new layout mode."
1020
1001
  })
1021
- }), import_effect8.Schema.Struct({
1022
- revert: import_effect8.Schema.Boolean.annotations({
1002
+ }), import_effect7.Schema.Struct({
1003
+ revert: import_effect7.Schema.Boolean.annotations({
1023
1004
  description: "Revert to the previous layout mode."
1024
1005
  })
1025
1006
  }))
1026
1007
  }),
1027
- output: import_effect8.Schema.Void
1008
+ output: import_effect7.Schema.Void
1028
1009
  }) {
1029
1010
  }
1030
1011
  LayoutAction2.SetLayoutMode = SetLayoutMode;
1031
- class UpdateSidebar extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1032
- input: import_effect8.Schema.Struct({
1033
- part: import_effect8.Schema.Literal("sidebar").annotations({
1012
+ class UpdateSidebar extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1013
+ input: import_effect7.Schema.Struct({
1014
+ part: import_effect7.Schema.Literal("sidebar").annotations({
1034
1015
  description: "Updating the sidebar."
1035
1016
  }),
1036
- subject: import_effect8.Schema.optional(import_effect8.Schema.String.annotations({
1017
+ subject: import_effect7.Schema.optional(import_effect7.Schema.String.annotations({
1037
1018
  description: "URI of the component to display in the sidebar."
1038
1019
  })),
1039
- options: import_effect8.Schema.optional(import_effect8.Schema.Struct({
1040
- state: import_effect8.Schema.Literal("closed", "collapsed", "expanded").annotations({
1020
+ options: import_effect7.Schema.optional(import_effect7.Schema.Struct({
1021
+ state: import_effect7.Schema.Literal("closed", "collapsed", "expanded").annotations({
1041
1022
  description: "Whether the sidebar is closed, collapsed, or expanded."
1042
1023
  })
1043
1024
  }))
1044
1025
  }),
1045
- output: import_effect8.Schema.Void
1026
+ output: import_effect7.Schema.Void
1046
1027
  }) {
1047
1028
  }
1048
1029
  LayoutAction2.UpdateSidebar = UpdateSidebar;
1049
- class UpdateComplementary extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1050
- input: import_effect8.Schema.Struct({
1051
- part: import_effect8.Schema.Literal("complementary").annotations({
1030
+ class UpdateComplementary extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1031
+ input: import_effect7.Schema.Struct({
1032
+ part: import_effect7.Schema.Literal("complementary").annotations({
1052
1033
  description: "Updating the complementary sidebar."
1053
1034
  }),
1054
- subject: import_effect8.Schema.optional(import_effect8.Schema.String.annotations({
1035
+ subject: import_effect7.Schema.optional(import_effect7.Schema.String.annotations({
1055
1036
  description: "URI of the component to display in the complementary area."
1056
1037
  })),
1057
- options: import_effect8.Schema.optional(import_effect8.Schema.Struct({
1058
- state: import_effect8.Schema.Literal("closed", "collapsed", "expanded").annotations({
1038
+ options: import_effect7.Schema.optional(import_effect7.Schema.Struct({
1039
+ state: import_effect7.Schema.Literal("closed", "collapsed", "expanded").annotations({
1059
1040
  description: "Whether the complementary sidebar is closed, collapsed, or expanded."
1060
1041
  })
1061
1042
  }))
1062
1043
  }),
1063
- output: import_effect8.Schema.Void
1044
+ output: import_effect7.Schema.Void
1064
1045
  }) {
1065
1046
  }
1066
1047
  LayoutAction2.UpdateComplementary = UpdateComplementary;
1067
- class UpdateDialog extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1068
- input: import_effect8.Schema.Struct({
1069
- part: import_effect8.Schema.Literal("dialog").annotations({
1048
+ class UpdateDialog extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1049
+ input: import_effect7.Schema.Struct({
1050
+ part: import_effect7.Schema.Literal("dialog").annotations({
1070
1051
  description: "Updating the dialog."
1071
1052
  }),
1072
- subject: import_effect8.Schema.optional(import_effect8.Schema.String.annotations({
1053
+ subject: import_effect7.Schema.optional(import_effect7.Schema.String.annotations({
1073
1054
  description: "URI of the component to display in the dialog."
1074
1055
  })),
1075
- options: import_effect8.Schema.Struct({
1076
- state: import_effect8.Schema.optional(import_effect8.Schema.Boolean.annotations({
1056
+ options: import_effect7.Schema.Struct({
1057
+ state: import_effect7.Schema.optional(import_effect7.Schema.Boolean.annotations({
1077
1058
  description: "Whether the dialog is open or closed."
1078
1059
  })),
1079
- blockAlign: import_effect8.Schema.optional(import_effect8.Schema.Literal("start", "center", "end").annotations({
1060
+ blockAlign: import_effect7.Schema.optional(import_effect7.Schema.Literal("start", "center", "end").annotations({
1080
1061
  description: "The alignment of the dialog."
1081
1062
  })),
1082
- type: import_effect8.Schema.optional(import_effect8.Schema.Literal("default", "alert").annotations({
1063
+ type: import_effect7.Schema.optional(import_effect7.Schema.Literal("default", "alert").annotations({
1083
1064
  description: "The type of dialog."
1084
1065
  })),
1085
- props: import_effect8.Schema.optional(import_effect8.Schema.Record({
1086
- key: import_effect8.Schema.String,
1087
- value: import_effect8.Schema.Any
1066
+ props: import_effect7.Schema.optional(import_effect7.Schema.Record({
1067
+ key: import_effect7.Schema.String,
1068
+ value: import_effect7.Schema.Any
1088
1069
  }).annotations({
1089
1070
  description: "Additional props for the dialog."
1090
1071
  }))
1091
1072
  })
1092
1073
  }),
1093
- output: import_effect8.Schema.Void
1074
+ output: import_effect7.Schema.Void
1094
1075
  }) {
1095
1076
  }
1096
1077
  LayoutAction2.UpdateDialog = UpdateDialog;
1097
- class UpdatePopover extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1098
- input: import_effect8.Schema.Struct({
1099
- part: import_effect8.Schema.Literal("popover").annotations({
1078
+ class UpdatePopover extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1079
+ input: import_effect7.Schema.Struct({
1080
+ part: import_effect7.Schema.Literal("popover").annotations({
1100
1081
  description: "Updating the popover."
1101
1082
  }),
1102
- subject: import_effect8.Schema.optional(import_effect8.Schema.Any.annotations({
1103
- description: "URI of the component to display in the popover or data to pass to the popover."
1083
+ subject: import_effect7.Schema.optional(import_effect7.Schema.String.annotations({
1084
+ description: "URI of the component to display in the popover."
1104
1085
  })),
1105
- options: import_effect8.Schema.Struct({
1106
- side: import_effect8.Schema.optional(import_effect8.Schema.Literal("top", "right", "bottom", "left").annotations({
1086
+ options: import_effect7.Schema.Struct({
1087
+ anchorId: import_effect7.Schema.String.annotations({
1088
+ description: "The id of the element to anchor the popover to."
1089
+ }),
1090
+ side: import_effect7.Schema.optional(import_effect7.Schema.Literal("top", "right", "bottom", "left").annotations({
1107
1091
  description: "The side of the anchor."
1108
1092
  })),
1109
- state: import_effect8.Schema.optional(import_effect8.Schema.Boolean.annotations({
1093
+ state: import_effect7.Schema.optional(import_effect7.Schema.Boolean.annotations({
1110
1094
  description: "Whether the popover is open or closed."
1111
1095
  })),
1112
- props: import_effect8.Schema.optional(import_effect8.Schema.Record({
1113
- key: import_effect8.Schema.String,
1114
- value: import_effect8.Schema.Any
1096
+ props: import_effect7.Schema.optional(import_effect7.Schema.Record({
1097
+ key: import_effect7.Schema.String,
1098
+ value: import_effect7.Schema.Any
1115
1099
  }).annotations({
1116
1100
  description: "Additional props for the popover."
1117
1101
  }))
1118
- }).pipe(import_effect8.Schema.extend(import_effect8.Schema.Union(import_effect8.Schema.Struct({
1119
- variant: import_effect8.Schema.Literal("virtual"),
1120
- anchor: import_effect8.Schema.Any.annotations({
1121
- description: "The DOM element to anchor the popover to."
1122
- })
1123
- }), import_effect8.Schema.Struct({
1124
- variant: import_effect8.Schema.optional(import_effect8.Schema.Literal("react")),
1125
- anchorId: import_effect8.Schema.String.annotations({
1126
- description: "An id that can be used to determine whether to render the anchor subcomponent."
1127
- })
1128
- }))))
1102
+ })
1129
1103
  }),
1130
- output: import_effect8.Schema.Void
1104
+ output: import_effect7.Schema.Void
1131
1105
  }) {
1132
1106
  }
1133
1107
  LayoutAction2.UpdatePopover = UpdatePopover;
1134
- LayoutAction2.Toast = import_effect8.Schema.Struct({
1135
- id: import_effect8.Schema.String.annotations({
1108
+ LayoutAction2.Toast = import_effect7.Schema.Struct({
1109
+ id: import_effect7.Schema.String.annotations({
1136
1110
  description: "The id of the toast."
1137
1111
  }),
1138
- title: import_effect8.Schema.optional(Label.annotations({
1112
+ title: import_effect7.Schema.optional(Label.annotations({
1139
1113
  description: "The title of the toast."
1140
1114
  })),
1141
- description: import_effect8.Schema.optional(Label.annotations({
1115
+ description: import_effect7.Schema.optional(Label.annotations({
1142
1116
  description: "The description of the toast."
1143
1117
  })),
1144
- icon: import_effect8.Schema.optional(import_effect8.Schema.String.annotations({
1118
+ icon: import_effect7.Schema.optional(import_effect7.Schema.String.annotations({
1145
1119
  description: "The icon of the toast."
1146
1120
  })),
1147
- duration: import_effect8.Schema.optional(import_effect8.Schema.Number.annotations({
1121
+ duration: import_effect7.Schema.optional(import_effect7.Schema.Number.annotations({
1148
1122
  description: "The duration of the toast."
1149
1123
  })),
1150
- closeLabel: import_effect8.Schema.optional(Label.annotations({
1124
+ closeLabel: import_effect7.Schema.optional(Label.annotations({
1151
1125
  description: "The label of the close button."
1152
1126
  })),
1153
- actionLabel: import_effect8.Schema.optional(Label.annotations({
1127
+ actionLabel: import_effect7.Schema.optional(Label.annotations({
1154
1128
  description: "The label of the action button."
1155
1129
  })),
1156
- actionAlt: import_effect8.Schema.optional(Label.annotations({
1130
+ actionAlt: import_effect7.Schema.optional(Label.annotations({
1157
1131
  description: "The alt text of the action button."
1158
1132
  })),
1159
- onAction: import_effect8.Schema.optional(import_effect8.Schema.Any.annotations({
1133
+ onAction: import_effect7.Schema.optional(import_effect7.Schema.Any.annotations({
1160
1134
  description: "The action to perform when the action button is clicked."
1161
1135
  }))
1162
1136
  });
1163
- class AddToast extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1164
- input: import_effect8.Schema.Struct({
1165
- part: import_effect8.Schema.Literal("toast").annotations({
1137
+ class AddToast extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1138
+ input: import_effect7.Schema.Struct({
1139
+ part: import_effect7.Schema.Literal("toast").annotations({
1166
1140
  description: "Adding a toast."
1167
1141
  }),
1168
1142
  subject: LayoutAction2.Toast.annotations({
1169
1143
  description: "The toast to add."
1170
1144
  })
1171
1145
  }),
1172
- output: import_effect8.Schema.Void
1146
+ output: import_effect7.Schema.Void
1173
1147
  }) {
1174
1148
  }
1175
1149
  LayoutAction2.AddToast = AddToast;
1176
- class SwitchWorkspace extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1177
- input: import_effect8.Schema.Struct({
1178
- part: import_effect8.Schema.Literal("workspace").annotations({
1150
+ class SwitchWorkspace extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1151
+ input: import_effect7.Schema.Struct({
1152
+ part: import_effect7.Schema.Literal("workspace").annotations({
1179
1153
  description: "Switching the workspace."
1180
1154
  }),
1181
- subject: import_effect8.Schema.String.annotations({
1155
+ subject: import_effect7.Schema.String.annotations({
1182
1156
  description: "The id of the workspace to switch to."
1183
1157
  })
1184
1158
  }),
1185
- output: import_effect8.Schema.Void
1159
+ output: import_effect7.Schema.Void
1186
1160
  }) {
1187
1161
  }
1188
1162
  LayoutAction2.SwitchWorkspace = SwitchWorkspace;
1189
- class RevertWorkspace extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1190
- input: import_effect8.Schema.Struct({
1191
- part: import_effect8.Schema.Literal("workspace").annotations({
1163
+ class RevertWorkspace extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1164
+ input: import_effect7.Schema.Struct({
1165
+ part: import_effect7.Schema.Literal("workspace").annotations({
1192
1166
  description: "Switching the workspace."
1193
1167
  }),
1194
- options: import_effect8.Schema.Struct({
1195
- revert: import_effect8.Schema.Literal(true).annotations({
1168
+ options: import_effect7.Schema.Struct({
1169
+ revert: import_effect7.Schema.Literal(true).annotations({
1196
1170
  description: "Revert to the previous workspace."
1197
1171
  })
1198
1172
  })
1199
1173
  }),
1200
- output: import_effect8.Schema.Void
1174
+ output: import_effect7.Schema.Void
1201
1175
  }) {
1202
1176
  }
1203
1177
  LayoutAction2.RevertWorkspace = RevertWorkspace;
1204
- class Open extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1205
- input: import_effect8.Schema.Struct({
1206
- part: import_effect8.Schema.Literal("main").annotations({
1178
+ class Open extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1179
+ input: import_effect7.Schema.Struct({
1180
+ part: import_effect7.Schema.Literal("main").annotations({
1207
1181
  description: "Opening an item in the main content area."
1208
1182
  }),
1209
- subject: import_effect8.Schema.Array(import_effect8.Schema.String.annotations({
1183
+ subject: import_effect7.Schema.Array(import_effect7.Schema.String.annotations({
1210
1184
  description: "Ids of the items to open."
1211
1185
  })),
1212
- options: import_effect8.Schema.optional(import_effect8.Schema.Struct({
1213
- state: import_effect8.Schema.optional(import_effect8.Schema.Literal(true).annotations({
1186
+ options: import_effect7.Schema.optional(import_effect7.Schema.Struct({
1187
+ state: import_effect7.Schema.optional(import_effect7.Schema.Literal(true).annotations({
1214
1188
  description: "The items are being added."
1215
1189
  })),
1216
- variant: import_effect8.Schema.optional(import_effect8.Schema.String.annotations({
1190
+ variant: import_effect7.Schema.optional(import_effect7.Schema.String.annotations({
1217
1191
  description: "The variant of the item to open."
1218
1192
  })),
1219
- key: import_effect8.Schema.optional(import_effect8.Schema.String.annotations({
1193
+ key: import_effect7.Schema.optional(import_effect7.Schema.String.annotations({
1220
1194
  description: "If provided, will replace item with a matching key (id prefix)."
1221
1195
  })),
1222
- workspace: import_effect8.Schema.optional(import_effect8.Schema.String.annotations({
1223
- description: "The workspace to open the items in."
1224
- })),
1225
- scrollIntoView: import_effect8.Schema.optional(import_effect8.Schema.Boolean.annotations({
1196
+ scrollIntoView: import_effect7.Schema.optional(import_effect7.Schema.Boolean.annotations({
1226
1197
  description: "Scroll the items into view."
1227
1198
  })),
1228
- pivotId: import_effect8.Schema.optional(import_effect8.Schema.String.annotations({
1199
+ pivotId: import_effect7.Schema.optional(import_effect7.Schema.String.annotations({
1229
1200
  description: "The id of the item to place new items next to."
1230
1201
  })),
1231
- positioning: import_effect8.Schema.optional(import_effect8.Schema.Union(import_effect8.Schema.Literal("start").annotations({
1202
+ positioning: import_effect7.Schema.optional(import_effect7.Schema.Union(import_effect7.Schema.Literal("start").annotations({
1232
1203
  description: "The items are being added before the pivot item."
1233
- }), import_effect8.Schema.Literal("end").annotations({
1204
+ }), import_effect7.Schema.Literal("end").annotations({
1234
1205
  description: "The items are being added after the pivot item."
1235
1206
  })))
1236
1207
  }))
1237
1208
  }),
1238
- output: import_effect8.Schema.Void
1209
+ output: import_effect7.Schema.Void
1239
1210
  }) {
1240
1211
  }
1241
1212
  LayoutAction2.Open = Open;
1242
- class Set2 extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1243
- input: import_effect8.Schema.Struct({
1244
- part: import_effect8.Schema.Literal("main").annotations({
1213
+ class Set2 extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1214
+ input: import_effect7.Schema.Struct({
1215
+ part: import_effect7.Schema.Literal("main").annotations({
1245
1216
  description: "Setting items in the main content area."
1246
1217
  }),
1247
- subject: import_effect8.Schema.Array(import_effect8.Schema.String.annotations({
1218
+ subject: import_effect7.Schema.Array(import_effect7.Schema.String.annotations({
1248
1219
  description: "Ids of the items to set."
1249
1220
  })),
1250
- options: import_effect8.Schema.Struct({
1251
- override: import_effect8.Schema.Literal(true).annotations({
1221
+ options: import_effect7.Schema.Struct({
1222
+ override: import_effect7.Schema.Literal(true).annotations({
1252
1223
  description: "Override the current items in the main content area."
1253
1224
  })
1254
1225
  })
1255
1226
  }),
1256
- output: import_effect8.Schema.Void
1227
+ output: import_effect7.Schema.Void
1257
1228
  }) {
1258
1229
  }
1259
1230
  LayoutAction2.Set = Set2;
1260
- class Close extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1261
- input: import_effect8.Schema.Struct({
1262
- part: import_effect8.Schema.Literal("main").annotations({
1231
+ class Close extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1232
+ input: import_effect7.Schema.Struct({
1233
+ part: import_effect7.Schema.Literal("main").annotations({
1263
1234
  description: "Closing items in the main content area."
1264
1235
  }),
1265
- subject: import_effect8.Schema.Array(import_effect8.Schema.String.annotations({
1236
+ subject: import_effect7.Schema.Array(import_effect7.Schema.String.annotations({
1266
1237
  description: "Ids of the items to close."
1267
1238
  })),
1268
- options: import_effect8.Schema.Struct({
1269
- state: import_effect8.Schema.Literal(false).annotations({
1239
+ options: import_effect7.Schema.Struct({
1240
+ state: import_effect7.Schema.Literal(false).annotations({
1270
1241
  description: "The items are being removed."
1271
1242
  })
1272
1243
  })
1273
1244
  }),
1274
- output: import_effect8.Schema.Void
1245
+ output: import_effect7.Schema.Void
1275
1246
  }) {
1276
1247
  }
1277
1248
  LayoutAction2.Close = Close;
1278
- class ScrollIntoView extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1279
- input: import_effect8.Schema.Struct({
1280
- part: import_effect8.Schema.Literal("current").annotations({
1249
+ class ScrollIntoView extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1250
+ input: import_effect7.Schema.Struct({
1251
+ part: import_effect7.Schema.Literal("current").annotations({
1281
1252
  description: "Setting the current item"
1282
1253
  }),
1283
- subject: import_effect8.Schema.optional(import_effect8.Schema.String.annotations({
1254
+ subject: import_effect7.Schema.optional(import_effect7.Schema.String.annotations({
1284
1255
  description: "The id of the item to set as current."
1285
1256
  })),
1286
- options: import_effect8.Schema.optional(import_effect8.Schema.Record({
1287
- key: import_effect8.Schema.String,
1288
- value: import_effect8.Schema.Any
1257
+ options: import_effect7.Schema.optional(import_effect7.Schema.Record({
1258
+ key: import_effect7.Schema.String,
1259
+ value: import_effect7.Schema.Any
1289
1260
  }).annotations({
1290
1261
  description: "Additional options for the scroll into view."
1291
1262
  }))
1292
1263
  }),
1293
- output: import_effect8.Schema.Void
1264
+ output: import_effect7.Schema.Void
1294
1265
  }) {
1295
1266
  }
1296
1267
  LayoutAction2.ScrollIntoView = ScrollIntoView;
1297
- class Expose extends import_effect8.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1298
- input: import_effect8.Schema.Struct({
1299
- part: import_effect8.Schema.Literal("navigation").annotations({
1268
+ class Expose extends import_effect7.Schema.TaggedClass()(LayoutAction2.UPDATE_LAYOUT, {
1269
+ input: import_effect7.Schema.Struct({
1270
+ part: import_effect7.Schema.Literal("navigation").annotations({
1300
1271
  description: "Exposing an item in the navigation area."
1301
1272
  }),
1302
- subject: import_effect8.Schema.String.annotations({
1273
+ subject: import_effect7.Schema.String.annotations({
1303
1274
  description: "The id of the item to expose."
1304
1275
  })
1305
1276
  }),
1306
- output: import_effect8.Schema.Void
1277
+ output: import_effect7.Schema.Void
1307
1278
  }) {
1308
1279
  }
1309
1280
  LayoutAction2.Expose = Expose;
1310
1281
  })(LayoutAction || (LayoutAction = {}));
1311
1282
  var createSurface = (definition) => definition;
1312
- var ResourceKey = import_effect9.Schema.Union(import_effect9.Schema.String, import_effect9.Schema.Record({
1313
- key: import_effect9.Schema.String,
1314
- value: import_effect9.Schema.Any
1283
+ var ResourceKey = import_effect8.Schema.Union(import_effect8.Schema.String, import_effect8.Schema.Record({
1284
+ key: import_effect8.Schema.String,
1285
+ value: import_effect8.Schema.Any
1315
1286
  }));
1316
- var ResourceLanguage = import_effect9.Schema.Record({
1317
- key: import_effect9.Schema.String,
1287
+ var ResourceLanguage = import_effect8.Schema.Record({
1288
+ key: import_effect8.Schema.String,
1318
1289
  value: ResourceKey
1319
1290
  });
1320
- var Resource = import_effect9.Schema.Record({
1321
- key: import_effect9.Schema.String,
1291
+ var Resource = import_effect8.Schema.Record({
1292
+ key: import_effect8.Schema.String,
1322
1293
  value: ResourceLanguage
1323
1294
  });
1324
1295
  var __dxlog_file3 = "/home/runner/work/dxos/dxos/packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts";
@@ -1394,7 +1365,7 @@ var createDispatcher = (getResolvers, { executionLimit = EXECUTION_LIMIT, histor
1394
1365
  })).catch((error) => {
1395
1366
  import_log.log.catch(error, void 0, {
1396
1367
  F: __dxlog_file3,
1397
- L: 270,
1368
+ L: 254,
1398
1369
  S: void 0,
1399
1370
  C: (f, a) => f(...a)
1400
1371
  });
@@ -1448,7 +1419,7 @@ var createDispatcher = (getResolvers, { executionLimit = EXECUTION_LIMIT, histor
1448
1419
  var defaultEffect = () => import_effect.Effect.fail(new Error("Intent runtime not ready"));
1449
1420
  var defaultPromise = () => import_effect.Effect.runPromise(defaultEffect());
1450
1421
  var intent_dispatcher_default = (context) => {
1451
- const state = (0, import_live_object.live)({
1422
+ const state = (0, import_live_object.create)({
1452
1423
  dispatch: defaultEffect,
1453
1424
  dispatchPromise: defaultPromise,
1454
1425
  undo: defaultEffect,
@@ -1475,7 +1446,6 @@ var intent_dispatcher_default = (context) => {
1475
1446
  // Annotate the CommonJS export names for ESM import in node:
1476
1447
  0 && (module.exports = {
1477
1448
  Capabilities,
1478
- CollaborationActions,
1479
1449
  Events,
1480
1450
  FileInfoSchema,
1481
1451
  INTENT_ACTION,
@@ -1513,4 +1483,4 @@ var intent_dispatcher_default = (context) => {
1513
1483
  lazy,
1514
1484
  oneOf
1515
1485
  });
1516
- //# sourceMappingURL=chunk-I3CJYEBC.cjs.map
1486
+ //# sourceMappingURL=chunk-YIFTVCOR.cjs.map