mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
2ddf571445
* feat: auto-close adapter windows, add OPENCLI_WINDOW_FOCUSED, document config 1. Adapter commands now close the automation window immediately after completion instead of waiting for the 30s idle timeout. 2. OPENCLI_WINDOW_FOCUSED=1 opens automation windows in the foreground (useful for debugging). Default remains background. 3. Add Configuration section to README (EN/ZH) and opencli-usage skill listing all stable user-facing environment variables. * Fix OPENCLI_WINDOW_FOCUSED to be per-request, not frozen at daemon startup Move env var read from daemon (startup-time constant) to CLI side (sendCommandRaw), so it works correctly with the persistent daemon model. Each request now reads the env var fresh and includes windowFocused in the command payload.