@oxagen/cli 5.5.1-263 → 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 -12
- 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",
|
|
@@ -151962,7 +151962,6 @@ var init_dist2 = __esm({
|
|
|
151962
151962
|
var EventSourceParserStream;
|
|
151963
151963
|
var init_stream = __esm({
|
|
151964
151964
|
"../../node_modules/.pnpm/eventsource-parser@3.1.0/node_modules/eventsource-parser/dist/stream.js"() {
|
|
151965
|
-
init_dist2();
|
|
151966
151965
|
init_dist2();
|
|
151967
151966
|
EventSourceParserStream = class extends TransformStream {
|
|
151968
151967
|
constructor({ onError, onRetry, onComment, maxBufferSize } = {}) {
|
|
@@ -153709,31 +153708,34 @@ Creating GitHub connection...
|
|
|
153709
153708
|
);
|
|
153710
153709
|
return null;
|
|
153711
153710
|
}
|
|
153712
|
-
let
|
|
153711
|
+
let startUrl;
|
|
153713
153712
|
try {
|
|
153714
153713
|
const result2 = await apiGetOrThrow(
|
|
153715
153714
|
`connections/github/auth-url`,
|
|
153716
153715
|
{ connectionId: connection.publicId },
|
|
153717
153716
|
scope
|
|
153718
153717
|
);
|
|
153719
|
-
|
|
153718
|
+
startUrl = result2.authUrl;
|
|
153720
153719
|
} catch (err2) {
|
|
153721
153720
|
process.stdout.write(
|
|
153722
|
-
` Could not get
|
|
153721
|
+
` Could not get the link that connects GitHub: ${err2 instanceof Error ? err2.message : String(err2)}
|
|
153723
153722
|
`
|
|
153724
153723
|
);
|
|
153725
153724
|
return null;
|
|
153726
153725
|
}
|
|
153727
|
-
process.stdout.write(
|
|
153728
|
-
|
|
153729
|
-
|
|
153730
|
-
|
|
153726
|
+
process.stdout.write(
|
|
153727
|
+
`
|
|
153728
|
+
Opening Oxagen in your browser to connect GitHub...
|
|
153729
|
+
`
|
|
153730
|
+
);
|
|
153731
|
+
process.stdout.write(` URL: ${startUrl}
|
|
153731
153732
|
`);
|
|
153732
153733
|
process.stdout.write(
|
|
153733
|
-
`
|
|
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.
|
|
153734
153736
|
`
|
|
153735
153737
|
);
|
|
153736
|
-
openBrowser(
|
|
153738
|
+
openBrowser(startUrl);
|
|
153737
153739
|
process.stdout.write(
|
|
153738
153740
|
`
|
|
153739
153741
|
Waiting for GitHub authorization (timeout: ${Math.round(poll.timeoutMs / 6e4)} min)...
|
package/package.json
CHANGED