wowok_agent 2.2.4 → 2.2.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 +111 -1
- package/dist/index.d.ts +104 -4
- package/dist/index.js +79 -7
- package/dist/schema/call/arbitration.d.ts +12 -0
- package/dist/schema/call/base.d.ts +15 -0
- package/dist/schema/call/contact.d.ts +12 -0
- package/dist/schema/call/demand.d.ts +12 -0
- package/dist/schema/call/machine.d.ts +12 -0
- package/dist/schema/call/order.d.ts +16 -0
- package/dist/schema/call/permission.d.ts +12 -0
- package/dist/schema/call/repository.d.ts +12 -0
- package/dist/schema/call/reward.d.ts +12 -0
- package/dist/schema/call/service.d.ts +12 -0
- package/dist/schema/call/treasury.d.ts +12 -0
- package/dist/schema/common/index.d.ts +32 -3
- package/dist/schema/common/index.js +4 -2
- package/dist/schema/query/index.d.ts +778 -35
- package/dist/schema/query/index.js +5 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
# WoWok Agent (MCP Server)
|
|
2
2
|
Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.
|
|
3
3
|
|
|
4
|
+
GitHub: [https://github.com/wowok-ai/agent](https://github.com/wowok-ai/agent)
|
|
5
|
+
|
|
4
6
|
Docs: [https://github.com/wowok-ai/docs/](https://github.com/wowok-ai/docs/)
|
|
5
7
|
|
|
6
|
-
##
|
|
8
|
+
## Quick Start
|
|
9
|
+
|
|
10
|
+
### 1. Install MCP Server
|
|
11
|
+
|
|
7
12
|
```json
|
|
8
13
|
{
|
|
9
14
|
"mcpServers": {
|
|
@@ -18,3 +23,108 @@ Docs: [https://github.com/wowok-ai/docs/](https://github.com/wowok-ai/docs/)
|
|
|
18
23
|
}
|
|
19
24
|
```
|
|
20
25
|
|
|
26
|
+
### 2. Use Claude Skills (Optional but Recommended)
|
|
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**
|
|
49
|
+
|
|
50
|
+
If you want to customize or own the skills in your project:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# From your project directory
|
|
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
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Option C: Reference skills from mcp repo (Recommended for production)**
|
|
75
|
+
|
|
76
|
+
Keep skills in the mcp repo and reference them from your project:
|
|
77
|
+
|
|
78
|
+
```json
|
|
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.
|
|
117
|
+
|
|
118
|
+
#### Available Skills
|
|
119
|
+
|
|
120
|
+
| Skill | Purpose |
|
|
121
|
+
|-------|---------|
|
|
122
|
+
| `wowok-build` | Complex system building (Service + Machine + Guard + Allocation + Reward) |
|
|
123
|
+
| `wowok-guard` | Guard design mastery (programmable trust rules) |
|
|
124
|
+
| `wowok-tools` | MCP tool usage mastery (13 tools, common pitfalls) |
|
|
125
|
+
| `wowok-safety` | Safety & authorization protocol (dry-run → confirm → execute) |
|
|
126
|
+
| `wowok-machine` | Machine workflow design (state machines, progress tracking) |
|
|
127
|
+
| `wowok-order` | Order lifecycle management (payment, allocation, arbitration) |
|
|
128
|
+
|
|
129
|
+
## Development
|
|
130
|
+
|