@dxos/app-framework 0.8.3 → 0.8.4-main.84f28bd
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.
- package/.swc/plugins/v7_linux_x86_64_13.0.0/f45bdff002284d9e8f9ef3f0be909de12da36c049cbcf261ac78fc00abb09a2d +0 -0
- package/.swc/plugins/v7_linux_x86_64_13.0.0/fce1bdb8e20a094e4af08bad09cc81497ed0e2e7c51223b07d371063cca18429 +0 -0
- package/README.md +0 -8
- package/dist/lib/browser/{app-graph-builder-BI4VVKSW.mjs → app-graph-builder-BGGXLD6T.mjs} +4 -4
- package/dist/lib/browser/{chunk-EHM4UI3V.mjs → chunk-2636QSIK.mjs} +24 -24
- package/dist/lib/browser/{chunk-EHM4UI3V.mjs.map → chunk-2636QSIK.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-DIBVO47Z.mjs → chunk-DHZB7HG7.mjs} +25 -18
- package/dist/lib/browser/{chunk-DIBVO47Z.mjs.map → chunk-DHZB7HG7.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-WWEJRWFX.mjs → chunk-ORWHM7CO.mjs} +2 -2
- package/dist/lib/browser/index.mjs +10 -10
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-dispatcher-XVBOMF2Y.mjs → intent-dispatcher-TWKB22NI.mjs} +2 -2
- package/dist/lib/browser/{intent-resolver-3QMBXLIY.mjs → intent-resolver-O67UANYP.mjs} +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{store-5H7XPJGA.mjs → store-LFKDWHUQ.mjs} +3 -3
- package/dist/lib/browser/testing/index.mjs +3 -3
- package/dist/lib/browser/worker.mjs +1 -1
- package/dist/lib/node-esm/{app-graph-builder-NROP6RPQ.mjs → app-graph-builder-QHIJUYYW.mjs} +4 -4
- package/dist/lib/node-esm/{chunk-FHNZZWP4.mjs → chunk-NJAFK626.mjs} +25 -18
- package/dist/lib/node-esm/{chunk-FHNZZWP4.mjs.map → chunk-NJAFK626.mjs.map} +3 -3
- package/dist/lib/node-esm/{chunk-I6BVZMAH.mjs → chunk-UMZQERLE.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-2J6FVECI.mjs → chunk-VSKRV3NW.mjs} +24 -24
- package/dist/lib/node-esm/{chunk-2J6FVECI.mjs.map → chunk-VSKRV3NW.mjs.map} +2 -2
- package/dist/lib/node-esm/index.mjs +10 -10
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intent-dispatcher-7JPGLCQ5.mjs → intent-dispatcher-5PRM3KGH.mjs} +2 -2
- package/dist/lib/node-esm/{intent-resolver-VY4X5UHN.mjs → intent-resolver-K3D4BXQQ.mjs} +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{store-UKD2R2KA.mjs → store-53XDUBMD.mjs} +3 -3
- package/dist/lib/node-esm/testing/index.mjs +3 -3
- package/dist/lib/node-esm/worker.mjs +1 -1
- package/dist/types/src/common/capabilities.d.ts.map +1 -1
- package/dist/types/src/plugin-settings/translations.d.ts +7 -8
- package/dist/types/src/plugin-settings/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/moon.yml +14 -0
- package/package.json +27 -27
- package/src/App.tsx +3 -3
- package/src/common/capabilities.ts +1 -0
- package/src/core/manager.test.ts +1 -2
- package/src/plugin-settings/SettingsPlugin.ts +1 -1
- package/src/plugin-settings/translations.ts +4 -2
- package/typedoc/classes/CollaborationActions.InsertContent.html +40 -40
- package/typedoc/classes/ErrorBoundary.html +6 -6
- package/typedoc/classes/IntentAction.ShowUndo.html +41 -41
- package/typedoc/classes/IntentAction.Track.html +41 -41
- package/typedoc/classes/LayoutAction.AddToast.html +40 -40
- package/typedoc/classes/LayoutAction.Close.html +40 -40
- package/typedoc/classes/LayoutAction.Expose.html +40 -40
- package/typedoc/classes/LayoutAction.Open.html +40 -40
- package/typedoc/classes/LayoutAction.RevertWorkspace.html +40 -40
- package/typedoc/classes/LayoutAction.ScrollIntoView.html +40 -40
- package/typedoc/classes/LayoutAction.Set.html +40 -40
- package/typedoc/classes/LayoutAction.SetLayoutMode.html +40 -40
- package/typedoc/classes/LayoutAction.SwitchWorkspace.html +40 -40
- package/typedoc/classes/LayoutAction.UpdateComplementary.html +40 -40
- package/typedoc/classes/LayoutAction.UpdateDialog.html +40 -40
- package/typedoc/classes/LayoutAction.UpdateLayout.html +41 -41
- package/typedoc/classes/LayoutAction.UpdatePopover.html +40 -40
- package/typedoc/classes/LayoutAction.UpdateSidebar.html +40 -40
- package/typedoc/classes/Plugin.html +3 -3
- package/typedoc/classes/PluginContext.html +10 -10
- package/typedoc/classes/PluginManager.html +16 -16
- package/typedoc/classes/PluginModule.html +8 -8
- package/typedoc/classes/SettingsAction.Open.html +40 -40
- package/typedoc/classes/SettingsAction.OpenPluginRegistry.html +40 -40
- package/typedoc/functions/Events.createStateEvent.html +2 -2
- package/typedoc/functions/IntentPlugin.html +1 -1
- package/typedoc/functions/SettingsPlugin.html +1 -1
- package/typedoc/functions/allOf.html +2 -2
- package/typedoc/functions/chain.html +2 -2
- package/typedoc/functions/contributes.html +2 -2
- package/typedoc/functions/createDispatcher.html +2 -2
- package/typedoc/functions/createIntent.html +2 -2
- package/typedoc/functions/createResolver.html +2 -2
- package/typedoc/functions/createSurface.html +2 -2
- package/typedoc/functions/defineCapability.html +2 -2
- package/typedoc/functions/defineEvent.html +2 -2
- package/typedoc/functions/defineModule.html +2 -2
- package/typedoc/functions/definePlugin.html +2 -2
- package/typedoc/functions/eventKey.html +2 -2
- package/typedoc/functions/getEvents.html +2 -2
- package/typedoc/functions/isAllOf.html +2 -2
- package/typedoc/functions/isOneOf.html +2 -2
- package/typedoc/functions/isSurfaceAvailable.html +2 -2
- package/typedoc/functions/lazy.html +2 -2
- package/typedoc/functions/oneOf.html +2 -2
- package/typedoc/functions/useApp.html +2 -2
- package/typedoc/functions/useAppGraph.html +1 -1
- package/typedoc/functions/useCapabilities.html +2 -2
- package/typedoc/functions/useCapability.html +2 -2
- package/typedoc/functions/useIntentDispatcher.html +1 -1
- package/typedoc/functions/useIntentResolver.html +1 -1
- package/typedoc/functions/useLayout.html +1 -1
- package/typedoc/functions/usePluginManager.html +2 -2
- package/typedoc/hierarchy.html +1 -1
- package/typedoc/index.html +2 -6
- package/typedoc/interfaces/LayoutAction.Toast.html +2 -2
- package/typedoc/modules/Capabilities.html +1 -1
- package/typedoc/modules/CollaborationActions.html +1 -1
- package/typedoc/modules/Events.html +1 -1
- package/typedoc/modules/IntentAction.html +1 -1
- package/typedoc/modules/LayoutAction.html +2 -2
- package/typedoc/modules/SettingsAction.html +1 -1
- package/typedoc/modules.html +1 -1
- package/typedoc/types/ActivationEvent.html +3 -3
- package/typedoc/types/ActivationEvents.html +2 -2
- package/typedoc/types/AnyCapability.html +1 -1
- package/typedoc/types/AnyIntent.html +1 -1
- package/typedoc/types/AnyIntentChain.html +1 -1
- package/typedoc/types/AnyIntentEffectResult.html +1 -1
- package/typedoc/types/AnyIntentResolver.html +1 -1
- package/typedoc/types/AnyIntentResult.html +1 -1
- package/typedoc/types/Capabilities.FileUploader.html +1 -1
- package/typedoc/types/Capabilities.IntentResolver.html +1 -1
- package/typedoc/types/Capabilities.Layout.html +1 -1
- package/typedoc/types/Capabilities.Metadata.html +1 -1
- package/typedoc/types/Capabilities.ReactContext.html +1 -1
- package/typedoc/types/Capabilities.ReactRoot.html +1 -1
- package/typedoc/types/Capabilities.ReactSurface.html +1 -1
- package/typedoc/types/Capabilities.Settings.html +2 -2
- package/typedoc/types/Capability.html +5 -5
- package/typedoc/types/CreateAppOptions.html +2 -2
- package/typedoc/types/FileInfo.html +1 -1
- package/typedoc/types/Intent.html +6 -6
- package/typedoc/types/IntentChain.html +3 -3
- package/typedoc/types/IntentContext.html +2 -2
- package/typedoc/types/IntentData.html +1 -1
- package/typedoc/types/IntentDispatcher.html +2 -2
- package/typedoc/types/IntentDispatcherResult.html +2 -2
- package/typedoc/types/IntentEffectDefinition.html +2 -2
- package/typedoc/types/IntentEffectResult.html +6 -6
- package/typedoc/types/IntentParams.html +2 -2
- package/typedoc/types/IntentResolver.html +2 -2
- package/typedoc/types/IntentResultData.html +1 -1
- package/typedoc/types/IntentSchema.html +1 -1
- package/typedoc/types/IntentUndo.html +2 -2
- package/typedoc/types/InterfaceDef.html +3 -3
- package/typedoc/types/Label.html +1 -1
- package/typedoc/types/NodeSerializer.html +3 -3
- package/typedoc/types/PluginManagerOptions.html +2 -2
- package/typedoc/types/PluginMeta.html +9 -9
- package/typedoc/types/PromiseIntentDispatcher.html +2 -2
- package/typedoc/types/PromiseIntentUndo.html +2 -2
- package/typedoc/types/Resource.html +1 -1
- package/typedoc/types/ResourceKey.html +1 -1
- package/typedoc/types/ResourceLanguage.html +1 -1
- package/typedoc/types/SerializedNode.html +2 -2
- package/typedoc/types/SurfaceComponent.html +2 -2
- package/typedoc/types/SurfaceDefinition.html +2 -2
- package/typedoc/types/SurfaceProps.html +2 -2
- package/typedoc/variables/Capabilities.AnchorSort.html +1 -1
- package/typedoc/variables/Capabilities.AppGraph.html +1 -1
- package/typedoc/variables/Capabilities.AppGraphBuilder.html +1 -1
- package/typedoc/variables/Capabilities.AppGraphSerializer.html +1 -1
- package/typedoc/variables/Capabilities.ArtifactDefinition.html +1 -1
- package/typedoc/variables/Capabilities.FileUploader.html +1 -1
- package/typedoc/variables/Capabilities.IntentDispatcher.html +1 -1
- package/typedoc/variables/Capabilities.IntentResolver.html +1 -1
- package/typedoc/variables/Capabilities.Layout.html +1 -1
- package/typedoc/variables/Capabilities.Metadata.html +1 -1
- package/typedoc/variables/Capabilities.Null.html +1 -1
- package/typedoc/variables/Capabilities.PluginManager.html +1 -1
- package/typedoc/variables/Capabilities.ReactContext.html +1 -1
- package/typedoc/variables/Capabilities.ReactRoot.html +1 -1
- package/typedoc/variables/Capabilities.ReactSurface.html +1 -1
- package/typedoc/variables/Capabilities.RxRegistry.html +1 -1
- package/typedoc/variables/Capabilities.Settings.html +1 -1
- package/typedoc/variables/Capabilities.SettingsStore.html +1 -1
- package/typedoc/variables/Capabilities.Tools.html +1 -1
- package/typedoc/variables/Capabilities.Translations.html +1 -1
- package/typedoc/variables/Events.AppGraphReady.html +2 -2
- package/typedoc/variables/Events.DispatcherReady.html +2 -2
- package/typedoc/variables/Events.LayoutReady.html +1 -1
- package/typedoc/variables/Events.SettingsReady.html +2 -2
- package/typedoc/variables/Events.SetupAppGraph.html +2 -2
- package/typedoc/variables/Events.SetupArtifactDefinition.html +2 -2
- package/typedoc/variables/Events.SetupIntentResolver.html +2 -2
- package/typedoc/variables/Events.SetupMetadata.html +2 -2
- package/typedoc/variables/Events.SetupReactSurface.html +2 -2
- package/typedoc/variables/Events.SetupSettings.html +2 -2
- package/typedoc/variables/Events.SetupTranslations.html +2 -2
- package/typedoc/variables/Events.Startup.html +2 -2
- package/typedoc/variables/FileInfoSchema.html +1 -1
- package/typedoc/variables/INTENT_ACTION.html +1 -1
- package/typedoc/variables/INTENT_PLUGIN.html +1 -1
- package/typedoc/variables/LAYOUT_ACTION.html +1 -1
- package/typedoc/variables/LAYOUT_PLUGIN.html +1 -1
- package/typedoc/variables/Label.html +1 -1
- package/typedoc/variables/LayoutAction.Toast.html +1 -1
- package/typedoc/variables/LayoutAction.UPDATE_LAYOUT.html +1 -1
- package/typedoc/variables/PluginManagerProvider.html +2 -2
- package/typedoc/variables/Resource.html +2 -2
- package/typedoc/variables/ResourceKey.html +1 -1
- package/typedoc/variables/ResourceLanguage.html +1 -1
- package/typedoc/variables/SETTINGS_ACTION.html +1 -1
- package/typedoc/variables/SETTINGS_ID.html +1 -1
- package/typedoc/variables/SETTINGS_KEY.html +1 -1
- package/typedoc/variables/SETTINGS_PLUGIN.html +1 -1
- package/typedoc/variables/Surface.html +2 -2
- package/typedoc/variables/defaultFileTypes.html +1 -1
- package/vitest.config.ts +5 -2
- package/README.yml +0 -5
- package/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs +0 -146
- package/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs.map +0 -7
- package/dist/lib/node/chunk-G774ASXO.cjs +0 -58
- package/dist/lib/node/chunk-G774ASXO.cjs.map +0 -7
- package/dist/lib/node/chunk-VSOSVDQ3.cjs +0 -1551
- package/dist/lib/node/chunk-VSOSVDQ3.cjs.map +0 -7
- package/dist/lib/node/chunk-YGAY3H34.cjs +0 -429
- package/dist/lib/node/chunk-YGAY3H34.cjs.map +0 -7
- package/dist/lib/node/index.cjs +0 -193
- package/dist/lib/node/index.cjs.map +0 -7
- package/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs +0 -32
- package/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-IOJDYO34.cjs +0 -46
- package/dist/lib/node/intent-resolver-IOJDYO34.cjs.map +0 -7
- package/dist/lib/node/meta.json +0 -1
- package/dist/lib/node/store-ESF5VR57.cjs +0 -45
- package/dist/lib/node/store-ESF5VR57.cjs.map +0 -7
- package/dist/lib/node/testing/index.cjs +0 -119
- package/dist/lib/node/testing/index.cjs.map +0 -7
- package/dist/lib/node/worker.cjs +0 -101
- package/dist/lib/node/worker.cjs.map +0 -7
- package/project.json +0 -29
- /package/dist/lib/browser/{app-graph-builder-BI4VVKSW.mjs.map → app-graph-builder-BGGXLD6T.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-WWEJRWFX.mjs.map → chunk-ORWHM7CO.mjs.map} +0 -0
- /package/dist/lib/browser/{intent-dispatcher-XVBOMF2Y.mjs.map → intent-dispatcher-TWKB22NI.mjs.map} +0 -0
- /package/dist/lib/browser/{intent-resolver-3QMBXLIY.mjs.map → intent-resolver-O67UANYP.mjs.map} +0 -0
- /package/dist/lib/browser/{store-5H7XPJGA.mjs.map → store-LFKDWHUQ.mjs.map} +0 -0
- /package/dist/lib/node-esm/{app-graph-builder-NROP6RPQ.mjs.map → app-graph-builder-QHIJUYYW.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-I6BVZMAH.mjs.map → chunk-UMZQERLE.mjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-dispatcher-7JPGLCQ5.mjs.map → intent-dispatcher-5PRM3KGH.mjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-resolver-VY4X5UHN.mjs.map → intent-resolver-K3D4BXQQ.mjs.map} +0 -0
- /package/dist/lib/node-esm/{store-UKD2R2KA.mjs.map → store-53XDUBMD.mjs.map} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
//
|
|
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
|
-
//
|
|
9
|
+
// src/plugin-intent/actions.ts
|
|
10
10
|
import { Schema as Schema2 } from "effect";
|
|
11
11
|
|
|
12
|
-
//
|
|
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
|
-
//
|
|
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
|
-
//
|
|
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
|
-
//
|
|
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 = "/
|
|
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
|
-
//
|
|
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
|
-
//
|
|
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 = "/
|
|
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
|
-
//
|
|
841
|
+
// src/core/plugin.ts
|
|
842
842
|
var PluginModule = class {
|
|
843
843
|
constructor(options) {
|
|
844
844
|
this.id = options.id;
|
|
@@ -859,7 +859,7 @@ var definePlugin = (meta, modules) => {
|
|
|
859
859
|
return new Plugin(meta, modules);
|
|
860
860
|
};
|
|
861
861
|
|
|
862
|
-
//
|
|
862
|
+
// src/common/capabilities.ts
|
|
863
863
|
(function(Capabilities2) {
|
|
864
864
|
Capabilities2.PluginManager = defineCapability("dxos.org/app-framework/capability/plugin-manager");
|
|
865
865
|
Capabilities2.Null = defineCapability("dxos.org/app-framework/capability/null");
|
|
@@ -884,7 +884,7 @@ var definePlugin = (meta, modules) => {
|
|
|
884
884
|
})(Capabilities || (Capabilities = {}));
|
|
885
885
|
var Capabilities;
|
|
886
886
|
|
|
887
|
-
//
|
|
887
|
+
// src/common/collaboration.ts
|
|
888
888
|
import { Schema as Schema3 } from "effect";
|
|
889
889
|
import { Expando, Ref } from "@dxos/echo-schema";
|
|
890
890
|
(function(CollaborationActions2) {
|
|
@@ -904,7 +904,7 @@ import { Expando, Ref } from "@dxos/echo-schema";
|
|
|
904
904
|
})(CollaborationActions || (CollaborationActions = {}));
|
|
905
905
|
var CollaborationActions;
|
|
906
906
|
|
|
907
|
-
//
|
|
907
|
+
// src/common/events.ts
|
|
908
908
|
(function(Events2) {
|
|
909
909
|
Events2.Startup = defineEvent("dxos.org/app-framework/event/startup");
|
|
910
910
|
Events2.SetupReactSurface = defineEvent("dxos.org/app-framework/event/setup-react-surface");
|
|
@@ -922,7 +922,7 @@ var CollaborationActions;
|
|
|
922
922
|
})(Events || (Events = {}));
|
|
923
923
|
var Events;
|
|
924
924
|
|
|
925
|
-
//
|
|
925
|
+
// src/common/file.ts
|
|
926
926
|
import { Schema as Schema4 } from "effect";
|
|
927
927
|
var defaultFileTypes = {
|
|
928
928
|
images: [
|
|
@@ -950,10 +950,10 @@ var FileInfoSchema = Schema4.Struct({
|
|
|
950
950
|
cid: Schema4.optional(Schema4.String)
|
|
951
951
|
});
|
|
952
952
|
|
|
953
|
-
//
|
|
953
|
+
// src/common/layout.ts
|
|
954
954
|
import { Schema as Schema5 } from "effect";
|
|
955
955
|
|
|
956
|
-
//
|
|
956
|
+
// src/plugin-intent/IntentPlugin.ts
|
|
957
957
|
var IntentPlugin = () => definePlugin({
|
|
958
958
|
id: INTENT_PLUGIN,
|
|
959
959
|
name: "Intent"
|
|
@@ -967,11 +967,11 @@ var IntentPlugin = () => definePlugin({
|
|
|
967
967
|
activatesAfter: [
|
|
968
968
|
Events.DispatcherReady
|
|
969
969
|
],
|
|
970
|
-
activate: lazy(() => import("./intent-dispatcher-
|
|
970
|
+
activate: lazy(() => import("./intent-dispatcher-5PRM3KGH.mjs"))
|
|
971
971
|
})
|
|
972
972
|
]);
|
|
973
973
|
|
|
974
|
-
//
|
|
974
|
+
// src/common/layout.ts
|
|
975
975
|
var LAYOUT_PLUGIN = "dxos.org/plugin/layout";
|
|
976
976
|
var LAYOUT_ACTION = `${LAYOUT_PLUGIN}/action`;
|
|
977
977
|
(function(LayoutAction2) {
|
|
@@ -1308,10 +1308,10 @@ var LAYOUT_ACTION = `${LAYOUT_PLUGIN}/action`;
|
|
|
1308
1308
|
})(LayoutAction || (LayoutAction = {}));
|
|
1309
1309
|
var LayoutAction;
|
|
1310
1310
|
|
|
1311
|
-
//
|
|
1311
|
+
// src/common/surface.ts
|
|
1312
1312
|
var createSurface = (definition) => definition;
|
|
1313
1313
|
|
|
1314
|
-
//
|
|
1314
|
+
// src/common/translations.ts
|
|
1315
1315
|
import { Schema as Schema6 } from "effect";
|
|
1316
1316
|
var ResourceKey = Schema6.Union(Schema6.String, Schema6.Record({
|
|
1317
1317
|
key: Schema6.String,
|
|
@@ -1326,8 +1326,8 @@ var Resource = Schema6.Record({
|
|
|
1326
1326
|
value: ResourceLanguage
|
|
1327
1327
|
});
|
|
1328
1328
|
|
|
1329
|
-
//
|
|
1330
|
-
var __dxlog_file3 = "/
|
|
1329
|
+
// src/plugin-intent/intent-dispatcher.ts
|
|
1330
|
+
var __dxlog_file3 = "/__w/dxos/dxos/packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts";
|
|
1331
1331
|
var EXECUTION_LIMIT = 100;
|
|
1332
1332
|
var HISTORY_LIMIT = 100;
|
|
1333
1333
|
var createResolver = (resolver) => resolver;
|
|
@@ -1517,4 +1517,4 @@ export {
|
|
|
1517
1517
|
ResourceLanguage,
|
|
1518
1518
|
Resource
|
|
1519
1519
|
};
|
|
1520
|
-
//# sourceMappingURL=chunk-
|
|
1520
|
+
//# sourceMappingURL=chunk-VSKRV3NW.mjs.map
|