@cotal-ai/manager 0.131.6 → 0.132.1
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/README.md +26 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -15,6 +15,32 @@ each other; they meet at runtime over NATS.
|
|
|
15
15
|
See [docs/architecture.md](../../docs/architecture.md) (*Manager supervision*) and the
|
|
16
16
|
[root AGENTS.md](../../AGENTS.md) for the tier rules.
|
|
17
17
|
|
|
18
|
+
## Load measurements
|
|
19
|
+
|
|
20
|
+
`pnpm smoke:manager-seat-load --shape dist --seat real --process-memory --steps 10,25,50`
|
|
21
|
+
measures the real connector MCP processes on Linux. Build the CLI closure first and use a short,
|
|
22
|
+
private `TMPDIR` for the per-seat Unix sockets. These processes exclude the model harness.
|
|
23
|
+
|
|
24
|
+
Real seats use the stock `seat.cjs` entry, including its compile-cache setup.
|
|
25
|
+
`--real-entry direct` selects the older `mcp.cjs` entry for an explicit comparison;
|
|
26
|
+
`MSL_RESULT.seatEntry` and the printed header identify the arm. Each run gives children a fresh
|
|
27
|
+
private HOME, so the first seat starts with an empty cache and later seats can reuse it.
|
|
28
|
+
`NODE_COMPILE_CACHE` and `NODE_DISABLE_COMPILE_CACHE` must be unset for real-seat runs.
|
|
29
|
+
Direct-entry results do not establish the stock-launcher limit.
|
|
30
|
+
|
|
31
|
+
`--process-memory` emits `MSL_RESULT` JSON at each step and a counted `MSL_DONE` summary.
|
|
32
|
+
It reads RSS/PSS/USS without heap snapshots or forced GC. Before and after the idle window,
|
|
33
|
+
it calls the manager's authenticated `ps` command and matches every successful spawn's ID and
|
|
34
|
+
lifecycle UID. A stale presence view, missing process, changed PID, failed spawn or unreadable
|
|
35
|
+
memory sample fails the run. These observations prove sampled mesh presence, not continuous
|
|
36
|
+
readiness or application health. The observer calls and memory reads are outside the CPU window;
|
|
37
|
+
the observer connection remains open during it. RSS includes shared pages and must not be added
|
|
38
|
+
to PSS or USS.
|
|
39
|
+
|
|
40
|
+
`--ram` retains the separate heap-profiling mode and cannot be combined with `--process-memory`.
|
|
41
|
+
The ordinary table's stub-connected count belongs to the shared stub host, even with real seats;
|
|
42
|
+
it is not the real connectors' readiness count. Broker CPU uses the helper's owned broker PID.
|
|
43
|
+
|
|
18
44
|
## Remote authority clients
|
|
19
45
|
|
|
20
46
|
The package root exports `remoteManagerClient`, the stock request builders and response validators
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cotal-ai/manager",
|
|
3
3
|
"description": "Cotal agent supervisor: spawns and manages mesh nodes via a pluggable runtime (pty/tmux/cmux/orca/herdr).",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.132.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@clack/prompts": "^1.0.0",
|
|
22
|
-
"@cotal-ai/core": "0.
|
|
23
|
-
"@cotal-ai/seat": "0.
|
|
24
|
-
"@cotal-ai/workspace": "0.
|
|
22
|
+
"@cotal-ai/core": "0.132.1",
|
|
23
|
+
"@cotal-ai/seat": "0.132.1",
|
|
24
|
+
"@cotal-ai/workspace": "0.132.1",
|
|
25
25
|
"@lydell/node-pty": "1.2.0-beta.12",
|
|
26
26
|
"@nats-io/jetstream": "^3.4.0",
|
|
27
27
|
"@nats-io/kv": "^3.4.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"zod": "^4.4.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@cotal-ai/auth": "0.
|
|
40
|
-
"@cotal-ai/connector-claude-code": "0.
|
|
41
|
-
"@cotal-ai/connector-codex": "0.
|
|
39
|
+
"@cotal-ai/auth": "0.132.1",
|
|
40
|
+
"@cotal-ai/connector-claude-code": "0.132.1",
|
|
41
|
+
"@cotal-ai/connector-codex": "0.132.1",
|
|
42
42
|
"@cotal-ai/smoke-kit": "0.0.0",
|
|
43
|
-
"@cotal-ai/connector-core": "0.
|
|
44
|
-
"@cotal-ai/connector-hermes": "0.
|
|
45
|
-
"@cotal-ai/connector-opencode": "0.
|
|
46
|
-
"@cotal-ai/delivery": "0.
|
|
47
|
-
"@cotal-ai/runtime": "0.
|
|
43
|
+
"@cotal-ai/connector-core": "0.132.1",
|
|
44
|
+
"@cotal-ai/connector-hermes": "0.132.1",
|
|
45
|
+
"@cotal-ai/connector-opencode": "0.132.1",
|
|
46
|
+
"@cotal-ai/delivery": "0.132.1",
|
|
47
|
+
"@cotal-ai/runtime": "0.132.1",
|
|
48
48
|
"@nats-io/nats-core": "^3.4.0",
|
|
49
49
|
"@types/ws": "^8.18.1",
|
|
50
50
|
"esbuild": "^0.28.1"
|