@wowok/agent-mcp 2.5.1 → 2.5.3
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/index.js +46 -6
- package/dist/knowledge/guard-design-patterns.js +104 -1
- package/dist/knowledge/guard-ledger.js +3 -3
- package/dist/knowledge/guard-lint.js +3 -3
- package/dist/knowledge/guard-risk.js +23 -15
- package/dist/knowledge/guard-templates.js +174 -2
- package/dist/knowledge/guard-translation.js +3 -3
- package/dist/knowledge/index.d.ts +3 -0
- package/dist/knowledge/index.js +9 -0
- package/dist/knowledge/machine-context.d.ts +1 -1
- package/dist/knowledge/machine-context.js +21 -0
- package/dist/knowledge/machine-ledger.d.ts +1 -0
- package/dist/knowledge/machine-ledger.js +31 -11
- package/dist/knowledge/machine-templates.js +32 -78
- package/dist/knowledge/mcp-schema-audit.js +3 -2
- package/dist/knowledge/overrides-loader.d.ts +13 -0
- package/dist/knowledge/overrides-loader.js +67 -0
- package/dist/knowledge/payment-risk.d.ts +4 -0
- package/dist/knowledge/payment-risk.js +67 -0
- package/dist/knowledge/repository-confirm.d.ts +4 -0
- package/dist/knowledge/repository-confirm.js +44 -0
- package/dist/knowledge/repository-risk.d.ts +8 -2
- package/dist/knowledge/repository-risk.js +61 -0
- package/dist/knowledge/repository-translation.js +23 -0
- package/dist/knowledge/scenario-modes.js +22 -5
- package/dist/knowledge/service-templates.js +38 -0
- package/dist/knowledge/treasury-templates.js +42 -0
- package/dist/loop-engineering/context-collect.d.ts +7 -0
- package/dist/loop-engineering/context-collect.js +83 -0
- package/dist/loop-engineering/improve.d.ts +29 -0
- package/dist/loop-engineering/improve.js +178 -0
- package/dist/project/business-puzzle.d.ts +1 -0
- package/dist/project/business-puzzle.js +11 -0
- package/dist/project/context-assembly.d.ts +16 -0
- package/dist/project/context-assembly.js +130 -0
- package/dist/project/deployment-doc.d.ts +126 -0
- package/dist/project/deployment-doc.js +632 -0
- package/dist/project/index.d.ts +25 -0
- package/dist/project/index.js +78 -0
- package/dist/project/migration.d.ts +22 -0
- package/dist/project/migration.js +125 -0
- package/dist/project/project-store.d.ts +110 -0
- package/dist/project/project-store.js +425 -0
- package/dist/project/risk-aggregator.d.ts +7 -0
- package/dist/project/risk-aggregator.js +15 -0
- package/dist/project/rollback-policy.d.ts +45 -0
- package/dist/project/rollback-policy.js +290 -0
- package/dist/project/stage-gate.d.ts +49 -0
- package/dist/project/stage-gate.js +310 -0
- package/dist/schema/call/allocation.d.ts +5 -0
- package/dist/schema/call/arbitration.d.ts +5 -0
- package/dist/schema/call/base.d.ts +3 -0
- package/dist/schema/call/base.js +3 -2
- package/dist/schema/call/bridge.d.ts +24 -0
- package/dist/schema/call/contact.d.ts +5 -0
- package/dist/schema/call/demand.d.ts +5 -0
- package/dist/schema/call/guard.d.ts +15 -0
- package/dist/schema/call/machine.d.ts +10 -0
- package/dist/schema/call/order.d.ts +5 -0
- package/dist/schema/call/payment.d.ts +5 -0
- package/dist/schema/call/permission.d.ts +5 -0
- package/dist/schema/call/personal.d.ts +5 -0
- package/dist/schema/call/progress.d.ts +5 -0
- package/dist/schema/call/proof.d.ts +10 -0
- package/dist/schema/call/repository.d.ts +5 -0
- package/dist/schema/call/reward.d.ts +5 -0
- package/dist/schema/call/service.d.ts +5 -0
- package/dist/schema/call/treasury.d.ts +5 -0
- package/dist/schema/operations.d.ts +210 -0
- package/dist/schema/operations.js +24 -0
- package/dist/schema/project/index.d.ts +2798 -85
- package/dist/schema/project/index.js +667 -2
- package/dist/schema/query/index.d.ts +601 -0
- package/dist/schema/query/index.js +61 -0
- package/dist/schemas/bridge_operation.schema.json +4 -0
- package/dist/schemas/guard2file.schema.json +4 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/machineNode2file.schema.json +4 -0
- package/dist/schemas/onchain_operations.schema.json +20 -0
- package/dist/schemas/onchain_operations_allocation.schema.json +4 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +4 -0
- package/dist/schemas/onchain_operations_contact.schema.json +4 -0
- package/dist/schemas/onchain_operations_demand.schema.json +4 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_proof.schema.json +8 -0
- package/dist/schemas/onchain_operations_guard.schema.json +4 -577
- package/dist/schemas/onchain_operations_machine.schema.json +4 -0
- package/dist/schemas/onchain_operations_order.schema.json +4 -0
- package/dist/schemas/onchain_operations_payment.schema.json +4 -0
- package/dist/schemas/onchain_operations_permission.schema.json +4 -0
- package/dist/schemas/onchain_operations_personal.schema.json +4 -0
- package/dist/schemas/onchain_operations_progress.schema.json +4 -0
- package/dist/schemas/onchain_operations_proof.schema.json +4 -0
- package/dist/schemas/onchain_operations_repository.schema.json +4 -0
- package/dist/schemas/onchain_operations_reward.schema.json +4 -0
- package/dist/schemas/onchain_operations_service.schema.json +4 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +4 -0
- package/dist/schemas/project_operation.output.json +1955 -0
- package/dist/schemas/project_operation.schema.json +133 -2
- package/dist/schemas/query_toolkit.output.json +407 -1
- package/dist/schemas/query_toolkit.schema.json +132 -0
- package/dist/tools/handlers/project.js +788 -2
- package/dist/tools/handlers/query.js +38 -2
- package/dist/tools/index.js +346 -37
- package/dist/tools/wrap.js +61 -7
- package/package.json +2 -2
- package/dist/schemas/onchain_operations.output.json +0 -2819
|
@@ -83,583 +83,6 @@
|
|
|
83
83
|
"data"
|
|
84
84
|
],
|
|
85
85
|
"definitions": {
|
|
86
|
-
"guard_namedNew": {
|
|
87
|
-
"anyOf": [
|
|
88
|
-
{
|
|
89
|
-
"not": {}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"type": "object",
|
|
93
|
-
"properties": {
|
|
94
|
-
"name": {
|
|
95
|
-
"type": "string",
|
|
96
|
-
"description": "The name of the object"
|
|
97
|
-
},
|
|
98
|
-
"tags": {
|
|
99
|
-
"type": "array",
|
|
100
|
-
"items": {
|
|
101
|
-
"type": "string"
|
|
102
|
-
},
|
|
103
|
-
"description": "The tags of the object"
|
|
104
|
-
},
|
|
105
|
-
"onChain": {
|
|
106
|
-
"type": "boolean",
|
|
107
|
-
"description": "CRITICAL: Whether to sync the name to the blockchain. DEFAULT (undefined/false): The name is stored LOCALLY ONLY on your device (PRIVATE). If set to true: The name is published ON-CHAIN and becomes PUBLICLY VISIBLE to everyone. Only set to true for displaying the relationships you are willing to make public on the chain."
|
|
108
|
-
},
|
|
109
|
-
"replaceExistName": {
|
|
110
|
-
"type": "boolean",
|
|
111
|
-
"description": "FORCE CLAIM: Set to true ONLY when the user explicitly expresses a STRONG INTENTION to forcefully take over an existing name (e.g., 'I must use this name', 'force rename', 'replace the existing one'). WARNING: This will UNBIND the name from its original object and rebind it to the new one, potentially breaking existing references. If not specified or false: the operation will FAIL with an error when the name is already in use (safe default behavior)."
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"additionalProperties": false,
|
|
115
|
-
"description": "Assign a name and optional tags to a new object. By default, names are stored LOCALLY (private) on your device. Set 'onChain: true' to create a PUBLIC on-chain identity visible to everyone. IMPORTANT: If the requested name is already taken, the operation will FAIL by default. Only set 'replaceExistName: true' when the user EXPLICITLY demands to forcefully claim the name."
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
"description": "Name and optional tags for the new Guard object. Set 'onChain: true' to create a public on-chain identity. When using root.type='file', this field OVERRIDES namedNew in the file."
|
|
119
|
-
},
|
|
120
|
-
"guard_description": {
|
|
121
|
-
"anyOf": [
|
|
122
|
-
{
|
|
123
|
-
"not": {}
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"type": "string",
|
|
127
|
-
"description": "Description string (max 4000 bcs characters)"
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
"description": "Guard description. When using root.type='file', this field OVERRIDES description in the file."
|
|
131
|
-
},
|
|
132
|
-
"guard_table": {
|
|
133
|
-
"anyOf": [
|
|
134
|
-
{
|
|
135
|
-
"not": {}
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"type": "array",
|
|
139
|
-
"items": {
|
|
140
|
-
"type": "object",
|
|
141
|
-
"properties": {
|
|
142
|
-
"identifier": {
|
|
143
|
-
"type": "integer",
|
|
144
|
-
"minimum": 0,
|
|
145
|
-
"maximum": 255,
|
|
146
|
-
"description": "Identifier (0-255) for data lookup in Guard table."
|
|
147
|
-
},
|
|
148
|
-
"b_submission": {
|
|
149
|
-
"type": "boolean",
|
|
150
|
-
"description": "Whether user submission is required for this data"
|
|
151
|
-
},
|
|
152
|
-
"value_type": {
|
|
153
|
-
"anyOf": [
|
|
154
|
-
{
|
|
155
|
-
"type": "number",
|
|
156
|
-
"const": 0,
|
|
157
|
-
"description": "Bool (0)"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"type": "number",
|
|
161
|
-
"const": 1,
|
|
162
|
-
"description": "Address (1)"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"type": "number",
|
|
166
|
-
"const": 2,
|
|
167
|
-
"description": "String (2)"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"type": "number",
|
|
171
|
-
"const": 3,
|
|
172
|
-
"description": "U8 (3)"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"type": "number",
|
|
176
|
-
"const": 4,
|
|
177
|
-
"description": "U16 (4)"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"type": "number",
|
|
181
|
-
"const": 5,
|
|
182
|
-
"description": "U32 (5)"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"type": "number",
|
|
186
|
-
"const": 6,
|
|
187
|
-
"description": "U64 (6)"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"type": "number",
|
|
191
|
-
"const": 7,
|
|
192
|
-
"description": "U128 (7)"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"type": "number",
|
|
196
|
-
"const": 8,
|
|
197
|
-
"description": "U256 (8)"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"type": "number",
|
|
201
|
-
"const": 9,
|
|
202
|
-
"description": "VecBool (9)"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"type": "number",
|
|
206
|
-
"const": 10,
|
|
207
|
-
"description": "VecAddress (10)"
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"type": "number",
|
|
211
|
-
"const": 11,
|
|
212
|
-
"description": "VecString (11)"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"type": "number",
|
|
216
|
-
"const": 12,
|
|
217
|
-
"description": "VecU8 (12)"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
"type": "number",
|
|
221
|
-
"const": 13,
|
|
222
|
-
"description": "VecU16 (13)"
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"type": "number",
|
|
226
|
-
"const": 14,
|
|
227
|
-
"description": "VecU32 (14)"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
"type": "number",
|
|
231
|
-
"const": 15,
|
|
232
|
-
"description": "VecU64 (15)"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"type": "number",
|
|
236
|
-
"const": 16,
|
|
237
|
-
"description": "VecU128 (16)"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"type": "number",
|
|
241
|
-
"const": 17,
|
|
242
|
-
"description": "VecU256 (17)"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"type": "number",
|
|
246
|
-
"const": 18,
|
|
247
|
-
"description": "VecVecU8 (18)"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"type": "string",
|
|
251
|
-
"const": "Bool",
|
|
252
|
-
"description": "Bool"
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"type": "string",
|
|
256
|
-
"const": "Address",
|
|
257
|
-
"description": "Address"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"type": "string",
|
|
261
|
-
"const": "String",
|
|
262
|
-
"description": "String"
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"type": "string",
|
|
266
|
-
"const": "U8",
|
|
267
|
-
"description": "U8"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"type": "string",
|
|
271
|
-
"const": "U16",
|
|
272
|
-
"description": "U16"
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"type": "string",
|
|
276
|
-
"const": "U32",
|
|
277
|
-
"description": "U32"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"type": "string",
|
|
281
|
-
"const": "U64",
|
|
282
|
-
"description": "U64"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"type": "string",
|
|
286
|
-
"const": "U128",
|
|
287
|
-
"description": "U128"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"type": "string",
|
|
291
|
-
"const": "U256",
|
|
292
|
-
"description": "U256"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"type": "string",
|
|
296
|
-
"const": "VecBool",
|
|
297
|
-
"description": "VecBool"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"type": "string",
|
|
301
|
-
"const": "VecAddress",
|
|
302
|
-
"description": "VecAddress"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"type": "string",
|
|
306
|
-
"const": "VecString",
|
|
307
|
-
"description": "VecString"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"type": "string",
|
|
311
|
-
"const": "VecU8",
|
|
312
|
-
"description": "VecU8"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"type": "string",
|
|
316
|
-
"const": "VecU16",
|
|
317
|
-
"description": "VecU16"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"type": "string",
|
|
321
|
-
"const": "VecU32",
|
|
322
|
-
"description": "VecU32"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"type": "string",
|
|
326
|
-
"const": "VecU64",
|
|
327
|
-
"description": "VecU64"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
"type": "string",
|
|
331
|
-
"const": "VecU128",
|
|
332
|
-
"description": "VecU128"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"type": "string",
|
|
336
|
-
"const": "VecU256",
|
|
337
|
-
"description": "VecU256"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"type": "string",
|
|
341
|
-
"const": "VecVecU8",
|
|
342
|
-
"description": "VecVecU8"
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"type": "string",
|
|
346
|
-
"const": "bool",
|
|
347
|
-
"description": "bool"
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"type": "string",
|
|
351
|
-
"const": "address",
|
|
352
|
-
"description": "address"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"type": "string",
|
|
356
|
-
"const": "string",
|
|
357
|
-
"description": "string"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"type": "string",
|
|
361
|
-
"const": "u8",
|
|
362
|
-
"description": "u8"
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"type": "string",
|
|
366
|
-
"const": "u16",
|
|
367
|
-
"description": "u16"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"type": "string",
|
|
371
|
-
"const": "u32",
|
|
372
|
-
"description": "u32"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"type": "string",
|
|
376
|
-
"const": "u64",
|
|
377
|
-
"description": "u64"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"type": "string",
|
|
381
|
-
"const": "u128",
|
|
382
|
-
"description": "u128"
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
"type": "string",
|
|
386
|
-
"const": "u256",
|
|
387
|
-
"description": "u256"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
"type": "string",
|
|
391
|
-
"const": "vecbool",
|
|
392
|
-
"description": "vecbool"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"type": "string",
|
|
396
|
-
"const": "vecaddress",
|
|
397
|
-
"description": "vecaddress"
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"type": "string",
|
|
401
|
-
"const": "vecstring",
|
|
402
|
-
"description": "vecstring"
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"type": "string",
|
|
406
|
-
"const": "vecu8",
|
|
407
|
-
"description": "vecu8"
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
"type": "string",
|
|
411
|
-
"const": "vecu16",
|
|
412
|
-
"description": "vecu16"
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"type": "string",
|
|
416
|
-
"const": "vecu32",
|
|
417
|
-
"description": "vecu32"
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"type": "string",
|
|
421
|
-
"const": "vecu64",
|
|
422
|
-
"description": "vecu64"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"type": "string",
|
|
426
|
-
"const": "vecu128",
|
|
427
|
-
"description": "vecu128"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"type": "string",
|
|
431
|
-
"const": "vecu256",
|
|
432
|
-
"description": "vecu256"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"type": "string",
|
|
436
|
-
"const": "vecvecu8",
|
|
437
|
-
"description": "vecvecu8"
|
|
438
|
-
}
|
|
439
|
-
],
|
|
440
|
-
"description": "Type of the value"
|
|
441
|
-
},
|
|
442
|
-
"value": {
|
|
443
|
-
"anyOf": [
|
|
444
|
-
{
|
|
445
|
-
"type": "boolean"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"anyOf": [
|
|
449
|
-
{
|
|
450
|
-
"type": "object",
|
|
451
|
-
"properties": {
|
|
452
|
-
"name_or_address": {
|
|
453
|
-
"type": "string",
|
|
454
|
-
"description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
|
|
455
|
-
},
|
|
456
|
-
"local_mark_first": {
|
|
457
|
-
"type": "boolean",
|
|
458
|
-
"description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks"
|
|
459
|
-
}
|
|
460
|
-
},
|
|
461
|
-
"additionalProperties": false,
|
|
462
|
-
"description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
"type": "string"
|
|
466
|
-
}
|
|
467
|
-
]
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"type": "string"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
"type": "number"
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"type": "array",
|
|
477
|
-
"items": {
|
|
478
|
-
"type": "boolean"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"anyOf": [
|
|
483
|
-
{
|
|
484
|
-
"type": "object",
|
|
485
|
-
"properties": {
|
|
486
|
-
"entities": {
|
|
487
|
-
"type": "array",
|
|
488
|
-
"items": {
|
|
489
|
-
"$ref": "#/definitions/guard_table/anyOf/1/items/properties/value/anyOf/1/anyOf/0"
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
"check_all_founded": {
|
|
493
|
-
"type": "boolean",
|
|
494
|
-
"description": "Whether to check all entities are found, if true, all entities must be found (abort and throw exception if any ID not found); if false, only return found IDs"
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
"required": [
|
|
498
|
-
"entities"
|
|
499
|
-
],
|
|
500
|
-
"additionalProperties": false,
|
|
501
|
-
"description": "Used to batch find account or object IDs by name"
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"type": "array",
|
|
505
|
-
"items": {
|
|
506
|
-
"type": "string"
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
]
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"type": "array",
|
|
513
|
-
"items": {
|
|
514
|
-
"type": "string"
|
|
515
|
-
}
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
"type": "array",
|
|
519
|
-
"items": {
|
|
520
|
-
"type": "number"
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"type": "array",
|
|
525
|
-
"items": {
|
|
526
|
-
"type": "array",
|
|
527
|
-
"items": {
|
|
528
|
-
"type": "number"
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
],
|
|
533
|
-
"description": "The actual value data"
|
|
534
|
-
},
|
|
535
|
-
"name": {
|
|
536
|
-
"type": "string",
|
|
537
|
-
"default": "",
|
|
538
|
-
"description": "Name or description of this data"
|
|
539
|
-
}
|
|
540
|
-
},
|
|
541
|
-
"required": [
|
|
542
|
-
"identifier",
|
|
543
|
-
"b_submission",
|
|
544
|
-
"value_type"
|
|
545
|
-
],
|
|
546
|
-
"additionalProperties": false,
|
|
547
|
-
"description": "Guard table item"
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
],
|
|
551
|
-
"description": "Data table of the Guard object. When using root.type='file', this field OVERRIDES table in the file."
|
|
552
|
-
},
|
|
553
|
-
"guard_rely": {
|
|
554
|
-
"anyOf": [
|
|
555
|
-
{
|
|
556
|
-
"not": {}
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"type": "object",
|
|
560
|
-
"properties": {
|
|
561
|
-
"guards": {
|
|
562
|
-
"type": "array",
|
|
563
|
-
"items": {
|
|
564
|
-
"type": "string",
|
|
565
|
-
"description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
|
|
566
|
-
},
|
|
567
|
-
"description": "List of dependent Guard object IDs or names."
|
|
568
|
-
},
|
|
569
|
-
"logic_or": {
|
|
570
|
-
"type": "boolean",
|
|
571
|
-
"description": "Whether to use logical OR operator."
|
|
572
|
-
}
|
|
573
|
-
},
|
|
574
|
-
"required": [
|
|
575
|
-
"guards"
|
|
576
|
-
],
|
|
577
|
-
"additionalProperties": false
|
|
578
|
-
}
|
|
579
|
-
],
|
|
580
|
-
"description": "All Guard objects that the new Guard object depends on. If logic_or is true, the execution result of the new Guard object is the logical OR of the execution results of all dependent Guard objects; otherwise, it is logical AND. When using root.type='file', this field OVERRIDES rely in the file."
|
|
581
|
-
},
|
|
582
|
-
"guard_binding_hint": {
|
|
583
|
-
"anyOf": [
|
|
584
|
-
{
|
|
585
|
-
"not": {}
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
"type": "object",
|
|
589
|
-
"properties": {
|
|
590
|
-
"action": {
|
|
591
|
-
"type": "string",
|
|
592
|
-
"enum": [
|
|
593
|
-
"buy",
|
|
594
|
-
"forward",
|
|
595
|
-
"allocate",
|
|
596
|
-
"claim_reward",
|
|
597
|
-
"vote",
|
|
598
|
-
"dispute",
|
|
599
|
-
"write_repository",
|
|
600
|
-
"submit_progress",
|
|
601
|
-
"gen_passport",
|
|
602
|
-
"custom"
|
|
603
|
-
],
|
|
604
|
-
"description": "Protected action type. Example: 'buy' for Service buy_guard, 'forward' for Machine Forward.guard."
|
|
605
|
-
},
|
|
606
|
-
"host_object": {
|
|
607
|
-
"type": "string",
|
|
608
|
-
"enum": [
|
|
609
|
-
"Service",
|
|
610
|
-
"Machine",
|
|
611
|
-
"Arbitration",
|
|
612
|
-
"Reward",
|
|
613
|
-
"Repository",
|
|
614
|
-
"Progress",
|
|
615
|
-
"Demand",
|
|
616
|
-
"Standalone"
|
|
617
|
-
],
|
|
618
|
-
"description": "Host object type. Example: 'Service', 'Machine'."
|
|
619
|
-
},
|
|
620
|
-
"binding_field": {
|
|
621
|
-
"type": "string",
|
|
622
|
-
"enum": [
|
|
623
|
-
"buy_guard",
|
|
624
|
-
"order_allocators",
|
|
625
|
-
"Forward.guard",
|
|
626
|
-
"submission",
|
|
627
|
-
"guard",
|
|
628
|
-
"write_guard",
|
|
629
|
-
"usage_guard",
|
|
630
|
-
"voting_guard",
|
|
631
|
-
"ServiceGuard",
|
|
632
|
-
"none"
|
|
633
|
-
],
|
|
634
|
-
"description": "Binding field. Example: 'buy_guard', 'Forward.guard'."
|
|
635
|
-
},
|
|
636
|
-
"rule_sentence": {
|
|
637
|
-
"type": "string",
|
|
638
|
-
"description": "One-sentence description of the validation rule (human-readable). Example: 'Only the author can purchase this service'."
|
|
639
|
-
},
|
|
640
|
-
"failure_conditions": {
|
|
641
|
-
"type": "array",
|
|
642
|
-
"items": {
|
|
643
|
-
"type": "string"
|
|
644
|
-
},
|
|
645
|
-
"description": "List of conditions under which the Guard should FAIL. Example: ['Signer is not in allowlist','Order is already completed']."
|
|
646
|
-
},
|
|
647
|
-
"circular_reference": {
|
|
648
|
-
"type": "boolean",
|
|
649
|
-
"description": "Whether the Guard references the Host Object itself (circular reference pattern). true=Guard queries the Host Object it binds to."
|
|
650
|
-
}
|
|
651
|
-
},
|
|
652
|
-
"required": [
|
|
653
|
-
"action",
|
|
654
|
-
"host_object",
|
|
655
|
-
"binding_field"
|
|
656
|
-
],
|
|
657
|
-
"additionalProperties": false,
|
|
658
|
-
"description": "Optional semantic hint for Guard capability system. Provides intent + binding context so the MCP server can derive GuardPuzzle, run risk assessment, and generate confirmation text. Strongly recommended: fill this field to enable puzzle_status, matched_scene, suggested_patterns, confirmation_text, and pending_questions in the response guard_advice."
|
|
659
|
-
}
|
|
660
|
-
],
|
|
661
|
-
"description": "Phase 5 Guard capability hint. Provides semantic context (action + host_object + binding_field + optional rule/failure_conditions) for puzzle derivation. When provided, the response will include complete guard_advice (puzzle_status, matched_scene, suggested_patterns, confirmation_text, pending_questions). When absent, puzzle_status intent/binding dimensions are marked incomplete."
|
|
662
|
-
},
|
|
663
86
|
"env": {
|
|
664
87
|
"type": "object",
|
|
665
88
|
"properties": {
|
|
@@ -714,6 +137,10 @@
|
|
|
714
137
|
"schema_strict_mode": {
|
|
715
138
|
"type": "boolean",
|
|
716
139
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
140
|
+
},
|
|
141
|
+
"dry_run": {
|
|
142
|
+
"type": "boolean",
|
|
143
|
+
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify an operation will succeed before committing. Essential for the 5-step loop's Plan step. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only)."
|
|
717
144
|
}
|
|
718
145
|
},
|
|
719
146
|
"additionalProperties": false,
|
|
@@ -859,6 +859,10 @@
|
|
|
859
859
|
"schema_strict_mode": {
|
|
860
860
|
"type": "boolean",
|
|
861
861
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
862
|
+
},
|
|
863
|
+
"dry_run": {
|
|
864
|
+
"type": "boolean",
|
|
865
|
+
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify an operation will succeed before committing. Essential for the 5-step loop's Plan step. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only)."
|
|
862
866
|
}
|
|
863
867
|
},
|
|
864
868
|
"additionalProperties": false,
|
|
@@ -340,6 +340,10 @@
|
|
|
340
340
|
"schema_strict_mode": {
|
|
341
341
|
"type": "boolean",
|
|
342
342
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
343
|
+
},
|
|
344
|
+
"dry_run": {
|
|
345
|
+
"type": "boolean",
|
|
346
|
+
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify an operation will succeed before committing. Essential for the 5-step loop's Plan step. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only)."
|
|
343
347
|
}
|
|
344
348
|
},
|
|
345
349
|
"additionalProperties": false,
|
|
@@ -220,6 +220,10 @@
|
|
|
220
220
|
"schema_strict_mode": {
|
|
221
221
|
"type": "boolean",
|
|
222
222
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
223
|
+
},
|
|
224
|
+
"dry_run": {
|
|
225
|
+
"type": "boolean",
|
|
226
|
+
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify an operation will succeed before committing. Essential for the 5-step loop's Plan step. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only)."
|
|
223
227
|
}
|
|
224
228
|
},
|
|
225
229
|
"additionalProperties": false,
|
|
@@ -591,6 +591,10 @@
|
|
|
591
591
|
"schema_strict_mode": {
|
|
592
592
|
"type": "boolean",
|
|
593
593
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
594
|
+
},
|
|
595
|
+
"dry_run": {
|
|
596
|
+
"type": "boolean",
|
|
597
|
+
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify an operation will succeed before committing. Essential for the 5-step loop's Plan step. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only)."
|
|
594
598
|
}
|
|
595
599
|
},
|
|
596
600
|
"additionalProperties": false,
|
|
@@ -785,6 +785,10 @@
|
|
|
785
785
|
"schema_strict_mode": {
|
|
786
786
|
"type": "boolean",
|
|
787
787
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
788
|
+
},
|
|
789
|
+
"dry_run": {
|
|
790
|
+
"type": "boolean",
|
|
791
|
+
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify an operation will succeed before committing. Essential for the 5-step loop's Plan step. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only)."
|
|
788
792
|
}
|
|
789
793
|
},
|
|
790
794
|
"additionalProperties": false,
|
|
@@ -261,6 +261,10 @@
|
|
|
261
261
|
"schema_strict_mode": {
|
|
262
262
|
"type": "boolean",
|
|
263
263
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
264
|
+
},
|
|
265
|
+
"dry_run": {
|
|
266
|
+
"type": "boolean",
|
|
267
|
+
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify an operation will succeed before committing. Essential for the 5-step loop's Plan step. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only)."
|
|
264
268
|
}
|
|
265
269
|
},
|
|
266
270
|
"additionalProperties": false,
|
|
@@ -179,6 +179,10 @@
|
|
|
179
179
|
"schema_strict_mode": {
|
|
180
180
|
"type": "boolean",
|
|
181
181
|
"description": "When true, schema incompatibility returns an error instead of a warning. Default: false (warn mode)."
|
|
182
|
+
},
|
|
183
|
+
"dry_run": {
|
|
184
|
+
"type": "boolean",
|
|
185
|
+
"description": "Phase 1 dry_run: when true, SIMULATE the transaction without signing or submitting. Returns effects + events showing what WOULD happen — no on-chain state is modified, no gas is charged. Use this to verify an operation will succeed before committing. Essential for the 5-step loop's Plan step. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only)."
|
|
182
186
|
}
|
|
183
187
|
},
|
|
184
188
|
"additionalProperties": false,
|