@cotal-ai/workspace 0.97.0 → 0.97.1
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "win32",
|
|
4
4
|
"arch": "arm64",
|
|
5
5
|
"nodeApi": 8,
|
|
6
|
-
"source": "
|
|
6
|
+
"source": "9a73f547aea9afc9bfc58dcba8f7ddd455389234",
|
|
7
7
|
"sourceHashes": {
|
|
8
8
|
"native/win32-process.c": "ecd93fe6cd562a61d30871cb5e640ca1c5e748cfe93c58e682680ecc9c906e50",
|
|
9
9
|
"native/node-sdk.json": "f08b87037df4d69c7d23f6527c4db45bcd246135ec1019c9fa4a265da65c2fd1",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "win32",
|
|
4
4
|
"arch": "x64",
|
|
5
5
|
"nodeApi": 8,
|
|
6
|
-
"source": "
|
|
6
|
+
"source": "9a73f547aea9afc9bfc58dcba8f7ddd455389234",
|
|
7
7
|
"sourceHashes": {
|
|
8
8
|
"native/win32-process.c": "ecd93fe6cd562a61d30871cb5e640ca1c5e748cfe93c58e682680ecc9c906e50",
|
|
9
9
|
"native/node-sdk.json": "f08b87037df4d69c7d23f6527c4db45bcd246135ec1019c9fa4a265da65c2fd1",
|
|
@@ -5,8 +5,9 @@ import { type MaterialPathOptions } from "./space-segmentation.js";
|
|
|
5
5
|
* standing renewal and deliberately EXCLUDES these two files.
|
|
6
6
|
*
|
|
7
7
|
* `membership-observer.creds` and `connection-evictor.creds` are `rotation-renewed`: they are signed
|
|
8
|
-
* by the system-account seed, which
|
|
9
|
-
*
|
|
8
|
+
* by the system-account seed, which the trust record omits (`putSpaceAuth` strips it; the root's
|
|
9
|
+
* separate custody record, see `system-signing-seed.ts`, serves own-broker caller issuance only), so
|
|
10
|
+
* no running process re-signs them for their existing identity the way `remintDaemonCreds` does. Their only
|
|
10
11
|
* renewal is a system-account ROTATION: a fresh $SYS account under the SAME broker operator, fresh
|
|
11
12
|
* creds minted from its in-memory seed, and a broker that reloads the new operator/system JWTs.
|
|
12
13
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-rotation.d.ts","sourceRoot":"","sources":["../src/system-rotation.ts"],"names":[],"mappings":"AAEA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EAKuB,KAAK,mBAAmB,EACrD,MAAM,yBAAyB,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"system-rotation.d.ts","sourceRoot":"","sources":["../src/system-rotation.ts"],"names":[],"mappings":"AAEA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EAKuB,KAAK,mBAAmB,EACrD,MAAM,yBAAyB,CAAC;AAEjC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;oGAKoG;AACpG,eAAO,MAAM,kBAAkB,oEAA2E,CAAC;AAE3G,MAAM,WAAW,oBAAoB;IACnC,6GAA6G;IAC7G,GAAG,EAAE,MAAM,CAAC;IACZ,0GAA0G;IAC1G,IAAI,EAAE,SAAS,CAAC;IAChB,2GAA2G;IAC3G,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CA0D1G;AAED,yFAAyF;AACzF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,2FAA2F;IAC3F,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,mBAAwB,GAAG,eAAe,EAAE,CA0BlI"}
|
package/dist/system-rotation.js
CHANGED
|
@@ -11,8 +11,9 @@ import { connectionEvictorCredsKey, CONNECTION_EVICTOR_CREDS_KIND, membershipObs
|
|
|
11
11
|
* standing renewal and deliberately EXCLUDES these two files.
|
|
12
12
|
*
|
|
13
13
|
* `membership-observer.creds` and `connection-evictor.creds` are `rotation-renewed`: they are signed
|
|
14
|
-
* by the system-account seed, which
|
|
15
|
-
*
|
|
14
|
+
* by the system-account seed, which the trust record omits (`putSpaceAuth` strips it; the root's
|
|
15
|
+
* separate custody record, see `system-signing-seed.ts`, serves own-broker caller issuance only), so
|
|
16
|
+
* no running process re-signs them for their existing identity the way `remintDaemonCreds` does. Their only
|
|
16
17
|
* renewal is a system-account ROTATION: a fresh $SYS account under the SAME broker operator, fresh
|
|
17
18
|
* creds minted from its in-memory seed, and a broker that reloads the new operator/system JWTs.
|
|
18
19
|
*
|
|
@@ -96,7 +97,7 @@ export async function rotateSystemCreds(root, expectedSpace) {
|
|
|
96
97
|
// AHEAD of the creds: both files stale (crash before either write) or one stale (crash between
|
|
97
98
|
// them). The window is not closed here; it is DETECTED, by {@link staleSystemCreds}, which every
|
|
98
99
|
// boot and every `doctor auth` runs against the persisted record. It cannot be repaired in place
|
|
99
|
-
// either:
|
|
100
|
+
// either: nothing re-signs these two creds in place after this call returns, so the only repair is
|
|
100
101
|
// another rotation, which is idempotent and costs one generation. A durable rotation journal would
|
|
101
102
|
// close the window instead of reporting it; that is deliberately not built for a display-only feed
|
|
102
103
|
// plus an eviction rail whose recovery is one re-run.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-rotation.js","sourceRoot":"","sources":["../src/system-rotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EACL,WAAW,EACX,0BAA0B,EAC1B,2BAA2B,EAC3B,WAAW,EAC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gBACrB,GAAG,GAAG,WAAW,CAAC,IAAI,WAAW,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;YACjF,CAAC;;gBAAM,GAAG,GAAG,WAAW,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC;QAC3D,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,OAAO,CAAC,QAAQ;gBAAE,MAAM,KAAK,CAAC;YAClC,KAAK,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,gEAAgE;YACtF,SAAS;QACX,CAAC;QACD,IAAI,GAAG,KAAK,MAAM;YAAE,KAAK,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;IAChD,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cotal-ai/workspace",
|
|
3
3
|
"description": "Cotal machine-local workstation layer: the ~/.cotal mesh registry, target resolution, preflight, on-disk auth-path I/O, and the command-copy renderer — operator concerns over a local checkout, kept separate from the wire protocol in @cotal-ai/core.",
|
|
4
|
-
"version": "0.97.
|
|
4
|
+
"version": "0.97.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@cotal-ai/core": "0.97.
|
|
21
|
+
"@cotal-ai/core": "0.97.1",
|
|
22
22
|
"ajv": "^8.20.0",
|
|
23
23
|
"string-width": "^8.2.1",
|
|
24
24
|
"yaml": "^2.9.0",
|