From 44439c951b399886ba353f2e1eaf95f5dc2585dc Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 7 Jun 2026 04:44:07 +0200 Subject: [PATCH] chore: version packages --- CHANGELOG.md | 17 +++++++++++++++++ CLAUDE.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09e559e6..857aba75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # aicodeman +## 0.8.1 + +### Patch Changes + +- Thinking Effort now flows as a soft default the user can override in-session (PR #104, by @TeigenZhang). + + Previously Codeman carried the effort setting as the `CLAUDE_CODE_EFFORT_LEVEL` env var, which Claude Code treats as a hard override — it locked effort for the whole session and rejected in-session `/effort` switching (including switching to `ultracode`). Effort is now injected at spawn time as a CLI soft default that `/effort` can still change freely in either direction: + - Regular levels (`low`/`medium`/`high`/`xhigh`/`max`) are passed via `claude --effort ` (the settings `effortLevel` key silently drops `max`, so the flag is used instead). + - `ultracode` (xhigh effort + standing dynamic-workflow orchestration) is passed via `claude --settings '{"ultracode":true}'`, since the `--effort` flag rejects it. + + Details: + - New `effort` field on the create-session, quick-start, and Ralph-loop request schemas; threaded through `Session._effort` to both spawn paths (tmux `buildSpawnCommand` and direct-PTY `buildInteractiveArgs`), persisted in `SessionState.effort`, and restored on reboot recovery. + - `buildEffortCliArgs()` is the single, allowlist-validated source for both carriers (injection-safe). + - Settings UI adds an "Ultracode (multi-agent workflows)" option to the Thinking Effort dropdown; the frontend no longer emits `CLAUDE_CODE_EFFORT_LEVEL`. + - Legacy migration: sessions persisted with the old env var are auto-migrated into the new `effort` field, and the stale tmux env var is unset so respawned panes are no longer locked. + - Adds `test/effort-injection.test.ts` (13 cases) covering carrier mapping, injection guards, args building, and constructor migration. + ## 0.8.0 ### Minor Changes diff --git a/CLAUDE.md b/CLAUDE.md index 5f673884..a48358c5 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -56,7 +56,7 @@ When user says "COM": CI runs `npm run check:lockfile` on every push/PR, so lockfile drift fails the build even if the `version-packages` script is bypassed. -**Version**: 0.8.0 (must match `package.json`) +**Version**: 0.8.1 (must match `package.json`) ## Project Overview diff --git a/package-lock.json b/package-lock.json index 4a590b07..4942bedd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "aicodeman", - "version": "0.8.0", + "version": "0.8.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "aicodeman", - "version": "0.8.0", + "version": "0.8.1", "hasInstallScript": true, "license": "MIT", "workspaces": [ diff --git a/package.json b/package.json index 3551a4a1..cb452c65 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aicodeman", - "version": "0.8.0", + "version": "0.8.1", "description": "The missing control plane for AI coding agents - run 20 autonomous agents with real-time monitoring and session persistence", "type": "module", "main": "dist/index.js",