@norskvideo/ctl-product-template-schema 0.1.62 → 0.1.63

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/index.js CHANGED
@@ -608,7 +608,7 @@ const ProductTemplateFileSchema = z.object({
608
608
  // Docker Desktop); the template stays authoritative, so a Studio save of it
609
609
  // lasts only until the next launch.
610
610
  //
611
- // workflow.yml → /data/studio-save-files/workflow.yml (copied)
611
+ // workflow.yml → /data/studio-save-files/workflow/workflow.yml (copied)
612
612
  // components/<name>/ → /usr/src/app/plugins/<name>/ (RO)
613
613
  // dashboards/<name>/ → /data/studio-save-files/<name>/dashboards/ (RO)
614
614
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/ctl-product-template-schema",
3
- "version": "0.1.62",
3
+ "version": "0.1.63",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
package/workdir-path.js CHANGED
@@ -18,8 +18,10 @@
18
18
  * template's workflow.yml is copied to the path Studio's `server.document`
19
19
  * names on every launch (norsk-ctl's workflow-sync.ts; it used to be a
20
20
  * read-only single-file bind, which OrbStack and Docker Desktop refuse), so an
21
- * operator asset there is replaced or skipped and never opened. */
22
- const RUNNER_WRITTEN_FILES = ["studio-save-files/workflow.yml"];
21
+ * operator asset there is replaced or skipped and never opened. Since #381 D2
22
+ * that is the folder form; older ctls write the top-level path, and an asset
23
+ * there is shadowed by the folder copy on a newer one, so both stay reserved. */
24
+ const RUNNER_WRITTEN_FILES = ["studio-save-files/workflow/workflow.yml", "studio-save-files/workflow.yml"];
23
25
  /** Runner-managed read-only directory mount points inside the working
24
26
  * directory (override-generator.ts); anything beneath them is shadowed. */
25
27
  const READONLY_MOUNTS = {