@dxos/plugin-conductor 0.8.4-main.422d1c7879 → 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.
@@ -3,48 +3,22 @@ import * as Effect from "effect/Effect";
3
3
  import * as Option from "effect/Option";
4
4
  import { Plugin } from "@dxos/app-framework";
5
5
  import { AppPlugin } from "@dxos/app-toolkit";
6
+ import { Operation } from "@dxos/compute";
6
7
  import { ComputeGraph } from "@dxos/conductor";
7
8
  import { Annotation } from "@dxos/echo";
8
- import { Operation } from "@dxos/operation";
9
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
10
  import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
11
+ import { ReactSurface } from "#capabilities";
16
12
  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({
13
+ import { translations } from "#translations";
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: Annotation.IconAnnotation.get(CanvasBoard2.CanvasBoard).pipe(Option.getOrThrow).icon,
45
- iconHue: Annotation.IconAnnotation.get(CanvasBoard2.CanvasBoard).pipe(Option.getOrThrow).hue ?? "white",
18
+ icon: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).icon,
19
+ iconHue: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).hue ?? "white",
46
20
  createObject: (props, options) => Effect.gen(function* () {
47
- const object = CanvasBoard2.make(props);
21
+ const object = CanvasBoard.make(props);
48
22
  return yield* Operation.invoke(SpaceOperation.AddObject, {
49
23
  object,
50
24
  target: options.target,
@@ -56,7 +30,7 @@ var ConductorPlugin = Plugin.define(meta2).pipe(AppPlugin.addMetadataModule({
56
30
  }
57
31
  }), AppPlugin.addSchemaModule({
58
32
  schema: [
59
- CanvasBoard2.CanvasBoard,
33
+ CanvasBoard.CanvasBoard,
60
34
  ComputeGraph
61
35
  ]
62
36
  }), AppPlugin.addSurfaceModule({
@@ -67,7 +41,7 @@ var ConductorPlugin = Plugin.define(meta2).pipe(AppPlugin.addMetadataModule({
67
41
 
68
42
  // src/meta.ts
69
43
  import { trim } from "@dxos/util";
70
- var meta3 = {
44
+ var meta2 = {
71
45
  id: "org.dxos.plugin.conductor",
72
46
  name: "Conductor",
73
47
  description: trim`
@@ -86,6 +60,6 @@ var meta3 = {
86
60
  };
87
61
  export {
88
62
  ConductorPlugin,
89
- meta3 as meta
63
+ meta2 as meta
90
64
  };
91
65
  //# 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/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/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/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
+ }
@@ -5,48 +5,22 @@ import * as Effect from "effect/Effect";
5
5
  import * as Option from "effect/Option";
6
6
  import { Plugin } from "@dxos/app-framework";
7
7
  import { AppPlugin } from "@dxos/app-toolkit";
8
+ import { Operation } from "@dxos/compute";
8
9
  import { ComputeGraph } from "@dxos/conductor";
9
10
  import { Annotation } from "@dxos/echo";
10
- import { Operation } from "@dxos/operation";
11
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
12
  import { CanvasBoard } from "@dxos/react-ui-canvas-editor";
13
+ import { ReactSurface } from "#capabilities";
18
14
  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({
15
+ import { translations } from "#translations";
16
+ var ConductorPlugin = Plugin.define(meta).pipe(AppPlugin.addMetadataModule({
43
17
  metadata: {
44
- id: CanvasBoard2.CanvasBoard.typename,
18
+ id: CanvasBoard.CanvasBoard.typename,
45
19
  metadata: {
46
- icon: Annotation.IconAnnotation.get(CanvasBoard2.CanvasBoard).pipe(Option.getOrThrow).icon,
47
- iconHue: Annotation.IconAnnotation.get(CanvasBoard2.CanvasBoard).pipe(Option.getOrThrow).hue ?? "white",
20
+ icon: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).icon,
21
+ iconHue: Annotation.IconAnnotation.get(CanvasBoard.CanvasBoard).pipe(Option.getOrThrow).hue ?? "white",
48
22
  createObject: (props, options) => Effect.gen(function* () {
49
- const object = CanvasBoard2.make(props);
23
+ const object = CanvasBoard.make(props);
50
24
  return yield* Operation.invoke(SpaceOperation.AddObject, {
51
25
  object,
52
26
  target: options.target,
@@ -58,7 +32,7 @@ var ConductorPlugin = Plugin.define(meta2).pipe(AppPlugin.addMetadataModule({
58
32
  }
59
33
  }), AppPlugin.addSchemaModule({
60
34
  schema: [
61
- CanvasBoard2.CanvasBoard,
35
+ CanvasBoard.CanvasBoard,
62
36
  ComputeGraph
63
37
  ]
64
38
  }), AppPlugin.addSurfaceModule({
@@ -69,7 +43,7 @@ var ConductorPlugin = Plugin.define(meta2).pipe(AppPlugin.addMetadataModule({
69
43
 
70
44
  // src/meta.ts
71
45
  import { trim } from "@dxos/util";
72
- var meta3 = {
46
+ var meta2 = {
73
47
  id: "org.dxos.plugin.conductor",
74
48
  name: "Conductor",
75
49
  description: trim`
@@ -88,6 +62,6 @@ var meta3 = {
88
62
  };
89
63
  export {
90
64
  ConductorPlugin,
91
- meta3 as meta
65
+ meta2 as meta
92
66
  };
93
67
  //# 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/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/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/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":"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"}
@@ -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,wBAiBE"}
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,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"}