Commit Graph

2315 Commits

Author SHA1 Message Date
Hunter Bown e6078b7be0 Merge pull request #2809 from Hmbown/codex/v090-credit-contributors
docs: credit recurring v0.9 contributors
2026-06-05 18:59:03 -07:00
Hunter B ddaaa4dea8 docs: credit recurring v0.9 contributors 2026-06-05 18:57:57 -07:00
Hunter Bown 0e80d4efaa Merge pull request #2807 from Hmbown/codex/harvest-2784-npm-readme-clarity
docs(npm): clarify wrapper README configuration
2026-06-05 15:40:47 -07:00
Hunter B 18027ae983 docs(npm): clarify wrapper README configuration
Prompted by #2783/#2784 from @kolief and RefuseOdd.

The submitted patch was not reusable because it included line-number prefixes, but the report highlighted that the wrapper configuration section was hard to scan.
2026-06-05 15:40:04 -07:00
Hunter Bown e8bdfcded4 Merge pull request #2806 from Hmbown/codex/fix-agents-progress-detail-sidebar
fix(tui): keep agent progress visible in sidebar
2026-06-05 10:23:48 -07:00
Hunter B 19f5c7aa6c fix(tui): keep agent progress visible in sidebar
Prioritize running progress detail before branch and duration metadata so narrow sidebars keep the active step visible while still showing branch context at wider widths.
2026-06-05 10:23:06 -07:00
Hunter Bown e03f2ab225 Merge pull request #2805 from Hmbown/codex/harvest-2501-response-cache-identity
Harvest deterministic response cache from #2501
2026-06-05 10:19:12 -07:00
Hunter B 7fc074cc36 feat(client): harvest deterministic response cache
Harvested from PR #2501 by @HUQIANTAO.

Cache only explicit deterministic non-streaming tool-free requests, key entries by provider, route, account fingerprint, and final wire body, and zero usage on hits so local spend counters are not double-counted.

Co-authored-by: HUQIANTAO <58421104+HUQIANTAO@users.noreply.github.com>
2026-06-05 10:18:12 -07:00
Hunter Bown f0827627a6 Merge pull request #2804 from Hmbown/codex/fix-subagent-branch-status
fix(tui): surface subagent branch status
2026-06-05 10:09:11 -07:00
Hunter Bown 8fe8900670 Merge pull request #2803 from Hmbown/codex/harvest-2732-pausable-command-mvp
Harvest pausable custom command MVP from #2732
2026-06-05 10:08:58 -07:00
Hunter B 805d748a78 fix(tui): surface subagent branch status 2026-06-05 10:07:23 -07:00
Hunter B 6b7a05ab1c Harvest pausable custom command MVP
Harvested from PR #2732 by @aboimpinto.

Parse pausable frontmatter for custom slash commands, add a narrow engine pause gate before tool execution, and preserve paused command state across separate messages until explicit resume, cancel, terminal completion, or a new command.

Also centralize strict resume-message detection with negative coverage for deferred or negated phrases, and keep rollback/stash/worktree mutation behavior out of this slice.

Co-authored-by: aboimpinto <1231687+aboimpinto@users.noreply.github.com>
2026-06-05 10:04:31 -07:00
Hunter Bown 71cb2212e8 Merge pull request #2802 from Hmbown/codex/harvest-2782-hf-mcp-concepts
feat(hf): add Hugging Face MCP helpers
2026-06-05 09:37:56 -07:00
idling11 57e4a7b71a feat(hf): harvest Hugging Face MCP helpers
Add /hf and /huggingface command routing for Hugging Face MCP setup/status plus a concepts explainer for provider, MCP, and Hub workflows.

Document the settings-generated Hugging Face MCP configuration path and keep the slice offline: no Hub search command, no direct Hugging Face HTTP requests, and no custom URL encoding.

Refs #2709

Harvested from PR #2782 by @idling11
2026-06-05 09:35:19 -07:00
Hunter Bown fbe8d9ee5d Merge pull request #2801 from Hmbown/codex/harvest-2687-runtime-prompt-metadata
feat(cache): project mode prompts per request
2026-06-05 09:24:30 -07:00
LeoAlex0 1f9f860a3e feat(cache): project mode prompts per request
Keep the stable system prompt mode-agnostic and project mode, approval policy, and tool taxonomy as request-time runtime metadata. This avoids mutating stored history while preserving provider chat-template compatibility.

Harvested from PR #2687 with stewardship turn-metadata cache tests preserved. The replan replay guard remains <= 2, and cache inspect now asserts tool-result budget metadata for both deduplicated=false and deduplicated=true.

(cherry picked from commit 77943304e637545b441ac135f06977065c4b350f)
2026-06-05 09:23:48 -07:00
Hunter Bown 125612575a Merge pull request #2800 from Hmbown/codex/harvest-2627-xiaomi-token-plan-mode
feat(config): add Xiaomi MiMo token plan mode
2026-06-05 09:05:37 -07:00
xyuai be37dbd34e feat(config): add Xiaomi MiMo token plan mode
Harvested from PR #2627 by @xyuai.

Refs #2621 reported by @springeye.
2026-06-05 09:04:45 -07:00
Hunter Bown 15c506b777 Merge pull request #2799 from Hmbown/codex/harvest-2780-hf-env-aliases
feat(tui): add Hugging Face env aliases
2026-06-05 08:45:53 -07:00
hongqitai 5926bf38a6 feat(tui): add Hugging Face env aliases
Harvested from PR #2780 by @hongqitai.
2026-06-05 08:44:29 -07:00
Hunter Bown c3ec4b5df4 Merge pull request #2798 from Hmbown/codex/fix-all-targets-clippy-map-or
test(tui): satisfy all-targets clippy map_or lint
2026-06-05 08:32:23 -07:00
Hunter B f9d7ae7e20 test(tui): satisfy all-targets clippy map_or lint 2026-06-05 08:31:33 -07:00
Hunter Bown b296f5fbdf Merge pull request #2797 from Hmbown/codex/harvest-2790-sofya-search
feat(web_search): add Sofya search provider
2026-06-05 08:30:06 -07:00
yusufgurdogan af8ff03618 feat(web_search): add Sofya search provider
Harvested from PR #2790 by @yusufgurdogan.
2026-06-05 08:29:02 -07:00
Hunter Bown 8e2fc978d0 Merge pull request #2796 from Hmbown/codex/harvest-2788-sidebar-command
feat(tui): add sidebar slash command
2026-06-05 08:24:15 -07:00
Hunter B 4a7731f69d docs(changelog): note sidebar command harvest
Refs #2766 and #2788.
2026-06-05 08:22:25 -07:00
aboimpinto abe366dead feat(tui): add sidebar slash command
Harvested from PR #2788 by @aboimpinto.

Refs #2766.
2026-06-05 08:22:21 -07:00
Hunter Bown 6d27bcaf2c Merge pull request #2795 from Hmbown/codex/harvest-2792-auth-context
fix(tui): enrich auth errors with request context
2026-06-05 08:17:20 -07:00
Matt Van Horn 0b0d815fab fix(tui): enrich auth errors with request context
Harvested from PR #2792 by @mvanhorn.

Reported by @Hmbown in #2665.
2026-06-05 08:16:16 -07:00
Hunter Bown 8dbe0357d0 Merge pull request #2794 from Hmbown/codex/harvest-2789-open-external-url-cfg
fix(tui): expose external URL opener on unsupported targets
2026-06-05 08:07:54 -07:00
Hunter B 5d9f93af4d fix(tui): expose external URL opener on unsupported targets
Harvested from PR #2789 by @ci4ic4.

Found while packaging CodeWhale 0.8.53 for pkgsrc on NetBSD.

Co-authored-by: ci4ic4 <6495973+ci4ic4@users.noreply.github.com>
2026-06-05 08:07:01 -07:00
Hunter Bown 786e5fe01e Merge pull request #2793 from Hmbown/codex/fix-provider-chain-env-test
test(config): isolate provider chain runtime resolution
2026-06-05 08:03:15 -07:00
Hunter B 2e49b14655 test(config): isolate provider chain runtime resolution 2026-06-05 08:02:41 -07:00
Hunter Bown 1d50ed9796 Merge pull request #2779 from Hmbown/codex/harvest-2777-fallback-chain-data
feat(config): add dormant provider fallback chain
2026-06-04 21:33:24 -07:00
Hunter B 93d08a8f61 feat(config): add dormant provider fallback chain
Harvested from PR #2777 by @idling11.

Reported by @hsdbeebou in #2574.

Co-authored-by: idling11 <8055620+idling11@users.noreply.github.com>
2026-06-04 21:32:25 -07:00
Hunter Bown 3ca89255f1 Merge pull request #2778 from Hmbown/codex/harvest-2507-stream-timeout
feat(tui): expose stream chunk timeout config
2026-06-04 21:23:29 -07:00
Hunter B e5fe46db4f feat(tui): expose stream chunk timeout config
Harvested from PR #2507 by @cyq1017.

Reported by @mserrano11 in #2365.

Co-authored-by: cyq1017 <61975706+cyq1017@users.noreply.github.com>
2026-06-04 21:22:15 -07:00
Hunter Bown 0b07b8189c Merge pull request #2776 from Hmbown/codex/harden-path-suffix-project-config
fix(config): keep path suffix out of project overrides
2026-06-04 21:04:23 -07:00
Hunter Bown bf0a3bc462 Merge pull request #2775 from Hmbown/codex/remove-v090-execution-map
docs: drop internal v0.9 execution map
2026-06-04 21:04:07 -07:00
Hunter B cba5537b84 fix(config): keep path suffix out of project overrides 2026-06-04 21:03:41 -07:00
Hunter B b000096cd0 docs: drop internal v0.9 execution map 2026-06-04 21:01:49 -07:00
Hunter Bown b1d4d74a10 Merge pull request #2774 from Hmbown/codex/harvest-2744-mcp-display
fix(mcp): #2744 preserve underscored names in displays
2026-06-04 20:56:37 -07:00
Hunter B 8869f6a722 fix(mcp): #2744 preserve underscored names in displays
Follow up the #2744 MCP routing harvest by reusing the registered-server parser in the runtime API tool listing path and by making approval summaries show the full MCP target route instead of a guessed first underscore segment.

This keeps tool-call routing, runtime metadata, and approval copy aligned for servers such as my_db while avoiding an impossible server-only guess in approval cards that do not have the live MCP registry.

Refs #2744

Verification: cargo fmt --all -- --check; git diff --check; ./scripts/release/check-versions.sh; cargo test -p codewhale-tui --bin codewhale-tui --locked underscored -- --nocapture; cargo test -p codewhale-tui --bin codewhale-tui --locked mcp_pool_call_tool -- --nocapture; cargo clippy -p codewhale-tui --bin codewhale-tui --locked -- -D warnings.

Co-authored-by: cyq1017 <61975706+cyq1017@users.noreply.github.com>

Co-authored-by: puneetdixit200 <236133619+puneetdixit200@users.noreply.github.com>
2026-06-04 20:55:53 -07:00
Hunter Bown 68fb6e3b9d Merge pull request #2772 from Hmbown/codex/harvest-2742-ollama-completions
fix(tui): #2742 avoid static Ollama model suggestions
2026-06-04 20:50:37 -07:00
Hunter B 912d6aed2c fix(tui): #2742 avoid static Ollama model suggestions
Harvested from PR #2742 by @reidliu41

Ollama model IDs are local passthrough tags, so /model static completions should not suggest hosted DeepSeek API models or entrench the stale default local tag. Keep the picker on auto/current/saved local models while the existing /models path fetches installed tags from the configured endpoint.

Verification: cargo fmt --all -- --check; git diff --check; ./scripts/release/check-versions.sh; cargo test -p codewhale-tui --bin codewhale-tui --locked ollama -- --nocapture; cargo clippy -p codewhale-tui --bin codewhale-tui --locked -- -D warnings.

Co-authored-by: reidliu41 <61492567+reidliu41@users.noreply.github.com>
2026-06-04 20:49:54 -07:00
Hunter Bown f483544e6f Merge pull request #2771 from Hmbown/codex/harvest-2759-init-polish
feat(init): harvest LLM-guided AGENTS.md init
2026-06-04 20:40:36 -07:00
HUQIANTAO b527bd507a feat(init): harvest LLM-guided AGENTS.md init
Replace the static AGENTS.md template with a context-gathering /init flow that delegates customized project-guide generation to the agent. Keep the successor PR polish for credential-safe git remotes, devDependency framework detection, workspace Cargo context, and dead untracked-counter cleanup.

This harvest also finishes the maintainer review items by preserving SSH remotes, handling nested git workspaces, sorting collected context deterministically, and detecting SvelteKit via @sveltejs/kit.

Harvested from PR #2759 by @HUQIANTAO

Includes original /init implementation from PR #2745 by @punkcanyang

Co-authored-by: HUQIANTAO <58421104+HUQIANTAO@users.noreply.github.com>

Co-authored-by: Punkcan Yang <36871858+punkcanyang@users.noreply.github.com>
2026-06-04 20:39:48 -07:00
Hunter Bown 95e24194ee Merge pull request #2770 from Hmbown/codex/harvest-2751-workspace-mcp-config
fix(mcp): harvest trusted workspace MCP config
2026-06-04 20:32:13 -07:00
cyq1017 c36e4d7d20 fix(mcp): harvest trusted workspace MCP config
Merge global MCP config with trusted workspace .codewhale/mcp.json files so project MCP servers appear in TUI, CLI, doctor, and runtime API flows. Project stdio servers default cwd to the workspace, project cwd escapes are rejected, and project MCP is ignored until workspace trust is recorded in user-owned config.

Fixes #2749

Reported by @yekern

Harvested from PR #2751 by @cyq1017
2026-06-04 20:31:26 -07:00
Hunter Bown 499ec42c5d Merge pull request #2769 from Hmbown/codex/harvest-2755-provider-auth-rollback
fix(tui): harvest provider auth rollback
2026-06-04 20:16:17 -07:00