mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 14:45:24 +00:00
feat: wire remote-desktop plugin into core and rename i18n keys
Repoints core consumers (dispatcher, collab, session-sharing, tab utils) at the plugin, adds isTabTypeAvailable gating for rdp/vnc/ telnet, widens hostCapability to accept an array, and renames the guacamole i18n namespace to remoteDesktop.
This commit is contained in:
1 parent
c6bcfdb80d
commit
76b2e5739a
41 files changed
+361
-686
No files matched your search
@@ -6,11 +6,12 @@
|
||||
* tsc only emits .ts, so without a copy step the plugins directory simply
|
||||
* would not exist in dist and the loader would find nothing.
|
||||
*
|
||||
* docker and host-metrics are the exception: their backends are real
|
||||
* TypeScript, physically relocated from src/backend/hosts/docker/ and
|
||||
* src/backend/hosts/metrics/ rather than kept as hand-written JS, because
|
||||
* each is thousands of lines of typed SSH/session logic that is not worth
|
||||
* hand-transpiling. tsconfig.plugins.json compiles each plugin backend's
|
||||
* docker, host-metrics and remote-desktop are the exception: their backends
|
||||
* are real TypeScript, physically relocated from src/backend/hosts/docker/,
|
||||
* src/backend/hosts/metrics/ and src/backend/hosts/guacamole/ rather than
|
||||
* kept as hand-written JS, because each is thousands of lines of typed
|
||||
* SSH/session (or, for remote-desktop, guacd protocol) logic that is not
|
||||
* worth hand-transpiling. tsconfig.plugins.json compiles each plugin backend's
|
||||
* TypeScript to a sibling .js next to its source. Their imports into core
|
||||
* (e.g. "../../../src/backend/utils/logger.js") are written relative to the
|
||||
* TypeScript SOURCE tree so tsc can type-check them, since plugins/ is not
|
||||
|
||||
Reference in new issue
Block a user