Visitar URL original
fix(opencode): honor configured model in ACP default selection by filipeforattini · Pull Request #53 · reddb-io/redcode · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
38d25c3
feat(ci): adopt changeset releases (#4)
filipeforattini Aug 14, 2026
4a44912
fix(ci): tolerate npm propagation lag (#6)
filipeforattini Aug 14, 2026
1b06d4e
fix(release): keep published assets immutable
filipeforattini Aug 14, 2026
4643e65
fix(opencode): enable web search for Go (#42630)
opencode-agent[bot] Aug 14, 2026
32afa3a
feat(app): launch redcode chat
filipeforattini Aug 14, 2026
581942e
test(app): update home route expectations
filipeforattini Aug 14, 2026
d78e114
chore(release): version packages
github-actions[bot] Aug 14, 2026
e5c97af
feat(core): activate harness runtime (#8)
filipeforattini Aug 15, 2026
bcdda89
chore(release): version packages (#9)
filipeforattini Aug 15, 2026
a0279da
fix(app): retire legacy entry (#10)
filipeforattini Aug 15, 2026
700f120
chore(release): version packages (#11)
filipeforattini Aug 15, 2026
e66d0ce
fix(tui): enter new session directly (#12)
filipeforattini Aug 15, 2026
474b4df
chore(release): version packages (#13)
filipeforattini Aug 15, 2026
c5cda51
fix(acp): identify Redcode on the protocol
filipeforattini Aug 15, 2026
3d1e6c3
Merge pull request #17 from reddb-io/acp-identity
filipeforattini Aug 15, 2026
7b8733f
feat(tui): rebuild the Workers view as a fleet console (#19)
filipeforattini Aug 15, 2026
13afa51
docs: rebuild the README, with a hero, and proper attribution (#20)
filipeforattini Aug 15, 2026
6e6c0eb
chore(release): version packages (#18)
filipeforattini Aug 15, 2026
5d89064
govern redskills child agents over acp (#21)
filipeforattini Aug 15, 2026
ee37c36
chore(release): version packages
github-actions[bot] Aug 15, 2026
26553e5
docs: retire stale OpenCode docs
filipeforattini Aug 16, 2026
61265f2
Merge pull request #22 from reddb-io/changeset-release/main
filipeforattini Aug 16, 2026
2fedd66
Merge pull request #23 from reddb-io/retire-stale-docs
filipeforattini Aug 16, 2026
be73f63
fix(opencode): report a rejected run prompt exactly once (#25)
filipeforattini Aug 16, 2026
21b52c2
feat(core): make runtime composition inspectable (#24)
filipeforattini Aug 16, 2026
d3ac74c
chore(release): version packages
github-actions[bot] Aug 16, 2026
4aa52d7
Merge pull request #26 from reddb-io/changeset-release/main
filipeforattini Aug 16, 2026
976c185
docs(go): remove DeepSeek Flash promotion (#42858)
MrMushrooooom Aug 16, 2026
3fd77ae
zen: peak pricing
fwang Aug 16, 2026
e8295f1
feat(opencode): show provider, model and request URL on provider fail…
filipeforattini Aug 16, 2026
ab85ac4
feat(config): prefer redcode.json with opencode.json fallback (#32)
filipeforattini Aug 16, 2026
232b6f5
fix(opencode): apply provider npm to every model of the provider (#34)
filipeforattini Aug 16, 2026
e0579ff
chore(release): version packages (#33)
filipeforattini Aug 16, 2026
fb8344f
chore: remove scheduled beta sync
thdxr Aug 16, 2026
a0f8dcc
docs: update DeepSeek V4 pricing (#42881)
MrMushrooooom Aug 16, 2026
1c96545
fix(stats): correct YouTube footer link (#42941)
opencode-agent[bot] Aug 16, 2026
cba6b5f
feat(opencode): native OpenAI and Anthropic passthroughs for Cloudfla…
rekram1-node Aug 17, 2026
5a0e07e
chore: generate
opencode-agent[bot] Aug 17, 2026
4d68d30
tweak: match codex limits for openai models exactly when using chatgp…
GameOn223 Aug 17, 2026
34e796e
feat(opencode): move RedSkills controls to ACP
filipeforattini Aug 17, 2026
2cba7e2
fix(cli): update default console URL (#43043)
opencode-agent[bot] Aug 17, 2026
a2ec547
Merge pull request #36 from reddb-io/redskills-acp
filipeforattini Aug 17, 2026
e027128
fix(core): reject v2 providers npm that conflicts with the resolved p…
filipeforattini Aug 17, 2026
071092a
test(tui): cover unbranded sidebar footer Refs #39
filipeforattini Aug 17, 2026
eee8bb2
test(tui): cover RedDB focus palette Refs #38
filipeforattini Aug 17, 2026
c2ce99a
fix(tui): remove sidebar product footer Refs #39
filipeforattini Aug 17, 2026
23cde55
fix(tui): drop fallback product footer Refs #39
filipeforattini Aug 17, 2026
cd05089
chore(tui): pin RedDB brand tokens Refs #38
filipeforattini Aug 17, 2026
c7402fa
test(opencode): define truthful title labels Refs #39
filipeforattini Aug 17, 2026
e36913b
feat(tui): add Redcode brand theme Refs #38
filipeforattini Aug 17, 2026
8943de4
fix(opencode): keep generated titles truthful Refs #39
filipeforattini Aug 17, 2026
6d65cb6
feat(tui): default to Redcode theme Refs #38
filipeforattini Aug 17, 2026
dbee9cf
test(tui): require Redcode crash reports Refs #39
filipeforattini Aug 17, 2026
5eeac6d
fix(tui): point crashes at Redcode Refs #39
filipeforattini Aug 17, 2026
8dbf175
test(tui): verify RedDB token provenance Refs #38
filipeforattini Aug 17, 2026
541b7ae
test(tui): enforce Redcode branding contract Refs #39
filipeforattini Aug 17, 2026
9d25670
feat(tui): support luminous scanner heads Refs #38
filipeforattini Aug 17, 2026
ca69dce
feat(tui): apply RedDB prompt focus states Refs #38
filipeforattini Aug 17, 2026
813cfe7
chore(opencode): note Redcode theme Refs #38
filipeforattini Aug 17, 2026
e1cbf3a
fix(tui): show Redcode shell commands Refs #39
filipeforattini Aug 17, 2026
d216b90
fix(tui): brand default notifications Redcode Refs #39
filipeforattini Aug 17, 2026
8ad4e41
test(tui): expect Redcode notification titles Refs #39
filipeforattini Aug 17, 2026
a85fc68
fix(tui): update shell error guidance Refs #39
filipeforattini Aug 17, 2026
4f95ab7
fix(opencode): update CLI recovery commands Refs #39
filipeforattini Aug 17, 2026
6833b42
test(opencode): expect Redcode recovery copy Refs #39
filipeforattini Aug 17, 2026
c08f0f3
fix(tui): brand permission copy Redcode Refs #39
filipeforattini Aug 17, 2026
a107d5e
test(opencode): expect Redcode permission copy Refs #39
filipeforattini Aug 17, 2026
32b1d00
fix(opencode): update permission lifetime copy Refs #39
filipeforattini Aug 17, 2026
e44dbc6
fix(opencode): brand permission feedback Redcode Refs #39
filipeforattini Aug 17, 2026
29200cb
fix(tui): show Redcode MCP command Refs #39
filipeforattini Aug 17, 2026
49cd829
fix(tui): brand hook import copy Redcode Refs #39
filipeforattini Aug 17, 2026
8602331
fix(tui): recommend Redcode config names Refs #39
filipeforattini Aug 17, 2026
8ee701b
fix(tui): brand keymap errors Redcode Refs #39
filipeforattini Aug 17, 2026
7c39d54
test(tui): allow external OpenCode share links Refs #39
filipeforattini Aug 17, 2026
32a8a9b
test(tui): scan interpolated branding copy Refs #39
filipeforattini Aug 17, 2026
656d3e3
fix(opencode): brand attach help Redcode Refs #39
filipeforattini Aug 17, 2026
73d1328
test(lsp): cover default activation and failures
filipeforattini Aug 17, 2026
b430f8e
test(opencode): require native lsp tool by default
filipeforattini Aug 17, 2026
f35935f
fix(opencode): show Redcode MCP guidance Refs #39
filipeforattini Aug 17, 2026
e1194b0
test(tui): cover default lsp sidebar state
filipeforattini Aug 17, 2026
3098fee
feat(lsp): enable native servers by default
filipeforattini Aug 17, 2026
65587ea
feat(opencode): expose native lsp tool
filipeforattini Aug 17, 2026
6ab36c7
fix(tui): distinguish pending lsp activation
filipeforattini Aug 17, 2026
ae22fb5
docs(tui): explain default lsp activation
filipeforattini Aug 17, 2026
6ba733d
fix(opencode): launch Redcode from PR flow Refs #39
filipeforattini Aug 17, 2026
7c10195
docs(core): describe lsp opt-out default
filipeforattini Aug 17, 2026
57b4a64
docs(core): clarify default language servers
filipeforattini Aug 17, 2026
dbed18c
docs: document default lsp activation
filipeforattini Aug 17, 2026
6eabedf
docs: graduate native lsp tool
filipeforattini Aug 17, 2026
a0839e6
docs: remove obsolete lsp tool flag
filipeforattini Aug 17, 2026
c9c7e66
docs: document lsp opt-out configuration
filipeforattini Aug 17, 2026
ba92896
chore: add native lsp changeset
filipeforattini Aug 17, 2026
612bcff
fix(opencode): brand server output Redcode Refs #39
filipeforattini Aug 17, 2026
b79e118
fix(opencode): brand TUI help Redcode Refs #39
filipeforattini Aug 17, 2026
76bbedb
fix(opencode): brand run help Redcode Refs #39
filipeforattini Aug 17, 2026
a485b51
fix(opencode): brand exit command Redcode Refs #39
filipeforattini Aug 17, 2026
e3323ac
fix(opencode): brand mini splash Redcode Refs #39
filipeforattini Aug 17, 2026
db78347
fix(opencode): brand web help Redcode Refs #39
filipeforattini Aug 17, 2026
e381e04
fix(opencode): brand debug version Redcode Refs #39
filipeforattini Aug 17, 2026
6da5eb4
fix(opencode): clarify provider login help Refs #39
filipeforattini Aug 17, 2026
2bd04c0
fix(opencode): identify default agent as Redcode Refs #39
filipeforattini Aug 17, 2026
4845195
fix(opencode): identify Trinity agent as Redcode Refs #39
filipeforattini Aug 17, 2026
cdbb6c1
fix(opencode): identify Beast agent as Redcode Refs #39
filipeforattini Aug 17, 2026
7659e6f
fix(opencode): identify GPT agent as Redcode Refs #39
filipeforattini Aug 17, 2026
195d535
fix(opencode): identify Copilot agent as Redcode Refs #39
filipeforattini Aug 17, 2026
6307c1e
fix(opencode): identify Gemini agent as Redcode Refs #39
filipeforattini Aug 17, 2026
fe66664
fix(opencode): identify Kimi agent as Redcode Refs #39
filipeforattini Aug 17, 2026
4f609c2
fix(opencode): identify Meta agent as Redcode Refs #39
filipeforattini Aug 17, 2026
612f27b
fix(opencode): identify Anthropic agent as Redcode Refs #39
filipeforattini Aug 17, 2026
d9393b4
fix(opencode): identify Codex agent as Redcode Refs #39
filipeforattini Aug 17, 2026
3bd76e7
test(tui): narrow scanner head color Refs #38
filipeforattini Aug 17, 2026
2c8e26d
Merge branch 'main' into afk/38-adopt-the-reddb-brand-focus-across-the-r
filipeforattini Aug 17, 2026
af92e75
chore(opencode): document Redcode identity changes Refs #39
filipeforattini Aug 17, 2026
75a89df
chore(release): version packages (#37)
filipeforattini Aug 17, 2026
09a76c1
fix(tui): type sidebar lsp slot fixture
filipeforattini Aug 17, 2026
be766f4
test(lsp): expect default native clients
filipeforattini Aug 17, 2026
b75963d
test(cli): update Redcode help snapshots
filipeforattini Aug 17, 2026
85de1fa
Merge branch 'main' into afk/40-make-native-lsp-the-redcode-semantic-aut
filipeforattini Aug 17, 2026
a97fec8
fix: codex data residency (#42432)
neriousy Aug 17, 2026
c10ab0c
Merge pull request #43 from reddb-io/afk/40-make-native-lsp-the-redco…
filipeforattini Aug 17, 2026
6471136
Merge branch 'main' into afk/39-finish-redcode-identity-and-make-session
filipeforattini Aug 17, 2026
4d3a72a
Merge pull request #44 from reddb-io/afk/39-finish-redcode-identity-a…
filipeforattini Aug 17, 2026
fbf0e00
Merge branch 'main' into afk/38-adopt-the-reddb-brand-focus-across-the-r
filipeforattini Aug 17, 2026
7af274a
fix(core): fall back on oversized websocket requests (#43099)
neriousy Aug 17, 2026
e14acea
update ds flash limit
fwang Aug 17, 2026
57075d8
fix(provider): update Google Vertex SDK (#43108)
opencode-agent[bot] Aug 17, 2026
65c3597
chore: update nix node_modules hashes
opencode-agent[bot] Aug 17, 2026
7c4091e
test(cli): distinguish subprocess timeouts
filipeforattini Aug 17, 2026
2ac9842
Merge pull request #42 from reddb-io/afk/38-adopt-the-reddb-brand-foc…
filipeforattini Aug 17, 2026
d5b16b3
chore(release): version packages
github-actions[bot] Aug 17, 2026
fadcdf1
Merge pull request #45 from reddb-io/changeset-release/main
filipeforattini Aug 17, 2026
9853dd0
Merge branch 'anomalyco:dev' into main
filipeforattini Aug 18, 2026
c00206b
fix(core): move global config to ~/.red/redcode/config.json[c] (#46)
filipeforattini Aug 18, 2026
69252bd
feat(tui): responsive two-column sidebar (#47)
filipeforattini Aug 18, 2026
de95a21
test(opencode): align mcp-add tests with the RedDB config home
filipeforattini Aug 18, 2026
1e0a6ba
test(opencode): move legacy fixture to RedDB home for mcp-add
filipeforattini Aug 18, 2026
494e4e8
test(opencode): pin HOME for httpapi exercise to use the RedDB home
filipeforattini Aug 18, 2026
5cfd0eb
test(opencode): pin OPENCODE_TEST_HOME for httpapi exercise
filipeforattini Aug 18, 2026
97f4be5
chore(release): version packages (#48)
filipeforattini Aug 18, 2026
bc090df
test: fix flaky CI in flock stress + run-process subprocesses
filipeforattini Aug 18, 2026
43f5e70
fix(opencode): honor configured model in ACP default selection
filipeforattini Aug 20, 2026
7a966ea
fix(cli): typecheck escape helpers in review server
filipeforattini Aug 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(opencode): enable web search for Go (anomalyco#42630)
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
  • Loading branch information
opencode-agent[bot] and rekram1-node authored Aug 14, 2026
commit 4643e65ad6334de3e4e68dedc201d5fbb828c9fe
7 changes: 6 additions & 1 deletion packages/opencode/src/tool/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ import { PermissionV1 } from "@opencode-ai/core/v1/permission"
import { McpCatalog } from "@/mcp/catalog"

export function webSearchEnabled(providerID: ProviderV2.ID, flags = { exa: false, parallel: false }) {
return providerID === ProviderV2.ID.opencode || flags.exa || flags.parallel
return (
providerID === ProviderV2.ID.opencode ||
providerID === ProviderV2.ID.make("opencode-go") ||
flags.exa ||
flags.parallel
)
}

type TaskDef = Tool.InferDef<typeof TaskTool>
Expand Down
3 changes: 2 additions & 1 deletion packages/opencode/test/tool/websearch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ describe("websearch provider", () => {
expect(selectWebSearchProvider(SESSION_ID, { exa: false, parallel: true })).toBe("parallel")
})

test("is only enabled for opencode or explicit websearch provider flags", () => {
test("is enabled for OpenCode providers or explicit websearch provider flags", () => {
expect(webSearchEnabled(ProviderV2.ID.opencode, { exa: false, parallel: false })).toBe(true)
expect(webSearchEnabled(ProviderV2.ID.make("opencode-go"), { exa: false, parallel: false })).toBe(true)
expect(webSearchEnabled(ProviderV2.ID.openai, { exa: false, parallel: false })).toBe(false)
expect(webSearchEnabled(ProviderV2.ID.openai, { exa: true, parallel: false })).toBe(true)
expect(webSearchEnabled(ProviderV2.ID.openai, { exa: false, parallel: true })).toBe(true)
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/content/docs/tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Allows the LLM to fetch and read web pages. Useful for looking up documentation
Search the web for information.

:::note
This tool is only available when using the OpenCode provider or when the `OPENCODE_ENABLE_EXA` environment variable is set to any truthy value (e.g., `true` or `1`).
This tool is only available when using the OpenCode or OpenCode Go provider, or when the `OPENCODE_ENABLE_EXA` environment variable is set to any truthy value (e.g., `true` or `1`).

To enable when launching OpenCode:

Expand Down