@caoruhua/open-claude-remote 0.1.4 → 0.1.6

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.
@@ -6,7 +6,7 @@
6
6
  <meta name="apple-mobile-web-app-capable" content="yes" />
7
7
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
8
8
  <title>Claude Code Remote</title>
9
- <script type="module" crossorigin src="/assets/index-DOeBWumG.js"></script>
9
+ <script type="module" crossorigin src="/assets/index-Cfhr3h3e.js"></script>
10
10
  <link rel="stylesheet" crossorigin href="/assets/index-BKudo1Dw.css">
11
11
  </head>
12
12
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caoruhua/open-claude-remote",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Remote control proxy for Claude Code CLI - control your PC terminal from mobile browser",
5
5
  "keywords": [
6
6
  "claude",
@@ -45,8 +45,7 @@
45
45
  "test:watch": "vitest",
46
46
  "stop": "tsx backend/src/registry/stop-instances.ts",
47
47
  "clean": "rm -rf dist frontend-dist",
48
- "prepublishOnly": "pnpm build",
49
- "postinstall": "node scripts/fix-node-pty-permissions.js"
48
+ "prepublishOnly": "pnpm build"
50
49
  },
51
50
  "dependencies": {
52
51
  "cookie": "^1.1.1",
@@ -58,14 +57,6 @@
58
57
  "web-push": "^3.6.7",
59
58
  "ws": "^8.19.0"
60
59
  },
61
- "peerDependencies": {
62
- "@anthropic-ai/claude-code": ">=0.0.1"
63
- },
64
- "peerDependenciesMeta": {
65
- "@anthropic-ai/claude-code": {
66
- "optional": true
67
- }
68
- },
69
60
  "devDependencies": {
70
61
  "@dnd-kit/core": "^6.3.1",
71
62
  "@dnd-kit/sortable": "^8.0.0",
@@ -1,47 +0,0 @@
1
- /**
2
- * Fix node-pty spawn-helper missing execute permission.
3
- *
4
- * pnpm may strip the execute bit from prebuilt native binaries during install,
5
- * causing `posix_spawnp failed` at runtime. This script restores +x on all
6
- * spawn-helper binaries found under the node-pty prebuilds directory.
7
- */
8
-
9
- import { createRequire } from 'node:module';
10
- import { readdirSync, statSync, chmodSync, existsSync } from 'node:fs';
11
- import { dirname, join } from 'node:path';
12
-
13
- const require = createRequire(import.meta.url);
14
-
15
- let ptyDir;
16
- try {
17
- const ptyEntry = require.resolve('node-pty');
18
- ptyDir = dirname(ptyEntry);
19
- } catch {
20
- // node-pty not installed (e.g. optional dep), nothing to fix
21
- process.exit(0);
22
- }
23
-
24
- // prebuilds sits next to lib/
25
- const prebuildsDir = join(ptyDir, '..', 'prebuilds');
26
- if (!existsSync(prebuildsDir)) {
27
- console.log('[fix-node-pty] No prebuilds directory found, skipping');
28
- process.exit(0);
29
- }
30
-
31
- let fixed = 0;
32
-
33
- for (const platform of readdirSync(prebuildsDir)) {
34
- const helperPath = join(prebuildsDir, platform, 'spawn-helper');
35
- if (!existsSync(helperPath)) continue;
36
-
37
- const st = statSync(helperPath);
38
- if (!(st.mode & 0o100)) {
39
- chmodSync(helperPath, st.mode | 0o111);
40
- fixed++;
41
- console.log(`[fix-node-pty] chmod +x ${helperPath}`);
42
- }
43
- }
44
-
45
- if (fixed === 0) {
46
- console.log('[fix-node-pty] spawn-helper permissions OK');
47
- }