clawd-code-sdk 0.3.4__tar.gz → 0.3.5__tar.gz
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.
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/PKG-INFO +1 -1
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/pyproject.toml +1 -1
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/messages.py +13 -12
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/.gitignore +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/LICENSE +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/README.md +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/__init__.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/_bundled/.gitignore +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/_errors.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/_internal/__init__.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/_internal/message_parser.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/_internal/query.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/_internal/transport/__init__.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/_internal/transport/subprocess_cli.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/_version.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/anthropic_types.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/client.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/list_sessions.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/mcp_utils.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/__init__.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/agents.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/base.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/content_blocks.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/control.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/hooks.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/input_types.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/mcp.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/options.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/output_types.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/permissions.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/sandbox.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/models/server_info.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/py.typed +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/query.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/session.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/storage/ARCHITECTURE.md +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/storage/__init__.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/storage/helpers.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/storage/models.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/storage/replay.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/usage.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/conftest.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/__init__.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_agents_and_settings.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_dynamic_control.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_hook_events.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_hooks.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_include_partial_messages.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_mcp_tools.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_sdk_mcp_tools.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_slash_commands.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_stderr_callback.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_structured_output.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_subagent_invocation.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/e2e/test_tool_permissions.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/mcp_server.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/mock_claude_server.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_changelog.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_client.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_errors.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_image.png +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_integration.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_message_parser.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_sdk_mcp_integration.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_session.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_streaming_client.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_subprocess_buffering.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_tool_callbacks.py +0 -0
- {clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/tests/test_transport.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clawd-code-sdk
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: Python SDK for Claude Code
|
|
5
5
|
Project-URL: Documentation, https://github.com/phil65/claude-agent-sdk-python
|
|
6
6
|
Project-URL: Homepage, https://github.com/phil65/claude-agent-sdk-python
|
|
@@ -198,9 +198,9 @@ class HookStartedSystemMessage(BaseSystemMessage):
|
|
|
198
198
|
"""System message emitted when a hook starts."""
|
|
199
199
|
|
|
200
200
|
subtype: Literal["hook_started"] = "hook_started"
|
|
201
|
-
hook_id: str
|
|
202
|
-
hook_name: str
|
|
203
|
-
hook_event: str
|
|
201
|
+
hook_id: str
|
|
202
|
+
hook_name: str
|
|
203
|
+
hook_event: str
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
@dataclass(kw_only=True)
|
|
@@ -209,6 +209,7 @@ class StatusSystemMessage(BaseSystemMessage):
|
|
|
209
209
|
|
|
210
210
|
subtype: Literal["status"] = "status"
|
|
211
211
|
status: Literal["compacting"] | None
|
|
212
|
+
permissionMode: PermissionMode | None = None # noqa: N815
|
|
212
213
|
|
|
213
214
|
|
|
214
215
|
class TriggerMetadata(TypedDict):
|
|
@@ -247,9 +248,9 @@ class TaskStartedSystemMessage(BaseSystemMessage):
|
|
|
247
248
|
"""System message emitted when a subagent task starts."""
|
|
248
249
|
|
|
249
250
|
subtype: Literal["task_started"] = "task_started"
|
|
250
|
-
task_id: str
|
|
251
|
+
task_id: str
|
|
251
252
|
tool_use_id: str | None = None
|
|
252
|
-
description: str
|
|
253
|
+
description: str
|
|
253
254
|
task_type: str | None = None
|
|
254
255
|
|
|
255
256
|
|
|
@@ -258,10 +259,10 @@ class TaskNotificationSystemMessage(BaseSystemMessage):
|
|
|
258
259
|
"""System message emitted when a subagent task completes, fails, or stops."""
|
|
259
260
|
|
|
260
261
|
subtype: Literal["task_notification"] = "task_notification"
|
|
261
|
-
task_id: str
|
|
262
|
-
status: TaskStatus
|
|
263
|
-
output_file: str
|
|
264
|
-
summary: str
|
|
262
|
+
task_id: str
|
|
263
|
+
status: TaskStatus
|
|
264
|
+
output_file: str
|
|
265
|
+
summary: str
|
|
265
266
|
tool_use_id: str | None = None
|
|
266
267
|
|
|
267
268
|
|
|
@@ -278,10 +279,10 @@ class TaskProgressSystemMessage(BaseSystemMessage):
|
|
|
278
279
|
"""System message emitted periodically with task progress updates."""
|
|
279
280
|
|
|
280
281
|
subtype: Literal["task_progress"] = "task_progress"
|
|
281
|
-
task_id: str
|
|
282
|
+
task_id: str
|
|
282
283
|
tool_use_id: str | None = None
|
|
283
|
-
description: str
|
|
284
|
-
usage: TaskProgressUsage
|
|
284
|
+
description: str
|
|
285
|
+
usage: TaskProgressUsage
|
|
285
286
|
last_tool_name: ToolName | str | None = None
|
|
286
287
|
|
|
287
288
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/_internal/message_parser.py
RENAMED
|
File without changes
|
|
File without changes
|
{clawd_code_sdk-0.3.4 → clawd_code_sdk-0.3.5}/src/clawd_code_sdk/_internal/transport/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|