agent-sh 0.12.6 → 0.12.7

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.
@@ -97,6 +97,7 @@ export class Shell {
97
97
  ...(showIndicator ? [` ${titleCmd}`] : []),
98
98
  " __agent_sh_preexec_ran=0",
99
99
  "}",
100
+ `PROMPT_COMMAND="\${PROMPT_COMMAND%;}"`,
100
101
  `PROMPT_COMMAND="\${PROMPT_COMMAND:+\$PROMPT_COMMAND;}__agent_sh_precmd"`,
101
102
  "",
102
103
  "# Preexec hook via DEBUG trap: emit actual command text so agent-sh",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-sh",
3
- "version": "0.12.6",
3
+ "version": "0.12.7",
4
4
  "description": "A shell-first terminal where AI is one keystroke away",
5
5
  "type": "module",
6
6
  "main": "dist/core.js",