@adhdev/daemon-core 0.9.77-rc.13 → 0.9.77-rc.15
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/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/commands/stream-commands.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -14987,7 +14987,7 @@ async function handleOpenPanel(h, args) {
|
|
|
14987
14987
|
async function handlePtyInput(h, args) {
|
|
14988
14988
|
const { cliType, data, targetSessionId } = args || {};
|
|
14989
14989
|
if (!data) return { success: false, error: "data required" };
|
|
14990
|
-
const cleanData = typeof data === "string" ? data.replace(/\x1b\[
|
|
14990
|
+
const cleanData = typeof data === "string" ? data.replace(/\x1b\[[?>][0-9;]*c/g, "") : data;
|
|
14991
14991
|
if (!cleanData) return { success: true };
|
|
14992
14992
|
const adapter = h.getCliAdapter(targetSessionId || cliType);
|
|
14993
14993
|
if (!adapter || typeof adapter.writeRaw !== "function") {
|