pullfrog 0.1.23 → 0.1.24
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/cli.mjs +3 -2
- package/dist/index.js +2 -1
- package/dist/utils/codexHome.d.ts +3 -2
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -101867,7 +101867,7 @@ var import_semver = __toESM(require_semver2(), 1);
|
|
|
101867
101867
|
// package.json
|
|
101868
101868
|
var package_default = {
|
|
101869
101869
|
name: "pullfrog",
|
|
101870
|
-
version: "0.1.
|
|
101870
|
+
version: "0.1.24",
|
|
101871
101871
|
type: "module",
|
|
101872
101872
|
bin: {
|
|
101873
101873
|
pullfrog: "dist/cli.mjs",
|
|
@@ -107629,6 +107629,7 @@ function installCodexAuth() {
|
|
|
107629
107629
|
mkdirSync5(opencodeDir, { recursive: true });
|
|
107630
107630
|
writeFileSync5(authPath, `${JSON.stringify(opencodeAuth, null, 2)}
|
|
107631
107631
|
`, { mode: 384 });
|
|
107632
|
+
process.env.XDG_DATA_HOME = xdgDataHome;
|
|
107632
107633
|
log.info(`\xBB installed Codex auth at ${authPath}`);
|
|
107633
107634
|
return {
|
|
107634
107635
|
authPath,
|
|
@@ -163004,7 +163005,7 @@ async function run2() {
|
|
|
163004
163005
|
}
|
|
163005
163006
|
|
|
163006
163007
|
// cli.ts
|
|
163007
|
-
var VERSION10 = "0.1.
|
|
163008
|
+
var VERSION10 = "0.1.24";
|
|
163008
163009
|
var bin = basename2(process.argv[1] || "");
|
|
163009
163010
|
var PROG = bin === "pf" || bin === "pullfrog" ? bin : "pullfrog";
|
|
163010
163011
|
var rawArgs = process.argv.slice(2);
|
package/dist/index.js
CHANGED
|
@@ -100067,7 +100067,7 @@ var import_semver = __toESM(require_semver2(), 1);
|
|
|
100067
100067
|
// package.json
|
|
100068
100068
|
var package_default = {
|
|
100069
100069
|
name: "pullfrog",
|
|
100070
|
-
version: "0.1.
|
|
100070
|
+
version: "0.1.24",
|
|
100071
100071
|
type: "module",
|
|
100072
100072
|
bin: {
|
|
100073
100073
|
pullfrog: "dist/cli.mjs",
|
|
@@ -105871,6 +105871,7 @@ function installCodexAuth() {
|
|
|
105871
105871
|
mkdirSync5(opencodeDir, { recursive: true });
|
|
105872
105872
|
writeFileSync4(authPath, `${JSON.stringify(opencodeAuth, null, 2)}
|
|
105873
105873
|
`, { mode: 384 });
|
|
105874
|
+
process.env.XDG_DATA_HOME = xdgDataHome;
|
|
105874
105875
|
log.info(`\xBB installed Codex auth at ${authPath}`);
|
|
105875
105876
|
return {
|
|
105876
105877
|
authPath,
|
|
@@ -23,6 +23,7 @@ export interface InstalledCodexAuth {
|
|
|
23
23
|
* caller treats null as "no codex auth, fall through to API key flow".
|
|
24
24
|
*
|
|
25
25
|
* The env value is server-side guaranteed fresh by `maybeRotateCodexSecret`
|
|
26
|
-
* in the run-context endpoint. We
|
|
27
|
-
*
|
|
26
|
+
* in the run-context endpoint. We parse + write it here and set
|
|
27
|
+
* `process.env.XDG_DATA_HOME` so every opencode subprocess discovers the
|
|
28
|
+
* auth.json; no refresh, no DB interaction. */
|
|
28
29
|
export declare function installCodexAuth(): InstalledCodexAuth | null;
|