happy-coder 0.2.3-beta.1 → 0.3.1-beta.1
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.cjs +94 -21
- package/dist/index.mjs +97 -24
- package/dist/lib.d.cts +2 -0
- package/dist/lib.d.mts +2 -0
- package/dist/types-CzYKFAYa.mjs +882 -0
- package/dist/types-D7u2DxfV.cjs +893 -0
- package/package.json +2 -2
- package/scripts/claude_remote_launcher.cjs +13 -0
- /package/bin/{happy → happy.mjs} +0 -0
- /package/scripts/{claudeInteractiveLaunch.cjs → claude_local_launcher.cjs} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "happy-coder",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1-beta.1",
|
|
4
4
|
"description": "Claude Code session sharing CLI",
|
|
5
5
|
"author": "Kirill Dubovitskiy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": "https://github.com/slopus/happy-cli/issues",
|
|
10
10
|
"repository": "slopus/happy-cli",
|
|
11
11
|
"bin": {
|
|
12
|
-
"happy": "./bin/happy"
|
|
12
|
+
"happy": "./bin/happy.mjs"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist/index.cjs",
|
|
15
15
|
"module": "./dist/index.mjs",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Intercept setTimeout for the Claude Code SDK
|
|
2
|
+
const originalSetTimeout = global.setTimeout;
|
|
3
|
+
|
|
4
|
+
global.setTimeout = function(callback, delay, ...args) {
|
|
5
|
+
// Just wrap and call the original setTimeout
|
|
6
|
+
return originalSetTimeout(callback, delay, ...args);
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
// Preserve setTimeout properties
|
|
10
|
+
Object.defineProperty(global.setTimeout, 'name', { value: 'setTimeout' });
|
|
11
|
+
Object.defineProperty(global.setTimeout, 'length', { value: originalSetTimeout.length });
|
|
12
|
+
|
|
13
|
+
import('@anthropic-ai/claude-code/cli.js')
|
/package/bin/{happy → happy.mjs}
RENAMED
|
File without changes
|
|
File without changes
|