@ctlflow/fleet 0.1.10 → 0.1.12

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/LICENSE ADDED
@@ -0,0 +1,33 @@
1
+ Proprietary Commercial License
2
+
3
+ Copyright (c) 2026 Jeswin P Kumar
4
+ Contact: jeswinpk@agilehead.com
5
+ All rights reserved.
6
+
7
+ 1. Scope
8
+ This license applies only to the first-party software, documentation and assets
9
+ provided with it (the "Software"). The Software is proprietary, not open source.
10
+
11
+ 2. Permission required
12
+ No permission to use, install, access, copy, modify, distribute, sublicense, sell,
13
+ host or otherwise exploit the Software is granted by this notice. Such rights
14
+ require a separate written commercial license agreement with Jeswin P Kumar.
15
+ Access to a repository, package or download does not itself grant these rights.
16
+ Any authorized use is limited to the rights and conditions in that agreement.
17
+ Rights that cannot lawfully be restricted remain unaffected.
18
+
19
+ 3. Notices and third-party materials
20
+ Authorized copies must retain this license and applicable copyright notices.
21
+ Third-party software, dependencies and materials remain subject to their own
22
+ licenses. This license does not replace those licenses or claim ownership of
23
+ third-party materials.
24
+ Licenses previously granted for earlier versions are not retroactively revoked.
25
+
26
+ 4. Warranty and liability
27
+ Except as otherwise expressly agreed in writing or required by applicable law,
28
+ the Software is provided "AS IS", without warranties of any kind, express or
29
+ implied, including merchantability, fitness for a particular purpose and
30
+ noninfringement. To the fullest extent permitted by applicable law, Jeswin P Kumar
31
+ is not liable for damages or other liability arising from the Software or its use.
32
+
33
+ For commercial licensing or other permissions, contact jeswinpk@agilehead.com.
package/README.md CHANGED
@@ -50,3 +50,11 @@ policy, model and reasoning remain configurable in the definition's
50
50
  `[runtime_options]`. The native-named
51
51
  `dangerously_bypass_approvals_and_sandbox = true` selects full access without
52
52
  approvals; it is never enabled implicitly.
53
+
54
+ ## License
55
+
56
+ Copyright (c) 2026 Jeswin P Kumar. All rights reserved.
57
+
58
+ First-party code, documentation and assets are proprietary and require a separate
59
+ written commercial license. See [LICENSE](LICENSE). Contact: jeswinpk@agilehead.com.
60
+ Third-party software and materials retain their own licenses.
@@ -4184,6 +4184,7 @@ var fleetView = object({
4184
4184
  directory: text(4096),
4185
4185
  revision: integer(),
4186
4186
  controller,
4187
+ resumeInstanceKeys: nullable(list(name, 100)),
4187
4188
  phase,
4188
4189
  instances: list(instanceView, 100),
4189
4190
  error: nullable(text(4096)),
package/docs/sessions.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  ## Management
4
4
 
5
- Open a fleet's **Agents** tab: the agents table comes first, followed by the
6
- fleet-wide **Native sessions** controls. For one agent, open its **Session** tab.
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 scope means all enrolled agents in that fleet; agent scope means only the
16
- selected agent. Fresh-history confirmation names the scope and explains that model
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 or sending a model prompt.
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,16 @@
1
1
  {
2
2
  "name": "@ctlflow/fleet",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
+ "license": "SEE LICENSE IN LICENSE",
5
+ "author": "Jeswin P Kumar <jeswinpk@agilehead.com>",
4
6
  "private": false,
5
7
  "publishConfig": { "access": "public" },
6
8
  "type": "module",
7
- "devDependencies": { "@ctlflow/crossfire-test-support": "0.1.10" },
9
+ "devDependencies": { "@ctlflow/crossfire-test-support": "0.1.12" },
8
10
  "bin": { "fleet": "./dist/bin/fleet.mjs" },
9
- "files": ["dist/bin", "docs", "README.md"],
11
+ "files": ["LICENSE", "dist/bin", "docs", "README.md"],
10
12
  "exports": { "./executable": "./dist/bin/fleet.mjs", "./package.json": "./package.json" },
11
- "dependencies": { "@ctlflow/fleetd": "0.1.10" },
13
+ "dependencies": { "@ctlflow/fleetd": "0.1.12" },
12
14
  "engines": {
13
15
  "node": ">=26.0.0",
14
16
  "npm": ">=11.17.0"