Загрузка видео...

Не удалось загрузить видео

На главную

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

17,158 просмотров • 2 месяцев назад •via X (Twitter)

Комментарии: 19

Фото профиля dax
dax2 месяцев назад

hey you stole the demo i was gonna steal from you

Фото профиля ByShovel
ByShovel2 месяцев назад

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
Titus Magnus2 месяцев назад

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

Фото профиля yamz8
yamz82 месяцев назад

nice touch

Фото профиля Ike Victor
Ike Victor2 месяцев назад

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
Location Artistry2 месяцев назад

opencode is so boss, such a great product!

Фото профиля milos
milos2 месяцев назад

@thdxr Yo this is great! Love those little things

Фото профиля Akram Ahmed
Akram Ahmed2 месяцев назад

fk yeah, thanks a bunch for this

Фото профиля Alex Kolovsky
Alex Kolovsky2 месяцев назад

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
James Long2 месяцев назад

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
Alex Kolovsky2 месяцев назад

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
Tim Bendt2 месяцев назад

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

Фото профиля David Hapunkt
David Hapunkt2 месяцев назад

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

Фото профиля Jonathan Dunlap
Jonathan Dunlap2 месяцев назад

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

Фото профиля Bitr0t ⌨️
Bitr0t ⌨️2 месяцев назад

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
moshik2 месяцев назад

I NEEDED THAT TODAY! 👏🏼

Фото профиля Lalit Jangid 🇮🇳
Lalit Jangid 🇮🇳2 месяцев назад

wow...

Фото профиля TheGOAT
TheGOAT2 месяцев назад

good feature

Фото профиля Filip Ganyicz
Filip Ganyicz2 месяцев назад

@thdxr Hell yeah

Похожие видео