@wowok/agent-mcp 2.4.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/runtime.d.ts +4 -0
- package/dist/config/runtime.js +29 -5
- package/dist/harness/auto-escalation.d.ts +27 -0
- package/dist/harness/auto-escalation.js +68 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +29 -1621
- package/dist/knowledge/allocation-confirm.d.ts +115 -0
- package/dist/knowledge/allocation-confirm.js +534 -0
- package/dist/knowledge/allocation-context.d.ts +58 -0
- package/dist/knowledge/allocation-context.js +249 -0
- package/dist/knowledge/allocation-ledger.d.ts +67 -0
- package/dist/knowledge/allocation-ledger.js +463 -0
- package/dist/knowledge/allocation-puzzle.d.ts +135 -0
- package/dist/knowledge/allocation-puzzle.js +298 -0
- package/dist/knowledge/allocation-risk.d.ts +78 -0
- package/dist/knowledge/allocation-risk.js +568 -0
- package/dist/knowledge/allocation-templates.d.ts +38 -0
- package/dist/knowledge/allocation-templates.js +970 -0
- package/dist/knowledge/allocation-translation.d.ts +72 -0
- package/dist/knowledge/allocation-translation.js +585 -0
- package/dist/knowledge/arb-risk.d.ts +37 -0
- package/dist/knowledge/arb-risk.js +210 -0
- package/dist/knowledge/arbitration-confirm.d.ts +135 -0
- package/dist/knowledge/arbitration-confirm.js +559 -0
- package/dist/knowledge/arbitration-context.d.ts +81 -0
- package/dist/knowledge/arbitration-context.js +505 -0
- package/dist/knowledge/arbitration-ledger.d.ts +62 -0
- package/dist/knowledge/arbitration-ledger.js +521 -0
- package/dist/knowledge/arbitration-puzzle.d.ts +84 -0
- package/dist/knowledge/arbitration-puzzle.js +304 -0
- package/dist/knowledge/arbitration-risk.d.ts +112 -0
- package/dist/knowledge/arbitration-risk.js +433 -0
- package/dist/knowledge/arbitration-templates.d.ts +38 -0
- package/dist/knowledge/arbitration-templates.js +276 -0
- package/dist/knowledge/arbitration-translation.d.ts +91 -0
- package/dist/knowledge/arbitration-translation.js +487 -0
- package/dist/knowledge/bridge-risk.d.ts +36 -0
- package/dist/knowledge/bridge-risk.js +263 -0
- package/dist/knowledge/contact-risk.d.ts +32 -0
- package/dist/knowledge/contact-risk.js +200 -0
- package/dist/knowledge/demand-confirm.d.ts +32 -0
- package/dist/knowledge/demand-confirm.js +206 -0
- package/dist/knowledge/demand-risk.d.ts +30 -0
- package/dist/knowledge/demand-risk.js +240 -0
- package/dist/knowledge/demand-translation.d.ts +55 -0
- package/dist/knowledge/demand-translation.js +354 -0
- package/dist/knowledge/deployment-scanner.d.ts +63 -0
- package/dist/knowledge/deployment-scanner.js +762 -0
- package/dist/knowledge/examples-scanner-cli.d.ts +1 -0
- package/dist/knowledge/examples-scanner-cli.js +26 -0
- package/dist/knowledge/examples-scanner.d.ts +121 -0
- package/dist/knowledge/examples-scanner.js +825 -0
- package/dist/knowledge/flywheel-loop.d.ts +3 -0
- package/dist/knowledge/flywheel-loop.js +32 -3
- package/dist/knowledge/glossary.js +3 -1
- package/dist/knowledge/guard-confirm.d.ts +86 -0
- package/dist/knowledge/guard-confirm.js +406 -0
- package/dist/knowledge/guard-context.d.ts +56 -0
- package/dist/knowledge/guard-context.js +287 -0
- package/dist/knowledge/guard-design-patterns.d.ts +37 -0
- package/dist/knowledge/guard-design-patterns.js +257 -0
- package/dist/knowledge/guard-ledger.js +14 -0
- package/dist/knowledge/guard-lint.d.ts +1 -0
- package/dist/knowledge/guard-lint.js +83 -3
- package/dist/knowledge/guard-migration.d.ts +48 -0
- package/dist/knowledge/guard-migration.js +228 -0
- package/dist/knowledge/guard-puzzle.js +3 -2
- package/dist/knowledge/guard-risk.d.ts +3 -1
- package/dist/knowledge/guard-risk.js +832 -64
- package/dist/knowledge/guard-templates.d.ts +1 -0
- package/dist/knowledge/guard-templates.js +278 -2
- package/dist/knowledge/guard-translation.js +6 -5
- package/dist/knowledge/index.d.ts +342 -0
- package/dist/knowledge/index.js +344 -0
- package/dist/knowledge/machine-confirm.d.ts +102 -0
- package/dist/knowledge/machine-confirm.js +559 -0
- package/dist/knowledge/machine-context.d.ts +160 -0
- package/dist/knowledge/machine-context.js +812 -0
- package/dist/knowledge/machine-ledger.d.ts +41 -0
- package/dist/knowledge/machine-ledger.js +315 -0
- package/dist/knowledge/machine-puzzle.d.ts +206 -0
- package/dist/knowledge/machine-puzzle.js +494 -0
- package/dist/knowledge/machine-risk.d.ts +75 -0
- package/dist/knowledge/machine-risk.js +644 -0
- package/dist/knowledge/machine-templates.d.ts +92 -0
- package/dist/knowledge/machine-templates.js +1592 -0
- package/dist/knowledge/machine-topology.d.ts +57 -0
- package/dist/knowledge/machine-topology.js +234 -0
- package/dist/knowledge/machine-translation.d.ts +96 -0
- package/dist/knowledge/machine-translation.js +513 -0
- package/dist/knowledge/mcp-schema-audit-cli.d.ts +1 -0
- package/dist/knowledge/mcp-schema-audit-cli.js +45 -0
- package/dist/knowledge/mcp-schema-audit.d.ts +90 -0
- package/dist/knowledge/mcp-schema-audit.js +772 -0
- package/dist/knowledge/onchain-constants.d.ts +4 -0
- package/dist/knowledge/onchain-constants.js +35 -0
- package/dist/knowledge/order-confirm.d.ts +115 -0
- package/dist/knowledge/order-confirm.js +573 -0
- package/dist/knowledge/order-context.d.ts +66 -0
- package/dist/knowledge/order-context.js +390 -0
- package/dist/knowledge/order-ledger.d.ts +69 -0
- package/dist/knowledge/order-ledger.js +341 -0
- package/dist/knowledge/order-puzzle.d.ts +159 -0
- package/dist/knowledge/order-puzzle.js +255 -0
- package/dist/knowledge/order-risk.d.ts +66 -0
- package/dist/knowledge/order-risk.js +653 -0
- package/dist/knowledge/order-templates.d.ts +50 -0
- package/dist/knowledge/order-templates.js +368 -0
- package/dist/knowledge/order-translation.d.ts +78 -0
- package/dist/knowledge/order-translation.js +550 -0
- package/dist/knowledge/passport-confirm.d.ts +130 -0
- package/dist/knowledge/passport-confirm.js +531 -0
- package/dist/knowledge/passport-context.d.ts +59 -0
- package/dist/knowledge/passport-context.js +306 -0
- package/dist/knowledge/passport-ledger.d.ts +48 -0
- package/dist/knowledge/passport-ledger.js +282 -0
- package/dist/knowledge/passport-puzzle.d.ts +108 -0
- package/dist/knowledge/passport-puzzle.js +333 -0
- package/dist/knowledge/passport-risk.d.ts +70 -0
- package/dist/knowledge/passport-risk.js +450 -0
- package/dist/knowledge/passport-templates.d.ts +40 -0
- package/dist/knowledge/passport-templates.js +568 -0
- package/dist/knowledge/passport-translation.d.ts +68 -0
- package/dist/knowledge/passport-translation.js +516 -0
- package/dist/knowledge/payment-risk.d.ts +33 -0
- package/dist/knowledge/payment-risk.js +182 -0
- package/dist/knowledge/permission-confirm.d.ts +110 -0
- package/dist/knowledge/permission-confirm.js +426 -0
- package/dist/knowledge/permission-context.d.ts +58 -0
- package/dist/knowledge/permission-context.js +224 -0
- package/dist/knowledge/permission-ledger.d.ts +38 -0
- package/dist/knowledge/permission-ledger.js +403 -0
- package/dist/knowledge/permission-puzzle.d.ts +122 -0
- package/dist/knowledge/permission-puzzle.js +173 -0
- package/dist/knowledge/permission-risk.d.ts +76 -0
- package/dist/knowledge/permission-risk.js +411 -0
- package/dist/knowledge/permission-templates.d.ts +38 -0
- package/dist/knowledge/permission-templates.js +234 -0
- package/dist/knowledge/permission-translation.d.ts +57 -0
- package/dist/knowledge/permission-translation.js +350 -0
- package/dist/knowledge/personal-risk.d.ts +36 -0
- package/dist/knowledge/personal-risk.js +212 -0
- package/dist/knowledge/progress-confirm.d.ts +108 -0
- package/dist/knowledge/progress-confirm.js +456 -0
- package/dist/knowledge/progress-context.d.ts +123 -0
- package/dist/knowledge/progress-context.js +452 -0
- package/dist/knowledge/progress-ledger.d.ts +63 -0
- package/dist/knowledge/progress-ledger.js +327 -0
- package/dist/knowledge/progress-puzzle.d.ts +82 -0
- package/dist/knowledge/progress-puzzle.js +219 -0
- package/dist/knowledge/progress-risk.d.ts +74 -0
- package/dist/knowledge/progress-risk.js +461 -0
- package/dist/knowledge/progress-templates.d.ts +38 -0
- package/dist/knowledge/progress-templates.js +228 -0
- package/dist/knowledge/progress-translation.d.ts +52 -0
- package/dist/knowledge/progress-translation.js +401 -0
- package/dist/knowledge/proof-confirm.d.ts +31 -0
- package/dist/knowledge/proof-confirm.js +187 -0
- package/dist/knowledge/proof-risk.d.ts +33 -0
- package/dist/knowledge/proof-risk.js +207 -0
- package/dist/knowledge/proof-translation.d.ts +52 -0
- package/dist/knowledge/proof-translation.js +283 -0
- package/dist/knowledge/registrar-risk.d.ts +34 -0
- package/dist/knowledge/registrar-risk.js +217 -0
- package/dist/knowledge/repository-confirm.d.ts +36 -0
- package/dist/knowledge/repository-confirm.js +242 -0
- package/dist/knowledge/repository-risk.d.ts +40 -0
- package/dist/knowledge/repository-risk.js +312 -0
- package/dist/knowledge/repository-translation.d.ts +58 -0
- package/dist/knowledge/repository-translation.js +422 -0
- package/dist/knowledge/resource-risk.d.ts +32 -0
- package/dist/knowledge/resource-risk.js +157 -0
- package/dist/knowledge/reward-confirm.d.ts +113 -0
- package/dist/knowledge/reward-confirm.js +496 -0
- package/dist/knowledge/reward-context.d.ts +127 -0
- package/dist/knowledge/reward-context.js +504 -0
- package/dist/knowledge/reward-ledger.d.ts +96 -0
- package/dist/knowledge/reward-ledger.js +502 -0
- package/dist/knowledge/reward-puzzle.d.ts +97 -0
- package/dist/knowledge/reward-puzzle.js +288 -0
- package/dist/knowledge/reward-risk.d.ts +84 -0
- package/dist/knowledge/reward-risk.js +545 -0
- package/dist/knowledge/reward-translation.d.ts +58 -0
- package/dist/knowledge/reward-translation.js +501 -0
- package/dist/knowledge/safety-rules.js +11 -3
- package/dist/knowledge/scenario-modes.d.ts +53 -0
- package/dist/knowledge/scenario-modes.js +302 -0
- package/dist/knowledge/service-confirm.d.ts +152 -0
- package/dist/knowledge/service-confirm.js +699 -0
- package/dist/knowledge/service-context.d.ts +66 -0
- package/dist/knowledge/service-context.js +403 -0
- package/dist/knowledge/service-ledger.d.ts +71 -0
- package/dist/knowledge/service-ledger.js +609 -0
- package/dist/knowledge/service-puzzle.d.ts +158 -0
- package/dist/knowledge/service-puzzle.js +236 -0
- package/dist/knowledge/service-risk.d.ts +108 -0
- package/dist/knowledge/service-risk.js +615 -0
- package/dist/knowledge/service-templates.d.ts +39 -0
- package/dist/knowledge/service-templates.js +418 -0
- package/dist/knowledge/service-translation.d.ts +103 -0
- package/dist/knowledge/service-translation.js +622 -0
- package/dist/knowledge/tools-reference.d.ts +17 -0
- package/dist/knowledge/tools-reference.js +151 -0
- package/dist/knowledge/treasury-confirm.d.ts +133 -0
- package/dist/knowledge/treasury-confirm.js +512 -0
- package/dist/knowledge/treasury-context.d.ts +64 -0
- package/dist/knowledge/treasury-context.js +363 -0
- package/dist/knowledge/treasury-ledger.d.ts +42 -0
- package/dist/knowledge/treasury-ledger.js +300 -0
- package/dist/knowledge/treasury-puzzle.d.ts +163 -0
- package/dist/knowledge/treasury-puzzle.js +216 -0
- package/dist/knowledge/treasury-risk.d.ts +86 -0
- package/dist/knowledge/treasury-risk.js +440 -0
- package/dist/knowledge/treasury-templates.d.ts +38 -0
- package/dist/knowledge/treasury-templates.js +316 -0
- package/dist/knowledge/treasury-translation.d.ts +78 -0
- package/dist/knowledge/treasury-translation.js +498 -0
- package/dist/knowledge/util-risk.d.ts +30 -0
- package/dist/knowledge/util-risk.js +135 -0
- package/dist/project/business-puzzle.d.ts +47 -0
- package/dist/project/business-puzzle.js +372 -0
- package/dist/project/deployment-doc.d.ts +61 -0
- package/dist/project/deployment-doc.js +432 -0
- package/dist/project/graph.d.ts +1 -0
- package/dist/project/graph.js +27 -1
- package/dist/project/index.d.ts +1 -0
- package/dist/project/index.js +39 -2
- package/dist/project/namespace.d.ts +11 -1
- package/dist/project/namespace.js +27 -2
- package/dist/project/query.d.ts +2 -0
- package/dist/project/query.js +56 -15
- package/dist/project/risk-aggregator.d.ts +50 -0
- package/dist/project/risk-aggregator.js +280 -0
- package/dist/project/substep-trace.d.ts +130 -0
- package/dist/project/substep-trace.js +332 -0
- package/dist/rules.d.ts +12 -0
- package/dist/rules.js +9 -0
- package/dist/schema/call/allocation.d.ts +44 -44
- package/dist/schema/call/arbitration.d.ts +141 -141
- package/dist/schema/call/base.d.ts +386 -386
- package/dist/schema/call/base.js +6 -6
- package/dist/schema/call/bridge-handler.d.ts +5 -2
- package/dist/schema/call/bridge.d.ts +159 -159
- package/dist/schema/call/contact.d.ts +110 -110
- package/dist/schema/call/demand.d.ts +76 -76
- package/dist/schema/call/handler.d.ts +2 -3
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +96 -96
- package/dist/schema/call/order.d.ts +98 -110
- package/dist/schema/call/permission-handler.d.ts +5 -0
- package/dist/schema/call/permission-handler.js +54 -0
- package/dist/schema/call/permission.d.ts +108 -108
- package/dist/schema/call/personal.d.ts +14 -14
- package/dist/schema/call/progress.d.ts +57 -72
- package/dist/schema/call/progress.js +7 -4
- package/dist/schema/call/proof.d.ts +18 -18
- package/dist/schema/call/proof.js +12 -7
- package/dist/schema/call/repository.d.ts +154 -154
- package/dist/schema/call/reward.d.ts +55 -55
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +238 -238
- package/dist/schema/call/treasury.d.ts +93 -93
- package/dist/schema/config/index.d.ts +178 -5
- package/dist/schema/config/index.js +52 -1
- package/dist/schema/local/index.d.ts +3554 -836
- package/dist/schema/local/index.js +2 -1
- package/dist/schema/messenger/index.d.ts +162 -162
- package/dist/schema/operations.d.ts +1102 -1118
- package/dist/schema/operations.js +7 -1
- package/dist/schema/project/index.d.ts +1392 -6
- package/dist/schema/project/index.js +426 -2
- package/dist/schema/query/index.d.ts +818 -818
- package/dist/schema/query/index.js +15 -9
- package/dist/schema/schema-query/index.d.ts +23 -3
- package/dist/schema/schema-query/index.js +13 -2
- package/dist/schema/sync-layer4.d.ts +21 -0
- package/dist/schema/sync-layer4.js +261 -0
- package/dist/schema/trust/index.d.ts +26 -26
- package/dist/schema/utils/guard-query-utils.d.ts +7 -0
- package/dist/schema/utils/guard-query-utils.js +14 -1
- package/dist/schemas/account_operation.output.json +718 -0
- package/dist/schemas/bridge_operation.output.json +1 -1
- package/dist/schemas/config_operation.output.json +173 -0
- package/dist/schemas/index.json +9 -1
- package/dist/schemas/local_info_operation.output.json +718 -0
- package/dist/schemas/local_mark_operation.output.json +718 -0
- package/dist/schemas/messenger_operation.output.json +1 -1
- package/dist/schemas/onchain_events.output.json +1 -1
- package/dist/schemas/onchain_operations.output.json +5 -4
- package/dist/schemas/onchain_operations.schema.json +1813 -333
- package/dist/schemas/onchain_operations_allocation.schema.json +9 -11
- package/dist/schemas/onchain_operations_arbitration.schema.json +2 -1
- package/dist/schemas/onchain_operations_contact.schema.json +2 -1
- package/dist/schemas/onchain_operations_demand.schema.json +2 -1
- package/dist/schemas/onchain_operations_gen_passport.schema.json +878 -872
- package/dist/schemas/onchain_operations_gen_proof.schema.json +273 -0
- package/dist/schemas/onchain_operations_guard.schema.json +584 -70
- package/dist/schemas/onchain_operations_machine.schema.json +4 -6
- package/dist/schemas/onchain_operations_order.schema.json +13 -9
- package/dist/schemas/onchain_operations_payment.schema.json +2 -1
- package/dist/schemas/onchain_operations_permission.schema.json +2 -1
- package/dist/schemas/onchain_operations_personal.schema.json +2 -1
- package/dist/schemas/onchain_operations_progress.schema.json +14 -10
- package/dist/schemas/onchain_operations_proof.schema.json +699 -0
- package/dist/schemas/onchain_operations_repository.schema.json +2 -1
- package/dist/schemas/onchain_operations_reward.schema.json +2 -1
- package/dist/schemas/onchain_operations_service.schema.json +4 -6
- package/dist/schemas/onchain_operations_treasury.schema.json +2 -1
- package/dist/schemas/onchain_table_data.output.json +6 -12
- package/dist/schemas/onchain_table_data.schema.json +32 -1
- package/dist/schemas/project_operation.output.json +879 -0
- package/dist/schemas/project_operation.schema.json +473 -2
- package/dist/schemas/query_toolkit.output.json +14906 -6
- package/dist/schemas/schema_query.output.json +38 -1
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/tools/handlers/bridge.d.ts +1 -0
- package/dist/tools/handlers/bridge.js +1 -0
- package/dist/tools/handlers/config.d.ts +2 -0
- package/dist/tools/handlers/config.js +74 -0
- package/dist/tools/handlers/file-export.d.ts +3 -0
- package/dist/tools/handlers/file-export.js +90 -0
- package/dist/tools/handlers/local.d.ts +3 -0
- package/dist/tools/handlers/local.js +38 -0
- package/dist/tools/handlers/messenger.d.ts +16 -0
- package/dist/tools/handlers/messenger.js +188 -0
- package/dist/tools/handlers/onchain.d.ts +2 -0
- package/dist/tools/handlers/onchain.js +248 -0
- package/dist/tools/handlers/project.d.ts +2 -0
- package/dist/tools/handlers/project.js +293 -0
- package/dist/tools/handlers/query.d.ts +5 -0
- package/dist/tools/handlers/query.js +256 -0
- package/dist/tools/handlers/schema-query.d.ts +2 -0
- package/dist/tools/handlers/schema-query.js +93 -0
- package/dist/tools/handlers/trust.d.ts +2 -0
- package/dist/tools/handlers/trust.js +194 -0
- package/dist/tools/handlers/wip.d.ts +2 -0
- package/dist/tools/handlers/wip.js +44 -0
- package/dist/tools/index.d.ts +13 -0
- package/dist/tools/index.js +526 -0
- package/dist/tools/rules-hook.d.ts +2 -0
- package/dist/tools/rules-hook.js +23 -0
- package/dist/tools/shared.d.ts +20 -0
- package/dist/tools/shared.js +130 -0
- package/dist/tools/types.d.ts +35 -0
- package/dist/tools/types.js +1 -0
- package/dist/tools/wrap.d.ts +14 -0
- package/dist/tools/wrap.js +267 -0
- package/package.json +20 -6
|
@@ -20,25 +20,22 @@ export declare const OperateSchema: z.ZodObject<{
|
|
|
20
20
|
forward: string;
|
|
21
21
|
next_node_name: string;
|
|
22
22
|
}>;
|
|
23
|
-
|
|
24
|
-
adminUnhold: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
op: z.ZodEnum<["next", "hold", "unhold", "adminUnhold"]>;
|
|
25
24
|
message: z.ZodOptional<z.ZodString>;
|
|
26
25
|
}, "strict", z.ZodTypeAny, {
|
|
26
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
27
27
|
operation: {
|
|
28
28
|
forward: string;
|
|
29
29
|
next_node_name: string;
|
|
30
30
|
};
|
|
31
31
|
message?: string | undefined;
|
|
32
|
-
hold?: boolean | undefined;
|
|
33
|
-
adminUnhold?: boolean | undefined;
|
|
34
32
|
}, {
|
|
33
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
35
34
|
operation: {
|
|
36
35
|
forward: string;
|
|
37
36
|
next_node_name: string;
|
|
38
37
|
};
|
|
39
38
|
message?: string | undefined;
|
|
40
|
-
hold?: boolean | undefined;
|
|
41
|
-
adminUnhold?: boolean | undefined;
|
|
42
39
|
}>;
|
|
43
40
|
export declare const CallProgress_DataSchema: z.ZodObject<{
|
|
44
41
|
object: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -128,25 +125,22 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
|
|
|
128
125
|
forward: string;
|
|
129
126
|
next_node_name: string;
|
|
130
127
|
}>;
|
|
131
|
-
|
|
132
|
-
adminUnhold: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
op: z.ZodEnum<["next", "hold", "unhold", "adminUnhold"]>;
|
|
133
129
|
message: z.ZodOptional<z.ZodString>;
|
|
134
130
|
}, "strict", z.ZodTypeAny, {
|
|
131
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
135
132
|
operation: {
|
|
136
133
|
forward: string;
|
|
137
134
|
next_node_name: string;
|
|
138
135
|
};
|
|
139
136
|
message?: string | undefined;
|
|
140
|
-
hold?: boolean | undefined;
|
|
141
|
-
adminUnhold?: boolean | undefined;
|
|
142
137
|
}, {
|
|
138
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
143
139
|
operation: {
|
|
144
140
|
forward: string;
|
|
145
141
|
next_node_name: string;
|
|
146
142
|
};
|
|
147
143
|
message?: string | undefined;
|
|
148
|
-
hold?: boolean | undefined;
|
|
149
|
-
adminUnhold?: boolean | undefined;
|
|
150
144
|
}>>;
|
|
151
145
|
}, "strict", z.ZodTypeAny, {
|
|
152
146
|
object: string;
|
|
@@ -159,6 +153,14 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
|
|
|
159
153
|
} | {
|
|
160
154
|
op: "clear";
|
|
161
155
|
} | undefined;
|
|
156
|
+
operate?: {
|
|
157
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
158
|
+
operation: {
|
|
159
|
+
forward: string;
|
|
160
|
+
next_node_name: string;
|
|
161
|
+
};
|
|
162
|
+
message?: string | undefined;
|
|
163
|
+
} | undefined;
|
|
162
164
|
task?: string | undefined;
|
|
163
165
|
progress_namedOperator?: {
|
|
164
166
|
name: string;
|
|
@@ -171,15 +173,6 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
|
|
|
171
173
|
check_all_founded?: boolean | undefined;
|
|
172
174
|
};
|
|
173
175
|
} | undefined;
|
|
174
|
-
operate?: {
|
|
175
|
-
operation: {
|
|
176
|
-
forward: string;
|
|
177
|
-
next_node_name: string;
|
|
178
|
-
};
|
|
179
|
-
message?: string | undefined;
|
|
180
|
-
hold?: boolean | undefined;
|
|
181
|
-
adminUnhold?: boolean | undefined;
|
|
182
|
-
} | undefined;
|
|
183
176
|
}, {
|
|
184
177
|
object: string;
|
|
185
178
|
repository?: {
|
|
@@ -191,6 +184,14 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
|
|
|
191
184
|
} | {
|
|
192
185
|
op: "clear";
|
|
193
186
|
} | undefined;
|
|
187
|
+
operate?: {
|
|
188
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
189
|
+
operation: {
|
|
190
|
+
forward: string;
|
|
191
|
+
next_node_name: string;
|
|
192
|
+
};
|
|
193
|
+
message?: string | undefined;
|
|
194
|
+
} | undefined;
|
|
194
195
|
task?: string | undefined;
|
|
195
196
|
progress_namedOperator?: {
|
|
196
197
|
name: string;
|
|
@@ -203,15 +204,6 @@ export declare const CallProgress_DataSchema: z.ZodObject<{
|
|
|
203
204
|
check_all_founded?: boolean | undefined;
|
|
204
205
|
};
|
|
205
206
|
} | undefined;
|
|
206
|
-
operate?: {
|
|
207
|
-
operation: {
|
|
208
|
-
forward: string;
|
|
209
|
-
next_node_name: string;
|
|
210
|
-
};
|
|
211
|
-
message?: string | undefined;
|
|
212
|
-
hold?: boolean | undefined;
|
|
213
|
-
adminUnhold?: boolean | undefined;
|
|
214
|
-
} | undefined;
|
|
215
207
|
}>;
|
|
216
208
|
export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
217
209
|
data: z.ZodObject<{
|
|
@@ -302,25 +294,22 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
302
294
|
forward: string;
|
|
303
295
|
next_node_name: string;
|
|
304
296
|
}>;
|
|
305
|
-
|
|
306
|
-
adminUnhold: z.ZodOptional<z.ZodBoolean>;
|
|
297
|
+
op: z.ZodEnum<["next", "hold", "unhold", "adminUnhold"]>;
|
|
307
298
|
message: z.ZodOptional<z.ZodString>;
|
|
308
299
|
}, "strict", z.ZodTypeAny, {
|
|
300
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
309
301
|
operation: {
|
|
310
302
|
forward: string;
|
|
311
303
|
next_node_name: string;
|
|
312
304
|
};
|
|
313
305
|
message?: string | undefined;
|
|
314
|
-
hold?: boolean | undefined;
|
|
315
|
-
adminUnhold?: boolean | undefined;
|
|
316
306
|
}, {
|
|
307
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
317
308
|
operation: {
|
|
318
309
|
forward: string;
|
|
319
310
|
next_node_name: string;
|
|
320
311
|
};
|
|
321
312
|
message?: string | undefined;
|
|
322
|
-
hold?: boolean | undefined;
|
|
323
|
-
adminUnhold?: boolean | undefined;
|
|
324
313
|
}>>;
|
|
325
314
|
}, "strict", z.ZodTypeAny, {
|
|
326
315
|
object: string;
|
|
@@ -333,6 +322,14 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
333
322
|
} | {
|
|
334
323
|
op: "clear";
|
|
335
324
|
} | undefined;
|
|
325
|
+
operate?: {
|
|
326
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
327
|
+
operation: {
|
|
328
|
+
forward: string;
|
|
329
|
+
next_node_name: string;
|
|
330
|
+
};
|
|
331
|
+
message?: string | undefined;
|
|
332
|
+
} | undefined;
|
|
336
333
|
task?: string | undefined;
|
|
337
334
|
progress_namedOperator?: {
|
|
338
335
|
name: string;
|
|
@@ -345,15 +342,6 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
345
342
|
check_all_founded?: boolean | undefined;
|
|
346
343
|
};
|
|
347
344
|
} | undefined;
|
|
348
|
-
operate?: {
|
|
349
|
-
operation: {
|
|
350
|
-
forward: string;
|
|
351
|
-
next_node_name: string;
|
|
352
|
-
};
|
|
353
|
-
message?: string | undefined;
|
|
354
|
-
hold?: boolean | undefined;
|
|
355
|
-
adminUnhold?: boolean | undefined;
|
|
356
|
-
} | undefined;
|
|
357
345
|
}, {
|
|
358
346
|
object: string;
|
|
359
347
|
repository?: {
|
|
@@ -365,6 +353,14 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
365
353
|
} | {
|
|
366
354
|
op: "clear";
|
|
367
355
|
} | undefined;
|
|
356
|
+
operate?: {
|
|
357
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
358
|
+
operation: {
|
|
359
|
+
forward: string;
|
|
360
|
+
next_node_name: string;
|
|
361
|
+
};
|
|
362
|
+
message?: string | undefined;
|
|
363
|
+
} | undefined;
|
|
368
364
|
task?: string | undefined;
|
|
369
365
|
progress_namedOperator?: {
|
|
370
366
|
name: string;
|
|
@@ -377,15 +373,6 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
377
373
|
check_all_founded?: boolean | undefined;
|
|
378
374
|
};
|
|
379
375
|
} | undefined;
|
|
380
|
-
operate?: {
|
|
381
|
-
operation: {
|
|
382
|
-
forward: string;
|
|
383
|
-
next_node_name: string;
|
|
384
|
-
};
|
|
385
|
-
message?: string | undefined;
|
|
386
|
-
hold?: boolean | undefined;
|
|
387
|
-
adminUnhold?: boolean | undefined;
|
|
388
|
-
} | undefined;
|
|
389
376
|
}>;
|
|
390
377
|
env: z.ZodOptional<z.ZodObject<{
|
|
391
378
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
@@ -613,6 +600,14 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
613
600
|
} | {
|
|
614
601
|
op: "clear";
|
|
615
602
|
} | undefined;
|
|
603
|
+
operate?: {
|
|
604
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
605
|
+
operation: {
|
|
606
|
+
forward: string;
|
|
607
|
+
next_node_name: string;
|
|
608
|
+
};
|
|
609
|
+
message?: string | undefined;
|
|
610
|
+
} | undefined;
|
|
616
611
|
task?: string | undefined;
|
|
617
612
|
progress_namedOperator?: {
|
|
618
613
|
name: string;
|
|
@@ -625,15 +620,6 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
625
620
|
check_all_founded?: boolean | undefined;
|
|
626
621
|
};
|
|
627
622
|
} | undefined;
|
|
628
|
-
operate?: {
|
|
629
|
-
operation: {
|
|
630
|
-
forward: string;
|
|
631
|
-
next_node_name: string;
|
|
632
|
-
};
|
|
633
|
-
message?: string | undefined;
|
|
634
|
-
hold?: boolean | undefined;
|
|
635
|
-
adminUnhold?: boolean | undefined;
|
|
636
|
-
} | undefined;
|
|
637
623
|
};
|
|
638
624
|
submission?: {
|
|
639
625
|
type: "submission";
|
|
@@ -686,6 +672,14 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
686
672
|
} | {
|
|
687
673
|
op: "clear";
|
|
688
674
|
} | undefined;
|
|
675
|
+
operate?: {
|
|
676
|
+
op: "next" | "hold" | "unhold" | "adminUnhold";
|
|
677
|
+
operation: {
|
|
678
|
+
forward: string;
|
|
679
|
+
next_node_name: string;
|
|
680
|
+
};
|
|
681
|
+
message?: string | undefined;
|
|
682
|
+
} | undefined;
|
|
689
683
|
task?: string | undefined;
|
|
690
684
|
progress_namedOperator?: {
|
|
691
685
|
name: string;
|
|
@@ -698,15 +692,6 @@ export declare const CallProgress_InputSchema: z.ZodObject<{
|
|
|
698
692
|
check_all_founded?: boolean | undefined;
|
|
699
693
|
};
|
|
700
694
|
} | undefined;
|
|
701
|
-
operate?: {
|
|
702
|
-
operation: {
|
|
703
|
-
forward: string;
|
|
704
|
-
next_node_name: string;
|
|
705
|
-
};
|
|
706
|
-
message?: string | undefined;
|
|
707
|
-
hold?: boolean | undefined;
|
|
708
|
-
adminUnhold?: boolean | undefined;
|
|
709
|
-
} | undefined;
|
|
710
695
|
};
|
|
711
696
|
submission?: {
|
|
712
697
|
type: "submission";
|
|
@@ -8,16 +8,19 @@ export const ProgressNextSchema = z.object({
|
|
|
8
8
|
}).strict().describe("Specify a specific operation between current node and next node.");
|
|
9
9
|
export const OperateSchema = z.object({
|
|
10
10
|
operation: ProgressNextSchema,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
op: z.enum(["next", "hold", "unhold", "adminUnhold"]).describe("Operation type on the forward: " +
|
|
12
|
+
"'next' = advance the forward (accomplish); " +
|
|
13
|
+
"'hold' = set hold to block the forward; " +
|
|
14
|
+
"'unhold' = self-unhold, release own hold (no 224 permission needed); " +
|
|
15
|
+
"'adminUnhold' = force-release hold via 224 permission (PROGRESS_UNHOLD)."),
|
|
13
16
|
message: z.string().optional().describe("Operation result message."),
|
|
14
|
-
}).strict().describe("Advance Progress object
|
|
17
|
+
}).strict().describe("Advance Progress object with explicit operation type.");
|
|
15
18
|
export const CallProgress_DataSchema = z.object({
|
|
16
19
|
object: NameOrAddressSchema.describe("Progress object ID or name."),
|
|
17
20
|
task: NameOrAddressSchema.optional().describe("Task ID. Cannot be changed after setting."),
|
|
18
21
|
repository: ObjectsSchema.optional().describe("Consensus data Repository object list."),
|
|
19
22
|
progress_namedOperator: ProgressNamedOperatorSchema.optional().describe("Manage operators for Progress permission namespace."),
|
|
20
|
-
operate: OperateSchema.optional().describe("Advance Progress object.
|
|
23
|
+
operate: OperateSchema.optional().describe("Advance Progress object. op field selects the operation: next/hold/unhold/adminUnhold."),
|
|
21
24
|
}).strict().describe("On-chain, operate an existing Progress object.");
|
|
22
25
|
export const CallProgress_InputSchema = z.object({
|
|
23
26
|
data: CallProgress_DataSchema,
|
|
@@ -16,19 +16,19 @@ export declare const CallProof_DataSchema: z.ZodObject<{
|
|
|
16
16
|
tags?: string[] | undefined;
|
|
17
17
|
onChain?: boolean | undefined;
|
|
18
18
|
}>>;
|
|
19
|
-
description: z.
|
|
19
|
+
description: z.ZodEffects<z.ZodString, string, string>;
|
|
20
20
|
proof: z.ZodString;
|
|
21
21
|
server_pubkey: z.ZodString;
|
|
22
22
|
server_signature: z.ZodString;
|
|
23
|
-
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
23
|
+
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
|
|
24
24
|
item_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull]>>;
|
|
25
25
|
about_address: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
26
26
|
}, "strict", z.ZodTypeAny, {
|
|
27
|
+
description: string;
|
|
27
28
|
proof: string;
|
|
28
29
|
server_pubkey: string;
|
|
29
30
|
server_signature: string;
|
|
30
31
|
proof_type: string | number;
|
|
31
|
-
description?: string | undefined;
|
|
32
32
|
namedNew?: {
|
|
33
33
|
name?: string | undefined;
|
|
34
34
|
replaceExistName?: boolean | undefined;
|
|
@@ -38,11 +38,11 @@ export declare const CallProof_DataSchema: z.ZodObject<{
|
|
|
38
38
|
item_count?: string | number | null | undefined;
|
|
39
39
|
about_address?: string | null | undefined;
|
|
40
40
|
}, {
|
|
41
|
+
description: string;
|
|
41
42
|
proof: string;
|
|
42
43
|
server_pubkey: string;
|
|
43
44
|
server_signature: string;
|
|
44
45
|
proof_type: string | number;
|
|
45
|
-
description?: string | undefined;
|
|
46
46
|
namedNew?: {
|
|
47
47
|
name?: string | undefined;
|
|
48
48
|
replaceExistName?: boolean | undefined;
|
|
@@ -70,19 +70,19 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
70
70
|
tags?: string[] | undefined;
|
|
71
71
|
onChain?: boolean | undefined;
|
|
72
72
|
}>>;
|
|
73
|
-
description: z.
|
|
73
|
+
description: z.ZodEffects<z.ZodString, string, string>;
|
|
74
74
|
proof: z.ZodString;
|
|
75
75
|
server_pubkey: z.ZodString;
|
|
76
76
|
server_signature: z.ZodString;
|
|
77
|
-
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
77
|
+
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
|
|
78
78
|
item_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull]>>;
|
|
79
79
|
about_address: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
80
80
|
}, "strict", z.ZodTypeAny, {
|
|
81
|
+
description: string;
|
|
81
82
|
proof: string;
|
|
82
83
|
server_pubkey: string;
|
|
83
84
|
server_signature: string;
|
|
84
85
|
proof_type: string | number;
|
|
85
|
-
description?: string | undefined;
|
|
86
86
|
namedNew?: {
|
|
87
87
|
name?: string | undefined;
|
|
88
88
|
replaceExistName?: boolean | undefined;
|
|
@@ -92,11 +92,11 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
92
92
|
item_count?: string | number | null | undefined;
|
|
93
93
|
about_address?: string | null | undefined;
|
|
94
94
|
}, {
|
|
95
|
+
description: string;
|
|
95
96
|
proof: string;
|
|
96
97
|
server_pubkey: string;
|
|
97
98
|
server_signature: string;
|
|
98
99
|
proof_type: string | number;
|
|
99
|
-
description?: string | undefined;
|
|
100
100
|
namedNew?: {
|
|
101
101
|
name?: string | undefined;
|
|
102
102
|
replaceExistName?: boolean | undefined;
|
|
@@ -142,11 +142,11 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
142
142
|
}>>;
|
|
143
143
|
}, "strict", z.ZodTypeAny, {
|
|
144
144
|
data: {
|
|
145
|
+
description: string;
|
|
145
146
|
proof: string;
|
|
146
147
|
server_pubkey: string;
|
|
147
148
|
server_signature: string;
|
|
148
149
|
proof_type: string | number;
|
|
149
|
-
description?: string | undefined;
|
|
150
150
|
namedNew?: {
|
|
151
151
|
name?: string | undefined;
|
|
152
152
|
replaceExistName?: boolean | undefined;
|
|
@@ -170,11 +170,11 @@ export declare const CallProof_InputSchema: z.ZodObject<{
|
|
|
170
170
|
} | undefined;
|
|
171
171
|
}, {
|
|
172
172
|
data: {
|
|
173
|
+
description: string;
|
|
173
174
|
proof: string;
|
|
174
175
|
server_pubkey: string;
|
|
175
176
|
server_signature: string;
|
|
176
177
|
proof_type: string | number;
|
|
177
|
-
description?: string | undefined;
|
|
178
178
|
namedNew?: {
|
|
179
179
|
name?: string | undefined;
|
|
180
180
|
replaceExistName?: boolean | undefined;
|
|
@@ -201,8 +201,8 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
201
201
|
proof: z.ZodString;
|
|
202
202
|
server_pubkey: z.ZodString;
|
|
203
203
|
server_signature: z.ZodString;
|
|
204
|
-
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
205
|
-
description: z.
|
|
204
|
+
proof_type: z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, string, string>]>;
|
|
205
|
+
description: z.ZodEffects<z.ZodString, string, string>;
|
|
206
206
|
item_count: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodNull]>>;
|
|
207
207
|
about_address: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
|
|
208
208
|
env: z.ZodOptional<z.ZodObject<{
|
|
@@ -240,11 +240,13 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
240
240
|
schema_strict_mode?: boolean | undefined;
|
|
241
241
|
}>>;
|
|
242
242
|
}, "strict", z.ZodTypeAny, {
|
|
243
|
+
description: string;
|
|
243
244
|
proof: string;
|
|
244
245
|
server_pubkey: string;
|
|
245
246
|
server_signature: string;
|
|
246
247
|
proof_type: string | number;
|
|
247
|
-
|
|
248
|
+
item_count?: string | number | null | undefined;
|
|
249
|
+
about_address?: string | null | undefined;
|
|
248
250
|
env?: {
|
|
249
251
|
account: string;
|
|
250
252
|
no_cache?: boolean | undefined;
|
|
@@ -257,14 +259,14 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
257
259
|
client_schema_version?: string | undefined;
|
|
258
260
|
schema_strict_mode?: boolean | undefined;
|
|
259
261
|
} | undefined;
|
|
260
|
-
item_count?: string | number | null | undefined;
|
|
261
|
-
about_address?: string | null | undefined;
|
|
262
262
|
}, {
|
|
263
|
+
description: string;
|
|
263
264
|
proof: string;
|
|
264
265
|
server_pubkey: string;
|
|
265
266
|
server_signature: string;
|
|
266
267
|
proof_type: string | number;
|
|
267
|
-
|
|
268
|
+
item_count?: string | number | null | undefined;
|
|
269
|
+
about_address?: string | null | undefined;
|
|
268
270
|
env?: {
|
|
269
271
|
no_cache?: boolean | undefined;
|
|
270
272
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
@@ -277,8 +279,6 @@ export declare const CallGenProof_InputSchema: z.ZodObject<{
|
|
|
277
279
|
client_schema_version?: string | undefined;
|
|
278
280
|
schema_strict_mode?: boolean | undefined;
|
|
279
281
|
} | undefined;
|
|
280
|
-
item_count?: string | number | null | undefined;
|
|
281
|
-
about_address?: string | null | undefined;
|
|
282
282
|
}>;
|
|
283
283
|
export type CallProof_Data = z.infer<typeof CallProof_DataSchema>;
|
|
284
284
|
export type CallProof_Input = z.infer<typeof CallProof_InputSchema>;
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { CallEnvSchema, NamedObjectSchema } from './base.js';
|
|
3
3
|
import { DescriptionSchema, WowAddressSchema } from '../common/index.js';
|
|
4
|
-
import { MAX_PROOF_SIZE, MAX_SERVER_PUBKEY_SIZE, MAX_SERVER_SIGNATURE_SIZE } from '@wowok/wowok';
|
|
4
|
+
import { MAX_PROOF_SIZE, MAX_SERVER_PUBKEY_SIZE, MAX_SERVER_SIGNATURE_SIZE, WOWOK_WTS_PROOF_TYPE, } from '@wowok/wowok';
|
|
5
|
+
const ProofTypeSchema = z.union([
|
|
6
|
+
z.number().int().min(1, "proof_type number must be >= 1 (WOWOK_WTS_PROOF_TYPE=1 is the minimum)"),
|
|
7
|
+
z.string().regex(/^\d+$/, "proof_type string must be numeric (digits only)")
|
|
8
|
+
.refine(s => BigInt(s) >= 1n, "proof_type must be >= 1"),
|
|
9
|
+
]).describe(`Proof type. ${WOWOK_WTS_PROOF_TYPE}: WOWOK_WTS_PROOF_TYPE (WTS proof); 1-100 reserved for Wowok; user-defined must be > 100. Numeric string accepted.`);
|
|
5
10
|
export const CallProof_DataSchema = z.object({
|
|
6
11
|
namedNew: NamedObjectSchema.optional(),
|
|
7
|
-
description: DescriptionSchema.
|
|
12
|
+
description: DescriptionSchema.describe("Human-readable description of this Proof. Required field."),
|
|
8
13
|
proof: z.string().max(MAX_PROOF_SIZE).describe("Proof content. e.g. merkle tree root"),
|
|
9
14
|
server_pubkey: z.string().max(MAX_SERVER_PUBKEY_SIZE).describe("Server public key"),
|
|
10
15
|
server_signature: z.string().max(MAX_SERVER_SIGNATURE_SIZE).describe("Server signature"),
|
|
11
|
-
proof_type:
|
|
16
|
+
proof_type: ProofTypeSchema,
|
|
12
17
|
item_count: z.union([z.number().int().min(0), z.string(), z.null()]).optional().describe("Item count. e.g. number of items in the merkle tree"),
|
|
13
|
-
about_address: z.union([WowAddressSchema, z.null()]).optional().describe("About address (raw address
|
|
18
|
+
about_address: z.union([WowAddressSchema, z.null()]).optional().describe("About address. Accepts null/undefined (→ Move Option::none). When provided, must be a raw 0x-prefixed address (NOT a name). e.g. address of the entity being proved."),
|
|
14
19
|
}).strict().describe("On-chain Proof creation. USAGE: Set 'namedNew' field with {name, tag?} to create a named Proof. Proof is an immutable object - it can only be created, not modified. The 'namedNew' field is CRITICAL and REQUIRED.");
|
|
15
20
|
export const CallProof_InputSchema = z.object({
|
|
16
21
|
data: CallProof_DataSchema,
|
|
@@ -20,9 +25,9 @@ export const CallGenProof_InputSchema = z.object({
|
|
|
20
25
|
proof: z.string().max(MAX_PROOF_SIZE).describe("Proof content. e.g. merkle tree root"),
|
|
21
26
|
server_pubkey: z.string().max(MAX_SERVER_PUBKEY_SIZE).describe("Server public key"),
|
|
22
27
|
server_signature: z.string().max(MAX_SERVER_SIGNATURE_SIZE).describe("Server signature"),
|
|
23
|
-
proof_type:
|
|
24
|
-
description: DescriptionSchema.
|
|
28
|
+
proof_type: ProofTypeSchema,
|
|
29
|
+
description: DescriptionSchema.describe("Human-readable description of this Proof. Required field."),
|
|
25
30
|
item_count: z.union([z.number().int().min(0), z.string(), z.null()]).optional().describe("Item count. e.g. number of items in the merkle tree"),
|
|
26
|
-
about_address: z.union([WowAddressSchema, z.null()]).optional().describe("About address
|
|
31
|
+
about_address: z.union([WowAddressSchema, z.null()]).optional().describe("About address. Accepts null/undefined (→ Move Option::none). When provided, must be a raw 0x-prefixed address (NOT a name)."),
|
|
27
32
|
env: CallEnvSchema.optional(),
|
|
28
33
|
}).strict().describe("Generate a new Proof object on-chain");
|