Mario Zechner
d37f813b83
Fix alias resolution and improve cross-platform support
...
- Fixed alias regex to handle both 'alias name=value' and 'name=value' formats
- Added platform-specific shell execution with proper flags for Windows/Unix
- Skip alias resolution on Windows (not supported)
- Use expanded alias value instead of running the alias name
- PowerShell uses -NoProfile -Command, cmd.exe uses /C, Unix shells use -c/-i
2025-06-24 14:36:10 +02:00
Mario Zechner
1470da3129
Merge branch 'origin/exec-which' and simplify command resolution
...
- Unified all command resolution logic in ProcessUtils.resolveCommand()
- Simplified alias handling to use interactive shell execution
- Fixed alias execution by using 'zsh -i -c' for proper alias loading
- Removed duplicate resolution code from pty-manager
- Commands are now resolved in order: PATH -> aliases -> shell builtins
2025-06-24 14:13:09 +02:00
Mario Zechner
e6e3173244
NPM distribution prep work and minor fixes in session-view/fwd logging.
2025-06-24 13:36:42 +02:00
Mario Zechner
f7e5a09d48
Logs are back, baby
2025-06-24 11:35:08 +02:00
Peter Steinberger
ac57f77806
Revert "remove authToken; that would prevent localhost from entering pw-less"
...
This reverts commit f59147dbc1 .
2025-06-24 09:37:02 +02:00
Peter Steinberger
cd33c8f378
Revert "bypass localhost / route"
...
This reverts commit ef9a757608 .
2025-06-24 09:37:02 +02:00
Peter Steinberger
ef9a757608
bypass localhost / route
2025-06-24 03:46:24 +02:00
Mario Zechner
17cffe7424
Fix SSE stream closing (green cursor of death)
2025-06-24 03:45:25 +02:00
Peter Steinberger
f59147dbc1
remove authToken; that would prevent localhost from entering pw-less
2025-06-24 03:38:41 +02:00
Peter Steinberger
bb6934de5d
Add local bypass
2025-06-24 03:26:52 +02:00
Peter Steinberger
fff51301cf
style login dialog
2025-06-24 03:26:16 +02:00
Peter Steinberger
632a45be74
auth file browser
2025-06-24 03:26:10 +02:00
Peter Steinberger
801438d867
Add local bypass feature
2025-06-24 03:26:04 +02:00
Peter Steinberger
85ac380095
add missing background
2025-06-24 03:25:50 +02:00
Peter Steinberger
5b7fdac0c2
Revert "really ensures terminals close even for claude"
...
This reverts commit fd0abeeeee .
2025-06-24 03:20:13 +02:00
Peter Steinberger
a3564f4586
new security settings
2025-06-24 02:41:08 +02:00
Peter Steinberger
52bded09fa
Fix new security settings
2025-06-24 02:41:08 +02:00
Peter Steinberger
bcad09585d
fix tsconfig warning
2025-06-24 02:41:08 +02:00
Peter Steinberger
abe78847fb
improve auth style
2025-06-24 02:41:08 +02:00
Peter Steinberger
410ad643fc
make sure to close SSE connections
2025-06-24 02:41:08 +02:00
Peter Steinberger
892aa4a2a1
Use preview macro
2025-06-24 02:41:08 +02:00
Mario Zechner
10e4f97924
Fix auth logging, fix PAM native loading outside SEA builds
2025-06-24 02:10:15 +02:00
Peter Steinberger
4e1d3a9a98
Revert "log should also authenticate, no?"
...
This reverts commit 62c6052faf .
2025-06-24 02:09:29 +02:00
Peter Steinberger
60baba5b75
Fixes ngrok
2025-06-24 02:07:25 +02:00
Peter Steinberger
45fd5c476e
Fixes SPA build
2025-06-24 02:07:25 +02:00
Mario Zechner
3c6d9bcf8c
Unfuck source maps and decorators + esbuild
2025-06-24 01:58:21 +02:00
Mario Zechner
498eb4f3fc
Unfuck tsconfigs + VS Code + eslint + tsc, fix type errors
2025-06-24 01:51:46 +02:00
Peter Steinberger
288a3197d2
new auth logic
2025-06-24 01:47:45 +02:00
Peter Steinberger
62c6052faf
log should also authenticate, no?
2025-06-24 01:47:45 +02:00
Peter Steinberger
1e5e5d6e07
regression fix: clean up session on exit
2025-06-24 01:47:45 +02:00
Mario Zechner
73dd60870e
Fix SEA build wrt PAM
2025-06-24 01:38:21 +02:00
Mario Zechner
0db1eff18e
Remove ref to tsconfig.sw.json, another day maybe.
2025-06-24 01:33:10 +02:00
Mario Zechner
ee228bfd7f
Reference other tsconfigs so VS Code knows about everything
2025-06-24 01:32:28 +02:00
Peter Steinberger
b363355543
recompile native authenticate_pam for custom node
2025-06-24 01:16:38 +02:00
Peter Steinberger
6d7fcacbd0
restore session id opening (regression after auth)
2025-06-24 01:12:01 +02:00
Peter Steinberger
022a9c57a3
kill the padding for grid
2025-06-24 01:01:04 +02:00
Peter Steinberger
fd0abeeeee
really ensures terminals close even for claude
2025-06-24 01:01:04 +02:00
Peter Steinberger
e4783fa807
kill padding around terminals
2025-06-24 01:01:04 +02:00
Peter Steinberger
3d28de87c4
don't use interactive shells for commands, make terminal close
2025-06-24 01:01:04 +02:00
Mario Zechner
5af55ee510
Fix package-lock.json. Let's keep all the fine esbuild platform binaries please...
2025-06-24 01:00:41 +02:00
Mario Zechner
bb17f4adcd
Async fsync, so writes from PTY to host terminal are fast again.
2025-06-24 00:52:45 +02:00
Helmut Januschka
e9b395b726
Implement comprehensive user authentication with SSH key management ( #43 )
...
* Implement comprehensive user authentication system
- Add SSH-first authentication with password fallback
- Implement JWT token-based session management (24h expiry)
- Create browser-based SSH agent with key storage and signing
- Add challenge-response SSH authentication protocol
- Integrate PAM for system password authentication
- Build comprehensive authentication UI components
- Add SSH key manager for key generation and management
- Update middleware to support JWT tokens alongside existing auth
- Maintain backwards compatibility with existing HQ/remote auth
2025-06-24 00:31:13 +02:00
Peter Steinberger
24416d2c27
Better session name
2025-06-24 00:23:33 +02:00
Peter Steinberger
94fc980b0b
use new clipboard helper
2025-06-24 00:23:00 +02:00
Peter Steinberger
d1b0c43a09
Don't expand home dir for grid view
2025-06-24 00:19:40 +02:00
Peter Steinberger
a51ecb174f
make grid fixed size
2025-06-24 00:07:45 +02:00
Peter Steinberger
ab3acca054
Add back button to log viewer
2025-06-24 00:07:45 +02:00
Peter Steinberger
6346789d67
ios test fixes
2025-06-24 00:07:45 +02:00
Mario Zechner
7669d33d65
Fix tsconfig.json to include Node types, fix typecheck script to include server code checks (again ...)
2025-06-24 00:06:40 +02:00
Armin Ronacher
77dc0993c4
Try to detect what triggers the bell
2025-06-23 23:54:48 +02:00