opencara 0.23.0 → 0.23.2
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/index.js +8 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3869,7 +3869,10 @@ function checkoutForImplement(owner, repo, issueNumber, branchName, baseDir) {
|
|
|
3869
3869
|
}
|
|
3870
3870
|
}
|
|
3871
3871
|
const credArgs = ghAvailable ? ["-c", `credential.helper=${GH_CREDENTIAL_HELPER2}`] : [];
|
|
3872
|
-
gitExec2(
|
|
3872
|
+
gitExec2(
|
|
3873
|
+
[...credArgs, "fetch", "--force", "origin", "+refs/heads/*:refs/heads/*"],
|
|
3874
|
+
bareRepoPath
|
|
3875
|
+
);
|
|
3873
3876
|
let defaultBranch;
|
|
3874
3877
|
try {
|
|
3875
3878
|
defaultBranch = gitExec2(
|
|
@@ -5571,7 +5574,7 @@ function sleep2(ms, signal) {
|
|
|
5571
5574
|
async function startAgent(agentId, platformUrl, agentInfo, reviewDeps, consumptionDeps, options) {
|
|
5572
5575
|
const client = new ApiClient(platformUrl, {
|
|
5573
5576
|
authToken: options?.authToken,
|
|
5574
|
-
cliVersion: "0.23.
|
|
5577
|
+
cliVersion: "0.23.2",
|
|
5575
5578
|
versionOverride: options?.versionOverride,
|
|
5576
5579
|
onTokenRefresh: options?.onTokenRefresh
|
|
5577
5580
|
});
|
|
@@ -5857,7 +5860,7 @@ async function startBatchAgents(config, agents, pollIntervalMs, oauthToken, opti
|
|
|
5857
5860
|
const { versionOverride, verbose, instancesOverride, agentOwner, userOrgs } = options;
|
|
5858
5861
|
const client = new ApiClient(config.platformUrl, {
|
|
5859
5862
|
authToken: oauthToken,
|
|
5860
|
-
cliVersion: "0.23.
|
|
5863
|
+
cliVersion: "0.23.2",
|
|
5861
5864
|
versionOverride,
|
|
5862
5865
|
onTokenRefresh: () => getValidToken(config.platformUrl, { configPath: config.authFile })
|
|
5863
5866
|
});
|
|
@@ -6200,7 +6203,7 @@ agentCommand.command("start").description("Start agents in polling mode").option
|
|
|
6200
6203
|
}
|
|
6201
6204
|
config = loadConfig();
|
|
6202
6205
|
}
|
|
6203
|
-
console.log(formatVersionBanner("0.23.
|
|
6206
|
+
console.log(formatVersionBanner("0.23.2", "0987fd4"));
|
|
6204
6207
|
if (config.agents && config.agents.length > 0) {
|
|
6205
6208
|
const toolEntries = config.agents.map((a) => ({
|
|
6206
6209
|
tool: a.tool,
|
|
@@ -7023,7 +7026,7 @@ var statusCommand = new Command4("status").description("Show agent config, conne
|
|
|
7023
7026
|
});
|
|
7024
7027
|
|
|
7025
7028
|
// src/index.ts
|
|
7026
|
-
var program = new Command5().name("opencara").description("OpenCara \u2014 distributed AI code review agent").version(`${"0.23.
|
|
7029
|
+
var program = new Command5().name("opencara").description("OpenCara \u2014 distributed AI code review agent").version(`${"0.23.2"} (${"0987fd4"})`);
|
|
7027
7030
|
program.addCommand(agentCommand);
|
|
7028
7031
|
program.addCommand(authCommand());
|
|
7029
7032
|
program.addCommand(dedupCommand());
|