@mstar-harness/cli 1.7.1 → 1.8.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.
@@ -4283,12 +4283,13 @@ var CODEX_AGENT_NAMES = [
4283
4283
  "writing-specialist",
4284
4284
  "prompt-engineer"
4285
4285
  ];
4286
- var CODEX_ITERATION_SKILL_NAMES = [
4286
+ var CODEX_PROJECT_COMMAND_NAMES = [
4287
4287
  "iteration-start",
4288
4288
  "iteration-drive",
4289
- "iteration-loop"
4289
+ "iteration-loop",
4290
+ "codebase-audit"
4290
4291
  ];
4291
- var GLOBAL_ITERATION_SKILLS_WARNING = "Codex iteration commands (iteration-start / iteration-drive / iteration-loop) are installed as project-local skills under .agents/skills/ only. Global install skips them to avoid polluting other code agents. Re-run with --scope project to enable.";
4292
+ var GLOBAL_ITERATION_SKILLS_WARNING = "Codex project-scoped commands (iteration-start / iteration-drive / iteration-loop / codebase-audit) are installed as project-local skills under .agents/skills/ only. Global install skips them to avoid polluting other code agents. Re-run with --scope project to enable.";
4292
4293
  function globalMarketplacePath() {
4293
4294
  return GLOBAL_MARKETPLACE_PATH;
4294
4295
  }
@@ -4404,14 +4405,14 @@ function iterationSkillGitignoreEntry(skillName) {
4404
4405
  function ensureIterationSkillLinks(dryRun) {
4405
4406
  const notes = [];
4406
4407
  const projectRoot = resolveProjectRoot();
4407
- for (const skillName of CODEX_ITERATION_SKILL_NAMES) {
4408
+ for (const skillName of CODEX_PROJECT_COMMAND_NAMES) {
4408
4409
  const source = iterationCommandSourcePath(skillName);
4409
4410
  const linkPath = projectIterationSkillLinkPath(skillName);
4410
4411
  notes.push(ensureSymlink(source, linkPath, dryRun));
4411
4412
  }
4412
- const gitignoreEntries = CODEX_ITERATION_SKILL_NAMES.map(iterationSkillGitignoreEntry);
4413
+ const gitignoreEntries = CODEX_PROJECT_COMMAND_NAMES.map(iterationSkillGitignoreEntry);
4413
4414
  notes.push(...appendGitignore(projectRoot, gitignoreEntries, dryRun));
4414
- notes.push("Installed Codex project-scoped iteration skills under .agents/skills/ (iteration-start, iteration-drive, iteration-loop) — symlinked to harness commands/*.md.");
4415
+ notes.push("Installed Codex project-scoped command skills under .agents/skills/ (iteration-start, iteration-drive, iteration-loop, codebase-audit) — symlinked to harness commands/*.md.");
4415
4416
  return notes;
4416
4417
  }
4417
4418
  function validateIterationSkillLinks() {
@@ -4420,7 +4421,7 @@ function validateIterationSkillLinks() {
4420
4421
  const gitignorePath = path4.join(projectRoot, ".gitignore");
4421
4422
  const gitignore = fs3.existsSync(gitignorePath) ? fs3.readFileSync(gitignorePath, "utf8") : "";
4422
4423
  const lines = gitignore.split(/\r?\n/);
4423
- for (const skillName of CODEX_ITERATION_SKILL_NAMES) {
4424
+ for (const skillName of CODEX_PROJECT_COMMAND_NAMES) {
4424
4425
  const source = iterationCommandSourcePath(skillName);
4425
4426
  const linkPath = projectIterationSkillLinkPath(skillName);
4426
4427
  errors2.push(...validateSymlink(source, linkPath));
@@ -4590,7 +4591,7 @@ var OMP_PLUGIN_MARKER = ".omp-plugin/plugin.json";
4590
4591
  var CLAUDE_PLUGIN_MARKER = ".claude-plugin/plugin.json";
4591
4592
  var PACKAGE_NAMES = new Set(["morning-star", PLUGIN_NAME, "github:btspoony/mstar-harness"]);
4592
4593
  var SKILL_SMOKE = ["mstar-host", "mstar-harness-core", "pm"];
4593
- var COMMAND_SMOKE = ["iteration-start", "iteration-drive", "iteration-loop"];
4594
+ var COMMAND_SMOKE = ["iteration-start", "iteration-drive", "iteration-loop", "codebase-audit"];
4594
4595
  function ompAvailable() {
4595
4596
  try {
4596
4597
  execFileSync2("omp", ["--version"], { stdio: "pipe", encoding: "utf8" });
@@ -4726,7 +4727,7 @@ function runInit2(scope, dryRun) {
4726
4727
  notes.push(...appendGitignore(projectRoot, [".omp/plugins/", ".omp/plugin-overrides.json", ".omp/plugins/installed_plugins.json"], dryRun));
4727
4728
  }
4728
4729
  notes.push("Verify with: omp plugin list");
4729
- notes.push("Enter PM with /skill:pm ; iteration commands: /iteration-start /iteration-drive /iteration-loop");
4730
+ notes.push("Enter PM with /skill:pm ; commands: /iteration-start /iteration-drive /iteration-loop /codebase-audit");
4730
4731
  notes.push(`Host adapter: skills/mstar-host/references/omp.md`);
4731
4732
  notes.push(`Alternate install without CLI link: omp plugin install ${REPO_URL.replace("https://github.com/", "github:").replace(/\.git$/, "")}`);
4732
4733
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mstar-harness/cli",
3
- "version": "1.7.1",
3
+ "version": "1.8.1",
4
4
  "description": "Morning Star harness installer CLI (OpenCode, Cursor, Codex, ZCode, omp).",
5
5
  "license": "MIT",
6
6
  "repository": {