@wowok/agent-mcp 2.7.6 → 2.7.8
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/customer/index.d.ts +3 -4
- package/dist/customer/index.js +1 -1
- package/dist/customer/info-puzzle.js +1 -1
- package/dist/customer/order-monitor.d.ts +0 -9
- package/dist/customer/order-monitor.js +1 -1
- package/dist/customer/order-strategy.d.ts +0 -19
- package/dist/customer/order-strategy.js +1 -1
- package/dist/customer/reminder-system.d.ts +0 -5
- package/dist/customer/reminder-system.js +1 -1
- package/dist/evaluation/game-strategy.js +1 -1
- package/dist/evaluation/injection.d.ts +6 -0
- package/dist/evaluation/injection.js +1 -0
- package/dist/evaluation/node-game.js +1 -1
- package/dist/examples/machine-multisig-threshold.json +1 -0
- package/dist/harness/recover.js +1 -1
- package/dist/harness/types.d.ts +1 -1
- package/dist/harness/verify.js +1 -1
- package/dist/intent/enrich.js +1 -1
- package/dist/intent/matcher.js +1 -1
- package/dist/intent/types.d.ts +1 -1
- package/dist/intent/types.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/contract-invariants.d.ts +53 -0
- package/dist/knowledge/contract-invariants.js +1 -0
- package/dist/knowledge/deployment-scanner.js +1 -1
- package/dist/knowledge/dynamic-pricing.d.ts +0 -2
- package/dist/knowledge/dynamic-pricing.js +1 -1
- package/dist/knowledge/event-semantics.d.ts +20 -0
- package/dist/knowledge/event-semantics.js +1 -0
- package/dist/knowledge/examples-scanner-cli.js +1 -1
- package/dist/knowledge/examples-scanner.js +1 -1
- package/dist/knowledge/glossary.js +1 -1
- package/dist/knowledge/guard-submission-prompt.js +1 -1
- package/dist/knowledge/immutability.d.ts +11 -0
- package/dist/knowledge/immutability.js +1 -0
- package/dist/knowledge/index.d.ts +12 -6
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/intent-metrics.d.ts +1 -1
- package/dist/knowledge/jsonrpc-enum.d.ts +37 -0
- package/dist/knowledge/jsonrpc-enum.js +1 -0
- package/dist/knowledge/machine-confirm.js +1 -1
- package/dist/knowledge/machine-risk.js +1 -1
- package/dist/knowledge/machine-topology.d.ts +11 -0
- package/dist/knowledge/machine-topology.js +1 -1
- package/dist/knowledge/machine-translation.js +1 -1
- package/dist/knowledge/market-metrics.d.ts +11 -0
- package/dist/knowledge/market-metrics.js +1 -1
- package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
- package/dist/knowledge/mcp-schema-audit.d.ts +1 -0
- package/dist/knowledge/mcp-schema-audit.js +1 -1
- package/dist/knowledge/messenger-guard-guidance.d.ts +17 -0
- package/dist/knowledge/messenger-guard-guidance.js +1 -0
- package/dist/knowledge/operation-dictionary.d.ts +18 -0
- package/dist/knowledge/operation-dictionary.js +1 -0
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/service-risk.js +1 -1
- package/dist/knowledge/service-translation.js +1 -1
- package/dist/knowledge/supply-chain.d.ts +24 -0
- package/dist/knowledge/supply-chain.js +1 -0
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/trust-metrics.d.ts +27 -2
- package/dist/knowledge/trust-metrics.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +22 -1
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/EventStore.d.ts +78 -0
- package/dist/monitor/EventStore.js +1 -0
- package/dist/participation/radar-core.d.ts +0 -1
- package/dist/participation/radar-core.js +1 -1
- package/dist/persona/address-format.d.ts +6 -0
- package/dist/persona/address-format.js +1 -0
- package/dist/persona/analyzer.js +1 -1
- package/dist/persona/index.d.ts +3 -0
- package/dist/persona/index.js +1 -1
- package/dist/persona/types.d.ts +1 -1
- package/dist/persona/types.js +1 -1
- package/dist/project/business-puzzle.js +1 -1
- package/dist/project/edit-planner.js +1 -1
- package/dist/project/evaluation-fix.spec.d.ts +1 -0
- package/dist/project/evaluation-fix.spec.js +1 -0
- package/dist/project/evaluation.js +1 -1
- package/dist/project/graph-builder.js +1 -1
- package/dist/project/handlers.d.ts +2 -18
- package/dist/project/handlers.js +1 -1
- package/dist/project/index.js +1 -1
- package/dist/project/machine-nodes.d.ts +23 -0
- package/dist/project/machine-nodes.js +1 -1
- package/dist/project/machine-panorama.d.ts +41 -0
- package/dist/project/machine-panorama.js +1 -0
- package/dist/project/object-panorama.d.ts +179 -0
- package/dist/project/object-panorama.js +1 -0
- package/dist/project/object-type.d.ts +1 -0
- package/dist/project/object-type.js +1 -0
- package/dist/project/participation-radar.js +1 -1
- package/dist/project/semantic-assembler.js +1 -1
- package/dist/project/service-panorama.d.ts +180 -0
- package/dist/project/service-panorama.js +1 -0
- package/dist/project/stage-gate.d.ts +0 -1
- package/dist/project/stage-gate.js +1 -1
- package/dist/project/task-tracker.d.ts +4 -0
- package/dist/project/task-tracker.js +1 -1
- package/dist/role/derivation.d.ts +19 -2
- package/dist/role/derivation.js +1 -1
- package/dist/role/index.d.ts +2 -2
- package/dist/role/index.js +1 -1
- package/dist/role/model.js +1 -1
- package/dist/role/resolution.d.ts +16 -0
- package/dist/role/resolution.js +1 -1
- package/dist/role/types.d.ts +1 -1
- package/dist/role/types.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/call/allocation.d.ts +10 -0
- package/dist/schema/call/arbitration.d.ts +14 -3
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +16 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +7 -0
- package/dist/schema/call/contact.d.ts +11 -0
- package/dist/schema/call/demand.d.ts +11 -0
- package/dist/schema/call/guard.d.ts +3 -0
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +12 -0
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +11 -0
- package/dist/schema/call/payment.d.ts +4 -3
- package/dist/schema/call/payment.js +1 -1
- package/dist/schema/call/permission.d.ts +11 -0
- package/dist/schema/call/personal.d.ts +38 -0
- package/dist/schema/call/personal.js +1 -1
- package/dist/schema/call/progress.d.ts +11 -0
- package/dist/schema/call/proof.d.ts +2 -0
- package/dist/schema/call/repository.d.ts +15 -4
- package/dist/schema/call/reward.d.ts +17 -12
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.d.ts +3 -2
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +17 -0
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +17 -0
- package/dist/schema/common/index.d.ts +21 -0
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/evaluation/index.d.ts +146 -0
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -1
- package/dist/schema/intent-radar/index.d.ts +30 -3
- package/dist/schema/intent-radar/index.js +1 -1
- package/dist/schema/local/index.d.ts +9 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +54 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +932 -9
- package/dist/schema/operations.js +1 -1
- package/dist/schema/permission/index.d.ts +17 -0
- package/dist/schema/permission/index.js +1 -1
- package/dist/schema/project/index.d.ts +6 -0
- package/dist/schema/project/index.js +1 -1
- package/dist/schema/query/index.d.ts +663 -56
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/trust/index.d.ts +17 -0
- package/dist/schema/trust/index.js +1 -1
- package/dist/schema/watch/index.d.ts +204 -0
- package/dist/schema/watch/index.js +1 -0
- package/dist/schema/workflow/index.d.ts +301 -0
- package/dist/schema/workflow/index.js +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +5 -2
- package/dist/schemas/bridge_operation.output.json +5 -2
- package/dist/schemas/bridge_operation.schema.json +25 -9
- package/dist/schemas/evaluation_operation.output.json +276 -1
- package/dist/schemas/evaluation_operation.schema.json +307 -0
- package/dist/schemas/guard2file.schema.json +6 -2
- package/dist/schemas/index.json +13 -1
- package/dist/schemas/intent_radar.output.json +20 -2
- package/dist/schemas/intent_radar.schema.json +10 -1
- package/dist/schemas/local_info_operation.output.json +5 -2
- package/dist/schemas/local_mark_operation.output.json +5 -2
- package/dist/schemas/machineNode2file.schema.json +6 -2
- package/dist/schemas/messenger_operation.output.json +105 -2
- package/dist/schemas/messenger_operation.schema.json +98 -0
- package/dist/schemas/monitor_events.output.json +1360 -0
- package/dist/schemas/monitor_events.schema.json +62 -0
- package/dist/schemas/onchain_events.output.json +237 -14
- package/dist/schemas/onchain_events.schema.json +20 -0
- package/dist/schemas/onchain_operations.output.json +10 -5
- package/dist/schemas/onchain_operations.schema.json +768 -409
- package/dist/schemas/onchain_operations_allocation.schema.json +23 -7
- package/dist/schemas/onchain_operations_arbitration.schema.json +34 -9
- package/dist/schemas/onchain_operations_contact.schema.json +29 -5
- package/dist/schemas/onchain_operations_demand.schema.json +29 -5
- package/dist/schemas/onchain_operations_gen_passport.schema.json +6 -2
- package/dist/schemas/onchain_operations_gen_proof.schema.json +6 -2
- package/dist/schemas/onchain_operations_guard.schema.json +6 -2
- package/dist/schemas/onchain_operations_machine.schema.json +34 -10
- package/dist/schemas/onchain_operations_order.schema.json +29 -5
- package/dist/schemas/onchain_operations_payment.schema.json +13 -10
- package/dist/schemas/onchain_operations_permission.schema.json +29 -5
- package/dist/schemas/onchain_operations_personal.schema.json +44 -2
- package/dist/schemas/onchain_operations_progress.schema.json +29 -5
- package/dist/schemas/onchain_operations_proof.schema.json +6 -2
- package/dist/schemas/onchain_operations_repository.schema.json +310 -305
- package/dist/schemas/onchain_operations_reward.schema.json +46 -10
- package/dist/schemas/onchain_operations_service.schema.json +49 -13
- package/dist/schemas/onchain_operations_treasury.schema.json +46 -10
- package/dist/schemas/onchain_table_data.output.json +3750 -208
- package/dist/schemas/onchain_table_data.schema.json +311 -0
- package/dist/schemas/permission_operation.output.json +32 -0
- package/dist/schemas/project_operation.schema.json +14 -8
- package/dist/schemas/query_toolkit.output.json +425 -320
- package/dist/schemas/query_toolkit.schema.json +139 -1
- package/dist/schemas/trust_score.output.json +38 -0
- package/dist/schemas/trust_score.schema.json +32 -0
- package/dist/schemas/watch_operation.output.json +827 -0
- package/dist/schemas/watch_operation.schema.json +145 -0
- package/dist/schemas/workflow_operation.output.json +263 -5
- package/dist/schemas/workflow_operation.schema.json +597 -2
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/intent-radar.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/monitor.d.ts +2 -0
- package/dist/tools/handlers/monitor.js +1 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/permission.js +1 -1
- package/dist/tools/handlers/project.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/trust.d.ts +14 -0
- package/dist/tools/handlers/trust.js +1 -1
- package/dist/tools/handlers/watch.d.ts +2 -0
- package/dist/tools/handlers/watch.js +1 -0
- package/dist/tools/handlers/workflow.js +1 -1
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.js +1 -1
- package/dist/tools/shared.js +1 -1
- package/package.json +2 -2
- package/dist/customer/post-purchase.d.ts +0 -44
- package/dist/customer/post-purchase.js +0 -1
- package/dist/project/migration.d.ts +0 -22
- package/dist/project/migration.js +0 -1
- package/dist/project/rollback-policy.d.ts +0 -45
- package/dist/project/rollback-policy.js +0 -1
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://wowok.net/schemas/watch_operation.json",
|
|
4
|
+
"title": "Watch - Identity-Centric On-chain Console",
|
|
5
|
+
"description": "Identity-centric on-chain console (K3 23). Read-only. Resolves the active account's identity against a focus object, then layers base data, relation expansion, actionable operations, and four-stage reasoning. Actions: focus / expand / actions / reason.",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"action": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "focus"
|
|
13
|
+
},
|
|
14
|
+
"focus": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Object address or LocalMark name to focus on."
|
|
17
|
+
},
|
|
18
|
+
"account": {
|
|
19
|
+
"description": "Active account address; its on-chain role + persona are resolved against the focus.",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
"scenario": {
|
|
23
|
+
"description": "Optional scenario hint to guide identity assembly.",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": [
|
|
26
|
+
"order",
|
|
27
|
+
"service",
|
|
28
|
+
"demand",
|
|
29
|
+
"arbitration",
|
|
30
|
+
"progress",
|
|
31
|
+
"permission",
|
|
32
|
+
"account",
|
|
33
|
+
"generic"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"network": {
|
|
37
|
+
"description": "Network (default testnet).",
|
|
38
|
+
"type": "string"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": [
|
|
42
|
+
"action",
|
|
43
|
+
"focus"
|
|
44
|
+
],
|
|
45
|
+
"additionalProperties": false
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"action": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"const": "expand"
|
|
53
|
+
},
|
|
54
|
+
"focus": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Object address or LocalMark name to expand relations from."
|
|
57
|
+
},
|
|
58
|
+
"account": {
|
|
59
|
+
"description": "Active account address (for identity-aware relation semantics).",
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"relation": {
|
|
63
|
+
"description": "Filter to a single relation kind (e.g. machine, permission, arbitration, sub_service).",
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"network": {
|
|
67
|
+
"description": "Network (default testnet).",
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": [
|
|
72
|
+
"action",
|
|
73
|
+
"focus"
|
|
74
|
+
],
|
|
75
|
+
"additionalProperties": false
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "object",
|
|
79
|
+
"properties": {
|
|
80
|
+
"action": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"const": "actions"
|
|
83
|
+
},
|
|
84
|
+
"focus": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "Object address or LocalMark name to enumerate actionable operations for."
|
|
87
|
+
},
|
|
88
|
+
"account": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"description": "Active account address — operations are judged against THIS account."
|
|
91
|
+
},
|
|
92
|
+
"network": {
|
|
93
|
+
"description": "Network (default testnet).",
|
|
94
|
+
"type": "string"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": [
|
|
98
|
+
"action",
|
|
99
|
+
"focus",
|
|
100
|
+
"account"
|
|
101
|
+
],
|
|
102
|
+
"additionalProperties": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "object",
|
|
106
|
+
"properties": {
|
|
107
|
+
"action": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"const": "reason"
|
|
110
|
+
},
|
|
111
|
+
"focus": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"description": "Object address or LocalMark name to reason about."
|
|
114
|
+
},
|
|
115
|
+
"account": {
|
|
116
|
+
"description": "Active account address — identity drives the reasoning direction (objective vs game).",
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
"scenario": {
|
|
120
|
+
"description": "Optional scenario hint to guide identity assembly.",
|
|
121
|
+
"type": "string",
|
|
122
|
+
"enum": [
|
|
123
|
+
"order",
|
|
124
|
+
"service",
|
|
125
|
+
"demand",
|
|
126
|
+
"arbitration",
|
|
127
|
+
"progress",
|
|
128
|
+
"permission",
|
|
129
|
+
"account",
|
|
130
|
+
"generic"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"network": {
|
|
134
|
+
"description": "Network (default testnet).",
|
|
135
|
+
"type": "string"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"required": [
|
|
139
|
+
"action",
|
|
140
|
+
"focus"
|
|
141
|
+
],
|
|
142
|
+
"additionalProperties": false
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
@@ -12,11 +12,13 @@
|
|
|
12
12
|
"type": "string",
|
|
13
13
|
"enum": [
|
|
14
14
|
"list",
|
|
15
|
-
"
|
|
15
|
+
"task",
|
|
16
|
+
"operate",
|
|
17
|
+
"history"
|
|
16
18
|
]
|
|
17
19
|
},
|
|
18
20
|
"tasks": {
|
|
19
|
-
"description": "Present for action='list'",
|
|
21
|
+
"description": "Present for action='list' and action='task' (a one-element array — the same snapshot shape as a list item, built for the requested progress regardless of local-account relation; executable_accounts may be empty when no local account is authorized)",
|
|
20
22
|
"type": "array",
|
|
21
23
|
"items": {
|
|
22
24
|
"type": "object",
|
|
@@ -25,6 +27,10 @@
|
|
|
25
27
|
"type": "string",
|
|
26
28
|
"description": "Progress object address"
|
|
27
29
|
},
|
|
30
|
+
"progress_name": {
|
|
31
|
+
"description": "Display name for the progress (local account/mark name, when resolved)",
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
28
34
|
"current": {
|
|
29
35
|
"type": "string",
|
|
30
36
|
"description": "Current node of the Progress ('' = initial)"
|
|
@@ -33,6 +39,10 @@
|
|
|
33
39
|
"type": "string",
|
|
34
40
|
"description": "Machine object address"
|
|
35
41
|
},
|
|
42
|
+
"machine_name": {
|
|
43
|
+
"description": "Display name for the machine object (when resolved)",
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
36
46
|
"task": {
|
|
37
47
|
"anyOf": [
|
|
38
48
|
{
|
|
@@ -44,10 +54,39 @@
|
|
|
44
54
|
],
|
|
45
55
|
"description": "Bound task (Order) address, or null"
|
|
46
56
|
},
|
|
57
|
+
"task_name": {
|
|
58
|
+
"description": "Display name for the bound Order (when resolved)",
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
47
61
|
"service": {
|
|
48
62
|
"description": "Service address (resolved via the bound Order, if any)",
|
|
49
63
|
"type": "string"
|
|
50
64
|
},
|
|
65
|
+
"service_name": {
|
|
66
|
+
"description": "Display name for the Service object (when resolved)",
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"context_repositories": {
|
|
70
|
+
"description": "Context repositories bound to the Progress (zero or more)",
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"address": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"description": "Context repository address"
|
|
78
|
+
},
|
|
79
|
+
"name": {
|
|
80
|
+
"description": "Display name for the repository (when resolved)",
|
|
81
|
+
"type": "string"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"required": [
|
|
85
|
+
"address"
|
|
86
|
+
],
|
|
87
|
+
"additionalProperties": false
|
|
88
|
+
}
|
|
89
|
+
},
|
|
51
90
|
"options": {
|
|
52
91
|
"type": "array",
|
|
53
92
|
"items": {
|
|
@@ -73,6 +112,36 @@
|
|
|
73
112
|
"description": "Guard bound to this forward — must be verified (passport) before the transition",
|
|
74
113
|
"type": "string"
|
|
75
114
|
},
|
|
115
|
+
"guard_submissions": {
|
|
116
|
+
"description": "Guard submission fields the user must fill to advance this forward (from the guard's b_submission table items)",
|
|
117
|
+
"type": "array",
|
|
118
|
+
"items": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"properties": {
|
|
121
|
+
"identifier": {
|
|
122
|
+
"type": "number"
|
|
123
|
+
},
|
|
124
|
+
"name": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "Human-readable field name"
|
|
127
|
+
},
|
|
128
|
+
"value_type": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"description": "Expected value type (Address, U64, String, VecAddress, ...)"
|
|
131
|
+
},
|
|
132
|
+
"object_type": {
|
|
133
|
+
"description": "When value_type is an object address — the expected object type (e.g. Order)",
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": [
|
|
138
|
+
"identifier",
|
|
139
|
+
"name",
|
|
140
|
+
"value_type"
|
|
141
|
+
],
|
|
142
|
+
"additionalProperties": false
|
|
143
|
+
}
|
|
144
|
+
},
|
|
76
145
|
"operator_kind": {
|
|
77
146
|
"type": "string",
|
|
78
147
|
"enum": [
|
|
@@ -124,11 +193,23 @@
|
|
|
124
193
|
"additionalProperties": false,
|
|
125
194
|
"description": "A reachable forward with its permission + guard + executable local accounts"
|
|
126
195
|
},
|
|
127
|
-
"description": "ALL reachable next-node forwards with permission + guard + executable accounts"
|
|
196
|
+
"description": "ALL reachable next-node forwards with permission + guard + executable accounts (may be empty for a completed/terminal progress)"
|
|
128
197
|
},
|
|
129
198
|
"terminal": {
|
|
130
199
|
"type": "boolean",
|
|
131
200
|
"description": "True when the current node has no outgoing forwards (workflow is stuck or finished)"
|
|
201
|
+
},
|
|
202
|
+
"actionable": {
|
|
203
|
+
"type": "boolean",
|
|
204
|
+
"description": "True when at least one LOCAL account can execute a forward right now; false for progress that is merely related (e.g. already completed)"
|
|
205
|
+
},
|
|
206
|
+
"history_count": {
|
|
207
|
+
"description": "On-chain Progress.history length (append-only) — 0 when no migrations yet",
|
|
208
|
+
"type": "number"
|
|
209
|
+
},
|
|
210
|
+
"current_time": {
|
|
211
|
+
"description": "Chain clock (ms) when the current node was entered (Progress.current_time) — for elapsed-dwell display",
|
|
212
|
+
"type": "number"
|
|
132
213
|
}
|
|
133
214
|
},
|
|
134
215
|
"required": [
|
|
@@ -137,15 +218,192 @@
|
|
|
137
218
|
"machine",
|
|
138
219
|
"task",
|
|
139
220
|
"options",
|
|
140
|
-
"terminal"
|
|
221
|
+
"terminal",
|
|
222
|
+
"actionable"
|
|
141
223
|
],
|
|
142
224
|
"additionalProperties": false,
|
|
143
|
-
"description": "
|
|
225
|
+
"description": "A progress object related to a local account: actionable (a local account can act on it) or related (order holder / named operator / session operator involvement — viewable history)"
|
|
144
226
|
}
|
|
145
227
|
},
|
|
146
228
|
"operate": {
|
|
147
229
|
"description": "Present for action='operate' (the underlying progress operation result)"
|
|
148
230
|
},
|
|
231
|
+
"history": {
|
|
232
|
+
"description": "Present for action='history'",
|
|
233
|
+
"type": "object",
|
|
234
|
+
"properties": {
|
|
235
|
+
"progress": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"description": "Progress object address"
|
|
238
|
+
},
|
|
239
|
+
"current": {
|
|
240
|
+
"description": "Current node as of this sync",
|
|
241
|
+
"type": "string"
|
|
242
|
+
},
|
|
243
|
+
"records": {
|
|
244
|
+
"type": "array",
|
|
245
|
+
"items": {
|
|
246
|
+
"type": "object",
|
|
247
|
+
"properties": {
|
|
248
|
+
"index": {
|
|
249
|
+
"type": "number",
|
|
250
|
+
"description": "On-chain history index (0-based, append-only)"
|
|
251
|
+
},
|
|
252
|
+
"node": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"description": "Node migrated FROM"
|
|
255
|
+
},
|
|
256
|
+
"next_node": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"description": "Node migrated TO"
|
|
259
|
+
},
|
|
260
|
+
"time": {
|
|
261
|
+
"type": "number",
|
|
262
|
+
"description": "Migration time (on-chain clock ms)"
|
|
263
|
+
},
|
|
264
|
+
"session": {
|
|
265
|
+
"type": "array",
|
|
266
|
+
"items": {
|
|
267
|
+
"type": "object",
|
|
268
|
+
"properties": {
|
|
269
|
+
"next_node": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"description": "Session target node (the not-yet-migrated direction)"
|
|
272
|
+
},
|
|
273
|
+
"weights": {
|
|
274
|
+
"type": "number",
|
|
275
|
+
"description": "Accumulated forward weight at migration time"
|
|
276
|
+
},
|
|
277
|
+
"threshold": {
|
|
278
|
+
"type": "number",
|
|
279
|
+
"description": "Threshold required to complete the pair"
|
|
280
|
+
},
|
|
281
|
+
"forwards": {
|
|
282
|
+
"type": "array",
|
|
283
|
+
"items": {
|
|
284
|
+
"type": "object",
|
|
285
|
+
"properties": {
|
|
286
|
+
"forward": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"description": "Forward (operation) name"
|
|
289
|
+
},
|
|
290
|
+
"who": {
|
|
291
|
+
"anyOf": [
|
|
292
|
+
{
|
|
293
|
+
"type": "string"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"type": "null"
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"description": "Operator address that performed the forward (null = not yet held)"
|
|
300
|
+
},
|
|
301
|
+
"who_name": {
|
|
302
|
+
"description": "Display name for the operator (account name, else LocalMark)",
|
|
303
|
+
"type": "string"
|
|
304
|
+
},
|
|
305
|
+
"msg": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"description": "Message recorded with the forward"
|
|
308
|
+
},
|
|
309
|
+
"accomplished": {
|
|
310
|
+
"type": "boolean",
|
|
311
|
+
"description": "Whether the forward was accomplished"
|
|
312
|
+
},
|
|
313
|
+
"weight": {
|
|
314
|
+
"description": "Forward weight (from the machine config; the chain Holder snapshot stores no per-forward weight)",
|
|
315
|
+
"type": "number"
|
|
316
|
+
},
|
|
317
|
+
"time": {
|
|
318
|
+
"type": "number",
|
|
319
|
+
"description": "Last operation time (on-chain clock ms)"
|
|
320
|
+
},
|
|
321
|
+
"retained_submission": {
|
|
322
|
+
"description": "Retained Guard submission entries",
|
|
323
|
+
"type": "array",
|
|
324
|
+
"items": {
|
|
325
|
+
"type": "object",
|
|
326
|
+
"properties": {
|
|
327
|
+
"identifier": {
|
|
328
|
+
"type": "number"
|
|
329
|
+
},
|
|
330
|
+
"value_type": {
|
|
331
|
+
"type": "number"
|
|
332
|
+
},
|
|
333
|
+
"value": {},
|
|
334
|
+
"display_name": {
|
|
335
|
+
"description": "Display name for the first address-typed value (when resolved)",
|
|
336
|
+
"type": "string"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"required": [
|
|
340
|
+
"identifier",
|
|
341
|
+
"value_type",
|
|
342
|
+
"value"
|
|
343
|
+
],
|
|
344
|
+
"additionalProperties": false
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"required": [
|
|
349
|
+
"forward",
|
|
350
|
+
"who",
|
|
351
|
+
"msg",
|
|
352
|
+
"accomplished",
|
|
353
|
+
"time"
|
|
354
|
+
],
|
|
355
|
+
"additionalProperties": false,
|
|
356
|
+
"description": "One forward execution inside a session snapshot"
|
|
357
|
+
},
|
|
358
|
+
"description": "Forward executions in this session"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"required": [
|
|
362
|
+
"next_node",
|
|
363
|
+
"weights",
|
|
364
|
+
"threshold",
|
|
365
|
+
"forwards"
|
|
366
|
+
],
|
|
367
|
+
"additionalProperties": false,
|
|
368
|
+
"description": "Session snapshot captured at migration time"
|
|
369
|
+
},
|
|
370
|
+
"description": "Full session snapshot at migration"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"required": [
|
|
374
|
+
"index",
|
|
375
|
+
"node",
|
|
376
|
+
"next_node",
|
|
377
|
+
"time",
|
|
378
|
+
"session"
|
|
379
|
+
],
|
|
380
|
+
"additionalProperties": false,
|
|
381
|
+
"description": "One on-chain Progress history record (a completed migration)"
|
|
382
|
+
},
|
|
383
|
+
"description": "History records, newest first"
|
|
384
|
+
},
|
|
385
|
+
"synced": {
|
|
386
|
+
"type": "number",
|
|
387
|
+
"description": "Number of records newly synced in this call"
|
|
388
|
+
},
|
|
389
|
+
"cursor": {
|
|
390
|
+
"type": "number",
|
|
391
|
+
"description": "Last synced history index (0-based; -1 = none yet)"
|
|
392
|
+
},
|
|
393
|
+
"pruned": {
|
|
394
|
+
"type": "number",
|
|
395
|
+
"description": "Progress entries cleaned by the 90-day retention in this call"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"required": [
|
|
399
|
+
"progress",
|
|
400
|
+
"records",
|
|
401
|
+
"synced",
|
|
402
|
+
"cursor",
|
|
403
|
+
"pruned"
|
|
404
|
+
],
|
|
405
|
+
"additionalProperties": false
|
|
406
|
+
},
|
|
149
407
|
"note": {
|
|
150
408
|
"type": "string"
|
|
151
409
|
}
|