From 4760a334060f71ed1df3a8d73dfb7309053f07a2 Mon Sep 17 00:00:00 2001 From: mforce <> Date: Sun, 3 May 2026 19:47:06 -0700 Subject: [PATCH] chore: bump to 0.1.5 with CHANGELOG for setup wizard and auth fixes 0.1.5 covers the claudely setup wizard, persistent config, loadSettings decoupling, llamacpp auth_token fix for Claude Max users, and the setup wizard connection test auth header fix. --- CHANGELOG.md | 29 ++++++++++++++++++++++++++++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3776c31..6316d34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,32 @@ section is also used as the body of the Release notes by the ## [Unreleased] +## [0.1.5] - 2026-05-03 + +### Added +- `claudely setup` interactive wizard: walks through provider, base URL, + auth token, connection test with model discovery, and default model + selection. Saves to a platform-native config file (`~/.config/claudely/` + on Linux, `~/Library/Application Support/claudely/` on macOS, + `%APPDATA%\claudely\` on Windows). +- Persistent config loaded on every run. Precedence: CLI flag > env var > + config file > provider default. +- New `src/config.ts` consolidates all config I/O: `configDir()`, + `configPath()`, `loadConfig()`, `saveConfig()`, and `loadSettings()` + (moved from compat.ts to decouple I/O from business logic). + +### Fixed +- llamacpp provider switched from `api_key` to `auth_token` envStyle — + fixes 401 errors for Claude Max users whose OAuth session token was + overriding `ANTHROPIC_API_KEY`. +- Setup wizard connection test now sends `Authorization: Bearer` header — + previously fetched `/v1/models` without auth, causing silent failures on + servers that require a key. + +### Changed +- `loadSettings()` moved from `compat.ts` to `config.ts`. `compat.ts` now + contains only business logic (no `fs` import). + ## [0.1.4] - 2026-05-02 ### Added @@ -90,7 +116,8 @@ section is also used as the body of the Release notes by the `--` separator. - CI workflow (Node 20, 22) and npm publish workflow triggered by GitHub Release. -[Unreleased]: https://github.com/mforce/claudely/compare/v0.1.4...HEAD +[Unreleased]: https://github.com/mforce/claudely/compare/v0.1.5...HEAD +[0.1.5]: https://github.com/mforce/claudely/compare/v0.1.4...v0.1.5 [0.1.4]: https://github.com/mforce/claudely/compare/v0.1.3...v0.1.4 [0.1.3]: https://github.com/mforce/claudely/compare/v0.1.2...v0.1.3 [0.1.2]: https://github.com/mforce/claudely/compare/v0.1.1...v0.1.2 diff --git a/package-lock.json b/package-lock.json index 2374a8d..e311977 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "claudely", - "version": "0.1.4", + "version": "0.1.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "claudely", - "version": "0.1.4", + "version": "0.1.5", "license": "MIT", "dependencies": { "@inquirer/prompts": "^7.2.0" diff --git a/package.json b/package.json index 68f1625..78e5f8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claudely", - "version": "0.1.4", + "version": "0.1.5", "description": "Claude, locally. Launch Claude Code against a local LLM (LM Studio, Ollama, llama.cpp, or any Anthropic-compatible endpoint). Unaffiliated community helper.", "license": "MIT", "author": "mforce",