alink-cli 0.11.12 → 0.11.13

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/ui.js CHANGED
@@ -48134,6 +48134,9 @@ var CREDENTIAL_FILE = join(STATE_DIR, "credential");
48134
48134
  var PID_FILE = join(STATE_DIR, "daemon.pid");
48135
48135
  var STATUS_FILE = join(STATE_DIR, "status.json");
48136
48136
  var LAUNCH_AGENT_LABEL = "com.harmopath.agentlink.daemon";
48137
+ var CLI_VERSION = JSON.parse(
48138
+ readFileSync2(new URL("../package.json", import.meta.url), "utf8")
48139
+ ).version;
48137
48140
  var LAUNCH_AGENT_FILE = join(
48138
48141
  homedir(),
48139
48142
  "Library",
@@ -48316,7 +48319,8 @@ function startDaemon(options) {
48316
48319
  ...process.env,
48317
48320
  T3CODE_HUB_URL: normalizeHub(options.hub),
48318
48321
  T3CODE_HUB_MACHINE_TOKEN: machineToken,
48319
- T3CODE_HUB_ENCKEY: enckey
48322
+ T3CODE_HUB_ENCKEY: enckey,
48323
+ AGENTLINK_CLI_VERSION: CLI_VERSION
48320
48324
  };
48321
48325
  if (process.versions.electron) env3.ELECTRON_RUN_AS_NODE = "1";
48322
48326
  if (options.approval) env3.AGENTLINK_APPROVAL = "1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alink-cli",
3
- "version": "0.11.12",
3
+ "version": "0.11.13",
4
4
  "description": "一条命令把工作机接入 AgentLink,随时随地遥控本机的编码 agent。One command to link your machine to AgentLink and control your coding agents from anywhere.",
5
5
  "keywords": [
6
6
  "acp",