@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.
Files changed (66) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.js +1 -0
  3. package/dist/index.js.map +1 -1
  4. package/dist/openapi.js +5 -1
  5. package/dist/openapi.js.map +1 -1
  6. package/dist/router.d.ts +4169 -1107
  7. package/dist/routes/automation.d.ts +173 -10
  8. package/dist/routes/automation.js +17 -9
  9. package/dist/routes/automation.js.map +1 -1
  10. package/dist/routes/chat.d.ts +1215 -16
  11. package/dist/routes/chat.js +5 -3
  12. package/dist/routes/chat.js.map +1 -1
  13. package/dist/routes/core.d.ts +11 -0
  14. package/dist/routes/core.js +3 -0
  15. package/dist/routes/core.js.map +1 -1
  16. package/dist/routes/git.d.ts +98 -2
  17. package/dist/routes/git.js +20 -6
  18. package/dist/routes/git.js.map +1 -1
  19. package/dist/routes/raw.d.ts +3 -1
  20. package/dist/routes/raw.js +31 -7
  21. package/dist/routes/raw.js.map +1 -1
  22. package/dist/routes/sessions.d.ts +3080 -539
  23. package/dist/routes/sessions.js +68 -1
  24. package/dist/routes/sessions.js.map +1 -1
  25. package/dist/routes/settings.d.ts +132 -2
  26. package/dist/routes/settings.js +4 -4
  27. package/dist/routes/settings.js.map +1 -1
  28. package/dist/routes/tools.d.ts +425 -19
  29. package/dist/routes/tools.js +23 -4
  30. package/dist/routes/tools.js.map +1 -1
  31. package/dist/routes/workspaces.d.ts +96 -0
  32. package/dist/routes/workspaces.js +18 -1
  33. package/dist/routes/workspaces.js.map +1 -1
  34. package/dist/sidecar/methods.d.ts +253 -0
  35. package/dist/sidecar/methods.js +2 -1
  36. package/dist/sidecar/methods.js.map +1 -1
  37. package/dist/sidecar/namespaces.d.ts +381 -1
  38. package/dist/sidecar/namespaces.js +89 -10
  39. package/dist/sidecar/namespaces.js.map +1 -1
  40. package/dist/sidecar/version.d.ts +1 -1
  41. package/dist/sidecar/version.js +1 -1
  42. package/dist/sidecar/version.js.map +1 -1
  43. package/dist/sse.d.ts +79 -14
  44. package/dist/sse.js +13 -6
  45. package/dist/sse.js.map +1 -1
  46. package/dist/theme.d.ts +10 -0
  47. package/dist/theme.js +10 -0
  48. package/dist/theme.js.map +1 -0
  49. package/dist/views.d.ts +1419 -39
  50. package/dist/views.js +215 -25
  51. package/dist/views.js.map +1 -1
  52. package/fixtures/sidecar/checkpoints.json +50 -0
  53. package/fixtures/sidecar/commands.json +250 -96
  54. package/fixtures/sidecar/cron.json +38 -55
  55. package/fixtures/sidecar/goals.json +6 -6
  56. package/fixtures/sidecar/kanban.json +84 -67
  57. package/fixtures/sidecar/plugins.json +171 -172
  58. package/fixtures/sidecar/process.json +25 -0
  59. package/fixtures/sidecar/profiles.json +10 -2
  60. package/fixtures/sidecar/providers.json +25 -12
  61. package/fixtures/sidecar/rpc.json +17 -0
  62. package/fixtures/sidecar/runtime.json +22 -29
  63. package/fixtures/sidecar/state_db.json +15 -0
  64. package/fixtures/sidecar/text.json +2 -2
  65. package/fixtures/sidecar/usage.json +38 -0
  66. package/package.json +1 -1
@@ -45,7 +45,7 @@
45
45
  "color": "",
46
46
  "default_workdir": null,
47
47
  "project_id": null,
48
- "created_at": 1789936415,
48
+ "created_at": 1791736147,
49
49
  "archived": false,
50
50
  "db_path": "<home>/kanban/boards/experiments/kanban.db"
51
51
  },
@@ -72,7 +72,7 @@
72
72
  "color": "",
73
73
  "default_workdir": null,
74
74
  "project_id": null,
75
- "created_at": 1789936415,
75
+ "created_at": 1791736147,
76
76
  "archived": false,
77
77
  "db_path": "<home>/kanban/boards/experiments/kanban.db"
78
78
  },
@@ -112,7 +112,7 @@
112
112
  "result": {
113
113
  "slug": "experiments",
114
114
  "action": "archived",
115
- "new_path": "<home>/kanban/boards/_archived/experiments-1789936416"
115
+ "new_path": "<home>/kanban/boards/_archived/experiments-1791736147"
116
116
  },
117
117
  "current": "default",
118
118
  "read_only": false
@@ -131,14 +131,14 @@
131
131
  },
132
132
  "result": {
133
133
  "task": {
134
- "id": "t_b8db09c1",
134
+ "id": "t_d6c468b7",
135
135
  "title": "first task",
136
136
  "body": "details",
137
137
  "assignee": null,
138
138
  "status": "ready",
139
139
  "priority": 2,
140
140
  "created_by": "webui",
141
- "created_at": 1789936416,
141
+ "created_at": 1791736147,
142
142
  "started_at": null,
143
143
  "completed_at": null,
144
144
  "workspace_kind": "scratch",
@@ -169,6 +169,8 @@
169
169
  "block_kind": null,
170
170
  "block_recurrences": 0,
171
171
  "completion_contract": "local-only",
172
+ "claim_live": false,
173
+ "has_completion_evidence": false,
172
174
  "age_seconds": {
173
175
  "created_age_seconds": 0,
174
176
  "started_age_seconds": null,
@@ -193,14 +195,14 @@
193
195
  },
194
196
  "result": {
195
197
  "task": {
196
- "id": "t_974ed3b5",
198
+ "id": "t_72b6726b",
197
199
  "title": "second task",
198
200
  "body": null,
199
201
  "assignee": null,
200
202
  "status": "ready",
201
203
  "priority": 0,
202
204
  "created_by": "webui",
203
- "created_at": 1789936416,
205
+ "created_at": 1791736147,
204
206
  "started_at": null,
205
207
  "completed_at": null,
206
208
  "workspace_kind": "scratch",
@@ -231,6 +233,8 @@
231
233
  "block_kind": null,
232
234
  "block_recurrences": 0,
233
235
  "completion_contract": "local-only",
236
+ "claim_live": false,
237
+ "has_completion_evidence": false,
234
238
  "age_seconds": {
235
239
  "created_age_seconds": 0,
236
240
  "started_age_seconds": null,
@@ -266,14 +270,14 @@
266
270
  "name": "ready",
267
271
  "tasks": [
268
272
  {
269
- "id": "t_b8db09c1",
273
+ "id": "t_d6c468b7",
270
274
  "title": "first task",
271
275
  "body": "details",
272
276
  "assignee": null,
273
277
  "status": "ready",
274
278
  "priority": 2,
275
279
  "created_by": "webui",
276
- "created_at": 1789936416,
280
+ "created_at": 1791736147,
277
281
  "started_at": null,
278
282
  "completed_at": null,
279
283
  "workspace_kind": "scratch",
@@ -304,6 +308,8 @@
304
308
  "block_kind": null,
305
309
  "block_recurrences": 0,
306
310
  "completion_contract": "local-only",
311
+ "claim_live": false,
312
+ "has_completion_evidence": false,
307
313
  "age_seconds": {
308
314
  "created_age_seconds": 0,
309
315
  "started_age_seconds": null,
@@ -322,14 +328,14 @@
322
328
  "comment_count": 0
323
329
  },
324
330
  {
325
- "id": "t_974ed3b5",
331
+ "id": "t_72b6726b",
326
332
  "title": "second task",
327
333
  "body": null,
328
334
  "assignee": null,
329
335
  "status": "ready",
330
336
  "priority": 0,
331
337
  "created_by": "webui",
332
- "created_at": 1789936416,
338
+ "created_at": 1791736147,
333
339
  "started_at": null,
334
340
  "completed_at": null,
335
341
  "workspace_kind": "scratch",
@@ -360,6 +366,8 @@
360
366
  "block_kind": null,
361
367
  "block_recurrences": 0,
362
368
  "completion_contract": "local-only",
369
+ "claim_live": false,
370
+ "has_completion_evidence": false,
363
371
  "age_seconds": {
364
372
  "created_age_seconds": 0,
365
373
  "started_age_seconds": null,
@@ -458,7 +466,7 @@
458
466
  },
459
467
  "by_assignee": {},
460
468
  "oldest_ready_age_seconds": 0,
461
- "now": 1789936416
469
+ "now": 1791736147
462
470
  }
463
471
  }
464
472
  ],
@@ -478,6 +486,17 @@
478
486
  }
479
487
  }
480
488
  ],
489
+ "kanban.normalize_board": [
490
+ {
491
+ "params": {
492
+ "profile_home": "<home>",
493
+ "board": "default"
494
+ },
495
+ "result": {
496
+ "board": "default"
497
+ }
498
+ }
499
+ ],
481
500
  "kanban.events": [
482
501
  {
483
502
  "params": {
@@ -489,7 +508,7 @@
489
508
  "events": [
490
509
  {
491
510
  "id": 1,
492
- "task_id": "t_b8db09c1",
511
+ "task_id": "t_d6c468b7",
493
512
  "run_id": null,
494
513
  "kind": "created",
495
514
  "payload": {
@@ -507,11 +526,11 @@
507
526
  "model_override": null,
508
527
  "provider_override": null
509
528
  },
510
- "created_at": 1789936416
529
+ "created_at": 1791736147
511
530
  },
512
531
  {
513
532
  "id": 2,
514
- "task_id": "t_974ed3b5",
533
+ "task_id": "t_72b6726b",
515
534
  "run_id": null,
516
535
  "kind": "created",
517
536
  "payload": {
@@ -529,7 +548,7 @@
529
548
  "model_override": null,
530
549
  "provider_override": null
531
550
  },
532
- "created_at": 1789936416
551
+ "created_at": 1791736147
533
552
  }
534
553
  ],
535
554
  "cursor": 2,
@@ -548,10 +567,11 @@
548
567
  "reclaimed": 0,
549
568
  "promoted": 0,
550
569
  "reconciled_orphans": [],
570
+ "reaped_terminal_workers": [],
551
571
  "spawned": [],
552
572
  "skipped_unassigned": [
553
- "t_b8db09c1",
554
- "t_974ed3b5"
573
+ "t_d6c468b7",
574
+ "t_72b6726b"
555
575
  ],
556
576
  "auto_assigned_default": [],
557
577
  "skipped_nonspawnable": [],
@@ -571,18 +591,18 @@
571
591
  {
572
592
  "params": {
573
593
  "profile_home": "<home>",
574
- "task_id": "t_b8db09c1"
594
+ "task_id": "t_d6c468b7"
575
595
  },
576
596
  "result": {
577
597
  "task": {
578
- "id": "t_b8db09c1",
598
+ "id": "t_d6c468b7",
579
599
  "title": "first task",
580
600
  "body": "details",
581
601
  "assignee": null,
582
602
  "status": "ready",
583
603
  "priority": 2,
584
604
  "created_by": "webui",
585
- "created_at": 1789936416,
605
+ "created_at": 1791736147,
586
606
  "started_at": null,
587
607
  "completed_at": null,
588
608
  "workspace_kind": "scratch",
@@ -613,13 +633,15 @@
613
633
  "block_kind": null,
614
634
  "block_recurrences": 0,
615
635
  "completion_contract": "local-only",
636
+ "claim_live": false,
637
+ "has_completion_evidence": false,
616
638
  "age_seconds": {
617
- "created_age_seconds": 7,
639
+ "created_age_seconds": 2,
618
640
  "started_age_seconds": null,
619
641
  "time_to_complete_seconds": null
620
642
  },
621
643
  "age": {
622
- "created_age_seconds": 7,
644
+ "created_age_seconds": 2,
623
645
  "started_age_seconds": null,
624
646
  "time_to_complete_seconds": null
625
647
  },
@@ -629,7 +651,7 @@
629
651
  "events": [
630
652
  {
631
653
  "id": 1,
632
- "task_id": "t_b8db09c1",
654
+ "task_id": "t_d6c468b7",
633
655
  "kind": "created",
634
656
  "payload": {
635
657
  "assignee": null,
@@ -646,7 +668,7 @@
646
668
  "model_override": null,
647
669
  "provider_override": null
648
670
  },
649
- "created_at": 1789936416,
671
+ "created_at": 1791736147,
650
672
  "run_id": null
651
673
  }
652
674
  ],
@@ -663,20 +685,20 @@
663
685
  {
664
686
  "params": {
665
687
  "profile_home": "<home>",
666
- "task_id": "t_b8db09c1",
688
+ "task_id": "t_d6c468b7",
667
689
  "action": "block",
668
690
  "reason": "waiting"
669
691
  },
670
692
  "result": {
671
693
  "task": {
672
- "id": "t_b8db09c1",
694
+ "id": "t_d6c468b7",
673
695
  "title": "first task",
674
696
  "body": "details",
675
697
  "assignee": null,
676
698
  "status": "blocked",
677
699
  "priority": 2,
678
700
  "created_by": "webui",
679
- "created_at": 1789936416,
701
+ "created_at": 1791736147,
680
702
  "started_at": null,
681
703
  "completed_at": null,
682
704
  "workspace_kind": "scratch",
@@ -707,13 +729,15 @@
707
729
  "block_kind": null,
708
730
  "block_recurrences": 1,
709
731
  "completion_contract": "local-only",
732
+ "claim_live": false,
733
+ "has_completion_evidence": false,
710
734
  "age_seconds": {
711
- "created_age_seconds": 7,
735
+ "created_age_seconds": 2,
712
736
  "started_age_seconds": null,
713
737
  "time_to_complete_seconds": null
714
738
  },
715
739
  "age": {
716
- "created_age_seconds": 7,
740
+ "created_age_seconds": 2,
717
741
  "started_age_seconds": null,
718
742
  "time_to_complete_seconds": null
719
743
  },
@@ -725,19 +749,19 @@
725
749
  {
726
750
  "params": {
727
751
  "profile_home": "<home>",
728
- "task_id": "t_b8db09c1",
752
+ "task_id": "t_d6c468b7",
729
753
  "action": "unblock"
730
754
  },
731
755
  "result": {
732
756
  "task": {
733
- "id": "t_b8db09c1",
757
+ "id": "t_d6c468b7",
734
758
  "title": "first task",
735
759
  "body": "details",
736
760
  "assignee": null,
737
761
  "status": "ready",
738
762
  "priority": 2,
739
763
  "created_by": "webui",
740
- "created_at": 1789936416,
764
+ "created_at": 1791736147,
741
765
  "started_at": null,
742
766
  "completed_at": null,
743
767
  "workspace_kind": "scratch",
@@ -768,13 +792,15 @@
768
792
  "block_kind": null,
769
793
  "block_recurrences": 1,
770
794
  "completion_contract": "local-only",
795
+ "claim_live": false,
796
+ "has_completion_evidence": false,
771
797
  "age_seconds": {
772
- "created_age_seconds": 7,
798
+ "created_age_seconds": 2,
773
799
  "started_age_seconds": null,
774
800
  "time_to_complete_seconds": null
775
801
  },
776
802
  "age": {
777
- "created_age_seconds": 7,
803
+ "created_age_seconds": 2,
778
804
  "started_age_seconds": null,
779
805
  "time_to_complete_seconds": null
780
806
  },
@@ -788,7 +814,7 @@
788
814
  {
789
815
  "params": {
790
816
  "profile_home": "<home>",
791
- "task_id": "t_b8db09c1",
817
+ "task_id": "t_d6c468b7",
792
818
  "patch": {
793
819
  "title": "renamed task",
794
820
  "status": "todo"
@@ -796,14 +822,14 @@
796
822
  },
797
823
  "result": {
798
824
  "task": {
799
- "id": "t_b8db09c1",
825
+ "id": "t_d6c468b7",
800
826
  "title": "renamed task",
801
827
  "body": "details",
802
828
  "assignee": null,
803
829
  "status": "todo",
804
830
  "priority": 2,
805
831
  "created_by": "webui",
806
- "created_at": 1789936416,
832
+ "created_at": 1791736147,
807
833
  "started_at": null,
808
834
  "completed_at": null,
809
835
  "workspace_kind": "scratch",
@@ -834,13 +860,15 @@
834
860
  "block_kind": null,
835
861
  "block_recurrences": 1,
836
862
  "completion_contract": "local-only",
863
+ "claim_live": false,
864
+ "has_completion_evidence": false,
837
865
  "age_seconds": {
838
- "created_age_seconds": 7,
866
+ "created_age_seconds": 2,
839
867
  "started_age_seconds": null,
840
868
  "time_to_complete_seconds": null
841
869
  },
842
870
  "age": {
843
- "created_age_seconds": 7,
871
+ "created_age_seconds": 2,
844
872
  "started_age_seconds": null,
845
873
  "time_to_complete_seconds": null
846
874
  },
@@ -854,7 +882,7 @@
854
882
  {
855
883
  "params": {
856
884
  "profile_home": "<home>",
857
- "task_id": "t_b8db09c1",
885
+ "task_id": "t_d6c468b7",
858
886
  "body": "note"
859
887
  },
860
888
  "result": {
@@ -868,13 +896,13 @@
868
896
  {
869
897
  "params": {
870
898
  "profile_home": "<home>",
871
- "parent_id": "t_b8db09c1",
872
- "child_id": "t_974ed3b5"
899
+ "parent_id": "t_d6c468b7",
900
+ "child_id": "t_72b6726b"
873
901
  },
874
902
  "result": {
875
903
  "ok": true,
876
- "parent_id": "t_b8db09c1",
877
- "child_id": "t_974ed3b5",
904
+ "parent_id": "t_d6c468b7",
905
+ "child_id": "t_72b6726b",
878
906
  "read_only": false
879
907
  }
880
908
  }
@@ -883,14 +911,14 @@
883
911
  {
884
912
  "params": {
885
913
  "profile_home": "<home>",
886
- "parent_id": "t_b8db09c1",
887
- "child_id": "t_974ed3b5"
914
+ "parent_id": "t_d6c468b7",
915
+ "child_id": "t_72b6726b"
888
916
  },
889
917
  "result": {
890
918
  "ok": true,
891
919
  "changed": true,
892
- "parent_id": "t_b8db09c1",
893
- "child_id": "t_974ed3b5",
920
+ "parent_id": "t_d6c468b7",
921
+ "child_id": "t_72b6726b",
894
922
  "read_only": false
895
923
  }
896
924
  }
@@ -899,11 +927,11 @@
899
927
  {
900
928
  "params": {
901
929
  "profile_home": "<home>",
902
- "task_id": "t_b8db09c1"
930
+ "task_id": "t_d6c468b7"
903
931
  },
904
932
  "result": {
905
- "task_id": "t_b8db09c1",
906
- "path": "<home>/kanban/logs/t_b8db09c1.log",
933
+ "task_id": "t_d6c468b7",
934
+ "path": "<home>/kanban/logs/t_d6c468b7.log",
907
935
  "exists": false,
908
936
  "size_bytes": 0,
909
937
  "content": "",
@@ -917,8 +945,8 @@
917
945
  "profile_home": "<home>",
918
946
  "bulk": {
919
947
  "ids": [
920
- "t_b8db09c1",
921
- "t_974ed3b5"
948
+ "t_d6c468b7",
949
+ "t_72b6726b"
922
950
  ],
923
951
  "priority": 5
924
952
  }
@@ -926,27 +954,16 @@
926
954
  "result": {
927
955
  "results": [
928
956
  {
929
- "id": "t_b8db09c1",
957
+ "id": "t_d6c468b7",
930
958
  "ok": true
931
959
  },
932
960
  {
933
- "id": "t_974ed3b5",
961
+ "id": "t_72b6726b",
934
962
  "ok": true
935
963
  }
936
964
  ],
937
965
  "read_only": false
938
966
  }
939
967
  }
940
- ],
941
- "kanban.normalize_board": [
942
- {
943
- "params": {
944
- "profile_home": "<home>",
945
- "board": "Default"
946
- },
947
- "result": {
948
- "board": "default"
949
- }
950
- }
951
968
  ]
952
969
  }