claude-agent-sdk 0.2.1 → 0.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db20a5dbe6ebc51b229f4de595489038a26a47d8109600131c45aa2bf27c6d2e
4
- data.tar.gz: 563e16e88a48ce331cd48c6ebce3302f0c57292ee6563ebaec7af02bed29433d
3
+ metadata.gz: d4b8c3f8f0eefdfe38747d264f5d89148e1e589f12c200796dd2c37e821b3f61
4
+ data.tar.gz: 60252ef9c5f8679526a1f76b1be4216138e8bc7d91deb7bc1235b94d04a8481d
5
5
  SHA512:
6
- metadata.gz: 288868f49db2968d92dc2250fe2ca91b7692431c92dc4fce41b04a35610858c146490da45178290877988a9210d67ebdf8257363f651e058a0bab534d24222fc
7
- data.tar.gz: 183224c382c68b916da22c20c64d2f4fd625861baee265611bae8f752c25effcc7de2159a61cc65822cd62f24344f85b485cd1e6005ceff0e88ea2c34be4c30c
6
+ metadata.gz: a95797df469fa0acede9c2187d0e8dd9420582e856853552dcc4b0c09b7e4564ca7371478624a904090366d06880a2e7457f71910b88e815fbbe12d8f210f255
7
+ data.tar.gz: 77354e6852d2f86b060ac0e4948006ed1c28311f7481e4efa7cdc2f57864448ab0d656244559da43094cde1ac409ae25fd4aad13228640001b0e453d7d9fc753
data/CHANGELOG.md CHANGED
@@ -5,6 +5,40 @@ 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.4.0] - 2026-01-06
9
+
10
+ ### Added
11
+
12
+ #### File Checkpointing & Rewind
13
+ - `enable_file_checkpointing` option in `ClaudeAgentOptions` for enabling file state checkpointing
14
+ - `rewind_files(user_message_uuid)` method on `Query` and `Client` classes
15
+ - `uuid` field on `UserMessage` for tracking message identifiers for rewind support
16
+
17
+ #### Beta Features Support
18
+ - `SDK_BETAS` constant with available beta features (e.g., `"context-1m-2025-08-07"`)
19
+ - `betas` option in `ClaudeAgentOptions` for enabling beta features
20
+
21
+ #### Tools Configuration
22
+ - `tools` option for base tools selection (separate from `allowed_tools`)
23
+ - Supports array of tool names, empty array `[]`, or `ToolsPreset` object
24
+ - `ToolsPreset` class for preset-based tool configuration
25
+ - `append_allowed_tools` option to append tools to the allowed list
26
+
27
+ #### Sandbox Settings
28
+ - `SandboxSettings` class for isolated command execution configuration
29
+ - `SandboxNetworkConfig` class for network isolation settings
30
+ - `SandboxIgnoreViolations` class for configuring violation handling
31
+ - `sandbox` option in `ClaudeAgentOptions` for sandbox configuration
32
+ - Automatic merging of sandbox settings into the main settings JSON
33
+
34
+ #### Additional Types
35
+ - `SystemPromptPreset` class for preset-based system prompts
36
+
37
+ ### Technical Details
38
+ - All new CLI flags properly passed to Claude Code subprocess
39
+ - Sandbox settings merged into `--settings` JSON for CLI compatibility
40
+ - UserMessage UUID parsed from CLI output for rewind support
41
+
8
42
  ## [0.2.0] - 2025-10-17
9
43
 
10
44
  ### Changed