@ai-matrx/desktop-protocol 0.21.90 → 0.21.91

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
@@ -3536,6 +3536,533 @@ declare const OPS: {
3536
3536
  readonly since: "1.3";
3537
3537
  readonly errors: readonly ["PLATFORM_UNSUPPORTED", "PAYLOAD_TOO_LARGE", "INTERNAL"];
3538
3538
  };
3539
+ readonly "action_needed.list": {
3540
+ readonly params: z.ZodObject<{
3541
+ include_closed: z.ZodOptional<z.ZodBoolean>;
3542
+ source: z.ZodOptional<z.ZodString>;
3543
+ limit: z.ZodOptional<z.ZodInt>;
3544
+ }, z.core.$strict>;
3545
+ readonly result: z.ZodObject<{
3546
+ items: z.ZodArray<z.ZodObject<{
3547
+ id: z.ZodString;
3548
+ fingerprint: z.ZodString;
3549
+ source: z.ZodString;
3550
+ feature: z.ZodString;
3551
+ kind: z.ZodEnum<{
3552
+ file: "file";
3553
+ question: "question";
3554
+ choice: "choice";
3555
+ approval: "approval";
3556
+ sign_in: "sign_in";
3557
+ permission: "permission";
3558
+ filesystem_access: "filesystem_access";
3559
+ api_key: "api_key";
3560
+ capability_install: "capability_install";
3561
+ organization: "organization";
3562
+ external_approval: "external_approval";
3563
+ }>;
3564
+ title: z.ZodString;
3565
+ message: z.ZodString;
3566
+ choices: z.ZodArray<z.ZodObject<{
3567
+ id: z.ZodString;
3568
+ label: z.ZodString;
3569
+ description: z.ZodOptional<z.ZodString>;
3570
+ }, z.core.$strict>>;
3571
+ allow_text: z.ZodBoolean;
3572
+ remedy: z.ZodOptional<z.ZodObject<{
3573
+ kind: z.ZodEnum<{
3574
+ open_url: "open_url";
3575
+ open_route: "open_route";
3576
+ open_os_settings: "open_os_settings";
3577
+ }>;
3578
+ label: z.ZodString;
3579
+ url: z.ZodOptional<z.ZodString>;
3580
+ route: z.ZodOptional<z.ZodString>;
3581
+ permission_key: z.ZodOptional<z.ZodString>;
3582
+ }, z.core.$strict>>;
3583
+ status: z.ZodEnum<{
3584
+ cancelled: "cancelled";
3585
+ open: "open";
3586
+ answered: "answered";
3587
+ expired: "expired";
3588
+ dismissed: "dismissed";
3589
+ }>;
3590
+ raised_at_ms: z.ZodInt;
3591
+ updated_at_ms: z.ZodInt;
3592
+ expires_at_ms: z.ZodOptional<z.ZodInt>;
3593
+ closed_at_ms: z.ZodOptional<z.ZodInt>;
3594
+ closed_reason: z.ZodOptional<z.ZodString>;
3595
+ answer: z.ZodOptional<z.ZodObject<{
3596
+ choice: z.ZodOptional<z.ZodString>;
3597
+ text: z.ZodOptional<z.ZodString>;
3598
+ file_path: z.ZodOptional<z.ZodString>;
3599
+ at_ms: z.ZodInt;
3600
+ }, z.core.$strict>>;
3601
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3602
+ }, z.core.$strict>>;
3603
+ open_count: z.ZodInt;
3604
+ as_of_ms: z.ZodInt;
3605
+ }, z.core.$strict>;
3606
+ readonly kind: "unary";
3607
+ readonly since: "1.83";
3608
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
3609
+ };
3610
+ readonly "action_needed.raise": {
3611
+ readonly params: z.ZodObject<{
3612
+ fingerprint: z.ZodString;
3613
+ source: z.ZodString;
3614
+ feature: z.ZodString;
3615
+ kind: z.ZodEnum<{
3616
+ file: "file";
3617
+ question: "question";
3618
+ choice: "choice";
3619
+ approval: "approval";
3620
+ sign_in: "sign_in";
3621
+ permission: "permission";
3622
+ filesystem_access: "filesystem_access";
3623
+ api_key: "api_key";
3624
+ capability_install: "capability_install";
3625
+ organization: "organization";
3626
+ external_approval: "external_approval";
3627
+ }>;
3628
+ title: z.ZodString;
3629
+ message: z.ZodOptional<z.ZodString>;
3630
+ choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
3631
+ id: z.ZodString;
3632
+ label: z.ZodString;
3633
+ description: z.ZodOptional<z.ZodString>;
3634
+ }, z.core.$strict>>>;
3635
+ allow_text: z.ZodOptional<z.ZodBoolean>;
3636
+ remedy: z.ZodOptional<z.ZodObject<{
3637
+ kind: z.ZodEnum<{
3638
+ open_url: "open_url";
3639
+ open_route: "open_route";
3640
+ open_os_settings: "open_os_settings";
3641
+ }>;
3642
+ label: z.ZodString;
3643
+ url: z.ZodOptional<z.ZodString>;
3644
+ route: z.ZodOptional<z.ZodString>;
3645
+ permission_key: z.ZodOptional<z.ZodString>;
3646
+ }, z.core.$strict>>;
3647
+ expires_in_s: z.ZodOptional<z.ZodInt>;
3648
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3649
+ }, z.core.$strict>;
3650
+ readonly result: z.ZodObject<{
3651
+ item: z.ZodObject<{
3652
+ id: z.ZodString;
3653
+ fingerprint: z.ZodString;
3654
+ source: z.ZodString;
3655
+ feature: z.ZodString;
3656
+ kind: z.ZodEnum<{
3657
+ file: "file";
3658
+ question: "question";
3659
+ choice: "choice";
3660
+ approval: "approval";
3661
+ sign_in: "sign_in";
3662
+ permission: "permission";
3663
+ filesystem_access: "filesystem_access";
3664
+ api_key: "api_key";
3665
+ capability_install: "capability_install";
3666
+ organization: "organization";
3667
+ external_approval: "external_approval";
3668
+ }>;
3669
+ title: z.ZodString;
3670
+ message: z.ZodString;
3671
+ choices: z.ZodArray<z.ZodObject<{
3672
+ id: z.ZodString;
3673
+ label: z.ZodString;
3674
+ description: z.ZodOptional<z.ZodString>;
3675
+ }, z.core.$strict>>;
3676
+ allow_text: z.ZodBoolean;
3677
+ remedy: z.ZodOptional<z.ZodObject<{
3678
+ kind: z.ZodEnum<{
3679
+ open_url: "open_url";
3680
+ open_route: "open_route";
3681
+ open_os_settings: "open_os_settings";
3682
+ }>;
3683
+ label: z.ZodString;
3684
+ url: z.ZodOptional<z.ZodString>;
3685
+ route: z.ZodOptional<z.ZodString>;
3686
+ permission_key: z.ZodOptional<z.ZodString>;
3687
+ }, z.core.$strict>>;
3688
+ status: z.ZodEnum<{
3689
+ cancelled: "cancelled";
3690
+ open: "open";
3691
+ answered: "answered";
3692
+ expired: "expired";
3693
+ dismissed: "dismissed";
3694
+ }>;
3695
+ raised_at_ms: z.ZodInt;
3696
+ updated_at_ms: z.ZodInt;
3697
+ expires_at_ms: z.ZodOptional<z.ZodInt>;
3698
+ closed_at_ms: z.ZodOptional<z.ZodInt>;
3699
+ closed_reason: z.ZodOptional<z.ZodString>;
3700
+ answer: z.ZodOptional<z.ZodObject<{
3701
+ choice: z.ZodOptional<z.ZodString>;
3702
+ text: z.ZodOptional<z.ZodString>;
3703
+ file_path: z.ZodOptional<z.ZodString>;
3704
+ at_ms: z.ZodInt;
3705
+ }, z.core.$strict>>;
3706
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3707
+ }, z.core.$strict>;
3708
+ existing: z.ZodBoolean;
3709
+ }, z.core.$strict>;
3710
+ readonly kind: "unary";
3711
+ readonly since: "1.83";
3712
+ readonly errors: readonly ["INVALID_PARAMS", "RATE_LIMITED", "INTERNAL"];
3713
+ };
3714
+ readonly "action_needed.get": {
3715
+ readonly params: z.ZodObject<{
3716
+ id: z.ZodString;
3717
+ }, z.core.$strict>;
3718
+ readonly result: z.ZodObject<{
3719
+ item: z.ZodObject<{
3720
+ id: z.ZodString;
3721
+ fingerprint: z.ZodString;
3722
+ source: z.ZodString;
3723
+ feature: z.ZodString;
3724
+ kind: z.ZodEnum<{
3725
+ file: "file";
3726
+ question: "question";
3727
+ choice: "choice";
3728
+ approval: "approval";
3729
+ sign_in: "sign_in";
3730
+ permission: "permission";
3731
+ filesystem_access: "filesystem_access";
3732
+ api_key: "api_key";
3733
+ capability_install: "capability_install";
3734
+ organization: "organization";
3735
+ external_approval: "external_approval";
3736
+ }>;
3737
+ title: z.ZodString;
3738
+ message: z.ZodString;
3739
+ choices: z.ZodArray<z.ZodObject<{
3740
+ id: z.ZodString;
3741
+ label: z.ZodString;
3742
+ description: z.ZodOptional<z.ZodString>;
3743
+ }, z.core.$strict>>;
3744
+ allow_text: z.ZodBoolean;
3745
+ remedy: z.ZodOptional<z.ZodObject<{
3746
+ kind: z.ZodEnum<{
3747
+ open_url: "open_url";
3748
+ open_route: "open_route";
3749
+ open_os_settings: "open_os_settings";
3750
+ }>;
3751
+ label: z.ZodString;
3752
+ url: z.ZodOptional<z.ZodString>;
3753
+ route: z.ZodOptional<z.ZodString>;
3754
+ permission_key: z.ZodOptional<z.ZodString>;
3755
+ }, z.core.$strict>>;
3756
+ status: z.ZodEnum<{
3757
+ cancelled: "cancelled";
3758
+ open: "open";
3759
+ answered: "answered";
3760
+ expired: "expired";
3761
+ dismissed: "dismissed";
3762
+ }>;
3763
+ raised_at_ms: z.ZodInt;
3764
+ updated_at_ms: z.ZodInt;
3765
+ expires_at_ms: z.ZodOptional<z.ZodInt>;
3766
+ closed_at_ms: z.ZodOptional<z.ZodInt>;
3767
+ closed_reason: z.ZodOptional<z.ZodString>;
3768
+ answer: z.ZodOptional<z.ZodObject<{
3769
+ choice: z.ZodOptional<z.ZodString>;
3770
+ text: z.ZodOptional<z.ZodString>;
3771
+ file_path: z.ZodOptional<z.ZodString>;
3772
+ at_ms: z.ZodInt;
3773
+ }, z.core.$strict>>;
3774
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3775
+ }, z.core.$strict>;
3776
+ }, z.core.$strict>;
3777
+ readonly kind: "unary";
3778
+ readonly since: "1.83";
3779
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
3780
+ };
3781
+ readonly "action_needed.wait": {
3782
+ readonly params: z.ZodObject<{
3783
+ id: z.ZodString;
3784
+ timeout_s: z.ZodOptional<z.ZodInt>;
3785
+ }, z.core.$strict>;
3786
+ readonly result: z.ZodObject<{
3787
+ item: z.ZodObject<{
3788
+ id: z.ZodString;
3789
+ fingerprint: z.ZodString;
3790
+ source: z.ZodString;
3791
+ feature: z.ZodString;
3792
+ kind: z.ZodEnum<{
3793
+ file: "file";
3794
+ question: "question";
3795
+ choice: "choice";
3796
+ approval: "approval";
3797
+ sign_in: "sign_in";
3798
+ permission: "permission";
3799
+ filesystem_access: "filesystem_access";
3800
+ api_key: "api_key";
3801
+ capability_install: "capability_install";
3802
+ organization: "organization";
3803
+ external_approval: "external_approval";
3804
+ }>;
3805
+ title: z.ZodString;
3806
+ message: z.ZodString;
3807
+ choices: z.ZodArray<z.ZodObject<{
3808
+ id: z.ZodString;
3809
+ label: z.ZodString;
3810
+ description: z.ZodOptional<z.ZodString>;
3811
+ }, z.core.$strict>>;
3812
+ allow_text: z.ZodBoolean;
3813
+ remedy: z.ZodOptional<z.ZodObject<{
3814
+ kind: z.ZodEnum<{
3815
+ open_url: "open_url";
3816
+ open_route: "open_route";
3817
+ open_os_settings: "open_os_settings";
3818
+ }>;
3819
+ label: z.ZodString;
3820
+ url: z.ZodOptional<z.ZodString>;
3821
+ route: z.ZodOptional<z.ZodString>;
3822
+ permission_key: z.ZodOptional<z.ZodString>;
3823
+ }, z.core.$strict>>;
3824
+ status: z.ZodEnum<{
3825
+ cancelled: "cancelled";
3826
+ open: "open";
3827
+ answered: "answered";
3828
+ expired: "expired";
3829
+ dismissed: "dismissed";
3830
+ }>;
3831
+ raised_at_ms: z.ZodInt;
3832
+ updated_at_ms: z.ZodInt;
3833
+ expires_at_ms: z.ZodOptional<z.ZodInt>;
3834
+ closed_at_ms: z.ZodOptional<z.ZodInt>;
3835
+ closed_reason: z.ZodOptional<z.ZodString>;
3836
+ answer: z.ZodOptional<z.ZodObject<{
3837
+ choice: z.ZodOptional<z.ZodString>;
3838
+ text: z.ZodOptional<z.ZodString>;
3839
+ file_path: z.ZodOptional<z.ZodString>;
3840
+ at_ms: z.ZodInt;
3841
+ }, z.core.$strict>>;
3842
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3843
+ }, z.core.$strict>;
3844
+ timed_out: z.ZodBoolean;
3845
+ }, z.core.$strict>;
3846
+ readonly kind: "unary";
3847
+ readonly since: "1.83";
3848
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "CANCELLED", "INTERNAL"];
3849
+ };
3850
+ readonly "action_needed.answer": {
3851
+ readonly params: z.ZodObject<{
3852
+ answers: z.ZodArray<z.ZodObject<{
3853
+ id: z.ZodString;
3854
+ choice: z.ZodOptional<z.ZodString>;
3855
+ text: z.ZodOptional<z.ZodString>;
3856
+ file_path: z.ZodOptional<z.ZodString>;
3857
+ }, z.core.$strict>>;
3858
+ }, z.core.$strict>;
3859
+ readonly result: z.ZodObject<{
3860
+ results: z.ZodArray<z.ZodObject<{
3861
+ id: z.ZodString;
3862
+ ok: z.ZodBoolean;
3863
+ item: z.ZodOptional<z.ZodObject<{
3864
+ id: z.ZodString;
3865
+ fingerprint: z.ZodString;
3866
+ source: z.ZodString;
3867
+ feature: z.ZodString;
3868
+ kind: z.ZodEnum<{
3869
+ file: "file";
3870
+ question: "question";
3871
+ choice: "choice";
3872
+ approval: "approval";
3873
+ sign_in: "sign_in";
3874
+ permission: "permission";
3875
+ filesystem_access: "filesystem_access";
3876
+ api_key: "api_key";
3877
+ capability_install: "capability_install";
3878
+ organization: "organization";
3879
+ external_approval: "external_approval";
3880
+ }>;
3881
+ title: z.ZodString;
3882
+ message: z.ZodString;
3883
+ choices: z.ZodArray<z.ZodObject<{
3884
+ id: z.ZodString;
3885
+ label: z.ZodString;
3886
+ description: z.ZodOptional<z.ZodString>;
3887
+ }, z.core.$strict>>;
3888
+ allow_text: z.ZodBoolean;
3889
+ remedy: z.ZodOptional<z.ZodObject<{
3890
+ kind: z.ZodEnum<{
3891
+ open_url: "open_url";
3892
+ open_route: "open_route";
3893
+ open_os_settings: "open_os_settings";
3894
+ }>;
3895
+ label: z.ZodString;
3896
+ url: z.ZodOptional<z.ZodString>;
3897
+ route: z.ZodOptional<z.ZodString>;
3898
+ permission_key: z.ZodOptional<z.ZodString>;
3899
+ }, z.core.$strict>>;
3900
+ status: z.ZodEnum<{
3901
+ cancelled: "cancelled";
3902
+ open: "open";
3903
+ answered: "answered";
3904
+ expired: "expired";
3905
+ dismissed: "dismissed";
3906
+ }>;
3907
+ raised_at_ms: z.ZodInt;
3908
+ updated_at_ms: z.ZodInt;
3909
+ expires_at_ms: z.ZodOptional<z.ZodInt>;
3910
+ closed_at_ms: z.ZodOptional<z.ZodInt>;
3911
+ closed_reason: z.ZodOptional<z.ZodString>;
3912
+ answer: z.ZodOptional<z.ZodObject<{
3913
+ choice: z.ZodOptional<z.ZodString>;
3914
+ text: z.ZodOptional<z.ZodString>;
3915
+ file_path: z.ZodOptional<z.ZodString>;
3916
+ at_ms: z.ZodInt;
3917
+ }, z.core.$strict>>;
3918
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3919
+ }, z.core.$strict>>;
3920
+ refusal: z.ZodOptional<z.ZodString>;
3921
+ }, z.core.$strict>>;
3922
+ open_count: z.ZodInt;
3923
+ }, z.core.$strict>;
3924
+ readonly kind: "unary";
3925
+ readonly since: "1.83";
3926
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
3927
+ };
3928
+ readonly "action_needed.cancel": {
3929
+ readonly params: z.ZodObject<{
3930
+ id: z.ZodOptional<z.ZodString>;
3931
+ fingerprint: z.ZodOptional<z.ZodString>;
3932
+ reason: z.ZodOptional<z.ZodString>;
3933
+ }, z.core.$strict>;
3934
+ readonly result: z.ZodObject<{
3935
+ item: z.ZodOptional<z.ZodObject<{
3936
+ id: z.ZodString;
3937
+ fingerprint: z.ZodString;
3938
+ source: z.ZodString;
3939
+ feature: z.ZodString;
3940
+ kind: z.ZodEnum<{
3941
+ file: "file";
3942
+ question: "question";
3943
+ choice: "choice";
3944
+ approval: "approval";
3945
+ sign_in: "sign_in";
3946
+ permission: "permission";
3947
+ filesystem_access: "filesystem_access";
3948
+ api_key: "api_key";
3949
+ capability_install: "capability_install";
3950
+ organization: "organization";
3951
+ external_approval: "external_approval";
3952
+ }>;
3953
+ title: z.ZodString;
3954
+ message: z.ZodString;
3955
+ choices: z.ZodArray<z.ZodObject<{
3956
+ id: z.ZodString;
3957
+ label: z.ZodString;
3958
+ description: z.ZodOptional<z.ZodString>;
3959
+ }, z.core.$strict>>;
3960
+ allow_text: z.ZodBoolean;
3961
+ remedy: z.ZodOptional<z.ZodObject<{
3962
+ kind: z.ZodEnum<{
3963
+ open_url: "open_url";
3964
+ open_route: "open_route";
3965
+ open_os_settings: "open_os_settings";
3966
+ }>;
3967
+ label: z.ZodString;
3968
+ url: z.ZodOptional<z.ZodString>;
3969
+ route: z.ZodOptional<z.ZodString>;
3970
+ permission_key: z.ZodOptional<z.ZodString>;
3971
+ }, z.core.$strict>>;
3972
+ status: z.ZodEnum<{
3973
+ cancelled: "cancelled";
3974
+ open: "open";
3975
+ answered: "answered";
3976
+ expired: "expired";
3977
+ dismissed: "dismissed";
3978
+ }>;
3979
+ raised_at_ms: z.ZodInt;
3980
+ updated_at_ms: z.ZodInt;
3981
+ expires_at_ms: z.ZodOptional<z.ZodInt>;
3982
+ closed_at_ms: z.ZodOptional<z.ZodInt>;
3983
+ closed_reason: z.ZodOptional<z.ZodString>;
3984
+ answer: z.ZodOptional<z.ZodObject<{
3985
+ choice: z.ZodOptional<z.ZodString>;
3986
+ text: z.ZodOptional<z.ZodString>;
3987
+ file_path: z.ZodOptional<z.ZodString>;
3988
+ at_ms: z.ZodInt;
3989
+ }, z.core.$strict>>;
3990
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3991
+ }, z.core.$strict>>;
3992
+ open_count: z.ZodInt;
3993
+ }, z.core.$strict>;
3994
+ readonly kind: "unary";
3995
+ readonly since: "1.83";
3996
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
3997
+ };
3998
+ readonly "action_needed.dismiss": {
3999
+ readonly params: z.ZodObject<{
4000
+ ids: z.ZodArray<z.ZodString>;
4001
+ }, z.core.$strict>;
4002
+ readonly result: z.ZodObject<{
4003
+ items: z.ZodArray<z.ZodObject<{
4004
+ id: z.ZodString;
4005
+ fingerprint: z.ZodString;
4006
+ source: z.ZodString;
4007
+ feature: z.ZodString;
4008
+ kind: z.ZodEnum<{
4009
+ file: "file";
4010
+ question: "question";
4011
+ choice: "choice";
4012
+ approval: "approval";
4013
+ sign_in: "sign_in";
4014
+ permission: "permission";
4015
+ filesystem_access: "filesystem_access";
4016
+ api_key: "api_key";
4017
+ capability_install: "capability_install";
4018
+ organization: "organization";
4019
+ external_approval: "external_approval";
4020
+ }>;
4021
+ title: z.ZodString;
4022
+ message: z.ZodString;
4023
+ choices: z.ZodArray<z.ZodObject<{
4024
+ id: z.ZodString;
4025
+ label: z.ZodString;
4026
+ description: z.ZodOptional<z.ZodString>;
4027
+ }, z.core.$strict>>;
4028
+ allow_text: z.ZodBoolean;
4029
+ remedy: z.ZodOptional<z.ZodObject<{
4030
+ kind: z.ZodEnum<{
4031
+ open_url: "open_url";
4032
+ open_route: "open_route";
4033
+ open_os_settings: "open_os_settings";
4034
+ }>;
4035
+ label: z.ZodString;
4036
+ url: z.ZodOptional<z.ZodString>;
4037
+ route: z.ZodOptional<z.ZodString>;
4038
+ permission_key: z.ZodOptional<z.ZodString>;
4039
+ }, z.core.$strict>>;
4040
+ status: z.ZodEnum<{
4041
+ cancelled: "cancelled";
4042
+ open: "open";
4043
+ answered: "answered";
4044
+ expired: "expired";
4045
+ dismissed: "dismissed";
4046
+ }>;
4047
+ raised_at_ms: z.ZodInt;
4048
+ updated_at_ms: z.ZodInt;
4049
+ expires_at_ms: z.ZodOptional<z.ZodInt>;
4050
+ closed_at_ms: z.ZodOptional<z.ZodInt>;
4051
+ closed_reason: z.ZodOptional<z.ZodString>;
4052
+ answer: z.ZodOptional<z.ZodObject<{
4053
+ choice: z.ZodOptional<z.ZodString>;
4054
+ text: z.ZodOptional<z.ZodString>;
4055
+ file_path: z.ZodOptional<z.ZodString>;
4056
+ at_ms: z.ZodInt;
4057
+ }, z.core.$strict>>;
4058
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4059
+ }, z.core.$strict>>;
4060
+ open_count: z.ZodInt;
4061
+ }, z.core.$strict>;
4062
+ readonly kind: "unary";
4063
+ readonly since: "1.83";
4064
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
4065
+ };
3539
4066
  readonly "fs.watch.start": {
3540
4067
  readonly params: z.ZodObject<{
3541
4068
  path: z.ZodString;
@@ -4665,6 +5192,80 @@ declare const OPS: {
4665
5192
  readonly since: "1.20";
4666
5193
  readonly errors: readonly ["INTERNAL"];
4667
5194
  };
5195
+ readonly "diag.activity.list": {
5196
+ readonly params: z.ZodObject<{
5197
+ after_seq: z.ZodOptional<z.ZodInt>;
5198
+ limit: z.ZodDefault<z.ZodInt>;
5199
+ }, z.core.$strict>;
5200
+ readonly result: z.ZodObject<{
5201
+ lines: z.ZodArray<z.ZodObject<{
5202
+ seq: z.ZodInt;
5203
+ at_ms: z.ZodInt;
5204
+ source: z.ZodEnum<{
5205
+ model: "model";
5206
+ service: "service";
5207
+ http: "http";
5208
+ core: "core";
5209
+ client: "client";
5210
+ tool: "tool";
5211
+ }>;
5212
+ level: z.ZodEnum<{
5213
+ error: "error";
5214
+ debug: "debug";
5215
+ info: "info";
5216
+ warn: "warn";
5217
+ }>;
5218
+ event: z.ZodString;
5219
+ text: z.ZodString;
5220
+ http: z.ZodOptional<z.ZodObject<{
5221
+ method: z.ZodString;
5222
+ path: z.ZodString;
5223
+ status: z.ZodInt;
5224
+ duration_ms: z.ZodInt;
5225
+ origin: z.ZodNullable<z.ZodString>;
5226
+ }, z.core.$strict>>;
5227
+ tool: z.ZodOptional<z.ZodObject<{
5228
+ op: z.ZodString;
5229
+ client_type: z.ZodString;
5230
+ transport: z.ZodString;
5231
+ duration_ms: z.ZodInt;
5232
+ outcome: z.ZodString;
5233
+ }, z.core.$strict>>;
5234
+ }, z.core.$strict>>;
5235
+ more: z.ZodInt;
5236
+ dropped: z.ZodObject<{
5237
+ core: z.ZodInt;
5238
+ service: z.ZodInt;
5239
+ model: z.ZodInt;
5240
+ client: z.ZodInt;
5241
+ http: z.ZodInt;
5242
+ tool: z.ZodInt;
5243
+ }, z.core.$strict>;
5244
+ capacity: z.ZodInt;
5245
+ last_seq: z.ZodInt;
5246
+ }, z.core.$strict>;
5247
+ readonly kind: "unary";
5248
+ readonly since: "1.84";
5249
+ readonly errors: readonly ["INTERNAL"];
5250
+ };
5251
+ readonly "diag.activity.clear": {
5252
+ readonly params: z.ZodObject<{
5253
+ source: z.ZodOptional<z.ZodEnum<{
5254
+ model: "model";
5255
+ service: "service";
5256
+ http: "http";
5257
+ core: "core";
5258
+ client: "client";
5259
+ tool: "tool";
5260
+ }>>;
5261
+ }, z.core.$strict>;
5262
+ readonly result: z.ZodObject<{
5263
+ cleared: z.ZodInt;
5264
+ }, z.core.$strict>;
5265
+ readonly kind: "unary";
5266
+ readonly since: "1.84";
5267
+ readonly errors: readonly ["INTERNAL"];
5268
+ };
4668
5269
  readonly "apps.windows.groups": {
4669
5270
  readonly params: z.ZodObject<{
4670
5271
  app_key: z.ZodString;
@@ -5889,6 +6490,195 @@ declare const OPS: {
5889
6490
  readonly since: "1.56";
5890
6491
  readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "AUTH_FORBIDDEN", "INTERNAL"];
5891
6492
  };
6493
+ readonly "coding.assets.list": {
6494
+ readonly params: z.ZodObject<{
6495
+ fresh: z.ZodDefault<z.ZodBoolean>;
6496
+ }, z.core.$strict>;
6497
+ readonly result: z.ZodObject<{
6498
+ read_at: z.ZodString;
6499
+ elapsed_ms: z.ZodInt;
6500
+ project_folders: z.ZodInt;
6501
+ assets: z.ZodArray<z.ZodObject<{
6502
+ id: z.ZodString;
6503
+ tool: z.ZodEnum<{
6504
+ claude: "claude";
6505
+ codex: "codex";
6506
+ cursor: "cursor";
6507
+ copilot: "copilot";
6508
+ gemini: "gemini";
6509
+ shared: "shared";
6510
+ }>;
6511
+ kind: z.ZodEnum<{
6512
+ memory: "memory";
6513
+ automation: "automation";
6514
+ command: "command";
6515
+ plan: "plan";
6516
+ plugin: "plugin";
6517
+ skill: "skill";
6518
+ settings: "settings";
6519
+ instructions: "instructions";
6520
+ "memory-index": "memory-index";
6521
+ "memory-summary": "memory-summary";
6522
+ "memory-raw": "memory-raw";
6523
+ "rollout-summary": "rollout-summary";
6524
+ "memory-extension": "memory-extension";
6525
+ "memory-store": "memory-store";
6526
+ rule: "rule";
6527
+ subagent: "subagent";
6528
+ "output-style": "output-style";
6529
+ hook: "hook";
6530
+ "mcp-config": "mcp-config";
6531
+ "scheduled-task": "scheduled-task";
6532
+ "automation-memory": "automation-memory";
6533
+ handoff: "handoff";
6534
+ }>;
6535
+ scope: z.ZodEnum<{
6536
+ user: "user";
6537
+ project: "project";
6538
+ }>;
6539
+ name: z.ZodString;
6540
+ description: z.ZodNullable<z.ZodString>;
6541
+ project_cwd: z.ZodNullable<z.ZodString>;
6542
+ project_key: z.ZodNullable<z.ZodString>;
6543
+ group: z.ZodNullable<z.ZodString>;
6544
+ bytes: z.ZodInt;
6545
+ lines: z.ZodInt;
6546
+ modified_ms: z.ZodNumber;
6547
+ memory_type: z.ZodNullable<z.ZodString>;
6548
+ origin: z.ZodEnum<{
6549
+ plugin: "plugin";
6550
+ agent: "agent";
6551
+ "ai-matrx": "ai-matrx";
6552
+ "ai-matrx-edited": "ai-matrx-edited";
6553
+ "built-in": "built-in";
6554
+ "claude-app": "claude-app";
6555
+ linked: "linked";
6556
+ local: "local";
6557
+ }>;
6558
+ origin_detail: z.ZodNullable<z.ZodString>;
6559
+ in_index: z.ZodNullable<z.ZodBoolean>;
6560
+ links: z.ZodInt;
6561
+ broken_links: z.ZodInt;
6562
+ twin_group: z.ZodNullable<z.ZodInt>;
6563
+ folder_files: z.ZodNullable<z.ZodInt>;
6564
+ folder_bytes: z.ZodNullable<z.ZodInt>;
6565
+ shape_only: z.ZodBoolean;
6566
+ }, z.core.$strict>>;
6567
+ notes: z.ZodArray<z.ZodString>;
6568
+ }, z.core.$strict>;
6569
+ readonly kind: "unary";
6570
+ readonly since: "1.85";
6571
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
6572
+ };
6573
+ readonly "coding.assets.get": {
6574
+ readonly params: z.ZodObject<{
6575
+ id: z.ZodString;
6576
+ }, z.core.$strict>;
6577
+ readonly result: z.ZodObject<{
6578
+ asset: z.ZodObject<{
6579
+ id: z.ZodString;
6580
+ tool: z.ZodEnum<{
6581
+ claude: "claude";
6582
+ codex: "codex";
6583
+ cursor: "cursor";
6584
+ copilot: "copilot";
6585
+ gemini: "gemini";
6586
+ shared: "shared";
6587
+ }>;
6588
+ kind: z.ZodEnum<{
6589
+ memory: "memory";
6590
+ automation: "automation";
6591
+ command: "command";
6592
+ plan: "plan";
6593
+ plugin: "plugin";
6594
+ skill: "skill";
6595
+ settings: "settings";
6596
+ instructions: "instructions";
6597
+ "memory-index": "memory-index";
6598
+ "memory-summary": "memory-summary";
6599
+ "memory-raw": "memory-raw";
6600
+ "rollout-summary": "rollout-summary";
6601
+ "memory-extension": "memory-extension";
6602
+ "memory-store": "memory-store";
6603
+ rule: "rule";
6604
+ subagent: "subagent";
6605
+ "output-style": "output-style";
6606
+ hook: "hook";
6607
+ "mcp-config": "mcp-config";
6608
+ "scheduled-task": "scheduled-task";
6609
+ "automation-memory": "automation-memory";
6610
+ handoff: "handoff";
6611
+ }>;
6612
+ scope: z.ZodEnum<{
6613
+ user: "user";
6614
+ project: "project";
6615
+ }>;
6616
+ name: z.ZodString;
6617
+ description: z.ZodNullable<z.ZodString>;
6618
+ project_cwd: z.ZodNullable<z.ZodString>;
6619
+ project_key: z.ZodNullable<z.ZodString>;
6620
+ group: z.ZodNullable<z.ZodString>;
6621
+ bytes: z.ZodInt;
6622
+ lines: z.ZodInt;
6623
+ modified_ms: z.ZodNumber;
6624
+ memory_type: z.ZodNullable<z.ZodString>;
6625
+ origin: z.ZodEnum<{
6626
+ plugin: "plugin";
6627
+ agent: "agent";
6628
+ "ai-matrx": "ai-matrx";
6629
+ "ai-matrx-edited": "ai-matrx-edited";
6630
+ "built-in": "built-in";
6631
+ "claude-app": "claude-app";
6632
+ linked: "linked";
6633
+ local: "local";
6634
+ }>;
6635
+ origin_detail: z.ZodNullable<z.ZodString>;
6636
+ in_index: z.ZodNullable<z.ZodBoolean>;
6637
+ links: z.ZodInt;
6638
+ broken_links: z.ZodInt;
6639
+ twin_group: z.ZodNullable<z.ZodInt>;
6640
+ folder_files: z.ZodNullable<z.ZodInt>;
6641
+ folder_bytes: z.ZodNullable<z.ZodInt>;
6642
+ shape_only: z.ZodBoolean;
6643
+ }, z.core.$strict>;
6644
+ sha256: z.ZodString;
6645
+ link_target: z.ZodNullable<z.ZodString>;
6646
+ frontmatter: z.ZodArray<z.ZodObject<{
6647
+ key: z.ZodString;
6648
+ value: z.ZodString;
6649
+ }, z.core.$strict>>;
6650
+ links: z.ZodArray<z.ZodObject<{
6651
+ text: z.ZodString;
6652
+ target: z.ZodString;
6653
+ via: z.ZodEnum<{
6654
+ source: "source";
6655
+ index: "index";
6656
+ markdown: "markdown";
6657
+ wikilink: "wikilink";
6658
+ }>;
6659
+ resolved_path: z.ZodNullable<z.ZodString>;
6660
+ }, z.core.$strict>>;
6661
+ shape_keys: z.ZodArray<z.ZodString>;
6662
+ shape_counts: z.ZodArray<z.ZodObject<{
6663
+ key: z.ZodString;
6664
+ count: z.ZodInt;
6665
+ }, z.core.$strict>>;
6666
+ store_rows: z.ZodArray<z.ZodObject<{
6667
+ key: z.ZodString;
6668
+ count: z.ZodInt;
6669
+ }, z.core.$strict>>;
6670
+ content: z.ZodEnum<{
6671
+ text: "text";
6672
+ binary: "binary";
6673
+ "structure-only": "structure-only";
6674
+ }>;
6675
+ text: z.ZodNullable<z.ZodString>;
6676
+ truncated: z.ZodBoolean;
6677
+ }, z.core.$strict>;
6678
+ readonly kind: "unary";
6679
+ readonly since: "1.85";
6680
+ readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
6681
+ };
5892
6682
  readonly "coding.agent.set": {
5893
6683
  readonly params: z.ZodObject<{
5894
6684
  session_id: z.ZodString;
@@ -6770,8 +7560,8 @@ declare const OPS: {
6770
7560
  access_level: z.ZodOptional<z.ZodString>;
6771
7561
  organization_id: z.ZodOptional<z.ZodString>;
6772
7562
  origin: z.ZodOptional<z.ZodEnum<{
6773
- mine: "mine";
6774
7563
  shared: "shared";
7564
+ mine: "mine";
6775
7565
  system: "system";
6776
7566
  }>>;
6777
7567
  is_archived: z.ZodOptional<z.ZodBoolean>;
@@ -6864,8 +7654,8 @@ declare const OPS: {
6864
7654
  access_level: z.ZodOptional<z.ZodString>;
6865
7655
  organization_id: z.ZodOptional<z.ZodString>;
6866
7656
  origin: z.ZodOptional<z.ZodEnum<{
6867
- mine: "mine";
6868
7657
  shared: "shared";
7658
+ mine: "mine";
6869
7659
  system: "system";
6870
7660
  }>>;
6871
7661
  is_archived: z.ZodOptional<z.ZodBoolean>;
@@ -8324,8 +9114,8 @@ declare const OPS: {
8324
9114
  text: z.ZodString;
8325
9115
  labels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
8326
9116
  place: "place";
8327
- person: "person";
8328
9117
  organization: "organization";
9118
+ person: "person";
8329
9119
  }>>>;
8330
9120
  }, z.core.$strict>;
8331
9121
  readonly result: z.ZodObject<{
@@ -8346,13 +9136,13 @@ declare const OPS: {
8346
9136
  text: z.ZodString;
8347
9137
  kinds: z.ZodOptional<z.ZodArray<z.ZodEnum<{
8348
9138
  email: "email";
9139
+ api_key: "api_key";
8349
9140
  url: "url";
8350
9141
  phone: "phone";
8351
9142
  credit_card: "credit_card";
8352
9143
  us_ssn: "us_ssn";
8353
9144
  iban: "iban";
8354
9145
  ip_address: "ip_address";
8355
- api_key: "api_key";
8356
9146
  }>>>;
8357
9147
  redact: z.ZodDefault<z.ZodBoolean>;
8358
9148
  }, z.core.$strict>;
@@ -8360,13 +9150,13 @@ declare const OPS: {
8360
9150
  findings: z.ZodArray<z.ZodObject<{
8361
9151
  kind: z.ZodEnum<{
8362
9152
  email: "email";
9153
+ api_key: "api_key";
8363
9154
  url: "url";
8364
9155
  phone: "phone";
8365
9156
  credit_card: "credit_card";
8366
9157
  us_ssn: "us_ssn";
8367
9158
  iban: "iban";
8368
9159
  ip_address: "ip_address";
8369
- api_key: "api_key";
8370
9160
  }>;
8371
9161
  text: z.ZodString;
8372
9162
  start: z.ZodInt;
@@ -8697,6 +9487,66 @@ declare const EVENTS: {
8697
9487
  text: z.ZodString;
8698
9488
  }, z.core.$strict>], "kind">;
8699
9489
  }, z.core.$strict>;
9490
+ readonly "action_needed.changed": z.ZodObject<{
9491
+ item: z.ZodObject<{
9492
+ id: z.ZodString;
9493
+ fingerprint: z.ZodString;
9494
+ source: z.ZodString;
9495
+ feature: z.ZodString;
9496
+ kind: z.ZodEnum<{
9497
+ file: "file";
9498
+ question: "question";
9499
+ choice: "choice";
9500
+ approval: "approval";
9501
+ sign_in: "sign_in";
9502
+ permission: "permission";
9503
+ filesystem_access: "filesystem_access";
9504
+ api_key: "api_key";
9505
+ capability_install: "capability_install";
9506
+ organization: "organization";
9507
+ external_approval: "external_approval";
9508
+ }>;
9509
+ title: z.ZodString;
9510
+ message: z.ZodString;
9511
+ choices: z.ZodArray<z.ZodObject<{
9512
+ id: z.ZodString;
9513
+ label: z.ZodString;
9514
+ description: z.ZodOptional<z.ZodString>;
9515
+ }, z.core.$strict>>;
9516
+ allow_text: z.ZodBoolean;
9517
+ remedy: z.ZodOptional<z.ZodObject<{
9518
+ kind: z.ZodEnum<{
9519
+ open_url: "open_url";
9520
+ open_route: "open_route";
9521
+ open_os_settings: "open_os_settings";
9522
+ }>;
9523
+ label: z.ZodString;
9524
+ url: z.ZodOptional<z.ZodString>;
9525
+ route: z.ZodOptional<z.ZodString>;
9526
+ permission_key: z.ZodOptional<z.ZodString>;
9527
+ }, z.core.$strict>>;
9528
+ status: z.ZodEnum<{
9529
+ cancelled: "cancelled";
9530
+ open: "open";
9531
+ answered: "answered";
9532
+ expired: "expired";
9533
+ dismissed: "dismissed";
9534
+ }>;
9535
+ raised_at_ms: z.ZodInt;
9536
+ updated_at_ms: z.ZodInt;
9537
+ expires_at_ms: z.ZodOptional<z.ZodInt>;
9538
+ closed_at_ms: z.ZodOptional<z.ZodInt>;
9539
+ closed_reason: z.ZodOptional<z.ZodString>;
9540
+ answer: z.ZodOptional<z.ZodObject<{
9541
+ choice: z.ZodOptional<z.ZodString>;
9542
+ text: z.ZodOptional<z.ZodString>;
9543
+ file_path: z.ZodOptional<z.ZodString>;
9544
+ at_ms: z.ZodInt;
9545
+ }, z.core.$strict>>;
9546
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9547
+ }, z.core.$strict>;
9548
+ open_count: z.ZodInt;
9549
+ }, z.core.$strict>;
8700
9550
  readonly "coding.gap": z.ZodObject<{
8701
9551
  session_id: z.ZodString;
8702
9552
  since_seq: z.ZodInt;
@@ -8715,6 +9565,51 @@ declare const EVENTS: {
8715
9565
  total_signatures: z.ZodInt;
8716
9566
  waiting: z.ZodInt;
8717
9567
  }, z.core.$strict>;
9568
+ readonly "diag.activity.lines": z.ZodObject<{
9569
+ lines: z.ZodArray<z.ZodObject<{
9570
+ seq: z.ZodInt;
9571
+ at_ms: z.ZodInt;
9572
+ source: z.ZodEnum<{
9573
+ model: "model";
9574
+ service: "service";
9575
+ http: "http";
9576
+ core: "core";
9577
+ client: "client";
9578
+ tool: "tool";
9579
+ }>;
9580
+ level: z.ZodEnum<{
9581
+ error: "error";
9582
+ debug: "debug";
9583
+ info: "info";
9584
+ warn: "warn";
9585
+ }>;
9586
+ event: z.ZodString;
9587
+ text: z.ZodString;
9588
+ http: z.ZodOptional<z.ZodObject<{
9589
+ method: z.ZodString;
9590
+ path: z.ZodString;
9591
+ status: z.ZodInt;
9592
+ duration_ms: z.ZodInt;
9593
+ origin: z.ZodNullable<z.ZodString>;
9594
+ }, z.core.$strict>>;
9595
+ tool: z.ZodOptional<z.ZodObject<{
9596
+ op: z.ZodString;
9597
+ client_type: z.ZodString;
9598
+ transport: z.ZodString;
9599
+ duration_ms: z.ZodInt;
9600
+ outcome: z.ZodString;
9601
+ }, z.core.$strict>>;
9602
+ }, z.core.$strict>>;
9603
+ skipped: z.ZodInt;
9604
+ dropped: z.ZodObject<{
9605
+ core: z.ZodInt;
9606
+ service: z.ZodInt;
9607
+ model: z.ZodInt;
9608
+ client: z.ZodInt;
9609
+ http: z.ZodInt;
9610
+ tool: z.ZodInt;
9611
+ }, z.core.$strict>;
9612
+ }, z.core.$strict>;
8718
9613
  readonly "browser.invoke": z.ZodObject<{
8719
9614
  call_id: z.ZodString;
8720
9615
  tool: z.ZodString;