@wowok/agent-mcp 2.3.18 → 2.4.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/dist/customer/industry-risks.js +31 -31
- package/dist/customer/order-monitor.js +57 -57
- package/dist/customer/order-strategy.js +89 -89
- package/dist/customer/post-purchase.js +97 -97
- package/dist/customer/reminder-system.js +26 -26
- package/dist/customer/risk-assessment.js +46 -46
- package/dist/customer/types.d.ts +4 -4
- package/dist/customer/types.js +4 -4
- package/dist/customer/user-preferences.js +50 -50
- package/dist/experience/intent-distill.js +6 -6
- package/dist/knowledge/acquisition-flywheel.js +64 -64
- package/dist/knowledge/arbitration-trust.js +10 -10
- package/dist/knowledge/demand-matching.js +8 -8
- package/dist/knowledge/dynamic-pricing.js +18 -18
- package/dist/knowledge/flywheel-loop.js +11 -11
- package/dist/knowledge/glossary.js +22 -22
- package/dist/knowledge/guard-ledger.d.ts +1 -1
- package/dist/knowledge/guard-ledger.js +131 -104
- package/dist/knowledge/guard-lint.d.ts +76 -0
- package/dist/knowledge/guard-lint.js +590 -0
- package/dist/knowledge/guard-puzzle.d.ts +109 -14
- package/dist/knowledge/guard-puzzle.js +627 -101
- package/dist/knowledge/guard-risk.d.ts +8 -1
- package/dist/knowledge/guard-risk.js +868 -296
- package/dist/knowledge/guard-templates.d.ts +37 -0
- package/dist/knowledge/guard-templates.js +329 -0
- package/dist/knowledge/guard-translation.d.ts +14 -2
- package/dist/knowledge/guard-translation.js +825 -194
- package/dist/knowledge/index.d.ts +8 -4
- package/dist/knowledge/index.js +9 -5
- package/dist/knowledge/industry-evolution.js +29 -29
- package/dist/knowledge/industry-generalizer.js +52 -52
- package/dist/knowledge/industry-registry.js +20 -33
- package/dist/knowledge/intent-metrics.js +67 -67
- package/dist/knowledge/process-model.js +80 -80
- package/dist/knowledge/reputation-rules.js +9 -9
- package/dist/knowledge/reward-templates.js +51 -51
- package/dist/knowledge/safety-rules.js +3 -3
- package/dist/knowledge/tool-constraints.js +20 -4
- package/dist/knowledge/trust-metrics.js +26 -26
- package/dist/schema/call/base.js +16 -16
- package/dist/schema/call/bridge.d.ts +32 -32
- package/dist/schema/call/demand.d.ts +84 -84
- package/dist/schema/call/guard.d.ts +153 -0
- package/dist/schema/call/guard.js +50 -0
- package/dist/schema/call/permission.d.ts +78 -78
- package/dist/schema/call/repository.d.ts +22 -22
- package/dist/schema/call/semantic.js +228 -24
- package/dist/schema/local/wip.d.ts +39 -19
- package/dist/schema/local/wip.js +5 -5
- package/dist/schema/messenger/index.d.ts +26 -26
- package/dist/schema/messenger/index.js +2 -2
- package/dist/schema/operations.d.ts +222 -144
- package/dist/schema/query/index.d.ts +38 -38
- package/dist/schema/trust/index.d.ts +4 -4
- package/dist/schema/utils/guard-parser.js +4 -4
- package/dist/schema/utils/node-parser.js +14 -14
- package/dist/schemas/bridge_operation.output.json +14 -14
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/messenger_operation.output.json +17 -15
- package/dist/schemas/onchain_events.output.json +14 -14
- package/dist/schemas/onchain_operations.output.json +14 -14
- package/dist/schemas/onchain_table_data.output.json +14 -14
- package/dist/schemas/wip_file.output.json +24 -1
- package/package.json +2 -2
|
@@ -556,7 +556,9 @@
|
|
|
556
556
|
}
|
|
557
557
|
},
|
|
558
558
|
"required": [
|
|
559
|
-
"valid"
|
|
559
|
+
"valid",
|
|
560
|
+
"hashValid",
|
|
561
|
+
"hasSignature"
|
|
560
562
|
],
|
|
561
563
|
"additionalProperties": false,
|
|
562
564
|
"description": "WTS verification result"
|
|
@@ -1390,7 +1392,7 @@
|
|
|
1390
1392
|
}
|
|
1391
1393
|
},
|
|
1392
1394
|
"additionalProperties": false,
|
|
1393
|
-
"description": "Experience layer feedback from past operations (Phase 2
|
|
1395
|
+
"description": "Experience layer feedback from past operations (Phase 2 Topic 2)"
|
|
1394
1396
|
},
|
|
1395
1397
|
"service_status": {
|
|
1396
1398
|
"type": "object",
|
|
@@ -1440,7 +1442,7 @@
|
|
|
1440
1442
|
"items": {
|
|
1441
1443
|
"type": "string"
|
|
1442
1444
|
},
|
|
1443
|
-
"description": "Actionable recommendations for the buyer. Example: ['
|
|
1445
|
+
"description": "Actionable recommendations for the buyer. Example: ['Require merchant to configure arbitration','Negotiate refund terms via Messenger']"
|
|
1444
1446
|
},
|
|
1445
1447
|
"reminders": {
|
|
1446
1448
|
"type": "array",
|
|
@@ -1475,7 +1477,7 @@
|
|
|
1475
1477
|
},
|
|
1476
1478
|
"message": {
|
|
1477
1479
|
"type": "string",
|
|
1478
|
-
"description": "Human-readable reminder message. Example: '
|
|
1480
|
+
"description": "Human-readable reminder message. Example: 'Composite risk score 25/100, strongly discourage purchase'"
|
|
1479
1481
|
},
|
|
1480
1482
|
"action": {
|
|
1481
1483
|
"type": "string",
|
|
@@ -1491,7 +1493,7 @@
|
|
|
1491
1493
|
"additionalProperties": false,
|
|
1492
1494
|
"description": "A buyer-side reminder triggered at a specific order lifecycle stage (Phase 3 C-3)."
|
|
1493
1495
|
},
|
|
1494
|
-
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'
|
|
1496
|
+
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'Ambiguous Guard must be human-reviewed'}]"
|
|
1495
1497
|
},
|
|
1496
1498
|
"preference_match": {
|
|
1497
1499
|
"type": "object",
|
|
@@ -1507,14 +1509,14 @@
|
|
|
1507
1509
|
"items": {
|
|
1508
1510
|
"type": "string"
|
|
1509
1511
|
},
|
|
1510
|
-
"description": "Aspects that match user preferences. Example: ['
|
|
1512
|
+
"description": "Aspects that match user preferences. Example: ['Price 10% below average','Has arbitration']"
|
|
1511
1513
|
},
|
|
1512
1514
|
"mismatches": {
|
|
1513
1515
|
"type": "array",
|
|
1514
1516
|
"items": {
|
|
1515
1517
|
"type": "string"
|
|
1516
1518
|
},
|
|
1517
|
-
"description": "Aspects that mismatch user preferences. Example: ['
|
|
1519
|
+
"description": "Aspects that mismatch user preferences. Example: ['Delivery cycle exceeds expectation']"
|
|
1518
1520
|
}
|
|
1519
1521
|
},
|
|
1520
1522
|
"required": [
|
|
@@ -1538,11 +1540,11 @@
|
|
|
1538
1540
|
"properties": {
|
|
1539
1541
|
"industry_signal": {
|
|
1540
1542
|
"type": "string",
|
|
1541
|
-
"description": "Industry evolution signal summary. Example: '
|
|
1543
|
+
"description": "Industry evolution signal summary. Example: 'Industry health 82/100 (healthy); 25 cumulative industry signals'"
|
|
1542
1544
|
},
|
|
1543
1545
|
"evolution_advice": {
|
|
1544
1546
|
"type": "string",
|
|
1545
|
-
"description": "Evolution advice for the current operation. Example: '
|
|
1547
|
+
"description": "Evolution advice for the current operation. Example: 'Recommend mandatory arbitration + compensation fund + delivery Guard'"
|
|
1546
1548
|
},
|
|
1547
1549
|
"confidence": {
|
|
1548
1550
|
"type": "number",
|
|
@@ -1579,7 +1581,7 @@
|
|
|
1579
1581
|
"items": {
|
|
1580
1582
|
"type": "string"
|
|
1581
1583
|
},
|
|
1582
|
-
"description": "Phase 4 P4-6.C: Role-targeted advice strings (user/merchant/arbitrator). Example: ['
|
|
1584
|
+
"description": "Phase 4 P4-6.C: Role-targeted advice strings (user/merchant/arbitrator). Example: ['Strengthen loyalty flywheel','Optimize first-order conversion']"
|
|
1583
1585
|
},
|
|
1584
1586
|
"role": {
|
|
1585
1587
|
"type": "string",
|
|
@@ -1661,21 +1663,21 @@
|
|
|
1661
1663
|
},
|
|
1662
1664
|
"scene_description": {
|
|
1663
1665
|
"type": "string",
|
|
1664
|
-
"description": "Human-readable scene description. Example: '
|
|
1666
|
+
"description": "Human-readable scene description. Example: 'Workflow node forward validation (Forward.guard)'"
|
|
1665
1667
|
},
|
|
1666
1668
|
"scene_constraints": {
|
|
1667
1669
|
"type": "array",
|
|
1668
1670
|
"items": {
|
|
1669
1671
|
"type": "string"
|
|
1670
1672
|
},
|
|
1671
|
-
"description": "Special constraints for the matched scene. Example: ['
|
|
1673
|
+
"description": "Special constraints for the matched scene. Example: ['Forward.guard cannot be modified after Machine is published']"
|
|
1672
1674
|
},
|
|
1673
1675
|
"suggested_patterns": {
|
|
1674
1676
|
"type": "array",
|
|
1675
1677
|
"items": {
|
|
1676
1678
|
"type": "string"
|
|
1677
1679
|
},
|
|
1678
|
-
"description": "Suggested Guard patterns based on user intent. Example: ['
|
|
1680
|
+
"description": "Suggested Guard patterns based on user intent. Example: ['time lock','progress status check']"
|
|
1679
1681
|
},
|
|
1680
1682
|
"available_queries": {
|
|
1681
1683
|
"type": "array",
|
|
@@ -1719,14 +1721,14 @@
|
|
|
1719
1721
|
"items": {
|
|
1720
1722
|
"type": "string"
|
|
1721
1723
|
},
|
|
1722
|
-
"description": "Risk warnings for the current Guard design. Example: ['Guard
|
|
1724
|
+
"description": "Risk warnings for the current Guard design. Example: ['Guard cannot be modified after creation','Time lock test uses 1000ms']"
|
|
1723
1725
|
},
|
|
1724
1726
|
"pending_questions": {
|
|
1725
1727
|
"type": "array",
|
|
1726
1728
|
"items": {
|
|
1727
1729
|
"type": "string"
|
|
1728
1730
|
},
|
|
1729
|
-
"description": "Questions for the user to complete the puzzle. Example: ['
|
|
1731
|
+
"description": "Questions for the user to complete the puzzle. Example: ['Which Host Object will the Guard bind to?']"
|
|
1730
1732
|
},
|
|
1731
1733
|
"confirmation_text": {
|
|
1732
1734
|
"type": "string",
|
|
@@ -783,7 +783,7 @@
|
|
|
783
783
|
}
|
|
784
784
|
},
|
|
785
785
|
"additionalProperties": false,
|
|
786
|
-
"description": "Experience layer feedback from past operations (Phase 2
|
|
786
|
+
"description": "Experience layer feedback from past operations (Phase 2 Topic 2)"
|
|
787
787
|
},
|
|
788
788
|
"service_status": {
|
|
789
789
|
"type": "object",
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
"items": {
|
|
834
834
|
"type": "string"
|
|
835
835
|
},
|
|
836
|
-
"description": "Actionable recommendations for the buyer. Example: ['
|
|
836
|
+
"description": "Actionable recommendations for the buyer. Example: ['Require merchant to configure arbitration','Negotiate refund terms via Messenger']"
|
|
837
837
|
},
|
|
838
838
|
"reminders": {
|
|
839
839
|
"type": "array",
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
},
|
|
869
869
|
"message": {
|
|
870
870
|
"type": "string",
|
|
871
|
-
"description": "Human-readable reminder message. Example: '
|
|
871
|
+
"description": "Human-readable reminder message. Example: 'Composite risk score 25/100, strongly discourage purchase'"
|
|
872
872
|
},
|
|
873
873
|
"action": {
|
|
874
874
|
"type": "string",
|
|
@@ -884,7 +884,7 @@
|
|
|
884
884
|
"additionalProperties": false,
|
|
885
885
|
"description": "A buyer-side reminder triggered at a specific order lifecycle stage (Phase 3 C-3)."
|
|
886
886
|
},
|
|
887
|
-
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'
|
|
887
|
+
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'Ambiguous Guard must be human-reviewed'}]"
|
|
888
888
|
},
|
|
889
889
|
"preference_match": {
|
|
890
890
|
"type": "object",
|
|
@@ -900,14 +900,14 @@
|
|
|
900
900
|
"items": {
|
|
901
901
|
"type": "string"
|
|
902
902
|
},
|
|
903
|
-
"description": "Aspects that match user preferences. Example: ['
|
|
903
|
+
"description": "Aspects that match user preferences. Example: ['Price 10% below average','Has arbitration']"
|
|
904
904
|
},
|
|
905
905
|
"mismatches": {
|
|
906
906
|
"type": "array",
|
|
907
907
|
"items": {
|
|
908
908
|
"type": "string"
|
|
909
909
|
},
|
|
910
|
-
"description": "Aspects that mismatch user preferences. Example: ['
|
|
910
|
+
"description": "Aspects that mismatch user preferences. Example: ['Delivery cycle exceeds expectation']"
|
|
911
911
|
}
|
|
912
912
|
},
|
|
913
913
|
"required": [
|
|
@@ -931,11 +931,11 @@
|
|
|
931
931
|
"properties": {
|
|
932
932
|
"industry_signal": {
|
|
933
933
|
"type": "string",
|
|
934
|
-
"description": "Industry evolution signal summary. Example: '
|
|
934
|
+
"description": "Industry evolution signal summary. Example: 'Industry health 82/100 (healthy); 25 cumulative industry signals'"
|
|
935
935
|
},
|
|
936
936
|
"evolution_advice": {
|
|
937
937
|
"type": "string",
|
|
938
|
-
"description": "Evolution advice for the current operation. Example: '
|
|
938
|
+
"description": "Evolution advice for the current operation. Example: 'Recommend mandatory arbitration + compensation fund + delivery Guard'"
|
|
939
939
|
},
|
|
940
940
|
"confidence": {
|
|
941
941
|
"type": "number",
|
|
@@ -972,7 +972,7 @@
|
|
|
972
972
|
"items": {
|
|
973
973
|
"type": "string"
|
|
974
974
|
},
|
|
975
|
-
"description": "Phase 4 P4-6.C: Role-targeted advice strings (user/merchant/arbitrator). Example: ['
|
|
975
|
+
"description": "Phase 4 P4-6.C: Role-targeted advice strings (user/merchant/arbitrator). Example: ['Strengthen loyalty flywheel','Optimize first-order conversion']"
|
|
976
976
|
},
|
|
977
977
|
"role": {
|
|
978
978
|
"type": "string",
|
|
@@ -1054,21 +1054,21 @@
|
|
|
1054
1054
|
},
|
|
1055
1055
|
"scene_description": {
|
|
1056
1056
|
"type": "string",
|
|
1057
|
-
"description": "Human-readable scene description. Example: '
|
|
1057
|
+
"description": "Human-readable scene description. Example: 'Workflow node forward validation (Forward.guard)'"
|
|
1058
1058
|
},
|
|
1059
1059
|
"scene_constraints": {
|
|
1060
1060
|
"type": "array",
|
|
1061
1061
|
"items": {
|
|
1062
1062
|
"type": "string"
|
|
1063
1063
|
},
|
|
1064
|
-
"description": "Special constraints for the matched scene. Example: ['
|
|
1064
|
+
"description": "Special constraints for the matched scene. Example: ['Forward.guard cannot be modified after Machine is published']"
|
|
1065
1065
|
},
|
|
1066
1066
|
"suggested_patterns": {
|
|
1067
1067
|
"type": "array",
|
|
1068
1068
|
"items": {
|
|
1069
1069
|
"type": "string"
|
|
1070
1070
|
},
|
|
1071
|
-
"description": "Suggested Guard patterns based on user intent. Example: ['
|
|
1071
|
+
"description": "Suggested Guard patterns based on user intent. Example: ['time lock','progress status check']"
|
|
1072
1072
|
},
|
|
1073
1073
|
"available_queries": {
|
|
1074
1074
|
"type": "array",
|
|
@@ -1112,14 +1112,14 @@
|
|
|
1112
1112
|
"items": {
|
|
1113
1113
|
"type": "string"
|
|
1114
1114
|
},
|
|
1115
|
-
"description": "Risk warnings for the current Guard design. Example: ['Guard
|
|
1115
|
+
"description": "Risk warnings for the current Guard design. Example: ['Guard cannot be modified after creation','Time lock test uses 1000ms']"
|
|
1116
1116
|
},
|
|
1117
1117
|
"pending_questions": {
|
|
1118
1118
|
"type": "array",
|
|
1119
1119
|
"items": {
|
|
1120
1120
|
"type": "string"
|
|
1121
1121
|
},
|
|
1122
|
-
"description": "Questions for the user to complete the puzzle. Example: ['
|
|
1122
|
+
"description": "Questions for the user to complete the puzzle. Example: ['Which Host Object will the Guard bind to?']"
|
|
1123
1123
|
},
|
|
1124
1124
|
"confirmation_text": {
|
|
1125
1125
|
"type": "string",
|
|
@@ -2177,7 +2177,7 @@
|
|
|
2177
2177
|
}
|
|
2178
2178
|
},
|
|
2179
2179
|
"additionalProperties": false,
|
|
2180
|
-
"description": "Experience layer feedback from past operations (Phase 2
|
|
2180
|
+
"description": "Experience layer feedback from past operations (Phase 2 Topic 2)"
|
|
2181
2181
|
},
|
|
2182
2182
|
"service_status": {
|
|
2183
2183
|
"type": "object",
|
|
@@ -2227,7 +2227,7 @@
|
|
|
2227
2227
|
"items": {
|
|
2228
2228
|
"type": "string"
|
|
2229
2229
|
},
|
|
2230
|
-
"description": "Actionable recommendations for the buyer. Example: ['
|
|
2230
|
+
"description": "Actionable recommendations for the buyer. Example: ['Require merchant to configure arbitration','Negotiate refund terms via Messenger']"
|
|
2231
2231
|
},
|
|
2232
2232
|
"reminders": {
|
|
2233
2233
|
"type": "array",
|
|
@@ -2262,7 +2262,7 @@
|
|
|
2262
2262
|
},
|
|
2263
2263
|
"message": {
|
|
2264
2264
|
"type": "string",
|
|
2265
|
-
"description": "Human-readable reminder message. Example: '
|
|
2265
|
+
"description": "Human-readable reminder message. Example: 'Composite risk score 25/100, strongly discourage purchase'"
|
|
2266
2266
|
},
|
|
2267
2267
|
"action": {
|
|
2268
2268
|
"type": "string",
|
|
@@ -2278,7 +2278,7 @@
|
|
|
2278
2278
|
"additionalProperties": false,
|
|
2279
2279
|
"description": "A buyer-side reminder triggered at a specific order lifecycle stage (Phase 3 C-3)."
|
|
2280
2280
|
},
|
|
2281
|
-
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'
|
|
2281
|
+
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'Ambiguous Guard must be human-reviewed'}]"
|
|
2282
2282
|
},
|
|
2283
2283
|
"preference_match": {
|
|
2284
2284
|
"type": "object",
|
|
@@ -2294,14 +2294,14 @@
|
|
|
2294
2294
|
"items": {
|
|
2295
2295
|
"type": "string"
|
|
2296
2296
|
},
|
|
2297
|
-
"description": "Aspects that match user preferences. Example: ['
|
|
2297
|
+
"description": "Aspects that match user preferences. Example: ['Price 10% below average','Has arbitration']"
|
|
2298
2298
|
},
|
|
2299
2299
|
"mismatches": {
|
|
2300
2300
|
"type": "array",
|
|
2301
2301
|
"items": {
|
|
2302
2302
|
"type": "string"
|
|
2303
2303
|
},
|
|
2304
|
-
"description": "Aspects that mismatch user preferences. Example: ['
|
|
2304
|
+
"description": "Aspects that mismatch user preferences. Example: ['Delivery cycle exceeds expectation']"
|
|
2305
2305
|
}
|
|
2306
2306
|
},
|
|
2307
2307
|
"required": [
|
|
@@ -2325,11 +2325,11 @@
|
|
|
2325
2325
|
"properties": {
|
|
2326
2326
|
"industry_signal": {
|
|
2327
2327
|
"type": "string",
|
|
2328
|
-
"description": "Industry evolution signal summary. Example: '
|
|
2328
|
+
"description": "Industry evolution signal summary. Example: 'Industry health 82/100 (healthy); 25 cumulative industry signals'"
|
|
2329
2329
|
},
|
|
2330
2330
|
"evolution_advice": {
|
|
2331
2331
|
"type": "string",
|
|
2332
|
-
"description": "Evolution advice for the current operation. Example: '
|
|
2332
|
+
"description": "Evolution advice for the current operation. Example: 'Recommend mandatory arbitration + compensation fund + delivery Guard'"
|
|
2333
2333
|
},
|
|
2334
2334
|
"confidence": {
|
|
2335
2335
|
"type": "number",
|
|
@@ -2366,7 +2366,7 @@
|
|
|
2366
2366
|
"items": {
|
|
2367
2367
|
"type": "string"
|
|
2368
2368
|
},
|
|
2369
|
-
"description": "Phase 4 P4-6.C: Role-targeted advice strings (user/merchant/arbitrator). Example: ['
|
|
2369
|
+
"description": "Phase 4 P4-6.C: Role-targeted advice strings (user/merchant/arbitrator). Example: ['Strengthen loyalty flywheel','Optimize first-order conversion']"
|
|
2370
2370
|
},
|
|
2371
2371
|
"role": {
|
|
2372
2372
|
"type": "string",
|
|
@@ -2448,21 +2448,21 @@
|
|
|
2448
2448
|
},
|
|
2449
2449
|
"scene_description": {
|
|
2450
2450
|
"type": "string",
|
|
2451
|
-
"description": "Human-readable scene description. Example: '
|
|
2451
|
+
"description": "Human-readable scene description. Example: 'Workflow node forward validation (Forward.guard)'"
|
|
2452
2452
|
},
|
|
2453
2453
|
"scene_constraints": {
|
|
2454
2454
|
"type": "array",
|
|
2455
2455
|
"items": {
|
|
2456
2456
|
"type": "string"
|
|
2457
2457
|
},
|
|
2458
|
-
"description": "Special constraints for the matched scene. Example: ['
|
|
2458
|
+
"description": "Special constraints for the matched scene. Example: ['Forward.guard cannot be modified after Machine is published']"
|
|
2459
2459
|
},
|
|
2460
2460
|
"suggested_patterns": {
|
|
2461
2461
|
"type": "array",
|
|
2462
2462
|
"items": {
|
|
2463
2463
|
"type": "string"
|
|
2464
2464
|
},
|
|
2465
|
-
"description": "Suggested Guard patterns based on user intent. Example: ['
|
|
2465
|
+
"description": "Suggested Guard patterns based on user intent. Example: ['time lock','progress status check']"
|
|
2466
2466
|
},
|
|
2467
2467
|
"available_queries": {
|
|
2468
2468
|
"type": "array",
|
|
@@ -2506,14 +2506,14 @@
|
|
|
2506
2506
|
"items": {
|
|
2507
2507
|
"type": "string"
|
|
2508
2508
|
},
|
|
2509
|
-
"description": "Risk warnings for the current Guard design. Example: ['Guard
|
|
2509
|
+
"description": "Risk warnings for the current Guard design. Example: ['Guard cannot be modified after creation','Time lock test uses 1000ms']"
|
|
2510
2510
|
},
|
|
2511
2511
|
"pending_questions": {
|
|
2512
2512
|
"type": "array",
|
|
2513
2513
|
"items": {
|
|
2514
2514
|
"type": "string"
|
|
2515
2515
|
},
|
|
2516
|
-
"description": "Questions for the user to complete the puzzle. Example: ['
|
|
2516
|
+
"description": "Questions for the user to complete the puzzle. Example: ['Which Host Object will the Guard bind to?']"
|
|
2517
2517
|
},
|
|
2518
2518
|
"confirmation_text": {
|
|
2519
2519
|
"type": "string",
|
|
@@ -2359,7 +2359,7 @@
|
|
|
2359
2359
|
}
|
|
2360
2360
|
},
|
|
2361
2361
|
"additionalProperties": false,
|
|
2362
|
-
"description": "Experience layer feedback from past operations (Phase 2
|
|
2362
|
+
"description": "Experience layer feedback from past operations (Phase 2 Topic 2)"
|
|
2363
2363
|
},
|
|
2364
2364
|
"service_status": {
|
|
2365
2365
|
"type": "object",
|
|
@@ -2409,7 +2409,7 @@
|
|
|
2409
2409
|
"items": {
|
|
2410
2410
|
"type": "string"
|
|
2411
2411
|
},
|
|
2412
|
-
"description": "Actionable recommendations for the buyer. Example: ['
|
|
2412
|
+
"description": "Actionable recommendations for the buyer. Example: ['Require merchant to configure arbitration','Negotiate refund terms via Messenger']"
|
|
2413
2413
|
},
|
|
2414
2414
|
"reminders": {
|
|
2415
2415
|
"type": "array",
|
|
@@ -2444,7 +2444,7 @@
|
|
|
2444
2444
|
},
|
|
2445
2445
|
"message": {
|
|
2446
2446
|
"type": "string",
|
|
2447
|
-
"description": "Human-readable reminder message. Example: '
|
|
2447
|
+
"description": "Human-readable reminder message. Example: 'Composite risk score 25/100, strongly discourage purchase'"
|
|
2448
2448
|
},
|
|
2449
2449
|
"action": {
|
|
2450
2450
|
"type": "string",
|
|
@@ -2460,7 +2460,7 @@
|
|
|
2460
2460
|
"additionalProperties": false,
|
|
2461
2461
|
"description": "A buyer-side reminder triggered at a specific order lifecycle stage (Phase 3 C-3)."
|
|
2462
2462
|
},
|
|
2463
|
-
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'
|
|
2463
|
+
"description": "Stage-specific reminders (deduped, sorted by priority, capped to 3 high-risk). Example: [{priority:'required', message:'Ambiguous Guard must be human-reviewed'}]"
|
|
2464
2464
|
},
|
|
2465
2465
|
"preference_match": {
|
|
2466
2466
|
"type": "object",
|
|
@@ -2476,14 +2476,14 @@
|
|
|
2476
2476
|
"items": {
|
|
2477
2477
|
"type": "string"
|
|
2478
2478
|
},
|
|
2479
|
-
"description": "Aspects that match user preferences. Example: ['
|
|
2479
|
+
"description": "Aspects that match user preferences. Example: ['Price 10% below average','Has arbitration']"
|
|
2480
2480
|
},
|
|
2481
2481
|
"mismatches": {
|
|
2482
2482
|
"type": "array",
|
|
2483
2483
|
"items": {
|
|
2484
2484
|
"type": "string"
|
|
2485
2485
|
},
|
|
2486
|
-
"description": "Aspects that mismatch user preferences. Example: ['
|
|
2486
|
+
"description": "Aspects that mismatch user preferences. Example: ['Delivery cycle exceeds expectation']"
|
|
2487
2487
|
}
|
|
2488
2488
|
},
|
|
2489
2489
|
"required": [
|
|
@@ -2507,11 +2507,11 @@
|
|
|
2507
2507
|
"properties": {
|
|
2508
2508
|
"industry_signal": {
|
|
2509
2509
|
"type": "string",
|
|
2510
|
-
"description": "Industry evolution signal summary. Example: '
|
|
2510
|
+
"description": "Industry evolution signal summary. Example: 'Industry health 82/100 (healthy); 25 cumulative industry signals'"
|
|
2511
2511
|
},
|
|
2512
2512
|
"evolution_advice": {
|
|
2513
2513
|
"type": "string",
|
|
2514
|
-
"description": "Evolution advice for the current operation. Example: '
|
|
2514
|
+
"description": "Evolution advice for the current operation. Example: 'Recommend mandatory arbitration + compensation fund + delivery Guard'"
|
|
2515
2515
|
},
|
|
2516
2516
|
"confidence": {
|
|
2517
2517
|
"type": "number",
|
|
@@ -2548,7 +2548,7 @@
|
|
|
2548
2548
|
"items": {
|
|
2549
2549
|
"type": "string"
|
|
2550
2550
|
},
|
|
2551
|
-
"description": "Phase 4 P4-6.C: Role-targeted advice strings (user/merchant/arbitrator). Example: ['
|
|
2551
|
+
"description": "Phase 4 P4-6.C: Role-targeted advice strings (user/merchant/arbitrator). Example: ['Strengthen loyalty flywheel','Optimize first-order conversion']"
|
|
2552
2552
|
},
|
|
2553
2553
|
"role": {
|
|
2554
2554
|
"type": "string",
|
|
@@ -2630,21 +2630,21 @@
|
|
|
2630
2630
|
},
|
|
2631
2631
|
"scene_description": {
|
|
2632
2632
|
"type": "string",
|
|
2633
|
-
"description": "Human-readable scene description. Example: '
|
|
2633
|
+
"description": "Human-readable scene description. Example: 'Workflow node forward validation (Forward.guard)'"
|
|
2634
2634
|
},
|
|
2635
2635
|
"scene_constraints": {
|
|
2636
2636
|
"type": "array",
|
|
2637
2637
|
"items": {
|
|
2638
2638
|
"type": "string"
|
|
2639
2639
|
},
|
|
2640
|
-
"description": "Special constraints for the matched scene. Example: ['
|
|
2640
|
+
"description": "Special constraints for the matched scene. Example: ['Forward.guard cannot be modified after Machine is published']"
|
|
2641
2641
|
},
|
|
2642
2642
|
"suggested_patterns": {
|
|
2643
2643
|
"type": "array",
|
|
2644
2644
|
"items": {
|
|
2645
2645
|
"type": "string"
|
|
2646
2646
|
},
|
|
2647
|
-
"description": "Suggested Guard patterns based on user intent. Example: ['
|
|
2647
|
+
"description": "Suggested Guard patterns based on user intent. Example: ['time lock','progress status check']"
|
|
2648
2648
|
},
|
|
2649
2649
|
"available_queries": {
|
|
2650
2650
|
"type": "array",
|
|
@@ -2688,14 +2688,14 @@
|
|
|
2688
2688
|
"items": {
|
|
2689
2689
|
"type": "string"
|
|
2690
2690
|
},
|
|
2691
|
-
"description": "Risk warnings for the current Guard design. Example: ['Guard
|
|
2691
|
+
"description": "Risk warnings for the current Guard design. Example: ['Guard cannot be modified after creation','Time lock test uses 1000ms']"
|
|
2692
2692
|
},
|
|
2693
2693
|
"pending_questions": {
|
|
2694
2694
|
"type": "array",
|
|
2695
2695
|
"items": {
|
|
2696
2696
|
"type": "string"
|
|
2697
2697
|
},
|
|
2698
|
-
"description": "Questions for the user to complete the puzzle. Example: ['
|
|
2698
|
+
"description": "Questions for the user to complete the puzzle. Example: ['Which Host Object will the Guard bind to?']"
|
|
2699
2699
|
},
|
|
2700
2700
|
"confirmation_text": {
|
|
2701
2701
|
"type": "string",
|
|
@@ -50,7 +50,30 @@
|
|
|
50
50
|
"type": "boolean"
|
|
51
51
|
},
|
|
52
52
|
"signatures": {
|
|
53
|
-
"type": "array"
|
|
53
|
+
"type": "array",
|
|
54
|
+
"items": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": {
|
|
57
|
+
"publicKey": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Signature public key"
|
|
60
|
+
},
|
|
61
|
+
"address": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "Address derived from public key"
|
|
64
|
+
},
|
|
65
|
+
"valid": {
|
|
66
|
+
"type": "boolean",
|
|
67
|
+
"description": "Whether signature is valid"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": [
|
|
71
|
+
"publicKey",
|
|
72
|
+
"valid"
|
|
73
|
+
],
|
|
74
|
+
"additionalProperties": false,
|
|
75
|
+
"description": "Single signature verification result"
|
|
76
|
+
}
|
|
54
77
|
}
|
|
55
78
|
},
|
|
56
79
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wowok/agent-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.1",
|
|
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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"license": "Apache-2.0",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
39
|
-
"@wowok/wowok": "2.
|
|
39
|
+
"@wowok/wowok": "2.4.1",
|
|
40
40
|
"lodash": "^4.18.1",
|
|
41
41
|
"zod": "^3.25.76"
|
|
42
42
|
},
|