@technomoron/agent-run 0.99.16 → 0.99.17
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/CHANGES +5 -0
- package/README.md +1 -1
- package/dist/agent-run.js +19 -3
- package/package.json +1 -1
package/CHANGES
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
Version 0.99.17 (2026-05-06)
|
|
5
|
+
----------------------------
|
|
6
|
+
* Generate Codex native skills under `CODEX_HOME/skills` so runtime skill discovery matches generated profiles.
|
|
7
|
+
* Remove stale legacy Codex skill copies from `live/.agents/skills` during profile updates.
|
|
8
|
+
|
|
4
9
|
Version 0.99.16 (2026-05-03)
|
|
5
10
|
----------------------------
|
|
6
11
|
* Move review history out of generated `live/` directories into persistent profile `reviews/` directories and migrate legacy live review files.
|
package/README.md
CHANGED
package/dist/agent-run.js
CHANGED
|
@@ -1078,6 +1078,8 @@ function buildRenderContext(projectRoot, profileDir, configRoot, manifest, env)
|
|
|
1078
1078
|
guardrails: manifest.guardrails
|
|
1079
1079
|
};
|
|
1080
1080
|
const reviewDir = resolveRuntimePath(configRoot, manifest.paths.reviewDir, env, baseContext);
|
|
1081
|
+
const memoriesDir = resolveRuntimePath(configRoot, manifest.paths.memoriesDir, env, baseContext);
|
|
1082
|
+
const codexHomeDir = path.join(memoriesDir, 'codex-home');
|
|
1081
1083
|
const paths = {
|
|
1082
1084
|
profileDir,
|
|
1083
1085
|
liveDir,
|
|
@@ -1087,11 +1089,11 @@ function buildRenderContext(projectRoot, profileDir, configRoot, manifest, env)
|
|
|
1087
1089
|
reviewConsolidatedFile: manifest.paths.reviewConsolidatedFile
|
|
1088
1090
|
? resolveRuntimePath(configRoot, manifest.paths.reviewConsolidatedFile, env, baseContext)
|
|
1089
1091
|
: path.join(reviewDir, 'REVIEW.md'),
|
|
1090
|
-
memoriesDir
|
|
1092
|
+
memoriesDir,
|
|
1091
1093
|
globalMemoryDir: globalMemoryDir(configRoot),
|
|
1092
|
-
codexHomeDir
|
|
1094
|
+
codexHomeDir,
|
|
1093
1095
|
overridesDir: path.join(profileDir, 'overrides'),
|
|
1094
|
-
codexSkillsDir: path.join(
|
|
1096
|
+
codexSkillsDir: path.join(codexHomeDir, 'skills'),
|
|
1095
1097
|
claudeSkillsDir: path.join(liveDir, '.claude', 'skills'),
|
|
1096
1098
|
binDir: path.join(liveDir, 'bin')
|
|
1097
1099
|
};
|
|
@@ -1445,13 +1447,27 @@ function syncRuntimeDirs(context) {
|
|
|
1445
1447
|
fs.mkdirSync(dir, { recursive: true });
|
|
1446
1448
|
}
|
|
1447
1449
|
migrateLiveReviewFiles(context);
|
|
1450
|
+
removeLegacyCodexSkillDirs(context);
|
|
1448
1451
|
removeLegacyCodeReviewSkillDirs(context);
|
|
1449
1452
|
}
|
|
1453
|
+
function removeLegacyCodexSkillDirs(context) {
|
|
1454
|
+
const legacyCodexSkillsDir = path.join(context.paths.liveDir, '.agents', 'skills');
|
|
1455
|
+
if (path.resolve(legacyCodexSkillsDir) === path.resolve(context.paths.codexSkillsDir)) {
|
|
1456
|
+
return;
|
|
1457
|
+
}
|
|
1458
|
+
for (const skill of context.skills) {
|
|
1459
|
+
const legacySkillDir = path.join(legacyCodexSkillsDir, skill.name);
|
|
1460
|
+
if (fs.existsSync(legacySkillDir)) {
|
|
1461
|
+
fs.rmSync(legacySkillDir, { recursive: true, force: true });
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1450
1465
|
function removeLegacyCodeReviewSkillDirs(context) {
|
|
1451
1466
|
if (!context.skills.some((skill) => skill.name === 'code-review-organizer')) {
|
|
1452
1467
|
return;
|
|
1453
1468
|
}
|
|
1454
1469
|
for (const dir of [
|
|
1470
|
+
path.join(context.paths.liveDir, '.agents', 'skills', 'code-review'),
|
|
1455
1471
|
path.join(context.paths.codexSkillsDir, 'code-review'),
|
|
1456
1472
|
path.join(context.paths.claudeSkillsDir, 'code-review')
|
|
1457
1473
|
]) {
|