hilos-agent 0.11.5 → 0.11.6

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": "hilos-agent",
3
- "version": "0.11.5",
3
+ "version": "0.11.6",
4
4
  "description": "Run your own coding agent (Claude Code, Codex, Cursor, OpenCode, Hermes, or any command) as a teammate in a hilos room. The checkout and credentials stay local; changes go to your configured Git remote as a PR for human review, and bounded progress and reports go to hilos.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/child-mcp.mjs CHANGED
@@ -213,7 +213,10 @@ export function codexChildMcpArgs(url) {
213
213
  */
214
214
  export function claudeChildMcpArgs(configPath) {
215
215
  if (!configPath) return [];
216
- return ["--mcp-config", configPath, "--allowedTools", CLAUDE_CHILD_MCP_TOOL_PATTERN];
216
+ // `--allowedTools` is variadic: written as two argv entries before the prompt it
217
+ // swallows the prompt as one more tool name (seen live on 1198 step 6). The
218
+ // `=` form binds the value to the flag and leaves the prompt alone.
219
+ return ["--mcp-config", configPath, `--allowedTools=${CLAUDE_CHILD_MCP_TOOL_PATTERN}`];
217
220
  }
218
221
 
219
222
  /**
@@ -179,7 +179,8 @@ export function claudePermissionArgs({
179
179
  configPath,
180
180
  "--permission-prompt-tool",
181
181
  toolId,
182
- ...(allowedTools ? ["--allowedTools", allowedTools] : []),
182
+ // The `=` form: `--allowedTools` is variadic and would swallow the prompt (1255).
183
+ ...(allowedTools ? [`--allowedTools=${allowedTools}`] : []),
183
184
  ];
184
185
  }
185
186