2026/04/03
< 2026
Jump to navigation
Jump to search
|
Friday, April 3, 2026 (#93)
|
|
References |
- 08:32 Now, to figure out how the Engine should be invoking commands...
- 09:00 The tricky part is that the Proc clade requires a command before a session can be opened, while the SSH2 clade needs to be opened before issuing a command.
- I think maybe what needs to happen is that I need to modify Proc (again, sigh) to create a Session without a Command, and then the first Command sent to it is the Session-opener. (I feel like this causes other issues, but I can't quite pin them down...)
- 09:56 One thing it maybe bends is that now the caller needs to open a Session before calling
DoCommandon a Starter.- ...and really, it should be calling it on the Session, not the Starter.
- ...so, ok, let me try again to eliminate that altogether...
- 10:25 (smol arrggh) The resultant re-flattening of the model-API -- i.e. the only thing Starter does is create Sessions -- kinda means that we don't actually need Session and Starter to be separate things anymore? Ima hold off on implementing that until I verify that the re-flattening works, I think.
- It's just very important to keep in mind what's going on under the hood, and that having a consistent API means pretending that two things are actually the same thing. Ocelot.