summaryrefslogtreecommitdiff
path: root/decky_client.py
AgeCommit message (Collapse)Author
23 hoursfix: prevent install loop from hanging after success and add timeout handlingHEADv1.0.10maintranch
Previously, on the plugin_download_finish event we only broke out of the receive loop when 'confirmed' was False. In the normal flow 'confirmed' is always True, so the loop kept waiting for a REPLY whose 'result' was non-None. When the server returns 'result: null' (a common success reply), no branch matched and the loop blocked forever on client.recv(), making the installer appear successful but never exit. The download_finish handler now breaks unconditionally, since the event itself already indicates a completed install. Also add timeout handling to the receive loop: - IDLE_TIMEOUT: max gap between any two server messages, guards against silent server stalls. - OVERALL_TIMEOUT: hard upper bound on the entire install as a fallback. Both are enforced by wrapping client.recv() with asyncio.wait_for; on timeout a TimeoutError is raised and propagates after the connection is cleanly closed in the finally block. Co-authored-by: llm-git <llm-git@ttll.de> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-11Fix: Correct store URL setting key from store_url to store-urlcopilot-swe-agent[bot]
Co-authored-by: tranch <5999732+tranch@users.noreply.github.com>
2026-02-11Fix code style: improve consistency in send/recv patternscopilot-swe-agent[bot]
Co-authored-by: tranch <5999732+tranch@users.noreply.github.com>
2026-02-11Refactor: Extract store type names to constant for better maintainabilitycopilot-swe-agent[bot]
Co-authored-by: tranch <5999732+tranch@users.noreply.github.com>
2026-02-11Add store type configuration to set custom store modecopilot-swe-agent[bot]
Co-authored-by: tranch <5999732+tranch@users.noreply.github.com>
2026-02-11feat: add progress bar and improve installation status outputtranch
Implement a visual progress bar using `loader/plugin_download_info` events. Improve message handling during the installation flow to properly clear the terminal and wait for server replies. Co-authored-by: llm-git <llm-git@ttll.de>
2026-02-05fix: Only log meaningful server repliesv1.0.5Tranch
Filter server REPLY messages if they lack a 'result' payload. This avoids logging empty responses that provide no useful information. Update success logging message when the connection drops after install confirmation for clarity.
2026-02-05fix: treat disconnect after confirm as successTranch
2026-02-05fix: handle WS close opcode in Decky installer clientv1.0.4Tranch
Implement logic to process control frames (Close, Ping, Pong) during reception. Respond to Ping frames with a Pong frame. Co-authored-by: llm-git <llm-git@ttll.de>
2026-02-04Refactor CLI to use subcommands for better semanticscopilot-swe-agent[bot]
Co-authored-by: tranch <5999732+tranch@users.noreply.github.com>
2026-02-04Rename decky_plugin_installer.py to decky_client.pycopilot-swe-agent[bot]
Co-authored-by: tranch <5999732+tranch@users.noreply.github.com>