@anthropic-ai/claude-code 2.1.198 → 2.1.199

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 (2) hide show
  1. package/package.json +9 -9
  2. package/sdk-tools.d.ts +33 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.198",
3
+ "version": "2.1.199",
4
4
  "bin": {
5
5
  "claude": "bin/claude.exe"
6
6
  },
@@ -21,14 +21,14 @@
21
21
  },
22
22
  "dependencies": {},
23
23
  "optionalDependencies": {
24
- "@anthropic-ai/claude-code-darwin-arm64": "2.1.198",
25
- "@anthropic-ai/claude-code-darwin-x64": "2.1.198",
26
- "@anthropic-ai/claude-code-linux-x64": "2.1.198",
27
- "@anthropic-ai/claude-code-linux-arm64": "2.1.198",
28
- "@anthropic-ai/claude-code-linux-x64-musl": "2.1.198",
29
- "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.198",
30
- "@anthropic-ai/claude-code-win32-x64": "2.1.198",
31
- "@anthropic-ai/claude-code-win32-arm64": "2.1.198"
24
+ "@anthropic-ai/claude-code-darwin-arm64": "2.1.199",
25
+ "@anthropic-ai/claude-code-darwin-x64": "2.1.199",
26
+ "@anthropic-ai/claude-code-linux-x64": "2.1.199",
27
+ "@anthropic-ai/claude-code-linux-arm64": "2.1.199",
28
+ "@anthropic-ai/claude-code-linux-x64-musl": "2.1.199",
29
+ "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.199",
30
+ "@anthropic-ai/claude-code-win32-x64": "2.1.199",
31
+ "@anthropic-ai/claude-code-win32-arm64": "2.1.199"
32
32
  },
33
33
  "files": [
34
34
  "bin/claude.exe",
package/sdk-tools.d.ts CHANGED
@@ -29,6 +29,7 @@ export type ToolInputSchemas =
29
29
  | WebFetchInput
30
30
  | WebSearchInput
31
31
  | AskUserQuestionInput
32
+ | ClaudeDesignInput
32
33
  | ProjectsInput
33
34
  | EnterPlanModeInput
34
35
  | TaskCreateInput
@@ -87,6 +88,7 @@ export type ToolOutputSchemas =
87
88
  | CronDeleteOutput
88
89
  | CronListOutput
89
90
  | PushNotificationOutput
91
+ | ClaudeDesignOutput
90
92
  | ProjectsOutput;
91
93
  export type AgentOutput =
92
94
  | {
@@ -304,6 +306,10 @@ export type FileReadOutput =
304
306
  */
305
307
  filePath: string;
306
308
  };
309
+ /**
310
+ * Set when the dedup matched a startup-seeded entry (CLAUDE.md / nested memory) rather than a prior Read tool_result
311
+ */
312
+ source?: "seeded";
307
313
  };
308
314
  export type ListMcpResourcesOutput = {
309
315
  /**
@@ -364,9 +370,6 @@ export type ProjectsOutput =
364
370
  knowledge: {
365
371
  knowledge_size: number;
366
372
  max_knowledge_size: number;
367
- search_threshold: number | null;
368
- rag_active: boolean;
369
- remaining_budget: number | null;
370
373
  };
371
374
  }
372
375
  | {
@@ -395,13 +398,6 @@ export type ProjectsOutput =
395
398
  path: string;
396
399
  doc_uuid: string;
397
400
  replaced: boolean;
398
- knowledge: {
399
- knowledge_size: number;
400
- max_knowledge_size: number;
401
- search_threshold: number | null;
402
- rag_active: boolean;
403
- remaining_budget: number | null;
404
- };
405
401
  }
406
402
  | {
407
403
  method: "project_delete";
@@ -716,6 +712,10 @@ export interface ReportFindingsInput {
716
712
  * Concrete inputs/state → wrong output/crash
717
713
  */
718
714
  failure_scenario: string;
715
+ /**
716
+ * Short kebab-case slug of the finding type, e.g. "correctness", "simplification", "efficiency", "test-coverage"
717
+ */
718
+ category?: string;
719
719
  /**
720
720
  * Set when a verify pass ran; absent on inline-only reviews
721
721
  */
@@ -2337,6 +2337,18 @@ export interface AskUserQuestionInput {
2337
2337
  source?: string;
2338
2338
  };
2339
2339
  }
2340
+ export interface ClaudeDesignInput {
2341
+ /**
2342
+ * Claude Design action to perform. Call with "list" first to discover the available operations and their argument schemas.
2343
+ */
2344
+ operation: string;
2345
+ /**
2346
+ * Action input object (server-validated). Pass {} for operations that take no input.
2347
+ */
2348
+ arguments: {
2349
+ [k: string]: unknown;
2350
+ };
2351
+ }
2340
2352
  export interface ProjectsInput {
2341
2353
  method: "project_info" | "project_read" | "project_search" | "project_write" | "project_delete";
2342
2354
  /**
@@ -2351,10 +2363,6 @@ export interface ProjectsInput {
2351
2363
  * project_write: a file inside the working directory to upload. The tool reads, encodes, and uploads directly — contents never enter your context. Mutually exclusive with content.
2352
2364
  */
2353
2365
  local_path?: string;
2354
- /**
2355
- * project_write: bypass the chat-injection budget guard. Set only when the write is genuinely worth degrading chat to retrieval mode for everyone in the project.
2356
- */
2357
- force?: boolean;
2358
2366
  /**
2359
2367
  * project_search: knowledge-base query
2360
2368
  */
@@ -2992,6 +3000,10 @@ export interface ReportFindingsOutput {
2992
3000
  * Concrete inputs/state → wrong output/crash
2993
3001
  */
2994
3002
  failure_scenario: string;
3003
+ /**
3004
+ * Short kebab-case slug of the finding type, e.g. "correctness", "simplification", "efficiency", "test-coverage"
3005
+ */
3006
+ category?: string;
2995
3007
  /**
2996
3008
  * Set when a verify pass ran; absent on inline-only reviews
2997
3009
  */
@@ -3484,10 +3496,15 @@ export interface PushNotificationOutput {
3484
3496
  pushSent?: boolean;
3485
3497
  localSent?: boolean;
3486
3498
  disabledReason?: "config_off" | "user_present" | "no_transport";
3487
- idleSec?: number;
3488
- hasFocus?: boolean;
3489
3499
  /**
3490
3500
  * ISO timestamp captured at tool execution on the emitting process. Optional — resumed sessions replay pre-sentAt outputs verbatim.
3491
3501
  */
3492
3502
  sentAt?: string;
3493
3503
  }
3504
+ export interface ClaudeDesignOutput {
3505
+ operation: string;
3506
+ content: {
3507
+ [k: string]: unknown;
3508
+ }[];
3509
+ isError?: boolean;
3510
+ }