kaizen-agent 1.5.0 → 1.5.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/README.md CHANGED
@@ -423,7 +423,8 @@ kaizen upgrade
423
423
  That pulls the latest workflow, relinks anything new, and clears the installer cache
424
424
  `bunx` keeps — which is what otherwise leaves you on an old version without saying
425
425
  so. `bunx kaizen-agent upgrade` does the same thing if you would rather not have the
426
- command.
426
+ command. `kaizen --version` prints what is installed; `bunx kaizen-agent --version`
427
+ prints what npm has.
427
428
 
428
429
  Then, in any project, just ask for something:
429
430
 
package/cli/install.ts CHANGED
@@ -70,6 +70,11 @@ const onPath = new Set(
70
70
  const found = (r: string) =>
71
71
  AGENTS.filter((a) => existsSync(join(r, a.dir)) || onPath.has(a.dir));
72
72
 
73
+ if (args.has("--version") || args.has("-v") || args.has("version")) {
74
+ console.log(versionOf(dirname(import.meta.dir)));
75
+ process.exit(0);
76
+ }
77
+
73
78
  if (uninstall) { await removeEverything(); process.exit(0); }
74
79
 
75
80
  // Everything kaizen put on this machine, in one place, so uninstalling needs no
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaizen-agent",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Staged workflow for AI agents — code, writing, research, operations: plan, human approval, build, independent review, bounded fix loop.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,7 +20,8 @@
20
20
  "install-links": "bun run cli/install.ts",
21
21
  "check": "bun run cli/install.ts --check",
22
22
  "postpublish": "sh cli/release.sh",
23
- "publish:gh": "sh cli/publish-gh.sh"
23
+ "publish:gh": "sh cli/publish-gh.sh",
24
+ "release": "bun publish && bun run publish:gh"
24
25
  },
25
26
  "repository": {
26
27
  "type": "git",