@dxos/app-framework 0.8.0 → 0.8.1-main.a06ad20
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/dist/lib/browser/{app-graph-builder-S4MYSHQA.mjs → app-graph-builder-IAEV7KKF.mjs} +3 -3
- package/dist/lib/browser/{chunk-SRZH2PQ2.mjs → chunk-CB3W6T5E.mjs} +2 -2
- package/dist/lib/browser/{chunk-SRZH2PQ2.mjs.map → chunk-CB3W6T5E.mjs.map} +1 -1
- package/dist/lib/browser/{chunk-QS4J6O47.mjs → chunk-CIP4C47B.mjs} +2 -2
- package/dist/lib/browser/{chunk-BCMEJONP.mjs → chunk-PWAAJE2Z.mjs} +7 -7
- package/dist/lib/browser/chunk-PWAAJE2Z.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +6 -6
- package/dist/lib/browser/{intent-dispatcher-GFBH7T2J.mjs → intent-dispatcher-UR566RVO.mjs} +2 -2
- package/dist/lib/browser/{intent-resolver-KAFM7CQH.mjs → intent-resolver-LEJ3X6CP.mjs} +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{store-L3VRR7II.mjs → store-5TN4OLFQ.mjs} +2 -2
- package/dist/lib/browser/testing/index.mjs +2 -2
- package/dist/lib/browser/worker.mjs +1 -1
- package/dist/lib/node/{app-graph-builder-VMHWFCTP.cjs → app-graph-builder-3RWOZENP.cjs} +28 -28
- package/dist/lib/node/{chunk-B65NJEIJ.cjs → chunk-JLQABYHB.cjs} +19 -19
- package/dist/lib/node/{chunk-VCIHQZSN.cjs → chunk-SCHC4AZQ.cjs} +12 -12
- package/dist/lib/node/{chunk-VCIHQZSN.cjs.map → chunk-SCHC4AZQ.cjs.map} +1 -1
- package/dist/lib/node/{chunk-7Y6KJ3OK.cjs → chunk-XP4TI5DS.cjs} +177 -177
- package/dist/lib/node/chunk-XP4TI5DS.cjs.map +7 -0
- package/dist/lib/node/index.cjs +78 -78
- package/dist/lib/node/{intent-dispatcher-PRCC4KZT.cjs → intent-dispatcher-EDW7NFJ4.cjs} +8 -8
- package/dist/lib/node/{intent-dispatcher-PRCC4KZT.cjs.map → intent-dispatcher-EDW7NFJ4.cjs.map} +2 -2
- package/dist/lib/node/{intent-resolver-OZDKCHPW.cjs → intent-resolver-34J5IM27.cjs} +12 -12
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{store-BVUKNVKL.cjs → store-3I3UFH5D.cjs} +7 -7
- package/dist/lib/node/testing/index.cjs +8 -8
- package/dist/lib/node/worker.cjs +37 -37
- package/dist/lib/node/worker.cjs.map +1 -1
- package/dist/lib/node-esm/{app-graph-builder-XHI5IIXQ.mjs → app-graph-builder-RG3DT2OD.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-CBT75GCX.mjs → chunk-BSYAFUZ7.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-CBT75GCX.mjs.map → chunk-BSYAFUZ7.mjs.map} +1 -1
- package/dist/lib/node-esm/{chunk-TVIR2PHY.mjs → chunk-NIVSBD3D.mjs} +7 -7
- package/dist/lib/node-esm/chunk-NIVSBD3D.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-JDAHZRYQ.mjs → chunk-T2URISUU.mjs} +2 -2
- package/dist/lib/node-esm/index.mjs +6 -6
- package/dist/lib/node-esm/{intent-dispatcher-LGACN32C.mjs → intent-dispatcher-7GCMKMSQ.mjs} +2 -2
- package/dist/lib/node-esm/{intent-resolver-RBNG76ZX.mjs → intent-resolver-7T6UOQOS.mjs} +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{store-PHTOEREN.mjs → store-PTKVELJP.mjs} +2 -2
- package/dist/lib/node-esm/testing/index.mjs +2 -2
- package/dist/lib/node-esm/worker.mjs +1 -1
- package/dist/types/src/App.d.ts +2 -2
- package/dist/types/src/App.d.ts.map +1 -1
- package/dist/types/src/common/capabilities.d.ts +1 -1
- package/dist/types/src/common/capabilities.d.ts.map +1 -1
- package/dist/types/src/common/file.d.ts +1 -1
- package/dist/types/src/common/file.d.ts.map +1 -1
- package/dist/types/src/common/layout.d.ts +21 -21
- package/dist/types/src/common/layout.d.ts.map +1 -1
- package/dist/types/src/common/translations.d.ts +1 -1
- package/dist/types/src/common/translations.d.ts.map +1 -1
- package/dist/types/src/playground/debug/Debug.d.ts +2 -1
- package/dist/types/src/playground/debug/Debug.d.ts.map +1 -1
- package/dist/types/src/playground/generator/Main.d.ts +2 -1
- package/dist/types/src/playground/generator/Main.d.ts.map +1 -1
- package/dist/types/src/playground/generator/Toolbar.d.ts +2 -1
- package/dist/types/src/playground/generator/Toolbar.d.ts.map +1 -1
- package/dist/types/src/playground/layout/Layout.d.ts +1 -1
- package/dist/types/src/playground/layout/Layout.d.ts.map +1 -1
- package/dist/types/src/playground/logger/Toolbar.d.ts +2 -1
- package/dist/types/src/playground/logger/Toolbar.d.ts.map +1 -1
- package/dist/types/src/playground/logger/schema.d.ts +1 -1
- package/dist/types/src/playground/logger/schema.d.ts.map +1 -1
- package/dist/types/src/playground/playground.stories.d.ts +2 -1
- package/dist/types/src/playground/playground.stories.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/actions.d.ts +3 -3
- package/dist/types/src/plugin-intent/actions.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/intent.d.ts +3 -3
- package/dist/types/src/plugin-intent/intent.d.ts.map +1 -1
- package/dist/types/src/plugin-settings/actions.d.ts +1 -1
- package/dist/types/src/plugin-settings/actions.d.ts.map +1 -1
- package/dist/types/src/react/ErrorBoundary.d.ts +1 -1
- package/dist/types/src/react/Surface.stories.d.ts +2 -1
- package/dist/types/src/react/Surface.stories.d.ts.map +1 -1
- package/package.json +19 -20
- package/src/common/capabilities.ts +1 -1
- package/src/common/file.ts +1 -1
- package/src/common/layout.ts +1 -1
- package/src/common/translations.ts +1 -1
- package/src/playground/generator/generator.ts +1 -1
- package/src/playground/logger/schema.ts +1 -1
- package/src/plugin-intent/actions.ts +1 -1
- package/src/plugin-intent/intent-dispatcher.test.ts +1 -2
- package/src/plugin-intent/intent.ts +1 -1
- package/src/plugin-settings/actions.ts +1 -1
- package/dist/lib/browser/chunk-BCMEJONP.mjs.map +0 -7
- package/dist/lib/node/chunk-7Y6KJ3OK.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-TVIR2PHY.mjs.map +0 -7
- /package/dist/lib/browser/{app-graph-builder-S4MYSHQA.mjs.map → app-graph-builder-IAEV7KKF.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-QS4J6O47.mjs.map → chunk-CIP4C47B.mjs.map} +0 -0
- /package/dist/lib/browser/{intent-dispatcher-GFBH7T2J.mjs.map → intent-dispatcher-UR566RVO.mjs.map} +0 -0
- /package/dist/lib/browser/{intent-resolver-KAFM7CQH.mjs.map → intent-resolver-LEJ3X6CP.mjs.map} +0 -0
- /package/dist/lib/browser/{store-L3VRR7II.mjs.map → store-5TN4OLFQ.mjs.map} +0 -0
- /package/dist/lib/node/{app-graph-builder-VMHWFCTP.cjs.map → app-graph-builder-3RWOZENP.cjs.map} +0 -0
- /package/dist/lib/node/{chunk-B65NJEIJ.cjs.map → chunk-JLQABYHB.cjs.map} +0 -0
- /package/dist/lib/node/{intent-resolver-OZDKCHPW.cjs.map → intent-resolver-34J5IM27.cjs.map} +0 -0
- /package/dist/lib/node/{store-BVUKNVKL.cjs.map → store-3I3UFH5D.cjs.map} +0 -0
- /package/dist/lib/node-esm/{app-graph-builder-XHI5IIXQ.mjs.map → app-graph-builder-RG3DT2OD.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-JDAHZRYQ.mjs.map → chunk-T2URISUU.mjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-dispatcher-LGACN32C.mjs.map → intent-dispatcher-7GCMKMSQ.mjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-resolver-RBNG76ZX.mjs.map → intent-resolver-7T6UOQOS.mjs.map} +0 -0
- /package/dist/lib/node-esm/{store-PHTOEREN.mjs.map → store-PTKVELJP.mjs.map} +0 -0
|
@@ -2,7 +2,7 @@ import { createRequire } from 'node:module';const require = createRequire(import
|
|
|
2
2
|
import {
|
|
3
3
|
Capabilities,
|
|
4
4
|
contributes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NIVSBD3D.mjs";
|
|
6
6
|
|
|
7
7
|
// packages/sdk/app-framework/src/plugin-settings/store.ts
|
|
8
8
|
import { effect } from "@preact/signals-core";
|
|
@@ -27,4 +27,4 @@ var store_default = (context) => {
|
|
|
27
27
|
export {
|
|
28
28
|
store_default as default
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=store-
|
|
30
|
+
//# sourceMappingURL=store-PTKVELJP.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createApp
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-T2URISUU.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Capabilities,
|
|
7
7
|
Events,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
contributes,
|
|
10
10
|
defineModule,
|
|
11
11
|
definePlugin
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-NIVSBD3D.mjs";
|
|
13
13
|
|
|
14
14
|
// packages/sdk/app-framework/src/testing/withPluginManager.tsx
|
|
15
15
|
import React, { useEffect } from "react";
|
package/dist/types/src/App.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
import { PluginManager, type PluginManagerOptions, type Plugin } from './core';
|
|
3
3
|
import { ErrorBoundary } from './react';
|
|
4
4
|
export type CreateAppOptions = {
|
|
@@ -35,5 +35,5 @@ export type CreateAppOptions = {
|
|
|
35
35
|
* @param params.fallback Fallback component to render if an error occurs during startup.
|
|
36
36
|
* @param params.cacheEnabled Whether to cache enabled plugins in localStorage.
|
|
37
37
|
*/
|
|
38
|
-
export declare const createApp: ({ pluginManager, pluginLoader: _pluginLoader, plugins, core, defaults, placeholder, fallback, cacheEnabled, }: CreateAppOptions) => () =>
|
|
38
|
+
export declare const createApp: ({ pluginManager, pluginLoader: _pluginLoader, plugins, core, defaults, placeholder, fallback, cacheEnabled, }: CreateAppOptions) => () => React.JSX.Element;
|
|
39
39
|
//# sourceMappingURL=App.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/App.tsx"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/App.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAA0B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMtE,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAE/E,OAAO,EAAE,aAAa,EAA0C,MAAM,SAAS,CAAC;AAIhF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,SAAS,kHASnB,gBAAgB,4BAiDlB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Schema as S } from '
|
|
1
|
+
import { type Schema as S } from 'effect';
|
|
2
2
|
import { type FC, type PropsWithChildren } from 'react';
|
|
3
3
|
import { type GraphBuilder } from '@dxos/app-graph';
|
|
4
4
|
import { type ArtifactDefinition, type Tool } from '@dxos/artifact';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/common/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,IAAI,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/common/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AAC/D,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9E,yBAAiB,YAAY,CAAC;IACrB,MAAM,aAAa,0CAAsF,CAAC;IAE1G,MAAM,IAAI,iCAAmE,CAAC;IAErF,KAAY,YAAY,GAAG,QAAQ,CAAC;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AE,MAAM,IAAI,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../../src/common/file.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAIrC,eAAO,MAAM,gBAAgB;;;;CAI5B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema as S } from '
|
|
1
|
+
import { Schema as S } from 'effect';
|
|
2
2
|
export declare const LAYOUT_PLUGIN = "dxos.org/plugin/layout";
|
|
3
3
|
export declare const LAYOUT_ACTION = "dxos.org/plugin/layout/action";
|
|
4
4
|
/**
|
|
@@ -101,28 +101,28 @@ export declare namespace LayoutAction {
|
|
|
101
101
|
}
|
|
102
102
|
export const Toast: S.Struct<{
|
|
103
103
|
id: S.SchemaClass<string, string, never>;
|
|
104
|
-
title: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
104
|
+
title: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
105
105
|
ns: typeof S.String;
|
|
106
106
|
count: S.optional<typeof S.Number>;
|
|
107
|
-
}
|
|
108
|
-
description: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
107
|
+
}>>>>]>>;
|
|
108
|
+
description: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
109
109
|
ns: typeof S.String;
|
|
110
110
|
count: S.optional<typeof S.Number>;
|
|
111
|
-
}
|
|
111
|
+
}>>>>]>>;
|
|
112
112
|
icon: S.optional<S.SchemaClass<string, string, never>>;
|
|
113
113
|
duration: S.optional<S.SchemaClass<number, number, never>>;
|
|
114
|
-
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
114
|
+
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
115
115
|
ns: typeof S.String;
|
|
116
116
|
count: S.optional<typeof S.Number>;
|
|
117
|
-
}
|
|
118
|
-
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
117
|
+
}>>>>]>>;
|
|
118
|
+
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
119
119
|
ns: typeof S.String;
|
|
120
120
|
count: S.optional<typeof S.Number>;
|
|
121
|
-
}
|
|
122
|
-
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
121
|
+
}>>>>]>>;
|
|
122
|
+
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
123
123
|
ns: typeof S.String;
|
|
124
124
|
count: S.optional<typeof S.Number>;
|
|
125
|
-
}
|
|
125
|
+
}>>>>]>>;
|
|
126
126
|
onAction: S.optional<S.SchemaClass<any, any, never>>;
|
|
127
127
|
}>;
|
|
128
128
|
export interface Toast extends Omit<S.Schema.Type<typeof Toast>, 'onAction'> {
|
|
@@ -135,28 +135,28 @@ export declare namespace LayoutAction {
|
|
|
135
135
|
part: S.Literal<["toast"]>;
|
|
136
136
|
subject: S.Struct<{
|
|
137
137
|
id: S.SchemaClass<string, string, never>;
|
|
138
|
-
title: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
138
|
+
title: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
139
139
|
ns: typeof S.String;
|
|
140
140
|
count: S.optional<typeof S.Number>;
|
|
141
|
-
}
|
|
142
|
-
description: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
141
|
+
}>>>>]>>;
|
|
142
|
+
description: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
143
143
|
ns: typeof S.String;
|
|
144
144
|
count: S.optional<typeof S.Number>;
|
|
145
|
-
}
|
|
145
|
+
}>>>>]>>;
|
|
146
146
|
icon: S.optional<S.SchemaClass<string, string, never>>;
|
|
147
147
|
duration: S.optional<S.SchemaClass<number, number, never>>;
|
|
148
|
-
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
148
|
+
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
149
149
|
ns: typeof S.String;
|
|
150
150
|
count: S.optional<typeof S.Number>;
|
|
151
|
-
}
|
|
152
|
-
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
151
|
+
}>>>>]>>;
|
|
152
|
+
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
153
153
|
ns: typeof S.String;
|
|
154
154
|
count: S.optional<typeof S.Number>;
|
|
155
|
-
}
|
|
156
|
-
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
155
|
+
}>>>>]>>;
|
|
156
|
+
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
157
157
|
ns: typeof S.String;
|
|
158
158
|
count: S.optional<typeof S.Number>;
|
|
159
|
-
}
|
|
159
|
+
}>>>>]>>;
|
|
160
160
|
onAction: S.optional<S.SchemaClass<any, any, never>>;
|
|
161
161
|
}>;
|
|
162
162
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/common/layout.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/common/layout.ts"],"names":[],"mappings":"AAIA,OAA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IAEL,MAAM,OAAO,cAAe,SAAQ,mBAWlC;KAAG;;;;;;;;;;IAEL,MAAM,OAAO,MAAO,SAAQ,WAM1B;KAAG;;CACN"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema as S } from '
|
|
1
|
+
import { Schema as S } from 'effect';
|
|
2
2
|
export declare const ResourceKey: S.Union<[typeof S.String, S.Record$<typeof S.String, typeof S.Any>]>;
|
|
3
3
|
export type ResourceKey = S.Schema.Type<typeof ResourceKey>;
|
|
4
4
|
export declare const ResourceLanguage: S.Record$<typeof S.String, S.Union<[typeof S.String, S.Record$<typeof S.String, typeof S.Any>]>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/common/translations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/common/translations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAErC,eAAO,MAAM,WAAW,sEAA+D,CAAC;AACxF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAE5D,eAAO,MAAM,gBAAgB,kGAAkD,CAAC;AAChF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,QAAQ,8HAAuD,CAAC;AAC7E,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Capabilities } from '../../common';
|
|
2
|
-
export declare const Debug: () =>
|
|
3
|
+
export declare const Debug: () => React.JSX.Element;
|
|
3
4
|
declare const _default: () => import("../..").Capability<Capabilities.ReactSurface>;
|
|
4
5
|
export default _default;
|
|
5
6
|
//# sourceMappingURL=Debug.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Debug.d.ts","sourceRoot":"","sources":["../../../../../src/playground/debug/Debug.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Debug.d.ts","sourceRoot":"","sources":["../../../../../src/playground/debug/Debug.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAiB,MAAM,cAAc,CAAC;AAI3D,eAAO,MAAM,KAAK,yBAgBjB,CAAC;;AAEF,wBAQI"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Capabilities } from '../../common';
|
|
2
|
-
export declare const Main: () =>
|
|
3
|
+
export declare const Main: () => React.JSX.Element;
|
|
3
4
|
declare const _default: () => import("../..").Capability<Capabilities.ReactSurface>;
|
|
4
5
|
export default _default;
|
|
5
6
|
//# sourceMappingURL=Main.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Main.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/Main.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Main.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/Main.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAI3C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAiC5C,eAAO,MAAM,IAAI,yBAsBhB,CAAC;;AAEF,wBAKK"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Capabilities } from '../../common';
|
|
2
|
-
export declare const Toolbar: () =>
|
|
3
|
+
export declare const Toolbar: () => React.JSX.Element;
|
|
3
4
|
declare const _default: () => import("../..").Capability<Capabilities.ReactSurface>;
|
|
4
5
|
export default _default;
|
|
5
6
|
//# sourceMappingURL=Toolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/Toolbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/Toolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAK5C,eAAO,MAAM,OAAO,yBAwBnB,CAAC;;AAEF,wBAKK"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const Layout: () =>
|
|
2
|
+
export declare const Layout: () => React.JSX.Element;
|
|
3
3
|
declare const _default: () => import("../..").Capability<Readonly<{
|
|
4
4
|
id: string;
|
|
5
5
|
root: React.FC<React.PropsWithChildren>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/playground/layout/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/playground/layout/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,MAAM,yBAgBlB,CAAC;;;;;AAEF,wBAIK"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Capabilities } from '../../common';
|
|
2
|
-
export declare const Logger: () =>
|
|
3
|
+
export declare const Logger: () => React.JSX.Element;
|
|
3
4
|
declare const _default: () => import("../..").Capability<Capabilities.ReactSurface>;
|
|
4
5
|
export default _default;
|
|
5
6
|
//# sourceMappingURL=Toolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/Toolbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/Toolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAE,YAAY,EAAiB,MAAM,cAAc,CAAC;AAK3D,eAAO,MAAM,MAAM,yBAIlB,CAAC;;AAEF,wBAQI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;AAErC,qBAAa,GAAI,SAAQ,QAKvB;CAAG"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import '@dxos-theme';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export declare const Playground: {};
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
|
-
render: () =>
|
|
6
|
+
render: () => React.JSX.Element;
|
|
6
7
|
decorators: import("@storybook/react").Decorator[];
|
|
7
8
|
};
|
|
8
9
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playground.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/playground.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"playground.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/playground.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,eAAO,MAAM,UAAU,IAAK,CAAC;;;;;;AAE7B,wBAIE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema as S } from '
|
|
1
|
+
import { Schema as S } from 'effect';
|
|
2
2
|
export declare const INTENT_PLUGIN = "dxos.org/plugin/intent";
|
|
3
3
|
export declare const INTENT_ACTION = "dxos.org/plugin/intent/action";
|
|
4
4
|
export declare namespace IntentAction {
|
|
@@ -6,10 +6,10 @@ export declare namespace IntentAction {
|
|
|
6
6
|
readonly _tag: S.tag<"dxos.org/plugin/intent/action/show-undo">;
|
|
7
7
|
} & {
|
|
8
8
|
input: S.Struct<{
|
|
9
|
-
message: S.Union<[typeof S.String, S.mutable<S.
|
|
9
|
+
message: S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
10
10
|
ns: typeof S.String;
|
|
11
11
|
count: S.optional<typeof S.Number>;
|
|
12
|
-
}
|
|
12
|
+
}>>>>]>;
|
|
13
13
|
}>;
|
|
14
14
|
output: typeof S.Void;
|
|
15
15
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../src/plugin-intent/actions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../src/plugin-intent/actions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAIrC,eAAO,MAAM,aAAa,2BAA2B,CAAC;AACtD,eAAO,MAAM,aAAa,kCAA4B,CAAC;AAEvD,yBAAiB,YAAY,CAAC;;;;;;;;;;;;IAC5B;;OAEG;IACH,MAAM,OAAO,QAAS,SAAQ,aAK5B;KAAG;;CACN"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema as S } from '
|
|
1
|
+
import { Schema as S } from 'effect';
|
|
2
2
|
export type IntentParams = {
|
|
3
3
|
readonly input: S.Schema.All;
|
|
4
4
|
readonly output: S.Schema.All;
|
|
@@ -60,9 +60,9 @@ export declare const createIntent: <Tag extends string, Fields extends IntentPar
|
|
|
60
60
|
* NOTE: Chaining of intents depends on the data inputs and outputs being structs.
|
|
61
61
|
*/
|
|
62
62
|
export declare const chain: <FirstTag extends string, NextTag extends string, FirstFields extends IntentParams, LastFields extends IntentParams, NextFields extends IntentParams>(schema: IntentSchema<NextTag, NextFields>, data?: Omit<IntentData<NextFields>, keyof IntentResultData<LastFields>>, params?: Pick<AnyIntent, "module" | "undo">) => (intent: IntentChain<FirstTag, any, FirstFields, LastFields>) => IntentChain<FirstTag, NextTag, FirstFields, NextFields>;
|
|
63
|
-
export declare const Label: S.Union<[typeof S.String, S.mutable<S.
|
|
63
|
+
export declare const Label: S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
64
64
|
ns: typeof S.String;
|
|
65
65
|
count: S.optional<typeof S.Number>;
|
|
66
|
-
}
|
|
66
|
+
}>>>>]>;
|
|
67
67
|
export type Label = S.Schema.Type<typeof Label>;
|
|
68
68
|
//# sourceMappingURL=intent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent.d.ts","sourceRoot":"","sources":["../../../../src/plugin-intent/intent.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"intent.d.ts","sourceRoot":"","sources":["../../../../src/plugin-intent/intent.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAErC,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAA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UAAU,CAexD,CAAC;AAQJ,eAAO,MAAM,KAAK;;;OAGjB,CAAC;AACF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema as S } from '
|
|
1
|
+
import { Schema as S } from 'effect';
|
|
2
2
|
export declare const SETTINGS_PLUGIN = "dxos.org/plugin/settings";
|
|
3
3
|
export declare const SETTINGS_ACTION = "dxos.org/plugin/settings/action";
|
|
4
4
|
export declare const SETTINGS_ID = "!dxos:settings";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../src/plugin-settings/actions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../src/plugin-settings/actions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAErC,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,eAAe,oCAA8B,CAAC;AAC3D,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAC5C,eAAO,MAAM,YAAY,aAAa,CAAC;AAEvC,yBAAiB,cAAc,CAAC;;;;;;;;;IAC9B,MAAM,OAAO,IAAK,SAAQ,SAKxB;KAAG;;;;;;;IAEL,MAAM,OAAO,kBAAmB,SAAQ,uBAMvC;KAAG;;CACL"}
|
|
@@ -24,7 +24,7 @@ export declare class ErrorBoundary extends Component<Props, State> {
|
|
|
24
24
|
error: Error;
|
|
25
25
|
};
|
|
26
26
|
componentDidUpdate(prevProps: Props): void;
|
|
27
|
-
render(): string | number | boolean | Iterable<React.ReactNode> |
|
|
27
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
28
28
|
private resetError;
|
|
29
29
|
}
|
|
30
30
|
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import '@dxos-theme';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { type PluginManager } from '../core';
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
6
|
render: ({ manager }: {
|
|
6
7
|
manager: PluginManager;
|
|
7
|
-
}) =>
|
|
8
|
+
}) => React.JSX.Element;
|
|
8
9
|
decorators: import("@storybook/react").Decorator[];
|
|
9
10
|
args: {
|
|
10
11
|
manager: PluginManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Surface.stories.d.ts","sourceRoot":"","sources":["../../../../src/react/Surface.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Surface.stories.d.ts","sourceRoot":"","sources":["../../../../src/react/Surface.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAgC,MAAM,OAAO,CAAC;AASrD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;;;0BAkErB;QAAE,OAAO,EAAE,aAAa,CAAA;KAAE;;;;;;AAFlD,wBAcE;AAEF,eAAO,MAAM,OAAO,IAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/app-framework",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1-main.a06ad20",
|
|
4
4
|
"description": "A framework for building applications from composible plugins.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -37,31 +37,30 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@effect/schema": "^0.75.5",
|
|
41
40
|
"@preact/signals-core": "^1.6.0",
|
|
42
|
-
"effect": "
|
|
43
|
-
"@dxos/app-graph": "0.8.
|
|
44
|
-
"@dxos/artifact": "0.8.
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/live-object": "0.8.
|
|
49
|
-
"@dxos/local-storage": "0.8.
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/react-hooks": "0.8.
|
|
53
|
-
"@dxos/util": "0.8.
|
|
41
|
+
"effect": "3.13.3",
|
|
42
|
+
"@dxos/app-graph": "0.8.1-main.a06ad20",
|
|
43
|
+
"@dxos/artifact": "0.8.1-main.a06ad20",
|
|
44
|
+
"@dxos/async": "0.8.1-main.a06ad20",
|
|
45
|
+
"@dxos/client-protocol": "0.8.1-main.a06ad20",
|
|
46
|
+
"@dxos/debug": "0.8.1-main.a06ad20",
|
|
47
|
+
"@dxos/live-object": "0.8.1-main.a06ad20",
|
|
48
|
+
"@dxos/local-storage": "0.8.1-main.a06ad20",
|
|
49
|
+
"@dxos/log": "0.8.1-main.a06ad20",
|
|
50
|
+
"@dxos/invariant": "0.8.1-main.a06ad20",
|
|
51
|
+
"@dxos/react-hooks": "0.8.1-main.a06ad20",
|
|
52
|
+
"@dxos/util": "0.8.1-main.a06ad20"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
55
|
"@phosphor-icons/react": "^2.1.5",
|
|
57
56
|
"@types/react": "~18.2.0",
|
|
58
57
|
"react": "~18.2.0",
|
|
59
|
-
"@dxos/echo-schema": "0.8.
|
|
60
|
-
"@dxos/
|
|
61
|
-
"@dxos/
|
|
62
|
-
"@dxos/
|
|
63
|
-
"@dxos/react-ui": "0.8.
|
|
64
|
-
"@dxos/storybook-utils": "0.8.
|
|
58
|
+
"@dxos/echo-schema": "0.8.1-main.a06ad20",
|
|
59
|
+
"@dxos/echo-signals": "0.8.1-main.a06ad20",
|
|
60
|
+
"@dxos/react-ui": "0.8.1-main.a06ad20",
|
|
61
|
+
"@dxos/random": "0.8.1-main.a06ad20",
|
|
62
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.1-main.a06ad20",
|
|
63
|
+
"@dxos/storybook-utils": "0.8.1-main.a06ad20"
|
|
65
64
|
},
|
|
66
65
|
"peerDependencies": {
|
|
67
66
|
"react": "~18.2.0"
|
package/src/common/file.ts
CHANGED
package/src/common/layout.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Schema as S } from '
|
|
5
|
+
import { Schema as S } from 'effect';
|
|
6
6
|
|
|
7
7
|
export const ResourceKey = S.Union(S.String, S.Record({ key: S.String, value: S.Any }));
|
|
8
8
|
export type ResourceKey = S.Schema.Type<typeof ResourceKey>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2025 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Schema as S } from '
|
|
5
|
+
import { Schema as S } from 'effect';
|
|
6
6
|
|
|
7
7
|
import { Capabilities, Events } from '../../common';
|
|
8
8
|
import { contributes, defineEvent, defineCapability, defineModule, definePlugin } from '../../core';
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
// Copyright 2024 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Schema as S } from '
|
|
6
|
-
import { Effect, Fiber, pipe } from 'effect';
|
|
5
|
+
import { Schema as S, Effect, Fiber, pipe } from 'effect';
|
|
7
6
|
import { describe, expect, test } from 'vitest';
|
|
8
7
|
|
|
9
8
|
import { chain, createIntent } from './intent';
|