Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

## Unreleased

## 0.0.3 (2026-01-21)
- Docs: expand Python SDK guides (QuickStart, Prompt/Session, tools)
- Examples: add Python examples to demonstrate SDK features
- Code: add module-level docstrings to public modules; re-export SDK tools
- Dependencies: Update kimi-cli to version 0.83

## 0.0.2 (2025-01-20)
- Align Python SDK path types with Kimi CLI signatures
- Normalize SDK exceptions and propagate exceptions from CLI/Kosong
Expand Down
6 changes: 3 additions & 3 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "kimi-agent-sdk"
version = "0.0.2"
version = "0.0.3"
description = "A Python SDK for Kimi Agent (Kimi CLI)."
readme = "README.md"
requires-python = ">=3.12"
Expand All @@ -19,8 +19,8 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"kimi-cli>=0.79,<0.80",
"kosong>=0.38.0,<0.39.0",
"kimi-cli>=0.83,<0.84",
"kosong>=0.39.0,<0.40.0",
]

[project.urls]
Expand Down
6 changes: 2 additions & 4 deletions python/src/kimi_agent_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ async def main() -> None:
from kimi_cli.soul import LLMNotSet, LLMNotSupported, MaxStepsReached, RunCancelled
from kimi_cli.wire.types import (
ApprovalRequest,
ApprovalRequestResolved,
ApprovalResponseKind,
ApprovalResponse,
BriefDisplayBlock,
CompactionBegin,
CompactionEnd,
Expand Down Expand Up @@ -127,7 +126,6 @@ async def main() -> None:
"Session",
# Approval
"ApprovalHandlerFn",
"ApprovalResponseKind",
"ApprovalRequest",
# High-level types
"Message",
Expand All @@ -151,7 +149,7 @@ async def main() -> None:
"ToolCallPart",
"ToolResult",
"ToolReturnValue",
"ApprovalRequestResolved",
"ApprovalResponse",
"SubagentEvent",
"DisplayBlock",
"BriefDisplayBlock",
Expand Down
18 changes: 9 additions & 9 deletions python/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.