4 Commits

Author SHA1 Message Date
UNITRONIX 6b7b1a242c feat(agent-client): initialize BetterDesk Agent Client with core components and localization support
Created the initial structure for the BetterDesk Agent Client, including essential files such as index.html, package.json, and TypeScript configuration. Implemented core components for the application, including StatusPanel, ChatPanel, and HelpRequest, along with localization support for multiple languages. Added a consent dialog for user permissions and integrated a chat window for real-time communication. Included styling and branding elements to enhance the user interface.
2026-06-20 22:48:18 +02:00
UNITRONIX 414b96ba62 chore: temporarily untrack alpha desktop clients from git
Exclude betterdesk-agent-client and betterdesk-mgmt to reduce GitHub
noise while they are not in active use; limit root i18n:check to web console.
2026-06-11 05:33:45 +02:00
UNITRONIX d34a9dbf4a feat(agent-client): enrollment auth, status panel redesign, window controls
Align agent client with managed-enrollment flow and generator-preview UI.
- commands.rs: send X-Device-Id header on help-request, cancel-help-request and chat-send (identifyDevice middleware requires it); align help-request payload to message/hostname; add unattended password command + enrollment polling helpers.
- capabilities/default.json: grant explicit window/webview mutating permissions (minimize/close/start-dragging) instead of relying on core:default.
- branding.rs/config.rs/lib.rs: branding schema mapping, unattended password config, custom title bar wiring.
- StatusPanel/SettingsPanel/HelpRequest/ChatPanel/App: rework StatusPanel to match generator card, custom TitleBar, remove bottom nav, footer/contact/pw-row layout.
- ChatWindow.tsx + TitleBar.tsx: new components.
- global.css/StatusPanel styles: edge-to-edge layout, footer, contact, password row.
- i18n: add enrollment/status/window keys to en/pl/zh-TW.

This commit was made possible thanks to Insolve.
2026-05-31 23:18:52 +02:00
UNITRONIX 4eed88673c fix(updates): atomic binary replace + accurate modal status
- deployServerBinary: use rename(2) for atomic replace, fixes ETXTBSY
  when target Go binary is busy (Linux kernel handles inode swap).
  Falls back to copyFileSync on cross-device rename or non-Linux.
  Windows: rename target out of the way first, then move new in.
- settings.js: mark 'server' phase as error when build succeeded but
  deploy failed (was incorrectly marking 'done' from build alone).
- settings.js: completion modal now shows error title, error message
  and pre-formatted stderr when serverDeploy.success === false.
- i18n: added complete_with_errors, modal_done_with_errors_title in
  en/pl.
2026-04-26 01:23:18 +02:00