@wowok/agent-mcp 2.6.3 → 2.6.4
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/customer-advice.d.ts +31 -0
- package/dist/customer/customer-advice.js +129 -0
- package/dist/customer/index.d.ts +2 -0
- package/dist/customer/index.js +2 -0
- package/dist/customer/info-puzzle.d.ts +8 -1
- package/dist/customer/info-puzzle.js +30 -5
- package/dist/customer/order-monitor.d.ts +2 -0
- package/dist/customer/order-monitor.js +3 -2
- package/dist/customer/post-purchase.d.ts +2 -0
- package/dist/customer/post-purchase.js +6 -5
- package/dist/customer/preorder-compare.d.ts +24 -0
- package/dist/customer/preorder-compare.js +34 -0
- package/dist/customer/reminder-system.d.ts +2 -0
- package/dist/customer/reminder-system.js +2 -1
- package/dist/customer/risk-assessment.js +4 -3
- package/dist/customer/types.d.ts +5 -0
- package/dist/examples/arbitration-dispute-create.json +41 -0
- package/dist/examples/arbitration-vote-weighted.json +35 -0
- package/dist/examples/arbitration-voting-guard-add.json +38 -0
- package/dist/examples/demand-present-service.json +33 -0
- package/dist/examples/gen-passport-verify-guard.json +48 -0
- package/dist/examples/guard-template-balance-check.json +36 -15
- package/dist/examples/guard-template-time-lock.json +33 -12
- package/dist/examples/insurance-guard-claim-timelock.json +75 -0
- package/dist/examples/insurance-guard-withdraw-allocation.json +96 -0
- package/dist/examples/insurance-machine-create-publish.json +75 -0
- package/dist/examples/insurance-service-allocators-publish.json +56 -0
- package/dist/examples/machine-multisig-threshold.json +86 -0
- package/dist/examples/machine-template-7node-rental.json +99 -94
- package/dist/examples/payment-scenario-bound.json +45 -0
- package/dist/examples/rental-ziroom-machine-create.json +126 -114
- package/dist/examples/rental-ziroom-permission-create.json +10 -3
- package/dist/examples/rental-ziroom-service-create.json +27 -18
- package/dist/examples/retail-adv-guard-customer-win-create.json +80 -0
- package/dist/examples/retail-adv-guard-messenger-proof-create.json +65 -0
- package/dist/examples/retail-adv-guard-reward-timeout-create.json +92 -0
- package/dist/examples/retail-adv-reward-guard-add.json +51 -0
- package/dist/examples/retail-myshop-allocation-activate.json +55 -0
- package/dist/examples/retail-myshop-arbitration-create.json +40 -0
- package/dist/examples/retail-myshop-contact-create.json +43 -0
- package/dist/examples/retail-myshop-order-create.json +56 -0
- package/dist/examples/retail-myshop-progress-operate.json +38 -0
- package/dist/examples/retail-myshop-reward-create.json +35 -0
- package/dist/examples/service-discount-issue.json +46 -0
- package/dist/examples/threebody-guard-create.json +56 -0
- package/dist/examples/threebody-machine-create.json +72 -0
- package/dist/examples/threebody-permission-create.json +38 -0
- package/dist/examples/threebody-service-allocators.json +49 -0
- package/dist/examples/travel-guard-time-lock.json +69 -0
- package/dist/examples/travel-guard-weather-oracle.json +70 -0
- package/dist/examples/travel-machine-create.json +136 -0
- package/dist/examples/travel-repository-create.json +47 -0
- package/dist/examples/travel-service-create.json +102 -0
- package/dist/examples/travel-treasury-create.json +34 -0
- package/dist/examples/treasury-deposit.json +37 -0
- package/dist/examples/treasury-withdraw.json +38 -0
- package/dist/extensions/business-modules.d.ts +49 -0
- package/dist/extensions/business-modules.js +287 -0
- package/dist/extensions/capability-manifest.js +192 -5
- package/dist/extensions/constraint-registry.js +3 -1
- package/dist/extensions/modes.js +10 -4
- package/dist/extensions/registry.d.ts +14 -9
- package/dist/extensions/registry.js +69 -14
- package/dist/extensions/types.d.ts +1 -0
- package/dist/knowledge/fund-layer.d.ts +67 -1
- package/dist/knowledge/fund-layer.js +561 -12
- package/dist/knowledge/guard-templates.d.ts +10 -0
- package/dist/knowledge/guard-templates.js +50 -0
- package/dist/knowledge/index.d.ts +2 -2
- package/dist/knowledge/index.js +2 -2
- package/dist/knowledge/machine-risk.js +4 -1
- package/dist/knowledge/progress-context.js +1 -1
- package/dist/knowledge/progress-ledger.js +3 -3
- package/dist/knowledge/progress-templates.js +1 -1
- package/dist/knowledge/progress-translation.js +1 -1
- package/dist/knowledge/safety-rules.d.ts +83 -1
- package/dist/knowledge/safety-rules.js +166 -2
- package/dist/knowledge/scenario-modes.d.ts +1 -1
- package/dist/knowledge/scenario-modes.js +13 -11
- package/dist/knowledge/template-registry.d.ts +48 -0
- package/dist/knowledge/template-registry.js +341 -0
- package/dist/knowledge/tool-constraints.js +6 -6
- package/dist/knowledge/tools-reference.js +11 -8
- package/dist/participation/merchant-interest.d.ts +32 -0
- package/dist/participation/merchant-interest.js +100 -0
- package/dist/participation/radar-core.d.ts +104 -0
- package/dist/participation/radar-core.js +269 -0
- package/dist/project/context-assembly.js +8 -0
- package/dist/project/edit-planner.js +27 -56
- package/dist/project/evaluation.d.ts +36 -0
- package/dist/project/evaluation.js +422 -56
- package/dist/project/game-theory.d.ts +43 -0
- package/dist/project/game-theory.js +177 -0
- package/dist/project/graph-builder.js +1 -0
- package/dist/project/handlers.d.ts +38 -0
- package/dist/project/handlers.js +65 -35
- package/dist/project/intent-analyzer.d.ts +71 -0
- package/dist/project/intent-analyzer.js +149 -0
- package/dist/project/machine-nodes.d.ts +2 -0
- package/dist/project/machine-nodes.js +36 -0
- package/dist/project/merchant-guide.d.ts +165 -0
- package/dist/project/merchant-guide.js +264 -0
- package/dist/project/mode-actions.d.ts +199 -0
- package/dist/project/mode-actions.js +309 -0
- package/dist/project/participation-radar.d.ts +18 -0
- package/dist/project/participation-radar.js +428 -0
- package/dist/project/pipeline-actions.d.ts +101 -0
- package/dist/project/pipeline-actions.js +109 -0
- package/dist/project/semantic-graph.d.ts +95 -0
- package/dist/project/semantic-graph.js +245 -0
- package/dist/schema/call/allocation.d.ts +11 -11
- package/dist/schema/call/allocation.js +11 -1
- package/dist/schema/call/arbitration.d.ts +21 -21
- package/dist/schema/call/arbitration.js +17 -9
- package/dist/schema/call/base.d.ts +2 -2
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +127 -127
- package/dist/schema/call/bridge.js +12 -12
- package/dist/schema/call/contact.d.ts +3 -3
- package/dist/schema/call/demand.d.ts +3 -3
- package/dist/schema/call/guard.d.ts +11 -11
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/machine.d.ts +216 -21
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +7 -7
- package/dist/schema/call/payment.d.ts +3 -3
- package/dist/schema/call/permission.d.ts +3 -3
- package/dist/schema/call/personal.d.ts +337 -3
- package/dist/schema/call/personal.js +10 -0
- package/dist/schema/call/progress.d.ts +177 -9
- package/dist/schema/call/progress.js +7 -3
- package/dist/schema/call/proof.d.ts +6 -6
- package/dist/schema/call/repository.d.ts +3 -3
- package/dist/schema/call/reward.d.ts +57 -57
- package/dist/schema/call/semantic.js +41 -1
- package/dist/schema/call/service.d.ts +114 -114
- package/dist/schema/call/service.js +11 -2
- package/dist/schema/call/treasury.d.ts +57 -57
- package/dist/schema/messenger/index.js +4 -1
- package/dist/schema/operations.d.ts +713 -291
- package/dist/schema/operations.js +33 -0
- package/dist/schema/project/index.d.ts +4635 -100
- package/dist/schema/project/index.js +868 -1
- package/dist/schema/query/index.d.ts +363 -19
- package/dist/schema/query/index.js +25 -3
- package/dist/schema/schema-query/index.d.ts +13 -7
- package/dist/schema/schema-query/index.js +29 -5
- package/dist/schema/trust/index.d.ts +1012 -6
- package/dist/schema/trust/index.js +212 -11
- package/dist/schema/utils/skills-recommendation.js +1 -0
- package/dist/schema-query/index.d.ts +4 -1
- package/dist/schema-query/index.js +255 -1
- package/dist/schemas/bridge_operation.schema.json +14 -7
- package/dist/schemas/guard2file.schema.json +2 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/machineNode2file.schema.json +2 -0
- package/dist/schemas/messenger_operation.schema.json +1 -1
- package/dist/schemas/onchain_operations.schema.json +143 -15
- package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
- package/dist/schemas/onchain_operations_arbitration.schema.json +7 -5
- package/dist/schemas/onchain_operations_contact.schema.json +1 -0
- package/dist/schemas/onchain_operations_demand.schema.json +1 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +2 -0
- package/dist/schemas/onchain_operations_gen_proof.schema.json +2 -0
- package/dist/schemas/onchain_operations_guard.schema.json +578 -0
- package/dist/schemas/onchain_operations_machine.schema.json +1 -0
- package/dist/schemas/onchain_operations_order.schema.json +4 -3
- package/dist/schemas/onchain_operations_payment.schema.json +1 -0
- package/dist/schemas/onchain_operations_permission.schema.json +1 -0
- package/dist/schemas/onchain_operations_personal.schema.json +37 -0
- package/dist/schemas/onchain_operations_progress.schema.json +90 -3
- package/dist/schemas/onchain_operations_proof.schema.json +1 -0
- package/dist/schemas/onchain_operations_repository.schema.json +1 -0
- package/dist/schemas/onchain_operations_reward.schema.json +1 -0
- package/dist/schemas/onchain_operations_service.schema.json +4 -3
- package/dist/schemas/onchain_operations_treasury.schema.json +1 -0
- package/dist/schemas/project_operation.output.json +2243 -1
- package/dist/schemas/project_operation.schema.json +683 -1
- package/dist/schemas/query_toolkit.output.json +1 -1
- package/dist/schemas/query_toolkit.schema.json +37 -0
- package/dist/schemas/schema_query.output.json +1 -1
- package/dist/schemas/schema_query.schema.json +30 -5
- package/dist/schemas/trust_score.output.json +392 -1
- package/dist/schemas/trust_score.schema.json +275 -1
- package/dist/tools/handlers/onchain.js +73 -8
- package/dist/tools/handlers/project.js +46 -0
- package/dist/tools/handlers/query.js +117 -2
- package/dist/tools/handlers/schema-query.js +41 -0
- package/dist/tools/handlers/trust.js +192 -6
- package/dist/tools/index.js +52 -9
- package/dist/tools/wrap.js +194 -15
- package/package.json +2 -2
|
@@ -88,8 +88,8 @@ export const BridgeWithdrawDataSchema = z.object({
|
|
|
88
88
|
.describe("ERC20 token identifier; if omitted or ETH, withdraws native ETH"),
|
|
89
89
|
tokenAddress: EvmAddressSchema.optional()
|
|
90
90
|
.describe("ERC20 contract address (alternative to token; allows withdrawing by contract address)"),
|
|
91
|
-
network: EvmChainSchema
|
|
92
|
-
.describe("Target chain (defaults to Ethereum mainnet)"),
|
|
91
|
+
network: EvmChainSchema
|
|
92
|
+
.describe("Target chain (defaults to Ethereum mainnet when omitted — EvmChainSchema carries .default(\"mainnet\"))"),
|
|
93
93
|
}).strict().describe("Withdraw from activeEvmAccount to another EVM address");
|
|
94
94
|
export const BridgeQueryActiveEvmAccountDataSchema = z.object({
|
|
95
95
|
network: EvmChainSchema.optional()
|
|
@@ -133,34 +133,34 @@ export const BridgeQueryTransferStatusDataSchema = z.object({
|
|
|
133
133
|
export const BridgeManageEvmRpcDataSchema = z.discriminatedUnion("op", [
|
|
134
134
|
z.object({
|
|
135
135
|
op: z.literal("list").describe("List all configured RPC endpoints with health status"),
|
|
136
|
-
network: EvmChainSchema
|
|
137
|
-
.describe("Target chain (defaults to Ethereum mainnet)"),
|
|
136
|
+
network: EvmChainSchema
|
|
137
|
+
.describe("Target chain (defaults to Ethereum mainnet when omitted — EvmChainSchema carries .default(\"mainnet\"))"),
|
|
138
138
|
}).describe("List RPC endpoints (no rpcUrl/rpcUrls needed)"),
|
|
139
139
|
z.object({
|
|
140
140
|
op: z.literal("add").describe("Append one or more RPC endpoints"),
|
|
141
|
-
network: EvmChainSchema
|
|
142
|
-
.describe("Target chain (defaults to Ethereum mainnet)"),
|
|
141
|
+
network: EvmChainSchema
|
|
142
|
+
.describe("Target chain (defaults to Ethereum mainnet when omitted — EvmChainSchema carries .default(\"mainnet\"))"),
|
|
143
143
|
rpcUrls: z.array(z.string().url()).min(1)
|
|
144
144
|
.describe("RPC URL(s) to add"),
|
|
145
145
|
}).describe("Add RPC endpoint(s)"),
|
|
146
146
|
z.object({
|
|
147
147
|
op: z.literal("remove").describe("Remove one or more RPC endpoints"),
|
|
148
|
-
network: EvmChainSchema
|
|
149
|
-
.describe("Target chain (defaults to Ethereum mainnet)"),
|
|
148
|
+
network: EvmChainSchema
|
|
149
|
+
.describe("Target chain (defaults to Ethereum mainnet when omitted — EvmChainSchema carries .default(\"mainnet\"))"),
|
|
150
150
|
rpcUrls: z.array(z.string().url()).min(1)
|
|
151
151
|
.describe("RPC URL(s) to remove"),
|
|
152
152
|
}).describe("Remove RPC endpoint(s)"),
|
|
153
153
|
z.object({
|
|
154
154
|
op: z.literal("set").describe("Full replace all RPC endpoints"),
|
|
155
|
-
network: EvmChainSchema
|
|
156
|
-
.describe("Target chain (defaults to Ethereum mainnet)"),
|
|
155
|
+
network: EvmChainSchema
|
|
156
|
+
.describe("Target chain (defaults to Ethereum mainnet when omitted — EvmChainSchema carries .default(\"mainnet\"))"),
|
|
157
157
|
rpcUrls: z.array(z.string().url()).min(1)
|
|
158
158
|
.describe("Full RPC list (replaces all existing endpoints)"),
|
|
159
159
|
}).describe("Full replace RPC endpoints"),
|
|
160
160
|
z.object({
|
|
161
161
|
op: z.literal("ping").describe("Health check one or more RPC endpoints"),
|
|
162
|
-
network: EvmChainSchema
|
|
163
|
-
.describe("Target chain (defaults to Ethereum mainnet)"),
|
|
162
|
+
network: EvmChainSchema
|
|
163
|
+
.describe("Target chain (defaults to Ethereum mainnet when omitted — EvmChainSchema carries .default(\"mainnet\"))"),
|
|
164
164
|
rpcUrls: z.array(z.string().url()).optional()
|
|
165
165
|
.describe("Specific RPC URLs to ping; if omitted, pings all configured RPCs"),
|
|
166
166
|
}).describe("Health check RPC endpoints"),
|
|
@@ -606,10 +606,11 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
606
606
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
607
607
|
project: z.ZodOptional<z.ZodString>;
|
|
608
608
|
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
609
|
-
schema_strict_mode: z.ZodOptional<z.ZodBoolean
|
|
609
|
+
schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
610
610
|
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
611
611
|
}, "strict", z.ZodTypeAny, {
|
|
612
612
|
account: string;
|
|
613
|
+
schema_strict_mode: boolean;
|
|
613
614
|
no_cache?: boolean | undefined;
|
|
614
615
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
615
616
|
permission_guard?: string[] | undefined;
|
|
@@ -618,7 +619,6 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
618
619
|
user_intent_phrases?: string[] | undefined;
|
|
619
620
|
project?: string | undefined;
|
|
620
621
|
client_schema_version?: string | undefined;
|
|
621
|
-
schema_strict_mode?: boolean | undefined;
|
|
622
622
|
dry_run?: boolean | undefined;
|
|
623
623
|
}, {
|
|
624
624
|
no_cache?: boolean | undefined;
|
|
@@ -892,6 +892,7 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
892
892
|
} | undefined;
|
|
893
893
|
env?: {
|
|
894
894
|
account: string;
|
|
895
|
+
schema_strict_mode: boolean;
|
|
895
896
|
no_cache?: boolean | undefined;
|
|
896
897
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
897
898
|
permission_guard?: string[] | undefined;
|
|
@@ -900,7 +901,6 @@ export declare const CallContact_InputSchema: z.ZodObject<{
|
|
|
900
901
|
user_intent_phrases?: string[] | undefined;
|
|
901
902
|
project?: string | undefined;
|
|
902
903
|
client_schema_version?: string | undefined;
|
|
903
|
-
schema_strict_mode?: boolean | undefined;
|
|
904
904
|
dry_run?: boolean | undefined;
|
|
905
905
|
} | undefined;
|
|
906
906
|
}, {
|
|
@@ -857,10 +857,11 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
857
857
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
858
858
|
project: z.ZodOptional<z.ZodString>;
|
|
859
859
|
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
860
|
-
schema_strict_mode: z.ZodOptional<z.ZodBoolean
|
|
860
|
+
schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
861
861
|
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
862
862
|
}, "strict", z.ZodTypeAny, {
|
|
863
863
|
account: string;
|
|
864
|
+
schema_strict_mode: boolean;
|
|
864
865
|
no_cache?: boolean | undefined;
|
|
865
866
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
866
867
|
permission_guard?: string[] | undefined;
|
|
@@ -869,7 +870,6 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
869
870
|
user_intent_phrases?: string[] | undefined;
|
|
870
871
|
project?: string | undefined;
|
|
871
872
|
client_schema_version?: string | undefined;
|
|
872
|
-
schema_strict_mode?: boolean | undefined;
|
|
873
873
|
dry_run?: boolean | undefined;
|
|
874
874
|
}, {
|
|
875
875
|
no_cache?: boolean | undefined;
|
|
@@ -1165,6 +1165,7 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
1165
1165
|
} | undefined;
|
|
1166
1166
|
env?: {
|
|
1167
1167
|
account: string;
|
|
1168
|
+
schema_strict_mode: boolean;
|
|
1168
1169
|
no_cache?: boolean | undefined;
|
|
1169
1170
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1170
1171
|
permission_guard?: string[] | undefined;
|
|
@@ -1173,7 +1174,6 @@ export declare const CallDemand_InputSchema: z.ZodObject<{
|
|
|
1173
1174
|
user_intent_phrases?: string[] | undefined;
|
|
1174
1175
|
project?: string | undefined;
|
|
1175
1176
|
client_schema_version?: string | undefined;
|
|
1176
|
-
schema_strict_mode?: boolean | undefined;
|
|
1177
1177
|
dry_run?: boolean | undefined;
|
|
1178
1178
|
} | undefined;
|
|
1179
1179
|
}, {
|
|
@@ -613,10 +613,11 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
613
613
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
614
614
|
project: z.ZodOptional<z.ZodString>;
|
|
615
615
|
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
616
|
-
schema_strict_mode: z.ZodOptional<z.ZodBoolean
|
|
616
|
+
schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
617
617
|
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
618
618
|
}, "strict", z.ZodTypeAny, {
|
|
619
619
|
account: string;
|
|
620
|
+
schema_strict_mode: boolean;
|
|
620
621
|
no_cache?: boolean | undefined;
|
|
621
622
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
622
623
|
permission_guard?: string[] | undefined;
|
|
@@ -625,7 +626,6 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
625
626
|
user_intent_phrases?: string[] | undefined;
|
|
626
627
|
project?: string | undefined;
|
|
627
628
|
client_schema_version?: string | undefined;
|
|
628
|
-
schema_strict_mode?: boolean | undefined;
|
|
629
629
|
dry_run?: boolean | undefined;
|
|
630
630
|
}, {
|
|
631
631
|
no_cache?: boolean | undefined;
|
|
@@ -681,6 +681,7 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
681
681
|
};
|
|
682
682
|
env?: {
|
|
683
683
|
account: string;
|
|
684
|
+
schema_strict_mode: boolean;
|
|
684
685
|
no_cache?: boolean | undefined;
|
|
685
686
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
686
687
|
permission_guard?: string[] | undefined;
|
|
@@ -689,7 +690,6 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
689
690
|
user_intent_phrases?: string[] | undefined;
|
|
690
691
|
project?: string | undefined;
|
|
691
692
|
client_schema_version?: string | undefined;
|
|
692
|
-
schema_strict_mode?: boolean | undefined;
|
|
693
693
|
dry_run?: boolean | undefined;
|
|
694
694
|
} | undefined;
|
|
695
695
|
}, {
|
|
@@ -937,10 +937,11 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
937
937
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
938
938
|
project: z.ZodOptional<z.ZodString>;
|
|
939
939
|
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
940
|
-
schema_strict_mode: z.ZodOptional<z.ZodBoolean
|
|
940
|
+
schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
941
941
|
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
942
942
|
}, "strict", z.ZodTypeAny, {
|
|
943
943
|
account: string;
|
|
944
|
+
schema_strict_mode: boolean;
|
|
944
945
|
no_cache?: boolean | undefined;
|
|
945
946
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
946
947
|
permission_guard?: string[] | undefined;
|
|
@@ -949,7 +950,6 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
949
950
|
user_intent_phrases?: string[] | undefined;
|
|
950
951
|
project?: string | undefined;
|
|
951
952
|
client_schema_version?: string | undefined;
|
|
952
|
-
schema_strict_mode?: boolean | undefined;
|
|
953
953
|
dry_run?: boolean | undefined;
|
|
954
954
|
}, {
|
|
955
955
|
no_cache?: boolean | undefined;
|
|
@@ -995,6 +995,7 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
995
995
|
} | undefined;
|
|
996
996
|
env?: {
|
|
997
997
|
account: string;
|
|
998
|
+
schema_strict_mode: boolean;
|
|
998
999
|
no_cache?: boolean | undefined;
|
|
999
1000
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1000
1001
|
permission_guard?: string[] | undefined;
|
|
@@ -1003,7 +1004,6 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
1003
1004
|
user_intent_phrases?: string[] | undefined;
|
|
1004
1005
|
project?: string | undefined;
|
|
1005
1006
|
client_schema_version?: string | undefined;
|
|
1006
|
-
schema_strict_mode?: boolean | undefined;
|
|
1007
1007
|
dry_run?: boolean | undefined;
|
|
1008
1008
|
} | undefined;
|
|
1009
1009
|
}, {
|
|
@@ -1052,7 +1052,7 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
1052
1052
|
export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
1053
1053
|
guard: z.ZodEffects<z.ZodString, string, string>;
|
|
1054
1054
|
file_path: z.ZodString;
|
|
1055
|
-
format: z.ZodOptional<z.ZodEnum<["json", "markdown"]
|
|
1055
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "markdown"]>>>;
|
|
1056
1056
|
env: z.ZodOptional<z.ZodObject<{
|
|
1057
1057
|
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1058
1058
|
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1063,10 +1063,11 @@ export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
|
1063
1063
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1064
1064
|
project: z.ZodOptional<z.ZodString>;
|
|
1065
1065
|
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
1066
|
-
schema_strict_mode: z.ZodOptional<z.ZodBoolean
|
|
1066
|
+
schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1067
1067
|
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
1068
1068
|
}, "strict", z.ZodTypeAny, {
|
|
1069
1069
|
account: string;
|
|
1070
|
+
schema_strict_mode: boolean;
|
|
1070
1071
|
no_cache?: boolean | undefined;
|
|
1071
1072
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1072
1073
|
permission_guard?: string[] | undefined;
|
|
@@ -1075,7 +1076,6 @@ export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
|
1075
1076
|
user_intent_phrases?: string[] | undefined;
|
|
1076
1077
|
project?: string | undefined;
|
|
1077
1078
|
client_schema_version?: string | undefined;
|
|
1078
|
-
schema_strict_mode?: boolean | undefined;
|
|
1079
1079
|
dry_run?: boolean | undefined;
|
|
1080
1080
|
}, {
|
|
1081
1081
|
no_cache?: boolean | undefined;
|
|
@@ -1091,11 +1091,12 @@ export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
|
1091
1091
|
dry_run?: boolean | undefined;
|
|
1092
1092
|
}>>;
|
|
1093
1093
|
}, "strict", z.ZodTypeAny, {
|
|
1094
|
+
format: "markdown" | "json";
|
|
1094
1095
|
guard: string;
|
|
1095
1096
|
file_path: string;
|
|
1096
|
-
format?: "markdown" | "json" | undefined;
|
|
1097
1097
|
env?: {
|
|
1098
1098
|
account: string;
|
|
1099
|
+
schema_strict_mode: boolean;
|
|
1099
1100
|
no_cache?: boolean | undefined;
|
|
1100
1101
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1101
1102
|
permission_guard?: string[] | undefined;
|
|
@@ -1104,7 +1105,6 @@ export declare const Guard2File_InputSchema: z.ZodObject<{
|
|
|
1104
1105
|
user_intent_phrases?: string[] | undefined;
|
|
1105
1106
|
project?: string | undefined;
|
|
1106
1107
|
client_schema_version?: string | undefined;
|
|
1107
|
-
schema_strict_mode?: boolean | undefined;
|
|
1108
1108
|
dry_run?: boolean | undefined;
|
|
1109
1109
|
} | undefined;
|
|
1110
1110
|
}, {
|
|
@@ -139,7 +139,7 @@ export const CallGenPassport_InputSchema = z.object({
|
|
|
139
139
|
export const Guard2File_InputSchema = z.object({
|
|
140
140
|
guard: NameOrAddressSchema.describe("Guard object ID or name to export"),
|
|
141
141
|
file_path: z.string().describe("Output file path (absolute or relative)"),
|
|
142
|
-
format: z.enum(["json", "markdown"]).optional().describe("Output format: 'json' (default) or 'markdown'"),
|
|
142
|
+
format: z.enum(["json", "markdown"]).optional().default("json").describe("Output format: 'json' (default) or 'markdown'"),
|
|
143
143
|
env: CallEnvSchema.optional(),
|
|
144
144
|
}).strict().describe("Query a Guard object from the blockchain and export its definition to a JSON or Markdown file. The exported file can be edited and used to create new Guard objects.");
|
|
145
145
|
export const Guard2File_OutputSchema = z.discriminatedUnion("status", [
|