taskair-cli 1.0.10 → 1.0.12
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -583,7 +583,7 @@ function ConfigUI() {
|
|
|
583
583
|
const addr = srv.address();
|
|
584
584
|
const p = typeof addr === "string" ? 0 : addr?.port || 0;
|
|
585
585
|
setPort(p);
|
|
586
|
-
const authUrl =
|
|
586
|
+
const authUrl = `https://api-taskair.vercel.app/cli-auth?callback=http://localhost:${p}/callback`;
|
|
587
587
|
openBrowser(authUrl);
|
|
588
588
|
});
|
|
589
589
|
} catch (err) {
|
|
@@ -650,7 +650,7 @@ function ConfigUI() {
|
|
|
650
650
|
] }),
|
|
651
651
|
/* @__PURE__ */ jsx4(Spinner, { label: "Opening browser to authenticate\u2026", type: "orbit", color: "magenta" }),
|
|
652
652
|
/* @__PURE__ */ jsx4(Text4, { color: "gray", dimColor: true, children: "If the page does not load, open this URL manually:" }),
|
|
653
|
-
/* @__PURE__ */ jsx4(Text4, { color: "cyan", underline: true, children:
|
|
653
|
+
/* @__PURE__ */ jsx4(Text4, { color: "cyan", underline: true, children: `https://api-taskair.vercel.app/cli-auth?callback=http://localhost:${port}/callback` })
|
|
654
654
|
] }) : /* @__PURE__ */ jsx4(Spinner, { label: "Starting local server\u2026", type: "orbit", color: "magenta" })
|
|
655
655
|
] }),
|
|
656
656
|
stage === "registering" && /* @__PURE__ */ jsxs4(Box4, { flexDirection: "column", children: [
|
|
@@ -2136,7 +2136,7 @@ import { Box as Box16, Text as Text16, useApp as useApp11 } from "ink";
|
|
|
2136
2136
|
import { exec as exec2 } from "child_process";
|
|
2137
2137
|
|
|
2138
2138
|
// src/lib/version.ts
|
|
2139
|
-
var CLI_VERSION = "1.0.
|
|
2139
|
+
var CLI_VERSION = "1.0.12";
|
|
2140
2140
|
|
|
2141
2141
|
// src/commands/upgrade.tsx
|
|
2142
2142
|
import { jsx as jsx16, jsxs as jsxs16 } from "react/jsx-runtime";
|