@renseiai/agentfactory-cli 0.8.11 → 0.8.12
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator-runner.d.ts","sourceRoot":"","sources":["../../../src/lib/orchestrator-runner.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAEL,KAAK,YAAY,EAEjB,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"orchestrator-runner.d.ts","sourceRoot":"","sources":["../../../src/lib/orchestrator-runner.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAEL,KAAK,YAAY,EAEjB,KAAK,iBAAiB,EAEvB,MAAM,wBAAwB,CAAA;AAkB/B,MAAM,WAAW,wBAAwB;IACvC,wCAAwC;IACxC,YAAY,EAAE,MAAM,CAAA;IACpB,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,6CAA6C;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,mCAAmC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,kDAAkD;IAClD,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,iEAAiE;IACjE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAA;IACpD,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAA;IAC5C,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAA;IAC/C,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;IAC1D,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAA;CAClD;AAED,MAAM,WAAW,wBAAwB;IACvC,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,KAAK,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAA;KAAE,CAAC,CAAA;IAChD,SAAS,EAAE,YAAY,EAAE,CAAA;CAC1B;AAMD,wBAAgB,UAAU,IAAI,MAAM,CASnC;AAED,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAYjD;AA0CD,wBAAsB,eAAe,CACnC,MAAM,EAAE,wBAAwB,GAC/B,OAAO,CAAC,wBAAwB,CAAC,CAmGnC"}
|
|
@@ -9,7 +9,14 @@ import path from 'path';
|
|
|
9
9
|
import { execSync } from 'child_process';
|
|
10
10
|
import { createOrchestrator, } from '@renseiai/agentfactory';
|
|
11
11
|
import { LinearIssueTrackerClient, createLinearStatusMappings, linearPlugin, } from '@renseiai/plugin-linear';
|
|
12
|
-
|
|
12
|
+
let codeIntelligencePlugin;
|
|
13
|
+
try {
|
|
14
|
+
;
|
|
15
|
+
({ codeIntelligencePlugin } = await import('@renseiai/agentfactory-code-intelligence'));
|
|
16
|
+
}
|
|
17
|
+
catch {
|
|
18
|
+
// code-intelligence is optional — agents run without af_code_* tools
|
|
19
|
+
}
|
|
13
20
|
// ---------------------------------------------------------------------------
|
|
14
21
|
// Helpers
|
|
15
22
|
// ---------------------------------------------------------------------------
|
|
@@ -88,7 +95,7 @@ export async function runOrchestrator(config) {
|
|
|
88
95
|
linearApiKey: config.linearApiKey,
|
|
89
96
|
issueTrackerClient,
|
|
90
97
|
statusMappings,
|
|
91
|
-
toolPlugins: [linearPlugin, codeIntelligencePlugin],
|
|
98
|
+
toolPlugins: [linearPlugin, codeIntelligencePlugin].filter(Boolean),
|
|
92
99
|
};
|
|
93
100
|
if (config.templateDir) {
|
|
94
101
|
orchestratorConfig.templateDir = config.templateDir;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-runner.d.ts","sourceRoot":"","sources":["../../../src/lib/worker-runner.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"worker-runner.d.ts","sourceRoot":"","sources":["../../../src/lib/worker-runner.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgCH,MAAM,WAAW,kBAAkB;IACjC,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,MAAM,EAAE,MAAM,CAAA;IACd,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,mDAAmD;IACnD,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,gFAAgF;IAChF,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACpB;AA4ED;;;;;GAKG;AACH,wBAAsB,SAAS,CAC7B,MAAM,EAAE,kBAAkB,EAC1B,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,IAAI,CAAC,CAi/Bf"}
|
|
@@ -10,7 +10,14 @@ import { execSync } from 'child_process';
|
|
|
10
10
|
import os from 'os';
|
|
11
11
|
import { createOrchestrator, createLogger, } from '@renseiai/agentfactory';
|
|
12
12
|
import { LinearIssueTrackerClient, createLinearStatusMappings, linearPlugin, } from '@renseiai/plugin-linear';
|
|
13
|
-
|
|
13
|
+
let codeIntelligencePlugin;
|
|
14
|
+
try {
|
|
15
|
+
;
|
|
16
|
+
({ codeIntelligencePlugin } = await import('@renseiai/agentfactory-code-intelligence'));
|
|
17
|
+
}
|
|
18
|
+
catch {
|
|
19
|
+
// code-intelligence is optional — agents run without af_code_* tools
|
|
20
|
+
}
|
|
14
21
|
// ---------------------------------------------------------------------------
|
|
15
22
|
// Helpers (stateless)
|
|
16
23
|
// ---------------------------------------------------------------------------
|
|
@@ -424,7 +431,7 @@ export async function runWorker(config, signal) {
|
|
|
424
431
|
worktreePath: path.resolve(gitRoot, '..', path.basename(gitRoot) + '.wt'),
|
|
425
432
|
issueTrackerClient,
|
|
426
433
|
statusMappings,
|
|
427
|
-
toolPlugins: [linearPlugin, codeIntelligencePlugin],
|
|
434
|
+
toolPlugins: [linearPlugin, codeIntelligencePlugin].filter(Boolean),
|
|
428
435
|
apiActivityConfig: {
|
|
429
436
|
baseUrl: workerConfig.apiUrl,
|
|
430
437
|
apiKey: workerConfig.apiKey,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@renseiai/agentfactory-cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI tools for AgentFactory — local orchestrator, remote worker, queue admin",
|
|
6
6
|
"author": "Rensei AI (https://rensei.ai)",
|
|
@@ -114,10 +114,12 @@
|
|
|
114
114
|
],
|
|
115
115
|
"dependencies": {
|
|
116
116
|
"dotenv": "^17.2.3",
|
|
117
|
-
"@renseiai/
|
|
118
|
-
"@renseiai/agentfactory
|
|
119
|
-
"@renseiai/
|
|
120
|
-
|
|
117
|
+
"@renseiai/plugin-linear": "0.8.12",
|
|
118
|
+
"@renseiai/agentfactory": "0.8.12",
|
|
119
|
+
"@renseiai/agentfactory-server": "0.8.12"
|
|
120
|
+
},
|
|
121
|
+
"optionalDependencies": {
|
|
122
|
+
"@renseiai/agentfactory-code-intelligence": "0.8.12"
|
|
121
123
|
},
|
|
122
124
|
"devDependencies": {
|
|
123
125
|
"@types/node": "^22.5.4",
|