@vivix-labs/studio-workbench 1.0.0-beta.11 → 1.0.0-beta.13
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/assets/add-circle-RPMXNTWW.svg +4 -0
- package/dist/assets/replace-PJXDOQDX.svg +3 -0
- package/dist/assets/{search-JUOSGQRM.svg → search-FMYQZJWA.svg} +1 -1
- package/dist/client.css +10 -4
- package/package.json +30 -30
- package/presets/table.json +4 -4
- package/presets/user-base.json +9 -9
- package/skills/SKILL.md +3 -34
- package/skills/scripts/initialize-home.mjs +20 -4
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M11 2.5 13 4.5 11 6.5M13 4.5H5A3.5 3.5 0 0 0 1.5 8v1M5 9.5 3 11.5 5 13.5M3 11.5h8A3.5 3.5 0 0 0 14.5 8V7"/>
|
|
3
|
+
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="13.2" height="13.2" viewBox="0 0 13.2 13.2" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="elements">
|
|
2
|
+
<g id="elements" transform="translate(0 13.2) scale(1 -1)">
|
|
3
3
|
<path id="Vector" d="M9.93333 3.26667L12.6 0.6" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" stroke="#938C88"/>
|
|
4
4
|
<path id="Vector_2" d="M11.2667 7.26667C11.2667 10.2122 8.87885 12.6 5.93333 12.6C2.98781 12.6 0.6 10.2122 0.6 7.26667C0.6 4.32115 2.98781 1.93333 5.93333 1.93333C8.87885 1.93333 11.2667 4.32115 11.2667 7.26667Z" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" stroke="#938C88"/>
|
|
5
5
|
</g>
|
package/dist/client.css
CHANGED
|
@@ -467,6 +467,8 @@
|
|
|
467
467
|
gap: var(--vx-space-4);
|
|
468
468
|
}
|
|
469
469
|
.vx-button-trailing {
|
|
470
|
+
display: inline-flex;
|
|
471
|
+
align-items: center;
|
|
470
472
|
margin-left: calc(var(--vx-button-trailing-gap) - var(--vx-button-gap));
|
|
471
473
|
}
|
|
472
474
|
.vx-button[data-width=full] {
|
|
@@ -788,9 +790,6 @@
|
|
|
788
790
|
.vx-search-input:is(:hover, :focus-within):not(:has(input:disabled)) {
|
|
789
791
|
background: var(--vx-surface-selected);
|
|
790
792
|
}
|
|
791
|
-
.vx-search-input > [data-icon=search] {
|
|
792
|
-
transform: scaleY(-1);
|
|
793
|
-
}
|
|
794
793
|
.vx-search-input > input {
|
|
795
794
|
appearance: none;
|
|
796
795
|
flex: 1;
|
|
@@ -1973,6 +1972,7 @@
|
|
|
1973
1972
|
border-radius: inherit;
|
|
1974
1973
|
}
|
|
1975
1974
|
.vx-frame-range[data-variant=trim] {
|
|
1975
|
+
--vx-state-success: var(--vx-media-selection-color);
|
|
1976
1976
|
background: var(--vx-surface-input);
|
|
1977
1977
|
}
|
|
1978
1978
|
.vx-frame-range[data-variant=trim] .vx-frame-selection {
|
|
@@ -2712,6 +2712,12 @@ button.vx-tile-title {
|
|
|
2712
2712
|
.vx-icon[data-icon=refresh] {
|
|
2713
2713
|
--vx-icon-mask: url("./assets/refresh-WQ3CTB57.svg");
|
|
2714
2714
|
}
|
|
2715
|
+
.vx-icon[data-icon=replace] {
|
|
2716
|
+
--vx-icon-mask: url("./assets/replace-PJXDOQDX.svg");
|
|
2717
|
+
}
|
|
2718
|
+
.vx-icon[data-icon=add-circle] {
|
|
2719
|
+
--vx-icon-mask: url("./assets/add-circle-RPMXNTWW.svg");
|
|
2720
|
+
}
|
|
2715
2721
|
.vx-icon[data-icon=add] {
|
|
2716
2722
|
--vx-icon-mask: url("./assets/add-JY533O73.svg");
|
|
2717
2723
|
}
|
|
@@ -2746,7 +2752,7 @@ button.vx-tile-title {
|
|
|
2746
2752
|
--vx-icon-height: 75.02%;
|
|
2747
2753
|
}
|
|
2748
2754
|
.vx-icon[data-icon=search] {
|
|
2749
|
-
--vx-icon-mask: url("./assets/search-
|
|
2755
|
+
--vx-icon-mask: url("./assets/search-FMYQZJWA.svg");
|
|
2750
2756
|
--vx-icon-width: 82.5%;
|
|
2751
2757
|
--vx-icon-height: 82.5%;
|
|
2752
2758
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vivix-labs/studio-workbench",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.13",
|
|
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
|
-
"@
|
|
48
|
-
"@vivix-labs/
|
|
49
|
-
"@
|
|
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"
|
|
50
53
|
},
|
|
51
54
|
"vivixStudio": {
|
|
52
55
|
"runtimePlugins": {
|
|
53
|
-
"@vivix-labs/ads-compare": "1.0.0-beta.
|
|
54
|
-
"@vivix-labs/ads-storyboard": "1.0.0-beta.
|
|
55
|
-
"@vivix-labs/creative-data": "1.0.0-beta.
|
|
56
|
-
"@vivix-labs/dashboard-assets": "1.0.0-beta.
|
|
57
|
-
"@vivix-labs/dashboard-projects": "1.0.0-beta.
|
|
58
|
-
"@vivix-labs/magic-edit": "1.0.0-beta.
|
|
59
|
-
"@vivix-labs/material-library": "1.0.0-beta.
|
|
60
|
-
"@vivix-labs/media-tools": "1.0.0-beta.
|
|
61
|
-
"@vivix-labs/project-studio": "1.0.0-beta.
|
|
62
|
-
"@vivix-labs/short-drama-characters": "1.0.0-beta.
|
|
63
|
-
"@vivix-labs/short-drama-compare": "1.0.0-beta.
|
|
64
|
-
"@vivix-labs/short-drama-production": "1.0.0-beta.
|
|
65
|
-
"@vivix-labs/short-drama-script-editor": "1.0.0-beta.
|
|
66
|
-
"@vivix-labs/short-drama-social-preview": "1.0.0-beta.
|
|
67
|
-
"@vivix-labs/short-drama-storyboard": "1.0.0-beta.
|
|
68
|
-
"@vivix-labs/short-drama-workbench": "1.0.0-beta.
|
|
69
|
-
"@vivix-labs/studio-asset-list": "1.0.0-beta.
|
|
70
|
-
"@vivix-labs/studio-workbench": "1.0.0-beta.
|
|
71
|
-
"@vivix-labs/vivix-api": "1.0.0-beta.
|
|
72
|
-
"@vivix-labs/ads-workbench": "1.0.0-beta.
|
|
73
|
-
"@vivix-labs/chat-components": "1.0.0-beta.
|
|
74
|
-
"@vivix-labs/short-drama-authoring": "1.0.0-beta.
|
|
56
|
+
"@vivix-labs/ads-compare": "1.0.0-beta.11",
|
|
57
|
+
"@vivix-labs/ads-storyboard": "1.0.0-beta.11",
|
|
58
|
+
"@vivix-labs/creative-data": "1.0.0-beta.11",
|
|
59
|
+
"@vivix-labs/dashboard-assets": "1.0.0-beta.11",
|
|
60
|
+
"@vivix-labs/dashboard-projects": "1.0.0-beta.11",
|
|
61
|
+
"@vivix-labs/magic-edit": "1.0.0-beta.11",
|
|
62
|
+
"@vivix-labs/material-library": "1.0.0-beta.11",
|
|
63
|
+
"@vivix-labs/media-tools": "1.0.0-beta.11",
|
|
64
|
+
"@vivix-labs/project-studio": "1.0.0-beta.11",
|
|
65
|
+
"@vivix-labs/short-drama-characters": "1.0.0-beta.11",
|
|
66
|
+
"@vivix-labs/short-drama-compare": "1.0.0-beta.11",
|
|
67
|
+
"@vivix-labs/short-drama-production": "1.0.0-beta.11",
|
|
68
|
+
"@vivix-labs/short-drama-script-editor": "1.0.0-beta.11",
|
|
69
|
+
"@vivix-labs/short-drama-social-preview": "1.0.0-beta.11",
|
|
70
|
+
"@vivix-labs/short-drama-storyboard": "1.0.0-beta.11",
|
|
71
|
+
"@vivix-labs/short-drama-workbench": "1.0.0-beta.13",
|
|
72
|
+
"@vivix-labs/studio-asset-list": "1.0.0-beta.11",
|
|
73
|
+
"@vivix-labs/studio-workbench": "1.0.0-beta.13",
|
|
74
|
+
"@vivix-labs/vivix-api": "1.0.0-beta.11",
|
|
75
|
+
"@vivix-labs/ads-workbench": "1.0.0-beta.12",
|
|
76
|
+
"@vivix-labs/chat-components": "1.0.0-beta.11",
|
|
77
|
+
"@vivix-labs/short-drama-authoring": "1.0.0-beta.11"
|
|
75
78
|
}
|
|
76
|
-
},
|
|
77
|
-
"scripts": {
|
|
78
|
-
"build": "node ../../scripts/build-product-packages.mjs studio-workbench"
|
|
79
79
|
}
|
|
80
|
-
}
|
|
80
|
+
}
|
package/presets/table.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"id": "api",
|
|
9
9
|
"package": "@vivix-labs/vivix-api",
|
|
10
|
-
"version": "1.0.0-beta.
|
|
10
|
+
"version": "1.0.0-beta.11",
|
|
11
11
|
"enabled": true,
|
|
12
12
|
"config": {},
|
|
13
13
|
"requiredAccess": ["official.request"]
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{
|
|
16
16
|
"id": "studio",
|
|
17
17
|
"package": "@vivix-labs/project-studio",
|
|
18
|
-
"version": "1.0.0-beta.
|
|
18
|
+
"version": "1.0.0-beta.11",
|
|
19
19
|
"enabled": true,
|
|
20
20
|
"config": {
|
|
21
21
|
"role": "project",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
{
|
|
30
30
|
"id": "library",
|
|
31
31
|
"package": "@vivix-labs/material-library",
|
|
32
|
-
"version": "1.0.0-beta.
|
|
32
|
+
"version": "1.0.0-beta.11",
|
|
33
33
|
"enabled": true,
|
|
34
34
|
"config": {
|
|
35
35
|
"role": "client",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
{
|
|
40
40
|
"id": "workbench",
|
|
41
41
|
"package": "@vivix-labs/studio-workbench",
|
|
42
|
-
"version": "1.0.0-beta.
|
|
42
|
+
"version": "1.0.0-beta.13",
|
|
43
43
|
"enabled": true,
|
|
44
44
|
"config": {
|
|
45
45
|
"studioInstance": "studio",
|
package/presets/user-base.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"id": "data",
|
|
9
9
|
"package": "@vivix-labs/creative-data",
|
|
10
|
-
"version": "1.0.0-beta.
|
|
10
|
+
"version": "1.0.0-beta.11",
|
|
11
11
|
"enabled": true,
|
|
12
12
|
"config": {},
|
|
13
13
|
"requiredAccess": ["project.content.read"]
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{
|
|
16
16
|
"id": "library",
|
|
17
17
|
"package": "@vivix-labs/material-library",
|
|
18
|
-
"version": "1.0.0-beta.
|
|
18
|
+
"version": "1.0.0-beta.11",
|
|
19
19
|
"enabled": true,
|
|
20
20
|
"config": {
|
|
21
21
|
"role": "service",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{
|
|
27
27
|
"id": "api",
|
|
28
28
|
"package": "@vivix-labs/vivix-api",
|
|
29
|
-
"version": "1.0.0-beta.
|
|
29
|
+
"version": "1.0.0-beta.11",
|
|
30
30
|
"enabled": true,
|
|
31
31
|
"config": {},
|
|
32
32
|
"requiredAccess": ["official.request"]
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
{
|
|
35
35
|
"id": "coordinator",
|
|
36
36
|
"package": "@vivix-labs/project-studio",
|
|
37
|
-
"version": "1.0.0-beta.
|
|
37
|
+
"version": "1.0.0-beta.11",
|
|
38
38
|
"enabled": true,
|
|
39
39
|
"config": {
|
|
40
40
|
"role": "coordinator",
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
{
|
|
48
48
|
"id": "magic-edit",
|
|
49
49
|
"package": "@vivix-labs/magic-edit",
|
|
50
|
-
"version": "1.0.0-beta.
|
|
50
|
+
"version": "1.0.0-beta.11",
|
|
51
51
|
"enabled": true,
|
|
52
52
|
"config": {}
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"id": "dashboard-projects",
|
|
56
56
|
"package": "@vivix-labs/dashboard-projects",
|
|
57
|
-
"version": "1.0.0-beta.
|
|
57
|
+
"version": "1.0.0-beta.11",
|
|
58
58
|
"enabled": true,
|
|
59
59
|
"config": {
|
|
60
60
|
"studioInstance": "coordinator"
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
{
|
|
64
64
|
"id": "dashboard-assets",
|
|
65
65
|
"package": "@vivix-labs/dashboard-assets",
|
|
66
|
-
"version": "1.0.0-beta.
|
|
66
|
+
"version": "1.0.0-beta.11",
|
|
67
67
|
"enabled": true,
|
|
68
68
|
"config": {
|
|
69
69
|
"studioInstance": "coordinator"
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
{
|
|
73
73
|
"id": "asset-list",
|
|
74
74
|
"package": "@vivix-labs/studio-asset-list",
|
|
75
|
-
"version": "1.0.0-beta.
|
|
75
|
+
"version": "1.0.0-beta.11",
|
|
76
76
|
"enabled": true,
|
|
77
77
|
"config": {}
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"id": "workbench",
|
|
81
81
|
"package": "@vivix-labs/studio-workbench",
|
|
82
|
-
"version": "1.0.0-beta.
|
|
82
|
+
"version": "1.0.0-beta.13",
|
|
83
83
|
"enabled": true,
|
|
84
84
|
"config": {
|
|
85
85
|
"studioInstance": "coordinator",
|
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
|
|
@@ -76,37 +78,4 @@ reference. Explicit roles keep their declared validation.
|
|
|
76
78
|
|
|
77
79
|
## Set up Studio Home
|
|
78
80
|
|
|
79
|
-
|
|
80
|
-
`skills/scripts/initialize-home.mjs` with Node in the intended Studio profile.
|
|
81
|
-
It applies the user preset and opens Home. Use `--no-open` to print the Home
|
|
82
|
-
bookmark. The welcome dialog imports only the selected sample. Use
|
|
83
|
-
`--sample out-of-steps` or `--sample cobalt-headphones` to import a sample or
|
|
84
|
-
resume its interrupted import from the CLI.
|
|
85
|
-
|
|
86
|
-
Home composes user-scope components from the workbench instance's
|
|
87
|
-
`config.dashboard` array of `{ "plugin": "instance-id", "id": "ui-id" }`
|
|
88
|
-
references. The official user preset supplies the separate `dashboard-projects`
|
|
89
|
-
and `dashboard-assets` instances, with the component IDs `projects` and `assets`.
|
|
90
|
-
To add a card, create or reuse a user-scope component, enable its provider, and
|
|
91
|
-
append its reference, for example `{ "plugin": "usage", "id": "summary" }`.
|
|
92
|
-
The card can read operations of its declared dependencies. Render it with Studio UI
|
|
93
|
-
System controls and inherit the workbench's semantic colors.
|
|
94
|
-
|
|
95
|
-
Each official Preset entry identifies its own installable plugin and registered
|
|
96
|
-
component or contributed page. A plugin can still register several views. Read the
|
|
97
|
-
view prompt for the scope, package, component ID and route.
|
|
98
|
-
|
|
99
|
-
Each `config.savedViews` item is one shortcut. A `{ "plugin": "instance-id",
|
|
100
|
-
"id": "ui-id" }` shortcut renders the selected user-scope component inside Home.
|
|
101
|
-
A `{ "projectId": "...", "viewId": "...", "title": "..." }` shortcut opens the
|
|
102
|
-
existing project and its declared navigation ID. To save Social Preview, use
|
|
103
|
-
the actual project ID and the contributed route `social:preview`. Two UI IDs
|
|
104
|
-
from the same enabled plugin can have their own shortcuts. Views saved through
|
|
105
|
-
the Assets table editor appear as table tabs on that page.
|
|
106
|
-
|
|
107
|
-
Enable local component providers in the same user scope before adding
|
|
108
|
-
references. Update the full composition with `project configure --scope user
|
|
109
|
-
--file <file>` and preserve unrelated instance settings. Remove references
|
|
110
|
-
before disabling a provider. If the Host returns `USER_SCOPE_IN_USE`, let the
|
|
111
|
-
active projects finish and restart the Host before applying the user change. An incompatible or disabled dependency can stop
|
|
112
|
-
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.
|
|
@@ -22,7 +22,9 @@ const executable = process.env.VIVIX_STUDIO_CLI || 'vivix-studio';
|
|
|
22
22
|
const js = /\.[cm]?js$/.test(executable);
|
|
23
23
|
const command = js ? process.execPath : executable;
|
|
24
24
|
const prefix = js ? [resolve(executable)] : [];
|
|
25
|
-
const root =
|
|
25
|
+
const root = process.env.XDG_CONFIG_HOME
|
|
26
|
+
? join(process.env.XDG_CONFIG_HOME, 'vivix-studio')
|
|
27
|
+
: join(homedir(), '.vivix-studio');
|
|
26
28
|
const userPackage = JSON.parse(
|
|
27
29
|
await readFile(new URL('../../package.json', import.meta.url), 'utf8'),
|
|
28
30
|
);
|
|
@@ -106,12 +108,26 @@ async function configureDramaChat(projectId) {
|
|
|
106
108
|
);
|
|
107
109
|
if (!chat) return;
|
|
108
110
|
const project = await cli('plugin', 'list', '--project', projectId);
|
|
109
|
-
|
|
111
|
+
const current = project.instances.find((item) => item.id === chat.id);
|
|
112
|
+
if (current && current.package !== chat.package)
|
|
113
|
+
throw Error('Another plugin owns the chat-components instance.');
|
|
114
|
+
if (current?.config.libraryInstance) return;
|
|
115
|
+
const libraries = user.instances.filter(
|
|
116
|
+
(item) =>
|
|
117
|
+
item.package === '@vivix-labs/material-library' &&
|
|
118
|
+
item.state === 'ready' &&
|
|
119
|
+
item.config.role === 'service',
|
|
120
|
+
);
|
|
121
|
+
if (libraries.length !== 1)
|
|
122
|
+
throw Error('Configure one ready user material library before enabling chat file uploads.');
|
|
110
123
|
const config = join(lock, 'chat-components.json');
|
|
111
124
|
await writeFile(
|
|
112
125
|
config,
|
|
113
126
|
JSON.stringify({
|
|
114
|
-
|
|
127
|
+
...(current?.config || {
|
|
128
|
+
targets: { character: { instanceId: 'authoring', operationId: 'characters.receiveCard' } },
|
|
129
|
+
}),
|
|
130
|
+
libraryInstance: `user:${libraries[0].id}`,
|
|
115
131
|
}),
|
|
116
132
|
{ mode: 0o600 },
|
|
117
133
|
);
|
|
@@ -120,7 +136,7 @@ async function configureDramaChat(projectId) {
|
|
|
120
136
|
'enable',
|
|
121
137
|
chat.package,
|
|
122
138
|
'--version',
|
|
123
|
-
chat.version,
|
|
139
|
+
current?.version ?? chat.version,
|
|
124
140
|
'--project',
|
|
125
141
|
projectId,
|
|
126
142
|
'--instance',
|