@ai-matrx/desktop-protocol 0.21.50 → 0.21.52

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.
@@ -711,7 +711,7 @@ type OpSpec = {
711
711
  readonly params: z.ZodType;
712
712
  readonly result: z.ZodType;
713
713
  readonly kind: "unary" | "stream" | "resource";
714
- readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55";
714
+ readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55" | "1.56";
715
715
  readonly errors: readonly z.infer<typeof ErrorCode>[];
716
716
  };
717
717
  declare const OPS: {
@@ -2580,6 +2580,52 @@ declare const OPS: {
2580
2580
  readonly since: "1.47";
2581
2581
  readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2582
2582
  };
2583
+ readonly "apps.windows.set_account": {
2584
+ readonly params: z.ZodObject<{
2585
+ app_key: z.ZodString;
2586
+ window: z.ZodString;
2587
+ email: z.ZodString;
2588
+ }, z.core.$strict>;
2589
+ readonly result: z.ZodObject<{
2590
+ message: z.ZodString;
2591
+ }, z.core.$strict>;
2592
+ readonly kind: "unary";
2593
+ readonly since: "1.56";
2594
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2595
+ };
2596
+ readonly "apps.windows.forget": {
2597
+ readonly params: z.ZodObject<{
2598
+ app_key: z.ZodString;
2599
+ window: z.ZodString;
2600
+ }, z.core.$strict>;
2601
+ readonly result: z.ZodObject<{
2602
+ message: z.ZodString;
2603
+ }, z.core.$strict>;
2604
+ readonly kind: "unary";
2605
+ readonly since: "1.56";
2606
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2607
+ };
2608
+ readonly "apps.chats.probe": {
2609
+ readonly params: z.ZodObject<{
2610
+ app_key: z.ZodString;
2611
+ chat_id: z.ZodString;
2612
+ }, z.core.$strict>;
2613
+ readonly result: z.ZodObject<{
2614
+ app_key: z.ZodString;
2615
+ chat_id: z.ZodString;
2616
+ sources: z.ZodArray<z.ZodObject<{
2617
+ source: z.ZodString;
2618
+ instance: z.ZodNullable<z.ZodString>;
2619
+ facts: z.ZodArray<z.ZodObject<{
2620
+ key: z.ZodString;
2621
+ value: z.ZodString;
2622
+ }, z.core.$strict>>;
2623
+ }, z.core.$strict>>;
2624
+ }, z.core.$strict>;
2625
+ readonly kind: "unary";
2626
+ readonly since: "1.56";
2627
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2628
+ };
2583
2629
  readonly "apps.projects.move": {
2584
2630
  readonly params: z.ZodObject<{
2585
2631
  app_key: z.ZodString;
@@ -4510,8 +4556,50 @@ declare const OPS: {
4510
4556
  accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
4511
4557
  id: z.ZodString;
4512
4558
  label: z.ZodString;
4559
+ ready: z.ZodOptional<z.ZodBoolean>;
4560
+ lastProblem: z.ZodOptional<z.ZodObject<{
4561
+ kind: z.ZodEnum<{
4562
+ "usage-limit": "usage-limit";
4563
+ "signed-out": "signed-out";
4564
+ }>;
4565
+ message: z.ZodString;
4566
+ until: z.ZodNullable<z.ZodString>;
4567
+ at: z.ZodString;
4568
+ }, z.core.$strict>>;
4569
+ problem: z.ZodOptional<z.ZodString>;
4570
+ fix: z.ZodOptional<z.ZodString>;
4571
+ usage: z.ZodOptional<z.ZodObject<{
4572
+ windows: z.ZodArray<z.ZodObject<{
4573
+ label: z.ZodString;
4574
+ usedPercent: z.ZodNullable<z.ZodNumber>;
4575
+ resetsAt: z.ZodNullable<z.ZodString>;
4576
+ valueLabel: z.ZodNullable<z.ZodString>;
4577
+ }, z.core.$strict>>;
4578
+ status: z.ZodNullable<z.ZodString>;
4579
+ resetsAt: z.ZodNullable<z.ZodString>;
4580
+ at: z.ZodString;
4581
+ }, z.core.$strict>>;
4582
+ continueOn: z.ZodOptional<z.ZodObject<{
4583
+ accountId: z.ZodNullable<z.ZodString>;
4584
+ label: z.ZodString;
4585
+ }, z.core.$strict>>;
4513
4586
  }, z.core.$strict>>>;
4514
4587
  accountsProblem: z.ZodOptional<z.ZodString>;
4588
+ usage: z.ZodOptional<z.ZodObject<{
4589
+ windows: z.ZodArray<z.ZodObject<{
4590
+ label: z.ZodString;
4591
+ usedPercent: z.ZodNullable<z.ZodNumber>;
4592
+ resetsAt: z.ZodNullable<z.ZodString>;
4593
+ valueLabel: z.ZodNullable<z.ZodString>;
4594
+ }, z.core.$strict>>;
4595
+ status: z.ZodNullable<z.ZodString>;
4596
+ resetsAt: z.ZodNullable<z.ZodString>;
4597
+ at: z.ZodString;
4598
+ }, z.core.$strict>>;
4599
+ continueOn: z.ZodOptional<z.ZodObject<{
4600
+ accountId: z.ZodNullable<z.ZodString>;
4601
+ label: z.ZodString;
4602
+ }, z.core.$strict>>;
4515
4603
  }, z.core.$strict>>;
4516
4604
  }, z.core.$strict>;
4517
4605
  readonly kind: "unary";
@@ -4575,6 +4663,7 @@ declare const OPS: {
4575
4663
  replaces: z.ZodNullable<z.ZodString>;
4576
4664
  }, z.core.$strict>>;
4577
4665
  agentRemovedDue: z.ZodBoolean;
4666
+ accountId: z.ZodOptional<z.ZodString>;
4578
4667
  }, z.core.$strict>>;
4579
4668
  runs: z.ZodRecord<z.ZodString, z.ZodObject<{
4580
4669
  runId: z.ZodString;
@@ -4648,6 +4737,7 @@ declare const OPS: {
4648
4737
  }>;
4649
4738
  label: z.ZodString;
4650
4739
  }, z.core.$strict>>;
4740
+ accountId: z.ZodOptional<z.ZodString>;
4651
4741
  }, z.core.$strict>>;
4652
4742
  title_status: z.ZodObject<{
4653
4743
  owner: z.ZodBoolean;
@@ -4701,6 +4791,7 @@ declare const OPS: {
4701
4791
  message: z.ZodString;
4702
4792
  pid: z.ZodNullable<z.ZodInt>;
4703
4793
  }, z.core.$strict>>;
4794
+ accountId: z.ZodOptional<z.ZodString>;
4704
4795
  }, z.core.$strict>>;
4705
4796
  }, z.core.$strict>;
4706
4797
  readonly kind: "unary";
@@ -5042,6 +5133,7 @@ declare const OPS: {
5042
5133
  replaces: z.ZodNullable<z.ZodString>;
5043
5134
  }, z.core.$strict>>;
5044
5135
  agentRemovedDue: z.ZodBoolean;
5136
+ accountId: z.ZodOptional<z.ZodString>;
5045
5137
  }, z.core.$strict>;
5046
5138
  run: z.ZodNullable<z.ZodObject<{
5047
5139
  runId: z.ZodString;
@@ -5162,6 +5254,7 @@ declare const OPS: {
5162
5254
  replaces: z.ZodNullable<z.ZodString>;
5163
5255
  }, z.core.$strict>>;
5164
5256
  agentRemovedDue: z.ZodBoolean;
5257
+ accountId: z.ZodOptional<z.ZodString>;
5165
5258
  }, z.core.$strict>;
5166
5259
  }, z.core.$strict>;
5167
5260
  readonly kind: "unary";
@@ -5229,6 +5322,7 @@ declare const OPS: {
5229
5322
  replaces: z.ZodNullable<z.ZodString>;
5230
5323
  }, z.core.$strict>>;
5231
5324
  agentRemovedDue: z.ZodBoolean;
5325
+ accountId: z.ZodOptional<z.ZodString>;
5232
5326
  }, z.core.$strict>;
5233
5327
  run: z.ZodNullable<z.ZodObject<{
5234
5328
  runId: z.ZodString;
@@ -5408,12 +5502,127 @@ declare const OPS: {
5408
5502
  replaces: z.ZodNullable<z.ZodString>;
5409
5503
  }, z.core.$strict>>;
5410
5504
  agentRemovedDue: z.ZodBoolean;
5505
+ accountId: z.ZodOptional<z.ZodString>;
5411
5506
  }, z.core.$strict>;
5412
5507
  }, z.core.$strict>;
5413
5508
  readonly kind: "unary";
5414
5509
  readonly since: "1.38";
5415
5510
  readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
5416
5511
  };
5512
+ readonly "coding.account.continue": {
5513
+ readonly params: z.ZodObject<{
5514
+ session_id: z.ZodString;
5515
+ account_profile_id: z.ZodOptional<z.ZodString>;
5516
+ client_request_id: z.ZodString;
5517
+ }, z.core.$strict>;
5518
+ readonly result: z.ZodObject<{
5519
+ session: z.ZodObject<{
5520
+ id: z.ZodString;
5521
+ provider: z.ZodEnum<{
5522
+ claude: "claude";
5523
+ codex: "codex";
5524
+ }>;
5525
+ providerSessionId: z.ZodNullable<z.ZodString>;
5526
+ cwd: z.ZodString;
5527
+ title: z.ZodString;
5528
+ model: z.ZodNullable<z.ZodString>;
5529
+ effort: z.ZodNullable<z.ZodString>;
5530
+ origin: z.ZodEnum<{
5531
+ started: "started";
5532
+ takeover: "takeover";
5533
+ }>;
5534
+ createdAt: z.ZodString;
5535
+ updatedAt: z.ZodString;
5536
+ lastRunId: z.ZodNullable<z.ZodString>;
5537
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
5538
+ completed: "completed";
5539
+ running: "running";
5540
+ failed: "failed";
5541
+ stopped: "stopped";
5542
+ starting: "starting";
5543
+ }>>;
5544
+ queued: z.ZodArray<z.ZodString>;
5545
+ agent: z.ZodNullable<z.ZodObject<{
5546
+ agentId: z.ZodString;
5547
+ versionId: z.ZodNullable<z.ZodString>;
5548
+ versionNumber: z.ZodNullable<z.ZodInt>;
5549
+ name: z.ZodString;
5550
+ definitionHash: z.ZodString;
5551
+ loaded: z.ZodArray<z.ZodObject<{
5552
+ part: z.ZodEnum<{
5553
+ tools: "tools";
5554
+ instructions: "instructions";
5555
+ skills: "skills";
5556
+ }>;
5557
+ loaded: z.ZodInt;
5558
+ total: z.ZodInt;
5559
+ }, z.core.$strict>>;
5560
+ unavailable: z.ZodArray<z.ZodObject<{
5561
+ kind: z.ZodString;
5562
+ name: z.ZodString;
5563
+ reason: z.ZodString;
5564
+ }, z.core.$strict>>;
5565
+ skills: z.ZodArray<z.ZodString>;
5566
+ tools: z.ZodArray<z.ZodString>;
5567
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5568
+ blockDue: z.ZodBoolean;
5569
+ deliveredAt: z.ZodNullable<z.ZodString>;
5570
+ replaces: z.ZodNullable<z.ZodString>;
5571
+ }, z.core.$strict>>;
5572
+ agentRemovedDue: z.ZodBoolean;
5573
+ accountId: z.ZodOptional<z.ZodString>;
5574
+ }, z.core.$strict>;
5575
+ run: z.ZodNullable<z.ZodObject<{
5576
+ runId: z.ZodString;
5577
+ sessionId: z.ZodString;
5578
+ provider: z.ZodEnum<{
5579
+ claude: "claude";
5580
+ codex: "codex";
5581
+ }>;
5582
+ cwd: z.ZodString;
5583
+ prompt: z.ZodString;
5584
+ model: z.ZodNullable<z.ZodString>;
5585
+ status: z.ZodEnum<{
5586
+ completed: "completed";
5587
+ running: "running";
5588
+ failed: "failed";
5589
+ stopped: "stopped";
5590
+ starting: "starting";
5591
+ }>;
5592
+ startedAt: z.ZodString;
5593
+ endedAt: z.ZodNullable<z.ZodString>;
5594
+ error: z.ZodNullable<z.ZodString>;
5595
+ usage: z.ZodNullable<z.ZodObject<{
5596
+ inputTokens: z.ZodInt;
5597
+ outputTokens: z.ZodInt;
5598
+ cachedInputTokens: z.ZodInt;
5599
+ }, z.core.$strict>>;
5600
+ costUsd: z.ZodNullable<z.ZodNumber>;
5601
+ billing: z.ZodNullable<z.ZodEnum<{
5602
+ unknown: "unknown";
5603
+ subscription: "subscription";
5604
+ api: "api";
5605
+ }>>;
5606
+ startedBy: z.ZodNullable<z.ZodObject<{
5607
+ kind: z.ZodEnum<{
5608
+ web: "web";
5609
+ agent: "agent";
5610
+ other: "other";
5611
+ this_computer: "this_computer";
5612
+ phone: "phone";
5613
+ }>;
5614
+ label: z.ZodString;
5615
+ }, z.core.$strict>>;
5616
+ }, z.core.$strict>>;
5617
+ how: z.ZodEnum<{
5618
+ moved: "moved";
5619
+ fresh: "fresh";
5620
+ }>;
5621
+ }, z.core.$strict>;
5622
+ readonly kind: "unary";
5623
+ readonly since: "1.56";
5624
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "AUTH_FORBIDDEN", "INTERNAL"];
5625
+ };
5417
5626
  readonly "coding.agent.set": {
5418
5627
  readonly params: z.ZodObject<{
5419
5628
  session_id: z.ZodString;
@@ -5478,6 +5687,7 @@ declare const OPS: {
5478
5687
  replaces: z.ZodNullable<z.ZodString>;
5479
5688
  }, z.core.$strict>>;
5480
5689
  agentRemovedDue: z.ZodBoolean;
5690
+ accountId: z.ZodOptional<z.ZodString>;
5481
5691
  }, z.core.$strict>;
5482
5692
  }, z.core.$strict>;
5483
5693
  readonly kind: "unary";
@@ -5579,6 +5789,7 @@ declare const OPS: {
5579
5789
  }>;
5580
5790
  label: z.ZodString;
5581
5791
  }, z.core.$strict>>;
5792
+ accountId: z.ZodOptional<z.ZodString>;
5582
5793
  }, z.core.$strict>>;
5583
5794
  }, z.core.$strict>;
5584
5795
  readonly kind: "unary";
@@ -5607,6 +5818,7 @@ declare const OPS: {
5607
5818
  title: "title";
5608
5819
  }>;
5609
5820
  snippet: z.ZodNullable<z.ZodString>;
5821
+ accountId: z.ZodOptional<z.ZodString>;
5610
5822
  }, z.core.$strict>>;
5611
5823
  scanned: z.ZodInt;
5612
5824
  total: z.ZodInt;
@@ -7948,6 +8160,7 @@ declare const EVENTS: {
7948
8160
  replaces: z.ZodNullable<z.ZodString>;
7949
8161
  }, z.core.$strict>>;
7950
8162
  agentRemovedDue: z.ZodBoolean;
8163
+ accountId: z.ZodOptional<z.ZodString>;
7951
8164
  }, z.core.$strict>;
7952
8165
  }, z.core.$strict>, z.ZodObject<{
7953
8166
  kind: z.ZodLiteral<"run">;
@@ -8036,6 +8249,7 @@ declare const EVENTS: {
8036
8249
  }>;
8037
8250
  label: z.ZodString;
8038
8251
  }, z.core.$strict>>;
8252
+ accountId: z.ZodOptional<z.ZodString>;
8039
8253
  }, z.core.$strict>>;
8040
8254
  }, z.core.$strict>], "kind">;
8041
8255
  readonly "coding.watch_state": z.ZodObject<{
@@ -8757,6 +8971,43 @@ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & st
8757
8971
  * which write zod's process-global registry as an import side effect.
8758
8972
  */
8759
8973
  declare const NAMED_SCHEMAS: {
8974
+ readonly AppsWindowsSetAccountParams: z.ZodObject<{
8975
+ app_key: z.ZodString;
8976
+ window: z.ZodString;
8977
+ email: z.ZodString;
8978
+ }, z.core.$strict>;
8979
+ readonly AppsWindowsForgetParams: z.ZodObject<{
8980
+ app_key: z.ZodString;
8981
+ window: z.ZodString;
8982
+ }, z.core.$strict>;
8983
+ readonly ProbeFact: z.ZodObject<{
8984
+ key: z.ZodString;
8985
+ value: z.ZodString;
8986
+ }, z.core.$strict>;
8987
+ readonly ProbeSource: z.ZodObject<{
8988
+ source: z.ZodString;
8989
+ instance: z.ZodNullable<z.ZodString>;
8990
+ facts: z.ZodArray<z.ZodObject<{
8991
+ key: z.ZodString;
8992
+ value: z.ZodString;
8993
+ }, z.core.$strict>>;
8994
+ }, z.core.$strict>;
8995
+ readonly AppsChatsProbeParams: z.ZodObject<{
8996
+ app_key: z.ZodString;
8997
+ chat_id: z.ZodString;
8998
+ }, z.core.$strict>;
8999
+ readonly AppsChatsProbeResult: z.ZodObject<{
9000
+ app_key: z.ZodString;
9001
+ chat_id: z.ZodString;
9002
+ sources: z.ZodArray<z.ZodObject<{
9003
+ source: z.ZodString;
9004
+ instance: z.ZodNullable<z.ZodString>;
9005
+ facts: z.ZodArray<z.ZodObject<{
9006
+ key: z.ZodString;
9007
+ value: z.ZodString;
9008
+ }, z.core.$strict>>;
9009
+ }, z.core.$strict>>;
9010
+ }, z.core.$strict>;
8760
9011
  readonly InstanceStatus: z.ZodEnum<{
8761
9012
  open: "open";
8762
9013
  closed: "closed";
@@ -10853,6 +11104,7 @@ declare const NAMED_SCHEMAS: {
10853
11104
  replaces: z.ZodNullable<z.ZodString>;
10854
11105
  }, z.core.$strict>>;
10855
11106
  agentRemovedDue: z.ZodBoolean;
11107
+ accountId: z.ZodOptional<z.ZodString>;
10856
11108
  }, z.core.$strict>;
10857
11109
  readonly CodingActiveElsewhere: z.ZodObject<{
10858
11110
  reason: z.ZodEnum<{
@@ -10900,6 +11152,7 @@ declare const NAMED_SCHEMAS: {
10900
11152
  message: z.ZodString;
10901
11153
  pid: z.ZodNullable<z.ZodInt>;
10902
11154
  }, z.core.$strict>>;
11155
+ accountId: z.ZodOptional<z.ZodString>;
10903
11156
  }, z.core.$strict>;
10904
11157
  readonly CodingTranscriptItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
10905
11158
  kind: z.ZodLiteral<"user">;
@@ -11035,6 +11288,52 @@ declare const NAMED_SCHEMAS: {
11035
11288
  sourceLabel: z.ZodString;
11036
11289
  }, z.core.$strict>>;
11037
11290
  }, z.core.$strict>;
11291
+ readonly CodingAccountUsage: z.ZodObject<{
11292
+ windows: z.ZodArray<z.ZodObject<{
11293
+ label: z.ZodString;
11294
+ usedPercent: z.ZodNullable<z.ZodNumber>;
11295
+ resetsAt: z.ZodNullable<z.ZodString>;
11296
+ valueLabel: z.ZodNullable<z.ZodString>;
11297
+ }, z.core.$strict>>;
11298
+ status: z.ZodNullable<z.ZodString>;
11299
+ resetsAt: z.ZodNullable<z.ZodString>;
11300
+ at: z.ZodString;
11301
+ }, z.core.$strict>;
11302
+ readonly CodingContinueTarget: z.ZodObject<{
11303
+ accountId: z.ZodNullable<z.ZodString>;
11304
+ label: z.ZodString;
11305
+ }, z.core.$strict>;
11306
+ readonly CodingProviderAccount: z.ZodObject<{
11307
+ id: z.ZodString;
11308
+ label: z.ZodString;
11309
+ ready: z.ZodOptional<z.ZodBoolean>;
11310
+ lastProblem: z.ZodOptional<z.ZodObject<{
11311
+ kind: z.ZodEnum<{
11312
+ "usage-limit": "usage-limit";
11313
+ "signed-out": "signed-out";
11314
+ }>;
11315
+ message: z.ZodString;
11316
+ until: z.ZodNullable<z.ZodString>;
11317
+ at: z.ZodString;
11318
+ }, z.core.$strict>>;
11319
+ problem: z.ZodOptional<z.ZodString>;
11320
+ fix: z.ZodOptional<z.ZodString>;
11321
+ usage: z.ZodOptional<z.ZodObject<{
11322
+ windows: z.ZodArray<z.ZodObject<{
11323
+ label: z.ZodString;
11324
+ usedPercent: z.ZodNullable<z.ZodNumber>;
11325
+ resetsAt: z.ZodNullable<z.ZodString>;
11326
+ valueLabel: z.ZodNullable<z.ZodString>;
11327
+ }, z.core.$strict>>;
11328
+ status: z.ZodNullable<z.ZodString>;
11329
+ resetsAt: z.ZodNullable<z.ZodString>;
11330
+ at: z.ZodString;
11331
+ }, z.core.$strict>>;
11332
+ continueOn: z.ZodOptional<z.ZodObject<{
11333
+ accountId: z.ZodNullable<z.ZodString>;
11334
+ label: z.ZodString;
11335
+ }, z.core.$strict>>;
11336
+ }, z.core.$strict>;
11038
11337
  readonly CodingProviderStatus: z.ZodObject<{
11039
11338
  provider: z.ZodEnum<{
11040
11339
  claude: "claude";
@@ -11102,8 +11401,50 @@ declare const NAMED_SCHEMAS: {
11102
11401
  accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
11103
11402
  id: z.ZodString;
11104
11403
  label: z.ZodString;
11404
+ ready: z.ZodOptional<z.ZodBoolean>;
11405
+ lastProblem: z.ZodOptional<z.ZodObject<{
11406
+ kind: z.ZodEnum<{
11407
+ "usage-limit": "usage-limit";
11408
+ "signed-out": "signed-out";
11409
+ }>;
11410
+ message: z.ZodString;
11411
+ until: z.ZodNullable<z.ZodString>;
11412
+ at: z.ZodString;
11413
+ }, z.core.$strict>>;
11414
+ problem: z.ZodOptional<z.ZodString>;
11415
+ fix: z.ZodOptional<z.ZodString>;
11416
+ usage: z.ZodOptional<z.ZodObject<{
11417
+ windows: z.ZodArray<z.ZodObject<{
11418
+ label: z.ZodString;
11419
+ usedPercent: z.ZodNullable<z.ZodNumber>;
11420
+ resetsAt: z.ZodNullable<z.ZodString>;
11421
+ valueLabel: z.ZodNullable<z.ZodString>;
11422
+ }, z.core.$strict>>;
11423
+ status: z.ZodNullable<z.ZodString>;
11424
+ resetsAt: z.ZodNullable<z.ZodString>;
11425
+ at: z.ZodString;
11426
+ }, z.core.$strict>>;
11427
+ continueOn: z.ZodOptional<z.ZodObject<{
11428
+ accountId: z.ZodNullable<z.ZodString>;
11429
+ label: z.ZodString;
11430
+ }, z.core.$strict>>;
11105
11431
  }, z.core.$strict>>>;
11106
11432
  accountsProblem: z.ZodOptional<z.ZodString>;
11433
+ usage: z.ZodOptional<z.ZodObject<{
11434
+ windows: z.ZodArray<z.ZodObject<{
11435
+ label: z.ZodString;
11436
+ usedPercent: z.ZodNullable<z.ZodNumber>;
11437
+ resetsAt: z.ZodNullable<z.ZodString>;
11438
+ valueLabel: z.ZodNullable<z.ZodString>;
11439
+ }, z.core.$strict>>;
11440
+ status: z.ZodNullable<z.ZodString>;
11441
+ resetsAt: z.ZodNullable<z.ZodString>;
11442
+ at: z.ZodString;
11443
+ }, z.core.$strict>>;
11444
+ continueOn: z.ZodOptional<z.ZodObject<{
11445
+ accountId: z.ZodNullable<z.ZodString>;
11446
+ label: z.ZodString;
11447
+ }, z.core.$strict>>;
11107
11448
  }, z.core.$strict>;
11108
11449
  readonly CodingChatPreference: z.ZodObject<{
11109
11450
  title: z.ZodNullable<z.ZodString>;
@@ -11148,6 +11489,7 @@ declare const NAMED_SCHEMAS: {
11148
11489
  }>;
11149
11490
  label: z.ZodString;
11150
11491
  }, z.core.$strict>>;
11492
+ accountId: z.ZodOptional<z.ZodString>;
11151
11493
  }, z.core.$strict>;
11152
11494
  readonly CodingFolderCheck: z.ZodObject<{
11153
11495
  path: z.ZodString;
@@ -11219,6 +11561,7 @@ declare const NAMED_SCHEMAS: {
11219
11561
  replaces: z.ZodNullable<z.ZodString>;
11220
11562
  }, z.core.$strict>>;
11221
11563
  agentRemovedDue: z.ZodBoolean;
11564
+ accountId: z.ZodOptional<z.ZodString>;
11222
11565
  }, z.core.$strict>;
11223
11566
  run: z.ZodNullable<z.ZodObject<{
11224
11567
  runId: z.ZodString;
@@ -11333,8 +11676,50 @@ declare const NAMED_SCHEMAS: {
11333
11676
  accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
11334
11677
  id: z.ZodString;
11335
11678
  label: z.ZodString;
11679
+ ready: z.ZodOptional<z.ZodBoolean>;
11680
+ lastProblem: z.ZodOptional<z.ZodObject<{
11681
+ kind: z.ZodEnum<{
11682
+ "usage-limit": "usage-limit";
11683
+ "signed-out": "signed-out";
11684
+ }>;
11685
+ message: z.ZodString;
11686
+ until: z.ZodNullable<z.ZodString>;
11687
+ at: z.ZodString;
11688
+ }, z.core.$strict>>;
11689
+ problem: z.ZodOptional<z.ZodString>;
11690
+ fix: z.ZodOptional<z.ZodString>;
11691
+ usage: z.ZodOptional<z.ZodObject<{
11692
+ windows: z.ZodArray<z.ZodObject<{
11693
+ label: z.ZodString;
11694
+ usedPercent: z.ZodNullable<z.ZodNumber>;
11695
+ resetsAt: z.ZodNullable<z.ZodString>;
11696
+ valueLabel: z.ZodNullable<z.ZodString>;
11697
+ }, z.core.$strict>>;
11698
+ status: z.ZodNullable<z.ZodString>;
11699
+ resetsAt: z.ZodNullable<z.ZodString>;
11700
+ at: z.ZodString;
11701
+ }, z.core.$strict>>;
11702
+ continueOn: z.ZodOptional<z.ZodObject<{
11703
+ accountId: z.ZodNullable<z.ZodString>;
11704
+ label: z.ZodString;
11705
+ }, z.core.$strict>>;
11336
11706
  }, z.core.$strict>>>;
11337
11707
  accountsProblem: z.ZodOptional<z.ZodString>;
11708
+ usage: z.ZodOptional<z.ZodObject<{
11709
+ windows: z.ZodArray<z.ZodObject<{
11710
+ label: z.ZodString;
11711
+ usedPercent: z.ZodNullable<z.ZodNumber>;
11712
+ resetsAt: z.ZodNullable<z.ZodString>;
11713
+ valueLabel: z.ZodNullable<z.ZodString>;
11714
+ }, z.core.$strict>>;
11715
+ status: z.ZodNullable<z.ZodString>;
11716
+ resetsAt: z.ZodNullable<z.ZodString>;
11717
+ at: z.ZodString;
11718
+ }, z.core.$strict>>;
11719
+ continueOn: z.ZodOptional<z.ZodObject<{
11720
+ accountId: z.ZodNullable<z.ZodString>;
11721
+ label: z.ZodString;
11722
+ }, z.core.$strict>>;
11338
11723
  }, z.core.$strict>>;
11339
11724
  }, z.core.$strict>;
11340
11725
  readonly CodingSessionsListParams: z.ZodObject<{}, z.core.$strict>;
@@ -11393,6 +11778,7 @@ declare const NAMED_SCHEMAS: {
11393
11778
  replaces: z.ZodNullable<z.ZodString>;
11394
11779
  }, z.core.$strict>>;
11395
11780
  agentRemovedDue: z.ZodBoolean;
11781
+ accountId: z.ZodOptional<z.ZodString>;
11396
11782
  }, z.core.$strict>>;
11397
11783
  runs: z.ZodRecord<z.ZodString, z.ZodObject<{
11398
11784
  runId: z.ZodString;
@@ -11466,6 +11852,7 @@ declare const NAMED_SCHEMAS: {
11466
11852
  }>;
11467
11853
  label: z.ZodString;
11468
11854
  }, z.core.$strict>>;
11855
+ accountId: z.ZodOptional<z.ZodString>;
11469
11856
  }, z.core.$strict>>;
11470
11857
  title_status: z.ZodObject<{
11471
11858
  owner: z.ZodBoolean;
@@ -11514,6 +11901,7 @@ declare const NAMED_SCHEMAS: {
11514
11901
  message: z.ZodString;
11515
11902
  pid: z.ZodNullable<z.ZodInt>;
11516
11903
  }, z.core.$strict>>;
11904
+ accountId: z.ZodOptional<z.ZodString>;
11517
11905
  }, z.core.$strict>>;
11518
11906
  }, z.core.$strict>;
11519
11907
  readonly CodingRunsListParams: z.ZodObject<{
@@ -11810,6 +12198,7 @@ declare const NAMED_SCHEMAS: {
11810
12198
  replaces: z.ZodNullable<z.ZodString>;
11811
12199
  }, z.core.$strict>>;
11812
12200
  agentRemovedDue: z.ZodBoolean;
12201
+ accountId: z.ZodOptional<z.ZodString>;
11813
12202
  }, z.core.$strict>;
11814
12203
  run: z.ZodNullable<z.ZodObject<{
11815
12204
  runId: z.ZodString;
@@ -11925,6 +12314,7 @@ declare const NAMED_SCHEMAS: {
11925
12314
  replaces: z.ZodNullable<z.ZodString>;
11926
12315
  }, z.core.$strict>>;
11927
12316
  agentRemovedDue: z.ZodBoolean;
12317
+ accountId: z.ZodOptional<z.ZodString>;
11928
12318
  }, z.core.$strict>;
11929
12319
  }, z.core.$strict>;
11930
12320
  readonly CodingSendParams: z.ZodObject<{
@@ -12051,7 +12441,117 @@ declare const NAMED_SCHEMAS: {
12051
12441
  replaces: z.ZodNullable<z.ZodString>;
12052
12442
  }, z.core.$strict>>;
12053
12443
  agentRemovedDue: z.ZodBoolean;
12444
+ accountId: z.ZodOptional<z.ZodString>;
12445
+ }, z.core.$strict>;
12446
+ }, z.core.$strict>;
12447
+ readonly CodingAccountContinueParams: z.ZodObject<{
12448
+ session_id: z.ZodString;
12449
+ account_profile_id: z.ZodOptional<z.ZodString>;
12450
+ client_request_id: z.ZodString;
12451
+ }, z.core.$strict>;
12452
+ readonly CodingAccountContinueResult: z.ZodObject<{
12453
+ session: z.ZodObject<{
12454
+ id: z.ZodString;
12455
+ provider: z.ZodEnum<{
12456
+ claude: "claude";
12457
+ codex: "codex";
12458
+ }>;
12459
+ providerSessionId: z.ZodNullable<z.ZodString>;
12460
+ cwd: z.ZodString;
12461
+ title: z.ZodString;
12462
+ model: z.ZodNullable<z.ZodString>;
12463
+ effort: z.ZodNullable<z.ZodString>;
12464
+ origin: z.ZodEnum<{
12465
+ started: "started";
12466
+ takeover: "takeover";
12467
+ }>;
12468
+ createdAt: z.ZodString;
12469
+ updatedAt: z.ZodString;
12470
+ lastRunId: z.ZodNullable<z.ZodString>;
12471
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
12472
+ completed: "completed";
12473
+ running: "running";
12474
+ failed: "failed";
12475
+ stopped: "stopped";
12476
+ starting: "starting";
12477
+ }>>;
12478
+ queued: z.ZodArray<z.ZodString>;
12479
+ agent: z.ZodNullable<z.ZodObject<{
12480
+ agentId: z.ZodString;
12481
+ versionId: z.ZodNullable<z.ZodString>;
12482
+ versionNumber: z.ZodNullable<z.ZodInt>;
12483
+ name: z.ZodString;
12484
+ definitionHash: z.ZodString;
12485
+ loaded: z.ZodArray<z.ZodObject<{
12486
+ part: z.ZodEnum<{
12487
+ tools: "tools";
12488
+ instructions: "instructions";
12489
+ skills: "skills";
12490
+ }>;
12491
+ loaded: z.ZodInt;
12492
+ total: z.ZodInt;
12493
+ }, z.core.$strict>>;
12494
+ unavailable: z.ZodArray<z.ZodObject<{
12495
+ kind: z.ZodString;
12496
+ name: z.ZodString;
12497
+ reason: z.ZodString;
12498
+ }, z.core.$strict>>;
12499
+ skills: z.ZodArray<z.ZodString>;
12500
+ tools: z.ZodArray<z.ZodString>;
12501
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12502
+ blockDue: z.ZodBoolean;
12503
+ deliveredAt: z.ZodNullable<z.ZodString>;
12504
+ replaces: z.ZodNullable<z.ZodString>;
12505
+ }, z.core.$strict>>;
12506
+ agentRemovedDue: z.ZodBoolean;
12507
+ accountId: z.ZodOptional<z.ZodString>;
12054
12508
  }, z.core.$strict>;
12509
+ run: z.ZodNullable<z.ZodObject<{
12510
+ runId: z.ZodString;
12511
+ sessionId: z.ZodString;
12512
+ provider: z.ZodEnum<{
12513
+ claude: "claude";
12514
+ codex: "codex";
12515
+ }>;
12516
+ cwd: z.ZodString;
12517
+ prompt: z.ZodString;
12518
+ model: z.ZodNullable<z.ZodString>;
12519
+ status: z.ZodEnum<{
12520
+ completed: "completed";
12521
+ running: "running";
12522
+ failed: "failed";
12523
+ stopped: "stopped";
12524
+ starting: "starting";
12525
+ }>;
12526
+ startedAt: z.ZodString;
12527
+ endedAt: z.ZodNullable<z.ZodString>;
12528
+ error: z.ZodNullable<z.ZodString>;
12529
+ usage: z.ZodNullable<z.ZodObject<{
12530
+ inputTokens: z.ZodInt;
12531
+ outputTokens: z.ZodInt;
12532
+ cachedInputTokens: z.ZodInt;
12533
+ }, z.core.$strict>>;
12534
+ costUsd: z.ZodNullable<z.ZodNumber>;
12535
+ billing: z.ZodNullable<z.ZodEnum<{
12536
+ unknown: "unknown";
12537
+ subscription: "subscription";
12538
+ api: "api";
12539
+ }>>;
12540
+ startedBy: z.ZodNullable<z.ZodObject<{
12541
+ kind: z.ZodEnum<{
12542
+ web: "web";
12543
+ agent: "agent";
12544
+ other: "other";
12545
+ this_computer: "this_computer";
12546
+ phone: "phone";
12547
+ }>;
12548
+ label: z.ZodString;
12549
+ }, z.core.$strict>>;
12550
+ }, z.core.$strict>>;
12551
+ how: z.ZodEnum<{
12552
+ moved: "moved";
12553
+ fresh: "fresh";
12554
+ }>;
12055
12555
  }, z.core.$strict>;
12056
12556
  readonly CodingAgentSetParams: z.ZodObject<{
12057
12557
  session_id: z.ZodString;
@@ -12116,6 +12616,7 @@ declare const NAMED_SCHEMAS: {
12116
12616
  replaces: z.ZodNullable<z.ZodString>;
12117
12617
  }, z.core.$strict>>;
12118
12618
  agentRemovedDue: z.ZodBoolean;
12619
+ accountId: z.ZodOptional<z.ZodString>;
12119
12620
  }, z.core.$strict>;
12120
12621
  }, z.core.$strict>;
12121
12622
  readonly CodingAgentsAccessParams: z.ZodObject<{}, z.core.$strict>;
@@ -12192,6 +12693,7 @@ declare const NAMED_SCHEMAS: {
12192
12693
  }>;
12193
12694
  label: z.ZodString;
12194
12695
  }, z.core.$strict>>;
12696
+ accountId: z.ZodOptional<z.ZodString>;
12195
12697
  }, z.core.$strict>>;
12196
12698
  }, z.core.$strict>;
12197
12699
  readonly CodingSearchParams: z.ZodObject<{
@@ -12199,6 +12701,22 @@ declare const NAMED_SCHEMAS: {
12199
12701
  cursor: z.ZodOptional<z.ZodInt>;
12200
12702
  limit: z.ZodOptional<z.ZodInt>;
12201
12703
  }, z.core.$strict>;
12704
+ readonly CodingSearchHit: z.ZodObject<{
12705
+ provider: z.ZodEnum<{
12706
+ claude: "claude";
12707
+ codex: "codex";
12708
+ }>;
12709
+ providerSessionId: z.ZodString;
12710
+ title: z.ZodString;
12711
+ cwd: z.ZodNullable<z.ZodString>;
12712
+ updatedAt: z.ZodString;
12713
+ where: z.ZodEnum<{
12714
+ content: "content";
12715
+ title: "title";
12716
+ }>;
12717
+ snippet: z.ZodNullable<z.ZodString>;
12718
+ accountId: z.ZodOptional<z.ZodString>;
12719
+ }, z.core.$strict>;
12202
12720
  readonly CodingSearchResult: z.ZodObject<{
12203
12721
  query: z.ZodString;
12204
12722
  hits: z.ZodArray<z.ZodObject<{
@@ -12215,6 +12733,7 @@ declare const NAMED_SCHEMAS: {
12215
12733
  title: "title";
12216
12734
  }>;
12217
12735
  snippet: z.ZodNullable<z.ZodString>;
12736
+ accountId: z.ZodOptional<z.ZodString>;
12218
12737
  }, z.core.$strict>>;
12219
12738
  scanned: z.ZodInt;
12220
12739
  total: z.ZodInt;
@@ -12324,6 +12843,7 @@ declare const NAMED_SCHEMAS: {
12324
12843
  replaces: z.ZodNullable<z.ZodString>;
12325
12844
  }, z.core.$strict>>;
12326
12845
  agentRemovedDue: z.ZodBoolean;
12846
+ accountId: z.ZodOptional<z.ZodString>;
12327
12847
  }, z.core.$strict>;
12328
12848
  }, z.core.$strict>, z.ZodObject<{
12329
12849
  kind: z.ZodLiteral<"run">;
@@ -12412,6 +12932,7 @@ declare const NAMED_SCHEMAS: {
12412
12932
  }>;
12413
12933
  label: z.ZodString;
12414
12934
  }, z.core.$strict>>;
12935
+ accountId: z.ZodOptional<z.ZodString>;
12415
12936
  }, z.core.$strict>>;
12416
12937
  }, z.core.$strict>], "kind">;
12417
12938
  readonly CodingWatchStateEvent: z.ZodObject<{