Skip to content

Conversation

@JosXa
Copy link
Contributor

@JosXa JosXa commented Dec 14, 2025

Summary

  • Add opencode cache command for managing the plugin/package cache directory
  • Includes cache clean to remove cached plugins and cache info to inspect cache contents

This helps users diagnose and resolve slow startup issues caused by stale cache entries, where outdated plugin versions in the cache trigger force reinstalls on every launch.

Usage

# View cache info (path, size, installed packages)
opencode cache info

# Remove cache (with confirmation)
opencode cache clean

# Remove cache without confirmation
opencode cache clean --force

# Preview what would be removed
opencode cache clean --dry-run

@JosXa JosXa force-pushed the feat/cache-command branch from c1c7b03 to 60c167d Compare December 16, 2025 15:22
shuv1337 added a commit to Latitudes-Dev/shuvcode that referenced this pull request Dec 17, 2025
- Add PR sst#5508 (cache management command) to README and fork-features
- Add PR #140 (toggle transparent background) to README and fork-features
- Add review pane resizing and share commands to fork-features
- Update lastUpdated dates to 2025-12-17
opencode-agent bot added a commit to Latitudes-Dev/shuvcode that referenced this pull request Dec 18, 2025
Resolved conflicts:
- bun.lock: Regenerated from scratch
- packages/*/package.json: Accept upstream version (1.0.167)
- packages/extensions/zed/extension.toml: Accept upstream version

Upstream changes include:
- Version bump to 1.0.167
- Terminal title toggle feature added to config
- MCP authentication improvements
- Legal pages (privacy policy, terms of service)
- Tauri package updates

Fork features preserved:
- PR sst#4898: Search in messages (Ctrl+F)
- PR sst#4791: ANSI bash output support
- PR sst#4900: Double Ctrl+C to exit
- PR sst#4709: Live token usage during streaming
- PR sst#4865: Subagents sidebar navigation
- PR sst#4515: Show plugins in /status
- PR sst#5508: Cache management commands
- PR #ariane-emory: Granular file permissions
- PR #fork-140: Toggle transparent background
- Desktop features: slash commands, shell mode, themes, branding
opencode-agent bot added a commit to Latitudes-Dev/shuvcode that referenced this pull request Dec 19, 2025
Resolved conflicts:
- script/publish.ts: kept fork version (fork-specific publishing to Latitudes-Dev/shuvcode)

Auto-merged files with upstream improvements:
- packages/opencode/src/cli/cmd/tui/routes/session/index.tsx: new dialog-subagent component
- packages/opencode/src/session/message-v2.ts: improved error handling
- packages/desktop/src/context/global-sync.tsx: added null directory guards

Preserved fork features:
- PR sst#4898: Search in messages (Ctrl+F)
- PR sst#4791: Bash output with ANSI
- PR sst#4900: Double Ctrl+C to exit
- PR sst#4709: Live token usage during streaming
- PR sst#4865: Subagents sidebar with clickable navigation
- PR sst#5508: Cache management command
- Glob permissions feature
- Toggle transparent background
- Desktop slash commands and share functionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant