12 Commits
Author SHA1 Message Date
1bd273d4d3 fix: isolate OpenClaude config from Claude Code (#1875)
* Rename .claude paths to .openclaude

* test: update skill watcher paths for openclaude

* fix: preserve default secure storage key

Co-authored-by: Cursor <cursoragent@cursor.com>

* chore: address config isolation review comments

* fix: canonicalize secure storage config paths

* test: isolate secure storage config override

* Fix keychain service name config dir handling

Update macOS keychain service naming to honor `OPENCLAUDE_CONFIG_DIR` by resolving the env override directly before falling back to the default config home lookup. Adjust secure storage platform tests to import `envUtils` and keychain helpers dynamically with the same module suffix and restore module mocks correctly, keeping test state isolated and consistent.

* Align diagnostics and keychain with OpenClaude

Updates several utilities to use OpenClaude defaults and naming consistently. Doctor diagnostics now always checks a package name (falling back to `@gitlawb/openclaude`), macOS secure storage service names and related tests now use `OpenClaude`, and keychain prefetch docs were updated to match. This also removes an unused `homeDir` option from local install dir candidates and treats `.claude.json` as a dangerous filesystem target.

* Fix doctor npm uninstall package fallback

Update doctor diagnostics to generate npm global uninstall guidance using a single package-name variable. When `MACRO.PACKAGE_URL` is not set, it now falls back to `@gitlawb/openclaude` instead of `openclaude`, so the suggested cleanup command matches the scoped package install.

* Protect legacy .claude paths from writes

Add .claude to DANGEROUS_DIRECTORIES and sandbox denyWrite lists, extend isClaudeSettingsPath to cover legacy .claude/settings.json paths, and update README to clarify CLAUDE_CONFIG_DIR is not used for background-session storage.

* Protect custom Claude config dir from sandbox writes

* Protect legacy Claude config roots

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 10:51:46 +08:00
TechBrewBossandGitHub c433d20fdc FIX: Reduce stable stringify heap usage (#1104)
* fix stable stringify heap usage

* test stable stringify spacing

* Fix stableStringify spacing guard for fractional values

* fix stable stringify top-level result typing
2026-05-15 00:19:31 +08:00
TechBrewBossandGitHub f34650a10c Migrate legacy config home to .openclaude (#1122) 2026-05-12 21:59:12 +08:00
TechBrewBossandGitHub ed7b6972f9 Feat: Add startup logo palette picker (#1072)
* Add startup logo palette picker

* Address logo picker review feedback
2026-05-09 00:01:53 +08:00
TechBrewBossandGitHub 16726399d8 fix plan mode branding and plan path (#1062) 2026-05-08 15:30:41 +08:00
6636bce74b Add opt-in Karpathy guidelines skill (#909)
* Add opt-in Karpathy guidelines skill

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-04 20:55:05 +08:00
TechBrewBossandGitHub de0e395467 Fix commit attribution configuration (#920)
* fix: configure commit attribution

* fix: avoid duplicate commit-message usage

* fix: clarify commit attribution command

* fix: clarify set usage and default email

* fix: address commit attribution review feedback

* fix: use openclaude email for all attribution

* fix: tighten attribution model formatting
2026-05-04 20:54:00 +08:00
TechBrewBossandGitHub f5ec185609 Store provider profiles in user config (#969) 2026-05-04 20:51:49 +08:00
TechBrewBossandGitHub a8f71f3ac0 Fix user agent loading from OpenClaude config dirs (#972)
* Load OpenClaude agents from config dir

* Address agent path review feedback
2026-05-04 16:26:06 +08:00
TechBrewBossandGitHub 884746dbe9 Provider: Add Hicap gateway provider (#979)
* Add Hicap provider and gateway auth presets

* Fix Hicap compatibility preset coverage

* Authenticate ripgrep download in PR checks

* Use Opus 4.7 as Hicap default

* Address Hicap review feedback

* Address provider review blockers

* Clarify gateway header UI docs

* Remove Hicap endpoint from README
2026-05-04 16:21:11 +08:00
TechBrewBossandGitHub 6dedffe5ff Add OpenAI responses mode and custom auth headers (#906)
* Add OpenAI profile responses and custom auth header support

* Fix knowledge graph config reference in query loop

* Address OpenAI profile review edge cases

* Remove unused getGlobalConfig import

Delete an unused import of getGlobalConfig from src/query.ts. This cleans up dead code and avoids unused-import lint warnings; no functional behavior changes.

* Address follow-up OpenAI profile review comments

* Refine OpenAI responses auth review fixes

* Fix custom auth header default scheme
2026-04-26 20:24:03 +08:00
TechBrewBossandGitHub 5a21d05741 Persist active provider profile across restarts (#833)
* Persist active provider profile across restarts

* Clear stale startup provider overrides

* Fix provider profile restart fallback

* Fix provider profile restart fallback

* Omit empty OpenAI API key from startup env

* Fix startup override settings typing
2026-04-24 19:36:21 +08:00