@dxos/plugin-conductor 0.8.4-main.bc674ce → 0.8.4-main.bcb3aa67d6

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 (49) hide show
  1. package/README.md +7 -3
  2. package/dist/lib/browser/index.mjs +62 -35
  3. package/dist/lib/browser/index.mjs.map +4 -4
  4. package/dist/lib/browser/meta.json +1 -1
  5. package/dist/lib/node-esm/index.mjs +62 -34
  6. package/dist/lib/node-esm/index.mjs.map +4 -4
  7. package/dist/lib/node-esm/meta.json +1 -1
  8. package/dist/types/src/ConductorPlugin.d.ts.map +1 -1
  9. package/dist/types/src/capabilities/index.d.ts +2 -1
  10. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  11. package/dist/types/src/capabilities/react-surface.d.ts +5 -0
  12. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  13. package/dist/types/src/components/index.d.ts +0 -1
  14. package/dist/types/src/components/index.d.ts.map +1 -1
  15. package/dist/types/src/containers/CanvasContainer/CanvasContainer.d.ts +6 -0
  16. package/dist/types/src/containers/CanvasContainer/CanvasContainer.d.ts.map +1 -0
  17. package/dist/types/src/containers/CanvasContainer/index.d.ts +3 -0
  18. package/dist/types/src/containers/CanvasContainer/index.d.ts.map +1 -0
  19. package/dist/types/src/containers/index.d.ts +3 -0
  20. package/dist/types/src/containers/index.d.ts.map +1 -0
  21. package/dist/types/src/translations.d.ts +14 -13
  22. package/dist/types/src/translations.d.ts.map +1 -1
  23. package/dist/types/tsconfig.tsbuildinfo +1 -1
  24. package/package.json +38 -30
  25. package/src/ConductorPlugin.tsx +27 -14
  26. package/src/capabilities/index.ts +3 -1
  27. package/src/capabilities/react-surface.tsx +29 -0
  28. package/src/components/index.ts +1 -3
  29. package/src/{components → containers/CanvasContainer}/CanvasContainer.tsx +16 -11
  30. package/src/containers/CanvasContainer/index.ts +7 -0
  31. package/src/containers/index.ts +7 -0
  32. package/src/meta.ts +1 -1
  33. package/src/translations.ts +14 -13
  34. package/dist/lib/browser/chunk-GV4DJFU6.mjs +0 -24
  35. package/dist/lib/browser/chunk-GV4DJFU6.mjs.map +0 -7
  36. package/dist/lib/browser/react-surface-R7NR323I.mjs +0 -108
  37. package/dist/lib/browser/react-surface-R7NR323I.mjs.map +0 -7
  38. package/dist/lib/node-esm/chunk-DILME6SD.mjs +0 -26
  39. package/dist/lib/node-esm/chunk-DILME6SD.mjs.map +0 -7
  40. package/dist/lib/node-esm/react-surface-4MQHAW46.mjs +0 -109
  41. package/dist/lib/node-esm/react-surface-4MQHAW46.mjs.map +0 -7
  42. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  43. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  44. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
  45. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  46. package/dist/types/src/components/CanvasContainer.d.ts +0 -7
  47. package/dist/types/src/components/CanvasContainer.d.ts.map +0 -1
  48. package/src/capabilities/react-surface/index.ts +0 -7
  49. package/src/capabilities/react-surface/react-surface.tsx +0 -27
package/README.md CHANGED
@@ -28,10 +28,10 @@ The system is built on `@dxos/graph` as the core abstraction layer Canvas visual
28
28
  - ComputeNode state changes are Effect signals
29
29
  - Canvas React components automatically update based on these signals
30
30
 
31
-
32
31
  ## Development
33
32
 
34
33
  ### Phase 1: Basic editor
34
+
35
35
  - [x] Canvas with pan and zoom (`@dxos/react-canvaas`).
36
36
  - [x] General graph data structure (`@dxos/graph`).
37
37
  - [x] Radix-style Editor component, with Canvas, Grid and Toolbar.
@@ -47,7 +47,8 @@ The system is built on `@dxos/graph` as the core abstraction layer Canvas visual
47
47
  - [ ] Undo/redo (history).
48
48
  - [ ] Snap to edges or center? (currently center).
49
49
 
50
- ### Phase 2:
50
+ ### Phase 2:
51
+
51
52
  - [x] FunctionShape components with properties and anchor points. Add/delete and Play buttons.
52
53
  - [x] Shape registry.
53
54
  - [x] Custom frames.
@@ -77,9 +78,11 @@ The system is built on `@dxos/graph` as the core abstraction layer Canvas visual
77
78
  - [x] GPT (with prompt and base prompt inputs).
78
79
 
79
80
  ### Phase 4:
80
- - [ ] Group/collapse nodes; hierarchical graph editor.
81
+
82
+ - [ ] Group/collapse nodes; hierarchical graph editor.
81
83
 
82
84
  ### Technical Debt
85
+
83
86
  - [x] `AttentionContainer` (and key management).
84
87
  - [ ] Factor out common Toolbar pattern (with state observers).
85
88
  - [ ] Reconcile Graph with framework (ECHO, app-graph, etc.)
@@ -87,4 +90,5 @@ The system is built on `@dxos/graph` as the core abstraction layer Canvas visual
87
90
  - [ ] TypedObject and schema id property.
88
91
 
89
92
  ### Design Issues
93
+
90
94
  - [ ] Represent all compute node properties as inputs? (e.g., trigger).
@@ -1,64 +1,91 @@
1
- import {
2
- meta
3
- } from "./chunk-GV4DJFU6.mjs";
4
-
5
1
  // src/ConductorPlugin.tsx
6
2
  import * as Effect from "effect/Effect";
7
- import { Common, Plugin } from "@dxos/app-framework";
3
+ import * as Option from "effect/Option";
4
+ import { Plugin } from "@dxos/app-framework";
5
+ import { AppPlugin } from "@dxos/app-toolkit";
6
+ import { Annotation } from "@dxos/echo";
8
7
  import { ComputeGraph } from "@dxos/conductor";
9
- import { Obj } from "@dxos/echo";
10
- import { CanvasBoardType as CanvasBoardType2 } from "@dxos/react-ui-canvas-editor";
11
-
12
- // src/capabilities/react-surface/index.ts
13
- import { Capability } from "@dxos/app-framework";
14
- var ReactSurface = Capability.lazy("ReactSurface", () => import("./react-surface-R7NR323I.mjs"));
8
+ import { Operation } from "@dxos/operation";
9
+ import { SpaceOperation } from "@dxos/plugin-space/operations";
10
+ import { CanvasBoard as CanvasBoard2 } from "@dxos/react-ui-canvas-editor";
11
+ import { meta as meta2 } from "#meta";
15
12
 
16
13
  // src/translations.ts
17
- import { CanvasBoardType } from "@dxos/react-ui-canvas-editor";
14
+ import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
15
+ import { meta } from "#meta";
18
16
  var translations = [
19
17
  {
20
18
  "en-US": {
21
- [CanvasBoardType.typename]: {
22
- "typename label": "Circuit",
23
- "typename label_zero": "Circuits",
24
- "typename label_one": "Circuit",
25
- "typename label_other": "Circuits",
26
- "object name placeholder": "New circuit",
27
- "rename object label": "Rename circuit",
28
- "delete object label": "Delete circuit",
29
- "object deleted label": "Circuit deleted"
19
+ [CanvasBoard.CanvasBoard.typename]: {
20
+ "typename.label": "Circuit",
21
+ "typename.label_zero": "Circuits",
22
+ "typename.label_one": "Circuit",
23
+ "typename.label_other": "Circuits",
24
+ "object-name.placeholder": "New circuit",
25
+ "add-object.label": "Add circuit",
26
+ "rename-object.label": "Rename circuit",
27
+ "delete-object.label": "Delete circuit",
28
+ "object-deleted.label": "Circuit deleted"
30
29
  },
31
30
  [meta.id]: {
32
- "plugin name": "Conductor",
33
- "content placeholder": "Enter text..."
31
+ "plugin.name": "Conductor",
32
+ "content.placeholder": "Enter text..."
34
33
  }
35
34
  }
36
35
  }
37
36
  ];
38
37
 
39
38
  // src/ConductorPlugin.tsx
40
- var ConductorPlugin = Plugin.define(meta).pipe(Common.Plugin.addTranslationsModule({
41
- translations
42
- }), Common.Plugin.addMetadataModule({
39
+ import { ReactSurface } from "#capabilities";
40
+ var ConductorPlugin = Plugin.define(meta2).pipe(AppPlugin.addMetadataModule({
43
41
  metadata: {
44
- id: CanvasBoardType2.typename,
42
+ id: CanvasBoard2.CanvasBoard.typename,
45
43
  metadata: {
46
- icon: "ph--infinity--regular",
47
- iconHue: "sky",
48
- createObject: (props) => Effect.sync(() => Obj.make(CanvasBoardType2, props)),
49
- addToCollectionOnCreate: true
44
+ icon: Annotation.IconAnnotation.get(CanvasBoard2.CanvasBoard).pipe(Option.getOrThrow).icon,
45
+ iconHue: Annotation.IconAnnotation.get(CanvasBoard2.CanvasBoard).pipe(Option.getOrThrow).hue ?? "white",
46
+ createObject: (props, options) => Effect.gen(function* () {
47
+ const object = CanvasBoard2.make(props);
48
+ return yield* Operation.invoke(SpaceOperation.AddObject, {
49
+ object,
50
+ target: options.target,
51
+ hidden: true,
52
+ targetNodeId: options.targetNodeId
53
+ });
54
+ })
50
55
  }
51
56
  }
52
- }), Common.Plugin.addSchemaModule({
57
+ }), AppPlugin.addSchemaModule({
53
58
  schema: [
54
- CanvasBoardType2,
59
+ CanvasBoard2.CanvasBoard,
55
60
  ComputeGraph
56
61
  ]
57
- }), Common.Plugin.addSurfaceModule({
62
+ }), AppPlugin.addSurfaceModule({
58
63
  activate: ReactSurface
64
+ }), AppPlugin.addTranslationsModule({
65
+ translations
59
66
  }), Plugin.make);
67
+
68
+ // src/meta.ts
69
+ import { trim } from "@dxos/util";
70
+ var meta3 = {
71
+ id: "org.dxos.plugin.conductor",
72
+ name: "Conductor",
73
+ description: trim`
74
+ Visual workflow builder using node-based compute graphs to orchestrate complex AI agent pipelines.
75
+ Connect data sources, transformations, and AI models in a drag-and-drop interface for advanced automation.
76
+ `,
77
+ icon: "ph--infinity--regular",
78
+ iconHue: "sky",
79
+ source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-conductor",
80
+ tags: [
81
+ "labs"
82
+ ],
83
+ screenshots: [
84
+ "https://dxos.network/plugin-details-canvas-dark.png"
85
+ ]
86
+ };
60
87
  export {
61
88
  ConductorPlugin,
62
- meta
89
+ meta3 as meta
63
90
  };
64
91
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/ConductorPlugin.tsx", "../../../src/capabilities/react-surface/index.ts", "../../../src/translations.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Common, Plugin } from '@dxos/app-framework';\nimport { ComputeGraph } from '@dxos/conductor';\nimport { Obj } from '@dxos/echo';\nimport { type CreateObject } from '@dxos/plugin-space/types';\nimport { CanvasBoardType } from '@dxos/react-ui-canvas-editor';\n\nimport { ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { translations } from './translations';\n\nexport const ConductorPlugin = Plugin.define(meta).pipe(\n Common.Plugin.addTranslationsModule({ translations }),\n Common.Plugin.addMetadataModule({\n metadata: {\n id: CanvasBoardType.typename,\n metadata: {\n icon: 'ph--infinity--regular',\n iconHue: 'sky',\n createObject: ((props) => Effect.sync(() => Obj.make(CanvasBoardType, props))) satisfies CreateObject,\n addToCollectionOnCreate: true,\n },\n },\n }),\n Common.Plugin.addSchemaModule({ schema: [CanvasBoardType, ComputeGraph] }),\n Common.Plugin.addSurfaceModule({ activate: ReactSurface }),\n Plugin.make,\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\nimport { CanvasBoardType } from '@dxos/react-ui-canvas-editor';\n\nimport { meta } from './meta';\n\nexport const translations = [\n {\n 'en-US': {\n [CanvasBoardType.typename]: {\n 'typename label': 'Circuit',\n 'typename label_zero': 'Circuits',\n 'typename label_one': 'Circuit',\n 'typename label_other': 'Circuits',\n 'object name placeholder': 'New circuit',\n 'rename object label': 'Rename circuit',\n 'delete object label': 'Delete circuit',\n 'object deleted label': 'Circuit deleted',\n },\n [meta.id]: {\n 'plugin name': 'Conductor',\n 'content placeholder': 'Enter text...',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
- "mappings": ";;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,QAAQC,cAAc;AAC/B,SAASC,oBAAoB;AAC7B,SAASC,WAAW;AAEpB,SAASC,mBAAAA,wBAAuB;;;ACNhC,SAASC,kBAAkB;AAEpB,IAAMC,eAAeC,WAAWC,KAAK,gBAAgB,MAAM,OAAO,8BAAA,CAAA;;;ACDzE,SAASC,uBAAuB;AAIzB,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,gBAAgBC,QAAQ,GAAG;QAC1B,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,uBAAuB;MACzB;IACF;EACF;;;;AFXK,IAAMC,kBAAkBC,OAAOC,OAAOC,IAAAA,EAAMC,KACjDC,OAAOJ,OAAOK,sBAAsB;EAAEC;AAAa,CAAA,GACnDF,OAAOJ,OAAOO,kBAAkB;EAC9BC,UAAU;IACRC,IAAIC,iBAAgBC;IACpBH,UAAU;MACRI,MAAM;MACNC,SAAS;MACTC,cAAe,CAACC,UAAiBC,YAAK,MAAMC,IAAIC,KAAKR,kBAAiBK,KAAAA,CAAAA;MACtEI,yBAAyB;IAC3B;EACF;AACF,CAAA,GACAf,OAAOJ,OAAOoB,gBAAgB;EAAEC,QAAQ;IAACX;IAAiBY;;AAAc,CAAA,GACxElB,OAAOJ,OAAOuB,iBAAiB;EAAEC,UAAUC;AAAa,CAAA,GACxDzB,OAAOkB,IAAI;",
6
- "names": ["Effect", "Common", "Plugin", "ComputeGraph", "Obj", "CanvasBoardType", "Capability", "ReactSurface", "Capability", "lazy", "CanvasBoardType", "translations", "CanvasBoardType", "typename", "meta", "id", "ConductorPlugin", "Plugin", "define", "meta", "pipe", "Common", "addTranslationsModule", "translations", "addMetadataModule", "metadata", "id", "CanvasBoardType", "typename", "icon", "iconHue", "createObject", "props", "sync", "Obj", "make", "addToCollectionOnCreate", "addSchemaModule", "schema", "ComputeGraph", "addSurfaceModule", "activate", "ReactSurface"]
3
+ "sources": ["../../../src/ConductorPlugin.tsx", "../../../src/translations.ts", "../../../src/meta.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport * as Option from 'effect/Option';\n\nimport { Plugin } from '@dxos/app-framework';\nimport { AppPlugin } from '@dxos/app-toolkit';\nimport { Annotation } from '@dxos/echo';\nimport { ComputeGraph } from '@dxos/conductor';\nimport { Operation } from '@dxos/operation';\nimport { type CreateObject } from '@dxos/plugin-space/types';\nimport { SpaceOperation } from '@dxos/plugin-space/operations';\nimport { CanvasBoard } from '@dxos/react-ui-canvas-editor';\n\nimport { meta } from '#meta';\nimport { translations } from './translations';\n\nimport { ReactSurface } from '#capabilities';\n\nexport const ConductorPlugin = Plugin.define(meta).pipe(\n AppPlugin.addMetadataModule({\n metadata: {\n id: CanvasBoard.CanvasBoard.typename,\n metadata: {\n icon: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).icon,\n iconHue: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).hue ?? 'white',\n createObject: ((props, options) =>\n Effect.gen(function* () {\n const object = CanvasBoard.make(props);\n return yield* Operation.invoke(SpaceOperation.AddObject, {\n object,\n target: options.target,\n hidden: true,\n targetNodeId: options.targetNodeId,\n });\n })) satisfies CreateObject,\n },\n },\n }),\n AppPlugin.addSchemaModule({ schema: [CanvasBoard.CanvasBoard, ComputeGraph] }),\n AppPlugin.addSurfaceModule({ activate: ReactSurface }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.make,\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\nimport { CanvasBoard } from '@dxos/react-ui-canvas-editor';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [CanvasBoard.CanvasBoard.typename]: {\n 'typename.label': 'Circuit',\n 'typename.label_zero': 'Circuits',\n 'typename.label_one': 'Circuit',\n 'typename.label_other': 'Circuits',\n 'object-name.placeholder': 'New circuit',\n 'add-object.label': 'Add circuit',\n 'rename-object.label': 'Rename circuit',\n 'delete-object.label': 'Delete circuit',\n 'object-deleted.label': 'Circuit deleted',\n },\n [meta.id]: {\n 'plugin.name': 'Conductor',\n 'content.placeholder': 'Enter text...',\n },\n },\n },\n] as const satisfies Resource[];\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.conductor',\n name: 'Conductor',\n description: trim`\n Visual workflow builder using node-based compute graphs to orchestrate complex AI agent pipelines.\n Connect data sources, transformations, and AI models in a drag-and-drop interface for advanced automation.\n `,\n icon: 'ph--infinity--regular',\n iconHue: 'sky',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-conductor',\n tags: ['labs'],\n screenshots: ['https://dxos.network/plugin-details-canvas-dark.png'],\n};\n"],
5
+ "mappings": ";AAIA,YAAYA,YAAY;AACxB,YAAYC,YAAY;AAExB,SAASC,cAAc;AACvB,SAASC,iBAAiB;AAC1B,SAASC,kBAAkB;AAC3B,SAASC,oBAAoB;AAC7B,SAASC,iBAAiB;AAE1B,SAASC,sBAAsB;AAC/B,SAASC,eAAAA,oBAAmB;AAE5B,SAASC,QAAAA,aAAY;;;ACXrB,SAASC,mBAAmB;AAE5B,SAASC,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,YAAYA,YAAYC,QAAQ,GAAG;QAClC,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,oBAAoB;QACpB,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,uBAAuB;MACzB;IACF;EACF;;;;ADTF,SAASC,oBAAoB;AAEtB,IAAMC,kBAAkBC,OAAOC,OAAOC,KAAAA,EAAMC,KACjDC,UAAUC,kBAAkB;EAC1BC,UAAU;IACRC,IAAIC,aAAYA,YAAYC;IAC5BH,UAAU;MACRI,MAAMC,WAAWC,eAAeC,IAAIL,aAAYA,WAAW,EAAEL,KAAYW,iBAAU,EAAEJ;MACrFK,SAASJ,WAAWC,eAAeC,IAAIL,aAAYA,WAAW,EAAEL,KAAYW,iBAAU,EAAEE,OAAO;MAC/FC,cAAe,CAACC,OAAOC,YACdC,WAAI,aAAA;AACT,cAAMC,SAASb,aAAYc,KAAKJ,KAAAA;AAChC,eAAO,OAAOK,UAAUC,OAAOC,eAAeC,WAAW;UACvDL;UACAM,QAAQR,QAAQQ;UAChBC,QAAQ;UACRC,cAAcV,QAAQU;QACxB,CAAA;MACF,CAAA;IACJ;EACF;AACF,CAAA,GACAzB,UAAU0B,gBAAgB;EAAEC,QAAQ;IAACvB,aAAYA;IAAawB;;AAAc,CAAA,GAC5E5B,UAAU6B,iBAAiB;EAAEC,UAAUC;AAAa,CAAA,GACpD/B,UAAUgC,sBAAsB;EAAEC;AAAa,CAAA,GAC/CrC,OAAOsB,IAAI;;;AEvCb,SAASgB,YAAY;AAEd,IAAMC,QAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaC;;;;EAIbC,MAAM;EACNC,SAAS;EACTC,QAAQ;EACRC,MAAM;IAAC;;EACPC,aAAa;IAAC;;AAChB;",
6
+ "names": ["Effect", "Option", "Plugin", "AppPlugin", "Annotation", "ComputeGraph", "Operation", "SpaceOperation", "CanvasBoard", "meta", "CanvasBoard", "meta", "translations", "CanvasBoard", "typename", "meta", "id", "ReactSurface", "ConductorPlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addMetadataModule", "metadata", "id", "CanvasBoard", "typename", "icon", "Annotation", "IconAnnotation", "get", "getOrThrow", "iconHue", "hue", "createObject", "props", "options", "gen", "object", "make", "Operation", "invoke", "SpaceOperation", "AddObject", "target", "hidden", "targetNodeId", "addSchemaModule", "schema", "ComputeGraph", "addSurfaceModule", "activate", "ReactSurface", "addTranslationsModule", "translations", "trim", "meta", "id", "name", "description", "trim", "icon", "iconHue", "source", "tags", "screenshots"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/components/CanvasContainer.tsx":{"bytes":10786,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true}],"format":"esm"},"src/components/index.ts":{"bytes":572,"imports":[{"path":"src/components/CanvasContainer.tsx","kind":"import-statement","original":"./CanvasContainer"}],"format":"esm"},"src/meta.ts":{"bytes":2257,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":3255,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":913,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":490,"imports":[{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":2738,"imports":[{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/ConductorPlugin.tsx":{"bytes":4203,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":559,"imports":[{"path":"src/ConductorPlugin.tsx","kind":"import-statement","original":"./ConductorPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3761},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GV4DJFU6.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-R7NR323I.mjs","kind":"dynamic-import"},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"exports":["ConductorPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/ConductorPlugin.tsx":{"bytesInOutput":825},"src/capabilities/react-surface/index.ts":{"bytesInOutput":148},"src/capabilities/index.ts":{"bytesInOutput":0},"src/translations.ts":{"bytesInOutput":635},"src/index.ts":{"bytesInOutput":0}},"bytes":1852},"dist/lib/browser/react-surface-R7NR323I.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7547},"dist/lib/browser/react-surface-R7NR323I.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GV4DJFU6.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":646},"src/components/CanvasContainer.tsx":{"bytesInOutput":2660},"src/components/index.ts":{"bytesInOutput":0}},"bytes":3597},"dist/lib/browser/chunk-GV4DJFU6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1067},"dist/lib/browser/chunk-GV4DJFU6.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":589}},"bytes":668}}}
1
+ {"inputs":{"src/translations.ts":{"bytes":2880,"imports":[{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/ConductorPlugin.tsx":{"bytes":6317,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/operations","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"#capabilities","kind":"import-statement","external":true}],"format":"esm"},"src/meta.ts":{"bytes":2257,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":559,"imports":[{"path":"src/ConductorPlugin.tsx","kind":"import-statement","original":"./ConductorPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5574},"dist/lib/browser/index.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/operations","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ConductorPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/ConductorPlugin.tsx":{"bytesInOutput":1452},"src/translations.ts":{"bytesInOutput":712},"src/index.ts":{"bytesInOutput":0},"src/meta.ts":{"bytesInOutput":590}},"bytes":2931}}}
@@ -1,65 +1,93 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
- import {
3
- meta
4
- } from "./chunk-DILME6SD.mjs";
5
2
 
6
3
  // src/ConductorPlugin.tsx
7
4
  import * as Effect from "effect/Effect";
8
- import { Common, Plugin } from "@dxos/app-framework";
5
+ import * as Option from "effect/Option";
6
+ import { Plugin } from "@dxos/app-framework";
7
+ import { AppPlugin } from "@dxos/app-toolkit";
8
+ import { Annotation } from "@dxos/echo";
9
9
  import { ComputeGraph } from "@dxos/conductor";
10
- import { Obj } from "@dxos/echo";
11
- import { CanvasBoardType as CanvasBoardType2 } from "@dxos/react-ui-canvas-editor";
12
-
13
- // src/capabilities/react-surface/index.ts
14
- import { Capability } from "@dxos/app-framework";
15
- var ReactSurface = Capability.lazy("ReactSurface", () => import("./react-surface-4MQHAW46.mjs"));
10
+ import { Operation } from "@dxos/operation";
11
+ import { SpaceOperation } from "@dxos/plugin-space/operations";
12
+ import { CanvasBoard as CanvasBoard2 } from "@dxos/react-ui-canvas-editor";
13
+ import { meta as meta2 } from "#meta";
16
14
 
17
15
  // src/translations.ts
18
- import { CanvasBoardType } from "@dxos/react-ui-canvas-editor";
16
+ import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
17
+ import { meta } from "#meta";
19
18
  var translations = [
20
19
  {
21
20
  "en-US": {
22
- [CanvasBoardType.typename]: {
23
- "typename label": "Circuit",
24
- "typename label_zero": "Circuits",
25
- "typename label_one": "Circuit",
26
- "typename label_other": "Circuits",
27
- "object name placeholder": "New circuit",
28
- "rename object label": "Rename circuit",
29
- "delete object label": "Delete circuit",
30
- "object deleted label": "Circuit deleted"
21
+ [CanvasBoard.CanvasBoard.typename]: {
22
+ "typename.label": "Circuit",
23
+ "typename.label_zero": "Circuits",
24
+ "typename.label_one": "Circuit",
25
+ "typename.label_other": "Circuits",
26
+ "object-name.placeholder": "New circuit",
27
+ "add-object.label": "Add circuit",
28
+ "rename-object.label": "Rename circuit",
29
+ "delete-object.label": "Delete circuit",
30
+ "object-deleted.label": "Circuit deleted"
31
31
  },
32
32
  [meta.id]: {
33
- "plugin name": "Conductor",
34
- "content placeholder": "Enter text..."
33
+ "plugin.name": "Conductor",
34
+ "content.placeholder": "Enter text..."
35
35
  }
36
36
  }
37
37
  }
38
38
  ];
39
39
 
40
40
  // src/ConductorPlugin.tsx
41
- var ConductorPlugin = Plugin.define(meta).pipe(Common.Plugin.addTranslationsModule({
42
- translations
43
- }), Common.Plugin.addMetadataModule({
41
+ import { ReactSurface } from "#capabilities";
42
+ var ConductorPlugin = Plugin.define(meta2).pipe(AppPlugin.addMetadataModule({
44
43
  metadata: {
45
- id: CanvasBoardType2.typename,
44
+ id: CanvasBoard2.CanvasBoard.typename,
46
45
  metadata: {
47
- icon: "ph--infinity--regular",
48
- iconHue: "sky",
49
- createObject: (props) => Effect.sync(() => Obj.make(CanvasBoardType2, props)),
50
- addToCollectionOnCreate: true
46
+ icon: Annotation.IconAnnotation.get(CanvasBoard2.CanvasBoard).pipe(Option.getOrThrow).icon,
47
+ iconHue: Annotation.IconAnnotation.get(CanvasBoard2.CanvasBoard).pipe(Option.getOrThrow).hue ?? "white",
48
+ createObject: (props, options) => Effect.gen(function* () {
49
+ const object = CanvasBoard2.make(props);
50
+ return yield* Operation.invoke(SpaceOperation.AddObject, {
51
+ object,
52
+ target: options.target,
53
+ hidden: true,
54
+ targetNodeId: options.targetNodeId
55
+ });
56
+ })
51
57
  }
52
58
  }
53
- }), Common.Plugin.addSchemaModule({
59
+ }), AppPlugin.addSchemaModule({
54
60
  schema: [
55
- CanvasBoardType2,
61
+ CanvasBoard2.CanvasBoard,
56
62
  ComputeGraph
57
63
  ]
58
- }), Common.Plugin.addSurfaceModule({
64
+ }), AppPlugin.addSurfaceModule({
59
65
  activate: ReactSurface
66
+ }), AppPlugin.addTranslationsModule({
67
+ translations
60
68
  }), Plugin.make);
69
+
70
+ // src/meta.ts
71
+ import { trim } from "@dxos/util";
72
+ var meta3 = {
73
+ id: "org.dxos.plugin.conductor",
74
+ name: "Conductor",
75
+ description: trim`
76
+ Visual workflow builder using node-based compute graphs to orchestrate complex AI agent pipelines.
77
+ Connect data sources, transformations, and AI models in a drag-and-drop interface for advanced automation.
78
+ `,
79
+ icon: "ph--infinity--regular",
80
+ iconHue: "sky",
81
+ source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-conductor",
82
+ tags: [
83
+ "labs"
84
+ ],
85
+ screenshots: [
86
+ "https://dxos.network/plugin-details-canvas-dark.png"
87
+ ]
88
+ };
61
89
  export {
62
90
  ConductorPlugin,
63
- meta
91
+ meta3 as meta
64
92
  };
65
93
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/ConductorPlugin.tsx", "../../../src/capabilities/react-surface/index.ts", "../../../src/translations.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Common, Plugin } from '@dxos/app-framework';\nimport { ComputeGraph } from '@dxos/conductor';\nimport { Obj } from '@dxos/echo';\nimport { type CreateObject } from '@dxos/plugin-space/types';\nimport { CanvasBoardType } from '@dxos/react-ui-canvas-editor';\n\nimport { ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { translations } from './translations';\n\nexport const ConductorPlugin = Plugin.define(meta).pipe(\n Common.Plugin.addTranslationsModule({ translations }),\n Common.Plugin.addMetadataModule({\n metadata: {\n id: CanvasBoardType.typename,\n metadata: {\n icon: 'ph--infinity--regular',\n iconHue: 'sky',\n createObject: ((props) => Effect.sync(() => Obj.make(CanvasBoardType, props))) satisfies CreateObject,\n addToCollectionOnCreate: true,\n },\n },\n }),\n Common.Plugin.addSchemaModule({ schema: [CanvasBoardType, ComputeGraph] }),\n Common.Plugin.addSurfaceModule({ activate: ReactSurface }),\n Plugin.make,\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\nimport { CanvasBoardType } from '@dxos/react-ui-canvas-editor';\n\nimport { meta } from './meta';\n\nexport const translations = [\n {\n 'en-US': {\n [CanvasBoardType.typename]: {\n 'typename label': 'Circuit',\n 'typename label_zero': 'Circuits',\n 'typename label_one': 'Circuit',\n 'typename label_other': 'Circuits',\n 'object name placeholder': 'New circuit',\n 'rename object label': 'Rename circuit',\n 'delete object label': 'Delete circuit',\n 'object deleted label': 'Circuit deleted',\n },\n [meta.id]: {\n 'plugin name': 'Conductor',\n 'content placeholder': 'Enter text...',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
- "mappings": ";;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,QAAQC,cAAc;AAC/B,SAASC,oBAAoB;AAC7B,SAASC,WAAW;AAEpB,SAASC,mBAAAA,wBAAuB;;;ACNhC,SAASC,kBAAkB;AAEpB,IAAMC,eAAeC,WAAWC,KAAK,gBAAgB,MAAM,OAAO,8BAAA,CAAA;;;ACDzE,SAASC,uBAAuB;AAIzB,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,gBAAgBC,QAAQ,GAAG;QAC1B,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,uBAAuB;MACzB;IACF;EACF;;;;AFXK,IAAMC,kBAAkBC,OAAOC,OAAOC,IAAAA,EAAMC,KACjDC,OAAOJ,OAAOK,sBAAsB;EAAEC;AAAa,CAAA,GACnDF,OAAOJ,OAAOO,kBAAkB;EAC9BC,UAAU;IACRC,IAAIC,iBAAgBC;IACpBH,UAAU;MACRI,MAAM;MACNC,SAAS;MACTC,cAAe,CAACC,UAAiBC,YAAK,MAAMC,IAAIC,KAAKR,kBAAiBK,KAAAA,CAAAA;MACtEI,yBAAyB;IAC3B;EACF;AACF,CAAA,GACAf,OAAOJ,OAAOoB,gBAAgB;EAAEC,QAAQ;IAACX;IAAiBY;;AAAc,CAAA,GACxElB,OAAOJ,OAAOuB,iBAAiB;EAAEC,UAAUC;AAAa,CAAA,GACxDzB,OAAOkB,IAAI;",
6
- "names": ["Effect", "Common", "Plugin", "ComputeGraph", "Obj", "CanvasBoardType", "Capability", "ReactSurface", "Capability", "lazy", "CanvasBoardType", "translations", "CanvasBoardType", "typename", "meta", "id", "ConductorPlugin", "Plugin", "define", "meta", "pipe", "Common", "addTranslationsModule", "translations", "addMetadataModule", "metadata", "id", "CanvasBoardType", "typename", "icon", "iconHue", "createObject", "props", "sync", "Obj", "make", "addToCollectionOnCreate", "addSchemaModule", "schema", "ComputeGraph", "addSurfaceModule", "activate", "ReactSurface"]
3
+ "sources": ["../../../src/ConductorPlugin.tsx", "../../../src/translations.ts", "../../../src/meta.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport * as Option from 'effect/Option';\n\nimport { Plugin } from '@dxos/app-framework';\nimport { AppPlugin } from '@dxos/app-toolkit';\nimport { Annotation } from '@dxos/echo';\nimport { ComputeGraph } from '@dxos/conductor';\nimport { Operation } from '@dxos/operation';\nimport { type CreateObject } from '@dxos/plugin-space/types';\nimport { SpaceOperation } from '@dxos/plugin-space/operations';\nimport { CanvasBoard } from '@dxos/react-ui-canvas-editor';\n\nimport { meta } from '#meta';\nimport { translations } from './translations';\n\nimport { ReactSurface } from '#capabilities';\n\nexport const ConductorPlugin = Plugin.define(meta).pipe(\n AppPlugin.addMetadataModule({\n metadata: {\n id: CanvasBoard.CanvasBoard.typename,\n metadata: {\n icon: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).icon,\n iconHue: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).hue ?? 'white',\n createObject: ((props, options) =>\n Effect.gen(function* () {\n const object = CanvasBoard.make(props);\n return yield* Operation.invoke(SpaceOperation.AddObject, {\n object,\n target: options.target,\n hidden: true,\n targetNodeId: options.targetNodeId,\n });\n })) satisfies CreateObject,\n },\n },\n }),\n AppPlugin.addSchemaModule({ schema: [CanvasBoard.CanvasBoard, ComputeGraph] }),\n AppPlugin.addSurfaceModule({ activate: ReactSurface }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.make,\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\nimport { CanvasBoard } from '@dxos/react-ui-canvas-editor';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [CanvasBoard.CanvasBoard.typename]: {\n 'typename.label': 'Circuit',\n 'typename.label_zero': 'Circuits',\n 'typename.label_one': 'Circuit',\n 'typename.label_other': 'Circuits',\n 'object-name.placeholder': 'New circuit',\n 'add-object.label': 'Add circuit',\n 'rename-object.label': 'Rename circuit',\n 'delete-object.label': 'Delete circuit',\n 'object-deleted.label': 'Circuit deleted',\n },\n [meta.id]: {\n 'plugin.name': 'Conductor',\n 'content.placeholder': 'Enter text...',\n },\n },\n },\n] as const satisfies Resource[];\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.conductor',\n name: 'Conductor',\n description: trim`\n Visual workflow builder using node-based compute graphs to orchestrate complex AI agent pipelines.\n Connect data sources, transformations, and AI models in a drag-and-drop interface for advanced automation.\n `,\n icon: 'ph--infinity--regular',\n iconHue: 'sky',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-conductor',\n tags: ['labs'],\n screenshots: ['https://dxos.network/plugin-details-canvas-dark.png'],\n};\n"],
5
+ "mappings": ";;;AAIA,YAAYA,YAAY;AACxB,YAAYC,YAAY;AAExB,SAASC,cAAc;AACvB,SAASC,iBAAiB;AAC1B,SAASC,kBAAkB;AAC3B,SAASC,oBAAoB;AAC7B,SAASC,iBAAiB;AAE1B,SAASC,sBAAsB;AAC/B,SAASC,eAAAA,oBAAmB;AAE5B,SAASC,QAAAA,aAAY;;;ACXrB,SAASC,mBAAmB;AAE5B,SAASC,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,YAAYA,YAAYC,QAAQ,GAAG;QAClC,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,oBAAoB;QACpB,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,uBAAuB;MACzB;IACF;EACF;;;;ADTF,SAASC,oBAAoB;AAEtB,IAAMC,kBAAkBC,OAAOC,OAAOC,KAAAA,EAAMC,KACjDC,UAAUC,kBAAkB;EAC1BC,UAAU;IACRC,IAAIC,aAAYA,YAAYC;IAC5BH,UAAU;MACRI,MAAMC,WAAWC,eAAeC,IAAIL,aAAYA,WAAW,EAAEL,KAAYW,iBAAU,EAAEJ;MACrFK,SAASJ,WAAWC,eAAeC,IAAIL,aAAYA,WAAW,EAAEL,KAAYW,iBAAU,EAAEE,OAAO;MAC/FC,cAAe,CAACC,OAAOC,YACdC,WAAI,aAAA;AACT,cAAMC,SAASb,aAAYc,KAAKJ,KAAAA;AAChC,eAAO,OAAOK,UAAUC,OAAOC,eAAeC,WAAW;UACvDL;UACAM,QAAQR,QAAQQ;UAChBC,QAAQ;UACRC,cAAcV,QAAQU;QACxB,CAAA;MACF,CAAA;IACJ;EACF;AACF,CAAA,GACAzB,UAAU0B,gBAAgB;EAAEC,QAAQ;IAACvB,aAAYA;IAAawB;;AAAc,CAAA,GAC5E5B,UAAU6B,iBAAiB;EAAEC,UAAUC;AAAa,CAAA,GACpD/B,UAAUgC,sBAAsB;EAAEC;AAAa,CAAA,GAC/CrC,OAAOsB,IAAI;;;AEvCb,SAASgB,YAAY;AAEd,IAAMC,QAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaC;;;;EAIbC,MAAM;EACNC,SAAS;EACTC,QAAQ;EACRC,MAAM;IAAC;;EACPC,aAAa;IAAC;;AAChB;",
6
+ "names": ["Effect", "Option", "Plugin", "AppPlugin", "Annotation", "ComputeGraph", "Operation", "SpaceOperation", "CanvasBoard", "meta", "CanvasBoard", "meta", "translations", "CanvasBoard", "typename", "meta", "id", "ReactSurface", "ConductorPlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addMetadataModule", "metadata", "id", "CanvasBoard", "typename", "icon", "Annotation", "IconAnnotation", "get", "getOrThrow", "iconHue", "hue", "createObject", "props", "options", "gen", "object", "make", "Operation", "invoke", "SpaceOperation", "AddObject", "target", "hidden", "targetNodeId", "addSchemaModule", "schema", "ComputeGraph", "addSurfaceModule", "activate", "ReactSurface", "addTranslationsModule", "translations", "trim", "meta", "id", "name", "description", "trim", "icon", "iconHue", "source", "tags", "screenshots"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/components/CanvasContainer.tsx":{"bytes":10786,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true}],"format":"esm"},"src/components/index.ts":{"bytes":572,"imports":[{"path":"src/components/CanvasContainer.tsx","kind":"import-statement","original":"./CanvasContainer"}],"format":"esm"},"src/meta.ts":{"bytes":2257,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":3255,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":913,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":490,"imports":[{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":2738,"imports":[{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/ConductorPlugin.tsx":{"bytes":4203,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":559,"imports":[{"path":"src/ConductorPlugin.tsx","kind":"import-statement","original":"./ConductorPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3762},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DILME6SD.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/react-surface-4MQHAW46.mjs","kind":"dynamic-import"},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true}],"exports":["ConductorPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/ConductorPlugin.tsx":{"bytesInOutput":825},"src/capabilities/react-surface/index.ts":{"bytesInOutput":148},"src/capabilities/index.ts":{"bytesInOutput":0},"src/translations.ts":{"bytesInOutput":635},"src/index.ts":{"bytesInOutput":0}},"bytes":1944},"dist/lib/node-esm/react-surface-4MQHAW46.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7548},"dist/lib/node-esm/react-surface-4MQHAW46.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-DILME6SD.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":646},"src/components/CanvasContainer.tsx":{"bytesInOutput":2660},"src/components/index.ts":{"bytesInOutput":0}},"bytes":3689},"dist/lib/node-esm/chunk-DILME6SD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1069},"dist/lib/node-esm/chunk-DILME6SD.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":589}},"bytes":761}}}
1
+ {"inputs":{"src/translations.ts":{"bytes":2880,"imports":[{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/ConductorPlugin.tsx":{"bytes":6317,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/operations","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"#capabilities","kind":"import-statement","external":true}],"format":"esm"},"src/meta.ts":{"bytes":2257,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":559,"imports":[{"path":"src/ConductorPlugin.tsx","kind":"import-statement","original":"./ConductorPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5576},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/operations","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ConductorPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/ConductorPlugin.tsx":{"bytesInOutput":1452},"src/translations.ts":{"bytesInOutput":712},"src/index.ts":{"bytesInOutput":0},"src/meta.ts":{"bytesInOutput":590}},"bytes":3024}}}
@@ -1 +1 @@
1
- {"version":3,"file":"ConductorPlugin.d.ts","sourceRoot":"","sources":["../../../src/ConductorPlugin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAU,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAUrD,eAAO,MAAM,eAAe,4BAgB3B,CAAC"}
1
+ {"version":3,"file":"ConductorPlugin.d.ts","sourceRoot":"","sources":["../../../src/ConductorPlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAc7C,eAAO,MAAM,eAAe,4BAwB3B,CAAC"}
@@ -1,2 +1,3 @@
1
- export * from './react-surface';
1
+ import { Capability } from '@dxos/app-framework';
2
+ export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY,iJAAmE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capabilities, Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
4
+ export default _default;
5
+ //# sourceMappingURL=react-surface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAQ/D,wBAaE"}
@@ -1,2 +1 @@
1
- export { CanvasContainer } from './CanvasContainer';
2
1
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type ObjectSurfaceProps } from '@dxos/app-toolkit/ui';
3
+ import { type CanvasBoard } from '@dxos/react-ui-canvas-editor';
4
+ export type CanvasContainerProps = ObjectSurfaceProps<CanvasBoard.CanvasBoard>;
5
+ export declare const CanvasContainer: ({ role, subject: canvas }: CanvasContainerProps) => React.JSX.Element | undefined;
6
+ //# sourceMappingURL=CanvasContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CanvasContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CanvasContainer/CanvasContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAGpE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAe/D,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;AAE/E,eAAO,MAAM,eAAe,GAAI,2BAA2B,oBAAoB,kCA4C9E,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { CanvasContainer } from './CanvasContainer';
2
+ export default CanvasContainer;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CanvasContainer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,eAAe,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type ComponentType } from 'react';
2
+ export declare const CanvasContainer: ComponentType<any>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,GAAG,CAA2C,CAAC"}
@@ -1,20 +1,21 @@
1
- import { CanvasBoardType } from '@dxos/react-ui-canvas-editor';
2
- import { meta } from './meta';
1
+ import { CanvasBoard } from '@dxos/react-ui-canvas-editor';
2
+ import { meta } from '#meta';
3
3
  export declare const translations: [{
4
4
  readonly 'en-US': {
5
- readonly [CanvasBoardType.typename]: {
6
- readonly 'typename label': "Circuit";
7
- readonly 'typename label_zero': "Circuits";
8
- readonly 'typename label_one': "Circuit";
9
- readonly 'typename label_other': "Circuits";
10
- readonly 'object name placeholder': "New circuit";
11
- readonly 'rename object label': "Rename circuit";
12
- readonly 'delete object label': "Delete circuit";
13
- readonly 'object deleted label': "Circuit deleted";
5
+ readonly [CanvasBoard.CanvasBoard.typename]: {
6
+ readonly 'typename.label': "Circuit";
7
+ readonly 'typename.label_zero': "Circuits";
8
+ readonly 'typename.label_one': "Circuit";
9
+ readonly 'typename.label_other': "Circuits";
10
+ readonly 'object-name.placeholder': "New circuit";
11
+ readonly 'add-object.label': "Add circuit";
12
+ readonly 'rename-object.label': "Rename circuit";
13
+ readonly 'delete-object.label': "Delete circuit";
14
+ readonly 'object-deleted.label': "Circuit deleted";
14
15
  };
15
16
  readonly [meta.id]: {
16
- readonly 'plugin name': "Conductor";
17
- readonly 'content placeholder': "Enter text...";
17
+ readonly 'plugin.name': "Conductor";
18
+ readonly 'content.placeholder': "Enter text...";
18
19
  };
19
20
  };
20
21
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,eAAe,CAAC,QAAQ,CAAC;;;;;;;;;UASzB;QACD,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;UAGR;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,WAAW,CAAC,WAAW,CAAC,QAAQ,CAAC;;;;;;;;;;UAUjC;QACD,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;UAGR;;EAGwB,CAAC"}