opencara 0.24.0 → 0.24.1
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 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4563,6 +4563,7 @@ function buildBatchPollRequest(agents) {
|
|
|
4563
4563
|
const batchAgents = agents.map((a) => {
|
|
4564
4564
|
const entry = {
|
|
4565
4565
|
agent_name: a.name,
|
|
4566
|
+
agent_id: a.agentId,
|
|
4566
4567
|
roles: a.roles,
|
|
4567
4568
|
model: a.model,
|
|
4568
4569
|
tool: a.tool
|
|
@@ -5701,7 +5702,7 @@ function sleep2(ms, signal) {
|
|
|
5701
5702
|
async function startAgent(agentId, platformUrl, agentInfo, reviewDeps, consumptionDeps, options) {
|
|
5702
5703
|
const client = new ApiClient(platformUrl, {
|
|
5703
5704
|
authToken: options?.authToken,
|
|
5704
|
-
cliVersion: "0.24.
|
|
5705
|
+
cliVersion: "0.24.1",
|
|
5705
5706
|
versionOverride: options?.versionOverride,
|
|
5706
5707
|
onTokenRefresh: options?.onTokenRefresh
|
|
5707
5708
|
});
|
|
@@ -6066,7 +6067,7 @@ async function startBatchAgents(config, agents, pollIntervalMs, oauthToken, opti
|
|
|
6066
6067
|
const { versionOverride, verbose, instancesOverride, agentOwner, userOrgs } = options;
|
|
6067
6068
|
const client = new ApiClient(config.platformUrl, {
|
|
6068
6069
|
authToken: oauthToken,
|
|
6069
|
-
cliVersion: "0.24.
|
|
6070
|
+
cliVersion: "0.24.1",
|
|
6070
6071
|
versionOverride,
|
|
6071
6072
|
onTokenRefresh: () => getValidToken(config.platformUrl, { configPath: config.authFile })
|
|
6072
6073
|
});
|
|
@@ -6415,7 +6416,7 @@ agentCommand.command("start").description("Start agents in polling mode").option
|
|
|
6415
6416
|
}
|
|
6416
6417
|
config = loadConfig();
|
|
6417
6418
|
}
|
|
6418
|
-
console.log(formatVersionBanner("0.24.
|
|
6419
|
+
console.log(formatVersionBanner("0.24.1", "a5721e1"));
|
|
6419
6420
|
if (config.agents && config.agents.length > 0) {
|
|
6420
6421
|
const toolEntries = config.agents.map((a) => ({
|
|
6421
6422
|
tool: a.tool,
|
|
@@ -7237,7 +7238,7 @@ var statusCommand = new Command4("status").description("Show agent config, conne
|
|
|
7237
7238
|
});
|
|
7238
7239
|
|
|
7239
7240
|
// src/index.ts
|
|
7240
|
-
var program = new Command5().name("opencara").description("OpenCara \u2014 distributed AI code review agent").version(`${"0.24.
|
|
7241
|
+
var program = new Command5().name("opencara").description("OpenCara \u2014 distributed AI code review agent").version(`${"0.24.1"} (${"a5721e1"})`);
|
|
7241
7242
|
program.addCommand(agentCommand);
|
|
7242
7243
|
program.addCommand(authCommand());
|
|
7243
7244
|
program.addCommand(dedupCommand());
|