Commit Graph

2688 Commits

Author SHA1 Message Date
CodeWhale Agent 89a9981bf9 Merge PR #2879: Hugging Face provider docs and tests
Harvested from PR #2879 by @mvanhorn

Co-authored-by: mvanhorn <455140+mvanhorn@users.noreply.github.com>
2026-06-12 13:56:03 -07:00
CodeWhale Agent 1dc4c279ac Merge PR #3005: provider metadata registry
Harvested from PR #3005 by @sximelon

Co-authored-by: sximelon <15710511+sximelon@users.noreply.github.com>
2026-06-12 13:52:29 -07:00
CodeWhale Agent 1147655397 Merge commit 'refs/tmp/pr-2995' into work/v0.8.59-listed-pr-harvest 2026-06-12 13:50:25 -07:00
Hunter Bown 368b0b704d Merge pull request #3177 from Hmbown/scratch/v0.8.59-experimental-config
feat(config): surface experimental feature flags
2026-06-12 13:36:57 -07:00
CodeWhale Agent 81265ec71b feat(config): surface experimental feature flags 2026-06-12 13:36:13 -07:00
Hunter Bown 62e7f0e686 Merge pull request #3176 from Hmbown/scratch/v0.8.59-release-finish-gpt55-20260612
fix(release): harden v0.8.59 terminal and file stability
2026-06-12 13:29:34 -07:00
CodeWhale Agent d921b5670d fix(tui): keep Ghostty motion override live 2026-06-12 13:27:29 -07:00
CodeWhale Agent a0724bc5af fix(release): harden Windows shell env and PDF extraction
(cherry picked from commit 2d5f2d235849cd2fa520937a529935759e3782a3)
2026-06-12 12:12:24 -07:00
Hunter Bown a448194b81 feat(runtime-api): Phase 0 + Phase 1 — brand-neutral naming, capabilities, and dynamic tool protocol types (#3168)
Phase 0:
- Rename runtime API metadata to CodeWhale Runtime API while keeping
  DeepSeek-prefixed env vars and headers as aliases.
- Add CODEWHALE_RUNTIME_TOKEN primary with DEEPSEEK_RUNTIME_TOKEN fallback.
- Accept x-codewhale-runtime-token header alongside x-deepseek-runtime-token.
- Change generated token prefix from dst_ to cwrt_.
- Add runtime_api_version, codewhale_version, transports, capabilities,
  and experimental to /v1/runtime/info while preserving old fields.
- Update CLI help for --auth-token and --cors-origin.
- Add CODEWHALE_CORS_ORIGINS with DEEPSEEK_CORS_ORIGINS alias.

Phase 1:
- Split inline pub mod runtime into crates/protocol/src/runtime/mod.rs.
- Add DynamicToolSpec, DynamicToolItemStatus, DynamicToolCallParams,
  DynamicToolCallResult, DynamicToolCallContent, and TurnEnvironmentParams.
- Accept dynamic_tools and environments on thread create, plus
  dynamic_tools and environment_id on turn start (no-op in Phase 0/1).

Tests:
- Update existing auth/health/runtime_info tests for new naming.
- Add header alias tests and dynamic-tool request deserialization tests.
- Add protocol crate round-trip tests for all new types.

Co-authored-by: CodeWhale Agent <codewhale-agent@hmbown.local>
2026-06-12 10:51:54 -07:00
CodeWhale Agent fc999162c0 build(release): static linux x64 binaries with musl
Harvested from PR #2903 by @wavezhang.
2026-06-12 10:18:08 -07:00
CodeWhale Agent 8fc2b904de docs: record full 90-PR equivalence audit and lane B landings
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 10:00:53 -07:00
CodeWhale Agent d7de0a8865 Merge PR #2971: expose matched approval rule metadata
Verified on scratch/v0.8.59-clean-train-20260612: build and hooks/core tests green.
2026-06-12 09:59:53 -07:00
CodeWhale Agent 4d84d66e67 Merge PR #2943: normalize macOS SUPER (Cmd) to CONTROL for keyboard shortcuts
Closes #2938. Verified on scratch/v0.8.59-clean-train-20260612: build and focused TUI modifier tests green.
2026-06-12 09:59:53 -07:00
CodeWhale Agent c08f161e1f docs: add v0.8.59 triage runbook and scratch-branch integration guidance
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 09:56:29 -07:00
Hunter B ca826bb23b fix(tui): clarify Codex response errors 2026-06-12 08:34:46 -07:00
Hunter B ccc0315831 chore(release): prepare v0.8.59
Cut the 0.8.59 changelog section, bump workspace/npm/README versions, refresh Cargo.lock and generated web facts, and sync the embedded TUI changelog slice.

Also fixes the short codew shim to prefer its sibling codewhale dispatcher before PATH so fresh installs do not delegate to an older global binary.
2026-06-12 07:05:05 -07:00
cyq1017 42de833d80 feat(config): add concise verbosity mode
Harvests #3052 onto the v0.8.59 release branch. Noninteractive CLI launches default to concise output discipline unless config, env, or --verbosity overrides it; interactive TUI launches remain normal by default.

Also forwards CODEWHALE_VERBOSITY as the primary env bridge while keeping DEEPSEEK_VERBOSITY for compatibility, documents the setting, and records @cyq1017 credit in both changelogs.
2026-06-12 06:41:01 -07:00
Hunter B cf910b7da2 feat(goal): persist thread goals through app server 2026-06-12 06:28:47 -07:00
Hunter B 8f265e204f fix(tui): use muted selection highlights in dark themes 2026-06-12 06:13:08 -07:00
Hunter B db8039ae46 fix(tui): keep sidebar hover live while loading 2026-06-12 06:03:07 -07:00
Hunter B 84cae206aa fix(tui): scope context menu actions to sidebar 2026-06-12 06:00:25 -07:00
Hunter B 18b865991f fix(acp): advertise terminal auth method 2026-06-12 05:54:18 -07:00
Hunter B b424848f7e fix(context): keep generated project context ephemeral 2026-06-12 05:52:00 -07:00
Hunter B 438104510c feat(tui): label collapsed command activity 2026-06-12 05:47:23 -07:00
Hunter B efcf299712 feat(models): add Kimi K2.7 Code defaults 2026-06-12 05:43:38 -07:00
Hunter B de9a0131cf test(tools): avoid approximate constant lint 2026-06-12 05:36:15 -07:00
Hunter B 0986cabb1d feat(tui): add context source map report
Add an explicit /context report|json|summary source-map surface while preserving plain /context as the existing inspector.

Expose the same diagnostic map through doctor --context-json for headless checks. The report uses the existing compaction token heuristic and labels counts as conservative estimates rather than exact provider billing.

Modified harvest from PR #3150 by @idling11.

Co-authored-by: idling11 <8055620+idling11@users.noreply.github.com>
2026-06-12 03:20:59 -07:00
Hunter B 6e9baaa988 refactor(tui): group completion search state
Introduce a small SearchContext for workspace completion walks so the related search state moves together and the helper signatures no longer need too-many-arguments allowances.

Also keeps the nearby hotbar test clippy-clean under the all-targets TUI gate.

Modified harvest from PR #3128 by @Hmbown.

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>
2026-06-12 03:05:56 -07:00
Hunter B c95122fb43 chore(deps): update reqwest rustls and clap_complete
Updates the lockfile-only Dependabot PRs for reqwest 0.13.4, rustls 0.23.40, and clap_complete 4.6.5 while keeping unrelated resolver drift out of the release branch.

Refs #3001.

Refs #3002.

Refs #3003.
2026-06-12 03:01:16 -07:00
Hunter B 757ffefc46 test(tools,release): cover execution subjects and mirror URLs
Harvests focused coverage from #3114, #3116, #3124, and #3127.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>
2026-06-12 02:54:46 -07:00
Hunter B 1bb17cfced test(release,tools): extend helper coverage
Harvests focused coverage from #3110, #3111, #3113, #3123, #3125, and #3126.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>
2026-06-12 02:53:47 -07:00
Hunter B c766aab406 test(tools): cover missing field constructor
Harvests focused coverage from #3133.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>
2026-06-12 02:51:04 -07:00
Hunter B 936848f3a8 test(release): cover release channel query helpers
Harvests release helper coverage from #3130, #3131, #3132, and #3134 without adding a serial-test dependency.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>
2026-06-12 02:50:35 -07:00
Hunter B e27d63a55a chore(tui): remove unused prompt persistence module
Harvests the dead-code cleanup from #3135.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>
2026-06-12 02:48:57 -07:00
Hunter B f5104467db test(release): cover release base URL env overrides
Harvests the release URL coverage from #3137 without adding a serial-test dependency.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>
2026-06-12 02:46:01 -07:00
Hunter B 3aa7131ebf test(tools): cover ToolError constructors
Harvests focused coverage from #3136 and #3138.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>
2026-06-12 02:44:27 -07:00
Hunter B b1c94b3f02 perf(skills): sync registry entries concurrently
Use bounded ordered concurrency for /skills sync so registry downloads no longer serialize one skill at a time while preserving deterministic outcome order.

Harvested from PR #3139.

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-06-12 02:41:18 -07:00
Hunter B d50dfd4827 fix(hooks): require workspace trust for project hooks
Gate .codewhale/hooks.toml behind user-owned workspace trust, mirroring the project-local MCP trust boundary while preserving shell-command hook semantics.

Harvested from PR #3140.

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-06-12 02:38:56 -07:00
Hunter B 119285f056 fix(runtime): batch thread detail item reads
Avoid an N+1 item-directory scan when loading runtime thread details by grouping persisted items for all turns in one pass.

Harvested from PR #3141.

Co-authored-by: Hmbown <101357273+Hmbown@users.noreply.github.com>

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-06-12 02:35:39 -07:00
Hunter B 2f717d3345 fix(tui): accept compact SSE data fields
Accept SSE data frames with either `data: {...}` or `data:{...}` in Chat Completions, Responses, and Anthropic stream readers.

Harvested from PR #3152.

Co-authored-by: wgeeker <169752135+wgeeker@users.noreply.github.com>
2026-06-12 02:31:31 -07:00
Hunter B c1a48492b6 fix(codex): keep Responses reasoning shape provider-native
Codex Responses requests now clamp legacy minimal effort to low and carry a regression test that the request body uses reasoning.effort without DeepSeek thinking or chat-completions reasoning_effort fields.
2026-06-12 02:27:59 -07:00
Hunter B 8c690cb7bf fix(update): guide legacy deepseek users to codewhale
Harvests PR #3013 by @cyq1017 and PR #3053 by @angus-guo. Legacy deepseek/deepseek-tui binaries now return migration steps instead of trying to self-update through a missing codewhale binary, and the README/rebrand docs carry the same upgrade path.

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

Co-authored-by: gus <217034332+angus-guo@users.noreply.github.com>
2026-06-12 02:22:10 -07:00
Hunter B 3de1d35c37 feat(tui): dispatch hotbar slots from number keys
Harvests PR #3056 by @reidliu41, keeping overlays in control of number keys, reclaiming Alt+1 through Alt+8 for hotbar dispatch, and updating the help/footer shortcut copy.

Co-authored-by: reidliu41 <61492567+reidliu41@users.noreply.github.com>
2026-06-12 02:19:15 -07:00
Hunter B 74a4a91204 feat(i18n): localize config editor labels
Harvests PR #2919 by @gordonlu, preserving Codex-aware reasoning effort display while localizing the config editor chrome and default placeholders.

Co-authored-by: gordonlu <3125629+gordonlu@users.noreply.github.com>
2026-06-12 02:12:58 -07:00
Hunter B b0b7317688 fix(tui): normalize Codex reasoning effort labels 2026-06-12 02:07:39 -07:00
Hunter B 6511de3359 feat(i18n): localize config section labels
Harvests PR #2918 by @gordonlu, preserving English search terms for localized config sections and scopes.

Co-authored-by: gordonlu <3125629+gordonlu@users.noreply.github.com>
2026-06-12 01:59:47 -07:00
Hunter B fb53dc1866 chore(tui): satisfy release clippy gate 2026-06-12 01:50:52 -07:00
Hunter B c9339a6abf test(i18n): cover remaining tool family labels
Adds the release-note credit for PR #2901 and extends the no-English-leak test to delegate, think, and generic tool labels.

Co-authored-by: gordonlu <3125629+gordonlu@users.noreply.github.com>
2026-06-12 01:49:16 -07:00
Hunter B 81b84f3f88 Merge PR #2901: localize ToolFamily labels 2026-06-12 01:47:27 -07:00
Hunter B 10e41b1153 feat(runtime): expose matched approval rule metadata
Harvests the explainability slice from PR #2971 without changing the public HookEvent constructor shape. Runtime API approval.required frames now carry matched_rule metadata when an execpolicy rule caused the prompt.

Co-authored-by: greyfreedom <11493871+greyfreedom@users.noreply.github.com>
2026-06-12 01:46:41 -07:00