happy-coder 0.9.0-4 → 0.9.0-5
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 +7 -1
- package/dist/index.mjs +7 -1
- package/dist/lib.d.cts +2 -0
- package/dist/lib.d.mts +2 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1515,6 +1515,7 @@ async function claudeRemote(opts) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
isCompactCommand = false;
|
|
1517
1517
|
}
|
|
1518
|
+
opts.onReady();
|
|
1518
1519
|
const next = await opts.nextMessage();
|
|
1519
1520
|
if (!next) {
|
|
1520
1521
|
messages.end();
|
|
@@ -2656,6 +2657,11 @@ async function claudeRemoteLauncher(session) {
|
|
|
2656
2657
|
types$1.logger.debug("[remote]: Session reset");
|
|
2657
2658
|
session.clearSessionId();
|
|
2658
2659
|
},
|
|
2660
|
+
onReady: () => {
|
|
2661
|
+
if (!pending && session.queue.size() === 0) {
|
|
2662
|
+
session.client.sendSessionEvent({ type: "ready" });
|
|
2663
|
+
}
|
|
2664
|
+
},
|
|
2659
2665
|
signal: abortController.signal
|
|
2660
2666
|
});
|
|
2661
2667
|
if (!exitReason && abortController.signal.aborted) {
|
|
@@ -2754,7 +2760,7 @@ async function loop(opts) {
|
|
|
2754
2760
|
}
|
|
2755
2761
|
|
|
2756
2762
|
var name = "happy-coder";
|
|
2757
|
-
var version = "0.9.0-
|
|
2763
|
+
var version = "0.9.0-5";
|
|
2758
2764
|
var description = "Claude Code session sharing CLI";
|
|
2759
2765
|
var author = "Kirill Dubovitskiy";
|
|
2760
2766
|
var license = "MIT";
|
package/dist/index.mjs
CHANGED
|
@@ -1494,6 +1494,7 @@ async function claudeRemote(opts) {
|
|
|
1494
1494
|
}
|
|
1495
1495
|
isCompactCommand = false;
|
|
1496
1496
|
}
|
|
1497
|
+
opts.onReady();
|
|
1497
1498
|
const next = await opts.nextMessage();
|
|
1498
1499
|
if (!next) {
|
|
1499
1500
|
messages.end();
|
|
@@ -2635,6 +2636,11 @@ async function claudeRemoteLauncher(session) {
|
|
|
2635
2636
|
logger.debug("[remote]: Session reset");
|
|
2636
2637
|
session.clearSessionId();
|
|
2637
2638
|
},
|
|
2639
|
+
onReady: () => {
|
|
2640
|
+
if (!pending && session.queue.size() === 0) {
|
|
2641
|
+
session.client.sendSessionEvent({ type: "ready" });
|
|
2642
|
+
}
|
|
2643
|
+
},
|
|
2638
2644
|
signal: abortController.signal
|
|
2639
2645
|
});
|
|
2640
2646
|
if (!exitReason && abortController.signal.aborted) {
|
|
@@ -2733,7 +2739,7 @@ async function loop(opts) {
|
|
|
2733
2739
|
}
|
|
2734
2740
|
|
|
2735
2741
|
var name = "happy-coder";
|
|
2736
|
-
var version = "0.9.0-
|
|
2742
|
+
var version = "0.9.0-5";
|
|
2737
2743
|
var description = "Claude Code session sharing CLI";
|
|
2738
2744
|
var author = "Kirill Dubovitskiy";
|
|
2739
2745
|
var license = "MIT";
|
package/dist/lib.d.cts
CHANGED
|
@@ -319,6 +319,8 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
319
319
|
} | {
|
|
320
320
|
type: 'permission-mode-changed';
|
|
321
321
|
mode: 'default' | 'acceptEdits' | 'bypassPermissions' | 'plan';
|
|
322
|
+
} | {
|
|
323
|
+
type: 'ready';
|
|
322
324
|
}, id?: string): void;
|
|
323
325
|
/**
|
|
324
326
|
* Send a ping message to keep the connection alive
|
package/dist/lib.d.mts
CHANGED
|
@@ -319,6 +319,8 @@ declare class ApiSessionClient extends EventEmitter {
|
|
|
319
319
|
} | {
|
|
320
320
|
type: 'permission-mode-changed';
|
|
321
321
|
mode: 'default' | 'acceptEdits' | 'bypassPermissions' | 'plan';
|
|
322
|
+
} | {
|
|
323
|
+
type: 'ready';
|
|
322
324
|
}, id?: string): void;
|
|
323
325
|
/**
|
|
324
326
|
* Send a ping message to keep the connection alive
|