Skip to content

The agent that grows with you

fix(tui_gateway): declare known_issues on the plugins.manage result contract; drop issue number from test filename

Teknium80ee8830dbff
diff --git a/apps/shared/src/gateway-contract.generated.ts b/apps/shared/src/gateway-contract.generated.ts
index 937ce8bc52f..d3abd3c30ce 100644
--- a/apps/shared/src/gateway-contract.generated.ts
+++ b/apps/shared/src/gateway-contract.generated.ts
@@ -4070,6 +4070,7 @@ export interface PluginsManageResult {
warnings?: string[] | null
missing_env?: string[] | null
python_dependencies?: string[] | null
+ known_issues?: string[] | null
after_install_path?: string | null
enabled?: boolean | null
sha?: string | null
diff --git a/apps/shared/src/gateway-contract.openrpc.json b/apps/shared/src/gateway-contract.openrpc.json
index 98892cf02ce..7c88345254e 100644
--- a/apps/shared/src/gateway-contract.openrpc.json
+++ b/apps/shared/src/gateway-contract.openrpc.json
@@ -21686,6 +21686,21 @@
"default": null,
"title": "Python Dependencies"
},
+ "known_issues": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Known Issues"
+ },
"after_install_path": {
"anyOf": [
{
diff --git a/tests/hermes_cli/test_124037_catalog_known_issues_gate.py b/tests/hermes_cli/test_plugin_catalog_known_issues.py
similarity index 100%
rename from tests/hermes_cli/test_124037_catalog_known_issues_gate.py
rename to tests/hermes_cli/test_plugin_catalog_known_issues.py
diff --git a/tui_gateway/contracts/tools_mcp_plugins.py b/tui_gateway/contracts/tools_mcp_plugins.py
index 8cab1697316..90b97850a93 100644
--- a/tui_gateway/contracts/tools_mcp_plugins.py
+++ b/tui_gateway/contracts/tools_mcp_plugins.py
@@ -751,6 +751,8 @@ class PluginsManageResult(Result):
missing_env: list[str] | None = None
# ``install`` → the manifest's ``python_dependencies`` the installer applied (``[]`` when none).
python_dependencies: list[str] | None = None
+ # ``install`` from the catalog → the entry's informational ``known_issues`` (``[]`` when none).
+ known_issues: list[str] | None = None
after_install_path: str | None = None
enabled: bool | None = None
sha: str | None = None