Commit Graph

14 Commits

Author SHA1 Message Date
6zev 81293d2b05 feat: replace sshx with ttyd - auto arch detection, no curl|sh, no dashboard restart
- __init__.py: replace curl|sh sshx install with urllib ttyd download, arch map x86_64/aarch64/arm/armhf/i686/mips*, cache to ~/.local/bin, no systemd restart, lazy warmup
- dashboard/plugin_api.py: full ttyd backend, auto-detect arch via platform.machine(), download from github releases, free port alloc, host header aware link, no _trigger_dashboard_restart, deprecated restart endpoint kept no-op
- dashboard/dist/index.js: ttyd UI with iframe embed, copy link, installing state, error handling, no restart notice
- plugin.yaml/manifest.json: bump 1.1.0, description ttyd, provides_tools ttyd_start
2026-08-28 12:47:51 +00:00
OpenCode Agent ffece76498 feat: auto-install sshx on plugin load + defer dashboard restart + safe JSON parsing
- __init__.py: auto-install sshx in background thread on register()
- plugin_api.py: startup event auto-installs sshx, defers dashboard restart via BackgroundTasks
- plugin_api.py: _ensure_sshx returns (success, needs_restart) tuple
- plugin_api.py: /status returns 'installing' state while auto-install runs
- index.js: safeFetchJSON wraps fetch+JSON.parse with error handling
- index.js: shows 'Installing sshx...' with polling when status=installing
- index.js: checks install status before calling /start
2026-08-19 00:00:34 +00:00
OpenCode Agent d25b984eac fix: include hash fragment (#key) in sshx URL regex 2026-08-17 22:43:40 +00:00
OpenCode Agent 695490c90c feat: auto-restart dashboard after sshx install 2026-08-17 22:41:52 +00:00
OpenCode Agent c3899471e3 fix: save PID from Popen, check alive via os.kill, read link from log file 2026-08-17 22:34:04 +00:00
OpenCode Agent 1a6c956666 fix: use nohup+file instead of subprocess pipe to prevent sshx process death 2026-08-17 22:33:19 +00:00
OpenCode Agent 4111590b18 fix: keep sshx output reader alive after link, add restart-dashboard endpoint 2026-08-17 22:30:21 +00:00
OpenCode Agent dbaa655a9e fix: use sshx --quiet instead of sshx serve 2026-08-17 22:28:05 +00:00
OpenCode Agent ca65ffb2cb fix: missing parentheses on set_exception call 2026-08-17 22:25:22 +00:00
OpenCode Agent 7a6871e1e9 fix: use SDK.fetchJSON for auth, Optional[str] for Python 3.9 compat 2026-08-17 22:03:34 +00:00
OpenCode Agent 7435a418c8 fix: add x-hermes-session-token header for remote auth 2026-08-17 21:54:29 +00:00
OpenCode Agent 18628e9e36 fix: use native fetch with credentials for remote dashboard 2026-08-17 15:23:40 +00:00
OpenCode Agent 11987a8311 fix: use SDK instead of direct React imports 2026-08-17 15:19:06 +00:00
OpenCode Agent 6aaf913366 feat: hermes sshx-link plugin - shared terminal from dashboard 2026-08-17 15:15:05 +00:00