@adhdev/daemon-core 0.9.19 → 0.9.21
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-adapter.d.ts +22 -2
- package/dist/cli-adapters/provider-cli-shared.d.ts +13 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +371 -249
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +371 -249
- package/dist/index.mjs.map +1 -1
- package/dist/shared-types.d.ts +13 -1
- package/node_modules/@adhdev/session-host-core/package.json +1 -1
- package/package.json +1 -1
- package/src/cli-adapters/provider-cli-adapter.ts +426 -268
- package/src/cli-adapters/provider-cli-shared.ts +8 -0
- package/src/commands/chat-commands.ts +9 -8
- package/src/index.d.ts +1 -1
- package/src/index.ts +1 -0
- package/src/shared-types.d.ts +13 -1
- package/src/shared-types.ts +15 -1
- package/src/status/builders.ts +8 -8
- package/src/status/reporter.ts +7 -11
- package/src/status/snapshot.ts +21 -5
package/dist/shared-types.d.ts
CHANGED
|
@@ -132,11 +132,14 @@ export interface SessionHostDiagnosticsSnapshot {
|
|
|
132
132
|
recentRequests: SessionHostRequestTrace[];
|
|
133
133
|
recentTransitions: SessionHostRuntimeTransition[];
|
|
134
134
|
}
|
|
135
|
-
export type TransportTopic = 'session.chat_tail' | 'machine.runtime' | 'session_host.diagnostics' | 'session.modal' | 'daemon.metadata';
|
|
135
|
+
export type TransportTopic = 'session.chat_tail' | 'session.runtime_output' | 'machine.runtime' | 'session_host.diagnostics' | 'session.modal' | 'daemon.metadata';
|
|
136
136
|
export interface SessionChatTailSubscriptionParams extends ReadChatCursor {
|
|
137
137
|
targetSessionId: string;
|
|
138
138
|
historySessionId?: string;
|
|
139
139
|
}
|
|
140
|
+
export interface SessionRuntimeOutputSubscriptionParams {
|
|
141
|
+
targetSessionId: string;
|
|
142
|
+
}
|
|
140
143
|
export interface MachineRuntimeSubscriptionParams {
|
|
141
144
|
intervalMs?: number;
|
|
142
145
|
}
|
|
@@ -160,6 +163,13 @@ export interface SessionChatTailUpdate extends ReadChatSyncResult {
|
|
|
160
163
|
seq: number;
|
|
161
164
|
timestamp: number;
|
|
162
165
|
}
|
|
166
|
+
export interface SessionRuntimeOutputUpdate {
|
|
167
|
+
topic: 'session.runtime_output';
|
|
168
|
+
key: string;
|
|
169
|
+
sessionId: string;
|
|
170
|
+
seq: number;
|
|
171
|
+
timestamp: number;
|
|
172
|
+
}
|
|
163
173
|
export interface MachineRuntimeUpdate {
|
|
164
174
|
topic: 'machine.runtime';
|
|
165
175
|
key: string;
|
|
@@ -197,6 +207,7 @@ export interface DaemonMetadataUpdate {
|
|
|
197
207
|
}
|
|
198
208
|
export interface TopicUpdateEnvelopeMap {
|
|
199
209
|
'session.chat_tail': SessionChatTailUpdate;
|
|
210
|
+
'session.runtime_output': SessionRuntimeOutputUpdate;
|
|
200
211
|
'machine.runtime': MachineRuntimeUpdate;
|
|
201
212
|
'session_host.diagnostics': SessionHostDiagnosticsUpdate;
|
|
202
213
|
'session.modal': SessionModalUpdate;
|
|
@@ -205,6 +216,7 @@ export interface TopicUpdateEnvelopeMap {
|
|
|
205
216
|
export type TopicUpdateEnvelope = TopicUpdateEnvelopeMap[TransportTopic];
|
|
206
217
|
export interface SubscribeRequestMap {
|
|
207
218
|
'session.chat_tail': SessionChatTailSubscriptionParams;
|
|
219
|
+
'session.runtime_output': SessionRuntimeOutputSubscriptionParams;
|
|
208
220
|
'machine.runtime': MachineRuntimeSubscriptionParams;
|
|
209
221
|
'session_host.diagnostics': SessionHostDiagnosticsSubscriptionParams;
|
|
210
222
|
'session.modal': SessionModalSubscriptionParams;
|