@anthropic-ai/claude-code 1.0.73 → 1.0.76

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.73",
3
+ "version": "1.0.76",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "bin": {
package/sdk.d.ts CHANGED
@@ -94,6 +94,12 @@ export type SDKAssistantMessage = {
94
94
  session_id: string
95
95
  }
96
96
 
97
+ export type SDKPermissionDenial = {
98
+ tool_name: string
99
+ tool_use_id: string
100
+ tool_input: Record<string, unknown>
101
+ }
102
+
97
103
  export type SDKResultMessage =
98
104
  | {
99
105
  type: 'result'
@@ -106,6 +112,7 @@ export type SDKResultMessage =
106
112
  session_id: string
107
113
  total_cost_usd: number
108
114
  usage: NonNullableUsage
115
+ permission_denials: SDKPermissionDenial[]
109
116
  }
110
117
  | {
111
118
  type: 'result'
@@ -117,6 +124,7 @@ export type SDKResultMessage =
117
124
  session_id: string
118
125
  total_cost_usd: number
119
126
  usage: NonNullableUsage
127
+ permission_denials: SDKPermissionDenial[]
120
128
  }
121
129
 
122
130
  export type SDKSystemMessage = {
package/sdk.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  // (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
4
4
 
5
- // Version: 1.0.73
5
+ // Version: 1.0.76
6
6
 
7
7
  // Want to see the unminified source? We're hiring!
8
8
  // https://job-boards.greenhouse.io/anthropic/jobs/4816199008
Binary file