@anthropic-ai/claude-code 2.0.3 → 2.0.8
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/cli.js +960 -1094
- package/package.json +1 -1
- package/sdk.d.ts +7 -1
- package/sdk.mjs +1 -1
package/package.json
CHANGED
package/sdk.d.ts
CHANGED
|
@@ -293,7 +293,13 @@ export type SDKUserMessage = SDKUserMessageContent & {
|
|
|
293
293
|
uuid?: UUID;
|
|
294
294
|
session_id: string;
|
|
295
295
|
};
|
|
296
|
-
export type SDKUserMessageReplay = SDKMessageBase & SDKUserMessageContent
|
|
296
|
+
export type SDKUserMessageReplay = SDKMessageBase & SDKUserMessageContent & {
|
|
297
|
+
/**
|
|
298
|
+
* True if this is a replay/acknowledgment of a user message that was already
|
|
299
|
+
* added to the messages array. Used internally to prevent duplicate messages.
|
|
300
|
+
*/
|
|
301
|
+
isReplay: true;
|
|
302
|
+
};
|
|
297
303
|
export type SDKAssistantMessage = SDKMessageBase & {
|
|
298
304
|
type: 'assistant';
|
|
299
305
|
message: APIAssistantMessage;
|
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: 2.0.
|
|
5
|
+
// Version: 2.0.8
|
|
6
6
|
|
|
7
7
|
// Want to see the unminified source? We're hiring!
|
|
8
8
|
// https://job-boards.greenhouse.io/anthropic/jobs/4816199008
|