Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a80335e
feat(coderd/x/chatd): defer MCP tool schemas behind find_tools search
ibetitsmike Aug 17, 2026
80b3a4f
test(coderd/x/chatd): cover deferred tool search generation flows
ibetitsmike Aug 17, 2026
64eb04f
feat(site/src/pages/AgentsPage): render find_tools calls in the conve…
ibetitsmike Aug 17, 2026
cc36157
refactor(coderd/x/chatd): apply cleanup gate findings to tool search
ibetitsmike Aug 17, 2026
c08ef35
fix(site/src/pages/AgentsPage): label exact-name activations separate…
ibetitsmike Aug 17, 2026
4b646f0
fix(coderd/x/chatd/chattool): make find_tools queries and names optio…
ibetitsmike Aug 17, 2026
9b8dc1f
fix(coderd/x/chatd/chattool): bound find_tools results below generic …
ibetitsmike Aug 17, 2026
3de6402
fix(coderd/x/chatd/chattool): tokenize find_tools search on unicode l…
ibetitsmike Aug 17, 2026
697ee2e
fix(coderd/x/chatd): fail open when a dynamic tool is named find_tools
ibetitsmike Aug 17, 2026
82644b3
fix(coderd/x/chatd/chattool): score server metadata in find_tools search
ibetitsmike Aug 17, 2026
a5fa358
fix(coderd/x/chatd/chattool): add a constant-size final fallback for …
ibetitsmike Aug 17, 2026
9ba563d
fix(coderd/x/chatd): apply the turn policy to workspace MCP deferred …
ibetitsmike Aug 17, 2026
c5d7a73
fix(coderd/x/chatd): bound aggregate activated MCP schema weight by c…
ibetitsmike Aug 17, 2026
b35e464
fix(coderd/x/chatd): honor find_tools server prefixes and keep the ne…
ibetitsmike Aug 17, 2026
007497c
fix(site/src/pages/AgentsPage): register a find_tools icon
ibetitsmike Aug 17, 2026
1178b97
fix(coderd/x/chatd): budget find_tools results and derive workspace s…
ibetitsmike Aug 17, 2026
198d899
fix(coderd/x/chatd): scale the find_tools catalog to the context wind…
ibetitsmike Aug 17, 2026
6a51807
fix(coderd/x/chatd/chattool): reject find_tools over-claims once the …
ibetitsmike Aug 17, 2026
14fe9e2
fix(coderd/x/chatd): admit direct calls before same-step search activ…
ibetitsmike Aug 18, 2026
f59c158
fix(coderd/x/chatd): reserve same-step direct-call schema weight befo…
ibetitsmike Aug 18, 2026
fee1f79
fix(coderd/x/chatd): count budget-rejected find_tools calls and keep …
ibetitsmike Aug 18, 2026
c57502b
fix(coderd/x/chatd/chattool): count empty-argument find_tools rejections
ibetitsmike Aug 18, 2026
4abef91
fix(coderd/x/chatd): reserve denied same-step direct calls in the fin…
ibetitsmike Aug 18, 2026
103b8bb
fix(coderd/x/chatd): exclude error-result direct calls from activatio…
ibetitsmike Aug 18, 2026
55cae23
fix(coderd/x/chatd/chattool): skip oversized find_tools matches once …
ibetitsmike Aug 18, 2026
b259a36
fix(coderd/x/chatd/chattool): match full server names in find_tools s…
ibetitsmike Aug 18, 2026
c2fdd27
fix(coderd/x/chatd): trim workspace server names for the find_tools c…
ibetitsmike Aug 18, 2026
ff4c00d
fix(coderd/x/chatd): activate errored direct calls last instead of ex…
ibetitsmike Aug 18, 2026
e40c26c
fix(coderd/x/chatd): refund find_tools reservations when a direct cal…
ibetitsmike Aug 18, 2026
fcc8ecd
fix(coderd/x/chatd): settle sibling outcomes before find_tools search…
ibetitsmike Aug 18, 2026
ded88f9
fix(coderd/x/chatd): settle pre-execution tool rejections as errored …
ibetitsmike Aug 18, 2026
d8f5cc5
fix(coderd/x/chatd/chattool): mirror derivation's retained prefix and…
ibetitsmike Aug 18, 2026
afc7cbe
fix(coderd/x/chatd): keep raw workspace server names when trimming wo…
ibetitsmike Aug 18, 2026
910fbaa
fix(coderd/x/chatd/chattool): dedup repeat search claims and match ra…
ibetitsmike Aug 18, 2026
167a113
fix(coderd/x/chatd): track find_tools reservation outcomes per call i…
ibetitsmike Aug 18, 2026
b57393a
docs(coderd/x/chatd): drop the architecture TODO marker
ibetitsmike Aug 18, 2026
84a6c58
feat(coderd/x/chatd): defer all MCP tool schemas whenever the experim…
ibetitsmike Aug 18, 2026
1210f0e
fix(coderd/x/chatd): pair reused tool-call IDs with their newest call
ibetitsmike Aug 18, 2026
fb2f2a8
fix(coderd/x/chatd): admit orphan find_tools results at their own row…
ibetitsmike Aug 18, 2026
0bca048
fix(coderd/x/chatd/chattool): count find_tools calls rejected during …
ibetitsmike Aug 18, 2026
6d73c4a
fix(coderd/x/chatd): label empty server identities at catalog constru…
ibetitsmike Aug 18, 2026
bac9da4
fix(coderd/x/chatd/chattool): bound find_tools query scoring work
ibetitsmike Aug 18, 2026
d87988f
fix(coderd/x/chatd): count find_tools calls at the execution choke point
ibetitsmike Aug 18, 2026
eda35d2
fix(coderd/x/chatd): count hook-denied find_tools calls and cover err…
ibetitsmike Aug 18, 2026
2098335
refactor(site/src/pages/AgentsPage): drop assertion-narrating story c…
ibetitsmike Aug 18, 2026
3a26aec
fix(coderd/x/chatd/chattool): cut folded scope prefixes at rune bound…
ibetitsmike Aug 18, 2026
065fdb5
fix: bound the find_tools names list and drop a narrating comment
ibetitsmike Aug 18, 2026
af9fc38
fix(coderd/x/chatd): count find_tools calls discarded by admission er…
ibetitsmike Aug 18, 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
4 changes: 4 additions & 0 deletions coderd/apidoc/docs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions coderd/apidoc/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions coderd/x/chatd/chatd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3048,8 +3048,7 @@ type Config struct {
Clock quartz.Clock
AIBridgeTransportFactory *atomic.Pointer[aibridge.TransportFactory]
Experiments codersdk.Experiments

PrometheusRegistry prometheus.Registerer
PrometheusRegistry prometheus.Registerer

AgentCapacityUnlock AgentCapacityUnlock

Expand Down
2 changes: 2 additions & 0 deletions coderd/x/chatd/chatd_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,7 @@ func TestAllowedExploreToolNames(t *testing.T) {
newTestAgentTool("read_skill"),
newTestAgentTool("read_skill_file"),
newTestAgentTool("ask_user_question"),
newTestAgentTool(chattool.FindToolsName),
})

require.Equal(t, []string{
Expand All @@ -812,6 +813,7 @@ func TestAllowedExploreToolNames(t *testing.T) {
require.NotContains(t, got, "start_workspace")
require.NotContains(t, got, "stop_workspace")
require.NotContains(t, got, "ask_user_question")
require.NotContains(t, got, chattool.FindToolsName)
}

func TestAllowedBehaviorToolNames(t *testing.T) {
Expand Down
Loading
Loading