codeam-cli 2.4.29 → 2.4.31
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/CHANGELOG.md +12 -0
- package/dist/index.js +132 -114
- package/dist/vendor/node-pty/lib/conpty_console_list_agent.js +16 -0
- package/dist/vendor/node-pty/lib/eventEmitter2.js +47 -0
- package/dist/vendor/node-pty/lib/index.js +52 -0
- package/dist/vendor/node-pty/lib/interfaces.js +7 -0
- package/dist/vendor/node-pty/lib/shared/conout.js +11 -0
- package/dist/vendor/node-pty/lib/terminal.js +190 -0
- package/dist/vendor/node-pty/lib/types.js +7 -0
- package/dist/vendor/node-pty/lib/unixTerminal.js +346 -0
- package/dist/vendor/node-pty/lib/utils.js +39 -0
- package/dist/vendor/node-pty/lib/windowsConoutConnection.js +125 -0
- package/dist/vendor/node-pty/lib/windowsPtyAgent.js +320 -0
- package/dist/vendor/node-pty/lib/windowsTerminal.js +199 -0
- package/dist/vendor/node-pty/lib/worker/conoutSocketWorker.js +22 -0
- package/dist/vendor/node-pty/package.json +64 -0
- package/dist/vendor/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-arm64/pty.node +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-x64/pty.node +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
- package/dist/vendor/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
- package/package.json +3 -5
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2020, Microsoft Corporation (MIT License).
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var worker_threads_1 = require("worker_threads");
|
|
7
|
+
var net_1 = require("net");
|
|
8
|
+
var conout_1 = require("../shared/conout");
|
|
9
|
+
var conoutPipeName = worker_threads_1.workerData.conoutPipeName;
|
|
10
|
+
var conoutSocket = new net_1.Socket();
|
|
11
|
+
conoutSocket.setEncoding('utf8');
|
|
12
|
+
conoutSocket.connect(conoutPipeName, function () {
|
|
13
|
+
var server = net_1.createServer(function (workerSocket) {
|
|
14
|
+
conoutSocket.pipe(workerSocket);
|
|
15
|
+
});
|
|
16
|
+
server.listen(conout_1.getWorkerPipeName(conoutPipeName));
|
|
17
|
+
if (!worker_threads_1.parentPort) {
|
|
18
|
+
throw new Error('worker_threads parentPort is null');
|
|
19
|
+
}
|
|
20
|
+
worker_threads_1.parentPort.postMessage(1 /* READY */);
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=conoutSocketWorker.js.map
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "node-pty",
|
|
3
|
+
"description": "Fork pseudoterminals in Node.JS",
|
|
4
|
+
"author": {
|
|
5
|
+
"name": "Microsoft Corporation"
|
|
6
|
+
},
|
|
7
|
+
"version": "1.1.0",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"main": "./lib/index.js",
|
|
10
|
+
"types": "./typings/node-pty.d.ts",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git://github.com/microsoft/node-pty.git"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"binding.gyp",
|
|
17
|
+
"lib/",
|
|
18
|
+
"scripts/",
|
|
19
|
+
"src/",
|
|
20
|
+
"deps/",
|
|
21
|
+
"prebuilds/",
|
|
22
|
+
"third_party/",
|
|
23
|
+
"typings/"
|
|
24
|
+
],
|
|
25
|
+
"homepage": "https://github.com/microsoft/node-pty",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/microsoft/node-pty/issues"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"pty",
|
|
31
|
+
"tty",
|
|
32
|
+
"terminal",
|
|
33
|
+
"pseudoterminal",
|
|
34
|
+
"forkpty",
|
|
35
|
+
"openpty"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsc -b ./src/tsconfig.json",
|
|
39
|
+
"watch": "tsc -b -w ./src/tsconfig.json",
|
|
40
|
+
"lint": "eslint -c .eslintrc.js --ext .ts src/",
|
|
41
|
+
"install": "node scripts/prebuild.js || node-gyp rebuild",
|
|
42
|
+
"postinstall": "node scripts/post-install.js",
|
|
43
|
+
"compileCommands": "node scripts/gen-compile-commands.js",
|
|
44
|
+
"test": "cross-env NODE_ENV=test mocha -R spec --exit lib/*.test.js",
|
|
45
|
+
"posttest": "npm run lint",
|
|
46
|
+
"prepare": "npm run build",
|
|
47
|
+
"prepublishOnly": "npm run build"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"node-addon-api": "^7.1.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/mocha": "^7.0.2",
|
|
54
|
+
"@types/node": "12",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^2.27.0",
|
|
56
|
+
"@typescript-eslint/parser": "^2.27.0",
|
|
57
|
+
"cross-env": "^5.1.4",
|
|
58
|
+
"eslint": "^6.8.0",
|
|
59
|
+
"mocha": "10",
|
|
60
|
+
"node-gyp": "^11.4.2",
|
|
61
|
+
"ps-list": "^6.0.0",
|
|
62
|
+
"typescript": "^3.8.3"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeam-cli",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.31",
|
|
4
4
|
"description": "Remote control Claude Code (and other AI coding agents) from your mobile phone. Pair your device, send prompts, stream responses in real-time, and approve commands — from anywhere.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"LICENSE"
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
|
-
"build": "tsup",
|
|
16
|
+
"build": "tsup && node scripts/vendor-node-pty.js",
|
|
17
17
|
"dev": "tsup --watch",
|
|
18
18
|
"test": "vitest run",
|
|
19
19
|
"typecheck": "tsc --noEmit",
|
|
@@ -74,14 +74,12 @@
|
|
|
74
74
|
"ws": "^8.18.0",
|
|
75
75
|
"zod": "^4.3.6"
|
|
76
76
|
},
|
|
77
|
-
"optionalDependencies": {
|
|
78
|
-
"node-pty": "^1.0.0"
|
|
79
|
-
},
|
|
80
77
|
"devDependencies": {
|
|
81
78
|
"@codeagent/shared": "*",
|
|
82
79
|
"@types/node": "^22.0.0",
|
|
83
80
|
"@types/qrcode-terminal": "^0.12.0",
|
|
84
81
|
"@types/ws": "^8.5.0",
|
|
82
|
+
"node-pty": "^1.1.0",
|
|
85
83
|
"tsup": "^8.0.0",
|
|
86
84
|
"typescript": "^6.0.3",
|
|
87
85
|
"vitest": "^4.1.5"
|