@wowok/agent-mcp 2.6.1 → 2.6.3
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/info-puzzle.d.ts +1 -1
- package/dist/customer/info-puzzle.js +4 -2
- package/dist/customer/risk-assessment.js +26 -4
- package/dist/customer/types.d.ts +2 -0
- package/dist/examples/guard-template-balance-check.json +38 -0
- package/dist/examples/guard-template-time-lock.json +39 -0
- package/dist/examples/machine-template-7node-rental.json +114 -0
- package/dist/examples/rental-ziroom-machine-create.json +137 -0
- package/dist/examples/rental-ziroom-permission-create.json +35 -0
- package/dist/examples/rental-ziroom-service-create.json +80 -0
- package/dist/examples/retail-myshop-service-create.json +88 -0
- package/dist/extensions/capability-manifest.js +24 -24
- package/dist/extensions/constraint-registry.js +18 -18
- package/dist/extensions/metric-registry.js +14 -14
- package/dist/extensions/mode-evaluator.js +16 -16
- package/dist/extensions/modes.js +131 -45
- package/dist/extensions/registry.d.ts +2 -0
- package/dist/extensions/registry.js +63 -30
- package/dist/extensions/types.d.ts +1 -0
- package/dist/index.js +50 -0
- package/dist/knowledge/deployment-scanner.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +72 -0
- package/dist/knowledge/fund-layer.js +420 -0
- package/dist/knowledge/guard-render.d.ts +57 -0
- package/dist/knowledge/guard-render.js +700 -0
- package/dist/knowledge/guard-submission-prompt.d.ts +31 -0
- package/dist/knowledge/guard-submission-prompt.js +171 -0
- package/dist/knowledge/machine-ledger.js +1 -1
- package/dist/knowledge/machine-render.d.ts +41 -0
- package/dist/knowledge/machine-render.js +565 -0
- package/dist/knowledge/machine-templates.js +4 -4
- package/dist/knowledge/reward-confirm.js +2 -2
- package/dist/knowledge/reward-puzzle.js +1 -1
- package/dist/knowledge/reward-risk.js +9 -9
- package/dist/knowledge/reward-templates.js +2 -2
- package/dist/knowledge/service-confirm.d.ts +1 -1
- package/dist/knowledge/service-confirm.js +3 -3
- package/dist/knowledge/service-context.js +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/service-risk.d.ts +1 -1
- package/dist/knowledge/service-risk.js +3 -3
- package/dist/knowledge/service-templates.js +2 -2
- package/dist/knowledge/service-translation.d.ts +1 -1
- package/dist/knowledge/service-translation.js +7 -7
- package/dist/project/deployment-bridge.js +6 -5
- package/dist/project/deployment-doc.js +5 -5
- package/dist/project/edit-planner.d.ts +123 -0
- package/dist/project/edit-planner.js +1371 -0
- package/dist/project/evaluation.js +314 -14
- package/dist/project/graph-builder.js +6 -1
- package/dist/project/handlers.d.ts +99 -2
- package/dist/project/handlers.js +358 -16
- package/dist/project/stage-gate.js +4 -4
- package/dist/schema/call/allocation.js +2 -2
- package/dist/schema/call/arbitration.js +19 -6
- package/dist/schema/call/contact.js +2 -2
- package/dist/schema/call/demand.js +2 -2
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/machine.d.ts +1975 -777
- package/dist/schema/call/machine.js +50 -4
- package/dist/schema/call/order.js +3 -6
- package/dist/schema/call/permission.js +2 -2
- package/dist/schema/call/repository.js +2 -2
- package/dist/schema/call/reward.js +3 -3
- package/dist/schema/call/semantic.js +7 -1
- package/dist/schema/call/service.d.ts +180 -8
- package/dist/schema/call/service.js +82 -27
- package/dist/schema/call/treasury.js +3 -3
- package/dist/schema/common/index.d.ts +2 -0
- package/dist/schema/common/index.js +46 -10
- package/dist/schema/local/index.js +5 -1
- package/dist/schema/operations.d.ts +755 -176
- package/dist/schema/operations.js +43 -7
- package/dist/schema/project/index.d.ts +969 -6
- package/dist/schema/project/index.js +268 -4
- package/dist/schema/query/index.d.ts +217 -0
- package/dist/schema/query/index.js +63 -33
- package/dist/schema/schema-query/index.d.ts +53 -3
- package/dist/schema/schema-query/index.js +17 -2
- package/dist/schema/utils/node-parser.js +13 -0
- package/dist/schema/utils/object-type-utils.d.ts +12 -0
- package/dist/schema/utils/object-type-utils.js +35 -0
- package/dist/schema/utils/permission-machine-check.d.ts +49 -0
- package/dist/schema/utils/permission-machine-check.js +121 -0
- package/dist/schema/utils/skills-recommendation.d.ts +2 -0
- package/dist/schema/utils/skills-recommendation.js +76 -0
- package/dist/schema-query/index.d.ts +14 -1
- package/dist/schema-query/index.js +104 -2
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/onchain_events.output.json +1 -1
- package/dist/schemas/onchain_operations.output.json +2820 -0
- package/dist/schemas/onchain_operations.schema.json +115 -53
- package/dist/schemas/onchain_operations_allocation.schema.json +5 -5
- package/dist/schemas/onchain_operations_arbitration.schema.json +9 -7
- package/dist/schemas/onchain_operations_contact.schema.json +3 -3
- package/dist/schemas/onchain_operations_demand.schema.json +3 -3
- package/dist/schemas/onchain_operations_gen_passport.schema.json +2 -2
- package/dist/schemas/onchain_operations_guard.schema.json +1 -1
- package/dist/schemas/onchain_operations_machine.schema.json +4 -4
- package/dist/schemas/onchain_operations_order.schema.json +3 -3
- package/dist/schemas/onchain_operations_payment.schema.json +1 -1
- package/dist/schemas/onchain_operations_permission.schema.json +2 -2
- package/dist/schemas/onchain_operations_progress.schema.json +1 -1
- package/dist/schemas/onchain_operations_proof.schema.json +1 -1
- package/dist/schemas/onchain_operations_repository.schema.json +3 -3
- package/dist/schemas/onchain_operations_reward.schema.json +6 -6
- package/dist/schemas/onchain_operations_service.schema.json +77 -17
- package/dist/schemas/onchain_operations_treasury.schema.json +4 -4
- package/dist/schemas/onchain_table_data.output.json +1 -1
- package/dist/schemas/onchain_table_data.schema.json +10 -9
- package/dist/schemas/project_operation.output.json +1026 -7
- package/dist/schemas/project_operation.schema.json +46 -4
- package/dist/schemas/query_toolkit.output.json +15 -15
- package/dist/schemas/query_toolkit.schema.json +3 -3
- package/dist/schemas/schema_query.output.json +64 -1
- package/dist/schemas/schema_query.schema.json +3 -2
- package/dist/schemas/wowok_buildin_info.output.json +81 -8
- package/dist/schemas/wowok_buildin_info.schema.json +46 -2
- package/dist/tools/handlers/onchain.js +571 -6
- package/dist/tools/handlers/project.js +25 -2
- package/dist/tools/handlers/schema-query.js +24 -1
- package/dist/tools/index.d.ts +8 -0
- package/dist/tools/index.js +177 -6
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const ProjectObjectTypeEnum: z.ZodEnum<["service", "machine", "guard", "permission", "reward", "arb", "progress", "treasury", "demand", "repository", "contact", "order", "allocation", "personal", "payment", "proof"]>;
|
|
3
3
|
export declare const EdgeKindEnum: z.ZodEnum<["machine", "order_allocators", "arbitrations", "compensation_fund", "rewards", "buy_guard", "permission", "guard", "prev", "next", "forward", "parent", "service", "progress", "arbitration", "sub_order", "references"]>;
|
|
4
4
|
export declare const ProjectOperationInputSchema: z.ZodObject<{
|
|
5
|
-
action: z.ZodEnum<["list_projects", "create_project", "create_project_from_onchain", "update_project", "get_project_detail", "add_object", "remove_object", "update_object", "create_version", "build_graph", "get_graph", "evaluate_project", "save_evaluation", "compare_projects", "refresh_objects", "get_object_diff", "delete_project", "assemble_context", "get_machine_graph", "generate_deployment_doc", "pre_evaluate_check", "verify_deployment", "clone_project_to_network", "migrate_network"]>;
|
|
5
|
+
action: z.ZodEnum<["list_projects", "create_project", "create_project_from_onchain", "update_project", "get_project_detail", "add_object", "remove_object", "update_object", "create_version", "build_graph", "get_graph", "evaluate_project", "save_evaluation", "compare_projects", "refresh_objects", "get_object_diff", "delete_project", "assemble_context", "get_machine_graph", "get_guard_graph", "generate_deployment_doc", "pre_evaluate_check", "verify_deployment", "clone_project_to_network", "migrate_network", "migrate_to_mainnet", "plan_object_edit", "apply_object_edit", "patch_machine_nodes", "patch_guard_tree"]>;
|
|
6
6
|
project: z.ZodOptional<z.ZodString>;
|
|
7
7
|
version: z.ZodOptional<z.ZodString>;
|
|
8
8
|
context_objects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -13,7 +13,7 @@ export declare const ProjectOperationInputSchema: z.ZodObject<{
|
|
|
13
13
|
filter_network: z.ZodOptional<z.ZodEnum<["testnet", "mainnet"]>>;
|
|
14
14
|
project_name: z.ZodOptional<z.ZodString>;
|
|
15
15
|
project_description: z.ZodOptional<z.ZodString>;
|
|
16
|
-
project_industry: z.ZodOptional<z.ZodEnum<["general", "retail", "service", "rental", "freelance", "education", "travel", "subscription", "custom"]>>;
|
|
16
|
+
project_industry: z.ZodOptional<z.ZodEnum<["general", "retail", "retail_d2c", "service", "rental", "freelance", "education", "travel", "subscription", "custom"]>>;
|
|
17
17
|
project_perspective: z.ZodOptional<z.ZodEnum<["producer", "consumer", "both"]>>;
|
|
18
18
|
project_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19
19
|
service_address: z.ZodOptional<z.ZodString>;
|
|
@@ -52,8 +52,14 @@ export declare const ProjectOperationInputSchema: z.ZodObject<{
|
|
|
52
52
|
network: z.ZodOptional<z.ZodEnum<["testnet", "mainnet"]>>;
|
|
53
53
|
save: z.ZodOptional<z.ZodBoolean>;
|
|
54
54
|
detail_level: z.ZodOptional<z.ZodEnum<["summary", "detailed", "full"]>>;
|
|
55
|
+
object_kind: z.ZodOptional<z.ZodEnum<["machine", "guard"]>>;
|
|
56
|
+
edit_format: z.ZodOptional<z.ZodEnum<["tree_outline", "json"]>>;
|
|
57
|
+
edited_content: z.ZodOptional<z.ZodString>;
|
|
58
|
+
plan_id: z.ZodOptional<z.ZodString>;
|
|
59
|
+
expected_hash: z.ZodOptional<z.ZodString>;
|
|
60
|
+
patch_operations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
55
61
|
}, "strict", z.ZodTypeAny, {
|
|
56
|
-
action: "list_projects" | "create_project" | "create_project_from_onchain" | "update_project" | "get_project_detail" | "add_object" | "remove_object" | "create_version" | "build_graph" | "get_graph" | "evaluate_project" | "save_evaluation" | "compare_projects" | "refresh_objects" | "get_object_diff" | "assemble_context" | "update_object" | "delete_project" | "get_machine_graph" | "generate_deployment_doc" | "pre_evaluate_check" | "verify_deployment" | "clone_project_to_network" | "migrate_network";
|
|
62
|
+
action: "list_projects" | "create_project" | "create_project_from_onchain" | "update_project" | "get_project_detail" | "add_object" | "remove_object" | "create_version" | "build_graph" | "get_graph" | "evaluate_project" | "save_evaluation" | "compare_projects" | "refresh_objects" | "get_object_diff" | "assemble_context" | "update_object" | "delete_project" | "get_machine_graph" | "get_guard_graph" | "generate_deployment_doc" | "pre_evaluate_check" | "verify_deployment" | "clone_project_to_network" | "migrate_network" | "migrate_to_mainnet" | "plan_object_edit" | "apply_object_edit" | "patch_machine_nodes" | "patch_guard_tree";
|
|
57
63
|
version?: string | undefined;
|
|
58
64
|
network?: "testnet" | "mainnet" | undefined;
|
|
59
65
|
project?: string | undefined;
|
|
@@ -66,7 +72,7 @@ export declare const ProjectOperationInputSchema: z.ZodObject<{
|
|
|
66
72
|
filter_network?: "testnet" | "mainnet" | undefined;
|
|
67
73
|
project_name?: string | undefined;
|
|
68
74
|
project_description?: string | undefined;
|
|
69
|
-
project_industry?: "custom" | "service" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general" | undefined;
|
|
75
|
+
project_industry?: "custom" | "service" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general" | "retail_d2c" | undefined;
|
|
70
76
|
project_perspective?: "consumer" | "producer" | "both" | undefined;
|
|
71
77
|
project_labels?: string[] | undefined;
|
|
72
78
|
project_network?: "testnet" | "mainnet" | undefined;
|
|
@@ -103,8 +109,14 @@ export declare const ProjectOperationInputSchema: z.ZodObject<{
|
|
|
103
109
|
diff_to_time?: number | undefined;
|
|
104
110
|
save?: boolean | undefined;
|
|
105
111
|
detail_level?: "summary" | "full" | "detailed" | undefined;
|
|
112
|
+
object_kind?: "guard" | "machine" | undefined;
|
|
113
|
+
edit_format?: "json" | "tree_outline" | undefined;
|
|
114
|
+
edited_content?: string | undefined;
|
|
115
|
+
plan_id?: string | undefined;
|
|
116
|
+
expected_hash?: string | undefined;
|
|
117
|
+
patch_operations?: string[] | undefined;
|
|
106
118
|
}, {
|
|
107
|
-
action: "list_projects" | "create_project" | "create_project_from_onchain" | "update_project" | "get_project_detail" | "add_object" | "remove_object" | "create_version" | "build_graph" | "get_graph" | "evaluate_project" | "save_evaluation" | "compare_projects" | "refresh_objects" | "get_object_diff" | "assemble_context" | "update_object" | "delete_project" | "get_machine_graph" | "generate_deployment_doc" | "pre_evaluate_check" | "verify_deployment" | "clone_project_to_network" | "migrate_network";
|
|
119
|
+
action: "list_projects" | "create_project" | "create_project_from_onchain" | "update_project" | "get_project_detail" | "add_object" | "remove_object" | "create_version" | "build_graph" | "get_graph" | "evaluate_project" | "save_evaluation" | "compare_projects" | "refresh_objects" | "get_object_diff" | "assemble_context" | "update_object" | "delete_project" | "get_machine_graph" | "get_guard_graph" | "generate_deployment_doc" | "pre_evaluate_check" | "verify_deployment" | "clone_project_to_network" | "migrate_network" | "migrate_to_mainnet" | "plan_object_edit" | "apply_object_edit" | "patch_machine_nodes" | "patch_guard_tree";
|
|
108
120
|
version?: string | undefined;
|
|
109
121
|
network?: "testnet" | "mainnet" | undefined;
|
|
110
122
|
project?: string | undefined;
|
|
@@ -117,7 +129,7 @@ export declare const ProjectOperationInputSchema: z.ZodObject<{
|
|
|
117
129
|
filter_network?: "testnet" | "mainnet" | undefined;
|
|
118
130
|
project_name?: string | undefined;
|
|
119
131
|
project_description?: string | undefined;
|
|
120
|
-
project_industry?: "custom" | "service" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general" | undefined;
|
|
132
|
+
project_industry?: "custom" | "service" | "freelance" | "rental" | "education" | "travel" | "subscription" | "retail" | "general" | "retail_d2c" | undefined;
|
|
121
133
|
project_perspective?: "consumer" | "producer" | "both" | undefined;
|
|
122
134
|
project_labels?: string[] | undefined;
|
|
123
135
|
project_network?: "testnet" | "mainnet" | undefined;
|
|
@@ -154,6 +166,12 @@ export declare const ProjectOperationInputSchema: z.ZodObject<{
|
|
|
154
166
|
diff_to_time?: number | undefined;
|
|
155
167
|
save?: boolean | undefined;
|
|
156
168
|
detail_level?: "summary" | "full" | "detailed" | undefined;
|
|
169
|
+
object_kind?: "guard" | "machine" | undefined;
|
|
170
|
+
edit_format?: "json" | "tree_outline" | undefined;
|
|
171
|
+
edited_content?: string | undefined;
|
|
172
|
+
plan_id?: string | undefined;
|
|
173
|
+
expected_hash?: string | undefined;
|
|
174
|
+
patch_operations?: string[] | undefined;
|
|
157
175
|
}>;
|
|
158
176
|
export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
159
177
|
result: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
@@ -2645,6 +2663,10 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
2645
2663
|
}>, "many">;
|
|
2646
2664
|
published: z.ZodNullable<z.ZodBoolean>;
|
|
2647
2665
|
paused: z.ZodNullable<z.ZodBoolean>;
|
|
2666
|
+
mermaid: z.ZodString;
|
|
2667
|
+
tree_outline: z.ZodString;
|
|
2668
|
+
ascii_art: z.ZodString;
|
|
2669
|
+
markmap: z.ZodString;
|
|
2648
2670
|
}, "strict", z.ZodTypeAny, {
|
|
2649
2671
|
action: "get_machine_graph";
|
|
2650
2672
|
published: boolean | null;
|
|
@@ -2655,6 +2677,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
2655
2677
|
paused: boolean | null;
|
|
2656
2678
|
machineName: string | null;
|
|
2657
2679
|
machineAddress: string;
|
|
2680
|
+
tree_outline: string;
|
|
2658
2681
|
edges: {
|
|
2659
2682
|
from: string;
|
|
2660
2683
|
to: string;
|
|
@@ -2667,6 +2690,9 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
2667
2690
|
}[];
|
|
2668
2691
|
threshold: number;
|
|
2669
2692
|
}[];
|
|
2693
|
+
mermaid: string;
|
|
2694
|
+
ascii_art: string;
|
|
2695
|
+
markmap: string;
|
|
2670
2696
|
}, {
|
|
2671
2697
|
action: "get_machine_graph";
|
|
2672
2698
|
published: boolean | null;
|
|
@@ -2677,6 +2703,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
2677
2703
|
paused: boolean | null;
|
|
2678
2704
|
machineName: string | null;
|
|
2679
2705
|
machineAddress: string;
|
|
2706
|
+
tree_outline: string;
|
|
2680
2707
|
edges: {
|
|
2681
2708
|
from: string;
|
|
2682
2709
|
to: string;
|
|
@@ -2689,6 +2716,468 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
2689
2716
|
}[];
|
|
2690
2717
|
threshold: number;
|
|
2691
2718
|
}[];
|
|
2719
|
+
mermaid: string;
|
|
2720
|
+
ascii_art: string;
|
|
2721
|
+
markmap: string;
|
|
2722
|
+
}>, z.ZodObject<{
|
|
2723
|
+
action: z.ZodLiteral<"get_guard_graph">;
|
|
2724
|
+
guardAddress: z.ZodString;
|
|
2725
|
+
guardName: z.ZodNullable<z.ZodString>;
|
|
2726
|
+
root: z.ZodType<any, z.ZodTypeDef, any>;
|
|
2727
|
+
table: z.ZodArray<z.ZodObject<{
|
|
2728
|
+
identifier: z.ZodNumber;
|
|
2729
|
+
b_submission: z.ZodBoolean;
|
|
2730
|
+
value_type: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2731
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
2732
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2733
|
+
}, "strict", z.ZodTypeAny, {
|
|
2734
|
+
identifier: number;
|
|
2735
|
+
b_submission: boolean;
|
|
2736
|
+
value_type: string | number;
|
|
2737
|
+
value?: unknown;
|
|
2738
|
+
name?: string | undefined;
|
|
2739
|
+
}, {
|
|
2740
|
+
identifier: number;
|
|
2741
|
+
b_submission: boolean;
|
|
2742
|
+
value_type: string | number;
|
|
2743
|
+
value?: unknown;
|
|
2744
|
+
name?: string | undefined;
|
|
2745
|
+
}>, "many">;
|
|
2746
|
+
rely: z.ZodNullable<z.ZodObject<{
|
|
2747
|
+
guards: z.ZodArray<z.ZodString, "many">;
|
|
2748
|
+
logic_or: z.ZodOptional<z.ZodBoolean>;
|
|
2749
|
+
}, "strip", z.ZodTypeAny, {
|
|
2750
|
+
guards: string[];
|
|
2751
|
+
logic_or?: boolean | undefined;
|
|
2752
|
+
}, {
|
|
2753
|
+
guards: string[];
|
|
2754
|
+
logic_or?: boolean | undefined;
|
|
2755
|
+
}>>;
|
|
2756
|
+
immutable: z.ZodNullable<z.ZodBoolean>;
|
|
2757
|
+
mermaid: z.ZodString;
|
|
2758
|
+
tree_outline: z.ZodString;
|
|
2759
|
+
ascii_art: z.ZodString;
|
|
2760
|
+
markmap: z.ZodString;
|
|
2761
|
+
}, "strict", z.ZodTypeAny, {
|
|
2762
|
+
immutable: boolean | null;
|
|
2763
|
+
action: "get_guard_graph";
|
|
2764
|
+
table: {
|
|
2765
|
+
identifier: number;
|
|
2766
|
+
b_submission: boolean;
|
|
2767
|
+
value_type: string | number;
|
|
2768
|
+
value?: unknown;
|
|
2769
|
+
name?: string | undefined;
|
|
2770
|
+
}[];
|
|
2771
|
+
rely: {
|
|
2772
|
+
guards: string[];
|
|
2773
|
+
logic_or?: boolean | undefined;
|
|
2774
|
+
} | null;
|
|
2775
|
+
guardAddress: string;
|
|
2776
|
+
tree_outline: string;
|
|
2777
|
+
mermaid: string;
|
|
2778
|
+
ascii_art: string;
|
|
2779
|
+
markmap: string;
|
|
2780
|
+
guardName: string | null;
|
|
2781
|
+
root?: any;
|
|
2782
|
+
}, {
|
|
2783
|
+
immutable: boolean | null;
|
|
2784
|
+
action: "get_guard_graph";
|
|
2785
|
+
table: {
|
|
2786
|
+
identifier: number;
|
|
2787
|
+
b_submission: boolean;
|
|
2788
|
+
value_type: string | number;
|
|
2789
|
+
value?: unknown;
|
|
2790
|
+
name?: string | undefined;
|
|
2791
|
+
}[];
|
|
2792
|
+
rely: {
|
|
2793
|
+
guards: string[];
|
|
2794
|
+
logic_or?: boolean | undefined;
|
|
2795
|
+
} | null;
|
|
2796
|
+
guardAddress: string;
|
|
2797
|
+
tree_outline: string;
|
|
2798
|
+
mermaid: string;
|
|
2799
|
+
ascii_art: string;
|
|
2800
|
+
markmap: string;
|
|
2801
|
+
guardName: string | null;
|
|
2802
|
+
root?: any;
|
|
2803
|
+
}>, z.ZodObject<{
|
|
2804
|
+
action: z.ZodLiteral<"plan_object_edit">;
|
|
2805
|
+
plan_id: z.ZodString;
|
|
2806
|
+
object_kind: z.ZodEnum<["machine", "guard"]>;
|
|
2807
|
+
object_address: z.ZodString;
|
|
2808
|
+
object_name: z.ZodNullable<z.ZodString>;
|
|
2809
|
+
expected_hash: z.ZodString;
|
|
2810
|
+
diff: z.ZodObject<{
|
|
2811
|
+
added: z.ZodArray<z.ZodString, "many">;
|
|
2812
|
+
removed: z.ZodArray<z.ZodString, "many">;
|
|
2813
|
+
modified: z.ZodArray<z.ZodString, "many">;
|
|
2814
|
+
summary: z.ZodString;
|
|
2815
|
+
}, "strip", z.ZodTypeAny, {
|
|
2816
|
+
summary: string;
|
|
2817
|
+
modified: string[];
|
|
2818
|
+
removed: string[];
|
|
2819
|
+
added: string[];
|
|
2820
|
+
}, {
|
|
2821
|
+
summary: string;
|
|
2822
|
+
modified: string[];
|
|
2823
|
+
removed: string[];
|
|
2824
|
+
added: string[];
|
|
2825
|
+
}>;
|
|
2826
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
2827
|
+
id: z.ZodString;
|
|
2828
|
+
description: z.ZodString;
|
|
2829
|
+
impact: z.ZodString;
|
|
2830
|
+
}, "strip", z.ZodTypeAny, {
|
|
2831
|
+
description: string;
|
|
2832
|
+
id: string;
|
|
2833
|
+
impact: string;
|
|
2834
|
+
}, {
|
|
2835
|
+
description: string;
|
|
2836
|
+
id: string;
|
|
2837
|
+
impact: string;
|
|
2838
|
+
}>, "many">;
|
|
2839
|
+
blocking_errors: z.ZodArray<z.ZodObject<{
|
|
2840
|
+
id: z.ZodString;
|
|
2841
|
+
description: z.ZodString;
|
|
2842
|
+
impact: z.ZodString;
|
|
2843
|
+
}, "strip", z.ZodTypeAny, {
|
|
2844
|
+
description: string;
|
|
2845
|
+
id: string;
|
|
2846
|
+
impact: string;
|
|
2847
|
+
}, {
|
|
2848
|
+
description: string;
|
|
2849
|
+
id: string;
|
|
2850
|
+
impact: string;
|
|
2851
|
+
}>, "many">;
|
|
2852
|
+
can_apply: z.ZodBoolean;
|
|
2853
|
+
prepared_call: z.ZodNullable<z.ZodUnknown>;
|
|
2854
|
+
expires_at: z.ZodString;
|
|
2855
|
+
summary: z.ZodString;
|
|
2856
|
+
}, "strict", z.ZodTypeAny, {
|
|
2857
|
+
summary: string;
|
|
2858
|
+
action: "plan_object_edit";
|
|
2859
|
+
warnings: {
|
|
2860
|
+
description: string;
|
|
2861
|
+
id: string;
|
|
2862
|
+
impact: string;
|
|
2863
|
+
}[];
|
|
2864
|
+
object_address: string;
|
|
2865
|
+
object_kind: "guard" | "machine";
|
|
2866
|
+
plan_id: string;
|
|
2867
|
+
expected_hash: string;
|
|
2868
|
+
object_name: string | null;
|
|
2869
|
+
diff: {
|
|
2870
|
+
summary: string;
|
|
2871
|
+
modified: string[];
|
|
2872
|
+
removed: string[];
|
|
2873
|
+
added: string[];
|
|
2874
|
+
};
|
|
2875
|
+
blocking_errors: {
|
|
2876
|
+
description: string;
|
|
2877
|
+
id: string;
|
|
2878
|
+
impact: string;
|
|
2879
|
+
}[];
|
|
2880
|
+
can_apply: boolean;
|
|
2881
|
+
expires_at: string;
|
|
2882
|
+
prepared_call?: unknown;
|
|
2883
|
+
}, {
|
|
2884
|
+
summary: string;
|
|
2885
|
+
action: "plan_object_edit";
|
|
2886
|
+
warnings: {
|
|
2887
|
+
description: string;
|
|
2888
|
+
id: string;
|
|
2889
|
+
impact: string;
|
|
2890
|
+
}[];
|
|
2891
|
+
object_address: string;
|
|
2892
|
+
object_kind: "guard" | "machine";
|
|
2893
|
+
plan_id: string;
|
|
2894
|
+
expected_hash: string;
|
|
2895
|
+
object_name: string | null;
|
|
2896
|
+
diff: {
|
|
2897
|
+
summary: string;
|
|
2898
|
+
modified: string[];
|
|
2899
|
+
removed: string[];
|
|
2900
|
+
added: string[];
|
|
2901
|
+
};
|
|
2902
|
+
blocking_errors: {
|
|
2903
|
+
description: string;
|
|
2904
|
+
id: string;
|
|
2905
|
+
impact: string;
|
|
2906
|
+
}[];
|
|
2907
|
+
can_apply: boolean;
|
|
2908
|
+
expires_at: string;
|
|
2909
|
+
prepared_call?: unknown;
|
|
2910
|
+
}>, z.ZodObject<{
|
|
2911
|
+
action: z.ZodLiteral<"apply_object_edit">;
|
|
2912
|
+
plan_id: z.ZodString;
|
|
2913
|
+
applied: z.ZodBoolean;
|
|
2914
|
+
hash_match: z.ZodBoolean;
|
|
2915
|
+
prepared_call: z.ZodNullable<z.ZodUnknown>;
|
|
2916
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2917
|
+
next_step: z.ZodString;
|
|
2918
|
+
}, "strict", z.ZodTypeAny, {
|
|
2919
|
+
error: string | null;
|
|
2920
|
+
action: "apply_object_edit";
|
|
2921
|
+
applied: boolean;
|
|
2922
|
+
plan_id: string;
|
|
2923
|
+
hash_match: boolean;
|
|
2924
|
+
next_step: string;
|
|
2925
|
+
prepared_call?: unknown;
|
|
2926
|
+
}, {
|
|
2927
|
+
error: string | null;
|
|
2928
|
+
action: "apply_object_edit";
|
|
2929
|
+
applied: boolean;
|
|
2930
|
+
plan_id: string;
|
|
2931
|
+
hash_match: boolean;
|
|
2932
|
+
next_step: string;
|
|
2933
|
+
prepared_call?: unknown;
|
|
2934
|
+
}>, z.ZodObject<{
|
|
2935
|
+
action: z.ZodLiteral<"patch_machine_nodes">;
|
|
2936
|
+
machine_address: z.ZodString;
|
|
2937
|
+
machine_name: z.ZodNullable<z.ZodString>;
|
|
2938
|
+
operations_applied: z.ZodNumber;
|
|
2939
|
+
operations_failed: z.ZodArray<z.ZodObject<{
|
|
2940
|
+
operation: z.ZodString;
|
|
2941
|
+
error: z.ZodString;
|
|
2942
|
+
}, "strip", z.ZodTypeAny, {
|
|
2943
|
+
error: string;
|
|
2944
|
+
operation: string;
|
|
2945
|
+
}, {
|
|
2946
|
+
error: string;
|
|
2947
|
+
operation: string;
|
|
2948
|
+
}>, "many">;
|
|
2949
|
+
patched_nodes: z.ZodArray<z.ZodUnknown, "many">;
|
|
2950
|
+
patched_edges: z.ZodArray<z.ZodUnknown, "many">;
|
|
2951
|
+
diff: z.ZodObject<{
|
|
2952
|
+
added: z.ZodArray<z.ZodString, "many">;
|
|
2953
|
+
removed: z.ZodArray<z.ZodString, "many">;
|
|
2954
|
+
modified: z.ZodArray<z.ZodString, "many">;
|
|
2955
|
+
summary: z.ZodString;
|
|
2956
|
+
}, "strip", z.ZodTypeAny, {
|
|
2957
|
+
summary: string;
|
|
2958
|
+
modified: string[];
|
|
2959
|
+
removed: string[];
|
|
2960
|
+
added: string[];
|
|
2961
|
+
}, {
|
|
2962
|
+
summary: string;
|
|
2963
|
+
modified: string[];
|
|
2964
|
+
removed: string[];
|
|
2965
|
+
added: string[];
|
|
2966
|
+
}>;
|
|
2967
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
2968
|
+
id: z.ZodString;
|
|
2969
|
+
description: z.ZodString;
|
|
2970
|
+
impact: z.ZodString;
|
|
2971
|
+
}, "strip", z.ZodTypeAny, {
|
|
2972
|
+
description: string;
|
|
2973
|
+
id: string;
|
|
2974
|
+
impact: string;
|
|
2975
|
+
}, {
|
|
2976
|
+
description: string;
|
|
2977
|
+
id: string;
|
|
2978
|
+
impact: string;
|
|
2979
|
+
}>, "many">;
|
|
2980
|
+
blocking_errors: z.ZodArray<z.ZodObject<{
|
|
2981
|
+
id: z.ZodString;
|
|
2982
|
+
description: z.ZodString;
|
|
2983
|
+
impact: z.ZodString;
|
|
2984
|
+
}, "strip", z.ZodTypeAny, {
|
|
2985
|
+
description: string;
|
|
2986
|
+
id: string;
|
|
2987
|
+
impact: string;
|
|
2988
|
+
}, {
|
|
2989
|
+
description: string;
|
|
2990
|
+
id: string;
|
|
2991
|
+
impact: string;
|
|
2992
|
+
}>, "many">;
|
|
2993
|
+
can_apply: z.ZodBoolean;
|
|
2994
|
+
prepared_call: z.ZodNullable<z.ZodUnknown>;
|
|
2995
|
+
summary: z.ZodString;
|
|
2996
|
+
}, "strict", z.ZodTypeAny, {
|
|
2997
|
+
summary: string;
|
|
2998
|
+
action: "patch_machine_nodes";
|
|
2999
|
+
warnings: {
|
|
3000
|
+
description: string;
|
|
3001
|
+
id: string;
|
|
3002
|
+
impact: string;
|
|
3003
|
+
}[];
|
|
3004
|
+
machine_address: string;
|
|
3005
|
+
diff: {
|
|
3006
|
+
summary: string;
|
|
3007
|
+
modified: string[];
|
|
3008
|
+
removed: string[];
|
|
3009
|
+
added: string[];
|
|
3010
|
+
};
|
|
3011
|
+
blocking_errors: {
|
|
3012
|
+
description: string;
|
|
3013
|
+
id: string;
|
|
3014
|
+
impact: string;
|
|
3015
|
+
}[];
|
|
3016
|
+
can_apply: boolean;
|
|
3017
|
+
machine_name: string | null;
|
|
3018
|
+
operations_applied: number;
|
|
3019
|
+
operations_failed: {
|
|
3020
|
+
error: string;
|
|
3021
|
+
operation: string;
|
|
3022
|
+
}[];
|
|
3023
|
+
patched_nodes: unknown[];
|
|
3024
|
+
patched_edges: unknown[];
|
|
3025
|
+
prepared_call?: unknown;
|
|
3026
|
+
}, {
|
|
3027
|
+
summary: string;
|
|
3028
|
+
action: "patch_machine_nodes";
|
|
3029
|
+
warnings: {
|
|
3030
|
+
description: string;
|
|
3031
|
+
id: string;
|
|
3032
|
+
impact: string;
|
|
3033
|
+
}[];
|
|
3034
|
+
machine_address: string;
|
|
3035
|
+
diff: {
|
|
3036
|
+
summary: string;
|
|
3037
|
+
modified: string[];
|
|
3038
|
+
removed: string[];
|
|
3039
|
+
added: string[];
|
|
3040
|
+
};
|
|
3041
|
+
blocking_errors: {
|
|
3042
|
+
description: string;
|
|
3043
|
+
id: string;
|
|
3044
|
+
impact: string;
|
|
3045
|
+
}[];
|
|
3046
|
+
can_apply: boolean;
|
|
3047
|
+
machine_name: string | null;
|
|
3048
|
+
operations_applied: number;
|
|
3049
|
+
operations_failed: {
|
|
3050
|
+
error: string;
|
|
3051
|
+
operation: string;
|
|
3052
|
+
}[];
|
|
3053
|
+
patched_nodes: unknown[];
|
|
3054
|
+
patched_edges: unknown[];
|
|
3055
|
+
prepared_call?: unknown;
|
|
3056
|
+
}>, z.ZodObject<{
|
|
3057
|
+
action: z.ZodLiteral<"patch_guard_tree">;
|
|
3058
|
+
guard_address: z.ZodString;
|
|
3059
|
+
guard_name: z.ZodNullable<z.ZodString>;
|
|
3060
|
+
operations_applied: z.ZodNumber;
|
|
3061
|
+
operations_failed: z.ZodArray<z.ZodObject<{
|
|
3062
|
+
operation: z.ZodString;
|
|
3063
|
+
error: z.ZodString;
|
|
3064
|
+
}, "strip", z.ZodTypeAny, {
|
|
3065
|
+
error: string;
|
|
3066
|
+
operation: string;
|
|
3067
|
+
}, {
|
|
3068
|
+
error: string;
|
|
3069
|
+
operation: string;
|
|
3070
|
+
}>, "many">;
|
|
3071
|
+
patched_root: z.ZodUnknown;
|
|
3072
|
+
patched_table: z.ZodArray<z.ZodUnknown, "many">;
|
|
3073
|
+
patched_rely: z.ZodNullable<z.ZodUnknown>;
|
|
3074
|
+
diff: z.ZodObject<{
|
|
3075
|
+
added: z.ZodArray<z.ZodString, "many">;
|
|
3076
|
+
removed: z.ZodArray<z.ZodString, "many">;
|
|
3077
|
+
modified: z.ZodArray<z.ZodString, "many">;
|
|
3078
|
+
summary: z.ZodString;
|
|
3079
|
+
}, "strip", z.ZodTypeAny, {
|
|
3080
|
+
summary: string;
|
|
3081
|
+
modified: string[];
|
|
3082
|
+
removed: string[];
|
|
3083
|
+
added: string[];
|
|
3084
|
+
}, {
|
|
3085
|
+
summary: string;
|
|
3086
|
+
modified: string[];
|
|
3087
|
+
removed: string[];
|
|
3088
|
+
added: string[];
|
|
3089
|
+
}>;
|
|
3090
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
3091
|
+
id: z.ZodString;
|
|
3092
|
+
description: z.ZodString;
|
|
3093
|
+
impact: z.ZodString;
|
|
3094
|
+
}, "strip", z.ZodTypeAny, {
|
|
3095
|
+
description: string;
|
|
3096
|
+
id: string;
|
|
3097
|
+
impact: string;
|
|
3098
|
+
}, {
|
|
3099
|
+
description: string;
|
|
3100
|
+
id: string;
|
|
3101
|
+
impact: string;
|
|
3102
|
+
}>, "many">;
|
|
3103
|
+
blocking_errors: z.ZodArray<z.ZodObject<{
|
|
3104
|
+
id: z.ZodString;
|
|
3105
|
+
description: z.ZodString;
|
|
3106
|
+
impact: z.ZodString;
|
|
3107
|
+
}, "strip", z.ZodTypeAny, {
|
|
3108
|
+
description: string;
|
|
3109
|
+
id: string;
|
|
3110
|
+
impact: string;
|
|
3111
|
+
}, {
|
|
3112
|
+
description: string;
|
|
3113
|
+
id: string;
|
|
3114
|
+
impact: string;
|
|
3115
|
+
}>, "many">;
|
|
3116
|
+
can_apply: z.ZodBoolean;
|
|
3117
|
+
prepared_call: z.ZodNullable<z.ZodUnknown>;
|
|
3118
|
+
summary: z.ZodString;
|
|
3119
|
+
}, "strict", z.ZodTypeAny, {
|
|
3120
|
+
summary: string;
|
|
3121
|
+
action: "patch_guard_tree";
|
|
3122
|
+
warnings: {
|
|
3123
|
+
description: string;
|
|
3124
|
+
id: string;
|
|
3125
|
+
impact: string;
|
|
3126
|
+
}[];
|
|
3127
|
+
guard_address: string;
|
|
3128
|
+
diff: {
|
|
3129
|
+
summary: string;
|
|
3130
|
+
modified: string[];
|
|
3131
|
+
removed: string[];
|
|
3132
|
+
added: string[];
|
|
3133
|
+
};
|
|
3134
|
+
blocking_errors: {
|
|
3135
|
+
description: string;
|
|
3136
|
+
id: string;
|
|
3137
|
+
impact: string;
|
|
3138
|
+
}[];
|
|
3139
|
+
can_apply: boolean;
|
|
3140
|
+
operations_applied: number;
|
|
3141
|
+
operations_failed: {
|
|
3142
|
+
error: string;
|
|
3143
|
+
operation: string;
|
|
3144
|
+
}[];
|
|
3145
|
+
guard_name: string | null;
|
|
3146
|
+
patched_table: unknown[];
|
|
3147
|
+
prepared_call?: unknown;
|
|
3148
|
+
patched_root?: unknown;
|
|
3149
|
+
patched_rely?: unknown;
|
|
3150
|
+
}, {
|
|
3151
|
+
summary: string;
|
|
3152
|
+
action: "patch_guard_tree";
|
|
3153
|
+
warnings: {
|
|
3154
|
+
description: string;
|
|
3155
|
+
id: string;
|
|
3156
|
+
impact: string;
|
|
3157
|
+
}[];
|
|
3158
|
+
guard_address: string;
|
|
3159
|
+
diff: {
|
|
3160
|
+
summary: string;
|
|
3161
|
+
modified: string[];
|
|
3162
|
+
removed: string[];
|
|
3163
|
+
added: string[];
|
|
3164
|
+
};
|
|
3165
|
+
blocking_errors: {
|
|
3166
|
+
description: string;
|
|
3167
|
+
id: string;
|
|
3168
|
+
impact: string;
|
|
3169
|
+
}[];
|
|
3170
|
+
can_apply: boolean;
|
|
3171
|
+
operations_applied: number;
|
|
3172
|
+
operations_failed: {
|
|
3173
|
+
error: string;
|
|
3174
|
+
operation: string;
|
|
3175
|
+
}[];
|
|
3176
|
+
guard_name: string | null;
|
|
3177
|
+
patched_table: unknown[];
|
|
3178
|
+
prepared_call?: unknown;
|
|
3179
|
+
patched_root?: unknown;
|
|
3180
|
+
patched_rely?: unknown;
|
|
2692
3181
|
}>, z.ZodObject<{
|
|
2693
3182
|
action: z.ZodLiteral<"clone_project_to_network">;
|
|
2694
3183
|
new_project_id: z.ZodString;
|
|
@@ -2737,7 +3226,171 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
2737
3226
|
new_prefix: string;
|
|
2738
3227
|
cloned_objects_count: number;
|
|
2739
3228
|
next_steps: string;
|
|
3229
|
+
}>, z.ZodObject<{
|
|
3230
|
+
action: z.ZodLiteral<"migrate_to_mainnet">;
|
|
3231
|
+
migration_status: z.ZodString;
|
|
3232
|
+
source_project: z.ZodObject<{
|
|
3233
|
+
prefix: z.ZodString;
|
|
3234
|
+
network: z.ZodString;
|
|
3235
|
+
preserved: z.ZodBoolean;
|
|
3236
|
+
}, "strict", z.ZodTypeAny, {
|
|
3237
|
+
network: string;
|
|
3238
|
+
prefix: string;
|
|
3239
|
+
preserved: boolean;
|
|
3240
|
+
}, {
|
|
3241
|
+
network: string;
|
|
3242
|
+
prefix: string;
|
|
3243
|
+
preserved: boolean;
|
|
3244
|
+
}>;
|
|
3245
|
+
target_project: z.ZodObject<{
|
|
3246
|
+
prefix: z.ZodString;
|
|
3247
|
+
project_id: z.ZodString;
|
|
3248
|
+
network: z.ZodString;
|
|
3249
|
+
cloned_objects_count: z.ZodNumber;
|
|
3250
|
+
}, "strict", z.ZodTypeAny, {
|
|
3251
|
+
network: string;
|
|
3252
|
+
project_id: string;
|
|
3253
|
+
prefix: string;
|
|
3254
|
+
cloned_objects_count: number;
|
|
3255
|
+
}, {
|
|
3256
|
+
network: string;
|
|
3257
|
+
project_id: string;
|
|
3258
|
+
prefix: string;
|
|
3259
|
+
cloned_objects_count: number;
|
|
3260
|
+
}>;
|
|
3261
|
+
key_principle: z.ZodString;
|
|
3262
|
+
migration_plan: z.ZodArray<z.ZodObject<{
|
|
3263
|
+
step: z.ZodNumber;
|
|
3264
|
+
status: z.ZodEnum<["completed", "pending_user_action"]>;
|
|
3265
|
+
action: z.ZodString;
|
|
3266
|
+
description: z.ZodString;
|
|
3267
|
+
result: z.ZodOptional<z.ZodString>;
|
|
3268
|
+
deployment_plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3269
|
+
order: z.ZodNumber;
|
|
3270
|
+
object_type: z.ZodString;
|
|
3271
|
+
object_name: z.ZodString;
|
|
3272
|
+
operation_type: z.ZodString;
|
|
3273
|
+
localmark_name: z.ZodString;
|
|
3274
|
+
note: z.ZodString;
|
|
3275
|
+
}, "strip", z.ZodTypeAny, {
|
|
3276
|
+
object_type: string;
|
|
3277
|
+
order: number;
|
|
3278
|
+
note: string;
|
|
3279
|
+
operation_type: string;
|
|
3280
|
+
object_name: string;
|
|
3281
|
+
localmark_name: string;
|
|
3282
|
+
}, {
|
|
3283
|
+
object_type: string;
|
|
3284
|
+
order: number;
|
|
3285
|
+
note: string;
|
|
3286
|
+
operation_type: string;
|
|
3287
|
+
object_name: string;
|
|
3288
|
+
localmark_name: string;
|
|
3289
|
+
}>, "many">>;
|
|
3290
|
+
names_to_register: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3291
|
+
critical_note: z.ZodOptional<z.ZodString>;
|
|
3292
|
+
}, "strict", z.ZodTypeAny, {
|
|
3293
|
+
status: "completed" | "pending_user_action";
|
|
3294
|
+
description: string;
|
|
3295
|
+
action: string;
|
|
3296
|
+
step: number;
|
|
3297
|
+
result?: string | undefined;
|
|
3298
|
+
deployment_plan?: {
|
|
3299
|
+
object_type: string;
|
|
3300
|
+
order: number;
|
|
3301
|
+
note: string;
|
|
3302
|
+
operation_type: string;
|
|
3303
|
+
object_name: string;
|
|
3304
|
+
localmark_name: string;
|
|
3305
|
+
}[] | undefined;
|
|
3306
|
+
names_to_register?: string[] | undefined;
|
|
3307
|
+
critical_note?: string | undefined;
|
|
3308
|
+
}, {
|
|
3309
|
+
status: "completed" | "pending_user_action";
|
|
3310
|
+
description: string;
|
|
3311
|
+
action: string;
|
|
3312
|
+
step: number;
|
|
3313
|
+
result?: string | undefined;
|
|
3314
|
+
deployment_plan?: {
|
|
3315
|
+
object_type: string;
|
|
3316
|
+
order: number;
|
|
3317
|
+
note: string;
|
|
3318
|
+
operation_type: string;
|
|
3319
|
+
object_name: string;
|
|
3320
|
+
localmark_name: string;
|
|
3321
|
+
}[] | undefined;
|
|
3322
|
+
names_to_register?: string[] | undefined;
|
|
3323
|
+
critical_note?: string | undefined;
|
|
3324
|
+
}>, "many">;
|
|
3325
|
+
summary: z.ZodString;
|
|
3326
|
+
}, "strict", z.ZodTypeAny, {
|
|
3327
|
+
summary: string;
|
|
3328
|
+
action: "migrate_to_mainnet";
|
|
3329
|
+
migration_status: string;
|
|
3330
|
+
source_project: {
|
|
3331
|
+
network: string;
|
|
3332
|
+
prefix: string;
|
|
3333
|
+
preserved: boolean;
|
|
3334
|
+
};
|
|
3335
|
+
target_project: {
|
|
3336
|
+
network: string;
|
|
3337
|
+
project_id: string;
|
|
3338
|
+
prefix: string;
|
|
3339
|
+
cloned_objects_count: number;
|
|
3340
|
+
};
|
|
3341
|
+
key_principle: string;
|
|
3342
|
+
migration_plan: {
|
|
3343
|
+
status: "completed" | "pending_user_action";
|
|
3344
|
+
description: string;
|
|
3345
|
+
action: string;
|
|
3346
|
+
step: number;
|
|
3347
|
+
result?: string | undefined;
|
|
3348
|
+
deployment_plan?: {
|
|
3349
|
+
object_type: string;
|
|
3350
|
+
order: number;
|
|
3351
|
+
note: string;
|
|
3352
|
+
operation_type: string;
|
|
3353
|
+
object_name: string;
|
|
3354
|
+
localmark_name: string;
|
|
3355
|
+
}[] | undefined;
|
|
3356
|
+
names_to_register?: string[] | undefined;
|
|
3357
|
+
critical_note?: string | undefined;
|
|
3358
|
+
}[];
|
|
3359
|
+
}, {
|
|
3360
|
+
summary: string;
|
|
3361
|
+
action: "migrate_to_mainnet";
|
|
3362
|
+
migration_status: string;
|
|
3363
|
+
source_project: {
|
|
3364
|
+
network: string;
|
|
3365
|
+
prefix: string;
|
|
3366
|
+
preserved: boolean;
|
|
3367
|
+
};
|
|
3368
|
+
target_project: {
|
|
3369
|
+
network: string;
|
|
3370
|
+
project_id: string;
|
|
3371
|
+
prefix: string;
|
|
3372
|
+
cloned_objects_count: number;
|
|
3373
|
+
};
|
|
3374
|
+
key_principle: string;
|
|
3375
|
+
migration_plan: {
|
|
3376
|
+
status: "completed" | "pending_user_action";
|
|
3377
|
+
description: string;
|
|
3378
|
+
action: string;
|
|
3379
|
+
step: number;
|
|
3380
|
+
result?: string | undefined;
|
|
3381
|
+
deployment_plan?: {
|
|
3382
|
+
object_type: string;
|
|
3383
|
+
order: number;
|
|
3384
|
+
note: string;
|
|
3385
|
+
operation_type: string;
|
|
3386
|
+
object_name: string;
|
|
3387
|
+
localmark_name: string;
|
|
3388
|
+
}[] | undefined;
|
|
3389
|
+
names_to_register?: string[] | undefined;
|
|
3390
|
+
critical_note?: string | undefined;
|
|
3391
|
+
}[];
|
|
2740
3392
|
}>]>;
|
|
3393
|
+
skills_recommended: z.ZodOptional<z.ZodString>;
|
|
2741
3394
|
}, "strict", z.ZodTypeAny, {
|
|
2742
3395
|
result: {
|
|
2743
3396
|
action: "assemble_context";
|
|
@@ -3235,6 +3888,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
3235
3888
|
paused: boolean | null;
|
|
3236
3889
|
machineName: string | null;
|
|
3237
3890
|
machineAddress: string;
|
|
3891
|
+
tree_outline: string;
|
|
3238
3892
|
edges: {
|
|
3239
3893
|
from: string;
|
|
3240
3894
|
to: string;
|
|
@@ -3247,6 +3901,126 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
3247
3901
|
}[];
|
|
3248
3902
|
threshold: number;
|
|
3249
3903
|
}[];
|
|
3904
|
+
mermaid: string;
|
|
3905
|
+
ascii_art: string;
|
|
3906
|
+
markmap: string;
|
|
3907
|
+
} | {
|
|
3908
|
+
immutable: boolean | null;
|
|
3909
|
+
action: "get_guard_graph";
|
|
3910
|
+
table: {
|
|
3911
|
+
identifier: number;
|
|
3912
|
+
b_submission: boolean;
|
|
3913
|
+
value_type: string | number;
|
|
3914
|
+
value?: unknown;
|
|
3915
|
+
name?: string | undefined;
|
|
3916
|
+
}[];
|
|
3917
|
+
rely: {
|
|
3918
|
+
guards: string[];
|
|
3919
|
+
logic_or?: boolean | undefined;
|
|
3920
|
+
} | null;
|
|
3921
|
+
guardAddress: string;
|
|
3922
|
+
tree_outline: string;
|
|
3923
|
+
mermaid: string;
|
|
3924
|
+
ascii_art: string;
|
|
3925
|
+
markmap: string;
|
|
3926
|
+
guardName: string | null;
|
|
3927
|
+
root?: any;
|
|
3928
|
+
} | {
|
|
3929
|
+
summary: string;
|
|
3930
|
+
action: "plan_object_edit";
|
|
3931
|
+
warnings: {
|
|
3932
|
+
description: string;
|
|
3933
|
+
id: string;
|
|
3934
|
+
impact: string;
|
|
3935
|
+
}[];
|
|
3936
|
+
object_address: string;
|
|
3937
|
+
object_kind: "guard" | "machine";
|
|
3938
|
+
plan_id: string;
|
|
3939
|
+
expected_hash: string;
|
|
3940
|
+
object_name: string | null;
|
|
3941
|
+
diff: {
|
|
3942
|
+
summary: string;
|
|
3943
|
+
modified: string[];
|
|
3944
|
+
removed: string[];
|
|
3945
|
+
added: string[];
|
|
3946
|
+
};
|
|
3947
|
+
blocking_errors: {
|
|
3948
|
+
description: string;
|
|
3949
|
+
id: string;
|
|
3950
|
+
impact: string;
|
|
3951
|
+
}[];
|
|
3952
|
+
can_apply: boolean;
|
|
3953
|
+
expires_at: string;
|
|
3954
|
+
prepared_call?: unknown;
|
|
3955
|
+
} | {
|
|
3956
|
+
error: string | null;
|
|
3957
|
+
action: "apply_object_edit";
|
|
3958
|
+
applied: boolean;
|
|
3959
|
+
plan_id: string;
|
|
3960
|
+
hash_match: boolean;
|
|
3961
|
+
next_step: string;
|
|
3962
|
+
prepared_call?: unknown;
|
|
3963
|
+
} | {
|
|
3964
|
+
summary: string;
|
|
3965
|
+
action: "patch_machine_nodes";
|
|
3966
|
+
warnings: {
|
|
3967
|
+
description: string;
|
|
3968
|
+
id: string;
|
|
3969
|
+
impact: string;
|
|
3970
|
+
}[];
|
|
3971
|
+
machine_address: string;
|
|
3972
|
+
diff: {
|
|
3973
|
+
summary: string;
|
|
3974
|
+
modified: string[];
|
|
3975
|
+
removed: string[];
|
|
3976
|
+
added: string[];
|
|
3977
|
+
};
|
|
3978
|
+
blocking_errors: {
|
|
3979
|
+
description: string;
|
|
3980
|
+
id: string;
|
|
3981
|
+
impact: string;
|
|
3982
|
+
}[];
|
|
3983
|
+
can_apply: boolean;
|
|
3984
|
+
machine_name: string | null;
|
|
3985
|
+
operations_applied: number;
|
|
3986
|
+
operations_failed: {
|
|
3987
|
+
error: string;
|
|
3988
|
+
operation: string;
|
|
3989
|
+
}[];
|
|
3990
|
+
patched_nodes: unknown[];
|
|
3991
|
+
patched_edges: unknown[];
|
|
3992
|
+
prepared_call?: unknown;
|
|
3993
|
+
} | {
|
|
3994
|
+
summary: string;
|
|
3995
|
+
action: "patch_guard_tree";
|
|
3996
|
+
warnings: {
|
|
3997
|
+
description: string;
|
|
3998
|
+
id: string;
|
|
3999
|
+
impact: string;
|
|
4000
|
+
}[];
|
|
4001
|
+
guard_address: string;
|
|
4002
|
+
diff: {
|
|
4003
|
+
summary: string;
|
|
4004
|
+
modified: string[];
|
|
4005
|
+
removed: string[];
|
|
4006
|
+
added: string[];
|
|
4007
|
+
};
|
|
4008
|
+
blocking_errors: {
|
|
4009
|
+
description: string;
|
|
4010
|
+
id: string;
|
|
4011
|
+
impact: string;
|
|
4012
|
+
}[];
|
|
4013
|
+
can_apply: boolean;
|
|
4014
|
+
operations_applied: number;
|
|
4015
|
+
operations_failed: {
|
|
4016
|
+
error: string;
|
|
4017
|
+
operation: string;
|
|
4018
|
+
}[];
|
|
4019
|
+
guard_name: string | null;
|
|
4020
|
+
patched_table: unknown[];
|
|
4021
|
+
prepared_call?: unknown;
|
|
4022
|
+
patched_root?: unknown;
|
|
4023
|
+
patched_rely?: unknown;
|
|
3250
4024
|
} | {
|
|
3251
4025
|
message: string;
|
|
3252
4026
|
action: "clone_project_to_network";
|
|
@@ -3263,7 +4037,41 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
3263
4037
|
new_prefix: string;
|
|
3264
4038
|
cloned_objects_count: number;
|
|
3265
4039
|
next_steps: string;
|
|
4040
|
+
} | {
|
|
4041
|
+
summary: string;
|
|
4042
|
+
action: "migrate_to_mainnet";
|
|
4043
|
+
migration_status: string;
|
|
4044
|
+
source_project: {
|
|
4045
|
+
network: string;
|
|
4046
|
+
prefix: string;
|
|
4047
|
+
preserved: boolean;
|
|
4048
|
+
};
|
|
4049
|
+
target_project: {
|
|
4050
|
+
network: string;
|
|
4051
|
+
project_id: string;
|
|
4052
|
+
prefix: string;
|
|
4053
|
+
cloned_objects_count: number;
|
|
4054
|
+
};
|
|
4055
|
+
key_principle: string;
|
|
4056
|
+
migration_plan: {
|
|
4057
|
+
status: "completed" | "pending_user_action";
|
|
4058
|
+
description: string;
|
|
4059
|
+
action: string;
|
|
4060
|
+
step: number;
|
|
4061
|
+
result?: string | undefined;
|
|
4062
|
+
deployment_plan?: {
|
|
4063
|
+
object_type: string;
|
|
4064
|
+
order: number;
|
|
4065
|
+
note: string;
|
|
4066
|
+
operation_type: string;
|
|
4067
|
+
object_name: string;
|
|
4068
|
+
localmark_name: string;
|
|
4069
|
+
}[] | undefined;
|
|
4070
|
+
names_to_register?: string[] | undefined;
|
|
4071
|
+
critical_note?: string | undefined;
|
|
4072
|
+
}[];
|
|
3266
4073
|
};
|
|
4074
|
+
skills_recommended?: string | undefined;
|
|
3267
4075
|
}, {
|
|
3268
4076
|
result: {
|
|
3269
4077
|
action: "assemble_context";
|
|
@@ -3761,6 +4569,7 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
3761
4569
|
paused: boolean | null;
|
|
3762
4570
|
machineName: string | null;
|
|
3763
4571
|
machineAddress: string;
|
|
4572
|
+
tree_outline: string;
|
|
3764
4573
|
edges: {
|
|
3765
4574
|
from: string;
|
|
3766
4575
|
to: string;
|
|
@@ -3773,6 +4582,126 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
3773
4582
|
}[];
|
|
3774
4583
|
threshold: number;
|
|
3775
4584
|
}[];
|
|
4585
|
+
mermaid: string;
|
|
4586
|
+
ascii_art: string;
|
|
4587
|
+
markmap: string;
|
|
4588
|
+
} | {
|
|
4589
|
+
immutable: boolean | null;
|
|
4590
|
+
action: "get_guard_graph";
|
|
4591
|
+
table: {
|
|
4592
|
+
identifier: number;
|
|
4593
|
+
b_submission: boolean;
|
|
4594
|
+
value_type: string | number;
|
|
4595
|
+
value?: unknown;
|
|
4596
|
+
name?: string | undefined;
|
|
4597
|
+
}[];
|
|
4598
|
+
rely: {
|
|
4599
|
+
guards: string[];
|
|
4600
|
+
logic_or?: boolean | undefined;
|
|
4601
|
+
} | null;
|
|
4602
|
+
guardAddress: string;
|
|
4603
|
+
tree_outline: string;
|
|
4604
|
+
mermaid: string;
|
|
4605
|
+
ascii_art: string;
|
|
4606
|
+
markmap: string;
|
|
4607
|
+
guardName: string | null;
|
|
4608
|
+
root?: any;
|
|
4609
|
+
} | {
|
|
4610
|
+
summary: string;
|
|
4611
|
+
action: "plan_object_edit";
|
|
4612
|
+
warnings: {
|
|
4613
|
+
description: string;
|
|
4614
|
+
id: string;
|
|
4615
|
+
impact: string;
|
|
4616
|
+
}[];
|
|
4617
|
+
object_address: string;
|
|
4618
|
+
object_kind: "guard" | "machine";
|
|
4619
|
+
plan_id: string;
|
|
4620
|
+
expected_hash: string;
|
|
4621
|
+
object_name: string | null;
|
|
4622
|
+
diff: {
|
|
4623
|
+
summary: string;
|
|
4624
|
+
modified: string[];
|
|
4625
|
+
removed: string[];
|
|
4626
|
+
added: string[];
|
|
4627
|
+
};
|
|
4628
|
+
blocking_errors: {
|
|
4629
|
+
description: string;
|
|
4630
|
+
id: string;
|
|
4631
|
+
impact: string;
|
|
4632
|
+
}[];
|
|
4633
|
+
can_apply: boolean;
|
|
4634
|
+
expires_at: string;
|
|
4635
|
+
prepared_call?: unknown;
|
|
4636
|
+
} | {
|
|
4637
|
+
error: string | null;
|
|
4638
|
+
action: "apply_object_edit";
|
|
4639
|
+
applied: boolean;
|
|
4640
|
+
plan_id: string;
|
|
4641
|
+
hash_match: boolean;
|
|
4642
|
+
next_step: string;
|
|
4643
|
+
prepared_call?: unknown;
|
|
4644
|
+
} | {
|
|
4645
|
+
summary: string;
|
|
4646
|
+
action: "patch_machine_nodes";
|
|
4647
|
+
warnings: {
|
|
4648
|
+
description: string;
|
|
4649
|
+
id: string;
|
|
4650
|
+
impact: string;
|
|
4651
|
+
}[];
|
|
4652
|
+
machine_address: string;
|
|
4653
|
+
diff: {
|
|
4654
|
+
summary: string;
|
|
4655
|
+
modified: string[];
|
|
4656
|
+
removed: string[];
|
|
4657
|
+
added: string[];
|
|
4658
|
+
};
|
|
4659
|
+
blocking_errors: {
|
|
4660
|
+
description: string;
|
|
4661
|
+
id: string;
|
|
4662
|
+
impact: string;
|
|
4663
|
+
}[];
|
|
4664
|
+
can_apply: boolean;
|
|
4665
|
+
machine_name: string | null;
|
|
4666
|
+
operations_applied: number;
|
|
4667
|
+
operations_failed: {
|
|
4668
|
+
error: string;
|
|
4669
|
+
operation: string;
|
|
4670
|
+
}[];
|
|
4671
|
+
patched_nodes: unknown[];
|
|
4672
|
+
patched_edges: unknown[];
|
|
4673
|
+
prepared_call?: unknown;
|
|
4674
|
+
} | {
|
|
4675
|
+
summary: string;
|
|
4676
|
+
action: "patch_guard_tree";
|
|
4677
|
+
warnings: {
|
|
4678
|
+
description: string;
|
|
4679
|
+
id: string;
|
|
4680
|
+
impact: string;
|
|
4681
|
+
}[];
|
|
4682
|
+
guard_address: string;
|
|
4683
|
+
diff: {
|
|
4684
|
+
summary: string;
|
|
4685
|
+
modified: string[];
|
|
4686
|
+
removed: string[];
|
|
4687
|
+
added: string[];
|
|
4688
|
+
};
|
|
4689
|
+
blocking_errors: {
|
|
4690
|
+
description: string;
|
|
4691
|
+
id: string;
|
|
4692
|
+
impact: string;
|
|
4693
|
+
}[];
|
|
4694
|
+
can_apply: boolean;
|
|
4695
|
+
operations_applied: number;
|
|
4696
|
+
operations_failed: {
|
|
4697
|
+
error: string;
|
|
4698
|
+
operation: string;
|
|
4699
|
+
}[];
|
|
4700
|
+
guard_name: string | null;
|
|
4701
|
+
patched_table: unknown[];
|
|
4702
|
+
prepared_call?: unknown;
|
|
4703
|
+
patched_root?: unknown;
|
|
4704
|
+
patched_rely?: unknown;
|
|
3776
4705
|
} | {
|
|
3777
4706
|
message: string;
|
|
3778
4707
|
action: "clone_project_to_network";
|
|
@@ -3789,5 +4718,39 @@ export declare const ProjectOperationOutputSchema: z.ZodObject<{
|
|
|
3789
4718
|
new_prefix: string;
|
|
3790
4719
|
cloned_objects_count: number;
|
|
3791
4720
|
next_steps: string;
|
|
4721
|
+
} | {
|
|
4722
|
+
summary: string;
|
|
4723
|
+
action: "migrate_to_mainnet";
|
|
4724
|
+
migration_status: string;
|
|
4725
|
+
source_project: {
|
|
4726
|
+
network: string;
|
|
4727
|
+
prefix: string;
|
|
4728
|
+
preserved: boolean;
|
|
4729
|
+
};
|
|
4730
|
+
target_project: {
|
|
4731
|
+
network: string;
|
|
4732
|
+
project_id: string;
|
|
4733
|
+
prefix: string;
|
|
4734
|
+
cloned_objects_count: number;
|
|
4735
|
+
};
|
|
4736
|
+
key_principle: string;
|
|
4737
|
+
migration_plan: {
|
|
4738
|
+
status: "completed" | "pending_user_action";
|
|
4739
|
+
description: string;
|
|
4740
|
+
action: string;
|
|
4741
|
+
step: number;
|
|
4742
|
+
result?: string | undefined;
|
|
4743
|
+
deployment_plan?: {
|
|
4744
|
+
object_type: string;
|
|
4745
|
+
order: number;
|
|
4746
|
+
note: string;
|
|
4747
|
+
operation_type: string;
|
|
4748
|
+
object_name: string;
|
|
4749
|
+
localmark_name: string;
|
|
4750
|
+
}[] | undefined;
|
|
4751
|
+
names_to_register?: string[] | undefined;
|
|
4752
|
+
critical_note?: string | undefined;
|
|
4753
|
+
}[];
|
|
3792
4754
|
};
|
|
4755
|
+
skills_recommended?: string | undefined;
|
|
3793
4756
|
}>;
|