-
-
Notifications
You must be signed in to change notification settings - Fork 158
Expand file tree
/
Copy pathopencode.jsonc
More file actions
17 lines (17 loc) · 2.02 KB
/
Copy pathopencode.jsonc
File metadata and controls
17 lines (17 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"codegraph": {
"type": "local",
"command": [
"codegraph",
"serve",
"--mcp"
],
"enabled": true
}
},
"commit_message": {
"prompt": "# Commit Message Instructions\n\n## Format\n\n```\n<type>: <short description>\n\n[optional body]\n\n[optional footer(s)]\n```\n\n## Allowed Types\n\n| Type | Usage |\n|------------|--------------------------------------------|\n| `feat:` | New feature |\n| `fix:` | Bug fix |\n| `refactor:`| Code change that neither fixes nor adds |\n| `docs:` | Documentation only |\n| `test:` | Adding or fixing tests |\n| `i18n:` | Translations / localization |\n| `chore:` | Build, tooling, deps, CI |\n\n## Rules\n\n- Use **lowercase** for type, short description, and scope.\n- Short description: imperative mood, no period, max ~72 chars.\n- Scope: optional noun in parentheses, e.g. `feat(startup): add virtualization`.\n- Body: wrap at 72 chars, explain *what* and *why*, not *how*.\n- Footer: `Closes #123`, `BREAKING CHANGE: <desc>`.\n- Branch naming: `feature/<name>` or `fix/<issue-id>` branching from `master`.\n- PRs: clear description, linked issue, passing `dotnet build` + `dotnet test`.\n- Never commit secrets or machine-specific paths.\n\n## Examples\n\n```\nfeat(startup): add VirtualizingStackPanel with Recycling mode\n\nEnables container reuse when scrolling the startup apps list,\nreducing GC pressure and improving scroll smoothness.\n\nCloses #42\n```\n\n```\nfix(startup): remove CanContentScroll from outer ScrollViewer\n\nStackPanel children don't implement IScrollInfo so logical scrolling\nsilently drops mouse-wheel events, making the page appear stuck.\n```\n\n```\ni18n: add Vietnamese translations for StartupManager page\n```\n\n```\nchore: update WPF UI package to 3.0.4\n```\n"
}
}