@qoder-ai/qoder-agent-sdk 1.0.41 → 1.0.42

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.
@@ -1,6 +1,6 @@
1
1
  import type { DiagnosticsSink } from './sdk-diagnostics.js';
2
2
  import type { SdkPluginConfig, ToolConfig } from '../types/common.js';
3
- import type { InternalAuthOptions } from '../types/auth.js';
3
+ import type { InternalAuthOptions, SdkAuthPayload } from '../types/auth.js';
4
4
  import type { PermissionMode } from '../types/permissions.js';
5
5
  import type { McpServerConfigForProcessTransport } from '../protocol/mcp.js';
6
6
  import type { McpServerToolPolicy } from '../types/mcp.js';
@@ -98,8 +98,15 @@ export declare class RuntimeLaunchOptionsBuilder {
98
98
  private readSettingsFile;
99
99
  private writeGeneratedSettingsFile;
100
100
  private createAuthPayloadFile;
101
- private buildAuthPayload;
102
- private resolveServiceAccountKey;
103
- private resolveAccessToken;
104
101
  }
102
+ /**
103
+ * Maps the SDK's auth options onto the wire payload the CLI accepts.
104
+ *
105
+ * One implementation for both delivery paths: the one-shot payload file a
106
+ * Worker reads at startup, and the daemon's in-band `initialize` auth.
107
+ *
108
+ * @param env caller-supplied environment override; `{ envVar }` credential
109
+ * inputs resolve against it when it owns the variable, else `process.env`.
110
+ */
111
+ export declare function buildSdkAuthPayload(auth: InternalAuthOptions, env?: Record<string, string | undefined>): SdkAuthPayload;
105
112
  export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * Normalization of the CLI's usage payloads into the public `UsageInfo` /
8
+ * `SessionCreditsUsage` shapes.
9
+ *
10
+ * Shared by both account-level query paths — the per-Query control plane and
11
+ * the daemon query plane — because they talk to the same CLI endpoints and
12
+ * must not drift in which fields they accept.
13
+ */
14
+ import type { SessionCreditsUsage, UsageInfo } from '../protocol/common.js';
15
+ export declare function normalizeSessionCreditsUsage(value: unknown): SessionCreditsUsage | undefined;
16
+ export declare function normalizeUsageInfo(value: unknown): UsageInfo | null;
@@ -1,5 +1,6 @@
1
1
  import type { Readable, Writable } from "node:stream";
2
- import { type DaemonControlRequestFrame, type DaemonWireSessionMessage, type JsonObject, type JsonValue, type OpenSessionParams, type RenameSessionResult } from "./protocol.js";
2
+ import { type DaemonCommandResultMap, type DaemonCommandParamsMap, type DaemonControlRequestFrame, type DaemonQueryMethod, type DaemonWireSessionMessage, type JsonObject, type JsonValue, type OpenSessionParams, type RenameSessionResult } from "./protocol.js";
3
+ import type { SdkAuthPayload } from "../types/auth.js";
3
4
  import { DaemonSessionTransport, type DaemonSessionTransportOptions } from "./daemon-session-transport.js";
4
5
  export declare const SESSION_STORE_FILE_CHECKPOINTING_CAPABILITY = "session_store_file_checkpointing_v1";
5
6
  export declare const SESSION_STORE_FORK_BARRIER_CAPABILITY = "session_store_fork_barrier_v1";
@@ -9,6 +10,17 @@ export interface DaemonConnectionOptions {
9
10
  requestHandler?: DaemonRequestHandler;
10
11
  maxFrameBytes?: number;
11
12
  }
13
+ export interface DaemonInitializeOptions {
14
+ /** Advertised in addition to the capability this SDK cannot work without. */
15
+ capabilities?: readonly string[];
16
+ timeoutMs?: number;
17
+ /**
18
+ * Daemon-level credentials, sent in-band on the initialize frame. This is
19
+ * what unlocks the account-level query plane; Session management works
20
+ * without it. Carries a plaintext credential — never log it.
21
+ */
22
+ auth?: SdkAuthPayload;
23
+ }
12
24
  export type DaemonRequestHandler = (request: DaemonControlRequestFrame) => Promise<JsonValue>;
13
25
  export declare class DaemonRpcError extends Error {
14
26
  readonly code: string;
@@ -55,7 +67,7 @@ export declare class DaemonConnection {
55
67
  private failure;
56
68
  private readonly failureListeners;
57
69
  constructor(options: DaemonConnectionOptions);
58
- initialize(sdkVersion: string, optionalCapabilitiesOrTimeout?: readonly string[] | number, timeoutMs?: number): Promise<void>;
70
+ initialize(sdkVersion: string, options?: DaemonInitializeOptions): Promise<void>;
59
71
  createSessionTransport(options: DaemonSessionTransportOptions): DaemonSessionTransport;
60
72
  supportsCapability(capability: string): boolean;
61
73
  onFailure(listener: (error: Error) => void): () => void;
@@ -65,6 +77,15 @@ export declare class DaemonConnection {
65
77
  sendSessionMessage(message: DaemonWireSessionMessage): Promise<void>;
66
78
  closeSession(sessionId: string): Promise<void>;
67
79
  deleteSession(localSessionId: string): Promise<void>;
80
+ /**
81
+ * Sends one account-level query (`daemon_queries_v1`).
82
+ *
83
+ * Rejected with `DaemonProtocolError` when the daemon never reported the
84
+ * capability, and with `DaemonRpcError` carrying the daemon's error code when
85
+ * the query itself fails. The timeout is request-scoped: a slow upstream call
86
+ * fails that one query, not the connection.
87
+ */
88
+ query<Method extends DaemonQueryMethod>(method: Method, params: DaemonCommandParamsMap[Method]): Promise<DaemonCommandResultMap[Method]>;
68
89
  shutdown(timeoutMs?: number): Promise<void>;
69
90
  fail(error: unknown, notifyListeners?: boolean): void;
70
91
  private request;
@@ -3,7 +3,17 @@
3
3
  * Copyright 2026 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
+ import type { BYOKModelValidationInput, BYOKProviderInfo, ByokConfigCheckResult, ByokConfigInfo, ByokConfigReference, CheckByokConfigInput, CreateByokConfigInput, DeleteByokConfigInput, UpdateByokConfigInput } from "../protocol/control.js";
7
+ import type { AccountInfo, ModelInfo, SessionCreditsUsage, UsageInfo } from "../protocol/common.js";
8
+ import type { PluginDetails } from "../types/plugins.js";
9
+ import type { SdkAuthPayload } from "../types/auth.js";
6
10
  export declare const DAEMON_PROTOCOL_VERSION: 2;
11
+ /**
12
+ * Reported by the daemon in its initialize result once it accepted an `auth`
13
+ * payload, i.e. when the account-level query plane is usable on this
14
+ * connection. Absent for a daemon that only manages Sessions.
15
+ */
16
+ export declare const DAEMON_QUERIES_CAPABILITY = "daemon_queries_v1";
7
17
  export type JsonPrimitive = string | number | boolean | null;
8
18
  export type JsonValue = JsonPrimitive | JsonValue[] | {
9
19
  [key: string]: JsonValue;
@@ -64,6 +74,15 @@ export type InitializeDaemonParams = {
64
74
  daemon_protocol_version: typeof DAEMON_PROTOCOL_VERSION;
65
75
  sdk_version: string;
66
76
  capabilities: string[];
77
+ /**
78
+ * Daemon-level credentials, independent from the per-Session auth the daemon
79
+ * forwards to Workers. Omitting it keeps Session management fully functional
80
+ * while every account-level query fails with `AUTH_REQUIRED`.
81
+ *
82
+ * Carries a plaintext credential — it must never reach a log or an error
83
+ * message.
84
+ */
85
+ auth?: SdkAuthPayload;
67
86
  };
68
87
  export type InitializeDaemonResult = {
69
88
  daemon_protocol_version: typeof DAEMON_PROTOCOL_VERSION;
@@ -102,7 +121,82 @@ export type DeleteSessionParams = {
102
121
  local_session_id: string;
103
122
  };
104
123
  export type ShutdownParams = Record<string, never>;
105
- export type DaemonCommandMethod = "initialize" | "open_session" | "list_sessions" | "rename_session" | "close_session" | "delete_session" | "shutdown";
124
+ /**
125
+ * Account-level query plane (`daemon_queries_v1`).
126
+ *
127
+ * Every method is scoped to the daemon's own credentials rather than to a
128
+ * Session, so none of them carries a `session_id`. Params and results reuse the
129
+ * worker control-plane payload types: the daemon answers these from the same
130
+ * services and must not grow a second definition of the same wire shape.
131
+ */
132
+ export type DaemonQueryMethod = "get_models" | "get_byok_config" | "validate_byok_model" | "list_byok_configs" | "create_byok_config" | "update_byok_config" | "delete_byok_config" | "check_byok_config" | "list_plugins" | "get_usage_info" | "account_info";
133
+ export type DaemonGetModelsParams = {
134
+ /** Any value other than `live` is served from the catalog cache. */
135
+ fetchStrategy?: "live" | "cache";
136
+ /** Cache identity for the per-account shared catalog; empty for anonymous. */
137
+ uid?: string;
138
+ outerProviders?: string[];
139
+ };
140
+ export type DaemonGetModelsResult = {
141
+ models: ModelInfo[];
142
+ };
143
+ export type DaemonGetByokConfigParams = Record<string, never>;
144
+ export type DaemonGetByokConfigResult = {
145
+ providers: BYOKProviderInfo[];
146
+ };
147
+ /**
148
+ * Validates a set of *unsaved* model parameters. `request.type` already carries
149
+ * the wire discriminant, so the provider's model type key travels as
150
+ * `model_type` (with `provider_type` accepted as the legacy spelling).
151
+ */
152
+ export type DaemonValidateByokModelParams = BYOKModelValidationInput & {
153
+ model_type?: string;
154
+ provider_type?: string;
155
+ };
156
+ export type DaemonValidateByokModelResult = {
157
+ success: boolean;
158
+ };
159
+ export type DaemonListByokConfigsParams = Record<string, never>;
160
+ export type DaemonListByokConfigsResult = {
161
+ configs: ByokConfigInfo[];
162
+ };
163
+ export type DaemonCreateByokConfigParams = {
164
+ config: CreateByokConfigInput;
165
+ };
166
+ export type DaemonCreateByokConfigResult = {
167
+ config: ByokConfigReference;
168
+ };
169
+ export type DaemonUpdateByokConfigParams = {
170
+ config: UpdateByokConfigInput;
171
+ };
172
+ export type DaemonDeleteByokConfigParams = {
173
+ target: DeleteByokConfigInput;
174
+ };
175
+ /**
176
+ * Checks a *saved or about-to-be-saved* configuration: BYOK models are verified
177
+ * against the server, custom providers only locally. Business failures arrive
178
+ * as a success frame carrying `ByokConfigCheckResult`, never as an error frame.
179
+ */
180
+ export type DaemonCheckByokConfigParams = {
181
+ config: CheckByokConfigInput;
182
+ };
183
+ export type DaemonCheckByokConfigResult = ByokConfigCheckResult;
184
+ export type DaemonListPluginsParams = Record<string, never>;
185
+ export type DaemonListPluginsResult = {
186
+ plugins: PluginDetails[];
187
+ };
188
+ export type DaemonGetUsageInfoParams = Record<string, never>;
189
+ export type DaemonGetUsageInfoResult = {
190
+ usage: UsageInfo | null;
191
+ session: SessionCreditsUsage;
192
+ /** Account quota lookup failure; the session credits remain usable. */
193
+ usage_error?: string;
194
+ };
195
+ export type DaemonAccountInfoParams = Record<string, never>;
196
+ export type DaemonAccountInfoResult = {
197
+ account: AccountInfo;
198
+ };
199
+ export type DaemonCommandMethod = "initialize" | "open_session" | "list_sessions" | "rename_session" | "close_session" | "delete_session" | "shutdown" | DaemonQueryMethod;
106
200
  export interface DaemonCommandParamsMap {
107
201
  initialize: InitializeDaemonParams;
108
202
  open_session: OpenSessionParams;
@@ -111,8 +205,19 @@ export interface DaemonCommandParamsMap {
111
205
  close_session: CloseSessionParams;
112
206
  delete_session: DeleteSessionParams;
113
207
  shutdown: ShutdownParams;
208
+ get_models: DaemonGetModelsParams;
209
+ get_byok_config: DaemonGetByokConfigParams;
210
+ validate_byok_model: DaemonValidateByokModelParams;
211
+ list_byok_configs: DaemonListByokConfigsParams;
212
+ create_byok_config: DaemonCreateByokConfigParams;
213
+ update_byok_config: DaemonUpdateByokConfigParams;
214
+ delete_byok_config: DaemonDeleteByokConfigParams;
215
+ check_byok_config: DaemonCheckByokConfigParams;
216
+ list_plugins: DaemonListPluginsParams;
217
+ get_usage_info: DaemonGetUsageInfoParams;
218
+ account_info: DaemonAccountInfoParams;
114
219
  }
115
- export type DaemonCommandRequest = DaemonControlRequestFrame<"initialize", InitializeDaemonParams> | DaemonControlRequestFrame<"open_session", OpenSessionParams> | DaemonControlRequestFrame<"list_sessions", ListSessionsParams> | DaemonControlRequestFrame<"rename_session", RenameSessionParams> | DaemonControlRequestFrame<"close_session", CloseSessionParams> | DaemonControlRequestFrame<"delete_session", DeleteSessionParams> | DaemonControlRequestFrame<"shutdown", ShutdownParams>;
220
+ export type DaemonCommandRequest = DaemonControlRequestFrame<"initialize", InitializeDaemonParams> | DaemonControlRequestFrame<"open_session", OpenSessionParams> | DaemonControlRequestFrame<"list_sessions", ListSessionsParams> | DaemonControlRequestFrame<"rename_session", RenameSessionParams> | DaemonControlRequestFrame<"close_session", CloseSessionParams> | DaemonControlRequestFrame<"delete_session", DeleteSessionParams> | DaemonControlRequestFrame<"shutdown", ShutdownParams> | DaemonControlRequestFrame<"get_models", DaemonGetModelsParams> | DaemonControlRequestFrame<"get_byok_config", DaemonGetByokConfigParams> | DaemonControlRequestFrame<"validate_byok_model", DaemonValidateByokModelParams> | DaemonControlRequestFrame<"list_byok_configs", DaemonListByokConfigsParams> | DaemonControlRequestFrame<"create_byok_config", DaemonCreateByokConfigParams> | DaemonControlRequestFrame<"update_byok_config", DaemonUpdateByokConfigParams> | DaemonControlRequestFrame<"delete_byok_config", DaemonDeleteByokConfigParams> | DaemonControlRequestFrame<"check_byok_config", DaemonCheckByokConfigParams> | DaemonControlRequestFrame<"list_plugins", DaemonListPluginsParams> | DaemonControlRequestFrame<"get_usage_info", DaemonGetUsageInfoParams> | DaemonControlRequestFrame<"account_info", DaemonAccountInfoParams>;
116
221
  export interface DaemonCommandResultMap {
117
222
  initialize: InitializeDaemonResult;
118
223
  open_session: OpenSessionResult;
@@ -121,6 +226,17 @@ export interface DaemonCommandResultMap {
121
226
  close_session: null;
122
227
  delete_session: null;
123
228
  shutdown: null;
229
+ get_models: DaemonGetModelsResult;
230
+ get_byok_config: DaemonGetByokConfigResult;
231
+ validate_byok_model: DaemonValidateByokModelResult;
232
+ list_byok_configs: DaemonListByokConfigsResult;
233
+ create_byok_config: DaemonCreateByokConfigResult;
234
+ update_byok_config: null;
235
+ delete_byok_config: null;
236
+ check_byok_config: DaemonCheckByokConfigResult;
237
+ list_plugins: DaemonListPluginsResult;
238
+ get_usage_info: DaemonGetUsageInfoResult;
239
+ account_info: DaemonAccountInfoResult;
124
240
  }
125
241
  export declare class DaemonProtocolError extends Error {
126
242
  readonly code: "DAEMON_PROTOCOL_ERROR";
@@ -1,6 +1,10 @@
1
1
  import type { InternalAuthOptions } from '../types/auth.js';
2
2
  import type { ProcessTransportOptions } from '../core/process-transport.js';
3
3
  import type { QueryTransportProvider } from '../core/transport.js';
4
+ import type { DaemonGetModelsParams, DaemonValidateByokModelParams } from './protocol.js';
5
+ import type { BYOKProviderInfo, ByokConfigCheckResult, ByokConfigInfo, ByokConfigReference, CheckByokConfigInput, CreateByokConfigInput, DeleteByokConfigInput, UpdateByokConfigInput } from '../protocol/control.js';
6
+ import type { AccountInfo, ModelInfo, UsageInfo } from '../protocol/common.js';
7
+ import type { PluginDetails } from '../types/plugins.js';
4
8
  export type DaemonState = 'ready' | 'stopping' | 'stopped' | 'failed';
5
9
  export type SessionRuntimeState = 'pending' | 'ready' | 'inactive' | 'failed';
6
10
  export interface DaemonSessionInfo {
@@ -15,6 +19,16 @@ export interface StartDaemonOptions {
15
19
  auth: InternalAuthOptions;
16
20
  /** Idle Worker timeout in milliseconds. Set to 0 to disable reclamation. */
17
21
  workerIdleTimeoutMs?: number;
22
+ /**
23
+ * Budget for the `daemon.initialize` round trip; defaults to 30s.
24
+ *
25
+ * The CLI lands the in-band credentials while handling initialize — token
26
+ * exchange, user info, a possible host callback for the first token, and the
27
+ * account tier prefill — so the wall time follows the host's network and the
28
+ * CLI's own startup cost. Raise this when either is slow; initialize only
29
+ * resolves once that work is complete.
30
+ */
31
+ initializeTimeoutMs?: number;
18
32
  cwd?: string;
19
33
  pathToQoderCLIExecutable?: string;
20
34
  proxy?: string;
@@ -25,6 +39,27 @@ export interface Daemon {
25
39
  listSessions(): Promise<DaemonSessionInfo[]>;
26
40
  renameSession(localSessionId: string, title: string): Promise<DaemonSessionInfo>;
27
41
  deleteSession(localSessionId: string): Promise<void>;
42
+ /**
43
+ * Account-level queries, answered from the credentials the daemon was
44
+ * started with — never from a Session's. They require a daemon that accepted
45
+ * `StartDaemonOptions.auth` and reported `daemon_queries_v1`; otherwise they
46
+ * reject.
47
+ *
48
+ * Unlike the per-`Query` equivalents these do not swallow failures into
49
+ * `null`: capability is already negotiated here, so a rejection is a real
50
+ * error (`DaemonRpcError` carries the daemon's code and retryable flag).
51
+ */
52
+ getModels(options?: DaemonGetModelsParams): Promise<ModelInfo[]>;
53
+ getByokConfig(): Promise<BYOKProviderInfo[]>;
54
+ validateByokModel(input: DaemonValidateByokModelParams): Promise<boolean>;
55
+ listByokConfigs(): Promise<ByokConfigInfo[]>;
56
+ createByokConfig(input: CreateByokConfigInput): Promise<ByokConfigReference>;
57
+ updateByokConfig(input: UpdateByokConfigInput): Promise<void>;
58
+ deleteByokConfig(target: DeleteByokConfigInput): Promise<void>;
59
+ checkByokConfig(input: CheckByokConfigInput): Promise<ByokConfigCheckResult>;
60
+ listPlugins(): Promise<PluginDetails[]>;
61
+ getUsageInfo(): Promise<UsageInfo | null>;
62
+ accountInfo(): Promise<AccountInfo>;
28
63
  stop(): Promise<void>;
29
64
  }
30
65
  interface InternalDaemonRuntime {
package/dist/index.d.ts CHANGED
@@ -59,6 +59,7 @@ export { initDaemon, shutdownDaemon } from './daemon/global-daemon.js';
59
59
  export type { DaemonFallbackReason, DaemonInitResult, InitDaemonOptions, } from './daemon/global-daemon.js';
60
60
  export { startDaemon } from './daemon/start-daemon.js';
61
61
  export type { Daemon, DaemonState, DaemonSessionInfo, SessionRuntimeState, StartDaemonOptions, } from './daemon/start-daemon.js';
62
+ export type { DaemonGetModelsParams, DaemonValidateByokModelParams, } from './daemon/protocol.js';
62
63
  export { DEFAULT_RUNTIME_TRANSPORT, } from './core/default-runtime.js';
63
64
  export { ProcessTransport, QoderCliProcessError, } from './core/process-transport.js';
64
65
  export { hasResolvableQoderWorkerRuntime, QoderWorkerRuntimeError, WorkerTransport, resolveQoderWorkerRuntimePath, } from './core/worker-transport.js';
@@ -91,7 +92,7 @@ export type { AccessTokenInput, AuthOptions, FetchServiceAccountToken, ServiceAc
91
92
  */
92
93
  export type { FetchJobToken, JobTokenAuthOptions, JobTokenRequest, JobTokenResult, } from './types/auth.js';
93
94
  export type { Base64ImageSource, UrlImageSource, URLImageSource, ImageSource, ImageContentBlock, ImageBlockParam, ContentBlock, MessageParam, AccountInfo, UsageAddOnQuotaBucket, UsageInfo, UsageOrgResourcePackage, UsageQuotaBucket, SessionCreditsUsage, ApiKeySource, ExitReason, FastModeState, ConfigScope, SettingSource, SDKAssistantMessageError, SDKStatus, EffortLevel, ThinkingAdaptive, ThinkingEnabled, ThinkingDisabled, ThinkingConfig, ModelInfo, ModelSource, ServerModelJson, ServerModelJsonValue, ModelStrategy, ModelPromotion, LocalizedModelText, ModelContextConfig, ModelContextWindowEntry, ModelEffortEntry, ModelThinkingConfig, ModelThinkingDisabled, ModelThinkingEnabled, ModelUsage, NonNullableUsage, SlashCommand, ToolConfig, SdkPluginConfig, } from './types/common.js';
94
- export type { SDKMessage, SDKAssistantMessage, SDKToolNonExecutionKind, SDKToolResultMeta, SDKMessageOrigin, SDKArtifactInfo, SDKArtifactUpdateMessage, SDKAvailableModelsUpdateMessage, SDKCommandsChangedMessage, SDKUserMessage, SDKUserMessageReplay, SDKResultMessage, SDKResultSuccess, SDKResultError, SDKSystemMessage, SDKSystemInitMessage, SDKSystemMessageSubtype, SDKSystemMessageBySubtype, SDKPartialAssistantMessage, SDKCompactBoundaryMessage, SDKStatusMessage, SDKAPIRetryMessage, SDKModelQueueStatusMessage, SDKControlRequestProgressMessage, SDKCommandLifecycleMessage, SDKHookStartedMessage, SDKHookProgressMessage, SDKHookResponseMessage, SDKPermissionDeniedMessage, SDKMirrorErrorMessage, SDKTaskNotificationMessage, SDKTaskStartedMessage, SDKTaskProgressMessage, SDKTaskUpdatedMessage, SDKBackgroundTasksChangedMessage, SDKSessionStateChangedMessage, SDKPlanModeChangedMessage, SDKSessionTitleChangedMessage, SDKFilesPersistedEvent, SDKElicitationCompleteMessage, SDKPromptSuggestionMessage, SDKCloudAgentEventMessage, SDKMemoryGenerationMessage, SDKMemoryConsumptionMessage, SDKSkillEvolutionMessage, SDKPermissionDenial, } from './types/messages.js';
95
+ export type { SDKMessage, SDKAssistantMessage, SDKToolNonExecutionKind, SDKToolResultMeta, SDKMessageOrigin, SDKSelectedSkill, SDKArtifactInfo, SDKArtifactUpdateMessage, SDKAvailableModelsUpdateMessage, SDKCommandsChangedMessage, SDKUserMessage, SDKUserMessageReplay, SDKResultMessage, SDKResultSuccess, SDKResultError, SDKSystemMessage, SDKSystemInitMessage, SDKSystemMessageSubtype, SDKSystemMessageBySubtype, SDKPartialAssistantMessage, SDKCompactBoundaryMessage, SDKStatusMessage, SDKAPIRetryMessage, SDKModelQueueStatusMessage, SDKControlRequestProgressMessage, SDKCommandLifecycleMessage, SDKHookStartedMessage, SDKHookProgressMessage, SDKHookResponseMessage, SDKPermissionDeniedMessage, SDKMirrorErrorMessage, SDKTaskNotificationMessage, SDKTaskStartedMessage, SDKTaskProgressMessage, SDKTaskUpdatedMessage, SDKBackgroundTasksChangedMessage, SDKSessionStateChangedMessage, SDKPlanModeChangedMessage, SDKSessionTitleChangedMessage, SDKFilesPersistedEvent, SDKElicitationCompleteMessage, SDKPromptSuggestionMessage, SDKCloudAgentEventMessage, SDKMemoryGenerationMessage, SDKMemoryConsumptionMessage, SDKSkillEvolutionMessage, SDKPermissionDenial, } from './types/messages.js';
95
96
  export type { DefaultRuntimeTransport, } from './core/default-runtime.js';
96
97
  export type { QueryTransportCreateOptions, QueryTransportProviderOption, } from './core/query-transport.js';
97
98
  export type { ProcessTransportOptions } from './core/process-transport.js';