You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] /undo removed the last message, but didn't revert the code edit. #2642
Awesome, would love to hear more or see it. Aside while I have your attention: crazy to think your serverless stack tutorial was my first introduction to full stack web dev in college, and a decade I find out this tool is by you guys too. Cheers man!
I solved this problem by deleting ~/.local/share/opencode/snapshot/global, as it didn't contain any ref files. After deletion, a normal ref file was automatically regenerated.
Activity
github-actions commentedon Sep 17, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
thdxr commentedon Sep 17, 2025
we only turn on snapshotting in git repos (we don't actually use it but this is way to avoid running it on huge dirs)
is this ia git dir?
SsparKluo commentedon Sep 17, 2025
That demo, no. Do you means the cwd should be in a git dir to use /undo?
rekram1-node commentedon Sep 17, 2025
He is saying that file changes will only be reverted in git repos rn so if you arent in a git repo this is expected behavior
SsparKluo commentedon Sep 17, 2025
I see. Just ... didn't see any info in the docs mention that
riotrah commentedon Oct 24, 2025
I think this would benefit from being made clearer when attempting to use it
rekram1-node commentedon Oct 24, 2025
i agree, also: we are thinking about a smarter way to implement it that wont rely on git and will he more performant
riotrah commentedon Oct 28, 2025
Awesome, would love to hear more or see it. Aside while I have your attention: crazy to think your serverless stack tutorial was my first introduction to full stack web dev in college, and a decade I find out this tool is by you guys too. Cheers man!
rekram1-node commentedon Oct 28, 2025
That was before I joined so all credit goes to the original 3 (Dax, Jay, Frank)
Thank you tho!
We are thinking about using parcel with file apis to monitor for edits and track diffs
zhennandu commentedon Mar 16, 2026
I solved this problem by deleting ~/.local/share/opencode/snapshot/global, as it didn't contain any ref files. After deletion, a normal ref file was automatically regenerated.