Skip to content
Open
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
16 changes: 8 additions & 8 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"packages/client": "0.1.3",
"packages/ai": "0.1.3",
"packages/claude-agents": "0.1.4",
"packages/claude-messages": "0.1.4",
"packages/openai-agents": "0.1.4",
"packages/openai-messages": "0.1.4",
"packages/langchain-agents": "0.1.4",
"packages/langchain-messages": "0.1.4"
"packages/client": "0.2.0",
"packages/ai": "0.1.4",
"packages/claude-agents": "0.2.0",
"packages/claude-messages": "0.2.0",
"packages/openai-agents": "0.2.0",
"packages/openai-messages": "0.2.0",
"packages/langchain-agents": "0.2.0",
"packages/langchain-messages": "0.2.0"
}
16 changes: 16 additions & 0 deletions packages/ai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## [0.1.4](https://github.com/launchdarkly/python-ai-sdk/compare/launchdarkly-ai-python-0.1.3...launchdarkly-ai-python-0.1.4) (2026-09-03)


### Features

* emit $ld:ai:sdk:info event per AI package ([#62](https://github.com/launchdarkly/python-ai-sdk/issues/62)) ([65136a3](https://github.com/launchdarkly/python-ai-sdk/commit/65136a3aa07d1245b28c38a7f38946a3c75a4516))
* **evaluations:** configure run link UI base ([4cbcbd6](https://github.com/launchdarkly/python-ai-sdk/commit/4cbcbd66e2dd4eed0be931924ee7246d430474df))
* **evaluations:** emit generation events ([311b012](https://github.com/launchdarkly/python-ai-sdk/commit/311b012937a8d4862165ee35b038597df6c7badb))
* **evaluations:** event-based offline evaluations runner ([#39](https://github.com/launchdarkly/python-ai-sdk/issues/39)) ([4239739](https://github.com/launchdarkly/python-ai-sdk/commit/4239739fc8fd62bfac7113c9d7778e4146a8bb28))
* run client-side evaluations from the SDK ([50fee37](https://github.com/launchdarkly/python-ai-sdk/commit/50fee37c88b2bc207544bd7a28bf3d4d00a34875))


### Bug Fixes

* **evaluations:** accept a BYOC client without an SDK key and reject NaN poll values ([ab5a4e5](https://github.com/launchdarkly/python-ai-sdk/commit/ab5a4e5d9cb6d29b189f3efde6cea1f0336ba0b4))

## [0.1.3](https://github.com/launchdarkly/python-ai-sdk/compare/launchdarkly-ai-python-0.1.2...launchdarkly-ai-python-0.1.3) (2026-08-07)


Expand Down
2 changes: 1 addition & 1 deletion packages/ai/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "launchdarkly-ai-python"
version = "0.1.3"
version = "0.1.4"
requires-python = ">=3.12"
dependencies = ["launchdarkly-ai-server"]
description = "LaunchDarkly AI SDK for Python — convenience barrel re-export"
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/src/launchdarkly_ai_python/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""LaunchDarkly AI SDK - convenience package for Python."""

__version__ = "0.1.3" # x-release-please-version
__version__ = "0.1.4" # x-release-please-version

from launchdarkly_ai_server import * # noqa: F403
from launchdarkly_ai_server import register_ai_sdk_package
Expand Down
38 changes: 38 additions & 0 deletions packages/claude-agents/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# Changelog

## [0.2.0](https://github.com/launchdarkly/python-ai-sdk/compare/launchdarkly-ai-claude-agents-0.1.4...launchdarkly-ai-claude-agents-0.2.0) (2026-09-03)


### ⚠ BREAKING CHANGES

* **claude-agents:** stop an empty tool list switching off the built-ins
* **claude-agents:** the span this handler emits is renamed from `claude.query` and `claude.query.stream` to `invoke_agent`. Queries selecting on the old names will not match. Prompt and completion content is no longer on spans unless the caller passes capture_content=True.

### Features

* **claude-agents:** emit invoke_agent, chat and execute_tool spans ([7831c81](https://github.com/launchdarkly/python-ai-sdk/commit/7831c8129bdeedb6440685a55a40280daf63b35d))
* emit $ld:ai:sdk:info event per AI package ([#62](https://github.com/launchdarkly/python-ai-sdk/issues/62)) ([65136a3](https://github.com/launchdarkly/python-ai-sdk/commit/65136a3aa07d1245b28c38a7f38946a3c75a4516))
* emit conversation id and judge evals ([1b0f5bd](https://github.com/launchdarkly/python-ai-sdk/commit/1b0f5bd926e2f0583d330f313b2af35cba1128f5))
* emit gen_ai.conversation.id ([#42](https://github.com/launchdarkly/python-ai-sdk/issues/42)) ([c372e56](https://github.com/launchdarkly/python-ai-sdk/commit/c372e56df9ff0e32f6a6196a35cc8fc909daba01))
* gate the judge explanation on capture_content ([8a66365](https://github.com/launchdarkly/python-ai-sdk/commit/8a66365059386b637d43c96c56b659867decb047))
* record judge scores as gen_ai.evaluation.result ([#43](https://github.com/launchdarkly/python-ai-sdk/issues/43)) ([7c8b0c9](https://github.com/launchdarkly/python-ai-sdk/commit/7c8b0c9820655c4a909366ad05d20c78050c4d17))


### Bug Fixes

* bind conversation id at stream() call time ([bda8393](https://github.com/launchdarkly/python-ai-sdk/commit/bda839312c7372bb55ad13bb92b0e3a0a6618738))
* **claude-agents:** an abandoned stream is not an error for its tool spans ([10b8158](https://github.com/launchdarkly/python-ai-sdk/commit/10b81583650ae5356045cfa444313d8adde79bb5))
* **claude-agents:** an empty run must not claim it cost nothing ([85c73ff](https://github.com/launchdarkly/python-ai-sdk/commit/85c73ffb9cb0af85304f38d93e3a896855f2c61a))
* **claude-agents:** keep a tool span trackable when its content will not serialise ([0738606](https://github.com/launchdarkly/python-ai-sdk/commit/07386063f5e8157b44819fbadb2ebbd882ed859b))
* **claude-agents:** keep the spans of a cancelled run ([b7dddfa](https://github.com/launchdarkly/python-ai-sdk/commit/b7dddfac2099fafed29870790cd48f48f96d10b1))
* **claude-agents:** put the input content write inside the guard too ([f0160c2](https://github.com/launchdarkly/python-ai-sdk/commit/f0160c29f11b6b8965c07f209e09463414bca48a))
* **claude-agents:** report a cancelled stream as cancelled, not abandoned ([d4f1b6f](https://github.com/launchdarkly/python-ai-sdk/commit/d4f1b6f76bf703e2bbfd24d4cfc007de0f9be4ba))
* **claude-agents:** stop an empty tool list switching off the built-ins ([50e82fd](https://github.com/launchdarkly/python-ai-sdk/commit/50e82fd8903aa4fbd9c83697fa48f4ddb8c05d8d))
* scope the processor, keep streaming parenting, accept a nullish id ([9794d36](https://github.com/launchdarkly/python-ai-sdk/commit/9794d367b80961f17aecea14f06188f32160f7e6))
* use tool keys in tool call telemetry ([841ba77](https://github.com/launchdarkly/python-ai-sdk/commit/841ba7792475f91a9335104d9cb1304ac8e17cfb))
* use tool keys in tool call telemetry ([#56](https://github.com/launchdarkly/python-ai-sdk/issues/56)) ([ae3130f](https://github.com/launchdarkly/python-ai-sdk/commit/ae3130f973d23e6f52bb9646fbf54c88671ebb11))


### Documentation

* describe the span tree the SDK now emits ([bc7815a](https://github.com/launchdarkly/python-ai-sdk/commit/bc7815a61e46c96df9cd786b20bfceb7d8b13334))
* describe the span tree the SDK now emits ([#37](https://github.com/launchdarkly/python-ai-sdk/issues/37)) ([6a82ef5](https://github.com/launchdarkly/python-ai-sdk/commit/6a82ef5d1fdbae2b1228f9325d960979bcf50881))

## [0.1.4](https://github.com/launchdarkly/python-ai-sdk/compare/launchdarkly-ai-claude-agents-0.1.3...launchdarkly-ai-claude-agents-0.1.4) (2026-08-07)


Expand Down
2 changes: 1 addition & 1 deletion packages/claude-agents/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "launchdarkly-ai-claude-agents"
version = "0.1.4"
version = "0.2.0"
requires-python = ">=3.12"
dependencies = [
"launchdarkly-ai-server",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""LaunchDarkly AI SDK - integration for Claude agents."""

__version__ = "0.1.4" # x-release-please-version
__version__ = "0.2.0" # x-release-please-version

from launchdarkly_ai_server import register_ai_sdk_package

Expand Down
35 changes: 35 additions & 0 deletions packages/claude-messages/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Changelog

## [0.2.0](https://github.com/launchdarkly/python-ai-sdk/compare/launchdarkly-ai-claude-messages-0.1.4...launchdarkly-ai-claude-messages-0.2.0) (2026-09-03)


### ⚠ BREAKING CHANGES

* **claude-messages:** the span this handler emits is renamed from `claude.messages` and `claude.messages.stream` to `invoke_agent`. Queries that select on the old names will not match. Prompt and completion content is no longer on spans unless the caller passes capture_content=True.

### Features

* **claude-messages:** emit invoke_agent, chat and execute_tool spans ([d4b5b6e](https://github.com/launchdarkly/python-ai-sdk/commit/d4b5b6eccb4714fd78384d78d8c1647c356d4c9c))
* emit $ld:ai:sdk:info event per AI package ([#62](https://github.com/launchdarkly/python-ai-sdk/issues/62)) ([65136a3](https://github.com/launchdarkly/python-ai-sdk/commit/65136a3aa07d1245b28c38a7f38946a3c75a4516))
* gate the judge explanation on capture_content ([8a66365](https://github.com/launchdarkly/python-ai-sdk/commit/8a66365059386b637d43c96c56b659867decb047))
* record judge scores as gen_ai.evaluation.result ([#43](https://github.com/launchdarkly/python-ai-sdk/issues/43)) ([7c8b0c9](https://github.com/launchdarkly/python-ai-sdk/commit/7c8b0c9820655c4a909366ad05d20c78050c4d17))


### Bug Fixes

* **claude-messages:** close the tool span a cancelled tool leaves open ([4f23cf4](https://github.com/launchdarkly/python-ai-sdk/commit/4f23cf439c449f33e13fce6b78681233f85f9ba2))
* **claude-messages:** do not invent the cache figures Anthropic did not send ([db417b1](https://github.com/launchdarkly/python-ai-sdk/commit/db417b1ce2d47aef4ffa10f0bf2ac4056e2d008a))
* **claude-messages:** fail the streaming chat span instead of abandoning it ([2f0e565](https://github.com/launchdarkly/python-ai-sdk/commit/2f0e565230c5130f0dc6206c634284ad146a74b3))
* **claude-messages:** forward capture_content from the convenience wrapper ([b7531d3](https://github.com/launchdarkly/python-ai-sdk/commit/b7531d39ff3a60337c8a3552c34b9428bdfed573))
* **claude-messages:** guard the streaming chat span's input write ([6e358dd](https://github.com/launchdarkly/python-ai-sdk/commit/6e358ddf7e5ac134737a590655ff6663063c7201))
* **claude-messages:** keep every blocking chat-span write inside the guard ([21fb591](https://github.com/launchdarkly/python-ai-sdk/commit/21fb5918ee0508dd1dbc658c9fb212723e64ca81))
* **claude-messages:** keep the spans of a cancelled run ([bb2e52f](https://github.com/launchdarkly/python-ai-sdk/commit/bb2e52f13f96d40d080ce51cf4025189bb83d3ac))
* **claude-messages:** keep the streaming turn's billed tokens on a content failure ([1933374](https://github.com/launchdarkly/python-ai-sdk/commit/19333749371fd10551a76b2bae19f7aa1e4b6ccb))
* **claude-messages:** put the input content write inside the guard too ([4aaa497](https://github.com/launchdarkly/python-ai-sdk/commit/4aaa497250db5c19c25ade189298418050347eae))
* **claude-messages:** record a tool result inside the guard that ends its span ([19d932e](https://github.com/launchdarkly/python-ai-sdk/commit/19d932ebffeb23e2059a407b35a7acd9688a27a1))
* **claude-messages:** report a cancelled stream as cancelled, not abandoned ([2d3379a](https://github.com/launchdarkly/python-ai-sdk/commit/2d3379ab2085b0dce53bda4a9f729bd50918b47d))


### Documentation

* describe the span tree the SDK now emits ([bc7815a](https://github.com/launchdarkly/python-ai-sdk/commit/bc7815a61e46c96df9cd786b20bfceb7d8b13334))
* describe the span tree the SDK now emits ([#37](https://github.com/launchdarkly/python-ai-sdk/issues/37)) ([6a82ef5](https://github.com/launchdarkly/python-ai-sdk/commit/6a82ef5d1fdbae2b1228f9325d960979bcf50881))

## [0.1.4](https://github.com/launchdarkly/python-ai-sdk/compare/launchdarkly-ai-claude-messages-0.1.3...launchdarkly-ai-claude-messages-0.1.4) (2026-08-07)


Expand Down
2 changes: 1 addition & 1 deletion packages/claude-messages/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "launchdarkly-ai-claude-messages"
version = "0.1.4"
version = "0.2.0"
requires-python = ">=3.12"
dependencies = [
"launchdarkly-ai-server",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""LaunchDarkly AI SDK - integration for Claude messages."""

__version__ = "0.1.4" # x-release-please-version
__version__ = "0.2.0" # x-release-please-version

from launchdarkly_ai_server import register_ai_sdk_package

Expand Down
Loading