|
3808 | 3808 | ], |
3809 | 3809 | "examples": [true, null] |
3810 | 3810 | }, |
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 | | - }, |
3905 | 3811 | "cache-memory": { |
3906 | 3812 | "description": "Cache memory MCP configuration for persistent memory storage", |
3907 | 3813 | "oneOf": [ |
|
0 commit comments