teapot-coding-agent 0.37.180 → 0.37.182
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/dist/server/terminals.js +9 -0
- package/package.json +1 -1
- package/public/assets/{index-CasP3Vd9.js → index-BmTSPF1Q.js} +44 -44
- package/public/assets/index-BmTSPF1Q.js.map +1 -0
- package/public/assets/{index-CsBHtxhI.css → index-C_xStClN.css} +1 -1
- package/public/index.html +2 -2
- package/public/assets/index-CasP3Vd9.js.map +0 -1
package/dist/server/terminals.js
CHANGED
|
@@ -47,6 +47,15 @@ export function terminalEnv(base) {
|
|
|
47
47
|
const env = { ...base, TERM: "xterm-256color" };
|
|
48
48
|
delete env.COLUMNS;
|
|
49
49
|
delete env.LINES;
|
|
50
|
+
/**
|
|
51
|
+
* A command the HARNESS types must not end up in the operator's history.
|
|
52
|
+
*
|
|
53
|
+
* `HISTCONTROL=ignorespace` is the standard way to say that: a line starting with a space is not recorded. Teapot writes
|
|
54
|
+
* to the pty only for its own probing (the macOS resize fallback), and those lines are prefixed with a space because of
|
|
55
|
+
* this. The operator's own typing is untouched (issue #229 is about history filling up with things they never typed).
|
|
56
|
+
*/
|
|
57
|
+
if (!env.HISTCONTROL)
|
|
58
|
+
env.HISTCONTROL = "ignorespace";
|
|
50
59
|
return env;
|
|
51
60
|
}
|
|
52
61
|
export function createTerminal(agentId, workspace, title) {
|