@ctlflow/fleet 0.1.10 → 0.1.11
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 +1 -0
- package/docs/sessions.md +21 -5
- package/package.json +3 -3
package/dist/bin/fleet.mjs
CHANGED
package/docs/sessions.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## Management
|
|
4
4
|
|
|
5
|
-
Open a fleet's **
|
|
6
|
-
|
|
5
|
+
Open a fleet's **Sessions** tab for fleet-wide controls. Its **Agents** tab keeps
|
|
6
|
+
the agent list separate. For one agent, open its **Session** tab.
|
|
7
7
|
The fleet owner and administrators can request:
|
|
8
8
|
|
|
9
9
|
| Action | Native execution | History and delivery |
|
|
@@ -12,8 +12,13 @@ The fleet owner and administrators can request:
|
|
|
12
12
|
| Stop session(s) | Close the selected listeners and owned engines. | Retain native histories, accounts, permissions and unread positions. The controller remains connected. |
|
|
13
13
|
| Start with fresh history | Stop selected agents, prepare private exports and restart with fresh model contexts. | Archive old bindings; retain identity, credentials, permissions, Matrix messages and configured parameters. Confirmation is required. |
|
|
14
14
|
|
|
15
|
-
Fleet
|
|
16
|
-
|
|
15
|
+
Fleet Stop remembers the enabled agents. Fleet Resume restores that selection and
|
|
16
|
+
any already enabled agents, leaving deliberately stopped agents off. Repeated Stop
|
|
17
|
+
while stopped retains the selection; individual Stop removes its member. An empty
|
|
18
|
+
saved selection resumes nobody. Initial fleet startup without a saved selection
|
|
19
|
+
or active intent starts its configured roster. Fresh history still targets every
|
|
20
|
+
agent in the confirmed fleet scope; agent scope means only the selected agent.
|
|
21
|
+
Fresh-history confirmation names the scope and explains that model
|
|
17
22
|
context is being replaced. Cancelling confirmation submits nothing. Stopping also
|
|
18
23
|
confirms that running operating-system commands are not frozen for later continuation.
|
|
19
24
|
|
|
@@ -40,7 +45,8 @@ listener activity and history availability separately. `fleet agent contexts`
|
|
|
40
45
|
reads saved context IDs while sleeping or stopped without waking a process.
|
|
41
46
|
Attachment requires a live native endpoint; GET never launches one. Use Resume
|
|
42
47
|
sessions or `fleet agent start` to wake a sleeping native engine for a terminal
|
|
43
|
-
without changing its binding
|
|
48
|
+
without changing its binding. Idle histories receive no model prompt; interrupted
|
|
49
|
+
work receives the continuation instruction described below.
|
|
44
50
|
|
|
45
51
|
Orderly daemon shutdown preserves desired activation. Starting the same daemon
|
|
46
52
|
root after a reboot restores active bindings with retained histories; explicitly
|
|
@@ -61,6 +67,16 @@ needed. The runtime retains its full conversation context even though controller
|
|
|
61
67
|
RPC responses omit old turn payloads. Missing or broken established bindings cause
|
|
62
68
|
a visible failure; they never silently fall back to new history.
|
|
63
69
|
|
|
70
|
+
Working histories and unanswered questions/approvals have a private unfinished-work
|
|
71
|
+
checkpoint. After Stop, daemon restart or native recovery, their exact saved history
|
|
72
|
+
receives: "Your saved session was restarted... If your previous task is unfinished
|
|
73
|
+
and still authorized, resume that task." The notice is not a new assignment and
|
|
74
|
+
does not approve a pending decision. It retains the task's original reply
|
|
75
|
+
destination; room-isolated histories stay isolated. Idle/sleeping contexts receive
|
|
76
|
+
no synthetic prompt. Native delivery receipts prevent duplicate notices on retries,
|
|
77
|
+
but an interrupted operating-system command is terminated, not frozen, and external
|
|
78
|
+
effects are not guaranteed exactly once. The agent must check completed work first.
|
|
79
|
+
|
|
64
80
|
Only an explicit flag selects fresh history:
|
|
65
81
|
|
|
66
82
|
```sh
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctlflow/fleet",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
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.11" },
|
|
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.11" },
|
|
12
12
|
"engines": {
|
|
13
13
|
"node": ">=26.0.0",
|
|
14
14
|
"npm": ">=11.17.0"
|