@dxos/plugin-conductor 0.8.4-main.4a85c3132b → 0.8.4-main.51f1e5ca51

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 (47) hide show
  1. package/dist/lib/browser/index.mjs +41 -40
  2. package/dist/lib/browser/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/lib/browser/translations.mjs +28 -0
  5. package/dist/lib/browser/translations.mjs.map +7 -0
  6. package/dist/lib/node-esm/index.mjs +41 -39
  7. package/dist/lib/node-esm/index.mjs.map +4 -4
  8. package/dist/lib/node-esm/meta.json +1 -1
  9. package/dist/lib/node-esm/translations.mjs +30 -0
  10. package/dist/lib/node-esm/translations.mjs.map +7 -0
  11. package/dist/types/src/ConductorPlugin.d.ts.map +1 -1
  12. package/dist/types/src/capabilities/index.d.ts +2 -1
  13. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  14. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  15. package/dist/types/src/containers/CanvasContainer/CanvasContainer.d.ts +3 -3
  16. package/dist/types/src/containers/CanvasContainer/CanvasContainer.d.ts.map +1 -1
  17. package/dist/types/src/containers/CanvasContainer/index.d.ts +1 -2
  18. package/dist/types/src/containers/CanvasContainer/index.d.ts.map +1 -1
  19. package/dist/types/src/translations.d.ts +24 -15
  20. package/dist/types/src/translations.d.ts.map +1 -1
  21. package/dist/types/tsconfig.tsbuildinfo +1 -1
  22. package/package.json +42 -30
  23. package/src/ConductorPlugin.tsx +19 -7
  24. package/src/capabilities/index.ts +3 -1
  25. package/src/capabilities/react-surface.tsx +32 -0
  26. package/src/containers/CanvasContainer/CanvasContainer.tsx +9 -9
  27. package/src/containers/CanvasContainer/index.ts +1 -3
  28. package/src/meta.ts +1 -1
  29. package/src/translations.ts +12 -11
  30. package/dist/lib/browser/CanvasContainer-GJPWWILJ.mjs +0 -89
  31. package/dist/lib/browser/CanvasContainer-GJPWWILJ.mjs.map +0 -7
  32. package/dist/lib/browser/chunk-GV4DJFU6.mjs +0 -24
  33. package/dist/lib/browser/chunk-GV4DJFU6.mjs.map +0 -7
  34. package/dist/lib/browser/react-surface-RLG5OIZN.mjs +0 -33
  35. package/dist/lib/browser/react-surface-RLG5OIZN.mjs.map +0 -7
  36. package/dist/lib/node-esm/CanvasContainer-OGY2XHPA.mjs +0 -91
  37. package/dist/lib/node-esm/CanvasContainer-OGY2XHPA.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-OJ6WPD4B.mjs +0 -34
  41. package/dist/lib/node-esm/react-surface-OJ6WPD4B.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.map +0 -1
  45. package/src/capabilities/react-surface/index.ts +0 -7
  46. package/src/capabilities/react-surface/react-surface.tsx +0 -29
  47. /package/dist/types/src/capabilities/{react-surface/react-surface.d.ts → react-surface.d.ts} +0 -0
@@ -1,55 +1,36 @@
1
- import {
2
- meta
3
- } from "./chunk-GV4DJFU6.mjs";
4
-
5
1
  // src/ConductorPlugin.tsx
6
2
  import * as Effect from "effect/Effect";
3
+ import * as Option from "effect/Option";
7
4
  import { Plugin } from "@dxos/app-framework";
8
5
  import { AppPlugin } from "@dxos/app-toolkit";
6
+ import { Operation } from "@dxos/compute";
9
7
  import { ComputeGraph } from "@dxos/conductor";
10
- import { CanvasBoard as CanvasBoard2 } 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-RLG5OIZN.mjs"));
15
-
16
- // src/translations.ts
8
+ import { Annotation } from "@dxos/echo";
9
+ import { SpaceOperation } from "@dxos/plugin-space/operations";
17
10
  import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
18
- var translations = [
19
- {
20
- "en-US": {
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
- "rename object label": "Rename circuit",
28
- "delete object label": "Delete circuit",
29
- "object deleted label": "Circuit deleted"
30
- },
31
- [meta.id]: {
32
- "plugin name": "Conductor",
33
- "content placeholder": "Enter text..."
34
- }
35
- }
36
- }
37
- ];
38
-
39
- // src/ConductorPlugin.tsx
11
+ import { ReactSurface } from "#capabilities";
12
+ import { meta } from "#meta";
13
+ import { translations } from "#translations";
40
14
  var ConductorPlugin = Plugin.define(meta).pipe(AppPlugin.addMetadataModule({
41
15
  metadata: {
42
- id: CanvasBoard2.CanvasBoard.typename,
16
+ id: CanvasBoard.CanvasBoard.typename,
43
17
  metadata: {
44
- icon: "ph--infinity--regular",
45
- iconHue: "sky",
46
- createObject: (props) => Effect.sync(() => CanvasBoard2.make(props)),
47
- addToCollectionOnCreate: true
18
+ icon: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).icon,
19
+ iconHue: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).hue ?? "white",
20
+ createObject: (props, options) => Effect.gen(function* () {
21
+ const object = CanvasBoard.make(props);
22
+ return yield* Operation.invoke(SpaceOperation.AddObject, {
23
+ object,
24
+ target: options.target,
25
+ hidden: true,
26
+ targetNodeId: options.targetNodeId
27
+ });
28
+ })
48
29
  }
49
30
  }
50
31
  }), AppPlugin.addSchemaModule({
51
32
  schema: [
52
- CanvasBoard2.CanvasBoard,
33
+ CanvasBoard.CanvasBoard,
53
34
  ComputeGraph
54
35
  ]
55
36
  }), AppPlugin.addSurfaceModule({
@@ -57,8 +38,28 @@ var ConductorPlugin = Plugin.define(meta).pipe(AppPlugin.addMetadataModule({
57
38
  }), AppPlugin.addTranslationsModule({
58
39
  translations
59
40
  }), Plugin.make);
41
+
42
+ // src/meta.ts
43
+ import { trim } from "@dxos/util";
44
+ var meta2 = {
45
+ id: "org.dxos.plugin.conductor",
46
+ name: "Conductor",
47
+ description: trim`
48
+ Visual workflow builder using node-based compute graphs to orchestrate complex AI agent pipelines.
49
+ Connect data sources, transformations, and AI models in a drag-and-drop interface for advanced automation.
50
+ `,
51
+ icon: "ph--infinity--regular",
52
+ iconHue: "sky",
53
+ source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-conductor",
54
+ tags: [
55
+ "labs"
56
+ ],
57
+ screenshots: [
58
+ "https://dxos.network/plugin-details-canvas-dark.png"
59
+ ]
60
+ };
60
61
  export {
61
62
  ConductorPlugin,
62
- meta
63
+ meta2 as meta
63
64
  };
64
65
  //# 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 { Plugin } from '@dxos/app-framework';\nimport { AppPlugin } from '@dxos/app-toolkit';\nimport { ComputeGraph } from '@dxos/conductor';\nimport { type CreateObject } from '@dxos/plugin-space/types';\nimport { CanvasBoard } 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 AppPlugin.addMetadataModule({\n metadata: {\n id: CanvasBoard.CanvasBoard.typename,\n metadata: {\n icon: 'ph--infinity--regular',\n iconHue: 'sky',\n createObject: ((props) => Effect.sync(() => CanvasBoard.make(props))) satisfies CreateObject,\n addToCollectionOnCreate: true,\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 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 { 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 '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,cAAc;AACvB,SAASC,iBAAiB;AAC1B,SAASC,oBAAoB;AAE7B,SAASC,eAAAA,oBAAmB;;;ACN5B,SAASC,kBAAkB;AAEpB,IAAMC,eAAeC,WAAWC,KAAK,gBAAgB,MAAM,OAAO,8BAAA,CAAA;;;ACDzE,SAASC,mBAAmB;AAIrB,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,YAAYA,YAAYC,QAAQ,GAAG;QAClC,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,UAAUC,kBAAkB;EAC1BC,UAAU;IACRC,IAAIC,aAAYA,YAAYC;IAC5BH,UAAU;MACRI,MAAM;MACNC,SAAS;MACTC,cAAe,CAACC,UAAiBC,YAAK,MAAMN,aAAYO,KAAKF,KAAAA,CAAAA;MAC7DG,yBAAyB;IAC3B;EACF;AACF,CAAA,GACAZ,UAAUa,gBAAgB;EAAEC,QAAQ;IAACV,aAAYA;IAAaW;;AAAc,CAAA,GAC5Ef,UAAUgB,iBAAiB;EAAEC,UAAUC;AAAa,CAAA,GACpDlB,UAAUmB,sBAAsB;EAAEC;AAAa,CAAA,GAC/CxB,OAAOe,IAAI;",
6
- "names": ["Effect", "Plugin", "AppPlugin", "ComputeGraph", "CanvasBoard", "Capability", "ReactSurface", "Capability", "lazy", "CanvasBoard", "translations", "CanvasBoard", "typename", "meta", "id", "ConductorPlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addMetadataModule", "metadata", "id", "CanvasBoard", "typename", "icon", "iconHue", "createObject", "props", "sync", "make", "addToCollectionOnCreate", "addSchemaModule", "schema", "ComputeGraph", "addSurfaceModule", "activate", "ReactSurface", "addTranslationsModule", "translations"]
3
+ "sources": ["../../../src/ConductorPlugin.tsx", "../../../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 { Operation } from '@dxos/compute';\nimport { ComputeGraph } from '@dxos/conductor';\nimport { Annotation } from '@dxos/echo';\nimport { SpaceOperation } from '@dxos/plugin-space/operations';\nimport { type CreateObject } from '@dxos/plugin-space/types';\nimport { CanvasBoard } 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 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 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,iBAAiB;AAC1B,SAASC,oBAAoB;AAC7B,SAASC,kBAAkB;AAC3B,SAASC,sBAAsB;AAE/B,SAASC,mBAAmB;AAE5B,SAASC,oBAAoB;AAC7B,SAASC,YAAY;AACrB,SAASC,oBAAoB;AAEtB,IAAMC,kBAAkBV,OAAOW,OAAOH,IAAAA,EAAMI,KACjDX,UAAUY,kBAAkB;EAC1BC,UAAU;IACRC,IAAIT,YAAYA,YAAYU;IAC5BF,UAAU;MACRG,MAAMb,WAAWc,eAAeC,IAAIb,YAAYA,WAAW,EAAEM,KAAYQ,iBAAU,EAAEH;MACrFI,SAASjB,WAAWc,eAAeC,IAAIb,YAAYA,WAAW,EAAEM,KAAYQ,iBAAU,EAAEE,OAAO;MAC/FC,cAAe,CAACC,OAAOC,YACdC,WAAI,aAAA;AACT,cAAMC,SAASrB,YAAYsB,KAAKJ,KAAAA;AAChC,eAAO,OAAOtB,UAAU2B,OAAOxB,eAAeyB,WAAW;UACvDH;UACAI,QAAQN,QAAQM;UAChBC,QAAQ;UACRC,cAAcR,QAAQQ;QACxB,CAAA;MACF,CAAA;IACJ;EACF;AACF,CAAA,GACAhC,UAAUiC,gBAAgB;EAAEC,QAAQ;IAAC7B,YAAYA;IAAaH;;AAAc,CAAA,GAC5EF,UAAUmC,iBAAiB;EAAEC,UAAU9B;AAAa,CAAA,GACpDN,UAAUqC,sBAAsB;EAAE7B;AAAa,CAAA,GAC/CT,OAAO4B,IAAI;;;ACtCb,SAASW,YAAY;AAEd,IAAMC,QAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;EACNC,SAAS;EACTC,QAAQ;EACRC,MAAM;IAAC;;EACPC,aAAa;IAAC;;AAChB;",
6
+ "names": ["Effect", "Option", "Plugin", "AppPlugin", "Operation", "ComputeGraph", "Annotation", "SpaceOperation", "CanvasBoard", "ReactSurface", "meta", "translations", "ConductorPlugin", "define", "pipe", "addMetadataModule", "metadata", "id", "typename", "icon", "IconAnnotation", "get", "getOrThrow", "iconHue", "hue", "createObject", "props", "options", "gen", "object", "make", "invoke", "AddObject", "target", "hidden", "targetNodeId", "addSchemaModule", "schema", "addSurfaceModule", "activate", "addTranslationsModule", "trim", "meta", "id", "name", "description", "icon", "iconHue", "source", "tags", "screenshots"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/containers/CanvasContainer/CanvasContainer.tsx":{"bytes":11210,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","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-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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}],"format":"esm"},"src/containers/CanvasContainer/index.ts":{"bytes":692,"imports":[{"path":"src/containers/CanvasContainer/CanvasContainer.tsx","kind":"import-statement","original":"./CanvasContainer"}],"format":"esm"},"src/containers/index.ts":{"bytes":819,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/containers/CanvasContainer/index.ts","kind":"dynamic-import","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":3436,"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/app-framework/ui","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/containers/index.ts","kind":"import-statement","original":"../../containers"},{"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":2754,"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":4119,"imports":[{"path":"effect/Effect","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/conductor","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":3708},"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/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/conductor","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-RLG5OIZN.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":813},"src/capabilities/react-surface/index.ts":{"bytesInOutput":148},"src/capabilities/index.ts":{"bytesInOutput":0},"src/translations.ts":{"bytesInOutput":639},"src/index.ts":{"bytesInOutput":0}},"bytes":1844},"dist/lib/browser/CanvasContainer-GJPWWILJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6477},"dist/lib/browser/CanvasContainer-GJPWWILJ.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","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-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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}],"exports":["default"],"entryPoint":"src/containers/CanvasContainer/index.ts","inputs":{"src/containers/CanvasContainer/CanvasContainer.tsx":{"bytesInOutput":2782},"src/containers/CanvasContainer/index.ts":{"bytesInOutput":47}},"bytes":3030},"dist/lib/browser/react-surface-RLG5OIZN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2079},"dist/lib/browser/react-surface-RLG5OIZN.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/app-framework/ui","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":"dist/lib/browser/CanvasContainer-GJPWWILJ.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":684},"src/containers/index.ts":{"bytesInOutput":106}},"bytes":1070},"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/ConductorPlugin.tsx":{"bytes":6207,"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/compute","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","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":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true}],"format":"esm"},"src/meta.ts":{"bytes":2174,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":475,"imports":[{"path":"src/ConductorPlugin.tsx","kind":"import-statement","original":"./ConductorPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":2789,"imports":[{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4170},"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/compute","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","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":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","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":1465},"src/index.ts":{"bytesInOutput":0},"src/meta.ts":{"bytesInOutput":590}},"bytes":2180},"dist/lib/browser/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1340},"dist/lib/browser/translations.mjs":{"imports":[{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":712}},"bytes":804}}}
@@ -0,0 +1,28 @@
1
+ // src/translations.ts
2
+ import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
3
+ import { meta } from "#meta";
4
+ var translations = [
5
+ {
6
+ "en-US": {
7
+ [CanvasBoard.CanvasBoard.typename]: {
8
+ "typename.label": "Circuit",
9
+ "typename.label_zero": "Circuits",
10
+ "typename.label_one": "Circuit",
11
+ "typename.label_other": "Circuits",
12
+ "object-name.placeholder": "New circuit",
13
+ "add-object.label": "Add circuit",
14
+ "rename-object.label": "Rename circuit",
15
+ "delete-object.label": "Delete circuit",
16
+ "object-deleted.label": "Circuit deleted"
17
+ },
18
+ [meta.id]: {
19
+ "plugin.name": "Conductor",
20
+ "content.placeholder": "Enter text..."
21
+ }
22
+ }
23
+ }
24
+ ];
25
+ export {
26
+ translations
27
+ };
28
+ //# sourceMappingURL=translations.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/translations.ts"],
4
+ "sourcesContent": ["//\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"],
5
+ "mappings": ";AAKA,SAASA,mBAAmB;AAE5B,SAASC,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACF,YAAYA,YAAYG,QAAQ,GAAG;QAClC,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,oBAAoB;QACpB,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACF,KAAKG,EAAE,GAAG;QACT,eAAe;QACf,uBAAuB;MACzB;IACF;EACF;;",
6
+ "names": ["CanvasBoard", "meta", "translations", "typename", "id"]
7
+ }
@@ -1,56 +1,38 @@
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";
5
+ import * as Option from "effect/Option";
8
6
  import { Plugin } from "@dxos/app-framework";
9
7
  import { AppPlugin } from "@dxos/app-toolkit";
8
+ import { Operation } from "@dxos/compute";
10
9
  import { ComputeGraph } from "@dxos/conductor";
11
- import { CanvasBoard as CanvasBoard2 } 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-OJ6WPD4B.mjs"));
16
-
17
- // src/translations.ts
10
+ import { Annotation } from "@dxos/echo";
11
+ import { SpaceOperation } from "@dxos/plugin-space/operations";
18
12
  import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
19
- var translations = [
20
- {
21
- "en-US": {
22
- [CanvasBoard.CanvasBoard.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"
31
- },
32
- [meta.id]: {
33
- "plugin name": "Conductor",
34
- "content placeholder": "Enter text..."
35
- }
36
- }
37
- }
38
- ];
39
-
40
- // src/ConductorPlugin.tsx
13
+ import { ReactSurface } from "#capabilities";
14
+ import { meta } from "#meta";
15
+ import { translations } from "#translations";
41
16
  var ConductorPlugin = Plugin.define(meta).pipe(AppPlugin.addMetadataModule({
42
17
  metadata: {
43
- id: CanvasBoard2.CanvasBoard.typename,
18
+ id: CanvasBoard.CanvasBoard.typename,
44
19
  metadata: {
45
- icon: "ph--infinity--regular",
46
- iconHue: "sky",
47
- createObject: (props) => Effect.sync(() => CanvasBoard2.make(props)),
48
- addToCollectionOnCreate: true
20
+ icon: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).icon,
21
+ iconHue: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).hue ?? "white",
22
+ createObject: (props, options) => Effect.gen(function* () {
23
+ const object = CanvasBoard.make(props);
24
+ return yield* Operation.invoke(SpaceOperation.AddObject, {
25
+ object,
26
+ target: options.target,
27
+ hidden: true,
28
+ targetNodeId: options.targetNodeId
29
+ });
30
+ })
49
31
  }
50
32
  }
51
33
  }), AppPlugin.addSchemaModule({
52
34
  schema: [
53
- CanvasBoard2.CanvasBoard,
35
+ CanvasBoard.CanvasBoard,
54
36
  ComputeGraph
55
37
  ]
56
38
  }), AppPlugin.addSurfaceModule({
@@ -58,8 +40,28 @@ var ConductorPlugin = Plugin.define(meta).pipe(AppPlugin.addMetadataModule({
58
40
  }), AppPlugin.addTranslationsModule({
59
41
  translations
60
42
  }), Plugin.make);
43
+
44
+ // src/meta.ts
45
+ import { trim } from "@dxos/util";
46
+ var meta2 = {
47
+ id: "org.dxos.plugin.conductor",
48
+ name: "Conductor",
49
+ description: trim`
50
+ Visual workflow builder using node-based compute graphs to orchestrate complex AI agent pipelines.
51
+ Connect data sources, transformations, and AI models in a drag-and-drop interface for advanced automation.
52
+ `,
53
+ icon: "ph--infinity--regular",
54
+ iconHue: "sky",
55
+ source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-conductor",
56
+ tags: [
57
+ "labs"
58
+ ],
59
+ screenshots: [
60
+ "https://dxos.network/plugin-details-canvas-dark.png"
61
+ ]
62
+ };
61
63
  export {
62
64
  ConductorPlugin,
63
- meta
65
+ meta2 as meta
64
66
  };
65
67
  //# 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 { Plugin } from '@dxos/app-framework';\nimport { AppPlugin } from '@dxos/app-toolkit';\nimport { ComputeGraph } from '@dxos/conductor';\nimport { type CreateObject } from '@dxos/plugin-space/types';\nimport { CanvasBoard } 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 AppPlugin.addMetadataModule({\n metadata: {\n id: CanvasBoard.CanvasBoard.typename,\n metadata: {\n icon: 'ph--infinity--regular',\n iconHue: 'sky',\n createObject: ((props) => Effect.sync(() => CanvasBoard.make(props))) satisfies CreateObject,\n addToCollectionOnCreate: true,\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 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 { 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 '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,cAAc;AACvB,SAASC,iBAAiB;AAC1B,SAASC,oBAAoB;AAE7B,SAASC,eAAAA,oBAAmB;;;ACN5B,SAASC,kBAAkB;AAEpB,IAAMC,eAAeC,WAAWC,KAAK,gBAAgB,MAAM,OAAO,8BAAA,CAAA;;;ACDzE,SAASC,mBAAmB;AAIrB,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,YAAYA,YAAYC,QAAQ,GAAG;QAClC,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,UAAUC,kBAAkB;EAC1BC,UAAU;IACRC,IAAIC,aAAYA,YAAYC;IAC5BH,UAAU;MACRI,MAAM;MACNC,SAAS;MACTC,cAAe,CAACC,UAAiBC,YAAK,MAAMN,aAAYO,KAAKF,KAAAA,CAAAA;MAC7DG,yBAAyB;IAC3B;EACF;AACF,CAAA,GACAZ,UAAUa,gBAAgB;EAAEC,QAAQ;IAACV,aAAYA;IAAaW;;AAAc,CAAA,GAC5Ef,UAAUgB,iBAAiB;EAAEC,UAAUC;AAAa,CAAA,GACpDlB,UAAUmB,sBAAsB;EAAEC;AAAa,CAAA,GAC/CxB,OAAOe,IAAI;",
6
- "names": ["Effect", "Plugin", "AppPlugin", "ComputeGraph", "CanvasBoard", "Capability", "ReactSurface", "Capability", "lazy", "CanvasBoard", "translations", "CanvasBoard", "typename", "meta", "id", "ConductorPlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addMetadataModule", "metadata", "id", "CanvasBoard", "typename", "icon", "iconHue", "createObject", "props", "sync", "make", "addToCollectionOnCreate", "addSchemaModule", "schema", "ComputeGraph", "addSurfaceModule", "activate", "ReactSurface", "addTranslationsModule", "translations"]
3
+ "sources": ["../../../src/ConductorPlugin.tsx", "../../../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 { Operation } from '@dxos/compute';\nimport { ComputeGraph } from '@dxos/conductor';\nimport { Annotation } from '@dxos/echo';\nimport { SpaceOperation } from '@dxos/plugin-space/operations';\nimport { type CreateObject } from '@dxos/plugin-space/types';\nimport { CanvasBoard } 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 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 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,iBAAiB;AAC1B,SAASC,oBAAoB;AAC7B,SAASC,kBAAkB;AAC3B,SAASC,sBAAsB;AAE/B,SAASC,mBAAmB;AAE5B,SAASC,oBAAoB;AAC7B,SAASC,YAAY;AACrB,SAASC,oBAAoB;AAEtB,IAAMC,kBAAkBV,OAAOW,OAAOH,IAAAA,EAAMI,KACjDX,UAAUY,kBAAkB;EAC1BC,UAAU;IACRC,IAAIT,YAAYA,YAAYU;IAC5BF,UAAU;MACRG,MAAMb,WAAWc,eAAeC,IAAIb,YAAYA,WAAW,EAAEM,KAAYQ,iBAAU,EAAEH;MACrFI,SAASjB,WAAWc,eAAeC,IAAIb,YAAYA,WAAW,EAAEM,KAAYQ,iBAAU,EAAEE,OAAO;MAC/FC,cAAe,CAACC,OAAOC,YACdC,WAAI,aAAA;AACT,cAAMC,SAASrB,YAAYsB,KAAKJ,KAAAA;AAChC,eAAO,OAAOtB,UAAU2B,OAAOxB,eAAeyB,WAAW;UACvDH;UACAI,QAAQN,QAAQM;UAChBC,QAAQ;UACRC,cAAcR,QAAQQ;QACxB,CAAA;MACF,CAAA;IACJ;EACF;AACF,CAAA,GACAhC,UAAUiC,gBAAgB;EAAEC,QAAQ;IAAC7B,YAAYA;IAAaH;;AAAc,CAAA,GAC5EF,UAAUmC,iBAAiB;EAAEC,UAAU9B;AAAa,CAAA,GACpDN,UAAUqC,sBAAsB;EAAE7B;AAAa,CAAA,GAC/CT,OAAO4B,IAAI;;;ACtCb,SAASW,YAAY;AAEd,IAAMC,QAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;EACNC,SAAS;EACTC,QAAQ;EACRC,MAAM;IAAC;;EACPC,aAAa;IAAC;;AAChB;",
6
+ "names": ["Effect", "Option", "Plugin", "AppPlugin", "Operation", "ComputeGraph", "Annotation", "SpaceOperation", "CanvasBoard", "ReactSurface", "meta", "translations", "ConductorPlugin", "define", "pipe", "addMetadataModule", "metadata", "id", "typename", "icon", "IconAnnotation", "get", "getOrThrow", "iconHue", "hue", "createObject", "props", "options", "gen", "object", "make", "invoke", "AddObject", "target", "hidden", "targetNodeId", "addSchemaModule", "schema", "addSurfaceModule", "activate", "addTranslationsModule", "trim", "meta", "id", "name", "description", "icon", "iconHue", "source", "tags", "screenshots"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/containers/CanvasContainer/CanvasContainer.tsx":{"bytes":11210,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","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-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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}],"format":"esm"},"src/containers/CanvasContainer/index.ts":{"bytes":692,"imports":[{"path":"src/containers/CanvasContainer/CanvasContainer.tsx","kind":"import-statement","original":"./CanvasContainer"}],"format":"esm"},"src/containers/index.ts":{"bytes":819,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/containers/CanvasContainer/index.ts","kind":"dynamic-import","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":3436,"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/app-framework/ui","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/containers/index.ts","kind":"import-statement","original":"../../containers"},{"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":2754,"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":4119,"imports":[{"path":"effect/Effect","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/conductor","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":3709},"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/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/conductor","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-OJ6WPD4B.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":813},"src/capabilities/react-surface/index.ts":{"bytesInOutput":148},"src/capabilities/index.ts":{"bytesInOutput":0},"src/translations.ts":{"bytesInOutput":639},"src/index.ts":{"bytesInOutput":0}},"bytes":1936},"dist/lib/node-esm/CanvasContainer-OGY2XHPA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6479},"dist/lib/node-esm/CanvasContainer-OGY2XHPA.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","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-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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}],"exports":["default"],"entryPoint":"src/containers/CanvasContainer/index.ts","inputs":{"src/containers/CanvasContainer/CanvasContainer.tsx":{"bytesInOutput":2782},"src/containers/CanvasContainer/index.ts":{"bytesInOutput":47}},"bytes":3123},"dist/lib/node-esm/react-surface-OJ6WPD4B.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2080},"dist/lib/node-esm/react-surface-OJ6WPD4B.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/app-framework/ui","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":"dist/lib/node-esm/CanvasContainer-OGY2XHPA.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":684},"src/containers/index.ts":{"bytesInOutput":106}},"bytes":1162},"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/ConductorPlugin.tsx":{"bytes":6207,"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/compute","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","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":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true}],"format":"esm"},"src/meta.ts":{"bytes":2174,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":475,"imports":[{"path":"src/ConductorPlugin.tsx","kind":"import-statement","original":"./ConductorPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":2789,"imports":[{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4172},"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/compute","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","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":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","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":1465},"src/index.ts":{"bytesInOutput":0},"src/meta.ts":{"bytesInOutput":590}},"bytes":2273},"dist/lib/node-esm/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1342},"dist/lib/node-esm/translations.mjs":{"imports":[{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":712}},"bytes":897}}}
@@ -0,0 +1,30 @@
1
+ import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
+
3
+ // src/translations.ts
4
+ import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
5
+ import { meta } from "#meta";
6
+ var translations = [
7
+ {
8
+ "en-US": {
9
+ [CanvasBoard.CanvasBoard.typename]: {
10
+ "typename.label": "Circuit",
11
+ "typename.label_zero": "Circuits",
12
+ "typename.label_one": "Circuit",
13
+ "typename.label_other": "Circuits",
14
+ "object-name.placeholder": "New circuit",
15
+ "add-object.label": "Add circuit",
16
+ "rename-object.label": "Rename circuit",
17
+ "delete-object.label": "Delete circuit",
18
+ "object-deleted.label": "Circuit deleted"
19
+ },
20
+ [meta.id]: {
21
+ "plugin.name": "Conductor",
22
+ "content.placeholder": "Enter text..."
23
+ }
24
+ }
25
+ }
26
+ ];
27
+ export {
28
+ translations
29
+ };
30
+ //# sourceMappingURL=translations.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/translations.ts"],
4
+ "sourcesContent": ["//\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"],
5
+ "mappings": ";;;AAKA,SAASA,mBAAmB;AAE5B,SAASC,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACF,YAAYA,YAAYG,QAAQ,GAAG;QAClC,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,oBAAoB;QACpB,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACF,KAAKG,EAAE,GAAG;QACT,eAAe;QACf,uBAAuB;MACzB;IACF;EACF;;",
6
+ "names": ["CanvasBoard", "meta", "translations", "typename", "id"]
7
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"ConductorPlugin.d.ts","sourceRoot":"","sources":["../../../src/ConductorPlugin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAU7C,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;AAa7C,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 @@
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"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { type SurfaceComponentProps } from '@dxos/app-toolkit/ui';
2
+ import { type AppSurface } from '@dxos/app-toolkit/ui';
3
3
  import { type CanvasBoard } from '@dxos/react-ui-canvas-editor';
4
- export type CanvasContainerProps = SurfaceComponentProps<CanvasBoard.CanvasBoard>;
5
- export declare const CanvasContainer: ({ role, subject: canvas }: CanvasContainerProps) => React.JSX.Element | undefined;
4
+ export type CanvasContainerProps = AppSurface.ObjectArticleProps<CanvasBoard.CanvasBoard>;
5
+ export declare const CanvasContainer: ({ role, subject, attendableId: _attendableId }: CanvasContainerProps) => React.JSX.Element | undefined;
6
6
  //# sourceMappingURL=CanvasContainer.d.ts.map
@@ -1 +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,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAelE,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;AAElF,eAAO,MAAM,eAAe,GAAI,2BAA2B,oBAAoB,kCA4C9E,CAAC"}
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,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAevD,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,kBAAkB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;AAE1F,eAAO,MAAM,eAAe,mDAAoD,oBAAoB,kCA4CnG,CAAC"}
@@ -1,3 +1,2 @@
1
- import { CanvasContainer } from './CanvasContainer';
2
- export default CanvasContainer;
1
+ export { CanvasContainer as default } from './CanvasContainer';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CanvasContainer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,20 +1,29 @@
1
- import { CanvasBoard } from '@dxos/react-ui-canvas-editor';
2
- import { meta } from './meta';
3
1
  export declare const translations: [{
4
2
  readonly 'en-US': {
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 'rename object label': "Rename circuit";
12
- readonly 'delete object label': "Delete circuit";
13
- readonly 'object deleted label': "Circuit deleted";
14
- };
15
- readonly [meta.id]: {
16
- readonly 'plugin name': "Conductor";
17
- readonly 'content placeholder': "Enter text...";
3
+ readonly [x: string]: {
4
+ readonly 'typename.label': 'Circuit';
5
+ readonly 'typename.label_zero': 'Circuits';
6
+ readonly 'typename.label_one': 'Circuit';
7
+ readonly 'typename.label_other': 'Circuits';
8
+ readonly 'object-name.placeholder': 'New circuit';
9
+ readonly 'add-object.label': 'Add circuit';
10
+ readonly 'rename-object.label': 'Rename circuit';
11
+ readonly 'delete-object.label': 'Delete circuit';
12
+ readonly 'object-deleted.label': 'Circuit deleted';
13
+ readonly 'plugin.name'?: undefined;
14
+ readonly 'content.placeholder'?: undefined;
15
+ } | {
16
+ readonly 'typename.label'?: undefined;
17
+ readonly 'typename.label_zero'?: undefined;
18
+ readonly 'typename.label_one'?: undefined;
19
+ readonly 'typename.label_other'?: undefined;
20
+ readonly 'object-name.placeholder'?: undefined;
21
+ readonly 'add-object.label'?: undefined;
22
+ readonly 'rename-object.label'?: undefined;
23
+ readonly 'delete-object.label'?: undefined;
24
+ readonly 'object-deleted.label'?: undefined;
25
+ readonly 'plugin.name': 'Conductor';
26
+ readonly 'content.placeholder': 'Enter text...';
18
27
  };
19
28
  };
20
29
  }];
@@ -1 +1 @@
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,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,WAAW,CAAC,WAAW,CAAC,QAAQ,CAAC;;;;;;;;;UASjC;QACD,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;UAGR;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY;;;uCAIC,SAAS;4CACJ,UAAU;2CACX,SAAS;6CACP,UAAU;gDACP,aAAa;yCACpB,aAAa;4CACV,gBAAgB;4CAChB,gBAAgB;6CACf,iBAAiB;;;;;;;;;;;;;oCAG1B,WAAW;4CACH,eAAe;;;EAIf,CAAC"}