SaelixCode
c91c9ed7fd
refactor: pivot from ssh proxy to distributed api model
...
- Delete SSHFileAdapter, IFileAdapter, LocalFileAdapter (SSH/SFTP stack)
- Remove ssh2, ssh2-sftp-client dependencies; add http-proxy-middleware, http-proxy
- NodeRegistry: remote nodes no longer use Dockerode TCP; new getProxyTarget() returns {apiUrl, apiToken}
- NodeRegistry.testConnection: remote nodes use HTTP GET /api/auth/check instead of docker.info()
- DatabaseService: Node interface swaps SSH/TLS fields for api_url + api_token; legacy columns preserved for DB compat
- FileSystemService: reverted to clean local-only fs.promises; adapter pattern fully removed
- ComposeService: executeRemote() and SSH log streaming deleted; local-only execution remains
- index.ts: add /api/auth/generate-node-token endpoint (long-lived JWT, scope:node_proxy)
- index.ts: authMiddleware now accepts Bearer token in addition to cookie (Sencho-to-Sencho auth)
- index.ts: remote HTTP proxy middleware intercepts all /api/ requests for remote nodes, strips x-node-id, injects Authorization header, proxies to api_url
- index.ts: WS upgrade handler proxies WebSocket connections for remote nodes via http-proxy wsProxyServer
- NodeManager.tsx: form reduced to Name, API URL, API Token; Generate Node Token button added inline
- NodeContext.tsx: Node interface updated to api_url/api_token
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-19 12:20:32 -04:00
SaelixCode
26b8f62968
fix: separate Docker API port from SSH port, add SSH credential UI, fix compose_dir routing
2026-03-18 21:04:43 -04:00
SaelixCode
8c51198468
feat: Remote Nodes Wiring & SSH Adapters
2026-03-18 12:55:30 -04:00
SaelixCode
fb3a28834e
fix: implement two-stage teardown for reliable atomic rollbacks
2026-03-06 10:18:47 -05:00
SaelixCode
953049a45d
feat: implement smart error parser and post-deploy health probe
2026-03-05 19:59:35 -05:00
SaelixCode
ed1a60bee0
feat: implement dynamic env file resolution and enhance error handling in stack operations
2026-03-03 15:25:05 -05:00
SaelixCode
242602480e
refactor: simplify docker compose command arguments by removing stack name flag
2026-03-03 13:38:14 -05:00
SaelixCode
63d2df2436
fix: drain stdout to prevent pipe buffer from blocking the process
2026-03-03 12:54:21 -05:00
SaelixCode
10a483a0a6
feat: await command execution in stack management endpoints and update container stats display based on state
2026-03-03 12:06:19 -05:00
SaelixCode
2b96b08c04
feat: update stack deployment endpoint and enhance deployment functionality
2026-03-03 11:41:44 -05:00
SaelixCode
53b36c71ce
feat: Implement an interactive terminal component with real-time log streaming, and formatting
2026-02-25 22:51:07 -05:00
SaelixCode
46e6aedfd0
feat: Improved frontend UI components with shadcn
2026-02-25 22:33:51 -05:00
SaelixCode
d5fac02da3
feat: Implement Docker Compose stack management, container monitoring, and interactive bash terminal with new frontend and backend services.
2026-02-22 14:40:54 -05:00
SaelixCode
18c51f083e
feat: Implement web-based Docker Compose stack management with file editing, deployment, container monitoring, and terminal access.
2026-02-21 15:05:05 -05:00
SaelixCode
e686508dec
refactor: update ComposeService and DockerController for improved error handling and path configuration; adjust docker-compose.yml for clarity on volume mappings
2026-02-20 23:06:18 -05:00
SaelixCode
ad8c663629
refactor: update ComposeService and DockerController for improved path handling and environment variable management; enhance EditorLayout for dynamic button rendering based on stack state
2026-02-20 22:20:34 -05:00
SaelixCode
800d47845f
refactor: migrate to directory-based stack structure
...
- Updated ComposeService to run docker commands from stack-specific directories, ensuring relative paths resolve correctly.
- Refactored FileSystemService to manage stacks as directories, including methods for creating, updating, and deleting stacks.
- Implemented automatic migration of existing flat-file stacks to the new directory structure on server startup.
- Adjusted API routes to use stack names instead of filenames, simplifying stack management.
- Modified frontend components to align with the new stack naming conventions and removed unnecessary file extensions.
2026-02-20 19:45:45 -05:00
unknown
293f9cef26
Initial commit: Sencho V1 complete with Auth and Dockerization
2026-02-20 18:39:32 -05:00