@agentv/core 4.24.0 → 4.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/{chunk-CUVG5O5P.js → chunk-SJ5SN7RJ.js} +4 -4
- package/dist/{chunk-CUVG5O5P.js.map → chunk-SJ5SN7RJ.js.map} +1 -1
- package/dist/index.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/{ts-eval-loader-SYQYQPMC.js → ts-eval-loader-F7Y5QBKH.js} +2 -2
- package/package.json +1 -1
- /package/dist/{ts-eval-loader-SYQYQPMC.js.map → ts-eval-loader-F7Y5QBKH.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
toCamelCaseDeep,
|
|
130
130
|
toSnakeCaseDeep,
|
|
131
131
|
tokensPerTool
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-SJ5SN7RJ.js";
|
|
133
133
|
import {
|
|
134
134
|
COMMON_TARGET_SETTINGS,
|
|
135
135
|
TEST_MESSAGE_ROLES,
|
|
@@ -1722,8 +1722,6 @@ var RunBudgetTracker = class {
|
|
|
1722
1722
|
|
|
1723
1723
|
// src/evaluation/hooks.ts
|
|
1724
1724
|
import { spawnSync } from "node:child_process";
|
|
1725
|
-
var ANSI_YELLOW = "\x1B[33m";
|
|
1726
|
-
var ANSI_RESET = "\x1B[0m";
|
|
1727
1725
|
function parseEnvOutput(stdout) {
|
|
1728
1726
|
const result = {};
|
|
1729
1727
|
for (const line of stdout.split("\n")) {
|
|
@@ -1746,7 +1744,7 @@ function runBeforeSessionHook(command) {
|
|
|
1746
1744
|
const isWindows = process.platform === "win32";
|
|
1747
1745
|
const shell = isWindows ? "cmd" : "sh";
|
|
1748
1746
|
const shellFlag = isWindows ? "/c" : "-c";
|
|
1749
|
-
console.log(
|
|
1747
|
+
console.log(`Running before_session hook: ${command}`);
|
|
1750
1748
|
const result = spawnSync(shell, [shellFlag, command], {
|
|
1751
1749
|
encoding: "utf8",
|
|
1752
1750
|
// Do not inherit stdio — capture stdout for parsing, forward stderr manually
|