@vivix-labs/studio-workbench 1.0.0-beta.6 → 1.0.0-beta.9

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
@@ -1,9 +1,13 @@
1
1
  // packages/studio-workbench/src/server.ts
2
+ import { execFile } from "child_process";
2
3
  import { createReadStream } from "fs";
3
- import { stat } from "fs/promises";
4
+ import { readFile, stat } from "fs/promises";
5
+ import { dirname, join } from "path";
4
6
  import { Readable as Readable2 } from "stream";
5
- import { defineOperation } from "vivix-studio/sdk/server";
6
- import { z as z4 } from "vivix-studio/sdk/shared";
7
+ import { fileURLToPath } from "url";
8
+ import { promisify } from "util";
9
+ import { defineOperation as defineOperation2, PluginError } from "vivix-studio/sdk/server";
10
+ import { z as z6 } from "vivix-studio/sdk/shared";
7
11
 
8
12
  // packages/studio-workbench/src/shared.ts
9
13
  import { z } from "vivix-studio/sdk/shared";
@@ -27,34 +31,195 @@ var Config = z.object({
27
31
  }).strict();
28
32
 
29
33
  // packages/studio-workbench/src/query-view.ts
34
+ import { z as z4 } from "vivix-studio/sdk/shared";
35
+
36
+ // packages/project-studio/src/shared.ts
37
+ import { z as z3, defineOperation } from "vivix-studio/sdk/shared";
38
+
39
+ // packages/project-studio/src/ads-shared.ts
30
40
  import { z as z2 } from "vivix-studio/sdk/shared";
41
+ var fixedRef = z2.object({ storeId: z2.uuid(), objectId: z2.uuid(), versionId: z2.uuid() }).strict();
42
+ var copy = z2.string().max(8e3).default("");
43
+ var clipScript = z2.object({
44
+ title: z2.string().trim().min(1).max(200),
45
+ visual: copy,
46
+ voiceover: copy,
47
+ onScreenText: copy,
48
+ cta: copy,
49
+ plannedDurationMs: z2.number().int().positive().nullable().default(null)
50
+ }).strict();
51
+ var adBrief = z2.object({
52
+ product: copy,
53
+ category: copy,
54
+ audience: copy,
55
+ sellingPoints: copy,
56
+ channel: copy,
57
+ aspectRatio: z2.string().max(40).nullable().default(null),
58
+ targetDurationMs: z2.number().int().positive().nullable().default(null),
59
+ body: copy,
60
+ productRefs: z2.array(fixedRef).max(100).default([]),
61
+ modelRefs: z2.array(fixedRef).max(100).default([])
62
+ }).strict();
63
+ var adFilm = z2.object({
64
+ title: z2.string().trim().min(1).max(150),
65
+ source: fixedRef,
66
+ width: z2.number().int().positive().max(8192),
67
+ height: z2.number().int().positive().max(8192),
68
+ aspectRatio: z2.string().regex(/^\d+:\d+$/)
69
+ }).strict();
70
+ var adStoryboard = z2.object({
71
+ brief: adBrief,
72
+ films: z2.array(adFilm).max(100).optional(),
73
+ clips: z2.array(
74
+ z2.object({
75
+ assetId: z2.uuid(),
76
+ filmId: z2.uuid().optional(),
77
+ script: clipScript,
78
+ edits: z2.array(z2.object({ sourceVersionId: z2.uuid(), editRef: fixedRef }).strict()).max(200)
79
+ }).strict()
80
+ ).max(200)
81
+ }).strict().superRefine((value, context) => {
82
+ if (new Set(value.clips.map((c) => c.assetId)).size !== value.clips.length)
83
+ context.addIssue({ code: "custom", message: "A clip can appear only once in a storyboard." });
84
+ for (const clip of value.clips)
85
+ if (new Set(clip.edits.map((e) => e.sourceVersionId)).size !== clip.edits.length)
86
+ context.addIssue({
87
+ code: "custom",
88
+ message: "Each candidate has one current edit binding."
89
+ });
90
+ });
91
+
92
+ // packages/project-studio/src/shared.ts
93
+ var projectType = z3.enum(["short-drama", "product-ad", "other"]);
94
+ var studioConfig = z3.object({
95
+ role: z3.enum(["project", "coordinator"]).default("project"),
96
+ projectType: projectType.optional(),
97
+ dataInstance: z3.string().min(1).default("user:data"),
98
+ apiInstance: z3.string().min(1).default("api"),
99
+ libraryInstance: z3.string().min(1).nullable().default(null),
100
+ coordinatorInstance: z3.string().min(1).optional()
101
+ }).strict();
102
+ var versionRef = z3.object({ storeId: z3.uuid(), objectId: z3.uuid(), versionId: z3.uuid() }).strict();
103
+ var tags = z3.array(z3.string().trim().min(1).max(64)).max(50).transform((x) => [...new Set(x)]).default([]);
104
+ var kind = z3.enum(["text", "image", "video", "audio", "file"]);
105
+ var projectData = z3.object({
106
+ name: z3.string().trim().min(1).max(120),
107
+ description: z3.string().max(4e3).default(""),
108
+ status: z3.enum(["draft", "active", "archived"]).default("draft"),
109
+ aspectRatio: z3.string().nullable().default(null),
110
+ projectType: projectType.optional(),
111
+ coverRef: versionRef.nullable().default(null),
112
+ briefRef: z3.object({ storeId: z3.uuid(), objectId: z3.uuid() }).strict().nullable().default(null),
113
+ tags
114
+ }).strict();
115
+ var assetData = z3.object({
116
+ projectId: z3.uuid(),
117
+ name: z3.string().trim().min(1).max(200),
118
+ kind,
119
+ purpose: z3.enum(["reference", "script", "shot", "music", "voice", "subtitle", "final", "other"]).default("other"),
120
+ origin: z3.enum(["upload", "library", "generated", "authored"]),
121
+ orderKey: z3.number().int().nullable().default(null),
122
+ tags,
123
+ lifecycle: z3.enum(["draft", "ready", "archived"]).default("draft"),
124
+ sourceRef: versionRef.nullable().default(null),
125
+ adoptedVersionId: z3.uuid().nullable().default(null)
126
+ }).strict();
127
+ var anchor = z3.discriminatedUnion("kind", [
128
+ z3.object({ kind: z3.literal("whole") }).strict(),
129
+ z3.object({
130
+ kind: z3.literal("timeRange"),
131
+ startMs: z3.number().int().nonnegative(),
132
+ endMs: z3.number().int().nonnegative()
133
+ }).strict()
134
+ ]);
135
+ var generationInput = z3.object({
136
+ targetAssetId: z3.uuid().optional(),
137
+ taskName: z3.string().trim().min(1).max(200).optional(),
138
+ context: z3.record(z3.string().min(1).max(64), z3.string().min(1).max(200)).optional(),
139
+ expectedRevision: z3.number().int().positive().optional(),
140
+ newAsset: z3.object({
141
+ name: z3.string().trim().min(1).max(200),
142
+ kind: z3.enum(["image", "video", "audio"])
143
+ }).strict().optional(),
144
+ modelId: z3.string().min(1),
145
+ capabilityId: z3.string().min(1),
146
+ prompt: z3.string().max(32e3),
147
+ parameters: z3.record(z3.string(), z3.unknown()).default({}),
148
+ outputCount: z3.number().int().min(1).max(100).default(1),
149
+ inputs: z3.array(
150
+ z3.object({
151
+ ref: versionRef,
152
+ role: z3.string().min(1),
153
+ order: z3.number().int().nonnegative(),
154
+ weight: z3.number().finite().nullable().default(null)
155
+ }).strict()
156
+ ).max(100).default([]),
157
+ baseVersionId: z3.uuid().optional(),
158
+ changeRequest: z3.string().trim().min(1).max(4e3).optional(),
159
+ preserveRequest: z3.string().max(4e3).default(""),
160
+ anchor: anchor.default({ kind: "whole" }),
161
+ retryOfTaskId: z3.uuid().optional(),
162
+ acknowledgeUnknown: z3.boolean().optional()
163
+ }).strict();
164
+ var projectSettingsInput = z3.object({
165
+ projectId: z3.uuid(),
166
+ expectedRevision: z3.number().int().positive(),
167
+ changes: projectData.pick({ name: true, description: true, tags: true, aspectRatio: true, coverRef: true }).extend({
168
+ description: projectData.shape.description.unwrap(),
169
+ tags: projectData.shape.tags.unwrap(),
170
+ aspectRatio: projectData.shape.aspectRatio.unwrap(),
171
+ coverRef: projectData.shape.coverRef.unwrap()
172
+ }).partial().strict()
173
+ }).strict();
174
+ var generationSubmitOperation = defineOperation({
175
+ id: "generation.submit",
176
+ title: "Generate",
177
+ description: "Submit one media generation without approval, retaining its paid request identity.",
178
+ input: generationInput,
179
+ output: z3.any(),
180
+ effects: ["write", "paid"],
181
+ confirm: "none"
182
+ });
183
+ var favoriteData = z3.object({ ref: versionRef }).strict();
184
+ var sqlScalar = z3.union([z3.string(), z3.number().finite(), z3.null()]);
185
+ var globalQueryInput = z3.object({
186
+ sql: z3.string().trim().min(1),
187
+ params: z3.union([z3.array(sqlScalar), z3.record(z3.string(), sqlScalar)]).optional(),
188
+ timeoutMs: z3.number().int().positive().optional(),
189
+ maxRows: z3.number().int().positive().optional(),
190
+ limit: z3.number().int().min(1).max(200).optional(),
191
+ offset: z3.number().int().nonnegative().optional(),
192
+ source: z3.enum(["projects", "assets", "tasks"]),
193
+ excludeProjectIds: z3.array(z3.uuid()).optional(),
194
+ catalog: z3.array(z3.object({ id: z3.string().min(1), name: z3.string(), available: z3.boolean() }).strict()).optional()
195
+ }).strict();
31
196
 
32
197
  // packages/studio-workbench/src/view-common.ts
33
198
  var pageSources = ["projects", "assets", "tasks"];
34
199
 
35
200
  // packages/studio-workbench/src/query-view.ts
36
- var columnName = z2.string().min(1).max(200).refine((value) => !/[\u0000-\u001f]/.test(value));
37
- var scalar = z2.union([z2.null(), z2.string(), z2.number().finite()]);
38
- var customViewSchema = z2.object({
39
- source: z2.enum(pageSources),
40
- projectId: z2.uuid().optional(),
41
- name: z2.string().trim().min(1).max(120),
42
- sql: z2.string().trim().min(1).max(32e3),
43
- params: z2.union([z2.array(scalar), z2.record(z2.string(), scalar)]).default([]),
44
- columns: z2.array(
45
- z2.object({
201
+ var columnName = z4.string().min(1).max(200).refine((value) => !/[\u0000-\u001f]/.test(value));
202
+ var scalar = z4.union([z4.null(), z4.string(), z4.number().finite()]);
203
+ var customViewSchema = z4.object({
204
+ source: z4.enum(pageSources),
205
+ projectId: z4.uuid().optional(),
206
+ name: z4.string().trim().min(1).max(120),
207
+ sql: z4.string().trim().min(1).max(32e3),
208
+ params: z4.union([z4.array(scalar), z4.record(z4.string(), scalar)]).default([]),
209
+ columns: z4.array(
210
+ z4.object({
46
211
  path: columnName,
47
- label: z2.string().min(1).max(120).optional(),
48
- width: z2.number().int().min(80).max(600).default(140),
49
- visible: z2.boolean().default(true),
50
- format: z2.enum(["text", "categories", "date", "json"]).default("text"),
51
- role: z2.enum(["name", "preview", "state", "project"]).optional()
212
+ label: z4.string().min(1).max(120).optional(),
213
+ width: z4.number().int().min(80).max(600).default(140),
214
+ visible: z4.boolean().default(true),
215
+ format: z4.enum(["text", "categories", "date", "json"]).default("text"),
216
+ role: z4.enum(["name", "preview", "state", "project"]).optional()
52
217
  }).strict()
53
218
  ).min(1).max(60).refine(
54
219
  (columns) => new Set(columns.map((c) => c.path)).size === columns.length,
55
220
  "Column names must be unique."
56
221
  ),
57
- identity: z2.object({
222
+ identity: z4.object({
58
223
  row: columnName.default("rowId"),
59
224
  project: columnName.default("projectId"),
60
225
  ref: columnName.default("ref"),
@@ -114,10 +279,10 @@ function saveView(data, input, call) {
114
279
  }
115
280
 
116
281
  // packages/studio-workbench/src/project-visibility.ts
117
- import { z as z3 } from "vivix-studio/sdk/shared";
282
+ import { z as z5 } from "vivix-studio/sdk/shared";
118
283
  var namespace = "@vivix/table-workbench/hidden-projects/1";
119
284
  var name = "Hidden workspace projects";
120
- var projectIds = z3.array(z3.uuid());
285
+ var projectIds = z5.array(z5.uuid());
121
286
  function settings(data) {
122
287
  for (let offset = 0; ; ) {
123
288
  const page = data.list({ typeId: "extensions.document", search: name, limit: 200, offset });
@@ -303,6 +468,8 @@ var homeClips = [
303
468
  ];
304
469
 
305
470
  // packages/studio-workbench/src/server.ts
471
+ var exec = promisify(execFile);
472
+ var sampleProject = z6.object({ id: z6.uuid(), name: z6.string(), available: z6.literal(true) });
306
473
  var dependencies = (config) => [
307
474
  ...new Set(
308
475
  [
@@ -318,7 +485,7 @@ function activate(ctx) {
318
485
  if ((ctx.scope?.kind || "project") === "project" && !ctx.config.studioInstance)
319
486
  throw Error("A project workbench requires studioInstance.");
320
487
  if (ctx.scope?.kind === "user") {
321
- const clipId = z4.enum(homeClips);
488
+ const clipId = z6.enum(homeClips);
322
489
  ctx.onDispose(
323
490
  ctx.http.register({
324
491
  id: "home-media",
@@ -341,6 +508,61 @@ function activate(ctx) {
341
508
  }
342
509
  ctx.provide({ frontendId: "table-workbench", config: ctx.config });
343
510
  if (ctx.scope?.kind !== "user") return;
511
+ const homeReceipt = join(dirname(ctx.scope.root), "home-initialization.json");
512
+ ctx.handle(
513
+ defineOperation2({
514
+ id: "workspace.dramaSample",
515
+ title: "Resolve the short drama sample",
516
+ description: "Resolve the prepared preset and any existing sample import.",
517
+ input: z6.object({}).strict(),
518
+ output: z6.object({ legacy: z6.boolean(), preset: z6.string() }),
519
+ effects: ["read"]
520
+ }),
521
+ async () => {
522
+ const owner = "@vivix-labs/short-drama-workbench";
523
+ const home = JSON.parse(await readFile(new URL("../package.json", import.meta.url), "utf8"));
524
+ const preset = `${owner}@${home.vivixStudio.runtimePlugins[owner]}:out-of-steps`;
525
+ let legacy = false;
526
+ try {
527
+ const receipt = JSON.parse(await readFile(homeReceipt, "utf8"));
528
+ legacy = Boolean(receipt.projects?.["out-of-steps"]);
529
+ } catch (error) {
530
+ if (error.code !== "ENOENT") throw error;
531
+ }
532
+ return { legacy, preset };
533
+ }
534
+ );
535
+ ctx.handle(
536
+ defineOperation2({
537
+ id: "workspace.openSample",
538
+ title: "Open sample project",
539
+ description: "Import a bundled sample once and return its editable project.",
540
+ input: z6.object({ sample: z6.enum(["out-of-steps", "cobalt-headphones"]) }).strict(),
541
+ output: sampleProject,
542
+ effects: ["write"],
543
+ confirm: "none"
544
+ }),
545
+ async ({ sample }) => {
546
+ const script = fileURLToPath(
547
+ new URL("../skills/scripts/initialize-home.mjs", import.meta.url)
548
+ );
549
+ const cli = fileURLToPath(
550
+ new URL("../cli.js", import.meta.resolve("vivix-studio/sdk/server"))
551
+ );
552
+ try {
553
+ const { stdout } = await exec(process.execPath, [script, "--sample", sample], {
554
+ env: { ...process.env, VIVIX_STUDIO_CLI: cli }
555
+ });
556
+ return sampleProject.parse(JSON.parse(stdout).project);
557
+ } catch (error) {
558
+ throw new PluginError(
559
+ "SAMPLE_IMPORT_FAILED",
560
+ error.stderr?.trim() || "Unable to load the sample project.",
561
+ "Choose the sample again to retry."
562
+ );
563
+ }
564
+ }
565
+ );
344
566
  const scope = { kind: "user", id: ctx.scope.id };
345
567
  const workspace = ctx.plugins.get(ctx.config.dataInstance);
346
568
  const dataFor = (actorId) => workspace.bind({
@@ -350,41 +572,41 @@ function activate(ctx) {
350
572
  actorId,
351
573
  access: []
352
574
  });
353
- const saveInput = z4.object({
354
- id: z4.uuid().optional(),
355
- expectedRevision: z4.number().int().positive().optional(),
575
+ const saveInput = z6.object({
576
+ id: z6.uuid().optional(),
577
+ expectedRevision: z6.number().int().positive().optional(),
356
578
  view: customViewSchema
357
579
  }).strict();
358
580
  ctx.handle(
359
- defineOperation({
581
+ defineOperation2({
360
582
  id: "views.list",
361
583
  title: "Custom Views",
362
584
  description: "List persisted Custom Views for this page.",
363
- input: z4.object({ source: z4.enum(pageSources) }).strict(),
364
- output: z4.any(),
585
+ input: z6.object({ source: z6.enum(pageSources) }).strict(),
586
+ output: z6.any(),
365
587
  effects: ["read"],
366
588
  confirm: "none"
367
589
  }),
368
590
  (input, call) => listViews(dataFor(call.actor.id), input.source)
369
591
  );
370
592
  ctx.handle(
371
- defineOperation({
593
+ defineOperation2({
372
594
  id: "views.save",
373
595
  title: "Save Custom View",
374
596
  description: "Persist the SQL, parameters and columns with revision checks.",
375
597
  input: saveInput,
376
- output: z4.any(),
598
+ output: z6.any(),
377
599
  effects: ["write"],
378
600
  confirm: "none"
379
601
  }),
380
602
  (input, call) => saveView(dataFor(call.actor.id), input, { ...call, scope })
381
603
  );
382
604
  ctx.handle(
383
- defineOperation({
605
+ defineOperation2({
384
606
  id: "workspace.hiddenProjects",
385
607
  title: "Hidden workspace projects",
386
608
  description: "Read project IDs hidden from this user workbench.",
387
- input: z4.object({}).strict(),
609
+ input: z6.object({}).strict(),
388
610
  output: projectIds,
389
611
  effects: ["read"],
390
612
  confirm: "none"
@@ -392,11 +614,11 @@ function activate(ctx) {
392
614
  (_input, call) => listHiddenProjects(dataFor(call.actor.id))
393
615
  );
394
616
  ctx.handle(
395
- defineOperation({
617
+ defineOperation2({
396
618
  id: "workspace.setProjectHidden",
397
619
  title: "Set workspace project visibility",
398
620
  description: "Hide or restore a project in the user workbench.",
399
- input: z4.object({ projectId: z4.uuid(), hidden: z4.boolean() }).strict(),
621
+ input: z6.object({ projectId: z6.uuid(), hidden: z6.boolean() }).strict(),
400
622
  output: projectIds,
401
623
  effects: ["write"],
402
624
  confirm: "none"
@@ -407,14 +629,14 @@ function activate(ctx) {
407
629
  const coordinator = ctx.plugins.get(ctx.config.studioInstance);
408
630
  const exports = createExportService(coordinator.global);
409
631
  ctx.onDispose(() => exports.dispose());
410
- const ref = z4.object({ storeId: z4.uuid(), objectId: z4.uuid(), versionId: z4.uuid() }).strict();
632
+ const ref = z6.object({ storeId: z6.uuid(), objectId: z6.uuid(), versionId: z6.uuid() }).strict();
411
633
  ctx.handle(
412
- defineOperation({
634
+ defineOperation2({
413
635
  id: "exports.prepare",
414
636
  title: "Prepare download",
415
637
  description: "Prepare one exact selection of saved asset versions for streaming.",
416
- input: z4.object({ refs: z4.array(ref).min(1).max(100) }).strict(),
417
- output: z4.object({ exportId: z4.uuid(), expiresAt: z4.number().int() }).strict(),
638
+ input: z6.object({ refs: z6.array(ref).min(1).max(100) }).strict(),
639
+ output: z6.object({ exportId: z6.uuid(), expiresAt: z6.number().int() }).strict(),
418
640
  effects: ["read"],
419
641
  confirm: "none"
420
642
  }),
@@ -428,7 +650,7 @@ function activate(ctx) {
428
650
  if (contentType?.split(";")[0]?.trim() !== "application/x-www-form-urlencoded")
429
651
  throw Error("Use the prepared download form.");
430
652
  const fields = new URLSearchParams(await new Response(body).text());
431
- const input = z4.object({ exportId: z4.uuid() }).strict().parse(Object.fromEntries(fields));
653
+ const input = z6.object({ exportId: z6.uuid() }).strict().parse(Object.fromEntries(fields));
432
654
  if ([...fields].length !== 1) throw Error("The prepared download form is invalid.");
433
655
  return exports.response(input.exportId, signal);
434
656
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vivix-labs/studio-workbench",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.9",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -53,28 +53,28 @@
53
53
  },
54
54
  "vivixStudio": {
55
55
  "runtimePlugins": {
56
- "@vivix-labs/ads-compare": "1.0.0-beta.6",
57
- "@vivix-labs/ads-storyboard": "1.0.0-beta.6",
58
- "@vivix-labs/creative-data": "1.0.0-beta.6",
59
- "@vivix-labs/dashboard-assets": "1.0.0-beta.6",
60
- "@vivix-labs/dashboard-projects": "1.0.0-beta.6",
61
- "@vivix-labs/magic-edit": "1.0.0-beta.6",
62
- "@vivix-labs/material-library": "1.0.0-beta.6",
63
- "@vivix-labs/media-tools": "1.0.0-beta.6",
64
- "@vivix-labs/project-studio": "1.0.0-beta.6",
65
- "@vivix-labs/short-drama-characters": "1.0.0-beta.6",
66
- "@vivix-labs/short-drama-compare": "1.0.0-beta.6",
67
- "@vivix-labs/short-drama-production": "1.0.0-beta.6",
68
- "@vivix-labs/short-drama-script-editor": "1.0.0-beta.6",
69
- "@vivix-labs/short-drama-social-preview": "1.0.0-beta.6",
70
- "@vivix-labs/short-drama-storyboard": "1.0.0-beta.6",
71
- "@vivix-labs/short-drama-workbench": "1.0.0-beta.6",
72
- "@vivix-labs/studio-asset-list": "1.0.0-beta.6",
73
- "@vivix-labs/studio-workbench": "1.0.0-beta.6",
74
- "@vivix-labs/vivix-api": "1.0.0-beta.6",
75
- "@vivix-labs/ads-workbench": "1.0.0-beta.6",
76
- "@vivix-labs/chat-components": "1.0.0-beta.6",
77
- "@vivix-labs/short-drama-authoring": "1.0.0-beta.6"
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.9",
72
+ "@vivix-labs/studio-asset-list": "1.0.0-beta.9",
73
+ "@vivix-labs/studio-workbench": "1.0.0-beta.9",
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"
78
78
  }
79
79
  }
80
80
  }
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "id": "api",
9
9
  "package": "@vivix-labs/vivix-api",
10
- "version": "1.0.0-beta.6",
10
+ "version": "1.0.0-beta.9",
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.6",
18
+ "version": "1.0.0-beta.9",
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.6",
32
+ "version": "1.0.0-beta.9",
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.6",
42
+ "version": "1.0.0-beta.9",
43
43
  "enabled": true,
44
44
  "config": {
45
45
  "studioInstance": "studio",
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "id": "data",
9
9
  "package": "@vivix-labs/creative-data",
10
- "version": "1.0.0-beta.6",
10
+ "version": "1.0.0-beta.9",
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.6",
18
+ "version": "1.0.0-beta.9",
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.6",
29
+ "version": "1.0.0-beta.9",
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.6",
37
+ "version": "1.0.0-beta.9",
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.6",
50
+ "version": "1.0.0-beta.9",
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.6",
57
+ "version": "1.0.0-beta.9",
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.6",
66
+ "version": "1.0.0-beta.9",
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.6",
75
+ "version": "1.0.0-beta.9",
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.6",
82
+ "version": "1.0.0-beta.9",
83
83
  "enabled": true,
84
84
  "config": {
85
85
  "studioInstance": "coordinator",
package/skills/SKILL.md CHANGED
@@ -76,9 +76,10 @@ reference. Explicit roles keep their declared validation.
76
76
 
77
77
  After installing the matching official archives, run this package's
78
78
  `skills/scripts/initialize-home.mjs` with Node in the intended Studio profile.
79
- It applies the user preset and creates two editable example projects. Use
80
- `--no-open` to print their IDs and the Home bookmark. Rerun it to resume an
81
- incomplete setup.
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.
82
83
 
83
84
  Home composes user-scope components from the workbench instance's
84
85
  `config.dashboard` array of `{ "plugin": "instance-id", "id": "ui-id" }`