@agent-chat/mention-watcher 0.1.8 → 0.1.9

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.
Files changed (2) hide show
  1. package/dist/watch.js +1 -6
  2. package/package.json +1 -1
package/dist/watch.js CHANGED
@@ -197,15 +197,10 @@ async function main() {
197
197
  process.stderr.write(`[mention-watcher] Workspace: ${WORKSPACE_DIR} (${wdSource})
198
198
  `);
199
199
  process.stderr.write(`[mention-watcher] Spawning: ${COMMAND} ${CMD_ARGS.join(" ")}
200
- `);
201
- const userShell = process.env.SHELL || "/bin/zsh";
202
- const quotedArgs = [COMMAND, ...CMD_ARGS].map((a) => `'${a.replace(/'/g, "'\\''")}'`).join(" ");
203
- const shellCmd = `exec ${quotedArgs}`;
204
- process.stderr.write(`[mention-watcher] Spawning via: ${userShell} -l -c "${shellCmd}"
205
200
  `);
206
201
  let proc;
207
202
  try {
208
- proc = pty.spawn(userShell, ["-l", "-c", shellCmd], {
203
+ proc = pty.spawn(COMMAND, CMD_ARGS, {
209
204
  name: "xterm-256color",
210
205
  cols,
211
206
  rows,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-chat/mention-watcher",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "PTY wrapper that pushes @mentions from agent-chat into Claude Code (or any LLM CLI)",
5
5
  "type": "module",
6
6
  "bin": {