@ai-matrx/desktop-protocol 0.21.50 → 0.21.51
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 +9 -1
- package/dist/client.cjs +23 -1
- 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 +23 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +41 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +175 -6
- package/dist/index.d.ts +175 -6
- package/dist/index.js +41 -3
- package/dist/index.js.map +1 -1
- package/dist/{models-CqgbnWpk.d.cts → models-pdHTZ3YT.d.cts} +305 -1
- package/dist/{models-CqgbnWpk.d.ts → models-pdHTZ3YT.d.ts} +305 -1
- package/dist/react.d.cts +159 -0
- package/dist/react.d.ts +159 -0
- package/generated/desktop-protocol.schema.json +233 -1
- package/package.json +2 -2
|
@@ -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";
|
|
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";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -2580,6 +2580,52 @@ declare const OPS: {
|
|
|
2580
2580
|
readonly since: "1.47";
|
|
2581
2581
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2582
2582
|
};
|
|
2583
|
+
readonly "apps.windows.set_account": {
|
|
2584
|
+
readonly params: z.ZodObject<{
|
|
2585
|
+
app_key: z.ZodString;
|
|
2586
|
+
window: z.ZodString;
|
|
2587
|
+
email: z.ZodString;
|
|
2588
|
+
}, z.core.$strict>;
|
|
2589
|
+
readonly result: z.ZodObject<{
|
|
2590
|
+
message: z.ZodString;
|
|
2591
|
+
}, z.core.$strict>;
|
|
2592
|
+
readonly kind: "unary";
|
|
2593
|
+
readonly since: "1.56";
|
|
2594
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2595
|
+
};
|
|
2596
|
+
readonly "apps.windows.forget": {
|
|
2597
|
+
readonly params: z.ZodObject<{
|
|
2598
|
+
app_key: z.ZodString;
|
|
2599
|
+
window: z.ZodString;
|
|
2600
|
+
}, z.core.$strict>;
|
|
2601
|
+
readonly result: z.ZodObject<{
|
|
2602
|
+
message: z.ZodString;
|
|
2603
|
+
}, z.core.$strict>;
|
|
2604
|
+
readonly kind: "unary";
|
|
2605
|
+
readonly since: "1.56";
|
|
2606
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2607
|
+
};
|
|
2608
|
+
readonly "apps.chats.probe": {
|
|
2609
|
+
readonly params: z.ZodObject<{
|
|
2610
|
+
app_key: z.ZodString;
|
|
2611
|
+
chat_id: z.ZodString;
|
|
2612
|
+
}, z.core.$strict>;
|
|
2613
|
+
readonly result: z.ZodObject<{
|
|
2614
|
+
app_key: z.ZodString;
|
|
2615
|
+
chat_id: z.ZodString;
|
|
2616
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
2617
|
+
source: z.ZodString;
|
|
2618
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
2619
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
2620
|
+
key: z.ZodString;
|
|
2621
|
+
value: z.ZodString;
|
|
2622
|
+
}, z.core.$strict>>;
|
|
2623
|
+
}, z.core.$strict>>;
|
|
2624
|
+
}, z.core.$strict>;
|
|
2625
|
+
readonly kind: "unary";
|
|
2626
|
+
readonly since: "1.56";
|
|
2627
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2628
|
+
};
|
|
2583
2629
|
readonly "apps.projects.move": {
|
|
2584
2630
|
readonly params: z.ZodObject<{
|
|
2585
2631
|
app_key: z.ZodString;
|
|
@@ -5414,6 +5460,119 @@ declare const OPS: {
|
|
|
5414
5460
|
readonly since: "1.38";
|
|
5415
5461
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
|
|
5416
5462
|
};
|
|
5463
|
+
readonly "coding.account.continue": {
|
|
5464
|
+
readonly params: z.ZodObject<{
|
|
5465
|
+
session_id: z.ZodString;
|
|
5466
|
+
account_profile_id: z.ZodOptional<z.ZodString>;
|
|
5467
|
+
client_request_id: z.ZodString;
|
|
5468
|
+
}, z.core.$strict>;
|
|
5469
|
+
readonly result: z.ZodObject<{
|
|
5470
|
+
session: z.ZodObject<{
|
|
5471
|
+
id: z.ZodString;
|
|
5472
|
+
provider: z.ZodEnum<{
|
|
5473
|
+
claude: "claude";
|
|
5474
|
+
codex: "codex";
|
|
5475
|
+
}>;
|
|
5476
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
5477
|
+
cwd: z.ZodString;
|
|
5478
|
+
title: z.ZodString;
|
|
5479
|
+
model: z.ZodNullable<z.ZodString>;
|
|
5480
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
5481
|
+
origin: z.ZodEnum<{
|
|
5482
|
+
started: "started";
|
|
5483
|
+
takeover: "takeover";
|
|
5484
|
+
}>;
|
|
5485
|
+
createdAt: z.ZodString;
|
|
5486
|
+
updatedAt: z.ZodString;
|
|
5487
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
5488
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
5489
|
+
completed: "completed";
|
|
5490
|
+
running: "running";
|
|
5491
|
+
failed: "failed";
|
|
5492
|
+
stopped: "stopped";
|
|
5493
|
+
starting: "starting";
|
|
5494
|
+
}>>;
|
|
5495
|
+
queued: z.ZodArray<z.ZodString>;
|
|
5496
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
5497
|
+
agentId: z.ZodString;
|
|
5498
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
5499
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
5500
|
+
name: z.ZodString;
|
|
5501
|
+
definitionHash: z.ZodString;
|
|
5502
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
5503
|
+
part: z.ZodEnum<{
|
|
5504
|
+
tools: "tools";
|
|
5505
|
+
instructions: "instructions";
|
|
5506
|
+
skills: "skills";
|
|
5507
|
+
}>;
|
|
5508
|
+
loaded: z.ZodInt;
|
|
5509
|
+
total: z.ZodInt;
|
|
5510
|
+
}, z.core.$strict>>;
|
|
5511
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
5512
|
+
kind: z.ZodString;
|
|
5513
|
+
name: z.ZodString;
|
|
5514
|
+
reason: z.ZodString;
|
|
5515
|
+
}, z.core.$strict>>;
|
|
5516
|
+
skills: z.ZodArray<z.ZodString>;
|
|
5517
|
+
tools: z.ZodArray<z.ZodString>;
|
|
5518
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5519
|
+
blockDue: z.ZodBoolean;
|
|
5520
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
5521
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
5522
|
+
}, z.core.$strict>>;
|
|
5523
|
+
agentRemovedDue: z.ZodBoolean;
|
|
5524
|
+
}, z.core.$strict>;
|
|
5525
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
5526
|
+
runId: z.ZodString;
|
|
5527
|
+
sessionId: z.ZodString;
|
|
5528
|
+
provider: z.ZodEnum<{
|
|
5529
|
+
claude: "claude";
|
|
5530
|
+
codex: "codex";
|
|
5531
|
+
}>;
|
|
5532
|
+
cwd: z.ZodString;
|
|
5533
|
+
prompt: z.ZodString;
|
|
5534
|
+
model: z.ZodNullable<z.ZodString>;
|
|
5535
|
+
status: z.ZodEnum<{
|
|
5536
|
+
completed: "completed";
|
|
5537
|
+
running: "running";
|
|
5538
|
+
failed: "failed";
|
|
5539
|
+
stopped: "stopped";
|
|
5540
|
+
starting: "starting";
|
|
5541
|
+
}>;
|
|
5542
|
+
startedAt: z.ZodString;
|
|
5543
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
5544
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5545
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
5546
|
+
inputTokens: z.ZodInt;
|
|
5547
|
+
outputTokens: z.ZodInt;
|
|
5548
|
+
cachedInputTokens: z.ZodInt;
|
|
5549
|
+
}, z.core.$strict>>;
|
|
5550
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
5551
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
5552
|
+
unknown: "unknown";
|
|
5553
|
+
subscription: "subscription";
|
|
5554
|
+
api: "api";
|
|
5555
|
+
}>>;
|
|
5556
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
5557
|
+
kind: z.ZodEnum<{
|
|
5558
|
+
web: "web";
|
|
5559
|
+
agent: "agent";
|
|
5560
|
+
other: "other";
|
|
5561
|
+
this_computer: "this_computer";
|
|
5562
|
+
phone: "phone";
|
|
5563
|
+
}>;
|
|
5564
|
+
label: z.ZodString;
|
|
5565
|
+
}, z.core.$strict>>;
|
|
5566
|
+
}, z.core.$strict>>;
|
|
5567
|
+
how: z.ZodEnum<{
|
|
5568
|
+
moved: "moved";
|
|
5569
|
+
fresh: "fresh";
|
|
5570
|
+
}>;
|
|
5571
|
+
}, z.core.$strict>;
|
|
5572
|
+
readonly kind: "unary";
|
|
5573
|
+
readonly since: "1.56";
|
|
5574
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "AUTH_FORBIDDEN", "INTERNAL"];
|
|
5575
|
+
};
|
|
5417
5576
|
readonly "coding.agent.set": {
|
|
5418
5577
|
readonly params: z.ZodObject<{
|
|
5419
5578
|
session_id: z.ZodString;
|
|
@@ -8757,6 +8916,43 @@ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & st
|
|
|
8757
8916
|
* which write zod's process-global registry as an import side effect.
|
|
8758
8917
|
*/
|
|
8759
8918
|
declare const NAMED_SCHEMAS: {
|
|
8919
|
+
readonly AppsWindowsSetAccountParams: z.ZodObject<{
|
|
8920
|
+
app_key: z.ZodString;
|
|
8921
|
+
window: z.ZodString;
|
|
8922
|
+
email: z.ZodString;
|
|
8923
|
+
}, z.core.$strict>;
|
|
8924
|
+
readonly AppsWindowsForgetParams: z.ZodObject<{
|
|
8925
|
+
app_key: z.ZodString;
|
|
8926
|
+
window: z.ZodString;
|
|
8927
|
+
}, z.core.$strict>;
|
|
8928
|
+
readonly ProbeFact: z.ZodObject<{
|
|
8929
|
+
key: z.ZodString;
|
|
8930
|
+
value: z.ZodString;
|
|
8931
|
+
}, z.core.$strict>;
|
|
8932
|
+
readonly ProbeSource: z.ZodObject<{
|
|
8933
|
+
source: z.ZodString;
|
|
8934
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
8935
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
8936
|
+
key: z.ZodString;
|
|
8937
|
+
value: z.ZodString;
|
|
8938
|
+
}, z.core.$strict>>;
|
|
8939
|
+
}, z.core.$strict>;
|
|
8940
|
+
readonly AppsChatsProbeParams: z.ZodObject<{
|
|
8941
|
+
app_key: z.ZodString;
|
|
8942
|
+
chat_id: z.ZodString;
|
|
8943
|
+
}, z.core.$strict>;
|
|
8944
|
+
readonly AppsChatsProbeResult: z.ZodObject<{
|
|
8945
|
+
app_key: z.ZodString;
|
|
8946
|
+
chat_id: z.ZodString;
|
|
8947
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
8948
|
+
source: z.ZodString;
|
|
8949
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
8950
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
8951
|
+
key: z.ZodString;
|
|
8952
|
+
value: z.ZodString;
|
|
8953
|
+
}, z.core.$strict>>;
|
|
8954
|
+
}, z.core.$strict>>;
|
|
8955
|
+
}, z.core.$strict>;
|
|
8760
8956
|
readonly InstanceStatus: z.ZodEnum<{
|
|
8761
8957
|
open: "open";
|
|
8762
8958
|
closed: "closed";
|
|
@@ -12053,6 +12249,114 @@ declare const NAMED_SCHEMAS: {
|
|
|
12053
12249
|
agentRemovedDue: z.ZodBoolean;
|
|
12054
12250
|
}, z.core.$strict>;
|
|
12055
12251
|
}, z.core.$strict>;
|
|
12252
|
+
readonly CodingAccountContinueParams: z.ZodObject<{
|
|
12253
|
+
session_id: z.ZodString;
|
|
12254
|
+
account_profile_id: z.ZodOptional<z.ZodString>;
|
|
12255
|
+
client_request_id: z.ZodString;
|
|
12256
|
+
}, z.core.$strict>;
|
|
12257
|
+
readonly CodingAccountContinueResult: z.ZodObject<{
|
|
12258
|
+
session: z.ZodObject<{
|
|
12259
|
+
id: z.ZodString;
|
|
12260
|
+
provider: z.ZodEnum<{
|
|
12261
|
+
claude: "claude";
|
|
12262
|
+
codex: "codex";
|
|
12263
|
+
}>;
|
|
12264
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
12265
|
+
cwd: z.ZodString;
|
|
12266
|
+
title: z.ZodString;
|
|
12267
|
+
model: z.ZodNullable<z.ZodString>;
|
|
12268
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
12269
|
+
origin: z.ZodEnum<{
|
|
12270
|
+
started: "started";
|
|
12271
|
+
takeover: "takeover";
|
|
12272
|
+
}>;
|
|
12273
|
+
createdAt: z.ZodString;
|
|
12274
|
+
updatedAt: z.ZodString;
|
|
12275
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
12276
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
12277
|
+
completed: "completed";
|
|
12278
|
+
running: "running";
|
|
12279
|
+
failed: "failed";
|
|
12280
|
+
stopped: "stopped";
|
|
12281
|
+
starting: "starting";
|
|
12282
|
+
}>>;
|
|
12283
|
+
queued: z.ZodArray<z.ZodString>;
|
|
12284
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
12285
|
+
agentId: z.ZodString;
|
|
12286
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
12287
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
12288
|
+
name: z.ZodString;
|
|
12289
|
+
definitionHash: z.ZodString;
|
|
12290
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
12291
|
+
part: z.ZodEnum<{
|
|
12292
|
+
tools: "tools";
|
|
12293
|
+
instructions: "instructions";
|
|
12294
|
+
skills: "skills";
|
|
12295
|
+
}>;
|
|
12296
|
+
loaded: z.ZodInt;
|
|
12297
|
+
total: z.ZodInt;
|
|
12298
|
+
}, z.core.$strict>>;
|
|
12299
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
12300
|
+
kind: z.ZodString;
|
|
12301
|
+
name: z.ZodString;
|
|
12302
|
+
reason: z.ZodString;
|
|
12303
|
+
}, z.core.$strict>>;
|
|
12304
|
+
skills: z.ZodArray<z.ZodString>;
|
|
12305
|
+
tools: z.ZodArray<z.ZodString>;
|
|
12306
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12307
|
+
blockDue: z.ZodBoolean;
|
|
12308
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
12309
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
12310
|
+
}, z.core.$strict>>;
|
|
12311
|
+
agentRemovedDue: z.ZodBoolean;
|
|
12312
|
+
}, z.core.$strict>;
|
|
12313
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
12314
|
+
runId: z.ZodString;
|
|
12315
|
+
sessionId: z.ZodString;
|
|
12316
|
+
provider: z.ZodEnum<{
|
|
12317
|
+
claude: "claude";
|
|
12318
|
+
codex: "codex";
|
|
12319
|
+
}>;
|
|
12320
|
+
cwd: z.ZodString;
|
|
12321
|
+
prompt: z.ZodString;
|
|
12322
|
+
model: z.ZodNullable<z.ZodString>;
|
|
12323
|
+
status: z.ZodEnum<{
|
|
12324
|
+
completed: "completed";
|
|
12325
|
+
running: "running";
|
|
12326
|
+
failed: "failed";
|
|
12327
|
+
stopped: "stopped";
|
|
12328
|
+
starting: "starting";
|
|
12329
|
+
}>;
|
|
12330
|
+
startedAt: z.ZodString;
|
|
12331
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
12332
|
+
error: z.ZodNullable<z.ZodString>;
|
|
12333
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
12334
|
+
inputTokens: z.ZodInt;
|
|
12335
|
+
outputTokens: z.ZodInt;
|
|
12336
|
+
cachedInputTokens: z.ZodInt;
|
|
12337
|
+
}, z.core.$strict>>;
|
|
12338
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
12339
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
12340
|
+
unknown: "unknown";
|
|
12341
|
+
subscription: "subscription";
|
|
12342
|
+
api: "api";
|
|
12343
|
+
}>>;
|
|
12344
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
12345
|
+
kind: z.ZodEnum<{
|
|
12346
|
+
web: "web";
|
|
12347
|
+
agent: "agent";
|
|
12348
|
+
other: "other";
|
|
12349
|
+
this_computer: "this_computer";
|
|
12350
|
+
phone: "phone";
|
|
12351
|
+
}>;
|
|
12352
|
+
label: z.ZodString;
|
|
12353
|
+
}, z.core.$strict>>;
|
|
12354
|
+
}, z.core.$strict>>;
|
|
12355
|
+
how: z.ZodEnum<{
|
|
12356
|
+
moved: "moved";
|
|
12357
|
+
fresh: "fresh";
|
|
12358
|
+
}>;
|
|
12359
|
+
}, z.core.$strict>;
|
|
12056
12360
|
readonly CodingAgentSetParams: z.ZodObject<{
|
|
12057
12361
|
session_id: z.ZodString;
|
|
12058
12362
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -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";
|
|
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";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -2580,6 +2580,52 @@ declare const OPS: {
|
|
|
2580
2580
|
readonly since: "1.47";
|
|
2581
2581
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2582
2582
|
};
|
|
2583
|
+
readonly "apps.windows.set_account": {
|
|
2584
|
+
readonly params: z.ZodObject<{
|
|
2585
|
+
app_key: z.ZodString;
|
|
2586
|
+
window: z.ZodString;
|
|
2587
|
+
email: z.ZodString;
|
|
2588
|
+
}, z.core.$strict>;
|
|
2589
|
+
readonly result: z.ZodObject<{
|
|
2590
|
+
message: z.ZodString;
|
|
2591
|
+
}, z.core.$strict>;
|
|
2592
|
+
readonly kind: "unary";
|
|
2593
|
+
readonly since: "1.56";
|
|
2594
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2595
|
+
};
|
|
2596
|
+
readonly "apps.windows.forget": {
|
|
2597
|
+
readonly params: z.ZodObject<{
|
|
2598
|
+
app_key: z.ZodString;
|
|
2599
|
+
window: z.ZodString;
|
|
2600
|
+
}, z.core.$strict>;
|
|
2601
|
+
readonly result: z.ZodObject<{
|
|
2602
|
+
message: z.ZodString;
|
|
2603
|
+
}, z.core.$strict>;
|
|
2604
|
+
readonly kind: "unary";
|
|
2605
|
+
readonly since: "1.56";
|
|
2606
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2607
|
+
};
|
|
2608
|
+
readonly "apps.chats.probe": {
|
|
2609
|
+
readonly params: z.ZodObject<{
|
|
2610
|
+
app_key: z.ZodString;
|
|
2611
|
+
chat_id: z.ZodString;
|
|
2612
|
+
}, z.core.$strict>;
|
|
2613
|
+
readonly result: z.ZodObject<{
|
|
2614
|
+
app_key: z.ZodString;
|
|
2615
|
+
chat_id: z.ZodString;
|
|
2616
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
2617
|
+
source: z.ZodString;
|
|
2618
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
2619
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
2620
|
+
key: z.ZodString;
|
|
2621
|
+
value: z.ZodString;
|
|
2622
|
+
}, z.core.$strict>>;
|
|
2623
|
+
}, z.core.$strict>>;
|
|
2624
|
+
}, z.core.$strict>;
|
|
2625
|
+
readonly kind: "unary";
|
|
2626
|
+
readonly since: "1.56";
|
|
2627
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2628
|
+
};
|
|
2583
2629
|
readonly "apps.projects.move": {
|
|
2584
2630
|
readonly params: z.ZodObject<{
|
|
2585
2631
|
app_key: z.ZodString;
|
|
@@ -5414,6 +5460,119 @@ declare const OPS: {
|
|
|
5414
5460
|
readonly since: "1.38";
|
|
5415
5461
|
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "INTERNAL"];
|
|
5416
5462
|
};
|
|
5463
|
+
readonly "coding.account.continue": {
|
|
5464
|
+
readonly params: z.ZodObject<{
|
|
5465
|
+
session_id: z.ZodString;
|
|
5466
|
+
account_profile_id: z.ZodOptional<z.ZodString>;
|
|
5467
|
+
client_request_id: z.ZodString;
|
|
5468
|
+
}, z.core.$strict>;
|
|
5469
|
+
readonly result: z.ZodObject<{
|
|
5470
|
+
session: z.ZodObject<{
|
|
5471
|
+
id: z.ZodString;
|
|
5472
|
+
provider: z.ZodEnum<{
|
|
5473
|
+
claude: "claude";
|
|
5474
|
+
codex: "codex";
|
|
5475
|
+
}>;
|
|
5476
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
5477
|
+
cwd: z.ZodString;
|
|
5478
|
+
title: z.ZodString;
|
|
5479
|
+
model: z.ZodNullable<z.ZodString>;
|
|
5480
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
5481
|
+
origin: z.ZodEnum<{
|
|
5482
|
+
started: "started";
|
|
5483
|
+
takeover: "takeover";
|
|
5484
|
+
}>;
|
|
5485
|
+
createdAt: z.ZodString;
|
|
5486
|
+
updatedAt: z.ZodString;
|
|
5487
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
5488
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
5489
|
+
completed: "completed";
|
|
5490
|
+
running: "running";
|
|
5491
|
+
failed: "failed";
|
|
5492
|
+
stopped: "stopped";
|
|
5493
|
+
starting: "starting";
|
|
5494
|
+
}>>;
|
|
5495
|
+
queued: z.ZodArray<z.ZodString>;
|
|
5496
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
5497
|
+
agentId: z.ZodString;
|
|
5498
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
5499
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
5500
|
+
name: z.ZodString;
|
|
5501
|
+
definitionHash: z.ZodString;
|
|
5502
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
5503
|
+
part: z.ZodEnum<{
|
|
5504
|
+
tools: "tools";
|
|
5505
|
+
instructions: "instructions";
|
|
5506
|
+
skills: "skills";
|
|
5507
|
+
}>;
|
|
5508
|
+
loaded: z.ZodInt;
|
|
5509
|
+
total: z.ZodInt;
|
|
5510
|
+
}, z.core.$strict>>;
|
|
5511
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
5512
|
+
kind: z.ZodString;
|
|
5513
|
+
name: z.ZodString;
|
|
5514
|
+
reason: z.ZodString;
|
|
5515
|
+
}, z.core.$strict>>;
|
|
5516
|
+
skills: z.ZodArray<z.ZodString>;
|
|
5517
|
+
tools: z.ZodArray<z.ZodString>;
|
|
5518
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5519
|
+
blockDue: z.ZodBoolean;
|
|
5520
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
5521
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
5522
|
+
}, z.core.$strict>>;
|
|
5523
|
+
agentRemovedDue: z.ZodBoolean;
|
|
5524
|
+
}, z.core.$strict>;
|
|
5525
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
5526
|
+
runId: z.ZodString;
|
|
5527
|
+
sessionId: z.ZodString;
|
|
5528
|
+
provider: z.ZodEnum<{
|
|
5529
|
+
claude: "claude";
|
|
5530
|
+
codex: "codex";
|
|
5531
|
+
}>;
|
|
5532
|
+
cwd: z.ZodString;
|
|
5533
|
+
prompt: z.ZodString;
|
|
5534
|
+
model: z.ZodNullable<z.ZodString>;
|
|
5535
|
+
status: z.ZodEnum<{
|
|
5536
|
+
completed: "completed";
|
|
5537
|
+
running: "running";
|
|
5538
|
+
failed: "failed";
|
|
5539
|
+
stopped: "stopped";
|
|
5540
|
+
starting: "starting";
|
|
5541
|
+
}>;
|
|
5542
|
+
startedAt: z.ZodString;
|
|
5543
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
5544
|
+
error: z.ZodNullable<z.ZodString>;
|
|
5545
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
5546
|
+
inputTokens: z.ZodInt;
|
|
5547
|
+
outputTokens: z.ZodInt;
|
|
5548
|
+
cachedInputTokens: z.ZodInt;
|
|
5549
|
+
}, z.core.$strict>>;
|
|
5550
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
5551
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
5552
|
+
unknown: "unknown";
|
|
5553
|
+
subscription: "subscription";
|
|
5554
|
+
api: "api";
|
|
5555
|
+
}>>;
|
|
5556
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
5557
|
+
kind: z.ZodEnum<{
|
|
5558
|
+
web: "web";
|
|
5559
|
+
agent: "agent";
|
|
5560
|
+
other: "other";
|
|
5561
|
+
this_computer: "this_computer";
|
|
5562
|
+
phone: "phone";
|
|
5563
|
+
}>;
|
|
5564
|
+
label: z.ZodString;
|
|
5565
|
+
}, z.core.$strict>>;
|
|
5566
|
+
}, z.core.$strict>>;
|
|
5567
|
+
how: z.ZodEnum<{
|
|
5568
|
+
moved: "moved";
|
|
5569
|
+
fresh: "fresh";
|
|
5570
|
+
}>;
|
|
5571
|
+
}, z.core.$strict>;
|
|
5572
|
+
readonly kind: "unary";
|
|
5573
|
+
readonly since: "1.56";
|
|
5574
|
+
readonly errors: readonly ["INVALID_PARAMS", "NOT_FOUND", "RESOURCE_BUSY", "AUTH_FORBIDDEN", "INTERNAL"];
|
|
5575
|
+
};
|
|
5417
5576
|
readonly "coding.agent.set": {
|
|
5418
5577
|
readonly params: z.ZodObject<{
|
|
5419
5578
|
session_id: z.ZodString;
|
|
@@ -8757,6 +8916,43 @@ type ServiceOpName<S extends ServiceId> = keyof (typeof SERVICES)[S]["ops"] & st
|
|
|
8757
8916
|
* which write zod's process-global registry as an import side effect.
|
|
8758
8917
|
*/
|
|
8759
8918
|
declare const NAMED_SCHEMAS: {
|
|
8919
|
+
readonly AppsWindowsSetAccountParams: z.ZodObject<{
|
|
8920
|
+
app_key: z.ZodString;
|
|
8921
|
+
window: z.ZodString;
|
|
8922
|
+
email: z.ZodString;
|
|
8923
|
+
}, z.core.$strict>;
|
|
8924
|
+
readonly AppsWindowsForgetParams: z.ZodObject<{
|
|
8925
|
+
app_key: z.ZodString;
|
|
8926
|
+
window: z.ZodString;
|
|
8927
|
+
}, z.core.$strict>;
|
|
8928
|
+
readonly ProbeFact: z.ZodObject<{
|
|
8929
|
+
key: z.ZodString;
|
|
8930
|
+
value: z.ZodString;
|
|
8931
|
+
}, z.core.$strict>;
|
|
8932
|
+
readonly ProbeSource: z.ZodObject<{
|
|
8933
|
+
source: z.ZodString;
|
|
8934
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
8935
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
8936
|
+
key: z.ZodString;
|
|
8937
|
+
value: z.ZodString;
|
|
8938
|
+
}, z.core.$strict>>;
|
|
8939
|
+
}, z.core.$strict>;
|
|
8940
|
+
readonly AppsChatsProbeParams: z.ZodObject<{
|
|
8941
|
+
app_key: z.ZodString;
|
|
8942
|
+
chat_id: z.ZodString;
|
|
8943
|
+
}, z.core.$strict>;
|
|
8944
|
+
readonly AppsChatsProbeResult: z.ZodObject<{
|
|
8945
|
+
app_key: z.ZodString;
|
|
8946
|
+
chat_id: z.ZodString;
|
|
8947
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
8948
|
+
source: z.ZodString;
|
|
8949
|
+
instance: z.ZodNullable<z.ZodString>;
|
|
8950
|
+
facts: z.ZodArray<z.ZodObject<{
|
|
8951
|
+
key: z.ZodString;
|
|
8952
|
+
value: z.ZodString;
|
|
8953
|
+
}, z.core.$strict>>;
|
|
8954
|
+
}, z.core.$strict>>;
|
|
8955
|
+
}, z.core.$strict>;
|
|
8760
8956
|
readonly InstanceStatus: z.ZodEnum<{
|
|
8761
8957
|
open: "open";
|
|
8762
8958
|
closed: "closed";
|
|
@@ -12053,6 +12249,114 @@ declare const NAMED_SCHEMAS: {
|
|
|
12053
12249
|
agentRemovedDue: z.ZodBoolean;
|
|
12054
12250
|
}, z.core.$strict>;
|
|
12055
12251
|
}, z.core.$strict>;
|
|
12252
|
+
readonly CodingAccountContinueParams: z.ZodObject<{
|
|
12253
|
+
session_id: z.ZodString;
|
|
12254
|
+
account_profile_id: z.ZodOptional<z.ZodString>;
|
|
12255
|
+
client_request_id: z.ZodString;
|
|
12256
|
+
}, z.core.$strict>;
|
|
12257
|
+
readonly CodingAccountContinueResult: z.ZodObject<{
|
|
12258
|
+
session: z.ZodObject<{
|
|
12259
|
+
id: z.ZodString;
|
|
12260
|
+
provider: z.ZodEnum<{
|
|
12261
|
+
claude: "claude";
|
|
12262
|
+
codex: "codex";
|
|
12263
|
+
}>;
|
|
12264
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
12265
|
+
cwd: z.ZodString;
|
|
12266
|
+
title: z.ZodString;
|
|
12267
|
+
model: z.ZodNullable<z.ZodString>;
|
|
12268
|
+
effort: z.ZodNullable<z.ZodString>;
|
|
12269
|
+
origin: z.ZodEnum<{
|
|
12270
|
+
started: "started";
|
|
12271
|
+
takeover: "takeover";
|
|
12272
|
+
}>;
|
|
12273
|
+
createdAt: z.ZodString;
|
|
12274
|
+
updatedAt: z.ZodString;
|
|
12275
|
+
lastRunId: z.ZodNullable<z.ZodString>;
|
|
12276
|
+
lastRunStatus: z.ZodNullable<z.ZodEnum<{
|
|
12277
|
+
completed: "completed";
|
|
12278
|
+
running: "running";
|
|
12279
|
+
failed: "failed";
|
|
12280
|
+
stopped: "stopped";
|
|
12281
|
+
starting: "starting";
|
|
12282
|
+
}>>;
|
|
12283
|
+
queued: z.ZodArray<z.ZodString>;
|
|
12284
|
+
agent: z.ZodNullable<z.ZodObject<{
|
|
12285
|
+
agentId: z.ZodString;
|
|
12286
|
+
versionId: z.ZodNullable<z.ZodString>;
|
|
12287
|
+
versionNumber: z.ZodNullable<z.ZodInt>;
|
|
12288
|
+
name: z.ZodString;
|
|
12289
|
+
definitionHash: z.ZodString;
|
|
12290
|
+
loaded: z.ZodArray<z.ZodObject<{
|
|
12291
|
+
part: z.ZodEnum<{
|
|
12292
|
+
tools: "tools";
|
|
12293
|
+
instructions: "instructions";
|
|
12294
|
+
skills: "skills";
|
|
12295
|
+
}>;
|
|
12296
|
+
loaded: z.ZodInt;
|
|
12297
|
+
total: z.ZodInt;
|
|
12298
|
+
}, z.core.$strict>>;
|
|
12299
|
+
unavailable: z.ZodArray<z.ZodObject<{
|
|
12300
|
+
kind: z.ZodString;
|
|
12301
|
+
name: z.ZodString;
|
|
12302
|
+
reason: z.ZodString;
|
|
12303
|
+
}, z.core.$strict>>;
|
|
12304
|
+
skills: z.ZodArray<z.ZodString>;
|
|
12305
|
+
tools: z.ZodArray<z.ZodString>;
|
|
12306
|
+
variables: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12307
|
+
blockDue: z.ZodBoolean;
|
|
12308
|
+
deliveredAt: z.ZodNullable<z.ZodString>;
|
|
12309
|
+
replaces: z.ZodNullable<z.ZodString>;
|
|
12310
|
+
}, z.core.$strict>>;
|
|
12311
|
+
agentRemovedDue: z.ZodBoolean;
|
|
12312
|
+
}, z.core.$strict>;
|
|
12313
|
+
run: z.ZodNullable<z.ZodObject<{
|
|
12314
|
+
runId: z.ZodString;
|
|
12315
|
+
sessionId: z.ZodString;
|
|
12316
|
+
provider: z.ZodEnum<{
|
|
12317
|
+
claude: "claude";
|
|
12318
|
+
codex: "codex";
|
|
12319
|
+
}>;
|
|
12320
|
+
cwd: z.ZodString;
|
|
12321
|
+
prompt: z.ZodString;
|
|
12322
|
+
model: z.ZodNullable<z.ZodString>;
|
|
12323
|
+
status: z.ZodEnum<{
|
|
12324
|
+
completed: "completed";
|
|
12325
|
+
running: "running";
|
|
12326
|
+
failed: "failed";
|
|
12327
|
+
stopped: "stopped";
|
|
12328
|
+
starting: "starting";
|
|
12329
|
+
}>;
|
|
12330
|
+
startedAt: z.ZodString;
|
|
12331
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
12332
|
+
error: z.ZodNullable<z.ZodString>;
|
|
12333
|
+
usage: z.ZodNullable<z.ZodObject<{
|
|
12334
|
+
inputTokens: z.ZodInt;
|
|
12335
|
+
outputTokens: z.ZodInt;
|
|
12336
|
+
cachedInputTokens: z.ZodInt;
|
|
12337
|
+
}, z.core.$strict>>;
|
|
12338
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
12339
|
+
billing: z.ZodNullable<z.ZodEnum<{
|
|
12340
|
+
unknown: "unknown";
|
|
12341
|
+
subscription: "subscription";
|
|
12342
|
+
api: "api";
|
|
12343
|
+
}>>;
|
|
12344
|
+
startedBy: z.ZodNullable<z.ZodObject<{
|
|
12345
|
+
kind: z.ZodEnum<{
|
|
12346
|
+
web: "web";
|
|
12347
|
+
agent: "agent";
|
|
12348
|
+
other: "other";
|
|
12349
|
+
this_computer: "this_computer";
|
|
12350
|
+
phone: "phone";
|
|
12351
|
+
}>;
|
|
12352
|
+
label: z.ZodString;
|
|
12353
|
+
}, z.core.$strict>>;
|
|
12354
|
+
}, z.core.$strict>>;
|
|
12355
|
+
how: z.ZodEnum<{
|
|
12356
|
+
moved: "moved";
|
|
12357
|
+
fresh: "fresh";
|
|
12358
|
+
}>;
|
|
12359
|
+
}, z.core.$strict>;
|
|
12056
12360
|
readonly CodingAgentSetParams: z.ZodObject<{
|
|
12057
12361
|
session_id: z.ZodString;
|
|
12058
12362
|
agent: z.ZodOptional<z.ZodObject<{
|