@ctlflow/fleet 0.1.6 → 0.1.7
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/bin/fleet.mjs +0 -1
- package/docs/operations.md +5 -1
- package/package.json +3 -3
package/dist/bin/fleet.mjs
CHANGED
|
@@ -5920,7 +5920,6 @@ async function run(argv, signal) {
|
|
|
5920
5920
|
const agentCommand = positionals[0] === "agent", command = positionals[agentCommand ? 1 : 0], fleetKey = positionals[agentCommand ? 2 : 1];
|
|
5921
5921
|
const fleet = listed.find((fleet2) => fleet2.fleetKey === fleetKey || fleet2.fleetId === fleetKey);
|
|
5922
5922
|
if (!fleet) throw new Error("Fleet not found: " + fleetKey);
|
|
5923
|
-
if (fleet.error && command !== "stop" && command !== "show") throw new Error(fleet.error);
|
|
5924
5923
|
const params2 = { fleetId: fleet.fleetId };
|
|
5925
5924
|
if (!agentCommand && ["activate", "deactivate"].includes(command ?? "") && positionals.length === 2) {
|
|
5926
5925
|
if (!fleet.connection.connected || fleet.connection.revision === null) throw new Error("Fleet controller is not connected to Crossfire");
|
package/docs/operations.md
CHANGED
|
@@ -34,7 +34,11 @@ fleet, or `fleet agent update FLEET INSTANCE`. The canonical lifecycle operation
|
|
|
34
34
|
stops selected receivers/native processes, validates and installs the package's
|
|
35
35
|
pinned local tools/skill assets, then resumes only previously desired agents.
|
|
36
36
|
Stopped agents stay stopped. Exact identities, histories and unread positions are
|
|
37
|
-
retained. Failures are per-instance, without discarding successful peers.
|
|
37
|
+
retained. Failures are per-instance, without discarding successful peers. If a
|
|
38
|
+
daemon restart refuses restoration because reviewed fleet files changed, run the
|
|
39
|
+
explicit update operation to validate and accept those files without clearing
|
|
40
|
+
saved activation. The controller owns lifecycle validation; a prior status error
|
|
41
|
+
does not prevent submitting the operation that repairs it.
|
|
38
42
|
|
|
39
43
|
Then `fleet daemon restart` replaces the controller binary at the same private
|
|
40
44
|
root, preserving desired activation and exact histories. Do not reverse this
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctlflow/fleet",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": { "access": "public" },
|
|
6
6
|
"type": "module",
|
|
7
|
-
"devDependencies": { "@ctlflow/crossfire-test-support": "0.1.
|
|
7
|
+
"devDependencies": { "@ctlflow/crossfire-test-support": "0.1.7" },
|
|
8
8
|
"bin": { "fleet": "./dist/bin/fleet.mjs" },
|
|
9
9
|
"files": ["dist/bin", "docs", "README.md"],
|
|
10
10
|
"exports": { "./executable": "./dist/bin/fleet.mjs", "./package.json": "./package.json" },
|
|
11
|
-
"dependencies": { "@ctlflow/fleetd": "0.1.
|
|
11
|
+
"dependencies": { "@ctlflow/fleetd": "0.1.7" },
|
|
12
12
|
"engines": {
|
|
13
13
|
"node": ">=26.0.0",
|
|
14
14
|
"npm": ">=11.17.0"
|