alink-cli 0.11.7 → 0.11.8
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 +1 -1
- package/dist/ui.js +1 -1
- package/package.json +1 -1
package/bin/agentlink.js
CHANGED
|
@@ -208,7 +208,7 @@ async function browserLogin(hub) {
|
|
|
208
208
|
const url = httpUrl(hub, "/login");
|
|
209
209
|
url.searchParams.set("cli_callback", `http://127.0.0.1:${address.port}/callback`);
|
|
210
210
|
url.searchParams.set("cli_state", state);
|
|
211
|
-
console.log(`\n请在浏览器完成
|
|
211
|
+
console.log(`\n请在浏览器完成 AgentLink 账号验证:\n${url}\n`);
|
|
212
212
|
const command = process.platform === "darwin" ? "open" : process.platform === "win32" ? "cmd" : "xdg-open";
|
|
213
213
|
const commandArgs = process.platform === "win32" ? ["/c", "start", "", url.toString()] : [url.toString()];
|
|
214
214
|
const opener = spawn(command, commandArgs, { detached: true, stdio: "ignore" });
|
package/dist/ui.js
CHANGED
|
@@ -48824,7 +48824,7 @@ function LoginView({
|
|
|
48824
48824
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: "gray", children: "Esc \u8FD4\u56DE\u83DC\u5355" })
|
|
48825
48825
|
] });
|
|
48826
48826
|
}
|
|
48827
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: "cyan", children: "\u23F3 \u8BF7\u5728\u6D4F\u89C8\u5668\u5B8C\u6210
|
|
48827
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: "cyan", children: "\u23F3 \u8BF7\u5728\u6D4F\u89C8\u5668\u5B8C\u6210 AgentLink \u8D26\u53F7\u9A8C\u8BC1..." });
|
|
48828
48828
|
}
|
|
48829
48829
|
function saveSessionJwt(jwt, hub) {
|
|
48830
48830
|
const sessionFile = join2(STATE_DIR, "session");
|
package/package.json
CHANGED