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

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

На главную

Announcing plugins for OpenCode Desktop Make your own

52,755 просмотров • 2 дней назад •via X (Twitter)

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

Фото профиля Luke Parker
Luke Parker2 дней назад

Most features are refactored and shipped as built-in plugins already. Everything in this video was recorded from a build of the latest v2.2.0. Try the horror CRT effect yourself: `opencode plugin add github:Hona/opencode-crt` Slots and Registries will expand as I gauge community demand - show me what you ship!

Фото профиля avrl ☘
avrl ☘2 дней назад

that's cool af!!

Фото профиля Luke Parker
Luke Parker2 дней назад

helll yeah

Фото профиля avrl ☘
avrl ☘2 дней назад

exactly, maybe I'll experiment over weekend too!

Фото профиля Dither Dude
Dither Dude1 день назад

Surely he will be a preinstalled plugin, which activates between 2am and 6am local time?

Фото профиля Pronsh
Pronsh2 дней назад

this is screaming fnaf... when are we getting animatronics

Фото профиля Alex Spînu
Alex Spînu1 день назад

My brother in christ I have been waiting for this, thank you!

Фото профиля Santiago Santana
Santiago Santana1 день назад

I was waiting for this!

Фото профиля Loftwah
Loftwah2 дней назад

Nice!

Фото профиля Luke Parker
Luke Parker2 дней назад

ty ty I've been wanting to ship this for AGESSSSS

Фото профиля endy
endy1 день назад

@opencode woah! 🤯 i’ll try this out

Фото профиля Rohan
Rohan2 дней назад

Can a plugin intercept a tool call before it runs, say to block a shell command?

Фото профиля Luke Parker
Luke Parker2 дней назад

Yes, but not from the GUI plugin. GUI plugins only change the Desktop app's interface, and tools run on the OpenCode server, so you need a server plugin that registers `ctx.permission.hook("evaluate", …)`. That hook runs before each action. When `event.action` is `"shell"` and one of the commands in `event.resources` matches something you want to stop, set `event.effect = "deny"` and put the reason in `event.message`. The command then doesn't run, and the model sees the reason and keeps working. If plain patterns are enough, you don't need a plugin: add a config rule such as `{ "action": "shell", "resource": "git push *", "effect": "deny" }`, and use the hook only when the decision needs real logic.

Фото профиля squidlee
squidlee1 день назад

@opencode @theo @jullerino take notes boys 📝

Фото профиля Aymane
Aymane1 день назад

@grok what can I do exactly with this

Фото профиля dhany.exe
dhany.exe1 день назад

Shipping features as built-in plugins is the right call — it turns the app into a platform, not just a product. The real test is whether third-party plugins survive version bumps without breaking. That's where most plugin systems go to die.

Фото профиля lalaland
lalaland1 день назад

Does this apply to opencode web?

Фото профиля cat
cat1 день назад

web please?

Фото профиля Divyendra Singh
Divyendra Singh1 день назад

Of course someone made a horror CRT plugin already.

Фото профиля mike
mike1 день назад

will this also come to opencode web?

Фото профиля HashVibe | AI & Web3 🛡️
HashVibe | AI & Web3 🛡️1 день назад

A poner a nuestros agentes a crear cositas.... 👀🔥

Фото профиля lalalalalalala
lalalalalalala2 дней назад

The docs say setup runs in every window, main only once. For a plugin watching files, I'd keep the watcher in main and expose events over typed IPC, so a second window doesn't double subscriptions. A two-window example would make that lifecycle concrete.

Фото профиля רותם שמואלי
רותם שמואלי1 день назад

Well thank you, I can finally fix this bug

Фото профиля Eclar Khalid
Eclar Khalid2 дней назад

useful detail in the docs: the GUI switch and package removal are separate. `opencode plugin remove <package>` gives people a command-line removal route when troubleshooting a broken extension, alongside the switch in Settings > Extensions > Plugins.

Фото профиля Novaris
Novaris2 дней назад

Plugins are where these tools either take off or turn into a mess. Curious what the first wave of weird, useful ones looks like.

Фото профиля s.h
s.h1 день назад

How to change the user prompt bubble color? It's good harsh.

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