sawka
22fb034cc4
PE-41 remote file api ( #1 )
...
* RPC for remote file streaming -- just implemented 'stat' for now (streaming to come)
* allow RPC iterators for MShell RPCs. implement two test commands to test viewing files
* implement read-file handler
* read-file: allow overriding of content-type and use line's cwd not remote instance cwd
* checkpoint on write-file impl
* implemented metacommand version of write file
* checkpoint, untested write-file impl
* multipart handling for write-file data
* add usetemp param to writefile
2023-08-31 22:04:31 -07:00
sawka
2d63b1da96
checkpoint on line migration
2023-07-30 17:16:43 -07:00
sawka
afbc60ce92
update imports to reflect new package names (moved repo)
2023-07-26 14:24:14 -07:00
sawka
7c09d8c09e
remove logging message
2023-05-08 18:03:09 -07:00
sawka
59ff522cd1
updates to read openai token from clientdata
2023-05-08 16:06:51 -07:00
sawka
8302ca1fcb
openai api integration 'working'
2023-05-04 01:01:13 -07:00
sawka
ab5deafdb6
updates to remote table, working on openai remote type
2023-05-02 12:43:54 -07:00
sawka
398be03324
simplify screen focus types (remove cmd-fg). send all screen focus updates. fix display issue with rtnstate (prompt vars)
2023-04-13 12:53:15 -07:00
sawka
31d8719200
add buildtime to remote state mshell version
2023-04-12 21:42:16 -07:00
sawka
4e93eff86a
updates to FeState to store variables -- implement python venv and gitbranch in festate for prompt
2023-04-11 23:54:18 -07:00
sawka
6e6fe4d4bf
auto-install and reconnect flow working
2023-04-03 22:15:43 -07:00
sawka
c7024b0ef5
switch to 'connection'
2023-04-03 21:31:40 -07:00
sawka
936500a18e
add client deadline and update remoteruntimestate
2023-04-03 18:57:38 -07:00
sawka
0a16bb2181
add two new fields to remotetype for better messages on client
2023-04-03 01:37:55 -07:00
sawka
a340f93c20
add statevars to remote, add vars into webremote
2023-03-29 12:42:04 -07:00
sawka
4aa2bab06e
fix null screen bug
2023-03-24 18:35:29 -07:00
sawka
02ae7ea972
checkpoint on big cmd screen migration
2023-03-20 19:20:57 -07:00
sawka
e363ed0d0e
copy sshport to real sshopts. print port number in console
2023-03-17 15:07:29 -07:00
sawka
e16c6534ad
add screenid to cmd, remove sessionid from screenlines
2023-03-15 18:12:55 -07:00
sawka
ed60723720
remove windowid
2023-03-14 16:37:22 -07:00
sawka
e154aacaad
checkpoint, backend changes for consolidating window and screen_window to screen
2023-03-13 01:52:30 -07:00
sawka
8e1f34b93b
telemetry updates
2023-02-21 22:41:56 -08:00
sawka
bf36d4f942
interactive connect -- does not force ssh batch mode
2023-01-23 13:47:57 -08:00
sawka
5914e57afc
export PROMPT and PROMPT_VERSION, always start remote
2023-01-23 13:28:00 -08:00
sawka
a20da453f4
cr command (bare) shows all remotes
2022-12-30 17:01:17 -08:00
sawka
2f7aa94405
sudo remote and colors
2022-12-29 00:07:16 -08:00
sawka
f5e0801978
update local mshell binary path -- use the mshell packaged with Prompt app
2022-12-28 23:09:37 -08:00
sawka
e1e1a52e06
autoconnect remotes
2022-12-28 16:59:54 -08:00
sawka
16b808bb21
working on autoconnect
2022-12-28 13:56:19 -08:00
sawka
35006dfc65
rename sh2/scripthaus to prompt. maxcommandlen set.
2022-12-19 17:36:19 -08:00
sawka
c6a2118451
big update, got statediff and state_base working. updates to remote_instance and cmd tables/structures
2022-11-28 18:03:02 -08:00
sawka
b2dc52e166
checkpoint
2022-11-28 00:13:00 -08:00
sawka
d5ea9e0221
implement cmdfinal (hangup) from server
2022-11-27 14:12:15 -08:00
sawka
d4e4b497fb
scripthaus env vars. also mshellbinaryfrompackage for install
2022-11-01 21:42:56 -07:00
sawka
d9163d6af4
use log.Printf, ensure sc home dir
2022-10-31 12:40:45 -07:00
sawka
29dbf5dde9
runcommand now sets the state at the time of execution
2022-10-27 22:52:38 -07:00
sawka
31a38cbdae
state updates (yay)
2022-10-27 22:22:17 -07:00
sawka
2df33621fd
stateful commands block other commands while they are running, introduce waiting state
2022-10-27 22:00:10 -07:00
sawka
56259e3f05
fix cmd done lock ordering (actually start the cmdwait). implement reset command to re-initialize the terminal
2022-10-27 17:10:36 -07:00
sawka
0060c8ffc2
big update to handle cmd returnstate (still need to process new state with donepacket)
2022-10-27 00:33:50 -07:00
sawka
cabf8a50ff
updates for new shellvars
2022-10-25 12:31:29 -07:00
sawka
3b7dd7c01e
working on source command
2022-10-22 14:46:39 -07:00
sawka
e55f7fb4fe
working with new static commands
2022-10-18 18:03:02 -07:00
sawka
fdc5a289a9
use packet.ShellState, send aliases and functions as part of state
2022-10-16 23:51:04 -07:00
sawka
c940c7b85b
cmd-fg, update when cmd done back to input
2022-10-11 23:11:43 -07:00
sawka
f5b9ea07a1
local flag on remote, ensure 1 local remote. on archive, change to local remote
2022-10-04 11:45:24 -07:00
sawka
539e71ad47
only show remote upgrade if initpk was received
2022-10-04 11:15:59 -07:00
sawka
998a65b873
remote editing checkpoint
2022-10-03 19:04:48 -07:00
sawka
1c46b79de3
checkpoint, visual editing of remotes
2022-10-03 12:25:43 -07:00
sawka
4d075e32bf
updateremote (non-visual)
2022-10-02 18:52:55 -07:00