@dxos/plugin-conductor 0.8.4-main.72ec0f3 → 0.8.4-main.7ace549

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-conductor",
3
- "version": "0.8.4-main.72ec0f3",
3
+ "version": "0.8.4-main.7ace549",
4
4
  "description": "Composer plugin for conductor.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -37,24 +37,24 @@
37
37
  "dependencies": {
38
38
  "@preact-signals/safe-react": "^0.9.0",
39
39
  "effect": "3.18.3",
40
- "@dxos/ai": "0.8.4-main.72ec0f3",
41
- "@dxos/app-framework": "0.8.4-main.72ec0f3",
42
- "@dxos/assistant": "0.8.4-main.72ec0f3",
43
- "@dxos/debug": "0.8.4-main.72ec0f3",
44
- "@dxos/edge-client": "0.8.4-main.72ec0f3",
45
- "@dxos/functions": "0.8.4-main.72ec0f3",
46
- "@dxos/functions-runtime": "0.8.4-main.72ec0f3",
47
- "@dxos/echo": "0.8.4-main.72ec0f3",
48
- "@dxos/live-object": "0.8.4-main.72ec0f3",
49
- "@dxos/plugin-client": "0.8.4-main.72ec0f3",
50
- "@dxos/log": "0.8.4-main.72ec0f3",
51
- "@dxos/plugin-space": "0.8.4-main.72ec0f3",
52
- "@dxos/react-client": "0.8.4-main.72ec0f3",
53
- "@dxos/react-ui-canvas-editor": "0.8.4-main.72ec0f3",
54
- "@dxos/react-ui-stack": "0.8.4-main.72ec0f3",
55
- "@dxos/util": "0.8.4-main.72ec0f3",
56
- "@dxos/react-ui-canvas-compute": "0.8.4-main.72ec0f3",
57
- "@dxos/conductor": "0.8.4-main.72ec0f3"
40
+ "@dxos/ai": "0.8.4-main.7ace549",
41
+ "@dxos/app-framework": "0.8.4-main.7ace549",
42
+ "@dxos/assistant": "0.8.4-main.7ace549",
43
+ "@dxos/echo": "0.8.4-main.7ace549",
44
+ "@dxos/edge-client": "0.8.4-main.7ace549",
45
+ "@dxos/functions": "0.8.4-main.7ace549",
46
+ "@dxos/functions-runtime": "0.8.4-main.7ace549",
47
+ "@dxos/conductor": "0.8.4-main.7ace549",
48
+ "@dxos/log": "0.8.4-main.7ace549",
49
+ "@dxos/live-object": "0.8.4-main.7ace549",
50
+ "@dxos/plugin-client": "0.8.4-main.7ace549",
51
+ "@dxos/plugin-space": "0.8.4-main.7ace549",
52
+ "@dxos/react-client": "0.8.4-main.7ace549",
53
+ "@dxos/debug": "0.8.4-main.7ace549",
54
+ "@dxos/react-ui-canvas-compute": "0.8.4-main.7ace549",
55
+ "@dxos/react-ui-canvas-editor": "0.8.4-main.7ace549",
56
+ "@dxos/react-ui-stack": "0.8.4-main.7ace549",
57
+ "@dxos/util": "0.8.4-main.7ace549"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/react": "~19.2.2",
@@ -62,16 +62,16 @@
62
62
  "react": "~19.2.0",
63
63
  "react-dom": "~19.2.0",
64
64
  "vite": "7.1.9",
65
- "@dxos/react-ui": "0.8.4-main.72ec0f3",
66
- "@dxos/react-ui-theme": "0.8.4-main.72ec0f3",
67
- "@dxos/storybook-utils": "0.8.4-main.72ec0f3"
65
+ "@dxos/react-ui-theme": "0.8.4-main.7ace549",
66
+ "@dxos/storybook-utils": "0.8.4-main.7ace549",
67
+ "@dxos/react-ui": "0.8.4-main.7ace549"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "effect": "^3.13.3",
71
71
  "react": "^19.0.0",
72
72
  "react-dom": "^19.0.0",
73
- "@dxos/react-ui": "0.8.4-main.72ec0f3",
74
- "@dxos/react-ui-theme": "0.8.4-main.72ec0f3"
73
+ "@dxos/react-ui": "0.8.4-main.7ace549",
74
+ "@dxos/react-ui-theme": "0.8.4-main.7ace549"
75
75
  },
76
76
  "publishConfig": {
77
77
  "access": "public"
@@ -4,10 +4,8 @@
4
4
 
5
5
  import { Capabilities, Events, contributes, createIntent, defineModule, definePlugin } from '@dxos/app-framework';
6
6
  import { ComputeGraph } from '@dxos/conductor';
7
- import { Trigger } from '@dxos/functions';
8
7
  import { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';
9
- import { SpaceCapabilities } from '@dxos/plugin-space';
10
- import { defineObjectForm } from '@dxos/plugin-space/types';
8
+ import { type CreateObjectIntent } from '@dxos/plugin-space/types';
11
9
  import { CanvasBoardType } from '@dxos/react-ui-canvas-editor';
12
10
 
13
11
  import { IntentResolver, ReactSurface } from './capabilities';
@@ -30,25 +28,15 @@ export const ConductorPlugin = definePlugin(meta, () => [
30
28
  metadata: {
31
29
  icon: 'ph--infinity--regular',
32
30
  iconHue: 'sky',
31
+ createObjectIntent: (() => createIntent(ConductorAction.Create)) satisfies CreateObjectIntent,
32
+ addToCollectionOnCreate: true,
33
33
  },
34
34
  }),
35
35
  }),
36
- defineModule({
37
- id: `${meta.id}/module/object-form`,
38
- activatesOn: ClientEvents.SetupSchema,
39
- activate: () =>
40
- contributes(
41
- SpaceCapabilities.ObjectForm,
42
- defineObjectForm({
43
- objectSchema: CanvasBoardType,
44
- getIntent: () => createIntent(ConductorAction.Create),
45
- }),
46
- ),
47
- }),
48
36
  defineModule({
49
37
  id: `${meta.id}/module/schema`,
50
38
  activatesOn: ClientEvents.SetupSchema,
51
- activate: () => contributes(ClientCapabilities.Schema, [ComputeGraph, Trigger.Trigger]),
39
+ activate: () => contributes(ClientCapabilities.Schema, [CanvasBoardType, ComputeGraph]),
52
40
  }),
53
41
  defineModule({
54
42
  id: `${meta.id}/module/react-surface`,
@@ -18,6 +18,7 @@ export const translations = [
18
18
  'object name placeholder': 'New circuit',
19
19
  'rename object label': 'Rename circuit',
20
20
  'delete object label': 'Delete circuit',
21
+ 'object deleted label': 'Circuit deleted',
21
22
  },
22
23
  [meta.id]: {
23
24
  'plugin name': 'Conductor',