@oxagen/cli 5.5.1-269 → 5.5.1-271
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/oxagen.mjs +14 -11
- package/package.json +1 -1
package/oxagen.mjs
CHANGED
|
@@ -33253,7 +33253,7 @@ import { readFileSync as readFileSync12 } from "node:fs";
|
|
|
33253
33253
|
import { dirname as dirname14, resolve as resolve3 } from "node:path";
|
|
33254
33254
|
import { fileURLToPath } from "node:url";
|
|
33255
33255
|
function readVersion() {
|
|
33256
|
-
if (true) return "5.5.1-
|
|
33256
|
+
if (true) return "5.5.1-271";
|
|
33257
33257
|
try {
|
|
33258
33258
|
const here = dirname14(fileURLToPath(import.meta.url));
|
|
33259
33259
|
const pkg = JSON.parse(
|
|
@@ -81403,7 +81403,7 @@ var init_package = __esm({
|
|
|
81403
81403
|
"package.json"() {
|
|
81404
81404
|
package_default = {
|
|
81405
81405
|
name: "@oxagen/cli",
|
|
81406
|
-
version: "5.5.1-
|
|
81406
|
+
version: "5.5.1-271",
|
|
81407
81407
|
description: "Oxagen governance CLI: spend, source tracking, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
|
|
81408
81408
|
type: "module",
|
|
81409
81409
|
main: "./dist/index.js",
|
|
@@ -153708,31 +153708,34 @@ Creating GitHub connection...
|
|
|
153708
153708
|
);
|
|
153709
153709
|
return null;
|
|
153710
153710
|
}
|
|
153711
|
-
let
|
|
153711
|
+
let startUrl;
|
|
153712
153712
|
try {
|
|
153713
153713
|
const result2 = await apiGetOrThrow(
|
|
153714
153714
|
`connections/github/auth-url`,
|
|
153715
153715
|
{ connectionId: connection.publicId },
|
|
153716
153716
|
scope
|
|
153717
153717
|
);
|
|
153718
|
-
|
|
153718
|
+
startUrl = result2.authUrl;
|
|
153719
153719
|
} catch (err2) {
|
|
153720
153720
|
process.stdout.write(
|
|
153721
|
-
` Could not get
|
|
153721
|
+
` Could not get the link that connects GitHub: ${err2 instanceof Error ? err2.message : String(err2)}
|
|
153722
153722
|
`
|
|
153723
153723
|
);
|
|
153724
153724
|
return null;
|
|
153725
153725
|
}
|
|
153726
|
-
process.stdout.write(
|
|
153727
|
-
|
|
153728
|
-
|
|
153729
|
-
|
|
153726
|
+
process.stdout.write(
|
|
153727
|
+
`
|
|
153728
|
+
Opening Oxagen in your browser to connect GitHub...
|
|
153729
|
+
`
|
|
153730
|
+
);
|
|
153731
|
+
process.stdout.write(` URL: ${startUrl}
|
|
153730
153732
|
`);
|
|
153731
153733
|
process.stdout.write(
|
|
153732
|
-
`
|
|
153734
|
+
` Sign in to Oxagen there if it asks. It sends you to GitHub to authorize, then back.
|
|
153735
|
+
If the browser doesn't open, paste the URL above into a browser where you are signed in to Oxagen.
|
|
153733
153736
|
`
|
|
153734
153737
|
);
|
|
153735
|
-
openBrowser(
|
|
153738
|
+
openBrowser(startUrl);
|
|
153736
153739
|
process.stdout.write(
|
|
153737
153740
|
`
|
|
153738
153741
|
Waiting for GitHub authorization (timeout: ${Math.round(poll.timeoutMs / 6e4)} min)...
|
package/package.json
CHANGED