opencara 0.23.5 → 0.23.6
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
|
@@ -2441,7 +2441,7 @@ function buildMetadataHeader(verdict, meta) {
|
|
|
2441
2441
|
lines.push(`**Verdict**: ${emoji} ${verdict}`);
|
|
2442
2442
|
return lines.join("\n") + "\n\n";
|
|
2443
2443
|
}
|
|
2444
|
-
var SECTION_VERDICT_PATTERN = /##\s*Verdict\s*\n+\s
|
|
2444
|
+
var SECTION_VERDICT_PATTERN = /##\s*Verdict\s*\n+\s*\*{0,3}(APPROVE|REQUEST_CHANGES|COMMENT)\b/im;
|
|
2445
2445
|
var LEGACY_VERDICT_PATTERN = /^VERDICT:\s*(APPROVE|REQUEST_CHANGES|COMMENT)\s*$/m;
|
|
2446
2446
|
var BLOCKING_ISSUES_PATTERN = /##\s*Blocking issues\s*\n+\s*(yes|no)\b/im;
|
|
2447
2447
|
function extractVerdict(text) {
|
|
@@ -5663,7 +5663,7 @@ function sleep2(ms, signal) {
|
|
|
5663
5663
|
async function startAgent(agentId, platformUrl, agentInfo, reviewDeps, consumptionDeps, options) {
|
|
5664
5664
|
const client = new ApiClient(platformUrl, {
|
|
5665
5665
|
authToken: options?.authToken,
|
|
5666
|
-
cliVersion: "0.23.
|
|
5666
|
+
cliVersion: "0.23.6",
|
|
5667
5667
|
versionOverride: options?.versionOverride,
|
|
5668
5668
|
onTokenRefresh: options?.onTokenRefresh
|
|
5669
5669
|
});
|
|
@@ -5949,7 +5949,7 @@ async function startBatchAgents(config, agents, pollIntervalMs, oauthToken, opti
|
|
|
5949
5949
|
const { versionOverride, verbose, instancesOverride, agentOwner, userOrgs } = options;
|
|
5950
5950
|
const client = new ApiClient(config.platformUrl, {
|
|
5951
5951
|
authToken: oauthToken,
|
|
5952
|
-
cliVersion: "0.23.
|
|
5952
|
+
cliVersion: "0.23.6",
|
|
5953
5953
|
versionOverride,
|
|
5954
5954
|
onTokenRefresh: () => getValidToken(config.platformUrl, { configPath: config.authFile })
|
|
5955
5955
|
});
|
|
@@ -6292,7 +6292,7 @@ agentCommand.command("start").description("Start agents in polling mode").option
|
|
|
6292
6292
|
}
|
|
6293
6293
|
config = loadConfig();
|
|
6294
6294
|
}
|
|
6295
|
-
console.log(formatVersionBanner("0.23.
|
|
6295
|
+
console.log(formatVersionBanner("0.23.6", "9696efa"));
|
|
6296
6296
|
if (config.agents && config.agents.length > 0) {
|
|
6297
6297
|
const toolEntries = config.agents.map((a) => ({
|
|
6298
6298
|
tool: a.tool,
|
|
@@ -7115,7 +7115,7 @@ var statusCommand = new Command4("status").description("Show agent config, conne
|
|
|
7115
7115
|
});
|
|
7116
7116
|
|
|
7117
7117
|
// src/index.ts
|
|
7118
|
-
var program = new Command5().name("opencara").description("OpenCara \u2014 distributed AI code review agent").version(`${"0.23.
|
|
7118
|
+
var program = new Command5().name("opencara").description("OpenCara \u2014 distributed AI code review agent").version(`${"0.23.6"} (${"9696efa"})`);
|
|
7119
7119
|
program.addCommand(agentCommand);
|
|
7120
7120
|
program.addCommand(authCommand());
|
|
7121
7121
|
program.addCommand(dedupCommand());
|