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: lkonga/opencode-githubrepo-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev-fork-internal
Choose a base ref
...
head repository: lkonga/opencode-githubrepo-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 8 files changed
  • 1 contributor

Commits on Jul 7, 2026

  1. Configuration menu
    Copy the full SHA
    a1c3fa6 View commit details
    Browse the repository at this point in the history
  2. fix: embeddings_index 404 proceeds to search (restores microsoft/vsco…

    …de-copilot-chat path)
    lkonga committed Jul 7, 2026
    Configuration menu
    Copy the full SHA
    d0d5dcb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e79c51 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d95aa2a View commit details
    Browse the repository at this point in the history
  5. fix: retry embeddings search with gh token when Copilot OAuth gets sc…

    …ope 404
    
    Copilot oauth from auth.json can return misleading 404 for private repos
    while gh auth token succeeds on the same scoping_query. Retry once before
    reporting failure; clarify error text (token scope vs bad repo param).
    lkonga committed Jul 7, 2026
    Configuration menu
    Copy the full SHA
    92ce410 View commit details
    Browse the repository at this point in the history
  6. refactor: plugin-only auth default with bidirectional scope-404 retry (

    …#10)
    
    - getToken() drops non-SYNC reads of token-sync-live.json / copilot-shared-token.json;
      both are now SYNC_MODE opt-in only (no stale token-sync / opencode-patches dependency)
    - Default: Copilot OAuth primary -> gh fallback on scope-404 (preserves 92ce410)
    - GITHUBREPO_PREFER_GH=1 reverses primary/fallback (private-repo-heavy use)
    - Extract pure testable helpers (pickPrimaryToken, pickScopeFallback, isEmbeddingsScopeDenied)
      with unit tests; no live API required
    - README: token-order section + troubleshooting (token bug vs bad owner/repo vs indexing limit)
    
    Closes #10
    lkonga committed Jul 7, 2026
    Configuration menu
    Copy the full SHA
    c111133 View commit details
    Browse the repository at this point in the history
  7. fix: v1 plugin export shape — prevents oc hook crash (#10)

    export default { id, server: plugin } so named utility exports are not
    invoked as legacy server hooks (undefined hook → Unexpected server error).
    lkonga committed Jul 7, 2026
    Configuration menu
    Copy the full SHA
    a8c3243 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4a31a35 View commit details
    Browse the repository at this point in the history
  9. release: v1.0.9 — plugin-only auth, v1 export shape, workflow doc

    - d0d5dcb/c111133/a8c3243 already on main; bump package version
    - Prod smoke: privates + microsoft/vscode-copilot-chat
    - No fork rebuild required for githubrepo
    lkonga committed Jul 7, 2026
    Configuration menu
    Copy the full SHA
    66558ff View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c7263bf View commit details
    Browse the repository at this point in the history
  11. docs: gh required for private repos; upstream auth defaults (v1.0.11)

    - README: private search/index/shadow needs gh + repo scope
    - Auth path: vanilla ~/.local/share/opencode/auth.json first
    - references/future-gh-optional.md + GitHub #12
    - Portable tests; clearer no-auth error
    lkonga committed Jul 7, 2026
    Configuration menu
    Copy the full SHA
    672f6c6 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2026

  1. Configuration menu
    Copy the full SHA
    e28c05b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5af1e29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ac6e48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b9d089 View commit details
    Browse the repository at this point in the history
Loading