opencara 0.22.7 → 0.22.9
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 +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -165,7 +165,7 @@ function parseTimeout(value) {
|
|
|
165
165
|
if (!match)
|
|
166
166
|
return "10m";
|
|
167
167
|
const minutes = parseInt(match[1], 10);
|
|
168
|
-
if (minutes < 1
|
|
168
|
+
if (minutes < 1)
|
|
169
169
|
return "10m";
|
|
170
170
|
return value;
|
|
171
171
|
}
|
|
@@ -5531,7 +5531,7 @@ function sleep2(ms, signal) {
|
|
|
5531
5531
|
async function startAgent(agentId, platformUrl, agentInfo, reviewDeps, consumptionDeps, options) {
|
|
5532
5532
|
const client = new ApiClient(platformUrl, {
|
|
5533
5533
|
authToken: options?.authToken,
|
|
5534
|
-
cliVersion: "0.22.
|
|
5534
|
+
cliVersion: "0.22.9",
|
|
5535
5535
|
versionOverride: options?.versionOverride,
|
|
5536
5536
|
onTokenRefresh: options?.onTokenRefresh
|
|
5537
5537
|
});
|
|
@@ -5817,7 +5817,7 @@ async function startBatchAgents(config, agents, pollIntervalMs, oauthToken, opti
|
|
|
5817
5817
|
const { versionOverride, verbose, instancesOverride, agentOwner, userOrgs } = options;
|
|
5818
5818
|
const client = new ApiClient(config.platformUrl, {
|
|
5819
5819
|
authToken: oauthToken,
|
|
5820
|
-
cliVersion: "0.22.
|
|
5820
|
+
cliVersion: "0.22.9",
|
|
5821
5821
|
versionOverride,
|
|
5822
5822
|
onTokenRefresh: () => getValidToken(config.platformUrl, { configPath: config.authFile })
|
|
5823
5823
|
});
|
|
@@ -6160,7 +6160,7 @@ agentCommand.command("start").description("Start agents in polling mode").option
|
|
|
6160
6160
|
}
|
|
6161
6161
|
config = loadConfig();
|
|
6162
6162
|
}
|
|
6163
|
-
console.log(formatVersionBanner("0.22.
|
|
6163
|
+
console.log(formatVersionBanner("0.22.9", "cd55793"));
|
|
6164
6164
|
if (config.agents && config.agents.length > 0) {
|
|
6165
6165
|
const toolEntries = config.agents.map((a) => ({
|
|
6166
6166
|
tool: a.tool,
|
|
@@ -6983,7 +6983,7 @@ var statusCommand = new Command4("status").description("Show agent config, conne
|
|
|
6983
6983
|
});
|
|
6984
6984
|
|
|
6985
6985
|
// src/index.ts
|
|
6986
|
-
var program = new Command5().name("opencara").description("OpenCara \u2014 distributed AI code review agent").version(`${"0.22.
|
|
6986
|
+
var program = new Command5().name("opencara").description("OpenCara \u2014 distributed AI code review agent").version(`${"0.22.9"} (${"cd55793"})`);
|
|
6987
6987
|
program.addCommand(agentCommand);
|
|
6988
6988
|
program.addCommand(authCommand());
|
|
6989
6989
|
program.addCommand(dedupCommand());
|