@anthropic-ai/claude-code 2.1.20 → 2.1.21

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.
Files changed (3) hide show
  1. package/cli.js +1545 -1515
  2. package/package.json +1 -1
  3. package/sdk-tools.d.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.20",
3
+ "version": "2.1.21",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
package/sdk-tools.d.ts CHANGED
@@ -242,9 +242,13 @@ export interface GrepInput {
242
242
  */
243
243
  "-A"?: number;
244
244
  /**
245
- * Number of lines to show before and after each match (rg -C). Requires output_mode: "content", ignored otherwise.
245
+ * Alias for context.
246
246
  */
247
247
  "-C"?: number;
248
+ /**
249
+ * Number of lines to show before and after each match (rg -C). Requires output_mode: "content", ignored otherwise.
250
+ */
251
+ context?: number;
248
252
  /**
249
253
  * Show line numbers in output (rg -n). Requires output_mode: "content", ignored otherwise. Defaults to true.
250
254
  */