sil-openclaw 0.6.0 → 0.7.0

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +12 -11
  3. package/SECURITY.md +3 -3
  4. package/dist/lib/shopping-call.js +5 -1
  5. package/dist/lib/sil-client.js +34 -62
  6. package/dist/lib/tool-result.js +1 -1
  7. package/dist/tools/catalog.js +83 -239
  8. package/dist/tools/identity.js +74 -87
  9. package/openclaw.plugin.json +11 -6
  10. package/package.json +1 -1
  11. package/schema/PROVENANCE.md +7 -4
  12. package/schema/shopping-brief-write-request.schema.json +225 -0
  13. package/schema/{shopping-brief-create-response.schema.json → shopping-brief-write-response.schema.json} +3 -3
  14. package/schema/shopping-content-request.schema.json +4 -7
  15. package/schema/shopping-content-response.schema.json +234 -108
  16. package/schema/shopping-domain-get-request.schema.json +18 -0
  17. package/schema/shopping-domain-get-response.schema.json +124 -86
  18. package/schema/shopping-offers-request.schema.json +174 -23
  19. package/schema/shopping-offers-response.schema.json +20 -10
  20. package/schema/shopping-product-get-request.schema.json +2 -2
  21. package/schema/shopping-product-get-response.schema.json +113 -16
  22. package/schema/shopping-search-request.schema.json +16 -25
  23. package/schema/shopping-search-response.schema.json +95 -21
  24. package/schema/shopping-seller-get-response.schema.json +249 -221
  25. package/schema/shopping-user-forget-request.schema.json +43 -0
  26. package/schema/shopping-user-forget-response.schema.json +74 -0
  27. package/schema/shopping-user-read-request.schema.json +36 -0
  28. package/schema/shopping-user-read-response.schema.json +372 -0
  29. package/schema/shopping-user-remember-request.schema.json +340 -0
  30. package/schema/shopping-user-remember-response.schema.json +66 -0
  31. package/schema/sil-whoami-request.schema.json +8 -0
  32. package/schema/sil-whoami-response.schema.json +90 -0
  33. package/sil-shopping/SKILL.md +149 -203
  34. package/schema/shopping-brief-create-request.schema.json +0 -98
  35. package/schema/shopping-brief-edit-request.schema.json +0 -125
  36. package/schema/shopping-brief-edit-response.schema.json +0 -24
  37. package/schema/shopping-profile-edit-request.schema.json +0 -97
  38. package/schema/shopping-profile-edit-response.schema.json +0 -17
@@ -1,97 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://schemas.sil.com/shopping-profile-edit-request.schema.json",
4
- "title": "sil shopping_profile_edit — request",
5
- "type": "object",
6
- "properties": {
7
- "currency": {
8
- "type": "string",
9
- "pattern": "^[A-Z]{3}$",
10
- "minLength": 3,
11
- "maxLength": 3,
12
- "description": "Writes the currency the buyer prices in; every money row that names none means this one. sil converts nothing."
13
- },
14
- "measurements": {
15
- "type": "array",
16
- "items": {
17
- "type": "object",
18
- "required": [
19
- "name",
20
- "value"
21
- ],
22
- "properties": {
23
- "name": {
24
- "type": "string",
25
- "pattern": "^[a-z0-9_]+$",
26
- "minLength": 1,
27
- "maxLength": 64,
28
- "description": "Names the measurement in lower snake_case (`foot_length`, never \"foot length\"); writing the same name again replaces it."
29
- },
30
- "value": {
31
- "anyOf": [
32
- {
33
- "type": "number"
34
- },
35
- {
36
- "type": "string",
37
- "minLength": 1,
38
- "maxLength": 128
39
- }
40
- ],
41
- "description": "Reads a number to translate through the guide, or a size as it is printed."
42
- },
43
- "unit": {
44
- "type": "string",
45
- "minLength": 1,
46
- "maxLength": 16,
47
- "description": "Reads which unit the number is in before comparing it with a spec."
48
- }
49
- },
50
- "additionalProperties": false
51
- },
52
- "maxItems": 32,
53
- "description": "Writes what the buyer said about their body before the next search; an entry replaces the one of the same `name`."
54
- },
55
- "preferences": {
56
- "type": "array",
57
- "items": {
58
- "type": "object",
59
- "required": [
60
- "name",
61
- "value"
62
- ],
63
- "properties": {
64
- "name": {
65
- "type": "string",
66
- "pattern": "^[a-z0-9_]+$",
67
- "minLength": 1,
68
- "maxLength": 64,
69
- "description": "Names the preference in lower snake_case (`boot_closure`, never \"boot closure\"); writing the same name again replaces it."
70
- },
71
- "value": {
72
- "type": "string",
73
- "minLength": 1,
74
- "maxLength": 256,
75
- "description": "Reads the taste in the buyer's own words, and never asks what it answers."
76
- }
77
- },
78
- "additionalProperties": false
79
- },
80
- "maxItems": 32,
81
- "description": "Writes a taste that will still be true next session, in the buyer’s words."
82
- },
83
- "remove": {
84
- "type": "array",
85
- "items": {
86
- "type": "string",
87
- "pattern": "^[a-z0-9_]+$",
88
- "minLength": 1,
89
- "maxLength": 64,
90
- "description": "Names an entry that goes."
91
- },
92
- "maxItems": 32,
93
- "description": "Drops what stopped being true of the buyer."
94
- }
95
- },
96
- "additionalProperties": false
97
- }
@@ -1,17 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://schemas.sil.com/shopping-profile-edit-response.schema.json",
4
- "title": "sil shopping_profile_edit — response",
5
- "type": "object",
6
- "required": [
7
- "status"
8
- ],
9
- "properties": {
10
- "status": {
11
- "type": "string",
12
- "const": "ok",
13
- "description": "Reads the answer. Every other status arrives as an error body carrying recovery."
14
- }
15
- },
16
- "additionalProperties": false
17
- }