@wowok/agent-mcp 2.6.3 → 2.6.6
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/README.md +13 -9
- 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
|
@@ -330,6 +330,68 @@ export declare const MarkClearSchema: z.ZodObject<{
|
|
|
330
330
|
} | string[];
|
|
331
331
|
op: "clear";
|
|
332
332
|
}>;
|
|
333
|
+
export declare const MarkLikeSchema: z.ZodObject<{
|
|
334
|
+
op: z.ZodLiteral<"like">;
|
|
335
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
336
|
+
name_or_address: string;
|
|
337
|
+
local_mark_first: boolean;
|
|
338
|
+
}, string>, z.ZodObject<{
|
|
339
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
340
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
341
|
+
}, "strict", z.ZodTypeAny, {
|
|
342
|
+
name_or_address?: string | undefined;
|
|
343
|
+
local_mark_first?: boolean | undefined;
|
|
344
|
+
}, {
|
|
345
|
+
name_or_address?: string | undefined;
|
|
346
|
+
local_mark_first?: boolean | undefined;
|
|
347
|
+
}>]>;
|
|
348
|
+
}, "strict", z.ZodTypeAny, {
|
|
349
|
+
address: {
|
|
350
|
+
name_or_address?: string | undefined;
|
|
351
|
+
local_mark_first?: boolean | undefined;
|
|
352
|
+
} | {
|
|
353
|
+
name_or_address: string;
|
|
354
|
+
local_mark_first: boolean;
|
|
355
|
+
};
|
|
356
|
+
op: "like";
|
|
357
|
+
}, {
|
|
358
|
+
address: string | {
|
|
359
|
+
name_or_address?: string | undefined;
|
|
360
|
+
local_mark_first?: boolean | undefined;
|
|
361
|
+
};
|
|
362
|
+
op: "like";
|
|
363
|
+
}>;
|
|
364
|
+
export declare const MarkDislikeSchema: z.ZodObject<{
|
|
365
|
+
op: z.ZodLiteral<"dislike">;
|
|
366
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
367
|
+
name_or_address: string;
|
|
368
|
+
local_mark_first: boolean;
|
|
369
|
+
}, string>, z.ZodObject<{
|
|
370
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
371
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
}, "strict", z.ZodTypeAny, {
|
|
373
|
+
name_or_address?: string | undefined;
|
|
374
|
+
local_mark_first?: boolean | undefined;
|
|
375
|
+
}, {
|
|
376
|
+
name_or_address?: string | undefined;
|
|
377
|
+
local_mark_first?: boolean | undefined;
|
|
378
|
+
}>]>;
|
|
379
|
+
}, "strict", z.ZodTypeAny, {
|
|
380
|
+
address: {
|
|
381
|
+
name_or_address?: string | undefined;
|
|
382
|
+
local_mark_first?: boolean | undefined;
|
|
383
|
+
} | {
|
|
384
|
+
name_or_address: string;
|
|
385
|
+
local_mark_first: boolean;
|
|
386
|
+
};
|
|
387
|
+
op: "dislike";
|
|
388
|
+
}, {
|
|
389
|
+
address: string | {
|
|
390
|
+
name_or_address?: string | undefined;
|
|
391
|
+
local_mark_first?: boolean | undefined;
|
|
392
|
+
};
|
|
393
|
+
op: "dislike";
|
|
394
|
+
}>;
|
|
333
395
|
export declare const MarkTransferSchema: z.ZodObject<{
|
|
334
396
|
op: z.ZodLiteral<"transfer">;
|
|
335
397
|
to: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
@@ -548,6 +610,66 @@ export declare const MarkSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
|
548
610
|
check_all_founded?: boolean | undefined;
|
|
549
611
|
} | string[];
|
|
550
612
|
op: "clear";
|
|
613
|
+
}>, z.ZodObject<{
|
|
614
|
+
op: z.ZodLiteral<"like">;
|
|
615
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
616
|
+
name_or_address: string;
|
|
617
|
+
local_mark_first: boolean;
|
|
618
|
+
}, string>, z.ZodObject<{
|
|
619
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
620
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
621
|
+
}, "strict", z.ZodTypeAny, {
|
|
622
|
+
name_or_address?: string | undefined;
|
|
623
|
+
local_mark_first?: boolean | undefined;
|
|
624
|
+
}, {
|
|
625
|
+
name_or_address?: string | undefined;
|
|
626
|
+
local_mark_first?: boolean | undefined;
|
|
627
|
+
}>]>;
|
|
628
|
+
}, "strict", z.ZodTypeAny, {
|
|
629
|
+
address: {
|
|
630
|
+
name_or_address?: string | undefined;
|
|
631
|
+
local_mark_first?: boolean | undefined;
|
|
632
|
+
} | {
|
|
633
|
+
name_or_address: string;
|
|
634
|
+
local_mark_first: boolean;
|
|
635
|
+
};
|
|
636
|
+
op: "like";
|
|
637
|
+
}, {
|
|
638
|
+
address: string | {
|
|
639
|
+
name_or_address?: string | undefined;
|
|
640
|
+
local_mark_first?: boolean | undefined;
|
|
641
|
+
};
|
|
642
|
+
op: "like";
|
|
643
|
+
}>, z.ZodObject<{
|
|
644
|
+
op: z.ZodLiteral<"dislike">;
|
|
645
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
646
|
+
name_or_address: string;
|
|
647
|
+
local_mark_first: boolean;
|
|
648
|
+
}, string>, z.ZodObject<{
|
|
649
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
650
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
651
|
+
}, "strict", z.ZodTypeAny, {
|
|
652
|
+
name_or_address?: string | undefined;
|
|
653
|
+
local_mark_first?: boolean | undefined;
|
|
654
|
+
}, {
|
|
655
|
+
name_or_address?: string | undefined;
|
|
656
|
+
local_mark_first?: boolean | undefined;
|
|
657
|
+
}>]>;
|
|
658
|
+
}, "strict", z.ZodTypeAny, {
|
|
659
|
+
address: {
|
|
660
|
+
name_or_address?: string | undefined;
|
|
661
|
+
local_mark_first?: boolean | undefined;
|
|
662
|
+
} | {
|
|
663
|
+
name_or_address: string;
|
|
664
|
+
local_mark_first: boolean;
|
|
665
|
+
};
|
|
666
|
+
op: "dislike";
|
|
667
|
+
}, {
|
|
668
|
+
address: string | {
|
|
669
|
+
name_or_address?: string | undefined;
|
|
670
|
+
local_mark_first?: boolean | undefined;
|
|
671
|
+
};
|
|
672
|
+
op: "dislike";
|
|
551
673
|
}>, z.ZodObject<{
|
|
552
674
|
op: z.ZodLiteral<"transfer">;
|
|
553
675
|
to: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
@@ -854,6 +976,66 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
854
976
|
check_all_founded?: boolean | undefined;
|
|
855
977
|
} | string[];
|
|
856
978
|
op: "clear";
|
|
979
|
+
}>, z.ZodObject<{
|
|
980
|
+
op: z.ZodLiteral<"like">;
|
|
981
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
982
|
+
name_or_address: string;
|
|
983
|
+
local_mark_first: boolean;
|
|
984
|
+
}, string>, z.ZodObject<{
|
|
985
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
986
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
987
|
+
}, "strict", z.ZodTypeAny, {
|
|
988
|
+
name_or_address?: string | undefined;
|
|
989
|
+
local_mark_first?: boolean | undefined;
|
|
990
|
+
}, {
|
|
991
|
+
name_or_address?: string | undefined;
|
|
992
|
+
local_mark_first?: boolean | undefined;
|
|
993
|
+
}>]>;
|
|
994
|
+
}, "strict", z.ZodTypeAny, {
|
|
995
|
+
address: {
|
|
996
|
+
name_or_address?: string | undefined;
|
|
997
|
+
local_mark_first?: boolean | undefined;
|
|
998
|
+
} | {
|
|
999
|
+
name_or_address: string;
|
|
1000
|
+
local_mark_first: boolean;
|
|
1001
|
+
};
|
|
1002
|
+
op: "like";
|
|
1003
|
+
}, {
|
|
1004
|
+
address: string | {
|
|
1005
|
+
name_or_address?: string | undefined;
|
|
1006
|
+
local_mark_first?: boolean | undefined;
|
|
1007
|
+
};
|
|
1008
|
+
op: "like";
|
|
1009
|
+
}>, z.ZodObject<{
|
|
1010
|
+
op: z.ZodLiteral<"dislike">;
|
|
1011
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
1012
|
+
name_or_address: string;
|
|
1013
|
+
local_mark_first: boolean;
|
|
1014
|
+
}, string>, z.ZodObject<{
|
|
1015
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1016
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1017
|
+
}, "strict", z.ZodTypeAny, {
|
|
1018
|
+
name_or_address?: string | undefined;
|
|
1019
|
+
local_mark_first?: boolean | undefined;
|
|
1020
|
+
}, {
|
|
1021
|
+
name_or_address?: string | undefined;
|
|
1022
|
+
local_mark_first?: boolean | undefined;
|
|
1023
|
+
}>]>;
|
|
1024
|
+
}, "strict", z.ZodTypeAny, {
|
|
1025
|
+
address: {
|
|
1026
|
+
name_or_address?: string | undefined;
|
|
1027
|
+
local_mark_first?: boolean | undefined;
|
|
1028
|
+
} | {
|
|
1029
|
+
name_or_address: string;
|
|
1030
|
+
local_mark_first: boolean;
|
|
1031
|
+
};
|
|
1032
|
+
op: "dislike";
|
|
1033
|
+
}, {
|
|
1034
|
+
address: string | {
|
|
1035
|
+
name_or_address?: string | undefined;
|
|
1036
|
+
local_mark_first?: boolean | undefined;
|
|
1037
|
+
};
|
|
1038
|
+
op: "dislike";
|
|
857
1039
|
}>, z.ZodObject<{
|
|
858
1040
|
op: z.ZodLiteral<"transfer">;
|
|
859
1041
|
to: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
@@ -959,6 +1141,24 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
959
1141
|
check_all_founded: boolean;
|
|
960
1142
|
};
|
|
961
1143
|
op: "clear";
|
|
1144
|
+
} | {
|
|
1145
|
+
address: {
|
|
1146
|
+
name_or_address?: string | undefined;
|
|
1147
|
+
local_mark_first?: boolean | undefined;
|
|
1148
|
+
} | {
|
|
1149
|
+
name_or_address: string;
|
|
1150
|
+
local_mark_first: boolean;
|
|
1151
|
+
};
|
|
1152
|
+
op: "like";
|
|
1153
|
+
} | {
|
|
1154
|
+
address: {
|
|
1155
|
+
name_or_address?: string | undefined;
|
|
1156
|
+
local_mark_first?: boolean | undefined;
|
|
1157
|
+
} | {
|
|
1158
|
+
name_or_address: string;
|
|
1159
|
+
local_mark_first: boolean;
|
|
1160
|
+
};
|
|
1161
|
+
op: "dislike";
|
|
962
1162
|
} | {
|
|
963
1163
|
to: {
|
|
964
1164
|
name_or_address?: string | undefined;
|
|
@@ -1021,6 +1221,18 @@ export declare const CallPersonal_DataSchema: z.ZodObject<{
|
|
|
1021
1221
|
check_all_founded?: boolean | undefined;
|
|
1022
1222
|
} | string[];
|
|
1023
1223
|
op: "clear";
|
|
1224
|
+
} | {
|
|
1225
|
+
address: string | {
|
|
1226
|
+
name_or_address?: string | undefined;
|
|
1227
|
+
local_mark_first?: boolean | undefined;
|
|
1228
|
+
};
|
|
1229
|
+
op: "like";
|
|
1230
|
+
} | {
|
|
1231
|
+
address: string | {
|
|
1232
|
+
name_or_address?: string | undefined;
|
|
1233
|
+
local_mark_first?: boolean | undefined;
|
|
1234
|
+
};
|
|
1235
|
+
op: "dislike";
|
|
1024
1236
|
} | {
|
|
1025
1237
|
to: string | {
|
|
1026
1238
|
name_or_address?: string | undefined;
|
|
@@ -1295,6 +1507,66 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1295
1507
|
check_all_founded?: boolean | undefined;
|
|
1296
1508
|
} | string[];
|
|
1297
1509
|
op: "clear";
|
|
1510
|
+
}>, z.ZodObject<{
|
|
1511
|
+
op: z.ZodLiteral<"like">;
|
|
1512
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
1513
|
+
name_or_address: string;
|
|
1514
|
+
local_mark_first: boolean;
|
|
1515
|
+
}, string>, z.ZodObject<{
|
|
1516
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1517
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1518
|
+
}, "strict", z.ZodTypeAny, {
|
|
1519
|
+
name_or_address?: string | undefined;
|
|
1520
|
+
local_mark_first?: boolean | undefined;
|
|
1521
|
+
}, {
|
|
1522
|
+
name_or_address?: string | undefined;
|
|
1523
|
+
local_mark_first?: boolean | undefined;
|
|
1524
|
+
}>]>;
|
|
1525
|
+
}, "strict", z.ZodTypeAny, {
|
|
1526
|
+
address: {
|
|
1527
|
+
name_or_address?: string | undefined;
|
|
1528
|
+
local_mark_first?: boolean | undefined;
|
|
1529
|
+
} | {
|
|
1530
|
+
name_or_address: string;
|
|
1531
|
+
local_mark_first: boolean;
|
|
1532
|
+
};
|
|
1533
|
+
op: "like";
|
|
1534
|
+
}, {
|
|
1535
|
+
address: string | {
|
|
1536
|
+
name_or_address?: string | undefined;
|
|
1537
|
+
local_mark_first?: boolean | undefined;
|
|
1538
|
+
};
|
|
1539
|
+
op: "like";
|
|
1540
|
+
}>, z.ZodObject<{
|
|
1541
|
+
op: z.ZodLiteral<"dislike">;
|
|
1542
|
+
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
1543
|
+
name_or_address: string;
|
|
1544
|
+
local_mark_first: boolean;
|
|
1545
|
+
}, string>, z.ZodObject<{
|
|
1546
|
+
name_or_address: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1547
|
+
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
1548
|
+
}, "strict", z.ZodTypeAny, {
|
|
1549
|
+
name_or_address?: string | undefined;
|
|
1550
|
+
local_mark_first?: boolean | undefined;
|
|
1551
|
+
}, {
|
|
1552
|
+
name_or_address?: string | undefined;
|
|
1553
|
+
local_mark_first?: boolean | undefined;
|
|
1554
|
+
}>]>;
|
|
1555
|
+
}, "strict", z.ZodTypeAny, {
|
|
1556
|
+
address: {
|
|
1557
|
+
name_or_address?: string | undefined;
|
|
1558
|
+
local_mark_first?: boolean | undefined;
|
|
1559
|
+
} | {
|
|
1560
|
+
name_or_address: string;
|
|
1561
|
+
local_mark_first: boolean;
|
|
1562
|
+
};
|
|
1563
|
+
op: "dislike";
|
|
1564
|
+
}, {
|
|
1565
|
+
address: string | {
|
|
1566
|
+
name_or_address?: string | undefined;
|
|
1567
|
+
local_mark_first?: boolean | undefined;
|
|
1568
|
+
};
|
|
1569
|
+
op: "dislike";
|
|
1298
1570
|
}>, z.ZodObject<{
|
|
1299
1571
|
op: z.ZodLiteral<"transfer">;
|
|
1300
1572
|
to: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, {
|
|
@@ -1400,6 +1672,24 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1400
1672
|
check_all_founded: boolean;
|
|
1401
1673
|
};
|
|
1402
1674
|
op: "clear";
|
|
1675
|
+
} | {
|
|
1676
|
+
address: {
|
|
1677
|
+
name_or_address?: string | undefined;
|
|
1678
|
+
local_mark_first?: boolean | undefined;
|
|
1679
|
+
} | {
|
|
1680
|
+
name_or_address: string;
|
|
1681
|
+
local_mark_first: boolean;
|
|
1682
|
+
};
|
|
1683
|
+
op: "like";
|
|
1684
|
+
} | {
|
|
1685
|
+
address: {
|
|
1686
|
+
name_or_address?: string | undefined;
|
|
1687
|
+
local_mark_first?: boolean | undefined;
|
|
1688
|
+
} | {
|
|
1689
|
+
name_or_address: string;
|
|
1690
|
+
local_mark_first: boolean;
|
|
1691
|
+
};
|
|
1692
|
+
op: "dislike";
|
|
1403
1693
|
} | {
|
|
1404
1694
|
to: {
|
|
1405
1695
|
name_or_address?: string | undefined;
|
|
@@ -1462,6 +1752,18 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1462
1752
|
check_all_founded?: boolean | undefined;
|
|
1463
1753
|
} | string[];
|
|
1464
1754
|
op: "clear";
|
|
1755
|
+
} | {
|
|
1756
|
+
address: string | {
|
|
1757
|
+
name_or_address?: string | undefined;
|
|
1758
|
+
local_mark_first?: boolean | undefined;
|
|
1759
|
+
};
|
|
1760
|
+
op: "like";
|
|
1761
|
+
} | {
|
|
1762
|
+
address: string | {
|
|
1763
|
+
name_or_address?: string | undefined;
|
|
1764
|
+
local_mark_first?: boolean | undefined;
|
|
1765
|
+
};
|
|
1766
|
+
op: "dislike";
|
|
1465
1767
|
} | {
|
|
1466
1768
|
to: string | {
|
|
1467
1769
|
name_or_address?: string | undefined;
|
|
@@ -1485,10 +1787,11 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1485
1787
|
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1486
1788
|
project: z.ZodOptional<z.ZodString>;
|
|
1487
1789
|
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
1488
|
-
schema_strict_mode: z.ZodOptional<z.ZodBoolean
|
|
1790
|
+
schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1489
1791
|
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
1490
1792
|
}, "strict", z.ZodTypeAny, {
|
|
1491
1793
|
account: string;
|
|
1794
|
+
schema_strict_mode: boolean;
|
|
1492
1795
|
no_cache?: boolean | undefined;
|
|
1493
1796
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1494
1797
|
permission_guard?: string[] | undefined;
|
|
@@ -1497,7 +1800,6 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1497
1800
|
user_intent_phrases?: string[] | undefined;
|
|
1498
1801
|
project?: string | undefined;
|
|
1499
1802
|
client_schema_version?: string | undefined;
|
|
1500
|
-
schema_strict_mode?: boolean | undefined;
|
|
1501
1803
|
dry_run?: boolean | undefined;
|
|
1502
1804
|
}, {
|
|
1503
1805
|
no_cache?: boolean | undefined;
|
|
@@ -1572,6 +1874,24 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1572
1874
|
check_all_founded: boolean;
|
|
1573
1875
|
};
|
|
1574
1876
|
op: "clear";
|
|
1877
|
+
} | {
|
|
1878
|
+
address: {
|
|
1879
|
+
name_or_address?: string | undefined;
|
|
1880
|
+
local_mark_first?: boolean | undefined;
|
|
1881
|
+
} | {
|
|
1882
|
+
name_or_address: string;
|
|
1883
|
+
local_mark_first: boolean;
|
|
1884
|
+
};
|
|
1885
|
+
op: "like";
|
|
1886
|
+
} | {
|
|
1887
|
+
address: {
|
|
1888
|
+
name_or_address?: string | undefined;
|
|
1889
|
+
local_mark_first?: boolean | undefined;
|
|
1890
|
+
} | {
|
|
1891
|
+
name_or_address: string;
|
|
1892
|
+
local_mark_first: boolean;
|
|
1893
|
+
};
|
|
1894
|
+
op: "dislike";
|
|
1575
1895
|
} | {
|
|
1576
1896
|
to: {
|
|
1577
1897
|
name_or_address?: string | undefined;
|
|
@@ -1590,6 +1910,7 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1590
1910
|
};
|
|
1591
1911
|
env?: {
|
|
1592
1912
|
account: string;
|
|
1913
|
+
schema_strict_mode: boolean;
|
|
1593
1914
|
no_cache?: boolean | undefined;
|
|
1594
1915
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1595
1916
|
permission_guard?: string[] | undefined;
|
|
@@ -1598,7 +1919,6 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1598
1919
|
user_intent_phrases?: string[] | undefined;
|
|
1599
1920
|
project?: string | undefined;
|
|
1600
1921
|
client_schema_version?: string | undefined;
|
|
1601
|
-
schema_strict_mode?: boolean | undefined;
|
|
1602
1922
|
dry_run?: boolean | undefined;
|
|
1603
1923
|
} | undefined;
|
|
1604
1924
|
}, {
|
|
@@ -1649,6 +1969,18 @@ export declare const CallPersonal_InputSchema: z.ZodObject<{
|
|
|
1649
1969
|
check_all_founded?: boolean | undefined;
|
|
1650
1970
|
} | string[];
|
|
1651
1971
|
op: "clear";
|
|
1972
|
+
} | {
|
|
1973
|
+
address: string | {
|
|
1974
|
+
name_or_address?: string | undefined;
|
|
1975
|
+
local_mark_first?: boolean | undefined;
|
|
1976
|
+
};
|
|
1977
|
+
op: "like";
|
|
1978
|
+
} | {
|
|
1979
|
+
address: string | {
|
|
1980
|
+
name_or_address?: string | undefined;
|
|
1981
|
+
local_mark_first?: boolean | undefined;
|
|
1982
|
+
};
|
|
1983
|
+
op: "dislike";
|
|
1652
1984
|
} | {
|
|
1653
1985
|
to: string | {
|
|
1654
1986
|
name_or_address?: string | undefined;
|
|
@@ -1683,6 +2015,8 @@ export type Information = z.infer<typeof InformationSchema>;
|
|
|
1683
2015
|
export type MarkAdd = z.infer<typeof MarkAddSchema>;
|
|
1684
2016
|
export type MarkRemove = z.infer<typeof MarkRemoveSchema>;
|
|
1685
2017
|
export type MarkClear = z.infer<typeof MarkClearSchema>;
|
|
2018
|
+
export type MarkLike = z.infer<typeof MarkLikeSchema>;
|
|
2019
|
+
export type MarkDislike = z.infer<typeof MarkDislikeSchema>;
|
|
1686
2020
|
export type MarkTransfer = z.infer<typeof MarkTransferSchema>;
|
|
1687
2021
|
export type MarkReplace = z.infer<typeof MarkReplaceSchema>;
|
|
1688
2022
|
export type MarkDestroy = z.infer<typeof MarkDestroySchema>;
|
|
@@ -37,6 +37,14 @@ export const MarkClearSchema = z.object({
|
|
|
37
37
|
op: z.literal("clear"),
|
|
38
38
|
address: ManyAccountOrMark_AddressAISchema
|
|
39
39
|
}).strict().describe("PUBLIC: Clear ALL tags from specified on-chain identity marks.");
|
|
40
|
+
export const MarkLikeSchema = z.object({
|
|
41
|
+
op: z.literal("like"),
|
|
42
|
+
address: AccountOrMark_AddressAISchema
|
|
43
|
+
}).strict().describe("PUBLIC REPUTATION VOTE: Like an address (0x...) or LocalMark name. Goes through registrar::like — toggles off if already liked, auto-flips an existing dislike, and increments the target's PUBLIC aggregate like count (queryable via query personal / Guard entity_voted_record). Do NOT emulate with mark.add tags:['like'] — manual tags stay private in your Resource and never affect the aggregate count.");
|
|
44
|
+
export const MarkDislikeSchema = z.object({
|
|
45
|
+
op: z.literal("dislike"),
|
|
46
|
+
address: AccountOrMark_AddressAISchema
|
|
47
|
+
}).strict().describe("PUBLIC REPUTATION VOTE: Dislike an address (0x...) or LocalMark name. Goes through registrar::dislike — toggles off if already disliked, auto-flips an existing like, and increments the target's PUBLIC aggregate dislike count. Same manual-tag caveat as 'like'.");
|
|
40
48
|
export const MarkTransferSchema = z.object({
|
|
41
49
|
op: z.literal("transfer"),
|
|
42
50
|
to: AccountOrMark_AddressAISchema
|
|
@@ -52,6 +60,8 @@ export const MarkSchema = z.discriminatedUnion("op", [
|
|
|
52
60
|
MarkAddSchema,
|
|
53
61
|
MarkRemoveSchema,
|
|
54
62
|
MarkClearSchema,
|
|
63
|
+
MarkLikeSchema,
|
|
64
|
+
MarkDislikeSchema,
|
|
55
65
|
MarkTransferSchema,
|
|
56
66
|
MarkReplaceSchema,
|
|
57
67
|
MarkDestroySchema
|