Skip to content

Latest commit

 

History

History
106 lines (73 loc) · 2.67 KB

File metadata and controls

106 lines (73 loc) · 2.67 KB

Changelog

All notable changes to this project will be documented in this file.

[0.8.1] - 2025-03-01

Fixed

  • Fix user_email resolution to read from .opencode/.env instead of project root .env
  • Previously fell back to system username when .env was not found in project root

[0.8.0] - 2025-03-01

Added

  • Add detailed token columns to CSV: tokens_input, tokens_output, tokens_reasoning, tokens_cache_read, tokens_cache_write
  • Add cost column to CSV tracking session cost in USD (from OpenCode SDK)
  • Add CsvWriter.ensureHeader() for automatic CSV header management at plugin startup

Fixed

  • Fix CSV header migration: automatically upgrade old 17-column files to 23-column format
  • Fix ticket extraction: skip synthetic text parts (file contents, MCP resources) to avoid false positives from example patterns in docs
  • Fix empty CSV files created without headers

Changed

  • CSV header is now validated and repaired at plugin startup, not on each write

[0.7.1] - 2025-03-01

Fixed

  • Fix agent_defaults lookup to be tolerant of @ prefix in agent names
  • Add AgentMatcher utility for consistent agent name normalization across the codebase

[0.7.0] - 2025-02-04

Added

  • Add valid_projects configuration for JIRA project whitelist
  • Restrict ticket detection to specific projects when configured

Changed

  • Default ticket pattern now requires at least 2 uppercase letters
  • Matches: PROJ-123, SOSO-1, AB-99
  • Does not match: V-1, X-9 (single letter), UTF-8 (false positive)

[0.6.1] - 2025-02-02

Fixed

  • Fix ignored_agents matching to accept agent names with or without @ prefix
  • Both "time-tracking" and "@time-tracking" now work in configuration

[0.6.0] - 2025-01-31

Breaking Changes

  • Config: default_account_key removed from top-level config
  • Config: global_default is now required (was optional)
  • Config: global_default.account_key is now required (was optional)

Migration

Update your .opencode/opencode-project.json:

Before (0.5.x):

{
  "time_tracking": {
    "csv_file": "...",
    "default_account_key": "TD_KS_1100",
    "global_default": {
      "issue_key": "PROJ-123"
    }
  }
}

After (0.6.0):

{
  "time_tracking": {
    "csv_file": "...",
    "global_default": {
      "issue_key": "PROJ-123",
      "account_key": "TD_KS_1100"
    }
  }
}

Run /time-tracking.init to automatically migrate your configuration.

[0.5.0] - 2025-01-28

Added

  • Initial release
  • Automatic session tracking with ticket extraction
  • CSV export for time entries
  • Agent-specific default tickets
  • Global fallback configuration
  • Ignored agents support