@wowok/agent-mcp 2.5.2 → 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/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/context-assembly.d.ts +16 -0
- package/dist/project/context-assembly.js +130 -0
- package/dist/project/deployment-doc.d.ts +115 -0
- package/dist/project/deployment-doc.js +595 -0
- package/dist/project/index.js +37 -1
- 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/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 +1 -0
- 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 +2619 -106
- package/dist/schema/project/index.js +622 -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 -0
- 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 +1798 -0
- package/dist/schemas/project_operation.schema.json +132 -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 +742 -1
- package/dist/tools/handlers/query.js +38 -2
- package/package.json +2 -2
|
@@ -456,6 +456,138 @@
|
|
|
456
456
|
],
|
|
457
457
|
"additionalProperties": false,
|
|
458
458
|
"description": "Query objects (Payments, Tokens, NFTs) received by a specific object. Use to track incoming payments or items sent to an on-chain object. Supports pagination and type filter. Returns: ReceivedBalance | ReceivedNormal[]"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"type": "object",
|
|
462
|
+
"properties": {
|
|
463
|
+
"query_type": {
|
|
464
|
+
"type": "string",
|
|
465
|
+
"const": "onchain_transaction"
|
|
466
|
+
},
|
|
467
|
+
"digest": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"description": "Transaction digest (0x...) to verify. Use after any on-chain operation to confirm what actually happened on-chain — object changes, balance changes, gas used, success/failure status. This is the 'OperationProof' primitive for the Verify step."
|
|
470
|
+
},
|
|
471
|
+
"no_cache": {
|
|
472
|
+
"type": "boolean",
|
|
473
|
+
"description": "Set to true to bypass cache and fetch fresh on-chain data"
|
|
474
|
+
},
|
|
475
|
+
"network": {
|
|
476
|
+
"$ref": "#/definitions/query_toolkit/anyOf/4/properties/network",
|
|
477
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
"required": [
|
|
481
|
+
"query_type",
|
|
482
|
+
"digest"
|
|
483
|
+
],
|
|
484
|
+
"additionalProperties": false,
|
|
485
|
+
"description": "Verify what a specific transaction did on-chain — the 'OperationProof' primitive. After executing any operation, call this with the returned digest to confirm: status (success/failed), object changes (created/mutated/deleted), balance changes, gas used, and events. Essential for the 5-step loop's Verify step. Returns: TransactionDetail | undefined"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"type": "object",
|
|
489
|
+
"properties": {
|
|
490
|
+
"query_type": {
|
|
491
|
+
"type": "string",
|
|
492
|
+
"const": "onchain_object_history"
|
|
493
|
+
},
|
|
494
|
+
"object": {
|
|
495
|
+
"$ref": "#/definitions/query_toolkit/anyOf/4/properties/name_or_address",
|
|
496
|
+
"description": "Object ID (0x...) or LocalMark name. Query the provenance chain — every transaction that created, mutated, or deleted this object. Use to trace how an object reached its current state."
|
|
497
|
+
},
|
|
498
|
+
"cursor": {
|
|
499
|
+
"type": [
|
|
500
|
+
"string",
|
|
501
|
+
"null"
|
|
502
|
+
],
|
|
503
|
+
"description": "Pagination cursor from previous page's next_cursor"
|
|
504
|
+
},
|
|
505
|
+
"limit": {
|
|
506
|
+
"type": [
|
|
507
|
+
"number",
|
|
508
|
+
"null"
|
|
509
|
+
],
|
|
510
|
+
"description": "Max results per page (default 20, max 50)"
|
|
511
|
+
},
|
|
512
|
+
"order": {
|
|
513
|
+
"type": "string",
|
|
514
|
+
"enum": [
|
|
515
|
+
"ascending",
|
|
516
|
+
"descending"
|
|
517
|
+
],
|
|
518
|
+
"description": "Sort order: ascending=oldest first, descending=newest first (default)"
|
|
519
|
+
},
|
|
520
|
+
"no_cache": {
|
|
521
|
+
"type": "boolean",
|
|
522
|
+
"description": "Set to true to bypass cache and fetch fresh on-chain data"
|
|
523
|
+
},
|
|
524
|
+
"network": {
|
|
525
|
+
"$ref": "#/definitions/query_toolkit/anyOf/4/properties/network",
|
|
526
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
"required": [
|
|
530
|
+
"query_type",
|
|
531
|
+
"object"
|
|
532
|
+
],
|
|
533
|
+
"additionalProperties": false,
|
|
534
|
+
"description": "FORENSICS TOOL — query all transactions that touched an object. WARNING: this can lead to non-convergent queries (each tx touches more objects with their own history). For AI context building, use assemble_context instead — it extracts embedded history from object states (ProgressSession.forwards, etc.) without infinite recursion. This tool is for auditing/forensics only. Returns: TransactionHistoryAnswer | undefined"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"type": "object",
|
|
538
|
+
"properties": {
|
|
539
|
+
"query_type": {
|
|
540
|
+
"type": "string",
|
|
541
|
+
"const": "onchain_address_activity"
|
|
542
|
+
},
|
|
543
|
+
"name_or_address": {
|
|
544
|
+
"anyOf": [
|
|
545
|
+
{
|
|
546
|
+
"$ref": "#/definitions/query_toolkit/anyOf/8/properties/name_or_address/anyOf/0"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"$ref": "#/definitions/query_toolkit/anyOf/8/properties/name_or_address/anyOf/1"
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
"description": "Address (0x...) or account name. Query all on-chain activity by this actor — every transaction they sent. Use to build a user's on-chain activity profile or verify an actor's history."
|
|
553
|
+
},
|
|
554
|
+
"cursor": {
|
|
555
|
+
"type": [
|
|
556
|
+
"string",
|
|
557
|
+
"null"
|
|
558
|
+
],
|
|
559
|
+
"description": "Pagination cursor from previous page's next_cursor"
|
|
560
|
+
},
|
|
561
|
+
"limit": {
|
|
562
|
+
"type": [
|
|
563
|
+
"number",
|
|
564
|
+
"null"
|
|
565
|
+
],
|
|
566
|
+
"description": "Max results per page (default 20, max 50)"
|
|
567
|
+
},
|
|
568
|
+
"order": {
|
|
569
|
+
"type": "string",
|
|
570
|
+
"enum": [
|
|
571
|
+
"ascending",
|
|
572
|
+
"descending"
|
|
573
|
+
],
|
|
574
|
+
"description": "Sort order: ascending=oldest first, descending=newest first (default)"
|
|
575
|
+
},
|
|
576
|
+
"no_cache": {
|
|
577
|
+
"type": "boolean",
|
|
578
|
+
"description": "Set to true to bypass cache and fetch fresh on-chain data"
|
|
579
|
+
},
|
|
580
|
+
"network": {
|
|
581
|
+
"$ref": "#/definitions/query_toolkit/anyOf/4/properties/network",
|
|
582
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"required": [
|
|
586
|
+
"query_type",
|
|
587
|
+
"name_or_address"
|
|
588
|
+
],
|
|
589
|
+
"additionalProperties": false,
|
|
590
|
+
"description": "FORENSICS TOOL — query all transactions sent by an address. WARNING: like onchain_object_history, this can lead to non-convergent queries. For AI context building, use assemble_context (extracts embedded history) or query_events (real-time transitions) instead. This tool is for auditing/user-activity profiling only. Returns: TransactionHistoryAnswer | undefined"
|
|
459
591
|
}
|
|
460
592
|
]
|
|
461
593
|
}
|