Skip to content

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 12 Apr 21:59
· 378 commits to main since this release

Task Tool — Native TUI Integration

The task tool now works with OpenCode's native handleSubtask flow. When Claude calls the task tool, clwnd holds the MCP call (tendril), emits providerExecuted: false so OC executes it with full TUI feedback (spinner, child session, progress), then resolves the hold with the real result so Claude CLI's conversation stays consistent.

  • Tendril hold + provider-side emission (Meridian-inspired passthrough for one tool)
  • forceUncup ensures tool events reach the provider before the hold signal (cupping fix)
  • skipResultIds prevents finish-reason loop on continuation stream

Curate — JSONL Pruning Replaces OC Compaction

When OC triggers compaction, clwnd intercepts it and prunes the JSONL instead of letting OC summarize. No model call, no summary bloat, no compaction contagion.

  • Strips thinking blocks from old turns
  • Trims tool_result content over threshold to first line
  • Preserves recent turns intact
  • Daemon respawns Claude CLI from the pruned JSONL
  • Removed ocCompaction config (dead code)

Fixes (v0.20.x → v0.21.0)

  • Task delegation: clear buds + brokered return recognition
  • Task tool: clear error on failure instead of silent empty
  • Task tendril: create child session, not subtask on locked parent