You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "hqhq1025 (via GitHub)" <gi...@apache.org> on 2026/08/23 09:30:05 UTC

[PR] fix(ui): localize client capability recovery [maka]

hqhq1025 opened a new pull request, #3588:
URL: https://github.com/apache/maka/pull/3588

   ## Summary
   
   - attach a structured `client_capability` source to bypass-boundary tool refusals while preserving the original model-facing diagnostic
   - replace that diagnostic in the chat UI with localized Chinese/English guidance and a one-click "switch to Bypass and retry" action
   - retry only after the permission mode is confirmed as changed, and abort the retry when confirmation is cancelled, the Host returns another mode, or the active task changes
   - localize nearby hard-coded UI strings for visible system notes, file-write summaries, Rive workflow summaries, and linked-agent error labels
   
   ## Behavior boundary
   
   Only `requires_bypass` failures explicitly tagged with `source: client_capability` receive the local-app recovery UI. Generic filesystem or shell boundary failures remain verbatim and do not imply that a local application is involved.
   
   ## Screenshots
   
   ### Before
   
   ![Raw English boundary diagnostic](https://raw.githubusercontent.com/apache/maka/codex/localize-client-capability-errors/docs/images/client-capability-bypass/before.png)
   
   ### After
   
   ![Localized recovery action](https://raw.githubusercontent.com/apache/maka/codex/localize-client-capability-errors/docs/images/client-capability-bypass/after.png)
   
   Both screenshots use a 1496 × 268 viewport and the same expanded tool-result state.
   
   ## Verification
   
   - `npm --workspace @maka/desktop run build:workspace-deps`
   - `npm --workspace @maka/desktop run typecheck`
   - `npm --workspace @maka/desktop run build:test`
   - 78 targeted Node tests across core, runtime, UI, and desktop
   - Biome checks for all changed source and test files
   - `npm run check:asf-headers`
   - Storybook visual verification at 1496 × 268
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [PR] fix(ui): localize client capability recovery [maka]

Posted by "Astro-Han (via GitHub)" <gi...@apache.org>.
Astro-Han merged PR #3588:
URL: https://github.com/apache/maka/pull/3588


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org