Commit Graph

1699 Commits

Author SHA1 Message Date
sawka
52831dc723 setup extrafiles using run packet's fds field 2022-06-23 18:23:30 -07:00
sawka
29372be4ef working with fdreaders and fdwriters to properly buffer output and not exceed buffer size without acks 2022-06-23 17:37:05 -07:00
sawka
c43d3ecc85 checkpoint got stdout/stderr data packets working with new remote handler 2022-06-23 12:48:45 -07:00
sawka
766d19f1bc checkpoint, switch name from sh2-runner to mshell 2022-06-23 10:16:54 -07:00
sawka
eb7ac5136e updates, switch to mshell package 2022-06-23 10:15:56 -07:00
sawka
0b172cd689 add cdpacket 2022-06-23 09:56:54 -07:00
sawka
7d059fe573 small change to fix bouncy scroll scolor 2022-06-20 22:48:34 -07:00
sawka
4e18bbe44e process comment commands 2022-06-20 21:57:23 -07:00
sawka
2c62890912 call SetWinsize to set terminal size always for pty 2022-06-20 17:51:28 -07:00
sawka
92812bc613 update how usedrows is computed 2022-06-20 17:49:14 -07:00
sawka
c3626a6547 add session history 2022-06-20 16:06:37 -07:00
sawka
15c3f2fc10 fix getDefaultSession, set foreground color to be not fff 2022-06-20 13:19:53 -07:00
sawka
d679ff7cf3 mock up a sidebar for scripthaus 2022-06-20 13:03:20 -07:00
sawka
315a048f49 return username with init packet 2022-06-17 18:11:49 -07:00
sawka
859a1611b8 get runnerproc args from init packet 2022-06-17 18:11:16 -07:00
sawka
365e9c55a2 dark theme, follow content when at bottom, date format 2022-06-17 17:54:14 -07:00
sawka
0cce8ad503 cmd input working 2022-06-17 15:32:19 -07:00
sawka
0a6d8b8e9f input packet type 2022-06-17 15:31:07 -07:00
sawka
848100247c got stdin fifo input working 2022-06-17 15:30:42 -07:00
sawka
b6a8550ab8 revert cmdtail to watch individual files (inefficient directory watching on osx). touch ptyout file before running (because of file watching) 2022-06-17 12:27:29 -07:00
sawka
c8f9022db4 close runout file in main runner 2022-06-17 11:29:33 -07:00
sawka
bb159bac5b got websocket ptyout tailing working 2022-06-16 22:25:07 -07:00
sawka
3497f607ce fix bug in updateTailPos, add Close() for tailers 2022-06-16 22:23:29 -07:00
sawka
2a5cde908a got streaming ptyout via websockets working 2022-06-16 22:22:47 -07:00
sawka
e58cd1c4ad checkpoint, getting websockets working 2022-06-16 21:14:26 -07:00
sawka
dc4baaea27 cmdtail now can support multiple tails on the same cmd with independent tail positions 2022-06-16 17:24:29 -07:00
sawka
bb37a829de moving model functionality into session.ts 2022-06-16 16:34:46 -07:00
sawka
862014bd82 add windowid 2022-06-16 15:51:41 -07:00
sawka
71c67a4cc2 checkpoint, session, window, termmap 2022-06-16 15:51:17 -07:00
sawka
a9f96dd983 flexible resizing logic, fix TermMap, work on ptyout 2022-06-16 12:40:09 -07:00
sawka
c6165f15f4 update tailer to send packets to a channel instead of hard coding to PacketSender 2022-06-16 01:10:56 -07:00
sawka
a5fedb3668 minor changes to ws 2022-06-16 01:09:56 -07:00
sawka
4f2c75af0c small updates 2022-06-16 01:08:56 -07:00
sawka
45cd98ef00 refactor term/ws into separate modules 2022-06-16 00:31:54 -07:00
sawka
6f7a883cfd updates for websocket ping/pong logic, longer timeouts 2022-06-15 18:13:16 -07:00
sawka
76ac2c4ff9 websocket connection/reconnection 2022-06-15 18:12:22 -07:00
sawka
5176128346 updates to allow parsing non-packets into raw packets (to see stderr output), and new sessionwatcher 2022-06-15 16:29:57 -07:00
sawka
0c1cacc20d capture stderr from runner process. new packet format to distinguish it from real packets. warn when the runner exits 2022-06-15 16:27:22 -07:00
sawka
f8f3ce65fb get cmddata sent via websocket connection 2022-06-14 22:39:09 -07:00
sawka
ecceb67f20 got session/command tailing working. server can send getcmd packets, and client responds with cmddata packets 2022-06-14 22:16:58 -07:00
sawka
0be0da9c0a resize terminal viewer with content 2022-06-14 16:02:20 -07:00
sawka
65094ad0ec updates, groundwork for tail, better parsing logic 2022-06-14 14:17:36 -07:00
sawka
54a3b082fc updates to test terminal updating / xpos 2022-06-14 14:16:32 -07:00
sawka
df3b7a3bb0 run commands via run-command 2022-06-13 11:12:39 -07:00
sawka
d80517caa0 run command submitted via run-command 2022-06-13 11:11:56 -07:00
sawka
22aa999a7b initial checkin of main-server 2022-06-12 13:39:48 -07:00
sawka
1a3886c437 go runner / runner-single fork flow working 2022-06-10 21:37:21 -07:00
sawka
eeaeac8dc8 initial runner commit 2022-06-10 00:37:06 -07:00
sawka
751914196b initial commit 2022-06-07 17:25:35 -07:00