Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

we added the `/cd` command to OpenCode with auto-completion to make it super easy to move sessions around

17,155 görüntüleme • 2 ay önce •via X (Twitter)

19 Yorum

dax profil fotoğrafı
dax2 ay önce

hey you stole the demo i was gonna steal from you

ByShovel profil fotoğrafı
ByShovel2 ay önce

the filesystem metaphor quietly keeps winning: cd into a session like it's a directory and suddenly the mental model needs no documentation.

Titus Magnus profil fotoğrafı
Titus Magnus2 ay önce

Thanks man. This is one of those things that you don't truly know how much you need before you get it.

yamz8 profil fotoğrafı
yamz82 ay önce

nice touch

Ike Victor profil fotoğrafı
Ike Victor2 ay önce

Finally this is actually a big deal. Multiple sessions in a single tui instance, all with different base dirs, was a big pain point for me.

Location Artistry profil fotoğrafı
Location Artistry2 ay önce

opencode is so boss, such a great product!

milos profil fotoğrafı
milos2 ay önce

@thdxr Yo this is great! Love those little things

Akram Ahmed profil fotoğrafı
Akram Ahmed2 ay önce

fk yeah, thanks a bunch for this

Alex Kolovsky profil fotoğrafı
Alex Kolovsky2 ay önce

the thing that bites me with cd inside a long session is stale relative paths in earlier tool calls. does /cd rewrite them or just move cwd forward?

James Long profil fotoğrafı
James Long2 ay önce

we add a synthetic message so the model knows it's moved, and yes we try to update paths. for example a bash tool will prefix the call with the path it was called from (it should at least)

Alex Kolovsky profil fotoğrafı
Alex Kolovsky2 ay önce

the case i'd worry about is compaction eating the synthetic message while the old ls output stays. does it get pinned, or re-emitted on the next tool call?

Tim Bendt profil fotoğrafı
Tim Bendt2 ay önce

I knew I wanted this... but didn't know exactly

David Hapunkt profil fotoğrafı
David Hapunkt2 ay önce

Why do you move sessions instead of adding folders to them?

Jonathan Dunlap profil fotoğrafı
Jonathan Dunlap2 ay önce

Can we please have a dir explorer to create a new session?

Bitr0t ⌨️ profil fotoğrafı
Bitr0t ⌨️2 ay önce

Nice!! The opencode TUI is impressively good. I think the go plan onboarding needs some love! I got Go today and downloaded opencode, added my key and I can’t use my go sub? All the models are “Zen”.

moshik profil fotoğrafı
moshik2 ay önce

I NEEDED THAT TODAY! 👏🏼

Lalit Jangid 🇮🇳 profil fotoğrafı
Lalit Jangid 🇮🇳2 ay önce

wow...

TheGOAT profil fotoğrafı
TheGOAT2 ay önce

good feature

Filip Ganyicz profil fotoğrafı
Filip Ganyicz2 ay önce

@thdxr Hell yeah

Benzer Videolar