codemaxxing 1.0.9 → 1.0.10

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/index.js +9 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1828,6 +1828,15 @@ process.stdin.emit = function (event, ...args) {
1828
1828
  // Strip full and partial bracketed paste markers — catch every possible fragment
1829
1829
  // Full: \x1b[200~ / \x1b[201~ Partial: [200~ / [201~ Bare: 200~ / 201~
1830
1830
  data = data.replace(/\x1b?\[?20[01]~/g, "");
1831
+ // Belt-and-suspenders: literal string replacements for fragments that survive regex
1832
+ if (data.includes("200~"))
1833
+ data = data.split("200~").join("");
1834
+ if (data.includes("201~"))
1835
+ data = data.split("201~").join("");
1836
+ if (data.includes("[200~"))
1837
+ data = data.split("[200~").join("");
1838
+ if (data.includes("[201~"))
1839
+ data = data.split("[201~").join("");
1831
1840
  // ── Bracketed paste handling ──
1832
1841
  if (hadStart) {
1833
1842
  // Flush any pending burst before entering bracketed mode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codemaxxing",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Open-source terminal coding agent. Connect any LLM. Max your code.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {