Skip to content

fix(permissions): remove local approval deadline - #1218

Merged
vastsa merged 2 commits into
mainfrom
fix/disable-permission-timeout
Sep 29, 2026
Merged

vastsa merged 2 commits into
mainfrom
fix/disable-permission-timeout

Conversation

@vastsa

@vastsa vastsa commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • remove the 120-second local permission countdown and automatic denial
  • keep local tool approvals pending until an explicit decision, cancellation, or shutdown
  • preserve tool execution budgets and independent remote/Plan approval lifetimes

Closes #1214

Validation

  • targeted Rust, shared, agent-runtime, agent-host, desktop permission, i18n tests
  • cargo fmt --check
  • pnpm lint
  • pnpm docs:check

Known limitation: full desktop build/typecheck remains blocked by existing opencc-js/live-voice dependency issues.

Keep local tool approvals pending until an explicit decision or cancellation. Remove renderer countdown and timeout fields while preserving tool execution budgets and remote/Plan approval lifetimes.

fixes #1214
Copilot AI balanced review requested due to automatic review settings September 29, 2026 08:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Update the desktop source contract test for the removal of the local permission transport deadline. Keep the Bash execution budget assertion while allowing the approval wait to remain open.

fixes #1214
@vastsa
vastsa merged commit b360e04 into main Sep 29, 2026
5 checks passed
@vastsa
vastsa deleted the fix/disable-permission-timeout branch September 29, 2026 08:50

This branch was previously deployed

1 inactive deployment
Preview — 15f060a7 Deployed Sep 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 希望每次询问的权限模式下倒计时能关掉

2 participants