@wowok/agent-mcp 2.7.8 → 2.7.10
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/README.md +2 -2
- package/dist/config/runtime.d.ts +1 -1
- package/dist/config/runtime.js +1 -1
- package/dist/examples/rental-ziroom-machine-create.json +1 -2
- package/dist/examples/rental-ziroom-permission-create.json +1 -2
- package/dist/examples/rental-ziroom-service-create.json +1 -2
- package/dist/experience/experience-reuse.js +1 -1
- package/dist/experience/index.d.ts +2 -1
- package/dist/experience/index.js +1 -1
- package/dist/experience/persistence-config.d.ts +6 -0
- package/dist/experience/persistence-config.js +1 -0
- package/dist/experience/persistence.d.ts +21 -0
- package/dist/experience/persistence.js +1 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/experience/user-profile.js +1 -1
- package/dist/extensions/business-modules.d.ts +1 -1
- package/dist/extensions/capability-manifest.d.ts +1 -1
- package/dist/extensions/types.d.ts +1 -1
- package/dist/goal/GoalClassifier.d.ts +17 -0
- package/dist/goal/GoalClassifier.js +1 -0
- package/dist/goal/GoalEngine.d.ts +120 -0
- package/dist/goal/GoalEngine.js +1 -0
- package/dist/goal/GoalStore.d.ts +27 -0
- package/dist/goal/GoalStore.js +1 -0
- package/dist/goal/plan-approval.d.ts +5 -0
- package/dist/goal/plan-approval.js +1 -0
- package/dist/goal/types.d.ts +76 -0
- package/dist/goal/types.js +1 -0
- package/dist/harness/index.d.ts +2 -7
- package/dist/harness/index.js +1 -1
- package/dist/harness/plan.d.ts +1 -1
- package/dist/harness/types.d.ts +0 -35
- package/dist/index.js +1 -1
- package/dist/knowledge/account-marks.d.ts +35 -0
- package/dist/knowledge/account-marks.js +1 -0
- package/dist/knowledge/audit-rules.d.ts +3 -1
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/examples-scanner-cli.js +1 -1
- package/dist/knowledge/examples-scanner.js +1 -1
- package/dist/knowledge/goal-completion.d.ts +19 -0
- package/dist/knowledge/goal-completion.js +1 -0
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.d.ts +3 -2
- 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/operation-dictionary.js +1 -1
- package/dist/knowledge/passport-confirm.js +1 -1
- package/dist/knowledge/passport-puzzle.js +1 -1
- package/dist/knowledge/passport-translation.js +1 -1
- package/dist/knowledge/proof-risk.js +1 -1
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/service-translation.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 +1 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/knowledge/workspace-lists.d.ts +56 -0
- package/dist/knowledge/workspace-lists.js +1 -0
- package/dist/loop-engineering/context-collect.d.ts +1 -1
- package/dist/monitor/EventRouter.d.ts +10 -0
- package/dist/monitor/EventRouter.js +1 -0
- package/dist/monitor/EventStore.d.ts +32 -12
- package/dist/monitor/EventStore.js +1 -1
- package/dist/monitor/MonitorLoop.d.ts +79 -0
- package/dist/monitor/MonitorLoop.js +1 -0
- package/dist/monitor/ProblemBridge.d.ts +32 -0
- package/dist/monitor/ProblemBridge.js +1 -0
- package/dist/monitor/ScopeResolver.d.ts +59 -0
- package/dist/monitor/ScopeResolver.js +1 -0
- package/dist/monitor/SubscriptionStore.d.ts +13 -0
- package/dist/monitor/SubscriptionStore.js +1 -0
- package/dist/monitor/normalize.d.ts +8 -0
- package/dist/monitor/normalize.js +1 -0
- package/dist/monitor/types.d.ts +89 -0
- package/dist/monitor/types.js +1 -0
- package/dist/persona/address-format.d.ts +1 -1
- package/dist/persona/address-format.js +1 -1
- package/dist/persona/distill-goal.d.ts +20 -0
- package/dist/persona/distill-goal.js +1 -0
- package/dist/persona/index.d.ts +2 -0
- package/dist/persona/index.js +1 -1
- package/dist/persona/model.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -0
- package/dist/{project → playbooks/service-build}/context-assembly.d.ts +9 -4
- package/dist/playbooks/service-build/context-assembly.js +1 -0
- package/dist/{project → playbooks/service-build}/game-theory.d.ts +1 -1
- package/dist/playbooks/service-build/index.d.ts +14 -0
- package/dist/playbooks/service-build/index.js +1 -0
- package/dist/{project → playbooks/service-build}/intent-analyzer.d.ts +1 -1
- package/dist/playbooks/service-build/intent-analyzer.js +1 -0
- package/dist/{project → playbooks/service-build}/machine-panorama.d.ts +5 -3
- package/dist/playbooks/service-build/machine-panorama.js +1 -0
- package/dist/{project → playbooks/service-build}/merchant-guide.d.ts +1 -1
- package/dist/playbooks/service-build/merchant-guide.js +1 -0
- package/dist/{project → playbooks/service-build}/mode-actions.d.ts +2 -2
- package/dist/playbooks/service-build/mode-actions.js +1 -0
- package/dist/playbooks/service-build/namespace.d.ts +2 -0
- package/dist/playbooks/service-build/namespace.js +1 -0
- package/dist/{project → playbooks/service-build}/object-panorama.d.ts +2 -3
- package/dist/playbooks/service-build/object-panorama.js +1 -0
- package/dist/{project → playbooks/service-build}/participation-radar.d.ts +4 -5
- package/dist/playbooks/service-build/participation-radar.js +1 -0
- package/dist/{project → playbooks/service-build}/pipeline-actions.d.ts +9 -9
- package/dist/playbooks/service-build/pipeline-actions.js +1 -0
- package/dist/playbooks/service-build/process.d.ts +6 -0
- package/dist/playbooks/service-build/process.js +1 -0
- package/dist/playbooks/service-build/risk-aggregator.js +1 -0
- package/dist/{project → playbooks/service-build}/semantic-graph.d.ts +2 -2
- package/dist/{project → playbooks/service-build}/service-panorama.d.ts +3 -19
- package/dist/playbooks/service-build/service-panorama.js +1 -0
- package/dist/review/arb.d.ts +6 -0
- package/dist/review/arb.js +1 -0
- package/dist/review/demand.d.ts +3 -0
- package/dist/review/demand.js +1 -0
- package/dist/review/index.d.ts +3 -0
- package/dist/review/index.js +1 -0
- package/dist/review/machine.d.ts +3 -0
- package/dist/review/machine.js +1 -0
- package/dist/review/order.d.ts +9 -0
- package/dist/review/order.js +1 -0
- package/dist/review/progress.d.ts +3 -0
- package/dist/review/progress.js +1 -0
- package/dist/review/repository.d.ts +3 -0
- package/dist/review/repository.js +1 -0
- package/dist/review/service.d.ts +5 -0
- package/dist/review/service.js +1 -0
- package/dist/review/types.d.ts +156 -0
- package/dist/review/types.js +1 -0
- package/dist/rules.d.ts +2 -2
- package/dist/rules.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/safety/index.d.ts +1 -1
- package/dist/safety/index.js +1 -1
- package/dist/safety/preview.d.ts +1 -0
- package/dist/safety/preview.js +1 -1
- package/dist/schema/call/allocation.d.ts +1 -1
- package/dist/schema/call/arbitration.d.ts +1 -1
- package/dist/schema/call/base.d.ts +1 -1
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +4 -4
- package/dist/schema/call/contact.d.ts +1 -1
- package/dist/schema/call/contact.js +1 -1
- package/dist/schema/call/demand.d.ts +1 -1
- package/dist/schema/call/demand.js +1 -1
- package/dist/schema/call/guard.d.ts +3 -3
- package/dist/schema/call/handler.d.ts +0 -3
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +2 -2
- package/dist/schema/call/order.d.ts +1 -1
- package/dist/schema/call/payment.d.ts +1 -1
- package/dist/schema/call/permission.d.ts +1 -1
- package/dist/schema/call/personal.d.ts +1 -1
- package/dist/schema/call/progress.d.ts +1 -1
- package/dist/schema/call/proof.d.ts +2 -2
- package/dist/schema/call/repository.d.ts +1 -1
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.d.ts +1 -1
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +1 -1
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/goal/index.d.ts +317 -0
- package/dist/schema/goal/index.js +1 -0
- package/dist/schema/goal/planning.d.ts +465 -0
- package/dist/schema/goal/planning.js +1 -0
- package/dist/schema/index.d.ts +1 -2
- package/dist/schema/index.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +265 -1
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/industry-pack/modes.d.ts +268 -0
- package/dist/schema/industry-pack/modes.js +1 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/operations.d.ts +216 -19
- package/dist/schema/operations.js +1 -1
- package/dist/schema/permission/index.d.ts +1 -0
- package/dist/schema/permission/index.js +1 -1
- package/dist/schema/persona/index.d.ts +40 -0
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +783 -0
- package/dist/schema/query/bi.js +1 -0
- package/dist/schema/query/index.d.ts +661 -0
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/utils/skills-recommendation.d.ts +0 -1
- package/dist/schema/utils/skills-recommendation.js +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +3 -3
- package/dist/schemas/account_operation.schema.json +2 -2
- package/dist/schemas/bridge_operation.output.json +2 -2
- package/dist/schemas/bridge_operation.schema.json +12 -12
- package/dist/schemas/config_operation.output.json +1 -1
- package/dist/schemas/config_operation.schema.json +1 -1
- package/dist/schemas/goal_operation.schema.json +1016 -0
- package/dist/schemas/guard2file.schema.json +3 -3
- package/dist/schemas/index.json +12 -13
- package/dist/schemas/industry_pack_operation.output.json +898 -0
- package/dist/schemas/industry_pack_operation.schema.json +217 -2
- package/dist/schemas/local_info_operation.output.json +2 -2
- package/dist/schemas/local_mark_operation.output.json +2 -2
- package/dist/schemas/machineNode2file.schema.json +3 -3
- package/dist/schemas/messenger_operation.output.json +2 -2
- package/dist/schemas/monitor_events.output.json +78 -3
- package/dist/schemas/monitor_events.schema.json +24 -1
- package/dist/schemas/monitor_subscription.output.json +1462 -0
- package/dist/schemas/monitor_subscription.schema.json +327 -0
- package/dist/schemas/onchain_events.output.json +4 -4
- package/dist/schemas/onchain_operations.output.json +2 -2
- package/dist/schemas/onchain_operations.schema.json +59 -59
- package/dist/schemas/onchain_operations_allocation.schema.json +3 -3
- package/dist/schemas/onchain_operations_arbitration.schema.json +3 -3
- package/dist/schemas/onchain_operations_contact.schema.json +4 -4
- package/dist/schemas/onchain_operations_demand.schema.json +4 -4
- package/dist/schemas/onchain_operations_gen_passport.schema.json +3 -3
- package/dist/schemas/onchain_operations_gen_proof.schema.json +3 -3
- package/dist/schemas/onchain_operations_guard.schema.json +3 -3
- package/dist/schemas/onchain_operations_machine.schema.json +3 -3
- package/dist/schemas/onchain_operations_order.schema.json +3 -3
- package/dist/schemas/onchain_operations_payment.schema.json +3 -3
- package/dist/schemas/onchain_operations_permission.schema.json +3 -3
- package/dist/schemas/onchain_operations_personal.schema.json +3 -3
- package/dist/schemas/onchain_operations_progress.schema.json +3 -3
- package/dist/schemas/onchain_operations_proof.schema.json +3 -3
- package/dist/schemas/onchain_operations_repository.schema.json +5 -5
- package/dist/schemas/onchain_operations_reward.schema.json +3 -3
- package/dist/schemas/onchain_operations_service.schema.json +4 -4
- package/dist/schemas/onchain_operations_treasury.schema.json +3 -3
- package/dist/schemas/onchain_table_data.output.json +346 -2
- package/dist/schemas/onchain_table_data.schema.json +22 -22
- package/dist/schemas/permission_operation.schema.json +6 -2
- package/dist/schemas/persona_operation.output.json +145 -0
- package/dist/schemas/persona_operation.schema.json +28 -2
- package/dist/schemas/query_toolkit.output.json +1274 -15
- package/dist/schemas/query_toolkit.schema.json +412 -11
- package/dist/schemas/workflow_operation.schema.json +4 -4
- package/dist/task/ProcessStore.d.ts +81 -0
- package/dist/task/ProcessStore.js +1 -0
- package/dist/task/playbook.d.ts +11 -0
- package/dist/task/playbook.js +1 -0
- package/dist/task/stage-gate.d.ts +22 -0
- package/dist/task/stage-gate.js +1 -0
- package/dist/{project → task}/substep-trace.d.ts +6 -45
- package/dist/task/types.d.ts +120 -0
- package/dist/task/types.js +1 -0
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/goal.d.ts +4 -0
- package/dist/tools/handlers/goal.js +1 -0
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/monitor.d.ts +24 -0
- package/dist/tools/handlers/monitor.js +1 -1
- package/dist/tools/handlers/network.d.ts +1 -0
- package/dist/tools/handlers/network.js +1 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/permission.js +1 -1
- package/dist/tools/handlers/persona.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/watch.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/dist/tools/wrap.js +1 -1
- package/package.json +5 -4
- package/dist/harness/checkpoint.d.ts +0 -8
- package/dist/harness/checkpoint.js +0 -1
- package/dist/knowledge/deployment-scanner.d.ts +0 -66
- package/dist/knowledge/deployment-scanner.js +0 -1
- package/dist/project/business-puzzle.js +0 -1
- package/dist/project/context-assembly.js +0 -1
- package/dist/project/deployment-bridge.d.ts +0 -5
- package/dist/project/deployment-bridge.js +0 -1
- package/dist/project/deployment-doc.d.ts +0 -190
- package/dist/project/deployment-doc.js +0 -1
- package/dist/project/edit-planner.d.ts +0 -123
- package/dist/project/edit-planner.js +0 -1
- package/dist/project/evaluation-fix.spec.d.ts +0 -1
- package/dist/project/evaluation-fix.spec.js +0 -1
- package/dist/project/evaluation.d.ts +0 -127
- package/dist/project/evaluation.js +0 -1
- package/dist/project/graph-builder.d.ts +0 -51
- package/dist/project/graph-builder.js +0 -1
- package/dist/project/graph.d.ts +0 -70
- package/dist/project/graph.js +0 -1
- package/dist/project/handlers.d.ts +0 -524
- package/dist/project/handlers.js +0 -1
- package/dist/project/index.d.ts +0 -91
- package/dist/project/index.js +0 -1
- package/dist/project/intent-analyzer.js +0 -1
- package/dist/project/machine-panorama.js +0 -1
- package/dist/project/merchant-guide.js +0 -1
- package/dist/project/mode-actions.js +0 -1
- package/dist/project/namespace.d.ts +0 -72
- package/dist/project/namespace.js +0 -1
- package/dist/project/object-panorama.js +0 -1
- package/dist/project/participation-radar.js +0 -1
- package/dist/project/pipeline-actions.js +0 -1
- package/dist/project/project-store.d.ts +0 -110
- package/dist/project/project-store.js +0 -1
- package/dist/project/query.d.ts +0 -43
- package/dist/project/query.js +0 -1
- package/dist/project/risk-aggregator.js +0 -1
- package/dist/project/semantic-assembler.d.ts +0 -93
- package/dist/project/semantic-assembler.js +0 -1
- package/dist/project/service-panorama.js +0 -1
- package/dist/project/stage-gate.d.ts +0 -52
- package/dist/project/stage-gate.js +0 -1
- package/dist/project/task-tracker.d.ts +0 -30
- package/dist/project/task-tracker.js +0 -1
- package/dist/schema/project/index.d.ts +0 -2021
- package/dist/schema/project/index.js +0 -1
- package/dist/schema/task-status.d.ts +0 -62
- package/dist/schema/task-status.js +0 -1
- package/dist/schemas/project_operation.output.json +0 -7877
- package/dist/schemas/project_operation.schema.json +0 -1139
- package/dist/schemas/query_task_status.output.json +0 -211
- package/dist/schemas/query_task_status.schema.json +0 -18
- package/dist/tools/handlers/project.d.ts +0 -2
- package/dist/tools/handlers/project.js +0 -1
- package/dist/tools/handlers/task-status.d.ts +0 -2
- package/dist/tools/handlers/task-status.js +0 -1
- /package/dist/{project → playbooks/service-build}/business-puzzle.d.ts +0 -0
- /package/dist/{project → playbooks/service-build}/game-theory.js +0 -0
- /package/dist/{project → playbooks/service-build}/machine-nodes.d.ts +0 -0
- /package/dist/{project → playbooks/service-build}/machine-nodes.js +0 -0
- /package/dist/{project → playbooks/service-build}/object-type.d.ts +0 -0
- /package/dist/{project → playbooks/service-build}/object-type.js +0 -0
- /package/dist/{project → playbooks/service-build}/reverse-mapping.d.ts +0 -0
- /package/dist/{project → playbooks/service-build}/reverse-mapping.js +0 -0
- /package/dist/{project → playbooks/service-build}/risk-aggregator.d.ts +0 -0
- /package/dist/{project → playbooks/service-build}/semantic-graph.js +0 -0
- /package/dist/{project → playbooks/service-build}/workflow-design-assessment.d.ts +0 -0
- /package/dist/{project → playbooks/service-build}/workflow-design-assessment.js +0 -0
- /package/dist/{project → task}/substep-trace.js +0 -0
|
@@ -23,9 +23,18 @@
|
|
|
23
23
|
"create_dir",
|
|
24
24
|
"copy",
|
|
25
25
|
"move",
|
|
26
|
-
"rename"
|
|
26
|
+
"rename",
|
|
27
|
+
"recommend_industry",
|
|
28
|
+
"list_modes",
|
|
29
|
+
"derive_user_mode",
|
|
30
|
+
"evolve_user_mode",
|
|
31
|
+
"register_user_mode",
|
|
32
|
+
"unregister_user_mode",
|
|
33
|
+
"register_custom_metric",
|
|
34
|
+
"register_custom_constraint",
|
|
35
|
+
"list_metrics_constraints"
|
|
27
36
|
],
|
|
28
|
-
"description": "Action: 'scaffold' = generate a pack template skeleton (requires name); 'list' = list registered packs; 'scan' = scan + register packs under the default directory; 'resolve' = return the industry root directory; 'list_files' = list files under the industry directory; 'read_file' = read a file under the industry directory (path required); 'write_file' = write content to a file under the industry directory (path + content required); 'get' = return registered layer data for an industry (name required; dispute/compliance/supply/rules/playbook); 'diff' = compare registered vs on-disk manifest version/layers (name required); 'reset' = restore a file or entire pack folder to its pristine annotated template (path required). 'delete_file' = delete a file or directory (path required). 'create_file' = create an empty file (path required; content optional). 'create_dir' = create a directory recursively (path required). 'copy' = copy a file or directory (from + to required). 'move' / 'rename' = move or rename a file or directory (from + to required)."
|
|
37
|
+
"description": "Action: 'scaffold' = generate a pack template skeleton (requires name); 'list' = list registered packs; 'scan' = scan + register packs under the default directory; 'resolve' = return the industry root directory; 'list_files' = list files under the industry directory; 'read_file' = read a file under the industry directory (path required); 'write_file' = write content to a file under the industry directory (path + content required); 'get' = return registered layer data for an industry (name required; dispute/compliance/supply/rules/playbook); 'diff' = compare registered vs on-disk manifest version/layers (name required); 'reset' = restore a file or entire pack folder to its pristine annotated template (path required). 'delete_file' = delete a file or directory (path required). 'create_file' = create an empty file (path required; content optional). 'create_dir' = create a directory recursively (path required). 'copy' = copy a file or directory (from + to required). 'move' / 'rename' = move or rename a file or directory (from + to required). Mode registry (industry/scenario configuration): 'recommend_industry' = business intent → top-3 similar industries + reference examples; 'list_modes' = builtin + custom modes; 'derive_user_mode' = derive a custom mode from a builtin; 'evolve_user_mode' = iterate an existing custom mode; 'register_user_mode' = register a fully custom mode; 'unregister_user_mode' = delete a custom mode; 'register_custom_metric' / 'register_custom_constraint' = register global evaluation metric/constraint; 'list_metrics_constraints' = list metrics + constraints (filterable)."
|
|
29
38
|
},
|
|
30
39
|
"name": {
|
|
31
40
|
"description": "Industry name (lowercase snake_case, e.g. 'life_service'); required for scaffold and get.",
|
|
@@ -46,6 +55,212 @@
|
|
|
46
55
|
"to": {
|
|
47
56
|
"description": "Destination path relative to the industry root (required for copy/move/rename).",
|
|
48
57
|
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"intent": {
|
|
60
|
+
"description": "Business intent text for recommend_industry (e.g. 'I rent cameras to photographers with deposit and damage inspection'). Falls back to project_description / project_name when omitted.",
|
|
61
|
+
"type": "string",
|
|
62
|
+
"maxLength": 2000
|
|
63
|
+
},
|
|
64
|
+
"mode_source": {
|
|
65
|
+
"description": "Source builtin mode name for derive_user_mode (e.g. 'freelance'). Call list_modes to see available modes.",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"mode_name": {
|
|
69
|
+
"description": "Mode name for derive_user_mode (new mode name), evolve_user_mode / unregister_user_mode (existing custom mode), register_user_mode (new mode name). Must NOT conflict with builtin mode names.",
|
|
70
|
+
"type": "string",
|
|
71
|
+
"maxLength": 100
|
|
72
|
+
},
|
|
73
|
+
"mode_display_name": {
|
|
74
|
+
"description": "Display name for derive_user_mode / register_user_mode. Defaults to mode_name.",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"maxLength": 200
|
|
77
|
+
},
|
|
78
|
+
"mode_changes": {
|
|
79
|
+
"description": "Mode field overrides for derive_user_mode / evolve_user_mode / register_user_mode. For register_user_mode, REQUIRED fields: machine_shape (non-empty array of {name, role}) and key_risk (string). Common overrides: machine_shape (array of {name:string, role:string}), config_overrides (per-object config), allocator, guards, build_notes, risk_appetite. R-M1-11 ENFORCED: machine_shape node names must NOT contain dispute/refund/arb terms.",
|
|
80
|
+
"type": "object",
|
|
81
|
+
"propertyNames": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"additionalProperties": {}
|
|
85
|
+
},
|
|
86
|
+
"mode_change_description": {
|
|
87
|
+
"description": "Change description for evolve_user_mode (recorded in evolution history).",
|
|
88
|
+
"type": "string",
|
|
89
|
+
"maxLength": 500
|
|
90
|
+
},
|
|
91
|
+
"mode_bump_version": {
|
|
92
|
+
"description": "Whether evolve_user_mode bumps the patch version (default true: v1.0 → v1.1).",
|
|
93
|
+
"type": "boolean"
|
|
94
|
+
},
|
|
95
|
+
"metric_id": {
|
|
96
|
+
"description": "Unique metric ID for register_custom_metric (e.g. 'seasonality_risk').",
|
|
97
|
+
"type": "string",
|
|
98
|
+
"maxLength": 100
|
|
99
|
+
},
|
|
100
|
+
"metric_display_name": {
|
|
101
|
+
"description": "Display name for register_custom_metric.",
|
|
102
|
+
"type": "string",
|
|
103
|
+
"maxLength": 200
|
|
104
|
+
},
|
|
105
|
+
"metric_description": {
|
|
106
|
+
"description": "Description for register_custom_metric.",
|
|
107
|
+
"type": "string",
|
|
108
|
+
"maxLength": 1000
|
|
109
|
+
},
|
|
110
|
+
"metric_type": {
|
|
111
|
+
"description": "Metric type for register_custom_metric: 'risk' (negative) or 'benefit' (positive).",
|
|
112
|
+
"type": "string",
|
|
113
|
+
"enum": [
|
|
114
|
+
"risk",
|
|
115
|
+
"benefit"
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"metric_scale": {
|
|
119
|
+
"description": "Metric scale for register_custom_metric: 'level' (high/medium/low), 'numeric', or 'percentage'.",
|
|
120
|
+
"type": "string",
|
|
121
|
+
"enum": [
|
|
122
|
+
"level",
|
|
123
|
+
"numeric",
|
|
124
|
+
"percentage"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"metric_weight": {
|
|
128
|
+
"description": "Metric weight for register_custom_metric (default 1.0).",
|
|
129
|
+
"type": "number",
|
|
130
|
+
"minimum": 0,
|
|
131
|
+
"maximum": 10
|
|
132
|
+
},
|
|
133
|
+
"constraint_id": {
|
|
134
|
+
"description": "Unique constraint ID for register_custom_constraint.",
|
|
135
|
+
"type": "string",
|
|
136
|
+
"maxLength": 100
|
|
137
|
+
},
|
|
138
|
+
"constraint_display_name": {
|
|
139
|
+
"description": "Display name for register_custom_constraint.",
|
|
140
|
+
"type": "string",
|
|
141
|
+
"maxLength": 200
|
|
142
|
+
},
|
|
143
|
+
"constraint_description": {
|
|
144
|
+
"description": "Description for register_custom_constraint.",
|
|
145
|
+
"type": "string",
|
|
146
|
+
"maxLength": 1000
|
|
147
|
+
},
|
|
148
|
+
"constraint_rule": {
|
|
149
|
+
"description": "Constraint rule for register_custom_constraint. 4 types: capability_required/capability_forbidden (capability_id), numeric_limit (field + max/min), condition_required (natural-language condition, AI-evaluated).",
|
|
150
|
+
"oneOf": [
|
|
151
|
+
{
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"type": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"const": "capability_required"
|
|
157
|
+
},
|
|
158
|
+
"capability_id": {
|
|
159
|
+
"type": "string"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"type",
|
|
164
|
+
"capability_id"
|
|
165
|
+
],
|
|
166
|
+
"additionalProperties": false
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"type": "object",
|
|
170
|
+
"properties": {
|
|
171
|
+
"type": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"const": "capability_forbidden"
|
|
174
|
+
},
|
|
175
|
+
"capability_id": {
|
|
176
|
+
"type": "string"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"required": [
|
|
180
|
+
"type",
|
|
181
|
+
"capability_id"
|
|
182
|
+
],
|
|
183
|
+
"additionalProperties": false
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "object",
|
|
187
|
+
"properties": {
|
|
188
|
+
"type": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"const": "numeric_limit"
|
|
191
|
+
},
|
|
192
|
+
"field": {
|
|
193
|
+
"type": "string"
|
|
194
|
+
},
|
|
195
|
+
"max": {
|
|
196
|
+
"type": "number"
|
|
197
|
+
},
|
|
198
|
+
"min": {
|
|
199
|
+
"type": "number"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"required": [
|
|
203
|
+
"type",
|
|
204
|
+
"field"
|
|
205
|
+
],
|
|
206
|
+
"additionalProperties": false
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"type": "object",
|
|
210
|
+
"properties": {
|
|
211
|
+
"type": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"const": "condition_required"
|
|
214
|
+
},
|
|
215
|
+
"condition": {
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
"ai_evaluated": {
|
|
219
|
+
"type": "boolean",
|
|
220
|
+
"const": true
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"required": [
|
|
224
|
+
"type",
|
|
225
|
+
"condition",
|
|
226
|
+
"ai_evaluated"
|
|
227
|
+
],
|
|
228
|
+
"additionalProperties": false
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
"constraint_severity": {
|
|
233
|
+
"description": "Constraint severity for register_custom_constraint: 'hard' blocks applyTemplate on violation; 'soft' only warns (default 'soft').",
|
|
234
|
+
"type": "string",
|
|
235
|
+
"enum": [
|
|
236
|
+
"hard",
|
|
237
|
+
"soft"
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
"constraint_on_violation": {
|
|
241
|
+
"description": "Violation action for register_custom_constraint (default 'warn').",
|
|
242
|
+
"type": "string",
|
|
243
|
+
"enum": [
|
|
244
|
+
"block",
|
|
245
|
+
"warn",
|
|
246
|
+
"log"
|
|
247
|
+
]
|
|
248
|
+
},
|
|
249
|
+
"metric_type_filter": {
|
|
250
|
+
"description": "Filter list_metrics_constraints by metric type.",
|
|
251
|
+
"type": "string",
|
|
252
|
+
"enum": [
|
|
253
|
+
"risk",
|
|
254
|
+
"benefit"
|
|
255
|
+
]
|
|
256
|
+
},
|
|
257
|
+
"scope_filter": {
|
|
258
|
+
"description": "Filter list_metrics_constraints by scope (builtin or custom).",
|
|
259
|
+
"type": "string",
|
|
260
|
+
"enum": [
|
|
261
|
+
"builtin",
|
|
262
|
+
"custom"
|
|
263
|
+
]
|
|
49
264
|
}
|
|
50
265
|
},
|
|
51
266
|
"required": [
|
|
@@ -485,10 +485,10 @@
|
|
|
485
485
|
"items": {
|
|
486
486
|
"type": "string"
|
|
487
487
|
},
|
|
488
|
-
"description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','
|
|
488
|
+
"description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','experience_layer']"
|
|
489
489
|
},
|
|
490
490
|
"inactive": {
|
|
491
|
-
"description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness'
|
|
491
|
+
"description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness']",
|
|
492
492
|
"type": "array",
|
|
493
493
|
"items": {
|
|
494
494
|
"type": "string"
|
|
@@ -562,10 +562,10 @@
|
|
|
562
562
|
"items": {
|
|
563
563
|
"type": "string"
|
|
564
564
|
},
|
|
565
|
-
"description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','
|
|
565
|
+
"description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','experience_layer']"
|
|
566
566
|
},
|
|
567
567
|
"inactive": {
|
|
568
|
-
"description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness'
|
|
568
|
+
"description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness']",
|
|
569
569
|
"type": "array",
|
|
570
570
|
"items": {
|
|
571
571
|
"type": "string"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"testnet",
|
|
49
49
|
"mainnet"
|
|
50
50
|
],
|
|
51
|
-
"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.
|
|
51
|
+
"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."
|
|
52
52
|
},
|
|
53
53
|
"referrer": {
|
|
54
54
|
"description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded (also applied when the SDK auto-registers the sender in the global Entity table).",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"type": "string"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"
|
|
73
|
-
"description": "
|
|
72
|
+
"plan_approval": {
|
|
73
|
+
"description": "K3 24 PlanApproval: id of a goal whose plan was approved via goal_operation action='approve'. When set: 1) the ConfirmGate treats fail-open rules (standard/none levels) as pre-approved for operations under this goal's plan; 2) after successful CREATION operations, the created objects are auto-registered into the goal (GoalRecord.objects + its TaskProcess manifest — ACT station 'execution registers'). Fail-closed levels (irreversible/publish/amount) still require per-operation confirmation with env.confirmed=true.",
|
|
74
74
|
"type": "string"
|
|
75
75
|
},
|
|
76
76
|
"client_schema_version": {
|
|
@@ -2299,10 +2299,10 @@
|
|
|
2299
2299
|
"items": {
|
|
2300
2300
|
"type": "string"
|
|
2301
2301
|
},
|
|
2302
|
-
"description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','
|
|
2302
|
+
"description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','experience_layer']"
|
|
2303
2303
|
},
|
|
2304
2304
|
"inactive": {
|
|
2305
|
-
"description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness'
|
|
2305
|
+
"description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness']",
|
|
2306
2306
|
"type": "array",
|
|
2307
2307
|
"items": {
|
|
2308
2308
|
"type": "string"
|
|
@@ -52,6 +52,81 @@
|
|
|
52
52
|
}
|
|
53
53
|
],
|
|
54
54
|
"description": "Full normalized event payload"
|
|
55
|
+
},
|
|
56
|
+
"relevance": {
|
|
57
|
+
"description": "Relevance annotation — attached only when with_reason=true and the event has one",
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"event_id": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "Canonical event id ('<eventSeq>:<txDigest>')"
|
|
63
|
+
},
|
|
64
|
+
"event_type": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "Short event type at annotation time"
|
|
67
|
+
},
|
|
68
|
+
"rules": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"items": {
|
|
71
|
+
"type": "object",
|
|
72
|
+
"properties": {
|
|
73
|
+
"rule": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "Scope-closure rule that claimed the event: managed_objects | merchant_orders | my_orders | order_children | focus"
|
|
76
|
+
},
|
|
77
|
+
"object": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "The closure object that matched (e.g. the order / treasury address)"
|
|
80
|
+
},
|
|
81
|
+
"detail": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"description": "Human-readable reason (e.g. 'order 10EF-A11 (buyer)') — the why-chip source"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": [
|
|
87
|
+
"rule",
|
|
88
|
+
"object",
|
|
89
|
+
"detail"
|
|
90
|
+
],
|
|
91
|
+
"additionalProperties": false,
|
|
92
|
+
"description": "One scope-closure rule hit on an event"
|
|
93
|
+
},
|
|
94
|
+
"description": "Every closure rule that hit (an event may hit several)"
|
|
95
|
+
},
|
|
96
|
+
"focus_hit": {
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"description": "True when any hit came from the focus closure"
|
|
99
|
+
},
|
|
100
|
+
"matched_filters": {
|
|
101
|
+
"type": "array",
|
|
102
|
+
"items": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"description": "Ids of the enabled EventFilters that matched"
|
|
106
|
+
},
|
|
107
|
+
"scope_version": {
|
|
108
|
+
"type": "number",
|
|
109
|
+
"description": "ScopeSnapshot version this annotation was computed against"
|
|
110
|
+
},
|
|
111
|
+
"annotated_at": {
|
|
112
|
+
"type": "number",
|
|
113
|
+
"description": "Annotation time (ms epoch)"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": [
|
|
117
|
+
"event_id",
|
|
118
|
+
"event_type",
|
|
119
|
+
"rules",
|
|
120
|
+
"focus_hit",
|
|
121
|
+
"matched_filters",
|
|
122
|
+
"scope_version",
|
|
123
|
+
"annotated_at"
|
|
124
|
+
],
|
|
125
|
+
"additionalProperties": false
|
|
126
|
+
},
|
|
127
|
+
"delivered": {
|
|
128
|
+
"description": "Todo-stream arbitration result (shouldDeliver) — attached only when relevance is present: true = the agent todo stream surfaces this event",
|
|
129
|
+
"type": "boolean"
|
|
55
130
|
}
|
|
56
131
|
},
|
|
57
132
|
"required": [
|
|
@@ -63,7 +138,7 @@
|
|
|
63
138
|
"event"
|
|
64
139
|
],
|
|
65
140
|
"additionalProperties": false,
|
|
66
|
-
"description": "One stored monitor event with its read flag"
|
|
141
|
+
"description": "One stored monitor event with its read flag (and optional relevance)"
|
|
67
142
|
}
|
|
68
143
|
},
|
|
69
144
|
"total": {
|
|
@@ -505,10 +580,10 @@
|
|
|
505
580
|
"items": {
|
|
506
581
|
"type": "string"
|
|
507
582
|
},
|
|
508
|
-
"description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','
|
|
583
|
+
"description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','experience_layer']"
|
|
509
584
|
},
|
|
510
585
|
"inactive": {
|
|
511
|
-
"description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness'
|
|
586
|
+
"description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness']",
|
|
512
587
|
"type": "array",
|
|
513
588
|
"items": {
|
|
514
589
|
"type": "string"
|
|
@@ -23,7 +23,10 @@
|
|
|
23
23
|
"demand",
|
|
24
24
|
"progress",
|
|
25
25
|
"treasury",
|
|
26
|
-
"reward"
|
|
26
|
+
"reward",
|
|
27
|
+
"service",
|
|
28
|
+
"entity",
|
|
29
|
+
"payment"
|
|
27
30
|
]
|
|
28
31
|
},
|
|
29
32
|
"limit": {
|
|
@@ -38,6 +41,26 @@
|
|
|
38
41
|
"minimum": 0,
|
|
39
42
|
"maximum": 9007199254740991
|
|
40
43
|
},
|
|
44
|
+
"relevant_only": {
|
|
45
|
+
"description": "action='query' — paginate only events with a relevance-annotation hit (scope closure / focus / filter). DEFAULT TRUE — the agent todo stream is de-noised by default; pass false for the legacy full firehose",
|
|
46
|
+
"type": "boolean"
|
|
47
|
+
},
|
|
48
|
+
"with_reason": {
|
|
49
|
+
"description": "action='query' — attach each event's stored relevance annotation ('relevance': rules with human-readable detail, focus_hit, matched_filters, scope_version) plus a computed 'delivered' flag (would the todo stream surface it)",
|
|
50
|
+
"type": "boolean"
|
|
51
|
+
},
|
|
52
|
+
"event_type": {
|
|
53
|
+
"description": "action='query' — filter by short event type, cross-module (e.g. 'NewPaymentEvent', 'NewOrderEvent')",
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"since": {
|
|
57
|
+
"description": "action='query' — only events at/after this ms-epoch timestamp",
|
|
58
|
+
"type": "number"
|
|
59
|
+
},
|
|
60
|
+
"until": {
|
|
61
|
+
"description": "action='query' — only events at/before this ms-epoch timestamp",
|
|
62
|
+
"type": "number"
|
|
63
|
+
},
|
|
41
64
|
"event_ids": {
|
|
42
65
|
"description": "Event ids to mark read for action='mark_read' (format '<eventSeq>:<txDigest>')",
|
|
43
66
|
"type": "array",
|