@fractary/codex-cli 0.10.6 → 0.10.7
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.cjs +4 -4
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +4 -4
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -691,7 +691,7 @@ function validateGitHubName(name, type) {
|
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
693
|
function getTempCodexPath(config) {
|
|
694
|
-
const codexRepo = config.
|
|
694
|
+
const codexRepo = config.codex_repo || "codex";
|
|
695
695
|
const sanitizedOrg = sanitizePathComponent(config.organization);
|
|
696
696
|
const sanitizedRepo = sanitizePathComponent(codexRepo);
|
|
697
697
|
return path4__namespace.join(
|
|
@@ -710,7 +710,7 @@ async function isValidGitRepo(repoPath) {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
function getCodexRepoUrl(config) {
|
|
713
|
-
const codexRepo = config.
|
|
713
|
+
const codexRepo = config.codex_repo || "codex";
|
|
714
714
|
validateGitHubName(config.organization, "organization");
|
|
715
715
|
validateGitHubName(codexRepo, "repository");
|
|
716
716
|
return `https://github.com/${config.organization}/${codexRepo}.git`;
|
|
@@ -1947,13 +1947,13 @@ function syncCommand() {
|
|
|
1947
1947
|
console.log(chalk7__default.default.dim(" 1. Check file/directory permissions"));
|
|
1948
1948
|
console.log(chalk7__default.default.dim(" 2. Ensure you have access to the repository"));
|
|
1949
1949
|
} else if (error.message.includes("not found") || error.message.includes("does not exist")) {
|
|
1950
|
-
console.log(chalk7__default.default.dim(` Repository not found: ${config.organization}/${config.
|
|
1950
|
+
console.log(chalk7__default.default.dim(` Repository not found: ${config.organization}/${config.codex_repo || "codex"}`));
|
|
1951
1951
|
console.log(chalk7__default.default.dim(" 1. Verify the repository exists on GitHub"));
|
|
1952
1952
|
console.log(chalk7__default.default.dim(" 2. Check organization and repository names in config"));
|
|
1953
1953
|
} else {
|
|
1954
1954
|
console.log(chalk7__default.default.dim(" 1. Ensure git is installed: git --version"));
|
|
1955
1955
|
console.log(chalk7__default.default.dim(" 2. Check GitHub auth: gh auth status"));
|
|
1956
|
-
console.log(chalk7__default.default.dim(` 3. Verify repo exists: ${config.organization}/${config.
|
|
1956
|
+
console.log(chalk7__default.default.dim(` 3. Verify repo exists: ${config.organization}/${config.codex_repo || "codex"}`));
|
|
1957
1957
|
}
|
|
1958
1958
|
process.exit(1);
|
|
1959
1959
|
}
|