@hearsay-tools/squawk 0.18.0-pr4169.8039 → 0.18.0-pr4171.8052

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 (109) hide show
  1. package/dist/built-in-cli-commands.d.ts +3 -0
  2. package/dist/built-in-cli-commands.js +152 -0
  3. package/dist/built-in-cli-commands.js.map +1 -0
  4. package/dist/built-in-tool-definitions.d.ts +4 -0
  5. package/dist/built-in-tool-definitions.js +61 -0
  6. package/dist/built-in-tool-definitions.js.map +1 -0
  7. package/dist/built-in-tools.d.ts +3 -0
  8. package/dist/built-in-tools.js +9 -0
  9. package/dist/built-in-tools.js.map +1 -0
  10. package/dist/built-in-wait-kinds.d.ts +3 -0
  11. package/dist/built-in-wait-kinds.js +10 -0
  12. package/dist/built-in-wait-kinds.js.map +1 -0
  13. package/dist/ci-wait/client.d.ts +75 -0
  14. package/dist/ci-wait/client.js +44 -13
  15. package/dist/ci-wait/client.js.map +1 -1
  16. package/dist/ci-wait/controller.d.ts +57 -1153
  17. package/dist/ci-wait/controller.js +56 -175
  18. package/dist/ci-wait/controller.js.map +1 -1
  19. package/dist/ci-wait/mcp.d.ts +1 -1
  20. package/dist/ci-wait/mcp.js +7 -5
  21. package/dist/ci-wait/mcp.js.map +1 -1
  22. package/dist/ci-wait/tool-catalog.d.ts +19 -578
  23. package/dist/ci-wait/tool-catalog.js +17 -38
  24. package/dist/ci-wait/tool-catalog.js.map +1 -1
  25. package/dist/ci-wait/tool-names.d.ts +1 -8
  26. package/dist/ci-wait/tool-names.js +8 -16
  27. package/dist/ci-wait/tool-names.js.map +1 -1
  28. package/dist/ci-wait/tool-registry.d.ts +64 -0
  29. package/dist/ci-wait/tool-registry.js +32 -0
  30. package/dist/ci-wait/tool-registry.js.map +1 -0
  31. package/dist/ci-wait/tools.d.ts +454 -10
  32. package/dist/ci-wait/tools.js +40 -28
  33. package/dist/ci-wait/tools.js.map +1 -1
  34. package/dist/cli-dispatch.js +13 -73
  35. package/dist/cli-dispatch.js.map +1 -1
  36. package/dist/contract/agent-tools.d.ts +51 -0
  37. package/dist/contract/index.d.ts +1 -0
  38. package/dist/contract/index.js +21 -0
  39. package/dist/core/cli-registry.d.ts +50 -0
  40. package/dist/core/cli-registry.js +13 -0
  41. package/dist/core/cli-registry.js.map +1 -0
  42. package/dist/delegation/park-notice.js +2 -2
  43. package/dist/delegation/park-notice.js.map +1 -1
  44. package/dist/delegation/transport.d.ts +12 -12
  45. package/dist/home/backup-args.d.ts +18 -0
  46. package/dist/home/backup-args.js +35 -0
  47. package/dist/home/backup-args.js.map +1 -0
  48. package/dist/home/entry.js +9 -6
  49. package/dist/home/entry.js.map +1 -1
  50. package/dist/index.js +3 -0
  51. package/dist/index.js.map +1 -1
  52. package/dist/runs/run-archive.d.ts +72 -72
  53. package/dist/runs/run-exits.d.ts +336 -336
  54. package/dist/server/server.d.ts +1590 -1590
  55. package/dist/subcommands.d.ts +2 -10
  56. package/dist/subcommands.js +17 -62
  57. package/dist/subcommands.js.map +1 -1
  58. package/dist/workflows/run/compose.d.ts +1 -1
  59. package/dist/workflows/run/continuation-session.js +2 -2
  60. package/dist/workflows/run/continuation-session.js.map +1 -1
  61. package/dist/workflows/run/done-accepted.js +4 -4
  62. package/dist/workflows/run/done-accepted.js.map +1 -1
  63. package/dist/workflows/run/input-batch.js +2 -2
  64. package/dist/workflows/run/input-batch.js.map +1 -1
  65. package/dist/workflows/run/input-delivery.js +2 -2
  66. package/dist/workflows/run/input-delivery.js.map +1 -1
  67. package/dist/workflows/run/squawk-tools.d.ts +1 -1
  68. package/dist/workflows/run/step-loop.js +2 -2
  69. package/dist/workflows/run/step-loop.js.map +1 -1
  70. package/dist/workflows/run/subagent-waits.js +2 -2
  71. package/dist/workflows/run/subagent-waits.js.map +1 -1
  72. package/dist/workflows/run/turn-settler.js +2 -2
  73. package/dist/workflows/run/turn-settler.js.map +1 -1
  74. package/dist/workflows/run/wait-engine.d.ts +3 -1
  75. package/dist/workflows/run/wait-engine.js +50 -6
  76. package/dist/workflows/run/wait-engine.js.map +1 -1
  77. package/dist/workflows/run/wait-input-descriptors.d.ts +3 -0
  78. package/dist/workflows/run/wait-input-descriptors.js +30 -0
  79. package/dist/workflows/run/wait-input-descriptors.js.map +1 -0
  80. package/dist/workflows/run/wait-kind-registry.d.ts +73 -0
  81. package/dist/workflows/run/wait-kind-registry.js +35 -0
  82. package/dist/workflows/run/wait-kind-registry.js.map +1 -0
  83. package/dist/workflows/run/wait-kinds.d.ts +1033 -4
  84. package/dist/workflows/run/wait-kinds.js +45 -9
  85. package/dist/workflows/run/wait-kinds.js.map +1 -1
  86. package/dist/workflows/run/wait-registration-tool.js +3 -3
  87. package/dist/workflows/run/wait-registration-tool.js.map +1 -1
  88. package/dist/workflows/run/wait-registration.js +13 -8
  89. package/dist/workflows/run/wait-registration.js.map +1 -1
  90. package/dist/workflows/run/wait-registry.d.ts +5 -1
  91. package/dist/workflows/run/wait-registry.js +42 -2
  92. package/dist/workflows/run/wait-registry.js.map +1 -1
  93. package/dist/workflows/run/wake-admission.js +7 -3
  94. package/dist/workflows/run/wake-admission.js.map +1 -1
  95. package/dist/workflows/run.d.ts +1 -1
  96. package/dist/workflows/run.js.map +1 -1
  97. package/dist/workflows/waits.d.ts +3 -8
  98. package/dist/workflows/waits.js +10 -15
  99. package/dist/workflows/waits.js.map +1 -1
  100. package/dist/workspace/backups.d.ts +1 -18
  101. package/dist/workspace/backups.js +2 -34
  102. package/dist/workspace/backups.js.map +1 -1
  103. package/package.json +4 -4
  104. package/scripts/benchmark-runtime.ts +6 -0
  105. package/scripts/measure-transcript-facts-health.mjs +6 -0
  106. package/scripts/mock-ci-tool.mjs +1 -1
  107. package/scripts/mock-wire-tools.mjs +7 -1
  108. package/scripts/omp-ci-wait.mjs +4 -14
  109. package/scripts/pi-ci-wait.mjs +3 -13
@@ -1,58 +1,21 @@
1
1
  import { z } from 'zod';
2
+ /**
3
+ * The Anthropic tool API refuses a top-level `oneOf`/`anyOf`/`allOf`, so `cezar_wait` advertises
4
+ * one flat object: every kind's fields side by side, with `kind` as an enum. Each field's bounds
5
+ * come from its kind's own schema; the discriminated union validates on the server.
6
+ */
7
+ export declare function flatWaitInputSchema(): {
8
+ type: 'object';
9
+ properties: Record<string, unknown>;
10
+ required: string[];
11
+ additionalProperties: boolean;
12
+ };
2
13
  export declare const waitToolDefinition: {
3
14
  name: string;
4
15
  description: string;
5
- inputSchema: {
16
+ readonly inputSchema: {
6
17
  type: 'object';
7
- properties: {
8
- kind: {
9
- type: string;
10
- enum: ("peer" | "pr" | "process" | "request" | "timer" | "worker")[];
11
- description: string;
12
- };
13
- operation_id: {
14
- description: string;
15
- };
16
- pr: {
17
- description: string;
18
- };
19
- until: {
20
- description: string;
21
- };
22
- wake_on_conflict: {
23
- description: string;
24
- };
25
- head_sha: {
26
- description: string;
27
- };
28
- worker_ids: {
29
- description: string;
30
- };
31
- request_ids: {
32
- description: string;
33
- };
34
- peer_ids: {
35
- description: string;
36
- };
37
- mode: {
38
- description: string;
39
- };
40
- timeout_seconds: {
41
- description: string;
42
- };
43
- seconds: {
44
- description: string;
45
- };
46
- pid: {
47
- description: string;
48
- };
49
- exit_file: {
50
- description: string;
51
- };
52
- note: {
53
- description: string;
54
- };
55
- };
18
+ properties: Record<string, unknown>;
56
19
  required: string[];
57
20
  additionalProperties: boolean;
58
21
  };
@@ -549,533 +512,11 @@ export declare const automationToolDefinition: {
549
512
  additionalProperties: boolean;
550
513
  };
551
514
  };
552
- /** Tool definitions in the same order every adapter advertises them. */
553
- export declare function squawkToolDefinitions(env?: NodeJS.ProcessEnv): ({
554
- name: string;
555
- description: string;
556
- inputSchema: {
557
- type: 'object';
558
- properties: {
559
- kind: {
560
- type: string;
561
- enum: ("peer" | "pr" | "process" | "request" | "timer" | "worker")[];
562
- description: string;
563
- };
564
- operation_id: {
565
- description: string;
566
- };
567
- pr: {
568
- description: string;
569
- };
570
- until: {
571
- description: string;
572
- };
573
- wake_on_conflict: {
574
- description: string;
575
- };
576
- head_sha: {
577
- description: string;
578
- };
579
- worker_ids: {
580
- description: string;
581
- };
582
- request_ids: {
583
- description: string;
584
- };
585
- peer_ids: {
586
- description: string;
587
- };
588
- mode: {
589
- description: string;
590
- };
591
- timeout_seconds: {
592
- description: string;
593
- };
594
- seconds: {
595
- description: string;
596
- };
597
- pid: {
598
- description: string;
599
- };
600
- exit_file: {
601
- description: string;
602
- };
603
- note: {
604
- description: string;
605
- };
606
- };
607
- required: string[];
608
- additionalProperties: boolean;
609
- };
610
- } | {
611
- name: string;
612
- description: string;
613
- inputSchema: {
614
- $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
615
- $id?: string;
616
- $anchor?: string;
617
- $ref?: string;
618
- $dynamicRef?: string;
619
- $dynamicAnchor?: string;
620
- $vocabulary?: Record<string, boolean>;
621
- $comment?: string;
622
- $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
623
- additionalItems?: z.core.JSONSchema._JSONSchema;
624
- unevaluatedItems?: z.core.JSONSchema._JSONSchema;
625
- prefixItems?: z.core.JSONSchema._JSONSchema[];
626
- items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
627
- contains?: z.core.JSONSchema._JSONSchema;
628
- additionalProperties?: z.core.JSONSchema._JSONSchema;
629
- unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
630
- properties?: Record<string, z.core.JSONSchema._JSONSchema>;
631
- patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
632
- dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
633
- propertyNames?: z.core.JSONSchema._JSONSchema;
634
- if?: z.core.JSONSchema._JSONSchema;
635
- then?: z.core.JSONSchema._JSONSchema;
636
- else?: z.core.JSONSchema._JSONSchema;
637
- allOf?: z.core.JSONSchema.JSONSchema[];
638
- anyOf?: z.core.JSONSchema.JSONSchema[];
639
- oneOf?: z.core.JSONSchema.JSONSchema[];
640
- not?: z.core.JSONSchema._JSONSchema;
641
- multipleOf?: number;
642
- maximum?: number;
643
- exclusiveMaximum?: number | boolean;
644
- minimum?: number;
645
- exclusiveMinimum?: number | boolean;
646
- maxLength?: number;
647
- minLength?: number;
648
- pattern?: string;
649
- maxItems?: number;
650
- minItems?: number;
651
- uniqueItems?: boolean;
652
- maxContains?: number;
653
- minContains?: number;
654
- maxProperties?: number;
655
- minProperties?: number;
656
- required?: string[];
657
- dependentRequired?: Record<string, string[]>;
658
- enum?: Array<string | number | boolean | null>;
659
- const?: string | number | boolean | null;
660
- id?: string;
661
- title?: string;
662
- description?: string;
663
- default?: unknown;
664
- deprecated?: boolean;
665
- readOnly?: boolean;
666
- writeOnly?: boolean;
667
- nullable?: boolean;
668
- examples?: unknown[];
669
- format?: string;
670
- contentMediaType?: string;
671
- contentEncoding?: string;
672
- contentSchema?: z.core.JSONSchema.JSONSchema;
673
- _prefault?: unknown;
674
- "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
675
- questions: z.ZodArray<z.ZodObject<{
676
- id: z.ZodOptional<z.ZodString>;
677
- header: z.ZodString;
678
- question: z.ZodString;
679
- options: z.ZodOptional<z.ZodArray<z.ZodObject<{
680
- label: z.ZodString;
681
- description: z.ZodOptional<z.ZodString>;
682
- }, z.core.$strict>>>;
683
- multiSelect: z.ZodOptional<z.ZodBoolean>;
684
- allowFreeText: z.ZodOptional<z.ZodBoolean>;
685
- }, z.core.$strict>>;
686
- context: z.ZodString;
687
- }, z.core.$strict>>;
688
- type: 'object';
689
- };
690
- } | {
691
- name: string;
692
- description: string;
693
- inputSchema: {
694
- $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
695
- $id?: string;
696
- $anchor?: string;
697
- $ref?: string;
698
- $dynamicRef?: string;
699
- $dynamicAnchor?: string;
700
- $vocabulary?: Record<string, boolean>;
701
- $comment?: string;
702
- $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
703
- additionalItems?: z.core.JSONSchema._JSONSchema;
704
- unevaluatedItems?: z.core.JSONSchema._JSONSchema;
705
- prefixItems?: z.core.JSONSchema._JSONSchema[];
706
- items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
707
- contains?: z.core.JSONSchema._JSONSchema;
708
- additionalProperties?: z.core.JSONSchema._JSONSchema;
709
- unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
710
- properties?: Record<string, z.core.JSONSchema._JSONSchema>;
711
- patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
712
- dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
713
- propertyNames?: z.core.JSONSchema._JSONSchema;
714
- if?: z.core.JSONSchema._JSONSchema;
715
- then?: z.core.JSONSchema._JSONSchema;
716
- else?: z.core.JSONSchema._JSONSchema;
717
- allOf?: z.core.JSONSchema.JSONSchema[];
718
- anyOf?: z.core.JSONSchema.JSONSchema[];
719
- oneOf?: z.core.JSONSchema.JSONSchema[];
720
- not?: z.core.JSONSchema._JSONSchema;
721
- multipleOf?: number;
722
- maximum?: number;
723
- exclusiveMaximum?: number | boolean;
724
- minimum?: number;
725
- exclusiveMinimum?: number | boolean;
726
- maxLength?: number;
727
- minLength?: number;
728
- pattern?: string;
729
- maxItems?: number;
730
- minItems?: number;
731
- uniqueItems?: boolean;
732
- maxContains?: number;
733
- minContains?: number;
734
- maxProperties?: number;
735
- minProperties?: number;
736
- required?: string[];
737
- dependentRequired?: Record<string, string[]>;
738
- enum?: Array<string | number | boolean | null>;
739
- const?: string | number | boolean | null;
740
- id?: string;
741
- title?: string;
742
- description?: string;
743
- default?: unknown;
744
- deprecated?: boolean;
745
- readOnly?: boolean;
746
- writeOnly?: boolean;
747
- nullable?: boolean;
748
- examples?: unknown[];
749
- format?: string;
750
- contentMediaType?: string;
751
- contentEncoding?: string;
752
- contentSchema?: z.core.JSONSchema.JSONSchema;
753
- _prefault?: unknown;
754
- "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
755
- wait_id: z.ZodUUID;
756
- }, z.core.$strict>>;
757
- type: 'object';
758
- };
759
- } | {
515
+ /** Tool definitions in registration order, evaluated only after boot seals. */
516
+ export declare function squawkToolDefinitions(env?: NodeJS.ProcessEnv): {
760
517
  name: string;
761
518
  description: string;
762
- inputSchema: {
763
- $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
764
- $id?: string;
765
- $anchor?: string;
766
- $ref?: string;
767
- $dynamicRef?: string;
768
- $dynamicAnchor?: string;
769
- $vocabulary?: Record<string, boolean>;
770
- $comment?: string;
771
- $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
772
- additionalItems?: z.core.JSONSchema._JSONSchema;
773
- unevaluatedItems?: z.core.JSONSchema._JSONSchema;
774
- prefixItems?: z.core.JSONSchema._JSONSchema[];
775
- items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
776
- contains?: z.core.JSONSchema._JSONSchema;
777
- additionalProperties?: z.core.JSONSchema._JSONSchema;
778
- unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
779
- properties?: Record<string, z.core.JSONSchema._JSONSchema>;
780
- patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
781
- dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
782
- propertyNames?: z.core.JSONSchema._JSONSchema;
783
- if?: z.core.JSONSchema._JSONSchema;
784
- then?: z.core.JSONSchema._JSONSchema;
785
- else?: z.core.JSONSchema._JSONSchema;
786
- allOf?: z.core.JSONSchema.JSONSchema[];
787
- anyOf?: z.core.JSONSchema.JSONSchema[];
788
- oneOf?: z.core.JSONSchema.JSONSchema[];
789
- not?: z.core.JSONSchema._JSONSchema;
790
- multipleOf?: number;
791
- maximum?: number;
792
- exclusiveMaximum?: number | boolean;
793
- minimum?: number;
794
- exclusiveMinimum?: number | boolean;
795
- maxLength?: number;
796
- minLength?: number;
797
- pattern?: string;
798
- maxItems?: number;
799
- minItems?: number;
800
- uniqueItems?: boolean;
801
- maxContains?: number;
802
- minContains?: number;
803
- maxProperties?: number;
804
- minProperties?: number;
805
- required?: string[];
806
- dependentRequired?: Record<string, string[]>;
807
- enum?: Array<string | number | boolean | null>;
808
- const?: string | number | boolean | null;
809
- id?: string;
810
- title?: string;
811
- description?: string;
812
- default?: unknown;
813
- deprecated?: boolean;
814
- readOnly?: boolean;
815
- writeOnly?: boolean;
816
- nullable?: boolean;
817
- examples?: unknown[];
818
- format?: string;
819
- contentMediaType?: string;
820
- contentEncoding?: string;
821
- contentSchema?: z.core.JSONSchema.JSONSchema;
822
- _prefault?: unknown;
823
- "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
824
- summary: z.ZodOptional<z.ZodString>;
825
- }, z.core.$strict>>;
826
- type: 'object';
827
- };
828
- } | {
829
- name: string;
830
- description: string;
831
- inputSchema: {
832
- $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
833
- $id?: string;
834
- $anchor?: string;
835
- $ref?: string;
836
- $dynamicRef?: string;
837
- $dynamicAnchor?: string;
838
- $vocabulary?: Record<string, boolean>;
839
- $comment?: string;
840
- $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
841
- additionalItems?: z.core.JSONSchema._JSONSchema;
842
- unevaluatedItems?: z.core.JSONSchema._JSONSchema;
843
- prefixItems?: z.core.JSONSchema._JSONSchema[];
844
- items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
845
- contains?: z.core.JSONSchema._JSONSchema;
846
- additionalProperties?: z.core.JSONSchema._JSONSchema;
847
- unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
848
- properties?: Record<string, z.core.JSONSchema._JSONSchema>;
849
- patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
850
- dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
851
- propertyNames?: z.core.JSONSchema._JSONSchema;
852
- if?: z.core.JSONSchema._JSONSchema;
853
- then?: z.core.JSONSchema._JSONSchema;
854
- else?: z.core.JSONSchema._JSONSchema;
855
- allOf?: z.core.JSONSchema.JSONSchema[];
856
- anyOf?: z.core.JSONSchema.JSONSchema[];
857
- oneOf?: z.core.JSONSchema.JSONSchema[];
858
- not?: z.core.JSONSchema._JSONSchema;
859
- multipleOf?: number;
860
- maximum?: number;
861
- exclusiveMaximum?: number | boolean;
862
- minimum?: number;
863
- exclusiveMinimum?: number | boolean;
864
- maxLength?: number;
865
- minLength?: number;
866
- pattern?: string;
867
- maxItems?: number;
868
- minItems?: number;
869
- uniqueItems?: boolean;
870
- maxContains?: number;
871
- minContains?: number;
872
- maxProperties?: number;
873
- minProperties?: number;
874
- required?: string[];
875
- dependentRequired?: Record<string, string[]>;
876
- enum?: Array<string | number | boolean | null>;
877
- const?: string | number | boolean | null;
878
- id?: string;
879
- title?: string;
880
- description?: string;
881
- default?: unknown;
882
- deprecated?: boolean;
883
- readOnly?: boolean;
884
- writeOnly?: boolean;
885
- nullable?: boolean;
886
- examples?: unknown[];
887
- format?: string;
888
- contentMediaType?: string;
889
- contentEncoding?: string;
890
- contentSchema?: z.core.JSONSchema.JSONSchema;
891
- _prefault?: unknown;
892
- "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
893
- command: z.ZodString;
894
- port: z.ZodNumber;
895
- cwd: z.ZodOptional<z.ZodString>;
896
- label: z.ZodOptional<z.ZodString>;
897
- path: z.ZodOptional<z.ZodString>;
898
- }, z.core.$strip>>;
899
- type: 'object';
900
- };
901
- } | {
902
- name: string;
903
- description: string;
904
- inputSchema: {
905
- $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
906
- $id?: string;
907
- $anchor?: string;
908
- $ref?: string;
909
- $dynamicRef?: string;
910
- $dynamicAnchor?: string;
911
- $vocabulary?: Record<string, boolean>;
912
- $comment?: string;
913
- $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
914
- additionalItems?: z.core.JSONSchema._JSONSchema;
915
- unevaluatedItems?: z.core.JSONSchema._JSONSchema;
916
- prefixItems?: z.core.JSONSchema._JSONSchema[];
917
- items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
918
- contains?: z.core.JSONSchema._JSONSchema;
919
- additionalProperties?: z.core.JSONSchema._JSONSchema;
920
- unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
921
- properties?: Record<string, z.core.JSONSchema._JSONSchema>;
922
- patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
923
- dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
924
- propertyNames?: z.core.JSONSchema._JSONSchema;
925
- if?: z.core.JSONSchema._JSONSchema;
926
- then?: z.core.JSONSchema._JSONSchema;
927
- else?: z.core.JSONSchema._JSONSchema;
928
- allOf?: z.core.JSONSchema.JSONSchema[];
929
- anyOf?: z.core.JSONSchema.JSONSchema[];
930
- oneOf?: z.core.JSONSchema.JSONSchema[];
931
- not?: z.core.JSONSchema._JSONSchema;
932
- multipleOf?: number;
933
- maximum?: number;
934
- exclusiveMaximum?: number | boolean;
935
- minimum?: number;
936
- exclusiveMinimum?: number | boolean;
937
- maxLength?: number;
938
- minLength?: number;
939
- pattern?: string;
940
- maxItems?: number;
941
- minItems?: number;
942
- uniqueItems?: boolean;
943
- maxContains?: number;
944
- minContains?: number;
945
- maxProperties?: number;
946
- minProperties?: number;
947
- required?: string[];
948
- dependentRequired?: Record<string, string[]>;
949
- enum?: Array<string | number | boolean | null>;
950
- const?: string | number | boolean | null;
951
- id?: string;
952
- title?: string;
953
- description?: string;
954
- default?: unknown;
955
- deprecated?: boolean;
956
- readOnly?: boolean;
957
- writeOnly?: boolean;
958
- nullable?: boolean;
959
- examples?: unknown[];
960
- format?: string;
961
- contentMediaType?: string;
962
- contentEncoding?: string;
963
- contentSchema?: z.core.JSONSchema.JSONSchema;
964
- _prefault?: unknown;
965
- "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
966
- port: z.ZodNumber;
967
- restart: z.ZodOptional<z.ZodBoolean>;
968
- }, z.core.$strict>>;
969
- type: 'object';
970
- };
971
- } | {
972
- name: string;
973
- description: string;
974
- inputSchema: {
975
- $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
976
- $id?: string;
977
- $anchor?: string;
978
- $ref?: string;
979
- $dynamicRef?: string;
980
- $dynamicAnchor?: string;
981
- $vocabulary?: Record<string, boolean>;
982
- $comment?: string;
983
- $defs?: Record<string, z.core.JSONSchema.JSONSchema>;
984
- additionalItems?: z.core.JSONSchema._JSONSchema;
985
- unevaluatedItems?: z.core.JSONSchema._JSONSchema;
986
- prefixItems?: z.core.JSONSchema._JSONSchema[];
987
- items?: z.core.JSONSchema._JSONSchema | z.core.JSONSchema._JSONSchema[];
988
- contains?: z.core.JSONSchema._JSONSchema;
989
- additionalProperties?: z.core.JSONSchema._JSONSchema;
990
- unevaluatedProperties?: z.core.JSONSchema._JSONSchema;
991
- properties?: Record<string, z.core.JSONSchema._JSONSchema>;
992
- patternProperties?: Record<string, z.core.JSONSchema._JSONSchema>;
993
- dependentSchemas?: Record<string, z.core.JSONSchema._JSONSchema>;
994
- propertyNames?: z.core.JSONSchema._JSONSchema;
995
- if?: z.core.JSONSchema._JSONSchema;
996
- then?: z.core.JSONSchema._JSONSchema;
997
- else?: z.core.JSONSchema._JSONSchema;
998
- allOf?: z.core.JSONSchema.JSONSchema[];
999
- anyOf?: z.core.JSONSchema.JSONSchema[];
1000
- oneOf?: z.core.JSONSchema.JSONSchema[];
1001
- not?: z.core.JSONSchema._JSONSchema;
1002
- multipleOf?: number;
1003
- maximum?: number;
1004
- exclusiveMaximum?: number | boolean;
1005
- minimum?: number;
1006
- exclusiveMinimum?: number | boolean;
1007
- maxLength?: number;
1008
- minLength?: number;
1009
- pattern?: string;
1010
- maxItems?: number;
1011
- minItems?: number;
1012
- uniqueItems?: boolean;
1013
- maxContains?: number;
1014
- minContains?: number;
1015
- maxProperties?: number;
1016
- minProperties?: number;
1017
- required?: string[];
1018
- dependentRequired?: Record<string, string[]>;
1019
- enum?: Array<string | number | boolean | null>;
1020
- const?: string | number | boolean | null;
1021
- id?: string;
1022
- title?: string;
1023
- description?: string;
1024
- default?: unknown;
1025
- deprecated?: boolean;
1026
- readOnly?: boolean;
1027
- writeOnly?: boolean;
1028
- nullable?: boolean;
1029
- examples?: unknown[];
1030
- format?: string;
1031
- contentMediaType?: string;
1032
- contentEncoding?: string;
1033
- contentSchema?: z.core.JSONSchema.JSONSchema;
1034
- _prefault?: unknown;
1035
- "~standard": z.core.ZodStandardSchemaWithJSON<z.ZodObject<{
1036
- at: z.ZodOptional<z.ZodString>;
1037
- delay: z.ZodOptional<z.ZodString>;
1038
- latest_start: z.ZodOptional<z.ZodString>;
1039
- workflow: z.ZodOptional<z.ZodString>;
1040
- runner: z.ZodOptional<z.ZodString>;
1041
- model: z.ZodOptional<z.ZodString>;
1042
- effort: z.ZodOptional<z.ZodString>;
1043
- name: z.ZodString;
1044
- prompt: z.ZodString;
1045
- enable: z.ZodOptional<z.ZodBoolean>;
1046
- }, z.core.$strict>>;
1047
- type: 'object';
1048
- };
1049
- } | {
1050
- name: string;
1051
- description: string;
1052
- inputSchema: {
1053
- type: 'object';
1054
- properties: {
1055
- action: {
1056
- type: string;
1057
- enum: ("cancel" | "enable" | "list" | "pause" | "show" | "update")[];
1058
- description: string;
1059
- };
1060
- archived: {
1061
- description: string;
1062
- };
1063
- };
1064
- required: string[];
1065
- additionalProperties: boolean;
1066
- };
1067
- } | {
1068
- name: string;
1069
- description: string;
1070
- inputSchema: {
1071
- type: 'object';
1072
- properties: {
1073
- action: {
1074
- type: string;
1075
- enum: ("create" | "enable" | "preview" | "show")[];
1076
- };
1077
- };
1078
- required: string[];
1079
- additionalProperties: boolean;
1080
- };
1081
- })[];
519
+ inputSchema: import("./tool-registry.ts").JsonObject;
520
+ trigger: string;
521
+ label: string;
522
+ }[];