Commit bbed4fc
committed
Fix agentManaged config calculation in cmd-mcp.ts
The agentManaged flag was correctly calculated at the top of both stdio and http handlers, but then recalculated incorrectly when passing to the MCP server config. This caused the --agent-managed flag to be ignored when combined with -i specs.
Changes:
- Line 56 (stdio): Use calculated agentManaged variable instead of recalculating
- Line 130 (http): Use calculated agentManaged variable instead of recalculating
This ensures --agent-managed -i s3://... correctly sets agentManaged: true in the server config.
Agent-Id: agent-1fdc5885-eb2c-4a33-9451-323cf14bb29a1 parent 975991f commit bbed4fc
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments