@prover-coder-ai/docker-git 1.0.34 → 1.0.35
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.
|
@@ -1268,7 +1268,12 @@ const findKeyByPriority = (fs, path, cwd, spec) => Effect.gen(function* (_) {
|
|
|
1268
1268
|
return fallback;
|
|
1269
1269
|
}
|
|
1270
1270
|
}
|
|
1271
|
-
const
|
|
1271
|
+
const dockerGitHomeKey = path.join(defaultProjectsRoot(cwd), spec.devKeyName);
|
|
1272
|
+
const dockerGitHomeExisting = yield* _(findExistingPath(fs, dockerGitHomeKey));
|
|
1273
|
+
if (dockerGitHomeExisting !== null) {
|
|
1274
|
+
return dockerGitHomeExisting;
|
|
1275
|
+
}
|
|
1276
|
+
const home = resolveHomeDir();
|
|
1272
1277
|
if (home === null) {
|
|
1273
1278
|
return null;
|
|
1274
1279
|
}
|
|
@@ -1332,7 +1337,7 @@ const ensureDockerImage = (fs, path, cwd, spec) => Effect.gen(function* (_) {
|
|
|
1332
1337
|
);
|
|
1333
1338
|
});
|
|
1334
1339
|
const ghAuthRoot = ".docker-git/.orch/auth/gh";
|
|
1335
|
-
const ghAuthDir = "/
|
|
1340
|
+
const ghAuthDir = "/gh-auth";
|
|
1336
1341
|
const ghImageName = "docker-git-auth-gh:latest";
|
|
1337
1342
|
const ghImageDir = ".docker-git/.orch/auth/gh/.image";
|
|
1338
1343
|
const renderGhDockerfile = () => String.raw`FROM ubuntu:24.04
|
|
@@ -6717,7 +6722,7 @@ const authClaudeLogout = (command) => Effect.gen(function* (_) {
|
|
|
6717
6722
|
}).pipe(Effect.asVoid);
|
|
6718
6723
|
const codexImageName = "docker-git-auth-codex:latest";
|
|
6719
6724
|
const codexImageDir = ".docker-git/.orch/auth/codex/.image";
|
|
6720
|
-
const codexHome = "/
|
|
6725
|
+
const codexHome = "/codex-home";
|
|
6721
6726
|
const ensureCodexOrchLayout = (cwd, codexAuthPath) => migrateLegacyOrchLayout(cwd, {
|
|
6722
6727
|
envGlobalPath: defaultTemplateConfig.envGlobalPath,
|
|
6723
6728
|
envProjectPath: defaultTemplateConfig.envProjectPath,
|
|
@@ -6873,6 +6878,7 @@ const resolveGithubTokenFromGh = (cwd, accountPath) => runDockerAuthCapture(
|
|
|
6873
6878
|
image: ghImageName,
|
|
6874
6879
|
hostPath: accountPath,
|
|
6875
6880
|
containerPath: ghAuthDir,
|
|
6881
|
+
env: `GH_CONFIG_DIR=${ghAuthDir}`,
|
|
6876
6882
|
args: ["auth", "token"],
|
|
6877
6883
|
interactive: false
|
|
6878
6884
|
}),
|
|
@@ -6891,7 +6897,7 @@ const runGithubLogin = (cwd, accountPath, scopes) => runDockerAuth(
|
|
|
6891
6897
|
image: ghImageName,
|
|
6892
6898
|
hostPath: accountPath,
|
|
6893
6899
|
containerPath: ghAuthDir,
|
|
6894
|
-
env: "BROWSER=echo",
|
|
6900
|
+
env: ["BROWSER=echo", `GH_CONFIG_DIR=${ghAuthDir}`],
|
|
6895
6901
|
args: [
|
|
6896
6902
|
"auth",
|
|
6897
6903
|
"login",
|