very-happy-cli 0.2.166 → 0.2.168
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/{AcpBackend-tRWk7yi7.mjs → AcpBackend-BoLDLYNT.mjs} +3 -3
- package/dist/{AcpBackend-20VHOXwb.cjs → AcpBackend-r83MMm-i.cjs} +3 -3
- package/dist/{BasePermissionHandler-COKc4pmt.cjs → BasePermissionHandler-CS0eRtT-.cjs} +1 -1
- package/dist/{BasePermissionHandler-CDCLIrZJ.mjs → BasePermissionHandler-DTcVlmKi.mjs} +1 -1
- package/dist/{BaseReasoningProcessor-BDVKvooR.mjs → BaseReasoningProcessor-BddnNlXQ.mjs} +1 -1
- package/dist/{BaseReasoningProcessor-DAGQdkNp.cjs → BaseReasoningProcessor-RJiBhA8h.cjs} +1 -1
- package/dist/{agentHome-2IbIjKCa.mjs → agentHome--LRsdUx6.mjs} +4 -4
- package/dist/{agentHome-KVWj6nCl.cjs → agentHome-D-e_j9hK.cjs} +4 -4
- package/dist/{api-DnNL5fLw.cjs → api-COSJ3Yb7.cjs} +88 -10
- package/dist/{api-Cmz3XS4P.mjs → api-hXLwtgMi.mjs} +88 -10
- package/dist/{apiMachine-DeoQ8QbZ.cjs → apiMachine-BTCUUGC6.cjs} +50 -15
- package/dist/{apiMachine-B6ySCFe0.mjs → apiMachine-BauSXWNd.mjs} +50 -15
- package/dist/{attachmentContent-DPWxHgX4.cjs → attachmentContent-BCK0AxDS.cjs} +2 -2
- package/dist/{attachmentContent-CTXapi-_.mjs → attachmentContent-CS0B2N0Q.mjs} +2 -2
- package/dist/{attachmentLimits-BfgKV5iE.cjs → attachmentLimits-BEYEEBm8.cjs} +13 -1
- package/dist/{attachmentLimits-C1PCCM79.mjs → attachmentLimits-CxG3T18E.mjs} +13 -1
- package/dist/{auth-pzWIFdOD.mjs → auth-BFeFguVs.mjs} +5 -5
- package/dist/{auth-BMaBjRAj.mjs → auth-BUXH1L2k.mjs} +10 -10
- package/dist/{auth-D4-eQz85.cjs → auth-CCj5KlYS.cjs} +10 -10
- package/dist/{auth-ietHtvwu.cjs → auth-CfB2XcAW.cjs} +5 -5
- package/dist/{auto-DL75Dx3I.mjs → auto-D5BYdAoT.mjs} +14 -14
- package/dist/{auto-DOWTQDPa.cjs → auto-ZCHKb4jo.cjs} +14 -14
- package/dist/{bootstrap-BpXIc2wn.cjs → bootstrap-DSX64t23.cjs} +2 -2
- package/dist/{bootstrap-XE8A7Ut2.mjs → bootstrap-DklT121U.mjs} +2 -2
- package/dist/{browser-CcG8GLRV.cjs → browser-CeekQeKt.cjs} +1 -1
- package/dist/{browser-DDFi1T8C.mjs → browser-DUf1dth8.mjs} +1 -1
- package/dist/{claudeLocal-DmM5Oyhv.mjs → claudeLocal-C8pXtb8q.mjs} +5 -5
- package/dist/{claudeLocal-DXBXwIOG.cjs → claudeLocal-hH0YYex3.cjs} +5 -5
- package/dist/{claudeLocalLauncher-Cs4eUC3P.mjs → claudeLocalLauncher-AtUe2tM-.mjs} +10 -10
- package/dist/{claudeLocalLauncher-C41Y6Kp4.cjs → claudeLocalLauncher-B-ta13pT.cjs} +10 -10
- package/dist/{claudeSessionFork-BdLnc2Hv.mjs → claudeSessionFork-BQPBKEHk.mjs} +1 -1
- package/dist/{claudeSessionFork-Cs0I3eGI.cjs → claudeSessionFork-Cq9FBfjD.cjs} +1 -1
- package/dist/{client-CbK33y_s.mjs → client-Bg6-mQKO.mjs} +3 -3
- package/dist/{client-GjTnsq6F.mjs → client-Cbl3ejoq.mjs} +2 -2
- package/dist/{client-JISJx2f-.cjs → client-DZpkmS5l.cjs} +3 -3
- package/dist/{client-DJ0kX_8M.cjs → client-EnFomCjx.cjs} +2 -2
- package/dist/codex/happyMcpStdioBridge.cjs +14 -14
- package/dist/codex/happyMcpStdioBridge.mjs +14 -14
- package/dist/{codexAppServerClient-BTjn2ZCZ.cjs → codexAppServerClient-pllsN90-.cjs} +4 -4
- package/dist/{codexAppServerClient-CldXEojt.mjs → codexAppServerClient-sWuwtddZ.mjs} +4 -4
- package/dist/{codexCommand-DjMU-Ijf.mjs → codexCommand-DbTkMlW4.mjs} +137 -56
- package/dist/{codexCommand-BpD0N1F7.cjs → codexCommand-_jkx59gI.cjs} +137 -56
- package/dist/{config-DuLL0Ppe.cjs → config-BuIIZPZK.cjs} +3 -3
- package/dist/{config-DjSJKatx.mjs → config-FCOoREKj.mjs} +3 -3
- package/dist/{configuration-D2v3puap.mjs → configuration-BZo1JWNV.mjs} +2 -2
- package/dist/{configuration-B0cb3xA3.cjs → configuration-DeuGrnej.cjs} +1 -1
- package/dist/{connect-CnNNyM9I.mjs → connect-C2yHh85e.mjs} +13 -13
- package/dist/{connect-B7JWEzyg.cjs → connect-CjDdF12U.cjs} +13 -13
- package/dist/{context-BFUpYT39.cjs → context-BhvZtm3j.cjs} +1 -1
- package/dist/{context-DjfqLWzE.mjs → context-DZIIcfld.mjs} +1 -1
- package/dist/{controlClient-BMUJfUeF.mjs → controlClient-CXD-Xdny.mjs} +18 -4
- package/dist/{controlClient-CmnHGcyl.cjs → controlClient-IDE3se23.cjs} +18 -3
- package/dist/{createSessionMetadata-DbfRBhRu.cjs → createSessionMetadata-BCHFLSLk.cjs} +56 -3
- package/dist/{createSessionMetadata-DU0bCg2m.mjs → createSessionMetadata-DoLFya-Q.mjs} +57 -5
- package/dist/defaultPermissionMode-BtZtLdQz.cjs +197 -0
- package/dist/defaultPermissionMode-Dxfv-5Ud.mjs +191 -0
- package/dist/{deterministicJson-Dp3TVyap.cjs → deterministicJson-BqQKrUzw.cjs} +8 -8
- package/dist/{deterministicJson-D-WPUrZb.mjs → deterministicJson-CF1fJMaM.mjs} +8 -8
- package/dist/{doctor-BlXXyQ1L.mjs → doctor-C98yYhYr.mjs} +6 -6
- package/dist/{doctor-CkJmdPbi.cjs → doctor-D61ncaeL.cjs} +6 -6
- package/dist/{downloadTarget-DjSwMHun.mjs → downloadTarget-CaISZbNy.mjs} +6 -6
- package/dist/{downloadTarget-CiQqRIc-.cjs → downloadTarget-Dist9t2e.cjs} +6 -6
- package/dist/{ensureDaemonRunning-C_aIOhgG.cjs → ensureDaemonRunning-BB0hnWY_.cjs} +5 -5
- package/dist/{ensureDaemonRunning-CAQag1zE.mjs → ensureDaemonRunning-CNiqOarI.mjs} +5 -5
- package/dist/{handleResumeCommand-Ci7wacT-.mjs → handleResumeCommand-BzcANj0i.mjs} +5 -5
- package/dist/{handleResumeCommand-6KzBGDnl.cjs → handleResumeCommand-CkzW-T_f.cjs} +5 -5
- package/dist/{index-DEKIgZUo.cjs → index-BQU1sS9K.cjs} +4 -4
- package/dist/{index-DBmNwMX9.cjs → index-BeeWN9Et.cjs} +33 -33
- package/dist/{index-WGCT6SSV.mjs → index-CdmIOFwG.mjs} +34 -34
- package/dist/{index-HQsigW_J.mjs → index-D2hg_u5i.mjs} +3 -3
- package/dist/{index-DQplgo0W.mjs → index-Dgqk3lfG.mjs} +4 -4
- package/dist/{index-CaFCAlX8.cjs → index-DipBfs9w.cjs} +3 -3
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{install-oJUvsFu9.mjs → install-CK1FvmYQ.mjs} +3 -3
- package/dist/{install-CejEiRGW.cjs → install-VtuffPLu.cjs} +3 -3
- package/dist/lib.cjs +11 -11
- package/dist/lib.d.cts +61 -0
- package/dist/lib.d.mts +61 -0
- package/dist/lib.mjs +11 -11
- package/dist/{lidState-D8BmnJV1.cjs → lidState-2IT0tas7.cjs} +1 -1
- package/dist/{lidState-BfximpjX.mjs → lidState-CJ3XkJRn.mjs} +1 -1
- package/dist/{localHappyAgentAuth-d7B6S_o7.cjs → localHappyAgentAuth-CPMh61Su.cjs} +1 -1
- package/dist/{localHappyAgentAuth-Ct1aXwqd.mjs → localHappyAgentAuth-DkLbntlf.mjs} +1 -1
- package/dist/{logger-BpQcwNnt.mjs → logger-C6zzu57a.mjs} +2 -2
- package/dist/{logger-JTcJU-uL.cjs → logger-Ockf1cjN.cjs} +2 -2
- package/dist/{machineMetadata-BBg_Njw3.cjs → machineMetadata-CoMYwSlG.cjs} +4 -3
- package/dist/{machineMetadata-CBdxABeI.mjs → machineMetadata-DmTGIZAV.mjs} +4 -3
- package/dist/{main-B5b1gA3K.mjs → main-B8TX9xPq.mjs} +45 -45
- package/dist/{main-C16fOGgn.cjs → main-CThJ9JQb.cjs} +45 -45
- package/dist/{manager-BQ4flvQZ.mjs → manager-BEsI4qt3.mjs} +9 -3
- package/dist/{manager-Cly8xVIR.cjs → manager-HrEj442o.cjs} +8 -2
- package/dist/{mcp-BnNiBBax.cjs → mcp-Dwku1p2I.cjs} +14 -14
- package/dist/{mcp-DGNWgVdv.mjs → mcp-Yw93dOiW.mjs} +14 -14
- package/dist/mirrorProtocol-CQ5fAUgq.mjs +1247 -0
- package/dist/mirrorProtocol-CdPhEBSh.cjs +1270 -0
- package/dist/{package-BqwrPxL0.mjs → package-5xAdq5fu.mjs} +7 -7
- package/dist/{package-C1XvUQFy.cjs → package-DfoyJe1O.cjs} +7 -7
- package/dist/{peerTools-DPvbcs8V.cjs → peerTools-BEnBvEcU.cjs} +4 -4
- package/dist/{peerTools-CeCe-3lk.mjs → peerTools-uDR6MG0-.mjs} +4 -4
- package/dist/{persistence-2Xp_o6x6.cjs → persistence-B5oT6oQ9.cjs} +147 -25
- package/dist/{persistence-B9LmhAE2.mjs → persistence-B6M_W5iC.mjs} +123 -12
- package/dist/{piRunnerArgs-DI29dDNo.cjs → piRunnerArgs-MLN46-nK.cjs} +1 -1
- package/dist/{piRunnerArgs-7FaTyNOq.mjs → piRunnerArgs-vNIUWHqo.mjs} +1 -1
- package/dist/{piRuntime-R8XVChxK.cjs → piRuntime-DkUg8_5q.cjs} +1 -1
- package/dist/{piRuntime-0qEK5AqE.mjs → piRuntime-WMuI7f4q.mjs} +1 -1
- package/dist/{piTerminal-zcQKc8Sp.mjs → piTerminal-4NBSZVxd.mjs} +16 -16
- package/dist/{piTerminal-Ccj0KNPr.cjs → piTerminal-Bskvs69Z.cjs} +16 -16
- package/dist/{rateLimitWindows-C2Jk3Ih7.cjs → rateLimitWindows-C2-Ky86q.cjs} +1 -1
- package/dist/{rateLimitWindows-Dhfhbtqu.mjs → rateLimitWindows-CJ1xDAxa.mjs} +1 -1
- package/dist/{registerCommonHandlers-DdfGsFbM.mjs → registerCommonHandlers-BLHKlk5Z.mjs} +2 -2
- package/dist/{registerCommonHandlers-Aha_KfM3.cjs → registerCommonHandlers-COSTo15G.cjs} +2 -2
- package/dist/{registerKillSessionHandler-DboQlGcH.mjs → registerKillSessionHandler-BVQfhSgm.mjs} +14 -9
- package/dist/{registerKillSessionHandler-CjitOpUA.cjs → registerKillSessionHandler-DDZISNzu.cjs} +14 -9
- package/dist/{remoteSessionClient-BwI8rpQw.cjs → remoteSessionClient-B2pOMZRw.cjs} +5 -5
- package/dist/{remoteSessionClient-B2DtWuNP.mjs → remoteSessionClient-Dx0M2MXV.mjs} +5 -5
- package/dist/{reportProgressTool-B-Rcy0s3.cjs → reportProgressTool-C5vDEv9Y.cjs} +1 -1
- package/dist/{reportProgressTool-DnAD8wOa.mjs → reportProgressTool-CcwFr0ek.mjs} +1 -1
- package/dist/{run-Bh66Xs40.cjs → run-BKTv1E-D.cjs} +323 -37
- package/dist/{run-DPEwJpQR.mjs → run-BZjIDOGM.mjs} +322 -36
- package/dist/{runClaude-DLr_nBzw.mjs → runClaude-DFa77Ffl.mjs} +87 -25
- package/dist/{runClaude-C-lJdAKD.cjs → runClaude-DUlFZWiK.cjs} +87 -25
- package/dist/{runClaudeDeps-vWWLod7J.cjs → runClaudeDeps--TnER0c3.cjs} +100 -31
- package/dist/{runClaudeDeps-C7JV7nXG.mjs → runClaudeDeps-BYohagQU.mjs} +105 -36
- package/dist/{runGemini-o-CUSayc.cjs → runGemini-BSBejXek.cjs} +32 -32
- package/dist/{runGemini-tH6sLw-G.mjs → runGemini-CUiq1Zei.mjs} +32 -32
- package/dist/{runOpenClaw-C5DZvVhn.mjs → runOpenClaw-CgwRP4gR.mjs} +16 -16
- package/dist/{runOpenClaw-D24f35l0.cjs → runOpenClaw-DQFEi3E1.cjs} +16 -16
- package/dist/{sandbox-BaL1aslA.mjs → sandbox-BTwAN7Yi.mjs} +4 -4
- package/dist/{sandbox-TJZJ6ngw.cjs → sandbox-DuLRfMY3.cjs} +4 -4
- package/dist/selfCheck-DF26lf1b.mjs +84 -0
- package/dist/{selfCheck-Dugi0Nk_.cjs → selfCheck-DuOLndWl.cjs} +34 -34
- package/dist/{send-DDcJ3ayi.mjs → send-ComZSvT5.mjs} +8 -8
- package/dist/{send-CkWOSYmU.cjs → send-Dl4TJ0Ia.cjs} +8 -8
- package/dist/{server-7qFQ8J2u.cjs → server-CWmamKcS.cjs} +6 -6
- package/dist/{server-CUjRvQSd.mjs → server-CXFSsyZx.mjs} +4 -4
- package/dist/{sessionLock-DfhNICyS.cjs → sessionLock-BFD8cFNP.cjs} +12 -3
- package/dist/{sessionLock-DqVyHFAQ.mjs → sessionLock-DCKf-gjd.mjs} +12 -4
- package/dist/{sessionModeFile-M4OpiyrF.mjs → sessionModeFile-BYxsFSvc.mjs} +1 -1
- package/dist/{sessionModeFile-CIznKD7O.cjs → sessionModeFile-i-MVQRcU.cjs} +1 -1
- package/dist/{sessionOps-DOyy4gkY.cjs → sessionOps-BAQ_80Rg.cjs} +4 -4
- package/dist/{sessionOps-BnaEaOKs.mjs → sessionOps-CBXsQGV5.mjs} +4 -4
- package/dist/{sessionScanner-CcuOn9uU.mjs → sessionScanner-CwPBvQK2.mjs} +3 -3
- package/dist/{sessionScanner-Cu1yKlj4.cjs → sessionScanner-Dth3iDCi.cjs} +3 -3
- package/dist/{sessions-BQgk5Kw8.cjs → sessions-BULd_RQt.cjs} +9 -9
- package/dist/{sessions-C9O91rL1.mjs → sessions-DYAqiUS0.mjs} +9 -9
- package/dist/{setupOfflineReconnection-Byy8aeKT.mjs → setupOfflineReconnection-Bo9xb30l.mjs} +2 -2
- package/dist/{setupOfflineReconnection-DFmQ8s6I.cjs → setupOfflineReconnection-DI8BQf_g.cjs} +2 -2
- package/dist/{spawn-EZ2yrtWd.mjs → spawn-DmXpKIOT.mjs} +13 -13
- package/dist/{spawn-BS7LPmSm.cjs → spawn-oikb5mUh.cjs} +13 -13
- package/dist/{spawnHappyCLI-BAa49m0q.mjs → spawnHappyCLI-BCnZfffk.mjs} +1 -1
- package/dist/{spawnHappyCLI-DyaldIe5.cjs → spawnHappyCLI-Cs177BB4.cjs} +1 -1
- package/dist/{specialCommands-DouFaJ_0.cjs → specialCommands-CmrwEh71.cjs} +3 -3
- package/dist/{specialCommands-CCWtwIGZ.mjs → specialCommands-xD4uOtdG.mjs} +3 -3
- package/dist/{startFileWatcher-Dfs4whzr.mjs → startFileWatcher-De7rN8QW.mjs} +1 -1
- package/dist/{startFileWatcher-DQbbypJv.cjs → startFileWatcher-S_Af_QPR.cjs} +1 -1
- package/dist/{sync-x_lI_3j_.cjs → sync-BS9_zSQ2.cjs} +1 -1
- package/dist/{sync-BLpH13Kb.mjs → sync-CHOB3Org.mjs} +1 -1
- package/dist/{systemPrompt-4erwILTB.cjs → systemPrompt-D2ICcIsu.cjs} +1 -1
- package/dist/{systemPrompt-BanyDihy.mjs → systemPrompt-DNLUUejs.mjs} +1 -1
- package/dist/{teams-DzetlGWC.cjs → teams-BUbESH6L.cjs} +6 -6
- package/dist/{teams-D6BOT3lR.mjs → teams-By3oBC7r.mjs} +6 -6
- package/dist/{time-CfDKj6Bx.mjs → time-CN0jVVir.mjs} +1 -1
- package/dist/{time-T0YmeOhS.cjs → time-uSKpEhew.cjs} +1 -1
- package/dist/{titleGenerator-CoMxqKfP.cjs → titleGenerator-CLIXjn9b.cjs} +2 -2
- package/dist/{titleGenerator-ChImQ4q-.mjs → titleGenerator-CegRJ47n.mjs} +1 -1
- package/dist/{todo-CZZebKZg.cjs → todo-Bg1vurv9.cjs} +5 -5
- package/dist/{todo-SVtYxGON.mjs → todo-Bl3abqvy.mjs} +5 -5
- package/dist/{tools-3X2z3YDe.mjs → tools-BcLUrC57.mjs} +1 -1
- package/dist/{tools-IJ0TAcJs.cjs → tools-DuWKlc0k.cjs} +1 -1
- package/dist/{uninstall-CypD-kr1.mjs → uninstall-BlpZlM9U.mjs} +3 -3
- package/dist/{uninstall-CqqCWj7w.cjs → uninstall-DWnj2XVT.cjs} +3 -3
- package/package.json +7 -7
- package/dist/defaultPermissionMode-BnxJPVHT.mjs +0 -4
- package/dist/defaultPermissionMode-CxmTXUQR.cjs +0 -7
- package/dist/mirrorProtocol-BEGk2--0.cjs +0 -266
- package/dist/mirrorProtocol-h5WHpdhh.mjs +0 -248
- package/dist/selfCheck-DPi4lqme.mjs +0 -84
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var persistence = require('./persistence-B5oT6oQ9.cjs');
|
|
3
4
|
var node_fs = require('node:fs');
|
|
4
5
|
var path = require('node:path');
|
|
5
|
-
var configuration = require('./configuration-
|
|
6
|
-
var logger = require('./logger-
|
|
6
|
+
var configuration = require('./configuration-DeuGrnej.cjs');
|
|
7
|
+
var logger = require('./logger-Ockf1cjN.cjs');
|
|
7
8
|
|
|
8
9
|
const PROCESS_IDENTITY_FIELDS = [
|
|
9
10
|
"hostPid",
|
|
@@ -38,7 +39,9 @@ function mergeReconnectMetadata(server, local, now) {
|
|
|
38
39
|
lifecycleState: "running",
|
|
39
40
|
lifecycleStateSince: now,
|
|
40
41
|
archivedBy: void 0,
|
|
41
|
-
archiveReason: void 0
|
|
42
|
+
archiveReason: void 0,
|
|
43
|
+
// B-587: awake again — the hibernation stamp no longer describes us.
|
|
44
|
+
hibernation: void 0
|
|
42
45
|
};
|
|
43
46
|
}
|
|
44
47
|
function applyServerSnapshot(response, snapshot) {
|
|
@@ -54,6 +57,11 @@ function applyServerSnapshot(response, snapshot) {
|
|
|
54
57
|
function withoutServerSnapshot(response) {
|
|
55
58
|
return { ...response, metadataVersion: 0, agentStateVersion: 0 };
|
|
56
59
|
}
|
|
60
|
+
function applyHibernationReplay(response) {
|
|
61
|
+
const replaySeq = persistence.hibernationReplaySeq(response.metadata, response.seq);
|
|
62
|
+
if (replaySeq === null) return { response, replaying: false };
|
|
63
|
+
return { response: { ...response, seq: replaySeq }, replaying: true };
|
|
64
|
+
}
|
|
57
65
|
|
|
58
66
|
const runtime = {
|
|
59
67
|
signal: (pid, signal) => process.kill(pid, signal),
|
|
@@ -196,6 +204,7 @@ async function claimSessionOrExit(happySessionId, options) {
|
|
|
196
204
|
process.on("exit", () => releaseSessionLock(happySessionId));
|
|
197
205
|
}
|
|
198
206
|
|
|
207
|
+
exports.applyHibernationReplay = applyHibernationReplay;
|
|
199
208
|
exports.applyServerSnapshot = applyServerSnapshot;
|
|
200
209
|
exports.claimSessionOrExit = claimSessionOrExit;
|
|
201
210
|
exports.mergeReconnectMetadata = mergeReconnectMetadata;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { k as hibernationReplaySeq } from './persistence-B6M_W5iC.mjs';
|
|
1
2
|
import { existsSync, readFileSync, unlinkSync, mkdirSync, renameSync } from 'node:fs';
|
|
2
3
|
import { join } from 'node:path';
|
|
3
|
-
import { c as configuration, w as writePrivateFileSync } from './configuration-
|
|
4
|
-
import { l as logger } from './logger-
|
|
4
|
+
import { c as configuration, w as writePrivateFileSync } from './configuration-BZo1JWNV.mjs';
|
|
5
|
+
import { l as logger } from './logger-C6zzu57a.mjs';
|
|
5
6
|
|
|
6
7
|
const PROCESS_IDENTITY_FIELDS = [
|
|
7
8
|
"hostPid",
|
|
@@ -36,7 +37,9 @@ function mergeReconnectMetadata(server, local, now) {
|
|
|
36
37
|
lifecycleState: "running",
|
|
37
38
|
lifecycleStateSince: now,
|
|
38
39
|
archivedBy: void 0,
|
|
39
|
-
archiveReason: void 0
|
|
40
|
+
archiveReason: void 0,
|
|
41
|
+
// B-587: awake again — the hibernation stamp no longer describes us.
|
|
42
|
+
hibernation: void 0
|
|
40
43
|
};
|
|
41
44
|
}
|
|
42
45
|
function applyServerSnapshot(response, snapshot) {
|
|
@@ -52,6 +55,11 @@ function applyServerSnapshot(response, snapshot) {
|
|
|
52
55
|
function withoutServerSnapshot(response) {
|
|
53
56
|
return { ...response, metadataVersion: 0, agentStateVersion: 0 };
|
|
54
57
|
}
|
|
58
|
+
function applyHibernationReplay(response) {
|
|
59
|
+
const replaySeq = hibernationReplaySeq(response.metadata, response.seq);
|
|
60
|
+
if (replaySeq === null) return { response, replaying: false };
|
|
61
|
+
return { response: { ...response, seq: replaySeq }, replaying: true };
|
|
62
|
+
}
|
|
55
63
|
|
|
56
64
|
const runtime = {
|
|
57
65
|
signal: (pid, signal) => process.kill(pid, signal),
|
|
@@ -194,4 +202,4 @@ async function claimSessionOrExit(happySessionId, options) {
|
|
|
194
202
|
process.on("exit", () => releaseSessionLock(happySessionId));
|
|
195
203
|
}
|
|
196
204
|
|
|
197
|
-
export { applyServerSnapshot as a, claimSessionOrExit as c, mergeReconnectMetadata as m, processIdentityFields as p, readSessionLock as r, terminateProcess as t, withoutServerSnapshot as w };
|
|
205
|
+
export { applyServerSnapshot as a, applyHibernationReplay as b, claimSessionOrExit as c, mergeReconnectMetadata as m, processIdentityFields as p, readSessionLock as r, terminateProcess as t, withoutServerSnapshot as w };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mkdirSync, renameSync, existsSync, unlinkSync } from 'node:fs';
|
|
2
2
|
import { join } from 'node:path';
|
|
3
|
-
import { w as writePrivateFileSync, c as configuration } from './configuration-
|
|
3
|
+
import { w as writePrivateFileSync, c as configuration } from './configuration-BZo1JWNV.mjs';
|
|
4
4
|
|
|
5
5
|
const SESSION_MODE_DIR = "session-modes";
|
|
6
6
|
const ACP_PERMISSION_MODES = ["default", "acceptEdits", "plan", "bypassPermissions"];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var node_fs = require('node:fs');
|
|
4
4
|
var path = require('node:path');
|
|
5
|
-
var configuration = require('./configuration-
|
|
5
|
+
var configuration = require('./configuration-DeuGrnej.cjs');
|
|
6
6
|
|
|
7
7
|
const SESSION_MODE_DIR = "session-modes";
|
|
8
8
|
const ACP_PERMISSION_MODES = ["default", "acceptEdits", "plan", "bypassPermissions"];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var axios = require('axios');
|
|
4
|
-
var configuration = require('./configuration-
|
|
4
|
+
var configuration = require('./configuration-DeuGrnej.cjs');
|
|
5
5
|
var authRelay = require('./authRelay-BdYkC1Po.cjs');
|
|
6
|
-
var controlClient = require('./controlClient-
|
|
7
|
-
var persistence = require('./persistence-
|
|
6
|
+
var controlClient = require('./controlClient-IDE3se23.cjs');
|
|
7
|
+
var persistence = require('./persistence-B5oT6oQ9.cjs');
|
|
8
8
|
var node_crypto = require('node:crypto');
|
|
9
|
-
var time = require('./time-
|
|
9
|
+
var time = require('./time-uSKpEhew.cjs');
|
|
10
10
|
var socket_ioClient = require('socket.io-client');
|
|
11
11
|
var backgroundTaskActivity = require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
12
12
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
|
-
import { c as configuration } from './configuration-
|
|
2
|
+
import { c as configuration } from './configuration-BZo1JWNV.mjs';
|
|
3
3
|
import { e as encodeBase64, g as encrypt, d as decodeBase64, h as decrypt } from './authRelay-DSAvg1uv.mjs';
|
|
4
|
-
import { l as listDaemonSessions, s as stopDaemonSession } from './controlClient-
|
|
5
|
-
import { readCredentialsForConfiguredRelay, readPersistedSessions } from './persistence-
|
|
4
|
+
import { l as listDaemonSessions, s as stopDaemonSession } from './controlClient-CXD-Xdny.mjs';
|
|
5
|
+
import { c as readCredentialsForConfiguredRelay, b as readPersistedSessions } from './persistence-B6M_W5iC.mjs';
|
|
6
6
|
import { randomUUID } from 'node:crypto';
|
|
7
|
-
import { d as delay } from './time-
|
|
7
|
+
import { d as delay } from './time-CN0jVVir.mjs';
|
|
8
8
|
import { io } from 'socket.io-client';
|
|
9
9
|
import { b as backgroundTasksReport } from './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { I as InvalidateSync } from './sync-
|
|
1
|
+
import { I as InvalidateSync } from './sync-CHOB3Org.mjs';
|
|
2
2
|
import { R as RawJSONLinesSchema } from './types-CkqAACXx.mjs';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
4
|
import { statSync } from 'node:fs';
|
|
5
5
|
import { r as readTranscriptIncrement, i as isValidTranscriptHint } from './transcriptCursor-B7T_gkQ0.mjs';
|
|
6
|
-
import { l as logger } from './logger-
|
|
7
|
-
import { s as startFileWatcher } from './startFileWatcher-
|
|
6
|
+
import { l as logger } from './logger-C6zzu57a.mjs';
|
|
7
|
+
import { s as startFileWatcher } from './startFileWatcher-De7rN8QW.mjs';
|
|
8
8
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
9
9
|
|
|
10
10
|
class Future {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var sync = require('./sync-
|
|
3
|
+
var sync = require('./sync-BS9_zSQ2.cjs');
|
|
4
4
|
var types = require('./types-CRS-srZK.cjs');
|
|
5
5
|
var path$1 = require('node:path');
|
|
6
6
|
var node_fs = require('node:fs');
|
|
7
7
|
var transcriptCursor = require('./transcriptCursor-DcXGLeSc.cjs');
|
|
8
|
-
var logger = require('./logger-
|
|
9
|
-
var startFileWatcher = require('./startFileWatcher-
|
|
8
|
+
var logger = require('./logger-Ockf1cjN.cjs');
|
|
9
|
+
var startFileWatcher = require('./startFileWatcher-S_Af_QPR.cjs');
|
|
10
10
|
var path = require('./path-B7zW-WwE.cjs');
|
|
11
11
|
|
|
12
12
|
class Future {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var sessionOps = require('./sessionOps-
|
|
4
|
+
var sessionOps = require('./sessionOps-BAQ_80Rg.cjs');
|
|
5
5
|
var ids = require('./ids-B6ZC0HGt.cjs');
|
|
6
|
-
var peerTools = require('./peerTools-
|
|
7
|
-
var persistence = require('./persistence-
|
|
6
|
+
var peerTools = require('./peerTools-BEnBvEcU.cjs');
|
|
7
|
+
var persistence = require('./persistence-B5oT6oQ9.cjs');
|
|
8
8
|
var path = require('node:path');
|
|
9
|
-
var remoteSessionClient = require('./remoteSessionClient-
|
|
9
|
+
var remoteSessionClient = require('./remoteSessionClient-B2pOMZRw.cjs');
|
|
10
10
|
require('axios');
|
|
11
|
-
require('./configuration-
|
|
11
|
+
require('./configuration-DeuGrnej.cjs');
|
|
12
12
|
require('node:fs');
|
|
13
13
|
require('node:os');
|
|
14
|
-
require('./package-
|
|
14
|
+
require('./package-DfoyJe1O.cjs');
|
|
15
15
|
require('node:fs/promises');
|
|
16
16
|
require('./authRelay-BdYkC1Po.cjs');
|
|
17
17
|
require('node:crypto');
|
|
18
18
|
require('tweetnacl');
|
|
19
|
-
require('./controlClient-
|
|
20
|
-
require('./logger-
|
|
19
|
+
require('./controlClient-IDE3se23.cjs');
|
|
20
|
+
require('./logger-Ockf1cjN.cjs');
|
|
21
21
|
require('node:util');
|
|
22
|
-
require('./time-
|
|
22
|
+
require('./time-uSKpEhew.cjs');
|
|
23
23
|
require('socket.io-client');
|
|
24
24
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
25
25
|
require('zod');
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
|
-
import { D as DEFAULT_RECENT_LIMIT, M as MAX_READ_LIMIT, l as listAccountSessions, a as listSessions, w as waitForTurnEnd, T as TurnWaitTimeoutError, r as readSessionTranscript, b as stopSession, c as resolvePermissionRequest, d as archiveSession } from './sessionOps-
|
|
2
|
+
import { D as DEFAULT_RECENT_LIMIT, M as MAX_READ_LIMIT, l as listAccountSessions, a as listSessions, w as waitForTurnEnd, T as TurnWaitTimeoutError, r as readSessionTranscript, b as stopSession, c as resolvePermissionRequest, d as archiveSession } from './sessionOps-CBXsQGV5.mjs';
|
|
3
3
|
import { i as isValidSessionId } from './ids-DU6sLx4C.mjs';
|
|
4
|
-
import { c as cliPeerSelf, l as listPeerSessions, s as sendPeerMessage, P as PEER_SCOPES } from './peerTools-
|
|
5
|
-
import { readPersistedSessions } from './persistence-
|
|
4
|
+
import { c as cliPeerSelf, l as listPeerSessions, s as sendPeerMessage, P as PEER_SCOPES } from './peerTools-uDR6MG0-.mjs';
|
|
5
|
+
import { b as readPersistedSessions } from './persistence-B6M_W5iC.mjs';
|
|
6
6
|
import { resolve } from 'node:path';
|
|
7
|
-
import { f as fillForeignAccountRows, l as listRemoteSessions, a as listRemotePeers, w as waitForRemoteTurnEnd, r as readRemoteTranscript } from './remoteSessionClient-
|
|
7
|
+
import { f as fillForeignAccountRows, l as listRemoteSessions, a as listRemotePeers, w as waitForRemoteTurnEnd, r as readRemoteTranscript } from './remoteSessionClient-Dx0M2MXV.mjs';
|
|
8
8
|
import 'axios';
|
|
9
|
-
import './configuration-
|
|
9
|
+
import './configuration-BZo1JWNV.mjs';
|
|
10
10
|
import 'node:fs';
|
|
11
11
|
import 'node:os';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-5xAdq5fu.mjs';
|
|
13
13
|
import 'node:fs/promises';
|
|
14
14
|
import './authRelay-DSAvg1uv.mjs';
|
|
15
15
|
import 'node:crypto';
|
|
16
16
|
import 'tweetnacl';
|
|
17
|
-
import './controlClient-
|
|
18
|
-
import './logger-
|
|
17
|
+
import './controlClient-CXD-Xdny.mjs';
|
|
18
|
+
import './logger-C6zzu57a.mjs';
|
|
19
19
|
import 'node:util';
|
|
20
|
-
import './time-
|
|
20
|
+
import './time-CN0jVVir.mjs';
|
|
21
21
|
import 'socket.io-client';
|
|
22
22
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
23
23
|
import 'zod';
|
package/dist/{setupOfflineReconnection-Byy8aeKT.mjs → setupOfflineReconnection-Bo9xb30l.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as configuration } from './configuration-
|
|
2
|
-
import { s as startOfflineReconnection } from './api-
|
|
1
|
+
import { c as configuration } from './configuration-BZo1JWNV.mjs';
|
|
2
|
+
import { s as startOfflineReconnection } from './api-hXLwtgMi.mjs';
|
|
3
3
|
|
|
4
4
|
function createOfflineSessionStub(sessionTag) {
|
|
5
5
|
return {
|
package/dist/{setupOfflineReconnection-DFmQ8s6I.cjs → setupOfflineReconnection-DI8BQf_g.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configuration = require('./configuration-
|
|
4
|
-
var api = require('./api-
|
|
3
|
+
var configuration = require('./configuration-DeuGrnej.cjs');
|
|
4
|
+
var api = require('./api-COSJ3Yb7.cjs');
|
|
5
5
|
|
|
6
6
|
function createOfflineSessionStub(sessionTag) {
|
|
7
7
|
return {
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import { readFileSync, statSync } from 'node:fs';
|
|
3
3
|
import { resolve } from 'node:path';
|
|
4
|
-
import {
|
|
5
|
-
import { readPersistedSessions } from './persistence-
|
|
4
|
+
import { a as checkIfDaemonRunningAndCleanupStaleState, f as spawnDaemonSession, s as stopDaemonSession } from './controlClient-CXD-Xdny.mjs';
|
|
5
|
+
import { b as readPersistedSessions } from './persistence-B6M_W5iC.mjs';
|
|
6
6
|
import { r as resolveSpawnPermissionMode, a as resolveFirstMessageMeta, s as sanitizeSpawnPermissionMode, A as ALLOWED_SPAWN_PERMISSION_MODES, S as SPAWN_AGENTS } from './spawnAgents-HDaE3C0-.mjs';
|
|
7
7
|
import { g as getProjectPath } from './path-D2wdaNSk.mjs';
|
|
8
|
-
import { f as forkSession, F as ForkSourceMissingError } from './claudeSessionFork-
|
|
9
|
-
import { C as CodexAppServerClient } from './codexAppServerClient-
|
|
8
|
+
import { f as forkSession, F as ForkSourceMissingError } from './claudeSessionFork-BQPBKEHk.mjs';
|
|
9
|
+
import { C as CodexAppServerClient } from './codexAppServerClient-sWuwtddZ.mjs';
|
|
10
10
|
import { f as forkCodexThread } from './codexThreadFork-R76RU5H0.mjs';
|
|
11
|
-
import { e as sendUserMessage, f as readSessionMetadata, g as waitForSessionKey, s as sessionWebUrl } from './sessionOps-
|
|
12
|
-
import { i as isValidSpawnOrigin } from './createSessionMetadata-
|
|
13
|
-
import { l as logger } from './logger-
|
|
11
|
+
import { e as sendUserMessage, f as readSessionMetadata, g as waitForSessionKey, s as sessionWebUrl } from './sessionOps-CBXsQGV5.mjs';
|
|
12
|
+
import { i as isValidSpawnOrigin } from './createSessionMetadata-DoLFya-Q.mjs';
|
|
13
|
+
import { l as logger } from './logger-C6zzu57a.mjs';
|
|
14
14
|
import { w as waitForForkBackfill } from './forkBackfill-DYIjlN1Z.mjs';
|
|
15
|
-
import './configuration-
|
|
15
|
+
import './configuration-BZo1JWNV.mjs';
|
|
16
16
|
import 'node:os';
|
|
17
|
-
import './package-
|
|
17
|
+
import './package-5xAdq5fu.mjs';
|
|
18
18
|
import 'node:fs/promises';
|
|
19
19
|
import 'zod';
|
|
20
20
|
import './authRelay-DSAvg1uv.mjs';
|
|
21
21
|
import 'node:crypto';
|
|
22
22
|
import 'tweetnacl';
|
|
23
|
-
import 'node:util';
|
|
24
23
|
import './index-B0HEEYGh.mjs';
|
|
25
24
|
import '@paralleldrive/cuid2';
|
|
26
25
|
import 'node:readline';
|
|
27
26
|
import 'node:child_process';
|
|
28
27
|
import 'cross-spawn';
|
|
29
28
|
import './contentLogMetadata-BlWI0egu.mjs';
|
|
30
|
-
import './manager-
|
|
29
|
+
import './manager-BEsI4qt3.mjs';
|
|
31
30
|
import '@anthropic-ai/sandbox-runtime';
|
|
32
|
-
import './rateLimitWindows-
|
|
31
|
+
import './rateLimitWindows-CJ1xDAxa.mjs';
|
|
33
32
|
import 'axios';
|
|
34
|
-
import './time-
|
|
33
|
+
import './time-CN0jVVir.mjs';
|
|
35
34
|
import 'socket.io-client';
|
|
36
35
|
import './backgroundTaskActivity-8PdPxrvy.mjs';
|
|
37
36
|
import './projectPath-BTBIMB57.mjs';
|
|
38
37
|
import 'path';
|
|
39
38
|
import 'url';
|
|
39
|
+
import 'node:util';
|
|
40
40
|
|
|
41
41
|
function nonEmpty(value) {
|
|
42
42
|
return typeof value === "string" && value.trim().length > 0;
|
|
@@ -3,42 +3,42 @@
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
4
|
var node_fs = require('node:fs');
|
|
5
5
|
var path$1 = require('node:path');
|
|
6
|
-
var controlClient = require('./controlClient-
|
|
7
|
-
var persistence = require('./persistence-
|
|
6
|
+
var controlClient = require('./controlClient-IDE3se23.cjs');
|
|
7
|
+
var persistence = require('./persistence-B5oT6oQ9.cjs');
|
|
8
8
|
var spawnAgents = require('./spawnAgents-vglexX9N.cjs');
|
|
9
9
|
var path = require('./path-B7zW-WwE.cjs');
|
|
10
|
-
var claudeSessionFork = require('./claudeSessionFork-
|
|
11
|
-
var codexAppServerClient = require('./codexAppServerClient-
|
|
10
|
+
var claudeSessionFork = require('./claudeSessionFork-Cq9FBfjD.cjs');
|
|
11
|
+
var codexAppServerClient = require('./codexAppServerClient-pllsN90-.cjs');
|
|
12
12
|
var codexThreadFork = require('./codexThreadFork-DNekT4nQ.cjs');
|
|
13
|
-
var sessionOps = require('./sessionOps-
|
|
14
|
-
var createSessionMetadata = require('./createSessionMetadata-
|
|
15
|
-
var logger = require('./logger-
|
|
13
|
+
var sessionOps = require('./sessionOps-BAQ_80Rg.cjs');
|
|
14
|
+
var createSessionMetadata = require('./createSessionMetadata-BCHFLSLk.cjs');
|
|
15
|
+
var logger = require('./logger-Ockf1cjN.cjs');
|
|
16
16
|
var forkBackfill = require('./forkBackfill-8eLDeS73.cjs');
|
|
17
|
-
require('./configuration-
|
|
17
|
+
require('./configuration-DeuGrnej.cjs');
|
|
18
18
|
require('node:os');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-DfoyJe1O.cjs');
|
|
20
20
|
require('node:fs/promises');
|
|
21
21
|
require('zod');
|
|
22
22
|
require('./authRelay-BdYkC1Po.cjs');
|
|
23
23
|
require('node:crypto');
|
|
24
24
|
require('tweetnacl');
|
|
25
|
-
require('node:util');
|
|
26
25
|
require('./index-C9hI8a10.cjs');
|
|
27
26
|
require('@paralleldrive/cuid2');
|
|
28
27
|
require('node:readline');
|
|
29
28
|
require('node:child_process');
|
|
30
29
|
require('cross-spawn');
|
|
31
30
|
require('./contentLogMetadata-ZSFk_NjQ.cjs');
|
|
32
|
-
require('./manager-
|
|
31
|
+
require('./manager-HrEj442o.cjs');
|
|
33
32
|
require('@anthropic-ai/sandbox-runtime');
|
|
34
|
-
require('./rateLimitWindows-
|
|
33
|
+
require('./rateLimitWindows-C2-Ky86q.cjs');
|
|
35
34
|
require('axios');
|
|
36
|
-
require('./time-
|
|
35
|
+
require('./time-uSKpEhew.cjs');
|
|
37
36
|
require('socket.io-client');
|
|
38
37
|
require('./backgroundTaskActivity-CBvUdj39.cjs');
|
|
39
38
|
require('./projectPath-ChLhdOyt.cjs');
|
|
40
39
|
require('path');
|
|
41
40
|
require('url');
|
|
41
|
+
require('node:util');
|
|
42
42
|
|
|
43
43
|
function nonEmpty(value) {
|
|
44
44
|
return typeof value === "string" && value.trim().length > 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { spawn } from 'cross-spawn';
|
|
2
2
|
import { join } from 'node:path';
|
|
3
3
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
4
|
-
import { l as logger } from './logger-
|
|
4
|
+
import { l as logger } from './logger-C6zzu57a.mjs';
|
|
5
5
|
import { existsSync } from 'node:fs';
|
|
6
6
|
|
|
7
7
|
let cachedRuntime = null;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var spawn = require('cross-spawn');
|
|
4
4
|
var path = require('node:path');
|
|
5
5
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
6
|
-
var logger = require('./logger-
|
|
6
|
+
var logger = require('./logger-Ockf1cjN.cjs');
|
|
7
7
|
var node_fs = require('node:fs');
|
|
8
8
|
|
|
9
9
|
let cachedRuntime = null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var logger = require('./logger-
|
|
4
|
-
var controlClient = require('./controlClient-
|
|
5
|
-
var rateLimitWindows = require('./rateLimitWindows-
|
|
3
|
+
var logger = require('./logger-Ockf1cjN.cjs');
|
|
4
|
+
var controlClient = require('./controlClient-IDE3se23.cjs');
|
|
5
|
+
var rateLimitWindows = require('./rateLimitWindows-C2-Ky86q.cjs');
|
|
6
6
|
|
|
7
7
|
function createRateLimitReporter(send, now = Date.now) {
|
|
8
8
|
const last = /* @__PURE__ */ new Map();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as logger } from './logger-
|
|
2
|
-
import { r as reportRateLimitsToDaemon } from './controlClient-
|
|
3
|
-
import { f as fromCodexRateLimits, a as fromClaudeRateLimitInfo, r as rateLimitReportSignature, R as RATE_LIMIT_OBSERVED_REFRESH_MS } from './rateLimitWindows-
|
|
1
|
+
import { l as logger } from './logger-C6zzu57a.mjs';
|
|
2
|
+
import { r as reportRateLimitsToDaemon } from './controlClient-CXD-Xdny.mjs';
|
|
3
|
+
import { f as fromCodexRateLimits, a as fromClaudeRateLimitInfo, r as rateLimitReportSignature, R as RATE_LIMIT_OBSERVED_REFRESH_MS } from './rateLimitWindows-CJ1xDAxa.mjs';
|
|
4
4
|
|
|
5
5
|
function createRateLimitReporter(send, now = Date.now) {
|
|
6
6
|
const last = /* @__PURE__ */ new Map();
|
|
@@ -4,17 +4,17 @@ var os = require('node:os');
|
|
|
4
4
|
var promises = require('node:fs/promises');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
|
-
var client = require('./client-
|
|
8
|
-
var persistence = require('./persistence-
|
|
7
|
+
var client = require('./client-DZpkmS5l.cjs');
|
|
8
|
+
var persistence = require('./persistence-B5oT6oQ9.cjs');
|
|
9
9
|
var install = require('./install-Cf6AFSWC.cjs');
|
|
10
|
-
require('./configuration-
|
|
10
|
+
require('./configuration-DeuGrnej.cjs');
|
|
11
11
|
require('node:fs');
|
|
12
12
|
require('node:path');
|
|
13
|
-
require('./package-
|
|
14
|
-
require('./context-
|
|
13
|
+
require('./package-DfoyJe1O.cjs');
|
|
14
|
+
require('./context-BhvZtm3j.cjs');
|
|
15
15
|
require('./authRelay-BdYkC1Po.cjs');
|
|
16
16
|
require('tweetnacl');
|
|
17
|
-
require('./logger-
|
|
17
|
+
require('./logger-Ockf1cjN.cjs');
|
|
18
18
|
require('chalk');
|
|
19
19
|
require('node:util');
|
|
20
20
|
require('./resources-JDPugcDq.cjs');
|
|
@@ -2,17 +2,17 @@ import { homedir } from 'node:os';
|
|
|
2
2
|
import { readFile } from 'node:fs/promises';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
|
-
import { t as teamRequest, c as createTeamsClient } from './client-
|
|
6
|
-
import { readCredentialsForConfiguredRelay } from './persistence-
|
|
5
|
+
import { t as teamRequest, c as createTeamsClient } from './client-Bg6-mQKO.mjs';
|
|
6
|
+
import { c as readCredentialsForConfiguredRelay } from './persistence-B6M_W5iC.mjs';
|
|
7
7
|
import { a as installTeamSkill, i as installAutomationSkill } from './install-BdvKiOQw.mjs';
|
|
8
|
-
import './configuration-
|
|
8
|
+
import './configuration-BZo1JWNV.mjs';
|
|
9
9
|
import 'node:fs';
|
|
10
10
|
import 'node:path';
|
|
11
|
-
import './package-
|
|
12
|
-
import './context-
|
|
11
|
+
import './package-5xAdq5fu.mjs';
|
|
12
|
+
import './context-DZIIcfld.mjs';
|
|
13
13
|
import './authRelay-DSAvg1uv.mjs';
|
|
14
14
|
import 'tweetnacl';
|
|
15
|
-
import './logger-
|
|
15
|
+
import './logger-C6zzu57a.mjs';
|
|
16
16
|
import 'chalk';
|
|
17
17
|
import 'node:util';
|
|
18
18
|
import './resources-BdFBQi8r.mjs';
|
|
@@ -5,7 +5,7 @@ var module$1 = require('node:module');
|
|
|
5
5
|
var oneShotPrompts = require('./oneShotPrompts-CL0dip9C.cjs');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
var path = require('node:path');
|
|
8
|
-
var logger = require('./logger-
|
|
8
|
+
var logger = require('./logger-Ockf1cjN.cjs');
|
|
9
9
|
var projectPath = require('./projectPath-ChLhdOyt.cjs');
|
|
10
10
|
|
|
11
11
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
@@ -14,7 +14,7 @@ const MAX_TITLE_CHARS = 60;
|
|
|
14
14
|
const GENERATION_TIMEOUT_MS = 3e4;
|
|
15
15
|
function resolveClaudeBinary() {
|
|
16
16
|
try {
|
|
17
|
-
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('titleGenerator-
|
|
17
|
+
const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('titleGenerator-CLIXjn9b.cjs', document.baseURI).href)));
|
|
18
18
|
const utilsPath = path.resolve(path.join(projectPath.projectPath(), "scripts", "claude_version_utils.cjs"));
|
|
19
19
|
const { getClaudeCliPath } = require$1(utilsPath);
|
|
20
20
|
const path$1 = getClaudeCliPath();
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { T as TITLE_PROMPT_PREFIX } from './oneShotPrompts-DT4p6RNd.mjs';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
import { resolve, join } from 'node:path';
|
|
6
|
-
import { l as logger } from './logger-
|
|
6
|
+
import { l as logger } from './logger-C6zzu57a.mjs';
|
|
7
7
|
import { p as projectPath } from './projectPath-BTBIMB57.mjs';
|
|
8
8
|
|
|
9
9
|
const MAX_PROMPT_SAMPLE_CHARS = 500;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configuration = require('./configuration-
|
|
3
|
+
var configuration = require('./configuration-DeuGrnej.cjs');
|
|
4
4
|
var index = require('./index-C9hI8a10.cjs');
|
|
5
|
-
var persistence = require('./persistence-
|
|
6
|
-
var context = require('./context-
|
|
5
|
+
var persistence = require('./persistence-B5oT6oQ9.cjs');
|
|
6
|
+
var context = require('./context-BhvZtm3j.cjs');
|
|
7
7
|
require('node:fs');
|
|
8
8
|
require('node:os');
|
|
9
9
|
require('node:path');
|
|
10
|
-
require('./package-
|
|
10
|
+
require('./package-DfoyJe1O.cjs');
|
|
11
11
|
require('node:fs/promises');
|
|
12
12
|
require('zod');
|
|
13
13
|
require('@paralleldrive/cuid2');
|
|
14
14
|
require('./authRelay-BdYkC1Po.cjs');
|
|
15
15
|
require('node:crypto');
|
|
16
16
|
require('tweetnacl');
|
|
17
|
-
require('./logger-
|
|
17
|
+
require('./logger-Ockf1cjN.cjs');
|
|
18
18
|
require('chalk');
|
|
19
19
|
require('node:util');
|
|
20
20
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as configuration } from './configuration-
|
|
1
|
+
import { c as configuration } from './configuration-BZo1JWNV.mjs';
|
|
2
2
|
import { d as createBuiltinTodoClient, B as BUILTIN_TODO_SKILL } from './index-B0HEEYGh.mjs';
|
|
3
|
-
import { readCredentialsForConfiguredRelay } from './persistence-
|
|
4
|
-
import { r as readTeamScope, t as teamScopePath } from './context-
|
|
3
|
+
import { c as readCredentialsForConfiguredRelay } from './persistence-B6M_W5iC.mjs';
|
|
4
|
+
import { r as readTeamScope, t as teamScopePath } from './context-DZIIcfld.mjs';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:os';
|
|
7
7
|
import 'node:path';
|
|
8
|
-
import './package-
|
|
8
|
+
import './package-5xAdq5fu.mjs';
|
|
9
9
|
import 'node:fs/promises';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import '@paralleldrive/cuid2';
|
|
12
12
|
import './authRelay-DSAvg1uv.mjs';
|
|
13
13
|
import 'node:crypto';
|
|
14
14
|
import 'tweetnacl';
|
|
15
|
-
import './logger-
|
|
15
|
+
import './logger-C6zzu57a.mjs';
|
|
16
16
|
import 'chalk';
|
|
17
17
|
import 'node:util';
|
|
18
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { c as createTeamsClient } from './client-
|
|
2
|
+
import { c as createTeamsClient } from './client-Bg6-mQKO.mjs';
|
|
3
3
|
|
|
4
4
|
const TEAM_TOOL_NAMES = ["team_create", "team_join", "team_inspect", "team_delegate", "team_message", "team_submit", "team_accept", "team_return", "team_cancel", "team_handoff", "team_schedule_create", "team_schedule_pause", "team_schedule_resume", "team_schedule_cancel"];
|
|
5
5
|
const id = z.string().min(1).max(128);
|