@adhdev/daemon-core 0.9.82-rc.325 → 0.9.82-rc.327
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/cli-adapters/provider-cli-shared.d.ts +15 -0
- package/dist/config/mesh-config.d.ts +5 -0
- package/dist/git/git-commands.d.ts +2 -0
- package/dist/index.js +835 -599
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +835 -599
- package/dist/index.mjs.map +1 -1
- package/dist/mesh/mesh-work-queue.d.ts +2 -0
- package/dist/providers/chat-message-normalization.d.ts +12 -0
- package/dist/repo-mesh-types.d.ts +12 -0
- package/package.json +2 -2
- package/src/cli-adapters/provider-cli-adapter.ts +2 -0
- package/src/cli-adapters/provider-cli-shared.d.ts +2 -0
- package/src/cli-adapters/provider-cli-shared.ts +15 -0
- package/src/commands/router.ts +90 -9
- package/src/config/mesh-config.ts +7 -0
- package/src/git/git-commands.ts +13 -2
- package/src/mesh/mesh-reconcile-loop.ts +147 -0
- package/src/mesh/mesh-work-queue.ts +28 -8
- package/src/providers/chat-message-normalization.ts +47 -0
- package/src/providers/cli-provider-instance.ts +9 -1
- package/src/repo-mesh-types.ts +12 -0
|
@@ -48,6 +48,21 @@ export interface CliSessionStatus {
|
|
|
48
48
|
errorMessage?: string;
|
|
49
49
|
errorReason?: string;
|
|
50
50
|
providerSessionId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Timestamp (ms) of the most recent raw PTY output chunk. Advances on every
|
|
53
|
+
* byte the process emits, including tool/build output that produces no
|
|
54
|
+
* parsed assistant text. Liveness watchdogs use this to distinguish a real
|
|
55
|
+
* stall (no output at all) from an active turn whose assistant buffer is
|
|
56
|
+
* momentarily static while a tool runs.
|
|
57
|
+
*/
|
|
58
|
+
lastOutputAt?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Timestamp (ms) of the most recent *visible* terminal screen change.
|
|
61
|
+
* Stricter than lastOutputAt — only advances when the rendered screen
|
|
62
|
+
* content actually differs, so repeated keepalive bytes do not register as
|
|
63
|
+
* progress. Preferred liveness signal for the long-generating watchdog.
|
|
64
|
+
*/
|
|
65
|
+
lastScreenChangeAt?: number;
|
|
51
66
|
bufferState?: {
|
|
52
67
|
responseBuffer?: {
|
|
53
68
|
truncated: boolean;
|
|
@@ -119,4 +119,9 @@ export declare function updateNode(meshId: string, nodeId: string, opts: {
|
|
|
119
119
|
/** Per-node instruction surfaced in the coordinator prompt. Pass an
|
|
120
120
|
* empty string or undefined to clear it. */
|
|
121
121
|
systemPrompt?: string;
|
|
122
|
+
/** Live self-reported platform/arch from the owning daemon's git_status
|
|
123
|
+
* envelope. Persisted distinctly from userOverrides (auto-detected, not
|
|
124
|
+
* operator intent) so capability-tag os=/arch= self-heals across loads. */
|
|
125
|
+
reportedPlatform?: string;
|
|
126
|
+
reportedArch?: string;
|
|
122
127
|
}): LocalMeshNodeEntry | undefined;
|