@anthropic-ai/claude-code 2.1.84 → 2.1.86

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.84",
3
+ "version": "2.1.86",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
package/sdk-tools.d.ts CHANGED
@@ -23,10 +23,6 @@ export type ToolInputSchemas =
23
23
  | McpInput
24
24
  | NotebookEditInput
25
25
  | ReadMcpResourceInput
26
- | SubscribeMcpResourceInput
27
- | UnsubscribeMcpResourceInput
28
- | SubscribePollingInput
29
- | UnsubscribePollingInput
30
26
  | TodoWriteInput
31
27
  | WebFetchInput
32
28
  | WebSearchInput
@@ -49,10 +45,6 @@ export type ToolOutputSchemas =
49
45
  | McpOutput
50
46
  | NotebookEditOutput
51
47
  | ReadMcpResourceOutput
52
- | SubscribeMcpResourceOutput
53
- | UnsubscribeMcpResourceOutput
54
- | SubscribePollingOutput
55
- | UnsubscribePollingOutput
56
48
  | TodoWriteOutput
57
49
  | WebFetchOutput
58
50
  | WebSearchOutput
@@ -226,6 +218,15 @@ export type FileReadOutput =
226
218
  */
227
219
  outputDir: string;
228
220
  };
221
+ }
222
+ | {
223
+ type: "file_unchanged";
224
+ file: {
225
+ /**
226
+ * The path to the file
227
+ */
228
+ filePath: string;
229
+ };
229
230
  };
230
231
  export type ListMcpResourcesOutput = {
231
232
  /**
@@ -519,80 +520,6 @@ export interface ReadMcpResourceInput {
519
520
  */
520
521
  uri: string;
521
522
  }
522
- export interface SubscribeMcpResourceInput {
523
- /**
524
- * The MCP server name
525
- */
526
- server: string;
527
- /**
528
- * The resource URI to subscribe to
529
- */
530
- uri: string;
531
- /**
532
- * Optional reason for subscribing (included in update notifications)
533
- */
534
- reason?: string;
535
- }
536
- export interface UnsubscribeMcpResourceInput {
537
- /**
538
- * The MCP server name
539
- */
540
- server?: string;
541
- /**
542
- * The resource URI to unsubscribe from
543
- */
544
- uri?: string;
545
- /**
546
- * The subscription ID to unsubscribe
547
- */
548
- subscriptionId?: string;
549
- }
550
- export interface SubscribePollingInput {
551
- /**
552
- * The type of subscription: "tool" to poll a tool, "resource" to poll a resource URI
553
- */
554
- type: "tool" | "resource";
555
- /**
556
- * The MCP server name
557
- */
558
- server: string;
559
- /**
560
- * The tool to call periodically (required when type is "tool")
561
- */
562
- toolName?: string;
563
- /**
564
- * Arguments to pass to the tool on each call
565
- */
566
- arguments?: {
567
- [k: string]: unknown;
568
- };
569
- /**
570
- * The resource URI to poll (required when type is "resource")
571
- */
572
- uri?: string;
573
- /**
574
- * Polling interval in milliseconds (minimum 1000ms, default 5000ms)
575
- */
576
- intervalMs: number;
577
- /**
578
- * Optional reason for subscribing (included in change notifications)
579
- */
580
- reason?: string;
581
- }
582
- export interface UnsubscribePollingInput {
583
- /**
584
- * The subscription ID to unsubscribe
585
- */
586
- subscriptionId?: string;
587
- /**
588
- * The MCP server name
589
- */
590
- server?: string;
591
- /**
592
- * The target to unsubscribe (tool name for tool subscriptions, URI for resource subscriptions)
593
- */
594
- target?: string;
595
- }
596
523
  export interface TodoWriteInput {
597
524
  /**
598
525
  * The updated todo list
@@ -2507,38 +2434,6 @@ export interface ReadMcpResourceOutput {
2507
2434
  blobSavedTo?: string;
2508
2435
  }[];
2509
2436
  }
2510
- export interface SubscribeMcpResourceOutput {
2511
- /**
2512
- * Whether the subscription was successful
2513
- */
2514
- subscribed: boolean;
2515
- /**
2516
- * Unique identifier for this subscription
2517
- */
2518
- subscriptionId: string;
2519
- }
2520
- export interface UnsubscribeMcpResourceOutput {
2521
- /**
2522
- * Whether the unsubscription was successful
2523
- */
2524
- unsubscribed: boolean;
2525
- }
2526
- export interface SubscribePollingOutput {
2527
- /**
2528
- * Whether the subscription was successful
2529
- */
2530
- subscribed: boolean;
2531
- /**
2532
- * Unique identifier for this subscription
2533
- */
2534
- subscriptionId: string;
2535
- }
2536
- export interface UnsubscribePollingOutput {
2537
- /**
2538
- * Whether the unsubscription was successful
2539
- */
2540
- unsubscribed: boolean;
2541
- }
2542
2437
  export interface TodoWriteOutput {
2543
2438
  /**
2544
2439
  * The todo list before the update
package/resvg.wasm DELETED
Binary file