@cotal-ai/cli 0.125.0 → 0.126.2
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/commands/spawn.d.ts.map +1 -1
- package/dist/commands/spawn.js +8 -6
- package/dist/commands/spawn.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +6 -3
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/up.d.ts.map +1 -1
- package/dist/commands/up.js +38 -43
- package/dist/commands/up.js.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"up.d.ts","sourceRoot":"","sources":["../../src/commands/up.ts"],"names":[],"mappings":"AAsBA,OAAO,EAWL,KAAK,eAAe,EAmCpB,KAAK,YAAY,EAIjB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAoEL,KAAK,SAAS,EA0Bd,KAAK,eAAe,EAgCrB,MAAM,qBAAqB,CAAC;AAmB7B,OAAO,EAA4C,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAa3G,OAAO,EAYL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAEnB,MAAM,eAAe,CAAC;AAuBvB,OAAO,EAoBL,KAAK,eAAe,EAErB,MAAM,mBAAmB,CAAC;AAO3B;;8FAE8F;AAC9F,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,SAAS,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACxC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,E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M,GAAG,OAAO,CAAC,IAAI,CAAC,CAsD3F;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAElF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEnF;AAWD;;;;;;;;;;GAUG;AACH,KAAK,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAExC;;mCAEmC;AACnC,eAAO,MAAM,oBAAoB,GAAI,GAAG,SAAS,EAAE,YAAY,UAAU,KAAG,IAAoC,CAAC"}
|
package/dist/commands/up.js
CHANGED
|
@@ -1893,49 +1893,44 @@ async function runUp(args, inheritedLock, onAdopt, freshTeamBoot = false, restor
|
|
|
1893
1893
|
if (!svc.ok)
|
|
1894
1894
|
process.exitCode = 1;
|
|
1895
1895
|
}
|
|
1896
|
-
//
|
|
1897
|
-
//
|
|
1898
|
-
//
|
|
1899
|
-
//
|
|
1900
|
-
//
|
|
1901
|
-
//
|
|
1902
|
-
//
|
|
1903
|
-
//
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
if (
|
|
1912
|
-
|
|
1913
|
-
if (live.state === "alive" && managerHasDeliveryMarker(live.pid, held.space))
|
|
1914
|
-
console.error(c.dim(`! manager already running for "${held.space}" - its runtime is fixed at start; \`cotal down\` then \`cotal up --runtime ${values.runtime}\` to change it`));
|
|
1915
|
-
}
|
|
1916
|
-
// A repair replaces the manager, so it must carry the mesh's recorded exposure forward — a
|
|
1917
|
-
// bare `cotal up` here has no `--host` of its own, and dropping it silently moves the attach
|
|
1918
|
-
// face back to loopback while everything else keeps working.
|
|
1919
|
-
// `wantTls` above is this branch's transport decision — the registry record reconciled
|
|
1920
|
-
// against the live listener's INFO (a disagreement already exited). It is what the daemon
|
|
1921
|
-
// must be launched with; #836 was this call dropping it.
|
|
1922
|
-
const controlPlane = await startDeliveryWithBroker(held.space, server, wantTls, {
|
|
1923
|
-
runtime: values.runtime,
|
|
1924
|
-
attachHost: attachHostFor(held.space, values.host),
|
|
1925
|
-
maxSessions: maxSessionsFor(held.space, maxSessions),
|
|
1926
|
-
noManager,
|
|
1927
|
-
});
|
|
1928
|
-
if (!controlPlane) {
|
|
1929
|
-
process.exitCode = 1;
|
|
1930
|
-
planeHealthy = false;
|
|
1931
|
-
}
|
|
1932
|
-
// #883: a refresh that HEALED a missing manager must say so — the summary line otherwise reads
|
|
1933
|
-
// identically to a refresh that found everything already up, and the operator cannot tell which
|
|
1934
|
-
// world they are in without a second command. Only here does a started manager mean one was
|
|
1935
|
-
// missing: a launch starts its manager as a matter of course (#2480).
|
|
1936
|
-
if (controlPlane?.started)
|
|
1937
|
-
console.log(c.green(`✓ restored in the background: manager (pid ${controlPlane.pid})`));
|
|
1896
|
+
// Re-ensure the control plane on a refresh, in every mode, under the decision the first boot
|
|
1897
|
+
// follows: the mesh owes a manager unless `--no-manager` was asked for, and the delivery daemon
|
|
1898
|
+
// self-gates to auth mode inside `ensureControlPlane`. A same-root refresh is the normal repair
|
|
1899
|
+
// command after a stale or missing manager, so a heal adopts `--runtime` and a degraded answer
|
|
1900
|
+
// fails the refresh. An open refresh used to skip this unless it carried `--runtime`, so a bare
|
|
1901
|
+
// one exited 0 over a manager record that the same refresh with `--runtime` reported degraded
|
|
1902
|
+
// (#3892).
|
|
1903
|
+
//
|
|
1904
|
+
// Warn only when the manager is genuinely REUSED: a live delivery-aware (this-build) manager
|
|
1905
|
+
// is kept as-is by `ensureManager`, so its runtime can't change. An old hosting manager (no
|
|
1906
|
+
// delivery marker) is stopped and REPLACED by the ensure below carrying the requested runtime,
|
|
1907
|
+
// so that's not a reuse - don't claim the runtime is fixed. A dead/absent manager is (re)started
|
|
1908
|
+
// with it.
|
|
1909
|
+
if (values.runtime) {
|
|
1910
|
+
const live = managerRecordState(held.space);
|
|
1911
|
+
if (live.state === "alive" && managerHasDeliveryMarker(live.pid, held.space))
|
|
1912
|
+
console.error(c.dim(`! manager already running for "${held.space}" - its runtime is fixed at start; \`cotal down\` then \`cotal up --runtime ${values.runtime}\` to change it`));
|
|
1938
1913
|
}
|
|
1914
|
+
// A repair replaces the manager, so it must carry the mesh's recorded exposure forward — a
|
|
1915
|
+
// bare `cotal up` here has no `--host` of its own, and dropping it silently moves the attach
|
|
1916
|
+
// face back to loopback while everything else keeps working.
|
|
1917
|
+
// `wantTls` above is this branch's transport decision — the registry record reconciled
|
|
1918
|
+
// against the live listener's INFO (a disagreement already exited). It is what the daemon
|
|
1919
|
+
// must be launched with; #836 was this call dropping it.
|
|
1920
|
+
const controlPlane = await startDeliveryWithBroker(held.space, server, wantTls, {
|
|
1921
|
+
runtime: values.runtime,
|
|
1922
|
+
attachHost: attachHostFor(held.space, values.host),
|
|
1923
|
+
maxSessions: maxSessionsFor(held.space, maxSessions),
|
|
1924
|
+
noManager,
|
|
1925
|
+
});
|
|
1926
|
+
if (!controlPlane)
|
|
1927
|
+
process.exitCode = 1;
|
|
1928
|
+
// #883: a refresh that HEALED a missing manager must say so — the summary line otherwise reads
|
|
1929
|
+
// identically to a refresh that found everything already up, and the operator cannot tell which
|
|
1930
|
+
// world they are in without a second command. Only here does a started manager mean one was
|
|
1931
|
+
// missing: a launch starts its manager as a matter of course (#2480).
|
|
1932
|
+
if (controlPlane?.started)
|
|
1933
|
+
console.log(c.green(`✓ restored in the background: manager (pid ${controlPlane.pid})`));
|
|
1939
1934
|
// A broker was already answering here — this branch starts nothing, so it must not claim the
|
|
1940
1935
|
// record as ours (see `Provenance`), and it passes only what this invocation decided.
|
|
1941
1936
|
// `recordOurMesh` carries everything else (`tlsRequired`, the recorded host and session
|
|
@@ -1946,7 +1941,7 @@ async function runUp(args, inheritedLock, onAdopt, freshTeamBoot = false, restor
|
|
|
1946
1941
|
seedPersonaAfterUp(root);
|
|
1947
1942
|
// The same Next a launch ends with: this mesh runs, so the steps are the ones that use and
|
|
1948
1943
|
// stop it. A manager the refresh found or healed is what makes `spawn` one of them.
|
|
1949
|
-
console.log(`\n${renderReport({ sections: [{ title: "Next", blocks: [{ kind: "commands", items: detachedNext({ manager: managerRecordState(held.space).state === "alive", controlPlane:
|
|
1944
|
+
console.log(`\n${renderReport({ sections: [{ title: "Next", blocks: [{ kind: "commands", items: detachedNext({ manager: managerRecordState(held.space).state === "alive", controlPlane: controlPlane !== undefined, machineHome: canonicalRoot(root) === canonicalRoot(homedir()), ...(values.root ? { root } : {}) }, held.space) }] }] }, "rich", process.stdout)}`);
|
|
1950
1945
|
return;
|
|
1951
1946
|
}
|
|
1952
1947
|
const who = held ? `mesh "${held.space}" (${held.root})` : "a broker not started here";
|