@wowok/agent-mcp 3.0.0 → 3.0.1
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/communication/evidence.d.ts +6 -0
- package/dist/communication/evidence.js +1 -0
- package/dist/evaluation/acceptance.d.ts +24 -0
- package/dist/evaluation/acceptance.js +1 -0
- package/dist/evaluation/builtins/demand-match.d.ts +3 -2
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/service-risk.d.ts +2 -1
- package/dist/evaluation/builtins/service-risk.js +1 -1
- package/dist/evaluation/index.d.ts +1 -0
- package/dist/evaluation/index.js +1 -1
- package/dist/evaluation/match-operation.d.ts +14 -0
- package/dist/evaluation/match-operation.js +1 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/goal/GoalClassifier.js +1 -1
- package/dist/goal/GoalEngine.d.ts +8 -0
- package/dist/goal/GoalEngine.js +1 -1
- package/dist/goal/types.d.ts +1 -1
- package/dist/harness/auto-escalation.d.ts +0 -12
- package/dist/harness/auto-escalation.js +1 -1
- package/dist/harness/index.d.ts +1 -14
- package/dist/harness/index.js +1 -1
- package/dist/harness/types.d.ts +0 -38
- package/dist/keeper/KeeperScan.d.ts +39 -0
- package/dist/keeper/KeeperScan.js +1 -0
- package/dist/keeper/KeeperStore.d.ts +43 -0
- package/dist/keeper/KeeperStore.js +1 -0
- package/dist/keeper/detectors.d.ts +23 -0
- package/dist/keeper/detectors.js +1 -0
- package/dist/keeper/keeper.spec.d.ts +1 -0
- package/dist/keeper/keeper.spec.js +1 -0
- package/dist/keeper/types.d.ts +65 -0
- package/dist/keeper/types.js +1 -0
- package/dist/knowledge/demand-risk.js +1 -1
- package/dist/knowledge/event-semantics.d.ts +3 -0
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/event-semantics.spec.d.ts +1 -0
- package/dist/knowledge/event-semantics.spec.js +1 -0
- package/dist/knowledge/evidence-review.d.ts +23 -0
- package/dist/knowledge/evidence-review.js +1 -1
- package/dist/knowledge/examples-scanner-cli.js +1 -1
- package/dist/knowledge/examples-scanner.js +1 -1
- package/dist/knowledge/guard-bytecode-spec.d.ts +82 -0
- package/dist/knowledge/guard-bytecode-spec.js +1 -0
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/index.d.ts +10 -6
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
- package/dist/knowledge/mcp-schema-audit.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +1 -1
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +20 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.d.ts +1 -0
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/monitor/ScopeResolver.js +1 -1
- package/dist/monitor/SuggestionBridge.d.ts +1 -1
- package/dist/monitor/SuggestionBridge.js +1 -1
- package/dist/monitor/SuggestionBridge.spec.d.ts +1 -0
- package/dist/monitor/SuggestionBridge.spec.js +1 -0
- package/dist/monitor/types.d.ts +0 -1
- package/dist/monitor/types.js +1 -1
- package/dist/participation/employee-kpi.d.ts +12 -0
- package/dist/participation/employee-kpi.js +1 -1
- package/dist/participation/employee-kpi.spec.d.ts +1 -0
- package/dist/participation/employee-kpi.spec.js +1 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/mode-actions.d.ts +0 -6
- package/dist/playbooks/service-build/mode-actions.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/relationship/derivation.d.ts +6 -0
- package/dist/relationship/derivation.js +1 -1
- package/dist/relationship/derivation.spec.d.ts +1 -0
- package/dist/relationship/derivation.spec.js +1 -0
- package/dist/role/index.d.ts +2 -2
- package/dist/role/index.js +1 -1
- package/dist/role/model.d.ts +2 -1
- package/dist/role/model.js +1 -1
- package/dist/role/types.d.ts +5 -0
- package/dist/rules.d.ts +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/employee/index.d.ts +61 -1
- package/dist/schema/employee/index.js +1 -1
- package/dist/schema/evaluation/index.d.ts +70 -5
- 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/industry-pack/index.d.ts +1 -7
- package/dist/schema/industry-pack/modes.d.ts +0 -6
- package/dist/schema/industry-pack/modes.js +1 -1
- package/dist/schema/keeper/index.d.ts +475 -0
- package/dist/schema/keeper/index.js +1 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +2 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +6 -0
- package/dist/schema/query/bi.d.ts +99 -0
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/schema-query/index.d.ts +2 -11
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/utils/skills-recommendation.js +1 -1
- package/dist/schema/watch/index.d.ts +4 -0
- package/dist/schema/watch/index.js +1 -1
- package/dist/schema-query-impl/index.d.ts +33 -14
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/employee_operation.output.json +100 -0
- package/dist/schemas/employee_operation.schema.json +148 -5
- package/dist/schemas/evaluation_operation.output.json +135 -9
- package/dist/schemas/evaluation_operation.schema.json +176 -7
- package/dist/schemas/index.json +7 -1
- package/dist/schemas/industry_pack_operation.output.json +2 -32
- package/dist/schemas/keeper_operation.output.json +1274 -0
- package/dist/schemas/keeper_operation.schema.json +359 -0
- package/dist/schemas/messenger_operation.schema.json +8 -0
- package/dist/schemas/onchain_table_data.output.json +18 -0
- package/dist/schemas/query_toolkit.output.json +245 -0
- package/dist/schemas/query_toolkit.schema.json +18 -0
- package/dist/schemas/schema_query.output.json +1 -64
- package/dist/schemas/schema_query.schema.json +18 -3
- package/dist/schemas/watch_operation.output.json +21 -1
- package/dist/task/playbook.js +1 -1
- package/dist/task/types.d.ts +1 -1
- package/dist/tools/handlers/bridge.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/employee.d.ts +6 -0
- package/dist/tools/handlers/employee.js +1 -1
- package/dist/tools/handlers/employee.spec.d.ts +1 -0
- package/dist/tools/handlers/employee.spec.js +1 -0
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.d.ts +1 -0
- package/dist/tools/handlers/evaluation.spec.js +1 -0
- package/dist/tools/handlers/keeper.d.ts +12 -0
- package/dist/tools/handlers/keeper.js +1 -0
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/schema-query.js +1 -1
- package/dist/tools/handlers/watch.js +1 -1
- package/dist/tools/handlers/workflow.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/agent.d.ts +2 -0
- package/dist/tools/registry/agent.js +1 -0
- package/dist/tools/registry/bridge.d.ts +2 -0
- package/dist/tools/registry/bridge.js +1 -0
- package/dist/tools/registry/business.d.ts +2 -0
- package/dist/tools/registry/business.js +1 -0
- package/dist/tools/registry/config.d.ts +2 -0
- package/dist/tools/registry/config.js +1 -0
- package/dist/tools/registry/files.d.ts +2 -0
- package/dist/tools/registry/files.js +1 -0
- package/dist/tools/registry/identity.d.ts +2 -0
- package/dist/tools/registry/identity.js +1 -0
- package/dist/tools/registry/local.d.ts +2 -0
- package/dist/tools/registry/local.js +1 -0
- package/dist/tools/registry/messenger.d.ts +2 -0
- package/dist/tools/registry/messenger.js +1 -0
- package/dist/tools/registry/monitor.d.ts +2 -0
- package/dist/tools/registry/monitor.js +1 -0
- package/dist/tools/registry/onchain.d.ts +2 -0
- package/dist/tools/registry/onchain.js +1 -0
- package/dist/tools/registry/query.d.ts +2 -0
- package/dist/tools/registry/query.js +1 -0
- package/dist/tools/registry/trust.d.ts +2 -0
- package/dist/tools/registry/trust.js +1 -0
- package/dist/tools/shared.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
- package/dist/examples/arbitration-dispute-create.json +0 -41
- package/dist/examples/arbitration-vote-weighted.json +0 -35
- package/dist/examples/arbitration-voting-guard-add.json +0 -38
- package/dist/examples/demand-present-service.json +0 -33
- package/dist/examples/education-contact-create.json +0 -40
- package/dist/examples/freelance-contact-create.json +0 -40
- package/dist/examples/gen-passport-verify-guard.json +0 -48
- package/dist/examples/guard-template-balance-check.json +0 -59
- package/dist/examples/guard-template-time-lock.json +0 -60
- package/dist/examples/insurance-guard-claim-timelock.json +0 -75
- package/dist/examples/insurance-guard-withdraw-allocation.json +0 -96
- package/dist/examples/insurance-machine-create.json +0 -75
- package/dist/examples/insurance-service-allocators.json +0 -55
- package/dist/examples/machine-multisig-threshold.json +0 -87
- package/dist/examples/machine-publish.json +0 -30
- package/dist/examples/machine-template-7node-rental.json +0 -119
- package/dist/examples/payment-scenario-bound.json +0 -45
- package/dist/examples/rental-ziroom-machine-create.json +0 -148
- package/dist/examples/rental-ziroom-permission-create.json +0 -41
- package/dist/examples/rental-ziroom-service-create.json +0 -36
- package/dist/examples/retail-adv-guard-customer-win-create.json +0 -80
- package/dist/examples/retail-adv-guard-messenger-proof-create.json +0 -65
- package/dist/examples/retail-adv-guard-reward-timeout-create.json +0 -92
- package/dist/examples/retail-adv-reward-guard-add.json +0 -51
- package/dist/examples/retail-myshop-allocation-activate.json +0 -55
- package/dist/examples/retail-myshop-arbitration-create.json +0 -40
- package/dist/examples/retail-myshop-contact-create.json +0 -43
- package/dist/examples/retail-myshop-order-create.json +0 -56
- package/dist/examples/retail-myshop-progress-operate.json +0 -38
- package/dist/examples/retail-myshop-reward-create.json +0 -35
- package/dist/examples/retail-myshop-service-create.json +0 -38
- package/dist/examples/retail-myshop-service-customer-required.json +0 -31
- package/dist/examples/service-discount-issue.json +0 -46
- package/dist/examples/subscription-contact-create.json +0 -40
- package/dist/examples/threebody-guard-create.json +0 -56
- package/dist/examples/threebody-machine-create.json +0 -71
- package/dist/examples/threebody-permission-create.json +0 -38
- package/dist/examples/threebody-service-allocators.json +0 -48
- package/dist/examples/travel-guard-time-lock.json +0 -69
- package/dist/examples/travel-guard-weather-oracle.json +0 -70
- package/dist/examples/travel-machine-create.json +0 -135
- package/dist/examples/travel-repository-create.json +0 -47
- package/dist/examples/travel-service-create.json +0 -34
- package/dist/examples/travel-treasury-create.json +0 -34
- package/dist/examples/treasury-deposit.json +0 -37
- package/dist/examples/treasury-withdraw.json +0 -38
- package/dist/harness/plan.d.ts +0 -33
- package/dist/harness/plan.js +0 -1
- package/dist/knowledge/demand-matching.d.ts +0 -29
- package/dist/knowledge/demand-matching.js +0 -1
- package/dist/knowledge/guard-context.d.ts +0 -56
- package/dist/knowledge/guard-context.js +0 -1
- package/dist/knowledge/guard-migration.d.ts +0 -48
- package/dist/knowledge/guard-migration.js +0 -1
- package/dist/schemas/guard-node-schema.json +0 -1000
- package/dist/task/stage-gate.d.ts +0 -22
- package/dist/task/stage-gate.js +0 -1
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://wowok.net/schemas/keeper_operation.json",
|
|
4
|
+
"title": "Keeper - Actionable Reminders & Authorized Auto-Execution",
|
|
5
|
+
"description": "Who-benefits-who-pushes: actionable reminders (unclaimed payments, actionable workflow forwards), dismiss/execute, auto-exec rule authorizations, config, manual scan, status",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"action": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "tasks"
|
|
13
|
+
},
|
|
14
|
+
"status": {
|
|
15
|
+
"description": "Filter by task status (default: all).",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enum": [
|
|
18
|
+
"pending",
|
|
19
|
+
"executed",
|
|
20
|
+
"dismissed",
|
|
21
|
+
"superseded"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"detector": {
|
|
25
|
+
"description": "Filter by detector kind.",
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"payment_unclaimed",
|
|
29
|
+
"progress_actionable"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"beneficiary": {
|
|
33
|
+
"description": "Filter by beneficiary account.",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"pattern": "^0x[0-9a-fA-F]{4,64}$"
|
|
36
|
+
},
|
|
37
|
+
"limit": {
|
|
38
|
+
"description": "Page size (default 50).",
|
|
39
|
+
"type": "integer",
|
|
40
|
+
"minimum": 1,
|
|
41
|
+
"maximum": 200
|
|
42
|
+
},
|
|
43
|
+
"offset": {
|
|
44
|
+
"description": "Page offset (default 0).",
|
|
45
|
+
"type": "integer",
|
|
46
|
+
"minimum": 0,
|
|
47
|
+
"maximum": 9007199254740991
|
|
48
|
+
},
|
|
49
|
+
"network": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"enum": [
|
|
52
|
+
"localnet",
|
|
53
|
+
"testnet",
|
|
54
|
+
"mainnet"
|
|
55
|
+
],
|
|
56
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": [
|
|
60
|
+
"action"
|
|
61
|
+
],
|
|
62
|
+
"additionalProperties": false
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"action": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"const": "dismiss"
|
|
70
|
+
},
|
|
71
|
+
"task_ids": {
|
|
72
|
+
"minItems": 1,
|
|
73
|
+
"type": "array",
|
|
74
|
+
"items": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"minLength": 1
|
|
77
|
+
},
|
|
78
|
+
"description": "Task ids to dismiss. A dismissed task re-opens ONLY when the underlying state materially changes (new funds, new forward) — never for the identical state."
|
|
79
|
+
},
|
|
80
|
+
"network": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"enum": [
|
|
83
|
+
"localnet",
|
|
84
|
+
"testnet",
|
|
85
|
+
"mainnet"
|
|
86
|
+
],
|
|
87
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": [
|
|
91
|
+
"action",
|
|
92
|
+
"task_ids"
|
|
93
|
+
],
|
|
94
|
+
"additionalProperties": false
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "object",
|
|
98
|
+
"properties": {
|
|
99
|
+
"action": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"const": "execute"
|
|
102
|
+
},
|
|
103
|
+
"task_id": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"minLength": 1,
|
|
106
|
+
"description": "Task id to execute NOW as its beneficiary. Only tasks carrying a keeper-executable operation can run (v1: payment_unclaimed — claim-to-self). Reminder-only tasks point at workflow_operation in their detail text. This explicit call IS the user decision (no rule required)."
|
|
107
|
+
},
|
|
108
|
+
"network": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"enum": [
|
|
111
|
+
"localnet",
|
|
112
|
+
"testnet",
|
|
113
|
+
"mainnet"
|
|
114
|
+
],
|
|
115
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"required": [
|
|
119
|
+
"action",
|
|
120
|
+
"task_id"
|
|
121
|
+
],
|
|
122
|
+
"additionalProperties": false
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "object",
|
|
126
|
+
"properties": {
|
|
127
|
+
"action": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"const": "rules"
|
|
130
|
+
},
|
|
131
|
+
"network": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"enum": [
|
|
134
|
+
"localnet",
|
|
135
|
+
"testnet",
|
|
136
|
+
"mainnet"
|
|
137
|
+
],
|
|
138
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"required": [
|
|
142
|
+
"action"
|
|
143
|
+
],
|
|
144
|
+
"additionalProperties": false
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": "object",
|
|
148
|
+
"properties": {
|
|
149
|
+
"action": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"const": "rule_set"
|
|
152
|
+
},
|
|
153
|
+
"rule_id": {
|
|
154
|
+
"description": "Existing rule id to update; omit to create a new rule.",
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
"detector": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"enum": [
|
|
160
|
+
"payment_unclaimed",
|
|
161
|
+
"progress_actionable"
|
|
162
|
+
],
|
|
163
|
+
"description": "Detector the rule applies to."
|
|
164
|
+
},
|
|
165
|
+
"enabled": {
|
|
166
|
+
"description": "Default true.",
|
|
167
|
+
"type": "boolean"
|
|
168
|
+
},
|
|
169
|
+
"accounts": {
|
|
170
|
+
"description": "Beneficiaries covered (default: all beneficiaries the detector surfaces).",
|
|
171
|
+
"type": "array",
|
|
172
|
+
"items": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"pattern": "^0x[0-9a-fA-F]{4,64}$",
|
|
175
|
+
"description": "Account address (0x…). Case-insensitive; stored lowercase."
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"auto_execute": {
|
|
179
|
+
"description": "Standing authorization: the keeper executes matching tasks automatically. v1: only 'payment_unclaimed' may auto-execute (claim-to-self — funds move only INTO the beneficiary's own wallet). Progress advancing stays reminder-only because it can release funds to a counterparty.",
|
|
180
|
+
"type": "boolean"
|
|
181
|
+
},
|
|
182
|
+
"note": {
|
|
183
|
+
"description": "User rationale, recorded verbatim in the audit trail.",
|
|
184
|
+
"type": "string"
|
|
185
|
+
},
|
|
186
|
+
"network": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"enum": [
|
|
189
|
+
"localnet",
|
|
190
|
+
"testnet",
|
|
191
|
+
"mainnet"
|
|
192
|
+
],
|
|
193
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"required": [
|
|
197
|
+
"action",
|
|
198
|
+
"detector"
|
|
199
|
+
],
|
|
200
|
+
"additionalProperties": false
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"type": "object",
|
|
204
|
+
"properties": {
|
|
205
|
+
"action": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"const": "rule_remove"
|
|
208
|
+
},
|
|
209
|
+
"rule_id": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"minLength": 1
|
|
212
|
+
},
|
|
213
|
+
"network": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"enum": [
|
|
216
|
+
"localnet",
|
|
217
|
+
"testnet",
|
|
218
|
+
"mainnet"
|
|
219
|
+
],
|
|
220
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"required": [
|
|
224
|
+
"action",
|
|
225
|
+
"rule_id"
|
|
226
|
+
],
|
|
227
|
+
"additionalProperties": false
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"type": "object",
|
|
231
|
+
"properties": {
|
|
232
|
+
"action": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"const": "config"
|
|
235
|
+
},
|
|
236
|
+
"network": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"enum": [
|
|
239
|
+
"localnet",
|
|
240
|
+
"testnet",
|
|
241
|
+
"mainnet"
|
|
242
|
+
],
|
|
243
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"required": [
|
|
247
|
+
"action"
|
|
248
|
+
],
|
|
249
|
+
"additionalProperties": false
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"type": "object",
|
|
253
|
+
"properties": {
|
|
254
|
+
"action": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"const": "config_set"
|
|
257
|
+
},
|
|
258
|
+
"enabled": {
|
|
259
|
+
"description": "Master switch — false pauses scanning (existing tasks stay visible).",
|
|
260
|
+
"type": "boolean"
|
|
261
|
+
},
|
|
262
|
+
"detectors": {
|
|
263
|
+
"description": "Per-detector reminder switches.",
|
|
264
|
+
"type": "object",
|
|
265
|
+
"properties": {
|
|
266
|
+
"payment_unclaimed": {
|
|
267
|
+
"type": "boolean"
|
|
268
|
+
},
|
|
269
|
+
"progress_actionable": {
|
|
270
|
+
"type": "boolean"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"additionalProperties": false
|
|
274
|
+
},
|
|
275
|
+
"scan_interval_ms": {
|
|
276
|
+
"description": "Min ms between keeper scans (default 120000, min 30000). The scan runs inside the monitor tick.",
|
|
277
|
+
"type": "integer",
|
|
278
|
+
"minimum": -9007199254740991,
|
|
279
|
+
"maximum": 9007199254740991
|
|
280
|
+
},
|
|
281
|
+
"max_scan_objects": {
|
|
282
|
+
"description": "Hard bound on chain-reading candidates per scan (default 20).",
|
|
283
|
+
"type": "integer",
|
|
284
|
+
"minimum": -9007199254740991,
|
|
285
|
+
"maximum": 9007199254740991
|
|
286
|
+
},
|
|
287
|
+
"max_auto_execute_per_scan": {
|
|
288
|
+
"description": "Gas guard: max auto-executions per scan (default 5).",
|
|
289
|
+
"type": "integer",
|
|
290
|
+
"minimum": -9007199254740991,
|
|
291
|
+
"maximum": 9007199254740991
|
|
292
|
+
},
|
|
293
|
+
"auto_retry_cooldown_ms": {
|
|
294
|
+
"description": "Cooldown after a failed auto-exec (default 1800000 = 30min).",
|
|
295
|
+
"type": "integer",
|
|
296
|
+
"minimum": -9007199254740991,
|
|
297
|
+
"maximum": 9007199254740991
|
|
298
|
+
},
|
|
299
|
+
"network": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"enum": [
|
|
302
|
+
"localnet",
|
|
303
|
+
"testnet",
|
|
304
|
+
"mainnet"
|
|
305
|
+
],
|
|
306
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"required": [
|
|
310
|
+
"action"
|
|
311
|
+
],
|
|
312
|
+
"additionalProperties": false
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"type": "object",
|
|
316
|
+
"properties": {
|
|
317
|
+
"action": {
|
|
318
|
+
"type": "string",
|
|
319
|
+
"const": "scan"
|
|
320
|
+
},
|
|
321
|
+
"network": {
|
|
322
|
+
"type": "string",
|
|
323
|
+
"enum": [
|
|
324
|
+
"localnet",
|
|
325
|
+
"testnet",
|
|
326
|
+
"mainnet"
|
|
327
|
+
],
|
|
328
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"required": [
|
|
332
|
+
"action"
|
|
333
|
+
],
|
|
334
|
+
"additionalProperties": false
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"type": "object",
|
|
338
|
+
"properties": {
|
|
339
|
+
"action": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"const": "status"
|
|
342
|
+
},
|
|
343
|
+
"network": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"enum": [
|
|
346
|
+
"localnet",
|
|
347
|
+
"testnet",
|
|
348
|
+
"mainnet"
|
|
349
|
+
],
|
|
350
|
+
"description": "Network entrypoint: Specifies which network the operation occurs on. FIX-010 cross-network note: LocalMark names are scoped per network (testnet marks are invisible on mainnet and vice versa). When migrating from testnet to mainnet, recreate all objects on mainnet and re-register LocalMark names with the SAME names to keep name-based references working across networks. Recreate all objects on the target network via onchain_operations with env.network=target_network, then re-register the LocalMark names."
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"required": [
|
|
354
|
+
"action"
|
|
355
|
+
],
|
|
356
|
+
"additionalProperties": false
|
|
357
|
+
}
|
|
358
|
+
]
|
|
359
|
+
}
|
|
@@ -240,6 +240,10 @@
|
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
242
|
"additionalProperties": false
|
|
243
|
+
},
|
|
244
|
+
"goal_id": {
|
|
245
|
+
"description": "Optional goal id (from goal_operation). When set, this act is recorded as communication evidence on the goal's TaskProcess (K3 27 G5) — use it only when the act belongs to an active goal's execution (order negotiation, required-info confirmation, WTS evidence, on-chain proof).",
|
|
246
|
+
"type": "string"
|
|
243
247
|
}
|
|
244
248
|
},
|
|
245
249
|
"required": [
|
|
@@ -1080,6 +1084,10 @@
|
|
|
1080
1084
|
"mainnet"
|
|
1081
1085
|
],
|
|
1082
1086
|
"description": "Network to use for on-chain proof (required)"
|
|
1087
|
+
},
|
|
1088
|
+
"goal_id": {
|
|
1089
|
+
"description": "Optional goal id (from goal_operation). When set, this act is recorded as communication evidence on the goal's TaskProcess (K3 27 G5) — use it only when the act belongs to an active goal's execution (order negotiation, required-info confirmation, WTS evidence, on-chain proof).",
|
|
1090
|
+
"type": "string"
|
|
1083
1091
|
}
|
|
1084
1092
|
},
|
|
1085
1093
|
"required": [
|
|
@@ -9392,6 +9392,24 @@
|
|
|
9392
9392
|
"additionalProperties": false,
|
|
9393
9393
|
"description": "Business Relationship Graph (K3/19): derive ONE account's full relationship web from on-chain power carriers (Permission memberships, Machine forwards, Orders, Demand presenters, Allocation sharing, Arbitration bindings, Contact ims). Each edge carries the three dimensions — 权属 power (what each side CAN do, and where that power lives on-chain), 利益 interest (gains/exposures, with registry-declared goal tensions like principal-agent divergence), and 价值交互 value flows (escrow → allocation → payment chains). Read-only; roles are DERIVED from chain data, never asserted."
|
|
9394
9394
|
},
|
|
9395
|
+
{
|
|
9396
|
+
"type": "object",
|
|
9397
|
+
"properties": {
|
|
9398
|
+
"query_type": {
|
|
9399
|
+
"type": "string",
|
|
9400
|
+
"const": "scenario_topology"
|
|
9401
|
+
},
|
|
9402
|
+
"chain_id": {
|
|
9403
|
+
"description": "Optional scenario-chain id (chain.standard_ecommerce | chain.procurement_tender | chain.data_subscription | chain.collaborative_operations). When given, only that chain is returned; otherwise ALL scenario chains + bridges are returned.",
|
|
9404
|
+
"type": "string"
|
|
9405
|
+
}
|
|
9406
|
+
},
|
|
9407
|
+
"required": [
|
|
9408
|
+
"query_type"
|
|
9409
|
+
],
|
|
9410
|
+
"additionalProperties": false,
|
|
9411
|
+
"description": "Scenario Topology knowledge (K3 03 §3.5 / Part 2): the STATIC registry of how WoWok objects INTEGRATE each other. Bridges weld object pairs into a capability that belongs to no single object (e.g. Demand.present(service) grants MATCHMAKING); chains compose bridges into whole applications (e.g. standard e-commerce, procurement tender). Pure knowledge, read-only — no on-chain reads. Use to explain HOW a business scenario is assembled from on-chain objects and why the integration (not the objects themselves) yields the capability."
|
|
9412
|
+
},
|
|
9395
9413
|
{
|
|
9396
9414
|
"type": "object",
|
|
9397
9415
|
"properties": {
|
|
@@ -17537,6 +17537,54 @@
|
|
|
17537
17537
|
"summary": {
|
|
17538
17538
|
"type": "string",
|
|
17539
17539
|
"description": "One-paragraph relationship web summary."
|
|
17540
|
+
},
|
|
17541
|
+
"demander_interest": {
|
|
17542
|
+
"description": "Demander-interest analysis per anchor-owned demand (fund_flow/responsibility/leverage/stakes).",
|
|
17543
|
+
"type": "array",
|
|
17544
|
+
"items": {
|
|
17545
|
+
"type": "object",
|
|
17546
|
+
"properties": {
|
|
17547
|
+
"demand": {
|
|
17548
|
+
"type": "string"
|
|
17549
|
+
},
|
|
17550
|
+
"fund_flow": {
|
|
17551
|
+
"type": "array",
|
|
17552
|
+
"items": {
|
|
17553
|
+
"type": "string"
|
|
17554
|
+
}
|
|
17555
|
+
},
|
|
17556
|
+
"responsibility": {
|
|
17557
|
+
"type": "array",
|
|
17558
|
+
"items": {
|
|
17559
|
+
"type": "string"
|
|
17560
|
+
}
|
|
17561
|
+
},
|
|
17562
|
+
"leverage": {
|
|
17563
|
+
"type": "array",
|
|
17564
|
+
"items": {
|
|
17565
|
+
"type": "string"
|
|
17566
|
+
}
|
|
17567
|
+
},
|
|
17568
|
+
"stakes": {
|
|
17569
|
+
"type": "array",
|
|
17570
|
+
"items": {
|
|
17571
|
+
"type": "string"
|
|
17572
|
+
}
|
|
17573
|
+
},
|
|
17574
|
+
"summary": {
|
|
17575
|
+
"type": "string"
|
|
17576
|
+
}
|
|
17577
|
+
},
|
|
17578
|
+
"required": [
|
|
17579
|
+
"demand",
|
|
17580
|
+
"fund_flow",
|
|
17581
|
+
"responsibility",
|
|
17582
|
+
"leverage",
|
|
17583
|
+
"stakes",
|
|
17584
|
+
"summary"
|
|
17585
|
+
],
|
|
17586
|
+
"additionalProperties": false
|
|
17587
|
+
}
|
|
17540
17588
|
}
|
|
17541
17589
|
},
|
|
17542
17590
|
"required": [
|
|
@@ -17557,6 +17605,203 @@
|
|
|
17557
17605
|
],
|
|
17558
17606
|
"additionalProperties": false
|
|
17559
17607
|
},
|
|
17608
|
+
{
|
|
17609
|
+
"type": "object",
|
|
17610
|
+
"properties": {
|
|
17611
|
+
"query_type": {
|
|
17612
|
+
"type": "string",
|
|
17613
|
+
"const": "scenario_topology"
|
|
17614
|
+
},
|
|
17615
|
+
"result": {
|
|
17616
|
+
"type": "object",
|
|
17617
|
+
"properties": {
|
|
17618
|
+
"version": {
|
|
17619
|
+
"type": "string",
|
|
17620
|
+
"description": "scenario-topology registry version."
|
|
17621
|
+
},
|
|
17622
|
+
"chains": {
|
|
17623
|
+
"type": "array",
|
|
17624
|
+
"items": {
|
|
17625
|
+
"type": "object",
|
|
17626
|
+
"properties": {
|
|
17627
|
+
"id": {
|
|
17628
|
+
"type": "string",
|
|
17629
|
+
"description": "Stable chain id (e.g. chain.standard_ecommerce)."
|
|
17630
|
+
},
|
|
17631
|
+
"name": {
|
|
17632
|
+
"type": "string"
|
|
17633
|
+
},
|
|
17634
|
+
"steps": {
|
|
17635
|
+
"type": "array",
|
|
17636
|
+
"items": {
|
|
17637
|
+
"type": "object",
|
|
17638
|
+
"properties": {
|
|
17639
|
+
"bridge": {
|
|
17640
|
+
"type": "string"
|
|
17641
|
+
},
|
|
17642
|
+
"note": {
|
|
17643
|
+
"type": "string"
|
|
17644
|
+
}
|
|
17645
|
+
},
|
|
17646
|
+
"required": [
|
|
17647
|
+
"bridge"
|
|
17648
|
+
],
|
|
17649
|
+
"additionalProperties": false
|
|
17650
|
+
},
|
|
17651
|
+
"description": "Ordered bridges forming the complete application."
|
|
17652
|
+
},
|
|
17653
|
+
"application_capability": {
|
|
17654
|
+
"type": "string",
|
|
17655
|
+
"description": "The end-to-end application capability."
|
|
17656
|
+
},
|
|
17657
|
+
"objects_touched": {
|
|
17658
|
+
"type": "array",
|
|
17659
|
+
"items": {
|
|
17660
|
+
"type": "string"
|
|
17661
|
+
}
|
|
17662
|
+
}
|
|
17663
|
+
},
|
|
17664
|
+
"required": [
|
|
17665
|
+
"id",
|
|
17666
|
+
"name",
|
|
17667
|
+
"steps",
|
|
17668
|
+
"application_capability",
|
|
17669
|
+
"objects_touched"
|
|
17670
|
+
],
|
|
17671
|
+
"additionalProperties": false
|
|
17672
|
+
},
|
|
17673
|
+
"description": "Scenario chains (whole applications); optionally filtered by chain_id."
|
|
17674
|
+
},
|
|
17675
|
+
"bridges": {
|
|
17676
|
+
"type": "array",
|
|
17677
|
+
"items": {
|
|
17678
|
+
"type": "object",
|
|
17679
|
+
"properties": {
|
|
17680
|
+
"id": {
|
|
17681
|
+
"type": "string",
|
|
17682
|
+
"description": "Stable bridge id (e.g. bridge.supply_match)."
|
|
17683
|
+
},
|
|
17684
|
+
"name": {
|
|
17685
|
+
"type": "string"
|
|
17686
|
+
},
|
|
17687
|
+
"participants": {
|
|
17688
|
+
"type": "array",
|
|
17689
|
+
"items": {
|
|
17690
|
+
"type": "object",
|
|
17691
|
+
"properties": {
|
|
17692
|
+
"object": {
|
|
17693
|
+
"type": "string"
|
|
17694
|
+
},
|
|
17695
|
+
"role": {
|
|
17696
|
+
"type": "string"
|
|
17697
|
+
}
|
|
17698
|
+
},
|
|
17699
|
+
"required": [
|
|
17700
|
+
"object",
|
|
17701
|
+
"role"
|
|
17702
|
+
],
|
|
17703
|
+
"additionalProperties": false
|
|
17704
|
+
},
|
|
17705
|
+
"description": "Objects welded by this bridge."
|
|
17706
|
+
},
|
|
17707
|
+
"bridge_fields": {
|
|
17708
|
+
"type": "array",
|
|
17709
|
+
"items": {
|
|
17710
|
+
"type": "object",
|
|
17711
|
+
"properties": {
|
|
17712
|
+
"object": {
|
|
17713
|
+
"type": "string"
|
|
17714
|
+
},
|
|
17715
|
+
"field": {
|
|
17716
|
+
"type": "string"
|
|
17717
|
+
},
|
|
17718
|
+
"meaning": {
|
|
17719
|
+
"type": "string"
|
|
17720
|
+
}
|
|
17721
|
+
},
|
|
17722
|
+
"required": [
|
|
17723
|
+
"object",
|
|
17724
|
+
"field",
|
|
17725
|
+
"meaning"
|
|
17726
|
+
],
|
|
17727
|
+
"additionalProperties": false
|
|
17728
|
+
},
|
|
17729
|
+
"description": "The integrating Move fields (source of truth)."
|
|
17730
|
+
},
|
|
17731
|
+
"move_anchor": {
|
|
17732
|
+
"type": "string",
|
|
17733
|
+
"description": "Move creation/consumption function anchor."
|
|
17734
|
+
},
|
|
17735
|
+
"scenario": {
|
|
17736
|
+
"type": "object",
|
|
17737
|
+
"properties": {
|
|
17738
|
+
"from": {
|
|
17739
|
+
"type": "string"
|
|
17740
|
+
},
|
|
17741
|
+
"to": {
|
|
17742
|
+
"type": "string"
|
|
17743
|
+
},
|
|
17744
|
+
"merged": {
|
|
17745
|
+
"type": "string"
|
|
17746
|
+
}
|
|
17747
|
+
},
|
|
17748
|
+
"required": [
|
|
17749
|
+
"from",
|
|
17750
|
+
"to",
|
|
17751
|
+
"merged"
|
|
17752
|
+
],
|
|
17753
|
+
"additionalProperties": false
|
|
17754
|
+
},
|
|
17755
|
+
"capability_gained": {
|
|
17756
|
+
"type": "string",
|
|
17757
|
+
"description": "The NEW capability from the integration itself (belongs to no single object)."
|
|
17758
|
+
},
|
|
17759
|
+
"value_flow": {
|
|
17760
|
+
"type": "string"
|
|
17761
|
+
},
|
|
17762
|
+
"prerequisites": {
|
|
17763
|
+
"type": "array",
|
|
17764
|
+
"items": {
|
|
17765
|
+
"type": "string"
|
|
17766
|
+
}
|
|
17767
|
+
},
|
|
17768
|
+
"examples": {
|
|
17769
|
+
"type": "array",
|
|
17770
|
+
"items": {
|
|
17771
|
+
"type": "string"
|
|
17772
|
+
}
|
|
17773
|
+
}
|
|
17774
|
+
},
|
|
17775
|
+
"required": [
|
|
17776
|
+
"id",
|
|
17777
|
+
"name",
|
|
17778
|
+
"participants",
|
|
17779
|
+
"bridge_fields",
|
|
17780
|
+
"move_anchor",
|
|
17781
|
+
"scenario",
|
|
17782
|
+
"capability_gained",
|
|
17783
|
+
"prerequisites",
|
|
17784
|
+
"examples"
|
|
17785
|
+
],
|
|
17786
|
+
"additionalProperties": false
|
|
17787
|
+
},
|
|
17788
|
+
"description": "Scenario bridges (field integrations) resolvable from chain steps."
|
|
17789
|
+
}
|
|
17790
|
+
},
|
|
17791
|
+
"required": [
|
|
17792
|
+
"version",
|
|
17793
|
+
"chains",
|
|
17794
|
+
"bridges"
|
|
17795
|
+
],
|
|
17796
|
+
"additionalProperties": false
|
|
17797
|
+
}
|
|
17798
|
+
},
|
|
17799
|
+
"required": [
|
|
17800
|
+
"query_type",
|
|
17801
|
+
"result"
|
|
17802
|
+
],
|
|
17803
|
+
"additionalProperties": false
|
|
17804
|
+
},
|
|
17560
17805
|
{
|
|
17561
17806
|
"type": "object",
|
|
17562
17807
|
"properties": {
|