Skip to content

docs(tabnine): Tabnine CLI 1.3.x reads global config from ~/.tabnine/opencode/config - #3965

Merged
dyoshikawa merged 3 commits into
mainfrom
resolve-issue-3077-tabnine-global-config-path
Nov 25, 2026
Merged

dyoshikawa merged 3 commits into
mainfrom
resolve-issue-3077-tabnine-global-config-path

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Tabnine CLI 1.3.x, which Tabnine 6.7.7 now ships, no longer reads ~/.config/opencode/**. The Tabnine notes in the docs still said that --targets opencodev1 --global output is picked up there. This PR corrects those notes. It changes docs only.

Verification against the release bundles

  • tabnine-v1.3.1, linux-x64:
    • manifest.json reports opencodeVersion 1.19.5.
    • The binary sets the global paths as A = process.env.TABNINE_OPENCODE_ROOT || ~/.tabnine/opencode and config = A/config. The global config dirs are [config, …project .opencode, OPENCODE_CONFIG_DIR], and the global AGENTS.md comes from config/AGENTS.md.
    • The binary has no .config/opencode string.
  • tabnine-v1.1.3, linux-x64: manifest.json reports 1.18.9. The binary still uses the standard XDG <xdgConfig>/opencode path and has no TABNINE_OPENCODE_ROOT.

What changed

  • docs/reference/supported-tools.md (Tabnine deprecation note):
    • The bundled-version note now cites 1.3.1 / Tabnine 6.7.7.
    • ~/.config/opencode/** is removed from the generic opencodev1 path list.
    • The text now says that project scope works in every version, and that global output is read by the 1.1.x line but not by 1.3.x. From 1.3.x the global root is ~/.tabnine/opencode/config/.
    • It notes that Tabnine's configuration docs predate 1.3.0.
    • It gives a workaround: use project scope, or copy or symlink the generated files and merge opencode.json keys by hand.
  • README.md and docs/reference/file-formats.md: short notes with the same content.
  • src/generated/docs-content.ts: regenerated.

Skipped

  • No new output path or target for ~/.tabnine/opencode/config/. Tabnine keeps its own opencode.json in that directory, so if Rulesync wrote there it would clash with Tabnine's file. The 1.1.x line still reads the standard root, too. A small change that clearly holds up is not available yet.
  • rulesync code is unchanged. No code depends on the stale claim.
  • The removal decision for the legacy tabnine target is still open.

Refs #3077

🤖 Generated with Claude Code

https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4

dyoshikawa and others added 3 commits November 25, 2026 10:48
…/.tabnine/opencode/config

Tabnine CLI 1.3.0 (shipped as 1.3.1 by Tabnine 6.7.7) resolves OpenCode's
global config directory to ${TABNINE_OPENCODE_ROOT:-~/.tabnine/opencode}/config
and no longer reads ~/.config/opencode, so `opencodev1 --global` output is
not picked up by it. The 1.1.x line still uses the standard XDG root. Update
the README, supported-tools and file-formats notes accordingly, and refresh
the bundled-version note (1.3.1 still bundles OpenCode 1.19.5).

Refs #3077

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
…er 1.2.0

Tell README readers to copy everything but opencode.json and merge its keys
by hand, note that the re-published 1.2.0 build already resolves the
~/.tabnine/opencode/config path, and replace the dangling "until then".

Refs #3077

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
…bnine-global-config-path

# Conflicts:
#	src/generated/docs-content.ts
@dyoshikawa
dyoshikawa merged commit 371e0d6 into main Nov 25, 2026
10 checks passed
@dyoshikawa
dyoshikawa deleted the resolve-issue-3077-tabnine-global-config-path branch November 25, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant