@kmmao/happy-agent 0.5.1 → 0.5.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://happyserve.xycloud.info`)
122
+ - `HAPPY_SERVER_URL` - API server URL (default: `https://s.sangreal.code.xycloud.info:2443`)
123
123
  - `HAPPY_HOME_DIR` - Home directory for credential storage (default: `~/.happy`)
124
124
 
125
125
  ## Session ID Matching
package/dist/index.cjs CHANGED
@@ -19,10 +19,10 @@ var fs = require('fs');
19
19
  var os = require('os');
20
20
  var http = require('http');
21
21
 
22
- var version = "0.5.1";
22
+ var version = "0.5.3";
23
23
 
24
24
  function loadConfig() {
25
- const serverUrl = (process.env.HAPPY_SERVER_URL ?? "https://happyserve.xycloud.info").replace(/\/+$/, "");
25
+ const serverUrl = (process.env.HAPPY_SERVER_URL ?? "https://s.sangreal.code.xycloud.info:2443").replace(/\/+$/, "");
26
26
  const webappUrl = (process.env.HAPPY_WEBAPP_URL ?? "https://happyapp.xycloud.info").replace(/\/+$/, "");
27
27
  const homeDir = process.env.HAPPY_HOME_DIR ?? node_path.join(node_os.homedir(), ".happy");
28
28
  const credentialPath = node_path.join(homeDir, "agent.key");
package/dist/index.mjs CHANGED
@@ -17,10 +17,10 @@ import { realpathSync, readFileSync as readFileSync$1, mkdirSync as mkdirSync$1,
17
17
  import { tmpdir } from 'os';
18
18
  import { createServer } from 'http';
19
19
 
20
- var version = "0.5.1";
20
+ var version = "0.5.3";
21
21
 
22
22
  function loadConfig() {
23
- const serverUrl = (process.env.HAPPY_SERVER_URL ?? "https://happyserve.xycloud.info").replace(/\/+$/, "");
23
+ const serverUrl = (process.env.HAPPY_SERVER_URL ?? "https://s.sangreal.code.xycloud.info:2443").replace(/\/+$/, "");
24
24
  const webappUrl = (process.env.HAPPY_WEBAPP_URL ?? "https://happyapp.xycloud.info").replace(/\/+$/, "");
25
25
  const homeDir = process.env.HAPPY_HOME_DIR ?? join(homedir(), ".happy");
26
26
  const credentialPath = join(homeDir, "agent.key");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-agent",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "CLI client for controlling Happy Coder agents remotely",
5
5
  "author": "Kirill Dubovitskiy",
6
6
  "license": "MIT",
@@ -43,7 +43,7 @@
43
43
  "release": "npx --no-install release-it"
44
44
  },
45
45
  "dependencies": {
46
- "@kmmao/happy-wire": "^0.11.1",
46
+ "@kmmao/happy-wire": "^0.11.13",
47
47
  "axios": "^1.13.5",
48
48
  "chalk": "^5.6.2",
49
49
  "commander": "^13.1.0",