Skip navigation
coming soon in opencode: `/terminal`
0:00 / 0:56

coming soon in opencode: `/terminal`

James Long

@jlongster34K followers

Visit on X
499 likesDownloadOriginal post

56,323 views

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

43 Comments

Comments from the original post on X (Twitter)

  • plumjam's profile picture

    @plumj_am

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

    6 likes

  • James Long's profile picture

    @jlongster

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

    8 likes

  • James Long's profile picture

    @jlongster

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

    2 likes

  • Yacine Hmito's profile picture

    @yacinehmito

    I struggle to see what this is useful for.

    4 likes

  • James Long's profile picture

    @jlongster

    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

    14 likes

  • Diario฿itcoin's profile picture

    @DiarioBitcoin

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

    2 likes

  • James Long's profile picture

    @jlongster

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

    4 likes

  • Diario฿itcoin's profile picture

    @DiarioBitcoin

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

    2 likes

  • Diario฿itcoin's profile picture

    @DiarioBitcoin

    ping

  • James Long's profile picture

    @jlongster

    yes

    1 like

  • Diario฿itcoin's profile picture

    @DiarioBitcoin

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

  • Rovshan's profile picture

    @mrboldpineapple

    so terminal -> opencode TUI -> terminal

    2 likes

  • Tak 🦞's profile picture

    @cherry_mx_reds

    @thdxr Beautiful

    1 like

  • DotPerInch's profile picture

    @SWED3264

    @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.

    1 like

  • Hermes Agent Tips's profile picture

    @HermesAgentTips

    @opencode that’s pretty cool

    1 like

  • Yvanchen's profile picture

    @Yvanchen

    Can we launch opencode in that terminal 😬

    1 like

  • ⌂: ~/ras's profile picture

    @r4s0n3

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

  • Haleemah's profile picture

    @Haleeeemahh

    niceeeee

  • ᕼ ᐱ ᖇ Ƨ ᕼ ᐱ's profile picture

    @harshahq

    @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

    @unscriptedmanoj

    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.