Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: anomalyco/opencode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev
Choose a base ref
...
head repository: GQAdonis/opencode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dev
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 12 files changed
  • 2 contributors

Commits on Apr 30, 2026

  1. feat: skill selection ranking algorithm + selection reporting

    Hybrid Keyword + TF-IDF scoring ranks skills by relevance to conversation context.
    - Ranked top-K shown verbosely in system prompt, rest as compact index
    - Selection metadata (score, rank, total) embedded in skill tool output
    - UI renders collapsible card with rank/score details
    - triggers field in SKILL.md frontmatter boosts relevance
    - maxShown config to control verbosity
    - Tests for ranking, scoring, and caching
    GQAdonis committed Apr 30, 2026
    Configuration menu
    Copy the full SHA
    e7b9c13 View commit details
    Browse the repository at this point in the history
  2. chore: update bun lockfile checksums for preview packages

    Normalize bun.lock after bun install — removes stale/redundant sha512
    hashes for @solidjs/start (pkg.pr.new preview) and ghostty-web
    (GitHub-hosted) entries that bun no longer writes for these sources.
    
    Co-Authored-By: Oz <[email protected]>
    GQAdonis and oz-agent committed Apr 30, 2026
    Configuration menu
    Copy the full SHA
    0974cb4 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2026

  1. feat: skill selection ranking algorithm + selection reporting

    Hybrid Keyword + TF-IDF scoring ranks skills by relevance to conversation context.
    - Ranked top-K shown verbosely in system prompt, rest as compact index
    - Selection metadata (score, rank, total) embedded in skill tool output
    - UI renders collapsible card with rank/score details
    - triggers field in SKILL.md frontmatter boosts relevance
    - maxShown config to control verbosity
    - Tests for ranking, scoring, and caching
    GQAdonis committed May 4, 2026
    Configuration menu
    Copy the full SHA
    9464066 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2026

  1. Resolve merge conflicts: environment() effectful, Skill.state ctx rem…

    …oved
    
    - session/system.ts: update Interface.environment return type to Effect.Effect<string[]>
    - session/prompt.ts: remove Effect.sync wrapper around sys.environment(model)
    - skill/index.ts: remove unused ctx param from Skill.state function
    
    Co-Authored-By: Oz <[email protected]>
    GQAdonis and oz-agent committed May 10, 2026
    Configuration menu
    Copy the full SHA
    7ebfe0b View commit details
    Browse the repository at this point in the history
  2. chore: merge upstream/dev — preserve skill ranking + selection enhanc…

    …ements
    
    Resolved one conflict in packages/opencode/src/skill/index.ts:
    - Combined upstream's description-optional + built-in customize-opencode skill
      with local lastRankResult state, triggers parsing, rank/rankDetails/fmt(topK) APIs
    
    All other files (prompt.ts, system.ts, config/skills.ts, tool/registry.ts,
    message-part.tsx, test files) merged cleanly, preserving both upstream
    improvements (scout tools, image handling, HTTP API hardening, websearch
    provider label) and local skill-selection ranking enhancements.
    
    Fixed: skillDocument/keywordScore now handle optional description safely.
    GQAdonis committed May 10, 2026
    Configuration menu
    Copy the full SHA
    4a247b5 View commit details
    Browse the repository at this point in the history
Loading