alink-cli 0.8.5 → 0.8.6

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/daemon.js CHANGED
@@ -24275,7 +24275,7 @@ async function pairForCredential() {
24275
24275
  });
24276
24276
  try {
24277
24277
  persistCredential(token);
24278
- console.log(`[daemon] \u5DF2\u7ED1\u5B9A\u5230\u4F60\u7684\u8D26\u53F7 \u2014\u2014 \u51ED\u8BC1\u5DF2\u4FDD\u5B58\u5230 ${CREDENTIAL_FILE}\uFF080600\uFF09\uFF0C\u4E4B\u540E\u88F8\u8DD1 npx alink-cli \u76F4\u63A5\u590D\u7528\u3002`);
24278
+ console.log(`[daemon] \u5DF2\u7ED1\u5B9A\u5230\u4F60\u7684\u8D26\u53F7 \u2014\u2014 \u51ED\u8BC1\u5DF2\u4FDD\u5B58\u5230 ${CREDENTIAL_FILE}\uFF080600\uFF09\uFF0C\u4E4B\u540E\u88F8\u8DD1 alink-cli \u76F4\u63A5\u590D\u7528\u3002`);
24279
24279
  } catch (err) {
24280
24280
  console.error(
24281
24281
  `[daemon] \u51ED\u8BC1\u5199\u5165 ${CREDENTIAL_FILE} \u5931\u8D25\uFF08${err instanceof Error ? err.message : err}\uFF09\u2014\u2014 \u672C\u6B21\u4ECD\u53EF\u7528\uFF0C\u4F46\u4E0B\u6B21\u542F\u52A8\u9700\u8981\u91CD\u65B0\u914D\u5BF9\u3002`
@@ -24743,7 +24743,7 @@ function connect2() {
24743
24743
  if (msg.type === "error" && msg.error === "unsupported_version") {
24744
24744
  clearTimeout(helloTimer);
24745
24745
  const supported = Array.isArray(msg.supported) ? msg.supported.join(", ") : "?";
24746
- console.error(`[daemon] the hub rejected this connection: it only speaks protocol version(s) ${supported}, this daemon offers v${PROTOCOL_VERSION2}. Upgrade the older side (npx alink-cli@latest / npx agentlink-hub@latest).`);
24746
+ console.error(`[daemon] the hub rejected this connection: it only speaks protocol version(s) ${supported}, this daemon offers v${PROTOCOL_VERSION2}. Upgrade the older side (npm install -g alink-cli@latest / npm install -g agentlink-hub@latest).`);
24747
24747
  process.exit(1);
24748
24748
  }
24749
24749
  if (msg.type === "hello") {
@@ -24835,7 +24835,7 @@ function connect2() {
24835
24835
  process.exit(0);
24836
24836
  }
24837
24837
  if (code === 4408) {
24838
- console.error(`[daemon] signed off from your AgentLink app (close 4408). The saved credential is untouched \u2014 run \`npx alink-cli\` to reconnect.`);
24838
+ console.error(`[daemon] signed off from your AgentLink app (close 4408). The saved credential is untouched \u2014 run \`alink-cli\` to reconnect.`);
24839
24839
  process.exit(0);
24840
24840
  }
24841
24841
  if (code === 4401) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alink-cli",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
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",