-
Notifications
You must be signed in to change notification settings - Fork 3.6k
feat: add cache management command #5508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
JosXa
wants to merge
2
commits into
sst:dev
Choose a base branch
from
JosXa:feat/cache-command
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+163
−38
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c1c7b03 to
60c167d
Compare
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
This was referenced Dec 18, 2025
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
This was referenced Dec 19, 2025
opencode-agent bot
added a commit
to Latitudes-Dev/shuvcode
that referenced
this pull request
Dec 20, 2025
Resolved conflicts: - packages/opencode/script/publish.ts: Keep ours (fork-specific publishing) Preserved fork features: - All features from PRs sst#4898, sst#4791, sst#4900, sst#4709, sst#4865, sst#4515, sst#5508 - Glob permissions (#ariane-emory/glob-permissions) - Toggle transparent background (#fork-140) - Session header visibility toggle - Desktop slash commands and shell input mode - Desktop Night Owl theme - Desktop theme/font pickers, branding, inline header - Share functionality for shuv.ai - All other fork-specific features listed in fork-features.json
This was referenced Dec 20, 2025
opencode-agent bot
added a commit
to Latitudes-Dev/shuvcode
that referenced
this pull request
Dec 20, 2025
Resolved conflicts: - bun.lock: regenerated - packages/opencode/package.json: version 1.0.176-1 (fork suffix) - packages/desktop/src/context/global-sync.tsx: merged retry() with defensive array check - packages/desktop/src/context/global-sdk.tsx: merged commented signal with fetch/throwOnError - packages/desktop/src/pages/layout.tsx: preserved onCleanup import - Simple version bumps: accepted upstream for all other package.json files Preserved fork features: - PR sst#4898: Search in messages - 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#4515: Show plugins in /status - PR sst#5508: Cache management command - PR glob-permissions: Granular file permissions - PR fork-140: Toggle transparent background - Desktop slash commands and shell input mode - Desktop Night Owl theme - Desktop theme/font pickers, branding, and inline header - Share functionality for shuv.ai infrastructure - TUI configurable spinner styles - TUI layout density for small terminals
This was referenced Dec 20, 2025
opencode-agent bot
added a commit
to Latitudes-Dev/shuvcode
that referenced
this pull request
Dec 20, 2025
Resolved conflicts: - Package versions: Accept upstream 1.0.179 versions for all packages - packages/opencode/package.json: Updated version, preserved fork dependencies - packages/desktop/src/context/global-sync.tsx: Preserved fork's defensive array check - packages/desktop/src/pages/layout.tsx: Preserved fork's mobile responsiveness imports - .github/workflows/publish.yml: Keep fork-specific workflow config - packages/extensions/zed/extension.toml: Accept upstream version URLs - bun.lock: Regenerated from clean install Preserved fork features: - PR sst#4898: Search in messages - 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#4515: Show plugins in /status - PR sst#5508: Cache management command - PR #ariane-emory/glob-permissions: Granular File Permissions - PR #fork-140: Toggle transparent background - Fork-only: Desktop theme/font pickers, branding, mobile responsiveness - Fork-only: Share functionality for shuv.ai infrastructure - Fork-only: TUI configurable spinners and layout density
This was referenced Dec 20, 2025
opencode-agent bot
added a commit
to Latitudes-Dev/shuvcode
that referenced
this pull request
Dec 21, 2025
Resolved conflicts: - bun.lock: accepted upstream version - packages/console/*/package.json: accepted upstream versions - packages/desktop/package.json: accepted upstream version - packages/enterprise/package.json: accepted upstream version - packages/extensions/zed/extension.toml: accepted upstream version - packages/function/package.json: accepted upstream version - packages/plugin/package.json: accepted upstream version - packages/sdk/js/package.json: accepted upstream version - packages/slack/package.json: accepted upstream version - packages/tauri/package.json: accepted upstream version - packages/ui/package.json: accepted upstream version - packages/util/package.json: accepted upstream version - packages/web/package.json: accepted upstream version - sdks/vscode/package.json: accepted upstream version - packages/opencode/package.json: merged (version 1.0.181-1) - packages/opencode/src/agent/agent.ts: merged fork features (minimatch, resolveFilePermission) with upstream (Log) - packages/opencode/src/session/prompt.ts: merged fork features (plugin commands) with upstream (Agent.defaultAgent) - packages/desktop/src/context/layout.tsx: merged fork features (review pane) with upstream (session pane) - packages/desktop/src/pages/session.tsx: kept fork version (mobile responsiveness, image preview, share commands) Preserved fork features: - PR sst#4898: Search in messages - 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 - PR sst#4515: Show plugins in /status - PR sst#5508: Cache management command - PR ariane-emory/glob-permissions: Granular file permissions - PR fork-140: Toggle transparent background - Desktop theme/font pickers and shuvcode branding - Desktop review pane resizing and share commands - Desktop mobile viewport fixes - Desktop image preview in file viewer - Shell command cwd fix for new projects - TUI configurable spinners and layout density
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
opencode cachecommand for managing the plugin/package cache directorycache cleanto remove cached plugins andcache infoto inspect cache contentsThis 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