@wowok/skills 1.3.4 → 2.0.1
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 +18 -11
- package/dist/cli.js +26 -7
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/skills.d.ts +52 -5
- package/dist/skills.d.ts.map +1 -1
- package/dist/skills.js +104 -63
- package/dist/skills.js.map +1 -1
- package/examples/Insurance/Insurance.md +224 -197
- package/examples/MyShop/MyShop.md +133 -35
- package/examples/MyShop_Advanced/MyShop_Advanced.md +368 -300
- package/examples/ThreeBody_Signature/ThreeBody_Signature.md +272 -25
- package/examples/Travel/Travel.md +104 -17
- package/package.json +2 -6
- package/scripts/install.js +52 -6
- package/wowok-arbitrator/SKILL.md +1 -1
- package/wowok-auditor/SKILL.md +1 -1
- package/wowok-machine/SKILL.md +2 -2
- package/wowok-messenger/SKILL.md +5 -3
- package/wowok-onboard/SKILL.md +43 -24
- package/wowok-order/SKILL.md +22 -7
- package/wowok-output/SKILL.md +4 -4
- package/wowok-planner/SKILL.md +2 -1
- package/wowok-provider/SKILL.md +48 -38
- package/wowok-guard/SKILL.md +0 -359
- package/wowok-safety/SKILL.md +0 -275
- package/wowok-scenario/SKILL.md +0 -371
- package/wowok-tools/SKILL.md +0 -389
package/dist/skills.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.wowokSkills = void 0;
|
|
3
|
+
exports.wowokSkills = exports.SKILL_MIGRATION_MAP = exports.DEPRECATED_SKILLS = void 0;
|
|
4
4
|
exports.getSkills = getSkills;
|
|
5
5
|
exports.getSkillByName = getSkillByName;
|
|
6
6
|
exports.getSkillsByRole = getSkillsByRole;
|
|
@@ -9,8 +9,24 @@ exports.getRoleSkills = getRoleSkills;
|
|
|
9
9
|
exports.recommendSkills = recommendSkills;
|
|
10
10
|
exports.negotiateSkillMode = negotiateSkillMode;
|
|
11
11
|
exports.negotiateAllSkills = negotiateAllSkills;
|
|
12
|
+
exports.checkSkillMigration = checkSkillMigration;
|
|
12
13
|
/**
|
|
13
|
-
* WoWok Skills organized by role
|
|
14
|
+
* WoWok Skills organized by role (post GLM5-31 sink refactor)
|
|
15
|
+
*
|
|
16
|
+
* 4 rule-reference skills were SUNK into the MCP knowledge layer and REMOVED:
|
|
17
|
+
* - wowok-safety → MCP safety-rules (runtime confirm-gate +
|
|
18
|
+
* schema_query action='get_safety_rules')
|
|
19
|
+
* - wowok-tools → MCP tools-reference
|
|
20
|
+
* (schema_query action='get_tool_reference')
|
|
21
|
+
* - wowok-scenario → MCP scenario-modes
|
|
22
|
+
* (project_operation recommend_industry / create_project,
|
|
23
|
+
* industry mode registry)
|
|
24
|
+
* - wowok-guard → MCP guard-design-patterns
|
|
25
|
+
* (schema_query action='get_guard_design_patterns')
|
|
26
|
+
*
|
|
27
|
+
* The MCP server now serves all rules/reference knowledge directly — installing
|
|
28
|
+
* skills is NOT required for correctness. The 9 retained skills keep only the
|
|
29
|
+
* dialogue orchestration layer (business process flows) that cannot be sunk.
|
|
14
30
|
*
|
|
15
31
|
* Role-based skill selection guide for AI:
|
|
16
32
|
*
|
|
@@ -26,121 +42,108 @@ exports.negotiateAllSkills = negotiateAllSkills;
|
|
|
26
42
|
* - Use when: User operates an arbitration service for dispute resolution
|
|
27
43
|
* - Key actions: Create Arbitration, review evidence, organize voting, manage fees
|
|
28
44
|
*
|
|
29
|
-
* 4. SHARED (wowok-
|
|
30
|
-
* - Use when: Any role needs
|
|
31
|
-
*
|
|
32
|
-
* -
|
|
45
|
+
* 4. SHARED (wowok-messenger, wowok-output, wowok-onboard, wowok-planner, wowok-auditor)
|
|
46
|
+
* - Use when: Any role needs encrypted messaging, output formatting, onboarding,
|
|
47
|
+
* planning, or pre-publish audit
|
|
48
|
+
* - Always loaded: wowok-output
|
|
49
|
+
* - On-demand: the rest
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* Skills removed in the GLM5-31 sink refactor. Their content lives in the MCP
|
|
53
|
+
* knowledge layer and is served via schema_query / project_operation — no skill
|
|
54
|
+
* installation required. Kept here for migration detection (checkSkillMigration).
|
|
33
55
|
*/
|
|
56
|
+
exports.DEPRECATED_SKILLS = [
|
|
57
|
+
'wowok-safety',
|
|
58
|
+
'wowok-tools',
|
|
59
|
+
'wowok-scenario',
|
|
60
|
+
'wowok-guard',
|
|
61
|
+
];
|
|
62
|
+
/** Where each deprecated skill's content now lives (for migration messages). */
|
|
63
|
+
exports.SKILL_MIGRATION_MAP = {
|
|
64
|
+
'wowok-safety': "MCP schema_query action='get_safety_rules' (+ runtime confirm-gate on every on-chain write)",
|
|
65
|
+
'wowok-tools': "MCP schema_query action='get_tool_reference'",
|
|
66
|
+
'wowok-scenario': "MCP project_operation action='recommend_industry' / 'list_modes' / 'create_project' (industry mode registry)",
|
|
67
|
+
'wowok-guard': "MCP schema_query action='get_guard_design_patterns' (+ action='get_guard_templates')",
|
|
68
|
+
};
|
|
34
69
|
exports.wowokSkills = {
|
|
35
70
|
skills: [
|
|
36
71
|
// === CUSTOMER ROLE ===
|
|
37
72
|
{
|
|
38
73
|
name: 'wowok-order',
|
|
39
74
|
description: 'Customer order lifecycle — place orders, track progress via Order/Progress, submit arbitration disputes, claim compensation. Use when user acts as a customer/buyer.',
|
|
40
|
-
version: '
|
|
75
|
+
version: '2.0.0',
|
|
41
76
|
role: 'customer',
|
|
42
77
|
loading: 'on-demand',
|
|
43
|
-
related: ['wowok-provider', 'wowok-arbitrator', 'wowok-messenger'
|
|
78
|
+
related: ['wowok-provider', 'wowok-arbitrator', 'wowok-messenger']
|
|
44
79
|
},
|
|
45
80
|
// === PROVIDER ROLE ===
|
|
46
81
|
{
|
|
47
82
|
name: 'wowok-provider',
|
|
48
|
-
description: 'Service provider guide — create Service, design Machine workflow, configure Allocators for fund distribution, handle order fulfillment and customer service via Messenger. Use when user is a merchant/seller.',
|
|
49
|
-
version: '
|
|
83
|
+
description: 'Service provider guide — create Service, design Machine workflow, configure Allocators for fund distribution, handle order fulfillment and customer service via Messenger. Use when user is a merchant/seller. Safety rules and tool reference are served by MCP (schema_query).',
|
|
84
|
+
version: '2.0.0',
|
|
50
85
|
role: 'provider',
|
|
51
86
|
loading: 'on-demand',
|
|
52
|
-
related: ['wowok-machine', 'wowok-
|
|
87
|
+
related: ['wowok-machine', 'wowok-messenger']
|
|
53
88
|
},
|
|
54
89
|
{
|
|
55
90
|
name: 'wowok-machine',
|
|
56
|
-
description: 'Machine workflow design — state machines, node definitions, progress tracking, forward/guard logic. Used by providers to design order processing workflows.',
|
|
57
|
-
version: '
|
|
91
|
+
description: 'Machine workflow design — state machines, node definitions, progress tracking, forward/guard logic (R-M1-11 compliant: fund movement via Allocators, never via Machine terminal nodes). Used by providers to design order processing workflows.',
|
|
92
|
+
version: '2.0.0',
|
|
58
93
|
role: 'provider',
|
|
59
94
|
loading: 'on-demand',
|
|
60
|
-
related: ['wowok-provider'
|
|
95
|
+
related: ['wowok-provider']
|
|
61
96
|
},
|
|
62
97
|
// === ARBITRATOR ROLE ===
|
|
63
98
|
{
|
|
64
99
|
name: 'wowok-arbitrator',
|
|
65
100
|
description: 'Arbitration service operation — create Arbitration, receive evidence via Messenger, organize voting processes, manage compensation funds, extract fees. Use when user operates dispute resolution.',
|
|
66
|
-
version: '
|
|
101
|
+
version: '2.0.0',
|
|
67
102
|
role: 'arbitrator',
|
|
68
103
|
loading: 'on-demand',
|
|
69
|
-
related: ['wowok-order', 'wowok-messenger'
|
|
104
|
+
related: ['wowok-order', 'wowok-messenger']
|
|
70
105
|
},
|
|
71
106
|
// === SHARED / ALL ROLES ===
|
|
72
107
|
{
|
|
73
108
|
name: 'wowok-messenger',
|
|
74
109
|
description: 'Encrypted messaging — end-to-end encrypted communication, WTS evidence generation, conversation management. Used by all roles for secure off-chain communication and arbitration evidence.',
|
|
75
|
-
version: '
|
|
110
|
+
version: '2.0.0',
|
|
76
111
|
role: 'shared',
|
|
77
112
|
loading: 'on-demand',
|
|
78
113
|
related: ['wowok-order', 'wowok-provider', 'wowok-arbitrator']
|
|
79
114
|
},
|
|
80
|
-
{
|
|
81
|
-
name: 'wowok-tools',
|
|
82
|
-
description: 'MCP tool usage mastery — query_toolkit, onchain_operations, messenger_operation, schema_query, and all 13 tools with correct parameter formats. ALWAYS loaded for all roles.',
|
|
83
|
-
version: '1.0.0',
|
|
84
|
-
role: 'shared',
|
|
85
|
-
loading: 'always',
|
|
86
|
-
related: ['wowok-safety']
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'wowok-safety',
|
|
90
|
-
description: 'Safety protocol — dry-run validation, user confirmation checkpoints, execute with authorization. ALWAYS loaded for protection against mistakes.',
|
|
91
|
-
version: '1.0.0',
|
|
92
|
-
role: 'shared',
|
|
93
|
-
loading: 'always',
|
|
94
|
-
related: ['wowok-tools']
|
|
95
|
-
},
|
|
96
115
|
{
|
|
97
116
|
name: 'wowok-output',
|
|
98
117
|
description: 'Output processing — post-processes all WoWok tool responses for human-readable presentation. Handles address resolution, name mapping, amount formatting, and data visualization. ALWAYS loaded for all roles.',
|
|
99
|
-
version: '
|
|
118
|
+
version: '2.0.0',
|
|
100
119
|
role: 'shared',
|
|
101
120
|
loading: 'always',
|
|
102
|
-
related: [
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
name: 'wowok-guard',
|
|
106
|
-
description: 'Guard design mastery — programmable trust rules, multi-signature authorization, guard2file export/import. Used by providers and arbitrators for complex validation logic.',
|
|
107
|
-
version: '1.0.0',
|
|
108
|
-
role: 'shared',
|
|
109
|
-
loading: 'on-demand',
|
|
110
|
-
related: ['wowok-provider', 'wowok-machine']
|
|
121
|
+
related: []
|
|
111
122
|
},
|
|
112
123
|
// === ONBOARDING / PLANNING / AUDIT (L3+L4 BRIDGE) ===
|
|
113
124
|
{
|
|
114
125
|
name: 'wowok-onboard',
|
|
115
|
-
description: 'First-touch onboarding — guides a new user from zero to their first published Service in a structured 10-round dialogue. Use when a new user says "I want to open a shop" or has no published Service yet.',
|
|
116
|
-
version: '
|
|
117
|
-
role: 'shared',
|
|
118
|
-
loading: 'on-demand',
|
|
119
|
-
related: ['wowok-scenario', 'wowok-tools', 'wowok-provider', 'wowok-safety', 'wowok-guard', 'wowok-machine']
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
name: 'wowok-scenario',
|
|
123
|
-
description: 'Industry mode templates — freelance, rental, digital goods, travel, subscription. Pre-fills Permission indexes, Machine node graphs, Guard bindings, and Allocation splits based on business type.',
|
|
124
|
-
version: '1.0.0',
|
|
126
|
+
description: 'First-touch onboarding — guides a new user from zero to their first published Service in a structured 10-round dialogue. Industry mode defaults (freelance/rental/education/travel/...) are served by MCP project_operation recommend_industry. Use when a new user says "I want to open a shop" or has no published Service yet.',
|
|
127
|
+
version: '2.0.0',
|
|
125
128
|
role: 'shared',
|
|
126
129
|
loading: 'on-demand',
|
|
127
|
-
related: ['wowok-
|
|
130
|
+
related: ['wowok-provider', 'wowok-machine']
|
|
128
131
|
},
|
|
129
132
|
{
|
|
130
133
|
name: 'wowok-planner',
|
|
131
|
-
description: 'Main planning Skill for the Harness Plan Loop — converts natural language intent into an Object Dependency Graph (ODG).
|
|
132
|
-
version: '
|
|
134
|
+
description: 'Main planning Skill for the Harness Plan Loop — converts natural language intent into an Object Dependency Graph (ODG). Industry templates are served by MCP scenario-modes; this skill retains the planning dialogue and Hand-off protocol to Harness.',
|
|
135
|
+
version: '2.0.0',
|
|
133
136
|
role: 'shared',
|
|
134
137
|
loading: 'on-demand',
|
|
135
|
-
related: ['wowok-onboard', 'wowok-
|
|
138
|
+
related: ['wowok-onboard', 'wowok-auditor', 'wowok-provider']
|
|
136
139
|
},
|
|
137
140
|
{
|
|
138
141
|
name: 'wowok-auditor',
|
|
139
|
-
description: 'Pre-publish audit Skill for the Harness Verify Loop — checks Guard completeness, Machine soundness, fund flow correctness, and publish readiness before irreversible publish operations. 4 audit rule tables with 32 total checks.',
|
|
140
|
-
version: '
|
|
142
|
+
description: 'Pre-publish audit Skill for the Harness Verify Loop — checks Guard completeness, Machine soundness (R-M1-11), fund flow correctness, and publish readiness before irreversible publish operations. 4 audit rule tables with 32 total checks.',
|
|
143
|
+
version: '2.0.0',
|
|
141
144
|
role: 'shared',
|
|
142
145
|
loading: 'on-demand',
|
|
143
|
-
related: ['wowok-planner', 'wowok-provider', 'wowok-
|
|
146
|
+
related: ['wowok-planner', 'wowok-provider', 'wowok-machine']
|
|
144
147
|
}
|
|
145
148
|
]
|
|
146
149
|
};
|
|
@@ -202,6 +205,11 @@ function getRoleSkills() {
|
|
|
202
205
|
/**
|
|
203
206
|
* AI skill selection helper
|
|
204
207
|
* Returns recommended skills based on user intent keywords
|
|
208
|
+
*
|
|
209
|
+
* Note: Guard design / tool usage / safety / industry-mode questions are now
|
|
210
|
+
* served directly by the MCP knowledge layer (schema_query actions
|
|
211
|
+
* get_guard_design_patterns / get_tool_reference / get_safety_rules, and
|
|
212
|
+
* project_operation recommend_industry) — no skill installation required.
|
|
205
213
|
*/
|
|
206
214
|
function recommendSkills(intent) {
|
|
207
215
|
const lower = intent.toLowerCase();
|
|
@@ -217,9 +225,10 @@ function recommendSkills(intent) {
|
|
|
217
225
|
if (/\b(arbitration|arbitrator|dispute resolution|voting|evidence|arb object)\b/.test(lower)) {
|
|
218
226
|
return getSkillsByRole('arbitrator');
|
|
219
227
|
}
|
|
220
|
-
// Guard keywords
|
|
221
|
-
|
|
222
|
-
|
|
228
|
+
// Guard/tool/safety/scenario keywords → no dedicated skill anymore.
|
|
229
|
+
// Return empty and let the AI consult the MCP knowledge layer instead.
|
|
230
|
+
if (/\b(guard design|validation rules?|multi.sig|safety|industry mode|scenario)\b/.test(lower)) {
|
|
231
|
+
return [];
|
|
223
232
|
}
|
|
224
233
|
// Default: return all on-demand skills
|
|
225
234
|
return getSkillsByLoading('on-demand');
|
|
@@ -272,4 +281,36 @@ function negotiateAllSkills(mcpVersion) {
|
|
|
272
281
|
mode: negotiateSkillMode(mcpVersion, s.version),
|
|
273
282
|
}));
|
|
274
283
|
}
|
|
284
|
+
// ============================================================
|
|
285
|
+
// Skill Migration (GLM5-31 §3.2)
|
|
286
|
+
// ============================================================
|
|
287
|
+
/**
|
|
288
|
+
* Detect deprecated skills still installed on the client and tell the user
|
|
289
|
+
* where their content now lives.
|
|
290
|
+
*
|
|
291
|
+
* The 4 sunk skills (wowok-safety/tools/scenario/guard) keep working after
|
|
292
|
+
* the MCP upgrade (their calls are answered by the newer MCP), but their
|
|
293
|
+
* content is stale — the MCP knowledge layer is the single source of truth.
|
|
294
|
+
* Users should uninstall them to avoid the AI reading outdated rules.
|
|
295
|
+
*
|
|
296
|
+
* @param installedSkills names of skills currently installed on the client
|
|
297
|
+
* @returns deprecated hits + a human-readable migration message
|
|
298
|
+
*/
|
|
299
|
+
function checkSkillMigration(installedSkills) {
|
|
300
|
+
const deprecated = installedSkills.filter((s) => exports.DEPRECATED_SKILLS.includes(s));
|
|
301
|
+
const migration_targets = {};
|
|
302
|
+
for (const s of deprecated) {
|
|
303
|
+
migration_targets[s] = exports.SKILL_MIGRATION_MAP[s];
|
|
304
|
+
}
|
|
305
|
+
return {
|
|
306
|
+
deprecated,
|
|
307
|
+
migration_targets,
|
|
308
|
+
message: deprecated.length > 0
|
|
309
|
+
? `Skills [${deprecated.join(', ')}] have been migrated to the MCP knowledge layer ` +
|
|
310
|
+
`(GLM5-31 sink refactor). Their content is now served directly by the MCP server — ` +
|
|
311
|
+
`you can safely uninstall them:\n` +
|
|
312
|
+
deprecated.map((s) => ` - ${s} → ${exports.SKILL_MIGRATION_MAP[s]}`).join('\n')
|
|
313
|
+
: '',
|
|
314
|
+
};
|
|
315
|
+
}
|
|
275
316
|
//# sourceMappingURL=skills.js.map
|
package/dist/skills.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.js","sourceRoot":"","sources":["../src/skills.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"skills.js","sourceRoot":"","sources":["../src/skills.ts"],"names":[],"mappings":";;;AAwJA,8BAEC;AAKD,wCAEC;AAKD,0CAEC;AAKD,gDAEC;AAKD,sCA4BC;AAWD,0CA0BC;AAsBD,gDAYC;AAWD,gDAUC;AAkBD,kDAyBC;AArVD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH;;;;GAIG;AACU,QAAA,iBAAiB,GAAG;IAC/B,cAAc;IACd,aAAa;IACb,gBAAgB;IAChB,aAAa;CACL,CAAC;AAIX,gFAAgF;AACnE,QAAA,mBAAmB,GAAoC;IAClE,cAAc,EAAE,6FAA6F;IAC7G,aAAa,EAAE,8CAA8C;IAC7D,gBAAgB,EAAE,8GAA8G;IAChI,aAAa,EAAE,sFAAsF;CACtG,CAAC;AAEW,QAAA,WAAW,GAAgB;IACtC,MAAM,EAAE;QACN,wBAAwB;QACxB;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,sKAAsK;YACnL,OAAO,EAAE,OAAO;YAChB,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,WAAW;YACpB,OAAO,EAAE,CAAC,gBAAgB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC;SACnE;QAED,wBAAwB;QACxB;YACE,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,kRAAkR;YAC/R,OAAO,EAAE,OAAO;YAChB,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,WAAW;YACpB,OAAO,EAAE,CAAC,eAAe,EAAE,iBAAiB,CAAC;SAC9C;QACD;YACE,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,iPAAiP;YAC9P,OAAO,EAAE,OAAO;YAChB,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,WAAW;YACpB,OAAO,EAAE,CAAC,gBAAgB,CAAC;SAC5B;QA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