@ai-matrx/desktop-protocol 0.21.55 → 0.21.56

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/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { O as OpName } from './models-qM7u4hzm.js';
3
- export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as CatalogFile, k as CatalogModelEntry, l as ClientToCoreMsg, e as ClientType, m as CloseAction, n as CloseCode, o as CloseCodeValue, C as CloseOutcome, p as CloseRule, q as CoreToClientMsg, r as CreditMsg, D as DesktopProtocolError, s as DownloadKind, t as DownloadRow, d as EVENTS, u as EndMsg, E as EndReason, v as ErrorCode, w as ErrorCodeName, x as ErrorData, y as ErrorMsg, z as ErrorReason, A as ErrorReasonName, F as EventMsg, G as EventName, H as FsPatchEditFailure, I as HelloMsg, L as Limits, J as LlamaServerBuild, K as LlmRunning, N as LlmServerState, P as MlCatalogSetParams, Q as MlCatalogSetResult, R as MlInstallPhase, U as MlInstallProgress, f as MlProgress, V as MlRuntimeState, X as MlServiceState, Y as MlServiceStatus, Z as MlStatusParams, _ as MlStatusResult, $ as ModelKey, a0 as ModelsDownloadsCancelParams, a1 as ModelsDownloadsCancelResult, a2 as ModelsDownloadsListParams, a3 as ModelsDownloadsListResult, a4 as ModelsInstallParams, a5 as ModelsInstallResult, a6 as ModelsLlmInstallParams, a7 as ModelsLlmInstallResult, a8 as ModelsLlmStartParams, a9 as ModelsLlmStartResult, aa as ModelsLlmStatusParams, ab as ModelsLlmStatusResult, ac as ModelsLlmStopParams, ad as ModelsLlmStopResult, ae as ModelsProgressEvent, af as ModelsStatusParams, ag as ModelsStatusResult, ah as ModelsTranscribeParams, M as ModelsTranscribeResult, ai as NAMED_SCHEMAS, aj as NamedSchemaId, c as OPS, ak as OpDescriptor, a as OpParams, b as OpResult, al as OpSpec, am as PING_TEXT, an as PONG_TEXT, ao as ProtocolErrorBody, ap as RelayMsg, aq as RequestMsg, ar as ResponseMsg, as as SERVICES, at as SUBPROTOCOL, au as ServiceId, av as ServiceOpName, aw as ServiceOpSpec, ax as ServiceSpec, ay as Sha256Hex, S as StreamMeta, az as StreamMsg, aA as TextModelId, aB as TextModelInfo, aC as TranscriptSegment, T as TranscriptionModelId, aD as TranscriptionModelInfo, W as Welcome, aE as closeRule, i as isDesktopProtocolError, aF as isTerminalClose } from './models-qM7u4hzm.js';
2
+ import { O as OpName } from './models-DbIm7Isi.js';
3
+ export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as CatalogFile, k as CatalogModelEntry, l as ClientToCoreMsg, e as ClientType, m as CloseAction, n as CloseCode, o as CloseCodeValue, C as CloseOutcome, p as CloseRule, q as CoreToClientMsg, r as CreditMsg, D as DesktopProtocolError, s as DownloadKind, t as DownloadRow, d as EVENTS, u as EndMsg, E as EndReason, v as ErrorCode, w as ErrorCodeName, x as ErrorData, y as ErrorMsg, z as ErrorReason, A as ErrorReasonName, F as EventMsg, G as EventName, H as FsPatchEditFailure, I as HelloMsg, L as Limits, J as LlamaServerBuild, K as LlmRunning, N as LlmServerState, P as MlCatalogSetParams, Q as MlCatalogSetResult, R as MlInstallPhase, U as MlInstallProgress, f as MlProgress, V as MlRuntimeState, X as MlServiceState, Y as MlServiceStatus, Z as MlStatusParams, _ as MlStatusResult, $ as ModelKey, a0 as ModelsDownloadsCancelParams, a1 as ModelsDownloadsCancelResult, a2 as ModelsDownloadsListParams, a3 as ModelsDownloadsListResult, a4 as ModelsInstallParams, a5 as ModelsInstallResult, a6 as ModelsLlmInstallParams, a7 as ModelsLlmInstallResult, a8 as ModelsLlmStartParams, a9 as ModelsLlmStartResult, aa as ModelsLlmStatusParams, ab as ModelsLlmStatusResult, ac as ModelsLlmStopParams, ad as ModelsLlmStopResult, ae as ModelsProgressEvent, af as ModelsStatusParams, ag as ModelsStatusResult, ah as ModelsTranscribeParams, M as ModelsTranscribeResult, ai as NAMED_SCHEMAS, aj as NamedSchemaId, c as OPS, ak as OpDescriptor, a as OpParams, b as OpResult, al as OpSpec, am as PING_TEXT, an as PONG_TEXT, ao as ProtocolErrorBody, ap as RelayMsg, aq as RequestMsg, ar as ResponseMsg, as as SERVICES, at as SUBPROTOCOL, au as ServiceId, av as ServiceOpName, aw as ServiceOpSpec, ax as ServiceSpec, ay as Sha256Hex, S as StreamMeta, az as StreamMsg, aA as TextModelId, aB as TextModelInfo, aC as TranscriptSegment, T as TranscriptionModelId, aD as TranscriptionModelInfo, W as Welcome, aE as closeRule, i as isDesktopProtocolError, aF as isTerminalClose } from './models-DbIm7Isi.js';
4
4
  export { BROADCAST_CID, DecodedFrame, FRAME_HEADER_BYTES, FRAME_STRUCT_FORMAT, FRAME_VERSION, FrameChannel, FrameChannelValue, FrameFlag, assertFrameHeader, connectionEndFrame, decodeFrame, encodeFrame, hasFlag, isConnectionEnd, readCid, stampCid } from './frame.js';
5
5
 
6
6
  /** @ai-matrx/desktop-protocol — version and primitive schemas. Schema source: lint-enforced rules in scripts/check-schema-source.mjs. */
@@ -163,10 +163,14 @@ declare const PROTOCOL_MAJOR: 1;
163
163
  * (`hf_token`, sent only to Hugging Face hosts); a catalog file's `sha256` may be null (its
164
164
  * source publishes none) and the first download hashes it (`hashed` in the result). The app
165
165
  * and its ml service ship together, so no peer stripping is needed.
166
+ * 1.59 — the one chat record: ChatRow `session_id`, `app_groups`, `parent`, `prior_sessions`.
167
+ * 1.60 — apps.chats.copy_to_account `restart.reopened`: for each window "restart_verify" closed,
168
+ * whether it came back (`ok`) and why not. Optional and stripped for an older peer by
169
+ * forPeer; a 1.59 core omits it (its screen reads the reason text).
166
170
  */
167
- declare const PROTOCOL_MINOR: 58;
171
+ declare const PROTOCOL_MINOR: 60;
168
172
  /** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
169
- declare const PROTOCOL_VERSION: "1.58";
173
+ declare const PROTOCOL_VERSION: "1.60";
170
174
  /** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
171
175
  declare const u32: z.ZodInt;
172
176
  declare const nonNegInt: z.ZodInt;
@@ -2088,6 +2092,22 @@ declare const ChatRow: z.ZodObject<{
2088
2092
  }>>;
2089
2093
  title_override: z.ZodOptional<z.ZodString>;
2090
2094
  archived: z.ZodOptional<z.ZodBoolean>;
2095
+ session_id: z.ZodOptional<z.ZodString>;
2096
+ app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
2097
+ window: z.ZodString;
2098
+ group_id: z.ZodString;
2099
+ name: z.ZodString;
2100
+ }, z.core.$strict>>>;
2101
+ parent: z.ZodOptional<z.ZodObject<{
2102
+ id: z.ZodString;
2103
+ how: z.ZodEnum<{
2104
+ spawned: "spawned";
2105
+ dispatched: "dispatched";
2106
+ forked: "forked";
2107
+ }>;
2108
+ title: z.ZodNullable<z.ZodString>;
2109
+ }, z.core.$strict>>;
2110
+ prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2091
2111
  }, z.core.$strict>;
2092
2112
  type ChatRow = z.output<typeof ChatRow>;
2093
2113
  /** 1.13: a project the app itself keeps (Codex's sidebar projects), never ours and never written. */
@@ -2179,6 +2199,22 @@ declare const AppsChatsListResult: z.ZodObject<{
2179
2199
  }>>;
2180
2200
  title_override: z.ZodOptional<z.ZodString>;
2181
2201
  archived: z.ZodOptional<z.ZodBoolean>;
2202
+ session_id: z.ZodOptional<z.ZodString>;
2203
+ app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
2204
+ window: z.ZodString;
2205
+ group_id: z.ZodString;
2206
+ name: z.ZodString;
2207
+ }, z.core.$strict>>>;
2208
+ parent: z.ZodOptional<z.ZodObject<{
2209
+ id: z.ZodString;
2210
+ how: z.ZodEnum<{
2211
+ spawned: "spawned";
2212
+ dispatched: "dispatched";
2213
+ forked: "forked";
2214
+ }>;
2215
+ title: z.ZodNullable<z.ZodString>;
2216
+ }, z.core.$strict>>;
2217
+ prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2182
2218
  }, z.core.$strict>>;
2183
2219
  new_window_ms: z.ZodInt;
2184
2220
  updating: z.ZodOptional<z.ZodBoolean>;
@@ -2273,6 +2309,22 @@ declare const AppsProjectsFileResult: z.ZodObject<{
2273
2309
  }>>;
2274
2310
  title_override: z.ZodOptional<z.ZodString>;
2275
2311
  archived: z.ZodOptional<z.ZodBoolean>;
2312
+ session_id: z.ZodOptional<z.ZodString>;
2313
+ app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
2314
+ window: z.ZodString;
2315
+ group_id: z.ZodString;
2316
+ name: z.ZodString;
2317
+ }, z.core.$strict>>>;
2318
+ parent: z.ZodOptional<z.ZodObject<{
2319
+ id: z.ZodString;
2320
+ how: z.ZodEnum<{
2321
+ spawned: "spawned";
2322
+ dispatched: "dispatched";
2323
+ forked: "forked";
2324
+ }>;
2325
+ title: z.ZodNullable<z.ZodString>;
2326
+ }, z.core.$strict>>;
2327
+ prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2276
2328
  }, z.core.$strict>;
2277
2329
  project: z.ZodObject<{
2278
2330
  id: z.ZodString;
@@ -2346,6 +2398,22 @@ declare const AppsProjectsUnfileResult: z.ZodObject<{
2346
2398
  }>>;
2347
2399
  title_override: z.ZodOptional<z.ZodString>;
2348
2400
  archived: z.ZodOptional<z.ZodBoolean>;
2401
+ session_id: z.ZodOptional<z.ZodString>;
2402
+ app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
2403
+ window: z.ZodString;
2404
+ group_id: z.ZodString;
2405
+ name: z.ZodString;
2406
+ }, z.core.$strict>>>;
2407
+ parent: z.ZodOptional<z.ZodObject<{
2408
+ id: z.ZodString;
2409
+ how: z.ZodEnum<{
2410
+ spawned: "spawned";
2411
+ dispatched: "dispatched";
2412
+ forked: "forked";
2413
+ }>;
2414
+ title: z.ZodNullable<z.ZodString>;
2415
+ }, z.core.$strict>>;
2416
+ prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2349
2417
  }, z.core.$strict>;
2350
2418
  }, z.core.$strict>;
2351
2419
  type AppsProjectsUnfileResult = z.output<typeof AppsProjectsUnfileResult>;
@@ -2413,6 +2481,22 @@ declare const AppsChatsStarResult: z.ZodObject<{
2413
2481
  }>>;
2414
2482
  title_override: z.ZodOptional<z.ZodString>;
2415
2483
  archived: z.ZodOptional<z.ZodBoolean>;
2484
+ session_id: z.ZodOptional<z.ZodString>;
2485
+ app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
2486
+ window: z.ZodString;
2487
+ group_id: z.ZodString;
2488
+ name: z.ZodString;
2489
+ }, z.core.$strict>>>;
2490
+ parent: z.ZodOptional<z.ZodObject<{
2491
+ id: z.ZodString;
2492
+ how: z.ZodEnum<{
2493
+ spawned: "spawned";
2494
+ dispatched: "dispatched";
2495
+ forked: "forked";
2496
+ }>;
2497
+ title: z.ZodNullable<z.ZodString>;
2498
+ }, z.core.$strict>>;
2499
+ prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2416
2500
  }, z.core.$strict>;
2417
2501
  }, z.core.$strict>;
2418
2502
  type AppsChatsStarResult = z.output<typeof AppsChatsStarResult>;
@@ -2495,6 +2579,22 @@ declare const AppsChatsPlaceResult: z.ZodObject<{
2495
2579
  }>>;
2496
2580
  title_override: z.ZodOptional<z.ZodString>;
2497
2581
  archived: z.ZodOptional<z.ZodBoolean>;
2582
+ session_id: z.ZodOptional<z.ZodString>;
2583
+ app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
2584
+ window: z.ZodString;
2585
+ group_id: z.ZodString;
2586
+ name: z.ZodString;
2587
+ }, z.core.$strict>>>;
2588
+ parent: z.ZodOptional<z.ZodObject<{
2589
+ id: z.ZodString;
2590
+ how: z.ZodEnum<{
2591
+ spawned: "spawned";
2592
+ dispatched: "dispatched";
2593
+ forked: "forked";
2594
+ }>;
2595
+ title: z.ZodNullable<z.ZodString>;
2596
+ }, z.core.$strict>>;
2597
+ prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2498
2598
  }, z.core.$strict>;
2499
2599
  message: z.ZodString;
2500
2600
  }, z.core.$strict>;
@@ -2565,6 +2665,22 @@ declare const AppsProjectsFileManyResult: z.ZodObject<{
2565
2665
  }>>;
2566
2666
  title_override: z.ZodOptional<z.ZodString>;
2567
2667
  archived: z.ZodOptional<z.ZodBoolean>;
2668
+ session_id: z.ZodOptional<z.ZodString>;
2669
+ app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
2670
+ window: z.ZodString;
2671
+ group_id: z.ZodString;
2672
+ name: z.ZodString;
2673
+ }, z.core.$strict>>>;
2674
+ parent: z.ZodOptional<z.ZodObject<{
2675
+ id: z.ZodString;
2676
+ how: z.ZodEnum<{
2677
+ spawned: "spawned";
2678
+ dispatched: "dispatched";
2679
+ forked: "forked";
2680
+ }>;
2681
+ title: z.ZodNullable<z.ZodString>;
2682
+ }, z.core.$strict>>;
2683
+ prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2568
2684
  }, z.core.$strict>>;
2569
2685
  project: z.ZodObject<{
2570
2686
  id: z.ZodString;
@@ -2607,6 +2723,24 @@ declare const AppsProjectsCopyResult: z.ZodObject<{
2607
2723
  }, z.core.$strict>;
2608
2724
  }, z.core.$strict>;
2609
2725
  type AppsProjectsCopyResult = z.output<typeof AppsProjectsCopyResult>;
2726
+ /** 1.59: one of the app's own groups a chat is filed in, in one instance (Claude's sidebar groups: "Claude Categories"). */
2727
+ declare const ChatAppGroup: z.ZodObject<{
2728
+ window: z.ZodString;
2729
+ group_id: z.ZodString;
2730
+ name: z.ZodString;
2731
+ }, z.core.$strict>;
2732
+ type ChatAppGroup = z.output<typeof ChatAppGroup>;
2733
+ /** 1.59: the chat this one came from: spawned by another agent's chat, dispatched by it, or forked from it. */
2734
+ declare const ChatParent: z.ZodObject<{
2735
+ id: z.ZodString;
2736
+ how: z.ZodEnum<{
2737
+ spawned: "spawned";
2738
+ dispatched: "dispatched";
2739
+ forked: "forked";
2740
+ }>;
2741
+ title: z.ZodNullable<z.ZodString>;
2742
+ }, z.core.$strict>;
2743
+ type ChatParent = z.output<typeof ChatParent>;
2610
2744
 
2611
2745
  /**
2612
2746
  * @ai-matrx/desktop-protocol — cap apps, a coding app's windows and the accounts behind them
@@ -2911,6 +3045,22 @@ declare const AppsProjectsMoveResult: z.ZodObject<{
2911
3045
  }>>;
2912
3046
  title_override: z.ZodOptional<z.ZodString>;
2913
3047
  archived: z.ZodOptional<z.ZodBoolean>;
3048
+ session_id: z.ZodOptional<z.ZodString>;
3049
+ app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
3050
+ window: z.ZodString;
3051
+ group_id: z.ZodString;
3052
+ name: z.ZodString;
3053
+ }, z.core.$strict>>>;
3054
+ parent: z.ZodOptional<z.ZodObject<{
3055
+ id: z.ZodString;
3056
+ how: z.ZodEnum<{
3057
+ spawned: "spawned";
3058
+ dispatched: "dispatched";
3059
+ forked: "forked";
3060
+ }>;
3061
+ title: z.ZodNullable<z.ZodString>;
3062
+ }, z.core.$strict>>;
3063
+ prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2914
3064
  }, z.core.$strict>;
2915
3065
  project: z.ZodObject<{
2916
3066
  id: z.ZodString;
@@ -3712,6 +3862,31 @@ declare const CopiedChat: z.ZodObject<{
3712
3862
  reason: z.ZodNullable<z.ZodString>;
3713
3863
  }, z.core.$strict>;
3714
3864
  type CopiedChat = z.output<typeof CopiedChat>;
3865
+ /** 1.60: how one window the restart closed came back: it reopened (proven running) or it did not, and why. */
3866
+ declare const CopyReopened: z.ZodObject<{
3867
+ window: z.ZodString;
3868
+ ok: z.ZodBoolean;
3869
+ reason: z.ZodNullable<z.ZodString>;
3870
+ }, z.core.$strict>;
3871
+ type CopyReopened = z.output<typeof CopyReopened>;
3872
+ declare const CopyRestart: z.ZodObject<{
3873
+ asked: z.ZodEnum<{
3874
+ queued: "queued";
3875
+ restart_verify: "restart_verify";
3876
+ }>;
3877
+ done: z.ZodEnum<{
3878
+ queued: "queued";
3879
+ restart_verify: "restart_verify";
3880
+ }>;
3881
+ windows: z.ZodArray<z.ZodString>;
3882
+ reason: z.ZodNullable<z.ZodString>;
3883
+ reopened: z.ZodOptional<z.ZodArray<z.ZodObject<{
3884
+ window: z.ZodString;
3885
+ ok: z.ZodBoolean;
3886
+ reason: z.ZodNullable<z.ZodString>;
3887
+ }, z.core.$strict>>>;
3888
+ }, z.core.$strict>;
3889
+ type CopyRestart = z.output<typeof CopyRestart>;
3715
3890
  declare const AppsChatsCopyToAccountResult: z.ZodObject<{
3716
3891
  message: z.ZodString;
3717
3892
  origin: z.ZodString;
@@ -3785,6 +3960,11 @@ declare const AppsChatsCopyToAccountResult: z.ZodObject<{
3785
3960
  }>;
3786
3961
  windows: z.ZodArray<z.ZodString>;
3787
3962
  reason: z.ZodNullable<z.ZodString>;
3963
+ reopened: z.ZodOptional<z.ZodArray<z.ZodObject<{
3964
+ window: z.ZodString;
3965
+ ok: z.ZodBoolean;
3966
+ reason: z.ZodNullable<z.ZodString>;
3967
+ }, z.core.$strict>>>;
3788
3968
  }, z.core.$strict>;
3789
3969
  }, z.core.$strict>;
3790
3970
  type AppsChatsCopyToAccountResult = z.output<typeof AppsChatsCopyToAccountResult>;
@@ -11136,6 +11316,10 @@ declare const FIELDS_SINCE: {
11136
11316
  readonly title_source: "1.14";
11137
11317
  readonly title_override: "1.14";
11138
11318
  readonly archived: "1.15";
11319
+ readonly session_id: "1.59";
11320
+ readonly app_groups: "1.59";
11321
+ readonly parent: "1.59";
11322
+ readonly prior_sessions: "1.59";
11139
11323
  };
11140
11324
  readonly AccountUsage: {
11141
11325
  readonly plan: "1.13";
@@ -11221,6 +11405,9 @@ declare const FIELDS_SINCE: {
11221
11405
  readonly DownloadRow: {
11222
11406
  readonly error: "1.46";
11223
11407
  };
11408
+ readonly CopyRestart: {
11409
+ readonly reopened: "1.60";
11410
+ };
11224
11411
  };
11225
11412
  type FieldsSincePath = keyof typeof FIELDS_SINCE;
11226
11413
  /**
@@ -11293,7 +11480,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
11293
11480
  declare const VERSIONED_RESULT_OPS: readonly OpName[];
11294
11481
 
11295
11482
  /** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
11296
- declare const CONTRACT_SHA256: "7ae1c4d73fc6e9e7bc5b579551dde61d0aa8a786b30247b852beb7c1065e828d";
11483
+ declare const CONTRACT_SHA256: "36fbca871e9773bc8f5310fb3d258c4b04d73c4fd17f3af8e9555ce3b4e67871";
11297
11484
 
11298
11485
  /**
11299
11486
  * The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
@@ -11438,4 +11625,4 @@ declare function toolsSending(op: string): string[];
11438
11625
  */
11439
11626
  declare function sharedOpsBlocking(tool: string, disabledTools: readonly string[]): string[];
11440
11627
 
11441
- export { AbsPath, AccountAgent, AccountAgentDetail, AccountAgentRun, AccountAgentRunSort, AccountAgentRunStatus, AccountAgentVariable, AccountAgentsFavoriteParams, AccountAgentsFavoriteResult, AccountAgentsGetParams, AccountAgentsGetResult, AccountAgentsListParams, AccountAgentsListResult, AccountAgentsRunsParams, AccountAgentsRunsResult, AccountGap, AccountReadState, AccountReset, AccountResetSource, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppAccount, AppFeatureStatus, AppInfo, AppInstall, AppInstance, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsListParams, AppsAccountsListResult, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsCopyToAccountParams, AppsChatsCopyToAccountResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsProbeParams, AppsChatsProbeResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsTitlesCheckParams, AppsChatsTitlesCheckResult, AppsChatsTitlesPushParams, AppsChatsTitlesPushResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsInstancesListParams, AppsInstancesListResult, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsCreateParams, AppsProjectsCreateResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsImportPinsParams, AppsProjectsImportPinsResult, AppsProjectsMoveParams, AppsProjectsMoveResult, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsForgetParams, AppsWindowsGroupsParams, AppsWindowsGroupsResult, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsReopenParams, AppsWindowsReopenResult, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsSetAccountParams, AppsWindowsSetRemoteControlParams, AppsWindowsSetRemoteControlResult, AppsWindowsShownParams, AppsWindowsShownResult, AppsWindowsUpdateAndReopenParams, AppsWindowsUpdateAndReopenResult, AppsWindowsUpdateStateParams, AppsWindowsUpdateStateResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, AutomationScriptParams, AutomationScriptResult, BrowserCallError, BrowserCallParams, BrowserCallPhase, BrowserCallResult, BrowserClientInstance, BrowserDisconnectParams, BrowserDisconnectResult, BrowserInvokeEvent, BrowserKind, BrowserLogMessage, BrowserLogParams, BrowserLogResult, BrowserPairCodeParams, BrowserPairCodeResult, BrowserPairRequest, BrowserPairResetParams, BrowserPairResult, BrowserProgressEvent, BrowserProgressParams, BrowserProgressResult, BrowserRegisterParams, BrowserRegisterResult, BrowserResetCountersParams, BrowserResetCountersResult, BrowserResultParams, BrowserResultResult, BrowserSession, BrowserSessionState, BrowserSessionsChangedEvent, BrowserSessionsParams, BrowserSessionsResult, BrowserSetEnabledParams, BrowserSetEnabledResult, BrowserToolMetric, BrowserToolMetricsParams, BrowserToolMetricsResult, CONTRACT_SHA256, CalendarCreateParams, CalendarCreateResult, CalendarEvent, CalendarListParams, CalendarListResult, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingAccountContinueParams, CodingAccountContinueResult, CodingAccountUsage, CodingActiveElsewhere, CodingActivityParams, CodingActivityResult, CodingAgentSelectionParams, CodingAgentSetParams, CodingAgentSetResult, CodingAgentsAccessParams, CodingAgentsAccessResult, CodingChangedEvent, CodingChatPreference, CodingClientRequestId, CodingContinueTarget, CodingDiscoverParams, CodingDiscoverResult, CodingDiscoveredChat, CodingFolderCheck, CodingFoldersCheckParams, CodingFoldersCheckResult, CodingFoldersCreateParams, CodingFoldersCreateResult, CodingFoldersRecentParams, CodingFoldersRecentResult, CodingGapEvent, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryParams, CodingHistoryProgressEvent, CodingHistoryRecord, CodingHistoryResult, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingItemEvent, CodingItemFullParams, CodingItemFullResult, CodingOptionsSetParams, CodingOptionsSetResult, CodingPlanMissingParams, CodingPrefsListParams, CodingPrefsListResult, CodingPrefsSetParams, CodingPrefsSetResult, CodingProviderAccount, CodingProviderBinary, CodingProviderName, CodingProviderProblem, CodingProviderStatus, CodingProvidersParams, CodingProvidersResult, CodingQuotaWindow, CodingRecentFolder, CodingRecentRow, CodingRecentSeenParams, CodingRecentSeenResult, CodingReconcileParams, CodingReconcileResult, CodingRunRecord, CodingRunStatus, CodingRunUsage, CodingRunsListParams, CodingRunsListResult, CodingSearchHit, CodingSearchParams, CodingSearchResult, CodingSendParams, CodingSendResult, CodingServiceCredentials, CodingServiceProgress, CodingSessionAgent, CodingSessionAgentPart, CodingSessionRecord, CodingSessionWatchParams, CodingSessionWatchResult, CodingSessionsListParams, CodingSessionsListResult, CodingStartParams, CodingStartResult, CodingStartedBy, CodingStopElsewhereParams, CodingStopElsewhereResult, CodingStopParams, CodingStopResult, CodingTakeoverParams, CodingTakeoverResult, CodingTitleStatus, CodingTitlesStatusParams, CodingTitlesStatusResult, CodingTranscriptItem, CodingTranscriptRawParams, CodingTranscriptRawResult, CodingTranscriptReadParams, CodingTranscriptReadResult, CodingWatchParams, CodingWatchResult, CodingWatchStateEvent, ColdChat, ContactDetail, ContactLabeled, ContactSummary, ContactsGetParams, ContactsGetResult, ContactsSearchParams, ContactsSearchResult, ContractHash, CopiedChat, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DISCOVERY_FILE, DOCUMENTS_MAX_TEXT_CHARS, DesktopHealth, DeviceId, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, DocumentsImageResizeParams, DocumentsImageResizeResult, DocumentsOcrLine, DocumentsOcrParams, DocumentsOcrResult, DocumentsOfficeGenerateParams, DocumentsOfficeGenerateResult, DocumentsParagraph, DocumentsPdfPage, DocumentsPdfTextParams, DocumentsPdfTextResult, DocumentsSheet, EXCLUDED_TOOLS, EntitiesNerParams, EntitiesNerResult, EntitiesPiiParams, EntitiesPiiResult, EntitySpan, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsCopyParams, FsCopyResult, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsInfoParams, FsInfoResult, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchIndexParams, FsSearchIndexResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, InstanceStatus, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, LocationGetParams, LocationGetResult, MATRX_EXTENSION_IDS, MailAccount, MailAccountsParams, MailAccountsResult, MailListParams, MailListResult, MailMessage, MailSendParams, MailSendResult, MessagesChat, MessagesChatsParams, MessagesChatsResult, MessagesListParams, MessagesListResult, MessagesMessage, MessagesSendParams, MessagesSendResult, NULL_SINCE, NetAddress, NetBluetoothDevice, NetBluetoothParams, NetBluetoothResult, NetDevice, NetDevicesParams, NetDevicesResult, NetDownloadParams, NetDownloadResult, NetInfoParams, NetInfoResult, NetInterface, NetMdnsParams, NetMdnsResult, NetMdnsService, NetScanParams, NetScanResult, NetWifiNetwork, NetWifiParams, NetWifiResult, NoteEntry, NotesFolder, NotesFoldersParams, NotesFoldersResult, NotesListParams, NotesListResult, NotesMatch, NotesReadParams, NotesReadResult, NotesSearchParams, NotesSearchResult, NotesWriteParams, NotesWriteResult, OpName, OsGrantState, OsPermissionName, OsRequirementName, OutlookAccount, OutlookDraftParams, OutlookDraftResult, OutlookListParams, OutlookListResult, OutlookMessage, OutlookReadParams, OutlookReadResult, OutlookStatusParams, OutlookStatusResult, PERMISSIONS_SINCE, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, Photo, PhotosGetParams, PhotosGetResult, PhotosSearchParams, PhotosSearchResult, PiiKind, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProbeFact, ProbeSource, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMoveOutcome, ProjectMovePin, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RegistryValue, RegistryValueType, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, Reminder, RemindersCreateParams, RemindersCreateResult, RemindersListParams, RemindersListResult, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScheduleCancelParams, ScheduleCancelResult, ScheduleCreateParams, ScheduleCreateResult, ScheduleListParams, ScheduleListResult, ScheduleRun, ScheduledTask, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionIdentifyParams, SessionIdentifyResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, StaleTitleWindow, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoGraphicsAdapter, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, TitleCopies, TitleMismatch, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsParseFile, ToolsServiceProgress, ToolsWebBrowserFetchParams, ToolsWebBrowserFetchResult, ToolsWebScrapePage, ToolsWebScrapeParams, ToolsWebScrapeResult, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebAttachTarget, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebLand, WebLogCaller, WebLogClearParams, WebLogClearResult, WebLogEntry, WebLogListParams, WebLogListResult, WebLogResult, WebLogVia, WebNotSavedReason, WebOutboxDiscardParams, WebOutboxDiscardResult, WebOutboxItem, WebOutboxListParams, WebOutboxListResult, WebOutboxRetryParams, WebOutboxRetryResult, WebProgressEvent, WebResearchFetchParams, WebResearchFetchResult, WebResearchItem, WebResearchItemState, WebResearchQueueParams, WebResearchQueueResult, WebRuntimeParams, WebRuntimeState, WebRuntimeStateName, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WebSourceNotice, WebSourceState, WindowFocusParams, WindowFocusResult, WindowGroup, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, WindowRemoteControl, WindowsEvent, WindowsEventLogParams, WindowsEventLogResult, WindowsFeature, WindowsFeaturesParams, WindowsFeaturesResult, WindowsRegistryReadParams, WindowsRegistryReadResult, WindowsRegistryWriteParams, WindowsRegistryWriteResult, WindowsService, WindowsServiceControlParams, WindowsServiceControlResult, WindowsServicesParams, WindowsServicesResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, isInconclusive, knows, negotiate, nonNegInt, refusedOps, renderToolStatusMarkdown, sharedOpsBlocking, statusForPeer, toolsSending, u32, versionSubprotocol };
11628
+ export { AbsPath, AccountAgent, AccountAgentDetail, AccountAgentRun, AccountAgentRunSort, AccountAgentRunStatus, AccountAgentVariable, AccountAgentsFavoriteParams, AccountAgentsFavoriteResult, AccountAgentsGetParams, AccountAgentsGetResult, AccountAgentsListParams, AccountAgentsListResult, AccountAgentsRunsParams, AccountAgentsRunsResult, AccountGap, AccountReadState, AccountReset, AccountResetSource, AccountRowId, AccountUsage, AccountVaultCopyParams, AccountVaultCopyResult, AccountVaultListParams, AccountVaultListResult, AppAccount, AppFeatureStatus, AppInfo, AppInstall, AppInstance, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsListParams, AppsAccountsListResult, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsCopyToAccountParams, AppsChatsCopyToAccountResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsProbeParams, AppsChatsProbeResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsTitlesCheckParams, AppsChatsTitlesCheckResult, AppsChatsTitlesPushParams, AppsChatsTitlesPushResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, AppsInstancesListParams, AppsInstancesListResult, AppsListParams, AppsListResult, AppsOpenParams, AppsOpenResult, AppsProfilesListParams, AppsProfilesListResult, AppsProfilesRemoveParams, AppsProfilesRemoveResult, AppsProfilesSaveParams, AppsProfilesSaveResult, AppsProjectsCopyParams, AppsProjectsCopyResult, AppsProjectsCreateParams, AppsProjectsCreateResult, AppsProjectsFileManyParams, AppsProjectsFileManyResult, AppsProjectsFileParams, AppsProjectsFileResult, AppsProjectsImportPinsParams, AppsProjectsImportPinsResult, AppsProjectsMoveParams, AppsProjectsMoveResult, AppsProjectsToWindowParams, AppsProjectsToWindowResult, AppsProjectsUnfileParams, AppsProjectsUnfileResult, AppsProjectsUpdateParams, AppsProjectsUpdateResult, AppsSpendParams, AppsSpendResult, AppsSyncRunParams, AppsSyncStatusParams, AppsSyncStatusResult, AppsWindowActionResult, AppsWindowsAddParams, AppsWindowsForgetParams, AppsWindowsGroupsParams, AppsWindowsGroupsResult, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsReopenParams, AppsWindowsReopenResult, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsSetAccountParams, AppsWindowsSetRemoteControlParams, AppsWindowsSetRemoteControlResult, AppsWindowsShownParams, AppsWindowsShownResult, AppsWindowsUpdateAndReopenParams, AppsWindowsUpdateAndReopenResult, AppsWindowsUpdateStateParams, AppsWindowsUpdateStateResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioLevelsParams, AudioLevelsResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, AudioSetLevelsParams, AutomationScriptParams, AutomationScriptResult, BrowserCallError, BrowserCallParams, BrowserCallPhase, BrowserCallResult, BrowserClientInstance, BrowserDisconnectParams, BrowserDisconnectResult, BrowserInvokeEvent, BrowserKind, BrowserLogMessage, BrowserLogParams, BrowserLogResult, BrowserPairCodeParams, BrowserPairCodeResult, BrowserPairRequest, BrowserPairResetParams, BrowserPairResult, BrowserProgressEvent, BrowserProgressParams, BrowserProgressResult, BrowserRegisterParams, BrowserRegisterResult, BrowserResetCountersParams, BrowserResetCountersResult, BrowserResultParams, BrowserResultResult, BrowserSession, BrowserSessionState, BrowserSessionsChangedEvent, BrowserSessionsParams, BrowserSessionsResult, BrowserSetEnabledParams, BrowserSetEnabledResult, BrowserToolMetric, BrowserToolMetricsParams, BrowserToolMetricsResult, CONTRACT_SHA256, CalendarCreateParams, CalendarCreateResult, CalendarEvent, CalendarListParams, CalendarListResult, type CatalogTool, type CellState, ChatAppGroup, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatParent, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingAccountContinueParams, CodingAccountContinueResult, CodingAccountUsage, CodingActiveElsewhere, CodingActivityParams, CodingActivityResult, CodingAgentSelectionParams, CodingAgentSetParams, CodingAgentSetResult, CodingAgentsAccessParams, CodingAgentsAccessResult, CodingChangedEvent, CodingChatPreference, CodingClientRequestId, CodingContinueTarget, CodingDiscoverParams, CodingDiscoverResult, CodingDiscoveredChat, CodingFolderCheck, CodingFoldersCheckParams, CodingFoldersCheckResult, CodingFoldersCreateParams, CodingFoldersCreateResult, CodingFoldersRecentParams, CodingFoldersRecentResult, CodingGapEvent, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryParams, CodingHistoryProgressEvent, CodingHistoryRecord, CodingHistoryResult, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingItemEvent, CodingItemFullParams, CodingItemFullResult, CodingOptionsSetParams, CodingOptionsSetResult, CodingPlanMissingParams, CodingPrefsListParams, CodingPrefsListResult, CodingPrefsSetParams, CodingPrefsSetResult, CodingProviderAccount, CodingProviderBinary, CodingProviderName, CodingProviderProblem, CodingProviderStatus, CodingProvidersParams, CodingProvidersResult, CodingQuotaWindow, CodingRecentFolder, CodingRecentRow, CodingRecentSeenParams, CodingRecentSeenResult, CodingReconcileParams, CodingReconcileResult, CodingRunRecord, CodingRunStatus, CodingRunUsage, CodingRunsListParams, CodingRunsListResult, CodingSearchHit, CodingSearchParams, CodingSearchResult, CodingSendParams, CodingSendResult, CodingServiceCredentials, CodingServiceProgress, CodingSessionAgent, CodingSessionAgentPart, CodingSessionRecord, CodingSessionWatchParams, CodingSessionWatchResult, CodingSessionsListParams, CodingSessionsListResult, CodingStartParams, CodingStartResult, CodingStartedBy, CodingStopElsewhereParams, CodingStopElsewhereResult, CodingStopParams, CodingStopResult, CodingTakeoverParams, CodingTakeoverResult, CodingTitleStatus, CodingTitlesStatusParams, CodingTitlesStatusResult, CodingTranscriptItem, CodingTranscriptRawParams, CodingTranscriptRawResult, CodingTranscriptReadParams, CodingTranscriptReadResult, CodingWatchParams, CodingWatchResult, CodingWatchStateEvent, ColdChat, ContactDetail, ContactLabeled, ContactSummary, ContactsGetParams, ContactsGetResult, ContactsSearchParams, ContactsSearchResult, ContractHash, CopiedChat, CopyReopened, CopyRestart, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DISCOVERY_FILE, DOCUMENTS_MAX_TEXT_CHARS, DesktopHealth, DeviceId, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, DocumentsImageResizeParams, DocumentsImageResizeResult, DocumentsOcrLine, DocumentsOcrParams, DocumentsOcrResult, DocumentsOfficeGenerateParams, DocumentsOfficeGenerateResult, DocumentsParagraph, DocumentsPdfPage, DocumentsPdfTextParams, DocumentsPdfTextResult, DocumentsSheet, EXCLUDED_TOOLS, EntitiesNerParams, EntitiesNerResult, EntitiesPiiParams, EntitiesPiiResult, EntitySpan, ExecCwdEvent, ExecExitedEvent, ExecJobId, ExecJobInfo, ExecJobListParams, ExecJobListResult, ExecJobOutputParams, ExecJobOutputResult, ExecJobStartParams, ExecJobStartResult, ExecJobStopParams, ExecJobStopResult, ExecListParams, ExecListResult, ExecPtyKillParams, ExecPtyKillResult, ExecPtyResizeParams, ExecPtyResizeResult, ExecPtySignalParams, ExecPtySignalResult, ExecPtyStartParams, ExecPtyStartResult, ExecPtyWriteParams, ExecPtyWriteResult, ExecRunParams, ExecRunResult, ExecTitleEvent, FIELDS_SINCE, type FieldsSincePath, FrameHeader, FsChange, FsChangedEvent, FsCopyParams, FsCopyResult, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsInfoParams, FsInfoResult, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchIndexParams, FsSearchIndexResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, GIT_MAX_OUTPUT_CHARS, GitAddParams, GitBranchParams, GitBranchResult, GitCloneParams, GitCommitParams, GitCommitResult, GitDiffParams, GitDiffResult, GitLogCommit, GitLogParams, GitLogResult, GitOutputResult, GitPullParams, GitPushParams, GitStashParams, GitStatusFile, GitStatusParams, GitStatusResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputKeyboardSettingsParams, InputKeyboardSettingsResult, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputSetKeyboardSettingsParams, InputTypeTextParams, InputTypeTextResult, InstanceStatus, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, LocationGetParams, LocationGetResult, MATRX_EXTENSION_IDS, MailAccount, MailAccountsParams, MailAccountsResult, MailListParams, MailListResult, MailMessage, MailSendParams, MailSendResult, MessagesChat, MessagesChatsParams, MessagesChatsResult, MessagesListParams, MessagesListResult, MessagesMessage, MessagesSendParams, MessagesSendResult, NULL_SINCE, NetAddress, NetBluetoothDevice, NetBluetoothParams, NetBluetoothResult, NetDevice, NetDevicesParams, NetDevicesResult, NetDownloadParams, NetDownloadResult, NetInfoParams, NetInfoResult, NetInterface, NetMdnsParams, NetMdnsResult, NetMdnsService, NetScanParams, NetScanResult, NetWifiNetwork, NetWifiParams, NetWifiResult, NoteEntry, NotesFolder, NotesFoldersParams, NotesFoldersResult, NotesListParams, NotesListResult, NotesMatch, NotesReadParams, NotesReadResult, NotesSearchParams, NotesSearchResult, NotesWriteParams, NotesWriteResult, OpName, OsGrantState, OsPermissionName, OsRequirementName, OutlookAccount, OutlookDraftParams, OutlookDraftResult, OutlookListParams, OutlookListResult, OutlookMessage, OutlookReadParams, OutlookReadResult, OutlookStatusParams, OutlookStatusResult, PERMISSIONS_SINCE, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, Photo, PhotosGetParams, PhotosGetResult, PhotosSearchParams, PhotosSearchResult, PiiKind, PowerEnergy, PowerHistoryParams, PowerHistoryPoint, PowerHistoryResult, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProbeFact, ProbeSource, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMoveOutcome, ProjectMovePin, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RegistryValue, RegistryValueType, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, Reminder, RemindersCreateParams, RemindersCreateResult, RemindersListParams, RemindersListResult, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScheduleCancelParams, ScheduleCancelResult, ScheduleCreateParams, ScheduleCreateResult, ScheduleListParams, ScheduleListResult, ScheduleRun, ScheduledTask, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionIdentifyParams, SessionIdentifyResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendDay, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, StaleTitleWindow, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SysinfoGraphicsAdapter, SysinfoHardwareParams, SysinfoHardwareResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenSettingsParams, SystemOpenSettingsResult, SystemOpenUrlParams, SystemOpenUrlResult, SystemSettingsPane, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, TitleCopies, TitleMismatch, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsParseFile, ToolsServiceProgress, ToolsWebBrowserFetchParams, ToolsWebBrowserFetchResult, ToolsWebScrapePage, ToolsWebScrapeParams, ToolsWebScrapeResult, ToolsWebSearchParams, VERSIONED_RESULT_OPS, VaultFieldSummary, VaultItemKind, VaultItemSummary, WEB_MAX_TEXT_CHARS, WebAttachTarget, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebLand, WebLogCaller, WebLogClearParams, WebLogClearResult, WebLogEntry, WebLogListParams, WebLogListResult, WebLogResult, WebLogVia, WebNotSavedReason, WebOutboxDiscardParams, WebOutboxDiscardResult, WebOutboxItem, WebOutboxListParams, WebOutboxListResult, WebOutboxRetryParams, WebOutboxRetryResult, WebProgressEvent, WebResearchFetchParams, WebResearchFetchResult, WebResearchItem, WebResearchItemState, WebResearchQueueParams, WebResearchQueueResult, WebRuntimeParams, WebRuntimeState, WebRuntimeStateName, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WebSourceNotice, WebSourceState, WindowFocusParams, WindowFocusResult, WindowGroup, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, WindowRemoteControl, WindowsEvent, WindowsEventLogParams, WindowsEventLogResult, WindowsFeature, WindowsFeaturesParams, WindowsFeaturesResult, WindowsRegistryReadParams, WindowsRegistryReadResult, WindowsRegistryWriteParams, WindowsRegistryWriteResult, WindowsService, WindowsServiceControlParams, WindowsServiceControlResult, WindowsServicesParams, WindowsServicesResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, isInconclusive, knows, negotiate, nonNegInt, refusedOps, renderToolStatusMarkdown, sharedOpsBlocking, statusForPeer, toolsSending, u32, versionSubprotocol };
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { z } from "zod";
3
3
  import { UUID_SHAPE_PATTERN } from "@ai-matrx/kit/uuid";
4
4
  var PROTOCOL_MAJOR = 1;
5
- var PROTOCOL_MINOR = 58;
5
+ var PROTOCOL_MINOR = 60;
6
6
  var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
7
7
  var ProtocolVersion = z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
8
8
  var RequestId = z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
@@ -1311,6 +1311,8 @@ var ChatAppProject = z13.strictObject({
1311
1311
  name: z13.string().max(200)
1312
1312
  });
1313
1313
  var ChatTitleSource = z13.enum(["app", "app-remembered", "custom-title", "ai-title", "agent-name", "summary", "first-prompt", "last-prompt"]);
1314
+ var ChatAppGroup = z13.strictObject({ window: ChatPlace, group_id: z13.string().max(120), name: z13.string().max(200) });
1315
+ var ChatParent = z13.strictObject({ id: ChatId, how: z13.enum(["spawned", "dispatched", "forked"]), title: z13.string().max(1e3).nullable() });
1314
1316
  var ChatRow = z13.strictObject({
1315
1317
  id: ChatId,
1316
1318
  /** The short id people see (the listing's first 8 characters). */
@@ -1352,7 +1354,15 @@ var ChatRow = z13.strictObject({
1352
1354
  /** 1.14: the person's rename inside Matrx (Coding Sessions), applied once by the row builder; absent = none. */
1353
1355
  title_override: z13.string().min(1).max(300).optional(),
1354
1356
  /** 1.15: the app itself archived it (hidden_in says where and why, in words for people; this is the typed fact). */
1355
- archived: z13.boolean().optional()
1357
+ archived: z13.boolean().optional(),
1358
+ /** 1.59: the coding session Matrx itself drives this chat in (the one chat, whether it runs in the app or in Matrx); absent = none. */
1359
+ session_id: z13.string().max(80).optional(),
1360
+ /** 1.59: the app's own groups it is filed in, per instance, as the app keeps them (never merged into the person's projects). */
1361
+ app_groups: z13.array(ChatAppGroup).max(200).optional(),
1362
+ /** 1.59: the chat it came from (nesting): an agent's chat that spawned it, dispatched it, or that it was forked from. */
1363
+ parent: ChatParent.optional(),
1364
+ /** 1.59: earlier sessions of this same chat (the app continued it under new session ids). */
1365
+ prior_sessions: z13.array(ChatId).max(50).optional()
1356
1366
  });
1357
1367
  var ChatFamily = z13.strictObject({
1358
1368
  id: ChatId,
@@ -1858,6 +1868,15 @@ var CopiedChat = z14.strictObject({
1858
1868
  state: z14.enum(["verified", "queued", "failed"]),
1859
1869
  reason: z14.string().max(400).nullable()
1860
1870
  });
1871
+ var CopyReopened = z14.strictObject({ window: ChatPlace, ok: z14.boolean(), reason: z14.string().max(400).nullable() });
1872
+ var CopyRestart = z14.strictObject({
1873
+ asked: z14.enum(["queued", "restart_verify"]),
1874
+ done: z14.enum(["queued", "restart_verify"]),
1875
+ windows: z14.array(ChatPlace).max(2),
1876
+ reason: z14.string().max(400).nullable(),
1877
+ /** 1.60: each closed window's reopen outcome (absent from a 1.59 core, and when no window was closed): `ok: false` is a window that did not come back. */
1878
+ reopened: z14.array(CopyReopened).max(2).optional()
1879
+ });
1861
1880
  var AppsChatsCopyToAccountResult = z14.strictObject({
1862
1881
  message: z14.string().max(400),
1863
1882
  origin: ChatPlace,
@@ -1873,7 +1892,7 @@ var AppsChatsCopyToAccountResult = z14.strictObject({
1873
1892
  queued: z14.number().int().nonnegative(),
1874
1893
  failed: z14.number().int().nonnegative(),
1875
1894
  /** What the restart choice did: "restart_verify" closed and reopened `windows`; a fall back to "queued" says why. */
1876
- restart: z14.strictObject({ asked: z14.enum(["queued", "restart_verify"]), done: z14.enum(["queued", "restart_verify"]), windows: z14.array(ChatPlace).max(2), reason: z14.string().max(400).nullable() })
1895
+ restart: CopyRestart
1877
1896
  });
1878
1897
 
1879
1898
  // src/schema/apps-instances.ts
@@ -4830,6 +4849,8 @@ var SERVICES = {
4830
4849
  }
4831
4850
  };
4832
4851
  var NAMED_SCHEMAS = {
4852
+ ChatAppGroup,
4853
+ ChatParent,
4833
4854
  AppsWindowsSetAccountParams,
4834
4855
  AppsWindowsForgetParams,
4835
4856
  ProbeFact,
@@ -5300,6 +5321,8 @@ var NAMED_SCHEMAS = {
5300
5321
  AppsWindowsSetRemoteControlResult,
5301
5322
  AppsChatsCopyToAccountParams,
5302
5323
  CopiedChat,
5324
+ CopyReopened,
5325
+ CopyRestart,
5303
5326
  AppsChatsCopyToAccountResult,
5304
5327
  AccountUsage,
5305
5328
  AccountReset,
@@ -5652,7 +5675,7 @@ var FIELDS_SINCE = {
5652
5675
  AppsChatsListResult: { updating: "1.9", live: "1.9", families: "1.10" },
5653
5676
  AppsAccountsUsageResult: { problem: "1.12" },
5654
5677
  AppsAccountsResetsResult: { problem: "1.12" },
5655
- ChatRow: { app_project: "1.13", tokens: "1.13", original_title: "1.14", title_source: "1.14", title_override: "1.14", archived: "1.15" },
5678
+ ChatRow: { app_project: "1.13", tokens: "1.13", original_title: "1.14", title_source: "1.14", title_override: "1.14", archived: "1.15", session_id: "1.59", app_groups: "1.59", parent: "1.59", prior_sessions: "1.59" },
5656
5679
  AccountUsage: { plan: "1.13", credits: "1.13", five_hour_resets_by_ms: "1.25" },
5657
5680
  ResourcesDisk: { name: "1.17" },
5658
5681
  StackServer: { cpu_percent: "1.18", memory_bytes: "1.18" },
@@ -5674,7 +5697,8 @@ var FIELDS_SINCE = {
5674
5697
  "SysinfoGetResult.permissions[]": { detail: "1.41" },
5675
5698
  MessagesSendParams: { service: "1.42" },
5676
5699
  SysinfoHardwareResult: { graphics: "1.45" },
5677
- DownloadRow: { error: "1.46" }
5700
+ DownloadRow: { error: "1.46" },
5701
+ CopyRestart: { reopened: "1.60" }
5678
5702
  };
5679
5703
  var NULL_SINCE = {
5680
5704
  "RelayDeviceStatusEvent.since_ms": { since: "1.1", olderPeersGet: 0 }
@@ -5779,6 +5803,8 @@ var NESTED_RESULTS = /* @__PURE__ */ new Map([
5779
5803
  ["sysinfo.get", [["permissions", "SysinfoGetResult.permissions[]"]]],
5780
5804
  ["models.downloads.list", [["downloads", "DownloadRow"]]],
5781
5805
  ["apps.projects.to_window", [["group", "ProjectMoveGroup"]]],
5806
+ // 1.60: each closed window's reopen outcome in a restart_verify copy.
5807
+ ["apps.chats.copy_to_account", [["restart", "CopyRestart"]]],
5782
5808
  ["apps.windows.list", [["windows", "AppWindowInfo"]]],
5783
5809
  ["apps.windows.set_remote_control", [["remote_control", "WindowRemoteControl"]]],
5784
5810
  ["coding.providers", [["providers", "CodingProviderStatus"]]],
@@ -5894,7 +5920,7 @@ function forPeer(op, part, value, version) {
5894
5920
  var VERSIONED_RESULT_OPS = [.../* @__PURE__ */ new Set([...RESULT_PATH.keys(), ...WINDOW_RESULTS.keys(), ...NESTED_RESULTS.keys()])];
5895
5921
 
5896
5922
  // src/contract.ts
5897
- var CONTRACT_SHA256 = "7ae1c4d73fc6e9e7bc5b579551dde61d0aa8a786b30247b852beb7c1065e828d";
5923
+ var CONTRACT_SHA256 = "36fbca871e9773bc8f5310fb3d258c4b04d73c4fd17f3af8e9555ce3b4e67871";
5898
5924
 
5899
5925
  // src/close-policy.ts
5900
5926
  var CLOSE_RULES = {
@@ -6474,11 +6500,13 @@ export {
6474
6500
  CancelMsg,
6475
6501
  CatalogFile,
6476
6502
  CatalogModelEntry,
6503
+ ChatAppGroup,
6477
6504
  ChatAppProject,
6478
6505
  ChatFamily,
6479
6506
  ChatHidden,
6480
6507
  ChatId,
6481
6508
  ChatLastUse,
6509
+ ChatParent,
6482
6510
  ChatPin,
6483
6511
  ChatPlace,
6484
6512
  ChatProject,
@@ -6604,6 +6632,8 @@ export {
6604
6632
  ContactsSearchResult,
6605
6633
  ContractHash,
6606
6634
  CopiedChat,
6635
+ CopyReopened,
6636
+ CopyRestart,
6607
6637
  CoreToClientMsg,
6608
6638
  CoreToServiceMsg,
6609
6639
  CreditMsg,