codemaxxing 1.0.6 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1760,10 +1760,10 @@ let burstTimer = null;
1760
1760
  const BURST_WINDOW_MS = 50; // Long enough for slow terminals to finish delivering paste
1761
1761
  // Debug paste: set CODEMAXXING_DEBUG_PASTE=1 to log all stdin chunks to /tmp/codemaxxing-paste-debug.log
1762
1762
  const PASTE_DEBUG = process.env.CODEMAXXING_DEBUG_PASTE === "1";
1763
- import { appendFileSync } from "node:fs";
1764
1763
  function pasteLog(msg) {
1765
1764
  if (!PASTE_DEBUG)
1766
1765
  return;
1766
+ const { appendFileSync } = require("node:fs");
1767
1767
  const escaped = msg.replace(/\x1b/g, "\\x1b").replace(/\r/g, "\\r").replace(/\n/g, "\\n");
1768
1768
  try {
1769
1769
  appendFileSync("/tmp/codemaxxing-paste-debug.log", `[${Date.now()}] ${escaped}\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codemaxxing",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Open-source terminal coding agent. Connect any LLM. Max your code.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {