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: open-gitagent/gitagent
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: open-gitagent/gitagent
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/opencode-full
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 10 files changed
  • 3 contributors

Commits on Mar 18, 2026

  1. Add full OpenCode adapter: export, runner, import, and auto-detection

    - Export adapter (src/adapters/opencode.ts): generates .opencode/instructions.md
      and opencode.json with provider/model config from agent.yaml
    - Runner (src/runners/opencode.ts): creates temp workspace with instructions +
      config, launches `opencode` CLI in interactive or single-shot mode
    - Import (src/commands/import.ts): reads .opencode/instructions.md + opencode.json,
      produces agent.yaml, SOUL.md, and RULES.md
    - Git runner auto-detection: detects .opencode/ or opencode.json and routes to
      the opencode adapter
    - Wired into export, run, and import commands with updated help text and README
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    robinhuse and claude committed Mar 18, 2026
    Configuration menu
    Copy the full SHA
    bb89526 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2026

  1. fix: address review feedback on OpenCode adapter (#29)

    - Use AGENTS.md instead of .opencode/instructions.md (per OpenCode docs)
    - Fix opencode.json config: model uses provider/model format, provider is object with npm package
    - Fix runner CLI: use `opencode run --prompt` for single-shot mode
    - Fix process.exit() before finally cleanup — move cleanup before exit
    - Extract shared buildComplianceSection to src/adapters/shared.ts (dedup from copilot.ts)
    - Fix importer to read AGENTS.md and parse provider/model format
    - Fix git auto-detection to check opencode.json instead of .opencode/
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    shreyas-lyzr and claude committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    310b707 View commit details
    Browse the repository at this point in the history
Loading