@ctrl-spc/cs 0.7.14 → 0.7.16
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 +50 -3
- package/dist/agents.js +175 -1
- package/dist/autostart.js +103 -122
- package/dist/codex-home.js +14 -11
- package/dist/companion-ui.js +54 -6
- package/dist/companion.js +86 -169
- package/dist/config.js +199 -17
- package/dist/daemon-lifecycle.js +575 -0
- package/dist/daemon-lock.js +149 -42
- package/dist/daemon-processes.js +860 -0
- package/dist/daemon.js +14 -46
- package/dist/darwin-coalition.js +340 -0
- package/dist/failure-reason.js +76 -16
- package/dist/index.js +75 -76
- package/dist/login.js +9 -9
- package/dist/mcp.js +55 -56
- package/dist/native/darwin-coalition +0 -0
- package/dist/native/darwin-coalition.build.json +1 -0
- package/dist/native/darwin-coalition.c +145 -0
- package/dist/orchestrator.js +892 -575
- package/dist/panel3/coordinator.js +3 -1
- package/dist/panel3/presence.js +1 -1
- package/dist/panel3/run.js +996 -558
- package/dist/panel3/spawn.js +85 -23
- package/dist/panel3/tools.js +5 -0
- package/dist/presence-heartbeat.js +3 -0
- package/dist/presence.js +271 -135
- package/dist/supabase.js +173 -37
- package/dist/win-shell.js +464 -1
- package/dist/windows-job.js +312 -0
- package/package.json +4 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { returned } from './client.js';
|
|
2
|
-
import { agentPath } from '../agents.js';
|
|
2
|
+
import { agentPath, detectAgents } from '../agents.js';
|
|
3
3
|
import { harness } from './spawn.js';
|
|
4
4
|
/**
|
|
5
5
|
* Read the designation. `cliv2_orchestrator_preference` carries `unique
|
|
@@ -31,3 +31,5 @@ export async function selectedHarness(client, machineId) {
|
|
|
31
31
|
throw new Error(`${selected} is selected but is not installed on this machine`);
|
|
32
32
|
return selected;
|
|
33
33
|
}
|
|
34
|
+
/** Extra routes only query typed authentication recovery, never normal work. */
|
|
35
|
+
export function recoveryHarnesses() { return detectAgents(); }
|
package/dist/panel3/presence.js
CHANGED
|
@@ -30,7 +30,7 @@ export function isListening(machine, now = Date.now()) {
|
|
|
30
30
|
// here would be the expensive lie ux.md names, told about a row we cannot read.
|
|
31
31
|
if (Number.isNaN(seen))
|
|
32
32
|
return false;
|
|
33
|
-
return now - seen < LISTENING_WINDOW_MS;
|
|
33
|
+
return now - seen >= -5000 && now - seen < LISTENING_WINDOW_MS;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Say this machine is listening, or refresh what it already said.
|