@uzysjung/agent-harness 26.169.0 → 26.170.0
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-SU2RUN2W.js → chunk-MGFWOWF4.js} +13 -9
- package/dist/{chunk-SU2RUN2W.js.map → chunk-MGFWOWF4.js.map} +1 -1
- package/dist/index.js +1606 -600
- package/dist/index.js.map +1 -1
- package/dist/trust-tier-drift.js +1 -1
- package/package.json +2 -1
- package/templates/agents/implementer.md +3 -0
- package/templates/agents/reviewer.md +3 -3
|
@@ -1117,13 +1117,13 @@ init_esm_shims();
|
|
|
1117
1117
|
// src/install-log.ts
|
|
1118
1118
|
init_esm_shims();
|
|
1119
1119
|
import { createHash } from "crypto";
|
|
1120
|
-
import { existsSync as existsSync2, mkdirSync as mkdirSync2, readFileSync as readFileSync3, rmSync, statSync, writeFileSync
|
|
1120
|
+
import { existsSync as existsSync2, mkdirSync as mkdirSync2, readFileSync as readFileSync3, rmSync, statSync, writeFileSync } from "fs";
|
|
1121
1121
|
import { dirname as dirname3, join as join4 } from "path";
|
|
1122
1122
|
|
|
1123
1123
|
// package.json
|
|
1124
1124
|
var package_default = {
|
|
1125
1125
|
name: "@uzysjung/agent-harness",
|
|
1126
|
-
version: "26.
|
|
1126
|
+
version: "26.170.0",
|
|
1127
1127
|
description: "Curate vetted AI-coding skills & plugins by your tech stack \u2014 install only what you need, across Claude Code, Codex, OpenCode & Antigravity",
|
|
1128
1128
|
type: "module",
|
|
1129
1129
|
publishConfig: {
|
|
@@ -1145,6 +1145,7 @@ var package_default = {
|
|
|
1145
1145
|
build: "tsup",
|
|
1146
1146
|
dev: "tsup --watch",
|
|
1147
1147
|
"gen:compat": "npm run build && node scripts/gen-compatibility.mjs",
|
|
1148
|
+
"gen:legacy-fingerprints": "node scripts/gen-legacy-fingerprints.mjs",
|
|
1148
1149
|
test: "vitest run",
|
|
1149
1150
|
"test:watch": "vitest",
|
|
1150
1151
|
"test:coverage": "vitest run --coverage",
|
|
@@ -1267,8 +1268,7 @@ import {
|
|
|
1267
1268
|
constants as fsConstants,
|
|
1268
1269
|
mkdirSync,
|
|
1269
1270
|
readdirSync,
|
|
1270
|
-
readFileSync
|
|
1271
|
-
writeFileSync
|
|
1271
|
+
readFileSync
|
|
1272
1272
|
} from "fs";
|
|
1273
1273
|
import { dirname as dirname2, join as join2 } from "path";
|
|
1274
1274
|
|
|
@@ -1403,13 +1403,16 @@ function backupFile(target, now = /* @__PURE__ */ new Date()) {
|
|
|
1403
1403
|
(c) => copyFileSync(target, c, fsConstants.COPYFILE_EXCL)
|
|
1404
1404
|
);
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1406
|
+
function backupFromCopy(target, source, now = /* @__PURE__ */ new Date()) {
|
|
1407
1407
|
mkdirSync(dirname2(target), { recursive: true });
|
|
1408
1408
|
return claimBackupPath(
|
|
1409
1409
|
`${target}.backup-${formatStamp(now)}`,
|
|
1410
|
-
(c) =>
|
|
1410
|
+
(c) => copyFileSync(source, c, fsConstants.COPYFILE_EXCL)
|
|
1411
1411
|
);
|
|
1412
1412
|
}
|
|
1413
|
+
function claimBackupDir(target, now = /* @__PURE__ */ new Date()) {
|
|
1414
|
+
return claimBackupPath(`${target}.backup-${formatStamp(now)}`, (c) => mkdirSync(c));
|
|
1415
|
+
}
|
|
1413
1416
|
function backupOriginal(backupPath) {
|
|
1414
1417
|
const m = /^(.+)\.backup-\d{8}T\d{6}(?:-\d+)?$/.exec(backupPath);
|
|
1415
1418
|
return m?.[1] ?? null;
|
|
@@ -1698,7 +1701,7 @@ function writeInstallLog(projectDir, log) {
|
|
|
1698
1701
|
const path2 = installLogPath(projectDir);
|
|
1699
1702
|
mkdirSync2(dirname3(path2), { recursive: true });
|
|
1700
1703
|
const marked = { ...normalizeLogOrder(log), excludedKeysMigrated: true };
|
|
1701
|
-
|
|
1704
|
+
writeFileSync(path2, `${JSON.stringify(marked, null, 2)}
|
|
1702
1705
|
`, "utf8");
|
|
1703
1706
|
migrateAwayLegacyLog(projectDir);
|
|
1704
1707
|
return path2;
|
|
@@ -2633,7 +2636,8 @@ export {
|
|
|
2633
2636
|
copyFile,
|
|
2634
2637
|
copyDir,
|
|
2635
2638
|
backupFile,
|
|
2636
|
-
|
|
2639
|
+
backupFromCopy,
|
|
2640
|
+
claimBackupDir,
|
|
2637
2641
|
backupOriginal,
|
|
2638
2642
|
listFilesRecursive,
|
|
2639
2643
|
PROJECT_SKELETON_DIRS,
|
|
@@ -2699,4 +2703,4 @@ export {
|
|
|
2699
2703
|
CATEGORIES,
|
|
2700
2704
|
CATEGORY_TITLES
|
|
2701
2705
|
};
|
|
2702
|
-
//# sourceMappingURL=chunk-
|
|
2706
|
+
//# sourceMappingURL=chunk-MGFWOWF4.js.map
|