Skip to content

Releases: RoderickQiu/opencode-workaholic

v0.4.0

19 Mar 06:45

Choose a tag to compare

Fixed

  • Tool name validation failure: Tool names now use underscores instead of dots (e.g., workaholic_start instead of workaholic.start) to comply with OpenCode's stricter tool name validation pattern ^[a-zA-Z0-9_-]+$. This fixes the issue where the plugin would fail to load on newer OpenCode versions.

v0.3.0

15 Mar 05:31

Choose a tag to compare

v0.3.0 Pre-release
Pre-release

Features

  • Checkout system: Added workaholic.checkout - AI must call this to end task, only succeeds when timer = 0
  • End detection hook: tool.execute.after intercepts AI output and detects "done" language, forces continuation
  • Random prompt rotation: 6 different prompt styles rotate randomly to prevent AI from adapting

Improvements

  • Stronger checkout enforcement: Every status call now emphasizes MUST call checkout to end
  • Compacter prompts: Reduced prompt verbosity while maintaining impact
  • Web search as fallback: Prompts suggest "web search" when stuck, as optional action

v0.2.0

14 Mar 17:06

Choose a tag to compare

v0.2.0 Pre-release
Pre-release

Features

  • Idle detection: Detects when AI is checking status too frequently (3+ times in 12 seconds)
  • Stronger behavioral prompts: Added "NO EARLY ENDING" rules to prevent premature wrap-up
  • Status check warnings: Returns harsh warnings when AI is idling or checking status too often

Improvements

  • Removed prompts that encouraged frequent status checking
  • Added explicit rules against "essentially complete", "wrap up", "finish" thinking
  • Timer only ends at EXACTLY 0, not "close enough"

v0.1.0

14 Mar 15:54

Choose a tag to compare

v0.1.0 Pre-release
Pre-release

Features

  • Custom tools: Added workaholic.start, workaholic.status, and workaholic.stop tools
  • Duration support: Supports decimal minutes (2.5, 3.5, etc.) via Zod schema
  • System prompt injection: Automatically injects workaholic rules when timer is active
  • Sleep blocking: Prevents time-wasting by blocking sleep commands
  • Persistent timer: Timer state stored in /tmp/workaholic_timer_*.json
  • Command template: /workaholic command with strong behavioral prompts

Plugin Architecture

  • Built on OpenCode plugin template
  • Uses file-based timer state for persistence
  • Implements experimental chat hooks for system prompt injection
  • Tool execute hooks for sleep command blocking