@maudecode/talaria-web-contracts 1.16.1 → 1.18.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/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/openapi.js +5 -1
- package/dist/openapi.js.map +1 -1
- package/dist/router.d.ts +4169 -1107
- package/dist/routes/automation.d.ts +173 -10
- package/dist/routes/automation.js +17 -9
- package/dist/routes/automation.js.map +1 -1
- package/dist/routes/chat.d.ts +1215 -16
- package/dist/routes/chat.js +5 -3
- package/dist/routes/chat.js.map +1 -1
- package/dist/routes/core.d.ts +11 -0
- package/dist/routes/core.js +3 -0
- package/dist/routes/core.js.map +1 -1
- package/dist/routes/git.d.ts +98 -2
- package/dist/routes/git.js +20 -6
- package/dist/routes/git.js.map +1 -1
- package/dist/routes/raw.d.ts +3 -1
- package/dist/routes/raw.js +31 -7
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +3080 -539
- package/dist/routes/sessions.js +68 -1
- package/dist/routes/sessions.js.map +1 -1
- package/dist/routes/settings.d.ts +132 -2
- package/dist/routes/settings.js +4 -4
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +425 -19
- package/dist/routes/tools.js +23 -4
- package/dist/routes/tools.js.map +1 -1
- package/dist/routes/workspaces.d.ts +96 -0
- package/dist/routes/workspaces.js +18 -1
- package/dist/routes/workspaces.js.map +1 -1
- package/dist/sidecar/methods.d.ts +253 -0
- package/dist/sidecar/methods.js +2 -1
- package/dist/sidecar/methods.js.map +1 -1
- package/dist/sidecar/namespaces.d.ts +381 -1
- package/dist/sidecar/namespaces.js +89 -10
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/version.d.ts +1 -1
- package/dist/sidecar/version.js +1 -1
- package/dist/sidecar/version.js.map +1 -1
- package/dist/sse.d.ts +79 -14
- package/dist/sse.js +13 -6
- package/dist/sse.js.map +1 -1
- package/dist/theme.d.ts +10 -0
- package/dist/theme.js +10 -0
- package/dist/theme.js.map +1 -0
- package/dist/views.d.ts +1419 -39
- package/dist/views.js +215 -25
- package/dist/views.js.map +1 -1
- package/fixtures/sidecar/checkpoints.json +50 -0
- package/fixtures/sidecar/commands.json +250 -96
- package/fixtures/sidecar/cron.json +38 -55
- package/fixtures/sidecar/goals.json +6 -6
- package/fixtures/sidecar/kanban.json +84 -67
- package/fixtures/sidecar/plugins.json +171 -172
- package/fixtures/sidecar/process.json +25 -0
- package/fixtures/sidecar/profiles.json +10 -2
- package/fixtures/sidecar/providers.json +25 -12
- package/fixtures/sidecar/rpc.json +17 -0
- package/fixtures/sidecar/runtime.json +22 -29
- package/fixtures/sidecar/state_db.json +15 -0
- package/fixtures/sidecar/text.json +2 -2
- package/fixtures/sidecar/usage.json +38 -0
- package/package.json +1 -1
|
@@ -25,6 +25,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
25
25
|
effort: z.ZodOptional<z.ZodString>;
|
|
26
26
|
}, z.core.$strip>>>;
|
|
27
27
|
ephemeral_system_prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
persist_user_message: z.ZodOptional<z.ZodString>;
|
|
29
|
+
ephemeral: z.ZodOptional<z.ZodBoolean>;
|
|
28
30
|
}, z.core.$strip>;
|
|
29
31
|
readonly result: z.ZodObject<{
|
|
30
32
|
status: z.ZodEnum<{
|
|
@@ -33,12 +35,15 @@ export declare const SIDECAR_METHODS: {
|
|
|
33
35
|
completed: "completed";
|
|
34
36
|
}>;
|
|
35
37
|
messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38
|
+
context_messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
39
|
+
post_compression_context_tokens_estimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
40
|
final_response: z.ZodString;
|
|
37
41
|
error: z.ZodNullable<z.ZodString>;
|
|
38
42
|
failed: z.ZodBoolean;
|
|
39
43
|
partial: z.ZodBoolean;
|
|
40
44
|
compression_exhausted: z.ZodBoolean;
|
|
41
45
|
tool_limit_reached: z.ZodBoolean;
|
|
46
|
+
max_iterations_summary_request: z.ZodString;
|
|
42
47
|
usage: z.ZodObject<{
|
|
43
48
|
prompt_tokens: z.ZodNumber;
|
|
44
49
|
completion_tokens: z.ZodNumber;
|
|
@@ -75,6 +80,15 @@ export declare const SIDECAR_METHODS: {
|
|
|
75
80
|
data: z.ZodObject<{
|
|
76
81
|
text: z.ZodString;
|
|
77
82
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
event: z.ZodLiteral<"usage">;
|
|
85
|
+
data: z.ZodObject<{
|
|
86
|
+
prompt_tokens: z.ZodNumber;
|
|
87
|
+
completion_tokens: z.ZodNumber;
|
|
88
|
+
cache_read_tokens: z.ZodNumber;
|
|
89
|
+
cache_write_tokens: z.ZodNumber;
|
|
90
|
+
estimated_cost_usd: z.ZodNullable<z.ZodNumber>;
|
|
91
|
+
}, z.core.$strip>;
|
|
78
92
|
}, z.core.$strip>, z.ZodObject<{
|
|
79
93
|
event: z.ZodLiteral<"tool">;
|
|
80
94
|
data: z.ZodObject<{
|
|
@@ -226,6 +240,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
226
240
|
};
|
|
227
241
|
readonly 'chat.commit_memory': {
|
|
228
242
|
readonly params: z.ZodObject<{
|
|
243
|
+
profile_home: z.ZodString;
|
|
229
244
|
session_id: z.ZodString;
|
|
230
245
|
}, z.core.$strip>;
|
|
231
246
|
readonly result: z.ZodObject<{
|
|
@@ -313,6 +328,46 @@ export declare const SIDECAR_METHODS: {
|
|
|
313
328
|
supports_reasoning: z.ZodNullable<z.ZodBoolean>;
|
|
314
329
|
}, z.core.$strip>;
|
|
315
330
|
};
|
|
331
|
+
readonly 'checkpoints.list': {
|
|
332
|
+
readonly params: z.ZodObject<{
|
|
333
|
+
profile_home: z.ZodString;
|
|
334
|
+
workspace: z.ZodString;
|
|
335
|
+
}, z.core.$strip>;
|
|
336
|
+
readonly result: z.ZodObject<{
|
|
337
|
+
checkpoints: z.ZodArray<z.ZodObject<{
|
|
338
|
+
hash: z.ZodString;
|
|
339
|
+
short_hash: z.ZodString;
|
|
340
|
+
timestamp: z.ZodString;
|
|
341
|
+
reason: z.ZodString;
|
|
342
|
+
files_changed: z.ZodNumber;
|
|
343
|
+
insertions: z.ZodNumber;
|
|
344
|
+
deletions: z.ZodNumber;
|
|
345
|
+
}, z.core.$strip>>;
|
|
346
|
+
store: z.ZodString;
|
|
347
|
+
}, z.core.$strip>;
|
|
348
|
+
};
|
|
349
|
+
readonly 'checkpoints.diff': {
|
|
350
|
+
readonly params: z.ZodObject<{
|
|
351
|
+
profile_home: z.ZodString;
|
|
352
|
+
workspace: z.ZodString;
|
|
353
|
+
checkpoint: z.ZodString;
|
|
354
|
+
}, z.core.$strip>;
|
|
355
|
+
readonly result: z.ZodObject<{
|
|
356
|
+
stat: z.ZodString;
|
|
357
|
+
diff: z.ZodString;
|
|
358
|
+
}, z.core.$strip>;
|
|
359
|
+
};
|
|
360
|
+
readonly 'checkpoints.restore': {
|
|
361
|
+
readonly params: z.ZodObject<{
|
|
362
|
+
profile_home: z.ZodString;
|
|
363
|
+
workspace: z.ZodString;
|
|
364
|
+
checkpoint: z.ZodString;
|
|
365
|
+
}, z.core.$strip>;
|
|
366
|
+
readonly result: z.ZodObject<{
|
|
367
|
+
restored_to: z.ZodString;
|
|
368
|
+
reason: z.ZodString;
|
|
369
|
+
}, z.core.$strip>;
|
|
370
|
+
};
|
|
316
371
|
readonly 'worktree.create': {
|
|
317
372
|
readonly params: z.ZodObject<{
|
|
318
373
|
profile_home: z.ZodString;
|
|
@@ -325,6 +380,39 @@ export declare const SIDECAR_METHODS: {
|
|
|
325
380
|
base: z.ZodNullable<z.ZodString>;
|
|
326
381
|
}, z.core.$strip>;
|
|
327
382
|
};
|
|
383
|
+
readonly 'gateway.control': {
|
|
384
|
+
readonly params: z.ZodObject<{
|
|
385
|
+
profile_home: z.ZodString;
|
|
386
|
+
cli_profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
|
+
quick_timeout_seconds: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
background_wait_seconds: z.ZodOptional<z.ZodNumber>;
|
|
389
|
+
action: z.ZodEnum<{
|
|
390
|
+
start: "start";
|
|
391
|
+
stop: "stop";
|
|
392
|
+
restart: "restart";
|
|
393
|
+
}>;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
readonly result: z.ZodObject<{
|
|
396
|
+
status: z.ZodEnum<{
|
|
397
|
+
completed: "completed";
|
|
398
|
+
failed: "failed";
|
|
399
|
+
busy: "busy";
|
|
400
|
+
}>;
|
|
401
|
+
message: z.ZodString;
|
|
402
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
403
|
+
returncode: z.ZodOptional<z.ZodNumber>;
|
|
404
|
+
timed_out: z.ZodOptional<z.ZodBoolean>;
|
|
405
|
+
}, z.core.$strip>;
|
|
406
|
+
readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
407
|
+
event: z.ZodLiteral<"progress">;
|
|
408
|
+
data: z.ZodObject<{
|
|
409
|
+
phase: z.ZodEnum<{
|
|
410
|
+
started: "started";
|
|
411
|
+
draining: "draining";
|
|
412
|
+
}>;
|
|
413
|
+
}, z.core.$strip>;
|
|
414
|
+
}, z.core.$strip>], "event">;
|
|
415
|
+
};
|
|
328
416
|
readonly 'gateway.restart': {
|
|
329
417
|
readonly params: z.ZodObject<{
|
|
330
418
|
profile_home: z.ZodString;
|
|
@@ -341,6 +429,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
341
429
|
message: z.ZodString;
|
|
342
430
|
detail: z.ZodOptional<z.ZodString>;
|
|
343
431
|
returncode: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
timed_out: z.ZodOptional<z.ZodBoolean>;
|
|
344
433
|
}, z.core.$strip>;
|
|
345
434
|
readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
346
435
|
event: z.ZodLiteral<"progress">;
|
|
@@ -358,6 +447,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
358
447
|
provider: z.ZodString;
|
|
359
448
|
base_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
360
449
|
api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
450
|
+
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
361
451
|
}, z.core.$strip>;
|
|
362
452
|
readonly result: z.ZodObject<{
|
|
363
453
|
snapshot: z.ZodNullable<z.ZodObject<{
|
|
@@ -369,6 +459,82 @@ export declare const SIDECAR_METHODS: {
|
|
|
369
459
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
370
460
|
}, z.core.$strip>;
|
|
371
461
|
};
|
|
462
|
+
readonly 'usage.pool': {
|
|
463
|
+
readonly params: z.ZodObject<{
|
|
464
|
+
profile_home: z.ZodString;
|
|
465
|
+
provider: z.ZodString;
|
|
466
|
+
api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
467
|
+
}, z.core.$strip>;
|
|
468
|
+
readonly result: z.ZodObject<{
|
|
469
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
470
|
+
credential_id: z.ZodString;
|
|
471
|
+
label: z.ZodString;
|
|
472
|
+
status: z.ZodEnum<{
|
|
473
|
+
available: "available";
|
|
474
|
+
exhausted: "exhausted";
|
|
475
|
+
dead: "dead";
|
|
476
|
+
}>;
|
|
477
|
+
unavailable_reason: z.ZodNullable<z.ZodString>;
|
|
478
|
+
retry_after: z.ZodNullable<z.ZodString>;
|
|
479
|
+
matches_api_key: z.ZodBoolean;
|
|
480
|
+
}, z.core.$strip>>;
|
|
481
|
+
}, z.core.$strip>;
|
|
482
|
+
};
|
|
483
|
+
readonly 'usage.pool_providers': {
|
|
484
|
+
readonly params: z.ZodObject<{
|
|
485
|
+
profile_home: z.ZodString;
|
|
486
|
+
}, z.core.$strip>;
|
|
487
|
+
readonly result: z.ZodObject<{
|
|
488
|
+
providers: z.ZodArray<z.ZodString>;
|
|
489
|
+
}, z.core.$strip>;
|
|
490
|
+
};
|
|
491
|
+
readonly 'usage.balance': {
|
|
492
|
+
readonly params: z.ZodObject<{
|
|
493
|
+
profile_home: z.ZodString;
|
|
494
|
+
provider: z.ZodEnum<{
|
|
495
|
+
openrouter: "openrouter";
|
|
496
|
+
deepseek: "deepseek";
|
|
497
|
+
"opencode-go": "opencode-go";
|
|
498
|
+
}>;
|
|
499
|
+
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
500
|
+
api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
501
|
+
}, z.core.$strip>;
|
|
502
|
+
readonly result: z.ZodObject<{
|
|
503
|
+
status: z.ZodEnum<{
|
|
504
|
+
ok: "ok";
|
|
505
|
+
unavailable: "unavailable";
|
|
506
|
+
no_key: "no_key";
|
|
507
|
+
http_error: "http_error";
|
|
508
|
+
}>;
|
|
509
|
+
http_status: z.ZodNullable<z.ZodNumber>;
|
|
510
|
+
quota: z.ZodNullable<z.ZodObject<{
|
|
511
|
+
limit_remaining: z.ZodNullable<z.ZodNumber>;
|
|
512
|
+
usage: z.ZodNullable<z.ZodNumber>;
|
|
513
|
+
limit: z.ZodNullable<z.ZodNumber>;
|
|
514
|
+
}, z.core.$strip>>;
|
|
515
|
+
label: z.ZodNullable<z.ZodString>;
|
|
516
|
+
is_available: z.ZodNullable<z.ZodBoolean>;
|
|
517
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
518
|
+
currency: z.ZodEnum<{
|
|
519
|
+
CNY: "CNY";
|
|
520
|
+
USD: "USD";
|
|
521
|
+
}>;
|
|
522
|
+
total: z.ZodNumber;
|
|
523
|
+
granted: z.ZodNullable<z.ZodNumber>;
|
|
524
|
+
topped_up: z.ZodNullable<z.ZodNumber>;
|
|
525
|
+
}, z.core.$strip>>;
|
|
526
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
527
|
+
key: z.ZodEnum<{
|
|
528
|
+
rolling: "rolling";
|
|
529
|
+
weekly: "weekly";
|
|
530
|
+
monthly: "monthly";
|
|
531
|
+
}>;
|
|
532
|
+
used_percent: z.ZodNumber;
|
|
533
|
+
reset_at: z.ZodString;
|
|
534
|
+
rate_limited: z.ZodBoolean;
|
|
535
|
+
}, z.core.$strip>>;
|
|
536
|
+
}, z.core.$strip>;
|
|
537
|
+
};
|
|
372
538
|
readonly 'process.drain': {
|
|
373
539
|
readonly params: z.ZodObject<{
|
|
374
540
|
profile_home: z.ZodString;
|
|
@@ -384,6 +550,14 @@ export declare const SIDECAR_METHODS: {
|
|
|
384
550
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
385
551
|
}, z.core.$strip>;
|
|
386
552
|
};
|
|
553
|
+
readonly 'process.recover': {
|
|
554
|
+
readonly params: z.ZodObject<{
|
|
555
|
+
base_home: z.ZodString;
|
|
556
|
+
}, z.core.$strip>;
|
|
557
|
+
readonly result: z.ZodObject<{
|
|
558
|
+
homes: z.ZodNumber;
|
|
559
|
+
}, z.core.$strip>;
|
|
560
|
+
};
|
|
387
561
|
readonly 'process.requeue': {
|
|
388
562
|
readonly params: z.ZodObject<{
|
|
389
563
|
events: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -400,6 +574,14 @@ export declare const SIDECAR_METHODS: {
|
|
|
400
574
|
ok: z.ZodBoolean;
|
|
401
575
|
}, z.core.$strip>;
|
|
402
576
|
};
|
|
577
|
+
readonly 'process.consumed': {
|
|
578
|
+
readonly params: z.ZodObject<{
|
|
579
|
+
process_ids: z.ZodArray<z.ZodString>;
|
|
580
|
+
}, z.core.$strip>;
|
|
581
|
+
readonly result: z.ZodObject<{
|
|
582
|
+
consumed: z.ZodArray<z.ZodString>;
|
|
583
|
+
}, z.core.$strip>;
|
|
584
|
+
};
|
|
403
585
|
readonly 'process.claim_delivery': {
|
|
404
586
|
readonly params: z.ZodObject<{
|
|
405
587
|
profile_home: z.ZodString;
|
|
@@ -537,6 +719,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
537
719
|
main_fallback: z.ZodOptional<z.ZodBoolean>;
|
|
538
720
|
max_tokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
539
721
|
temperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
722
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
723
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
540
724
|
}, z.core.$strip>;
|
|
541
725
|
readonly result: z.ZodObject<{
|
|
542
726
|
model: z.ZodString;
|
|
@@ -546,6 +730,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
546
730
|
completion_tokens: z.ZodOptional<z.ZodNumber>;
|
|
547
731
|
total_tokens: z.ZodOptional<z.ZodNumber>;
|
|
548
732
|
}, z.core.$strip>>;
|
|
733
|
+
finish_reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
549
734
|
}, z.core.$strip>;
|
|
550
735
|
readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
551
736
|
event: z.ZodLiteral<"token">;
|
|
@@ -1036,6 +1221,13 @@ export declare const SIDECAR_METHODS: {
|
|
|
1036
1221
|
skill_count: z.ZodNumber;
|
|
1037
1222
|
enabled_skills: z.ZodNumber;
|
|
1038
1223
|
total_skills: z.ZodNumber;
|
|
1224
|
+
display_name: z.ZodDefault<z.ZodString>;
|
|
1225
|
+
description: z.ZodDefault<z.ZodString>;
|
|
1226
|
+
has_avatar: z.ZodDefault<z.ZodBoolean>;
|
|
1227
|
+
canonical_session: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1228
|
+
session_id: z.ZodString;
|
|
1229
|
+
tip_session_id: z.ZodString;
|
|
1230
|
+
}, z.core.$strip>>>;
|
|
1039
1231
|
}, z.core.$strip>>;
|
|
1040
1232
|
}, z.core.$strip>;
|
|
1041
1233
|
};
|
|
@@ -1059,6 +1251,13 @@ export declare const SIDECAR_METHODS: {
|
|
|
1059
1251
|
skill_count: z.ZodNumber;
|
|
1060
1252
|
enabled_skills: z.ZodNumber;
|
|
1061
1253
|
total_skills: z.ZodNumber;
|
|
1254
|
+
display_name: z.ZodDefault<z.ZodString>;
|
|
1255
|
+
description: z.ZodDefault<z.ZodString>;
|
|
1256
|
+
has_avatar: z.ZodDefault<z.ZodBoolean>;
|
|
1257
|
+
canonical_session: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1258
|
+
session_id: z.ZodString;
|
|
1259
|
+
tip_session_id: z.ZodString;
|
|
1260
|
+
}, z.core.$strip>>>;
|
|
1062
1261
|
}, z.core.$strip>;
|
|
1063
1262
|
}, z.core.$strip>;
|
|
1064
1263
|
};
|
|
@@ -1122,6 +1321,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
1122
1321
|
profile_home: z.ZodString;
|
|
1123
1322
|
session_id: z.ZodString;
|
|
1124
1323
|
title: z.ZodString;
|
|
1324
|
+
manual: z.ZodOptional<z.ZodBoolean>;
|
|
1125
1325
|
}, z.core.$strip>;
|
|
1126
1326
|
readonly result: z.ZodObject<{
|
|
1127
1327
|
ok: z.ZodBoolean;
|
|
@@ -1136,6 +1336,19 @@ export declare const SIDECAR_METHODS: {
|
|
|
1136
1336
|
ok: z.ZodBoolean;
|
|
1137
1337
|
}, z.core.$strip>;
|
|
1138
1338
|
};
|
|
1339
|
+
readonly 'state_db.append_message': {
|
|
1340
|
+
readonly params: z.ZodObject<{
|
|
1341
|
+
profile_home: z.ZodString;
|
|
1342
|
+
session_id: z.ZodString;
|
|
1343
|
+
role: z.ZodString;
|
|
1344
|
+
content: z.ZodString;
|
|
1345
|
+
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1346
|
+
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1347
|
+
}, z.core.$strip>;
|
|
1348
|
+
readonly result: z.ZodObject<{
|
|
1349
|
+
ok: z.ZodBoolean;
|
|
1350
|
+
}, z.core.$strip>;
|
|
1351
|
+
};
|
|
1139
1352
|
readonly 'kanban.board': {
|
|
1140
1353
|
readonly params: z.ZodObject<{
|
|
1141
1354
|
profile_home: z.ZodString;
|
|
@@ -1160,6 +1373,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
1160
1373
|
title: z.ZodString;
|
|
1161
1374
|
status: z.ZodString;
|
|
1162
1375
|
priority: z.ZodNumber;
|
|
1376
|
+
claim_live: z.ZodBoolean;
|
|
1377
|
+
has_completion_evidence: z.ZodBoolean;
|
|
1163
1378
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1164
1379
|
}, z.core.$strip>>;
|
|
1165
1380
|
tenants: z.ZodArray<z.ZodString>;
|
|
@@ -1257,6 +1472,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
1257
1472
|
title: z.ZodString;
|
|
1258
1473
|
status: z.ZodString;
|
|
1259
1474
|
priority: z.ZodNumber;
|
|
1475
|
+
claim_live: z.ZodBoolean;
|
|
1476
|
+
has_completion_evidence: z.ZodBoolean;
|
|
1260
1477
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
1261
1478
|
comments: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1262
1479
|
events: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1280,6 +1497,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
1280
1497
|
title: z.ZodString;
|
|
1281
1498
|
status: z.ZodString;
|
|
1282
1499
|
priority: z.ZodNumber;
|
|
1500
|
+
claim_live: z.ZodBoolean;
|
|
1501
|
+
has_completion_evidence: z.ZodBoolean;
|
|
1283
1502
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
1284
1503
|
read_only: z.ZodBoolean;
|
|
1285
1504
|
}, z.core.$strip>;
|
|
@@ -1297,6 +1516,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
1297
1516
|
title: z.ZodString;
|
|
1298
1517
|
status: z.ZodString;
|
|
1299
1518
|
priority: z.ZodNumber;
|
|
1519
|
+
claim_live: z.ZodBoolean;
|
|
1520
|
+
has_completion_evidence: z.ZodBoolean;
|
|
1300
1521
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
1301
1522
|
read_only: z.ZodBoolean;
|
|
1302
1523
|
}, z.core.$strip>;
|
|
@@ -1311,6 +1532,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
1311
1532
|
unblock: "unblock";
|
|
1312
1533
|
}>;
|
|
1313
1534
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1535
|
+
confirm_running_exit: z.ZodOptional<z.ZodBoolean>;
|
|
1314
1536
|
}, z.core.$strip>;
|
|
1315
1537
|
readonly result: z.ZodObject<{
|
|
1316
1538
|
task: z.ZodObject<{
|
|
@@ -1318,6 +1540,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
1318
1540
|
title: z.ZodString;
|
|
1319
1541
|
status: z.ZodString;
|
|
1320
1542
|
priority: z.ZodNumber;
|
|
1543
|
+
claim_live: z.ZodBoolean;
|
|
1544
|
+
has_completion_evidence: z.ZodBoolean;
|
|
1321
1545
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
1322
1546
|
read_only: z.ZodBoolean;
|
|
1323
1547
|
}, z.core.$strip>;
|
|
@@ -1488,6 +1712,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
1488
1712
|
subcommands: z.ZodArray<z.ZodString>;
|
|
1489
1713
|
cli_only: z.ZodBoolean;
|
|
1490
1714
|
gateway_only: z.ZodBoolean;
|
|
1715
|
+
exec: z.ZodBoolean;
|
|
1491
1716
|
}, z.core.$strip>>;
|
|
1492
1717
|
}, z.core.$strip>;
|
|
1493
1718
|
};
|
|
@@ -1504,6 +1729,32 @@ export declare const SIDECAR_METHODS: {
|
|
|
1504
1729
|
}>;
|
|
1505
1730
|
}, z.core.$strip>;
|
|
1506
1731
|
};
|
|
1732
|
+
readonly 'commands.bundles': {
|
|
1733
|
+
readonly params: z.ZodObject<{
|
|
1734
|
+
profile_home: z.ZodString;
|
|
1735
|
+
}, z.core.$strip>;
|
|
1736
|
+
readonly result: z.ZodObject<{
|
|
1737
|
+
bundles: z.ZodArray<z.ZodObject<{
|
|
1738
|
+
name: z.ZodString;
|
|
1739
|
+
description: z.ZodString;
|
|
1740
|
+
skill_count: z.ZodNumber;
|
|
1741
|
+
source: z.ZodLiteral<"bundle">;
|
|
1742
|
+
}, z.core.$strip>>;
|
|
1743
|
+
}, z.core.$strip>;
|
|
1744
|
+
};
|
|
1745
|
+
readonly 'commands.bundle_resolve': {
|
|
1746
|
+
readonly params: z.ZodObject<{
|
|
1747
|
+
profile_home: z.ZodString;
|
|
1748
|
+
command: z.ZodString;
|
|
1749
|
+
}, z.core.$strip>;
|
|
1750
|
+
readonly result: z.ZodObject<{
|
|
1751
|
+
name: z.ZodString;
|
|
1752
|
+
source: z.ZodLiteral<"bundle">;
|
|
1753
|
+
message: z.ZodString;
|
|
1754
|
+
loaded_skills: z.ZodArray<z.ZodString>;
|
|
1755
|
+
missing_skills: z.ZodArray<z.ZodString>;
|
|
1756
|
+
}, z.core.$strip>;
|
|
1757
|
+
};
|
|
1507
1758
|
readonly 'commands.moa_preset': {
|
|
1508
1759
|
readonly params: z.ZodObject<{
|
|
1509
1760
|
profile_home: z.ZodString;
|
|
@@ -1754,6 +2005,8 @@ export type SidecarMethods = typeof SIDECAR_METHODS;
|
|
|
1754
2005
|
export type SidecarMethodName = keyof SidecarMethods;
|
|
1755
2006
|
export type SidecarParams<M extends SidecarMethodName> = z.input<SidecarMethods[M]['params']>;
|
|
1756
2007
|
export type SidecarResult<M extends SidecarMethodName> = z.output<SidecarMethods[M]['result']>;
|
|
2008
|
+
/** A result before its schema applies defaults (what a fake sidecar may answer; the call parses it). */
|
|
2009
|
+
export type SidecarResultInput<M extends SidecarMethodName> = z.input<SidecarMethods[M]['result']>;
|
|
1757
2010
|
export type SidecarStreamEvent<M extends SidecarMethodName> = SidecarMethods[M] extends {
|
|
1758
2011
|
stream: infer S extends z.ZodType;
|
|
1759
2012
|
} ? z.output<S> : never;
|
package/dist/sidecar/methods.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { AUX_METHODS, COMMANDS_METHODS, CRON_METHODS, GATEWAY_METHODS, GOALS_METHODS, KANBAN_METHODS, MCP_METHODS, PROCESS_METHODS, PROFILES_METHODS, PROVIDERS_METHODS, SKILLS_METHODS, STATE_DB_METHODS, STT_METHODS, OAUTH_METHODS, TEXT_METHODS, USAGE_METHODS, WORKTREE_METHODS, CHAT_METHODS, CONFIG_METHODS, } from './namespaces.js';
|
|
2
|
+
import { AUX_METHODS, COMMANDS_METHODS, CRON_METHODS, GATEWAY_METHODS, GOALS_METHODS, KANBAN_METHODS, MCP_METHODS, PROCESS_METHODS, PROFILES_METHODS, PROVIDERS_METHODS, SKILLS_METHODS, STATE_DB_METHODS, STT_METHODS, OAUTH_METHODS, TEXT_METHODS, USAGE_METHODS, WORKTREE_METHODS, CHECKPOINTS_METHODS, CHAT_METHODS, CONFIG_METHODS, } from './namespaces.js';
|
|
3
3
|
import { OkResultSchema, RpcCancelParamsSchema, RpcCancelResultSchema, RpcMethodsResultSchema, RuntimeDescribeSchema, RuntimeEnsureCurrentResultSchema, RuntimeEnvParamsSchema, RuntimeHandshakeParamsSchema, RuntimeShutdownParamsSchema, } from './runtime.js';
|
|
4
4
|
const Empty = z.object({});
|
|
5
5
|
/**
|
|
@@ -32,6 +32,7 @@ export const SIDECAR_METHODS = {
|
|
|
32
32
|
...USAGE_METHODS,
|
|
33
33
|
...GATEWAY_METHODS,
|
|
34
34
|
...WORKTREE_METHODS,
|
|
35
|
+
...CHECKPOINTS_METHODS,
|
|
35
36
|
...CONFIG_METHODS,
|
|
36
37
|
...CHAT_METHODS,
|
|
37
38
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"methods.js","sourceRoot":"","sources":["../../src/sidecar/methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EACL,WAAW,EAAE,gBAAgB,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,gBAAgB,EAC3I,iBAAiB,EAAE,cAAc,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"methods.js","sourceRoot":"","sources":["../../src/sidecar/methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EACL,WAAW,EAAE,gBAAgB,EAAE,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,gBAAgB,EAC3I,iBAAiB,EAAE,cAAc,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,YAAY,EAAE,cAAc,GAClL,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,cAAc,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,qBAAqB,EAC3G,gCAAgC,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,2BAA2B,GACpH,MAAM,cAAc,CAAA;AAErB,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE1B;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,YAAY,EAAE,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,EAAE,qBAAqB,EAAE;IAC9E,aAAa,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,sBAAsB,EAAE;IAChE,mBAAmB,EAAE,EAAE,MAAM,EAAE,4BAA4B,EAAE,MAAM,EAAE,qBAAqB,EAAE;IAC5F,gBAAgB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,qBAAqB,EAAE;IAClE,wBAAwB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,gCAAgC,EAAE;IACrF,kBAAkB,EAAE,EAAE,MAAM,EAAE,2BAA2B,EAAE,MAAM,EAAE,cAAc,EAAE;IACnF,aAAa,EAAE,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,EAAE,cAAc,EAAE;IACzE,GAAG,aAAa;IAChB,GAAG,gBAAgB;IACnB,GAAG,cAAc;IACjB,GAAG,gBAAgB;IACnB,GAAG,gBAAgB;IACnB,GAAG,cAAc;IACjB,GAAG,WAAW;IACd,GAAG,WAAW;IACd,GAAG,YAAY;IACf,GAAG,iBAAiB;IACpB,GAAG,aAAa;IAChB,GAAG,WAAW;IACd,GAAG,YAAY;IACf,GAAG,eAAe;IAClB,GAAG,aAAa;IAChB,GAAG,eAAe;IAClB,GAAG,gBAAgB;IACnB,GAAG,mBAAmB;IACtB,GAAG,cAAc;IACjB,GAAG,YAAY;CACP,CAAA;AAUV,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,IAAI,CAAC,eAAe,CAAwB,CAAA"}
|