@wowok/agent-mcp 2.3.16 → 2.4.1
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/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +4 -0
- package/dist/customer/industry-risks.js +45 -31
- package/dist/customer/order-monitor.js +57 -57
- package/dist/customer/order-strategy.js +89 -89
- package/dist/customer/post-purchase.js +97 -97
- package/dist/customer/reminder-system.js +26 -26
- package/dist/customer/risk-assessment.js +46 -46
- package/dist/customer/types.d.ts +4 -4
- package/dist/customer/types.js +4 -4
- package/dist/customer/user-preferences.d.ts +3 -0
- package/dist/customer/user-preferences.js +59 -50
- package/dist/experience/intent-distill.js +6 -6
- package/dist/experience/realtime-feedback.js +17 -0
- package/dist/index.js +360 -273
- package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
- package/dist/knowledge/acquisition-flywheel.js +73 -64
- package/dist/knowledge/arbitration-trust.js +10 -10
- package/dist/knowledge/demand-matching.js +8 -8
- package/dist/knowledge/dynamic-pricing.js +18 -18
- package/dist/knowledge/flywheel-loop.js +11 -11
- package/dist/knowledge/glossary.js +22 -22
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +246 -0
- package/dist/knowledge/guard-lint.d.ts +76 -0
- package/dist/knowledge/guard-lint.js +590 -0
- package/dist/knowledge/guard-puzzle.d.ts +188 -0
- package/dist/knowledge/guard-puzzle.js +804 -0
- package/dist/knowledge/guard-risk.d.ts +67 -0
- package/dist/knowledge/guard-risk.js +1046 -0
- package/dist/knowledge/guard-templates.d.ts +37 -0
- package/dist/knowledge/guard-templates.js +329 -0
- package/dist/knowledge/guard-translation.d.ts +58 -0
- package/dist/knowledge/guard-translation.js +1118 -0
- package/dist/knowledge/index.d.ts +17 -0
- package/dist/knowledge/index.js +17 -0
- package/dist/knowledge/industry-evolution.js +29 -29
- package/dist/knowledge/industry-generalizer.js +52 -52
- package/dist/knowledge/industry-registry.d.ts +1 -2
- package/dist/knowledge/industry-registry.js +43 -36
- package/dist/knowledge/intent-metrics.js +67 -67
- package/dist/knowledge/process-model.js +80 -80
- package/dist/knowledge/reputation-rules.js +9 -9
- package/dist/knowledge/reward-templates.js +51 -51
- package/dist/knowledge/safety-rules.js +63 -2
- package/dist/knowledge/tool-constraints.js +17 -11
- package/dist/knowledge/trust-metrics.js +26 -26
- package/dist/safety/confirm-gate.d.ts +4 -2
- package/dist/safety/confirm-gate.js +48 -4
- package/dist/schema/call/allocation.d.ts +24 -14
- package/dist/schema/call/arbitration.d.ts +142 -132
- package/dist/schema/call/base.d.ts +901 -43
- package/dist/schema/call/base.js +77 -13
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +795 -27
- package/dist/schema/call/bridge.js +37 -0
- package/dist/schema/call/contact.d.ts +10 -0
- package/dist/schema/call/demand.d.ts +94 -84
- package/dist/schema/call/guard.d.ts +229 -46
- package/dist/schema/call/guard.js +50 -0
- package/dist/schema/call/handler.js +46 -14
- package/dist/schema/call/machine.d.ts +158 -138
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/payment.d.ts +10 -0
- package/dist/schema/call/permission.d.ts +314 -304
- package/dist/schema/call/personal.d.ts +10 -0
- package/dist/schema/call/progress.d.ts +10 -0
- package/dist/schema/call/proof.d.ts +20 -0
- package/dist/schema/call/repository.d.ts +32 -22
- package/dist/schema/call/reward.d.ts +10 -0
- package/dist/schema/call/semantic.d.ts +9 -2
- package/dist/schema/call/semantic.js +617 -25
- package/dist/schema/call/service.d.ts +20 -10
- package/dist/schema/call/treasury.d.ts +10 -0
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +9 -9
- package/dist/schema/local/index.js +9 -0
- package/dist/schema/local/wip.d.ts +39 -19
- package/dist/schema/local/wip.js +5 -5
- package/dist/schema/messenger/index.d.ts +376 -55
- package/dist/schema/messenger/index.js +19 -19
- package/dist/schema/operations.d.ts +1881 -681
- package/dist/schema/operations.js +91 -96
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +1074 -168
- package/dist/schema/query/index.js +8 -8
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schema/utils/guard-parser.js +4 -4
- package/dist/schema/utils/node-parser.js +14 -14
- package/dist/schemas/bridge_operation.output.json +233 -9
- package/dist/schemas/bridge_operation.schema.json +67 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +8 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/machineNode2file.schema.json +8 -0
- package/dist/schemas/messenger_operation.output.json +236 -10
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +286 -11
- package/dist/schemas/onchain_operations.schema.json +19 -16
- package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
- package/dist/schemas/onchain_operations_contact.schema.json +8 -0
- package/dist/schemas/onchain_operations_demand.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
- package/dist/schemas/onchain_operations_guard.schema.json +11 -16
- package/dist/schemas/onchain_operations_machine.schema.json +8 -0
- package/dist/schemas/onchain_operations_order.schema.json +8 -0
- package/dist/schemas/onchain_operations_payment.schema.json +8 -0
- package/dist/schemas/onchain_operations_permission.schema.json +8 -0
- package/dist/schemas/onchain_operations_personal.schema.json +8 -0
- package/dist/schemas/onchain_operations_progress.schema.json +8 -0
- package/dist/schemas/onchain_operations_repository.schema.json +8 -0
- package/dist/schemas/onchain_operations_reward.schema.json +8 -0
- package/dist/schemas/onchain_operations_service.schema.json +8 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
- package/dist/schemas/onchain_table_data.output.json +718 -0
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/dist/schemas/wip_file.output.json +24 -1
- package/package.json +2 -2
|
@@ -221,6 +221,8 @@ export declare const CallEnvSchema: z.ZodObject<{
|
|
|
221
221
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
222
222
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
223
223
|
project: z.ZodOptional<z.ZodString>;
|
|
224
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
225
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
224
226
|
}, "strict", z.ZodTypeAny, {
|
|
225
227
|
account: string;
|
|
226
228
|
no_cache?: boolean | undefined;
|
|
@@ -230,6 +232,8 @@ export declare const CallEnvSchema: z.ZodObject<{
|
|
|
230
232
|
confirmed?: boolean | undefined;
|
|
231
233
|
user_intent_phrases?: string[] | undefined;
|
|
232
234
|
project?: string | undefined;
|
|
235
|
+
client_schema_version?: string | undefined;
|
|
236
|
+
schema_strict_mode?: boolean | undefined;
|
|
233
237
|
}, {
|
|
234
238
|
no_cache?: boolean | undefined;
|
|
235
239
|
network?: ENTRYPOINT | undefined;
|
|
@@ -239,6 +243,8 @@ export declare const CallEnvSchema: z.ZodObject<{
|
|
|
239
243
|
confirmed?: boolean | undefined;
|
|
240
244
|
user_intent_phrases?: string[] | undefined;
|
|
241
245
|
project?: string | undefined;
|
|
246
|
+
client_schema_version?: string | undefined;
|
|
247
|
+
schema_strict_mode?: boolean | undefined;
|
|
242
248
|
}>;
|
|
243
249
|
export declare const ObjectsOpSchema: z.ZodUnion<[z.ZodObject<{
|
|
244
250
|
op: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"set">, z.ZodLiteral<"add">]>, z.ZodLiteral<"remove">]>;
|
|
@@ -716,6 +722,212 @@ export declare const EvolutionContextSchema: z.ZodObject<{
|
|
|
716
722
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
717
723
|
role_advice?: string[] | undefined;
|
|
718
724
|
}>;
|
|
725
|
+
export declare const GuardPuzzleStatusSchema: z.ZodObject<{
|
|
726
|
+
intent: z.ZodBoolean;
|
|
727
|
+
binding: z.ZodBoolean;
|
|
728
|
+
data: z.ZodBoolean;
|
|
729
|
+
query: z.ZodBoolean;
|
|
730
|
+
logic: z.ZodBoolean;
|
|
731
|
+
constraints: z.ZodBoolean;
|
|
732
|
+
}, "strict", z.ZodTypeAny, {
|
|
733
|
+
data: boolean;
|
|
734
|
+
intent: boolean;
|
|
735
|
+
binding: boolean;
|
|
736
|
+
query: boolean;
|
|
737
|
+
logic: boolean;
|
|
738
|
+
constraints: boolean;
|
|
739
|
+
}, {
|
|
740
|
+
data: boolean;
|
|
741
|
+
intent: boolean;
|
|
742
|
+
binding: boolean;
|
|
743
|
+
query: boolean;
|
|
744
|
+
logic: boolean;
|
|
745
|
+
constraints: boolean;
|
|
746
|
+
}>;
|
|
747
|
+
export declare const GuardAvailableQuerySchema: z.ZodObject<{
|
|
748
|
+
id: z.ZodNumber;
|
|
749
|
+
name: z.ZodString;
|
|
750
|
+
objectType: z.ZodString;
|
|
751
|
+
returnType: z.ZodString;
|
|
752
|
+
description: z.ZodOptional<z.ZodString>;
|
|
753
|
+
}, "strict", z.ZodTypeAny, {
|
|
754
|
+
name: string;
|
|
755
|
+
id: number;
|
|
756
|
+
objectType: string;
|
|
757
|
+
returnType: string;
|
|
758
|
+
description?: string | undefined;
|
|
759
|
+
}, {
|
|
760
|
+
name: string;
|
|
761
|
+
id: number;
|
|
762
|
+
objectType: string;
|
|
763
|
+
returnType: string;
|
|
764
|
+
description?: string | undefined;
|
|
765
|
+
}>;
|
|
766
|
+
export declare const GuardAdviceSchema: z.ZodObject<{
|
|
767
|
+
current_round: z.ZodOptional<z.ZodEnum<["R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10"]>>;
|
|
768
|
+
puzzle_status: z.ZodOptional<z.ZodObject<{
|
|
769
|
+
intent: z.ZodBoolean;
|
|
770
|
+
binding: z.ZodBoolean;
|
|
771
|
+
data: z.ZodBoolean;
|
|
772
|
+
query: z.ZodBoolean;
|
|
773
|
+
logic: z.ZodBoolean;
|
|
774
|
+
constraints: z.ZodBoolean;
|
|
775
|
+
}, "strict", z.ZodTypeAny, {
|
|
776
|
+
data: boolean;
|
|
777
|
+
intent: boolean;
|
|
778
|
+
binding: boolean;
|
|
779
|
+
query: boolean;
|
|
780
|
+
logic: boolean;
|
|
781
|
+
constraints: boolean;
|
|
782
|
+
}, {
|
|
783
|
+
data: boolean;
|
|
784
|
+
intent: boolean;
|
|
785
|
+
binding: boolean;
|
|
786
|
+
query: boolean;
|
|
787
|
+
logic: boolean;
|
|
788
|
+
constraints: boolean;
|
|
789
|
+
}>>;
|
|
790
|
+
matched_scene: z.ZodOptional<z.ZodString>;
|
|
791
|
+
scene_description: z.ZodOptional<z.ZodString>;
|
|
792
|
+
scene_constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
793
|
+
suggested_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
794
|
+
available_queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
795
|
+
id: z.ZodNumber;
|
|
796
|
+
name: z.ZodString;
|
|
797
|
+
objectType: z.ZodString;
|
|
798
|
+
returnType: z.ZodString;
|
|
799
|
+
description: z.ZodOptional<z.ZodString>;
|
|
800
|
+
}, "strict", z.ZodTypeAny, {
|
|
801
|
+
name: string;
|
|
802
|
+
id: number;
|
|
803
|
+
objectType: string;
|
|
804
|
+
returnType: string;
|
|
805
|
+
description?: string | undefined;
|
|
806
|
+
}, {
|
|
807
|
+
name: string;
|
|
808
|
+
id: number;
|
|
809
|
+
objectType: string;
|
|
810
|
+
returnType: string;
|
|
811
|
+
description?: string | undefined;
|
|
812
|
+
}>, "many">>;
|
|
813
|
+
risk_warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
814
|
+
pending_questions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
815
|
+
confirmation_text: z.ZodOptional<z.ZodString>;
|
|
816
|
+
test_result: z.ZodOptional<z.ZodObject<{
|
|
817
|
+
status: z.ZodEnum<["pass", "fail", "not_tested"]>;
|
|
818
|
+
failure_node: z.ZodOptional<z.ZodString>;
|
|
819
|
+
passport_id: z.ZodOptional<z.ZodString>;
|
|
820
|
+
}, "strip", z.ZodTypeAny, {
|
|
821
|
+
status: "pass" | "fail" | "not_tested";
|
|
822
|
+
failure_node?: string | undefined;
|
|
823
|
+
passport_id?: string | undefined;
|
|
824
|
+
}, {
|
|
825
|
+
status: "pass" | "fail" | "not_tested";
|
|
826
|
+
failure_node?: string | undefined;
|
|
827
|
+
passport_id?: string | undefined;
|
|
828
|
+
}>>;
|
|
829
|
+
risk_assessment: z.ZodOptional<z.ZodObject<{
|
|
830
|
+
overall_risk: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
|
|
831
|
+
risk_count: z.ZodNumber;
|
|
832
|
+
critical_count: z.ZodNumber;
|
|
833
|
+
high_count: z.ZodNumber;
|
|
834
|
+
needs_human_review: z.ZodBoolean;
|
|
835
|
+
top_risks: z.ZodArray<z.ZodString, "many">;
|
|
836
|
+
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
837
|
+
}, "strip", z.ZodTypeAny, {
|
|
838
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
839
|
+
risk_count: number;
|
|
840
|
+
critical_count: number;
|
|
841
|
+
high_count: number;
|
|
842
|
+
needs_human_review: boolean;
|
|
843
|
+
top_risks: string[];
|
|
844
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
845
|
+
}, {
|
|
846
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
847
|
+
risk_count: number;
|
|
848
|
+
critical_count: number;
|
|
849
|
+
high_count: number;
|
|
850
|
+
needs_human_review: boolean;
|
|
851
|
+
top_risks: string[];
|
|
852
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
853
|
+
}>>;
|
|
854
|
+
}, "strict", z.ZodTypeAny, {
|
|
855
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
856
|
+
puzzle_status?: {
|
|
857
|
+
data: boolean;
|
|
858
|
+
intent: boolean;
|
|
859
|
+
binding: boolean;
|
|
860
|
+
query: boolean;
|
|
861
|
+
logic: boolean;
|
|
862
|
+
constraints: boolean;
|
|
863
|
+
} | undefined;
|
|
864
|
+
matched_scene?: string | undefined;
|
|
865
|
+
scene_description?: string | undefined;
|
|
866
|
+
scene_constraints?: string[] | undefined;
|
|
867
|
+
suggested_patterns?: string[] | undefined;
|
|
868
|
+
available_queries?: {
|
|
869
|
+
name: string;
|
|
870
|
+
id: number;
|
|
871
|
+
objectType: string;
|
|
872
|
+
returnType: string;
|
|
873
|
+
description?: string | undefined;
|
|
874
|
+
}[] | undefined;
|
|
875
|
+
risk_warnings?: string[] | undefined;
|
|
876
|
+
pending_questions?: string[] | undefined;
|
|
877
|
+
confirmation_text?: string | undefined;
|
|
878
|
+
test_result?: {
|
|
879
|
+
status: "pass" | "fail" | "not_tested";
|
|
880
|
+
failure_node?: string | undefined;
|
|
881
|
+
passport_id?: string | undefined;
|
|
882
|
+
} | undefined;
|
|
883
|
+
risk_assessment?: {
|
|
884
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
885
|
+
risk_count: number;
|
|
886
|
+
critical_count: number;
|
|
887
|
+
high_count: number;
|
|
888
|
+
needs_human_review: boolean;
|
|
889
|
+
top_risks: string[];
|
|
890
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
891
|
+
} | undefined;
|
|
892
|
+
}, {
|
|
893
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
894
|
+
puzzle_status?: {
|
|
895
|
+
data: boolean;
|
|
896
|
+
intent: boolean;
|
|
897
|
+
binding: boolean;
|
|
898
|
+
query: boolean;
|
|
899
|
+
logic: boolean;
|
|
900
|
+
constraints: boolean;
|
|
901
|
+
} | undefined;
|
|
902
|
+
matched_scene?: string | undefined;
|
|
903
|
+
scene_description?: string | undefined;
|
|
904
|
+
scene_constraints?: string[] | undefined;
|
|
905
|
+
suggested_patterns?: string[] | undefined;
|
|
906
|
+
available_queries?: {
|
|
907
|
+
name: string;
|
|
908
|
+
id: number;
|
|
909
|
+
objectType: string;
|
|
910
|
+
returnType: string;
|
|
911
|
+
description?: string | undefined;
|
|
912
|
+
}[] | undefined;
|
|
913
|
+
risk_warnings?: string[] | undefined;
|
|
914
|
+
pending_questions?: string[] | undefined;
|
|
915
|
+
confirmation_text?: string | undefined;
|
|
916
|
+
test_result?: {
|
|
917
|
+
status: "pass" | "fail" | "not_tested";
|
|
918
|
+
failure_node?: string | undefined;
|
|
919
|
+
passport_id?: string | undefined;
|
|
920
|
+
} | undefined;
|
|
921
|
+
risk_assessment?: {
|
|
922
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
923
|
+
risk_count: number;
|
|
924
|
+
critical_count: number;
|
|
925
|
+
high_count: number;
|
|
926
|
+
needs_human_review: boolean;
|
|
927
|
+
top_risks: string[];
|
|
928
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
929
|
+
} | undefined;
|
|
930
|
+
}>;
|
|
719
931
|
export declare const SemanticSummarySchema: z.ZodObject<{
|
|
720
932
|
intent: z.ZodString;
|
|
721
933
|
status: z.ZodEnum<["success", "partial", "failed", "pending_input"]>;
|
|
@@ -969,6 +1181,171 @@ export declare const SemanticSummarySchema: z.ZodObject<{
|
|
|
969
1181
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
970
1182
|
role_advice?: string[] | undefined;
|
|
971
1183
|
}>>;
|
|
1184
|
+
guard_advice: z.ZodOptional<z.ZodObject<{
|
|
1185
|
+
current_round: z.ZodOptional<z.ZodEnum<["R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10"]>>;
|
|
1186
|
+
puzzle_status: z.ZodOptional<z.ZodObject<{
|
|
1187
|
+
intent: z.ZodBoolean;
|
|
1188
|
+
binding: z.ZodBoolean;
|
|
1189
|
+
data: z.ZodBoolean;
|
|
1190
|
+
query: z.ZodBoolean;
|
|
1191
|
+
logic: z.ZodBoolean;
|
|
1192
|
+
constraints: z.ZodBoolean;
|
|
1193
|
+
}, "strict", z.ZodTypeAny, {
|
|
1194
|
+
data: boolean;
|
|
1195
|
+
intent: boolean;
|
|
1196
|
+
binding: boolean;
|
|
1197
|
+
query: boolean;
|
|
1198
|
+
logic: boolean;
|
|
1199
|
+
constraints: boolean;
|
|
1200
|
+
}, {
|
|
1201
|
+
data: boolean;
|
|
1202
|
+
intent: boolean;
|
|
1203
|
+
binding: boolean;
|
|
1204
|
+
query: boolean;
|
|
1205
|
+
logic: boolean;
|
|
1206
|
+
constraints: boolean;
|
|
1207
|
+
}>>;
|
|
1208
|
+
matched_scene: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
scene_description: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
scene_constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1211
|
+
suggested_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1212
|
+
available_queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1213
|
+
id: z.ZodNumber;
|
|
1214
|
+
name: z.ZodString;
|
|
1215
|
+
objectType: z.ZodString;
|
|
1216
|
+
returnType: z.ZodString;
|
|
1217
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
}, "strict", z.ZodTypeAny, {
|
|
1219
|
+
name: string;
|
|
1220
|
+
id: number;
|
|
1221
|
+
objectType: string;
|
|
1222
|
+
returnType: string;
|
|
1223
|
+
description?: string | undefined;
|
|
1224
|
+
}, {
|
|
1225
|
+
name: string;
|
|
1226
|
+
id: number;
|
|
1227
|
+
objectType: string;
|
|
1228
|
+
returnType: string;
|
|
1229
|
+
description?: string | undefined;
|
|
1230
|
+
}>, "many">>;
|
|
1231
|
+
risk_warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1232
|
+
pending_questions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1233
|
+
confirmation_text: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
test_result: z.ZodOptional<z.ZodObject<{
|
|
1235
|
+
status: z.ZodEnum<["pass", "fail", "not_tested"]>;
|
|
1236
|
+
failure_node: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
passport_id: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
}, "strip", z.ZodTypeAny, {
|
|
1239
|
+
status: "pass" | "fail" | "not_tested";
|
|
1240
|
+
failure_node?: string | undefined;
|
|
1241
|
+
passport_id?: string | undefined;
|
|
1242
|
+
}, {
|
|
1243
|
+
status: "pass" | "fail" | "not_tested";
|
|
1244
|
+
failure_node?: string | undefined;
|
|
1245
|
+
passport_id?: string | undefined;
|
|
1246
|
+
}>>;
|
|
1247
|
+
risk_assessment: z.ZodOptional<z.ZodObject<{
|
|
1248
|
+
overall_risk: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
|
|
1249
|
+
risk_count: z.ZodNumber;
|
|
1250
|
+
critical_count: z.ZodNumber;
|
|
1251
|
+
high_count: z.ZodNumber;
|
|
1252
|
+
needs_human_review: z.ZodBoolean;
|
|
1253
|
+
top_risks: z.ZodArray<z.ZodString, "many">;
|
|
1254
|
+
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
1255
|
+
}, "strip", z.ZodTypeAny, {
|
|
1256
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1257
|
+
risk_count: number;
|
|
1258
|
+
critical_count: number;
|
|
1259
|
+
high_count: number;
|
|
1260
|
+
needs_human_review: boolean;
|
|
1261
|
+
top_risks: string[];
|
|
1262
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1263
|
+
}, {
|
|
1264
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1265
|
+
risk_count: number;
|
|
1266
|
+
critical_count: number;
|
|
1267
|
+
high_count: number;
|
|
1268
|
+
needs_human_review: boolean;
|
|
1269
|
+
top_risks: string[];
|
|
1270
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1271
|
+
}>>;
|
|
1272
|
+
}, "strict", z.ZodTypeAny, {
|
|
1273
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
1274
|
+
puzzle_status?: {
|
|
1275
|
+
data: boolean;
|
|
1276
|
+
intent: boolean;
|
|
1277
|
+
binding: boolean;
|
|
1278
|
+
query: boolean;
|
|
1279
|
+
logic: boolean;
|
|
1280
|
+
constraints: boolean;
|
|
1281
|
+
} | undefined;
|
|
1282
|
+
matched_scene?: string | undefined;
|
|
1283
|
+
scene_description?: string | undefined;
|
|
1284
|
+
scene_constraints?: string[] | undefined;
|
|
1285
|
+
suggested_patterns?: string[] | undefined;
|
|
1286
|
+
available_queries?: {
|
|
1287
|
+
name: string;
|
|
1288
|
+
id: number;
|
|
1289
|
+
objectType: string;
|
|
1290
|
+
returnType: string;
|
|
1291
|
+
description?: string | undefined;
|
|
1292
|
+
}[] | undefined;
|
|
1293
|
+
risk_warnings?: string[] | undefined;
|
|
1294
|
+
pending_questions?: string[] | undefined;
|
|
1295
|
+
confirmation_text?: string | undefined;
|
|
1296
|
+
test_result?: {
|
|
1297
|
+
status: "pass" | "fail" | "not_tested";
|
|
1298
|
+
failure_node?: string | undefined;
|
|
1299
|
+
passport_id?: string | undefined;
|
|
1300
|
+
} | undefined;
|
|
1301
|
+
risk_assessment?: {
|
|
1302
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1303
|
+
risk_count: number;
|
|
1304
|
+
critical_count: number;
|
|
1305
|
+
high_count: number;
|
|
1306
|
+
needs_human_review: boolean;
|
|
1307
|
+
top_risks: string[];
|
|
1308
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1309
|
+
} | undefined;
|
|
1310
|
+
}, {
|
|
1311
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
1312
|
+
puzzle_status?: {
|
|
1313
|
+
data: boolean;
|
|
1314
|
+
intent: boolean;
|
|
1315
|
+
binding: boolean;
|
|
1316
|
+
query: boolean;
|
|
1317
|
+
logic: boolean;
|
|
1318
|
+
constraints: boolean;
|
|
1319
|
+
} | undefined;
|
|
1320
|
+
matched_scene?: string | undefined;
|
|
1321
|
+
scene_description?: string | undefined;
|
|
1322
|
+
scene_constraints?: string[] | undefined;
|
|
1323
|
+
suggested_patterns?: string[] | undefined;
|
|
1324
|
+
available_queries?: {
|
|
1325
|
+
name: string;
|
|
1326
|
+
id: number;
|
|
1327
|
+
objectType: string;
|
|
1328
|
+
returnType: string;
|
|
1329
|
+
description?: string | undefined;
|
|
1330
|
+
}[] | undefined;
|
|
1331
|
+
risk_warnings?: string[] | undefined;
|
|
1332
|
+
pending_questions?: string[] | undefined;
|
|
1333
|
+
confirmation_text?: string | undefined;
|
|
1334
|
+
test_result?: {
|
|
1335
|
+
status: "pass" | "fail" | "not_tested";
|
|
1336
|
+
failure_node?: string | undefined;
|
|
1337
|
+
passport_id?: string | undefined;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
risk_assessment?: {
|
|
1340
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1341
|
+
risk_count: number;
|
|
1342
|
+
critical_count: number;
|
|
1343
|
+
high_count: number;
|
|
1344
|
+
needs_human_review: boolean;
|
|
1345
|
+
top_risks: string[];
|
|
1346
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1347
|
+
} | undefined;
|
|
1348
|
+
}>>;
|
|
972
1349
|
}, "strict", z.ZodTypeAny, {
|
|
973
1350
|
status: "success" | "partial" | "failed" | "pending_input";
|
|
974
1351
|
intent: string;
|
|
@@ -1052,6 +1429,45 @@ export declare const SemanticSummarySchema: z.ZodObject<{
|
|
|
1052
1429
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
1053
1430
|
role_advice?: string[] | undefined;
|
|
1054
1431
|
} | undefined;
|
|
1432
|
+
guard_advice?: {
|
|
1433
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
1434
|
+
puzzle_status?: {
|
|
1435
|
+
data: boolean;
|
|
1436
|
+
intent: boolean;
|
|
1437
|
+
binding: boolean;
|
|
1438
|
+
query: boolean;
|
|
1439
|
+
logic: boolean;
|
|
1440
|
+
constraints: boolean;
|
|
1441
|
+
} | undefined;
|
|
1442
|
+
matched_scene?: string | undefined;
|
|
1443
|
+
scene_description?: string | undefined;
|
|
1444
|
+
scene_constraints?: string[] | undefined;
|
|
1445
|
+
suggested_patterns?: string[] | undefined;
|
|
1446
|
+
available_queries?: {
|
|
1447
|
+
name: string;
|
|
1448
|
+
id: number;
|
|
1449
|
+
objectType: string;
|
|
1450
|
+
returnType: string;
|
|
1451
|
+
description?: string | undefined;
|
|
1452
|
+
}[] | undefined;
|
|
1453
|
+
risk_warnings?: string[] | undefined;
|
|
1454
|
+
pending_questions?: string[] | undefined;
|
|
1455
|
+
confirmation_text?: string | undefined;
|
|
1456
|
+
test_result?: {
|
|
1457
|
+
status: "pass" | "fail" | "not_tested";
|
|
1458
|
+
failure_node?: string | undefined;
|
|
1459
|
+
passport_id?: string | undefined;
|
|
1460
|
+
} | undefined;
|
|
1461
|
+
risk_assessment?: {
|
|
1462
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1463
|
+
risk_count: number;
|
|
1464
|
+
critical_count: number;
|
|
1465
|
+
high_count: number;
|
|
1466
|
+
needs_human_review: boolean;
|
|
1467
|
+
top_risks: string[];
|
|
1468
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1469
|
+
} | undefined;
|
|
1470
|
+
} | undefined;
|
|
1055
1471
|
}, {
|
|
1056
1472
|
status: "success" | "partial" | "failed" | "pending_input";
|
|
1057
1473
|
intent: string;
|
|
@@ -1135,25 +1551,64 @@ export declare const SemanticSummarySchema: z.ZodObject<{
|
|
|
1135
1551
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
1136
1552
|
role_advice?: string[] | undefined;
|
|
1137
1553
|
} | undefined;
|
|
1554
|
+
guard_advice?: {
|
|
1555
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
1556
|
+
puzzle_status?: {
|
|
1557
|
+
data: boolean;
|
|
1558
|
+
intent: boolean;
|
|
1559
|
+
binding: boolean;
|
|
1560
|
+
query: boolean;
|
|
1561
|
+
logic: boolean;
|
|
1562
|
+
constraints: boolean;
|
|
1563
|
+
} | undefined;
|
|
1564
|
+
matched_scene?: string | undefined;
|
|
1565
|
+
scene_description?: string | undefined;
|
|
1566
|
+
scene_constraints?: string[] | undefined;
|
|
1567
|
+
suggested_patterns?: string[] | undefined;
|
|
1568
|
+
available_queries?: {
|
|
1569
|
+
name: string;
|
|
1570
|
+
id: number;
|
|
1571
|
+
objectType: string;
|
|
1572
|
+
returnType: string;
|
|
1573
|
+
description?: string | undefined;
|
|
1574
|
+
}[] | undefined;
|
|
1575
|
+
risk_warnings?: string[] | undefined;
|
|
1576
|
+
pending_questions?: string[] | undefined;
|
|
1577
|
+
confirmation_text?: string | undefined;
|
|
1578
|
+
test_result?: {
|
|
1579
|
+
status: "pass" | "fail" | "not_tested";
|
|
1580
|
+
failure_node?: string | undefined;
|
|
1581
|
+
passport_id?: string | undefined;
|
|
1582
|
+
} | undefined;
|
|
1583
|
+
risk_assessment?: {
|
|
1584
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
1585
|
+
risk_count: number;
|
|
1586
|
+
critical_count: number;
|
|
1587
|
+
high_count: number;
|
|
1588
|
+
needs_human_review: boolean;
|
|
1589
|
+
top_risks: string[];
|
|
1590
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
1591
|
+
} | undefined;
|
|
1592
|
+
} | undefined;
|
|
1138
1593
|
}>;
|
|
1139
1594
|
export declare const CallResponseErrorSchema: z.ZodObject<{
|
|
1140
1595
|
type: z.ZodLiteral<"error">;
|
|
1141
1596
|
error: z.ZodString;
|
|
1142
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
1597
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "unknown"]>>;
|
|
1143
1598
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1144
1599
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
1145
1600
|
related_object: z.ZodOptional<z.ZodString>;
|
|
1146
1601
|
}, "strip", z.ZodTypeAny, {
|
|
1147
1602
|
type: "error";
|
|
1148
1603
|
error: string;
|
|
1149
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
1604
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
1150
1605
|
retryable?: boolean | undefined;
|
|
1151
1606
|
recovery_hint?: string | undefined;
|
|
1152
1607
|
related_object?: string | undefined;
|
|
1153
1608
|
}, {
|
|
1154
1609
|
type: "error";
|
|
1155
1610
|
error: string;
|
|
1156
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
1611
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
1157
1612
|
retryable?: boolean | undefined;
|
|
1158
1613
|
recovery_hint?: string | undefined;
|
|
1159
1614
|
related_object?: string | undefined;
|
|
@@ -3958,21 +4413,21 @@ export declare const CallResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
3958
4413
|
}>, z.ZodObject<{
|
|
3959
4414
|
type: z.ZodLiteral<"error">;
|
|
3960
4415
|
error: z.ZodString;
|
|
3961
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
4416
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "unknown"]>>;
|
|
3962
4417
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3963
4418
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
3964
4419
|
related_object: z.ZodOptional<z.ZodString>;
|
|
3965
4420
|
}, "strip", z.ZodTypeAny, {
|
|
3966
4421
|
type: "error";
|
|
3967
4422
|
error: string;
|
|
3968
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
4423
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
3969
4424
|
retryable?: boolean | undefined;
|
|
3970
4425
|
recovery_hint?: string | undefined;
|
|
3971
4426
|
related_object?: string | undefined;
|
|
3972
4427
|
}, {
|
|
3973
4428
|
type: "error";
|
|
3974
4429
|
error: string;
|
|
3975
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
4430
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
3976
4431
|
retryable?: boolean | undefined;
|
|
3977
4432
|
recovery_hint?: string | undefined;
|
|
3978
4433
|
related_object?: string | undefined;
|
|
@@ -4479,13 +4934,13 @@ export declare const VerifyMismatchSchema: z.ZodObject<{
|
|
|
4479
4934
|
expected: string;
|
|
4480
4935
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4481
4936
|
actual: string;
|
|
4482
|
-
severity: "pass" | "
|
|
4937
|
+
severity: "pass" | "fail" | "warn";
|
|
4483
4938
|
detail: string;
|
|
4484
4939
|
}, {
|
|
4485
4940
|
expected: string;
|
|
4486
4941
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4487
4942
|
actual: string;
|
|
4488
|
-
severity: "pass" | "
|
|
4943
|
+
severity: "pass" | "fail" | "warn";
|
|
4489
4944
|
detail: string;
|
|
4490
4945
|
}>;
|
|
4491
4946
|
export declare const VerifyReportSchema: z.ZodObject<{
|
|
@@ -4500,35 +4955,35 @@ export declare const VerifyReportSchema: z.ZodObject<{
|
|
|
4500
4955
|
expected: string;
|
|
4501
4956
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4502
4957
|
actual: string;
|
|
4503
|
-
severity: "pass" | "
|
|
4958
|
+
severity: "pass" | "fail" | "warn";
|
|
4504
4959
|
detail: string;
|
|
4505
4960
|
}, {
|
|
4506
4961
|
expected: string;
|
|
4507
4962
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4508
4963
|
actual: string;
|
|
4509
|
-
severity: "pass" | "
|
|
4964
|
+
severity: "pass" | "fail" | "warn";
|
|
4510
4965
|
detail: string;
|
|
4511
4966
|
}>, "many">;
|
|
4512
4967
|
summary: z.ZodString;
|
|
4513
4968
|
timestamp: z.ZodString;
|
|
4514
4969
|
}, "strip", z.ZodTypeAny, {
|
|
4515
|
-
status: "pass" | "
|
|
4970
|
+
status: "pass" | "fail" | "warn";
|
|
4516
4971
|
mismatches: {
|
|
4517
4972
|
expected: string;
|
|
4518
4973
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4519
4974
|
actual: string;
|
|
4520
|
-
severity: "pass" | "
|
|
4975
|
+
severity: "pass" | "fail" | "warn";
|
|
4521
4976
|
detail: string;
|
|
4522
4977
|
}[];
|
|
4523
4978
|
summary: string;
|
|
4524
4979
|
timestamp: string;
|
|
4525
4980
|
}, {
|
|
4526
|
-
status: "pass" | "
|
|
4981
|
+
status: "pass" | "fail" | "warn";
|
|
4527
4982
|
mismatches: {
|
|
4528
4983
|
expected: string;
|
|
4529
4984
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4530
4985
|
actual: string;
|
|
4531
|
-
severity: "pass" | "
|
|
4986
|
+
severity: "pass" | "fail" | "warn";
|
|
4532
4987
|
detail: string;
|
|
4533
4988
|
}[];
|
|
4534
4989
|
summary: string;
|
|
@@ -4572,35 +5027,35 @@ export declare const HarnessReportSchema: z.ZodObject<{
|
|
|
4572
5027
|
expected: string;
|
|
4573
5028
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4574
5029
|
actual: string;
|
|
4575
|
-
severity: "pass" | "
|
|
5030
|
+
severity: "pass" | "fail" | "warn";
|
|
4576
5031
|
detail: string;
|
|
4577
5032
|
}, {
|
|
4578
5033
|
expected: string;
|
|
4579
5034
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4580
5035
|
actual: string;
|
|
4581
|
-
severity: "pass" | "
|
|
5036
|
+
severity: "pass" | "fail" | "warn";
|
|
4582
5037
|
detail: string;
|
|
4583
5038
|
}>, "many">;
|
|
4584
5039
|
summary: z.ZodString;
|
|
4585
5040
|
timestamp: z.ZodString;
|
|
4586
5041
|
}, "strip", z.ZodTypeAny, {
|
|
4587
|
-
status: "pass" | "
|
|
5042
|
+
status: "pass" | "fail" | "warn";
|
|
4588
5043
|
mismatches: {
|
|
4589
5044
|
expected: string;
|
|
4590
5045
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4591
5046
|
actual: string;
|
|
4592
|
-
severity: "pass" | "
|
|
5047
|
+
severity: "pass" | "fail" | "warn";
|
|
4593
5048
|
detail: string;
|
|
4594
5049
|
}[];
|
|
4595
5050
|
summary: string;
|
|
4596
5051
|
timestamp: string;
|
|
4597
5052
|
}, {
|
|
4598
|
-
status: "pass" | "
|
|
5053
|
+
status: "pass" | "fail" | "warn";
|
|
4599
5054
|
mismatches: {
|
|
4600
5055
|
expected: string;
|
|
4601
5056
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4602
5057
|
actual: string;
|
|
4603
|
-
severity: "pass" | "
|
|
5058
|
+
severity: "pass" | "fail" | "warn";
|
|
4604
5059
|
detail: string;
|
|
4605
5060
|
}[];
|
|
4606
5061
|
summary: string;
|
|
@@ -4633,12 +5088,12 @@ export declare const HarnessReportSchema: z.ZodObject<{
|
|
|
4633
5088
|
}>>;
|
|
4634
5089
|
}, "strip", z.ZodTypeAny, {
|
|
4635
5090
|
verify: {
|
|
4636
|
-
status: "pass" | "
|
|
5091
|
+
status: "pass" | "fail" | "warn";
|
|
4637
5092
|
mismatches: {
|
|
4638
5093
|
expected: string;
|
|
4639
5094
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4640
5095
|
actual: string;
|
|
4641
|
-
severity: "pass" | "
|
|
5096
|
+
severity: "pass" | "fail" | "warn";
|
|
4642
5097
|
detail: string;
|
|
4643
5098
|
}[];
|
|
4644
5099
|
summary: string;
|
|
@@ -4655,12 +5110,12 @@ export declare const HarnessReportSchema: z.ZodObject<{
|
|
|
4655
5110
|
} | undefined;
|
|
4656
5111
|
}, {
|
|
4657
5112
|
verify: {
|
|
4658
|
-
status: "pass" | "
|
|
5113
|
+
status: "pass" | "fail" | "warn";
|
|
4659
5114
|
mismatches: {
|
|
4660
5115
|
expected: string;
|
|
4661
5116
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
4662
5117
|
actual: string;
|
|
4663
|
-
severity: "pass" | "
|
|
5118
|
+
severity: "pass" | "fail" | "warn";
|
|
4664
5119
|
detail: string;
|
|
4665
5120
|
}[];
|
|
4666
5121
|
summary: string;
|
|
@@ -4676,6 +5131,37 @@ export declare const HarnessReportSchema: z.ZodObject<{
|
|
|
4676
5131
|
user_prompt?: string | undefined;
|
|
4677
5132
|
} | undefined;
|
|
4678
5133
|
}>;
|
|
5134
|
+
export declare const SchemaWarningSchema: z.ZodObject<{
|
|
5135
|
+
compatible: z.ZodBoolean;
|
|
5136
|
+
warnings: z.ZodArray<z.ZodString, "many">;
|
|
5137
|
+
client_version: z.ZodOptional<z.ZodString>;
|
|
5138
|
+
server_versions: z.ZodObject<{
|
|
5139
|
+
sdk: z.ZodString;
|
|
5140
|
+
mcp: z.ZodString;
|
|
5141
|
+
}, "strip", z.ZodTypeAny, {
|
|
5142
|
+
sdk: string;
|
|
5143
|
+
mcp: string;
|
|
5144
|
+
}, {
|
|
5145
|
+
sdk: string;
|
|
5146
|
+
mcp: string;
|
|
5147
|
+
}>;
|
|
5148
|
+
}, "strict", z.ZodTypeAny, {
|
|
5149
|
+
warnings: string[];
|
|
5150
|
+
compatible: boolean;
|
|
5151
|
+
server_versions: {
|
|
5152
|
+
sdk: string;
|
|
5153
|
+
mcp: string;
|
|
5154
|
+
};
|
|
5155
|
+
client_version?: string | undefined;
|
|
5156
|
+
}, {
|
|
5157
|
+
warnings: string[];
|
|
5158
|
+
compatible: boolean;
|
|
5159
|
+
server_versions: {
|
|
5160
|
+
sdk: string;
|
|
5161
|
+
mcp: string;
|
|
5162
|
+
};
|
|
5163
|
+
client_version?: string | undefined;
|
|
5164
|
+
}>;
|
|
4679
5165
|
export declare const CallOutputSchema: z.ZodObject<{
|
|
4680
5166
|
result: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4681
5167
|
type: z.ZodLiteral<"submission">;
|
|
@@ -6902,21 +7388,21 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
6902
7388
|
}>, z.ZodObject<{
|
|
6903
7389
|
type: z.ZodLiteral<"error">;
|
|
6904
7390
|
error: z.ZodString;
|
|
6905
|
-
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "unknown"]>>;
|
|
7391
|
+
error_code: z.ZodOptional<z.ZodEnum<["invalid_parameter", "guard_rejected", "state_conflict", "insufficient_balance", "object_not_found", "permission_denied", "immutable_violation", "network_error", "rate_limit", "gas_exceeded", "bcs_error", "signature_error", "config_error", "unknown"]>>;
|
|
6906
7392
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6907
7393
|
recovery_hint: z.ZodOptional<z.ZodString>;
|
|
6908
7394
|
related_object: z.ZodOptional<z.ZodString>;
|
|
6909
7395
|
}, "strip", z.ZodTypeAny, {
|
|
6910
7396
|
type: "error";
|
|
6911
7397
|
error: string;
|
|
6912
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
7398
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
6913
7399
|
retryable?: boolean | undefined;
|
|
6914
7400
|
recovery_hint?: string | undefined;
|
|
6915
7401
|
related_object?: string | undefined;
|
|
6916
7402
|
}, {
|
|
6917
7403
|
type: "error";
|
|
6918
7404
|
error: string;
|
|
6919
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
7405
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
6920
7406
|
retryable?: boolean | undefined;
|
|
6921
7407
|
recovery_hint?: string | undefined;
|
|
6922
7408
|
related_object?: string | undefined;
|
|
@@ -7642,6 +8128,171 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7642
8128
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
7643
8129
|
role_advice?: string[] | undefined;
|
|
7644
8130
|
}>>;
|
|
8131
|
+
guard_advice: z.ZodOptional<z.ZodObject<{
|
|
8132
|
+
current_round: z.ZodOptional<z.ZodEnum<["R1", "R2", "R3", "R4", "R5", "R6", "R7", "R8", "R9", "R10"]>>;
|
|
8133
|
+
puzzle_status: z.ZodOptional<z.ZodObject<{
|
|
8134
|
+
intent: z.ZodBoolean;
|
|
8135
|
+
binding: z.ZodBoolean;
|
|
8136
|
+
data: z.ZodBoolean;
|
|
8137
|
+
query: z.ZodBoolean;
|
|
8138
|
+
logic: z.ZodBoolean;
|
|
8139
|
+
constraints: z.ZodBoolean;
|
|
8140
|
+
}, "strict", z.ZodTypeAny, {
|
|
8141
|
+
data: boolean;
|
|
8142
|
+
intent: boolean;
|
|
8143
|
+
binding: boolean;
|
|
8144
|
+
query: boolean;
|
|
8145
|
+
logic: boolean;
|
|
8146
|
+
constraints: boolean;
|
|
8147
|
+
}, {
|
|
8148
|
+
data: boolean;
|
|
8149
|
+
intent: boolean;
|
|
8150
|
+
binding: boolean;
|
|
8151
|
+
query: boolean;
|
|
8152
|
+
logic: boolean;
|
|
8153
|
+
constraints: boolean;
|
|
8154
|
+
}>>;
|
|
8155
|
+
matched_scene: z.ZodOptional<z.ZodString>;
|
|
8156
|
+
scene_description: z.ZodOptional<z.ZodString>;
|
|
8157
|
+
scene_constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8158
|
+
suggested_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8159
|
+
available_queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8160
|
+
id: z.ZodNumber;
|
|
8161
|
+
name: z.ZodString;
|
|
8162
|
+
objectType: z.ZodString;
|
|
8163
|
+
returnType: z.ZodString;
|
|
8164
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8165
|
+
}, "strict", z.ZodTypeAny, {
|
|
8166
|
+
name: string;
|
|
8167
|
+
id: number;
|
|
8168
|
+
objectType: string;
|
|
8169
|
+
returnType: string;
|
|
8170
|
+
description?: string | undefined;
|
|
8171
|
+
}, {
|
|
8172
|
+
name: string;
|
|
8173
|
+
id: number;
|
|
8174
|
+
objectType: string;
|
|
8175
|
+
returnType: string;
|
|
8176
|
+
description?: string | undefined;
|
|
8177
|
+
}>, "many">>;
|
|
8178
|
+
risk_warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8179
|
+
pending_questions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8180
|
+
confirmation_text: z.ZodOptional<z.ZodString>;
|
|
8181
|
+
test_result: z.ZodOptional<z.ZodObject<{
|
|
8182
|
+
status: z.ZodEnum<["pass", "fail", "not_tested"]>;
|
|
8183
|
+
failure_node: z.ZodOptional<z.ZodString>;
|
|
8184
|
+
passport_id: z.ZodOptional<z.ZodString>;
|
|
8185
|
+
}, "strip", z.ZodTypeAny, {
|
|
8186
|
+
status: "pass" | "fail" | "not_tested";
|
|
8187
|
+
failure_node?: string | undefined;
|
|
8188
|
+
passport_id?: string | undefined;
|
|
8189
|
+
}, {
|
|
8190
|
+
status: "pass" | "fail" | "not_tested";
|
|
8191
|
+
failure_node?: string | undefined;
|
|
8192
|
+
passport_id?: string | undefined;
|
|
8193
|
+
}>>;
|
|
8194
|
+
risk_assessment: z.ZodOptional<z.ZodObject<{
|
|
8195
|
+
overall_risk: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
|
|
8196
|
+
risk_count: z.ZodNumber;
|
|
8197
|
+
critical_count: z.ZodNumber;
|
|
8198
|
+
high_count: z.ZodNumber;
|
|
8199
|
+
needs_human_review: z.ZodBoolean;
|
|
8200
|
+
top_risks: z.ZodArray<z.ZodString, "many">;
|
|
8201
|
+
stakeholder_advice: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
8202
|
+
}, "strip", z.ZodTypeAny, {
|
|
8203
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8204
|
+
risk_count: number;
|
|
8205
|
+
critical_count: number;
|
|
8206
|
+
high_count: number;
|
|
8207
|
+
needs_human_review: boolean;
|
|
8208
|
+
top_risks: string[];
|
|
8209
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8210
|
+
}, {
|
|
8211
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8212
|
+
risk_count: number;
|
|
8213
|
+
critical_count: number;
|
|
8214
|
+
high_count: number;
|
|
8215
|
+
needs_human_review: boolean;
|
|
8216
|
+
top_risks: string[];
|
|
8217
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8218
|
+
}>>;
|
|
8219
|
+
}, "strict", z.ZodTypeAny, {
|
|
8220
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
8221
|
+
puzzle_status?: {
|
|
8222
|
+
data: boolean;
|
|
8223
|
+
intent: boolean;
|
|
8224
|
+
binding: boolean;
|
|
8225
|
+
query: boolean;
|
|
8226
|
+
logic: boolean;
|
|
8227
|
+
constraints: boolean;
|
|
8228
|
+
} | undefined;
|
|
8229
|
+
matched_scene?: string | undefined;
|
|
8230
|
+
scene_description?: string | undefined;
|
|
8231
|
+
scene_constraints?: string[] | undefined;
|
|
8232
|
+
suggested_patterns?: string[] | undefined;
|
|
8233
|
+
available_queries?: {
|
|
8234
|
+
name: string;
|
|
8235
|
+
id: number;
|
|
8236
|
+
objectType: string;
|
|
8237
|
+
returnType: string;
|
|
8238
|
+
description?: string | undefined;
|
|
8239
|
+
}[] | undefined;
|
|
8240
|
+
risk_warnings?: string[] | undefined;
|
|
8241
|
+
pending_questions?: string[] | undefined;
|
|
8242
|
+
confirmation_text?: string | undefined;
|
|
8243
|
+
test_result?: {
|
|
8244
|
+
status: "pass" | "fail" | "not_tested";
|
|
8245
|
+
failure_node?: string | undefined;
|
|
8246
|
+
passport_id?: string | undefined;
|
|
8247
|
+
} | undefined;
|
|
8248
|
+
risk_assessment?: {
|
|
8249
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8250
|
+
risk_count: number;
|
|
8251
|
+
critical_count: number;
|
|
8252
|
+
high_count: number;
|
|
8253
|
+
needs_human_review: boolean;
|
|
8254
|
+
top_risks: string[];
|
|
8255
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8256
|
+
} | undefined;
|
|
8257
|
+
}, {
|
|
8258
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
8259
|
+
puzzle_status?: {
|
|
8260
|
+
data: boolean;
|
|
8261
|
+
intent: boolean;
|
|
8262
|
+
binding: boolean;
|
|
8263
|
+
query: boolean;
|
|
8264
|
+
logic: boolean;
|
|
8265
|
+
constraints: boolean;
|
|
8266
|
+
} | undefined;
|
|
8267
|
+
matched_scene?: string | undefined;
|
|
8268
|
+
scene_description?: string | undefined;
|
|
8269
|
+
scene_constraints?: string[] | undefined;
|
|
8270
|
+
suggested_patterns?: string[] | undefined;
|
|
8271
|
+
available_queries?: {
|
|
8272
|
+
name: string;
|
|
8273
|
+
id: number;
|
|
8274
|
+
objectType: string;
|
|
8275
|
+
returnType: string;
|
|
8276
|
+
description?: string | undefined;
|
|
8277
|
+
}[] | undefined;
|
|
8278
|
+
risk_warnings?: string[] | undefined;
|
|
8279
|
+
pending_questions?: string[] | undefined;
|
|
8280
|
+
confirmation_text?: string | undefined;
|
|
8281
|
+
test_result?: {
|
|
8282
|
+
status: "pass" | "fail" | "not_tested";
|
|
8283
|
+
failure_node?: string | undefined;
|
|
8284
|
+
passport_id?: string | undefined;
|
|
8285
|
+
} | undefined;
|
|
8286
|
+
risk_assessment?: {
|
|
8287
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8288
|
+
risk_count: number;
|
|
8289
|
+
critical_count: number;
|
|
8290
|
+
high_count: number;
|
|
8291
|
+
needs_human_review: boolean;
|
|
8292
|
+
top_risks: string[];
|
|
8293
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8294
|
+
} | undefined;
|
|
8295
|
+
}>>;
|
|
7645
8296
|
}, "strict", z.ZodTypeAny, {
|
|
7646
8297
|
status: "success" | "partial" | "failed" | "pending_input";
|
|
7647
8298
|
intent: string;
|
|
@@ -7725,6 +8376,45 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7725
8376
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
7726
8377
|
role_advice?: string[] | undefined;
|
|
7727
8378
|
} | undefined;
|
|
8379
|
+
guard_advice?: {
|
|
8380
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
8381
|
+
puzzle_status?: {
|
|
8382
|
+
data: boolean;
|
|
8383
|
+
intent: boolean;
|
|
8384
|
+
binding: boolean;
|
|
8385
|
+
query: boolean;
|
|
8386
|
+
logic: boolean;
|
|
8387
|
+
constraints: boolean;
|
|
8388
|
+
} | undefined;
|
|
8389
|
+
matched_scene?: string | undefined;
|
|
8390
|
+
scene_description?: string | undefined;
|
|
8391
|
+
scene_constraints?: string[] | undefined;
|
|
8392
|
+
suggested_patterns?: string[] | undefined;
|
|
8393
|
+
available_queries?: {
|
|
8394
|
+
name: string;
|
|
8395
|
+
id: number;
|
|
8396
|
+
objectType: string;
|
|
8397
|
+
returnType: string;
|
|
8398
|
+
description?: string | undefined;
|
|
8399
|
+
}[] | undefined;
|
|
8400
|
+
risk_warnings?: string[] | undefined;
|
|
8401
|
+
pending_questions?: string[] | undefined;
|
|
8402
|
+
confirmation_text?: string | undefined;
|
|
8403
|
+
test_result?: {
|
|
8404
|
+
status: "pass" | "fail" | "not_tested";
|
|
8405
|
+
failure_node?: string | undefined;
|
|
8406
|
+
passport_id?: string | undefined;
|
|
8407
|
+
} | undefined;
|
|
8408
|
+
risk_assessment?: {
|
|
8409
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8410
|
+
risk_count: number;
|
|
8411
|
+
critical_count: number;
|
|
8412
|
+
high_count: number;
|
|
8413
|
+
needs_human_review: boolean;
|
|
8414
|
+
top_risks: string[];
|
|
8415
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8416
|
+
} | undefined;
|
|
8417
|
+
} | undefined;
|
|
7728
8418
|
}, {
|
|
7729
8419
|
status: "success" | "partial" | "failed" | "pending_input";
|
|
7730
8420
|
intent: string;
|
|
@@ -7808,6 +8498,45 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7808
8498
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
7809
8499
|
role_advice?: string[] | undefined;
|
|
7810
8500
|
} | undefined;
|
|
8501
|
+
guard_advice?: {
|
|
8502
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
8503
|
+
puzzle_status?: {
|
|
8504
|
+
data: boolean;
|
|
8505
|
+
intent: boolean;
|
|
8506
|
+
binding: boolean;
|
|
8507
|
+
query: boolean;
|
|
8508
|
+
logic: boolean;
|
|
8509
|
+
constraints: boolean;
|
|
8510
|
+
} | undefined;
|
|
8511
|
+
matched_scene?: string | undefined;
|
|
8512
|
+
scene_description?: string | undefined;
|
|
8513
|
+
scene_constraints?: string[] | undefined;
|
|
8514
|
+
suggested_patterns?: string[] | undefined;
|
|
8515
|
+
available_queries?: {
|
|
8516
|
+
name: string;
|
|
8517
|
+
id: number;
|
|
8518
|
+
objectType: string;
|
|
8519
|
+
returnType: string;
|
|
8520
|
+
description?: string | undefined;
|
|
8521
|
+
}[] | undefined;
|
|
8522
|
+
risk_warnings?: string[] | undefined;
|
|
8523
|
+
pending_questions?: string[] | undefined;
|
|
8524
|
+
confirmation_text?: string | undefined;
|
|
8525
|
+
test_result?: {
|
|
8526
|
+
status: "pass" | "fail" | "not_tested";
|
|
8527
|
+
failure_node?: string | undefined;
|
|
8528
|
+
passport_id?: string | undefined;
|
|
8529
|
+
} | undefined;
|
|
8530
|
+
risk_assessment?: {
|
|
8531
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
8532
|
+
risk_count: number;
|
|
8533
|
+
critical_count: number;
|
|
8534
|
+
high_count: number;
|
|
8535
|
+
needs_human_review: boolean;
|
|
8536
|
+
top_risks: string[];
|
|
8537
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
8538
|
+
} | undefined;
|
|
8539
|
+
} | undefined;
|
|
7811
8540
|
}>>;
|
|
7812
8541
|
harness_report: z.ZodOptional<z.ZodObject<{
|
|
7813
8542
|
verify: z.ZodObject<{
|
|
@@ -7822,35 +8551,35 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7822
8551
|
expected: string;
|
|
7823
8552
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7824
8553
|
actual: string;
|
|
7825
|
-
severity: "pass" | "
|
|
8554
|
+
severity: "pass" | "fail" | "warn";
|
|
7826
8555
|
detail: string;
|
|
7827
8556
|
}, {
|
|
7828
8557
|
expected: string;
|
|
7829
8558
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7830
8559
|
actual: string;
|
|
7831
|
-
severity: "pass" | "
|
|
8560
|
+
severity: "pass" | "fail" | "warn";
|
|
7832
8561
|
detail: string;
|
|
7833
8562
|
}>, "many">;
|
|
7834
8563
|
summary: z.ZodString;
|
|
7835
8564
|
timestamp: z.ZodString;
|
|
7836
8565
|
}, "strip", z.ZodTypeAny, {
|
|
7837
|
-
status: "pass" | "
|
|
8566
|
+
status: "pass" | "fail" | "warn";
|
|
7838
8567
|
mismatches: {
|
|
7839
8568
|
expected: string;
|
|
7840
8569
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7841
8570
|
actual: string;
|
|
7842
|
-
severity: "pass" | "
|
|
8571
|
+
severity: "pass" | "fail" | "warn";
|
|
7843
8572
|
detail: string;
|
|
7844
8573
|
}[];
|
|
7845
8574
|
summary: string;
|
|
7846
8575
|
timestamp: string;
|
|
7847
8576
|
}, {
|
|
7848
|
-
status: "pass" | "
|
|
8577
|
+
status: "pass" | "fail" | "warn";
|
|
7849
8578
|
mismatches: {
|
|
7850
8579
|
expected: string;
|
|
7851
8580
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7852
8581
|
actual: string;
|
|
7853
|
-
severity: "pass" | "
|
|
8582
|
+
severity: "pass" | "fail" | "warn";
|
|
7854
8583
|
detail: string;
|
|
7855
8584
|
}[];
|
|
7856
8585
|
summary: string;
|
|
@@ -7883,12 +8612,12 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7883
8612
|
}>>;
|
|
7884
8613
|
}, "strip", z.ZodTypeAny, {
|
|
7885
8614
|
verify: {
|
|
7886
|
-
status: "pass" | "
|
|
8615
|
+
status: "pass" | "fail" | "warn";
|
|
7887
8616
|
mismatches: {
|
|
7888
8617
|
expected: string;
|
|
7889
8618
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7890
8619
|
actual: string;
|
|
7891
|
-
severity: "pass" | "
|
|
8620
|
+
severity: "pass" | "fail" | "warn";
|
|
7892
8621
|
detail: string;
|
|
7893
8622
|
}[];
|
|
7894
8623
|
summary: string;
|
|
@@ -7905,12 +8634,12 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7905
8634
|
} | undefined;
|
|
7906
8635
|
}, {
|
|
7907
8636
|
verify: {
|
|
7908
|
-
status: "pass" | "
|
|
8637
|
+
status: "pass" | "fail" | "warn";
|
|
7909
8638
|
mismatches: {
|
|
7910
8639
|
expected: string;
|
|
7911
8640
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
7912
8641
|
actual: string;
|
|
7913
|
-
severity: "pass" | "
|
|
8642
|
+
severity: "pass" | "fail" | "warn";
|
|
7914
8643
|
detail: string;
|
|
7915
8644
|
}[];
|
|
7916
8645
|
summary: string;
|
|
@@ -7926,11 +8655,42 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
7926
8655
|
user_prompt?: string | undefined;
|
|
7927
8656
|
} | undefined;
|
|
7928
8657
|
}>>;
|
|
8658
|
+
schema_warning: z.ZodOptional<z.ZodObject<{
|
|
8659
|
+
compatible: z.ZodBoolean;
|
|
8660
|
+
warnings: z.ZodArray<z.ZodString, "many">;
|
|
8661
|
+
client_version: z.ZodOptional<z.ZodString>;
|
|
8662
|
+
server_versions: z.ZodObject<{
|
|
8663
|
+
sdk: z.ZodString;
|
|
8664
|
+
mcp: z.ZodString;
|
|
8665
|
+
}, "strip", z.ZodTypeAny, {
|
|
8666
|
+
sdk: string;
|
|
8667
|
+
mcp: string;
|
|
8668
|
+
}, {
|
|
8669
|
+
sdk: string;
|
|
8670
|
+
mcp: string;
|
|
8671
|
+
}>;
|
|
8672
|
+
}, "strict", z.ZodTypeAny, {
|
|
8673
|
+
warnings: string[];
|
|
8674
|
+
compatible: boolean;
|
|
8675
|
+
server_versions: {
|
|
8676
|
+
sdk: string;
|
|
8677
|
+
mcp: string;
|
|
8678
|
+
};
|
|
8679
|
+
client_version?: string | undefined;
|
|
8680
|
+
}, {
|
|
8681
|
+
warnings: string[];
|
|
8682
|
+
compatible: boolean;
|
|
8683
|
+
server_versions: {
|
|
8684
|
+
sdk: string;
|
|
8685
|
+
mcp: string;
|
|
8686
|
+
};
|
|
8687
|
+
client_version?: string | undefined;
|
|
8688
|
+
}>>;
|
|
7929
8689
|
}, "strict", z.ZodTypeAny, {
|
|
7930
8690
|
result: {
|
|
7931
8691
|
type: "error";
|
|
7932
8692
|
error: string;
|
|
7933
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
8693
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
7934
8694
|
retryable?: boolean | undefined;
|
|
7935
8695
|
recovery_hint?: string | undefined;
|
|
7936
8696
|
related_object?: string | undefined;
|
|
@@ -8430,15 +9190,54 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
8430
9190
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
8431
9191
|
role_advice?: string[] | undefined;
|
|
8432
9192
|
} | undefined;
|
|
9193
|
+
guard_advice?: {
|
|
9194
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
9195
|
+
puzzle_status?: {
|
|
9196
|
+
data: boolean;
|
|
9197
|
+
intent: boolean;
|
|
9198
|
+
binding: boolean;
|
|
9199
|
+
query: boolean;
|
|
9200
|
+
logic: boolean;
|
|
9201
|
+
constraints: boolean;
|
|
9202
|
+
} | undefined;
|
|
9203
|
+
matched_scene?: string | undefined;
|
|
9204
|
+
scene_description?: string | undefined;
|
|
9205
|
+
scene_constraints?: string[] | undefined;
|
|
9206
|
+
suggested_patterns?: string[] | undefined;
|
|
9207
|
+
available_queries?: {
|
|
9208
|
+
name: string;
|
|
9209
|
+
id: number;
|
|
9210
|
+
objectType: string;
|
|
9211
|
+
returnType: string;
|
|
9212
|
+
description?: string | undefined;
|
|
9213
|
+
}[] | undefined;
|
|
9214
|
+
risk_warnings?: string[] | undefined;
|
|
9215
|
+
pending_questions?: string[] | undefined;
|
|
9216
|
+
confirmation_text?: string | undefined;
|
|
9217
|
+
test_result?: {
|
|
9218
|
+
status: "pass" | "fail" | "not_tested";
|
|
9219
|
+
failure_node?: string | undefined;
|
|
9220
|
+
passport_id?: string | undefined;
|
|
9221
|
+
} | undefined;
|
|
9222
|
+
risk_assessment?: {
|
|
9223
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
9224
|
+
risk_count: number;
|
|
9225
|
+
critical_count: number;
|
|
9226
|
+
high_count: number;
|
|
9227
|
+
needs_human_review: boolean;
|
|
9228
|
+
top_risks: string[];
|
|
9229
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
9230
|
+
} | undefined;
|
|
9231
|
+
} | undefined;
|
|
8433
9232
|
} | undefined;
|
|
8434
9233
|
harness_report?: {
|
|
8435
9234
|
verify: {
|
|
8436
|
-
status: "pass" | "
|
|
9235
|
+
status: "pass" | "fail" | "warn";
|
|
8437
9236
|
mismatches: {
|
|
8438
9237
|
expected: string;
|
|
8439
9238
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
8440
9239
|
actual: string;
|
|
8441
|
-
severity: "pass" | "
|
|
9240
|
+
severity: "pass" | "fail" | "warn";
|
|
8442
9241
|
detail: string;
|
|
8443
9242
|
}[];
|
|
8444
9243
|
summary: string;
|
|
@@ -8454,11 +9253,20 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
8454
9253
|
user_prompt?: string | undefined;
|
|
8455
9254
|
} | undefined;
|
|
8456
9255
|
} | undefined;
|
|
9256
|
+
schema_warning?: {
|
|
9257
|
+
warnings: string[];
|
|
9258
|
+
compatible: boolean;
|
|
9259
|
+
server_versions: {
|
|
9260
|
+
sdk: string;
|
|
9261
|
+
mcp: string;
|
|
9262
|
+
};
|
|
9263
|
+
client_version?: string | undefined;
|
|
9264
|
+
} | undefined;
|
|
8457
9265
|
}, {
|
|
8458
9266
|
result: {
|
|
8459
9267
|
type: "error";
|
|
8460
9268
|
error: string;
|
|
8461
|
-
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | undefined;
|
|
9269
|
+
error_code?: "unknown" | "invalid_parameter" | "guard_rejected" | "state_conflict" | "insufficient_balance" | "object_not_found" | "permission_denied" | "immutable_violation" | "network_error" | "rate_limit" | "gas_exceeded" | "bcs_error" | "signature_error" | "config_error" | undefined;
|
|
8462
9270
|
retryable?: boolean | undefined;
|
|
8463
9271
|
recovery_hint?: string | undefined;
|
|
8464
9272
|
related_object?: string | undefined;
|
|
@@ -8958,15 +9766,54 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
8958
9766
|
intent?: "custom" | "default" | "growth" | "retention" | "compliance" | "efficiency" | "trust_building" | undefined;
|
|
8959
9767
|
role_advice?: string[] | undefined;
|
|
8960
9768
|
} | undefined;
|
|
9769
|
+
guard_advice?: {
|
|
9770
|
+
current_round?: "R1" | "R2" | "R3" | "R4" | "R5" | "R6" | "R7" | "R8" | "R9" | "R10" | undefined;
|
|
9771
|
+
puzzle_status?: {
|
|
9772
|
+
data: boolean;
|
|
9773
|
+
intent: boolean;
|
|
9774
|
+
binding: boolean;
|
|
9775
|
+
query: boolean;
|
|
9776
|
+
logic: boolean;
|
|
9777
|
+
constraints: boolean;
|
|
9778
|
+
} | undefined;
|
|
9779
|
+
matched_scene?: string | undefined;
|
|
9780
|
+
scene_description?: string | undefined;
|
|
9781
|
+
scene_constraints?: string[] | undefined;
|
|
9782
|
+
suggested_patterns?: string[] | undefined;
|
|
9783
|
+
available_queries?: {
|
|
9784
|
+
name: string;
|
|
9785
|
+
id: number;
|
|
9786
|
+
objectType: string;
|
|
9787
|
+
returnType: string;
|
|
9788
|
+
description?: string | undefined;
|
|
9789
|
+
}[] | undefined;
|
|
9790
|
+
risk_warnings?: string[] | undefined;
|
|
9791
|
+
pending_questions?: string[] | undefined;
|
|
9792
|
+
confirmation_text?: string | undefined;
|
|
9793
|
+
test_result?: {
|
|
9794
|
+
status: "pass" | "fail" | "not_tested";
|
|
9795
|
+
failure_node?: string | undefined;
|
|
9796
|
+
passport_id?: string | undefined;
|
|
9797
|
+
} | undefined;
|
|
9798
|
+
risk_assessment?: {
|
|
9799
|
+
overall_risk: "info" | "low" | "high" | "critical" | "medium";
|
|
9800
|
+
risk_count: number;
|
|
9801
|
+
critical_count: number;
|
|
9802
|
+
high_count: number;
|
|
9803
|
+
needs_human_review: boolean;
|
|
9804
|
+
top_risks: string[];
|
|
9805
|
+
stakeholder_advice?: Record<string, string[]> | undefined;
|
|
9806
|
+
} | undefined;
|
|
9807
|
+
} | undefined;
|
|
8961
9808
|
} | undefined;
|
|
8962
9809
|
harness_report?: {
|
|
8963
9810
|
verify: {
|
|
8964
|
-
status: "pass" | "
|
|
9811
|
+
status: "pass" | "fail" | "warn";
|
|
8965
9812
|
mismatches: {
|
|
8966
9813
|
expected: string;
|
|
8967
9814
|
dimension: "created" | "modified" | "released" | "state" | "event";
|
|
8968
9815
|
actual: string;
|
|
8969
|
-
severity: "pass" | "
|
|
9816
|
+
severity: "pass" | "fail" | "warn";
|
|
8970
9817
|
detail: string;
|
|
8971
9818
|
}[];
|
|
8972
9819
|
summary: string;
|
|
@@ -8982,6 +9829,15 @@ export declare const CallOutputSchema: z.ZodObject<{
|
|
|
8982
9829
|
user_prompt?: string | undefined;
|
|
8983
9830
|
} | undefined;
|
|
8984
9831
|
} | undefined;
|
|
9832
|
+
schema_warning?: {
|
|
9833
|
+
warnings: string[];
|
|
9834
|
+
compatible: boolean;
|
|
9835
|
+
server_versions: {
|
|
9836
|
+
sdk: string;
|
|
9837
|
+
mcp: string;
|
|
9838
|
+
};
|
|
9839
|
+
client_version?: string | undefined;
|
|
9840
|
+
} | undefined;
|
|
8985
9841
|
}>;
|
|
8986
9842
|
export type NormalObject = z.infer<typeof NormalObjectSchema>;
|
|
8987
9843
|
export type NamedObject = z.infer<typeof NamedObjectSchema>;
|
|
@@ -9002,6 +9858,7 @@ export type TypedDescriptionObject = z.infer<typeof TypedDescriptionObjectSchema
|
|
|
9002
9858
|
export type WithPermissionObject = z.infer<typeof WithPermissionObjectSchema>;
|
|
9003
9859
|
export type CallResult = z.infer<typeof CallResultSchema>;
|
|
9004
9860
|
export type CallOutput = z.infer<typeof CallOutputSchema>;
|
|
9861
|
+
export type SchemaWarning = z.infer<typeof SchemaWarningSchema>;
|
|
9005
9862
|
export type ObjectRole = z.infer<typeof ObjectRoleSchema>;
|
|
9006
9863
|
export type FundRole = z.infer<typeof FundRoleSchema>;
|
|
9007
9864
|
export type NextAction = z.infer<typeof NextActionSchema>;
|
|
@@ -9013,6 +9870,7 @@ export type CustomerReminder = z.infer<typeof CustomerReminderSchema>;
|
|
|
9013
9870
|
export type PreferenceMatch = z.infer<typeof PreferenceMatchSchema>;
|
|
9014
9871
|
export type CustomerAdvice = z.infer<typeof CustomerAdviceSchema>;
|
|
9015
9872
|
export type EvolutionContext = z.infer<typeof EvolutionContextSchema>;
|
|
9873
|
+
export type GuardAdvice = z.infer<typeof GuardAdviceSchema>;
|
|
9016
9874
|
export type VerifyMismatch = z.infer<typeof VerifyMismatchSchema>;
|
|
9017
9875
|
export type VerifyReport = z.infer<typeof VerifyReportSchema>;
|
|
9018
9876
|
export type RecoveryAction = z.infer<typeof RecoveryActionSchema>;
|