@ai-matrx/desktop-protocol 0.21.3 → 0.21.4

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-C98SDul-.js';
3
- export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as ClientToCoreMsg, e as ClientType, k as CloseAction, l as CloseCode, m as CloseCodeValue, C as CloseOutcome, n as CloseRule, o as CoreToClientMsg, p as CreditMsg, D as DesktopProtocolError, d as EVENTS, q as EndMsg, E as EndReason, r as ErrorCode, s as ErrorCodeName, t as ErrorData, u as ErrorMsg, v as ErrorReason, w as ErrorReasonName, x as EventMsg, y as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, z as MlInstallPhase, A as MlInstallProgress, f as MlProgress, G as MlRuntimeState, I as MlServiceState, J as MlServiceStatus, K as MlStatusParams, N as MlStatusResult, P as ModelsInstallParams, Q as ModelsInstallResult, R as ModelsProgressEvent, U as ModelsStatusParams, V as ModelsStatusResult, X as ModelsTranscribeParams, M as ModelsTranscribeResult, Y as NAMED_SCHEMAS, Z as NamedSchemaId, c as OPS, _ as OpDescriptor, a as OpParams, b as OpResult, $ as OpSpec, a0 as PING_TEXT, a1 as PONG_TEXT, a2 as ProtocolErrorBody, a3 as RelayMsg, a4 as RequestMsg, a5 as ResponseMsg, a6 as SERVICES, a7 as SUBPROTOCOL, a8 as ServiceId, a9 as ServiceOpName, aa as ServiceOpSpec, ab as ServiceSpec, S as StreamMeta, ac as StreamMsg, ad as TranscriptSegment, T as TranscriptionModelId, ae as TranscriptionModelInfo, W as Welcome, af as closeRule, i as isDesktopProtocolError, ag as isTerminalClose } from './models-C98SDul-.js';
2
+ import { O as OpName } from './models-i7KQcuyA.js';
3
+ export { B as BEARER_PREFIX, g as CLOSE_RULES, h as CancelMsg, j as ClientToCoreMsg, e as ClientType, k as CloseAction, l as CloseCode, m as CloseCodeValue, C as CloseOutcome, n as CloseRule, o as CoreToClientMsg, p as CreditMsg, D as DesktopProtocolError, d as EVENTS, q as EndMsg, E as EndReason, r as ErrorCode, s as ErrorCodeName, t as ErrorData, u as ErrorMsg, v as ErrorReason, w as ErrorReasonName, x as EventMsg, y as EventName, F as FsPatchEditFailure, H as HelloMsg, L as Limits, z as MlInstallPhase, A as MlInstallProgress, f as MlProgress, G as MlRuntimeState, I as MlServiceState, J as MlServiceStatus, K as MlStatusParams, N as MlStatusResult, P as ModelsInstallParams, Q as ModelsInstallResult, R as ModelsProgressEvent, U as ModelsStatusParams, V as ModelsStatusResult, X as ModelsTranscribeParams, M as ModelsTranscribeResult, Y as NAMED_SCHEMAS, Z as NamedSchemaId, c as OPS, _ as OpDescriptor, a as OpParams, b as OpResult, $ as OpSpec, a0 as PING_TEXT, a1 as PONG_TEXT, a2 as ProtocolErrorBody, a3 as RelayMsg, a4 as RequestMsg, a5 as ResponseMsg, a6 as SERVICES, a7 as SUBPROTOCOL, a8 as ServiceId, a9 as ServiceOpName, aa as ServiceOpSpec, ab as ServiceSpec, S as StreamMeta, ac as StreamMsg, ad as TranscriptSegment, T as TranscriptionModelId, ae as TranscriptionModelInfo, W as Welcome, af as closeRule, i as isDesktopProtocolError, ag as isTerminalClose } from './models-i7KQcuyA.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. */
@@ -34,10 +34,12 @@ declare const PROTOCOL_MAJOR: 1;
34
34
  * them off other side windows where safe, optionally grouped in that window's sidebar.
35
35
  * 1.20 — the device's error ledger: diag.errors.list, diag.errors.report, event diag.errors.changed.
36
36
  * 1.21 — apps.windows.shown: what a window's sidebar draws right now (read-only), e.g. a project's group.
37
+ * 1.22 — git for agents (git.status/diff/log/add/commit/push/pull/branch/stash/clone, core `git`);
38
+ * the web from this computer (web.fetch/scrape/search/fetch_with_browser, the `tools` service).
37
39
  */
38
- declare const PROTOCOL_MINOR: 21;
40
+ declare const PROTOCOL_MINOR: 22;
39
41
  /** This package's version as the wire spells it ("major.minor"): hello, welcome, relay status. */
40
- declare const PROTOCOL_VERSION: "1.21";
42
+ declare const PROTOCOL_VERSION: "1.22";
41
43
  /** Internal building blocks — deliberately unnamed in $defs (inlined wherever used). */
42
44
  declare const u32: z.ZodInt;
43
45
  declare const nonNegInt: z.ZodInt;
@@ -2754,10 +2756,11 @@ declare const ServicePong: z.ZodObject<{
2754
2756
  declare const ServiceShutdown: z.ZodObject<{
2755
2757
  type: z.ZodLiteral<"shutdown">;
2756
2758
  }, z.core.$strict>;
2757
- /** Supervised Python services. `tools` joins when it is built. */
2759
+ /** Supervised Python services. */
2758
2760
  declare const ServiceName: z.ZodEnum<{
2759
2761
  ml: "ml";
2760
2762
  coding: "coding";
2763
+ tools: "tools";
2761
2764
  }>;
2762
2765
  type ServiceName = z.output<typeof ServiceName>;
2763
2766
  declare const CoreToServiceMsg: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2784,6 +2787,7 @@ declare const ServiceToCoreMsg: z.ZodDiscriminatedUnion<[z.ZodObject<{
2784
2787
  service: z.ZodEnum<{
2785
2788
  ml: "ml";
2786
2789
  coding: "coding";
2790
+ tools: "tools";
2787
2791
  }>;
2788
2792
  contract: z.ZodString;
2789
2793
  pid: z.ZodInt;
@@ -2877,6 +2881,7 @@ declare const ServiceWelcome: z.ZodObject<{
2877
2881
  service: z.ZodEnum<{
2878
2882
  ml: "ml";
2879
2883
  coding: "coding";
2884
+ tools: "tools";
2880
2885
  }>;
2881
2886
  contract: z.ZodString;
2882
2887
  pid: z.ZodInt;
@@ -3105,6 +3110,316 @@ declare const ClipboardWriteResult: z.ZodObject<{
3105
3110
  }, z.core.$strict>;
3106
3111
  type ClipboardWriteResult = z.output<typeof ClipboardWriteResult>;
3107
3112
 
3113
+ /**
3114
+ * @ai-matrx/desktop-protocol — cap git (SPEC §6): git operations for agents on the person's own
3115
+ * computer, the same set the cloud sandbox serves at /git/* (matrx-sandbox matrx_agent/api/git.py),
3116
+ * so an agent cannot tell a laptop from a sandbox (SPEC §6.1). The core runs the system `git`; a
3117
+ * computer without git answers PLATFORM_UNSUPPORTED. A git refusal (rejected push, conflict, nothing
3118
+ * to commit) is CONFLICT with git's own words as the message. Schema source: lint-enforced rules in
3119
+ * scripts/check-schema-source.mjs. Added in protocol 1.22.
3120
+ */
3121
+
3122
+ /** The longest output any git op returns; longer output is cut and says so (`truncated`). */
3123
+ declare const GIT_MAX_OUTPUT_CHARS: 262144;
3124
+ /** What any git op that only reports its output returns. */
3125
+ declare const GitOutputResult: z.ZodObject<{
3126
+ output: z.ZodString;
3127
+ truncated: z.ZodBoolean;
3128
+ }, z.core.$strict>;
3129
+ type GitOutputResult = z.output<typeof GitOutputResult>;
3130
+ declare const GitStatusParams: z.ZodObject<{
3131
+ cwd: z.ZodString;
3132
+ }, z.core.$strict>;
3133
+ type GitStatusParams = z.output<typeof GitStatusParams>;
3134
+ declare const GitStatusFile: z.ZodObject<{
3135
+ path: z.ZodString;
3136
+ index: z.ZodString;
3137
+ worktree: z.ZodString;
3138
+ }, z.core.$strict>;
3139
+ type GitStatusFile = z.output<typeof GitStatusFile>;
3140
+ declare const GitStatusResult: z.ZodObject<{
3141
+ branch: z.ZodNullable<z.ZodString>;
3142
+ upstream: z.ZodNullable<z.ZodString>;
3143
+ ahead: z.ZodInt;
3144
+ behind: z.ZodInt;
3145
+ files: z.ZodArray<z.ZodObject<{
3146
+ path: z.ZodString;
3147
+ index: z.ZodString;
3148
+ worktree: z.ZodString;
3149
+ }, z.core.$strict>>;
3150
+ clean: z.ZodBoolean;
3151
+ truncated: z.ZodBoolean;
3152
+ }, z.core.$strict>;
3153
+ type GitStatusResult = z.output<typeof GitStatusResult>;
3154
+ declare const GitDiffParams: z.ZodObject<{
3155
+ cwd: z.ZodString;
3156
+ path: z.ZodOptional<z.ZodString>;
3157
+ staged: z.ZodDefault<z.ZodBoolean>;
3158
+ }, z.core.$strict>;
3159
+ type GitDiffParams = z.output<typeof GitDiffParams>;
3160
+ declare const GitDiffResult: z.ZodObject<{
3161
+ diff: z.ZodString;
3162
+ truncated: z.ZodBoolean;
3163
+ }, z.core.$strict>;
3164
+ type GitDiffResult = z.output<typeof GitDiffResult>;
3165
+ declare const GitLogParams: z.ZodObject<{
3166
+ cwd: z.ZodString;
3167
+ limit: z.ZodDefault<z.ZodInt>;
3168
+ }, z.core.$strict>;
3169
+ type GitLogParams = z.output<typeof GitLogParams>;
3170
+ declare const GitLogCommit: z.ZodObject<{
3171
+ sha: z.ZodString;
3172
+ short: z.ZodString;
3173
+ author: z.ZodString;
3174
+ date: z.ZodString;
3175
+ subject: z.ZodString;
3176
+ }, z.core.$strict>;
3177
+ type GitLogCommit = z.output<typeof GitLogCommit>;
3178
+ declare const GitLogResult: z.ZodObject<{
3179
+ commits: z.ZodArray<z.ZodObject<{
3180
+ sha: z.ZodString;
3181
+ short: z.ZodString;
3182
+ author: z.ZodString;
3183
+ date: z.ZodString;
3184
+ subject: z.ZodString;
3185
+ }, z.core.$strict>>;
3186
+ }, z.core.$strict>;
3187
+ type GitLogResult = z.output<typeof GitLogResult>;
3188
+ declare const GitAddParams: z.ZodObject<{
3189
+ cwd: z.ZodString;
3190
+ paths: z.ZodArray<z.ZodString>;
3191
+ }, z.core.$strict>;
3192
+ type GitAddParams = z.output<typeof GitAddParams>;
3193
+ declare const GitCommitParams: z.ZodObject<{
3194
+ cwd: z.ZodString;
3195
+ message: z.ZodString;
3196
+ amend: z.ZodDefault<z.ZodBoolean>;
3197
+ author: z.ZodOptional<z.ZodString>;
3198
+ }, z.core.$strict>;
3199
+ type GitCommitParams = z.output<typeof GitCommitParams>;
3200
+ declare const GitCommitResult: z.ZodObject<{
3201
+ sha: z.ZodString;
3202
+ output: z.ZodString;
3203
+ truncated: z.ZodBoolean;
3204
+ }, z.core.$strict>;
3205
+ type GitCommitResult = z.output<typeof GitCommitResult>;
3206
+ declare const GitPushParams: z.ZodObject<{
3207
+ cwd: z.ZodString;
3208
+ remote: z.ZodDefault<z.ZodString>;
3209
+ branch: z.ZodOptional<z.ZodString>;
3210
+ force_with_lease: z.ZodDefault<z.ZodBoolean>;
3211
+ }, z.core.$strict>;
3212
+ type GitPushParams = z.output<typeof GitPushParams>;
3213
+ declare const GitPullParams: z.ZodObject<{
3214
+ cwd: z.ZodString;
3215
+ remote: z.ZodDefault<z.ZodString>;
3216
+ branch: z.ZodOptional<z.ZodString>;
3217
+ rebase: z.ZodDefault<z.ZodBoolean>;
3218
+ }, z.core.$strict>;
3219
+ type GitPullParams = z.output<typeof GitPullParams>;
3220
+ declare const GitBranchParams: z.ZodObject<{
3221
+ cwd: z.ZodString;
3222
+ action: z.ZodEnum<{
3223
+ create: "create";
3224
+ list: "list";
3225
+ delete: "delete";
3226
+ switch: "switch";
3227
+ }>;
3228
+ name: z.ZodOptional<z.ZodString>;
3229
+ }, z.core.$strict>;
3230
+ type GitBranchParams = z.output<typeof GitBranchParams>;
3231
+ declare const GitBranchResult: z.ZodObject<{
3232
+ current: z.ZodNullable<z.ZodString>;
3233
+ branches: z.ZodArray<z.ZodString>;
3234
+ output: z.ZodString;
3235
+ truncated: z.ZodBoolean;
3236
+ }, z.core.$strict>;
3237
+ type GitBranchResult = z.output<typeof GitBranchResult>;
3238
+ declare const GitStashParams: z.ZodObject<{
3239
+ cwd: z.ZodString;
3240
+ action: z.ZodEnum<{
3241
+ list: "list";
3242
+ push: "push";
3243
+ pop: "pop";
3244
+ drop: "drop";
3245
+ }>;
3246
+ message: z.ZodOptional<z.ZodString>;
3247
+ }, z.core.$strict>;
3248
+ type GitStashParams = z.output<typeof GitStashParams>;
3249
+ declare const GitCloneParams: z.ZodObject<{
3250
+ url: z.ZodString;
3251
+ dest: z.ZodString;
3252
+ branch: z.ZodOptional<z.ZodString>;
3253
+ depth: z.ZodOptional<z.ZodInt>;
3254
+ }, z.core.$strict>;
3255
+ type GitCloneParams = z.output<typeof GitCloneParams>;
3256
+
3257
+ /**
3258
+ * @ai-matrx/desktop-protocol — cap web (SPEC §3.10, §6): fetch, scrape, search and browser-fetch
3259
+ * from the person's own computer, on its own network and IP. Served by the `tools` Python service,
3260
+ * which runs the platform's one scraper (`matrx_scraper`) in its local lane (no proxy, ever: the
3261
+ * point of the device lane is the person's own connection). The core forwards each Router op to its
3262
+ * service op (SERVICES.tools in registry.ts). Schema source: lint-enforced rules in
3263
+ * scripts/check-schema-source.mjs. Added in protocol 1.22.
3264
+ */
3265
+
3266
+ /** The most text any web op returns per page; longer text is cut and says so (`truncated`). */
3267
+ declare const WEB_MAX_TEXT_CHARS: 524288;
3268
+ declare const WebHeader: z.ZodObject<{
3269
+ name: z.ZodString;
3270
+ value: z.ZodString;
3271
+ }, z.core.$strict>;
3272
+ type WebHeader = z.output<typeof WebHeader>;
3273
+ declare const WebFetchParams: z.ZodObject<{
3274
+ url: z.ZodString;
3275
+ method: z.ZodDefault<z.ZodEnum<{
3276
+ GET: "GET";
3277
+ POST: "POST";
3278
+ PUT: "PUT";
3279
+ PATCH: "PATCH";
3280
+ DELETE: "DELETE";
3281
+ HEAD: "HEAD";
3282
+ OPTIONS: "OPTIONS";
3283
+ }>>;
3284
+ headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
3285
+ name: z.ZodString;
3286
+ value: z.ZodString;
3287
+ }, z.core.$strict>>>;
3288
+ body: z.ZodOptional<z.ZodString>;
3289
+ follow_redirects: z.ZodDefault<z.ZodBoolean>;
3290
+ timeout_s: z.ZodDefault<z.ZodInt>;
3291
+ }, z.core.$strict>;
3292
+ type WebFetchParams = z.output<typeof WebFetchParams>;
3293
+ declare const WebFetchResult: z.ZodObject<{
3294
+ status: z.ZodInt;
3295
+ reason: z.ZodString;
3296
+ url: z.ZodString;
3297
+ content_type: z.ZodNullable<z.ZodString>;
3298
+ headers: z.ZodArray<z.ZodObject<{
3299
+ name: z.ZodString;
3300
+ value: z.ZodString;
3301
+ }, z.core.$strict>>;
3302
+ body: z.ZodString;
3303
+ truncated: z.ZodBoolean;
3304
+ bytes: z.ZodInt;
3305
+ elapsed_ms: z.ZodInt;
3306
+ }, z.core.$strict>;
3307
+ type WebFetchResult = z.output<typeof WebFetchResult>;
3308
+ declare const WebScrapeParams: z.ZodObject<{
3309
+ urls: z.ZodArray<z.ZodString>;
3310
+ use_cache: z.ZodDefault<z.ZodBoolean>;
3311
+ get_links: z.ZodDefault<z.ZodBoolean>;
3312
+ }, z.core.$strict>;
3313
+ type WebScrapeParams = z.output<typeof WebScrapeParams>;
3314
+ declare const WebScrapePage: z.ZodObject<{
3315
+ url: z.ZodString;
3316
+ ok: z.ZodBoolean;
3317
+ status: z.ZodNullable<z.ZodInt>;
3318
+ title: z.ZodNullable<z.ZodString>;
3319
+ text: z.ZodString;
3320
+ truncated: z.ZodBoolean;
3321
+ links: z.ZodArray<z.ZodString>;
3322
+ error: z.ZodNullable<z.ZodString>;
3323
+ via: z.ZodNullable<z.ZodString>;
3324
+ }, z.core.$strict>;
3325
+ type WebScrapePage = z.output<typeof WebScrapePage>;
3326
+ declare const WebScrapeResult: z.ZodObject<{
3327
+ pages: z.ZodArray<z.ZodObject<{
3328
+ url: z.ZodString;
3329
+ ok: z.ZodBoolean;
3330
+ status: z.ZodNullable<z.ZodInt>;
3331
+ title: z.ZodNullable<z.ZodString>;
3332
+ text: z.ZodString;
3333
+ truncated: z.ZodBoolean;
3334
+ links: z.ZodArray<z.ZodString>;
3335
+ error: z.ZodNullable<z.ZodString>;
3336
+ via: z.ZodNullable<z.ZodString>;
3337
+ }, z.core.$strict>>;
3338
+ elapsed_ms: z.ZodInt;
3339
+ }, z.core.$strict>;
3340
+ type WebScrapeResult = z.output<typeof WebScrapeResult>;
3341
+ declare const WebSearchParams: z.ZodObject<{
3342
+ keywords: z.ZodArray<z.ZodString>;
3343
+ country: z.ZodDefault<z.ZodString>;
3344
+ count: z.ZodDefault<z.ZodInt>;
3345
+ freshness: z.ZodOptional<z.ZodEnum<{
3346
+ pd: "pd";
3347
+ pw: "pw";
3348
+ pm: "pm";
3349
+ py: "py";
3350
+ }>>;
3351
+ }, z.core.$strict>;
3352
+ type WebSearchParams = z.output<typeof WebSearchParams>;
3353
+ declare const WebSearchHit: z.ZodObject<{
3354
+ title: z.ZodString;
3355
+ url: z.ZodString;
3356
+ description: z.ZodString;
3357
+ }, z.core.$strict>;
3358
+ type WebSearchHit = z.output<typeof WebSearchHit>;
3359
+ declare const WebSearchQueryResult: z.ZodObject<{
3360
+ keyword: z.ZodString;
3361
+ hits: z.ZodArray<z.ZodObject<{
3362
+ title: z.ZodString;
3363
+ url: z.ZodString;
3364
+ description: z.ZodString;
3365
+ }, z.core.$strict>>;
3366
+ error: z.ZodNullable<z.ZodString>;
3367
+ }, z.core.$strict>;
3368
+ type WebSearchQueryResult = z.output<typeof WebSearchQueryResult>;
3369
+ declare const WebSearchResult: z.ZodObject<{
3370
+ queries: z.ZodArray<z.ZodObject<{
3371
+ keyword: z.ZodString;
3372
+ hits: z.ZodArray<z.ZodObject<{
3373
+ title: z.ZodString;
3374
+ url: z.ZodString;
3375
+ description: z.ZodString;
3376
+ }, z.core.$strict>>;
3377
+ error: z.ZodNullable<z.ZodString>;
3378
+ }, z.core.$strict>>;
3379
+ elapsed_ms: z.ZodInt;
3380
+ }, z.core.$strict>;
3381
+ type WebSearchResult = z.output<typeof WebSearchResult>;
3382
+ /** The service op's params: the Router op's, plus the person's Brave key the core supplies (never a client). */
3383
+ declare const ToolsWebSearchParams: z.ZodObject<{
3384
+ keywords: z.ZodArray<z.ZodString>;
3385
+ country: z.ZodDefault<z.ZodString>;
3386
+ count: z.ZodDefault<z.ZodInt>;
3387
+ freshness: z.ZodOptional<z.ZodEnum<{
3388
+ pd: "pd";
3389
+ pw: "pw";
3390
+ pm: "pm";
3391
+ py: "py";
3392
+ }>>;
3393
+ brave_api_key: z.ZodNullable<z.ZodString>;
3394
+ }, z.core.$strict>;
3395
+ type ToolsWebSearchParams = z.output<typeof ToolsWebSearchParams>;
3396
+ declare const WebBrowserFetchParams: z.ZodObject<{
3397
+ url: z.ZodString;
3398
+ wait_for: z.ZodOptional<z.ZodString>;
3399
+ wait_timeout_ms: z.ZodDefault<z.ZodInt>;
3400
+ extract_text: z.ZodDefault<z.ZodBoolean>;
3401
+ }, z.core.$strict>;
3402
+ type WebBrowserFetchParams = z.output<typeof WebBrowserFetchParams>;
3403
+ declare const WebBrowserFetchResult: z.ZodObject<{
3404
+ url: z.ZodString;
3405
+ status: z.ZodNullable<z.ZodInt>;
3406
+ title: z.ZodNullable<z.ZodString>;
3407
+ content: z.ZodString;
3408
+ truncated: z.ZodBoolean;
3409
+ elapsed_ms: z.ZodInt;
3410
+ }, z.core.$strict>;
3411
+ type WebBrowserFetchResult = z.output<typeof WebBrowserFetchResult>;
3412
+ /** The tools service's progress (one phase per long op). */
3413
+ declare const ToolsServiceProgress: z.ZodObject<{
3414
+ phase: z.ZodEnum<{
3415
+ installing: "installing";
3416
+ fetching: "fetching";
3417
+ }>;
3418
+ done: z.ZodInt;
3419
+ total: z.ZodInt;
3420
+ }, z.core.$strict>;
3421
+ type ToolsServiceProgress = z.output<typeof ToolsServiceProgress>;
3422
+
3108
3423
  /**
3109
3424
  * @ai-matrx/desktop-protocol — cap system (SPEC §6): open a link or a file the way the person's
3110
3425
  * computer would, and show a notification. Schema source: lint-enforced rules in
@@ -3297,6 +3612,7 @@ declare const InputKey: z.ZodEnum<{
3297
3612
  end: "end";
3298
3613
  n: "n";
3299
3614
  home: "home";
3615
+ delete: "delete";
3300
3616
  x: "x";
3301
3617
  y: "y";
3302
3618
  cmd: "cmd";
@@ -3343,7 +3659,6 @@ declare const InputKey: z.ZodEnum<{
3343
3659
  escape: "escape";
3344
3660
  space: "space";
3345
3661
  backspace: "backspace";
3346
- delete: "delete";
3347
3662
  up: "up";
3348
3663
  down: "down";
3349
3664
  left: "left";
@@ -3392,6 +3707,7 @@ declare const InputHotkeyParams: z.ZodObject<{
3392
3707
  end: "end";
3393
3708
  n: "n";
3394
3709
  home: "home";
3710
+ delete: "delete";
3395
3711
  x: "x";
3396
3712
  y: "y";
3397
3713
  cmd: "cmd";
@@ -3438,7 +3754,6 @@ declare const InputHotkeyParams: z.ZodObject<{
3438
3754
  escape: "escape";
3439
3755
  space: "space";
3440
3756
  backspace: "backspace";
3441
- delete: "delete";
3442
3757
  up: "up";
3443
3758
  down: "down";
3444
3759
  left: "left";
@@ -3475,6 +3790,7 @@ declare const InputHotkeyResult: z.ZodObject<{
3475
3790
  end: "end";
3476
3791
  n: "n";
3477
3792
  home: "home";
3793
+ delete: "delete";
3478
3794
  x: "x";
3479
3795
  y: "y";
3480
3796
  cmd: "cmd";
@@ -3521,7 +3837,6 @@ declare const InputHotkeyResult: z.ZodObject<{
3521
3837
  escape: "escape";
3522
3838
  space: "space";
3523
3839
  backspace: "backspace";
3524
- delete: "delete";
3525
3840
  up: "up";
3526
3841
  down: "down";
3527
3842
  left: "left";
@@ -4510,8 +4825,8 @@ type CodingServiceProgress = z.output<typeof CodingServiceProgress>;
4510
4825
  declare const CodingHistoryImportMissingResult: z.ZodObject<{
4511
4826
  state: z.ZodEnum<{
4512
4827
  cancelled: "cancelled";
4513
- blocked: "blocked";
4514
4828
  done: "done";
4829
+ blocked: "blocked";
4515
4830
  }>;
4516
4831
  blocked: z.ZodNullable<z.ZodEnum<{
4517
4832
  signed_out: "signed_out";
@@ -4674,7 +4989,7 @@ declare function forPeer(op: OpName | null, part: "error", value: unknown, versi
4674
4989
  declare const VERSIONED_RESULT_OPS: readonly OpName[];
4675
4990
 
4676
4991
  /** SHA-256 of generated/desktop-protocol.schema.json: the contract both sides of a service connection were built from. */
4677
- declare const CONTRACT_SHA256: "5745ca5b70c283eadfce68d0c66c06207405b60c7e112cb75aca7ff29b15d12e";
4992
+ declare const CONTRACT_SHA256: "ac2b599f9511abd871a7374e298fab94a25972512797689c8022da288a5f2e06";
4678
4993
 
4679
4994
  /**
4680
4995
  * The local tool catalog (SPEC §10): every tool a platform agent calls on a person's computer, the
@@ -4801,4 +5116,4 @@ declare function buildToolStatus(files: readonly unknown[], opts: {
4801
5116
  /** The committed text form. Columns: per platform, the three levels (P = programmatic, R = protocol, C = chat). */
4802
5117
  declare function renderToolStatusMarkdown(status: ToolStatus): string;
4803
5118
 
4804
- export { AbsPath, AccountReset, AccountUsage, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, 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, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, CONTRACT_SHA256, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ColdChat, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, EXCLUDED_TOOLS, 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, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, FsSearchPathsParams, FsSearchPathsResult, FsStatParams, FsStatResult, FsWatchEventsParams, FsWatchEventsResult, FsWatchId, FsWatchParams, FsWatchResult, FsWatchStartParams, FsWatchStartResult, FsWatchStopParams, FsWatchStopResult, FsWriteParams, FsWriteResult, InputHotkeyParams, InputHotkeyResult, InputKey, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenUrlParams, SystemOpenUrlResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, VERSIONED_RESULT_OPS, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };
5119
+ export { AbsPath, AccountReset, AccountUsage, AppFeatureStatus, AppInfo, AppKey, AppProfile, AppProfileId, AppProfileLocator, AppSupport, AppUsageReading, AppWindowInfo, AppsAccountsResetsParams, AppsAccountsResetsResult, AppsAccountsUsageParams, AppsAccountsUsageResult, AppsChatsChangedEvent, AppsChatsColdParams, AppsChatsColdResult, AppsChatsListParams, AppsChatsListResult, AppsChatsOpenParams, AppsChatsPlaceParams, AppsChatsPlaceResult, AppsChatsStarParams, AppsChatsStarResult, AppsChatsWatchParams, AppsChatsWatchResult, AppsChatsWatchStateEvent, 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, AppsWindowsListParams, AppsWindowsListResult, AppsWindowsOpenParams, AppsWindowsProcessesParams, AppsWindowsProcessesResult, AppsWindowsRefreshUsageParams, AppsWindowsReloadParams, AppsWindowsRestartParams, AppsWindowsSaveNamesParams, AppsWindowsShownParams, AppsWindowsShownResult, AudioDevice, AudioDevicesParams, AudioDevicesResult, AudioPlayParams, AudioPlayResult, AudioRecordParams, AudioRecordResult, CONTRACT_SHA256, type CatalogTool, type CellState, ChatAppProject, ChatFamily, ChatHidden, ChatId, ChatLastUse, ChatPin, ChatPlace, ChatProject, ChatProjectId, ChatRow, ChatRunning, ChatWindow, ClipboardReadParams, ClipboardReadResult, ClipboardWriteParams, ClipboardWriteResult, CodingHistoryBlocked, CodingHistoryFailure, CodingHistoryImportMissingParams, CodingHistoryImportMissingResult, CodingHistoryProgressEvent, CodingHistoryRun, CodingHistoryStep, CodingImportNextParams, CodingPlanMissingParams, CodingServiceCredentials, CodingServiceProgress, ColdChat, ContractHash, CoreToServiceMsg, DEFAULT_MAX_FRAME_PAYLOAD_BYTES, DEFAULT_MAX_MESSAGE_BYTES, DEFAULT_WINDOW_BYTES, DeviceId, DiagErrorEntry, DiagErrorKind, DiagErrorStatus, DiagErrorsChangedEvent, DiagErrorsListParams, DiagErrorsListResult, DiagErrorsReportParams, DiagErrorsReportResult, DiagProcess, EXCLUDED_TOOLS, 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, FsDeleteParams, FsDeleteResult, FsEncoding, FsEntry, FsKind, FsListParams, FsListResult, FsMkdirParams, FsMkdirResult, FsMoveParams, FsMoveResult, FsPatchEditApplied, FsPatchParams, FsPatchResult, FsReadParams, FsReadResult, FsReadStreamParams, FsReadStreamResult, FsSearchContentParams, FsSearchContentResult, 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, InputMouseClickParams, InputMouseClickResult, InputMouseMoveParams, InputMouseMoveResult, InputPoint, InputTypeTextParams, InputTypeTextResult, LEGACY_ACTIONS, LEGACY_DISPATCHERS, type LegacyDisposition, NULL_SINCE, OpName, OsPermissionName, PROTOCOL_MAJOR, PROTOCOL_MINOR, PROTOCOL_VERSION, PowerPreventSleepParams, PowerPreventSleepResult, PowerStatusParams, PowerStatusResult, ProcInfo, ProcKillParams, ProcKillResult, ProcListParams, ProcListResult, ProcPort, ProcPortsParams, ProcPortsResult, ProcSort, ProjectMoveChat, ProjectMoveGroup, ProjectMoveSkip, ProtocolVersion, PtyInfo, REASONS_SINCE, RELAY_CALL_HELLO_ID, RELAY_CALL_REQUEST_ID, RELAY_CALL_VERSION_HEADER, RelayAuthExpiringEvent, RelayCallEnvelope, RelayCallHello, RelayCallRequest, RelayCallResponse, RelayDeviceStatusEvent, RelayHopConnectionEnd, RelayHopEnvelopeHeader, RelayStatusResponse, RequestId, ResourceId, ResourceInfo, ResourcesActivityParams, ResourcesActivityResult, ResourcesDisk, ResourcesIncident, ResourcesIncidentsParams, ResourcesIncidentsResult, ResourcesJob, ResourcesJobKind, ResourcesPressure, ResourcesProcess, ResourcesSample, ResourcesSnapshotParams, ResourcesSnapshotResult, ResourcesStopJobParams, ResourcesStopJobResult, ResourcesStrain, ResourcesVerdict, SERVICE_MAX_FRAME_BYTES, ScreenCaptureParams, ScreenCaptureResult, ScreenDisplay, ScreenListParams, ScreenListResult, ServiceCancel, ServiceErrorMsg, ServiceHello, ServiceName, ServicePing, ServicePong, ServiceProgressMsg, ServiceRequest, ServiceResponse, ServiceShutdown, ServiceToCoreMsg, ServiceToken, ServiceWelcome, SessionAttachParams, SessionAttachResult, SessionControlChangedEvent, SessionDetachParams, SessionDetachResult, SessionListParams, SessionListResult, SessionReleaseParams, SessionReleaseResult, ShownSection, Signal, SpendAccount, SpendChat, SpendHelper, SpendIdle, SpendIdleScope, SpendLive, SpendModel, SpendScopes, SpendSplit, SpendStart, StackErrorsParams, StackErrorsResult, StackEvent, StackLogsParams, StackLogsResult, StackRunResult, StackServer, StackServerActionParams, StackServerActionResult, StackServerName, StackStartParams, StackStateParams, StackStateResult, StackStopParams, StackTone, type StatusCell, type StatusEvidence, type StatusRow, SysinfoGetParams, SysinfoGetResult, SystemNotifyParams, SystemNotifyResult, SystemOpenPathParams, SystemOpenPathResult, SystemOpenUrlParams, SystemOpenUrlResult, TOOL_CATALOG, TOOL_GROUPS, TOOL_LEVELS, TOOL_PLATFORMS, type ToolGroup, type ToolGroupId, ToolLevel, ToolLevelResult, ToolName, ToolOutcome, type ToolPath, ToolPlatform, ToolResultsFile, type ToolState, type ToolStatus, ToolTransport, ToolsServiceProgress, ToolsWebSearchParams, VERSIONED_RESULT_OPS, WEB_MAX_TEXT_CHARS, WebBrowserFetchParams, WebBrowserFetchResult, WebFetchParams, WebFetchResult, WebHeader, WebScrapePage, WebScrapeParams, WebScrapeResult, WebSearchHit, WebSearchParams, WebSearchQueryResult, WebSearchResult, WindowFocusParams, WindowFocusResult, WindowInfo, WindowListParams, WindowListResult, WindowMinimizeParams, WindowMinimizeResult, WindowMoveParams, WindowMoveResult, announcedVersion, buildToolStatus, builtOps, compareVersions, epochMs, forPeer, knows, negotiate, nonNegInt, renderToolStatusMarkdown, statusForPeer, u32, versionSubprotocol };