codex_usage 0.1.1

Codex and Claude Code telemetry/usage parser, aggregate JSONL events into CodeAnalysis results
Documentation
# ๐Ÿš€ Release Drafter Configuration
# ่‡ชๅ‹•็”Ÿๆˆ release notes๏ผŒๅŸบๆ–ผ PR ๆจ™็ฑคๅˆ†้กž่ฎŠๆ›ด

name-template: "v$RESOLVED_VERSION ๐ŸŒˆ"
tag-template: "v$RESOLVED_VERSION"

# ๐Ÿ“‹ ่ฎŠๆ›ดๅˆ†้กž
categories:
  - title: "๐Ÿ’ฅ Breaking Changes"
    collapse-after: 5
    labels:
      - "breaking"

  - title: "โœจ Features"
    collapse-after: 10
    labels:
      - "feature"

  - title: "๐Ÿ› Bug Fixes"
    collapse-after: 10
    labels:
      - "bugfix"

  - title: "๐Ÿงฐ Maintenance"
    collapse-after: 3
    labels:
      - "chore"

  - title: "๐Ÿ“ฆ Dependencies"
    collapse-after: 3
    labels:
      - "dependencies"

  - title: "๐Ÿ“ Documentation"
    collapse-after: 3
    labels:
      - "documentation"

  - title: "๐Ÿงช Tests"
    collapse-after: 5
    labels:
      - "unit-test"

  - title: "โšก๏ธ Performance Improvements"
    collapse-after: 5
    labels:
      - "perf"

  - title: "๐Ÿ”’๏ธ Security Fixes"
    collapse-after: 3
    labels:
      - "security"

  - title: "โ™ป๏ธ Code Refactoring"
    collapse-after: 5
    labels:
      - "refactor"

  - title: "๐ŸŽจ Code Style & Formatting"
    collapse-after: 5
    labels:
      - "style"

  - title: "๐Ÿ”™ Reverts"
    collapse-after: 3
    labels:
      - "revert"

# ๐Ÿ“ ่ฎŠๆ›ดๆข็›ฎๆ ผๅผ
change-template: "- $TITLE by $AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&`#@'

# ๐Ÿท๏ธ ็‰ˆๆœฌๆฑบๅฎš้‚่ผฏ
version-resolver:
  major:
    labels:
      - "breaking"
      - "revert"
  minor:
    labels:
      - "feature"
      - "perf"
      - "security"
      - "refactor"
  patch:
    labels:
      - "bugfix"
      - "style"
      - "unit-test"
      - "documentation"
      - "dependencies"
      - "chore"
  default: patch

# ๐ŸŽฏ ่‡ชๅ‹•ๆจ™็ฑค (ๅฆ‚ๆžœ PR ๆฒ’ๆœ‰ๅฐๆ‡‰ๆจ™็ฑค)
autolabeler:
  - label: "feature"
    branch:
      - "/^add[/-]/"
      - "/^feat[/-]/"
      - "/^feature[/-]/"

  - label: "bugfix"
    branch:
      - "/^(fix|bug|bugfix|hotfix)[/-]/"

  - label: "breaking"
    branch:
      - "/^breaking[/-]/"
      - "/^major[/-]/"
      - "/^BREAKING[/-]/"

  - label: "perf"
    branch:
      - "/^perf(ormance)?[/-]/"
      - "/^optimize[/-]/"

  - label: "refactor"
    branch:
      - "/^refactor[/-]/"
      - "/^cleanup[/-]/"
      - "/^restructure[/-]/"

  - label: "unit-test"
    branch:
      - "/^tests?[/-]/"

  - label: "documentation"
    branch:
      - "/^docs?[/-]/"
      - "/^documentation[/-]/"

  - label: "style"
    branch:
      - "/^style[/-]/"
      - "/^format[/-]/"
      - "/^lint[/-]/"

  - label: "chore"
    branch:
      - "/^chore[/-]/"
      - "/^maintenance[/-]/"
      - "/^config[/-]/"
      - "/^update[/-]/"

  - label: "dependencies"
    branch:
      - "/^deps?[/-]/"
      - "/^dependabot[/-]/"
      - "/^dependencies[/-]/"

  - label: "security"
    branch:
      - "/^security[/-]/"
      - "/^sec[/-]/"

  - label: "revert"
    branch:
      - "/^revert[/-]/"
      - "/^rollback[/-]/"

# ๐Ÿ“„ Release Notes ๆจกๆฟ
template: |
  ## ๐ŸŽ‰ What's Changed

  $CHANGES

  ---

  ## ๐Ÿ“Š Release Statistics

  **Contributors**: $CONTRIBUTORS
  **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION

  ---

  ## ๐Ÿ’ก Need Help?

  - ๐Ÿ“– [Documentation](https://github.com/$OWNER/$REPOSITORY/blob/main/README.md)
  - ๐Ÿ› [Report Issues](https://github.com/$OWNER/$REPOSITORY/issues)
  - ๐Ÿ’ฌ [Discussions](https://github.com/$OWNER/$REPOSITORY/discussions)

# ๐Ÿ“š ๆŽ’้™ค็š„ๆจ™็ฑค (ไธๆœƒๅ‡บ็พๅœจ release notes ไธญ)
exclude-labels:
  - "skip-changelog"
  - "duplicate"
  - "question"
  - "invalid"
  - "wontfix"
  - "size: xs"
  - "size: small"
  - "size: medium"
  - "size: large"
  - "size: xl"

# ๐Ÿท๏ธ ๅŒ…ๅซ็š„ๆจ™็ฑค (ๅชๆœ‰้€™ไบ›ๆจ™็ฑค็š„ PR ๆœƒ่ขซๅŒ…ๅซ)
include-labels:
  - "breaking"
  - "feature"
  - "bugfix"
  - "perf"
  - "security"
  - "refactor"
  - "style"
  - "unit-test"
  - "documentation"
  - "dependencies"
  - "chore"
  - "revert"