agentv 2.5.7 → 2.5.8
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.
|
@@ -1047,9 +1047,6 @@ var require_dist = __commonJS({
|
|
|
1047
1047
|
}
|
|
1048
1048
|
});
|
|
1049
1049
|
|
|
1050
|
-
// src/index.ts
|
|
1051
|
-
import { readFileSync as readFileSync5 } from "node:fs";
|
|
1052
|
-
|
|
1053
1050
|
// ../../node_modules/.bun/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
1054
1051
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
1055
1052
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
@@ -2857,6 +2854,52 @@ function oneOf(literals) {
|
|
|
2857
2854
|
};
|
|
2858
2855
|
}
|
|
2859
2856
|
|
|
2857
|
+
// package.json
|
|
2858
|
+
var package_default = {
|
|
2859
|
+
name: "agentv",
|
|
2860
|
+
version: "2.5.8",
|
|
2861
|
+
description: "CLI entry point for AgentV",
|
|
2862
|
+
type: "module",
|
|
2863
|
+
repository: {
|
|
2864
|
+
type: "git",
|
|
2865
|
+
url: "https://github.com/EntityProcess/agentv.git"
|
|
2866
|
+
},
|
|
2867
|
+
homepage: "https://github.com/EntityProcess/agentv#readme",
|
|
2868
|
+
bugs: {
|
|
2869
|
+
url: "https://github.com/EntityProcess/agentv/issues"
|
|
2870
|
+
},
|
|
2871
|
+
bin: {
|
|
2872
|
+
agentv: "./dist/cli.js"
|
|
2873
|
+
},
|
|
2874
|
+
files: ["dist", "README.md"],
|
|
2875
|
+
scripts: {
|
|
2876
|
+
dev: "bun --watch src/index.ts",
|
|
2877
|
+
build: "tsup && bun run copy-readme",
|
|
2878
|
+
"copy-readme": `bun -e "import { cpSync } from 'fs'; cpSync('../../README.md', 'README.md')"`,
|
|
2879
|
+
prepublishOnly: "bun run copy-readme",
|
|
2880
|
+
typecheck: "tsc --noEmit",
|
|
2881
|
+
lint: "biome check .",
|
|
2882
|
+
format: "biome format --write .",
|
|
2883
|
+
fix: "biome check --write .",
|
|
2884
|
+
test: "bun test",
|
|
2885
|
+
"test:watch": "bun test --watch"
|
|
2886
|
+
},
|
|
2887
|
+
dependencies: {
|
|
2888
|
+
"@agentv/core": "workspace:*",
|
|
2889
|
+
"@mariozechner/pi-agent": "^0.9.0",
|
|
2890
|
+
"@mariozechner/pi-ai": "^0.37.2",
|
|
2891
|
+
"cmd-ts": "^0.14.3",
|
|
2892
|
+
dotenv: "^16.4.5",
|
|
2893
|
+
"fast-glob": "^3.3.3",
|
|
2894
|
+
json5: "^2.2.3",
|
|
2895
|
+
micromatch: "^4.0.8",
|
|
2896
|
+
yaml: "^2.6.1"
|
|
2897
|
+
},
|
|
2898
|
+
devDependencies: {
|
|
2899
|
+
execa: "^9.3.0"
|
|
2900
|
+
}
|
|
2901
|
+
};
|
|
2902
|
+
|
|
2860
2903
|
// src/commands/compare/index.ts
|
|
2861
2904
|
import { readFileSync } from "node:fs";
|
|
2862
2905
|
|
|
@@ -49097,10 +49140,6 @@ var initCmdTsCommand = command({
|
|
|
49097
49140
|
|
|
49098
49141
|
// src/commands/self/index.ts
|
|
49099
49142
|
import { spawn as spawn6 } from "node:child_process";
|
|
49100
|
-
import { readFileSync as readFileSync4 } from "node:fs";
|
|
49101
|
-
var packageJson = JSON.parse(
|
|
49102
|
-
readFileSync4(new URL("../../../package.json", import.meta.url), "utf8")
|
|
49103
|
-
);
|
|
49104
49143
|
function detectPackageManagerFromPath(scriptPath) {
|
|
49105
49144
|
if (scriptPath.includes(".bun")) {
|
|
49106
49145
|
return "bun";
|
|
@@ -49142,7 +49181,7 @@ var updateCommand = command({
|
|
|
49142
49181
|
} else {
|
|
49143
49182
|
pm = detectPackageManager();
|
|
49144
49183
|
}
|
|
49145
|
-
const currentVersion =
|
|
49184
|
+
const currentVersion = package_default.version;
|
|
49146
49185
|
console.log(`Current version: ${currentVersion}`);
|
|
49147
49186
|
console.log(`Updating agentv using ${pm}...
|
|
49148
49187
|
`);
|
|
@@ -49392,11 +49431,10 @@ var validateCommand = command({
|
|
|
49392
49431
|
});
|
|
49393
49432
|
|
|
49394
49433
|
// src/index.ts
|
|
49395
|
-
var packageJson2 = JSON.parse(readFileSync5(new URL("../package.json", import.meta.url), "utf8"));
|
|
49396
49434
|
var app = subcommands({
|
|
49397
49435
|
name: "agentv",
|
|
49398
49436
|
description: "AgentV CLI",
|
|
49399
|
-
version:
|
|
49437
|
+
version: package_default.version,
|
|
49400
49438
|
cmds: {
|
|
49401
49439
|
compare: compareCommand,
|
|
49402
49440
|
convert: convertCommand,
|
|
@@ -49415,4 +49453,4 @@ export {
|
|
|
49415
49453
|
app,
|
|
49416
49454
|
runCli
|
|
49417
49455
|
};
|
|
49418
|
-
//# sourceMappingURL=chunk-
|
|
49456
|
+
//# sourceMappingURL=chunk-H7Z5TVCB.js.map
|