Skip to content

fix(cli): improve managed proxy lifecycle#354

Merged
Harry19081 merged 6 commits into
developfrom
feat/cli-managed-config-adapters
Jul 16, 2026
Merged

fix(cli): improve managed proxy lifecycle#354
Harry19081 merged 6 commits into
developfrom
feat/cli-managed-config-adapters

Conversation

@yushui2022

Copy link
Copy Markdown
Collaborator

Summary

  • Add supervised retry loop for the ORGII managed CLI proxy
  • Surface proxy startup/bind errors and recovery state in the CLI managed config UI
  • Restore active ORGII Managed CLI configs to Default on explicit app exit
  • Avoid overwriting externally modified CLI config files during shutdown restore
  • Add lifecycle guidance copy for managed proxy mode

Verification

  • Husky pre-commit
    • lint-staged
    • TypeScript check
    • cargo clippy scoped to agent_cli, org2
  • Desktop build on Windows with CARGO_TARGET_DIR=D:\ORG2-cargo-target\cli-managed-config-adapters
  • Launched D:\ORG2-cargo-target\cli-managed-config-adapters\dev-build\org2.exe and confirmed process responding

Notes

  • Forced termination, crash, or power loss cannot run shutdown restoration; a persistent service or startup recovery flow would be needed to fully cover that case.

yushui2022 and others added 6 commits July 11, 2026 19:04
…-config-adapters

Pre-commit hook ran. Total eslint: 0, total circular: 0
Pre-commit hook ran. Total eslint: 21, total circular: 0
Pre-commit hook ran. Total eslint: 21, total circular: 0
Pre-commit hook ran. Total eslint: 21, total circular: 0
Resolve managed CLI config conflicts while preserving the expanded adapter registry and managed proxy lifecycle improvements. Keep develop's Gemini CLI removal and configurable proxy port behavior, regenerate Cargo.lock, and retain the latest translation structure.
Bring PR #354 up to date with develop after PR #395 merged. The new develop commits do not overlap the managed CLI conflict resolution.
@Harry19081
Harry19081 merged commit c9fa42b into develop Jul 16, 2026
2 checks passed
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.

2 participants