Commit 4047cda
fix: clear stale browser cache after reset and improve reset messaging
Bumps opencode submodule with epoch-based browser cache invalidation:
the server generates a unique epoch on first boot, and the frontend
clears localStorage when the epoch changes (e.g. after volume wipe).
Adds a CLI hint after `reset host` and `reset container --volumes`
telling users to clear browser data (for older frontend versions).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5c0d9b4 commit 4047cda
2 files changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| 438 | + | |
438 | 439 | | |
439 | 440 | | |
440 | 441 | | |
| |||
653 | 654 | | |
654 | 655 | | |
655 | 656 | | |
| 657 | + | |
| 658 | + | |
656 | 659 | | |
657 | 660 | | |
658 | 661 | | |
| |||
664 | 667 | | |
665 | 668 | | |
666 | 669 | | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
667 | 693 | | |
668 | 694 | | |
669 | 695 | | |
| |||
- AGENTS.md+9-1
- CLAUDE.md+122
- packages/app/src/context/global-sync/bootstrap.ts+2
- packages/app/src/utils/server-health.ts+2-2
- packages/fork-config/src/epoch.ts+19
- packages/fork-config/src/index.ts+1
- packages/fork-ui/src/epoch-cache.ts+31
- packages/fork-ui/src/index.ts+1
- packages/opencode/src/server/routes/file.ts+2-2
- packages/opencode/src/server/routes/global.ts+4-2
- packages/sdk/js/src/v2/gen/types.gen.ts+1
0 commit comments