delimit-cli 4.1.21 → 4.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -482,7 +482,7 @@ fi
482
482
  if (!existingSpecLint) {
483
483
  config.hooks.PostToolUse.push({
484
484
  matcher: 'Edit|Write',
485
- if: "filePath matches '**/*openapi*.yaml' or filePath matches '**/*openapi*.yml' or filePath matches '**/*openapi*.json' or filePath matches '**/*swagger*.yaml' or filePath matches '**/*swagger*.yml' or filePath matches '**/*swagger*.json' or filePath matches '**/api/*.yaml' or filePath matches '**/api/*.yml' or filePath matches '**/specs/**'",
485
+ if: "path_matches('**/openapi*') || path_matches('**/swagger*') || path_matches('**/specs/**')",
486
486
  hooks: [{
487
487
  type: 'command',
488
488
  command: `${npxCmd} lint "$DELIMIT_FILE_PATH"`,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "delimit-cli",
3
3
  "mcpName": "io.github.delimit-ai/delimit-mcp-server",
4
- "version": "4.1.21",
4
+ "version": "4.1.22",
5
5
  "description": "Unify Claude Code, Codex, Cursor, and Gemini CLI with persistent context, governance, and multi-model debate.",
6
6
  "main": "index.js",
7
7
  "files": [