GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add cache management command by JosXa · Pull Request #5508 · anomalyco/opencode

Conversation

@JosXa

@JosXa JosXa commented Dec 14, 2025

Copy link
Copy Markdown
Contributor

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
JosXa added 2 commits December 16, 2025 16:22
JosXa @JosXa
feat: add cache management command
0cc6c70
JosXa @JosXa
refactor: extract shared utilities to cli/util.ts
60c167d
@JosXa
JosXa force-pushed the feat/cache-command branch from c1c7b03 to 60c167d Compare December 16, 2025 15:22
shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Dec 17, 2025
@shuv1337
docs: update PR list and fork features for recent merges
1777ab3
- Add PR anomalyco#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
@shuv1337 shuv1337 mentioned this pull request Dec 18, 2025
[Upstream Sync] Merge conflict with v1.0.167 shuv1337/shuvcode#142
Closed
opencode-agent Bot added a commit to shuv1337/shuvcode that referenced this pull request Dec 18, 2025
@opencode-agent
sync: merge upstream v1.0.167 into integration
d267e1b
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 anomalyco#4898: Search in messages (Ctrl+F)
- PR anomalyco#4791: ANSI bash output support
- PR anomalyco#4900: Double Ctrl+C to exit
- PR anomalyco#4709: Live token usage during streaming
- PR anomalyco#4865: Subagents sidebar navigation
- PR anomalyco#4515: Show plugins in /status
- PR anomalyco#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
sync: merge upstream v1.0.167 shuv1337/shuvcode#143
Merged
[Upstream Sync] Merge conflict with v1.0.169 shuv1337/shuvcode#144
Closed
opencode-agent Bot added a commit to shuv1337/shuvcode that referenced this pull request Dec 19, 2025
@opencode-agent
sync: merge upstream v1.0.169 into integration
cfe251e
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 anomalyco#4898: Search in messages (Ctrl+F)
- PR anomalyco#4791: Bash output with ANSI
- PR anomalyco#4900: Double Ctrl+C to exit
- PR anomalyco#4709: Live token usage during streaming
- PR anomalyco#4865: Subagents sidebar with clickable navigation
- PR anomalyco#5508: Cache management command
- Glob permissions feature
- Toggle transparent background
- Desktop slash commands and share functionality
This was referenced Dec 19, 2025
sync: merge upstream v1.0.169 shuv1337/shuvcode#145
Merged
[Upstream Sync] Merge conflict with v1.0.170 shuv1337/shuvcode#146
Closed
[Upstream Sync] Merge conflict with v1.0.171 shuv1337/shuvcode#151
Closed
[Upstream Sync] Merge conflict with v1.0.172 shuv1337/shuvcode#152
Closed
[Upstream Sync] Merge conflict with v1.0.173 shuv1337/shuvcode#155
Closed
[Upstream Sync] Merge conflict with v1.0.174 shuv1337/shuvcode#157
Closed
opencode-agent Bot added a commit to shuv1337/shuvcode that referenced this pull request Dec 20, 2025
@opencode-agent
sync: merge upstream v1.0.174 into integration
102745e
Resolved conflicts:
- packages/opencode/script/publish.ts: Keep ours (fork-specific publishing)

Preserved fork features:
- All features from PRs anomalyco#4898, anomalyco#4791, anomalyco#4900, anomalyco#4709, anomalyco#4865, anomalyco#4515, anomalyco#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
sync: merge upstream v1.0.174 shuv1337/shuvcode#158
Merged
[Upstream Sync] Merge conflict with v1.0.175 shuv1337/shuvcode#159
Closed
[Upstream Sync] Merge conflict with v1.0.176 shuv1337/shuvcode#161
Closed
opencode-agent Bot added a commit to shuv1337/shuvcode that referenced this pull request Dec 20, 2025
@opencode-agent
sync: merge upstream v1.0.176 into integration
aef0574
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 anomalyco#4898: Search in messages
- PR anomalyco#4791: Bash output with ANSI
- PR anomalyco#4900: Double Ctrl+C to exit
- PR anomalyco#4709: Live token usage during streaming
- PR anomalyco#4865: Subagents sidebar with clickable navigation
- PR anomalyco#4515: Show plugins in /status
- PR anomalyco#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
sync: merge upstream v1.0.176 shuv1337/shuvcode#162
Closed
[Upstream Sync] Merge conflict with v1.0.177 shuv1337/shuvcode#163
Closed
[Upstream Sync] Merge conflict with v1.0.178 shuv1337/shuvcode#165
Closed
[Upstream Sync] Merge conflict with v1.0.179 shuv1337/shuvcode#167
Closed
opencode-agent Bot added a commit to shuv1337/shuvcode that referenced this pull request Dec 20, 2025
@opencode-agent
sync: merge upstream v1.0.179 into integration
f54c9ea
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 anomalyco#4898: Search in messages
- PR anomalyco#4791: Bash output with ANSI
- PR anomalyco#4900: Double Ctrl+C to exit
- PR anomalyco#4709: Live token usage during streaming
- PR anomalyco#4865: Subagents sidebar with clickable navigation
- PR anomalyco#4515: Show plugins in /status
- PR anomalyco#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
sync: merge upstream v1.0.179 shuv1337/shuvcode#168
Closed
[Upstream Sync] Merge conflict with v1.0.180 shuv1337/shuvcode#169
Closed
[Upstream Sync] Merge conflict with v1.0.181 shuv1337/shuvcode#176
Closed
opencode-agent Bot added a commit to shuv1337/shuvcode that referenced this pull request Dec 21, 2025
@opencode-agent
sync: merge upstream v1.0.181 into integration
f5b884f
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 anomalyco#4898: Search in messages
- PR anomalyco#4791: Bash output with ANSI
- PR anomalyco#4900: Double Ctrl+C to exit
- PR anomalyco#4709: Live token usage during streaming
- PR anomalyco#4865: Subagents sidebar
- PR anomalyco#4515: Show plugins in /status
- PR anomalyco#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
@shuv1337 shuv1337 mentioned this pull request Dec 21, 2025
sync: merge upstream v1.0.181 shuv1337/shuvcode#177
Closed
@shuv1337 shuv1337 mentioned this pull request Dec 21, 2025
[Upstream Sync] Merge conflict with v1.0.182 shuv1337/shuvcode#178
Closed
@thdxr
thdxr force-pushed the dev branch from cbab81f to 2d3c7a0 Compare January 30, 2026 04:50
@opencode-agent
opencode-agent Bot force-pushed the dev branch from 00637c0 to 71e0ba2 Compare January 30, 2026 14:32
@thdxr
thdxr force-pushed the dev branch 3 times, most recently from f1ae801 to 08fa7f7 Compare January 30, 2026 14:37
@github-actions

github-actions Bot commented Feb 15, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot closed this Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@JosXa
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.