@ai-matrx/desktop-protocol 0.21.28 → 0.21.30

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/react.d.ts CHANGED
@@ -7,7 +7,7 @@ import { z } from 'zod';
7
7
  * never drift (see the `_assert*` lines there).
8
8
  */
9
9
  type ErrorCodeName = "AUTH_REQUIRED" | "AUTH_INVALID" | "AUTH_EXPIRED" | "AUTH_FORBIDDEN" | "AUTH_DEVICE_REVOKED" | "PERMISSION_DENIED_OS" | "NOT_FOUND" | "CONFLICT" | "INVALID_PARAMS" | "RESOURCE_BUSY" | "RESOURCE_GONE" | "CANCELLED" | "TIMEOUT" | "PLATFORM_UNSUPPORTED" | "RATE_LIMITED" | "INTERNAL" | "PROTOCOL_VERSION_UNSUPPORTED" | "PROTOCOL_ERROR" | "UNKNOWN_OPERATION" | "DEVICE_OFFLINE" | "PAYLOAD_TOO_LARGE";
10
- type ErrorReasonName = "not_a_directory" | "is_a_directory" | "directory_not_empty" | "already_exists" | "stale_write" | "binary_content" | "not_utf8_boundary" | "patch_no_match" | "patch_ambiguous" | "resource_exited" | "resource_expired" | "control_taken" | "window_exhausted" | "runtime_not_installed" | "model_not_installed" | "unsupported_media" | "download_failed" | "service_starting" | "service_restarted" | "service_failed" | "browser_not_connected" | "browser_ambiguous" | "browser_account_mismatch" | "browser_connection_off" | "awaiting_confirmation";
10
+ type ErrorReasonName = "not_a_directory" | "is_a_directory" | "directory_not_empty" | "already_exists" | "stale_write" | "binary_content" | "not_utf8_boundary" | "patch_no_match" | "patch_ambiguous" | "resource_exited" | "resource_expired" | "control_taken" | "window_exhausted" | "runtime_not_installed" | "model_not_installed" | "unsupported_media" | "download_failed" | "service_starting" | "service_restarted" | "service_failed" | "browser_not_connected" | "browser_ambiguous" | "browser_account_mismatch" | "browser_connection_off" | "awaiting_confirmation" | "tool_disabled_on_device";
11
11
  interface ErrorData {
12
12
  reason?: ErrorReasonName | undefined;
13
13
  cap?: string | undefined;
@@ -142,8 +142,8 @@ type StreamMeta = z.output<typeof StreamMeta>;
142
142
  declare const EndReason: z.ZodEnum<{
143
143
  error: "error";
144
144
  cancelled: "cancelled";
145
- resource_exited: "resource_exited";
146
145
  completed: "completed";
146
+ resource_exited: "resource_exited";
147
147
  detached: "detached";
148
148
  }>;
149
149
  type EndReason = z.output<typeof EndReason>;
@@ -2024,6 +2024,8 @@ declare const OPS: {
2024
2024
  take_off: z.ZodDefault<z.ZodBoolean>;
2025
2025
  group: z.ZodDefault<z.ZodBoolean>;
2026
2026
  pin: z.ZodOptional<z.ZodBoolean>;
2027
+ chat_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
2028
+ take_off_from: z.ZodOptional<z.ZodString>;
2027
2029
  dry_run: z.ZodDefault<z.ZodBoolean>;
2028
2030
  }, z.core.$strict>;
2029
2031
  readonly result: z.ZodObject<{
@@ -2588,6 +2590,7 @@ declare const OPS: {
2588
2590
  readonly "system.open_settings": {
2589
2591
  readonly params: z.ZodObject<{
2590
2592
  pane: z.ZodEnum<{
2593
+ microphone: "microphone";
2591
2594
  displays: "displays";
2592
2595
  night_shift: "night_shift";
2593
2596
  sound: "sound";
@@ -2603,6 +2606,7 @@ declare const OPS: {
2603
2606
  }, z.core.$strict>;
2604
2607
  readonly result: z.ZodObject<{
2605
2608
  pane: z.ZodEnum<{
2609
+ microphone: "microphone";
2606
2610
  displays: "displays";
2607
2611
  night_shift: "night_shift";
2608
2612
  sound: "sound";
@@ -3588,592 +3592,2951 @@ declare const OPS: {
3588
3592
  readonly since: "1.5";
3589
3593
  readonly errors: readonly ["RESOURCE_BUSY", "RESOURCE_GONE", "CANCELLED", "INTERNAL"];
3590
3594
  };
3591
- readonly "git.status": {
3592
- readonly params: z.ZodObject<{
3593
- cwd: z.ZodString;
3594
- }, z.core.$strict>;
3595
+ readonly "coding.providers": {
3596
+ readonly params: z.ZodObject<{}, z.core.$strict>;
3595
3597
  readonly result: z.ZodObject<{
3596
- branch: z.ZodNullable<z.ZodString>;
3597
- upstream: z.ZodNullable<z.ZodString>;
3598
- ahead: z.ZodInt;
3599
- behind: z.ZodInt;
3600
- files: z.ZodArray<z.ZodObject<{
3601
- path: z.ZodString;
3602
- index: z.ZodString;
3603
- worktree: z.ZodString;
3598
+ providers: z.ZodArray<z.ZodObject<{
3599
+ provider: z.ZodEnum<{
3600
+ claude: "claude";
3601
+ codex: "codex";
3602
+ }>;
3603
+ label: z.ZodString;
3604
+ installed: z.ZodBoolean;
3605
+ version: z.ZodNullable<z.ZodString>;
3606
+ loggedIn: z.ZodBoolean;
3607
+ billing: z.ZodEnum<{
3608
+ unknown: "unknown";
3609
+ subscription: "subscription";
3610
+ api: "api";
3611
+ }>;
3612
+ plan: z.ZodNullable<z.ZodString>;
3613
+ account: z.ZodNullable<z.ZodString>;
3614
+ problem: z.ZodNullable<z.ZodString>;
3615
+ fix: z.ZodNullable<z.ZodString>;
3616
+ ready: z.ZodBoolean;
3617
+ lastProblem: z.ZodNullable<z.ZodObject<{
3618
+ kind: z.ZodEnum<{
3619
+ "usage-limit": "usage-limit";
3620
+ "signed-out": "signed-out";
3621
+ }>;
3622
+ message: z.ZodString;
3623
+ until: z.ZodNullable<z.ZodString>;
3624
+ at: z.ZodString;
3625
+ }, z.core.$strict>>;
3626
+ quota: z.ZodArray<z.ZodObject<{
3627
+ label: z.ZodString;
3628
+ usedPercent: z.ZodNullable<z.ZodNumber>;
3629
+ resetsAt: z.ZodNullable<z.ZodString>;
3630
+ valueLabel: z.ZodNullable<z.ZodString>;
3631
+ }, z.core.$strict>>;
3632
+ models: z.ZodArray<z.ZodObject<{
3633
+ id: z.ZodString;
3634
+ label: z.ZodString;
3635
+ }, z.core.$strict>>;
3636
+ efforts: z.ZodArray<z.ZodString>;
3637
+ defaultModel: z.ZodNullable<z.ZodObject<{
3638
+ id: z.ZodString;
3639
+ source: z.ZodEnum<{
3640
+ settings: "settings";
3641
+ driver: "driver";
3642
+ }>;
3643
+ }, z.core.$strict>>;
3644
+ defaultEffort: z.ZodNullable<z.ZodString>;
3645
+ binary: z.ZodNullable<z.ZodObject<{
3646
+ path: z.ZodString;
3647
+ version: z.ZodNullable<z.ZodString>;
3648
+ source: z.ZodEnum<{
3649
+ path: "path";
3650
+ "desktop-app": "desktop-app";
3651
+ "npm-global": "npm-global";
3652
+ configured: "configured";
3653
+ }>;
3654
+ sourceLabel: z.ZodString;
3655
+ newer: z.ZodNullable<z.ZodObject<{
3656
+ path: z.ZodString;
3657
+ version: z.ZodString;
3658
+ sourceLabel: z.ZodString;
3659
+ }, z.core.$strict>>;
3660
+ }, z.core.$strict>>;
3604
3661
  }, z.core.$strict>>;
3605
- clean: z.ZodBoolean;
3606
- truncated: z.ZodBoolean;
3607
3662
  }, z.core.$strict>;
3608
3663
  readonly kind: "unary";
3609
- readonly since: "1.22";
3610
- readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3664
+ readonly since: "1.38";
3665
+ readonly errors: readonly ["INTERNAL"];
3611
3666
  };
3612
- readonly "git.diff": {
3613
- readonly params: z.ZodObject<{
3614
- cwd: z.ZodString;
3615
- path: z.ZodOptional<z.ZodString>;
3616
- staged: z.ZodDefault<z.ZodBoolean>;
3617
- }, z.core.$strict>;
3667
+ readonly "coding.sessions.list": {
3668
+ readonly params: z.ZodObject<{}, z.core.$strict>;
3618
3669
  readonly result: z.ZodObject<{
3619
- diff: z.ZodString;
3620
- truncated: z.ZodBoolean;
3670
+ sessions: z.ZodArray<z.ZodObject<{
3671
+ id: z.ZodString;
3672
+ provider: z.ZodEnum<{
3673
+ claude: "claude";
3674
+ codex: "codex";
3675
+ }>;
3676
+ providerSessionId: z.ZodNullable<z.ZodString>;
3677
+ cwd: z.ZodString;
3678
+ title: z.ZodString;
3679
+ model: z.ZodNullable<z.ZodString>;
3680
+ effort: z.ZodNullable<z.ZodString>;
3681
+ origin: z.ZodEnum<{
3682
+ started: "started";
3683
+ takeover: "takeover";
3684
+ }>;
3685
+ createdAt: z.ZodString;
3686
+ updatedAt: z.ZodString;
3687
+ lastRunId: z.ZodNullable<z.ZodString>;
3688
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
3689
+ running: "running";
3690
+ starting: "starting";
3691
+ failed: "failed";
3692
+ stopped: "stopped";
3693
+ completed: "completed";
3694
+ }>>;
3695
+ queued: z.ZodArray<z.ZodString>;
3696
+ agent: z.ZodNullable<z.ZodObject<{
3697
+ agentId: z.ZodString;
3698
+ versionId: z.ZodNullable<z.ZodString>;
3699
+ versionNumber: z.ZodNullable<z.ZodInt>;
3700
+ name: z.ZodString;
3701
+ definitionHash: z.ZodString;
3702
+ loaded: z.ZodArray<z.ZodObject<{
3703
+ part: z.ZodEnum<{
3704
+ instructions: "instructions";
3705
+ skills: "skills";
3706
+ tools: "tools";
3707
+ }>;
3708
+ loaded: z.ZodInt;
3709
+ total: z.ZodInt;
3710
+ }, z.core.$strict>>;
3711
+ unavailable: z.ZodArray<z.ZodObject<{
3712
+ kind: z.ZodString;
3713
+ name: z.ZodString;
3714
+ reason: z.ZodString;
3715
+ }, z.core.$strict>>;
3716
+ skills: z.ZodArray<z.ZodString>;
3717
+ tools: z.ZodArray<z.ZodString>;
3718
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3719
+ blockDue: z.ZodBoolean;
3720
+ deliveredAt: z.ZodNullable<z.ZodString>;
3721
+ replaces: z.ZodNullable<z.ZodString>;
3722
+ }, z.core.$strict>>;
3723
+ agentRemovedDue: z.ZodBoolean;
3724
+ }, z.core.$strict>>;
3725
+ runs: z.ZodRecord<z.ZodString, z.ZodObject<{
3726
+ runId: z.ZodString;
3727
+ sessionId: z.ZodString;
3728
+ provider: z.ZodEnum<{
3729
+ claude: "claude";
3730
+ codex: "codex";
3731
+ }>;
3732
+ cwd: z.ZodString;
3733
+ prompt: z.ZodString;
3734
+ model: z.ZodNullable<z.ZodString>;
3735
+ status: z.ZodEnum<{
3736
+ running: "running";
3737
+ starting: "starting";
3738
+ failed: "failed";
3739
+ stopped: "stopped";
3740
+ completed: "completed";
3741
+ }>;
3742
+ startedAt: z.ZodString;
3743
+ endedAt: z.ZodNullable<z.ZodString>;
3744
+ error: z.ZodNullable<z.ZodString>;
3745
+ usage: z.ZodNullable<z.ZodObject<{
3746
+ inputTokens: z.ZodInt;
3747
+ outputTokens: z.ZodInt;
3748
+ cachedInputTokens: z.ZodInt;
3749
+ }, z.core.$strict>>;
3750
+ costUsd: z.ZodNullable<z.ZodNumber>;
3751
+ billing: z.ZodNullable<z.ZodEnum<{
3752
+ unknown: "unknown";
3753
+ subscription: "subscription";
3754
+ api: "api";
3755
+ }>>;
3756
+ startedBy: z.ZodNullable<z.ZodObject<{
3757
+ kind: z.ZodEnum<{
3758
+ agent: "agent";
3759
+ this_computer: "this_computer";
3760
+ web: "web";
3761
+ phone: "phone";
3762
+ other: "other";
3763
+ }>;
3764
+ label: z.ZodString;
3765
+ }, z.core.$strict>>;
3766
+ }, z.core.$strict>>;
3767
+ recent: z.ZodArray<z.ZodObject<{
3768
+ target: z.ZodString;
3769
+ title: z.ZodString;
3770
+ provider: z.ZodEnum<{
3771
+ claude: "claude";
3772
+ codex: "codex";
3773
+ }>;
3774
+ sessionId: z.ZodNullable<z.ZodString>;
3775
+ providerSessionId: z.ZodNullable<z.ZodString>;
3776
+ cwd: z.ZodNullable<z.ZodString>;
3777
+ updatedAt: z.ZodString;
3778
+ state: z.ZodEnum<{
3779
+ running: "running";
3780
+ idle: "idle";
3781
+ needs_attention: "needs_attention";
3782
+ new_output: "new_output";
3783
+ elsewhere: "elsewhere";
3784
+ }>;
3785
+ stateLabel: z.ZodNullable<z.ZodString>;
3786
+ pinned: z.ZodBoolean;
3787
+ startedBy: z.ZodNullable<z.ZodObject<{
3788
+ kind: z.ZodEnum<{
3789
+ agent: "agent";
3790
+ this_computer: "this_computer";
3791
+ web: "web";
3792
+ phone: "phone";
3793
+ other: "other";
3794
+ }>;
3795
+ label: z.ZodString;
3796
+ }, z.core.$strict>>;
3797
+ }, z.core.$strict>>;
3798
+ title_status: z.ZodObject<{
3799
+ owner: z.ZodBoolean;
3800
+ pending: z.ZodBoolean;
3801
+ problem: z.ZodNullable<z.ZodString>;
3802
+ renames: z.ZodNullable<z.ZodString>;
3803
+ }, z.core.$strict>;
3621
3804
  }, z.core.$strict>;
3622
3805
  readonly kind: "unary";
3623
- readonly since: "1.22";
3624
- readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3806
+ readonly since: "1.38";
3807
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
3625
3808
  };
3626
- readonly "git.log": {
3809
+ readonly "coding.discover": {
3627
3810
  readonly params: z.ZodObject<{
3628
- cwd: z.ZodString;
3629
- limit: z.ZodDefault<z.ZodInt>;
3811
+ limit: z.ZodOptional<z.ZodInt>;
3630
3812
  }, z.core.$strict>;
3631
3813
  readonly result: z.ZodObject<{
3632
- commits: z.ZodArray<z.ZodObject<{
3633
- sha: z.ZodString;
3634
- short: z.ZodString;
3635
- author: z.ZodString;
3636
- date: z.ZodString;
3637
- subject: z.ZodString;
3814
+ chats: z.ZodArray<z.ZodObject<{
3815
+ provider: z.ZodEnum<{
3816
+ claude: "claude";
3817
+ codex: "codex";
3818
+ }>;
3819
+ providerSessionId: z.ZodString;
3820
+ cwd: z.ZodNullable<z.ZodString>;
3821
+ title: z.ZodString;
3822
+ titleSource: z.ZodOptional<z.ZodEnum<{
3823
+ summary: "summary";
3824
+ unknown: "unknown";
3825
+ app: "app";
3826
+ "app-remembered": "app-remembered";
3827
+ "custom-title": "custom-title";
3828
+ "ai-title": "ai-title";
3829
+ "agent-name": "agent-name";
3830
+ "first-prompt": "first-prompt";
3831
+ "last-prompt": "last-prompt";
3832
+ }>>;
3833
+ titlePending: z.ZodOptional<z.ZodBoolean>;
3834
+ archived: z.ZodOptional<z.ZodBoolean>;
3835
+ scheduled: z.ZodOptional<z.ZodBoolean>;
3836
+ unlisted: z.ZodOptional<z.ZodBoolean>;
3837
+ unavailable: z.ZodNullable<z.ZodString>;
3838
+ updatedAt: z.ZodString;
3839
+ source: z.ZodNullable<z.ZodString>;
3840
+ activeElsewhere: z.ZodNullable<z.ZodObject<{
3841
+ reason: z.ZodEnum<{
3842
+ open: "open";
3843
+ process: "process";
3844
+ "recent-write": "recent-write";
3845
+ "open-tool-call": "open-tool-call";
3846
+ }>;
3847
+ message: z.ZodString;
3848
+ pid: z.ZodNullable<z.ZodInt>;
3849
+ }, z.core.$strict>>;
3638
3850
  }, z.core.$strict>>;
3639
3851
  }, z.core.$strict>;
3640
3852
  readonly kind: "unary";
3641
- readonly since: "1.22";
3642
- readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3853
+ readonly since: "1.38";
3854
+ readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
3643
3855
  };
3644
- readonly "git.add": {
3856
+ readonly "coding.runs.list": {
3645
3857
  readonly params: z.ZodObject<{
3646
- cwd: z.ZodString;
3647
- paths: z.ZodArray<z.ZodString>;
3858
+ session_id: z.ZodString;
3648
3859
  }, z.core.$strict>;
3649
3860
  readonly result: z.ZodObject<{
3650
- output: z.ZodString;
3651
- truncated: z.ZodBoolean;
3861
+ runs: z.ZodArray<z.ZodObject<{
3862
+ runId: z.ZodString;
3863
+ sessionId: z.ZodString;
3864
+ provider: z.ZodEnum<{
3865
+ claude: "claude";
3866
+ codex: "codex";
3867
+ }>;
3868
+ cwd: z.ZodString;
3869
+ prompt: z.ZodString;
3870
+ model: z.ZodNullable<z.ZodString>;
3871
+ status: z.ZodEnum<{
3872
+ running: "running";
3873
+ starting: "starting";
3874
+ failed: "failed";
3875
+ stopped: "stopped";
3876
+ completed: "completed";
3877
+ }>;
3878
+ startedAt: z.ZodString;
3879
+ endedAt: z.ZodNullable<z.ZodString>;
3880
+ error: z.ZodNullable<z.ZodString>;
3881
+ usage: z.ZodNullable<z.ZodObject<{
3882
+ inputTokens: z.ZodInt;
3883
+ outputTokens: z.ZodInt;
3884
+ cachedInputTokens: z.ZodInt;
3885
+ }, z.core.$strict>>;
3886
+ costUsd: z.ZodNullable<z.ZodNumber>;
3887
+ billing: z.ZodNullable<z.ZodEnum<{
3888
+ unknown: "unknown";
3889
+ subscription: "subscription";
3890
+ api: "api";
3891
+ }>>;
3892
+ startedBy: z.ZodNullable<z.ZodObject<{
3893
+ kind: z.ZodEnum<{
3894
+ agent: "agent";
3895
+ this_computer: "this_computer";
3896
+ web: "web";
3897
+ phone: "phone";
3898
+ other: "other";
3899
+ }>;
3900
+ label: z.ZodString;
3901
+ }, z.core.$strict>>;
3902
+ }, z.core.$strict>>;
3652
3903
  }, z.core.$strict>;
3653
3904
  readonly kind: "unary";
3654
- readonly since: "1.22";
3655
- readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3905
+ readonly since: "1.38";
3906
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
3656
3907
  };
3657
- readonly "git.commit": {
3908
+ readonly "coding.history": {
3658
3909
  readonly params: z.ZodObject<{
3659
- cwd: z.ZodString;
3660
- message: z.ZodString;
3661
- amend: z.ZodDefault<z.ZodBoolean>;
3662
- author: z.ZodOptional<z.ZodString>;
3910
+ session_id: z.ZodString;
3911
+ max_bytes: z.ZodOptional<z.ZodInt>;
3663
3912
  }, z.core.$strict>;
3664
3913
  readonly result: z.ZodObject<{
3665
- sha: z.ZodString;
3666
- output: z.ZodString;
3914
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3915
+ kind: z.ZodLiteral<"user">;
3916
+ id: z.ZodString;
3917
+ text: z.ZodString;
3918
+ at: z.ZodNullable<z.ZodString>;
3919
+ }, z.core.$strict>, z.ZodObject<{
3920
+ kind: z.ZodLiteral<"text">;
3921
+ id: z.ZodString;
3922
+ text: z.ZodString;
3923
+ }, z.core.$strict>, z.ZodObject<{
3924
+ kind: z.ZodLiteral<"text-delta">;
3925
+ id: z.ZodString;
3926
+ text: z.ZodString;
3927
+ }, z.core.$strict>, z.ZodObject<{
3928
+ kind: z.ZodLiteral<"reasoning">;
3929
+ id: z.ZodString;
3930
+ text: z.ZodString;
3931
+ }, z.core.$strict>, z.ZodObject<{
3932
+ kind: z.ZodLiteral<"tool-call">;
3933
+ id: z.ZodString;
3934
+ name: z.ZodString;
3935
+ input: z.ZodUnknown;
3936
+ }, z.core.$strict>, z.ZodObject<{
3937
+ kind: z.ZodLiteral<"tool-result">;
3938
+ id: z.ZodString;
3939
+ output: z.ZodString;
3940
+ isError: z.ZodBoolean;
3941
+ fullBytes: z.ZodOptional<z.ZodInt>;
3942
+ }, z.core.$strict>, z.ZodObject<{
3943
+ kind: z.ZodLiteral<"usage">;
3944
+ usage: z.ZodObject<{
3945
+ inputTokens: z.ZodInt;
3946
+ outputTokens: z.ZodInt;
3947
+ cachedInputTokens: z.ZodInt;
3948
+ }, z.core.$strict>;
3949
+ costUsd: z.ZodNullable<z.ZodNumber>;
3950
+ }, z.core.$strict>, z.ZodObject<{
3951
+ kind: z.ZodLiteral<"notice">;
3952
+ id: z.ZodString;
3953
+ level: z.ZodEnum<{
3954
+ warning: "warning";
3955
+ info: "info";
3956
+ }>;
3957
+ text: z.ZodString;
3958
+ }, z.core.$strict>, z.ZodObject<{
3959
+ kind: z.ZodLiteral<"error">;
3960
+ id: z.ZodString;
3961
+ text: z.ZodString;
3962
+ }, z.core.$strict>], "kind">>;
3667
3963
  truncated: z.ZodBoolean;
3964
+ unavailable: z.ZodNullable<z.ZodString>;
3965
+ seq: z.ZodInt;
3668
3966
  }, z.core.$strict>;
3669
3967
  readonly kind: "unary";
3670
- readonly since: "1.22";
3671
- readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3968
+ readonly since: "1.38";
3969
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
3672
3970
  };
3673
- readonly "git.push": {
3971
+ readonly "coding.transcript.read": {
3674
3972
  readonly params: z.ZodObject<{
3675
- cwd: z.ZodString;
3676
- remote: z.ZodDefault<z.ZodString>;
3677
- branch: z.ZodOptional<z.ZodString>;
3678
- force_with_lease: z.ZodDefault<z.ZodBoolean>;
3973
+ provider: z.ZodEnum<{
3974
+ claude: "claude";
3975
+ codex: "codex";
3976
+ }>;
3977
+ provider_session_id: z.ZodString;
3978
+ max_bytes: z.ZodOptional<z.ZodInt>;
3679
3979
  }, z.core.$strict>;
3680
3980
  readonly result: z.ZodObject<{
3681
- output: z.ZodString;
3981
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3982
+ kind: z.ZodLiteral<"user">;
3983
+ id: z.ZodString;
3984
+ text: z.ZodString;
3985
+ at: z.ZodNullable<z.ZodString>;
3986
+ }, z.core.$strict>, z.ZodObject<{
3987
+ kind: z.ZodLiteral<"text">;
3988
+ id: z.ZodString;
3989
+ text: z.ZodString;
3990
+ }, z.core.$strict>, z.ZodObject<{
3991
+ kind: z.ZodLiteral<"text-delta">;
3992
+ id: z.ZodString;
3993
+ text: z.ZodString;
3994
+ }, z.core.$strict>, z.ZodObject<{
3995
+ kind: z.ZodLiteral<"reasoning">;
3996
+ id: z.ZodString;
3997
+ text: z.ZodString;
3998
+ }, z.core.$strict>, z.ZodObject<{
3999
+ kind: z.ZodLiteral<"tool-call">;
4000
+ id: z.ZodString;
4001
+ name: z.ZodString;
4002
+ input: z.ZodUnknown;
4003
+ }, z.core.$strict>, z.ZodObject<{
4004
+ kind: z.ZodLiteral<"tool-result">;
4005
+ id: z.ZodString;
4006
+ output: z.ZodString;
4007
+ isError: z.ZodBoolean;
4008
+ fullBytes: z.ZodOptional<z.ZodInt>;
4009
+ }, z.core.$strict>, z.ZodObject<{
4010
+ kind: z.ZodLiteral<"usage">;
4011
+ usage: z.ZodObject<{
4012
+ inputTokens: z.ZodInt;
4013
+ outputTokens: z.ZodInt;
4014
+ cachedInputTokens: z.ZodInt;
4015
+ }, z.core.$strict>;
4016
+ costUsd: z.ZodNullable<z.ZodNumber>;
4017
+ }, z.core.$strict>, z.ZodObject<{
4018
+ kind: z.ZodLiteral<"notice">;
4019
+ id: z.ZodString;
4020
+ level: z.ZodEnum<{
4021
+ warning: "warning";
4022
+ info: "info";
4023
+ }>;
4024
+ text: z.ZodString;
4025
+ }, z.core.$strict>, z.ZodObject<{
4026
+ kind: z.ZodLiteral<"error">;
4027
+ id: z.ZodString;
4028
+ text: z.ZodString;
4029
+ }, z.core.$strict>], "kind">>;
3682
4030
  truncated: z.ZodBoolean;
4031
+ unavailable: z.ZodNullable<z.ZodString>;
4032
+ seq: z.ZodInt;
3683
4033
  }, z.core.$strict>;
3684
4034
  readonly kind: "unary";
3685
- readonly since: "1.22";
3686
- readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4035
+ readonly since: "1.38";
4036
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
3687
4037
  };
3688
- readonly "git.pull": {
4038
+ readonly "coding.item.full": {
3689
4039
  readonly params: z.ZodObject<{
3690
- cwd: z.ZodString;
3691
- remote: z.ZodDefault<z.ZodString>;
3692
- branch: z.ZodOptional<z.ZodString>;
3693
- rebase: z.ZodDefault<z.ZodBoolean>;
4040
+ provider: z.ZodEnum<{
4041
+ claude: "claude";
4042
+ codex: "codex";
4043
+ }>;
4044
+ provider_session_id: z.ZodString;
4045
+ item_id: z.ZodString;
3694
4046
  }, z.core.$strict>;
3695
4047
  readonly result: z.ZodObject<{
3696
4048
  output: z.ZodString;
3697
- truncated: z.ZodBoolean;
4049
+ bytes: z.ZodInt;
3698
4050
  }, z.core.$strict>;
3699
4051
  readonly kind: "unary";
3700
- readonly since: "1.22";
3701
- readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4052
+ readonly since: "1.38";
4053
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PAYLOAD_TOO_LARGE", "INTERNAL"];
3702
4054
  };
3703
- readonly "git.branch": {
4055
+ readonly "coding.activity": {
3704
4056
  readonly params: z.ZodObject<{
3705
- cwd: z.ZodString;
3706
- action: z.ZodEnum<{
3707
- switch: "switch";
3708
- create: "create";
3709
- delete: "delete";
3710
- list: "list";
4057
+ provider: z.ZodEnum<{
4058
+ claude: "claude";
4059
+ codex: "codex";
3711
4060
  }>;
3712
- name: z.ZodOptional<z.ZodString>;
4061
+ provider_session_id: z.ZodString;
3713
4062
  }, z.core.$strict>;
3714
4063
  readonly result: z.ZodObject<{
3715
- current: z.ZodNullable<z.ZodString>;
3716
- branches: z.ZodArray<z.ZodString>;
3717
- output: z.ZodString;
3718
- truncated: z.ZodBoolean;
4064
+ active: z.ZodNullable<z.ZodObject<{
4065
+ reason: z.ZodEnum<{
4066
+ open: "open";
4067
+ process: "process";
4068
+ "recent-write": "recent-write";
4069
+ "open-tool-call": "open-tool-call";
4070
+ }>;
4071
+ message: z.ZodString;
4072
+ pid: z.ZodNullable<z.ZodInt>;
4073
+ }, z.core.$strict>>;
3719
4074
  }, z.core.$strict>;
3720
4075
  readonly kind: "unary";
3721
- readonly since: "1.22";
4076
+ readonly since: "1.38";
4077
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4078
+ };
4079
+ readonly "coding.folders.recent": {
4080
+ readonly params: z.ZodObject<{}, z.core.$strict>;
4081
+ readonly result: z.ZodObject<{
4082
+ folders: z.ZodArray<z.ZodObject<{
4083
+ path: z.ZodString;
4084
+ lastUsedAt: z.ZodString;
4085
+ exists: z.ZodBoolean;
4086
+ }, z.core.$strict>>;
4087
+ }, z.core.$strict>;
4088
+ readonly kind: "unary";
4089
+ readonly since: "1.38";
4090
+ readonly errors: readonly ["INTERNAL"];
4091
+ };
4092
+ readonly "coding.folders.check": {
4093
+ readonly params: z.ZodObject<{
4094
+ path: z.ZodString;
4095
+ }, z.core.$strict>;
4096
+ readonly result: z.ZodObject<{
4097
+ path: z.ZodString;
4098
+ exists: z.ZodBoolean;
4099
+ isDirectory: z.ZodBoolean;
4100
+ }, z.core.$strict>;
4101
+ readonly kind: "unary";
4102
+ readonly since: "1.38";
4103
+ readonly errors: readonly ["INVALID_PARAMS", "AUTH_FORBIDDEN", "INTERNAL"];
4104
+ };
4105
+ readonly "coding.folders.create": {
4106
+ readonly params: z.ZodObject<{
4107
+ path: z.ZodString;
4108
+ }, z.core.$strict>;
4109
+ readonly result: z.ZodObject<{
4110
+ path: z.ZodString;
4111
+ exists: z.ZodBoolean;
4112
+ isDirectory: z.ZodBoolean;
4113
+ }, z.core.$strict>;
4114
+ readonly kind: "unary";
4115
+ readonly since: "1.38";
4116
+ readonly errors: readonly ["INVALID_PARAMS", "AUTH_FORBIDDEN", "PERMISSION_DENIED_OS", "INTERNAL"];
4117
+ };
4118
+ readonly "coding.start": {
4119
+ readonly params: z.ZodObject<{
4120
+ provider: z.ZodEnum<{
4121
+ claude: "claude";
4122
+ codex: "codex";
4123
+ }>;
4124
+ cwd: z.ZodString;
4125
+ prompt: z.ZodString;
4126
+ model: z.ZodOptional<z.ZodString>;
4127
+ effort: z.ZodOptional<z.ZodString>;
4128
+ agent: z.ZodOptional<z.ZodObject<{
4129
+ agent_id: z.ZodString;
4130
+ version_id: z.ZodOptional<z.ZodString>;
4131
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4132
+ }, z.core.$strict>>;
4133
+ account_profile_id: z.ZodOptional<z.ZodString>;
4134
+ client_request_id: z.ZodString;
4135
+ }, z.core.$strict>;
4136
+ readonly result: z.ZodObject<{
4137
+ session: z.ZodObject<{
4138
+ id: z.ZodString;
4139
+ provider: z.ZodEnum<{
4140
+ claude: "claude";
4141
+ codex: "codex";
4142
+ }>;
4143
+ providerSessionId: z.ZodNullable<z.ZodString>;
4144
+ cwd: z.ZodString;
4145
+ title: z.ZodString;
4146
+ model: z.ZodNullable<z.ZodString>;
4147
+ effort: z.ZodNullable<z.ZodString>;
4148
+ origin: z.ZodEnum<{
4149
+ started: "started";
4150
+ takeover: "takeover";
4151
+ }>;
4152
+ createdAt: z.ZodString;
4153
+ updatedAt: z.ZodString;
4154
+ lastRunId: z.ZodNullable<z.ZodString>;
4155
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
4156
+ running: "running";
4157
+ starting: "starting";
4158
+ failed: "failed";
4159
+ stopped: "stopped";
4160
+ completed: "completed";
4161
+ }>>;
4162
+ queued: z.ZodArray<z.ZodString>;
4163
+ agent: z.ZodNullable<z.ZodObject<{
4164
+ agentId: z.ZodString;
4165
+ versionId: z.ZodNullable<z.ZodString>;
4166
+ versionNumber: z.ZodNullable<z.ZodInt>;
4167
+ name: z.ZodString;
4168
+ definitionHash: z.ZodString;
4169
+ loaded: z.ZodArray<z.ZodObject<{
4170
+ part: z.ZodEnum<{
4171
+ instructions: "instructions";
4172
+ skills: "skills";
4173
+ tools: "tools";
4174
+ }>;
4175
+ loaded: z.ZodInt;
4176
+ total: z.ZodInt;
4177
+ }, z.core.$strict>>;
4178
+ unavailable: z.ZodArray<z.ZodObject<{
4179
+ kind: z.ZodString;
4180
+ name: z.ZodString;
4181
+ reason: z.ZodString;
4182
+ }, z.core.$strict>>;
4183
+ skills: z.ZodArray<z.ZodString>;
4184
+ tools: z.ZodArray<z.ZodString>;
4185
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4186
+ blockDue: z.ZodBoolean;
4187
+ deliveredAt: z.ZodNullable<z.ZodString>;
4188
+ replaces: z.ZodNullable<z.ZodString>;
4189
+ }, z.core.$strict>>;
4190
+ agentRemovedDue: z.ZodBoolean;
4191
+ }, z.core.$strict>;
4192
+ run: z.ZodNullable<z.ZodObject<{
4193
+ runId: z.ZodString;
4194
+ sessionId: z.ZodString;
4195
+ provider: z.ZodEnum<{
4196
+ claude: "claude";
4197
+ codex: "codex";
4198
+ }>;
4199
+ cwd: z.ZodString;
4200
+ prompt: z.ZodString;
4201
+ model: z.ZodNullable<z.ZodString>;
4202
+ status: z.ZodEnum<{
4203
+ running: "running";
4204
+ starting: "starting";
4205
+ failed: "failed";
4206
+ stopped: "stopped";
4207
+ completed: "completed";
4208
+ }>;
4209
+ startedAt: z.ZodString;
4210
+ endedAt: z.ZodNullable<z.ZodString>;
4211
+ error: z.ZodNullable<z.ZodString>;
4212
+ usage: z.ZodNullable<z.ZodObject<{
4213
+ inputTokens: z.ZodInt;
4214
+ outputTokens: z.ZodInt;
4215
+ cachedInputTokens: z.ZodInt;
4216
+ }, z.core.$strict>>;
4217
+ costUsd: z.ZodNullable<z.ZodNumber>;
4218
+ billing: z.ZodNullable<z.ZodEnum<{
4219
+ unknown: "unknown";
4220
+ subscription: "subscription";
4221
+ api: "api";
4222
+ }>>;
4223
+ startedBy: z.ZodNullable<z.ZodObject<{
4224
+ kind: z.ZodEnum<{
4225
+ agent: "agent";
4226
+ this_computer: "this_computer";
4227
+ web: "web";
4228
+ phone: "phone";
4229
+ other: "other";
4230
+ }>;
4231
+ label: z.ZodString;
4232
+ }, z.core.$strict>>;
4233
+ }, z.core.$strict>>;
4234
+ queued: z.ZodBoolean;
4235
+ }, z.core.$strict>;
4236
+ readonly kind: "unary";
4237
+ readonly since: "1.38";
4238
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "AUTH_FORBIDDEN", "RATE_LIMITED", "INTERNAL"];
4239
+ };
4240
+ readonly "coding.takeover": {
4241
+ readonly params: z.ZodObject<{
4242
+ provider: z.ZodEnum<{
4243
+ claude: "claude";
4244
+ codex: "codex";
4245
+ }>;
4246
+ provider_session_id: z.ZodString;
4247
+ cwd: z.ZodString;
4248
+ title: z.ZodOptional<z.ZodString>;
4249
+ agent: z.ZodOptional<z.ZodObject<{
4250
+ agent_id: z.ZodString;
4251
+ version_id: z.ZodOptional<z.ZodString>;
4252
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4253
+ }, z.core.$strict>>;
4254
+ confirm_elsewhere: z.ZodOptional<z.ZodBoolean>;
4255
+ }, z.core.$strict>;
4256
+ readonly result: z.ZodObject<{
4257
+ session: z.ZodObject<{
4258
+ id: z.ZodString;
4259
+ provider: z.ZodEnum<{
4260
+ claude: "claude";
4261
+ codex: "codex";
4262
+ }>;
4263
+ providerSessionId: z.ZodNullable<z.ZodString>;
4264
+ cwd: z.ZodString;
4265
+ title: z.ZodString;
4266
+ model: z.ZodNullable<z.ZodString>;
4267
+ effort: z.ZodNullable<z.ZodString>;
4268
+ origin: z.ZodEnum<{
4269
+ started: "started";
4270
+ takeover: "takeover";
4271
+ }>;
4272
+ createdAt: z.ZodString;
4273
+ updatedAt: z.ZodString;
4274
+ lastRunId: z.ZodNullable<z.ZodString>;
4275
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
4276
+ running: "running";
4277
+ starting: "starting";
4278
+ failed: "failed";
4279
+ stopped: "stopped";
4280
+ completed: "completed";
4281
+ }>>;
4282
+ queued: z.ZodArray<z.ZodString>;
4283
+ agent: z.ZodNullable<z.ZodObject<{
4284
+ agentId: z.ZodString;
4285
+ versionId: z.ZodNullable<z.ZodString>;
4286
+ versionNumber: z.ZodNullable<z.ZodInt>;
4287
+ name: z.ZodString;
4288
+ definitionHash: z.ZodString;
4289
+ loaded: z.ZodArray<z.ZodObject<{
4290
+ part: z.ZodEnum<{
4291
+ instructions: "instructions";
4292
+ skills: "skills";
4293
+ tools: "tools";
4294
+ }>;
4295
+ loaded: z.ZodInt;
4296
+ total: z.ZodInt;
4297
+ }, z.core.$strict>>;
4298
+ unavailable: z.ZodArray<z.ZodObject<{
4299
+ kind: z.ZodString;
4300
+ name: z.ZodString;
4301
+ reason: z.ZodString;
4302
+ }, z.core.$strict>>;
4303
+ skills: z.ZodArray<z.ZodString>;
4304
+ tools: z.ZodArray<z.ZodString>;
4305
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4306
+ blockDue: z.ZodBoolean;
4307
+ deliveredAt: z.ZodNullable<z.ZodString>;
4308
+ replaces: z.ZodNullable<z.ZodString>;
4309
+ }, z.core.$strict>>;
4310
+ agentRemovedDue: z.ZodBoolean;
4311
+ }, z.core.$strict>;
4312
+ }, z.core.$strict>;
4313
+ readonly kind: "unary";
4314
+ readonly since: "1.38";
4315
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "AUTH_FORBIDDEN", "INTERNAL"];
4316
+ };
4317
+ readonly "coding.send": {
4318
+ readonly params: z.ZodObject<{
4319
+ session_id: z.ZodString;
4320
+ prompt: z.ZodString;
4321
+ client_request_id: z.ZodString;
4322
+ }, z.core.$strict>;
4323
+ readonly result: z.ZodObject<{
4324
+ session: z.ZodObject<{
4325
+ id: z.ZodString;
4326
+ provider: z.ZodEnum<{
4327
+ claude: "claude";
4328
+ codex: "codex";
4329
+ }>;
4330
+ providerSessionId: z.ZodNullable<z.ZodString>;
4331
+ cwd: z.ZodString;
4332
+ title: z.ZodString;
4333
+ model: z.ZodNullable<z.ZodString>;
4334
+ effort: z.ZodNullable<z.ZodString>;
4335
+ origin: z.ZodEnum<{
4336
+ started: "started";
4337
+ takeover: "takeover";
4338
+ }>;
4339
+ createdAt: z.ZodString;
4340
+ updatedAt: z.ZodString;
4341
+ lastRunId: z.ZodNullable<z.ZodString>;
4342
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
4343
+ running: "running";
4344
+ starting: "starting";
4345
+ failed: "failed";
4346
+ stopped: "stopped";
4347
+ completed: "completed";
4348
+ }>>;
4349
+ queued: z.ZodArray<z.ZodString>;
4350
+ agent: z.ZodNullable<z.ZodObject<{
4351
+ agentId: z.ZodString;
4352
+ versionId: z.ZodNullable<z.ZodString>;
4353
+ versionNumber: z.ZodNullable<z.ZodInt>;
4354
+ name: z.ZodString;
4355
+ definitionHash: z.ZodString;
4356
+ loaded: z.ZodArray<z.ZodObject<{
4357
+ part: z.ZodEnum<{
4358
+ instructions: "instructions";
4359
+ skills: "skills";
4360
+ tools: "tools";
4361
+ }>;
4362
+ loaded: z.ZodInt;
4363
+ total: z.ZodInt;
4364
+ }, z.core.$strict>>;
4365
+ unavailable: z.ZodArray<z.ZodObject<{
4366
+ kind: z.ZodString;
4367
+ name: z.ZodString;
4368
+ reason: z.ZodString;
4369
+ }, z.core.$strict>>;
4370
+ skills: z.ZodArray<z.ZodString>;
4371
+ tools: z.ZodArray<z.ZodString>;
4372
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4373
+ blockDue: z.ZodBoolean;
4374
+ deliveredAt: z.ZodNullable<z.ZodString>;
4375
+ replaces: z.ZodNullable<z.ZodString>;
4376
+ }, z.core.$strict>>;
4377
+ agentRemovedDue: z.ZodBoolean;
4378
+ }, z.core.$strict>;
4379
+ run: z.ZodNullable<z.ZodObject<{
4380
+ runId: z.ZodString;
4381
+ sessionId: z.ZodString;
4382
+ provider: z.ZodEnum<{
4383
+ claude: "claude";
4384
+ codex: "codex";
4385
+ }>;
4386
+ cwd: z.ZodString;
4387
+ prompt: z.ZodString;
4388
+ model: z.ZodNullable<z.ZodString>;
4389
+ status: z.ZodEnum<{
4390
+ running: "running";
4391
+ starting: "starting";
4392
+ failed: "failed";
4393
+ stopped: "stopped";
4394
+ completed: "completed";
4395
+ }>;
4396
+ startedAt: z.ZodString;
4397
+ endedAt: z.ZodNullable<z.ZodString>;
4398
+ error: z.ZodNullable<z.ZodString>;
4399
+ usage: z.ZodNullable<z.ZodObject<{
4400
+ inputTokens: z.ZodInt;
4401
+ outputTokens: z.ZodInt;
4402
+ cachedInputTokens: z.ZodInt;
4403
+ }, z.core.$strict>>;
4404
+ costUsd: z.ZodNullable<z.ZodNumber>;
4405
+ billing: z.ZodNullable<z.ZodEnum<{
4406
+ unknown: "unknown";
4407
+ subscription: "subscription";
4408
+ api: "api";
4409
+ }>>;
4410
+ startedBy: z.ZodNullable<z.ZodObject<{
4411
+ kind: z.ZodEnum<{
4412
+ agent: "agent";
4413
+ this_computer: "this_computer";
4414
+ web: "web";
4415
+ phone: "phone";
4416
+ other: "other";
4417
+ }>;
4418
+ label: z.ZodString;
4419
+ }, z.core.$strict>>;
4420
+ }, z.core.$strict>>;
4421
+ queued: z.ZodBoolean;
4422
+ }, z.core.$strict>;
4423
+ readonly kind: "unary";
4424
+ readonly since: "1.38";
4425
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RATE_LIMITED", "INTERNAL"];
4426
+ };
4427
+ readonly "coding.stop": {
4428
+ readonly params: z.ZodObject<{
4429
+ run_id: z.ZodString;
4430
+ }, z.core.$strict>;
4431
+ readonly result: z.ZodObject<{
4432
+ run: z.ZodNullable<z.ZodObject<{
4433
+ runId: z.ZodString;
4434
+ sessionId: z.ZodString;
4435
+ provider: z.ZodEnum<{
4436
+ claude: "claude";
4437
+ codex: "codex";
4438
+ }>;
4439
+ cwd: z.ZodString;
4440
+ prompt: z.ZodString;
4441
+ model: z.ZodNullable<z.ZodString>;
4442
+ status: z.ZodEnum<{
4443
+ running: "running";
4444
+ starting: "starting";
4445
+ failed: "failed";
4446
+ stopped: "stopped";
4447
+ completed: "completed";
4448
+ }>;
4449
+ startedAt: z.ZodString;
4450
+ endedAt: z.ZodNullable<z.ZodString>;
4451
+ error: z.ZodNullable<z.ZodString>;
4452
+ usage: z.ZodNullable<z.ZodObject<{
4453
+ inputTokens: z.ZodInt;
4454
+ outputTokens: z.ZodInt;
4455
+ cachedInputTokens: z.ZodInt;
4456
+ }, z.core.$strict>>;
4457
+ costUsd: z.ZodNullable<z.ZodNumber>;
4458
+ billing: z.ZodNullable<z.ZodEnum<{
4459
+ unknown: "unknown";
4460
+ subscription: "subscription";
4461
+ api: "api";
4462
+ }>>;
4463
+ startedBy: z.ZodNullable<z.ZodObject<{
4464
+ kind: z.ZodEnum<{
4465
+ agent: "agent";
4466
+ this_computer: "this_computer";
4467
+ web: "web";
4468
+ phone: "phone";
4469
+ other: "other";
4470
+ }>;
4471
+ label: z.ZodString;
4472
+ }, z.core.$strict>>;
4473
+ }, z.core.$strict>>;
4474
+ }, z.core.$strict>;
4475
+ readonly kind: "unary";
4476
+ readonly since: "1.38";
4477
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4478
+ };
4479
+ readonly "coding.stop_elsewhere": {
4480
+ readonly params: z.ZodObject<{
4481
+ provider: z.ZodEnum<{
4482
+ claude: "claude";
4483
+ codex: "codex";
4484
+ }>;
4485
+ provider_session_id: z.ZodString;
4486
+ pid: z.ZodInt;
4487
+ }, z.core.$strict>;
4488
+ readonly result: z.ZodObject<{
4489
+ stopped: z.ZodBoolean;
4490
+ message: z.ZodString;
4491
+ }, z.core.$strict>;
4492
+ readonly kind: "unary";
4493
+ readonly since: "1.38";
4494
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "CONFLICT", "PERMISSION_DENIED_OS", "INTERNAL"];
4495
+ };
4496
+ readonly "coding.options.set": {
4497
+ readonly params: z.ZodObject<{
4498
+ session_id: z.ZodString;
4499
+ model: z.ZodOptional<z.ZodString>;
4500
+ effort: z.ZodOptional<z.ZodString>;
4501
+ }, z.core.$strict>;
4502
+ readonly result: z.ZodObject<{
4503
+ session: z.ZodObject<{
4504
+ id: z.ZodString;
4505
+ provider: z.ZodEnum<{
4506
+ claude: "claude";
4507
+ codex: "codex";
4508
+ }>;
4509
+ providerSessionId: z.ZodNullable<z.ZodString>;
4510
+ cwd: z.ZodString;
4511
+ title: z.ZodString;
4512
+ model: z.ZodNullable<z.ZodString>;
4513
+ effort: z.ZodNullable<z.ZodString>;
4514
+ origin: z.ZodEnum<{
4515
+ started: "started";
4516
+ takeover: "takeover";
4517
+ }>;
4518
+ createdAt: z.ZodString;
4519
+ updatedAt: z.ZodString;
4520
+ lastRunId: z.ZodNullable<z.ZodString>;
4521
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
4522
+ running: "running";
4523
+ starting: "starting";
4524
+ failed: "failed";
4525
+ stopped: "stopped";
4526
+ completed: "completed";
4527
+ }>>;
4528
+ queued: z.ZodArray<z.ZodString>;
4529
+ agent: z.ZodNullable<z.ZodObject<{
4530
+ agentId: z.ZodString;
4531
+ versionId: z.ZodNullable<z.ZodString>;
4532
+ versionNumber: z.ZodNullable<z.ZodInt>;
4533
+ name: z.ZodString;
4534
+ definitionHash: z.ZodString;
4535
+ loaded: z.ZodArray<z.ZodObject<{
4536
+ part: z.ZodEnum<{
4537
+ instructions: "instructions";
4538
+ skills: "skills";
4539
+ tools: "tools";
4540
+ }>;
4541
+ loaded: z.ZodInt;
4542
+ total: z.ZodInt;
4543
+ }, z.core.$strict>>;
4544
+ unavailable: z.ZodArray<z.ZodObject<{
4545
+ kind: z.ZodString;
4546
+ name: z.ZodString;
4547
+ reason: z.ZodString;
4548
+ }, z.core.$strict>>;
4549
+ skills: z.ZodArray<z.ZodString>;
4550
+ tools: z.ZodArray<z.ZodString>;
4551
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4552
+ blockDue: z.ZodBoolean;
4553
+ deliveredAt: z.ZodNullable<z.ZodString>;
4554
+ replaces: z.ZodNullable<z.ZodString>;
4555
+ }, z.core.$strict>>;
4556
+ agentRemovedDue: z.ZodBoolean;
4557
+ }, z.core.$strict>;
4558
+ }, z.core.$strict>;
4559
+ readonly kind: "unary";
4560
+ readonly since: "1.38";
4561
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
4562
+ };
4563
+ readonly "coding.agent.set": {
4564
+ readonly params: z.ZodObject<{
4565
+ session_id: z.ZodString;
4566
+ agent: z.ZodOptional<z.ZodObject<{
4567
+ agent_id: z.ZodString;
4568
+ version_id: z.ZodOptional<z.ZodString>;
4569
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4570
+ }, z.core.$strict>>;
4571
+ }, z.core.$strict>;
4572
+ readonly result: z.ZodObject<{
4573
+ session: z.ZodObject<{
4574
+ id: z.ZodString;
4575
+ provider: z.ZodEnum<{
4576
+ claude: "claude";
4577
+ codex: "codex";
4578
+ }>;
4579
+ providerSessionId: z.ZodNullable<z.ZodString>;
4580
+ cwd: z.ZodString;
4581
+ title: z.ZodString;
4582
+ model: z.ZodNullable<z.ZodString>;
4583
+ effort: z.ZodNullable<z.ZodString>;
4584
+ origin: z.ZodEnum<{
4585
+ started: "started";
4586
+ takeover: "takeover";
4587
+ }>;
4588
+ createdAt: z.ZodString;
4589
+ updatedAt: z.ZodString;
4590
+ lastRunId: z.ZodNullable<z.ZodString>;
4591
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
4592
+ running: "running";
4593
+ starting: "starting";
4594
+ failed: "failed";
4595
+ stopped: "stopped";
4596
+ completed: "completed";
4597
+ }>>;
4598
+ queued: z.ZodArray<z.ZodString>;
4599
+ agent: z.ZodNullable<z.ZodObject<{
4600
+ agentId: z.ZodString;
4601
+ versionId: z.ZodNullable<z.ZodString>;
4602
+ versionNumber: z.ZodNullable<z.ZodInt>;
4603
+ name: z.ZodString;
4604
+ definitionHash: z.ZodString;
4605
+ loaded: z.ZodArray<z.ZodObject<{
4606
+ part: z.ZodEnum<{
4607
+ instructions: "instructions";
4608
+ skills: "skills";
4609
+ tools: "tools";
4610
+ }>;
4611
+ loaded: z.ZodInt;
4612
+ total: z.ZodInt;
4613
+ }, z.core.$strict>>;
4614
+ unavailable: z.ZodArray<z.ZodObject<{
4615
+ kind: z.ZodString;
4616
+ name: z.ZodString;
4617
+ reason: z.ZodString;
4618
+ }, z.core.$strict>>;
4619
+ skills: z.ZodArray<z.ZodString>;
4620
+ tools: z.ZodArray<z.ZodString>;
4621
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4622
+ blockDue: z.ZodBoolean;
4623
+ deliveredAt: z.ZodNullable<z.ZodString>;
4624
+ replaces: z.ZodNullable<z.ZodString>;
4625
+ }, z.core.$strict>>;
4626
+ agentRemovedDue: z.ZodBoolean;
4627
+ }, z.core.$strict>;
4628
+ }, z.core.$strict>;
4629
+ readonly kind: "unary";
4630
+ readonly since: "1.38";
4631
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "AUTH_FORBIDDEN", "INTERNAL"];
4632
+ };
4633
+ readonly "coding.agents.access": {
4634
+ readonly params: z.ZodObject<{}, z.core.$strict>;
4635
+ readonly result: z.ZodObject<{
4636
+ signedIn: z.ZodBoolean;
4637
+ userId: z.ZodNullable<z.ZodString>;
4638
+ organizationId: z.ZodNullable<z.ZodString>;
4639
+ configured: z.ZodBoolean;
4640
+ }, z.core.$strict>;
4641
+ readonly kind: "unary";
4642
+ readonly since: "1.38";
4643
+ readonly errors: readonly ["INTERNAL"];
4644
+ };
4645
+ readonly "coding.titles.status": {
4646
+ readonly params: z.ZodObject<{}, z.core.$strict>;
4647
+ readonly result: z.ZodObject<{
4648
+ owner: z.ZodBoolean;
4649
+ pending: z.ZodBoolean;
4650
+ problem: z.ZodNullable<z.ZodString>;
4651
+ renames: z.ZodNullable<z.ZodString>;
4652
+ }, z.core.$strict>;
4653
+ readonly kind: "unary";
4654
+ readonly since: "1.38";
4655
+ readonly errors: readonly ["INTERNAL"];
4656
+ };
4657
+ readonly "coding.prefs.list": {
4658
+ readonly params: z.ZodObject<{}, z.core.$strict>;
4659
+ readonly result: z.ZodObject<{
4660
+ preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
4661
+ title: z.ZodNullable<z.ZodString>;
4662
+ pinned: z.ZodBoolean;
4663
+ hidden: z.ZodBoolean;
4664
+ lastSeenAt: z.ZodNullable<z.ZodString>;
4665
+ updatedAt: z.ZodNullable<z.ZodString>;
4666
+ }, z.core.$strict>>;
4667
+ }, z.core.$strict>;
4668
+ readonly kind: "unary";
4669
+ readonly since: "1.38";
4670
+ readonly errors: readonly ["INTERNAL"];
4671
+ };
4672
+ readonly "coding.prefs.set": {
4673
+ readonly params: z.ZodObject<{
4674
+ key: z.ZodString;
4675
+ title: z.ZodOptional<z.ZodString>;
4676
+ clear_title: z.ZodOptional<z.ZodBoolean>;
4677
+ pinned: z.ZodOptional<z.ZodBoolean>;
4678
+ hidden: z.ZodOptional<z.ZodBoolean>;
4679
+ }, z.core.$strict>;
4680
+ readonly result: z.ZodObject<{
4681
+ preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
4682
+ title: z.ZodNullable<z.ZodString>;
4683
+ pinned: z.ZodBoolean;
4684
+ hidden: z.ZodBoolean;
4685
+ lastSeenAt: z.ZodNullable<z.ZodString>;
4686
+ updatedAt: z.ZodNullable<z.ZodString>;
4687
+ }, z.core.$strict>>;
4688
+ }, z.core.$strict>;
4689
+ readonly kind: "unary";
4690
+ readonly since: "1.38";
4691
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4692
+ };
4693
+ readonly "coding.recent.seen": {
4694
+ readonly params: z.ZodObject<{
4695
+ target: z.ZodString;
4696
+ }, z.core.$strict>;
4697
+ readonly result: z.ZodObject<{
4698
+ recent: z.ZodArray<z.ZodObject<{
4699
+ target: z.ZodString;
4700
+ title: z.ZodString;
4701
+ provider: z.ZodEnum<{
4702
+ claude: "claude";
4703
+ codex: "codex";
4704
+ }>;
4705
+ sessionId: z.ZodNullable<z.ZodString>;
4706
+ providerSessionId: z.ZodNullable<z.ZodString>;
4707
+ cwd: z.ZodNullable<z.ZodString>;
4708
+ updatedAt: z.ZodString;
4709
+ state: z.ZodEnum<{
4710
+ running: "running";
4711
+ idle: "idle";
4712
+ needs_attention: "needs_attention";
4713
+ new_output: "new_output";
4714
+ elsewhere: "elsewhere";
4715
+ }>;
4716
+ stateLabel: z.ZodNullable<z.ZodString>;
4717
+ pinned: z.ZodBoolean;
4718
+ startedBy: z.ZodNullable<z.ZodObject<{
4719
+ kind: z.ZodEnum<{
4720
+ agent: "agent";
4721
+ this_computer: "this_computer";
4722
+ web: "web";
4723
+ phone: "phone";
4724
+ other: "other";
4725
+ }>;
4726
+ label: z.ZodString;
4727
+ }, z.core.$strict>>;
4728
+ }, z.core.$strict>>;
4729
+ }, z.core.$strict>;
4730
+ readonly kind: "unary";
4731
+ readonly since: "1.38";
4732
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4733
+ };
4734
+ readonly "coding.search": {
4735
+ readonly params: z.ZodObject<{
4736
+ query: z.ZodString;
4737
+ cursor: z.ZodOptional<z.ZodInt>;
4738
+ limit: z.ZodOptional<z.ZodInt>;
4739
+ }, z.core.$strict>;
4740
+ readonly result: z.ZodObject<{
4741
+ query: z.ZodString;
4742
+ hits: z.ZodArray<z.ZodObject<{
4743
+ provider: z.ZodEnum<{
4744
+ claude: "claude";
4745
+ codex: "codex";
4746
+ }>;
4747
+ providerSessionId: z.ZodString;
4748
+ title: z.ZodString;
4749
+ cwd: z.ZodNullable<z.ZodString>;
4750
+ updatedAt: z.ZodString;
4751
+ where: z.ZodEnum<{
4752
+ title: "title";
4753
+ content: "content";
4754
+ }>;
4755
+ snippet: z.ZodNullable<z.ZodString>;
4756
+ }, z.core.$strict>>;
4757
+ scanned: z.ZodInt;
4758
+ total: z.ZodInt;
4759
+ nextCursor: z.ZodNullable<z.ZodInt>;
4760
+ }, z.core.$strict>;
4761
+ readonly kind: "unary";
4762
+ readonly since: "1.38";
4763
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "INTERNAL"];
4764
+ };
4765
+ readonly "coding.reconcile": {
4766
+ readonly params: z.ZodObject<{
4767
+ provider: z.ZodEnum<{
4768
+ claude: "claude";
4769
+ codex: "codex";
4770
+ }>;
4771
+ provider_session_id: z.ZodString;
4772
+ }, z.core.$strict>;
4773
+ readonly result: z.ZodObject<{
4774
+ state: z.ZodEnum<{
4775
+ done: "done";
4776
+ blocked: "blocked";
4777
+ nothing_to_do: "nothing_to_do";
4778
+ }>;
4779
+ summary: z.ZodString;
4780
+ }, z.core.$strict>;
4781
+ readonly kind: "unary";
4782
+ readonly since: "1.38";
4783
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
4784
+ };
4785
+ readonly "coding.transcript.raw": {
4786
+ readonly params: z.ZodObject<{
4787
+ provider: z.ZodEnum<{
4788
+ claude: "claude";
4789
+ codex: "codex";
4790
+ }>;
4791
+ provider_session_id: z.ZodString;
4792
+ }, z.core.$strict>;
4793
+ readonly result: z.ZodObject<{
4794
+ available: z.ZodBoolean;
4795
+ reason: z.ZodNullable<z.ZodString>;
4796
+ file_name: z.ZodNullable<z.ZodString>;
4797
+ bytes: z.ZodInt;
4798
+ backup_refreshed: z.ZodBoolean;
4799
+ subagents: z.ZodInt;
4800
+ }, z.core.$strict>;
4801
+ readonly kind: "stream";
4802
+ readonly since: "1.38";
4803
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "CANCELLED", "INTERNAL"];
4804
+ };
4805
+ readonly "coding.watch": {
4806
+ readonly params: z.ZodObject<{}, z.core.$strict>;
4807
+ readonly result: z.ZodObject<{
4808
+ resource_id: z.ZodString;
4809
+ }, z.core.$strict>;
4810
+ readonly kind: "resource";
4811
+ readonly since: "1.38";
4812
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "RATE_LIMITED", "INTERNAL"];
4813
+ };
4814
+ readonly "coding.session.watch": {
4815
+ readonly params: z.ZodObject<{
4816
+ session_id: z.ZodString;
4817
+ since_seq: z.ZodOptional<z.ZodInt>;
4818
+ }, z.core.$strict>;
4819
+ readonly result: z.ZodObject<{
4820
+ resource_id: z.ZodString;
4821
+ seq: z.ZodInt;
4822
+ }, z.core.$strict>;
4823
+ readonly kind: "resource";
4824
+ readonly since: "1.38";
4825
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RATE_LIMITED", "INTERNAL"];
4826
+ };
4827
+ readonly "session.identify": {
4828
+ readonly params: z.ZodObject<{
4829
+ label: z.ZodString;
4830
+ }, z.core.$strict>;
4831
+ readonly result: z.ZodObject<{
4832
+ label: z.ZodString;
4833
+ }, z.core.$strict>;
4834
+ readonly kind: "unary";
4835
+ readonly since: "1.38";
4836
+ readonly errors: readonly ["INVALID_PARAMS"];
4837
+ };
4838
+ readonly "git.status": {
4839
+ readonly params: z.ZodObject<{
4840
+ cwd: z.ZodString;
4841
+ }, z.core.$strict>;
4842
+ readonly result: z.ZodObject<{
4843
+ branch: z.ZodNullable<z.ZodString>;
4844
+ upstream: z.ZodNullable<z.ZodString>;
4845
+ ahead: z.ZodInt;
4846
+ behind: z.ZodInt;
4847
+ files: z.ZodArray<z.ZodObject<{
4848
+ path: z.ZodString;
4849
+ index: z.ZodString;
4850
+ worktree: z.ZodString;
4851
+ }, z.core.$strict>>;
4852
+ clean: z.ZodBoolean;
4853
+ truncated: z.ZodBoolean;
4854
+ }, z.core.$strict>;
4855
+ readonly kind: "unary";
4856
+ readonly since: "1.22";
4857
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4858
+ };
4859
+ readonly "git.diff": {
4860
+ readonly params: z.ZodObject<{
4861
+ cwd: z.ZodString;
4862
+ path: z.ZodOptional<z.ZodString>;
4863
+ staged: z.ZodDefault<z.ZodBoolean>;
4864
+ }, z.core.$strict>;
4865
+ readonly result: z.ZodObject<{
4866
+ diff: z.ZodString;
4867
+ truncated: z.ZodBoolean;
4868
+ }, z.core.$strict>;
4869
+ readonly kind: "unary";
4870
+ readonly since: "1.22";
4871
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4872
+ };
4873
+ readonly "git.log": {
4874
+ readonly params: z.ZodObject<{
4875
+ cwd: z.ZodString;
4876
+ limit: z.ZodDefault<z.ZodInt>;
4877
+ }, z.core.$strict>;
4878
+ readonly result: z.ZodObject<{
4879
+ commits: z.ZodArray<z.ZodObject<{
4880
+ sha: z.ZodString;
4881
+ short: z.ZodString;
4882
+ author: z.ZodString;
4883
+ date: z.ZodString;
4884
+ subject: z.ZodString;
4885
+ }, z.core.$strict>>;
4886
+ }, z.core.$strict>;
4887
+ readonly kind: "unary";
4888
+ readonly since: "1.22";
4889
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4890
+ };
4891
+ readonly "git.add": {
4892
+ readonly params: z.ZodObject<{
4893
+ cwd: z.ZodString;
4894
+ paths: z.ZodArray<z.ZodString>;
4895
+ }, z.core.$strict>;
4896
+ readonly result: z.ZodObject<{
4897
+ output: z.ZodString;
4898
+ truncated: z.ZodBoolean;
4899
+ }, z.core.$strict>;
4900
+ readonly kind: "unary";
4901
+ readonly since: "1.22";
4902
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4903
+ };
4904
+ readonly "git.commit": {
4905
+ readonly params: z.ZodObject<{
4906
+ cwd: z.ZodString;
4907
+ message: z.ZodString;
4908
+ amend: z.ZodDefault<z.ZodBoolean>;
4909
+ author: z.ZodOptional<z.ZodString>;
4910
+ }, z.core.$strict>;
4911
+ readonly result: z.ZodObject<{
4912
+ sha: z.ZodString;
4913
+ output: z.ZodString;
4914
+ truncated: z.ZodBoolean;
4915
+ }, z.core.$strict>;
4916
+ readonly kind: "unary";
4917
+ readonly since: "1.22";
4918
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4919
+ };
4920
+ readonly "git.push": {
4921
+ readonly params: z.ZodObject<{
4922
+ cwd: z.ZodString;
4923
+ remote: z.ZodDefault<z.ZodString>;
4924
+ branch: z.ZodOptional<z.ZodString>;
4925
+ force_with_lease: z.ZodDefault<z.ZodBoolean>;
4926
+ }, z.core.$strict>;
4927
+ readonly result: z.ZodObject<{
4928
+ output: z.ZodString;
4929
+ truncated: z.ZodBoolean;
4930
+ }, z.core.$strict>;
4931
+ readonly kind: "unary";
4932
+ readonly since: "1.22";
4933
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4934
+ };
4935
+ readonly "git.pull": {
4936
+ readonly params: z.ZodObject<{
4937
+ cwd: z.ZodString;
4938
+ remote: z.ZodDefault<z.ZodString>;
4939
+ branch: z.ZodOptional<z.ZodString>;
4940
+ rebase: z.ZodDefault<z.ZodBoolean>;
4941
+ }, z.core.$strict>;
4942
+ readonly result: z.ZodObject<{
4943
+ output: z.ZodString;
4944
+ truncated: z.ZodBoolean;
4945
+ }, z.core.$strict>;
4946
+ readonly kind: "unary";
4947
+ readonly since: "1.22";
4948
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4949
+ };
4950
+ readonly "git.branch": {
4951
+ readonly params: z.ZodObject<{
4952
+ cwd: z.ZodString;
4953
+ action: z.ZodEnum<{
4954
+ switch: "switch";
4955
+ create: "create";
4956
+ delete: "delete";
4957
+ list: "list";
4958
+ }>;
4959
+ name: z.ZodOptional<z.ZodString>;
4960
+ }, z.core.$strict>;
4961
+ readonly result: z.ZodObject<{
4962
+ current: z.ZodNullable<z.ZodString>;
4963
+ branches: z.ZodArray<z.ZodString>;
4964
+ output: z.ZodString;
4965
+ truncated: z.ZodBoolean;
4966
+ }, z.core.$strict>;
4967
+ readonly kind: "unary";
4968
+ readonly since: "1.22";
4969
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4970
+ };
4971
+ readonly "git.stash": {
4972
+ readonly params: z.ZodObject<{
4973
+ cwd: z.ZodString;
4974
+ action: z.ZodEnum<{
4975
+ pop: "pop";
4976
+ push: "push";
4977
+ list: "list";
4978
+ drop: "drop";
4979
+ }>;
4980
+ message: z.ZodOptional<z.ZodString>;
4981
+ }, z.core.$strict>;
4982
+ readonly result: z.ZodObject<{
4983
+ output: z.ZodString;
4984
+ truncated: z.ZodBoolean;
4985
+ }, z.core.$strict>;
4986
+ readonly kind: "unary";
4987
+ readonly since: "1.22";
4988
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4989
+ };
4990
+ readonly "git.clone": {
4991
+ readonly params: z.ZodObject<{
4992
+ url: z.ZodString;
4993
+ dest: z.ZodString;
4994
+ branch: z.ZodOptional<z.ZodString>;
4995
+ depth: z.ZodOptional<z.ZodInt>;
4996
+ }, z.core.$strict>;
4997
+ readonly result: z.ZodObject<{
4998
+ output: z.ZodString;
4999
+ truncated: z.ZodBoolean;
5000
+ }, z.core.$strict>;
5001
+ readonly kind: "unary";
5002
+ readonly since: "1.22";
3722
5003
  readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3723
5004
  };
3724
- readonly "git.stash": {
5005
+ readonly "web.fetch": {
5006
+ readonly params: z.ZodObject<{
5007
+ url: z.ZodString;
5008
+ method: z.ZodDefault<z.ZodEnum<{
5009
+ GET: "GET";
5010
+ POST: "POST";
5011
+ PUT: "PUT";
5012
+ PATCH: "PATCH";
5013
+ DELETE: "DELETE";
5014
+ HEAD: "HEAD";
5015
+ OPTIONS: "OPTIONS";
5016
+ }>>;
5017
+ headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
5018
+ name: z.ZodString;
5019
+ value: z.ZodString;
5020
+ }, z.core.$strict>>>;
5021
+ body: z.ZodOptional<z.ZodString>;
5022
+ follow_redirects: z.ZodDefault<z.ZodBoolean>;
5023
+ timeout_s: z.ZodDefault<z.ZodInt>;
5024
+ }, z.core.$strict>;
5025
+ readonly result: z.ZodObject<{
5026
+ status: z.ZodInt;
5027
+ reason: z.ZodString;
5028
+ url: z.ZodString;
5029
+ content_type: z.ZodNullable<z.ZodString>;
5030
+ headers: z.ZodArray<z.ZodObject<{
5031
+ name: z.ZodString;
5032
+ value: z.ZodString;
5033
+ }, z.core.$strict>>;
5034
+ body: z.ZodString;
5035
+ truncated: z.ZodBoolean;
5036
+ bytes: z.ZodInt;
5037
+ elapsed_ms: z.ZodInt;
5038
+ }, z.core.$strict>;
5039
+ readonly kind: "unary";
5040
+ readonly since: "1.22";
5041
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
5042
+ };
5043
+ readonly "web.scrape": {
5044
+ readonly params: z.ZodObject<{
5045
+ urls: z.ZodArray<z.ZodString>;
5046
+ use_cache: z.ZodDefault<z.ZodBoolean>;
5047
+ get_links: z.ZodDefault<z.ZodBoolean>;
5048
+ }, z.core.$strict>;
5049
+ readonly result: z.ZodObject<{
5050
+ pages: z.ZodArray<z.ZodObject<{
5051
+ url: z.ZodString;
5052
+ ok: z.ZodBoolean;
5053
+ status: z.ZodNullable<z.ZodInt>;
5054
+ title: z.ZodNullable<z.ZodString>;
5055
+ text: z.ZodString;
5056
+ truncated: z.ZodBoolean;
5057
+ links: z.ZodArray<z.ZodString>;
5058
+ error: z.ZodNullable<z.ZodString>;
5059
+ via: z.ZodNullable<z.ZodString>;
5060
+ }, z.core.$strict>>;
5061
+ elapsed_ms: z.ZodInt;
5062
+ }, z.core.$strict>;
5063
+ readonly kind: "unary";
5064
+ readonly since: "1.22";
5065
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
5066
+ };
5067
+ readonly "web.search": {
5068
+ readonly params: z.ZodObject<{
5069
+ keywords: z.ZodArray<z.ZodString>;
5070
+ country: z.ZodDefault<z.ZodString>;
5071
+ count: z.ZodDefault<z.ZodInt>;
5072
+ freshness: z.ZodOptional<z.ZodEnum<{
5073
+ pd: "pd";
5074
+ pw: "pw";
5075
+ pm: "pm";
5076
+ py: "py";
5077
+ }>>;
5078
+ }, z.core.$strict>;
5079
+ readonly result: z.ZodObject<{
5080
+ queries: z.ZodArray<z.ZodObject<{
5081
+ keyword: z.ZodString;
5082
+ hits: z.ZodArray<z.ZodObject<{
5083
+ title: z.ZodString;
5084
+ url: z.ZodString;
5085
+ description: z.ZodString;
5086
+ }, z.core.$strict>>;
5087
+ error: z.ZodNullable<z.ZodString>;
5088
+ }, z.core.$strict>>;
5089
+ elapsed_ms: z.ZodInt;
5090
+ }, z.core.$strict>;
5091
+ readonly kind: "unary";
5092
+ readonly since: "1.22";
5093
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
5094
+ };
5095
+ readonly "web.fetch_with_browser": {
5096
+ readonly params: z.ZodObject<{
5097
+ url: z.ZodString;
5098
+ wait_for: z.ZodOptional<z.ZodString>;
5099
+ wait_timeout_ms: z.ZodDefault<z.ZodInt>;
5100
+ extract_text: z.ZodDefault<z.ZodBoolean>;
5101
+ }, z.core.$strict>;
5102
+ readonly result: z.ZodObject<{
5103
+ url: z.ZodString;
5104
+ status: z.ZodNullable<z.ZodInt>;
5105
+ title: z.ZodNullable<z.ZodString>;
5106
+ content: z.ZodString;
5107
+ truncated: z.ZodBoolean;
5108
+ elapsed_ms: z.ZodInt;
5109
+ }, z.core.$strict>;
5110
+ readonly kind: "unary";
5111
+ readonly since: "1.22";
5112
+ readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
5113
+ };
5114
+ readonly "account.agents.list": {
5115
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5116
+ readonly result: z.ZodObject<{
5117
+ state: z.ZodEnum<{
5118
+ ok: "ok";
5119
+ signed_out: "signed_out";
5120
+ unavailable: "unavailable";
5121
+ }>;
5122
+ problem: z.ZodNullable<z.ZodString>;
5123
+ agents: z.ZodArray<z.ZodObject<{
5124
+ id: z.ZodString;
5125
+ name: z.ZodString;
5126
+ description: z.ZodString;
5127
+ category: z.ZodString;
5128
+ agent_type: z.ZodString;
5129
+ is_favorite: z.ZodBoolean;
5130
+ is_owner: z.ZodBoolean;
5131
+ shared_by: z.ZodNullable<z.ZodString>;
5132
+ organization: z.ZodNullable<z.ZodString>;
5133
+ updated_at_ms: z.ZodInt;
5134
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5135
+ model_id: z.ZodOptional<z.ZodString>;
5136
+ access_level: z.ZodOptional<z.ZodString>;
5137
+ organization_id: z.ZodOptional<z.ZodString>;
5138
+ origin: z.ZodOptional<z.ZodEnum<{
5139
+ mine: "mine";
5140
+ shared: "shared";
5141
+ system: "system";
5142
+ }>>;
5143
+ is_archived: z.ZodOptional<z.ZodBoolean>;
5144
+ orchestra: z.ZodOptional<z.ZodBoolean>;
5145
+ }, z.core.$strict>>;
5146
+ }, z.core.$strict>;
5147
+ readonly kind: "unary";
5148
+ readonly since: "1.23";
5149
+ readonly errors: readonly ["INTERNAL"];
5150
+ };
5151
+ readonly "account.vault.list": {
5152
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5153
+ readonly result: z.ZodObject<{
5154
+ state: z.ZodEnum<{
5155
+ ok: "ok";
5156
+ signed_out: "signed_out";
5157
+ unavailable: "unavailable";
5158
+ }>;
5159
+ problem: z.ZodNullable<z.ZodString>;
5160
+ items: z.ZodArray<z.ZodObject<{
5161
+ id: z.ZodString;
5162
+ name: z.ZodString;
5163
+ kind: z.ZodEnum<{
5164
+ key: "key";
5165
+ other: "other";
5166
+ login: "login";
5167
+ passkey: "passkey";
5168
+ }>;
5169
+ definition: z.ZodString;
5170
+ username: z.ZodNullable<z.ZodString>;
5171
+ urls: z.ZodArray<z.ZodString>;
5172
+ notes: z.ZodNullable<z.ZodString>;
5173
+ fields: z.ZodArray<z.ZodObject<{
5174
+ key: z.ZodString;
5175
+ handling: z.ZodEnum<{
5176
+ visible: "visible";
5177
+ revealable: "revealable";
5178
+ sealed: "sealed";
5179
+ }>;
5180
+ hint: z.ZodString;
5181
+ }, z.core.$strict>>;
5182
+ shared: z.ZodBoolean;
5183
+ status: z.ZodString;
5184
+ created_at_ms: z.ZodInt;
5185
+ updated_at_ms: z.ZodInt;
5186
+ }, z.core.$strict>>;
5187
+ }, z.core.$strict>;
5188
+ readonly kind: "unary";
5189
+ readonly since: "1.23";
5190
+ readonly errors: readonly ["INTERNAL"];
5191
+ };
5192
+ readonly "account.vault.copy": {
5193
+ readonly params: z.ZodObject<{
5194
+ item_id: z.ZodString;
5195
+ field_key: z.ZodString;
5196
+ }, z.core.$strict>;
5197
+ readonly result: z.ZodObject<{
5198
+ copied: z.ZodBoolean;
5199
+ clears_at_ms: z.ZodInt;
5200
+ }, z.core.$strict>;
5201
+ readonly kind: "unary";
5202
+ readonly since: "1.23";
5203
+ readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
5204
+ };
5205
+ readonly "account.agents.get": {
5206
+ readonly params: z.ZodObject<{
5207
+ agent_id: z.ZodString;
5208
+ }, z.core.$strict>;
5209
+ readonly result: z.ZodObject<{
5210
+ state: z.ZodEnum<{
5211
+ ok: "ok";
5212
+ signed_out: "signed_out";
5213
+ unavailable: "unavailable";
5214
+ }>;
5215
+ problem: z.ZodNullable<z.ZodString>;
5216
+ detail: z.ZodNullable<z.ZodObject<{
5217
+ agent: z.ZodObject<{
5218
+ id: z.ZodString;
5219
+ name: z.ZodString;
5220
+ description: z.ZodString;
5221
+ category: z.ZodString;
5222
+ agent_type: z.ZodString;
5223
+ is_favorite: z.ZodBoolean;
5224
+ is_owner: z.ZodBoolean;
5225
+ shared_by: z.ZodNullable<z.ZodString>;
5226
+ organization: z.ZodNullable<z.ZodString>;
5227
+ updated_at_ms: z.ZodInt;
5228
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
5229
+ model_id: z.ZodOptional<z.ZodString>;
5230
+ access_level: z.ZodOptional<z.ZodString>;
5231
+ organization_id: z.ZodOptional<z.ZodString>;
5232
+ origin: z.ZodOptional<z.ZodEnum<{
5233
+ mine: "mine";
5234
+ shared: "shared";
5235
+ system: "system";
5236
+ }>>;
5237
+ is_archived: z.ZodOptional<z.ZodBoolean>;
5238
+ orchestra: z.ZodOptional<z.ZodBoolean>;
5239
+ }, z.core.$strict>;
5240
+ variables: z.ZodArray<z.ZodObject<{
5241
+ name: z.ZodString;
5242
+ default_value: z.ZodString;
5243
+ required: z.ZodBoolean;
5244
+ help: z.ZodString;
5245
+ }, z.core.$strict>>;
5246
+ tool_count: z.ZodInt;
5247
+ custom_tool_count: z.ZodInt;
5248
+ skill_count: z.ZodInt;
5249
+ connection_count: z.ZodInt;
5250
+ model_name: z.ZodNullable<z.ZodString>;
5251
+ }, z.core.$strict>>;
5252
+ }, z.core.$strict>;
5253
+ readonly kind: "unary";
5254
+ readonly since: "1.39";
5255
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
5256
+ };
5257
+ readonly "account.agents.runs": {
5258
+ readonly params: z.ZodObject<{
5259
+ agent_id: z.ZodString;
5260
+ status: z.ZodOptional<z.ZodEnum<{
5261
+ running: "running";
5262
+ failed: "failed";
5263
+ stopped: "stopped";
5264
+ waiting: "waiting";
5265
+ succeeded: "succeeded";
5266
+ warned: "warned";
5267
+ }>>;
5268
+ sort: z.ZodOptional<z.ZodEnum<{
5269
+ status: "status";
5270
+ cost: "cost";
5271
+ started_at: "started_at";
5272
+ duration: "duration";
5273
+ }>>;
5274
+ descending: z.ZodOptional<z.ZodBoolean>;
5275
+ offset: z.ZodOptional<z.ZodInt>;
5276
+ limit: z.ZodOptional<z.ZodInt>;
5277
+ }, z.core.$strict>;
5278
+ readonly result: z.ZodObject<{
5279
+ state: z.ZodEnum<{
5280
+ ok: "ok";
5281
+ signed_out: "signed_out";
5282
+ unavailable: "unavailable";
5283
+ }>;
5284
+ problem: z.ZodNullable<z.ZodString>;
5285
+ total: z.ZodInt;
5286
+ rows: z.ZodArray<z.ZodObject<{
5287
+ run_id: z.ZodString;
5288
+ status: z.ZodEnum<{
5289
+ running: "running";
5290
+ failed: "failed";
5291
+ stopped: "stopped";
5292
+ waiting: "waiting";
5293
+ succeeded: "succeeded";
5294
+ warned: "warned";
5295
+ }>;
5296
+ started_at_ms: z.ZodInt;
5297
+ completed_at_ms: z.ZodNullable<z.ZodInt>;
5298
+ duration_ms: z.ZodNullable<z.ZodInt>;
5299
+ cost: z.ZodNullable<z.ZodNumber>;
5300
+ tokens: z.ZodNullable<z.ZodInt>;
5301
+ output_preview: z.ZodNullable<z.ZodString>;
5302
+ error: z.ZodNullable<z.ZodString>;
5303
+ mandate_key: z.ZodNullable<z.ZodString>;
5304
+ organization: z.ZodNullable<z.ZodString>;
5305
+ conversation_id: z.ZodNullable<z.ZodString>;
5306
+ has_transcript: z.ZodBoolean;
5307
+ }, z.core.$strict>>;
5308
+ }, z.core.$strict>;
5309
+ readonly kind: "unary";
5310
+ readonly since: "1.39";
5311
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
5312
+ };
5313
+ readonly "account.agents.favorite": {
5314
+ readonly params: z.ZodObject<{
5315
+ agent_id: z.ZodString;
5316
+ favorite: z.ZodBoolean;
5317
+ }, z.core.$strict>;
5318
+ readonly result: z.ZodObject<{
5319
+ favorite: z.ZodBoolean;
5320
+ }, z.core.$strict>;
5321
+ readonly kind: "unary";
5322
+ readonly since: "1.39";
5323
+ readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
5324
+ };
5325
+ readonly "apps.windows.update_state": {
5326
+ readonly params: z.ZodObject<{
5327
+ app_key: z.ZodString;
5328
+ }, z.core.$strict>;
5329
+ readonly result: z.ZodObject<{
5330
+ app_key: z.ZodString;
5331
+ pending: z.ZodBoolean;
5332
+ version: z.ZodNullable<z.ZodString>;
5333
+ since_ms: z.ZodNullable<z.ZodInt>;
5334
+ closed: z.ZodArray<z.ZodString>;
5335
+ closed_by_update: z.ZodOptional<z.ZodArray<z.ZodString>>;
5336
+ }, z.core.$strict>;
5337
+ readonly kind: "unary";
5338
+ readonly since: "1.26";
5339
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
5340
+ };
5341
+ readonly "apps.windows.reopen": {
5342
+ readonly params: z.ZodObject<{
5343
+ app_key: z.ZodString;
5344
+ windows: z.ZodArray<z.ZodString>;
5345
+ }, z.core.$strict>;
5346
+ readonly result: z.ZodObject<{
5347
+ message: z.ZodString;
5348
+ opened: z.ZodArray<z.ZodString>;
5349
+ }, z.core.$strict>;
5350
+ readonly kind: "unary";
5351
+ readonly since: "1.26";
5352
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
5353
+ };
5354
+ readonly "apps.windows.update_and_reopen": {
5355
+ readonly params: z.ZodObject<{
5356
+ app_key: z.ZodString;
5357
+ force: z.ZodDefault<z.ZodBoolean>;
5358
+ dry_run: z.ZodDefault<z.ZodBoolean>;
5359
+ }, z.core.$strict>;
5360
+ readonly result: z.ZodObject<{
5361
+ message: z.ZodString;
5362
+ quit: z.ZodArray<z.ZodString>;
5363
+ reopened: z.ZodArray<z.ZodString>;
5364
+ installed_version: z.ZodNullable<z.ZodString>;
5365
+ }, z.core.$strict>;
5366
+ readonly kind: "unary";
5367
+ readonly since: "1.26";
5368
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
5369
+ };
5370
+ readonly "browser.register": {
5371
+ readonly params: z.ZodObject<{
5372
+ client_instance: z.ZodString;
5373
+ client_label: z.ZodString;
5374
+ browser: z.ZodEnum<{
5375
+ other: "other";
5376
+ chrome: "chrome";
5377
+ edge: "edge";
5378
+ brave: "brave";
5379
+ arc: "arc";
5380
+ opera: "opera";
5381
+ vivaldi: "vivaldi";
5382
+ chromium: "chromium";
5383
+ firefox: "firefox";
5384
+ }>;
5385
+ extension_version: z.ZodString;
5386
+ account_token: z.ZodNullable<z.ZodString>;
5387
+ }, z.core.$strict>;
5388
+ readonly result: z.ZodObject<{
5389
+ session: z.ZodObject<{
5390
+ client_instance: z.ZodString;
5391
+ client_label: z.ZodString;
5392
+ browser: z.ZodEnum<{
5393
+ other: "other";
5394
+ chrome: "chrome";
5395
+ edge: "edge";
5396
+ brave: "brave";
5397
+ arc: "arc";
5398
+ opera: "opera";
5399
+ vivaldi: "vivaldi";
5400
+ chromium: "chromium";
5401
+ firefox: "firefox";
5402
+ }>;
5403
+ extension_version: z.ZodString;
5404
+ state: z.ZodEnum<{
5405
+ connected: "connected";
5406
+ different_account: "different_account";
5407
+ extension_signed_out: "extension_signed_out";
5408
+ device_signed_out: "device_signed_out";
5409
+ unverified: "unverified";
5410
+ }>;
5411
+ routable: z.ZodBoolean;
5412
+ account_email: z.ZodNullable<z.ZodString>;
5413
+ connected_at_ms: z.ZodInt;
5414
+ last_call_at_ms: z.ZodNullable<z.ZodInt>;
5415
+ calls: z.ZodInt;
5416
+ errors: z.ZodInt;
5417
+ p50_ms: z.ZodNullable<z.ZodInt>;
5418
+ p95_ms: z.ZodNullable<z.ZodInt>;
5419
+ awaiting_confirmation: z.ZodBoolean;
5420
+ }, z.core.$strict>;
5421
+ }, z.core.$strict>;
5422
+ readonly kind: "unary";
5423
+ readonly since: "1.28";
5424
+ readonly errors: readonly ["AUTH_FORBIDDEN", "INVALID_PARAMS", "INTERNAL"];
5425
+ };
5426
+ readonly "browser.result": {
5427
+ readonly params: z.ZodObject<{
5428
+ call_id: z.ZodString;
5429
+ ok: z.ZodBoolean;
5430
+ result: z.ZodUnknown;
5431
+ error: z.ZodNullable<z.ZodObject<{
5432
+ message: z.ZodString;
5433
+ code: z.ZodNullable<z.ZodString>;
5434
+ }, z.core.$strict>>;
5435
+ }, z.core.$strict>;
5436
+ readonly result: z.ZodObject<{
5437
+ accepted: z.ZodBoolean;
5438
+ }, z.core.$strict>;
5439
+ readonly kind: "unary";
5440
+ readonly since: "1.28";
5441
+ readonly errors: readonly ["AUTH_FORBIDDEN", "PAYLOAD_TOO_LARGE"];
5442
+ };
5443
+ readonly "browser.progress": {
5444
+ readonly params: z.ZodObject<{
5445
+ call_id: z.ZodString;
5446
+ phase: z.ZodEnum<{
5447
+ running: "running";
5448
+ awaiting_confirmation: "awaiting_confirmation";
5449
+ }>;
5450
+ }, z.core.$strict>;
5451
+ readonly result: z.ZodObject<{
5452
+ accepted: z.ZodBoolean;
5453
+ }, z.core.$strict>;
5454
+ readonly kind: "unary";
5455
+ readonly since: "1.28";
5456
+ readonly errors: readonly ["AUTH_FORBIDDEN"];
5457
+ };
5458
+ readonly "browser.sessions": {
5459
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5460
+ readonly result: z.ZodObject<{
5461
+ enabled: z.ZodBoolean;
5462
+ owner_signed_in: z.ZodBoolean;
5463
+ sessions: z.ZodArray<z.ZodObject<{
5464
+ client_instance: z.ZodString;
5465
+ client_label: z.ZodString;
5466
+ browser: z.ZodEnum<{
5467
+ other: "other";
5468
+ chrome: "chrome";
5469
+ edge: "edge";
5470
+ brave: "brave";
5471
+ arc: "arc";
5472
+ opera: "opera";
5473
+ vivaldi: "vivaldi";
5474
+ chromium: "chromium";
5475
+ firefox: "firefox";
5476
+ }>;
5477
+ extension_version: z.ZodString;
5478
+ state: z.ZodEnum<{
5479
+ connected: "connected";
5480
+ different_account: "different_account";
5481
+ extension_signed_out: "extension_signed_out";
5482
+ device_signed_out: "device_signed_out";
5483
+ unverified: "unverified";
5484
+ }>;
5485
+ routable: z.ZodBoolean;
5486
+ account_email: z.ZodNullable<z.ZodString>;
5487
+ connected_at_ms: z.ZodInt;
5488
+ last_call_at_ms: z.ZodNullable<z.ZodInt>;
5489
+ calls: z.ZodInt;
5490
+ errors: z.ZodInt;
5491
+ p50_ms: z.ZodNullable<z.ZodInt>;
5492
+ p95_ms: z.ZodNullable<z.ZodInt>;
5493
+ awaiting_confirmation: z.ZodBoolean;
5494
+ }, z.core.$strict>>;
5495
+ }, z.core.$strict>;
5496
+ readonly kind: "unary";
5497
+ readonly since: "1.28";
5498
+ readonly errors: readonly ["INTERNAL"];
5499
+ };
5500
+ readonly "browser.disconnect": {
5501
+ readonly params: z.ZodObject<{
5502
+ client_instance: z.ZodString;
5503
+ }, z.core.$strict>;
5504
+ readonly result: z.ZodObject<{
5505
+ disconnected: z.ZodBoolean;
5506
+ }, z.core.$strict>;
5507
+ readonly kind: "unary";
5508
+ readonly since: "1.28";
5509
+ readonly errors: readonly ["NOT_FOUND", "AUTH_FORBIDDEN"];
5510
+ };
5511
+ readonly "browser.set_enabled": {
5512
+ readonly params: z.ZodObject<{
5513
+ enabled: z.ZodBoolean;
5514
+ }, z.core.$strict>;
5515
+ readonly result: z.ZodObject<{
5516
+ enabled: z.ZodBoolean;
5517
+ }, z.core.$strict>;
5518
+ readonly kind: "unary";
5519
+ readonly since: "1.28";
5520
+ readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
5521
+ };
5522
+ readonly "browser.pair_code": {
5523
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5524
+ readonly result: z.ZodObject<{
5525
+ code: z.ZodString;
5526
+ }, z.core.$strict>;
5527
+ readonly kind: "unary";
5528
+ readonly since: "1.28";
5529
+ readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
5530
+ };
5531
+ readonly "browser.pair_reset": {
5532
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5533
+ readonly result: z.ZodObject<{
5534
+ code: z.ZodString;
5535
+ }, z.core.$strict>;
5536
+ readonly kind: "unary";
5537
+ readonly since: "1.28";
5538
+ readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
5539
+ };
5540
+ readonly "browser.tool_metrics": {
5541
+ readonly params: z.ZodObject<{
5542
+ client_instance: z.ZodString;
5543
+ }, z.core.$strict>;
5544
+ readonly result: z.ZodObject<{
5545
+ client_instance: z.ZodString;
5546
+ tools: z.ZodArray<z.ZodObject<{
5547
+ tool: z.ZodString;
5548
+ calls: z.ZodInt;
5549
+ errors: z.ZodInt;
5550
+ p50_ms: z.ZodNullable<z.ZodInt>;
5551
+ p95_ms: z.ZodNullable<z.ZodInt>;
5552
+ last_call_at_ms: z.ZodNullable<z.ZodInt>;
5553
+ last_error: z.ZodNullable<z.ZodString>;
5554
+ }, z.core.$strict>>;
5555
+ }, z.core.$strict>;
5556
+ readonly kind: "unary";
5557
+ readonly since: "1.37";
5558
+ readonly errors: readonly ["INVALID_PARAMS"];
5559
+ };
5560
+ readonly "browser.reset_counters": {
5561
+ readonly params: z.ZodObject<{
5562
+ client_instance: z.ZodString;
5563
+ }, z.core.$strict>;
5564
+ readonly result: z.ZodObject<{
5565
+ reset: z.ZodBoolean;
5566
+ }, z.core.$strict>;
5567
+ readonly kind: "unary";
5568
+ readonly since: "1.37";
5569
+ readonly errors: readonly ["INVALID_PARAMS"];
5570
+ };
5571
+ readonly "browser.log": {
3725
5572
  readonly params: z.ZodObject<{
3726
- cwd: z.ZodString;
3727
- action: z.ZodEnum<{
3728
- pop: "pop";
3729
- push: "push";
3730
- list: "list";
3731
- drop: "drop";
3732
- }>;
3733
- message: z.ZodOptional<z.ZodString>;
5573
+ after_seq: z.ZodDefault<z.ZodInt>;
5574
+ limit: z.ZodDefault<z.ZodInt>;
3734
5575
  }, z.core.$strict>;
3735
5576
  readonly result: z.ZodObject<{
3736
- output: z.ZodString;
3737
- truncated: z.ZodBoolean;
5577
+ messages: z.ZodArray<z.ZodObject<{
5578
+ seq: z.ZodInt;
5579
+ at_ms: z.ZodInt;
5580
+ direction: z.ZodEnum<{
5581
+ core: "core";
5582
+ to_browser: "to_browser";
5583
+ from_browser: "from_browser";
5584
+ }>;
5585
+ client_instance: z.ZodString;
5586
+ kind: z.ZodEnum<{
5587
+ progress: "progress";
5588
+ timeout: "timeout";
5589
+ closed: "closed";
5590
+ result: "result";
5591
+ register: "register";
5592
+ invoke: "invoke";
5593
+ }>;
5594
+ tool: z.ZodNullable<z.ZodString>;
5595
+ call_id: z.ZodNullable<z.ZodString>;
5596
+ ok: z.ZodNullable<z.ZodBoolean>;
5597
+ detail: z.ZodString;
5598
+ }, z.core.$strict>>;
5599
+ last_seq: z.ZodInt;
3738
5600
  }, z.core.$strict>;
3739
5601
  readonly kind: "unary";
3740
- readonly since: "1.22";
3741
- readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5602
+ readonly since: "1.37";
5603
+ readonly errors: readonly ["INVALID_PARAMS"];
3742
5604
  };
3743
- readonly "git.clone": {
5605
+ readonly "browser.call": {
3744
5606
  readonly params: z.ZodObject<{
3745
- url: z.ZodString;
3746
- dest: z.ZodString;
3747
- branch: z.ZodOptional<z.ZodString>;
3748
- depth: z.ZodOptional<z.ZodInt>;
5607
+ tool: z.ZodString;
5608
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5609
+ client_instance: z.ZodOptional<z.ZodString>;
5610
+ timeout_ms: z.ZodOptional<z.ZodInt>;
3749
5611
  }, z.core.$strict>;
3750
5612
  readonly result: z.ZodObject<{
3751
- output: z.ZodString;
3752
- truncated: z.ZodBoolean;
5613
+ client_instance: z.ZodString;
5614
+ result: z.ZodUnknown;
5615
+ duration_ms: z.ZodInt;
3753
5616
  }, z.core.$strict>;
3754
5617
  readonly kind: "unary";
3755
- readonly since: "1.22";
3756
- readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5618
+ readonly since: "1.28";
5619
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "AUTH_FORBIDDEN", "INVALID_PARAMS", "TIMEOUT", "CANCELLED", "RESOURCE_GONE", "PAYLOAD_TOO_LARGE", "INTERNAL"];
3757
5620
  };
3758
- readonly "web.fetch": {
3759
- readonly params: z.ZodObject<{
3760
- url: z.ZodString;
3761
- method: z.ZodDefault<z.ZodEnum<{
3762
- GET: "GET";
3763
- POST: "POST";
3764
- PUT: "PUT";
3765
- PATCH: "PATCH";
3766
- DELETE: "DELETE";
3767
- HEAD: "HEAD";
3768
- OPTIONS: "OPTIONS";
3769
- }>>;
3770
- headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
5621
+ readonly "net.info": {
5622
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5623
+ readonly result: z.ZodObject<{
5624
+ hostname: z.ZodString;
5625
+ interfaces: z.ZodArray<z.ZodObject<{
3771
5626
  name: z.ZodString;
3772
- value: z.ZodString;
3773
- }, z.core.$strict>>>;
3774
- body: z.ZodOptional<z.ZodString>;
3775
- follow_redirects: z.ZodDefault<z.ZodBoolean>;
5627
+ mac: z.ZodNullable<z.ZodString>;
5628
+ internal: z.ZodBoolean;
5629
+ addresses: z.ZodArray<z.ZodObject<{
5630
+ address: z.ZodString;
5631
+ family: z.ZodEnum<{
5632
+ ipv4: "ipv4";
5633
+ ipv6: "ipv6";
5634
+ }>;
5635
+ netmask: z.ZodNullable<z.ZodString>;
5636
+ cidr: z.ZodNullable<z.ZodString>;
5637
+ }, z.core.$strict>>;
5638
+ }, z.core.$strict>>;
5639
+ gateway: z.ZodNullable<z.ZodString>;
5640
+ dns: z.ZodArray<z.ZodString>;
5641
+ }, z.core.$strict>;
5642
+ readonly kind: "unary";
5643
+ readonly since: "1.37";
5644
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
5645
+ };
5646
+ readonly "net.wifi": {
5647
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5648
+ readonly result: z.ZodObject<{
5649
+ available: z.ZodBoolean;
5650
+ current: z.ZodNullable<z.ZodObject<{
5651
+ ssid: z.ZodNullable<z.ZodString>;
5652
+ rssi: z.ZodNullable<z.ZodInt>;
5653
+ channel: z.ZodNullable<z.ZodString>;
5654
+ security: z.ZodNullable<z.ZodString>;
5655
+ }, z.core.$strict>>;
5656
+ networks: z.ZodArray<z.ZodObject<{
5657
+ ssid: z.ZodNullable<z.ZodString>;
5658
+ rssi: z.ZodNullable<z.ZodInt>;
5659
+ channel: z.ZodNullable<z.ZodString>;
5660
+ security: z.ZodNullable<z.ZodString>;
5661
+ }, z.core.$strict>>;
5662
+ }, z.core.$strict>;
5663
+ readonly kind: "unary";
5664
+ readonly since: "1.37";
5665
+ readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5666
+ };
5667
+ readonly "net.bluetooth": {
5668
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5669
+ readonly result: z.ZodObject<{
5670
+ powered: z.ZodNullable<z.ZodBoolean>;
5671
+ devices: z.ZodArray<z.ZodObject<{
5672
+ name: z.ZodString;
5673
+ address: z.ZodNullable<z.ZodString>;
5674
+ connected: z.ZodBoolean;
5675
+ kind: z.ZodNullable<z.ZodString>;
5676
+ battery: z.ZodNullable<z.ZodInt>;
5677
+ }, z.core.$strict>>;
5678
+ }, z.core.$strict>;
5679
+ readonly kind: "unary";
5680
+ readonly since: "1.37";
5681
+ readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5682
+ };
5683
+ readonly "net.devices": {
5684
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5685
+ readonly result: z.ZodObject<{
5686
+ devices: z.ZodArray<z.ZodObject<{
5687
+ ip: z.ZodString;
5688
+ mac: z.ZodNullable<z.ZodString>;
5689
+ interface: z.ZodNullable<z.ZodString>;
5690
+ hostname: z.ZodNullable<z.ZodString>;
5691
+ }, z.core.$strict>>;
5692
+ }, z.core.$strict>;
5693
+ readonly kind: "unary";
5694
+ readonly since: "1.37";
5695
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5696
+ };
5697
+ readonly "net.mdns": {
5698
+ readonly params: z.ZodObject<{
5699
+ service_type: z.ZodOptional<z.ZodString>;
3776
5700
  timeout_s: z.ZodDefault<z.ZodInt>;
3777
5701
  }, z.core.$strict>;
3778
5702
  readonly result: z.ZodObject<{
3779
- status: z.ZodInt;
3780
- reason: z.ZodString;
5703
+ services: z.ZodArray<z.ZodObject<{
5704
+ name: z.ZodString;
5705
+ type: z.ZodString;
5706
+ domain: z.ZodString;
5707
+ interface: z.ZodNullable<z.ZodString>;
5708
+ }, z.core.$strict>>;
5709
+ }, z.core.$strict>;
5710
+ readonly kind: "unary";
5711
+ readonly since: "1.37";
5712
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5713
+ };
5714
+ readonly "net.scan": {
5715
+ readonly params: z.ZodObject<{
5716
+ host: z.ZodString;
5717
+ ports: z.ZodArray<z.ZodInt>;
5718
+ timeout_ms: z.ZodDefault<z.ZodInt>;
5719
+ allow_public: z.ZodDefault<z.ZodBoolean>;
5720
+ }, z.core.$strict>;
5721
+ readonly result: z.ZodObject<{
5722
+ host: z.ZodString;
5723
+ address: z.ZodString;
5724
+ open: z.ZodArray<z.ZodInt>;
5725
+ closed: z.ZodInt;
5726
+ elapsed_ms: z.ZodInt;
5727
+ }, z.core.$strict>;
5728
+ readonly kind: "unary";
5729
+ readonly since: "1.37";
5730
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "AUTH_FORBIDDEN", "TIMEOUT", "INTERNAL"];
5731
+ };
5732
+ readonly "net.download": {
5733
+ readonly params: z.ZodObject<{
3781
5734
  url: z.ZodString;
5735
+ path: z.ZodString;
5736
+ overwrite: z.ZodDefault<z.ZodBoolean>;
5737
+ timeout_s: z.ZodDefault<z.ZodInt>;
5738
+ max_bytes: z.ZodDefault<z.ZodInt>;
5739
+ }, z.core.$strict>;
5740
+ readonly result: z.ZodObject<{
5741
+ path: z.ZodString;
5742
+ bytes: z.ZodInt;
3782
5743
  content_type: z.ZodNullable<z.ZodString>;
3783
- headers: z.ZodArray<z.ZodObject<{
5744
+ url: z.ZodString;
5745
+ elapsed_ms: z.ZodInt;
5746
+ }, z.core.$strict>;
5747
+ readonly kind: "unary";
5748
+ readonly since: "1.37";
5749
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "CONFLICT", "PERMISSION_DENIED_OS", "PAYLOAD_TOO_LARGE", "TIMEOUT", "INTERNAL"];
5750
+ };
5751
+ readonly "automation.script": {
5752
+ readonly params: z.ZodObject<{
5753
+ language: z.ZodEnum<{
5754
+ applescript: "applescript";
5755
+ jxa: "jxa";
5756
+ powershell: "powershell";
5757
+ }>;
5758
+ script: z.ZodString;
5759
+ timeout_s: z.ZodDefault<z.ZodInt>;
5760
+ }, z.core.$strict>;
5761
+ readonly result: z.ZodObject<{
5762
+ stdout: z.ZodString;
5763
+ stderr: z.ZodString;
5764
+ exit_code: z.ZodInt;
5765
+ timed_out: z.ZodBoolean;
5766
+ truncated: z.ZodBoolean;
5767
+ elapsed_ms: z.ZodInt;
5768
+ }, z.core.$strict>;
5769
+ readonly kind: "unary";
5770
+ readonly since: "1.37";
5771
+ readonly errors: readonly ["INVALID_PARAMS", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5772
+ };
5773
+ readonly "mail.accounts": {
5774
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5775
+ readonly result: z.ZodObject<{
5776
+ accounts: z.ZodArray<z.ZodObject<{
3784
5777
  name: z.ZodString;
3785
- value: z.ZodString;
5778
+ emails: z.ZodArray<z.ZodString>;
5779
+ enabled: z.ZodBoolean;
5780
+ }, z.core.$strict>>;
5781
+ }, z.core.$strict>;
5782
+ readonly kind: "unary";
5783
+ readonly since: "1.37";
5784
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5785
+ };
5786
+ readonly "mail.list": {
5787
+ readonly params: z.ZodObject<{
5788
+ account: z.ZodOptional<z.ZodString>;
5789
+ mailbox: z.ZodDefault<z.ZodString>;
5790
+ unread_only: z.ZodDefault<z.ZodBoolean>;
5791
+ limit: z.ZodDefault<z.ZodInt>;
5792
+ }, z.core.$strict>;
5793
+ readonly result: z.ZodObject<{
5794
+ messages: z.ZodArray<z.ZodObject<{
5795
+ id: z.ZodString;
5796
+ subject: z.ZodString;
5797
+ sender: z.ZodString;
5798
+ received_at_ms: z.ZodNullable<z.ZodInt>;
5799
+ read: z.ZodBoolean;
5800
+ account: z.ZodString;
5801
+ mailbox: z.ZodString;
5802
+ preview: z.ZodString;
3786
5803
  }, z.core.$strict>>;
5804
+ }, z.core.$strict>;
5805
+ readonly kind: "unary";
5806
+ readonly since: "1.37";
5807
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5808
+ };
5809
+ readonly "mail.send": {
5810
+ readonly params: z.ZodObject<{
5811
+ to: z.ZodArray<z.ZodString>;
5812
+ cc: z.ZodDefault<z.ZodArray<z.ZodString>>;
5813
+ subject: z.ZodString;
3787
5814
  body: z.ZodString;
3788
- truncated: z.ZodBoolean;
3789
- bytes: z.ZodInt;
3790
- elapsed_ms: z.ZodInt;
5815
+ from: z.ZodOptional<z.ZodString>;
5816
+ send: z.ZodDefault<z.ZodBoolean>;
5817
+ }, z.core.$strict>;
5818
+ readonly result: z.ZodObject<{
5819
+ sent: z.ZodBoolean;
5820
+ }, z.core.$strict>;
5821
+ readonly kind: "unary";
5822
+ readonly since: "1.37";
5823
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5824
+ };
5825
+ readonly "messages.chats": {
5826
+ readonly params: z.ZodObject<{
5827
+ limit: z.ZodDefault<z.ZodInt>;
5828
+ }, z.core.$strict>;
5829
+ readonly result: z.ZodObject<{
5830
+ chats: z.ZodArray<z.ZodObject<{
5831
+ chat_id: z.ZodString;
5832
+ name: z.ZodNullable<z.ZodString>;
5833
+ participants: z.ZodArray<z.ZodString>;
5834
+ last_message_at_ms: z.ZodNullable<z.ZodInt>;
5835
+ service: z.ZodNullable<z.ZodString>;
5836
+ }, z.core.$strict>>;
5837
+ }, z.core.$strict>;
5838
+ readonly kind: "unary";
5839
+ readonly since: "1.37";
5840
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5841
+ };
5842
+ readonly "messages.list": {
5843
+ readonly params: z.ZodObject<{
5844
+ chat_id: z.ZodOptional<z.ZodString>;
5845
+ limit: z.ZodDefault<z.ZodInt>;
5846
+ }, z.core.$strict>;
5847
+ readonly result: z.ZodObject<{
5848
+ messages: z.ZodArray<z.ZodObject<{
5849
+ id: z.ZodString;
5850
+ chat_id: z.ZodNullable<z.ZodString>;
5851
+ text: z.ZodString;
5852
+ from_me: z.ZodBoolean;
5853
+ sender: z.ZodNullable<z.ZodString>;
5854
+ sent_at_ms: z.ZodNullable<z.ZodInt>;
5855
+ }, z.core.$strict>>;
5856
+ }, z.core.$strict>;
5857
+ readonly kind: "unary";
5858
+ readonly since: "1.37";
5859
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5860
+ };
5861
+ readonly "messages.send": {
5862
+ readonly params: z.ZodObject<{
5863
+ to: z.ZodString;
5864
+ text: z.ZodString;
5865
+ }, z.core.$strict>;
5866
+ readonly result: z.ZodObject<{
5867
+ sent: z.ZodBoolean;
5868
+ }, z.core.$strict>;
5869
+ readonly kind: "unary";
5870
+ readonly since: "1.37";
5871
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5872
+ };
5873
+ readonly "contacts.search": {
5874
+ readonly params: z.ZodObject<{
5875
+ query: z.ZodString;
5876
+ limit: z.ZodDefault<z.ZodInt>;
5877
+ }, z.core.$strict>;
5878
+ readonly result: z.ZodObject<{
5879
+ contacts: z.ZodArray<z.ZodObject<{
5880
+ id: z.ZodString;
5881
+ name: z.ZodString;
5882
+ organization: z.ZodNullable<z.ZodString>;
5883
+ emails: z.ZodArray<z.ZodObject<{
5884
+ label: z.ZodNullable<z.ZodString>;
5885
+ value: z.ZodString;
5886
+ }, z.core.$strict>>;
5887
+ phones: z.ZodArray<z.ZodObject<{
5888
+ label: z.ZodNullable<z.ZodString>;
5889
+ value: z.ZodString;
5890
+ }, z.core.$strict>>;
5891
+ }, z.core.$strict>>;
5892
+ }, z.core.$strict>;
5893
+ readonly kind: "unary";
5894
+ readonly since: "1.37";
5895
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5896
+ };
5897
+ readonly "contacts.get": {
5898
+ readonly params: z.ZodObject<{
5899
+ id: z.ZodString;
5900
+ }, z.core.$strict>;
5901
+ readonly result: z.ZodObject<{
5902
+ contact: z.ZodObject<{
5903
+ id: z.ZodString;
5904
+ name: z.ZodString;
5905
+ organization: z.ZodNullable<z.ZodString>;
5906
+ job_title: z.ZodNullable<z.ZodString>;
5907
+ emails: z.ZodArray<z.ZodObject<{
5908
+ label: z.ZodNullable<z.ZodString>;
5909
+ value: z.ZodString;
5910
+ }, z.core.$strict>>;
5911
+ phones: z.ZodArray<z.ZodObject<{
5912
+ label: z.ZodNullable<z.ZodString>;
5913
+ value: z.ZodString;
5914
+ }, z.core.$strict>>;
5915
+ addresses: z.ZodArray<z.ZodObject<{
5916
+ label: z.ZodNullable<z.ZodString>;
5917
+ value: z.ZodString;
5918
+ }, z.core.$strict>>;
5919
+ birthday: z.ZodNullable<z.ZodString>;
5920
+ note: z.ZodNullable<z.ZodString>;
5921
+ }, z.core.$strict>;
5922
+ }, z.core.$strict>;
5923
+ readonly kind: "unary";
5924
+ readonly since: "1.37";
5925
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5926
+ };
5927
+ readonly "calendar.list": {
5928
+ readonly params: z.ZodObject<{
5929
+ from_ms: z.ZodInt;
5930
+ to_ms: z.ZodInt;
5931
+ calendar: z.ZodOptional<z.ZodString>;
5932
+ limit: z.ZodDefault<z.ZodInt>;
5933
+ }, z.core.$strict>;
5934
+ readonly result: z.ZodObject<{
5935
+ events: z.ZodArray<z.ZodObject<{
5936
+ id: z.ZodString;
5937
+ title: z.ZodString;
5938
+ start_ms: z.ZodInt;
5939
+ end_ms: z.ZodInt;
5940
+ all_day: z.ZodBoolean;
5941
+ calendar: z.ZodString;
5942
+ location: z.ZodNullable<z.ZodString>;
5943
+ notes: z.ZodNullable<z.ZodString>;
5944
+ }, z.core.$strict>>;
5945
+ }, z.core.$strict>;
5946
+ readonly kind: "unary";
5947
+ readonly since: "1.37";
5948
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5949
+ };
5950
+ readonly "calendar.create": {
5951
+ readonly params: z.ZodObject<{
5952
+ title: z.ZodString;
5953
+ start_ms: z.ZodInt;
5954
+ end_ms: z.ZodInt;
5955
+ all_day: z.ZodDefault<z.ZodBoolean>;
5956
+ calendar: z.ZodOptional<z.ZodString>;
5957
+ location: z.ZodOptional<z.ZodString>;
5958
+ notes: z.ZodOptional<z.ZodString>;
5959
+ }, z.core.$strict>;
5960
+ readonly result: z.ZodObject<{
5961
+ id: z.ZodString;
5962
+ calendar: z.ZodString;
5963
+ }, z.core.$strict>;
5964
+ readonly kind: "unary";
5965
+ readonly since: "1.37";
5966
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5967
+ };
5968
+ readonly "reminders.list": {
5969
+ readonly params: z.ZodObject<{
5970
+ list: z.ZodOptional<z.ZodString>;
5971
+ include_completed: z.ZodDefault<z.ZodBoolean>;
5972
+ limit: z.ZodDefault<z.ZodInt>;
5973
+ }, z.core.$strict>;
5974
+ readonly result: z.ZodObject<{
5975
+ reminders: z.ZodArray<z.ZodObject<{
5976
+ id: z.ZodString;
5977
+ title: z.ZodString;
5978
+ list: z.ZodString;
5979
+ due_ms: z.ZodNullable<z.ZodInt>;
5980
+ completed: z.ZodBoolean;
5981
+ notes: z.ZodNullable<z.ZodString>;
5982
+ }, z.core.$strict>>;
5983
+ }, z.core.$strict>;
5984
+ readonly kind: "unary";
5985
+ readonly since: "1.37";
5986
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
5987
+ };
5988
+ readonly "reminders.create": {
5989
+ readonly params: z.ZodObject<{
5990
+ title: z.ZodString;
5991
+ due_ms: z.ZodOptional<z.ZodInt>;
5992
+ list: z.ZodOptional<z.ZodString>;
5993
+ notes: z.ZodOptional<z.ZodString>;
5994
+ }, z.core.$strict>;
5995
+ readonly result: z.ZodObject<{
5996
+ id: z.ZodString;
5997
+ list: z.ZodString;
3791
5998
  }, z.core.$strict>;
3792
5999
  readonly kind: "unary";
3793
- readonly since: "1.22";
3794
- readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
6000
+ readonly since: "1.37";
6001
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3795
6002
  };
3796
- readonly "web.scrape": {
6003
+ readonly "photos.search": {
3797
6004
  readonly params: z.ZodObject<{
3798
- urls: z.ZodArray<z.ZodString>;
3799
- use_cache: z.ZodDefault<z.ZodBoolean>;
3800
- get_links: z.ZodDefault<z.ZodBoolean>;
6005
+ query: z.ZodOptional<z.ZodString>;
6006
+ from_ms: z.ZodOptional<z.ZodInt>;
6007
+ to_ms: z.ZodOptional<z.ZodInt>;
6008
+ favorites_only: z.ZodDefault<z.ZodBoolean>;
6009
+ limit: z.ZodDefault<z.ZodInt>;
3801
6010
  }, z.core.$strict>;
3802
6011
  readonly result: z.ZodObject<{
3803
- pages: z.ZodArray<z.ZodObject<{
3804
- url: z.ZodString;
3805
- ok: z.ZodBoolean;
3806
- status: z.ZodNullable<z.ZodInt>;
6012
+ photos: z.ZodArray<z.ZodObject<{
6013
+ id: z.ZodString;
6014
+ filename: z.ZodString;
6015
+ taken_at_ms: z.ZodNullable<z.ZodInt>;
6016
+ width: z.ZodNullable<z.ZodInt>;
6017
+ height: z.ZodNullable<z.ZodInt>;
6018
+ favorite: z.ZodBoolean;
3807
6019
  title: z.ZodNullable<z.ZodString>;
3808
- text: z.ZodString;
3809
- truncated: z.ZodBoolean;
3810
- links: z.ZodArray<z.ZodString>;
3811
- error: z.ZodNullable<z.ZodString>;
3812
- via: z.ZodNullable<z.ZodString>;
3813
6020
  }, z.core.$strict>>;
3814
- elapsed_ms: z.ZodInt;
3815
6021
  }, z.core.$strict>;
3816
6022
  readonly kind: "unary";
3817
- readonly since: "1.22";
3818
- readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
6023
+ readonly since: "1.37";
6024
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3819
6025
  };
3820
- readonly "web.search": {
6026
+ readonly "photos.get": {
3821
6027
  readonly params: z.ZodObject<{
3822
- keywords: z.ZodArray<z.ZodString>;
3823
- country: z.ZodDefault<z.ZodString>;
3824
- count: z.ZodDefault<z.ZodInt>;
3825
- freshness: z.ZodOptional<z.ZodEnum<{
3826
- pd: "pd";
3827
- pw: "pw";
3828
- pm: "pm";
3829
- py: "py";
3830
- }>>;
6028
+ id: z.ZodString;
6029
+ export: z.ZodDefault<z.ZodBoolean>;
3831
6030
  }, z.core.$strict>;
3832
6031
  readonly result: z.ZodObject<{
3833
- queries: z.ZodArray<z.ZodObject<{
3834
- keyword: z.ZodString;
3835
- hits: z.ZodArray<z.ZodObject<{
3836
- title: z.ZodString;
3837
- url: z.ZodString;
3838
- description: z.ZodString;
3839
- }, z.core.$strict>>;
3840
- error: z.ZodNullable<z.ZodString>;
3841
- }, z.core.$strict>>;
3842
- elapsed_ms: z.ZodInt;
6032
+ photo: z.ZodObject<{
6033
+ id: z.ZodString;
6034
+ filename: z.ZodString;
6035
+ taken_at_ms: z.ZodNullable<z.ZodInt>;
6036
+ width: z.ZodNullable<z.ZodInt>;
6037
+ height: z.ZodNullable<z.ZodInt>;
6038
+ favorite: z.ZodBoolean;
6039
+ title: z.ZodNullable<z.ZodString>;
6040
+ }, z.core.$strict>;
6041
+ path: z.ZodNullable<z.ZodString>;
3843
6042
  }, z.core.$strict>;
3844
6043
  readonly kind: "unary";
3845
- readonly since: "1.22";
3846
- readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
6044
+ readonly since: "1.37";
6045
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3847
6046
  };
3848
- readonly "web.fetch_with_browser": {
6047
+ readonly "location.get": {
3849
6048
  readonly params: z.ZodObject<{
3850
- url: z.ZodString;
3851
- wait_for: z.ZodOptional<z.ZodString>;
3852
- wait_timeout_ms: z.ZodDefault<z.ZodInt>;
3853
- extract_text: z.ZodDefault<z.ZodBoolean>;
6049
+ timeout_s: z.ZodDefault<z.ZodInt>;
3854
6050
  }, z.core.$strict>;
3855
6051
  readonly result: z.ZodObject<{
3856
- url: z.ZodString;
3857
- status: z.ZodNullable<z.ZodInt>;
3858
- title: z.ZodNullable<z.ZodString>;
3859
- content: z.ZodString;
3860
- truncated: z.ZodBoolean;
3861
- elapsed_ms: z.ZodInt;
6052
+ latitude: z.ZodNumber;
6053
+ longitude: z.ZodNumber;
6054
+ accuracy_m: z.ZodNullable<z.ZodNumber>;
6055
+ at_ms: z.ZodInt;
6056
+ source: z.ZodEnum<{
6057
+ windows: "windows";
6058
+ corelocation: "corelocation";
6059
+ geoclue: "geoclue";
6060
+ }>;
3862
6061
  }, z.core.$strict>;
3863
6062
  readonly kind: "unary";
3864
- readonly since: "1.22";
3865
- readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
6063
+ readonly since: "1.37";
6064
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3866
6065
  };
3867
- readonly "account.agents.list": {
3868
- readonly params: z.ZodObject<{}, z.core.$strict>;
6066
+ readonly "windows.registry_read": {
6067
+ readonly params: z.ZodObject<{
6068
+ key: z.ZodString;
6069
+ name: z.ZodOptional<z.ZodString>;
6070
+ }, z.core.$strict>;
3869
6071
  readonly result: z.ZodObject<{
3870
- state: z.ZodEnum<{
3871
- ok: "ok";
3872
- signed_out: "signed_out";
3873
- unavailable: "unavailable";
3874
- }>;
3875
- problem: z.ZodNullable<z.ZodString>;
3876
- agents: z.ZodArray<z.ZodObject<{
3877
- id: z.ZodString;
6072
+ key: z.ZodString;
6073
+ exists: z.ZodBoolean;
6074
+ values: z.ZodArray<z.ZodObject<{
3878
6075
  name: z.ZodString;
3879
- description: z.ZodString;
3880
- category: z.ZodString;
3881
- agent_type: z.ZodString;
3882
- is_favorite: z.ZodBoolean;
3883
- is_owner: z.ZodBoolean;
3884
- shared_by: z.ZodNullable<z.ZodString>;
3885
- organization: z.ZodNullable<z.ZodString>;
3886
- updated_at_ms: z.ZodInt;
6076
+ type: z.ZodEnum<{
6077
+ REG_SZ: "REG_SZ";
6078
+ REG_EXPAND_SZ: "REG_EXPAND_SZ";
6079
+ REG_MULTI_SZ: "REG_MULTI_SZ";
6080
+ REG_DWORD: "REG_DWORD";
6081
+ REG_QWORD: "REG_QWORD";
6082
+ REG_BINARY: "REG_BINARY";
6083
+ REG_NONE: "REG_NONE";
6084
+ }>;
6085
+ data: z.ZodString;
3887
6086
  }, z.core.$strict>>;
6087
+ subkeys: z.ZodArray<z.ZodString>;
3888
6088
  }, z.core.$strict>;
3889
6089
  readonly kind: "unary";
3890
- readonly since: "1.23";
3891
- readonly errors: readonly ["INTERNAL"];
6090
+ readonly since: "1.37";
6091
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3892
6092
  };
3893
- readonly "account.vault.list": {
3894
- readonly params: z.ZodObject<{}, z.core.$strict>;
6093
+ readonly "windows.registry_write": {
6094
+ readonly params: z.ZodObject<{
6095
+ key: z.ZodString;
6096
+ name: z.ZodString;
6097
+ type: z.ZodDefault<z.ZodEnum<{
6098
+ REG_SZ: "REG_SZ";
6099
+ REG_EXPAND_SZ: "REG_EXPAND_SZ";
6100
+ REG_MULTI_SZ: "REG_MULTI_SZ";
6101
+ REG_DWORD: "REG_DWORD";
6102
+ REG_QWORD: "REG_QWORD";
6103
+ REG_BINARY: "REG_BINARY";
6104
+ REG_NONE: "REG_NONE";
6105
+ }>>;
6106
+ data: z.ZodString;
6107
+ delete: z.ZodDefault<z.ZodBoolean>;
6108
+ }, z.core.$strict>;
3895
6109
  readonly result: z.ZodObject<{
3896
- state: z.ZodEnum<{
3897
- ok: "ok";
3898
- signed_out: "signed_out";
3899
- unavailable: "unavailable";
3900
- }>;
3901
- problem: z.ZodNullable<z.ZodString>;
3902
- items: z.ZodArray<z.ZodObject<{
3903
- id: z.ZodString;
6110
+ key: z.ZodString;
6111
+ name: z.ZodString;
6112
+ deleted: z.ZodBoolean;
6113
+ }, z.core.$strict>;
6114
+ readonly kind: "unary";
6115
+ readonly since: "1.37";
6116
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
6117
+ };
6118
+ readonly "windows.services": {
6119
+ readonly params: z.ZodObject<{
6120
+ filter: z.ZodOptional<z.ZodString>;
6121
+ limit: z.ZodDefault<z.ZodInt>;
6122
+ }, z.core.$strict>;
6123
+ readonly result: z.ZodObject<{
6124
+ services: z.ZodArray<z.ZodObject<{
3904
6125
  name: z.ZodString;
3905
- kind: z.ZodEnum<{
3906
- key: "key";
3907
- login: "login";
3908
- passkey: "passkey";
3909
- other: "other";
3910
- }>;
3911
- definition: z.ZodString;
3912
- username: z.ZodNullable<z.ZodString>;
3913
- urls: z.ZodArray<z.ZodString>;
3914
- notes: z.ZodNullable<z.ZodString>;
3915
- fields: z.ZodArray<z.ZodObject<{
3916
- key: z.ZodString;
3917
- handling: z.ZodEnum<{
3918
- visible: "visible";
3919
- revealable: "revealable";
3920
- sealed: "sealed";
3921
- }>;
3922
- hint: z.ZodString;
3923
- }, z.core.$strict>>;
3924
- shared: z.ZodBoolean;
6126
+ display_name: z.ZodString;
3925
6127
  status: z.ZodString;
3926
- created_at_ms: z.ZodInt;
3927
- updated_at_ms: z.ZodInt;
6128
+ start_type: z.ZodNullable<z.ZodString>;
3928
6129
  }, z.core.$strict>>;
3929
6130
  }, z.core.$strict>;
3930
6131
  readonly kind: "unary";
3931
- readonly since: "1.23";
3932
- readonly errors: readonly ["INTERNAL"];
6132
+ readonly since: "1.37";
6133
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3933
6134
  };
3934
- readonly "account.vault.copy": {
6135
+ readonly "windows.service_control": {
3935
6136
  readonly params: z.ZodObject<{
3936
- item_id: z.ZodString;
3937
- field_key: z.ZodString;
6137
+ name: z.ZodString;
6138
+ action: z.ZodEnum<{
6139
+ stop: "stop";
6140
+ start: "start";
6141
+ restart: "restart";
6142
+ }>;
3938
6143
  }, z.core.$strict>;
3939
6144
  readonly result: z.ZodObject<{
3940
- copied: z.ZodBoolean;
3941
- clears_at_ms: z.ZodInt;
6145
+ name: z.ZodString;
6146
+ status: z.ZodString;
3942
6147
  }, z.core.$strict>;
3943
6148
  readonly kind: "unary";
3944
- readonly since: "1.23";
3945
- readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
6149
+ readonly since: "1.37";
6150
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3946
6151
  };
3947
- readonly "apps.windows.update_state": {
6152
+ readonly "windows.event_log": {
3948
6153
  readonly params: z.ZodObject<{
3949
- app_key: z.ZodString;
6154
+ log: z.ZodDefault<z.ZodString>;
6155
+ levels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6156
+ error: "error";
6157
+ warning: "warning";
6158
+ critical: "critical";
6159
+ information: "information";
6160
+ verbose: "verbose";
6161
+ }>>>;
6162
+ since_ms: z.ZodOptional<z.ZodInt>;
6163
+ limit: z.ZodDefault<z.ZodInt>;
3950
6164
  }, z.core.$strict>;
3951
6165
  readonly result: z.ZodObject<{
3952
- app_key: z.ZodString;
3953
- pending: z.ZodBoolean;
3954
- version: z.ZodNullable<z.ZodString>;
3955
- since_ms: z.ZodNullable<z.ZodInt>;
3956
- closed: z.ZodArray<z.ZodString>;
3957
- closed_by_update: z.ZodOptional<z.ZodArray<z.ZodString>>;
6166
+ log: z.ZodString;
6167
+ events: z.ZodArray<z.ZodObject<{
6168
+ id: z.ZodInt;
6169
+ level: z.ZodString;
6170
+ source: z.ZodString;
6171
+ at_ms: z.ZodInt;
6172
+ message: z.ZodString;
6173
+ }, z.core.$strict>>;
3958
6174
  }, z.core.$strict>;
3959
6175
  readonly kind: "unary";
3960
- readonly since: "1.26";
3961
- readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
6176
+ readonly since: "1.37";
6177
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3962
6178
  };
3963
- readonly "apps.windows.reopen": {
6179
+ readonly "windows.features": {
3964
6180
  readonly params: z.ZodObject<{
3965
- app_key: z.ZodString;
3966
- windows: z.ZodArray<z.ZodString>;
6181
+ filter: z.ZodOptional<z.ZodString>;
3967
6182
  }, z.core.$strict>;
3968
6183
  readonly result: z.ZodObject<{
3969
- message: z.ZodString;
3970
- opened: z.ZodArray<z.ZodString>;
6184
+ features: z.ZodArray<z.ZodObject<{
6185
+ name: z.ZodString;
6186
+ state: z.ZodString;
6187
+ }, z.core.$strict>>;
3971
6188
  }, z.core.$strict>;
3972
6189
  readonly kind: "unary";
3973
- readonly since: "1.26";
3974
- readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
6190
+ readonly since: "1.37";
6191
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
3975
6192
  };
3976
- readonly "apps.windows.update_and_reopen": {
6193
+ readonly "schedule.create": {
3977
6194
  readonly params: z.ZodObject<{
3978
- app_key: z.ZodString;
3979
- force: z.ZodDefault<z.ZodBoolean>;
3980
- dry_run: z.ZodDefault<z.ZodBoolean>;
6195
+ name: z.ZodString;
6196
+ op: z.ZodString;
6197
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6198
+ interval_s: z.ZodInt;
6199
+ max_runs: z.ZodOptional<z.ZodInt>;
6200
+ run_now: z.ZodDefault<z.ZodBoolean>;
3981
6201
  }, z.core.$strict>;
3982
6202
  readonly result: z.ZodObject<{
3983
- message: z.ZodString;
3984
- quit: z.ZodArray<z.ZodString>;
3985
- reopened: z.ZodArray<z.ZodString>;
3986
- installed_version: z.ZodNullable<z.ZodString>;
6203
+ task: z.ZodObject<{
6204
+ id: z.ZodString;
6205
+ name: z.ZodString;
6206
+ op: z.ZodString;
6207
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6208
+ interval_s: z.ZodInt;
6209
+ max_runs: z.ZodNullable<z.ZodInt>;
6210
+ runs: z.ZodInt;
6211
+ created_at_ms: z.ZodInt;
6212
+ next_run_at_ms: z.ZodNullable<z.ZodInt>;
6213
+ state: z.ZodEnum<{
6214
+ done: "done";
6215
+ cancelled: "cancelled";
6216
+ active: "active";
6217
+ }>;
6218
+ recent: z.ZodArray<z.ZodObject<{
6219
+ at_ms: z.ZodInt;
6220
+ ok: z.ZodBoolean;
6221
+ elapsed_ms: z.ZodInt;
6222
+ error: z.ZodNullable<z.ZodString>;
6223
+ result_preview: z.ZodNullable<z.ZodString>;
6224
+ }, z.core.$strict>>;
6225
+ }, z.core.$strict>;
3987
6226
  }, z.core.$strict>;
3988
6227
  readonly kind: "unary";
3989
- readonly since: "1.26";
3990
- readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
6228
+ readonly since: "1.37";
6229
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
3991
6230
  };
3992
- readonly "browser.register": {
6231
+ readonly "schedule.list": {
3993
6232
  readonly params: z.ZodObject<{
3994
- client_instance: z.ZodString;
3995
- client_label: z.ZodString;
3996
- browser: z.ZodEnum<{
3997
- other: "other";
3998
- chrome: "chrome";
3999
- edge: "edge";
4000
- brave: "brave";
4001
- arc: "arc";
4002
- opera: "opera";
4003
- vivaldi: "vivaldi";
4004
- chromium: "chromium";
4005
- firefox: "firefox";
4006
- }>;
4007
- extension_version: z.ZodString;
4008
- account_token: z.ZodNullable<z.ZodString>;
6233
+ include_finished: z.ZodDefault<z.ZodBoolean>;
4009
6234
  }, z.core.$strict>;
4010
6235
  readonly result: z.ZodObject<{
4011
- session: z.ZodObject<{
4012
- client_instance: z.ZodString;
4013
- client_label: z.ZodString;
4014
- browser: z.ZodEnum<{
4015
- other: "other";
4016
- chrome: "chrome";
4017
- edge: "edge";
4018
- brave: "brave";
4019
- arc: "arc";
4020
- opera: "opera";
4021
- vivaldi: "vivaldi";
4022
- chromium: "chromium";
4023
- firefox: "firefox";
4024
- }>;
4025
- extension_version: z.ZodString;
6236
+ tasks: z.ZodArray<z.ZodObject<{
6237
+ id: z.ZodString;
6238
+ name: z.ZodString;
6239
+ op: z.ZodString;
6240
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6241
+ interval_s: z.ZodInt;
6242
+ max_runs: z.ZodNullable<z.ZodInt>;
6243
+ runs: z.ZodInt;
6244
+ created_at_ms: z.ZodInt;
6245
+ next_run_at_ms: z.ZodNullable<z.ZodInt>;
4026
6246
  state: z.ZodEnum<{
4027
- connected: "connected";
4028
- different_account: "different_account";
4029
- extension_signed_out: "extension_signed_out";
4030
- device_signed_out: "device_signed_out";
4031
- unverified: "unverified";
6247
+ done: "done";
6248
+ cancelled: "cancelled";
6249
+ active: "active";
4032
6250
  }>;
4033
- routable: z.ZodBoolean;
4034
- account_email: z.ZodNullable<z.ZodString>;
4035
- connected_at_ms: z.ZodInt;
4036
- last_call_at_ms: z.ZodNullable<z.ZodInt>;
4037
- calls: z.ZodInt;
4038
- errors: z.ZodInt;
4039
- p50_ms: z.ZodNullable<z.ZodInt>;
4040
- p95_ms: z.ZodNullable<z.ZodInt>;
4041
- awaiting_confirmation: z.ZodBoolean;
6251
+ recent: z.ZodArray<z.ZodObject<{
6252
+ at_ms: z.ZodInt;
6253
+ ok: z.ZodBoolean;
6254
+ elapsed_ms: z.ZodInt;
6255
+ error: z.ZodNullable<z.ZodString>;
6256
+ result_preview: z.ZodNullable<z.ZodString>;
6257
+ }, z.core.$strict>>;
6258
+ }, z.core.$strict>>;
6259
+ }, z.core.$strict>;
6260
+ readonly kind: "unary";
6261
+ readonly since: "1.37";
6262
+ readonly errors: readonly ["INTERNAL"];
6263
+ };
6264
+ readonly "schedule.cancel": {
6265
+ readonly params: z.ZodObject<{
6266
+ id: z.ZodString;
6267
+ }, z.core.$strict>;
6268
+ readonly result: z.ZodObject<{
6269
+ task: z.ZodObject<{
6270
+ id: z.ZodString;
6271
+ name: z.ZodString;
6272
+ op: z.ZodString;
6273
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6274
+ interval_s: z.ZodInt;
6275
+ max_runs: z.ZodNullable<z.ZodInt>;
6276
+ runs: z.ZodInt;
6277
+ created_at_ms: z.ZodInt;
6278
+ next_run_at_ms: z.ZodNullable<z.ZodInt>;
6279
+ state: z.ZodEnum<{
6280
+ done: "done";
6281
+ cancelled: "cancelled";
6282
+ active: "active";
6283
+ }>;
6284
+ recent: z.ZodArray<z.ZodObject<{
6285
+ at_ms: z.ZodInt;
6286
+ ok: z.ZodBoolean;
6287
+ elapsed_ms: z.ZodInt;
6288
+ error: z.ZodNullable<z.ZodString>;
6289
+ result_preview: z.ZodNullable<z.ZodString>;
6290
+ }, z.core.$strict>>;
4042
6291
  }, z.core.$strict>;
4043
6292
  }, z.core.$strict>;
4044
6293
  readonly kind: "unary";
4045
- readonly since: "1.28";
4046
- readonly errors: readonly ["AUTH_FORBIDDEN", "INVALID_PARAMS", "INTERNAL"];
6294
+ readonly since: "1.37";
6295
+ readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
4047
6296
  };
4048
- readonly "browser.result": {
6297
+ readonly "notes.folders": {
6298
+ readonly params: z.ZodObject<{}, z.core.$strict>;
6299
+ readonly result: z.ZodObject<{
6300
+ root: z.ZodString;
6301
+ folders: z.ZodArray<z.ZodObject<{
6302
+ folder: z.ZodString;
6303
+ notes: z.ZodInt;
6304
+ }, z.core.$strict>>;
6305
+ }, z.core.$strict>;
6306
+ readonly kind: "unary";
6307
+ readonly since: "1.37";
6308
+ readonly errors: readonly ["INTERNAL"];
6309
+ };
6310
+ readonly "notes.list": {
4049
6311
  readonly params: z.ZodObject<{
4050
- call_id: z.ZodString;
4051
- ok: z.ZodBoolean;
4052
- result: z.ZodUnknown;
4053
- error: z.ZodNullable<z.ZodObject<{
4054
- message: z.ZodString;
4055
- code: z.ZodNullable<z.ZodString>;
6312
+ folder: z.ZodOptional<z.ZodString>;
6313
+ limit: z.ZodDefault<z.ZodInt>;
6314
+ }, z.core.$strict>;
6315
+ readonly result: z.ZodObject<{
6316
+ root: z.ZodString;
6317
+ notes: z.ZodArray<z.ZodObject<{
6318
+ path: z.ZodString;
6319
+ label: z.ZodString;
6320
+ folder: z.ZodString;
6321
+ bytes: z.ZodInt;
6322
+ modified_at_ms: z.ZodInt;
4056
6323
  }, z.core.$strict>>;
6324
+ total: z.ZodInt;
6325
+ }, z.core.$strict>;
6326
+ readonly kind: "unary";
6327
+ readonly since: "1.37";
6328
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
6329
+ };
6330
+ readonly "notes.read": {
6331
+ readonly params: z.ZodObject<{
6332
+ path: z.ZodString;
4057
6333
  }, z.core.$strict>;
4058
6334
  readonly result: z.ZodObject<{
4059
- accepted: z.ZodBoolean;
6335
+ path: z.ZodString;
6336
+ content: z.ZodString;
6337
+ bytes: z.ZodInt;
6338
+ modified_at_ms: z.ZodInt;
6339
+ hash: z.ZodString;
4060
6340
  }, z.core.$strict>;
4061
6341
  readonly kind: "unary";
4062
- readonly since: "1.28";
4063
- readonly errors: readonly ["AUTH_FORBIDDEN", "PAYLOAD_TOO_LARGE"];
6342
+ readonly since: "1.37";
6343
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
4064
6344
  };
4065
- readonly "browser.progress": {
6345
+ readonly "notes.write": {
4066
6346
  readonly params: z.ZodObject<{
4067
- call_id: z.ZodString;
4068
- phase: z.ZodEnum<{
4069
- running: "running";
4070
- awaiting_confirmation: "awaiting_confirmation";
4071
- }>;
6347
+ folder: z.ZodDefault<z.ZodString>;
6348
+ label: z.ZodString;
6349
+ content: z.ZodString;
6350
+ if_hash: z.ZodOptional<z.ZodString>;
4072
6351
  }, z.core.$strict>;
4073
6352
  readonly result: z.ZodObject<{
4074
- accepted: z.ZodBoolean;
6353
+ path: z.ZodString;
6354
+ bytes: z.ZodInt;
6355
+ created: z.ZodBoolean;
6356
+ hash: z.ZodString;
4075
6357
  }, z.core.$strict>;
4076
6358
  readonly kind: "unary";
4077
- readonly since: "1.28";
4078
- readonly errors: readonly ["AUTH_FORBIDDEN"];
6359
+ readonly since: "1.37";
6360
+ readonly errors: readonly ["INVALID_PARAMS", "CONFLICT", "PERMISSION_DENIED_OS", "INTERNAL"];
4079
6361
  };
4080
- readonly "browser.sessions": {
4081
- readonly params: z.ZodObject<{}, z.core.$strict>;
6362
+ readonly "notes.search": {
6363
+ readonly params: z.ZodObject<{
6364
+ query: z.ZodString;
6365
+ limit: z.ZodDefault<z.ZodInt>;
6366
+ }, z.core.$strict>;
4082
6367
  readonly result: z.ZodObject<{
4083
- enabled: z.ZodBoolean;
4084
- owner_signed_in: z.ZodBoolean;
4085
- sessions: z.ZodArray<z.ZodObject<{
4086
- client_instance: z.ZodString;
4087
- client_label: z.ZodString;
4088
- browser: z.ZodEnum<{
4089
- other: "other";
4090
- chrome: "chrome";
4091
- edge: "edge";
4092
- brave: "brave";
4093
- arc: "arc";
4094
- opera: "opera";
4095
- vivaldi: "vivaldi";
4096
- chromium: "chromium";
4097
- firefox: "firefox";
4098
- }>;
4099
- extension_version: z.ZodString;
4100
- state: z.ZodEnum<{
4101
- connected: "connected";
4102
- different_account: "different_account";
4103
- extension_signed_out: "extension_signed_out";
4104
- device_signed_out: "device_signed_out";
4105
- unverified: "unverified";
4106
- }>;
4107
- routable: z.ZodBoolean;
4108
- account_email: z.ZodNullable<z.ZodString>;
4109
- connected_at_ms: z.ZodInt;
4110
- last_call_at_ms: z.ZodNullable<z.ZodInt>;
4111
- calls: z.ZodInt;
4112
- errors: z.ZodInt;
4113
- p50_ms: z.ZodNullable<z.ZodInt>;
4114
- p95_ms: z.ZodNullable<z.ZodInt>;
4115
- awaiting_confirmation: z.ZodBoolean;
6368
+ matches: z.ZodArray<z.ZodObject<{
6369
+ path: z.ZodString;
6370
+ label: z.ZodString;
6371
+ folder: z.ZodString;
6372
+ lines: z.ZodArray<z.ZodString>;
4116
6373
  }, z.core.$strict>>;
6374
+ total: z.ZodInt;
4117
6375
  }, z.core.$strict>;
4118
6376
  readonly kind: "unary";
4119
- readonly since: "1.28";
4120
- readonly errors: readonly ["INTERNAL"];
6377
+ readonly since: "1.37";
6378
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4121
6379
  };
4122
- readonly "browser.disconnect": {
6380
+ readonly "documents.pdf_text": {
4123
6381
  readonly params: z.ZodObject<{
4124
- client_instance: z.ZodString;
6382
+ path: z.ZodString;
6383
+ first_page: z.ZodOptional<z.ZodInt>;
6384
+ last_page: z.ZodOptional<z.ZodInt>;
6385
+ max_chars: z.ZodDefault<z.ZodInt>;
4125
6386
  }, z.core.$strict>;
4126
6387
  readonly result: z.ZodObject<{
4127
- disconnected: z.ZodBoolean;
6388
+ pages: z.ZodInt;
6389
+ read: z.ZodArray<z.ZodObject<{
6390
+ page: z.ZodInt;
6391
+ text: z.ZodString;
6392
+ }, z.core.$strict>>;
6393
+ truncated: z.ZodBoolean;
6394
+ title: z.ZodNullable<z.ZodString>;
6395
+ author: z.ZodNullable<z.ZodString>;
4128
6396
  }, z.core.$strict>;
4129
6397
  readonly kind: "unary";
4130
- readonly since: "1.28";
4131
- readonly errors: readonly ["NOT_FOUND", "AUTH_FORBIDDEN"];
6398
+ readonly since: "1.37";
6399
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4132
6400
  };
4133
- readonly "browser.set_enabled": {
6401
+ readonly "documents.ocr": {
4134
6402
  readonly params: z.ZodObject<{
4135
- enabled: z.ZodBoolean;
6403
+ path: z.ZodString;
6404
+ languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
6405
+ fast: z.ZodDefault<z.ZodBoolean>;
4136
6406
  }, z.core.$strict>;
4137
6407
  readonly result: z.ZodObject<{
4138
- enabled: z.ZodBoolean;
6408
+ text: z.ZodString;
6409
+ lines: z.ZodArray<z.ZodObject<{
6410
+ text: z.ZodString;
6411
+ confidence: z.ZodNullable<z.ZodNumber>;
6412
+ }, z.core.$strict>>;
6413
+ truncated: z.ZodBoolean;
6414
+ engine: z.ZodString;
4139
6415
  }, z.core.$strict>;
4140
6416
  readonly kind: "unary";
4141
- readonly since: "1.28";
4142
- readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
6417
+ readonly since: "1.37";
6418
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4143
6419
  };
4144
- readonly "browser.pair_code": {
4145
- readonly params: z.ZodObject<{}, z.core.$strict>;
6420
+ readonly "documents.image_resize": {
6421
+ readonly params: z.ZodObject<{
6422
+ path: z.ZodString;
6423
+ out_path: z.ZodOptional<z.ZodString>;
6424
+ max_size: z.ZodOptional<z.ZodInt>;
6425
+ format: z.ZodOptional<z.ZodEnum<{
6426
+ jpeg: "jpeg";
6427
+ png: "png";
6428
+ tiff: "tiff";
6429
+ heic: "heic";
6430
+ bmp: "bmp";
6431
+ gif: "gif";
6432
+ }>>;
6433
+ overwrite: z.ZodDefault<z.ZodBoolean>;
6434
+ }, z.core.$strict>;
4146
6435
  readonly result: z.ZodObject<{
4147
- code: z.ZodString;
6436
+ path: z.ZodString;
6437
+ width: z.ZodInt;
6438
+ height: z.ZodInt;
6439
+ bytes: z.ZodInt;
4148
6440
  }, z.core.$strict>;
4149
6441
  readonly kind: "unary";
4150
- readonly since: "1.28";
4151
- readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
6442
+ readonly since: "1.37";
6443
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
4152
6444
  };
4153
- readonly "browser.pair_reset": {
4154
- readonly params: z.ZodObject<{}, z.core.$strict>;
6445
+ readonly "documents.office_generate": {
6446
+ readonly params: z.ZodObject<{
6447
+ kind: z.ZodEnum<{
6448
+ docx: "docx";
6449
+ xlsx: "xlsx";
6450
+ }>;
6451
+ path: z.ZodString;
6452
+ title: z.ZodOptional<z.ZodString>;
6453
+ paragraphs: z.ZodOptional<z.ZodArray<z.ZodObject<{
6454
+ style: z.ZodDefault<z.ZodEnum<{
6455
+ body: "body";
6456
+ code: "code";
6457
+ title: "title";
6458
+ quote: "quote";
6459
+ heading1: "heading1";
6460
+ heading2: "heading2";
6461
+ heading3: "heading3";
6462
+ bullet: "bullet";
6463
+ numbered: "numbered";
6464
+ }>>;
6465
+ text: z.ZodString;
6466
+ }, z.core.$strict>>>;
6467
+ sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
6468
+ name: z.ZodString;
6469
+ rows: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
6470
+ header: z.ZodDefault<z.ZodBoolean>;
6471
+ }, z.core.$strict>>>;
6472
+ overwrite: z.ZodDefault<z.ZodBoolean>;
6473
+ }, z.core.$strict>;
4155
6474
  readonly result: z.ZodObject<{
4156
- code: z.ZodString;
6475
+ path: z.ZodString;
6476
+ bytes: z.ZodInt;
4157
6477
  }, z.core.$strict>;
4158
6478
  readonly kind: "unary";
4159
- readonly since: "1.28";
4160
- readonly errors: readonly ["AUTH_FORBIDDEN", "INTERNAL"];
6479
+ readonly since: "1.37";
6480
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "CONFLICT", "PERMISSION_DENIED_OS", "INTERNAL"];
4161
6481
  };
4162
- readonly "browser.call": {
6482
+ readonly "entities.ner": {
4163
6483
  readonly params: z.ZodObject<{
4164
- tool: z.ZodString;
4165
- args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4166
- client_instance: z.ZodOptional<z.ZodString>;
4167
- timeout_ms: z.ZodOptional<z.ZodInt>;
6484
+ text: z.ZodString;
6485
+ labels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6486
+ place: "place";
6487
+ organization: "organization";
6488
+ person: "person";
6489
+ }>>>;
4168
6490
  }, z.core.$strict>;
4169
6491
  readonly result: z.ZodObject<{
4170
- client_instance: z.ZodString;
4171
- result: z.ZodUnknown;
4172
- duration_ms: z.ZodInt;
6492
+ entities: z.ZodArray<z.ZodObject<{
6493
+ text: z.ZodString;
6494
+ label: z.ZodString;
6495
+ start: z.ZodInt;
6496
+ end: z.ZodInt;
6497
+ }, z.core.$strict>>;
6498
+ engine: z.ZodString;
4173
6499
  }, z.core.$strict>;
4174
6500
  readonly kind: "unary";
4175
- readonly since: "1.28";
4176
- readonly errors: readonly ["NOT_FOUND", "CONFLICT", "AUTH_FORBIDDEN", "INVALID_PARAMS", "TIMEOUT", "CANCELLED", "RESOURCE_GONE", "PAYLOAD_TOO_LARGE", "INTERNAL"];
6501
+ readonly since: "1.37";
6502
+ readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
6503
+ };
6504
+ readonly "entities.pii": {
6505
+ readonly params: z.ZodObject<{
6506
+ text: z.ZodString;
6507
+ kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6508
+ email: "email";
6509
+ url: "url";
6510
+ phone: "phone";
6511
+ credit_card: "credit_card";
6512
+ us_ssn: "us_ssn";
6513
+ iban: "iban";
6514
+ ip_address: "ip_address";
6515
+ api_key: "api_key";
6516
+ }>>>;
6517
+ redact: z.ZodDefault<z.ZodBoolean>;
6518
+ }, z.core.$strict>;
6519
+ readonly result: z.ZodObject<{
6520
+ findings: z.ZodArray<z.ZodObject<{
6521
+ kind: z.ZodEnum<{
6522
+ email: "email";
6523
+ url: "url";
6524
+ phone: "phone";
6525
+ credit_card: "credit_card";
6526
+ us_ssn: "us_ssn";
6527
+ iban: "iban";
6528
+ ip_address: "ip_address";
6529
+ api_key: "api_key";
6530
+ }>;
6531
+ text: z.ZodString;
6532
+ start: z.ZodInt;
6533
+ end: z.ZodInt;
6534
+ }, z.core.$strict>>;
6535
+ redacted: z.ZodNullable<z.ZodString>;
6536
+ }, z.core.$strict>;
6537
+ readonly kind: "unary";
6538
+ readonly since: "1.37";
6539
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4177
6540
  };
4178
6541
  };
4179
6542
  type OpName = keyof typeof OPS;
@@ -4274,6 +6637,216 @@ declare const EVENTS: {
4274
6637
  imported: z.ZodInt;
4275
6638
  failed: z.ZodInt;
4276
6639
  }, z.core.$strict>;
6640
+ readonly "coding.changed": z.ZodDiscriminatedUnion<[z.ZodObject<{
6641
+ kind: z.ZodLiteral<"session">;
6642
+ session: z.ZodObject<{
6643
+ id: z.ZodString;
6644
+ provider: z.ZodEnum<{
6645
+ claude: "claude";
6646
+ codex: "codex";
6647
+ }>;
6648
+ providerSessionId: z.ZodNullable<z.ZodString>;
6649
+ cwd: z.ZodString;
6650
+ title: z.ZodString;
6651
+ model: z.ZodNullable<z.ZodString>;
6652
+ effort: z.ZodNullable<z.ZodString>;
6653
+ origin: z.ZodEnum<{
6654
+ started: "started";
6655
+ takeover: "takeover";
6656
+ }>;
6657
+ createdAt: z.ZodString;
6658
+ updatedAt: z.ZodString;
6659
+ lastRunId: z.ZodNullable<z.ZodString>;
6660
+ lastRunStatus: z.ZodNullable<z.ZodEnum<{
6661
+ running: "running";
6662
+ starting: "starting";
6663
+ failed: "failed";
6664
+ stopped: "stopped";
6665
+ completed: "completed";
6666
+ }>>;
6667
+ queued: z.ZodArray<z.ZodString>;
6668
+ agent: z.ZodNullable<z.ZodObject<{
6669
+ agentId: z.ZodString;
6670
+ versionId: z.ZodNullable<z.ZodString>;
6671
+ versionNumber: z.ZodNullable<z.ZodInt>;
6672
+ name: z.ZodString;
6673
+ definitionHash: z.ZodString;
6674
+ loaded: z.ZodArray<z.ZodObject<{
6675
+ part: z.ZodEnum<{
6676
+ instructions: "instructions";
6677
+ skills: "skills";
6678
+ tools: "tools";
6679
+ }>;
6680
+ loaded: z.ZodInt;
6681
+ total: z.ZodInt;
6682
+ }, z.core.$strict>>;
6683
+ unavailable: z.ZodArray<z.ZodObject<{
6684
+ kind: z.ZodString;
6685
+ name: z.ZodString;
6686
+ reason: z.ZodString;
6687
+ }, z.core.$strict>>;
6688
+ skills: z.ZodArray<z.ZodString>;
6689
+ tools: z.ZodArray<z.ZodString>;
6690
+ variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6691
+ blockDue: z.ZodBoolean;
6692
+ deliveredAt: z.ZodNullable<z.ZodString>;
6693
+ replaces: z.ZodNullable<z.ZodString>;
6694
+ }, z.core.$strict>>;
6695
+ agentRemovedDue: z.ZodBoolean;
6696
+ }, z.core.$strict>;
6697
+ }, z.core.$strict>, z.ZodObject<{
6698
+ kind: z.ZodLiteral<"run">;
6699
+ run: z.ZodObject<{
6700
+ runId: z.ZodString;
6701
+ sessionId: z.ZodString;
6702
+ provider: z.ZodEnum<{
6703
+ claude: "claude";
6704
+ codex: "codex";
6705
+ }>;
6706
+ cwd: z.ZodString;
6707
+ prompt: z.ZodString;
6708
+ model: z.ZodNullable<z.ZodString>;
6709
+ status: z.ZodEnum<{
6710
+ running: "running";
6711
+ starting: "starting";
6712
+ failed: "failed";
6713
+ stopped: "stopped";
6714
+ completed: "completed";
6715
+ }>;
6716
+ startedAt: z.ZodString;
6717
+ endedAt: z.ZodNullable<z.ZodString>;
6718
+ error: z.ZodNullable<z.ZodString>;
6719
+ usage: z.ZodNullable<z.ZodObject<{
6720
+ inputTokens: z.ZodInt;
6721
+ outputTokens: z.ZodInt;
6722
+ cachedInputTokens: z.ZodInt;
6723
+ }, z.core.$strict>>;
6724
+ costUsd: z.ZodNullable<z.ZodNumber>;
6725
+ billing: z.ZodNullable<z.ZodEnum<{
6726
+ unknown: "unknown";
6727
+ subscription: "subscription";
6728
+ api: "api";
6729
+ }>>;
6730
+ startedBy: z.ZodNullable<z.ZodObject<{
6731
+ kind: z.ZodEnum<{
6732
+ agent: "agent";
6733
+ this_computer: "this_computer";
6734
+ web: "web";
6735
+ phone: "phone";
6736
+ other: "other";
6737
+ }>;
6738
+ label: z.ZodString;
6739
+ }, z.core.$strict>>;
6740
+ }, z.core.$strict>;
6741
+ }, z.core.$strict>, z.ZodObject<{
6742
+ kind: z.ZodLiteral<"preferences">;
6743
+ preferences: z.ZodRecord<z.ZodString, z.ZodObject<{
6744
+ title: z.ZodNullable<z.ZodString>;
6745
+ pinned: z.ZodBoolean;
6746
+ hidden: z.ZodBoolean;
6747
+ lastSeenAt: z.ZodNullable<z.ZodString>;
6748
+ updatedAt: z.ZodNullable<z.ZodString>;
6749
+ }, z.core.$strict>>;
6750
+ }, z.core.$strict>, z.ZodObject<{
6751
+ kind: z.ZodLiteral<"titles">;
6752
+ }, z.core.$strict>, z.ZodObject<{
6753
+ kind: z.ZodLiteral<"recent">;
6754
+ recent: z.ZodArray<z.ZodObject<{
6755
+ target: z.ZodString;
6756
+ title: z.ZodString;
6757
+ provider: z.ZodEnum<{
6758
+ claude: "claude";
6759
+ codex: "codex";
6760
+ }>;
6761
+ sessionId: z.ZodNullable<z.ZodString>;
6762
+ providerSessionId: z.ZodNullable<z.ZodString>;
6763
+ cwd: z.ZodNullable<z.ZodString>;
6764
+ updatedAt: z.ZodString;
6765
+ state: z.ZodEnum<{
6766
+ running: "running";
6767
+ idle: "idle";
6768
+ needs_attention: "needs_attention";
6769
+ new_output: "new_output";
6770
+ elsewhere: "elsewhere";
6771
+ }>;
6772
+ stateLabel: z.ZodNullable<z.ZodString>;
6773
+ pinned: z.ZodBoolean;
6774
+ startedBy: z.ZodNullable<z.ZodObject<{
6775
+ kind: z.ZodEnum<{
6776
+ agent: "agent";
6777
+ this_computer: "this_computer";
6778
+ web: "web";
6779
+ phone: "phone";
6780
+ other: "other";
6781
+ }>;
6782
+ label: z.ZodString;
6783
+ }, z.core.$strict>>;
6784
+ }, z.core.$strict>>;
6785
+ }, z.core.$strict>], "kind">;
6786
+ readonly "coding.watch_state": z.ZodObject<{
6787
+ live: z.ZodBoolean;
6788
+ reason: z.ZodNullable<z.ZodString>;
6789
+ beat_ms: z.ZodInt;
6790
+ }, z.core.$strict>;
6791
+ readonly "coding.item": z.ZodObject<{
6792
+ session_id: z.ZodString;
6793
+ run_id: z.ZodString;
6794
+ seq: z.ZodInt;
6795
+ item: z.ZodDiscriminatedUnion<[z.ZodObject<{
6796
+ kind: z.ZodLiteral<"user">;
6797
+ id: z.ZodString;
6798
+ text: z.ZodString;
6799
+ at: z.ZodNullable<z.ZodString>;
6800
+ }, z.core.$strict>, z.ZodObject<{
6801
+ kind: z.ZodLiteral<"text">;
6802
+ id: z.ZodString;
6803
+ text: z.ZodString;
6804
+ }, z.core.$strict>, z.ZodObject<{
6805
+ kind: z.ZodLiteral<"text-delta">;
6806
+ id: z.ZodString;
6807
+ text: z.ZodString;
6808
+ }, z.core.$strict>, z.ZodObject<{
6809
+ kind: z.ZodLiteral<"reasoning">;
6810
+ id: z.ZodString;
6811
+ text: z.ZodString;
6812
+ }, z.core.$strict>, z.ZodObject<{
6813
+ kind: z.ZodLiteral<"tool-call">;
6814
+ id: z.ZodString;
6815
+ name: z.ZodString;
6816
+ input: z.ZodUnknown;
6817
+ }, z.core.$strict>, z.ZodObject<{
6818
+ kind: z.ZodLiteral<"tool-result">;
6819
+ id: z.ZodString;
6820
+ output: z.ZodString;
6821
+ isError: z.ZodBoolean;
6822
+ fullBytes: z.ZodOptional<z.ZodInt>;
6823
+ }, z.core.$strict>, z.ZodObject<{
6824
+ kind: z.ZodLiteral<"usage">;
6825
+ usage: z.ZodObject<{
6826
+ inputTokens: z.ZodInt;
6827
+ outputTokens: z.ZodInt;
6828
+ cachedInputTokens: z.ZodInt;
6829
+ }, z.core.$strict>;
6830
+ costUsd: z.ZodNullable<z.ZodNumber>;
6831
+ }, z.core.$strict>, z.ZodObject<{
6832
+ kind: z.ZodLiteral<"notice">;
6833
+ id: z.ZodString;
6834
+ level: z.ZodEnum<{
6835
+ warning: "warning";
6836
+ info: "info";
6837
+ }>;
6838
+ text: z.ZodString;
6839
+ }, z.core.$strict>, z.ZodObject<{
6840
+ kind: z.ZodLiteral<"error">;
6841
+ id: z.ZodString;
6842
+ text: z.ZodString;
6843
+ }, z.core.$strict>], "kind">;
6844
+ }, z.core.$strict>;
6845
+ readonly "coding.gap": z.ZodObject<{
6846
+ session_id: z.ZodString;
6847
+ since_seq: z.ZodInt;
6848
+ seq: z.ZodInt;
6849
+ }, z.core.$strict>;
4277
6850
  readonly "relay.device_status": z.ZodObject<{
4278
6851
  online: z.ZodBoolean;
4279
6852
  since_ms: z.ZodNullable<z.ZodInt>;