@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.
@@ -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;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/session-host-core",
3
- "version": "0.9.19",
3
+ "version": "0.9.21",
4
4
  "description": "ADHDev local session host core \u2014 session registry, protocol, buffers",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.9.19",
3
+ "version": "0.9.21",
4
4
  "description": "ADHDev daemon core \u2014 CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",