@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.9.77-rc.13",
3
+ "version": "0.9.77-rc.15",
4
4
  "description": "ADHDev daemon core — CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -114,10 +114,10 @@ export async function handlePtyInput(h: CommandHelpers, args: any): Promise<Comm
114
114
  const { cliType, data, targetSessionId } = args || {};
115
115
  if (!data) return { success: false, error: 'data required' };
116
116
 
117
- // Filter out VT100/VT420 Device Attributes responses (e.g. \x1b[?1;2c)
117
+ // Filter out VT100/VT420 Device Attributes responses (e.g. \x1b[?1;2c or \x1b[>0;276;0c)
118
118
  // These are echoed by xterm.js in the dashboard in response to \x1b[c queries
119
119
  // and pollute the CLI input buffer.
120
- const cleanData = typeof data === 'string' ? data.replace(/\x1b\[\?[0-9;]*c/g, '') : data;
120
+ const cleanData = typeof data === 'string' ? data.replace(/\x1b\[[?>][0-9;]*c/g, '') : data;
121
121
  if (!cleanData) return { success: true };
122
122
 
123
123
  const adapter = h.getCliAdapter(targetSessionId || cliType);