@kmmao/happy-agent 0.2.1 → 0.2.3

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/README.md CHANGED
@@ -119,7 +119,7 @@ Exit code 0 when agent becomes idle, 1 on timeout.
119
119
 
120
120
  ## Environment Variables
121
121
 
122
- - `HAPPY_SERVER_URL` - API server URL (default: `https://api.cluster-fluster.com`)
122
+ - `HAPPY_SERVER_URL` - API server URL (default: `https://happyserve.xycloud.info`)
123
123
  - `HAPPY_HOME_DIR` - Home directory for credential storage (default: `~/.happy`)
124
124
 
125
125
  ## Session ID Matching
package/dist/index.cjs CHANGED
@@ -11,10 +11,10 @@ var qrcode = require('qrcode-terminal');
11
11
  var node_events = require('node:events');
12
12
  var socket_ioClient = require('socket.io-client');
13
13
 
14
- var version = "0.2.1";
14
+ var version = "0.2.3";
15
15
 
16
16
  function loadConfig() {
17
- const serverUrl = (process.env.HAPPY_SERVER_URL ?? "https://api.cluster-fluster.com").replace(/\/+$/, "");
17
+ const serverUrl = (process.env.HAPPY_SERVER_URL ?? "https://happyserve.xycloud.info").replace(/\/+$/, "");
18
18
  const homeDir = process.env.HAPPY_HOME_DIR ?? node_path.join(node_os.homedir(), ".happy");
19
19
  const credentialPath = node_path.join(homeDir, "agent.key");
20
20
  return { serverUrl, homeDir, credentialPath };
package/dist/index.mjs CHANGED
@@ -9,10 +9,10 @@ import qrcode from 'qrcode-terminal';
9
9
  import { EventEmitter } from 'node:events';
10
10
  import { io } from 'socket.io-client';
11
11
 
12
- var version = "0.2.1";
12
+ var version = "0.2.3";
13
13
 
14
14
  function loadConfig() {
15
- const serverUrl = (process.env.HAPPY_SERVER_URL ?? "https://api.cluster-fluster.com").replace(/\/+$/, "");
15
+ const serverUrl = (process.env.HAPPY_SERVER_URL ?? "https://happyserve.xycloud.info").replace(/\/+$/, "");
16
16
  const homeDir = process.env.HAPPY_HOME_DIR ?? join(homedir(), ".happy");
17
17
  const credentialPath = join(homeDir, "agent.key");
18
18
  return { serverUrl, homeDir, credentialPath };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-agent",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "CLI client for controlling Happy Coder agents remotely",
5
5
  "author": "Kirill Dubovitskiy",
6
6
  "license": "MIT",
@@ -43,8 +43,8 @@
43
43
  "release": "npx --no-install release-it"
44
44
  },
45
45
  "dependencies": {
46
- "@kmmao/happy-wire": "^0.1.0",
47
- "axios": "^1.13.2",
46
+ "@kmmao/happy-wire": "^0.2.7",
47
+ "axios": "^1.13.5",
48
48
  "chalk": "^5.6.2",
49
49
  "commander": "^13.1.0",
50
50
  "qrcode-terminal": "^0.12.0",