@uns-kit/cli 3.0.33 → 3.0.35
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/index.js +1 -0
- package/dist/service-bundle.js +1 -0
- package/package.json +7 -7
- package/templates/default/AGENTS.md +1 -0
package/dist/index.js
CHANGED
|
@@ -524,6 +524,7 @@ const AGENT_MIGRATION_END = "<!-- uns-kit:migrations:end -->";
|
|
|
524
524
|
const AGENT_MIGRATION_BLOCK = [
|
|
525
525
|
AGENT_MIGRATION_START,
|
|
526
526
|
"## UNS Kit dependency upgrades",
|
|
527
|
+
"- When crossing `<3.0.34` to `>=3.0.34`, paired-to-direct retirement is optional: use the shared declared selectors, startup/readiness and retained policy5 contract; stop/drain both old owners before one launch, preserve the input journal, update the backup helper for manifest2 and reconcile unknown outcomes in the same operation.",
|
|
527
528
|
"- When crossing `<3.0.33` to `>=3.0.33`, clean MQTT migration is an opt-in shared capability: declare mqttDrain protocol1 and acknowledge prepared handlers with enableMigrationDrain(); preserve retained queues and standalone cleanup. Explicit enabled:false requires an empty, unowned output queue.",
|
|
528
529
|
"- When crossing `<3.0.32` to `>=3.0.32`, existing services remain unchanged. Enabling a Runtime MQTT outbox on an authorized process group requires the separate reviewed protocol3 transition and shared capability declaration. Preserve input/output journals, stop admission and drain accepted input before stopping the publisher on rollback, and block restoration on pending output or unknown outcomes. Never add application-specific Controller rules.",
|
|
529
530
|
"- When crossing `<3.0.31` to `>=3.0.31`, ordinary services remain unchanged. Optional Runtime-managed MQTT outboxes require explicit `output.publishQueue.storage: runtime`, a trusted private per-Controller external mount and matching backup support. Preserve schema1 queues; restoring managed state requires a stopped source and an empty offline target. Read the version-bounded migration before enabling it.",
|
package/dist/service-bundle.js
CHANGED
|
@@ -77,6 +77,7 @@ export function generateAgentsMarkdown(bundle) {
|
|
|
77
77
|
"",
|
|
78
78
|
"<!-- uns-kit:migrations:start -->",
|
|
79
79
|
"## UNS Kit dependency upgrades",
|
|
80
|
+
"- When crossing `<3.0.34` to `>=3.0.34`, paired-to-direct retirement is optional: use the shared declared selectors, startup/readiness and retained policy5 contract; stop/drain both old owners before one launch, preserve the input journal, update the backup helper for manifest2 and reconcile unknown outcomes in the same operation.",
|
|
80
81
|
"- When crossing `<3.0.33` to `>=3.0.33`, clean MQTT migration is an opt-in shared capability: declare mqttDrain protocol1 and acknowledge prepared handlers with enableMigrationDrain(); preserve retained queues and standalone cleanup. Explicit enabled:false requires an empty, unowned output queue.",
|
|
81
82
|
"- When crossing `<3.0.32` to `>=3.0.32`, existing services remain unchanged. Enabling a Runtime MQTT outbox on an authorized process group requires the separate reviewed protocol3 transition and shared capability declaration. Preserve input/output journals, stop admission and drain accepted input before stopping the publisher on rollback, and block restoration on pending output or unknown outcomes. Never add application-specific Controller rules.",
|
|
82
83
|
"- When crossing `<3.0.31` to `>=3.0.31`, ordinary services remain unchanged. Optional Runtime-managed MQTT outboxes require explicit `output.publishQueue.storage: runtime`, a trusted private per-Controller external mount and matching backup support. Preserve schema1 queues; restoring managed state requires a stopped source and an empty offline target. Read the version-bounded migration before enabling it.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uns-kit/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.35",
|
|
4
4
|
"description": "Command line scaffolding tool for UNS applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"azure-devops-node-api": "^15.1.2",
|
|
29
|
-
"@uns-kit/core": "3.0.
|
|
29
|
+
"@uns-kit/core": "3.0.35"
|
|
30
30
|
},
|
|
31
31
|
"unsKitPackages": {
|
|
32
|
-
"@uns-kit/core": "3.0.
|
|
33
|
-
"@uns-kit/api": "3.0.
|
|
34
|
-
"@uns-kit/cron": "3.0.
|
|
35
|
-
"@uns-kit/database": "3.0.
|
|
36
|
-
"@uns-kit/assistant-workflow": "3.0.
|
|
32
|
+
"@uns-kit/core": "3.0.35",
|
|
33
|
+
"@uns-kit/api": "3.0.35",
|
|
34
|
+
"@uns-kit/cron": "3.0.35",
|
|
35
|
+
"@uns-kit/database": "3.0.35",
|
|
36
|
+
"@uns-kit/assistant-workflow": "3.0.35"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsc -p tsconfig.build.json",
|
|
@@ -31,6 +31,7 @@ Pointers for AI/code-assist tools when working in this generated project.
|
|
|
31
31
|
- When crossing `<3.0.29` to `>=3.0.29`, configuration-owned process groups opt into shared protocol2/policy4. Keep business resources in the app, bind immutable snapshots and journal generations, use reviewed generation/version transitions, and preserve old journals/policies. Ordinary services and existing file groups need no migration.
|
|
32
32
|
|
|
33
33
|
- Before changing any `@uns-kit/*` version, record the installed source version and intended target version.
|
|
34
|
+
- When opting into SDK 3.0.35 state-preserving MQTT handover, declare protocol2 and per-proxy semantic contracts. Never infer compatibility from package version or matching paths. Use a reviewed reverse handover for return ownership; a cold restart cannot recover counter baselines from RAM. See the version-bounded migration and SDK example.
|
|
34
35
|
- After installing the target version, read `node_modules/@uns-kit/core/MIGRATIONS.md` and apply every migration whose version boundary is crossed. Do not apply unrelated migrations.
|
|
35
36
|
- When crossing `<2.0.71` to `>=2.0.71`, inspect MQTT proxy ownership and follow the documented shutdown migration. Process-owned and standalone proxies have different shutdown paths.
|
|
36
37
|
- When crossing `<3.0.0` to `>=3.0.0`, migrate MQTT `message.table.columns` publishers from named arrays to named objects and consumers to object-entry iteration. Keep schema `tableColumns` and Assistant/UI table formats unchanged.
|