@wowok/agent-mcp 2.5.2 → 2.5.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.
Files changed (110) hide show
  1. package/dist/customer/index.d.ts +2 -2
  2. package/dist/customer/index.js +1 -1
  3. package/dist/customer/info-puzzle.d.ts +39 -2
  4. package/dist/customer/info-puzzle.js +370 -29
  5. package/dist/customer/risk-assessment.js +51 -14
  6. package/dist/customer/types.d.ts +85 -0
  7. package/dist/index.js +46 -6
  8. package/dist/knowledge/guard-design-patterns.js +104 -1
  9. package/dist/knowledge/guard-ledger.js +3 -3
  10. package/dist/knowledge/guard-lint.js +3 -3
  11. package/dist/knowledge/guard-risk.js +23 -15
  12. package/dist/knowledge/guard-templates.js +174 -2
  13. package/dist/knowledge/guard-translation.js +3 -3
  14. package/dist/knowledge/index.d.ts +3 -0
  15. package/dist/knowledge/index.js +9 -0
  16. package/dist/knowledge/machine-context.d.ts +1 -1
  17. package/dist/knowledge/machine-context.js +21 -0
  18. package/dist/knowledge/machine-ledger.d.ts +1 -0
  19. package/dist/knowledge/machine-ledger.js +60 -37
  20. package/dist/knowledge/machine-risk.js +23 -0
  21. package/dist/knowledge/machine-templates.js +150 -164
  22. package/dist/knowledge/overrides-loader.d.ts +13 -0
  23. package/dist/knowledge/overrides-loader.js +67 -0
  24. package/dist/knowledge/payment-risk.d.ts +4 -0
  25. package/dist/knowledge/payment-risk.js +67 -0
  26. package/dist/knowledge/repository-confirm.d.ts +4 -0
  27. package/dist/knowledge/repository-confirm.js +44 -0
  28. package/dist/knowledge/repository-risk.d.ts +8 -2
  29. package/dist/knowledge/repository-risk.js +61 -0
  30. package/dist/knowledge/repository-translation.js +23 -0
  31. package/dist/knowledge/reward-templates.d.ts +1 -1
  32. package/dist/knowledge/reward-templates.js +77 -5
  33. package/dist/knowledge/scenario-modes.js +22 -5
  34. package/dist/knowledge/service-templates.js +38 -0
  35. package/dist/knowledge/treasury-templates.js +42 -0
  36. package/dist/knowledge/trust-metrics.d.ts +4 -0
  37. package/dist/knowledge/trust-metrics.js +67 -7
  38. package/dist/loop-engineering/context-collect.d.ts +7 -0
  39. package/dist/loop-engineering/context-collect.js +83 -0
  40. package/dist/loop-engineering/improve.d.ts +29 -0
  41. package/dist/loop-engineering/improve.js +178 -0
  42. package/dist/project/context-assembly.d.ts +16 -0
  43. package/dist/project/context-assembly.js +130 -0
  44. package/dist/project/deployment-doc.d.ts +115 -0
  45. package/dist/project/deployment-doc.js +595 -0
  46. package/dist/project/index.js +37 -1
  47. package/dist/project/migration.d.ts +22 -0
  48. package/dist/project/migration.js +125 -0
  49. package/dist/project/project-store.d.ts +110 -0
  50. package/dist/project/project-store.js +425 -0
  51. package/dist/project/rollback-policy.d.ts +45 -0
  52. package/dist/project/rollback-policy.js +290 -0
  53. package/dist/project/stage-gate.d.ts +49 -0
  54. package/dist/project/stage-gate.js +310 -0
  55. package/dist/schema/call/allocation.d.ts +5 -0
  56. package/dist/schema/call/arbitration.d.ts +59 -54
  57. package/dist/schema/call/base.d.ts +3 -0
  58. package/dist/schema/call/base.js +1 -0
  59. package/dist/schema/call/bridge.d.ts +24 -0
  60. package/dist/schema/call/contact.d.ts +5 -0
  61. package/dist/schema/call/demand.d.ts +53 -48
  62. package/dist/schema/call/guard.d.ts +15 -0
  63. package/dist/schema/call/machine.d.ts +10 -0
  64. package/dist/schema/call/order.d.ts +5 -0
  65. package/dist/schema/call/payment.d.ts +5 -0
  66. package/dist/schema/call/permission.d.ts +5 -0
  67. package/dist/schema/call/personal.d.ts +5 -0
  68. package/dist/schema/call/progress.d.ts +5 -0
  69. package/dist/schema/call/proof.d.ts +10 -0
  70. package/dist/schema/call/repository.d.ts +5 -0
  71. package/dist/schema/call/reward.d.ts +5 -0
  72. package/dist/schema/call/service.d.ts +5 -0
  73. package/dist/schema/call/treasury.d.ts +5 -0
  74. package/dist/schema/operations.d.ts +286 -76
  75. package/dist/schema/operations.js +24 -0
  76. package/dist/schema/project/index.d.ts +2633 -120
  77. package/dist/schema/project/index.js +622 -2
  78. package/dist/schema/query/index.d.ts +601 -0
  79. package/dist/schema/query/index.js +61 -0
  80. package/dist/schema/trust/index.d.ts +10 -10
  81. package/dist/schemas/bridge_operation.schema.json +4 -0
  82. package/dist/schemas/guard2file.schema.json +4 -0
  83. package/dist/schemas/index.json +1 -1
  84. package/dist/schemas/machineNode2file.schema.json +4 -0
  85. package/dist/schemas/onchain_operations.schema.json +20 -0
  86. package/dist/schemas/onchain_operations_allocation.schema.json +4 -0
  87. package/dist/schemas/onchain_operations_arbitration.schema.json +4 -0
  88. package/dist/schemas/onchain_operations_contact.schema.json +4 -0
  89. package/dist/schemas/onchain_operations_demand.schema.json +4 -0
  90. package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -0
  91. package/dist/schemas/onchain_operations_gen_proof.schema.json +8 -0
  92. package/dist/schemas/onchain_operations_guard.schema.json +4 -0
  93. package/dist/schemas/onchain_operations_machine.schema.json +4 -0
  94. package/dist/schemas/onchain_operations_order.schema.json +4 -0
  95. package/dist/schemas/onchain_operations_payment.schema.json +4 -0
  96. package/dist/schemas/onchain_operations_permission.schema.json +4 -0
  97. package/dist/schemas/onchain_operations_personal.schema.json +4 -0
  98. package/dist/schemas/onchain_operations_progress.schema.json +4 -0
  99. package/dist/schemas/onchain_operations_proof.schema.json +4 -0
  100. package/dist/schemas/onchain_operations_repository.schema.json +4 -0
  101. package/dist/schemas/onchain_operations_reward.schema.json +4 -0
  102. package/dist/schemas/onchain_operations_service.schema.json +4 -0
  103. package/dist/schemas/onchain_operations_treasury.schema.json +4 -0
  104. package/dist/schemas/project_operation.output.json +1798 -0
  105. package/dist/schemas/project_operation.schema.json +132 -2
  106. package/dist/schemas/query_toolkit.output.json +407 -1
  107. package/dist/schemas/query_toolkit.schema.json +132 -0
  108. package/dist/tools/handlers/project.js +742 -1
  109. package/dist/tools/handlers/query.js +38 -2
  110. package/package.json +2 -2
@@ -25,9 +25,25 @@
25
25
  "aggregate_risks",
26
26
  "generate_deployment_doc",
27
27
  "trace_substeps",
28
- "get_project_status"
28
+ "get_project_status",
29
+ "load_project",
30
+ "fork_project",
31
+ "export_project",
32
+ "get_project_files",
33
+ "validate_stage_unit",
34
+ "get_stage_assessment",
35
+ "get_stage_risk_policy",
36
+ "get_doc_relations",
37
+ "update_deployment_doc",
38
+ "validate_validation_chain",
39
+ "apply_improvement",
40
+ "get_improvement_queue",
41
+ "get_flywheel_config",
42
+ "rollback_stage",
43
+ "get_reversibility",
44
+ "assemble_context"
29
45
  ],
30
- "description": "Action to perform. Two categories:\n1. Graph Query (10): list_projects, list_objects, shareable, dependencies, referenced_by, pre_publish_check, cross_project_refs, graph_stats, save_graph, load_graph.\n2. Project-Based Deployment 5-Stage (4): Call IN ORDER — analyze_intent (Stage 2) → aggregate_risks (Stage 3) → generate_deployment_doc (Stage 4) → trace_substeps (Stage 5). Each action's output includes `next_action` telling you which action to call next. Stage 1 (Project Naming) uses the `project` + `version` params."
46
+ "description": "Action to perform. Six categories:\n1. Graph Query (10): list_projects, list_objects, shareable, dependencies, referenced_by, pre_publish_check, cross_project_refs, graph_stats, save_graph, load_graph.\n2. Project-Based Deployment 5-Stage (4): Call IN ORDER — analyze_intent (Stage 2) → aggregate_risks (Stage 3) → generate_deployment_doc (Stage 4) → trace_substeps (Stage 5). Each action's output includes `next_action` telling you which action to call next. Stage 1 (Project Naming) uses the `project` + `version` params.\n3. Project Memory Layer (5): load_project, fork_project, export_project, get_project_files, get_project_status.\n4. Nested-Autonomy Stage Unit (6): validate_stage_unit, get_stage_assessment, get_stage_risk_policy, get_doc_relations, update_deployment_doc, validate_validation_chain.\n5. Distillation Reflow (3): apply_improvement (review + apply a proposal — config_override writes overrides/, source_patch writes patches/), get_improvement_queue (list pending/approved proposals), get_flywheel_config (query reflow loop status).\n6. Rollback & Reversibility (2): rollback_stage (evaluate + execute stage rollback with file cleanup — blocked if has_published_object), get_reversibility (query object lifecycle reversibility matrix for risk reminders).\n7. Context Assembly (1): assemble_context (query on-chain object states + extract embedded history + optional events, and assemble a structured semantic context for LLM consumption — bridges raw facts to business-understandable context). Required input: context_objects (array of object IDs/names). Optional: include_events (query recent state-transition events)."
31
47
  },
32
48
  "project": {
33
49
  "type": "string",
@@ -42,6 +58,15 @@
42
58
  "type": "string",
43
59
  "description": "Object name or address (for dependencies / referenced_by / pre_publish_check)"
44
60
  },
61
+ "fork_to_version": {
62
+ "type": "string",
63
+ "pattern": "^v\\d+$",
64
+ "description": "Target version for fork_project (e.g. 'v2'). Must differ from source 'version'."
65
+ },
66
+ "fork_to_prefix": {
67
+ "type": "string",
68
+ "description": "Target prefix for fork_project. Defaults to source 'project' prefix when omitted."
69
+ },
45
70
  "user_intent": {
46
71
  "type": "string",
47
72
  "minLength": 1,
@@ -347,6 +372,37 @@
347
372
  "type": "boolean",
348
373
  "description": "Whether to run deployment-scanner validation after generating the doc. Defaults to true."
349
374
  },
375
+ "gas_budget": {
376
+ "type": "object",
377
+ "properties": {
378
+ "network": {
379
+ "type": "string",
380
+ "enum": [
381
+ "testnet",
382
+ "mainnet"
383
+ ]
384
+ },
385
+ "already_spent_gas": {
386
+ "type": "integer",
387
+ "minimum": 0,
388
+ "description": "Gas already spent on-chain in MIST (from telemetry). Defaults to 0."
389
+ },
390
+ "estimated_rerun_gas": {
391
+ "type": "integer",
392
+ "minimum": 0,
393
+ "description": "Estimated gas to re-run remaining ops in MIST. Auto-computed from estimateDeploymentGas when omitted."
394
+ },
395
+ "warning": {
396
+ "type": "string",
397
+ "description": "Custom warning text. Defaults to a computed cost summary."
398
+ }
399
+ },
400
+ "required": [
401
+ "network"
402
+ ],
403
+ "additionalProperties": false,
404
+ "description": "Gas budget input for stage 4/5 gate (§3.5). Non-blocking; only surfaces a WARN on mainnet."
405
+ },
350
406
  "network": {
351
407
  "type": "string",
352
408
  "enum": [
@@ -503,6 +559,80 @@
503
559
  "additionalProperties": false
504
560
  },
505
561
  "description": "Substep records for trace_substeps."
562
+ },
563
+ "target_stage": {
564
+ "type": "integer",
565
+ "minimum": 1,
566
+ "maximum": 5,
567
+ "description": "Stage number (1-5) for validate_stage_unit, get_stage_assessment, get_stage_risk_policy, and rollback_stage (the stage to rollback to). Required by these 4 actions."
568
+ },
569
+ "proposal_id": {
570
+ "type": "string",
571
+ "description": "Improvement proposal ID (for apply_improvement). Required by apply_improvement."
572
+ },
573
+ "review_status": {
574
+ "type": "string",
575
+ "enum": [
576
+ "approved",
577
+ "rejected",
578
+ "applied"
579
+ ],
580
+ "description": "New review status to set (for apply_improvement). 'approved' triggers application (config_override or source_patch); 'rejected' marks as rejected; 'applied' marks as already applied."
581
+ },
582
+ "queue_filter_status": {
583
+ "type": "string",
584
+ "enum": [
585
+ "pending",
586
+ "approved",
587
+ "rejected",
588
+ "applied"
589
+ ],
590
+ "description": "Filter the improvement queue by review_status (for get_improvement_queue)."
591
+ },
592
+ "queue_filter_type": {
593
+ "type": "string",
594
+ "description": "Filter the improvement queue by proposal type (for get_improvement_queue)."
595
+ },
596
+ "queue_filter_priority": {
597
+ "type": "string",
598
+ "description": "Filter the improvement queue by priority P0/P1/P2/P3 (for get_improvement_queue)."
599
+ },
600
+ "dry_run": {
601
+ "type": "boolean",
602
+ "description": "When true, rollback_stage only evaluates the policy and returns the cleanup plan WITHOUT executing the rollback. Defaults to false (execute)."
603
+ },
604
+ "query_object_type": {
605
+ "type": "string",
606
+ "description": "Object type for get_reversibility query (e.g. 'service', 'machine', 'guard'). When omitted, returns the full matrix."
607
+ },
608
+ "query_lifecycle_state": {
609
+ "type": "string",
610
+ "enum": [
611
+ "created",
612
+ "referenced",
613
+ "published",
614
+ "bound"
615
+ ],
616
+ "description": "Object lifecycle state for get_reversibility query. When omitted, returns all lifecycle states for the given object_type."
617
+ },
618
+ "context_objects": {
619
+ "type": "array",
620
+ "items": {
621
+ "type": "string"
622
+ },
623
+ "description": "Object IDs (0x...) or LocalMark names to assemble context for. Required when action='assemble_context'. The current on-chain state of each object will be queried and enriched with semantic annotations."
624
+ },
625
+ "include_events": {
626
+ "type": "boolean",
627
+ "description": "When true, assemble_context also queries recent state-transition events (NewOrderEvent, ProgressEvent, ArbEvent, etc.). Events are the real-time transition log — convergent and bounded. Defaults to false. Note: object-embedded history (ProgressSession.forwards, Order.disputes) is ALWAYS extracted automatically — no flag needed."
628
+ },
629
+ "context_network": {
630
+ "type": "string",
631
+ "enum": [
632
+ "testnet",
633
+ "mainnet"
634
+ ],
635
+ "description": "Network for assemble_context queries. Defaults to 'testnet' if omitted."
506
636
  }
507
637
  },
508
638
  "required": [
@@ -433,9 +433,60 @@
433
433
  "result"
434
434
  ],
435
435
  "additionalProperties": false
436
+ },
437
+ {
438
+ "type": "object",
439
+ "properties": {
440
+ "query_type": {
441
+ "const": "onchain_transaction"
442
+ },
443
+ "result": {
444
+ "$ref": "#/definitions/query_result_onchain_transaction",
445
+ "$schema": "http://json-schema.org/draft-07/schema#"
446
+ }
447
+ },
448
+ "required": [
449
+ "query_type",
450
+ "result"
451
+ ],
452
+ "additionalProperties": false
453
+ },
454
+ {
455
+ "type": "object",
456
+ "properties": {
457
+ "query_type": {
458
+ "const": "onchain_object_history"
459
+ },
460
+ "result": {
461
+ "$ref": "#/definitions/query_result_onchain_object_history",
462
+ "$schema": "http://json-schema.org/draft-07/schema#"
463
+ }
464
+ },
465
+ "required": [
466
+ "query_type",
467
+ "result"
468
+ ],
469
+ "additionalProperties": false
470
+ },
471
+ {
472
+ "type": "object",
473
+ "properties": {
474
+ "query_type": {
475
+ "const": "onchain_address_activity"
476
+ },
477
+ "result": {
478
+ "$ref": "#/definitions/query_result_onchain_address_activity",
479
+ "$schema": "http://json-schema.org/draft-07/schema#"
480
+ }
481
+ },
482
+ "required": [
483
+ "query_type",
484
+ "result"
485
+ ],
486
+ "additionalProperties": false
436
487
  }
437
488
  ],
438
- "description": "Query result — one of 19 variants discriminated by `query_type`. See sub-schemas for exact field structure."
489
+ "description": "Query result — one of 22 variants discriminated by `query_type`. See sub-schemas for exact field structure."
439
490
  },
440
491
  "semantic": {
441
492
  "$ref": "#/definitions/semantic",
@@ -14193,6 +14244,361 @@
14193
14244
  ],
14194
14245
  "description": "Received CoinWrapper object record or received other objects array"
14195
14246
  },
14247
+ "query_result_onchain_transaction": {
14248
+ "anyOf": [
14249
+ {
14250
+ "type": "object",
14251
+ "properties": {
14252
+ "digest": {
14253
+ "type": "string",
14254
+ "description": "Transaction digest (0x...)"
14255
+ },
14256
+ "status": {
14257
+ "type": "string",
14258
+ "enum": [
14259
+ "success",
14260
+ "failed"
14261
+ ],
14262
+ "description": "Transaction execution status"
14263
+ },
14264
+ "error": {
14265
+ "type": "string",
14266
+ "description": "Error message if the transaction failed"
14267
+ },
14268
+ "timestamp_ms": {
14269
+ "type": "string",
14270
+ "description": "Unix timestamp in milliseconds (string)"
14271
+ },
14272
+ "sender": {
14273
+ "type": "string",
14274
+ "description": "Transaction sender address"
14275
+ },
14276
+ "gas_used": {
14277
+ "type": "string",
14278
+ "description": "Total gas used (string, BigInt)"
14279
+ },
14280
+ "gas_budget": {
14281
+ "type": "string",
14282
+ "description": "Gas budget set by the sender (string)"
14283
+ },
14284
+ "kind": {
14285
+ "type": "string",
14286
+ "description": "Transaction kind (e.g. ProgrammableTransaction)"
14287
+ },
14288
+ "object_changes": {
14289
+ "type": "array",
14290
+ "items": {
14291
+ "type": "object",
14292
+ "properties": {
14293
+ "id": {
14294
+ "type": "string",
14295
+ "description": "Object ID affected by the transaction"
14296
+ },
14297
+ "type": {
14298
+ "type": "string",
14299
+ "enum": [
14300
+ "created",
14301
+ "mutated",
14302
+ "deleted",
14303
+ "wrapped",
14304
+ "unwrapped"
14305
+ ],
14306
+ "description": "Type of object change"
14307
+ },
14308
+ "object_type": {
14309
+ "type": "string",
14310
+ "description": "Full Move type of the object"
14311
+ },
14312
+ "sender": {
14313
+ "type": "string",
14314
+ "description": "Sender who caused this object change"
14315
+ },
14316
+ "version": {
14317
+ "type": "string",
14318
+ "description": "Object version after the change"
14319
+ },
14320
+ "previous_version": {
14321
+ "type": "string",
14322
+ "description": "Previous object version (for mutations)"
14323
+ },
14324
+ "digest": {
14325
+ "type": "string",
14326
+ "description": "Transaction digest that caused this change"
14327
+ }
14328
+ },
14329
+ "required": [
14330
+ "id",
14331
+ "type"
14332
+ ],
14333
+ "additionalProperties": false,
14334
+ "description": "Object change within a transaction"
14335
+ },
14336
+ "description": "Object changes (created/mutated/deleted)"
14337
+ },
14338
+ "balance_changes": {
14339
+ "type": "array",
14340
+ "items": {
14341
+ "type": "object",
14342
+ "properties": {
14343
+ "owner": {
14344
+ "type": "string",
14345
+ "description": "Owner address of the balance change"
14346
+ },
14347
+ "coin_type": {
14348
+ "type": "string",
14349
+ "description": "Coin type (e.g. 0x2::wow::WOW)"
14350
+ },
14351
+ "amount": {
14352
+ "type": "string",
14353
+ "description": "Amount changed (signed string, positive=incoming, negative=outgoing)"
14354
+ }
14355
+ },
14356
+ "required": [
14357
+ "owner",
14358
+ "coin_type",
14359
+ "amount"
14360
+ ],
14361
+ "additionalProperties": false,
14362
+ "description": "Balance change within a transaction"
14363
+ },
14364
+ "description": "Balance changes for all involved owners"
14365
+ },
14366
+ "event_count": {
14367
+ "type": "number",
14368
+ "description": "Number of events emitted by this transaction"
14369
+ },
14370
+ "epoch": {
14371
+ "type": "string",
14372
+ "description": "Epoch number when the transaction was executed"
14373
+ },
14374
+ "is_system_tx": {
14375
+ "type": "boolean",
14376
+ "description": "Whether this was a system transaction"
14377
+ },
14378
+ "cache_expire": {
14379
+ "anyOf": [
14380
+ {
14381
+ "type": "number"
14382
+ },
14383
+ {
14384
+ "type": "string",
14385
+ "const": "INFINITE"
14386
+ }
14387
+ ],
14388
+ "description": "Cache expiration timestamp"
14389
+ }
14390
+ },
14391
+ "required": [
14392
+ "digest",
14393
+ "status",
14394
+ "object_changes",
14395
+ "balance_changes",
14396
+ "event_count"
14397
+ ],
14398
+ "additionalProperties": false,
14399
+ "description": "Full transaction detail — verifiable proof of an on-chain operation"
14400
+ },
14401
+ {
14402
+ "not": {}
14403
+ }
14404
+ ]
14405
+ },
14406
+ "query_result_onchain_object_history": {
14407
+ "anyOf": [
14408
+ {
14409
+ "type": "object",
14410
+ "properties": {
14411
+ "transactions": {
14412
+ "type": "array",
14413
+ "items": {
14414
+ "type": "object",
14415
+ "properties": {
14416
+ "digest": {
14417
+ "type": "string",
14418
+ "description": "Transaction digest"
14419
+ },
14420
+ "status": {
14421
+ "type": "string",
14422
+ "enum": [
14423
+ "success",
14424
+ "failed"
14425
+ ],
14426
+ "description": "Transaction execution status"
14427
+ },
14428
+ "timestamp_ms": {
14429
+ "type": "string",
14430
+ "description": "Unix timestamp in milliseconds"
14431
+ },
14432
+ "sender": {
14433
+ "type": "string",
14434
+ "description": "Transaction sender address"
14435
+ },
14436
+ "kind": {
14437
+ "type": "string",
14438
+ "description": "Transaction kind"
14439
+ },
14440
+ "gas_used": {
14441
+ "type": "string",
14442
+ "description": "Gas used (string)"
14443
+ },
14444
+ "objects_touched": {
14445
+ "type": "array",
14446
+ "items": {
14447
+ "type": "string"
14448
+ },
14449
+ "description": "Object IDs touched by this transaction"
14450
+ },
14451
+ "has_object_changes": {
14452
+ "type": "boolean",
14453
+ "description": "Whether this tx created/mutated/deleted objects"
14454
+ }
14455
+ },
14456
+ "required": [
14457
+ "digest",
14458
+ "status",
14459
+ "objects_touched",
14460
+ "has_object_changes"
14461
+ ],
14462
+ "additionalProperties": false,
14463
+ "description": "Transaction history summary item"
14464
+ },
14465
+ "description": "Transaction history items"
14466
+ },
14467
+ "next_cursor": {
14468
+ "type": [
14469
+ "string",
14470
+ "null"
14471
+ ],
14472
+ "description": "Cursor for the next page (null if no more pages)"
14473
+ },
14474
+ "has_next_page": {
14475
+ "type": "boolean",
14476
+ "description": "Whether more pages are available"
14477
+ },
14478
+ "cache_expire": {
14479
+ "anyOf": [
14480
+ {
14481
+ "type": "number"
14482
+ },
14483
+ {
14484
+ "type": "string",
14485
+ "const": "INFINITE"
14486
+ }
14487
+ ],
14488
+ "description": "Cache expiration timestamp"
14489
+ }
14490
+ },
14491
+ "required": [
14492
+ "transactions",
14493
+ "next_cursor",
14494
+ "has_next_page"
14495
+ ],
14496
+ "additionalProperties": false,
14497
+ "description": "Paginated transaction history answer"
14498
+ },
14499
+ {
14500
+ "not": {}
14501
+ }
14502
+ ]
14503
+ },
14504
+ "query_result_onchain_address_activity": {
14505
+ "anyOf": [
14506
+ {
14507
+ "type": "object",
14508
+ "properties": {
14509
+ "transactions": {
14510
+ "type": "array",
14511
+ "items": {
14512
+ "type": "object",
14513
+ "properties": {
14514
+ "digest": {
14515
+ "type": "string",
14516
+ "description": "Transaction digest"
14517
+ },
14518
+ "status": {
14519
+ "type": "string",
14520
+ "enum": [
14521
+ "success",
14522
+ "failed"
14523
+ ],
14524
+ "description": "Transaction execution status"
14525
+ },
14526
+ "timestamp_ms": {
14527
+ "type": "string",
14528
+ "description": "Unix timestamp in milliseconds"
14529
+ },
14530
+ "sender": {
14531
+ "type": "string",
14532
+ "description": "Transaction sender address"
14533
+ },
14534
+ "kind": {
14535
+ "type": "string",
14536
+ "description": "Transaction kind"
14537
+ },
14538
+ "gas_used": {
14539
+ "type": "string",
14540
+ "description": "Gas used (string)"
14541
+ },
14542
+ "objects_touched": {
14543
+ "type": "array",
14544
+ "items": {
14545
+ "type": "string"
14546
+ },
14547
+ "description": "Object IDs touched by this transaction"
14548
+ },
14549
+ "has_object_changes": {
14550
+ "type": "boolean",
14551
+ "description": "Whether this tx created/mutated/deleted objects"
14552
+ }
14553
+ },
14554
+ "required": [
14555
+ "digest",
14556
+ "status",
14557
+ "objects_touched",
14558
+ "has_object_changes"
14559
+ ],
14560
+ "additionalProperties": false,
14561
+ "description": "Transaction history summary item"
14562
+ },
14563
+ "description": "Transaction history items"
14564
+ },
14565
+ "next_cursor": {
14566
+ "type": [
14567
+ "string",
14568
+ "null"
14569
+ ],
14570
+ "description": "Cursor for the next page (null if no more pages)"
14571
+ },
14572
+ "has_next_page": {
14573
+ "type": "boolean",
14574
+ "description": "Whether more pages are available"
14575
+ },
14576
+ "cache_expire": {
14577
+ "anyOf": [
14578
+ {
14579
+ "type": "number"
14580
+ },
14581
+ {
14582
+ "type": "string",
14583
+ "const": "INFINITE"
14584
+ }
14585
+ ],
14586
+ "description": "Cache expiration timestamp"
14587
+ }
14588
+ },
14589
+ "required": [
14590
+ "transactions",
14591
+ "next_cursor",
14592
+ "has_next_page"
14593
+ ],
14594
+ "additionalProperties": false,
14595
+ "description": "Paginated transaction history answer"
14596
+ },
14597
+ {
14598
+ "not": {}
14599
+ }
14600
+ ]
14601
+ },
14196
14602
  "semantic": {
14197
14603
  "type": "object",
14198
14604
  "properties": {