|
5 | 5 | "permissionRule": { |
6 | 6 | "type": "string", |
7 | 7 | "description": "Tool permission rule. See https://code.claude.com/docs/en/settings#permission-rule-syntax", |
8 | | - "pattern": "^((Bash|Edit|ExitPlanMode|Glob|Grep|KillShell|NotebookEdit|Read|Skill|Task|TodoWrite|WebFetch|WebSearch|Write)(\\((?=.*[^)*?])[^)]+\\))?|mcp__.*)$", |
| 8 | + "pattern": "^((Bash|Edit|ExitPlanMode|Glob|Grep|KillShell|LS|MultiEdit|NotebookEdit|NotebookRead|Read|Skill|SlashCommand|Task|TodoWrite|WebFetch|WebSearch|Write)(\\((?=.*[^)*?])[^)]+\\))?|mcp__.*)$", |
9 | 9 | "examples": [ |
10 | 10 | "Bash", |
11 | 11 | "Bash(npm run build)", |
|
14 | 14 | "Bash(ls*)", |
15 | 15 | "Bash(git * main)", |
16 | 16 | "Edit", |
| 17 | + "MultiEdit", |
17 | 18 | "Edit(/src/**/*.ts)", |
18 | 19 | "Read(./.env)", |
19 | 20 | "Read(./secrets/**)", |
20 | 21 | "Read(/Users/alice/secrets/**)", |
21 | 22 | "Read(~/Documents/*.pdf)", |
| 23 | + "SlashCommand(/clear)", |
22 | 24 | "WebFetch", |
23 | 25 | "WebFetch(domain:example.com)", |
24 | 26 | "mcp__github__search_repositories" |
|
46 | 48 | "type": "number", |
47 | 49 | "description": "Optional timeout in seconds", |
48 | 50 | "exclusiveMinimum": 0 |
| 51 | + }, |
| 52 | + "async": { |
| 53 | + "type": "boolean", |
| 54 | + "description": "Run this hook asynchronously without blocking Claude Code" |
49 | 55 | } |
50 | 56 | } |
51 | 57 | }, |
|
69 | 75 | "type": "number", |
70 | 76 | "description": "Optional timeout in seconds", |
71 | 77 | "exclusiveMinimum": 0 |
| 78 | + }, |
| 79 | + "async": { |
| 80 | + "type": "boolean", |
| 81 | + "description": "Run this hook asynchronously without blocking Claude Code" |
72 | 82 | } |
73 | 83 | } |
74 | 84 | } |
|
517 | 527 | "required": ["source", "url"], |
518 | 528 | "additionalProperties": false |
519 | 529 | }, |
| 530 | + { |
| 531 | + "type": "object", |
| 532 | + "properties": { |
| 533 | + "source": { |
| 534 | + "type": "string", |
| 535 | + "const": "hostPattern" |
| 536 | + }, |
| 537 | + "hostPattern": { |
| 538 | + "type": "string", |
| 539 | + "description": "Git host pattern to trust for repositories in source specifications" |
| 540 | + } |
| 541 | + }, |
| 542 | + "required": ["source", "hostPattern"], |
| 543 | + "additionalProperties": false |
| 544 | + }, |
520 | 545 | { |
521 | 546 | "type": "object", |
522 | 547 | "properties": { |
|
627 | 652 | "description": "(Managed settings only) Allowlist of plugin marketplaces users can add. Undefined = no restrictions, empty array = lockdown. Uses exact matching for source specifications. See https://code.claude.com/docs/en/settings#strictknownmarketplaces", |
628 | 653 | "items": { |
629 | 654 | "anyOf": [ |
| 655 | + { |
| 656 | + "type": "object", |
| 657 | + "properties": { |
| 658 | + "source": { |
| 659 | + "type": "string", |
| 660 | + "const": "hostPattern" |
| 661 | + }, |
| 662 | + "hostPattern": { |
| 663 | + "type": "string", |
| 664 | + "description": "Git host pattern to trust for repositories in source specifications" |
| 665 | + } |
| 666 | + }, |
| 667 | + "required": ["source", "hostPattern"], |
| 668 | + "additionalProperties": false |
| 669 | + }, |
630 | 670 | { |
631 | 671 | "type": "object", |
632 | 672 | "properties": { |
|
822 | 862 | "minimum": 1, |
823 | 863 | "maximum": 65535, |
824 | 864 | "description": "SOCKS proxy port to use for network filtering. If not specified, a proxy server will be started automatically" |
| 865 | + }, |
| 866 | + "allowAllUnixSockets": { |
| 867 | + "type": "boolean", |
| 868 | + "description": "Allow all Unix domain socket connections. If true, this overrides allowUnixSockets" |
| 869 | + }, |
| 870 | + "allowedDomains": { |
| 871 | + "type": "array", |
| 872 | + "items": { |
| 873 | + "type": "string", |
| 874 | + "minLength": 1 |
| 875 | + }, |
| 876 | + "description": "Allowlist of network domains for sandboxed commands. Supports wildcard patterns like *.example.com" |
| 877 | + }, |
| 878 | + "deniedDomains": { |
| 879 | + "type": "array", |
| 880 | + "items": { |
| 881 | + "type": "string", |
| 882 | + "minLength": 1 |
| 883 | + }, |
| 884 | + "description": "Denylist of network domains for sandboxed commands. Supports wildcard patterns like *.example.com" |
825 | 885 | } |
826 | 886 | }, |
827 | 887 | "additionalProperties": false |
|
863 | 923 | }, |
864 | 924 | "additionalProperties": false |
865 | 925 | }, |
| 926 | + "spinnerVerbs": { |
| 927 | + "type": "object", |
| 928 | + "description": "Customize the verbs shown in spinner progress messages", |
| 929 | + "properties": { |
| 930 | + "mode": { |
| 931 | + "type": "string", |
| 932 | + "enum": ["append", "replace"], |
| 933 | + "description": "How custom verbs should be combined with the default spinner verbs" |
| 934 | + }, |
| 935 | + "verbs": { |
| 936 | + "type": "array", |
| 937 | + "items": { |
| 938 | + "type": "string", |
| 939 | + "minLength": 1 |
| 940 | + }, |
| 941 | + "minItems": 1, |
| 942 | + "description": "Custom verbs used in spinner progress text" |
| 943 | + } |
| 944 | + }, |
| 945 | + "required": ["verbs"], |
| 946 | + "additionalProperties": false |
| 947 | + }, |
866 | 948 | "spinnerTipsEnabled": { |
867 | 949 | "type": "boolean", |
868 | 950 | "description": "Show tips in the spinner while Claude is working. Set to false to disable tips (default: true)", |
|
0 commit comments