Hook doesn't work on opencode. #3720
Replies: 1 comment
|
You did not misread the installer. Two different things are going on, and Gemini bounced between them because both are real. 1. The hook rewriting
|
|
You did not misread the installer. Two different things are going on, and Gemini bounced between them because both are real. 1. The hook rewriting
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm using OpenCode Desktop and
opencode-tuion Windows 11 natively. This happened on both versions.Did I do it wrong?
I already installed rtk, already ran
rtk init -g --opencodeandrtk.tsalready in the opencode plugin directory. I also already tried running rtk manually:I already restarted opencode after running rtk init,
But rtk still doesn't work on opencode.
The output is still very long.
It will only work if I ask the agent to use rtk.
But I thought installing rtk on opencode meant I don't have to do that. Did I misunderstand something?
UPDATE
Searching on issues tracker, it seems like it's a bug.
rtk.ts that I grabbed from this PR also didn't work, but I only grabbed the
rtk.tsinstead of usingrtk init.I went to try to debug it with gemini (I have no experience with javascript ecosystem), we ran many modified
rtk.tsand he comes into conclusion that it might be opencode bug. As it ran rtk just fine but it's output is not compacted.Click here to see the final `rtk.ts` and debug log
debug log:
BUT!! when I asked it the second time and feeding it with original rtk.ts, it now blames rtk instead of opencode:
Full conversation: https://share.gemini.google/BoaESkWMOrYP
All reactions