@zonease/happy 0.6.52 → 0.6.53
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/{api-DCt5MFgg.cjs → api-Cc0B_acF.cjs} +4 -4
- package/dist/{api-YBuVWlaq.mjs → api-Cshd3t_N.mjs} +3 -3
- package/dist/{auth-Blnptp27.cjs → auth-ByKuKCPK.cjs} +4 -4
- package/dist/{auth-CjxaECy1.mjs → auth-CQdvTQvt.mjs} +4 -4
- package/dist/{auth-Cz8NAkf1.mjs → auth-D0cn0HOQ.mjs} +2 -2
- package/dist/{auth-BbhNRCN-.cjs → auth-fc57vq65.cjs} +2 -2
- package/dist/{browser-B_jtAH68.mjs → browser-Cpm2oO8V.mjs} +1 -1
- package/dist/{browser-DUPz5Vfm.cjs → browser-bXmpUk7b.cjs} +1 -1
- package/dist/{claudeLocal-B8J5gzY-.mjs → claudeLocal-CJH4TBvW.mjs} +1 -1
- package/dist/{claudeLocal-D3vWTAHx.cjs → claudeLocal-CYQs0-SM.cjs} +1 -1
- package/dist/{config-ZtdkTaE-.cjs → config-CSk-_bRV.cjs} +1 -1
- package/dist/{config-D9QEt1Wm.mjs → config-ia19xjhI.mjs} +1 -1
- package/dist/{connect-ANzMsqjW.mjs → connect-C9W1IJN7.mjs} +5 -5
- package/dist/{connect-vG15hWjP.cjs → connect-CJl-u6bN.cjs} +5 -5
- package/dist/{controlClient-CuqOwOyn.cjs → controlClient-CwOREsGl.cjs} +1 -1
- package/dist/{controlClient-DVWHSQ9-.mjs → controlClient-uiC_pLjX.mjs} +1 -1
- package/dist/{cursorApprovalHook-Do7i_Hie.mjs → cursorApprovalHook-BMarfPkj.mjs} +2 -2
- package/dist/{cursorApprovalHook-B9kxmThz.cjs → cursorApprovalHook-r6kfhYaf.cjs} +2 -2
- package/dist/{cursorApprovalServer-DwQityDL.cjs → cursorApprovalServer-7vMPkjL8.cjs} +1 -1
- package/dist/{cursorApprovalServer-Da109rLV.mjs → cursorApprovalServer-DP8d2oFc.mjs} +1 -1
- package/dist/{deviceKeys-DDkT_ZeH.mjs → deviceKeys-CZiUUwhV.mjs} +2 -2
- package/dist/{deviceKeys-C9L5B4WJ.cjs → deviceKeys-bGuNns8H.cjs} +2 -2
- package/dist/{doctor-K2OPqZbS.cjs → doctor-Dt8So-nA.cjs} +2 -2
- package/dist/{doctor-C5MIiVQa.mjs → doctor-n6OUpZWr.mjs} +2 -2
- package/dist/{downloadImage-C_vAHjEu.mjs → downloadImage-3Ba8rJhE.mjs} +1 -1
- package/dist/{downloadImage-EOz0lIUN.cjs → downloadImage-CfF_4otw.cjs} +1 -1
- package/dist/{enroll-DXfxl3ZU.mjs → enroll-B8dxfI-8.mjs} +3 -3
- package/dist/{enroll-1siujrHh.cjs → enroll-DCMjscqd.cjs} +3 -3
- package/dist/{evidence-Bol_Jr9t.cjs → evidence-Cyn3mTxc.cjs} +1 -1
- package/dist/{evidence-8pV8ui5K.mjs → evidence-JfICm6nN.mjs} +1 -1
- package/dist/{formatImageMessage-C2dYFnUB.mjs → formatImageMessage-CwtHkaZR.mjs} +1 -1
- package/dist/{formatImageMessage-Clavdkwu.cjs → formatImageMessage-DQLX62Rr.cjs} +1 -1
- package/dist/{index-Df60Mth_.cjs → index-BKkLoBPO.cjs} +68 -0
- package/dist/{index-BWTQdvpp.mjs → index-CntlJahQ.mjs} +68 -0
- package/dist/index.cjs +46 -46
- package/dist/index.mjs +46 -46
- package/dist/{install-q17Q3P1m.cjs → install-BHHfvWKZ.cjs} +1 -1
- package/dist/{install-V-OsSOcT.mjs → install-C19CN7E5.mjs} +1 -1
- package/dist/{install-BVE3NO11.cjs → install-WFj5Y3ni.cjs} +2 -2
- package/dist/{install-D_Ky4WDO.mjs → install-e6ywAFRw.mjs} +2 -2
- package/dist/lib.cjs +4 -4
- package/dist/lib.d.cts +14 -14
- package/dist/lib.d.mts +14 -14
- package/dist/lib.mjs +4 -4
- package/dist/{loadableToolOutput-uLHjIQ_B.mjs → loadableToolOutput-CAtyvHvo.mjs} +2 -2
- package/dist/{loadableToolOutput-BarZ4P9v.cjs → loadableToolOutput-uVSyhihS.cjs} +2 -2
- package/dist/{persistence-CmQo2P6s.cjs → persistence-BHyjXxI6.cjs} +1 -1
- package/dist/{persistence-BQXHMgiQ.mjs → persistence-ZmExp9jf.mjs} +1 -1
- package/dist/{push-CfH_dsPq.cjs → push-DroYLfe7.cjs} +6 -6
- package/dist/{push-BUpgtdEM.mjs → push-_Jg9JpeX.mjs} +6 -6
- package/dist/{registerKillSessionHandler-Vvpky8KL.cjs → registerKillSessionHandler-9QoCop9_.cjs} +4 -4
- package/dist/{registerKillSessionHandler-B9hsdw3N.mjs → registerKillSessionHandler-CiGR-rdt.mjs} +4 -4
- package/dist/{run-DT4PDBUE.cjs → run-BxPigHQV.cjs} +8 -8
- package/dist/{run-BoXexiGC.mjs → run-CuVV69cC.mjs} +8 -8
- package/dist/{runClaude-BD7TR_hb.cjs → runClaude-BmHQBrLb.cjs} +17 -17
- package/dist/{runClaude-DRL4WC3t.mjs → runClaude-CudOYd7o.mjs} +16 -16
- package/dist/{runCodex-BiT9TOIr.mjs → runCodex-COZCU5R1.mjs} +16 -16
- package/dist/{runCodex-RSasB4C6.cjs → runCodex-CQpeFv6R.cjs} +16 -16
- package/dist/{runCursor-CFFE4K6O.mjs → runCursor-BAOLlv5_.mjs} +15 -15
- package/dist/{runCursor-B0aOxMqe.cjs → runCursor-uZ8lJIBx.cjs} +15 -15
- package/dist/{runGemini-CQNB_bmS.mjs → runGemini-CyjYKYMu.mjs} +18 -18
- package/dist/{runGemini-BLovoPCr.cjs → runGemini-DjkHuD5N.cjs} +18 -18
- package/dist/{runOneShot-CHMtycDQ.cjs → runOneShot-BE9LrAgr.cjs} +3 -3
- package/dist/{runOneShot-DSwhohVg.mjs → runOneShot-C7jAU131.mjs} +3 -3
- package/dist/{serve-BxVzatLr.mjs → serve-BfOb1Rae.mjs} +6 -6
- package/dist/{serve-DmsF6lWr.cjs → serve-ZIh19x_C.cjs} +6 -6
- package/dist/{session-C-Vk7BNl.cjs → session-BUhMn58M.cjs} +5 -5
- package/dist/{session-0oQLstHk.mjs → session-CxbWmu_2.mjs} +5 -5
- package/dist/{sessionKeyCache-CwFe-TjP.cjs → sessionKeyCache-CrZPO0tl.cjs} +1 -1
- package/dist/{sessionKeyCache-DlFlTzuJ.mjs → sessionKeyCache-CvUuUFE8.mjs} +1 -1
- package/dist/{sessionList-CSJ1ytlc.mjs → sessionList-CmPUpslj.mjs} +2 -2
- package/dist/{sessionList-DPHeeDYF.cjs → sessionList-PkPcblHp.cjs} +2 -2
- package/dist/{sessionSummary-DbtjGiPq.cjs → sessionSummary-Cjt56Ps5.cjs} +3 -3
- package/dist/{sessionSummary-DoJjarsx.mjs → sessionSummary-bGFBsuZ8.mjs} +3 -3
- package/dist/{setupOfflineReconnection-D3-6k_xq.mjs → setupOfflineReconnection-CVc5kuB7.mjs} +3 -3
- package/dist/{setupOfflineReconnection-DgPM1B8o.cjs → setupOfflineReconnection-CibSx4LW.cjs} +3 -3
- package/dist/{spawnHappyCLI-BOV-sMQ9.cjs → spawnHappyCLI-CcCWM9iG.cjs} +1 -1
- package/dist/{spawnHappyCLI-Bxiqsj9r.mjs → spawnHappyCLI-FAhOv7dt.mjs} +1 -1
- package/dist/{ssh-D6gKLa0D.cjs → ssh-C7_M1XT0.cjs} +5 -5
- package/dist/{ssh-BPksL4nE.mjs → ssh-DfDeQPwZ.mjs} +5 -5
- package/dist/{task-DifpN6sy.mjs → task-CEHSguS3.mjs} +6 -6
- package/dist/{task-DpanGYTu.cjs → task-t2L81TWT.cjs} +6 -6
- package/dist/{uninstall-CYp8IC1M.mjs → uninstall-C6aHLmZZ.mjs} +2 -2
- package/dist/{uninstall-CarK3_be.cjs → uninstall-DjsB9wiO.cjs} +2 -2
- package/dist/{update-Be0aHaIU.mjs → update-BJk2Qfb7.mjs} +3 -3
- package/dist/{update-fMTt96l3.cjs → update-DJ7dDCl0.cjs} +3 -3
- package/package.json +1 -1
|
@@ -186,10 +186,14 @@ const MODEL_MODES = [
|
|
|
186
186
|
"claude-fable-5-1[1m]",
|
|
187
187
|
"claude-fable-5",
|
|
188
188
|
"claude-fable-5[1m]",
|
|
189
|
+
"claude-opus-5-5",
|
|
190
|
+
"claude-opus-5-5[1m]",
|
|
189
191
|
"claude-opus-5",
|
|
190
192
|
"claude-opus-5[1m]",
|
|
191
193
|
"claude-opus-4-8",
|
|
192
194
|
"claude-opus-4-8[1m]",
|
|
195
|
+
"claude-sonnet-5",
|
|
196
|
+
"claude-sonnet-5[1m]",
|
|
193
197
|
"claude-opus-4-6",
|
|
194
198
|
"claude-opus-4-6[1m]",
|
|
195
199
|
"claude-sonnet-4-6",
|
|
@@ -215,6 +219,16 @@ const MODEL_MODES = [
|
|
|
215
219
|
"claude-fable-5[1m]-high",
|
|
216
220
|
"claude-fable-5[1m]-xhigh",
|
|
217
221
|
"claude-fable-5[1m]-max",
|
|
222
|
+
"claude-opus-5-5-low",
|
|
223
|
+
"claude-opus-5-5-medium",
|
|
224
|
+
"claude-opus-5-5-high",
|
|
225
|
+
"claude-opus-5-5-xhigh",
|
|
226
|
+
"claude-opus-5-5-max",
|
|
227
|
+
"claude-opus-5-5[1m]-low",
|
|
228
|
+
"claude-opus-5-5[1m]-medium",
|
|
229
|
+
"claude-opus-5-5[1m]-high",
|
|
230
|
+
"claude-opus-5-5[1m]-xhigh",
|
|
231
|
+
"claude-opus-5-5[1m]-max",
|
|
218
232
|
"claude-opus-5-low",
|
|
219
233
|
"claude-opus-5-medium",
|
|
220
234
|
"claude-opus-5-high",
|
|
@@ -243,6 +257,16 @@ const MODEL_MODES = [
|
|
|
243
257
|
"claude-opus-4-6[1m]-medium",
|
|
244
258
|
"claude-opus-4-6[1m]-high",
|
|
245
259
|
"claude-opus-4-6[1m]-max",
|
|
260
|
+
"claude-sonnet-5-low",
|
|
261
|
+
"claude-sonnet-5-medium",
|
|
262
|
+
"claude-sonnet-5-high",
|
|
263
|
+
"claude-sonnet-5-xhigh",
|
|
264
|
+
"claude-sonnet-5-max",
|
|
265
|
+
"claude-sonnet-5[1m]-low",
|
|
266
|
+
"claude-sonnet-5[1m]-medium",
|
|
267
|
+
"claude-sonnet-5[1m]-high",
|
|
268
|
+
"claude-sonnet-5[1m]-xhigh",
|
|
269
|
+
"claude-sonnet-5[1m]-max",
|
|
246
270
|
"claude-sonnet-4-6-low",
|
|
247
271
|
"claude-sonnet-4-6-medium",
|
|
248
272
|
"claude-sonnet-4-6-high",
|
|
@@ -317,10 +341,14 @@ const CLAUDE_MODEL_MODES = [
|
|
|
317
341
|
"claude-fable-5-1[1m]",
|
|
318
342
|
"claude-fable-5",
|
|
319
343
|
"claude-fable-5[1m]",
|
|
344
|
+
"claude-opus-5-5",
|
|
345
|
+
"claude-opus-5-5[1m]",
|
|
320
346
|
"claude-opus-5",
|
|
321
347
|
"claude-opus-5[1m]",
|
|
322
348
|
"claude-opus-4-8",
|
|
323
349
|
"claude-opus-4-8[1m]",
|
|
350
|
+
"claude-sonnet-5",
|
|
351
|
+
"claude-sonnet-5[1m]",
|
|
324
352
|
"claude-opus-4-6",
|
|
325
353
|
"claude-opus-4-6[1m]",
|
|
326
354
|
"claude-sonnet-4-6",
|
|
@@ -346,6 +374,16 @@ const CLAUDE_MODEL_MODES = [
|
|
|
346
374
|
"claude-fable-5[1m]-high",
|
|
347
375
|
"claude-fable-5[1m]-xhigh",
|
|
348
376
|
"claude-fable-5[1m]-max",
|
|
377
|
+
"claude-opus-5-5-low",
|
|
378
|
+
"claude-opus-5-5-medium",
|
|
379
|
+
"claude-opus-5-5-high",
|
|
380
|
+
"claude-opus-5-5-xhigh",
|
|
381
|
+
"claude-opus-5-5-max",
|
|
382
|
+
"claude-opus-5-5[1m]-low",
|
|
383
|
+
"claude-opus-5-5[1m]-medium",
|
|
384
|
+
"claude-opus-5-5[1m]-high",
|
|
385
|
+
"claude-opus-5-5[1m]-xhigh",
|
|
386
|
+
"claude-opus-5-5[1m]-max",
|
|
349
387
|
"claude-opus-5-low",
|
|
350
388
|
"claude-opus-5-medium",
|
|
351
389
|
"claude-opus-5-high",
|
|
@@ -374,6 +412,16 @@ const CLAUDE_MODEL_MODES = [
|
|
|
374
412
|
"claude-opus-4-6[1m]-medium",
|
|
375
413
|
"claude-opus-4-6[1m]-high",
|
|
376
414
|
"claude-opus-4-6[1m]-max",
|
|
415
|
+
"claude-sonnet-5-low",
|
|
416
|
+
"claude-sonnet-5-medium",
|
|
417
|
+
"claude-sonnet-5-high",
|
|
418
|
+
"claude-sonnet-5-xhigh",
|
|
419
|
+
"claude-sonnet-5-max",
|
|
420
|
+
"claude-sonnet-5[1m]-low",
|
|
421
|
+
"claude-sonnet-5[1m]-medium",
|
|
422
|
+
"claude-sonnet-5[1m]-high",
|
|
423
|
+
"claude-sonnet-5[1m]-xhigh",
|
|
424
|
+
"claude-sonnet-5[1m]-max",
|
|
377
425
|
"claude-sonnet-4-6-low",
|
|
378
426
|
"claude-sonnet-4-6-medium",
|
|
379
427
|
"claude-sonnet-4-6-high",
|
|
@@ -484,6 +532,16 @@ const CLAUDE_MODE_TO_SELECTION = {
|
|
|
484
532
|
"claude-fable-5[1m]-high": { family: "claude-fable-5[1m]", effort: "high" },
|
|
485
533
|
"claude-fable-5[1m]-xhigh": { family: "claude-fable-5[1m]", effort: "xhigh" },
|
|
486
534
|
"claude-fable-5[1m]-max": { family: "claude-fable-5[1m]", effort: "max" },
|
|
535
|
+
"claude-opus-5-5-low": { family: "claude-opus-5-5", effort: "low" },
|
|
536
|
+
"claude-opus-5-5-medium": { family: "claude-opus-5-5", effort: "medium" },
|
|
537
|
+
"claude-opus-5-5-high": { family: "claude-opus-5-5", effort: "high" },
|
|
538
|
+
"claude-opus-5-5-xhigh": { family: "claude-opus-5-5", effort: "xhigh" },
|
|
539
|
+
"claude-opus-5-5-max": { family: "claude-opus-5-5", effort: "max" },
|
|
540
|
+
"claude-opus-5-5[1m]-low": { family: "claude-opus-5-5[1m]", effort: "low" },
|
|
541
|
+
"claude-opus-5-5[1m]-medium": { family: "claude-opus-5-5[1m]", effort: "medium" },
|
|
542
|
+
"claude-opus-5-5[1m]-high": { family: "claude-opus-5-5[1m]", effort: "high" },
|
|
543
|
+
"claude-opus-5-5[1m]-xhigh": { family: "claude-opus-5-5[1m]", effort: "xhigh" },
|
|
544
|
+
"claude-opus-5-5[1m]-max": { family: "claude-opus-5-5[1m]", effort: "max" },
|
|
487
545
|
"claude-opus-5-low": { family: "claude-opus-5", effort: "low" },
|
|
488
546
|
"claude-opus-5-medium": { family: "claude-opus-5", effort: "medium" },
|
|
489
547
|
"claude-opus-5-high": { family: "claude-opus-5", effort: "high" },
|
|
@@ -512,6 +570,16 @@ const CLAUDE_MODE_TO_SELECTION = {
|
|
|
512
570
|
"claude-opus-4-6[1m]-medium": { family: "claude-opus-4-6[1m]", effort: "medium" },
|
|
513
571
|
"claude-opus-4-6[1m]-high": { family: "claude-opus-4-6[1m]", effort: "high" },
|
|
514
572
|
"claude-opus-4-6[1m]-max": { family: "claude-opus-4-6[1m]", effort: "max" },
|
|
573
|
+
"claude-sonnet-5-low": { family: "claude-sonnet-5", effort: "low" },
|
|
574
|
+
"claude-sonnet-5-medium": { family: "claude-sonnet-5", effort: "medium" },
|
|
575
|
+
"claude-sonnet-5-high": { family: "claude-sonnet-5", effort: "high" },
|
|
576
|
+
"claude-sonnet-5-xhigh": { family: "claude-sonnet-5", effort: "xhigh" },
|
|
577
|
+
"claude-sonnet-5-max": { family: "claude-sonnet-5", effort: "max" },
|
|
578
|
+
"claude-sonnet-5[1m]-low": { family: "claude-sonnet-5[1m]", effort: "low" },
|
|
579
|
+
"claude-sonnet-5[1m]-medium": { family: "claude-sonnet-5[1m]", effort: "medium" },
|
|
580
|
+
"claude-sonnet-5[1m]-high": { family: "claude-sonnet-5[1m]", effort: "high" },
|
|
581
|
+
"claude-sonnet-5[1m]-xhigh": { family: "claude-sonnet-5[1m]", effort: "xhigh" },
|
|
582
|
+
"claude-sonnet-5[1m]-max": { family: "claude-sonnet-5[1m]", effort: "max" },
|
|
515
583
|
"claude-sonnet-4-6-low": { family: "claude-sonnet-4-6", effort: "low" },
|
|
516
584
|
"claude-sonnet-4-6-medium": { family: "claude-sonnet-4-6", effort: "medium" },
|
|
517
585
|
"claude-sonnet-4-6-high": { family: "claude-sonnet-4-6", effort: "high" },
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var logger = require('./persistence-
|
|
4
|
+
var logger = require('./persistence-BHyjXxI6.cjs');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var node_child_process = require('node:child_process');
|
|
7
7
|
require('node:fs/promises');
|
|
@@ -13,8 +13,8 @@ require('tweetnacl');
|
|
|
13
13
|
require('fs');
|
|
14
14
|
|
|
15
15
|
async function spawnAndWaitForDaemon() {
|
|
16
|
-
const { spawnHappyCLI } = await Promise.resolve().then(function () { return require('./spawnHappyCLI-
|
|
17
|
-
const { checkIfDaemonRunningAndCleanupStaleState } = await Promise.resolve().then(function () { return require('./controlClient-
|
|
16
|
+
const { spawnHappyCLI } = await Promise.resolve().then(function () { return require('./spawnHappyCLI-CcCWM9iG.cjs'); }).then(function (n) { return n.spawnHappyCLI$1; });
|
|
17
|
+
const { checkIfDaemonRunningAndCleanupStaleState } = await Promise.resolve().then(function () { return require('./controlClient-CwOREsGl.cjs'); });
|
|
18
18
|
const child = spawnHappyCLI(["daemon", "start-sync"], {
|
|
19
19
|
detached: true,
|
|
20
20
|
stdio: "ignore"
|
|
@@ -37,7 +37,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
37
37
|
if (!args.includes("--version")) ;
|
|
38
38
|
if (subcommand === "orchestrator-oneshot") {
|
|
39
39
|
try {
|
|
40
|
-
const { runOrchestratorOneShot } = await Promise.resolve().then(function () { return require('./runOneShot-
|
|
40
|
+
const { runOrchestratorOneShot } = await Promise.resolve().then(function () { return require('./runOneShot-BE9LrAgr.cjs'); });
|
|
41
41
|
const exitCode = await runOrchestratorOneShot(args.slice(1));
|
|
42
42
|
process.exit(exitCode);
|
|
43
43
|
} catch (error) {
|
|
@@ -50,7 +50,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
50
50
|
return;
|
|
51
51
|
} else if (subcommand === "doctor") {
|
|
52
52
|
const { killRunawayHappyProcesses } = await Promise.resolve().then(function () { return require('./doctor-C08m5Z9f.cjs'); });
|
|
53
|
-
const { runDoctorCommand } = await Promise.resolve().then(function () { return require('./doctor-
|
|
53
|
+
const { runDoctorCommand } = await Promise.resolve().then(function () { return require('./doctor-Dt8So-nA.cjs'); });
|
|
54
54
|
if (args[1] === "clean") {
|
|
55
55
|
const result = await killRunawayHappyProcesses();
|
|
56
56
|
console.log(`Cleaned up ${result.killed} runaway processes`);
|
|
@@ -63,7 +63,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
63
63
|
return;
|
|
64
64
|
} else if (subcommand === "auth") {
|
|
65
65
|
try {
|
|
66
|
-
const { handleAuthCommand } = await Promise.resolve().then(function () { return require('./auth-
|
|
66
|
+
const { handleAuthCommand } = await Promise.resolve().then(function () { return require('./auth-ByKuKCPK.cjs'); });
|
|
67
67
|
await handleAuthCommand(args.slice(1));
|
|
68
68
|
} catch (error) {
|
|
69
69
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -75,7 +75,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
75
75
|
return;
|
|
76
76
|
} else if (subcommand === "connect") {
|
|
77
77
|
try {
|
|
78
|
-
const { handleConnectCommand } = await Promise.resolve().then(function () { return require('./connect-
|
|
78
|
+
const { handleConnectCommand } = await Promise.resolve().then(function () { return require('./connect-CJl-u6bN.cjs'); });
|
|
79
79
|
await handleConnectCommand(args.slice(1));
|
|
80
80
|
} catch (error) {
|
|
81
81
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -86,11 +86,11 @@ async function spawnAndWaitForDaemon() {
|
|
|
86
86
|
}
|
|
87
87
|
return;
|
|
88
88
|
} else if (subcommand === "codex") {
|
|
89
|
-
const { authAndSetupMachineIfNeeded } = await Promise.resolve().then(function () { return require('./auth-
|
|
90
|
-
const { isDaemonRunningCurrentlyInstalledHappyVersion } = await Promise.resolve().then(function () { return require('./controlClient-
|
|
91
|
-
const { spawnHappyCLI } = await Promise.resolve().then(function () { return require('./spawnHappyCLI-
|
|
89
|
+
const { authAndSetupMachineIfNeeded } = await Promise.resolve().then(function () { return require('./auth-fc57vq65.cjs'); });
|
|
90
|
+
const { isDaemonRunningCurrentlyInstalledHappyVersion } = await Promise.resolve().then(function () { return require('./controlClient-CwOREsGl.cjs'); });
|
|
91
|
+
const { spawnHappyCLI } = await Promise.resolve().then(function () { return require('./spawnHappyCLI-CcCWM9iG.cjs'); }).then(function (n) { return n.spawnHappyCLI$1; });
|
|
92
92
|
try {
|
|
93
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
93
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-CQpeFv6R.cjs'); });
|
|
94
94
|
let startedBy = void 0;
|
|
95
95
|
for (let i = 1; i < args.length; i++) {
|
|
96
96
|
if (args[i] === "--started-by") {
|
|
@@ -121,15 +121,15 @@ async function spawnAndWaitForDaemon() {
|
|
|
121
121
|
}
|
|
122
122
|
return;
|
|
123
123
|
} else if (subcommand === "cursor-approval-hook") {
|
|
124
|
-
const { runCursorApprovalHook } = await Promise.resolve().then(function () { return require('./cursorApprovalHook-
|
|
124
|
+
const { runCursorApprovalHook } = await Promise.resolve().then(function () { return require('./cursorApprovalHook-r6kfhYaf.cjs'); });
|
|
125
125
|
await runCursorApprovalHook();
|
|
126
126
|
return;
|
|
127
127
|
} else if (subcommand === "cursor") {
|
|
128
|
-
const { authAndSetupMachineIfNeeded } = await Promise.resolve().then(function () { return require('./auth-
|
|
129
|
-
const { isDaemonRunningCurrentlyInstalledHappyVersion } = await Promise.resolve().then(function () { return require('./controlClient-
|
|
130
|
-
const { spawnHappyCLI } = await Promise.resolve().then(function () { return require('./spawnHappyCLI-
|
|
128
|
+
const { authAndSetupMachineIfNeeded } = await Promise.resolve().then(function () { return require('./auth-fc57vq65.cjs'); });
|
|
129
|
+
const { isDaemonRunningCurrentlyInstalledHappyVersion } = await Promise.resolve().then(function () { return require('./controlClient-CwOREsGl.cjs'); });
|
|
130
|
+
const { spawnHappyCLI } = await Promise.resolve().then(function () { return require('./spawnHappyCLI-CcCWM9iG.cjs'); }).then(function (n) { return n.spawnHappyCLI$1; });
|
|
131
131
|
try {
|
|
132
|
-
const { runCursor } = await Promise.resolve().then(function () { return require('./runCursor-
|
|
132
|
+
const { runCursor } = await Promise.resolve().then(function () { return require('./runCursor-uZ8lJIBx.cjs'); });
|
|
133
133
|
let startedBy = void 0;
|
|
134
134
|
let model = null;
|
|
135
135
|
let resumeChatId = null;
|
|
@@ -175,9 +175,9 @@ async function spawnAndWaitForDaemon() {
|
|
|
175
175
|
}
|
|
176
176
|
return;
|
|
177
177
|
} else if (subcommand === "gemini") {
|
|
178
|
-
const { authAndSetupMachineIfNeeded } = await Promise.resolve().then(function () { return require('./auth-
|
|
179
|
-
const { isDaemonRunningCurrentlyInstalledHappyVersion } = await Promise.resolve().then(function () { return require('./controlClient-
|
|
180
|
-
const { spawnHappyCLI } = await Promise.resolve().then(function () { return require('./spawnHappyCLI-
|
|
178
|
+
const { authAndSetupMachineIfNeeded } = await Promise.resolve().then(function () { return require('./auth-fc57vq65.cjs'); });
|
|
179
|
+
const { isDaemonRunningCurrentlyInstalledHappyVersion } = await Promise.resolve().then(function () { return require('./controlClient-CwOREsGl.cjs'); });
|
|
180
|
+
const { spawnHappyCLI } = await Promise.resolve().then(function () { return require('./spawnHappyCLI-CcCWM9iG.cjs'); }).then(function (n) { return n.spawnHappyCLI$1; });
|
|
181
181
|
const geminiSubcommand = args[1];
|
|
182
182
|
if (geminiSubcommand === "model" && args[2] === "set" && args[3]) {
|
|
183
183
|
const modelName = args[3];
|
|
@@ -251,9 +251,9 @@ async function spawnAndWaitForDaemon() {
|
|
|
251
251
|
if (geminiSubcommand === "project" && args[2] === "set" && args[3]) {
|
|
252
252
|
const projectId = args[3];
|
|
253
253
|
try {
|
|
254
|
-
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
255
|
-
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./persistence-
|
|
256
|
-
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-
|
|
254
|
+
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return require('./config-CSk-_bRV.cjs'); });
|
|
255
|
+
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./persistence-BHyjXxI6.cjs'); }).then(function (n) { return n.persistence; });
|
|
256
|
+
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-Cc0B_acF.cjs'); }).then(function (n) { return n.api; });
|
|
257
257
|
let userEmail = void 0;
|
|
258
258
|
try {
|
|
259
259
|
const credentials = await readCredentials2();
|
|
@@ -284,7 +284,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
284
284
|
}
|
|
285
285
|
if (geminiSubcommand === "project" && args[2] === "get") {
|
|
286
286
|
try {
|
|
287
|
-
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-
|
|
287
|
+
const { readGeminiLocalConfig } = await Promise.resolve().then(function () { return require('./config-CSk-_bRV.cjs'); });
|
|
288
288
|
const config = readGeminiLocalConfig();
|
|
289
289
|
if (config.googleCloudProject) {
|
|
290
290
|
console.log(`Current Google Cloud Project: ${config.googleCloudProject}`);
|
|
@@ -324,7 +324,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
324
324
|
process.exit(0);
|
|
325
325
|
}
|
|
326
326
|
try {
|
|
327
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
327
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-DjkHuD5N.cjs'); });
|
|
328
328
|
let startedBy = void 0;
|
|
329
329
|
for (let i = 1; i < args.length; i++) {
|
|
330
330
|
if (args[i] === "--started-by") {
|
|
@@ -356,7 +356,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
356
356
|
return;
|
|
357
357
|
} else if (subcommand === "update") {
|
|
358
358
|
try {
|
|
359
|
-
const { handleUpdateCommand } = await Promise.resolve().then(function () { return require('./update-
|
|
359
|
+
const { handleUpdateCommand } = await Promise.resolve().then(function () { return require('./update-DJ7dDCl0.cjs'); });
|
|
360
360
|
await handleUpdateCommand();
|
|
361
361
|
} catch (error) {
|
|
362
362
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -369,7 +369,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
369
369
|
} else if (subcommand === "logout") {
|
|
370
370
|
console.log(chalk.yellow('Note: "happy logout" is deprecated. Use "happy auth logout" instead.\n'));
|
|
371
371
|
try {
|
|
372
|
-
const { handleAuthCommand } = await Promise.resolve().then(function () { return require('./auth-
|
|
372
|
+
const { handleAuthCommand } = await Promise.resolve().then(function () { return require('./auth-ByKuKCPK.cjs'); });
|
|
373
373
|
await handleAuthCommand(["logout"]);
|
|
374
374
|
} catch (error) {
|
|
375
375
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -392,7 +392,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
392
392
|
return;
|
|
393
393
|
} else if (subcommand === "session") {
|
|
394
394
|
try {
|
|
395
|
-
const { handleSessionCommand } = await Promise.resolve().then(function () { return require('./session-
|
|
395
|
+
const { handleSessionCommand } = await Promise.resolve().then(function () { return require('./session-BUhMn58M.cjs'); });
|
|
396
396
|
await handleSessionCommand(args.slice(1));
|
|
397
397
|
} catch (error) {
|
|
398
398
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -404,7 +404,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
404
404
|
return;
|
|
405
405
|
} else if (subcommand === "task") {
|
|
406
406
|
try {
|
|
407
|
-
const { handleTaskCommand } = await Promise.resolve().then(function () { return require('./task-
|
|
407
|
+
const { handleTaskCommand } = await Promise.resolve().then(function () { return require('./task-t2L81TWT.cjs'); });
|
|
408
408
|
await handleTaskCommand(args.slice(1));
|
|
409
409
|
} catch (error) {
|
|
410
410
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -452,7 +452,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
452
452
|
return;
|
|
453
453
|
} else if (subcommand === "evidence") {
|
|
454
454
|
try {
|
|
455
|
-
const { handleEvidenceCommand } = await Promise.resolve().then(function () { return require('./evidence-
|
|
455
|
+
const { handleEvidenceCommand } = await Promise.resolve().then(function () { return require('./evidence-Cyn3mTxc.cjs'); });
|
|
456
456
|
await handleEvidenceCommand(args.slice(1));
|
|
457
457
|
} catch (error) {
|
|
458
458
|
console.error(chalk.red("Error:"), error instanceof Error ? error.message : "Unknown error");
|
|
@@ -469,7 +469,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
469
469
|
process.exit(1);
|
|
470
470
|
}
|
|
471
471
|
try {
|
|
472
|
-
const { runMcpServe } = await Promise.resolve().then(function () { return require('./serve-
|
|
472
|
+
const { runMcpServe } = await Promise.resolve().then(function () { return require('./serve-ZIh19x_C.cjs'); });
|
|
473
473
|
await runMcpServe();
|
|
474
474
|
} catch (error) {
|
|
475
475
|
process.stderr.write(`[happy-mcp] fatal: ${error instanceof Error ? error.message : "unknown error"}
|
|
@@ -483,7 +483,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
483
483
|
console.error(chalk.red("Error:"), 'Not authenticated. Run "happy auth" first.');
|
|
484
484
|
process.exit(1);
|
|
485
485
|
}
|
|
486
|
-
const { parseSshArgs, runOnDevice, sshDevice, sshPickAndConnect } = await Promise.resolve().then(function () { return require('./ssh-
|
|
486
|
+
const { parseSshArgs, runOnDevice, sshDevice, sshPickAndConnect } = await Promise.resolve().then(function () { return require('./ssh-C7_M1XT0.cjs'); });
|
|
487
487
|
const { target, command, timeoutMs, stream } = parseSshArgs(args.slice(1));
|
|
488
488
|
try {
|
|
489
489
|
if (command) {
|
|
@@ -504,7 +504,7 @@ async function spawnAndWaitForDaemon() {
|
|
|
504
504
|
} else if (subcommand === "device") {
|
|
505
505
|
const deviceSubcommand = args[1];
|
|
506
506
|
if (deviceSubcommand === "push") {
|
|
507
|
-
const { pushToDevice } = await Promise.resolve().then(function () { return require('./push-
|
|
507
|
+
const { pushToDevice } = await Promise.resolve().then(function () { return require('./push-DroYLfe7.cjs'); });
|
|
508
508
|
const credentials = await logger.readCredentials();
|
|
509
509
|
if (!credentials) {
|
|
510
510
|
console.error(chalk.red("Error:"), 'Not authenticated. Run "happy auth" first.');
|
|
@@ -518,8 +518,8 @@ async function spawnAndWaitForDaemon() {
|
|
|
518
518
|
process.exit(await pushToDevice(credentials, target, localPath, remotePath));
|
|
519
519
|
}
|
|
520
520
|
if (deviceSubcommand === "enroll") {
|
|
521
|
-
const { enrollDevice } = await Promise.resolve().then(function () { return require('./enroll-
|
|
522
|
-
const { install } = await Promise.resolve().then(function () { return require('./install-
|
|
521
|
+
const { enrollDevice } = await Promise.resolve().then(function () { return require('./enroll-DCMjscqd.cjs'); });
|
|
522
|
+
const { install } = await Promise.resolve().then(function () { return require('./install-WFj5Y3ni.cjs'); });
|
|
523
523
|
const token = args[2];
|
|
524
524
|
if (!token) {
|
|
525
525
|
console.error(chalk.red("Error:"), "Missing enrollment token. Usage: happy device enroll <token>");
|
|
@@ -549,12 +549,12 @@ ${chalk.bold("Usage:")}
|
|
|
549
549
|
`);
|
|
550
550
|
process.exit(0);
|
|
551
551
|
} else if (subcommand === "daemon") {
|
|
552
|
-
const { startDaemon } = await Promise.resolve().then(function () { return require('./run-
|
|
553
|
-
const { install } = await Promise.resolve().then(function () { return require('./install-
|
|
554
|
-
const { uninstall } = await Promise.resolve().then(function () { return require('./uninstall-
|
|
555
|
-
const { runDoctorCommand } = await Promise.resolve().then(function () { return require('./doctor-
|
|
556
|
-
const { getLatestDaemonLog } = await Promise.resolve().then(function () { return require('./persistence-
|
|
557
|
-
const { listDaemonSessions, stopDaemonSession, stopDaemon } = await Promise.resolve().then(function () { return require('./controlClient-
|
|
552
|
+
const { startDaemon } = await Promise.resolve().then(function () { return require('./run-BxPigHQV.cjs'); }).then(function (n) { return n.run; });
|
|
553
|
+
const { install } = await Promise.resolve().then(function () { return require('./install-WFj5Y3ni.cjs'); });
|
|
554
|
+
const { uninstall } = await Promise.resolve().then(function () { return require('./uninstall-DjsB9wiO.cjs'); });
|
|
555
|
+
const { runDoctorCommand } = await Promise.resolve().then(function () { return require('./doctor-Dt8So-nA.cjs'); });
|
|
556
|
+
const { getLatestDaemonLog } = await Promise.resolve().then(function () { return require('./persistence-BHyjXxI6.cjs'); }).then(function (n) { return n.logger$1; });
|
|
557
|
+
const { listDaemonSessions, stopDaemonSession, stopDaemon } = await Promise.resolve().then(function () { return require('./controlClient-CwOREsGl.cjs'); });
|
|
558
558
|
const daemonSubcommand = args[1];
|
|
559
559
|
if (daemonSubcommand === "list") {
|
|
560
560
|
try {
|
|
@@ -759,7 +759,7 @@ ${chalk.gray("\u2500".repeat(60))}
|
|
|
759
759
|
${chalk.bold.cyan("Claude Code Options (from `claude --help`):")}
|
|
760
760
|
`);
|
|
761
761
|
try {
|
|
762
|
-
const { claudeCliPath } = await Promise.resolve().then(function () { return require('./claudeLocal-
|
|
762
|
+
const { claudeCliPath } = await Promise.resolve().then(function () { return require('./claudeLocal-CYQs0-SM.cjs'); }).then(function (n) { return n.claudeLocal$1; });
|
|
763
763
|
const claudeHelp = node_child_process.execFileSync(claudeCliPath, ["--help"], { encoding: "utf8" });
|
|
764
764
|
console.log(claudeHelp);
|
|
765
765
|
} catch (e) {
|
|
@@ -789,10 +789,10 @@ ${chalk.bold.cyan("Claude Code Options (from `claude --help`):")}
|
|
|
789
789
|
}
|
|
790
790
|
process.exit(0);
|
|
791
791
|
}
|
|
792
|
-
const { authAndSetupMachineIfNeeded } = await Promise.resolve().then(function () { return require('./auth-
|
|
793
|
-
const { isDaemonRunningCurrentlyInstalledHappyVersion } = await Promise.resolve().then(function () { return require('./controlClient-
|
|
794
|
-
const { spawnHappyCLI } = await Promise.resolve().then(function () { return require('./spawnHappyCLI-
|
|
795
|
-
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-
|
|
792
|
+
const { authAndSetupMachineIfNeeded } = await Promise.resolve().then(function () { return require('./auth-fc57vq65.cjs'); });
|
|
793
|
+
const { isDaemonRunningCurrentlyInstalledHappyVersion } = await Promise.resolve().then(function () { return require('./controlClient-CwOREsGl.cjs'); });
|
|
794
|
+
const { spawnHappyCLI } = await Promise.resolve().then(function () { return require('./spawnHappyCLI-CcCWM9iG.cjs'); }).then(function (n) { return n.spawnHappyCLI$1; });
|
|
795
|
+
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-BmHQBrLb.cjs'); });
|
|
796
796
|
const {
|
|
797
797
|
credentials
|
|
798
798
|
} = await authAndSetupMachineIfNeeded();
|
|
@@ -866,7 +866,7 @@ ${chalk.bold("Examples:")}
|
|
|
866
866
|
}
|
|
867
867
|
console.log(chalk.blue("\u{1F4F1} Sending push notification..."));
|
|
868
868
|
try {
|
|
869
|
-
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-
|
|
869
|
+
const { ApiClient } = await Promise.resolve().then(function () { return require('./api-Cc0B_acF.cjs'); }).then(function (n) { return n.api; });
|
|
870
870
|
const api = await ApiClient.create(credentials);
|
|
871
871
|
const notificationTitle = title || "Happy AI";
|
|
872
872
|
api.push().sendToAllDevices(
|