@crouter/api 0.3.388 → 0.3.390
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/api/dto/config.d.ts +11 -1
- package/package.json +1 -1
package/dist/api/dto/config.d.ts
CHANGED
|
@@ -14,8 +14,18 @@ export interface NodeConfigPatch {
|
|
|
14
14
|
lifecycle?: LifecycleDTO;
|
|
15
15
|
/** Rename the node (and, when it has a live viewer window, that window). */
|
|
16
16
|
name?: string;
|
|
17
|
-
/**
|
|
17
|
+
/** Replacement launch directory; exclusive of every other field except `keep_session` and `restart`.
|
|
18
|
+
* Without `keep_session` it is repair-only (dormant node, recorded cwd gone, Pi session cleared). */
|
|
18
19
|
cwd?: string;
|
|
20
|
+
/** With `cwd`: the new path is the SAME directory as the recorded one (a symlink alias, or an
|
|
21
|
+
* alias that is already gone — the caller asserts it). Relocates without clearing the Pi session
|
|
22
|
+
* and rewrites the transcript header's cwd; allowed for live nodes. */
|
|
23
|
+
keep_session?: boolean;
|
|
24
|
+
/** Reassign the node to this profile (id or exact name). Exclusive of every other field except `restart`. */
|
|
25
|
+
profile?: string;
|
|
26
|
+
/** With `profile` or `cwd`+`keep_session` on a live node: SIGTERM the broker after the change so the
|
|
27
|
+
* daemon resumes it (same transcript) with the new profile/cwd. Ignored for a node with no live broker. */
|
|
28
|
+
restart?: boolean;
|
|
19
29
|
/** Per-run allow-list. A patch may only remove scopes; it applies to a live broker on its next revive. */
|
|
20
30
|
scopes?: string[];
|
|
21
31
|
/** The node's default listening configuration: event level ("1".."10") → delivery
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crouter/api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.390",
|
|
4
4
|
"description": "Typed crtrd /v1 API contract — DTOs, route builders, the error contract, the CrtrClient, and the command-plugin manifest format. Zero runtime dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/api/index.js",
|