claude-agent-sdk 0.7.0 → 0.7.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/claude_agent_sdk/subprocess_cli_transport.rb +3 -3
- data/lib/claude_agent_sdk/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 303a5cd2321bb9c04f17d68990abfb8f72c6a88624874f199afaf7769befca33
|
|
4
|
+
data.tar.gz: 3831d1fdec75b38072083d231dcf03a87407244bda805e51661d771be23105ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 569f331952bcef9c7426fc61bd1c36f082acf721e9ab5a899783ea06fdee5accfcb2f903c536ba9cf99ee50e96aceb254d9305751631643f532c549b39b48ff6
|
|
7
|
+
data.tar.gz: 2c22f2cde6cf7c5e059ebbdfe515f559979b4cd273b28e1d7113cf55e9e739a201725f81f2ee602623242c12f7c557edbb0b5ade8a1088e997d4ddd01566561c
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.7.1] - 2026-02-21
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Transport initialization crash:** `SubprocessCLITransport#initialize` used raw `options` parameter instead of resolved `@options` on lines 19, 20, 27 — caused `NoMethodError: undefined method 'cli_path' for nil` when using single-arg form (how `Client.new` calls it)
|
|
12
|
+
|
|
8
13
|
## [0.7.0] - 2026-02-20
|
|
9
14
|
|
|
10
15
|
### Added
|
|
@@ -16,15 +16,15 @@ module ClaudeAgentSDK
|
|
|
16
16
|
def initialize(options_or_prompt = nil, options = nil)
|
|
17
17
|
# Support both new single-arg form and legacy two-arg form
|
|
18
18
|
@options = options.nil? ? options_or_prompt : options
|
|
19
|
-
@cli_path = options.cli_path || find_cli
|
|
20
|
-
@cwd = options.cwd
|
|
19
|
+
@cli_path = @options.cli_path || find_cli
|
|
20
|
+
@cwd = @options.cwd
|
|
21
21
|
@process = nil
|
|
22
22
|
@stdin = nil
|
|
23
23
|
@stdout = nil
|
|
24
24
|
@stderr = nil
|
|
25
25
|
@ready = false
|
|
26
26
|
@exit_error = nil
|
|
27
|
-
@max_buffer_size = options.max_buffer_size || DEFAULT_MAX_BUFFER_SIZE
|
|
27
|
+
@max_buffer_size = @options.max_buffer_size || DEFAULT_MAX_BUFFER_SIZE
|
|
28
28
|
@stderr_task = nil
|
|
29
29
|
@recent_stderr = []
|
|
30
30
|
@recent_stderr_mutex = Mutex.new
|