codemaxxing 1.0.13 → 1.0.14
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/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
3
3
|
import React, { useState, useEffect, useCallback } from "react";
|
|
4
4
|
import { render, Box, Text, useInput, useApp, useStdout } from "ink";
|
|
5
5
|
import { EventEmitter } from "events";
|
|
6
|
+
import { appendFileSync } from "node:fs";
|
|
6
7
|
import TextInput from "ink-text-input";
|
|
7
8
|
import { consumePendingPasteEndMarkerChunk } from "./utils/paste.js";
|
|
8
9
|
import { CodingAgent } from "./agent.js";
|
|
@@ -1765,7 +1766,6 @@ const PASTE_DEBUG = process.env.CODEMAXXING_DEBUG_PASTE === "1";
|
|
|
1765
1766
|
function pasteLog(msg) {
|
|
1766
1767
|
if (!PASTE_DEBUG)
|
|
1767
1768
|
return;
|
|
1768
|
-
const { appendFileSync } = require("node:fs");
|
|
1769
1769
|
const escaped = msg.replace(/\x1b/g, "\\x1b").replace(/\r/g, "\\r").replace(/\n/g, "\\n");
|
|
1770
1770
|
try {
|
|
1771
1771
|
appendFileSync("/tmp/codemaxxing-paste-debug.log", `[${Date.now()}] ${escaped}\n`);
|