Loading video...

Video Failed to Load

Go Home

coming soon in opencode: `/terminal` wherever └─ your └─ session └─ is └─ $ terminal

56,323 views • 1 month ago •via X (Twitter)

43 Comments

plumjam's profile picture
plumjam1 month ago

If the LLM could see the terminal it would be good. Otherwise, I don't really see how this is useful?

James Long's profile picture
James Long1 month ago

it can even if not, still useful because it always opens where you are :)

James Long's profile picture
James Long1 month ago

(I will post another demo with that later, it's not quite working yet)

Yacine Hmito's profile picture
Yacine Hmito1 month ago

I struggle to see what this is useful for.

James Long's profile picture
James Long1 month ago

if you are working with agents a lot you are doing things all over the place. this just makes it easy to quickly pop into reality to double-check the agent or do something manually. your workflow may not need it

Diario฿itcoin's profile picture
Diario฿itcoin1 month ago

why not just ctrl+z, fg? (which btw, I hate you can't do that with grok's CLI, they overrode ctrl+z)

James Long's profile picture
James Long1 month ago

these are per-session terminals, and they are created where the session is

Diario฿itcoin's profile picture
Diario฿itcoin1 month ago

can the harness look into what you're doing on that terminal?

Diario฿itcoin's profile picture
Diario฿itcoin1 month ago

ping

James Long's profile picture
James Long1 month ago

yes

Diario฿itcoin's profile picture
Diario฿itcoin1 month ago

👏 ok, that's cool then! gonna have to switch from opencode to opencode2

Rovshan's profile picture
Rovshan1 month ago

so terminal -> opencode TUI -> terminal

Tak 🦞's profile picture
Tak 🦞1 month ago

@thdxr Beautiful

DotPerInch's profile picture
DotPerInch1 month ago

@thdxr that's cool but right now it doesn't seem like the agent sees the terminal output, which would be insanely good. And even better you should make it so we're able to reference a certain command we ran in the terminal.

Hermes Agent Tips's profile picture
Hermes Agent Tips1 month ago

@opencode that’s pretty cool

Yvanchen's profile picture
Yvanchen1 month ago

Can we launch opencode in that terminal 😬

⌂: ~/ras's profile picture
⌂: ~/ras1 month ago

so i can have my model ssh into my server and get into the server terminal?!

Haleemah's profile picture
Haleemah1 month ago

niceeeee

ᕼ ᐱ ᖇ Ƨ ᕼ ᐱ's profile picture
ᕼ ᐱ ᖇ Ƨ ᕼ ᐱ1 month ago

@thdxr Gotta come with a warning, I’ll forget it’s a terminal in opencode and launch opencode in the terminal and need another terminal and forget it’s in opencode again🥴

Manoj Subramanyam's profile picture
Manoj Subramanyam1 month ago

If agent can switch the root location, then it can run on any dir which doesn't intend to. Instead of relying on harness structure we would be relying on llm to enforce a rule. I don't see any good in this.

Alex's profile picture
Alex1 month ago

opencode with `/terminal` mid-session is the part i've been waiting for. does it persist across agent steps or reset each time?

雪瑜's profile picture
雪瑜1 month ago

this new function is used to check git log using the new teriminal? 🤔

Penguin's profile picture
Penguin1 month ago

This is why I stopped using opencode and moved to a custom pi config. You guys are doing too much. Just use tmux bro

eai generated's profile picture
eai generated1 month ago

just split panel on herdr

noone's profile picture
noone1 month ago

that already exists, it’s called “ctrl+z”

jason v02's profile picture
jason v021 month ago

"clear" to exit?

biisal's profile picture
biisal1 month ago

why not update the documents and mention to use tmux directly 🙂

h's profile picture
h1 month ago

@opencode please please please @Teknium can you implement this into Hermes??

Jarno's profile picture
Jarno1 month ago

Terminal access wherever your session lives, opencode keeps flexing.

Shayan's profile picture
Shayan1 month ago

I need this right now, gib me NOW! not soon.

Jason Tally's profile picture
Jason Tally1 month ago

Maybe we don’t need tmux after all

blankfella 🦫🦀's profile picture
blankfella 🦫🦀1 month ago

Yuuuuusaa

Przemysław Iwańczak's profile picture
Przemysław Iwańczak1 month ago

Holy I needed that. Wen land plox <3

cabrinha's profile picture
cabrinha1 month ago

a little voice narration overlay would go a long way here

Vincent Duchauffour's profile picture
Vincent Duchauffour1 month ago

Would be very useful indeed

codewithP's profile picture
codewithP1 month ago

@nexxeln Man that music was in point 🔥

Furkan's profile picture
Furkan1 month ago

@opencode When will you add the "goal" feature? Everything else is perfect you guys are awesome but I really notice the lack of the "goal" feature

Sebastian Buzdugan's profile picture
Sebastian Buzdugan1 month ago

does /terminal preserve cwd after reconnects, because session portability breaks when it resets

James Long's profile picture
James Long1 month ago

it's running on the opencode server so it survives everything, it will die with the server dies

Emiliano's profile picture
Emiliano1 month ago

@opencode Finally!!!!! 🎉

Luis H. Ball Jr.'s profile picture
Luis H. Ball Jr.1 month ago

Huge, literally reaching for this every day currently, !some_command doesn’t really cut it.

meh's profile picture
meh1 month ago

didnt understand the video... what is the feature

Sanjay Shiradwade's profile picture
Sanjay Shiradwade1 month ago

tmux: super + %

Related Videos