mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
fix: preserve prompt text on network error and allow offline typing (#276)
* fix: preserve prompt text on network error and allow offline typing * fix: preserve prompt on network error, swallow 524 to avoid duplicate sends * feat: add service worker precaching with app shell and runtime cache strategies * fix: copy frontend/plugins into Docker build context * fix: improve service worker update checks with visibility and focus handlers * fix: add connect timeout to event stream to recover from failed connections * fix: remove optimistic message insert, keep prompt in input until server confirms
This commit is contained in:
1 parent
a7d0c13f9a
commit
3e617c2df8
18 files changed
+569
-57
No files matched your search
@@ -50,6 +50,7 @@ export const DEFAULTS = {
|
||||
SSE: {
|
||||
RECONNECT_DELAY_MS: 1000,
|
||||
MAX_RECONNECT_DELAY_MS: 30000,
|
||||
CONNECT_TIMEOUT_MS: 10000,
|
||||
IDLE_GRACE_PERIOD_MS: 5000,
|
||||
HEARTBEAT_INTERVAL_MS: 30000,
|
||||
STALL_THRESHOLD_MS: 90000,
|
||||
|
||||
Reference in new issue
Block a user