@anthropic-ai/claude-agent-sdk 0.1.34 → 0.1.36
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 +1024 -1035
- package/package.json +1 -1
- package/sdk.d.ts +1 -0
- package/sdk.mjs +2 -2
package/package.json
CHANGED
package/sdk.d.ts
CHANGED
|
@@ -165,6 +165,7 @@ export type NotificationHookInput = BaseHookInput & {
|
|
|
165
165
|
hook_event_name: 'Notification';
|
|
166
166
|
message: string;
|
|
167
167
|
title?: string;
|
|
168
|
+
notification_type: string;
|
|
168
169
|
};
|
|
169
170
|
export type UserPromptSubmitHookInput = BaseHookInput & {
|
|
170
171
|
hook_event_name: 'UserPromptSubmit';
|
package/sdk.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// (c) Anthropic PBC. All rights reserved. Use is subject to the Legal Agreements outlined here: https://docs.claude.com/en/docs/claude-code/legal-and-compliance.
|
|
3
3
|
|
|
4
|
-
// Version: 0.1.
|
|
4
|
+
// Version: 0.1.36
|
|
5
5
|
|
|
6
6
|
// Want to see the unminified source? We're hiring!
|
|
7
7
|
// https://job-boards.greenhouse.io/anthropic/jobs/4816199008
|
|
@@ -14776,7 +14776,7 @@ function query({
|
|
|
14776
14776
|
const dirname2 = join3(filename, "..");
|
|
14777
14777
|
pathToClaudeCodeExecutable = join3(dirname2, "cli.js");
|
|
14778
14778
|
}
|
|
14779
|
-
process.env.CLAUDE_AGENT_SDK_VERSION = "0.1.
|
|
14779
|
+
process.env.CLAUDE_AGENT_SDK_VERSION = "0.1.36";
|
|
14780
14780
|
const {
|
|
14781
14781
|
abortController = createAbortController(),
|
|
14782
14782
|
additionalDirectories = [],
|