@ai-matrx/desktop-protocol 0.19.0 → 0.21.0
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/CHANGELOG.md +12 -0
- package/dist/client.cjs +460 -361
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +460 -361
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +312 -189
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +210 -7
- package/dist/index.d.ts +210 -7
- package/dist/index.js +312 -189
- package/dist/index.js.map +1 -1
- package/dist/{models-DTtWH_yC.d.cts → models-C98SDul-.d.cts} +284 -1
- package/dist/{models-DTtWH_yC.d.ts → models-C98SDul-.d.ts} +284 -1
- package/dist/react.d.cts +111 -0
- package/dist/react.d.ts +111 -0
- package/generated/desktop-protocol.schema.json +385 -2
- package/package.json +1 -1
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19";
|
|
690
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -3528,6 +3528,113 @@ declare const OPS: {
|
|
|
3528
3528
|
readonly since: "1.16";
|
|
3529
3529
|
readonly errors: readonly ["INTERNAL"];
|
|
3530
3530
|
};
|
|
3531
|
+
readonly "diag.errors.list": {
|
|
3532
|
+
readonly params: z.ZodObject<{
|
|
3533
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
3534
|
+
open: "open";
|
|
3535
|
+
all: "all";
|
|
3536
|
+
}>>;
|
|
3537
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
3538
|
+
}, z.core.$strict>;
|
|
3539
|
+
readonly result: z.ZodObject<{
|
|
3540
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
3541
|
+
signature: z.ZodString;
|
|
3542
|
+
process: z.ZodEnum<{
|
|
3543
|
+
relay: "relay";
|
|
3544
|
+
main: "main";
|
|
3545
|
+
renderer: "renderer";
|
|
3546
|
+
hosted_page: "hosted_page";
|
|
3547
|
+
core: "core";
|
|
3548
|
+
pty_host: "pty_host";
|
|
3549
|
+
python_ml: "python_ml";
|
|
3550
|
+
python_coding: "python_coding";
|
|
3551
|
+
python_tools: "python_tools";
|
|
3552
|
+
coding_sessions: "coding_sessions";
|
|
3553
|
+
claude_accounts: "claude_accounts";
|
|
3554
|
+
}>;
|
|
3555
|
+
kind: z.ZodEnum<{
|
|
3556
|
+
uncaught_exception: "uncaught_exception";
|
|
3557
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3558
|
+
renderer_crash: "renderer_crash";
|
|
3559
|
+
native_crash: "native_crash";
|
|
3560
|
+
console_error: "console_error";
|
|
3561
|
+
load_failed: "load_failed";
|
|
3562
|
+
op_failed: "op_failed";
|
|
3563
|
+
child_exit: "child_exit";
|
|
3564
|
+
banner: "banner";
|
|
3565
|
+
logged_error: "logged_error";
|
|
3566
|
+
}>;
|
|
3567
|
+
source: z.ZodString;
|
|
3568
|
+
code: z.ZodNullable<z.ZodString>;
|
|
3569
|
+
message: z.ZodString;
|
|
3570
|
+
count: z.ZodInt;
|
|
3571
|
+
first_seen_ms: z.ZodInt;
|
|
3572
|
+
last_seen_ms: z.ZodInt;
|
|
3573
|
+
status: z.ZodEnum<{
|
|
3574
|
+
waiting: "waiting";
|
|
3575
|
+
sent: "sent";
|
|
3576
|
+
resolved: "resolved";
|
|
3577
|
+
}>;
|
|
3578
|
+
resolution_note: z.ZodNullable<z.ZodString>;
|
|
3579
|
+
app_version: z.ZodString;
|
|
3580
|
+
}, z.core.$strict>>;
|
|
3581
|
+
total_signatures: z.ZodInt;
|
|
3582
|
+
total_occurrences: z.ZodInt;
|
|
3583
|
+
waiting: z.ZodInt;
|
|
3584
|
+
delivery: z.ZodEnum<{
|
|
3585
|
+
ok: "ok";
|
|
3586
|
+
signed_out: "signed_out";
|
|
3587
|
+
failing: "failing";
|
|
3588
|
+
}>;
|
|
3589
|
+
last_delivery_ms: z.ZodNullable<z.ZodInt>;
|
|
3590
|
+
}, z.core.$strict>;
|
|
3591
|
+
readonly kind: "unary";
|
|
3592
|
+
readonly since: "1.20";
|
|
3593
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3594
|
+
};
|
|
3595
|
+
readonly "diag.errors.report": {
|
|
3596
|
+
readonly params: z.ZodObject<{
|
|
3597
|
+
process: z.ZodEnum<{
|
|
3598
|
+
renderer: "renderer";
|
|
3599
|
+
hosted_page: "hosted_page";
|
|
3600
|
+
}>;
|
|
3601
|
+
kind: z.ZodEnum<{
|
|
3602
|
+
uncaught_exception: "uncaught_exception";
|
|
3603
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3604
|
+
console_error: "console_error";
|
|
3605
|
+
banner: "banner";
|
|
3606
|
+
}>;
|
|
3607
|
+
source: z.ZodString;
|
|
3608
|
+
message: z.ZodString;
|
|
3609
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3610
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
3611
|
+
}, z.core.$strict>;
|
|
3612
|
+
readonly result: z.ZodObject<{
|
|
3613
|
+
signature: z.ZodString;
|
|
3614
|
+
}, z.core.$strict>;
|
|
3615
|
+
readonly kind: "unary";
|
|
3616
|
+
readonly since: "1.20";
|
|
3617
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3618
|
+
};
|
|
3619
|
+
readonly "apps.windows.shown": {
|
|
3620
|
+
readonly params: z.ZodObject<{
|
|
3621
|
+
app_key: z.ZodString;
|
|
3622
|
+
window: z.ZodString;
|
|
3623
|
+
}, z.core.$strict>;
|
|
3624
|
+
readonly result: z.ZodObject<{
|
|
3625
|
+
window: z.ZodString;
|
|
3626
|
+
open: z.ZodBoolean;
|
|
3627
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3628
|
+
title: z.ZodString;
|
|
3629
|
+
rows: z.ZodNumber;
|
|
3630
|
+
expanded: z.ZodBoolean;
|
|
3631
|
+
}, z.core.$strict>>;
|
|
3632
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3633
|
+
}, z.core.$strict>;
|
|
3634
|
+
readonly kind: "unary";
|
|
3635
|
+
readonly since: "1.21";
|
|
3636
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3637
|
+
};
|
|
3531
3638
|
readonly "coding.history.import_missing": {
|
|
3532
3639
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3533
3640
|
readonly result: z.ZodObject<{
|
|
@@ -3674,6 +3781,10 @@ declare const EVENTS: {
|
|
|
3674
3781
|
readonly "relay.auth_expiring": z.ZodObject<{
|
|
3675
3782
|
expires_at_ms: z.ZodInt;
|
|
3676
3783
|
}, z.core.$strict>;
|
|
3784
|
+
readonly "diag.errors.changed": z.ZodObject<{
|
|
3785
|
+
total_signatures: z.ZodInt;
|
|
3786
|
+
waiting: z.ZodInt;
|
|
3787
|
+
}, z.core.$strict>;
|
|
3677
3788
|
};
|
|
3678
3789
|
type EventName = keyof typeof EVENTS;
|
|
3679
3790
|
/**
|
|
@@ -6673,6 +6784,159 @@ declare const NAMED_SCHEMAS: {
|
|
|
6673
6784
|
}, z.core.$strict>>;
|
|
6674
6785
|
window_minutes: z.ZodInt;
|
|
6675
6786
|
}, z.core.$strict>;
|
|
6787
|
+
readonly DiagProcess: z.ZodEnum<{
|
|
6788
|
+
relay: "relay";
|
|
6789
|
+
main: "main";
|
|
6790
|
+
renderer: "renderer";
|
|
6791
|
+
hosted_page: "hosted_page";
|
|
6792
|
+
core: "core";
|
|
6793
|
+
pty_host: "pty_host";
|
|
6794
|
+
python_ml: "python_ml";
|
|
6795
|
+
python_coding: "python_coding";
|
|
6796
|
+
python_tools: "python_tools";
|
|
6797
|
+
coding_sessions: "coding_sessions";
|
|
6798
|
+
claude_accounts: "claude_accounts";
|
|
6799
|
+
}>;
|
|
6800
|
+
readonly DiagErrorKind: z.ZodEnum<{
|
|
6801
|
+
uncaught_exception: "uncaught_exception";
|
|
6802
|
+
unhandled_rejection: "unhandled_rejection";
|
|
6803
|
+
renderer_crash: "renderer_crash";
|
|
6804
|
+
native_crash: "native_crash";
|
|
6805
|
+
console_error: "console_error";
|
|
6806
|
+
load_failed: "load_failed";
|
|
6807
|
+
op_failed: "op_failed";
|
|
6808
|
+
child_exit: "child_exit";
|
|
6809
|
+
banner: "banner";
|
|
6810
|
+
logged_error: "logged_error";
|
|
6811
|
+
}>;
|
|
6812
|
+
readonly DiagErrorStatus: z.ZodEnum<{
|
|
6813
|
+
waiting: "waiting";
|
|
6814
|
+
sent: "sent";
|
|
6815
|
+
resolved: "resolved";
|
|
6816
|
+
}>;
|
|
6817
|
+
readonly DiagErrorEntry: z.ZodObject<{
|
|
6818
|
+
signature: z.ZodString;
|
|
6819
|
+
process: z.ZodEnum<{
|
|
6820
|
+
relay: "relay";
|
|
6821
|
+
main: "main";
|
|
6822
|
+
renderer: "renderer";
|
|
6823
|
+
hosted_page: "hosted_page";
|
|
6824
|
+
core: "core";
|
|
6825
|
+
pty_host: "pty_host";
|
|
6826
|
+
python_ml: "python_ml";
|
|
6827
|
+
python_coding: "python_coding";
|
|
6828
|
+
python_tools: "python_tools";
|
|
6829
|
+
coding_sessions: "coding_sessions";
|
|
6830
|
+
claude_accounts: "claude_accounts";
|
|
6831
|
+
}>;
|
|
6832
|
+
kind: z.ZodEnum<{
|
|
6833
|
+
uncaught_exception: "uncaught_exception";
|
|
6834
|
+
unhandled_rejection: "unhandled_rejection";
|
|
6835
|
+
renderer_crash: "renderer_crash";
|
|
6836
|
+
native_crash: "native_crash";
|
|
6837
|
+
console_error: "console_error";
|
|
6838
|
+
load_failed: "load_failed";
|
|
6839
|
+
op_failed: "op_failed";
|
|
6840
|
+
child_exit: "child_exit";
|
|
6841
|
+
banner: "banner";
|
|
6842
|
+
logged_error: "logged_error";
|
|
6843
|
+
}>;
|
|
6844
|
+
source: z.ZodString;
|
|
6845
|
+
code: z.ZodNullable<z.ZodString>;
|
|
6846
|
+
message: z.ZodString;
|
|
6847
|
+
count: z.ZodInt;
|
|
6848
|
+
first_seen_ms: z.ZodInt;
|
|
6849
|
+
last_seen_ms: z.ZodInt;
|
|
6850
|
+
status: z.ZodEnum<{
|
|
6851
|
+
waiting: "waiting";
|
|
6852
|
+
sent: "sent";
|
|
6853
|
+
resolved: "resolved";
|
|
6854
|
+
}>;
|
|
6855
|
+
resolution_note: z.ZodNullable<z.ZodString>;
|
|
6856
|
+
app_version: z.ZodString;
|
|
6857
|
+
}, z.core.$strict>;
|
|
6858
|
+
readonly DiagErrorsListParams: z.ZodObject<{
|
|
6859
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
6860
|
+
open: "open";
|
|
6861
|
+
all: "all";
|
|
6862
|
+
}>>;
|
|
6863
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
6864
|
+
}, z.core.$strict>;
|
|
6865
|
+
readonly DiagErrorsListResult: z.ZodObject<{
|
|
6866
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
6867
|
+
signature: z.ZodString;
|
|
6868
|
+
process: z.ZodEnum<{
|
|
6869
|
+
relay: "relay";
|
|
6870
|
+
main: "main";
|
|
6871
|
+
renderer: "renderer";
|
|
6872
|
+
hosted_page: "hosted_page";
|
|
6873
|
+
core: "core";
|
|
6874
|
+
pty_host: "pty_host";
|
|
6875
|
+
python_ml: "python_ml";
|
|
6876
|
+
python_coding: "python_coding";
|
|
6877
|
+
python_tools: "python_tools";
|
|
6878
|
+
coding_sessions: "coding_sessions";
|
|
6879
|
+
claude_accounts: "claude_accounts";
|
|
6880
|
+
}>;
|
|
6881
|
+
kind: z.ZodEnum<{
|
|
6882
|
+
uncaught_exception: "uncaught_exception";
|
|
6883
|
+
unhandled_rejection: "unhandled_rejection";
|
|
6884
|
+
renderer_crash: "renderer_crash";
|
|
6885
|
+
native_crash: "native_crash";
|
|
6886
|
+
console_error: "console_error";
|
|
6887
|
+
load_failed: "load_failed";
|
|
6888
|
+
op_failed: "op_failed";
|
|
6889
|
+
child_exit: "child_exit";
|
|
6890
|
+
banner: "banner";
|
|
6891
|
+
logged_error: "logged_error";
|
|
6892
|
+
}>;
|
|
6893
|
+
source: z.ZodString;
|
|
6894
|
+
code: z.ZodNullable<z.ZodString>;
|
|
6895
|
+
message: z.ZodString;
|
|
6896
|
+
count: z.ZodInt;
|
|
6897
|
+
first_seen_ms: z.ZodInt;
|
|
6898
|
+
last_seen_ms: z.ZodInt;
|
|
6899
|
+
status: z.ZodEnum<{
|
|
6900
|
+
waiting: "waiting";
|
|
6901
|
+
sent: "sent";
|
|
6902
|
+
resolved: "resolved";
|
|
6903
|
+
}>;
|
|
6904
|
+
resolution_note: z.ZodNullable<z.ZodString>;
|
|
6905
|
+
app_version: z.ZodString;
|
|
6906
|
+
}, z.core.$strict>>;
|
|
6907
|
+
total_signatures: z.ZodInt;
|
|
6908
|
+
total_occurrences: z.ZodInt;
|
|
6909
|
+
waiting: z.ZodInt;
|
|
6910
|
+
delivery: z.ZodEnum<{
|
|
6911
|
+
ok: "ok";
|
|
6912
|
+
signed_out: "signed_out";
|
|
6913
|
+
failing: "failing";
|
|
6914
|
+
}>;
|
|
6915
|
+
last_delivery_ms: z.ZodNullable<z.ZodInt>;
|
|
6916
|
+
}, z.core.$strict>;
|
|
6917
|
+
readonly DiagErrorsReportParams: z.ZodObject<{
|
|
6918
|
+
process: z.ZodEnum<{
|
|
6919
|
+
renderer: "renderer";
|
|
6920
|
+
hosted_page: "hosted_page";
|
|
6921
|
+
}>;
|
|
6922
|
+
kind: z.ZodEnum<{
|
|
6923
|
+
uncaught_exception: "uncaught_exception";
|
|
6924
|
+
unhandled_rejection: "unhandled_rejection";
|
|
6925
|
+
console_error: "console_error";
|
|
6926
|
+
banner: "banner";
|
|
6927
|
+
}>;
|
|
6928
|
+
source: z.ZodString;
|
|
6929
|
+
message: z.ZodString;
|
|
6930
|
+
code: z.ZodOptional<z.ZodString>;
|
|
6931
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
6932
|
+
}, z.core.$strict>;
|
|
6933
|
+
readonly DiagErrorsReportResult: z.ZodObject<{
|
|
6934
|
+
signature: z.ZodString;
|
|
6935
|
+
}, z.core.$strict>;
|
|
6936
|
+
readonly DiagErrorsChangedEvent: z.ZodObject<{
|
|
6937
|
+
total_signatures: z.ZodInt;
|
|
6938
|
+
waiting: z.ZodInt;
|
|
6939
|
+
}, z.core.$strict>;
|
|
6676
6940
|
readonly FsWatchId: z.ZodString;
|
|
6677
6941
|
readonly FsWatchStartParams: z.ZodObject<{
|
|
6678
6942
|
path: z.ZodString;
|
|
@@ -7877,6 +8141,25 @@ declare const NAMED_SCHEMAS: {
|
|
|
7877
8141
|
}, z.core.$strict>>;
|
|
7878
8142
|
message: z.ZodString;
|
|
7879
8143
|
}, z.core.$strict>;
|
|
8144
|
+
readonly ShownSection: z.ZodObject<{
|
|
8145
|
+
title: z.ZodString;
|
|
8146
|
+
rows: z.ZodNumber;
|
|
8147
|
+
expanded: z.ZodBoolean;
|
|
8148
|
+
}, z.core.$strict>;
|
|
8149
|
+
readonly AppsWindowsShownParams: z.ZodObject<{
|
|
8150
|
+
app_key: z.ZodString;
|
|
8151
|
+
window: z.ZodString;
|
|
8152
|
+
}, z.core.$strict>;
|
|
8153
|
+
readonly AppsWindowsShownResult: z.ZodObject<{
|
|
8154
|
+
window: z.ZodString;
|
|
8155
|
+
open: z.ZodBoolean;
|
|
8156
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
8157
|
+
title: z.ZodString;
|
|
8158
|
+
rows: z.ZodNumber;
|
|
8159
|
+
expanded: z.ZodBoolean;
|
|
8160
|
+
}, z.core.$strict>>;
|
|
8161
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
8162
|
+
}, z.core.$strict>;
|
|
7880
8163
|
readonly ColdChat: z.ZodObject<{
|
|
7881
8164
|
id: z.ZodString;
|
|
7882
8165
|
title: z.ZodString;
|
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19";
|
|
690
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -3528,6 +3528,113 @@ declare const OPS: {
|
|
|
3528
3528
|
readonly since: "1.16";
|
|
3529
3529
|
readonly errors: readonly ["INTERNAL"];
|
|
3530
3530
|
};
|
|
3531
|
+
readonly "diag.errors.list": {
|
|
3532
|
+
readonly params: z.ZodObject<{
|
|
3533
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
3534
|
+
open: "open";
|
|
3535
|
+
all: "all";
|
|
3536
|
+
}>>;
|
|
3537
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
3538
|
+
}, z.core.$strict>;
|
|
3539
|
+
readonly result: z.ZodObject<{
|
|
3540
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
3541
|
+
signature: z.ZodString;
|
|
3542
|
+
process: z.ZodEnum<{
|
|
3543
|
+
relay: "relay";
|
|
3544
|
+
main: "main";
|
|
3545
|
+
renderer: "renderer";
|
|
3546
|
+
hosted_page: "hosted_page";
|
|
3547
|
+
core: "core";
|
|
3548
|
+
pty_host: "pty_host";
|
|
3549
|
+
python_ml: "python_ml";
|
|
3550
|
+
python_coding: "python_coding";
|
|
3551
|
+
python_tools: "python_tools";
|
|
3552
|
+
coding_sessions: "coding_sessions";
|
|
3553
|
+
claude_accounts: "claude_accounts";
|
|
3554
|
+
}>;
|
|
3555
|
+
kind: z.ZodEnum<{
|
|
3556
|
+
uncaught_exception: "uncaught_exception";
|
|
3557
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3558
|
+
renderer_crash: "renderer_crash";
|
|
3559
|
+
native_crash: "native_crash";
|
|
3560
|
+
console_error: "console_error";
|
|
3561
|
+
load_failed: "load_failed";
|
|
3562
|
+
op_failed: "op_failed";
|
|
3563
|
+
child_exit: "child_exit";
|
|
3564
|
+
banner: "banner";
|
|
3565
|
+
logged_error: "logged_error";
|
|
3566
|
+
}>;
|
|
3567
|
+
source: z.ZodString;
|
|
3568
|
+
code: z.ZodNullable<z.ZodString>;
|
|
3569
|
+
message: z.ZodString;
|
|
3570
|
+
count: z.ZodInt;
|
|
3571
|
+
first_seen_ms: z.ZodInt;
|
|
3572
|
+
last_seen_ms: z.ZodInt;
|
|
3573
|
+
status: z.ZodEnum<{
|
|
3574
|
+
waiting: "waiting";
|
|
3575
|
+
sent: "sent";
|
|
3576
|
+
resolved: "resolved";
|
|
3577
|
+
}>;
|
|
3578
|
+
resolution_note: z.ZodNullable<z.ZodString>;
|
|
3579
|
+
app_version: z.ZodString;
|
|
3580
|
+
}, z.core.$strict>>;
|
|
3581
|
+
total_signatures: z.ZodInt;
|
|
3582
|
+
total_occurrences: z.ZodInt;
|
|
3583
|
+
waiting: z.ZodInt;
|
|
3584
|
+
delivery: z.ZodEnum<{
|
|
3585
|
+
ok: "ok";
|
|
3586
|
+
signed_out: "signed_out";
|
|
3587
|
+
failing: "failing";
|
|
3588
|
+
}>;
|
|
3589
|
+
last_delivery_ms: z.ZodNullable<z.ZodInt>;
|
|
3590
|
+
}, z.core.$strict>;
|
|
3591
|
+
readonly kind: "unary";
|
|
3592
|
+
readonly since: "1.20";
|
|
3593
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3594
|
+
};
|
|
3595
|
+
readonly "diag.errors.report": {
|
|
3596
|
+
readonly params: z.ZodObject<{
|
|
3597
|
+
process: z.ZodEnum<{
|
|
3598
|
+
renderer: "renderer";
|
|
3599
|
+
hosted_page: "hosted_page";
|
|
3600
|
+
}>;
|
|
3601
|
+
kind: z.ZodEnum<{
|
|
3602
|
+
uncaught_exception: "uncaught_exception";
|
|
3603
|
+
unhandled_rejection: "unhandled_rejection";
|
|
3604
|
+
console_error: "console_error";
|
|
3605
|
+
banner: "banner";
|
|
3606
|
+
}>;
|
|
3607
|
+
source: z.ZodString;
|
|
3608
|
+
message: z.ZodString;
|
|
3609
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3610
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
3611
|
+
}, z.core.$strict>;
|
|
3612
|
+
readonly result: z.ZodObject<{
|
|
3613
|
+
signature: z.ZodString;
|
|
3614
|
+
}, z.core.$strict>;
|
|
3615
|
+
readonly kind: "unary";
|
|
3616
|
+
readonly since: "1.20";
|
|
3617
|
+
readonly errors: readonly ["INTERNAL"];
|
|
3618
|
+
};
|
|
3619
|
+
readonly "apps.windows.shown": {
|
|
3620
|
+
readonly params: z.ZodObject<{
|
|
3621
|
+
app_key: z.ZodString;
|
|
3622
|
+
window: z.ZodString;
|
|
3623
|
+
}, z.core.$strict>;
|
|
3624
|
+
readonly result: z.ZodObject<{
|
|
3625
|
+
window: z.ZodString;
|
|
3626
|
+
open: z.ZodBoolean;
|
|
3627
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3628
|
+
title: z.ZodString;
|
|
3629
|
+
rows: z.ZodNumber;
|
|
3630
|
+
expanded: z.ZodBoolean;
|
|
3631
|
+
}, z.core.$strict>>;
|
|
3632
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
3633
|
+
}, z.core.$strict>;
|
|
3634
|
+
readonly kind: "unary";
|
|
3635
|
+
readonly since: "1.21";
|
|
3636
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3637
|
+
};
|
|
3531
3638
|
readonly "coding.history.import_missing": {
|
|
3532
3639
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
3533
3640
|
readonly result: z.ZodObject<{
|
|
@@ -3674,6 +3781,10 @@ declare const EVENTS: {
|
|
|
3674
3781
|
readonly "relay.auth_expiring": z.ZodObject<{
|
|
3675
3782
|
expires_at_ms: z.ZodInt;
|
|
3676
3783
|
}, z.core.$strict>;
|
|
3784
|
+
readonly "diag.errors.changed": z.ZodObject<{
|
|
3785
|
+
total_signatures: z.ZodInt;
|
|
3786
|
+
waiting: z.ZodInt;
|
|
3787
|
+
}, z.core.$strict>;
|
|
3677
3788
|
};
|
|
3678
3789
|
type EventName = keyof typeof EVENTS;
|
|
3679
3790
|
/**
|
|
@@ -6673,6 +6784,159 @@ declare const NAMED_SCHEMAS: {
|
|
|
6673
6784
|
}, z.core.$strict>>;
|
|
6674
6785
|
window_minutes: z.ZodInt;
|
|
6675
6786
|
}, z.core.$strict>;
|
|
6787
|
+
readonly DiagProcess: z.ZodEnum<{
|
|
6788
|
+
relay: "relay";
|
|
6789
|
+
main: "main";
|
|
6790
|
+
renderer: "renderer";
|
|
6791
|
+
hosted_page: "hosted_page";
|
|
6792
|
+
core: "core";
|
|
6793
|
+
pty_host: "pty_host";
|
|
6794
|
+
python_ml: "python_ml";
|
|
6795
|
+
python_coding: "python_coding";
|
|
6796
|
+
python_tools: "python_tools";
|
|
6797
|
+
coding_sessions: "coding_sessions";
|
|
6798
|
+
claude_accounts: "claude_accounts";
|
|
6799
|
+
}>;
|
|
6800
|
+
readonly DiagErrorKind: z.ZodEnum<{
|
|
6801
|
+
uncaught_exception: "uncaught_exception";
|
|
6802
|
+
unhandled_rejection: "unhandled_rejection";
|
|
6803
|
+
renderer_crash: "renderer_crash";
|
|
6804
|
+
native_crash: "native_crash";
|
|
6805
|
+
console_error: "console_error";
|
|
6806
|
+
load_failed: "load_failed";
|
|
6807
|
+
op_failed: "op_failed";
|
|
6808
|
+
child_exit: "child_exit";
|
|
6809
|
+
banner: "banner";
|
|
6810
|
+
logged_error: "logged_error";
|
|
6811
|
+
}>;
|
|
6812
|
+
readonly DiagErrorStatus: z.ZodEnum<{
|
|
6813
|
+
waiting: "waiting";
|
|
6814
|
+
sent: "sent";
|
|
6815
|
+
resolved: "resolved";
|
|
6816
|
+
}>;
|
|
6817
|
+
readonly DiagErrorEntry: z.ZodObject<{
|
|
6818
|
+
signature: z.ZodString;
|
|
6819
|
+
process: z.ZodEnum<{
|
|
6820
|
+
relay: "relay";
|
|
6821
|
+
main: "main";
|
|
6822
|
+
renderer: "renderer";
|
|
6823
|
+
hosted_page: "hosted_page";
|
|
6824
|
+
core: "core";
|
|
6825
|
+
pty_host: "pty_host";
|
|
6826
|
+
python_ml: "python_ml";
|
|
6827
|
+
python_coding: "python_coding";
|
|
6828
|
+
python_tools: "python_tools";
|
|
6829
|
+
coding_sessions: "coding_sessions";
|
|
6830
|
+
claude_accounts: "claude_accounts";
|
|
6831
|
+
}>;
|
|
6832
|
+
kind: z.ZodEnum<{
|
|
6833
|
+
uncaught_exception: "uncaught_exception";
|
|
6834
|
+
unhandled_rejection: "unhandled_rejection";
|
|
6835
|
+
renderer_crash: "renderer_crash";
|
|
6836
|
+
native_crash: "native_crash";
|
|
6837
|
+
console_error: "console_error";
|
|
6838
|
+
load_failed: "load_failed";
|
|
6839
|
+
op_failed: "op_failed";
|
|
6840
|
+
child_exit: "child_exit";
|
|
6841
|
+
banner: "banner";
|
|
6842
|
+
logged_error: "logged_error";
|
|
6843
|
+
}>;
|
|
6844
|
+
source: z.ZodString;
|
|
6845
|
+
code: z.ZodNullable<z.ZodString>;
|
|
6846
|
+
message: z.ZodString;
|
|
6847
|
+
count: z.ZodInt;
|
|
6848
|
+
first_seen_ms: z.ZodInt;
|
|
6849
|
+
last_seen_ms: z.ZodInt;
|
|
6850
|
+
status: z.ZodEnum<{
|
|
6851
|
+
waiting: "waiting";
|
|
6852
|
+
sent: "sent";
|
|
6853
|
+
resolved: "resolved";
|
|
6854
|
+
}>;
|
|
6855
|
+
resolution_note: z.ZodNullable<z.ZodString>;
|
|
6856
|
+
app_version: z.ZodString;
|
|
6857
|
+
}, z.core.$strict>;
|
|
6858
|
+
readonly DiagErrorsListParams: z.ZodObject<{
|
|
6859
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
6860
|
+
open: "open";
|
|
6861
|
+
all: "all";
|
|
6862
|
+
}>>;
|
|
6863
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
6864
|
+
}, z.core.$strict>;
|
|
6865
|
+
readonly DiagErrorsListResult: z.ZodObject<{
|
|
6866
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
6867
|
+
signature: z.ZodString;
|
|
6868
|
+
process: z.ZodEnum<{
|
|
6869
|
+
relay: "relay";
|
|
6870
|
+
main: "main";
|
|
6871
|
+
renderer: "renderer";
|
|
6872
|
+
hosted_page: "hosted_page";
|
|
6873
|
+
core: "core";
|
|
6874
|
+
pty_host: "pty_host";
|
|
6875
|
+
python_ml: "python_ml";
|
|
6876
|
+
python_coding: "python_coding";
|
|
6877
|
+
python_tools: "python_tools";
|
|
6878
|
+
coding_sessions: "coding_sessions";
|
|
6879
|
+
claude_accounts: "claude_accounts";
|
|
6880
|
+
}>;
|
|
6881
|
+
kind: z.ZodEnum<{
|
|
6882
|
+
uncaught_exception: "uncaught_exception";
|
|
6883
|
+
unhandled_rejection: "unhandled_rejection";
|
|
6884
|
+
renderer_crash: "renderer_crash";
|
|
6885
|
+
native_crash: "native_crash";
|
|
6886
|
+
console_error: "console_error";
|
|
6887
|
+
load_failed: "load_failed";
|
|
6888
|
+
op_failed: "op_failed";
|
|
6889
|
+
child_exit: "child_exit";
|
|
6890
|
+
banner: "banner";
|
|
6891
|
+
logged_error: "logged_error";
|
|
6892
|
+
}>;
|
|
6893
|
+
source: z.ZodString;
|
|
6894
|
+
code: z.ZodNullable<z.ZodString>;
|
|
6895
|
+
message: z.ZodString;
|
|
6896
|
+
count: z.ZodInt;
|
|
6897
|
+
first_seen_ms: z.ZodInt;
|
|
6898
|
+
last_seen_ms: z.ZodInt;
|
|
6899
|
+
status: z.ZodEnum<{
|
|
6900
|
+
waiting: "waiting";
|
|
6901
|
+
sent: "sent";
|
|
6902
|
+
resolved: "resolved";
|
|
6903
|
+
}>;
|
|
6904
|
+
resolution_note: z.ZodNullable<z.ZodString>;
|
|
6905
|
+
app_version: z.ZodString;
|
|
6906
|
+
}, z.core.$strict>>;
|
|
6907
|
+
total_signatures: z.ZodInt;
|
|
6908
|
+
total_occurrences: z.ZodInt;
|
|
6909
|
+
waiting: z.ZodInt;
|
|
6910
|
+
delivery: z.ZodEnum<{
|
|
6911
|
+
ok: "ok";
|
|
6912
|
+
signed_out: "signed_out";
|
|
6913
|
+
failing: "failing";
|
|
6914
|
+
}>;
|
|
6915
|
+
last_delivery_ms: z.ZodNullable<z.ZodInt>;
|
|
6916
|
+
}, z.core.$strict>;
|
|
6917
|
+
readonly DiagErrorsReportParams: z.ZodObject<{
|
|
6918
|
+
process: z.ZodEnum<{
|
|
6919
|
+
renderer: "renderer";
|
|
6920
|
+
hosted_page: "hosted_page";
|
|
6921
|
+
}>;
|
|
6922
|
+
kind: z.ZodEnum<{
|
|
6923
|
+
uncaught_exception: "uncaught_exception";
|
|
6924
|
+
unhandled_rejection: "unhandled_rejection";
|
|
6925
|
+
console_error: "console_error";
|
|
6926
|
+
banner: "banner";
|
|
6927
|
+
}>;
|
|
6928
|
+
source: z.ZodString;
|
|
6929
|
+
message: z.ZodString;
|
|
6930
|
+
code: z.ZodOptional<z.ZodString>;
|
|
6931
|
+
stack: z.ZodOptional<z.ZodString>;
|
|
6932
|
+
}, z.core.$strict>;
|
|
6933
|
+
readonly DiagErrorsReportResult: z.ZodObject<{
|
|
6934
|
+
signature: z.ZodString;
|
|
6935
|
+
}, z.core.$strict>;
|
|
6936
|
+
readonly DiagErrorsChangedEvent: z.ZodObject<{
|
|
6937
|
+
total_signatures: z.ZodInt;
|
|
6938
|
+
waiting: z.ZodInt;
|
|
6939
|
+
}, z.core.$strict>;
|
|
6676
6940
|
readonly FsWatchId: z.ZodString;
|
|
6677
6941
|
readonly FsWatchStartParams: z.ZodObject<{
|
|
6678
6942
|
path: z.ZodString;
|
|
@@ -7877,6 +8141,25 @@ declare const NAMED_SCHEMAS: {
|
|
|
7877
8141
|
}, z.core.$strict>>;
|
|
7878
8142
|
message: z.ZodString;
|
|
7879
8143
|
}, z.core.$strict>;
|
|
8144
|
+
readonly ShownSection: z.ZodObject<{
|
|
8145
|
+
title: z.ZodString;
|
|
8146
|
+
rows: z.ZodNumber;
|
|
8147
|
+
expanded: z.ZodBoolean;
|
|
8148
|
+
}, z.core.$strict>;
|
|
8149
|
+
readonly AppsWindowsShownParams: z.ZodObject<{
|
|
8150
|
+
app_key: z.ZodString;
|
|
8151
|
+
window: z.ZodString;
|
|
8152
|
+
}, z.core.$strict>;
|
|
8153
|
+
readonly AppsWindowsShownResult: z.ZodObject<{
|
|
8154
|
+
window: z.ZodString;
|
|
8155
|
+
open: z.ZodBoolean;
|
|
8156
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
8157
|
+
title: z.ZodString;
|
|
8158
|
+
rows: z.ZodNumber;
|
|
8159
|
+
expanded: z.ZodBoolean;
|
|
8160
|
+
}, z.core.$strict>>;
|
|
8161
|
+
problem: z.ZodNullable<z.ZodString>;
|
|
8162
|
+
}, z.core.$strict>;
|
|
7880
8163
|
readonly ColdChat: z.ZodObject<{
|
|
7881
8164
|
id: z.ZodString;
|
|
7882
8165
|
title: z.ZodString;
|