Skip to content

fix: make compact command interruptible - #691

Merged
adamdotdevin merged 13 commits into
anomalyco:devfrom
timoclsn:fix-cancle-compact
Jul 8, 2025
Merged

adamdotdevin merged 13 commits into
anomalyco:devfrom
timoclsn:fix-cancle-compact

Conversation

@timoclsn

@timoclsn timoclsn commented Jul 4, 2025 •

Copy link
Copy Markdown
Contributor

This PR makes /compact interruptible.

  • Make it interruptible in the TUI.
  • Handle interruption in the server.

Closes #606

@timoclsn
timoclsn marked this pull request as draft July 4, 2025 19:17
@timoclsn
timoclsn marked this pull request as ready for review July 4, 2025 19:59
@timoclsn timoclsn changed the title fix: make compact interruptible fix: make /compact interruptible Jul 4, 2025
@timoclsn timoclsn changed the title fix: make /compact interruptible fix: make compact command interruptible Jul 4, 2025
@timoclsn

timoclsn commented Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

Updated with latest changes from dev branch.

@adamdotdevin
adamdotdevin merged commit 1e07384 into anomalyco:dev Jul 8, 2025
@timoclsn
timoclsn deleted the fix-cancle-compact branch July 8, 2025 20:40
andreipromarketing-dev pushed a commit to andreipromarketing-dev/opencode that referenced this pull request Apr 7, 2026
…s unset (anomalyco#547) (anomalyco#691)

When ECC is installed as a Claude Code plugin via the marketplace,
scripts live in the plugin cache (~/.claude/plugins/cache/...) but
commands fallback to ~/.claude/ which doesn't have the scripts.

Add resolve-ecc-root.js with a 3-step fallback chain:
  1. CLAUDE_PLUGIN_ROOT env var (existing)
  2. Standard install at ~/.claude/ (existing)
  3. NEW: auto-scan the plugin cache directory

Update sessions.md and skill-health.md commands to use the new
inline resolver. Includes 15 tests covering all fallback paths
including env var priority, standard install, cache discovery,
and the compact INLINE_RESOLVE used in command .md files.
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
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.

bug: /compact is not interruptable

4 participants