wowok_agent 2.2.6 → 2.2.8
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 -87
- package/dist/index.d.ts +10 -10
- package/dist/index.js +2 -2
- package/dist/schema/call/guard.d.ts +3 -3
- package/dist/schema/call/guard.js +2 -2
- package/dist/schema/call/reward.d.ts +0 -30
- package/dist/schema/call/reward.js +1 -13
- package/dist/schema/call/service.d.ts +8 -8
- package/dist/schema/call/service.js +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -3,7 +3,9 @@ Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.
|
|
|
3
3
|
|
|
4
4
|
GitHub: [https://github.com/wowok-ai/agent](https://github.com/wowok-ai/agent)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
AI Skills: [https://github.com/wowok-ai/skills](https://github.com/wowok-ai/skills) - Significantly reduces MCP Server learning curve
|
|
7
|
+
|
|
8
|
+
Docs: [https://github.com/wowok-ai/docs/](https://github.com/wowok-ai/docs/)
|
|
7
9
|
|
|
8
10
|
## Quick Start
|
|
9
11
|
|
|
@@ -23,97 +25,19 @@ Docs: [https://github.com/wowok-ai/docs/](https://github.com/wowok-ai/docs/)
|
|
|
23
25
|
}
|
|
24
26
|
```
|
|
25
27
|
|
|
26
|
-
### 2. Use
|
|
27
|
-
|
|
28
|
-
This repository includes **Claude Skills** that help AI assistants use WoWok tools correctly. Skills solve common AI challenges:
|
|
29
|
-
|
|
30
|
-
- **Complex system building** — Dependency chains, build order, step-by-step patterns
|
|
31
|
-
- **Tool usage failures** — Correct parameter formats, tool selection, error recovery
|
|
32
|
-
- **Safety & authorization** — User confirmation for important operations
|
|
33
|
-
|
|
34
|
-
#### Setup Skills
|
|
35
|
-
|
|
36
|
-
This repository includes a pre-configured `.claude/settings.json` that references the `skills/` directory. You have three options:
|
|
37
|
-
|
|
38
|
-
**Option A: Use skills directly in this repo (Recommended for development)**
|
|
39
|
-
|
|
40
|
-
The repository already contains `.claude/settings.json` configured to use `skills/`:
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
git clone https://github.com/wowok-ai/mcp.git
|
|
44
|
-
cd mcp
|
|
45
|
-
# Claude Code will automatically detect and use the skills
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
**Option B: Copy skills to your own project**
|
|
28
|
+
### 2. Use WoWok Skills (Recommended)
|
|
49
29
|
|
|
50
|
-
|
|
30
|
+
**Skills significantly reduce the learning curve and usage difficulty of the MCP Server.**
|
|
51
31
|
|
|
52
32
|
```bash
|
|
53
|
-
|
|
54
|
-
mkdir -p .claude/skills
|
|
55
|
-
cp -r /path/to/mcp/skills/* .claude/skills/
|
|
56
|
-
|
|
57
|
-
# Or clone and copy
|
|
58
|
-
git clone https://github.com/wowok-ai/mcp.git /tmp/wowok-mcp
|
|
59
|
-
cp -r /tmp/wowok-mcp/skills/* .claude/skills/
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Then create `.claude/settings.json` in your project:
|
|
63
|
-
|
|
64
|
-
```json
|
|
65
|
-
{
|
|
66
|
-
"skills": {
|
|
67
|
-
"directories": [
|
|
68
|
-
"./skills"
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
33
|
+
npm install -g wowok-skills
|
|
72
34
|
```
|
|
73
35
|
|
|
74
|
-
|
|
36
|
+
Skills provide structured guidance for AI assistants:
|
|
75
37
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
// .claude/settings.json in YOUR project
|
|
80
|
-
{
|
|
81
|
-
"skills": {
|
|
82
|
-
"directories": [
|
|
83
|
-
"/path/to/mcp/skills"
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
This way you get updates when the mcp repo is updated.
|
|
90
|
-
|
|
91
|
-
#### Migrating Skills to Your Project
|
|
92
|
-
|
|
93
|
-
To fully migrate skills to your own project (for customization):
|
|
94
|
-
|
|
95
|
-
```bash
|
|
96
|
-
# 1. Copy all skills
|
|
97
|
-
mkdir -p .claude/skills
|
|
98
|
-
cp -r /path/to/mcp/skills/* .claude/skills/
|
|
99
|
-
|
|
100
|
-
# 2. Create settings.json
|
|
101
|
-
cat > .claude/settings.json << 'EOF'
|
|
102
|
-
{
|
|
103
|
-
"skills": {
|
|
104
|
-
"directories": [
|
|
105
|
-
"./skills"
|
|
106
|
-
]
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
EOF
|
|
110
|
-
|
|
111
|
-
# 3. Verify structure
|
|
112
|
-
ls -la .claude/skills/
|
|
113
|
-
# Should show: wowok-build, wowok-guard, wowok-tools, etc.
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
Now you can modify the skills in `.claude/skills/` to suit your needs.
|
|
38
|
+
- **Complex system building** — Dependency chains, build order, step-by-step patterns
|
|
39
|
+
- **Tool usage failures** — Correct parameter formats, tool selection, error recovery
|
|
40
|
+
- **Safety & authorization** — User confirmation for important operations
|
|
117
41
|
|
|
118
42
|
#### Available Skills
|
|
119
43
|
|
|
@@ -126,5 +50,7 @@ Now you can modify the skills in `.claude/skills/` to suit your needs.
|
|
|
126
50
|
| `wowok-machine` | Machine workflow design (state machines, progress tracking) |
|
|
127
51
|
| `wowok-order` | Order lifecycle management (payment, allocation, arbitration) |
|
|
128
52
|
|
|
129
|
-
|
|
53
|
+
#### Using Skills
|
|
54
|
+
|
|
55
|
+
Once installed, Claude Code will automatically use these skills when working with WoWok tools.
|
|
130
56
|
|
package/dist/index.d.ts
CHANGED
|
@@ -714,7 +714,7 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
714
714
|
}, {
|
|
715
715
|
coin: string;
|
|
716
716
|
}>]>>;
|
|
717
|
-
|
|
717
|
+
setting_locked_time_add: z.ZodOptional<z.ZodNumber>;
|
|
718
718
|
compensation_fund_receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
719
719
|
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
720
720
|
token_type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -978,7 +978,7 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
978
978
|
} | {
|
|
979
979
|
coin: string;
|
|
980
980
|
} | undefined;
|
|
981
|
-
|
|
981
|
+
setting_locked_time_add?: number | undefined;
|
|
982
982
|
compensation_fund_receive?: {
|
|
983
983
|
received: {
|
|
984
984
|
id: string;
|
|
@@ -1170,7 +1170,7 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
1170
1170
|
} | {
|
|
1171
1171
|
coin: string;
|
|
1172
1172
|
} | undefined;
|
|
1173
|
-
|
|
1173
|
+
setting_locked_time_add?: number | undefined;
|
|
1174
1174
|
compensation_fund_receive?: {
|
|
1175
1175
|
received: {
|
|
1176
1176
|
id: string;
|
|
@@ -1563,7 +1563,7 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
1563
1563
|
} | {
|
|
1564
1564
|
coin: string;
|
|
1565
1565
|
} | undefined;
|
|
1566
|
-
|
|
1566
|
+
setting_locked_time_add?: number | undefined;
|
|
1567
1567
|
compensation_fund_receive?: {
|
|
1568
1568
|
received: {
|
|
1569
1569
|
id: string;
|
|
@@ -1792,7 +1792,7 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
1792
1792
|
} | {
|
|
1793
1793
|
coin: string;
|
|
1794
1794
|
} | undefined;
|
|
1795
|
-
|
|
1795
|
+
setting_locked_time_add?: number | undefined;
|
|
1796
1796
|
compensation_fund_receive?: {
|
|
1797
1797
|
received: {
|
|
1798
1798
|
id: string;
|
|
@@ -13164,7 +13164,7 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
13164
13164
|
} | undefined;
|
|
13165
13165
|
}>, z.ZodObject<{
|
|
13166
13166
|
operation_type: z.ZodLiteral<"gen_passport">;
|
|
13167
|
-
guard: z.ZodString
|
|
13167
|
+
guard: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
13168
13168
|
info: z.ZodOptional<z.ZodObject<{
|
|
13169
13169
|
type: z.ZodLiteral<"submission">;
|
|
13170
13170
|
guard: z.ZodArray<z.ZodObject<{
|
|
@@ -13365,7 +13365,7 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
13365
13365
|
referrer?: string | undefined;
|
|
13366
13366
|
}>>;
|
|
13367
13367
|
}, "strip", z.ZodTypeAny, {
|
|
13368
|
-
guard: string;
|
|
13368
|
+
guard: string | string[];
|
|
13369
13369
|
operation_type: "gen_passport";
|
|
13370
13370
|
env?: {
|
|
13371
13371
|
account: string;
|
|
@@ -13402,7 +13402,7 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
13402
13402
|
}[];
|
|
13403
13403
|
} | undefined;
|
|
13404
13404
|
}, {
|
|
13405
|
-
guard: string;
|
|
13405
|
+
guard: string | string[];
|
|
13406
13406
|
operation_type: "gen_passport";
|
|
13407
13407
|
env?: {
|
|
13408
13408
|
no_cache?: boolean | undefined;
|
|
@@ -13621,7 +13621,7 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
13621
13621
|
} | {
|
|
13622
13622
|
coin: string;
|
|
13623
13623
|
} | undefined;
|
|
13624
|
-
|
|
13624
|
+
setting_locked_time_add?: number | undefined;
|
|
13625
13625
|
compensation_fund_receive?: {
|
|
13626
13626
|
received: {
|
|
13627
13627
|
id: string;
|
|
@@ -15134,7 +15134,7 @@ declare const OnchainOperationsSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ope
|
|
|
15134
15134
|
referrer?: string | undefined;
|
|
15135
15135
|
} | undefined;
|
|
15136
15136
|
} | {
|
|
15137
|
-
guard: string;
|
|
15137
|
+
guard: string | string[];
|
|
15138
15138
|
operation_type: "gen_passport";
|
|
15139
15139
|
env?: {
|
|
15140
15140
|
account: string;
|
package/dist/index.js
CHANGED
|
@@ -271,10 +271,10 @@ const OnchainOperationsSchema = z.preprocess((input) => {
|
|
|
271
271
|
}).describe("📦 Order Object: Manage the order lifecycle, Including operating order arbitration (Arb Object associated with the order), advancing progress (Progress Object associated with the order), extracting order refunds/payments, setting agents, etc."),
|
|
272
272
|
z.object({
|
|
273
273
|
operation_type: z.literal("gen_passport"),
|
|
274
|
-
guard: z.string().describe("Guard object ID to verify and generate passport from"),
|
|
274
|
+
guard: z.union([z.string(), z.array(z.string())]).describe("Guard object ID(s) to verify and generate passport from. Can be a single guard (string) or multiple guards (array of strings). Supports guard names or addresses."),
|
|
275
275
|
info: SubmissionCallSchema.optional().describe("Optional submission data. If not provided, will attempt to get existing submissions from the guard."),
|
|
276
276
|
env: CallEnvSchema.optional(),
|
|
277
|
-
}).describe("🛂 Generate Verified Passport Object: Create immutable verified credentials after Guard validation passes."),
|
|
277
|
+
}).describe("🛂 Generate Verified Passport Object: Create immutable verified credentials after Guard validation passes. Supports verifying multiple guards at once."),
|
|
278
278
|
]));
|
|
279
279
|
const WipOperationsSchema = z.preprocess((input) => {
|
|
280
280
|
if (typeof input === 'object' && input !== null) {
|
|
@@ -519,7 +519,7 @@ export declare const CallGuard_InputSchema: z.ZodObject<{
|
|
|
519
519
|
} | undefined;
|
|
520
520
|
}>;
|
|
521
521
|
export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
522
|
-
guard: z.ZodEffects<z.ZodString, string, string>;
|
|
522
|
+
guard: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
|
|
523
523
|
info: z.ZodOptional<z.ZodObject<{
|
|
524
524
|
type: z.ZodLiteral<"submission">;
|
|
525
525
|
guard: z.ZodArray<z.ZodObject<{
|
|
@@ -720,7 +720,7 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
720
720
|
referrer?: string | undefined;
|
|
721
721
|
}>>;
|
|
722
722
|
}, "strict", z.ZodTypeAny, {
|
|
723
|
-
guard: string;
|
|
723
|
+
guard: string | string[];
|
|
724
724
|
env?: {
|
|
725
725
|
account: string;
|
|
726
726
|
no_cache?: boolean | undefined;
|
|
@@ -756,7 +756,7 @@ export declare const CallGenPassport_InputSchema: z.ZodObject<{
|
|
|
756
756
|
}[];
|
|
757
757
|
} | undefined;
|
|
758
758
|
}, {
|
|
759
|
-
guard: string;
|
|
759
|
+
guard: string | string[];
|
|
760
760
|
env?: {
|
|
761
761
|
no_cache?: boolean | undefined;
|
|
762
762
|
network?: import("wowok").ENTRYPOINT | undefined;
|
|
@@ -29,10 +29,10 @@ export const CallGuard_InputSchema = z.object({
|
|
|
29
29
|
env: CallEnvSchema.optional(),
|
|
30
30
|
}).strict().describe("On-chain Guard creation input wrapper. Contains the Guard data definition and optional environment settings.");
|
|
31
31
|
export const CallGenPassport_InputSchema = z.object({
|
|
32
|
-
guard: NameOrAddressSchema.describe("Guard object ID to verify and generate passport from"),
|
|
32
|
+
guard: z.union([NameOrAddressSchema, z.array(NameOrAddressSchema)]).describe("Guard object ID(s) to verify and generate passport from. Can be a single guard (string) or multiple guards (array of strings). Supports guard names or addresses."),
|
|
33
33
|
info: SubmissionCallSchema.optional().describe("Optional submission data. If not provided, will attempt to get existing submissions from the guard."),
|
|
34
34
|
env: CallEnvSchema.optional(),
|
|
35
|
-
}).strict().describe("Generate a new Passport object after Guard verification succeeds. The Passport is an immutable on-chain object that can be used for offline friend verification, transaction condition verification, etc.");
|
|
35
|
+
}).strict().describe("Generate a new Passport object after Guard verification succeeds. The Passport is an immutable on-chain object that can be used for offline friend verification, transaction condition verification, etc. Supports verifying multiple guards at once.");
|
|
36
36
|
export const Guard2File_InputSchema = z.object({
|
|
37
37
|
guard: NameOrAddressSchema.describe("Guard object ID or name to export"),
|
|
38
38
|
file_path: z.string().describe("Output file path (absolute or relative)"),
|
|
@@ -1,34 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const RecipientGuardIdentifierSchema: z.ZodObject<{
|
|
3
|
-
type: z.ZodLiteral<"GuardIdentifier">;
|
|
4
|
-
GuardIdentifier: z.ZodNumber;
|
|
5
|
-
}, "strict", z.ZodTypeAny, {
|
|
6
|
-
type: "GuardIdentifier";
|
|
7
|
-
GuardIdentifier: number;
|
|
8
|
-
}, {
|
|
9
|
-
type: "GuardIdentifier";
|
|
10
|
-
GuardIdentifier: number;
|
|
11
|
-
}>;
|
|
12
|
-
export declare const RecipientEntitySchema: z.ZodObject<{
|
|
13
|
-
type: z.ZodLiteral<"Entity">;
|
|
14
|
-
Entity: z.ZodEffects<z.ZodString, string, string>;
|
|
15
|
-
}, "strict", z.ZodTypeAny, {
|
|
16
|
-
type: "Entity";
|
|
17
|
-
Entity: string;
|
|
18
|
-
}, {
|
|
19
|
-
type: "Entity";
|
|
20
|
-
Entity: string;
|
|
21
|
-
}>;
|
|
22
|
-
export declare const RecipientSignerSchema: z.ZodObject<{
|
|
23
|
-
type: z.ZodLiteral<"Signer">;
|
|
24
|
-
Signer: z.ZodBoolean;
|
|
25
|
-
}, "strict", z.ZodTypeAny, {
|
|
26
|
-
type: "Signer";
|
|
27
|
-
Signer: boolean;
|
|
28
|
-
}, {
|
|
29
|
-
type: "Signer";
|
|
30
|
-
Signer: boolean;
|
|
31
|
-
}>;
|
|
32
2
|
export declare const RewardRecordSchema: z.ZodObject<{
|
|
33
3
|
amount: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
34
4
|
time: z.ZodNumber;
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { TypedPermissionObjectSchema, CoinParamSchema, CallEnvSchema, SubmissionCallSchema, } from "./base.js";
|
|
3
3
|
import { RewardGuardSchema } from "../query/index.js";
|
|
4
|
-
import { BalanceTypeSchema, ReceivedObjectsOrRecentlySchema, ReceivedBalanceOrRecentlySchema, NameOrAddressSchema,
|
|
5
|
-
export const RecipientGuardIdentifierSchema = z.object({
|
|
6
|
-
type: z.literal("GuardIdentifier"),
|
|
7
|
-
GuardIdentifier: GuardIdentifierSchema,
|
|
8
|
-
}).strict().describe("Get recipient ID from specified data index in Guard table. The ID must be of address type.");
|
|
9
|
-
export const RecipientEntitySchema = z.object({
|
|
10
|
-
type: z.literal("Entity"),
|
|
11
|
-
Entity: NameOrAddressSchema,
|
|
12
|
-
}).strict().describe("Fixed entity ID");
|
|
13
|
-
export const RecipientSignerSchema = z.object({
|
|
14
|
-
type: z.literal("Signer"),
|
|
15
|
-
Signer: z.boolean(),
|
|
16
|
-
}).strict().describe("Signer ID");
|
|
4
|
+
import { BalanceTypeSchema, ReceivedObjectsOrRecentlySchema, ReceivedBalanceOrRecentlySchema, NameOrAddressSchema, DescriptionSchema } from "../common/index.js";
|
|
17
5
|
export const RewardRecordSchema = z.object({
|
|
18
6
|
amount: BalanceTypeSchema,
|
|
19
7
|
time: z.number().int(),
|
|
@@ -1190,7 +1190,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1190
1190
|
}, {
|
|
1191
1191
|
coin: string;
|
|
1192
1192
|
}>]>>;
|
|
1193
|
-
|
|
1193
|
+
setting_locked_time_add: z.ZodOptional<z.ZodNumber>;
|
|
1194
1194
|
compensation_fund_receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1195
1195
|
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1196
1196
|
token_type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1454,7 +1454,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1454
1454
|
} | {
|
|
1455
1455
|
coin: string;
|
|
1456
1456
|
} | undefined;
|
|
1457
|
-
|
|
1457
|
+
setting_locked_time_add?: number | undefined;
|
|
1458
1458
|
compensation_fund_receive?: {
|
|
1459
1459
|
received: {
|
|
1460
1460
|
id: string;
|
|
@@ -1646,7 +1646,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
1646
1646
|
} | {
|
|
1647
1647
|
coin: string;
|
|
1648
1648
|
} | undefined;
|
|
1649
|
-
|
|
1649
|
+
setting_locked_time_add?: number | undefined;
|
|
1650
1650
|
compensation_fund_receive?: {
|
|
1651
1651
|
received: {
|
|
1652
1652
|
id: string;
|
|
@@ -2369,7 +2369,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2369
2369
|
}, {
|
|
2370
2370
|
coin: string;
|
|
2371
2371
|
}>]>>;
|
|
2372
|
-
|
|
2372
|
+
setting_locked_time_add: z.ZodOptional<z.ZodNumber>;
|
|
2373
2373
|
compensation_fund_receive: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2374
2374
|
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2375
2375
|
token_type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2633,7 +2633,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2633
2633
|
} | {
|
|
2634
2634
|
coin: string;
|
|
2635
2635
|
} | undefined;
|
|
2636
|
-
|
|
2636
|
+
setting_locked_time_add?: number | undefined;
|
|
2637
2637
|
compensation_fund_receive?: {
|
|
2638
2638
|
received: {
|
|
2639
2639
|
id: string;
|
|
@@ -2825,7 +2825,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
2825
2825
|
} | {
|
|
2826
2826
|
coin: string;
|
|
2827
2827
|
} | undefined;
|
|
2828
|
-
|
|
2828
|
+
setting_locked_time_add?: number | undefined;
|
|
2829
2829
|
compensation_fund_receive?: {
|
|
2830
2830
|
received: {
|
|
2831
2831
|
id: string;
|
|
@@ -3218,7 +3218,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
3218
3218
|
} | {
|
|
3219
3219
|
coin: string;
|
|
3220
3220
|
} | undefined;
|
|
3221
|
-
|
|
3221
|
+
setting_locked_time_add?: number | undefined;
|
|
3222
3222
|
compensation_fund_receive?: {
|
|
3223
3223
|
received: {
|
|
3224
3224
|
id: string;
|
|
@@ -3446,7 +3446,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
3446
3446
|
} | {
|
|
3447
3447
|
coin: string;
|
|
3448
3448
|
} | undefined;
|
|
3449
|
-
|
|
3449
|
+
setting_locked_time_add?: number | undefined;
|
|
3450
3450
|
compensation_fund_receive?: {
|
|
3451
3451
|
received: {
|
|
3452
3452
|
id: string;
|
|
@@ -68,7 +68,7 @@ export const CallService_DataSchema = z.object({
|
|
|
68
68
|
order_allocators: z.union([AllocatorsSchema, z.null()]).optional().describe("Order fund allocator."),
|
|
69
69
|
buy_guard: z.union([NameOrAddressSchema, z.null()]).optional().describe("Buy guard object ID or name."),
|
|
70
70
|
compensation_fund_add: CoinParamSchema.optional().describe("Compensation fund. Used to claim compensation based on the arbitration result of the Arb object when resolving order disputes."),
|
|
71
|
-
|
|
71
|
+
setting_locked_time_add: z.number().optional().describe("Additional lock duration (milliseconds) to extend the 'setting_lock_duration'. Initial value is 30 days, can only be increased, not decreased. Affects: rewards, arbitrations, and compensation_fund_receive."),
|
|
72
72
|
compensation_fund_receive: ReceivedBalanceOrRecentlySchema.optional().describe("Receive order compensation funds."),
|
|
73
73
|
owner_receive: ReceivedObjectsOrRecentlySchema.optional().describe("Unwrap CoinWrapper objects and other objects received by this object and send them to the owner of its Permission object."),
|
|
74
74
|
um: z.union([NameOrAddressSchema, z.null()]).optional().describe("Contact object ID or name."),
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wowok_agent",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.8",
|
|
4
4
|
"description": "Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"module": "node",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"files": [
|
|
10
|
-
"dist"
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md"
|
|
11
12
|
],
|
|
12
13
|
"bin": {
|
|
13
14
|
"wowok_agent": "dist/index.js"
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
"dependencies": {
|
|
31
32
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
32
33
|
"lodash": "^4.18.1",
|
|
33
|
-
"wowok": "2.2.
|
|
34
|
+
"wowok": "2.2.10",
|
|
34
35
|
"zod": "^3.25.76"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|