impel-cli 0.20.0 → 0.20.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impel-cli",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "Prepare isolated Claude and Codex workspaces for every accessible Impel tenant",
5
5
  "type": "module",
6
6
  "bin": {
@@ -91,7 +91,11 @@ export function impelTasksMcpInvocation(tenantId, options = {}) {
91
91
  export function isImpelTasksMcpInvocation(value) {
92
92
  if (!value || typeof value !== "object" || !Array.isArray(value.args)) return false;
93
93
  const suffix = value.args.slice(-5);
94
- return value.type === "stdio"
94
+ // Claude Desktop persists stdio servers without the optional `type` field.
95
+ // Accept that vendor-normalized form so the next Impel update can still
96
+ // recognize, re-pin, and repair its own tenant-bound entry. Any explicit
97
+ // non-stdio type remains foreign and fails closed.
98
+ return (value.type === undefined || value.type === "stdio")
95
99
  && value.env?.[IMPEL_MANAGED_MCP_ENV] === "1"
96
100
  && suffix[0] === "mcp"
97
101
  && suffix[1] === "--target"