alink-cli 0.8.1 → 0.8.2

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/bin/agentlink.js CHANGED
@@ -351,6 +351,7 @@ async function doTui() {
351
351
  );
352
352
  process.exit(1);
353
353
  }
354
+ process.env.AGENTLINK_RENDER_TUI = "1";
354
355
  await import(new URL("../dist/ui.js", import.meta.url));
355
356
  }
356
357
 
package/dist/ui.js CHANGED
@@ -48892,8 +48892,7 @@ function MachinesView({ onDone }) {
48892
48892
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: "gray", children: "Enter \u7EE7\u7EED \xB7 Esc \u53D6\u6D88" })
48893
48893
  ] });
48894
48894
  }
48895
- var invokedByCli = typeof process.argv[1] === "string" && (/[\/\\](?:bin[\/\\])?agentlink\.js$/.test(process.argv[1]) || /[\/\\]alink-cli$/.test(process.argv[1]) || /[\/\\]agentlink$/.test(process.argv[1]));
48896
- if (invokedByCli) {
48895
+ if (process.env.AGENTLINK_RENDER_TUI === "1") {
48897
48896
  render_default(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(App2, {}));
48898
48897
  }
48899
48898
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alink-cli",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
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",