agex 0.1.0 → 0.1.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.
|
@@ -394,9 +394,9 @@ function createCursorParser() {
|
|
|
394
394
|
|
|
395
395
|
// ../run/dist/parsers/format.js
|
|
396
396
|
function shouldUseColors() {
|
|
397
|
-
if (process.env.
|
|
397
|
+
if (process.env.AGEX_NO_COLOR === "1")
|
|
398
398
|
return false;
|
|
399
|
-
if (process.env.
|
|
399
|
+
if (process.env.AGEX_COLOR === "1")
|
|
400
400
|
return true;
|
|
401
401
|
if (process.env.FORCE_COLOR === "1")
|
|
402
402
|
return true;
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
runClaude,
|
|
6
6
|
runCodex,
|
|
7
7
|
runCursor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2ZRS4JND.js";
|
|
9
9
|
|
|
10
10
|
// ../run/dist/run.js
|
|
11
11
|
function buildDebugOutput(output) {
|
|
@@ -38,7 +38,7 @@ async function runAgent(request) {
|
|
|
38
38
|
throw new Error(`Missing required API key: ${apiKeyEnv}`);
|
|
39
39
|
}
|
|
40
40
|
if (request.install) {
|
|
41
|
-
const { ensureAgentInstalled: ensureAgentInstalled2 } = await import("./agents-
|
|
41
|
+
const { ensureAgentInstalled: ensureAgentInstalled2 } = await import("./agents-SBEQWA3C.js");
|
|
42
42
|
await ensureAgentInstalled2(request.agent, void 0, request.installCommand);
|
|
43
43
|
}
|
|
44
44
|
const args = config.args({
|
|
@@ -394,13 +394,15 @@ async function runReview(request) {
|
|
|
394
394
|
agent: request.agent,
|
|
395
395
|
model: request.model,
|
|
396
396
|
prompt: planPrompt,
|
|
397
|
-
cwd: request.cwd
|
|
397
|
+
cwd: request.cwd,
|
|
398
|
+
streamOutput: true
|
|
398
399
|
});
|
|
399
400
|
const execution = await runAgent({
|
|
400
401
|
agent: request.agent,
|
|
401
402
|
model: request.model,
|
|
402
403
|
prompt: plan.json.stdout,
|
|
403
|
-
cwd: request.cwd
|
|
404
|
+
cwd: request.cwd,
|
|
405
|
+
streamOutput: true
|
|
404
406
|
});
|
|
405
407
|
const outputJson = {
|
|
406
408
|
baseRef: request.baseRef,
|
package/dist/cli.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
proov,
|
|
4
4
|
runAgent,
|
|
5
5
|
runReview
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-H3CMLOXO.js";
|
|
7
|
+
import "./chunk-2ZRS4JND.js";
|
|
8
8
|
|
|
9
9
|
// src/commands/proov.ts
|
|
10
10
|
function printHelp() {
|
|
@@ -316,12 +316,7 @@ function parseArgs3(args) {
|
|
|
316
316
|
}
|
|
317
317
|
async function runReview2(args) {
|
|
318
318
|
const request = parseArgs3(args);
|
|
319
|
-
|
|
320
|
-
process.stdout.write(`${result.text}
|
|
321
|
-
|
|
322
|
-
---AGEX_JSON---
|
|
323
|
-
${JSON.stringify(result.json, null, 2)}
|
|
324
|
-
`);
|
|
319
|
+
await runReview(request);
|
|
325
320
|
}
|
|
326
321
|
|
|
327
322
|
// src/cli.ts
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agex",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"tsup": "^8.4.0",
|
|
20
20
|
"typescript": "^5.9.3",
|
|
21
21
|
"vitest": "^2.1.9",
|
|
22
|
-
"agex-
|
|
22
|
+
"agex-review": "0.1.0",
|
|
23
23
|
"agex-browse": "0.1.0",
|
|
24
24
|
"agex-proov": "0.1.0",
|
|
25
|
-
"agex-
|
|
25
|
+
"agex-run": "0.1.0"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsc -p tsconfig.json",
|