@vivix-labs/studio-workbench 1.0.0-beta.10 → 1.0.0-beta.12

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/dist/server.js CHANGED
@@ -33,6 +33,13 @@ var Config = z.object({
33
33
  // packages/studio-workbench/src/query-view.ts
34
34
  import { z as z4 } from "vivix-studio/sdk/shared";
35
35
 
36
+ // packages/project-studio/src/cost.ts
37
+ var creditsFormat = new Intl.NumberFormat("en-US", {
38
+ minimumFractionDigits: 1,
39
+ maximumFractionDigits: 1,
40
+ useGrouping: false
41
+ });
42
+
36
43
  // packages/project-studio/src/shared.ts
37
44
  import { z as z3, defineOperation } from "vivix-studio/sdk/shared";
38
45
 
package/dist/shared.d.ts CHANGED
@@ -18,6 +18,7 @@ type CardProps = {
18
18
  openProjects(): void;
19
19
  openAssets(ref?: VersionRef): void;
20
20
  projects: readonly HomeProject[];
21
+ projectCovers?: ReadonlyMap<string, VersionRef | null>;
21
22
  hiddenProjectIds?: readonly string[];
22
23
  ready: boolean;
23
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vivix-labs/studio-workbench",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.12",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -44,37 +44,37 @@
44
44
  "archiver": "7.0.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@vivix-labs/project-studio": "workspace:*",
48
- "@vivix-labs/ui-system": "workspace:*",
49
- "@types/archiver": "7.0.0"
50
- },
51
- "scripts": {
52
- "build": "node ../../scripts/build-product-packages.mjs studio-workbench"
47
+ "@types/archiver": "7.0.0",
48
+ "@vivix-labs/ui-system": "1.0.0-beta.11",
49
+ "@vivix-labs/project-studio": "1.0.0-beta.11"
53
50
  },
54
51
  "vivixStudio": {
55
52
  "runtimePlugins": {
56
- "@vivix-labs/ads-compare": "1.0.0-beta.9",
57
- "@vivix-labs/ads-storyboard": "1.0.0-beta.9",
58
- "@vivix-labs/creative-data": "1.0.0-beta.9",
59
- "@vivix-labs/dashboard-assets": "1.0.0-beta.9",
60
- "@vivix-labs/dashboard-projects": "1.0.0-beta.9",
61
- "@vivix-labs/magic-edit": "1.0.0-beta.9",
62
- "@vivix-labs/material-library": "1.0.0-beta.9",
63
- "@vivix-labs/media-tools": "1.0.0-beta.9",
64
- "@vivix-labs/project-studio": "1.0.0-beta.9",
65
- "@vivix-labs/short-drama-characters": "1.0.0-beta.9",
66
- "@vivix-labs/short-drama-compare": "1.0.0-beta.9",
67
- "@vivix-labs/short-drama-production": "1.0.0-beta.9",
68
- "@vivix-labs/short-drama-script-editor": "1.0.0-beta.9",
69
- "@vivix-labs/short-drama-social-preview": "1.0.0-beta.9",
70
- "@vivix-labs/short-drama-storyboard": "1.0.0-beta.9",
71
- "@vivix-labs/short-drama-workbench": "1.0.0-beta.10",
72
- "@vivix-labs/studio-asset-list": "1.0.0-beta.9",
73
- "@vivix-labs/studio-workbench": "1.0.0-beta.10",
74
- "@vivix-labs/vivix-api": "1.0.0-beta.9",
75
- "@vivix-labs/ads-workbench": "1.0.0-beta.9",
76
- "@vivix-labs/chat-components": "1.0.0-beta.9",
77
- "@vivix-labs/short-drama-authoring": "1.0.0-beta.9"
53
+ "@vivix-labs/ads-compare": "1.0.0-beta.11",
54
+ "@vivix-labs/ads-storyboard": "1.0.0-beta.11",
55
+ "@vivix-labs/creative-data": "1.0.0-beta.11",
56
+ "@vivix-labs/dashboard-assets": "1.0.0-beta.11",
57
+ "@vivix-labs/dashboard-projects": "1.0.0-beta.11",
58
+ "@vivix-labs/magic-edit": "1.0.0-beta.11",
59
+ "@vivix-labs/material-library": "1.0.0-beta.11",
60
+ "@vivix-labs/media-tools": "1.0.0-beta.11",
61
+ "@vivix-labs/project-studio": "1.0.0-beta.11",
62
+ "@vivix-labs/short-drama-characters": "1.0.0-beta.11",
63
+ "@vivix-labs/short-drama-compare": "1.0.0-beta.11",
64
+ "@vivix-labs/short-drama-production": "1.0.0-beta.11",
65
+ "@vivix-labs/short-drama-script-editor": "1.0.0-beta.11",
66
+ "@vivix-labs/short-drama-social-preview": "1.0.0-beta.11",
67
+ "@vivix-labs/short-drama-storyboard": "1.0.0-beta.11",
68
+ "@vivix-labs/short-drama-workbench": "1.0.0-beta.12",
69
+ "@vivix-labs/studio-asset-list": "1.0.0-beta.11",
70
+ "@vivix-labs/studio-workbench": "1.0.0-beta.12",
71
+ "@vivix-labs/vivix-api": "1.0.0-beta.11",
72
+ "@vivix-labs/ads-workbench": "1.0.0-beta.11",
73
+ "@vivix-labs/chat-components": "1.0.0-beta.11",
74
+ "@vivix-labs/short-drama-authoring": "1.0.0-beta.11"
78
75
  }
76
+ },
77
+ "scripts": {
78
+ "build": "node ../../scripts/build-product-packages.mjs studio-workbench"
79
79
  }
80
- }
80
+ }
@@ -7,17 +7,15 @@
7
7
  {
8
8
  "id": "api",
9
9
  "package": "@vivix-labs/vivix-api",
10
- "version": "1.0.0-beta.9",
10
+ "version": "1.0.0-beta.11",
11
11
  "enabled": true,
12
12
  "config": {},
13
- "requiredAccess": [
14
- "official.request"
15
- ]
13
+ "requiredAccess": ["official.request"]
16
14
  },
17
15
  {
18
16
  "id": "studio",
19
17
  "package": "@vivix-labs/project-studio",
20
- "version": "1.0.0-beta.9",
18
+ "version": "1.0.0-beta.11",
21
19
  "enabled": true,
22
20
  "config": {
23
21
  "role": "project",
@@ -26,14 +24,12 @@
26
24
  "libraryInstance": "user:library",
27
25
  "coordinatorInstance": "user:coordinator"
28
26
  },
29
- "requiredAccess": [
30
- "events.publish"
31
- ]
27
+ "requiredAccess": ["events.publish"]
32
28
  },
33
29
  {
34
30
  "id": "library",
35
31
  "package": "@vivix-labs/material-library",
36
- "version": "1.0.0-beta.9",
32
+ "version": "1.0.0-beta.11",
37
33
  "enabled": true,
38
34
  "config": {
39
35
  "role": "client",
@@ -43,7 +39,7 @@
43
39
  {
44
40
  "id": "workbench",
45
41
  "package": "@vivix-labs/studio-workbench",
46
- "version": "1.0.0-beta.10",
42
+ "version": "1.0.0-beta.12",
47
43
  "enabled": true,
48
44
  "config": {
49
45
  "studioInstance": "studio",
@@ -52,9 +48,7 @@
52
48
  "libraryInstance": "library",
53
49
  "libraryServiceInstance": "user:library"
54
50
  },
55
- "requiredAccess": [
56
- "events.subscribe"
57
- ]
51
+ "requiredAccess": ["events.subscribe"]
58
52
  }
59
53
  ],
60
54
  "workspace": {
@@ -7,17 +7,15 @@
7
7
  {
8
8
  "id": "data",
9
9
  "package": "@vivix-labs/creative-data",
10
- "version": "1.0.0-beta.9",
10
+ "version": "1.0.0-beta.11",
11
11
  "enabled": true,
12
12
  "config": {},
13
- "requiredAccess": [
14
- "project.content.read"
15
- ]
13
+ "requiredAccess": ["project.content.read"]
16
14
  },
17
15
  {
18
16
  "id": "library",
19
17
  "package": "@vivix-labs/material-library",
20
- "version": "1.0.0-beta.9",
18
+ "version": "1.0.0-beta.11",
21
19
  "enabled": true,
22
20
  "config": {
23
21
  "role": "service",
@@ -28,17 +26,15 @@
28
26
  {
29
27
  "id": "api",
30
28
  "package": "@vivix-labs/vivix-api",
31
- "version": "1.0.0-beta.9",
29
+ "version": "1.0.0-beta.11",
32
30
  "enabled": true,
33
31
  "config": {},
34
- "requiredAccess": [
35
- "official.request"
36
- ]
32
+ "requiredAccess": ["official.request"]
37
33
  },
38
34
  {
39
35
  "id": "coordinator",
40
36
  "package": "@vivix-labs/project-studio",
41
- "version": "1.0.0-beta.9",
37
+ "version": "1.0.0-beta.11",
42
38
  "enabled": true,
43
39
  "config": {
44
40
  "role": "coordinator",
@@ -46,21 +42,19 @@
46
42
  "apiInstance": "api",
47
43
  "libraryInstance": "library"
48
44
  },
49
- "requiredAccess": [
50
- "events.publish"
51
- ]
45
+ "requiredAccess": ["events.publish"]
52
46
  },
53
47
  {
54
48
  "id": "magic-edit",
55
49
  "package": "@vivix-labs/magic-edit",
56
- "version": "1.0.0-beta.9",
50
+ "version": "1.0.0-beta.11",
57
51
  "enabled": true,
58
52
  "config": {}
59
53
  },
60
54
  {
61
55
  "id": "dashboard-projects",
62
56
  "package": "@vivix-labs/dashboard-projects",
63
- "version": "1.0.0-beta.9",
57
+ "version": "1.0.0-beta.11",
64
58
  "enabled": true,
65
59
  "config": {
66
60
  "studioInstance": "coordinator"
@@ -69,7 +63,7 @@
69
63
  {
70
64
  "id": "dashboard-assets",
71
65
  "package": "@vivix-labs/dashboard-assets",
72
- "version": "1.0.0-beta.9",
66
+ "version": "1.0.0-beta.11",
73
67
  "enabled": true,
74
68
  "config": {
75
69
  "studioInstance": "coordinator"
@@ -78,14 +72,14 @@
78
72
  {
79
73
  "id": "asset-list",
80
74
  "package": "@vivix-labs/studio-asset-list",
81
- "version": "1.0.0-beta.9",
75
+ "version": "1.0.0-beta.11",
82
76
  "enabled": true,
83
77
  "config": {}
84
78
  },
85
79
  {
86
80
  "id": "workbench",
87
81
  "package": "@vivix-labs/studio-workbench",
88
- "version": "1.0.0-beta.10",
82
+ "version": "1.0.0-beta.12",
89
83
  "enabled": true,
90
84
  "config": {
91
85
  "studioInstance": "coordinator",
@@ -115,9 +109,7 @@
115
109
  }
116
110
  }
117
111
  },
118
- "requiredAccess": [
119
- "events.subscribe"
120
- ]
112
+ "requiredAccess": ["events.subscribe"]
121
113
  }
122
114
  ],
123
115
  "workspace": {
package/skills/SKILL.md CHANGED
@@ -9,6 +9,8 @@ Use `agent guide --json` to locate the installed workspace Skill for project
9
9
  selection, page opening, and host-adapted result presentation. Discover actual
10
10
  instances, operations, and enabled plugin Skills before unfamiliar work.
11
11
 
12
+ For frontend UI and composition, start with the [Studio plugin view guide](../../ui-system/skills/vivix-studio-ui/references/default-project-views.md). From an installation, `vivix-studio agent guide --json` returns `uiGuidePath`, which leads to the same offline guide in the plugin-development Skill.
13
+
12
14
  Read [assets and views](references/assets-and-views.md) for project assets,
13
15
  immutable versions, fixed favorites, saved SQL views, import/reference semantics,
14
16
  and task recovery. Advertising projects use the separately installed advertising
@@ -34,6 +36,8 @@ revision and set `changes.coverRef` to a saved image's exact VersionRef from tha
34
36
  project, or to `null` to remove it. Verify the saved reference and refresh Manage
35
37
  Projects to see it on both the project card and sidebar.
36
38
 
39
+ With no explicit cover, Home, Projects and the sidebar use the first available storyboard frame in shot order. Clearing the explicit cover restores that automatic choice.
40
+
37
41
  ## Remove or restore a project in the workbench
38
42
 
39
43
  Remove project hides the project from the sidebar, Home project cards, and
@@ -74,37 +78,4 @@ reference. Explicit roles keep their declared validation.
74
78
 
75
79
  ## Set up Studio Home
76
80
 
77
- After installing the matching official archives, run this package's
78
- `skills/scripts/initialize-home.mjs` with Node in the intended Studio profile.
79
- It applies the user preset and opens Home. Use `--no-open` to print the Home
80
- bookmark. The welcome dialog imports only the selected sample. Use
81
- `--sample out-of-steps` or `--sample cobalt-headphones` to import a sample or
82
- resume its interrupted import from the CLI.
83
-
84
- Home composes user-scope components from the workbench instance's
85
- `config.dashboard` array of `{ "plugin": "instance-id", "id": "ui-id" }`
86
- references. The official user preset supplies the separate `dashboard-projects`
87
- and `dashboard-assets` instances, with the component IDs `projects` and `assets`.
88
- To add a card, create or reuse a user-scope component, enable its provider, and
89
- append its reference, for example `{ "plugin": "usage", "id": "summary" }`.
90
- The card can read operations of its declared dependencies. Render it with Studio UI
91
- System controls and inherit the workbench's semantic colors.
92
-
93
- Each official Preset entry identifies its own installable plugin and registered
94
- component or contributed page. A plugin can still register several views. Read the
95
- view prompt for the scope, package, component ID and route.
96
-
97
- Each `config.savedViews` item is one shortcut. A `{ "plugin": "instance-id",
98
- "id": "ui-id" }` shortcut renders the selected user-scope component inside Home.
99
- A `{ "projectId": "...", "viewId": "...", "title": "..." }` shortcut opens the
100
- existing project and its declared navigation ID. To save Social Preview, use
101
- the actual project ID and the contributed route `social:preview`. Two UI IDs
102
- from the same enabled plugin can have their own shortcuts. Views saved through
103
- the Assets table editor appear as table tabs on that page.
104
-
105
- Enable local component providers in the same user scope before adding
106
- references. Update the full composition with `project configure --scope user
107
- --file <file>` and preserve unrelated instance settings. Remove references
108
- before disabling a provider. If the Host returns `USER_SCOPE_IN_USE`, let the
109
- active projects finish and restart the Host before applying the user change. An incompatible or disabled dependency can stop
110
- Home from activating. Restore the prior composition if needed.
81
+ Read [Studio Home setup](../../ui-system/skills/vivix-studio-ui/references/default-project-views.md#set-up-studio-home) in the Studio plugin view guide for initialization, dashboard cards, Preset prompts, Saved Views and user-scope composition changes.