happy-coder 0.3.1-beta.0 → 0.3.1-beta.2
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 +38 -21
- package/dist/index.mjs +41 -24
- package/package.json +7 -5
- package/scripts/claude_remote_launcher.cjs +13 -0
- package/dist/index-B2GqfEZV.cjs +0 -1564
- package/dist/index-QItBXhux.mjs +0 -1540
- package/dist/install-B0DnBGS_.mjs +0 -29
- package/dist/install-B2r_gX72.cjs +0 -109
- package/dist/install-C809w0Cj.cjs +0 -31
- package/dist/install-DEPy62QN.mjs +0 -97
- package/dist/install-GZIzyuIE.cjs +0 -99
- package/dist/install-HKe7dyS4.mjs +0 -107
- package/dist/run-BmEaINbl.cjs +0 -250
- package/dist/run-DMbKhYfb.mjs +0 -247
- package/dist/run-FBXkmmN7.mjs +0 -32
- package/dist/run-q2To6b-c.cjs +0 -34
- package/dist/types-BG9AgCI4.mjs +0 -875
- package/dist/types-BRICSarm.mjs +0 -870
- package/dist/types-BTQRfIr3.cjs +0 -892
- package/dist/types-BeUppqJU.cjs +0 -886
- package/dist/types-C6Wx_bRW.cjs +0 -886
- package/dist/types-CEvzGLMI.cjs +0 -882
- package/dist/types-CKUdOV6c.mjs +0 -875
- package/dist/types-CNuBtNA5.cjs +0 -884
- package/dist/types-Cg4664gs.cjs +0 -879
- package/dist/types-CkPUFpfr.cjs +0 -885
- package/dist/types-CzYKFAYa.mjs +0 -882
- package/dist/types-D39L8JSd.mjs +0 -850
- package/dist/types-D7u2DxfV.cjs +0 -893
- package/dist/types-DD9P_5rj.mjs +0 -868
- package/dist/types-DNu8okOb.mjs +0 -874
- package/dist/types-DYBiuNUQ.cjs +0 -883
- package/dist/types-Df5dlWLV.mjs +0 -871
- package/dist/types-fXgEaaqP.mjs +0 -861
- package/dist/types-hotUTaWz.cjs +0 -863
- package/dist/types-ikrrEcJm.mjs +0 -873
- package/dist/types-mykDX2xe.cjs +0 -872
- package/dist/types-tLWMaptR.mjs +0 -879
- package/dist/uninstall-BGgl5V8F.mjs +0 -29
- package/dist/uninstall-BWHglipH.mjs +0 -40
- package/dist/uninstall-C42CoSCI.cjs +0 -53
- package/dist/uninstall-CLkTtlMv.mjs +0 -51
- package/dist/uninstall-CdHMb6wi.cjs +0 -31
- package/dist/uninstall-FXyyAuGU.cjs +0 -42
- /package/scripts/{claudeInteractiveLaunch.cjs → claude_local_launcher.cjs} +0 -0
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { l as logger } from './types-BRICSarm.mjs';
|
|
2
|
-
import { uninstall as uninstall$1 } from './uninstall-BWHglipH.mjs';
|
|
3
|
-
import 'axios';
|
|
4
|
-
import 'chalk';
|
|
5
|
-
import 'fs';
|
|
6
|
-
import 'node:os';
|
|
7
|
-
import 'node:path';
|
|
8
|
-
import 'node:fs/promises';
|
|
9
|
-
import 'node:fs';
|
|
10
|
-
import 'node:events';
|
|
11
|
-
import 'socket.io-client';
|
|
12
|
-
import 'zod';
|
|
13
|
-
import 'node:crypto';
|
|
14
|
-
import 'tweetnacl';
|
|
15
|
-
import 'expo-server-sdk';
|
|
16
|
-
import 'child_process';
|
|
17
|
-
|
|
18
|
-
async function uninstall() {
|
|
19
|
-
if (process.platform !== "darwin") {
|
|
20
|
-
throw new Error("Daemon uninstallation is currently only supported on macOS");
|
|
21
|
-
}
|
|
22
|
-
if (process.getuid && process.getuid() !== 0) {
|
|
23
|
-
throw new Error("Daemon uninstallation requires sudo privileges. Please run with sudo.");
|
|
24
|
-
}
|
|
25
|
-
logger.info("Uninstalling Happy CLI daemon for macOS...");
|
|
26
|
-
await uninstall$1();
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { uninstall };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { existsSync, unlinkSync } from 'fs';
|
|
2
|
-
import { execSync } from 'child_process';
|
|
3
|
-
import { l as logger } from './types-BRICSarm.mjs';
|
|
4
|
-
import 'axios';
|
|
5
|
-
import 'chalk';
|
|
6
|
-
import 'node:os';
|
|
7
|
-
import 'node:path';
|
|
8
|
-
import 'node:fs/promises';
|
|
9
|
-
import 'node:fs';
|
|
10
|
-
import 'node:events';
|
|
11
|
-
import 'socket.io-client';
|
|
12
|
-
import 'zod';
|
|
13
|
-
import 'node:crypto';
|
|
14
|
-
import 'tweetnacl';
|
|
15
|
-
import 'expo-server-sdk';
|
|
16
|
-
|
|
17
|
-
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
18
|
-
const PLIST_FILE = `/Library/LaunchDaemons/${PLIST_LABEL}.plist`;
|
|
19
|
-
async function uninstall() {
|
|
20
|
-
try {
|
|
21
|
-
if (!existsSync(PLIST_FILE)) {
|
|
22
|
-
logger.info("Daemon plist not found. Nothing to uninstall.");
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
try {
|
|
26
|
-
execSync(`launchctl unload ${PLIST_FILE}`, { stdio: "inherit" });
|
|
27
|
-
logger.info("Daemon stopped successfully");
|
|
28
|
-
} catch (error) {
|
|
29
|
-
logger.info("Failed to unload daemon (it might not be running)");
|
|
30
|
-
}
|
|
31
|
-
unlinkSync(PLIST_FILE);
|
|
32
|
-
logger.info(`Removed daemon plist from ${PLIST_FILE}`);
|
|
33
|
-
logger.info("Daemon uninstalled successfully");
|
|
34
|
-
} catch (error) {
|
|
35
|
-
logger.debug("Failed to uninstall daemon:", error);
|
|
36
|
-
throw error;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export { uninstall };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var types = require('./types-mykDX2xe.cjs');
|
|
4
|
-
var fs = require('fs');
|
|
5
|
-
var child_process = require('child_process');
|
|
6
|
-
require('axios');
|
|
7
|
-
require('chalk');
|
|
8
|
-
require('node:os');
|
|
9
|
-
require('node:path');
|
|
10
|
-
require('node:fs/promises');
|
|
11
|
-
require('node:fs');
|
|
12
|
-
require('node:events');
|
|
13
|
-
require('socket.io-client');
|
|
14
|
-
require('zod');
|
|
15
|
-
require('node:crypto');
|
|
16
|
-
require('tweetnacl');
|
|
17
|
-
require('expo-server-sdk');
|
|
18
|
-
|
|
19
|
-
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
20
|
-
const PLIST_FILE = `/Library/LaunchDaemons/${PLIST_LABEL}.plist`;
|
|
21
|
-
async function uninstall$1() {
|
|
22
|
-
try {
|
|
23
|
-
if (!fs.existsSync(PLIST_FILE)) {
|
|
24
|
-
types.logger.info("Daemon plist not found. Nothing to uninstall.");
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
try {
|
|
28
|
-
child_process.execSync(`launchctl unload ${PLIST_FILE}`, { stdio: "inherit" });
|
|
29
|
-
types.logger.info("Daemon stopped successfully");
|
|
30
|
-
} catch (error) {
|
|
31
|
-
types.logger.info("Failed to unload daemon (it might not be running)");
|
|
32
|
-
}
|
|
33
|
-
fs.unlinkSync(PLIST_FILE);
|
|
34
|
-
types.logger.info(`Removed daemon plist from ${PLIST_FILE}`);
|
|
35
|
-
types.logger.info("Daemon uninstalled successfully");
|
|
36
|
-
} catch (error) {
|
|
37
|
-
types.logger.debug("Failed to uninstall daemon:", error);
|
|
38
|
-
throw error;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
async function uninstall() {
|
|
43
|
-
if (process.platform !== "darwin") {
|
|
44
|
-
throw new Error("Daemon uninstallation is currently only supported on macOS");
|
|
45
|
-
}
|
|
46
|
-
if (process.getuid && process.getuid() !== 0) {
|
|
47
|
-
throw new Error("Daemon uninstallation requires sudo privileges. Please run with sudo.");
|
|
48
|
-
}
|
|
49
|
-
types.logger.info("Uninstalling Happy CLI daemon for macOS...");
|
|
50
|
-
await uninstall$1();
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
exports.uninstall = uninstall;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { l as logger } from './types-fXgEaaqP.mjs';
|
|
2
|
-
import { existsSync, unlinkSync } from 'fs';
|
|
3
|
-
import { execSync } from 'child_process';
|
|
4
|
-
import 'axios';
|
|
5
|
-
import 'chalk';
|
|
6
|
-
import 'node:os';
|
|
7
|
-
import 'node:path';
|
|
8
|
-
import 'node:fs/promises';
|
|
9
|
-
import 'node:fs';
|
|
10
|
-
import 'node:events';
|
|
11
|
-
import 'socket.io-client';
|
|
12
|
-
import 'zod';
|
|
13
|
-
import 'node:crypto';
|
|
14
|
-
import 'tweetnacl';
|
|
15
|
-
import 'expo-server-sdk';
|
|
16
|
-
|
|
17
|
-
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
18
|
-
const PLIST_FILE = `/Library/LaunchDaemons/${PLIST_LABEL}.plist`;
|
|
19
|
-
async function uninstall$1() {
|
|
20
|
-
try {
|
|
21
|
-
if (!existsSync(PLIST_FILE)) {
|
|
22
|
-
logger.info("Daemon plist not found. Nothing to uninstall.");
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
try {
|
|
26
|
-
execSync(`launchctl unload ${PLIST_FILE}`, { stdio: "inherit" });
|
|
27
|
-
logger.info("Daemon stopped successfully");
|
|
28
|
-
} catch (error) {
|
|
29
|
-
logger.info("Failed to unload daemon (it might not be running)");
|
|
30
|
-
}
|
|
31
|
-
unlinkSync(PLIST_FILE);
|
|
32
|
-
logger.info(`Removed daemon plist from ${PLIST_FILE}`);
|
|
33
|
-
logger.info("Daemon uninstalled successfully");
|
|
34
|
-
} catch (error) {
|
|
35
|
-
logger.debug("Failed to uninstall daemon:", error);
|
|
36
|
-
throw error;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
async function uninstall() {
|
|
41
|
-
if (process.platform !== "darwin") {
|
|
42
|
-
throw new Error("Daemon uninstallation is currently only supported on macOS");
|
|
43
|
-
}
|
|
44
|
-
if (process.getuid && process.getuid() !== 0) {
|
|
45
|
-
throw new Error("Daemon uninstallation requires sudo privileges. Please run with sudo.");
|
|
46
|
-
}
|
|
47
|
-
logger.info("Uninstalling Happy CLI daemon for macOS...");
|
|
48
|
-
await uninstall$1();
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export { uninstall };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var types = require('./types-DYBiuNUQ.cjs');
|
|
4
|
-
var uninstall$1 = require('./uninstall-FXyyAuGU.cjs');
|
|
5
|
-
require('axios');
|
|
6
|
-
require('chalk');
|
|
7
|
-
require('fs');
|
|
8
|
-
require('node:os');
|
|
9
|
-
require('node:path');
|
|
10
|
-
require('node:fs/promises');
|
|
11
|
-
require('node:fs');
|
|
12
|
-
require('node:events');
|
|
13
|
-
require('socket.io-client');
|
|
14
|
-
require('zod');
|
|
15
|
-
require('node:crypto');
|
|
16
|
-
require('tweetnacl');
|
|
17
|
-
require('expo-server-sdk');
|
|
18
|
-
require('child_process');
|
|
19
|
-
|
|
20
|
-
async function uninstall() {
|
|
21
|
-
if (process.platform !== "darwin") {
|
|
22
|
-
throw new Error("Daemon uninstallation is currently only supported on macOS");
|
|
23
|
-
}
|
|
24
|
-
if (process.getuid && process.getuid() !== 0) {
|
|
25
|
-
throw new Error("Daemon uninstallation requires sudo privileges. Please run with sudo.");
|
|
26
|
-
}
|
|
27
|
-
types.logger.info("Uninstalling Happy CLI daemon for macOS...");
|
|
28
|
-
await uninstall$1.uninstall();
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
exports.uninstall = uninstall;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var fs = require('fs');
|
|
4
|
-
var child_process = require('child_process');
|
|
5
|
-
var types = require('./types-DYBiuNUQ.cjs');
|
|
6
|
-
require('axios');
|
|
7
|
-
require('chalk');
|
|
8
|
-
require('node:os');
|
|
9
|
-
require('node:path');
|
|
10
|
-
require('node:fs/promises');
|
|
11
|
-
require('node:fs');
|
|
12
|
-
require('node:events');
|
|
13
|
-
require('socket.io-client');
|
|
14
|
-
require('zod');
|
|
15
|
-
require('node:crypto');
|
|
16
|
-
require('tweetnacl');
|
|
17
|
-
require('expo-server-sdk');
|
|
18
|
-
|
|
19
|
-
const PLIST_LABEL = "com.happy-cli.daemon";
|
|
20
|
-
const PLIST_FILE = `/Library/LaunchDaemons/${PLIST_LABEL}.plist`;
|
|
21
|
-
async function uninstall() {
|
|
22
|
-
try {
|
|
23
|
-
if (!fs.existsSync(PLIST_FILE)) {
|
|
24
|
-
types.logger.info("Daemon plist not found. Nothing to uninstall.");
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
try {
|
|
28
|
-
child_process.execSync(`launchctl unload ${PLIST_FILE}`, { stdio: "inherit" });
|
|
29
|
-
types.logger.info("Daemon stopped successfully");
|
|
30
|
-
} catch (error) {
|
|
31
|
-
types.logger.info("Failed to unload daemon (it might not be running)");
|
|
32
|
-
}
|
|
33
|
-
fs.unlinkSync(PLIST_FILE);
|
|
34
|
-
types.logger.info(`Removed daemon plist from ${PLIST_FILE}`);
|
|
35
|
-
types.logger.info("Daemon uninstalled successfully");
|
|
36
|
-
} catch (error) {
|
|
37
|
-
types.logger.debug("Failed to uninstall daemon:", error);
|
|
38
|
-
throw error;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
exports.uninstall = uninstall;
|
|
File without changes
|