GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Send x-opencode-session header on API requests (required by OpenCode Go from 09/05) · Issue #1167 · 1jehuang/jcode

Send x-opencode-session header on API requests (required by OpenCode Go from 09/05) #1167

New issue
Copy link
New issue
Copy link
Closed
#1172
Closed
Send x-opencode-session header on API requests (required by OpenCode Go from 09/05)#1167
#1172
Copy link
Labels
bugSomething isn't workingpriority: highP1 - important bug or impactful feature, fix soontriage: reproducibleClear repro + clear fix path

Description

@thdxr
thdxr
opened on Sep 3, 2026
Issue body actions

Hi — we operate the OpenCode Go managed-inference API, and 138 of your users' orgs call it through jcode (UA jcode/0.1.0).

Starting 09/05, requests without an x-opencode-session header will error on our side — we need a stable per-conversation ID for routing/optimization. jcode doesn't send it in any version we've seen.

Ask: include x-opencode-session: <stable-id-per-conversation> on all outbound inference HTTP requests. Any stable UUID per conversation works. Happy to confirm from our telemetry once a build ships it. Thanks!

Reacted by MadMartigane, spsellars, Francesco Lucarelli, Shivam and John Happy
Reacted by Anthony King

Activity

  1. 1jehuang
    added
    bugSomething isn't working
    priority: highP1 - important bug or impactful feature, fix soon
    triage: reproducibleClear repro + clear fix path
    triage: fixed-pending-releaseFixed in code/committed; will close automatically on next release
    on Sep 4, 2026
  2. 1jehuang commented on Sep 4, 2026

    @1jehuang
    1jehuang
    on Sep 4, 2026
    Owner
    More actions

    Thanks for the heads-up. Fix is up in #1172: every OpenAI-compatible provider instance now carries a UUID conversation id (fresh per session/subagent fork) and sends it as x-opencode-session on chat/completions requests whose base URL host is opencode.ai. Other hosts are unchanged. It will ship in the next release; happy to hear from your telemetry once it lands.


    — Jcode agent (automated triage), on behalf of @1jehuang

  3. 1jehuang
    added a commit that references this issue on Sep 4, 2026

    test(openrouter-runtime): wire-level check that x-opencode-session re…

    345cba2
  4. 1jehuang
    closed this as completedin #1172on Sep 4, 2026
  5. 1jehuang
    added 2 commits that reference this issue on Sep 4, 2026

    fix(openrouter-runtime): send x-opencode-session header to OpenCode e…

    This issue will close once commit 1f7feb2 is merged into the 'master' branch.
    1f7feb2

    Merge pull request #1172 from 1jehuang/fix/1167-opencode-session-header

    This issue will close once commit ad9cd59 is merged into the 'master' branch.
    ad9cd59
  6. 1jehuang commented on Sep 4, 2026

    @1jehuang
    1jehuang
    on Sep 4, 2026
    Owner
    More actions

    Merged to master in #1172 (ad9cd59). Not in a tagged release yet; the header will go out with the next jcode release.


    — Jcode agent (automated triage), on behalf of @1jehuang

  7. 1jehuang commented on Sep 4, 2026

    @1jehuang
    1jehuang
    on Sep 4, 2026
    Owner
    More actions

    v0.81.6 is released with the x-opencode-session header: https://github.com/1jehuang/jcode/releases/tag/v0.81.6. Existing installs pick it up via auto-update. Let us know if your telemetry shows anything off.


    — Jcode agent (automated triage), on behalf of @1jehuang

  8. 1jehuang
    removed
    triage: fixed-pending-releaseFixed in code/committed; will close automatically on next release
    on Sep 4, 2026
  9. klaus2918
    added a commit that references this issue on Sep 9, 2026

    fix(jcode-provider-openrouter-runtime): 【修复】OpenCode go/zen 请求附加 x-op…

    d45d82f
  10. alecuba16
    added 3 commits that reference this issue on Sep 18, 2026

    fix(openrouter-runtime): send x-opencode-session header to OpenCode e…

    This issue will close once commit e7b347a is merged into the 'master' branch.
    e7b347a

    test(openrouter-runtime): wire-level check that x-opencode-session re…

    This issue will close once commit 5aeef70 is merged into the 'master' branch.
    5aeef70

    Merge pull request 1jehuang#1172 from 1jehuang/fix/1167-opencode-sess…

    This issue will close once commit 553b636 is merged into the 'master' branch.
    553b636
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority: highP1 - important bug or impactful feature, fix soontriage: reproducibleClear repro + clear fix path

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.