@cotal-ai/delivery 0.6.0 → 0.7.0
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/delivery.d.ts.map +1 -1
- package/dist/delivery.js +15 -0
- package/dist/delivery.js.map +1 -1
- package/dist/membership.d.ts +16 -0
- package/dist/membership.d.ts.map +1 -0
- package/dist/membership.js +40 -0
- package/dist/membership.js.map +1 -0
- package/package.json +2 -2
package/dist/delivery.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delivery.d.ts","sourceRoot":"","sources":["../src/delivery.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"delivery.d.ts","sourceRoot":"","sources":["../src/delivery.ts"],"names":[],"mappings":"AA6DA;;;;;;;;GAQG;AACH,wBAAsB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAoH/D"}
|
package/dist/delivery.js
CHANGED
|
@@ -2,6 +2,7 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
2
2
|
import { join } from "node:path";
|
|
3
3
|
import { parseArgs } from "node:util";
|
|
4
4
|
import { CotalEndpoint, DEFAULT_SERVER, LEASE_TTL_MS, authDir, findCotalRoot, isReachable, loadSpaceAuth, mintCreds, newIdentity, } from "@cotal-ai/core";
|
|
5
|
+
import { startMembership } from "./membership.js";
|
|
5
6
|
/** Default location of the pre-minted scoped `delivery` creds the daemon loads (the CLI's
|
|
6
7
|
* `ensureDelivery` mints it once from the signer and writes it here, then launches the daemon WITHOUT
|
|
7
8
|
* signer access). A container mounts it read-only and passes `--creds`. */
|
|
@@ -103,6 +104,16 @@ export async function runDelivery(argv) {
|
|
|
103
104
|
}
|
|
104
105
|
catch { /* lost the lease between acquire and ready — the renew loop's CAS failure will exit us */ }
|
|
105
106
|
console.log(`✓ delivery daemon up (space ${space}${shards > 1 ? `, shard ${shard}/${shards}` : ""}) — stop with: cotal down`);
|
|
107
|
+
// Broker-sourced graph membership: a SEPARATE module on its OWN connections (system-account CONNZ
|
|
108
|
+
// reader + data-account feed writer), isolated from Plane-3. Fail-soft — a missing cred / start error
|
|
109
|
+
// logs and the graph degrades to traffic-only; Plane-3 delivery is never affected.
|
|
110
|
+
let membership;
|
|
111
|
+
try {
|
|
112
|
+
membership = await startMembership({ space, server });
|
|
113
|
+
}
|
|
114
|
+
catch (e) {
|
|
115
|
+
console.error(`! membership: failed to start (${e.message}) — graph membership degraded, delivery unaffected`);
|
|
116
|
+
}
|
|
106
117
|
let stopping = false;
|
|
107
118
|
const shutdown = (code) => {
|
|
108
119
|
if (stopping)
|
|
@@ -114,6 +125,10 @@ export async function runDelivery(argv) {
|
|
|
114
125
|
// exit path) — don't let that hang the process. Force exit if the graceful path doesn't finish quickly.
|
|
115
126
|
setTimeout(() => process.exit(code), 2000);
|
|
116
127
|
void (async () => {
|
|
128
|
+
try {
|
|
129
|
+
await membership?.stop();
|
|
130
|
+
}
|
|
131
|
+
catch { /* broker may be gone */ }
|
|
117
132
|
try {
|
|
118
133
|
await ep.releaseDeliveryLease(shard);
|
|
119
134
|
}
|
package/dist/delivery.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delivery.js","sourceRoot":"","sources":["../src/delivery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EACL,aAAa,EACb,cAAc,EACd,YAAY,EACZ,OAAO,EACP,aAAa,EACb,WAAW,EACX,aAAa,EACb,SAAS,EACT,WAAW,
|
|
1
|
+
{"version":3,"file":"delivery.js","sourceRoot":"","sources":["../src/delivery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC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,CAAC;aAChC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE;YACX,IAAI,EAAE,EAAE,CAAC;gBAAC,aAAa,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;gBAAC,OAAO;YAAC,CAAC;YAC/C,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,aAAa,GAAG,cAAc,EAAE,CAAC;gBAChD,OAAO,CAAC,KAAK,CAAC,uCAAuC,cAAc,GAAG,IAAI,qCAAqC,CAAC,CAAC;gBACjH,QAAQ,CAAC,CAAC,CAAC,CAAC;YACd,CAAC;QACH,CAAC,CAAC;aACD,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;IACrB,CAAC,EAAE,IAAI,CAAC,CAAC;IAET,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IACxC,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IACzC,MAAM,IAAI,OAAO,CAAO,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC,CAAC,sBAAsB;AAC3D,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type MembershipFeedHandle } from "@cotal-ai/core";
|
|
2
|
+
/**
|
|
3
|
+
* The delivery daemon's thin composition root for the broker-sourced graph-membership feed. It loads the
|
|
4
|
+
* two PRE-MINTED scoped creds + the DATA account id from `.cotal/` (written by `cotal up`; the daemon
|
|
5
|
+
* never holds the signer) and hands them to the core feed engine ({@link startMembershipFeed}, which owns
|
|
6
|
+
* the two connections + the poll loop).
|
|
7
|
+
*
|
|
8
|
+
* Deliberately ISOLATED from Plane-3: a separate module, separate connections, and a fail-soft contract —
|
|
9
|
+
* if the creds aren't provisioned (a pre-feature space) or the feed can't start, it logs and returns
|
|
10
|
+
* `undefined`; the graph degrades to traffic-only and delivery is untouched.
|
|
11
|
+
*/
|
|
12
|
+
export declare function startMembership(opts: {
|
|
13
|
+
space: string;
|
|
14
|
+
server: string;
|
|
15
|
+
}): Promise<MembershipFeedHandle | undefined>;
|
|
16
|
+
//# sourceMappingURL=membership.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"membership.d.ts","sourceRoot":"","sources":["../src/membership.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsC,KAAK,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE/F;;;;;;;;;GASG;AACH,wBAAsB,eAAe,CAAC,IAAI,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CA8BxH"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
2
|
+
import { join } from "node:path";
|
|
3
|
+
import { findCotalRoot, startMembershipFeed } from "@cotal-ai/core";
|
|
4
|
+
/**
|
|
5
|
+
* The delivery daemon's thin composition root for the broker-sourced graph-membership feed. It loads the
|
|
6
|
+
* two PRE-MINTED scoped creds + the DATA account id from `.cotal/` (written by `cotal up`; the daemon
|
|
7
|
+
* never holds the signer) and hands them to the core feed engine ({@link startMembershipFeed}, which owns
|
|
8
|
+
* the two connections + the poll loop).
|
|
9
|
+
*
|
|
10
|
+
* Deliberately ISOLATED from Plane-3: a separate module, separate connections, and a fail-soft contract —
|
|
11
|
+
* if the creds aren't provisioned (a pre-feature space) or the feed can't start, it logs and returns
|
|
12
|
+
* `undefined`; the graph degrades to traffic-only and delivery is untouched.
|
|
13
|
+
*/
|
|
14
|
+
export async function startMembership(opts) {
|
|
15
|
+
const dir = join(findCotalRoot(), ".cotal");
|
|
16
|
+
const obsPath = join(dir, "membership-observer.creds");
|
|
17
|
+
const rwPath = join(dir, "membership-rw.creds");
|
|
18
|
+
const cfgPath = join(dir, "membership.json");
|
|
19
|
+
if (!existsSync(obsPath) || !existsSync(rwPath) || !existsSync(cfgPath)) {
|
|
20
|
+
console.error("• membership: scoped creds not provisioned here — broker-sourced graph membership disabled (the graph falls back to traffic-only). Provisioned on a fresh `cotal up`; a space created before this feature needs its auth regenerated. Delivery is unaffected.");
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
const accountId = JSON.parse(readFileSync(cfgPath, "utf8")).accountId;
|
|
24
|
+
if (!accountId) {
|
|
25
|
+
console.error("• membership: .cotal/membership.json has no accountId — membership disabled (delivery unaffected)");
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
const intervalMs = Number(process.env.COTAL_MEMBERSHIP_INTERVAL_MS) || undefined; // test/ops override
|
|
29
|
+
const handle = await startMembershipFeed({
|
|
30
|
+
servers: opts.server,
|
|
31
|
+
space: opts.space,
|
|
32
|
+
accountId,
|
|
33
|
+
observerCreds: readFileSync(obsPath, "utf8"),
|
|
34
|
+
rwCreds: readFileSync(rwPath, "utf8"),
|
|
35
|
+
intervalMs,
|
|
36
|
+
});
|
|
37
|
+
console.log(`✓ membership feed up (broker-sourced channel membership) — space ${opts.space}`);
|
|
38
|
+
return handle;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=membership.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"membership.js","sourceRoot":"","sources":["../src/membership.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAA6B,MAAM,gBAAgB,CAAC;AAE/F;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,IAAuC;IAC3E,MAAM,GAAG,GAAG,IAAI,CAAC,aAAa,EAAE,EAAE,QAAQ,CAAC,CAAC;IAC5C,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG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-out writer + trusted reader + membership/ACL authority), a scoped least-privilege NATS client co-located with the broker.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
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.
|
|
21
|
+
"@cotal-ai/core": "0.7.0"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"dist"
|