@dxos/plugin-conductor 0.8.4-main.9be5663bfe → 0.8.4-main.abd8ff62ef

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 (32) hide show
  1. package/dist/lib/browser/ConductorPlugin-Z47S57T7.mjs +46 -0
  2. package/dist/lib/browser/ConductorPlugin-Z47S57T7.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +6 -67
  4. package/dist/lib/browser/index.mjs.map +4 -4
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/translations.mjs +28 -0
  7. package/dist/lib/browser/translations.mjs.map +7 -0
  8. package/dist/lib/node-esm/ConductorPlugin-YBGIJPHK.mjs +48 -0
  9. package/dist/lib/node-esm/ConductorPlugin-YBGIJPHK.mjs.map +7 -0
  10. package/dist/lib/node-esm/index.mjs +6 -67
  11. package/dist/lib/node-esm/index.mjs.map +4 -4
  12. package/dist/lib/node-esm/meta.json +1 -1
  13. package/dist/lib/node-esm/translations.mjs +30 -0
  14. package/dist/lib/node-esm/translations.mjs.map +7 -0
  15. package/dist/types/src/ConductorPlugin.d.ts +1 -0
  16. package/dist/types/src/ConductorPlugin.d.ts.map +1 -1
  17. package/dist/types/src/ConductorPlugin.test.d.ts +2 -0
  18. package/dist/types/src/ConductorPlugin.test.d.ts.map +1 -0
  19. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  20. package/dist/types/src/containers/CanvasContainer/CanvasContainer.d.ts +1 -1
  21. package/dist/types/src/containers/CanvasContainer/CanvasContainer.d.ts.map +1 -1
  22. package/dist/types/src/index.d.ts +2 -1
  23. package/dist/types/src/index.d.ts.map +1 -1
  24. package/dist/types/src/translations.d.ts +24 -16
  25. package/dist/types/src/translations.d.ts.map +1 -1
  26. package/dist/types/tsconfig.tsbuildinfo +1 -1
  27. package/package.json +35 -28
  28. package/src/ConductorPlugin.test.ts +27 -0
  29. package/src/ConductorPlugin.tsx +4 -3
  30. package/src/capabilities/react-surface.tsx +4 -2
  31. package/src/containers/CanvasContainer/CanvasContainer.tsx +6 -6
  32. package/src/index.ts +6 -1
@@ -0,0 +1,46 @@
1
+ // src/ConductorPlugin.tsx
2
+ import * as Effect from "effect/Effect";
3
+ import * as Option from "effect/Option";
4
+ import { Plugin } from "@dxos/app-framework";
5
+ import { AppPlugin } from "@dxos/app-toolkit";
6
+ import { Operation } from "@dxos/compute";
7
+ import { ComputeGraph } from "@dxos/conductor";
8
+ import { Annotation } from "@dxos/echo";
9
+ import { SpaceOperation } from "@dxos/plugin-space/operations";
10
+ import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
11
+ import { ReactSurface } from "#capabilities";
12
+ import { meta } from "#meta";
13
+ import { translations } from "#translations";
14
+ var ConductorPlugin = Plugin.define(meta).pipe(AppPlugin.addMetadataModule({
15
+ metadata: {
16
+ id: CanvasBoard.CanvasBoard.typename,
17
+ metadata: {
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
+ })
29
+ }
30
+ }
31
+ }), AppPlugin.addSchemaModule({
32
+ schema: [
33
+ CanvasBoard.CanvasBoard,
34
+ ComputeGraph
35
+ ]
36
+ }), AppPlugin.addSurfaceModule({
37
+ activate: ReactSurface
38
+ }), AppPlugin.addTranslationsModule({
39
+ translations
40
+ }), Plugin.make);
41
+ var ConductorPlugin_default = ConductorPlugin;
42
+ export {
43
+ ConductorPlugin,
44
+ ConductorPlugin_default as default
45
+ };
46
+ //# sourceMappingURL=ConductorPlugin-Z47S57T7.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/ConductorPlugin.tsx"],
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\nexport default ConductorPlugin;\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;AAGb,IAAA,0BAAelB;",
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"]
7
+ }
@@ -1,73 +1,9 @@
1
- // src/ConductorPlugin.tsx
2
- import * as Effect from "effect/Effect";
3
- import * as Option from "effect/Option";
1
+ // src/index.ts
4
2
  import { Plugin } from "@dxos/app-framework";
5
- import { AppPlugin } from "@dxos/app-toolkit";
6
- import { ComputeGraph } from "@dxos/conductor";
7
- import { Annotation } from "@dxos/echo";
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 { ReactSurface } from "#capabilities";
12
- import { meta as meta2 } from "#meta";
13
-
14
- // src/translations.ts
15
- import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
16
- import { meta } from "#meta";
17
- var translations = [
18
- {
19
- "en-US": {
20
- [CanvasBoard.CanvasBoard.typename]: {
21
- "typename.label": "Circuit",
22
- "typename.label_zero": "Circuits",
23
- "typename.label_one": "Circuit",
24
- "typename.label_other": "Circuits",
25
- "object-name.placeholder": "New circuit",
26
- "add-object.label": "Add 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
40
- var ConductorPlugin = Plugin.define(meta2).pipe(AppPlugin.addMetadataModule({
41
- metadata: {
42
- id: CanvasBoard2.CanvasBoard.typename,
43
- metadata: {
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
- })
55
- }
56
- }
57
- }), AppPlugin.addSchemaModule({
58
- schema: [
59
- CanvasBoard2.CanvasBoard,
60
- ComputeGraph
61
- ]
62
- }), AppPlugin.addSurfaceModule({
63
- activate: ReactSurface
64
- }), AppPlugin.addTranslationsModule({
65
- translations
66
- }), Plugin.make);
67
3
 
68
4
  // src/meta.ts
69
5
  import { trim } from "@dxos/util";
70
- var meta3 = {
6
+ var meta = {
71
7
  id: "org.dxos.plugin.conductor",
72
8
  name: "Conductor",
73
9
  description: trim`
@@ -84,8 +20,11 @@ var meta3 = {
84
20
  "https://dxos.network/plugin-details-canvas-dark.png"
85
21
  ]
86
22
  };
23
+
24
+ // src/index.ts
25
+ var ConductorPlugin = Plugin.lazy(meta, () => import("./ConductorPlugin-Z47S57T7.mjs"));
87
26
  export {
88
27
  ConductorPlugin,
89
- meta3 as meta
28
+ meta
90
29
  };
91
30
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
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 { ComputeGraph } from '@dxos/conductor';\nimport { Annotation } from '@dxos/echo';\nimport { Operation } from '@dxos/operation';\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';\n\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 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,oBAAoB;AAC7B,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,sBAAsB;AAE/B,SAASC,eAAAA,oBAAmB;AAE5B,SAASC,oBAAoB;AAC7B,SAASC,QAAAA,aAAY;;;ACZrB,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;;;;ADPK,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", "ComputeGraph", "Annotation", "Operation", "SpaceOperation", "CanvasBoard", "ReactSurface", "meta", "CanvasBoard", "meta", "translations", "CanvasBoard", "typename", "meta", "id", "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"]
3
+ "sources": ["../../../src/index.ts", "../../../src/meta.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const ConductorPlugin = Plugin.lazy(meta, () => import('./ConductorPlugin'));\n\nexport * from './meta';\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,SAASA,cAAc;;;ACCvB,SAASC,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;EACNC,SAAS;EACTC,QAAQ;EACRC,MAAM;IAAC;;EACPC,aAAa;IAAC;;AAChB;;;ADXO,IAAMC,kBAAkBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,gCAAA,CAAA;",
6
+ "names": ["Plugin", "trim", "meta", "id", "name", "description", "icon", "iconHue", "source", "tags", "screenshots", "ConductorPlugin", "Plugin", "lazy", "meta"]
7
7
  }
@@ -1 +1 @@
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":6313,"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/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","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":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"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/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","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":"#capabilities","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":"@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
+ {"inputs":{"src/meta.ts":{"bytes":2174,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/ConductorPlugin.tsx":{"bytes":6311,"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/index.ts":{"bytes":976,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/ConductorPlugin.tsx","kind":"dynamic-import","original":"./ConductorPlugin"}],"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":1455},"dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"dist/lib/browser/ConductorPlugin-Z47S57T7.mjs","kind":"dynamic-import"}],"exports":["ConductorPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":135},"src/meta.ts":{"bytesInOutput":589}},"bytes":846},"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},"dist/lib/browser/ConductorPlugin-Z47S57T7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3249},"dist/lib/browser/ConductorPlugin-Z47S57T7.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}],"exports":["ConductorPlugin","default"],"entryPoint":"src/ConductorPlugin.tsx","inputs":{"src/ConductorPlugin.tsx":{"bytesInOutput":1512}},"bytes":1661}}}
@@ -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
+ }
@@ -0,0 +1,48 @@
1
+ import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
+
3
+ // src/ConductorPlugin.tsx
4
+ import * as Effect from "effect/Effect";
5
+ import * as Option from "effect/Option";
6
+ import { Plugin } from "@dxos/app-framework";
7
+ import { AppPlugin } from "@dxos/app-toolkit";
8
+ import { Operation } from "@dxos/compute";
9
+ import { ComputeGraph } from "@dxos/conductor";
10
+ import { Annotation } from "@dxos/echo";
11
+ import { SpaceOperation } from "@dxos/plugin-space/operations";
12
+ import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
13
+ import { ReactSurface } from "#capabilities";
14
+ import { meta } from "#meta";
15
+ import { translations } from "#translations";
16
+ var ConductorPlugin = Plugin.define(meta).pipe(AppPlugin.addMetadataModule({
17
+ metadata: {
18
+ id: CanvasBoard.CanvasBoard.typename,
19
+ metadata: {
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
+ })
31
+ }
32
+ }
33
+ }), AppPlugin.addSchemaModule({
34
+ schema: [
35
+ CanvasBoard.CanvasBoard,
36
+ ComputeGraph
37
+ ]
38
+ }), AppPlugin.addSurfaceModule({
39
+ activate: ReactSurface
40
+ }), AppPlugin.addTranslationsModule({
41
+ translations
42
+ }), Plugin.make);
43
+ var ConductorPlugin_default = ConductorPlugin;
44
+ export {
45
+ ConductorPlugin,
46
+ ConductorPlugin_default as default
47
+ };
48
+ //# sourceMappingURL=ConductorPlugin-YBGIJPHK.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/ConductorPlugin.tsx"],
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\nexport default ConductorPlugin;\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;AAGb,IAAA,0BAAelB;",
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"]
7
+ }
@@ -1,75 +1,11 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
 
3
- // src/ConductorPlugin.tsx
4
- import * as Effect from "effect/Effect";
5
- import * as Option from "effect/Option";
3
+ // src/index.ts
6
4
  import { Plugin } from "@dxos/app-framework";
7
- import { AppPlugin } from "@dxos/app-toolkit";
8
- import { ComputeGraph } from "@dxos/conductor";
9
- import { Annotation } from "@dxos/echo";
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 { ReactSurface } from "#capabilities";
14
- import { meta as meta2 } from "#meta";
15
-
16
- // src/translations.ts
17
- import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
18
- import { meta } from "#meta";
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
- "add-object.label": "Add circuit",
29
- "rename-object.label": "Rename circuit",
30
- "delete-object.label": "Delete circuit",
31
- "object-deleted.label": "Circuit deleted"
32
- },
33
- [meta.id]: {
34
- "plugin.name": "Conductor",
35
- "content.placeholder": "Enter text..."
36
- }
37
- }
38
- }
39
- ];
40
-
41
- // src/ConductorPlugin.tsx
42
- var ConductorPlugin = Plugin.define(meta2).pipe(AppPlugin.addMetadataModule({
43
- metadata: {
44
- id: CanvasBoard2.CanvasBoard.typename,
45
- metadata: {
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
- })
57
- }
58
- }
59
- }), AppPlugin.addSchemaModule({
60
- schema: [
61
- CanvasBoard2.CanvasBoard,
62
- ComputeGraph
63
- ]
64
- }), AppPlugin.addSurfaceModule({
65
- activate: ReactSurface
66
- }), AppPlugin.addTranslationsModule({
67
- translations
68
- }), Plugin.make);
69
5
 
70
6
  // src/meta.ts
71
7
  import { trim } from "@dxos/util";
72
- var meta3 = {
8
+ var meta = {
73
9
  id: "org.dxos.plugin.conductor",
74
10
  name: "Conductor",
75
11
  description: trim`
@@ -86,8 +22,11 @@ var meta3 = {
86
22
  "https://dxos.network/plugin-details-canvas-dark.png"
87
23
  ]
88
24
  };
25
+
26
+ // src/index.ts
27
+ var ConductorPlugin = Plugin.lazy(meta, () => import("./ConductorPlugin-YBGIJPHK.mjs"));
89
28
  export {
90
29
  ConductorPlugin,
91
- meta3 as meta
30
+ meta
92
31
  };
93
32
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
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 { ComputeGraph } from '@dxos/conductor';\nimport { Annotation } from '@dxos/echo';\nimport { Operation } from '@dxos/operation';\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';\n\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 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,oBAAoB;AAC7B,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,sBAAsB;AAE/B,SAASC,eAAAA,oBAAmB;AAE5B,SAASC,oBAAoB;AAC7B,SAASC,QAAAA,aAAY;;;ACZrB,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;;;;ADPK,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", "ComputeGraph", "Annotation", "Operation", "SpaceOperation", "CanvasBoard", "ReactSurface", "meta", "CanvasBoard", "meta", "translations", "CanvasBoard", "typename", "meta", "id", "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"]
3
+ "sources": ["../../../src/index.ts", "../../../src/meta.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const ConductorPlugin = Plugin.lazy(meta, () => import('./ConductorPlugin'));\n\nexport * from './meta';\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,SAASA,cAAc;;;ACCvB,SAASC,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;EACNC,SAAS;EACTC,QAAQ;EACRC,MAAM;IAAC;;EACPC,aAAa;IAAC;;AAChB;;;ADXO,IAAMC,kBAAkBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,gCAAA,CAAA;",
6
+ "names": ["Plugin", "trim", "meta", "id", "name", "description", "icon", "iconHue", "source", "tags", "screenshots", "ConductorPlugin", "Plugin", "lazy", "meta"]
7
7
  }
@@ -1 +1 @@
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":6313,"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/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","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":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"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/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","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":"#capabilities","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":"@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
+ {"inputs":{"src/meta.ts":{"bytes":2174,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/ConductorPlugin.tsx":{"bytes":6311,"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/index.ts":{"bytes":976,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/ConductorPlugin.tsx","kind":"dynamic-import","original":"./ConductorPlugin"}],"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":1457},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/ConductorPlugin-YBGIJPHK.mjs","kind":"dynamic-import"}],"exports":["ConductorPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":135},"src/meta.ts":{"bytesInOutput":589}},"bytes":939},"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},"dist/lib/node-esm/ConductorPlugin-YBGIJPHK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3251},"dist/lib/node-esm/ConductorPlugin-YBGIJPHK.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}],"exports":["ConductorPlugin","default"],"entryPoint":"src/ConductorPlugin.tsx","inputs":{"src/ConductorPlugin.tsx":{"bytesInOutput":1512}},"bytes":1754}}}
@@ -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,3 +1,4 @@
1
1
  import { Plugin } from '@dxos/app-framework';
2
2
  export declare const ConductorPlugin: Plugin.PluginFactory<void>;
3
+ export default ConductorPlugin;
3
4
  //# sourceMappingURL=ConductorPlugin.d.ts.map
@@ -1 +1 @@
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
+ {"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;eAEa,eAAe"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ConductorPlugin.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConductorPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/ConductorPlugin.test.ts"],"names":[],"mappings":""}
@@ -1 +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;;AAO/D,wBAeE"}
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"}
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { type AppSurface } from '@dxos/app-toolkit/ui';
3
3
  import { type CanvasBoard } from '@dxos/react-ui-canvas-editor';
4
4
  export type CanvasContainerProps = AppSurface.ObjectArticleProps<CanvasBoard.CanvasBoard>;
5
- export declare const CanvasContainer: ({ role, subject: canvas, attendableId: _attendableId }: CanvasContainerProps) => React.JSX.Element | undefined;
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,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,GAAI,wDAAwD,oBAAoB,kCA4C3G,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,4 @@
1
- export * from './ConductorPlugin';
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const ConductorPlugin: Plugin.PluginFactory<void>;
2
3
  export * from './meta';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,eAAe,4BAAuD,CAAC;AAEpF,cAAc,QAAQ,CAAC"}
@@ -1,21 +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 '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";
15
- };
16
- readonly [meta.id]: {
17
- readonly 'plugin.name': "Conductor";
18
- 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...';
19
27
  };
20
28
  };
21
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,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"}
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"}