@ai-matrx/desktop-protocol 0.21.73 → 0.21.75
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 +37 -0
- package/dist/{chunk-server-MK77KDKS.js → chunk-server-FBLTGJJA.js} +141 -5
- package/dist/chunk-server-FBLTGJJA.js.map +1 -0
- package/dist/client.cjs +104 -3
- 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 +1 -1
- package/dist/index.cjs +141 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +210 -6
- package/dist/index.d.ts +210 -6
- package/dist/index.js +34 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-ClCrYsEt.d.cts → models-GpUhHLRw.d.cts} +425 -2
- package/dist/{models-ClCrYsEt.d.ts → models-GpUhHLRw.d.ts} +425 -2
- package/dist/react.d.cts +111 -0
- package/dist/react.d.ts +111 -0
- package/generated/desktop-protocol.schema.json +541 -2
- package/package.json +2 -2
- package/dist/chunk-server-MK77KDKS.js.map +0 -1
|
@@ -711,7 +711,7 @@ type OpSpec = {
|
|
|
711
711
|
readonly params: z.ZodType;
|
|
712
712
|
readonly result: z.ZodType;
|
|
713
713
|
readonly kind: "unary" | "stream" | "resource";
|
|
714
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55" | "1.56" | "1.64" | "1.70" | "1.72";
|
|
714
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55" | "1.56" | "1.64" | "1.70" | "1.72" | "1.73" | "1.74";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -1679,6 +1679,49 @@ declare const OPS: {
|
|
|
1679
1679
|
readonly since: "1.45";
|
|
1680
1680
|
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
1681
1681
|
};
|
|
1682
|
+
readonly "models.local.list": {
|
|
1683
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1684
|
+
readonly result: z.ZodObject<{
|
|
1685
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1686
|
+
kind: z.ZodEnum<{
|
|
1687
|
+
text: "text";
|
|
1688
|
+
speech: "speech";
|
|
1689
|
+
}>;
|
|
1690
|
+
model: z.ZodString;
|
|
1691
|
+
path: z.ZodString;
|
|
1692
|
+
size_bytes: z.ZodInt;
|
|
1693
|
+
freed_bytes: z.ZodInt;
|
|
1694
|
+
in_place: z.ZodBoolean;
|
|
1695
|
+
source: z.ZodNullable<z.ZodString>;
|
|
1696
|
+
running: z.ZodBoolean;
|
|
1697
|
+
}, z.core.$strict>>;
|
|
1698
|
+
}, z.core.$strict>;
|
|
1699
|
+
readonly kind: "unary";
|
|
1700
|
+
readonly since: "1.74";
|
|
1701
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1702
|
+
};
|
|
1703
|
+
readonly "models.local.remove": {
|
|
1704
|
+
readonly params: z.ZodObject<{
|
|
1705
|
+
kind: z.ZodEnum<{
|
|
1706
|
+
text: "text";
|
|
1707
|
+
speech: "speech";
|
|
1708
|
+
}>;
|
|
1709
|
+
model: z.ZodString;
|
|
1710
|
+
}, z.core.$strict>;
|
|
1711
|
+
readonly result: z.ZodObject<{
|
|
1712
|
+
kind: z.ZodEnum<{
|
|
1713
|
+
text: "text";
|
|
1714
|
+
speech: "speech";
|
|
1715
|
+
}>;
|
|
1716
|
+
model: z.ZodString;
|
|
1717
|
+
freed_bytes: z.ZodInt;
|
|
1718
|
+
stopped: z.ZodBoolean;
|
|
1719
|
+
kept: z.ZodNullable<z.ZodString>;
|
|
1720
|
+
}, z.core.$strict>;
|
|
1721
|
+
readonly kind: "unary";
|
|
1722
|
+
readonly since: "1.74";
|
|
1723
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL"];
|
|
1724
|
+
};
|
|
1682
1725
|
readonly "apps.list": {
|
|
1683
1726
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1684
1727
|
readonly result: z.ZodObject<{
|
|
@@ -2743,6 +2786,10 @@ declare const OPS: {
|
|
|
2743
2786
|
plan: z.ZodOptional<z.ZodString>;
|
|
2744
2787
|
credits: z.ZodOptional<z.ZodString>;
|
|
2745
2788
|
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
2789
|
+
read_source: z.ZodOptional<z.ZodEnum<{
|
|
2790
|
+
app: "app";
|
|
2791
|
+
claude_code: "claude_code";
|
|
2792
|
+
}>>;
|
|
2746
2793
|
}, z.core.$strict>>;
|
|
2747
2794
|
problem: z.ZodOptional<z.ZodString>;
|
|
2748
2795
|
}, z.core.$strict>;
|
|
@@ -2871,6 +2918,23 @@ declare const OPS: {
|
|
|
2871
2918
|
plan: "plan";
|
|
2872
2919
|
email: "email";
|
|
2873
2920
|
}>>;
|
|
2921
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
2922
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2923
|
+
org_name: z.ZodNullable<z.ZodString>;
|
|
2924
|
+
org_role: z.ZodNullable<z.ZodString>;
|
|
2925
|
+
seat_tier: z.ZodNullable<z.ZodString>;
|
|
2926
|
+
rate_limit_tier: z.ZodNullable<z.ZodString>;
|
|
2927
|
+
billing: z.ZodNullable<z.ZodString>;
|
|
2928
|
+
trial_ends_ms: z.ZodNullable<z.ZodInt>;
|
|
2929
|
+
subscription: z.ZodNullable<z.ZodString>;
|
|
2930
|
+
source: z.ZodString;
|
|
2931
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
2932
|
+
}, z.core.$strict>>;
|
|
2933
|
+
read_source: z.ZodOptional<z.ZodEnum<{
|
|
2934
|
+
app: "app";
|
|
2935
|
+
claude_code: "claude_code";
|
|
2936
|
+
}>>;
|
|
2937
|
+
session_cost_usd: z.ZodOptional<z.ZodNumber>;
|
|
2874
2938
|
}, z.core.$strict>>;
|
|
2875
2939
|
problem: z.ZodOptional<z.ZodString>;
|
|
2876
2940
|
as_of_ms: z.ZodOptional<z.ZodInt>;
|
|
@@ -2881,6 +2945,53 @@ declare const OPS: {
|
|
|
2881
2945
|
readonly since: "1.47";
|
|
2882
2946
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2883
2947
|
};
|
|
2948
|
+
readonly "apps.setup.list": {
|
|
2949
|
+
readonly params: z.ZodObject<{
|
|
2950
|
+
app_key: z.ZodOptional<z.ZodString>;
|
|
2951
|
+
}, z.core.$strict>;
|
|
2952
|
+
readonly result: z.ZodObject<{
|
|
2953
|
+
setups: z.ZodArray<z.ZodObject<{
|
|
2954
|
+
app_key: z.ZodString;
|
|
2955
|
+
instance: z.ZodString;
|
|
2956
|
+
where: z.ZodString;
|
|
2957
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
2958
|
+
name: z.ZodString;
|
|
2959
|
+
value: z.ZodString;
|
|
2960
|
+
}, z.core.$strict>>;
|
|
2961
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2962
|
+
kind: z.ZodEnum<{
|
|
2963
|
+
extension: "extension";
|
|
2964
|
+
model: "model";
|
|
2965
|
+
plugin: "plugin";
|
|
2966
|
+
marketplace: "marketplace";
|
|
2967
|
+
}>;
|
|
2968
|
+
name: z.ZodString;
|
|
2969
|
+
version: z.ZodNullable<z.ZodString>;
|
|
2970
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
2971
|
+
}, z.core.$strict>>;
|
|
2972
|
+
problems: z.ZodArray<z.ZodString>;
|
|
2973
|
+
}, z.core.$strict>>;
|
|
2974
|
+
mcp: z.ZodArray<z.ZodObject<{
|
|
2975
|
+
app_key: z.ZodString;
|
|
2976
|
+
instance: z.ZodString;
|
|
2977
|
+
name: z.ZodString;
|
|
2978
|
+
transport: z.ZodEnum<{
|
|
2979
|
+
unknown: "unknown";
|
|
2980
|
+
stdio: "stdio";
|
|
2981
|
+
http: "http";
|
|
2982
|
+
sse: "sse";
|
|
2983
|
+
}>;
|
|
2984
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2985
|
+
scope: z.ZodString;
|
|
2986
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
2987
|
+
where: z.ZodString;
|
|
2988
|
+
}, z.core.$strict>>;
|
|
2989
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
2990
|
+
}, z.core.$strict>;
|
|
2991
|
+
readonly kind: "unary";
|
|
2992
|
+
readonly since: "1.73";
|
|
2993
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2994
|
+
};
|
|
2884
2995
|
readonly "apps.windows.set_account": {
|
|
2885
2996
|
readonly params: z.ZodObject<{
|
|
2886
2997
|
app_key: z.ZodString;
|
|
@@ -9208,6 +9319,43 @@ declare const SERVICES: {
|
|
|
9208
9319
|
cancelled: z.ZodBoolean;
|
|
9209
9320
|
}, z.core.$strict>;
|
|
9210
9321
|
};
|
|
9322
|
+
readonly "ml.local_list": {
|
|
9323
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
9324
|
+
readonly result: z.ZodObject<{
|
|
9325
|
+
models: z.ZodArray<z.ZodObject<{
|
|
9326
|
+
kind: z.ZodEnum<{
|
|
9327
|
+
text: "text";
|
|
9328
|
+
speech: "speech";
|
|
9329
|
+
}>;
|
|
9330
|
+
model: z.ZodString;
|
|
9331
|
+
path: z.ZodString;
|
|
9332
|
+
size_bytes: z.ZodInt;
|
|
9333
|
+
freed_bytes: z.ZodInt;
|
|
9334
|
+
in_place: z.ZodBoolean;
|
|
9335
|
+
source: z.ZodNullable<z.ZodString>;
|
|
9336
|
+
running: z.ZodBoolean;
|
|
9337
|
+
}, z.core.$strict>>;
|
|
9338
|
+
}, z.core.$strict>;
|
|
9339
|
+
};
|
|
9340
|
+
readonly "ml.local_remove": {
|
|
9341
|
+
readonly params: z.ZodObject<{
|
|
9342
|
+
kind: z.ZodEnum<{
|
|
9343
|
+
text: "text";
|
|
9344
|
+
speech: "speech";
|
|
9345
|
+
}>;
|
|
9346
|
+
model: z.ZodString;
|
|
9347
|
+
}, z.core.$strict>;
|
|
9348
|
+
readonly result: z.ZodObject<{
|
|
9349
|
+
kind: z.ZodEnum<{
|
|
9350
|
+
text: "text";
|
|
9351
|
+
speech: "speech";
|
|
9352
|
+
}>;
|
|
9353
|
+
model: z.ZodString;
|
|
9354
|
+
freed_bytes: z.ZodInt;
|
|
9355
|
+
stopped: z.ZodBoolean;
|
|
9356
|
+
kept: z.ZodNullable<z.ZodString>;
|
|
9357
|
+
}, z.core.$strict>;
|
|
9358
|
+
};
|
|
9211
9359
|
readonly "ml.catalog_set": {
|
|
9212
9360
|
readonly params: z.ZodObject<{
|
|
9213
9361
|
text: z.ZodArray<z.ZodObject<{
|
|
@@ -9755,6 +9903,23 @@ declare const NAMED_SCHEMAS: {
|
|
|
9755
9903
|
plan: "plan";
|
|
9756
9904
|
email: "email";
|
|
9757
9905
|
}>>;
|
|
9906
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
9907
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9908
|
+
org_name: z.ZodNullable<z.ZodString>;
|
|
9909
|
+
org_role: z.ZodNullable<z.ZodString>;
|
|
9910
|
+
seat_tier: z.ZodNullable<z.ZodString>;
|
|
9911
|
+
rate_limit_tier: z.ZodNullable<z.ZodString>;
|
|
9912
|
+
billing: z.ZodNullable<z.ZodString>;
|
|
9913
|
+
trial_ends_ms: z.ZodNullable<z.ZodInt>;
|
|
9914
|
+
subscription: z.ZodNullable<z.ZodString>;
|
|
9915
|
+
source: z.ZodString;
|
|
9916
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
9917
|
+
}, z.core.$strict>>;
|
|
9918
|
+
read_source: z.ZodOptional<z.ZodEnum<{
|
|
9919
|
+
app: "app";
|
|
9920
|
+
claude_code: "claude_code";
|
|
9921
|
+
}>>;
|
|
9922
|
+
session_cost_usd: z.ZodOptional<z.ZodNumber>;
|
|
9758
9923
|
}, z.core.$strict>;
|
|
9759
9924
|
readonly AppsInstancesListParams: z.ZodObject<{
|
|
9760
9925
|
app_key: z.ZodString;
|
|
@@ -9847,12 +10012,150 @@ declare const NAMED_SCHEMAS: {
|
|
|
9847
10012
|
plan: "plan";
|
|
9848
10013
|
email: "email";
|
|
9849
10014
|
}>>;
|
|
10015
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
10016
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10017
|
+
org_name: z.ZodNullable<z.ZodString>;
|
|
10018
|
+
org_role: z.ZodNullable<z.ZodString>;
|
|
10019
|
+
seat_tier: z.ZodNullable<z.ZodString>;
|
|
10020
|
+
rate_limit_tier: z.ZodNullable<z.ZodString>;
|
|
10021
|
+
billing: z.ZodNullable<z.ZodString>;
|
|
10022
|
+
trial_ends_ms: z.ZodNullable<z.ZodInt>;
|
|
10023
|
+
subscription: z.ZodNullable<z.ZodString>;
|
|
10024
|
+
source: z.ZodString;
|
|
10025
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
10026
|
+
}, z.core.$strict>>;
|
|
10027
|
+
read_source: z.ZodOptional<z.ZodEnum<{
|
|
10028
|
+
app: "app";
|
|
10029
|
+
claude_code: "claude_code";
|
|
10030
|
+
}>>;
|
|
10031
|
+
session_cost_usd: z.ZodOptional<z.ZodNumber>;
|
|
9850
10032
|
}, z.core.$strict>>;
|
|
9851
10033
|
problem: z.ZodOptional<z.ZodString>;
|
|
9852
10034
|
as_of_ms: z.ZodOptional<z.ZodInt>;
|
|
9853
10035
|
refreshing: z.ZodOptional<z.ZodBoolean>;
|
|
9854
10036
|
shared_problem: z.ZodOptional<z.ZodString>;
|
|
9855
10037
|
}, z.core.$strict>;
|
|
10038
|
+
readonly AccountReadSource: z.ZodEnum<{
|
|
10039
|
+
app: "app";
|
|
10040
|
+
claude_code: "claude_code";
|
|
10041
|
+
}>;
|
|
10042
|
+
readonly AccountProfile: z.ZodObject<{
|
|
10043
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10044
|
+
org_name: z.ZodNullable<z.ZodString>;
|
|
10045
|
+
org_role: z.ZodNullable<z.ZodString>;
|
|
10046
|
+
seat_tier: z.ZodNullable<z.ZodString>;
|
|
10047
|
+
rate_limit_tier: z.ZodNullable<z.ZodString>;
|
|
10048
|
+
billing: z.ZodNullable<z.ZodString>;
|
|
10049
|
+
trial_ends_ms: z.ZodNullable<z.ZodInt>;
|
|
10050
|
+
subscription: z.ZodNullable<z.ZodString>;
|
|
10051
|
+
source: z.ZodString;
|
|
10052
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
10053
|
+
}, z.core.$strict>;
|
|
10054
|
+
readonly McpTransport: z.ZodEnum<{
|
|
10055
|
+
unknown: "unknown";
|
|
10056
|
+
stdio: "stdio";
|
|
10057
|
+
http: "http";
|
|
10058
|
+
sse: "sse";
|
|
10059
|
+
}>;
|
|
10060
|
+
readonly McpServerRow: z.ZodObject<{
|
|
10061
|
+
app_key: z.ZodString;
|
|
10062
|
+
instance: z.ZodString;
|
|
10063
|
+
name: z.ZodString;
|
|
10064
|
+
transport: z.ZodEnum<{
|
|
10065
|
+
unknown: "unknown";
|
|
10066
|
+
stdio: "stdio";
|
|
10067
|
+
http: "http";
|
|
10068
|
+
sse: "sse";
|
|
10069
|
+
}>;
|
|
10070
|
+
target: z.ZodNullable<z.ZodString>;
|
|
10071
|
+
scope: z.ZodString;
|
|
10072
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
10073
|
+
where: z.ZodString;
|
|
10074
|
+
}, z.core.$strict>;
|
|
10075
|
+
readonly SetupFact: z.ZodObject<{
|
|
10076
|
+
name: z.ZodString;
|
|
10077
|
+
value: z.ZodString;
|
|
10078
|
+
}, z.core.$strict>;
|
|
10079
|
+
readonly SetupItemKind: z.ZodEnum<{
|
|
10080
|
+
extension: "extension";
|
|
10081
|
+
model: "model";
|
|
10082
|
+
plugin: "plugin";
|
|
10083
|
+
marketplace: "marketplace";
|
|
10084
|
+
}>;
|
|
10085
|
+
readonly SetupItem: z.ZodObject<{
|
|
10086
|
+
kind: z.ZodEnum<{
|
|
10087
|
+
extension: "extension";
|
|
10088
|
+
model: "model";
|
|
10089
|
+
plugin: "plugin";
|
|
10090
|
+
marketplace: "marketplace";
|
|
10091
|
+
}>;
|
|
10092
|
+
name: z.ZodString;
|
|
10093
|
+
version: z.ZodNullable<z.ZodString>;
|
|
10094
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
10095
|
+
}, z.core.$strict>;
|
|
10096
|
+
readonly AppSetup: z.ZodObject<{
|
|
10097
|
+
app_key: z.ZodString;
|
|
10098
|
+
instance: z.ZodString;
|
|
10099
|
+
where: z.ZodString;
|
|
10100
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
10101
|
+
name: z.ZodString;
|
|
10102
|
+
value: z.ZodString;
|
|
10103
|
+
}, z.core.$strict>>;
|
|
10104
|
+
items: z.ZodArray<z.ZodObject<{
|
|
10105
|
+
kind: z.ZodEnum<{
|
|
10106
|
+
extension: "extension";
|
|
10107
|
+
model: "model";
|
|
10108
|
+
plugin: "plugin";
|
|
10109
|
+
marketplace: "marketplace";
|
|
10110
|
+
}>;
|
|
10111
|
+
name: z.ZodString;
|
|
10112
|
+
version: z.ZodNullable<z.ZodString>;
|
|
10113
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
10114
|
+
}, z.core.$strict>>;
|
|
10115
|
+
problems: z.ZodArray<z.ZodString>;
|
|
10116
|
+
}, z.core.$strict>;
|
|
10117
|
+
readonly AppsSetupListParams: z.ZodObject<{
|
|
10118
|
+
app_key: z.ZodOptional<z.ZodString>;
|
|
10119
|
+
}, z.core.$strict>;
|
|
10120
|
+
readonly AppsSetupListResult: z.ZodObject<{
|
|
10121
|
+
setups: z.ZodArray<z.ZodObject<{
|
|
10122
|
+
app_key: z.ZodString;
|
|
10123
|
+
instance: z.ZodString;
|
|
10124
|
+
where: z.ZodString;
|
|
10125
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
10126
|
+
name: z.ZodString;
|
|
10127
|
+
value: z.ZodString;
|
|
10128
|
+
}, z.core.$strict>>;
|
|
10129
|
+
items: z.ZodArray<z.ZodObject<{
|
|
10130
|
+
kind: z.ZodEnum<{
|
|
10131
|
+
extension: "extension";
|
|
10132
|
+
model: "model";
|
|
10133
|
+
plugin: "plugin";
|
|
10134
|
+
marketplace: "marketplace";
|
|
10135
|
+
}>;
|
|
10136
|
+
name: z.ZodString;
|
|
10137
|
+
version: z.ZodNullable<z.ZodString>;
|
|
10138
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
10139
|
+
}, z.core.$strict>>;
|
|
10140
|
+
problems: z.ZodArray<z.ZodString>;
|
|
10141
|
+
}, z.core.$strict>>;
|
|
10142
|
+
mcp: z.ZodArray<z.ZodObject<{
|
|
10143
|
+
app_key: z.ZodString;
|
|
10144
|
+
instance: z.ZodString;
|
|
10145
|
+
name: z.ZodString;
|
|
10146
|
+
transport: z.ZodEnum<{
|
|
10147
|
+
unknown: "unknown";
|
|
10148
|
+
stdio: "stdio";
|
|
10149
|
+
http: "http";
|
|
10150
|
+
sse: "sse";
|
|
10151
|
+
}>;
|
|
10152
|
+
target: z.ZodNullable<z.ZodString>;
|
|
10153
|
+
scope: z.ZodString;
|
|
10154
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
10155
|
+
where: z.ZodString;
|
|
10156
|
+
}, z.core.$strict>>;
|
|
10157
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
10158
|
+
}, z.core.$strict>;
|
|
9856
10159
|
readonly ProtocolVersion: z.ZodString;
|
|
9857
10160
|
readonly RequestId: z.ZodString;
|
|
9858
10161
|
readonly ResourceId: z.ZodString;
|
|
@@ -11525,6 +11828,56 @@ declare const NAMED_SCHEMAS: {
|
|
|
11525
11828
|
readonly ModelsDownloadsCancelResult: z.ZodObject<{
|
|
11526
11829
|
cancelled: z.ZodBoolean;
|
|
11527
11830
|
}, z.core.$strict>;
|
|
11831
|
+
readonly LocalModelKind: z.ZodEnum<{
|
|
11832
|
+
text: "text";
|
|
11833
|
+
speech: "speech";
|
|
11834
|
+
}>;
|
|
11835
|
+
readonly LocalModelRow: z.ZodObject<{
|
|
11836
|
+
kind: z.ZodEnum<{
|
|
11837
|
+
text: "text";
|
|
11838
|
+
speech: "speech";
|
|
11839
|
+
}>;
|
|
11840
|
+
model: z.ZodString;
|
|
11841
|
+
path: z.ZodString;
|
|
11842
|
+
size_bytes: z.ZodInt;
|
|
11843
|
+
freed_bytes: z.ZodInt;
|
|
11844
|
+
in_place: z.ZodBoolean;
|
|
11845
|
+
source: z.ZodNullable<z.ZodString>;
|
|
11846
|
+
running: z.ZodBoolean;
|
|
11847
|
+
}, z.core.$strict>;
|
|
11848
|
+
readonly ModelsLocalListParams: z.ZodObject<{}, z.core.$strict>;
|
|
11849
|
+
readonly ModelsLocalListResult: z.ZodObject<{
|
|
11850
|
+
models: z.ZodArray<z.ZodObject<{
|
|
11851
|
+
kind: z.ZodEnum<{
|
|
11852
|
+
text: "text";
|
|
11853
|
+
speech: "speech";
|
|
11854
|
+
}>;
|
|
11855
|
+
model: z.ZodString;
|
|
11856
|
+
path: z.ZodString;
|
|
11857
|
+
size_bytes: z.ZodInt;
|
|
11858
|
+
freed_bytes: z.ZodInt;
|
|
11859
|
+
in_place: z.ZodBoolean;
|
|
11860
|
+
source: z.ZodNullable<z.ZodString>;
|
|
11861
|
+
running: z.ZodBoolean;
|
|
11862
|
+
}, z.core.$strict>>;
|
|
11863
|
+
}, z.core.$strict>;
|
|
11864
|
+
readonly ModelsLocalRemoveParams: z.ZodObject<{
|
|
11865
|
+
kind: z.ZodEnum<{
|
|
11866
|
+
text: "text";
|
|
11867
|
+
speech: "speech";
|
|
11868
|
+
}>;
|
|
11869
|
+
model: z.ZodString;
|
|
11870
|
+
}, z.core.$strict>;
|
|
11871
|
+
readonly ModelsLocalRemoveResult: z.ZodObject<{
|
|
11872
|
+
kind: z.ZodEnum<{
|
|
11873
|
+
text: "text";
|
|
11874
|
+
speech: "speech";
|
|
11875
|
+
}>;
|
|
11876
|
+
model: z.ZodString;
|
|
11877
|
+
freed_bytes: z.ZodInt;
|
|
11878
|
+
stopped: z.ZodBoolean;
|
|
11879
|
+
kept: z.ZodNullable<z.ZodString>;
|
|
11880
|
+
}, z.core.$strict>;
|
|
11528
11881
|
readonly CodingServiceCredentials: z.ZodObject<{
|
|
11529
11882
|
access_token: z.ZodString;
|
|
11530
11883
|
user_id: z.ZodString;
|
|
@@ -16865,6 +17218,10 @@ declare const NAMED_SCHEMAS: {
|
|
|
16865
17218
|
plan: z.ZodOptional<z.ZodString>;
|
|
16866
17219
|
credits: z.ZodOptional<z.ZodString>;
|
|
16867
17220
|
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
17221
|
+
read_source: z.ZodOptional<z.ZodEnum<{
|
|
17222
|
+
app: "app";
|
|
17223
|
+
claude_code: "claude_code";
|
|
17224
|
+
}>>;
|
|
16868
17225
|
}, z.core.$strict>;
|
|
16869
17226
|
readonly AccountReset: z.ZodObject<{
|
|
16870
17227
|
window: z.ZodString;
|
|
@@ -16932,6 +17289,10 @@ declare const NAMED_SCHEMAS: {
|
|
|
16932
17289
|
plan: z.ZodOptional<z.ZodString>;
|
|
16933
17290
|
credits: z.ZodOptional<z.ZodString>;
|
|
16934
17291
|
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
17292
|
+
read_source: z.ZodOptional<z.ZodEnum<{
|
|
17293
|
+
app: "app";
|
|
17294
|
+
claude_code: "claude_code";
|
|
17295
|
+
}>>;
|
|
16935
17296
|
}, z.core.$strict>>;
|
|
16936
17297
|
problem: z.ZodOptional<z.ZodString>;
|
|
16937
17298
|
}, z.core.$strict>;
|
|
@@ -21014,6 +21375,68 @@ declare const ModelsDownloadsCancelResult: z.ZodObject<{
|
|
|
21014
21375
|
cancelled: z.ZodBoolean;
|
|
21015
21376
|
}, z.core.$strict>;
|
|
21016
21377
|
type ModelsDownloadsCancelResult = z.output<typeof ModelsDownloadsCancelResult>;
|
|
21378
|
+
/** Which of the service's stores holds it: language models (`llm/`) or speech models (`models/`). */
|
|
21379
|
+
declare const LocalModelKind: z.ZodEnum<{
|
|
21380
|
+
text: "text";
|
|
21381
|
+
speech: "speech";
|
|
21382
|
+
}>;
|
|
21383
|
+
type LocalModelKind = z.output<typeof LocalModelKind>;
|
|
21384
|
+
declare const LocalModelRow: z.ZodObject<{
|
|
21385
|
+
kind: z.ZodEnum<{
|
|
21386
|
+
text: "text";
|
|
21387
|
+
speech: "speech";
|
|
21388
|
+
}>;
|
|
21389
|
+
model: z.ZodString;
|
|
21390
|
+
path: z.ZodString;
|
|
21391
|
+
size_bytes: z.ZodInt;
|
|
21392
|
+
freed_bytes: z.ZodInt;
|
|
21393
|
+
in_place: z.ZodBoolean;
|
|
21394
|
+
source: z.ZodNullable<z.ZodString>;
|
|
21395
|
+
running: z.ZodBoolean;
|
|
21396
|
+
}, z.core.$strict>;
|
|
21397
|
+
type LocalModelRow = z.output<typeof LocalModelRow>;
|
|
21398
|
+
declare const ModelsLocalListParams: z.ZodObject<{}, z.core.$strict>;
|
|
21399
|
+
type ModelsLocalListParams = z.output<typeof ModelsLocalListParams>;
|
|
21400
|
+
declare const ModelsLocalListResult: z.ZodObject<{
|
|
21401
|
+
models: z.ZodArray<z.ZodObject<{
|
|
21402
|
+
kind: z.ZodEnum<{
|
|
21403
|
+
text: "text";
|
|
21404
|
+
speech: "speech";
|
|
21405
|
+
}>;
|
|
21406
|
+
model: z.ZodString;
|
|
21407
|
+
path: z.ZodString;
|
|
21408
|
+
size_bytes: z.ZodInt;
|
|
21409
|
+
freed_bytes: z.ZodInt;
|
|
21410
|
+
in_place: z.ZodBoolean;
|
|
21411
|
+
source: z.ZodNullable<z.ZodString>;
|
|
21412
|
+
running: z.ZodBoolean;
|
|
21413
|
+
}, z.core.$strict>>;
|
|
21414
|
+
}, z.core.$strict>;
|
|
21415
|
+
type ModelsLocalListResult = z.output<typeof ModelsLocalListResult>;
|
|
21416
|
+
/**
|
|
21417
|
+
* Remove one model from this computer. A file only Matrx 2 holds is deleted; a file used in place (a
|
|
21418
|
+
* link to the person's own file) is only unlinked: the person's file is never deleted. The running
|
|
21419
|
+
* model is stopped first. RESOURCE_BUSY while it downloads; NOT_FOUND when it is not here.
|
|
21420
|
+
*/
|
|
21421
|
+
declare const ModelsLocalRemoveParams: z.ZodObject<{
|
|
21422
|
+
kind: z.ZodEnum<{
|
|
21423
|
+
text: "text";
|
|
21424
|
+
speech: "speech";
|
|
21425
|
+
}>;
|
|
21426
|
+
model: z.ZodString;
|
|
21427
|
+
}, z.core.$strict>;
|
|
21428
|
+
type ModelsLocalRemoveParams = z.output<typeof ModelsLocalRemoveParams>;
|
|
21429
|
+
declare const ModelsLocalRemoveResult: z.ZodObject<{
|
|
21430
|
+
kind: z.ZodEnum<{
|
|
21431
|
+
text: "text";
|
|
21432
|
+
speech: "speech";
|
|
21433
|
+
}>;
|
|
21434
|
+
model: z.ZodString;
|
|
21435
|
+
freed_bytes: z.ZodInt;
|
|
21436
|
+
stopped: z.ZodBoolean;
|
|
21437
|
+
kept: z.ZodNullable<z.ZodString>;
|
|
21438
|
+
}, z.core.$strict>;
|
|
21439
|
+
type ModelsLocalRemoveResult = z.output<typeof ModelsLocalRemoveResult>;
|
|
21017
21440
|
/** The supervisor's view of the `ml` service process. */
|
|
21018
21441
|
declare const MlServiceState: z.ZodEnum<{
|
|
21019
21442
|
failed: "failed";
|
|
@@ -21040,4 +21463,4 @@ type MlServiceStatus = z.output<typeof MlServiceStatus>;
|
|
|
21040
21463
|
declare const ModelsStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
21041
21464
|
type ModelsStatusParams = z.output<typeof ModelsStatusParams>;
|
|
21042
21465
|
|
|
21043
|
-
export {
|
|
21466
|
+
export { MlStatusParams as $, type ErrorReasonName as A, BEARER_PREFIX as B, type CloseOutcome as C, DesktopProtocolError as D, EndReason as E, EventMsg as F, type EventName as G, FsPatchEditFailure as H, HelloMsg as I, LlamaServerBuild as J, LlmRunning as K, Limits as L, ModelsTranscribeResult as M, LlmServerState as N, type OpName as O, LocalModelKind as P, LocalModelRow as Q, MlCatalogSetParams as R, StreamMeta as S, TranscriptionModelId as T, MlCatalogSetResult as U, MlInstallPhase as V, Welcome as W, MlInstallProgress as X, MlRuntimeState as Y, MlServiceState as Z, MlServiceStatus as _, type OpParams as a, MlStatusResult as a0, ModelKey as a1, ModelsDownloadsCancelParams as a2, ModelsDownloadsCancelResult as a3, ModelsDownloadsListParams as a4, ModelsDownloadsListResult as a5, ModelsInstallParams as a6, ModelsInstallResult as a7, ModelsLlmInstallParams as a8, ModelsLlmInstallResult as a9, type ServiceId as aA, type ServiceOpName as aB, type ServiceOpSpec as aC, type ServiceSpec as aD, Sha256Hex as aE, StreamMsg as aF, TextModelId as aG, TextModelInfo as aH, TranscriptSegment as aI, TranscriptionModelInfo as aJ, UnusableTextModel as aK, closeRule as aL, isTerminalClose as aM, ModelsLlmStartParams as aa, ModelsLlmStartResult as ab, ModelsLlmStatusParams as ac, ModelsLlmStatusResult as ad, ModelsLlmStopParams as ae, ModelsLlmStopResult as af, ModelsLocalListParams as ag, ModelsLocalListResult as ah, ModelsLocalRemoveParams as ai, ModelsLocalRemoveResult as aj, ModelsProgressEvent as ak, ModelsStatusParams as al, ModelsStatusResult as am, ModelsTranscribeParams as an, NAMED_SCHEMAS as ao, type NamedSchemaId as ap, OpDescriptor as aq, type OpSpec as ar, PING_TEXT as as, PONG_TEXT as at, ProtocolErrorBody as au, RelayMsg as av, RequestMsg as aw, ResponseMsg as ax, SERVICES as ay, SUBPROTOCOL as az, type OpResult as b, OPS as c, EVENTS as d, ClientType as e, MlProgress as f, CLOSE_RULES as g, CancelMsg as h, isDesktopProtocolError as i, CatalogFile as j, CatalogModelEntry as k, ClientToCoreMsg as l, type CloseAction as m, CloseCode as n, CloseCodeValue as o, type CloseRule as p, CoreToClientMsg as q, CreditMsg as r, DownloadKind as s, DownloadRow as t, EndMsg as u, ErrorCode as v, type ErrorCodeName as w, type ErrorData as x, ErrorMsg as y, ErrorReason as z };
|