@adhdev/daemon-core 0.9.77-rc.14 → 0.9.77-rc.16

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 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\[\?[0-9;]*c/g, "") : data;
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") {