@wowok/agent-mcp 3.0.2 → 3.0.4
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/LICENSE +0 -3
- package/dist/harness/recover.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/knowledge/account-marks.js +1 -1
- package/dist/knowledge/arbitration-risk.js +1 -1
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/flywheel-loop.d.ts +4 -52
- package/dist/knowledge/flywheel-loop.js +1 -1
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/index.d.ts +2 -225
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/machine-risk.js +1 -1
- package/dist/knowledge/machine-translation.js +1 -1
- package/dist/knowledge/onchain-constants.js +1 -1
- package/dist/knowledge/order-ledger.d.ts +2 -2
- package/dist/knowledge/order-ledger.js +1 -1
- package/dist/knowledge/order-puzzle.d.ts +4 -4
- package/dist/knowledge/order-puzzle.js +1 -1
- package/dist/knowledge/order-risk.d.ts +1 -0
- package/dist/knowledge/order-risk.js +1 -1
- package/dist/knowledge/order-templates.d.ts +1 -1
- package/dist/knowledge/order-templates.js +1 -1
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/service-risk.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workspace-lists.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/context-assembly.d.ts +3 -1
- package/dist/playbooks/service-build/context-assembly.js +1 -1
- package/dist/playbooks/service-build/machine-nodes.d.ts +2 -0
- package/dist/playbooks/service-build/machine-nodes.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.d.ts +7 -0
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/review/machine.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- 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 +17 -3
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +29 -0
- package/dist/schema/call/bridge.js +1 -1
- package/dist/schema/call/contact.d.ts +5 -0
- package/dist/schema/call/demand.d.ts +5 -0
- package/dist/schema/call/error-codes.d.ts +2 -0
- package/dist/schema/call/error-codes.js +1 -0
- package/dist/schema/call/guard.d.ts +19 -4
- 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/semantic.d.ts +9 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +5 -0
- package/dist/schema/call/treasury.d.ts +5 -0
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/goal/index.d.ts +3 -3
- package/dist/schema/goal/planning.d.ts +2 -2
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +4 -4
- package/dist/schema/industry-pack/modes.d.ts +4 -4
- package/dist/schema/interaction/index.d.ts +34 -0
- package/dist/schema/interaction/index.js +1 -0
- package/dist/schema/local/index.d.ts +558 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +31 -25
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +91 -1
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +2 -2
- package/dist/schema/query/bi.d.ts +0 -4
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/trust/index.d.ts +3 -3
- package/dist/schema/workspace/index.d.ts +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +4 -0
- package/dist/schemas/ask_user.output.json +54 -0
- package/dist/schemas/ask_user.schema.json +78 -0
- package/dist/schemas/bridge_operation.output.json +4 -0
- package/dist/schemas/bridge_operation.schema.json +50 -5
- package/dist/schemas/guard2file.schema.json +10 -1
- package/dist/schemas/index.json +13 -1
- package/dist/schemas/local_history_operation.output.json +1458 -0
- package/dist/schemas/local_history_operation.schema.json +105 -0
- package/dist/schemas/local_info_operation.output.json +4 -0
- package/dist/schemas/local_mark_operation.output.json +4 -0
- package/dist/schemas/machineNode2file.schema.json +10 -1
- package/dist/schemas/messenger_operation.output.json +8 -0
- package/dist/schemas/messenger_operation.schema.json +8 -0
- package/dist/schemas/onchain_events.output.json +2 -2
- package/dist/schemas/onchain_operations.output.json +4 -1
- package/dist/schemas/onchain_operations.schema.json +210 -28
- package/dist/schemas/onchain_operations_allocation.schema.json +10 -1
- package/dist/schemas/onchain_operations_arbitration.schema.json +10 -1
- package/dist/schemas/onchain_operations_contact.schema.json +10 -1
- package/dist/schemas/onchain_operations_demand.schema.json +10 -1
- package/dist/schemas/onchain_operations_gen_passport.schema.json +10 -1
- package/dist/schemas/onchain_operations_gen_proof.schema.json +10 -1
- package/dist/schemas/onchain_operations_guard.schema.json +40 -11
- package/dist/schemas/onchain_operations_machine.schema.json +10 -1
- package/dist/schemas/onchain_operations_order.schema.json +10 -1
- package/dist/schemas/onchain_operations_payment.schema.json +10 -1
- package/dist/schemas/onchain_operations_permission.schema.json +10 -1
- package/dist/schemas/onchain_operations_personal.schema.json +10 -1
- package/dist/schemas/onchain_operations_progress.schema.json +10 -1
- package/dist/schemas/onchain_operations_proof.schema.json +10 -1
- package/dist/schemas/onchain_operations_repository.schema.json +10 -1
- package/dist/schemas/onchain_operations_reward.schema.json +10 -1
- package/dist/schemas/onchain_operations_service.schema.json +10 -1
- package/dist/schemas/onchain_operations_treasury.schema.json +10 -1
- package/dist/schemas/query_toolkit.output.json +17 -16
- package/dist/schemas/query_toolkit.schema.json +1 -1
- package/dist/tools/handlers/ask-user.d.ts +3 -0
- package/dist/tools/handlers/ask-user.js +1 -0
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/local.d.ts +1 -0
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/bridge.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/interaction.d.ts +2 -0
- package/dist/tools/registry/interaction.js +1 -0
- package/dist/tools/registry/local.js +1 -1
- package/dist/tools/registry/monitor.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/types.d.ts +7 -1
- package/dist/tools/wrap.d.ts +3 -3
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
- package/dist/knowledge/allocation-confirm.d.ts +0 -115
- package/dist/knowledge/allocation-confirm.js +0 -1
- package/dist/knowledge/allocation-context.d.ts +0 -58
- package/dist/knowledge/allocation-context.js +0 -1
- package/dist/knowledge/allocation-translation.d.ts +0 -72
- package/dist/knowledge/allocation-translation.js +0 -1
- package/dist/knowledge/arb-confirm.d.ts +0 -28
- package/dist/knowledge/arb-confirm.js +0 -1
- package/dist/knowledge/arb-translation.d.ts +0 -48
- package/dist/knowledge/arb-translation.js +0 -1
- package/dist/knowledge/arbitration-confirm.d.ts +0 -135
- package/dist/knowledge/arbitration-confirm.js +0 -1
- package/dist/knowledge/arbitration-context.d.ts +0 -81
- package/dist/knowledge/arbitration-context.js +0 -1
- package/dist/knowledge/arbitration-translation.d.ts +0 -91
- package/dist/knowledge/arbitration-translation.js +0 -1
- package/dist/knowledge/bridge-confirm.d.ts +0 -26
- package/dist/knowledge/bridge-confirm.js +0 -1
- package/dist/knowledge/bridge-translation.d.ts +0 -37
- package/dist/knowledge/bridge-translation.js +0 -1
- package/dist/knowledge/contact-confirm.d.ts +0 -27
- package/dist/knowledge/contact-confirm.js +0 -1
- package/dist/knowledge/contact-translation.d.ts +0 -39
- package/dist/knowledge/contact-translation.js +0 -1
- package/dist/knowledge/demand-confirm.d.ts +0 -32
- package/dist/knowledge/demand-confirm.js +0 -1
- package/dist/knowledge/demand-context.d.ts +0 -17
- package/dist/knowledge/demand-context.js +0 -1
- package/dist/knowledge/demand-ledger.d.ts +0 -26
- package/dist/knowledge/demand-ledger.js +0 -1
- package/dist/knowledge/demand-puzzle.d.ts +0 -29
- package/dist/knowledge/demand-puzzle.js +0 -1
- package/dist/knowledge/demand-templates.d.ts +0 -12
- package/dist/knowledge/demand-templates.js +0 -1
- package/dist/knowledge/demand-translation.d.ts +0 -55
- package/dist/knowledge/demand-translation.js +0 -1
- package/dist/knowledge/examples-scanner-cli.d.ts +0 -1
- package/dist/knowledge/examples-scanner-cli.js +0 -1
- package/dist/knowledge/examples-scanner.d.ts +0 -121
- package/dist/knowledge/examples-scanner.js +0 -1
- package/dist/knowledge/glossary.d.ts +0 -18
- package/dist/knowledge/glossary.js +0 -1
- package/dist/knowledge/guard-bytecode-spec.d.ts +0 -82
- package/dist/knowledge/guard-bytecode-spec.js +0 -1
- package/dist/knowledge/guard-confirm.d.ts +0 -86
- package/dist/knowledge/guard-confirm.js +0 -1
- package/dist/knowledge/immutability.d.ts +0 -11
- package/dist/knowledge/immutability.js +0 -1
- package/dist/knowledge/machine-confirm.d.ts +0 -102
- package/dist/knowledge/machine-confirm.js +0 -1
- package/dist/knowledge/machine-context.d.ts +0 -160
- package/dist/knowledge/machine-context.js +0 -1
- package/dist/knowledge/machine-render.d.ts +0 -41
- package/dist/knowledge/machine-render.js +0 -1
- package/dist/knowledge/mcp-schema-audit-cli.d.ts +0 -1
- package/dist/knowledge/mcp-schema-audit-cli.js +0 -1
- package/dist/knowledge/mcp-schema-audit.d.ts +0 -91
- package/dist/knowledge/mcp-schema-audit.js +0 -1
- package/dist/knowledge/messenger-guard-guidance.d.ts +0 -17
- package/dist/knowledge/messenger-guard-guidance.js +0 -1
- package/dist/knowledge/order-confirm.d.ts +0 -115
- package/dist/knowledge/order-confirm.js +0 -1
- package/dist/knowledge/order-context.d.ts +0 -66
- package/dist/knowledge/order-context.js +0 -1
- package/dist/knowledge/order-translation.d.ts +0 -78
- package/dist/knowledge/order-translation.js +0 -1
- package/dist/knowledge/overrides-loader.d.ts +0 -13
- package/dist/knowledge/overrides-loader.js +0 -1
- package/dist/knowledge/passport-confirm.d.ts +0 -130
- package/dist/knowledge/passport-confirm.js +0 -1
- package/dist/knowledge/passport-context.d.ts +0 -59
- package/dist/knowledge/passport-context.js +0 -1
- package/dist/knowledge/passport-puzzle.d.ts +0 -108
- package/dist/knowledge/passport-puzzle.js +0 -1
- package/dist/knowledge/passport-risk.d.ts +0 -70
- package/dist/knowledge/passport-risk.js +0 -1
- package/dist/knowledge/passport-translation.d.ts +0 -68
- package/dist/knowledge/passport-translation.js +0 -1
- package/dist/knowledge/payment-confirm.d.ts +0 -26
- package/dist/knowledge/payment-confirm.js +0 -1
- package/dist/knowledge/payment-translation.d.ts +0 -37
- package/dist/knowledge/payment-translation.js +0 -1
- package/dist/knowledge/permission-confirm.d.ts +0 -110
- package/dist/knowledge/permission-confirm.js +0 -1
- package/dist/knowledge/permission-context.d.ts +0 -69
- package/dist/knowledge/permission-context.js +0 -1
- package/dist/knowledge/permission-translation.d.ts +0 -57
- package/dist/knowledge/permission-translation.js +0 -1
- package/dist/knowledge/personal-confirm.d.ts +0 -29
- package/dist/knowledge/personal-confirm.js +0 -1
- package/dist/knowledge/personal-translation.d.ts +0 -37
- package/dist/knowledge/personal-translation.js +0 -1
- package/dist/knowledge/process-model.d.ts +0 -14
- package/dist/knowledge/process-model.js +0 -1
- package/dist/knowledge/progress-confirm.d.ts +0 -108
- package/dist/knowledge/progress-confirm.js +0 -1
- package/dist/knowledge/progress-context.d.ts +0 -123
- package/dist/knowledge/progress-context.js +0 -1
- package/dist/knowledge/progress-translation.d.ts +0 -52
- package/dist/knowledge/progress-translation.js +0 -1
- package/dist/knowledge/proof-confirm.d.ts +0 -31
- package/dist/knowledge/proof-confirm.js +0 -1
- package/dist/knowledge/proof-context.d.ts +0 -17
- package/dist/knowledge/proof-context.js +0 -1
- package/dist/knowledge/proof-ledger.d.ts +0 -34
- package/dist/knowledge/proof-ledger.js +0 -1
- package/dist/knowledge/proof-puzzle.d.ts +0 -35
- package/dist/knowledge/proof-puzzle.js +0 -1
- package/dist/knowledge/proof-templates.d.ts +0 -22
- package/dist/knowledge/proof-templates.js +0 -1
- package/dist/knowledge/proof-translation.d.ts +0 -52
- package/dist/knowledge/proof-translation.js +0 -1
- package/dist/knowledge/registrar-confirm.d.ts +0 -26
- package/dist/knowledge/registrar-confirm.js +0 -1
- package/dist/knowledge/registrar-translation.d.ts +0 -37
- package/dist/knowledge/registrar-translation.js +0 -1
- package/dist/knowledge/repository-confirm.d.ts +0 -40
- package/dist/knowledge/repository-confirm.js +0 -1
- package/dist/knowledge/repository-context.d.ts +0 -12
- package/dist/knowledge/repository-context.js +0 -1
- package/dist/knowledge/repository-ledger.d.ts +0 -25
- package/dist/knowledge/repository-ledger.js +0 -1
- package/dist/knowledge/repository-puzzle.d.ts +0 -30
- package/dist/knowledge/repository-puzzle.js +0 -1
- package/dist/knowledge/repository-templates.d.ts +0 -14
- package/dist/knowledge/repository-templates.js +0 -1
- package/dist/knowledge/repository-translation.d.ts +0 -58
- package/dist/knowledge/repository-translation.js +0 -1
- package/dist/knowledge/resource-confirm.d.ts +0 -25
- package/dist/knowledge/resource-confirm.js +0 -1
- package/dist/knowledge/resource-translation.d.ts +0 -37
- package/dist/knowledge/resource-translation.js +0 -1
- package/dist/knowledge/reward-confirm.d.ts +0 -116
- package/dist/knowledge/reward-confirm.js +0 -1
- package/dist/knowledge/reward-context.d.ts +0 -127
- package/dist/knowledge/reward-context.js +0 -1
- package/dist/knowledge/reward-translation.d.ts +0 -58
- package/dist/knowledge/reward-translation.js +0 -1
- package/dist/knowledge/service-confirm.d.ts +0 -161
- package/dist/knowledge/service-confirm.js +0 -1
- package/dist/knowledge/service-context.d.ts +0 -66
- package/dist/knowledge/service-context.js +0 -1
- package/dist/knowledge/service-translation.d.ts +0 -103
- package/dist/knowledge/service-translation.js +0 -1
- package/dist/knowledge/treasury-confirm.d.ts +0 -133
- package/dist/knowledge/treasury-confirm.js +0 -1
- package/dist/knowledge/treasury-context.d.ts +0 -64
- package/dist/knowledge/treasury-context.js +0 -1
- package/dist/knowledge/treasury-translation.d.ts +0 -78
- package/dist/knowledge/treasury-translation.js +0 -1
- package/dist/knowledge/util-confirm.d.ts +0 -24
- package/dist/knowledge/util-confirm.js +0 -1
- package/dist/knowledge/util-translation.d.ts +0 -39
- package/dist/knowledge/util-translation.js +0 -1
- package/dist/loop-engineering/aggregate.d.ts +0 -50
- package/dist/loop-engineering/aggregate.js +0 -1
- package/dist/loop-engineering/context-collect.d.ts +0 -7
- package/dist/loop-engineering/context-collect.js +0 -1
- package/dist/loop-engineering/diagnose.d.ts +0 -22
- package/dist/loop-engineering/diagnose.js +0 -1
- package/dist/loop-engineering/improve.d.ts +0 -55
- package/dist/loop-engineering/improve.js +0 -1
- package/dist/loop-engineering/index.d.ts +0 -4
- package/dist/loop-engineering/index.js +0 -1
- package/dist/loop-engineering/pipeline.d.ts +0 -17
- package/dist/loop-engineering/pipeline.js +0 -1
- package/dist/schema/utils/object-type-utils.d.ts +0 -12
- package/dist/schema/utils/object-type-utils.js +0 -1
- package/dist/telemetry/index.d.ts +0 -19
- package/dist/telemetry/index.js +0 -1
- package/dist/telemetry/redact.d.ts +0 -2
- package/dist/telemetry/redact.js +0 -1
- package/dist/telemetry/storage.d.ts +0 -8
- package/dist/telemetry/storage.js +0 -1
|
@@ -1285,11 +1285,13 @@
|
|
|
1285
1285
|
"const": "vec_contains_bool"
|
|
1286
1286
|
},
|
|
1287
1287
|
"nodes": {
|
|
1288
|
+
"minItems": 2,
|
|
1289
|
+
"maxItems": 8,
|
|
1288
1290
|
"type": "array",
|
|
1289
1291
|
"items": {
|
|
1290
1292
|
"$ref": "#/definitions/__schema0"
|
|
1291
1293
|
},
|
|
1292
|
-
"description": "
|
|
1294
|
+
"description": "First node must be VecBool (ValueType=9) or Value (ValueType=19), remaining nodes must be Bool (ValueType=0) or Value (ValueType=19)."
|
|
1293
1295
|
}
|
|
1294
1296
|
},
|
|
1295
1297
|
"required": [
|
|
@@ -1307,11 +1309,13 @@
|
|
|
1307
1309
|
"const": "vec_contains_address"
|
|
1308
1310
|
},
|
|
1309
1311
|
"nodes": {
|
|
1312
|
+
"minItems": 2,
|
|
1313
|
+
"maxItems": 8,
|
|
1310
1314
|
"type": "array",
|
|
1311
1315
|
"items": {
|
|
1312
1316
|
"$ref": "#/definitions/__schema0"
|
|
1313
1317
|
},
|
|
1314
|
-
"description": "
|
|
1318
|
+
"description": "First node must be VecAddress (ValueType=10) or Value (ValueType=19), remaining nodes must be Address (ValueType=1) or Value (ValueType=19)."
|
|
1315
1319
|
}
|
|
1316
1320
|
},
|
|
1317
1321
|
"required": [
|
|
@@ -1329,11 +1333,13 @@
|
|
|
1329
1333
|
"const": "vec_contains_string"
|
|
1330
1334
|
},
|
|
1331
1335
|
"nodes": {
|
|
1336
|
+
"minItems": 2,
|
|
1337
|
+
"maxItems": 8,
|
|
1332
1338
|
"type": "array",
|
|
1333
1339
|
"items": {
|
|
1334
1340
|
"$ref": "#/definitions/__schema0"
|
|
1335
1341
|
},
|
|
1336
|
-
"description": "
|
|
1342
|
+
"description": "First node must be VecString (ValueType=11) or Value (ValueType=19), remaining nodes must be String (ValueType=2) or Value (ValueType=19)."
|
|
1337
1343
|
}
|
|
1338
1344
|
},
|
|
1339
1345
|
"required": [
|
|
@@ -1351,11 +1357,13 @@
|
|
|
1351
1357
|
"const": "vec_contains_string_nocase"
|
|
1352
1358
|
},
|
|
1353
1359
|
"nodes": {
|
|
1360
|
+
"minItems": 2,
|
|
1361
|
+
"maxItems": 8,
|
|
1354
1362
|
"type": "array",
|
|
1355
1363
|
"items": {
|
|
1356
1364
|
"$ref": "#/definitions/__schema0"
|
|
1357
1365
|
},
|
|
1358
|
-
"description": "
|
|
1366
|
+
"description": "First node must be VecString (ValueType=11) or Value (ValueType=19), remaining nodes must be String (ValueType=2) or Value (ValueType=19)."
|
|
1359
1367
|
}
|
|
1360
1368
|
},
|
|
1361
1369
|
"required": [
|
|
@@ -1373,11 +1381,13 @@
|
|
|
1373
1381
|
"const": "vec_contains_number"
|
|
1374
1382
|
},
|
|
1375
1383
|
"nodes": {
|
|
1384
|
+
"minItems": 2,
|
|
1385
|
+
"maxItems": 8,
|
|
1376
1386
|
"type": "array",
|
|
1377
1387
|
"items": {
|
|
1378
1388
|
"$ref": "#/definitions/__schema0"
|
|
1379
1389
|
},
|
|
1380
|
-
"description": "
|
|
1390
|
+
"description": "First node must be VecU8 (12), VecU16 (13), VecU32 (14), VecU64 (15), VecU128 (16), VecU256 (17) or Value (ValueType=19), remaining nodes must be U8 (3), U16 (4), U32 (5), U64 (6), U128 (7), U256 (8) or Value (ValueType=19)."
|
|
1381
1391
|
}
|
|
1382
1392
|
},
|
|
1383
1393
|
"required": [
|
|
@@ -2420,8 +2430,17 @@
|
|
|
2420
2430
|
"type": "boolean"
|
|
2421
2431
|
},
|
|
2422
2432
|
"dry_run": {
|
|
2423
|
-
"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.
|
|
2433
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
2424
2434
|
"type": "boolean"
|
|
2435
|
+
},
|
|
2436
|
+
"confirm_mode": {
|
|
2437
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
2438
|
+
"type": "string",
|
|
2439
|
+
"enum": [
|
|
2440
|
+
"full",
|
|
2441
|
+
"streamlined",
|
|
2442
|
+
"quiet"
|
|
2443
|
+
]
|
|
2425
2444
|
}
|
|
2426
2445
|
},
|
|
2427
2446
|
"required": [
|
|
@@ -3259,11 +3278,13 @@
|
|
|
3259
3278
|
"const": "vec_contains_bool"
|
|
3260
3279
|
},
|
|
3261
3280
|
"nodes": {
|
|
3281
|
+
"minItems": 2,
|
|
3282
|
+
"maxItems": 8,
|
|
3262
3283
|
"type": "array",
|
|
3263
3284
|
"items": {
|
|
3264
3285
|
"$ref": "#/definitions/__schema0"
|
|
3265
3286
|
},
|
|
3266
|
-
"description": "
|
|
3287
|
+
"description": "First node must be VecBool (ValueType=9) or Value (ValueType=19), remaining nodes must be Bool (ValueType=0) or Value (ValueType=19)."
|
|
3267
3288
|
}
|
|
3268
3289
|
},
|
|
3269
3290
|
"required": [
|
|
@@ -3281,11 +3302,13 @@
|
|
|
3281
3302
|
"const": "vec_contains_address"
|
|
3282
3303
|
},
|
|
3283
3304
|
"nodes": {
|
|
3305
|
+
"minItems": 2,
|
|
3306
|
+
"maxItems": 8,
|
|
3284
3307
|
"type": "array",
|
|
3285
3308
|
"items": {
|
|
3286
3309
|
"$ref": "#/definitions/__schema0"
|
|
3287
3310
|
},
|
|
3288
|
-
"description": "
|
|
3311
|
+
"description": "First node must be VecAddress (ValueType=10) or Value (ValueType=19), remaining nodes must be Address (ValueType=1) or Value (ValueType=19)."
|
|
3289
3312
|
}
|
|
3290
3313
|
},
|
|
3291
3314
|
"required": [
|
|
@@ -3303,11 +3326,13 @@
|
|
|
3303
3326
|
"const": "vec_contains_string"
|
|
3304
3327
|
},
|
|
3305
3328
|
"nodes": {
|
|
3329
|
+
"minItems": 2,
|
|
3330
|
+
"maxItems": 8,
|
|
3306
3331
|
"type": "array",
|
|
3307
3332
|
"items": {
|
|
3308
3333
|
"$ref": "#/definitions/__schema0"
|
|
3309
3334
|
},
|
|
3310
|
-
"description": "
|
|
3335
|
+
"description": "First node must be VecString (ValueType=11) or Value (ValueType=19), remaining nodes must be String (ValueType=2) or Value (ValueType=19)."
|
|
3311
3336
|
}
|
|
3312
3337
|
},
|
|
3313
3338
|
"required": [
|
|
@@ -3325,11 +3350,13 @@
|
|
|
3325
3350
|
"const": "vec_contains_string_nocase"
|
|
3326
3351
|
},
|
|
3327
3352
|
"nodes": {
|
|
3353
|
+
"minItems": 2,
|
|
3354
|
+
"maxItems": 8,
|
|
3328
3355
|
"type": "array",
|
|
3329
3356
|
"items": {
|
|
3330
3357
|
"$ref": "#/definitions/__schema0"
|
|
3331
3358
|
},
|
|
3332
|
-
"description": "
|
|
3359
|
+
"description": "First node must be VecString (ValueType=11) or Value (ValueType=19), remaining nodes must be String (ValueType=2) or Value (ValueType=19)."
|
|
3333
3360
|
}
|
|
3334
3361
|
},
|
|
3335
3362
|
"required": [
|
|
@@ -3347,11 +3374,13 @@
|
|
|
3347
3374
|
"const": "vec_contains_number"
|
|
3348
3375
|
},
|
|
3349
3376
|
"nodes": {
|
|
3377
|
+
"minItems": 2,
|
|
3378
|
+
"maxItems": 8,
|
|
3350
3379
|
"type": "array",
|
|
3351
3380
|
"items": {
|
|
3352
3381
|
"$ref": "#/definitions/__schema0"
|
|
3353
3382
|
},
|
|
3354
|
-
"description": "
|
|
3383
|
+
"description": "First node must be VecU8 (12), VecU16 (13), VecU32 (14), VecU64 (15), VecU128 (16), VecU256 (17) or Value (ValueType=19), remaining nodes must be U8 (3), U16 (4), U32 (5), U64 (6), U128 (7), U256 (8) or Value (ValueType=19)."
|
|
3355
3384
|
}
|
|
3356
3385
|
},
|
|
3357
3386
|
"required": [
|
|
@@ -1245,8 +1245,17 @@
|
|
|
1245
1245
|
"type": "boolean"
|
|
1246
1246
|
},
|
|
1247
1247
|
"dry_run": {
|
|
1248
|
-
"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.
|
|
1248
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
1249
1249
|
"type": "boolean"
|
|
1250
|
+
},
|
|
1251
|
+
"confirm_mode": {
|
|
1252
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
1253
|
+
"type": "string",
|
|
1254
|
+
"enum": [
|
|
1255
|
+
"full",
|
|
1256
|
+
"streamlined",
|
|
1257
|
+
"quiet"
|
|
1258
|
+
]
|
|
1250
1259
|
}
|
|
1251
1260
|
},
|
|
1252
1261
|
"required": [
|
|
@@ -369,8 +369,17 @@
|
|
|
369
369
|
"type": "boolean"
|
|
370
370
|
},
|
|
371
371
|
"dry_run": {
|
|
372
|
-
"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.
|
|
372
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
373
373
|
"type": "boolean"
|
|
374
|
+
},
|
|
375
|
+
"confirm_mode": {
|
|
376
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
377
|
+
"type": "string",
|
|
378
|
+
"enum": [
|
|
379
|
+
"full",
|
|
380
|
+
"streamlined",
|
|
381
|
+
"quiet"
|
|
382
|
+
]
|
|
374
383
|
}
|
|
375
384
|
},
|
|
376
385
|
"required": [
|
|
@@ -261,8 +261,17 @@
|
|
|
261
261
|
"type": "boolean"
|
|
262
262
|
},
|
|
263
263
|
"dry_run": {
|
|
264
|
-
"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.
|
|
264
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
265
265
|
"type": "boolean"
|
|
266
|
+
},
|
|
267
|
+
"confirm_mode": {
|
|
268
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
269
|
+
"type": "string",
|
|
270
|
+
"enum": [
|
|
271
|
+
"full",
|
|
272
|
+
"streamlined",
|
|
273
|
+
"quiet"
|
|
274
|
+
]
|
|
266
275
|
}
|
|
267
276
|
},
|
|
268
277
|
"required": [
|
|
@@ -847,8 +847,17 @@
|
|
|
847
847
|
"type": "boolean"
|
|
848
848
|
},
|
|
849
849
|
"dry_run": {
|
|
850
|
-
"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.
|
|
850
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
851
851
|
"type": "boolean"
|
|
852
|
+
},
|
|
853
|
+
"confirm_mode": {
|
|
854
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
855
|
+
"type": "string",
|
|
856
|
+
"enum": [
|
|
857
|
+
"full",
|
|
858
|
+
"streamlined",
|
|
859
|
+
"quiet"
|
|
860
|
+
]
|
|
852
861
|
}
|
|
853
862
|
},
|
|
854
863
|
"required": [
|
|
@@ -962,8 +962,17 @@
|
|
|
962
962
|
"type": "boolean"
|
|
963
963
|
},
|
|
964
964
|
"dry_run": {
|
|
965
|
-
"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.
|
|
965
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
966
966
|
"type": "boolean"
|
|
967
|
+
},
|
|
968
|
+
"confirm_mode": {
|
|
969
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
970
|
+
"type": "string",
|
|
971
|
+
"enum": [
|
|
972
|
+
"full",
|
|
973
|
+
"streamlined",
|
|
974
|
+
"quiet"
|
|
975
|
+
]
|
|
967
976
|
}
|
|
968
977
|
},
|
|
969
978
|
"required": [
|
|
@@ -385,8 +385,17 @@
|
|
|
385
385
|
"type": "boolean"
|
|
386
386
|
},
|
|
387
387
|
"dry_run": {
|
|
388
|
-
"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.
|
|
388
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
389
389
|
"type": "boolean"
|
|
390
|
+
},
|
|
391
|
+
"confirm_mode": {
|
|
392
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
393
|
+
"type": "string",
|
|
394
|
+
"enum": [
|
|
395
|
+
"full",
|
|
396
|
+
"streamlined",
|
|
397
|
+
"quiet"
|
|
398
|
+
]
|
|
390
399
|
}
|
|
391
400
|
},
|
|
392
401
|
"required": [
|
|
@@ -171,8 +171,17 @@
|
|
|
171
171
|
"type": "boolean"
|
|
172
172
|
},
|
|
173
173
|
"dry_run": {
|
|
174
|
-
"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.
|
|
174
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
175
175
|
"type": "boolean"
|
|
176
|
+
},
|
|
177
|
+
"confirm_mode": {
|
|
178
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
179
|
+
"type": "string",
|
|
180
|
+
"enum": [
|
|
181
|
+
"full",
|
|
182
|
+
"streamlined",
|
|
183
|
+
"quiet"
|
|
184
|
+
]
|
|
176
185
|
}
|
|
177
186
|
},
|
|
178
187
|
"required": [
|
|
@@ -1012,8 +1012,17 @@
|
|
|
1012
1012
|
"type": "boolean"
|
|
1013
1013
|
},
|
|
1014
1014
|
"dry_run": {
|
|
1015
|
-
"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.
|
|
1015
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
1016
1016
|
"type": "boolean"
|
|
1017
|
+
},
|
|
1018
|
+
"confirm_mode": {
|
|
1019
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
1020
|
+
"type": "string",
|
|
1021
|
+
"enum": [
|
|
1022
|
+
"full",
|
|
1023
|
+
"streamlined",
|
|
1024
|
+
"quiet"
|
|
1025
|
+
]
|
|
1017
1026
|
}
|
|
1018
1027
|
},
|
|
1019
1028
|
"required": [
|
|
@@ -589,8 +589,17 @@
|
|
|
589
589
|
"type": "boolean"
|
|
590
590
|
},
|
|
591
591
|
"dry_run": {
|
|
592
|
-
"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.
|
|
592
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
593
593
|
"type": "boolean"
|
|
594
|
+
},
|
|
595
|
+
"confirm_mode": {
|
|
596
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
597
|
+
"type": "string",
|
|
598
|
+
"enum": [
|
|
599
|
+
"full",
|
|
600
|
+
"streamlined",
|
|
601
|
+
"quiet"
|
|
602
|
+
]
|
|
594
603
|
}
|
|
595
604
|
},
|
|
596
605
|
"required": [
|
|
@@ -1464,8 +1464,17 @@
|
|
|
1464
1464
|
"type": "boolean"
|
|
1465
1465
|
},
|
|
1466
1466
|
"dry_run": {
|
|
1467
|
-
"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.
|
|
1467
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
1468
1468
|
"type": "boolean"
|
|
1469
|
+
},
|
|
1470
|
+
"confirm_mode": {
|
|
1471
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
1472
|
+
"type": "string",
|
|
1473
|
+
"enum": [
|
|
1474
|
+
"full",
|
|
1475
|
+
"streamlined",
|
|
1476
|
+
"quiet"
|
|
1477
|
+
]
|
|
1469
1478
|
}
|
|
1470
1479
|
},
|
|
1471
1480
|
"required": [
|
|
@@ -945,8 +945,17 @@
|
|
|
945
945
|
"type": "boolean"
|
|
946
946
|
},
|
|
947
947
|
"dry_run": {
|
|
948
|
-
"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.
|
|
948
|
+
"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 that an operation will succeed before committing. The returned digest will be 'dry_run:<timestamp>' and objectChanges will be empty (simulation only).",
|
|
949
949
|
"type": "boolean"
|
|
950
|
+
},
|
|
951
|
+
"confirm_mode": {
|
|
952
|
+
"description": "Confirmation frequency for this call. 'full': confirm every matched gate rule. 'streamlined' (client default): skip fail-open 'standard' level prompts — fail-closed levels (irreversible/publish/amount) ALWAYS still confirm. 'quiet': same hard floor as streamlined, for clients that batch/suppress repeat low-risk prompts in their own UI. This field NEVER downgrades fail-closed levels.",
|
|
953
|
+
"type": "string",
|
|
954
|
+
"enum": [
|
|
955
|
+
"full",
|
|
956
|
+
"streamlined",
|
|
957
|
+
"quiet"
|
|
958
|
+
]
|
|
950
959
|
}
|
|
951
960
|
},
|
|
952
961
|
"required": [
|
|
@@ -16287,25 +16287,16 @@
|
|
|
16287
16287
|
"description": "Suggested next action: use onchain_transaction to verify a specific past tx, or proceed with onchain_operations to modify state, or re-call assemble_context after state changes."
|
|
16288
16288
|
},
|
|
16289
16289
|
"flywheel_collected": {
|
|
16290
|
-
"description": "
|
|
16290
|
+
"description": "Experience-layer collection result. Non-blocking — may be undefined if collection fails. When present, the assembled context has been fed back into the experience layer for future pattern matching.",
|
|
16291
16291
|
"type": "object",
|
|
16292
16292
|
"properties": {
|
|
16293
16293
|
"signature_recorded": {
|
|
16294
16294
|
"type": "boolean",
|
|
16295
16295
|
"description": "Whether the experience signature was recorded in the real-time experience layer."
|
|
16296
|
-
},
|
|
16297
|
-
"proposal_created": {
|
|
16298
|
-
"type": "boolean",
|
|
16299
|
-
"description": "Whether an improvement proposal was created for the offline distillation flywheel."
|
|
16300
|
-
},
|
|
16301
|
-
"proposal_id": {
|
|
16302
|
-
"description": "The proposal ID, if created.",
|
|
16303
|
-
"type": "string"
|
|
16304
16296
|
}
|
|
16305
16297
|
},
|
|
16306
16298
|
"required": [
|
|
16307
|
-
"signature_recorded"
|
|
16308
|
-
"proposal_created"
|
|
16299
|
+
"signature_recorded"
|
|
16309
16300
|
],
|
|
16310
16301
|
"additionalProperties": false
|
|
16311
16302
|
}
|
|
@@ -20710,6 +20701,8 @@
|
|
|
20710
20701
|
"const": "vec_contains_bool"
|
|
20711
20702
|
},
|
|
20712
20703
|
"nodes": {
|
|
20704
|
+
"minItems": 2,
|
|
20705
|
+
"maxItems": 8,
|
|
20713
20706
|
"type": "array",
|
|
20714
20707
|
"items": {
|
|
20715
20708
|
"description": "Guard node: represents an operation instruction in Guard. Each node returns a value of a specific type, computed from its child nodes or context.",
|
|
@@ -20719,7 +20712,7 @@
|
|
|
20719
20712
|
}
|
|
20720
20713
|
]
|
|
20721
20714
|
},
|
|
20722
|
-
"description": "
|
|
20715
|
+
"description": "First node must be VecBool (ValueType=9) or Value (ValueType=19), remaining nodes must be Bool (ValueType=0) or Value (ValueType=19)."
|
|
20723
20716
|
}
|
|
20724
20717
|
},
|
|
20725
20718
|
"required": [
|
|
@@ -20737,6 +20730,8 @@
|
|
|
20737
20730
|
"const": "vec_contains_address"
|
|
20738
20731
|
},
|
|
20739
20732
|
"nodes": {
|
|
20733
|
+
"minItems": 2,
|
|
20734
|
+
"maxItems": 8,
|
|
20740
20735
|
"type": "array",
|
|
20741
20736
|
"items": {
|
|
20742
20737
|
"description": "Guard node: represents an operation instruction in Guard. Each node returns a value of a specific type, computed from its child nodes or context.",
|
|
@@ -20746,7 +20741,7 @@
|
|
|
20746
20741
|
}
|
|
20747
20742
|
]
|
|
20748
20743
|
},
|
|
20749
|
-
"description": "
|
|
20744
|
+
"description": "First node must be VecAddress (ValueType=10) or Value (ValueType=19), remaining nodes must be Address (ValueType=1) or Value (ValueType=19)."
|
|
20750
20745
|
}
|
|
20751
20746
|
},
|
|
20752
20747
|
"required": [
|
|
@@ -20764,6 +20759,8 @@
|
|
|
20764
20759
|
"const": "vec_contains_string"
|
|
20765
20760
|
},
|
|
20766
20761
|
"nodes": {
|
|
20762
|
+
"minItems": 2,
|
|
20763
|
+
"maxItems": 8,
|
|
20767
20764
|
"type": "array",
|
|
20768
20765
|
"items": {
|
|
20769
20766
|
"description": "Guard node: represents an operation instruction in Guard. Each node returns a value of a specific type, computed from its child nodes or context.",
|
|
@@ -20773,7 +20770,7 @@
|
|
|
20773
20770
|
}
|
|
20774
20771
|
]
|
|
20775
20772
|
},
|
|
20776
|
-
"description": "
|
|
20773
|
+
"description": "First node must be VecString (ValueType=11) or Value (ValueType=19), remaining nodes must be String (ValueType=2) or Value (ValueType=19)."
|
|
20777
20774
|
}
|
|
20778
20775
|
},
|
|
20779
20776
|
"required": [
|
|
@@ -20791,6 +20788,8 @@
|
|
|
20791
20788
|
"const": "vec_contains_string_nocase"
|
|
20792
20789
|
},
|
|
20793
20790
|
"nodes": {
|
|
20791
|
+
"minItems": 2,
|
|
20792
|
+
"maxItems": 8,
|
|
20794
20793
|
"type": "array",
|
|
20795
20794
|
"items": {
|
|
20796
20795
|
"description": "Guard node: represents an operation instruction in Guard. Each node returns a value of a specific type, computed from its child nodes or context.",
|
|
@@ -20800,7 +20799,7 @@
|
|
|
20800
20799
|
}
|
|
20801
20800
|
]
|
|
20802
20801
|
},
|
|
20803
|
-
"description": "
|
|
20802
|
+
"description": "First node must be VecString (ValueType=11) or Value (ValueType=19), remaining nodes must be String (ValueType=2) or Value (ValueType=19)."
|
|
20804
20803
|
}
|
|
20805
20804
|
},
|
|
20806
20805
|
"required": [
|
|
@@ -20818,6 +20817,8 @@
|
|
|
20818
20817
|
"const": "vec_contains_number"
|
|
20819
20818
|
},
|
|
20820
20819
|
"nodes": {
|
|
20820
|
+
"minItems": 2,
|
|
20821
|
+
"maxItems": 8,
|
|
20821
20822
|
"type": "array",
|
|
20822
20823
|
"items": {
|
|
20823
20824
|
"description": "Guard node: represents an operation instruction in Guard. Each node returns a value of a specific type, computed from its child nodes or context.",
|
|
@@ -20827,7 +20828,7 @@
|
|
|
20827
20828
|
}
|
|
20828
20829
|
]
|
|
20829
20830
|
},
|
|
20830
|
-
"description": "
|
|
20831
|
+
"description": "First node must be VecU8 (12), VecU16 (13), VecU32 (14), VecU64 (15), VecU128 (16), VecU256 (17) or Value (ValueType=19), remaining nodes must be U8 (3), U16 (4), U32 (5), U64 (6), U128 (7), U256 (8) or Value (ValueType=19)."
|
|
20831
20832
|
}
|
|
20832
20833
|
},
|
|
20833
20834
|
"required": [
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
"query_type"
|
|
303
303
|
],
|
|
304
304
|
"additionalProperties": false,
|
|
305
|
-
"description": "Query an account's coin balance OR paginated coin objects. PARAMETERS: Use 'name_or_address' to specify the account (NOT 'filter'). Use balance=true for total amount, or coin={cursor,limit} to list individual coin objects. Use token_type to query non-default tokens (format: 0x<package>::<module>::<struct>). Returns: { address, balance? | coin? }"
|
|
305
|
+
"description": "Query an account's coin balance OR paginated coin objects. LIVE QUERY: the balance is always fetched fresh from the fullnode — there is NO cache, so 'no_cache' is not needed and not accepted on this query type. PARAMETERS: Use 'name_or_address' to specify the account (NOT 'filter'). Use balance=true for total amount, or coin={cursor,limit} to list individual coin objects. Use token_type to query non-default tokens (format: 0x<package>::<module>::<struct>). If the input resolves to an ON-CHAIN OBJECT (e.g. a Treasury name), the result auto-routes: it returns the object with its 'balance' field plus a routing hint. Returns: { address, balance? | coin? | object?, hint? }"
|
|
306
306
|
},
|
|
307
307
|
{
|
|
308
308
|
"type": "object",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{strictParse}from'../../schema/index.js';import{AskUserInputSchema}from'../../schema/interaction/index.js';export const ASK_USER_INPUT_REQUEST_ID='answer';const FREEFORM_FIELD='freeform_text',MULTI_PREFIX='sel_';function buildInputRequired(a){const b=a['options']['map'](f=>f['id']),c={},d=[];if(a['multi_select'])for(const f of b){c[''+MULTI_PREFIX+f]={'type':'boolean'};}else c[ASK_USER_INPUT_REQUEST_ID]={'type':'string','enum':b,'description':'Chosen\x20option\x20id'},d['push'](ASK_USER_INPUT_REQUEST_ID);a['allow_freeform']&&(c[FREEFORM_FIELD]={'type':'string','description':'Optional\x20free-text\x20answer\x20not\x20covered\x20by\x20the\x20options'});const e=a['context']?a['question']+'\x0a\x0a'+a['context']:a['question'];return{'resultType':'input_required','inputRequests':{[ASK_USER_INPUT_REQUEST_ID]:{'method':'elicitation/create','params':{'message':e,'requestedSchema':{'type':'object','properties':c,...d['length']>0x0?{'required':d}:{}}}}},'content':[{'type':'text','text':'User\x20input\x20is\x20required\x20to\x20continue.\x20'+'The\x20client\x20must\x20fulfil\x20the\x20attached\x20elicitation\x20request;\x20'+'clients\x20without\x20elicitation\x20support\x20should\x20ask\x20the\x20question\x20in\x20plain\x20text\x20instead.'}],'structuredContent':{'result':{'status':'input_required','question':a['question'],'options':a['options'],...a['recommended_id']?{'recommended_id':a['recommended_id']}:{},'multi_select':a['multi_select'],'allow_freeform':a['allow_freeform']}}};}function asRecord(a){return a&&typeof a==='object'&&!Array['isArray'](a)?a:undefined;}function parseAccepted(a,b){const c=new Set(a['options']['map'](f=>f['id'])),d=[];if(a['multi_select']){for(const f of c){if(b?.[''+MULTI_PREFIX+f]===!![])d['push'](f);}if(d['length']===0x0&&!a['allow_freeform'])return{'ids':d,'freeform':null,'error':'multi-select\x20elicitation\x20returned\x20no\x20chosen\x20option'};}else{const g=b?.[ASK_USER_INPUT_REQUEST_ID];if(typeof g!=='string'||!c['has'](g))return{'ids':d,'freeform':null,'error':'elicit\x20response\x20\x27answer\x27\x20is\x20not\x20one\x20of\x20the\x20offered\x20option\x20ids'};d['push'](g);}let e=null;if(a['allow_freeform']){const h=b?.[FREEFORM_FIELD];if(typeof h==='string'){const i=h['trim']();e=i?i['slice'](0x0,0x3e8):null;}}return{'ids':d,'freeform':e};}function labelsFor(a,b){const c=new Map(a['options']['map'](d=>[d['id'],d['label']]));return b['map'](d=>c['get'](d)??d);}function successResult(a,b,c,d){const e=labelsFor(a,c),f={'status':'success','action':b,'question':a['question'],'selected_ids':c,'selected_labels':e,...a['allow_freeform']?{'freeform_text':d}:{}},g=b==='accept'?['User\x20answered:\x20'+a['question'],'Choice:\x20'+(e['join'](',\x20')||'(no\x20option\x20selected)'),...d?['Free\x20text:\x20'+d]:[],'Continue\x20the\x20workflow\x20with\x20this\x20decision\x20—\x20do\x20NOT\x20re-ask\x20the\x20same\x20question.']['join']('\x0a'):'User\x20'+(b==='decline'?'declined\x20to\x20answer':'cancelled')+':\x20'+a['question']+'.\x20'+'Do\x20NOT\x20proceed\x20with\x20a\x20guessed\x20default\x20—\x20ask\x20how\x20to\x20continue\x20in\x20plain\x20text.';return{'content':[{'type':'text','text':g}],'structuredContent':{'result':f}};}export async function handleAskUser(a,b){const c=strictParse(AskUserInputSchema,a,'ask_user\x20input');if(c['recommended_id']&&!c['options']['some'](i=>i['id']===c['recommended_id']))return{'content':[{'type':'text','text':'ask_user\x20error:\x20recommended_id\x20\x27'+c['recommended_id']+'\x27\x20does\x20not\x20match\x20any\x20option\x20id\x20'+('(offered:\x20'+c['options']['map'](i=>i['id'])['join'](',\x20')+').\x20Fix\x20and\x20retry.')}],'structuredContent':{'result':{'status':'error','errors':['recommended_id\x20must\x20match\x20one\x20of\x20options[].id']}}};const d=b?.['inputResponses']?.[ASK_USER_INPUT_REQUEST_ID],e=asRecord(d);if(!e||typeof e['action']!=='string')return buildInputRequired(c);const {action:f}=e;if(f==='decline'||f==='cancel')return successResult(c,f,[],null);if(f!=='accept')return{'content':[{'type':'text','text':'ask_user\x20error:\x20unknown\x20elicitation\x20action\x20\x27'+String(f)+'\x27.\x20Expected\x20accept/decline/cancel.'}],'structuredContent':{'result':{'status':'error','errors':['invalid\x20elicitation\x20action']}}};const g=asRecord(e['content']),h=parseAccepted(c,g);if(h['error'])return{'content':[{'type':'text','text':'ask_user\x20error:\x20'+h['error']+'.\x20Re-issue\x20ask_user\x20or\x20ask\x20the\x20question\x20in\x20plain\x20text.'}],'structuredContent':{'result':{'status':'error','errors':[h['error']]}}};return successResult(c,'accept',h['ids'],h['freeform']);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{listServices,getServiceInfo,toggle as
|
|
1
|
+
import{listServices,getServiceInfo,toggle as a317a,setEnabled as a317b,reset as a317c}from'../../config/index.js';import{strictParse}from'../../schema/index.js';import{ConfigOperationInputSchema}from'../../schema/config/index.js';export async function handleConfigOperation(a){const b=strictParse(ConfigOperationInputSchema,a,'config_operation\x20input'),{action:c,service:d}=b;let e;switch(c){case'list':e={'action':'list','services':listServices()};break;case'toggle':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20toggle');const f=d,g=getServiceInfo(f);if(!g)throw new Error('Unknown\x20service:\x20'+f+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');if(f==='confirm_gate'&&g['enabled'])throw new Error('confirm_gate\x20cannot\x20be\x20disabled\x20at\x20runtime.\x20'+'Set\x20WOWOK_CONFIRM_GATE=0\x20in\x20the\x20server\x20environment\x20and\x20restart\x20if\x20you\x20really\x20want\x20it\x20off.');const h=a317a(f);e={'action':'toggle','service':f,'enabled':h,'reminder':g['reminder']};break;}case'disable':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20disable');const i=d,j=getServiceInfo(i);if(!j)throw new Error('Unknown\x20service:\x20'+i+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');if(i==='confirm_gate')throw new Error('confirm_gate\x20cannot\x20be\x20disabled\x20at\x20runtime.\x20'+'Set\x20WOWOK_CONFIRM_GATE=0\x20in\x20the\x20server\x20environment\x20and\x20restart\x20if\x20you\x20really\x20want\x20it\x20off.');a317b(i,![]),e={'action':'disable','service':i,'enabled':![],'reminder':j['reminder']};break;}case'enable':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20enable');const k=d,l=getServiceInfo(k);if(!l)throw new Error('Unknown\x20service:\x20'+k+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');a317b(k,!![]),e={'action':'enable','service':k,'enabled':!![],'reminder':l['reminder']};break;}case'reset':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20reset');const m=d,n=getServiceInfo(m);if(!n)throw new Error('Unknown\x20service:\x20'+m+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');a317c(m),e={'action':'reset','service':m,'enabled':getServiceInfo(m)?.['enabled'],'reminder':n['reminder'],'reset':!![]};break;}case'info':{if(!d)throw new Error('\x27service\x27\x20param\x20is\x20required\x20for\x20info');const o=d,p=getServiceInfo(o);if(!p)throw new Error('Unknown\x20service:\x20'+o+'.\x20Use\x20action=\x27list\x27\x20to\x20see\x20all\x20valid\x20services.');e={'action':'info',...p};break;}default:throw new Error('Unknown\x20config_operation\x20action:\x20'+String(c));}return{'content':[{'type':'text','text':JSON['stringify']({'result':e})}],'structuredContent':{'result':e}};}
|
|
@@ -2,3 +2,4 @@ import type { ToolDispatchResult } from "../types.js";
|
|
|
2
2
|
export declare const handleAccountOperation: (args: unknown) => Promise<ToolDispatchResult>;
|
|
3
3
|
export declare const handleMarkOperation: (args: unknown) => Promise<ToolDispatchResult>;
|
|
4
4
|
export declare const handleInfoOperation: (args: unknown) => Promise<ToolDispatchResult>;
|
|
5
|
+
export declare const handleHistoryOperation: (args: unknown) => Promise<ToolDispatchResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{wrapLocalHandler}from'../shared.js';import{withFaucetRetry}from'../retry.js';import{strictParse}from'../../schema/index.js';import{AccountOperationSchema,LocalMarkOperationSchema,LocalInfoOperationSchema}from'../../schema/index.js';import{account_operation,local_mark_operation,local_info_operation,GasTokenType}from'@wowok/wowok';import{parseAmount,generateFundConfirmation,generateSkillsHint}from'../../knowledge/fund-layer.js';import{buildDataSemantic}from'../../schema/call/semantic.js';function deriveOpType(a,b){for(const c of Object['keys'](b)){if(b[c]!==undefined)return a+'_'+String(c);}return a+'_unknown';}function accountError(a,b){return{'content':[{'type':'text','text':'Error:\x20'+a}],'structuredContent':{'result':{'status':'error','error':a},'semantic':buildDataSemantic(undefined,b,!![],a)}};}function buildAccountContext(a){return{'operation_type':deriveOpType('account',a),'data':a};}async function fundProcessTransfer(a){const b=a['token_type']??GasTokenType;try{const c=await parseAmount(a['amount'],b,a['network']);return{'parsed':c};}catch(d){return{'error':d instanceof Error?d['message']:String(d)};}}export const handleAccountOperation=async a=>{let b;try{b=strictParse(AccountOperationSchema,a,'account_operation\x20input');}catch(d){return accountError('Parameter\x20validation\x20failed:\x20'+(d?.['message']??String(d)));}const c=buildAccountContext(b);if(b['transfer']!==undefined){const f=b['transfer'],{parsed:g,error:h}=await fundProcessTransfer(f);if(h||!g)return accountError(h??'Amount\x20parsing\x20failed',c);if(f['confirmed']!==!![]){const
|
|
1
|
+
import{wrapLocalHandler}from'../shared.js';import{withFaucetRetry}from'../retry.js';import{strictParse}from'../../schema/index.js';import{AccountOperationSchema,LocalMarkOperationSchema,LocalInfoOperationSchema,LocalHistoryOperationSchema}from'../../schema/index.js';import{account_operation,local_mark_operation,local_info_operation,local_history_operation,GasTokenType,isFundApprovalExempt}from'@wowok/wowok';import{parseAmount,generateFundConfirmation,generateSkillsHint}from'../../knowledge/fund-layer.js';import{buildDataSemantic}from'../../schema/call/semantic.js';function deriveOpType(a,b){for(const c of Object['keys'](b)){if(b[c]!==undefined)return a+'_'+String(c);}return a+'_unknown';}function accountError(a,b){return{'content':[{'type':'text','text':'Error:\x20'+a}],'structuredContent':{'result':{'status':'error','error':a},'semantic':buildDataSemantic(undefined,b,!![],a)}};}function buildAccountContext(a){return{'operation_type':deriveOpType('account',a),'data':a};}async function fundProcessTransfer(a){const b=a['token_type']??GasTokenType;try{const c=await parseAmount(a['amount'],b,a['network']);return{'parsed':c};}catch(d){return{'error':d instanceof Error?d['message']:String(d)};}}export const handleAccountOperation=async a=>{let b;try{b=strictParse(AccountOperationSchema,a,'account_operation\x20input');}catch(d){return accountError('Parameter\x20validation\x20failed:\x20'+(d?.['message']??String(d)));}const c=buildAccountContext(b);if(b['transfer']!==undefined){const f=b['transfer'],{parsed:g,error:h}=await fundProcessTransfer(f);if(h||!g)return accountError(h??'Amount\x20parsing\x20failed',c);const i=isFundApprovalExempt(f['network'],f['token_type']??GasTokenType,g['smallestUnit']['toString']());if(!i&&f['confirmed']!==!![]){const k=generateFundConfirmation([{'path':'transfer.amount','displayAmount':g['displayAmount'],'tokenType':g['tokenType'],'tokenSymbol':g['tokenSymbol'],'decimals':g['decimals'],'smallestUnit':g['smallestUnit']['toString'](),'verified':g['verified'],'source':g['source'],'converted':g['converted'],'context':'Account\x20token\x20transfer'}],[]),l=generateSkillsHint(k),m=[k['message'],'','Recipient:\x20'+(f['name_or_address_to']??'(default\x20account)'),'Sender:\x20'+(f['name_or_address_from']??'(default\x20account)'),l??'','The\x20transfer\x20was\x20NOT\x20executed.\x20If\x20the\x20user\x20consents,\x20re-call\x20with\x20the\x20SAME\x20parameters\x20plus\x20transfer.confirmed=true.']['filter'](n=>n!=='')['join']('\x0a');return{'content':[{'type':'text','text':m}],'structuredContent':{'result':{'status':'pending_confirmation','operation':'account_transfer','message':m,'rule_id':'account_transfer_fund_movement'},'semantic':{...buildDataSemantic(undefined,c,!![],'pending\x20user\x20confirmation'),'summary':'Token\x20transfer\x20blocked\x20pending\x20user\x20confirmation.\x20Re-call\x20with\x20transfer.confirmed=true\x20to\x20proceed.'}}};}const j={...b,'transfer':{...f,'amount':g['smallestUnit']['toString']()}};delete j['transfer']['confirmed'];try{const n=await withFaucetRetry(account_operation)(j);return{'content':[{'type':'text','text':JSON['stringify'](n)}],'structuredContent':{'result':{'status':'success','data':n},'semantic':buildDataSemantic(n,c)}};}catch(o){const p=o instanceof Error?o['message']:String(o);return accountError(p,c);}}try{const q=await withFaucetRetry(account_operation)(b);return{'content':[{'type':'text','text':JSON['stringify'](q)}],'structuredContent':{'result':{'status':'success','data':q},'semantic':buildDataSemantic(q,c)}};}catch(r){const s=r instanceof Error?r['message']:String(r);return accountError(s,c);}};export const handleMarkOperation=wrapLocalHandler({'schema':LocalMarkOperationSchema,'operationFn':local_mark_operation,'parseLabel':'local_mark_operation\x20input','buildContext':a=>{const b={'operation_type':deriveOpType('mark',a),'data':a},c=a;return c['add']&&Array['isArray'](c['add']['data'])&&c['add']['data']['length']>0x0&&(b['pre_warnings']=['Cross-network\x20consistency\x20(FIX-011):\x20LocalMark\x20names\x20are\x20scoped\x20per\x20network.\x20'+'When\x20creating\x20marks\x20for\x20the\x20same\x20logical\x20object\x20on\x20different\x20networks\x20'+'(e.g.\x20testnet\x20and\x20mainnet),\x20use\x20the\x20SAME\x20name\x20value\x20to\x20keep\x20name-based\x20'+'references\x20portable.\x20Before\x20creating\x20a\x20mark\x20on\x20mainnet,\x20consider\x20querying\x20'+'testnet\x20via\x20query_local\x20with\x20network=\x27testnet\x27\x20to\x20check\x20for\x20an\x20existing\x20'+'same-named\x20mark\x20and\x20replicate\x20it.']),b;}});export const handleInfoOperation=wrapLocalHandler({'schema':LocalInfoOperationSchema,'operationFn':local_info_operation,'parseLabel':'local_info_operation\x20input','buildContext':a=>({'operation_type':deriveOpType('local_info',a),'data':a})});export const handleHistoryOperation=wrapLocalHandler({'schema':LocalHistoryOperationSchema,'operationFn':local_history_operation,'parseLabel':'local_history_operation\x20input','buildContext':a=>({'operation_type':deriveOpType('local_history',a),'data':a})});
|