diff --git a/CHANGELOG.md b/CHANGELOG.md index d2a52e82..8c4b763b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,12 @@ All notable changes to Freehand are recorded here. The format follows ## [Unreleased] +## [0.1.3] - 2026-12-06 + ### Added +- ChatGPT plan limits appear in Settings → Usage and on the sidebar's service label when the Codex CLI is installed + and signed in. Limits come from the account signed in to Codex; installing that CLI from Settings requires + confirmation. Usage opens on the service in use and distinguishes plan-covered usage from money spent (#166). - On the new-session page the model picker groups the other connections' models under their connection names; picking one makes that connection the default and uses the model for the new conversation, as Settings' "Make default" does. Existing conversations keep their own connection's picker. In the browser's model pickers, @@ -35,6 +40,17 @@ All notable changes to Freehand are recorded here. The format follows instead of leaving them behind the ellipsis. ### Fixed +- Session listings and forks accept wrapped and bare-list transcripts. Malformed transcript entries, non-string + text parts and context-only messages no longer crash untitled-session fallback titles or hide other sessions (#192). +- Session metadata, messages and titles are saved atomically. Moving a session to Trash holds its lock throughout + the move; garbage collection keeps traces for restorable Trash entries and respects retention for snapshots whose + project folders are missing, including temporarily unmounted drives (#165). +- Undo stays available when a project contains a nested Git repository with no commit yet, without removing the + protection against overwriting nested repositories during a restore (#168). +- Chat Completions sends tool results as strings without rewriting the transcript, avoiding HTTP 422 rejections + from gateways that require string tool content (#99). +- MiniMax M4 receives supported reasoning efforts on its direct Chat Completions endpoints, without sending + unsupported Off/None settings or changing gateway routing (#181). - MiniMax-M3.1-Flash gets the reasoning effort chosen instead of always thinking at the service's default (max). - GLM-5.4 and GLM-5.2 (Z.ai, Zhipu) get the reasoning effort chosen, as GLM-5.3 already did, instead of always thinking at the service's default. diff --git a/desktop/package-lock.json b/desktop/package-lock.json index cbd917df..661d53af 100644 --- a/desktop/package-lock.json +++ b/desktop/package-lock.json @@ -1,12 +1,12 @@ { "name": "freehand-desktop", - "version": "0.1.2", + "version": "0.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "freehand-desktop", - "version": "0.1.2", + "version": "0.1.3", "license": "MIT", "dependencies": { "electron-updater": "^6.6.2", diff --git a/desktop/package.json b/desktop/package.json index 83335fb4..5bd1f67e 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -1,7 +1,7 @@ { "name": "freehand-desktop", "productName": "Freehand", - "version": "0.1.2", + "version": "0.1.3", "description": "A local-first AI workbench with a bundled Freehand CLI.", "homepage": "https://github.com/microsoft/FreeHand", "license": "MIT", diff --git a/docs/releases/0.1.3.md b/docs/releases/0.1.3.md new file mode 100644 index 00000000..4bb937ad --- /dev/null +++ b/docs/releases/0.1.3.md @@ -0,0 +1,126 @@ +# Freehand v0.1.3 (Preview) + +A preview update with cloud service presets, connection-aware model selection, plan limits and safer saved sessions. + +## New Features + +- **Cloud service presets:** connect to Amazon Bedrock, Azure OpenAI, Claude in Microsoft Foundry, or Google Vertex AI + from the CLI or Settings → Models. Bedrock uses a regional API key; Azure asks for the resource and deployment. + Vertex uses Google Cloud Application Default Credentials and the optional `freehand-ai[vertex]` dependency. + (#173, #175, #177) +- **Model lists per connection:** save exactly which discovered or custom model IDs each connection offers. + New conversations group models by connection; choosing another connection makes it the default for new sessions + without changing existing conversations. Recent and favorite models stay with their own connection. (#112, #113, #186) +- **Reasoning controls that match the service:** the effort picker offers the levels supported by each model at its + service, including Off/On where appropriate. Unsupported selections map to the nearest supported level with a + notice; models absent from the bundled catalog keep all levels. (#184) +- **ChatGPT plan limits:** see plan usage in Settings → Usage and beside the active service in the sidebar. + Limits are read from the account signed in to the Codex CLI, which must be installed and signed in separately. + Installing it from Settings asks for confirmation; plan-covered usage is not presented as money spent. (#166) +- **More useful search:** Go anywhere (⌘K) shows the matching conversation line, while sidebar search highlights + matching words and keeps them visible in long lines. (#172, #174) +- **Headless slash commands:** `freehand -p`, including continued and resumed sessions, expands message-style slash + commands, skills, `/init` and `/review` just like interactive sessions. Project commands still require trust. (#157) + +## Bug Fixes + +- Edited or malformed transcripts no longer break session listings or forks: wrapped and bare-list histories are + accepted, and title fallback handles non-string text and context-only messages safely. (#192) +- Session metadata, messages and titles are saved atomically. Trash keeps the session lock during a move, and garbage + collection preserves restorable Trash traces and respects snapshot retention when a project folder is missing. (#165) +- Undo remains available when a project contains a nested Git repository with no commit yet; restore protection for + nested repositories remains in place. (#168) +- Chat Completions tool results are sent as strings without changing the saved transcript, fixing HTTP 422 failures + at compatible gateways that require string tool content. (#99) +- MiniMax M4, MiniMax-M3.1-Flash, GLM-5.2 and GLM-5.4 receive supported reasoning-effort settings instead of silently + using service defaults. Unsupported thinking-off settings are not sent to models that always reason. + (#181, #184, #185) +- File suggestions preserve non-ASCII, quoted and escaped filenames; newly saved images do not overwrite surviving + attachments after earlier images have been removed. (#123, #124, #171) +- MCP handles non-object diagnostic output, detects cyclic or incomplete tool pagination, uses valid socket paths + under long Unicode home directories and returns completed HTTP results without waiting for SSE to close. + It reports when a server closes stdout; persistent-server recovery limitations remain below. (#122, #127, #135–#137) +- Hooks that start background processes no longer incorrectly time out or refuse commands. (#152) +- Interrupted Markdown exports remain readable, malformed metadata no longer blocks session lists, failed terminal + startup releases its descriptors, WebSocket proxies handle IPv6 destinations, and pull request links preserve + special characters in branch names. (#126, #128, #131, #132, #138) + +## Upgrade & Desktop Install + +For an installation made with the official install script: + +```sh +freehand update +``` + +For a PyPI installation, use the tool and Python environment you originally installed with: + +```sh +python -m pip install --upgrade freehand-ai +# or: uv tool upgrade freehand-ai +# or: pipx upgrade freehand-ai +``` + +Restart Freehand, then run `freehand --version` (expected: `freehand 0.1.3`). For the web interface, restart +`freehand web` and refresh the browser page. Vertex AI requires the optional `[vertex]` extra and Google Cloud +Application Default Credentials. The optional Copilot SDK requires Python 3.11 or later; see [Copilot setup][copilot]. + +> [!WARNING] +> These are unsigned preview installers. macOS apps are ad-hoc signed, not Apple Developer ID signed or notarized. +> Quit Freehand and install manually; automatic in-place macOS installation is not supported for these previews. + +**Desktop users on 0.1.0 or 0.1.1 must manually install a newer release once.** Updating the standalone CLI does not +update the desktop app or its bundled CLI. Use the installer matching your architecture from **Assets**: + +| Platform | Installer | +| --- | --- | +| macOS (Apple Silicon) | [ARM64 DMG][mac-arm64] | +| macOS (Intel) | [Intel DMG][mac-x64] | +| Linux (x86-64) | [AppImage][linux-appimage] · [deb][linux-deb] · [RPM][linux-rpm] | + +Verify downloads against [SHA256SUMS-desktop.txt][desktop-checksums]. Mac ZIP archives and update metadata are also +included under Assets. RPM upgrades use the matching RPM and `dnf`; there is no Freehand dnf repository. + +
+macOS Gatekeeper / quarantine note + +Quit Freehand, then drag **Freehand.app** into **Applications**. If Gatekeeper blocks this preview, only if you trust +this official build and have verified its checksum, clear its quarantine attribute: + +```sh +xattr -cr /Applications/Freehand.app +``` + +Launch Freehand from Applications. This does not make the app Developer ID signed or notarized. + +
+ +## Known Limitations + +- Native Windows is not yet supported. We are actively working on Windows compatibility and testing, and expect to + make it available soon. CLI and web use under WSL2 remain supported. Linux ARM64 desktop packages and WSL2 desktop GUI + builds are not covered by the release matrix. +- Copilot support remains experimental; supported models and SDK behavior may change. +- Persistent MCP servers can still produce timeout tracebacks, and repeated calls after stdout closes may time out + rather than fail promptly ([#182][mcp-timeouts]). A crashed persistent server may remain unusable while calls keep + it active, instead of restarting on the next call ([#153][mcp-recovery]). The transport fixes above do not resolve + these recovery cases. +- A failed desktop background-service replacement can still leave the interface waiting to reconnect. The recovery + changes in [#115][desktop-recovery] are not part of this release. Quitting and reopening the app, or reinstalling + it when its bundled CLI is damaged, may be necessary. + +Thanks to everyone who reported issues and contributed PRs in this release! + +**Full Changelog**: https://github.com/microsoft/FreeHand/compare/v0.1.2...v0.1.3 · [CHANGELOG.md][changelog] + +[copilot]: https://github.com/microsoft/FreeHand/blob/v0.1.3/docs/copilot.md +[changelog]: https://github.com/microsoft/FreeHand/blob/v0.1.3/CHANGELOG.md +[mcp-timeouts]: https://github.com/microsoft/FreeHand/issues/182 +[mcp-recovery]: https://github.com/microsoft/FreeHand/issues/153 +[desktop-recovery]: https://github.com/microsoft/FreeHand/pull/115 +[mac-arm64]: https://github.com/microsoft/FreeHand/releases/download/v0.1.3/Freehand-0.1.3-arm64.dmg +[mac-x64]: https://github.com/microsoft/FreeHand/releases/download/v0.1.3/Freehand-0.1.3.dmg +[linux-appimage]: https://github.com/microsoft/FreeHand/releases/download/v0.1.3/Freehand-0.1.3.AppImage +[linux-deb]: https://github.com/microsoft/FreeHand/releases/download/v0.1.3/freehand-desktop_0.1.3_amd64.deb +[linux-rpm]: https://github.com/microsoft/FreeHand/releases/download/v0.1.3/freehand-desktop-0.1.3.x86_64.rpm +[desktop-checksums]: https://github.com/microsoft/FreeHand/releases/download/v0.1.3/SHA256SUMS-desktop.txt diff --git a/src/freehand/__init__.py b/src/freehand/__init__.py index f851c6fc..20cab210 100644 --- a/src/freehand/__init__.py +++ b/src/freehand/__init__.py @@ -1,3 +1,3 @@ """Freehand: an agent harness that leaves the decisions to the model.""" -__version__ = "0.1.2" +__version__ = "0.1.3" diff --git a/src/freehand/runtime/agent.py b/src/freehand/runtime/agent.py index f1dec5c3..ec5587c3 100755 --- a/src/freehand/runtime/agent.py +++ b/src/freehand/runtime/agent.py @@ -70,7 +70,7 @@ iter_sse, read_stream = _providers.iter_sse, _providers.read_stream image_mime = _providers.image_mime -VERSION = "0.1.2" +VERSION = "0.1.3" H = Path(os.environ.get("FREEHAND_SESSION", "/freehand")) RUNTIME_DIR = Path(__file__).resolve().parent RETRY_DELAY_S = 0.2