Skip to content

Commit b1f0b6b

Browse files
Copilotpelikhan
andauthored
fix: remove qmd from built-in tools list
qmd is no longer a built-in tool: - Remove from builtInToolNames in mcp_config_validation.go - Remove from knownTools in tools_parser.go - Remove qmd property from tools schema Agent-Logs-Url: https://github.com/github/gh-aw/sessions/4e1f4ece-bca4-42ba-afc0-9e87a8785d83 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 335cee5 commit b1f0b6b

3 files changed

Lines changed: 0 additions & 96 deletions

File tree

pkg/parser/schemas/main_workflow_schema.json

Lines changed: 0 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -3808,100 +3808,6 @@
38083808
],
38093809
"examples": [true, null]
38103810
},
3811-
"qmd": {
3812-
"description": "qmd documentation search tool (https://github.com/tobi/qmd). Builds a local vector search index in a dedicated indexing job and shares it with the agent job via GitHub Actions cache. The agent job mounts a search MCP server over the pre-built index and does not need contents:read permission.",
3813-
"type": "object",
3814-
"properties": {
3815-
"checkouts": {
3816-
"type": "array",
3817-
"description": "List of named documentation collections built from checked-out repositories. Each entry can optionally specify its own checkout configuration to target a different repository.",
3818-
"items": {
3819-
"$ref": "#/$defs/qmdCollection"
3820-
},
3821-
"minItems": 1
3822-
},
3823-
"searches": {
3824-
"type": "array",
3825-
"description": "List of GitHub search queries whose results are downloaded and added to the qmd index.",
3826-
"items": {
3827-
"$ref": "#/$defs/qmdSearchEntry"
3828-
},
3829-
"minItems": 1
3830-
},
3831-
"cache-key": {
3832-
"type": "string",
3833-
"description": "GitHub Actions cache key used to persist the qmd index across workflow runs. When set without any indexing sources (checkouts/searches), qmd operates in read-only mode: the index is restored from cache and all indexing steps are skipped.",
3834-
"examples": ["qmd-index-${{ hashFiles('docs/**') }}", "qmd-index-v1"]
3835-
},
3836-
"gpu": {
3837-
"type": "boolean",
3838-
"description": "Enable GPU acceleration for the embedding model (node-llama-cpp). Defaults to false: NODE_LLAMA_CPP_GPU=false is injected into the indexing step so GPU probing is skipped on CPU-only runners. Set to true only when the indexing runner has a GPU.",
3839-
"default": false
3840-
},
3841-
"runs-on": {
3842-
"type": "string",
3843-
"description": "Override the runner image for the qmd indexing job. Defaults to the same runner as the agent job. Use this when the indexing job requires a different runner (e.g. a GPU runner).",
3844-
"examples": ["ubuntu-latest", "ubuntu-latest-gpu", "self-hosted"]
3845-
}
3846-
},
3847-
"additionalProperties": false,
3848-
"examples": [
3849-
{
3850-
"checkouts": [
3851-
{
3852-
"name": "current-docs",
3853-
"pattern": "docs/**/*.md"
3854-
},
3855-
{
3856-
"name": "other-docs",
3857-
"pattern": "docs/**/*.md",
3858-
"context": "Documentation for owner/other-repo",
3859-
"checkout": {
3860-
"repository": "owner/other-repo",
3861-
"path": "./other-repo"
3862-
}
3863-
}
3864-
]
3865-
},
3866-
{
3867-
"searches": [
3868-
{
3869-
"query": "repo:owner/repo language:Markdown path:docs/",
3870-
"min": 1,
3871-
"max": 30,
3872-
"github-token": "${{ secrets.GITHUB_TOKEN }}"
3873-
}
3874-
]
3875-
},
3876-
{
3877-
"checkouts": [
3878-
{
3879-
"name": "local-docs",
3880-
"pattern": "docs/**/*.md"
3881-
}
3882-
],
3883-
"searches": [
3884-
{
3885-
"query": "org:myorg language:Markdown",
3886-
"max": 50,
3887-
"github-token": "${{ secrets.GITHUB_TOKEN }}"
3888-
}
3889-
]
3890-
},
3891-
{
3892-
"cache-key": "qmd-index-${{ hashFiles('docs/**') }}"
3893-
},
3894-
{
3895-
"checkouts": [
3896-
{
3897-
"name": "docs",
3898-
"pattern": "docs/**/*.md"
3899-
}
3900-
],
3901-
"cache-key": "qmd-index-${{ hashFiles('docs/**') }}"
3902-
}
3903-
]
3904-
},
39053811
"cache-memory": {
39063812
"description": "Cache memory MCP configuration for persistent memory storage",
39073813
"oneOf": [

pkg/workflow/mcp_config_validation.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ var mcpValidationLog = newValidationLogger("mcp_config")
6262
var builtInToolNames = map[string]bool{
6363
"github": true,
6464
"playwright": true,
65-
"qmd": true,
6665
"agentic-workflows": true,
6766
"cache-memory": true,
6867
"repo-memory": true,

pkg/workflow/tools_parser.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ func NewTools(toolsMap map[string]any) *Tools {
155155
"web-search": true,
156156
"edit": true,
157157
"playwright": true,
158-
"qmd": true,
159158
"agentic-workflows": true,
160159
"cache-memory": true,
161160
"repo-memory": true,

0 commit comments

Comments
 (0)