refactor(artifacts): consolidate inventory into inspection
This commit is contained in:
+5
-7
@@ -21,8 +21,8 @@ distinct. Requested prompt arguments and completion choices are rendered as
|
||||
untrusted selection data, not instructions or authorization.
|
||||
|
||||
For target paths in `compare_application_versions`, the rendered workflow
|
||||
opens each target before calling `inventory_artifact`; artifact inventory and
|
||||
inspection operate on the active target and do not accept a path themselves.
|
||||
opens each target before calling `inspect_artifact`; inspection operates on the
|
||||
active target and returns the graph and findings together inline.
|
||||
|
||||
Use standard MCP discovery and retrieval:
|
||||
|
||||
@@ -49,11 +49,9 @@ cached prompt catalog.
|
||||
|
||||
## Session-aware completion
|
||||
|
||||
MCP `completion/complete` currently completes prompt arguments and resource
|
||||
template variables. It does not define completion for arbitrary tool-call
|
||||
arguments. REA therefore attaches completion to optional guided-prompt
|
||||
arguments that feed later tool selection; it does not claim protocol-level
|
||||
completion for every REA tool.
|
||||
MCP `completion/complete` completes guided-prompt arguments; it does not define
|
||||
completion for arbitrary tool-call arguments. REA attaches completion to
|
||||
optional prompt arguments that feed later tool selection.
|
||||
|
||||
```json
|
||||
{
|
||||
|
||||
+12
-20
@@ -10,7 +10,7 @@
|
||||
"skill_version": "23"
|
||||
},
|
||||
"tools": {
|
||||
"total": 114,
|
||||
"total": 112,
|
||||
"families": [
|
||||
{
|
||||
"id": "direct",
|
||||
@@ -90,8 +90,8 @@
|
||||
{
|
||||
"id": "artifact",
|
||||
"surface": "artifact-provider",
|
||||
"count": 3,
|
||||
"tools": ["extract_artifact", "inspect_artifact", "inventory_artifact"]
|
||||
"count": 2,
|
||||
"tools": ["extract_artifact", "inspect_artifact"]
|
||||
},
|
||||
{
|
||||
"id": "managed",
|
||||
@@ -148,14 +148,13 @@
|
||||
{
|
||||
"id": "application",
|
||||
"surface": "application-workflow",
|
||||
"count": 11,
|
||||
"count": 10,
|
||||
"tools": [
|
||||
"build_reconstruction_obligation_ledger",
|
||||
"compare_application_versions",
|
||||
"compare_javascript_export_shapes",
|
||||
"compare_source_to_bundle",
|
||||
"evaluate_reconstruction_coverage",
|
||||
"evaluate_reconstruction_readiness",
|
||||
"execute_node_characterization",
|
||||
"prepare_node_characterization",
|
||||
"run_controlled_replay",
|
||||
@@ -281,11 +280,7 @@
|
||||
"id": "rea-artifact-graph",
|
||||
"name": "REA safe artifact graph provider",
|
||||
"version": "1",
|
||||
"capabilities": [
|
||||
"extract_artifact",
|
||||
"inspect_artifact",
|
||||
"inventory_artifact"
|
||||
]
|
||||
"capabilities": ["extract_artifact", "inspect_artifact"]
|
||||
},
|
||||
{
|
||||
"id": "rea-cdp-browser",
|
||||
@@ -346,7 +341,6 @@
|
||||
"compare_javascript_export_shapes",
|
||||
"compare_source_to_bundle",
|
||||
"evaluate_reconstruction_coverage",
|
||||
"evaluate_reconstruction_readiness",
|
||||
"execute_node_characterization",
|
||||
"prepare_node_characterization",
|
||||
"run_controlled_replay",
|
||||
@@ -427,7 +421,7 @@
|
||||
}
|
||||
],
|
||||
"cli": {
|
||||
"primary_count": 66,
|
||||
"primary_count": 64,
|
||||
"commands": [
|
||||
"analyze",
|
||||
"analyze-javascript-application",
|
||||
@@ -451,7 +445,6 @@
|
||||
"discover-webmcp-tools",
|
||||
"doctor",
|
||||
"evaluate-reconstruction-coverage",
|
||||
"evaluate-reconstruction-readiness",
|
||||
"evidence-export",
|
||||
"evidence-import",
|
||||
"execute-node-characterization",
|
||||
@@ -471,7 +464,6 @@
|
||||
"inspect-signature",
|
||||
"inspect-web-page",
|
||||
"instructions",
|
||||
"inventory-artifact",
|
||||
"list-architectures",
|
||||
"list-browser-targets",
|
||||
"list-electron-targets",
|
||||
@@ -505,15 +497,15 @@
|
||||
},
|
||||
"runtime_catalog": {
|
||||
"counts": {
|
||||
"cli_commands": 66,
|
||||
"mcp_tools": 114,
|
||||
"cli_commands": 64,
|
||||
"mcp_tools": 112,
|
||||
"mcp_prompts": 6
|
||||
},
|
||||
"digests": {
|
||||
"tools_sha256": "6b56b65d4d0b16365617dd2fcd08d8254ddd309b000fa0d173512f544441d17f",
|
||||
"prompts_sha256": "77c76df62f92484a43cebf5ca110bdf562c38fbee2531d293eeb51d6e712d459",
|
||||
"combined_sha256": "e9e72f81202fc2c0e19fef2b66ec015db90c208005cac9afff90410ce7efd531",
|
||||
"providers_sha256": "919047a899143c606e521b3b0437c3cd494368504672e4f7423521ab3651f843"
|
||||
"tools_sha256": "82f634088db343feeabf4ea210c08ed83f29f237c4c21026c5a8fce1c59d7250",
|
||||
"prompts_sha256": "00b328caadcfac801f42c29caf174fb04b899937390f7ba8c7d40851b63f712b",
|
||||
"combined_sha256": "6a20b6b76be7cf9ced6e6b71ca435e3ec6eb6f910694f695f2a2627def628036",
|
||||
"providers_sha256": "7247eece8fad09c8023af8d5c682d223d7ed7ebd68eac79e9154962a7e03b66b"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user