claude-ws 0.3.96 → 0.3.98
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": "claude-ws",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.98",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A beautifully crafted workspace interface for Claude Code with real-time streaming and local SQLite database",
|
|
6
6
|
"keywords": [
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
},
|
|
52
52
|
"pnpm": {
|
|
53
53
|
"onlyBuiltDependencies": [
|
|
54
|
+
"@homebridge/node-pty-prebuilt-multiarch",
|
|
54
55
|
"better-sqlite3",
|
|
55
|
-
"esbuild"
|
|
56
|
-
"node-pty"
|
|
56
|
+
"esbuild"
|
|
57
57
|
],
|
|
58
58
|
"ignoredBuiltDependencies": [
|
|
59
59
|
"sharp",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
|
-
"postinstall": "node -e \"try{require('fs').chmodSync(require('path').join('node_modules','node-pty','prebuilds',process.platform+'-'+process.arch,'spawn-helper'),0o755)}catch{}\"",
|
|
64
|
+
"postinstall": "node -e \"try{require('fs').chmodSync(require('path').join('node_modules','@homebridge','node-pty-prebuilt-multiarch','prebuilds',process.platform+'-'+process.arch,'spawn-helper'),0o755)}catch{}\"",
|
|
65
65
|
"dev": "tsx server.ts",
|
|
66
66
|
"build": "cross-env NODE_ENV=production next build",
|
|
67
67
|
"start": "cross-env NODE_ENV=production tsx server.ts",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"next": "^16.1.6",
|
|
139
139
|
"next-intl": "^4.8.2",
|
|
140
140
|
"next-themes": "^0.4.6",
|
|
141
|
-
"node-pty": "^
|
|
141
|
+
"@homebridge/node-pty-prebuilt-multiarch": "^0.13.1",
|
|
142
142
|
"pino": "^10.3.1",
|
|
143
143
|
"pino-pretty": "^13.1.3",
|
|
144
144
|
"react": "19.2.3",
|
package/src/lib/agent-manager.ts
CHANGED
|
@@ -573,7 +573,7 @@ Your task is INCOMPLETE until:\n1. File exists with valid content\n2. You have R
|
|
|
573
573
|
// Track subagent workflow (from assistant messages with Task tool)
|
|
574
574
|
// Also track Bash tool_uses to correlate with BGPID results
|
|
575
575
|
if (message.type === 'assistant' && 'message' in message) {
|
|
576
|
-
const assistantMsg = message as { message: { content: Array<{ type: string; id?: string; name?: string; input?: unknown }> }; parent_tool_use_id: string | null };
|
|
576
|
+
const assistantMsg = message as unknown as { message: { content: Array<{ type: string; id?: string; name?: string; input?: unknown }> }; parent_tool_use_id: string | null };
|
|
577
577
|
for (const block of assistantMsg.message.content) {
|
|
578
578
|
if (block.type === 'tool_use' && block.name === 'Task' && block.id) {
|
|
579
579
|
const taskInput = (block as { input?: { subagent_type?: string } }).input;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import { EventEmitter } from 'events';
|
|
12
|
-
import * as pty from 'node-pty';
|
|
12
|
+
import * as pty from '@homebridge/node-pty-prebuilt-multiarch';
|
|
13
13
|
import { nanoid } from 'nanoid';
|
|
14
14
|
import { detectShell } from './terminal-shell-detect';
|
|
15
15
|
import { createLogger } from './logger';
|