How about expect tool and ability to start console by user side?
#6
Replies: 1 comment
-
|
Hey @luchezarno — thanks so much for taking the time to write these up. Both ideas touched on core design tradeoffs, and I ended up thinking through them more carefully than I expected. Sharing where I landed. 1. Human-/CI-started consoles AI can attach to Passing on this. Most concrete cases (SSH+MFA, The one exception is elevation (UAC) — it has to spawn a new process with an elevated token, you can't escalate an existing one. A narrow For observing a console you're driving, 2. Also passing:
If you hit a case where the exit condition isn't shell-expressible, happy to revisit with a concrete example. Thanks again for pushing on these. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello dear @yotsuda !
Well, I am not sure how useful this could be, but just thought that could be nice to be able to start console/s by human or some pipeline (CI/CD or kind of) and then somehow pass it's #number to AI to attach it with peek_console for example. What do you think?
And second idea - what if to add kind of
expect/pexpecttool for long-polling MCP calls from AI? Though I am not sure about cases except for monitoring something (like errors in log or long running commands or file appearance)Beta Was this translation helpful? Give feedback.
All reactions