cc-control-agent 2.3.0-dev-lazy → 2.3.0-dev-wrapper
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/src/cli-wrapper.js +17 -0
- package/package.json +2 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// Set up environment FIRST before any other imports
|
|
4
|
+
if (!process.env.NODE_ENV) {
|
|
5
|
+
process.env.NODE_ENV = "development";
|
|
6
|
+
}
|
|
7
|
+
if (!process.env.RELAY_URL) {
|
|
8
|
+
process.env.RELAY_URL = "https://api.cc.groovyconnect.co";
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// Now import the actual CLI
|
|
12
|
+
import("./cli.js").then(({ default: runCLI }) => {
|
|
13
|
+
runCLI();
|
|
14
|
+
}).catch(error => {
|
|
15
|
+
console.error("Failed to start CLI:", error);
|
|
16
|
+
process.exit(1);
|
|
17
|
+
});
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cc-control-agent",
|
|
3
|
-
"version": "2.3.0-dev-
|
|
3
|
+
"version": "2.3.0-dev-wrapper",
|
|
4
4
|
"description": "CC-Control Desktop Agent - Monitor and control Claude Code sessions remotely",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./src/cli.
|
|
6
|
+
"main": "./dist/src/cli-wrapper.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"cc-control": "./dist/src/cli.js"
|
|
9
9
|
},
|