@adhdev/daemon-core 0.9.77-rc.14 → 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.js
CHANGED
|
@@ -15209,7 +15209,7 @@ async function handleOpenPanel(h, args) {
|
|
|
15209
15209
|
async function handlePtyInput(h, args) {
|
|
15210
15210
|
const { cliType, data, targetSessionId } = args || {};
|
|
15211
15211
|
if (!data) return { success: false, error: "data required" };
|
|
15212
|
-
const cleanData = typeof data === "string" ? data.replace(/\x1b\[
|
|
15212
|
+
const cleanData = typeof data === "string" ? data.replace(/\x1b\[[?>][0-9;]*c/g, "") : data;
|
|
15213
15213
|
if (!cleanData) return { success: true };
|
|
15214
15214
|
const adapter = h.getCliAdapter(targetSessionId || cliType);
|
|
15215
15215
|
if (!adapter || typeof adapter.writeRaw !== "function") {
|