@anthropic-ai/claude-code 1.0.89 → 1.0.91

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": "1.0.89",
3
+ "version": "1.0.91",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "bin": {
package/sdk.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Message as APIAssistantMessage, MessageParam as APIUserMessage, Usage } from '@anthropic-ai/sdk/resources/index.mjs';
1
+ import type { Message as APIAssistantMessage, MessageParam as APIUserMessage, Usage } from '@anthropic-ai/sdk/resources';
2
2
  import type { UUID } from 'crypto';
3
3
  export type NonNullableUsage = {
4
4
  [K in keyof Usage]: NonNullable<Usage[K]>;
@@ -45,6 +45,7 @@ export type BaseHookInput = {
45
45
  session_id: string;
46
46
  transcript_path: string;
47
47
  cwd: string;
48
+ permission_mode?: string;
48
49
  };
49
50
  export type PreToolUseHookInput = BaseHookInput & {
50
51
  hook_event_name: 'PreToolUse';
@@ -139,10 +140,6 @@ export type Options = {
139
140
  resume?: string;
140
141
  stderr?: (data: string) => void;
141
142
  strictMcpConfig?: boolean;
142
- websocket?: {
143
- url: string;
144
- headers?: Record<string, string>;
145
- };
146
143
  };
147
144
  export type PermissionMode = 'default' | 'acceptEdits' | 'bypassPermissions' | 'plan';
148
145
  type SDKMessageBase = {