@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
package/dist/react.d.ts
CHANGED
|
@@ -1115,6 +1115,49 @@ declare const OPS: {
|
|
|
1115
1115
|
readonly since: "1.45";
|
|
1116
1116
|
readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
|
|
1117
1117
|
};
|
|
1118
|
+
readonly "models.local.list": {
|
|
1119
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1120
|
+
readonly result: z.ZodObject<{
|
|
1121
|
+
models: z.ZodArray<z.ZodObject<{
|
|
1122
|
+
kind: z.ZodEnum<{
|
|
1123
|
+
text: "text";
|
|
1124
|
+
speech: "speech";
|
|
1125
|
+
}>;
|
|
1126
|
+
model: z.ZodString;
|
|
1127
|
+
path: z.ZodString;
|
|
1128
|
+
size_bytes: z.ZodInt;
|
|
1129
|
+
freed_bytes: z.ZodInt;
|
|
1130
|
+
in_place: z.ZodBoolean;
|
|
1131
|
+
source: z.ZodNullable<z.ZodString>;
|
|
1132
|
+
running: z.ZodBoolean;
|
|
1133
|
+
}, z.core.$strict>>;
|
|
1134
|
+
}, z.core.$strict>;
|
|
1135
|
+
readonly kind: "unary";
|
|
1136
|
+
readonly since: "1.74";
|
|
1137
|
+
readonly errors: readonly ["INTERNAL"];
|
|
1138
|
+
};
|
|
1139
|
+
readonly "models.local.remove": {
|
|
1140
|
+
readonly params: z.ZodObject<{
|
|
1141
|
+
kind: z.ZodEnum<{
|
|
1142
|
+
text: "text";
|
|
1143
|
+
speech: "speech";
|
|
1144
|
+
}>;
|
|
1145
|
+
model: z.ZodString;
|
|
1146
|
+
}, z.core.$strict>;
|
|
1147
|
+
readonly result: z.ZodObject<{
|
|
1148
|
+
kind: z.ZodEnum<{
|
|
1149
|
+
text: "text";
|
|
1150
|
+
speech: "speech";
|
|
1151
|
+
}>;
|
|
1152
|
+
model: z.ZodString;
|
|
1153
|
+
freed_bytes: z.ZodInt;
|
|
1154
|
+
stopped: z.ZodBoolean;
|
|
1155
|
+
kept: z.ZodNullable<z.ZodString>;
|
|
1156
|
+
}, z.core.$strict>;
|
|
1157
|
+
readonly kind: "unary";
|
|
1158
|
+
readonly since: "1.74";
|
|
1159
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL"];
|
|
1160
|
+
};
|
|
1118
1161
|
readonly "apps.list": {
|
|
1119
1162
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1120
1163
|
readonly result: z.ZodObject<{
|
|
@@ -2179,6 +2222,10 @@ declare const OPS: {
|
|
|
2179
2222
|
plan: z.ZodOptional<z.ZodString>;
|
|
2180
2223
|
credits: z.ZodOptional<z.ZodString>;
|
|
2181
2224
|
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
2225
|
+
read_source: z.ZodOptional<z.ZodEnum<{
|
|
2226
|
+
app: "app";
|
|
2227
|
+
claude_code: "claude_code";
|
|
2228
|
+
}>>;
|
|
2182
2229
|
}, z.core.$strict>>;
|
|
2183
2230
|
problem: z.ZodOptional<z.ZodString>;
|
|
2184
2231
|
}, z.core.$strict>;
|
|
@@ -2307,6 +2354,23 @@ declare const OPS: {
|
|
|
2307
2354
|
plan: "plan";
|
|
2308
2355
|
email: "email";
|
|
2309
2356
|
}>>;
|
|
2357
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
2358
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2359
|
+
org_name: z.ZodNullable<z.ZodString>;
|
|
2360
|
+
org_role: z.ZodNullable<z.ZodString>;
|
|
2361
|
+
seat_tier: z.ZodNullable<z.ZodString>;
|
|
2362
|
+
rate_limit_tier: z.ZodNullable<z.ZodString>;
|
|
2363
|
+
billing: z.ZodNullable<z.ZodString>;
|
|
2364
|
+
trial_ends_ms: z.ZodNullable<z.ZodInt>;
|
|
2365
|
+
subscription: z.ZodNullable<z.ZodString>;
|
|
2366
|
+
source: z.ZodString;
|
|
2367
|
+
as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
2368
|
+
}, z.core.$strict>>;
|
|
2369
|
+
read_source: z.ZodOptional<z.ZodEnum<{
|
|
2370
|
+
app: "app";
|
|
2371
|
+
claude_code: "claude_code";
|
|
2372
|
+
}>>;
|
|
2373
|
+
session_cost_usd: z.ZodOptional<z.ZodNumber>;
|
|
2310
2374
|
}, z.core.$strict>>;
|
|
2311
2375
|
problem: z.ZodOptional<z.ZodString>;
|
|
2312
2376
|
as_of_ms: z.ZodOptional<z.ZodInt>;
|
|
@@ -2317,6 +2381,53 @@ declare const OPS: {
|
|
|
2317
2381
|
readonly since: "1.47";
|
|
2318
2382
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2319
2383
|
};
|
|
2384
|
+
readonly "apps.setup.list": {
|
|
2385
|
+
readonly params: z.ZodObject<{
|
|
2386
|
+
app_key: z.ZodOptional<z.ZodString>;
|
|
2387
|
+
}, z.core.$strict>;
|
|
2388
|
+
readonly result: z.ZodObject<{
|
|
2389
|
+
setups: z.ZodArray<z.ZodObject<{
|
|
2390
|
+
app_key: z.ZodString;
|
|
2391
|
+
instance: z.ZodString;
|
|
2392
|
+
where: z.ZodString;
|
|
2393
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
2394
|
+
name: z.ZodString;
|
|
2395
|
+
value: z.ZodString;
|
|
2396
|
+
}, z.core.$strict>>;
|
|
2397
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2398
|
+
kind: z.ZodEnum<{
|
|
2399
|
+
model: "model";
|
|
2400
|
+
extension: "extension";
|
|
2401
|
+
plugin: "plugin";
|
|
2402
|
+
marketplace: "marketplace";
|
|
2403
|
+
}>;
|
|
2404
|
+
name: z.ZodString;
|
|
2405
|
+
version: z.ZodNullable<z.ZodString>;
|
|
2406
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
2407
|
+
}, z.core.$strict>>;
|
|
2408
|
+
problems: z.ZodArray<z.ZodString>;
|
|
2409
|
+
}, z.core.$strict>>;
|
|
2410
|
+
mcp: z.ZodArray<z.ZodObject<{
|
|
2411
|
+
app_key: z.ZodString;
|
|
2412
|
+
instance: z.ZodString;
|
|
2413
|
+
name: z.ZodString;
|
|
2414
|
+
transport: z.ZodEnum<{
|
|
2415
|
+
unknown: "unknown";
|
|
2416
|
+
stdio: "stdio";
|
|
2417
|
+
http: "http";
|
|
2418
|
+
sse: "sse";
|
|
2419
|
+
}>;
|
|
2420
|
+
target: z.ZodNullable<z.ZodString>;
|
|
2421
|
+
scope: z.ZodString;
|
|
2422
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
2423
|
+
where: z.ZodString;
|
|
2424
|
+
}, z.core.$strict>>;
|
|
2425
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
2426
|
+
}, z.core.$strict>;
|
|
2427
|
+
readonly kind: "unary";
|
|
2428
|
+
readonly since: "1.73";
|
|
2429
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2430
|
+
};
|
|
2320
2431
|
readonly "apps.windows.set_account": {
|
|
2321
2432
|
readonly params: z.ZodObject<{
|
|
2322
2433
|
app_key: z.ZodString;
|