@norskvideo/ctl-dev-kit 0.1.42 → 0.1.44

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.
@@ -45,11 +45,13 @@
45
45
  named capability in its manifest's `requires: [...]`; ctl refuses only if it
46
46
  lacks that capability. Reach for a capability as rarely as possible — it is the
47
47
  escape hatch, not the default.
48
- - **Reloading a rebuilt image into a running daemon needs the remove-then-refetch
49
- dance — a plain rebuild never reaches launched instances.** The daemon launches
50
- from a STORED template snapshot fetched once at `product add`, and refuses to
51
- overwrite a stored template by name (`product reload` refreshes only the
52
- manifest; `product pull` doesn't re-render). So after `build:image` the loop is:
48
+ - **Reloading a rebuilt image into a running daemon is `product reload` — a plain
49
+ rebuild never reaches launched instances.** The daemon launches from a STORED
50
+ template snapshot fetched once at `product add`. `product reload` pulls the
51
+ image, re-runs the control plane and re-renders every product-default template
52
+ no instance is using (an in-use one is reported skipped: delete or relaunch the
53
+ instance). `product pull` doesn't re-render. On a ctl that predates this
54
+ (reload refreshed only the manifest) the loop after `build:image` is:
53
55
  `instance delete <id> --purge` -> `template remove <t>` -> `product remove <p>`
54
56
  (plus `docker rm -f norsk-product-<p>` if the control-plane container lingers,
55
57
  else its host port stays allocated) -> `product add --image <img> --license-file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/ctl-dev-kit",
3
- "version": "0.1.42",
3
+ "version": "0.1.44",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",