Skip to content

Commit 0ff547b

Browse files
dinmukhamedmRainhunter13ellipsis-dev[bot]
authored
Feat/claude agent sdk (#213)
* wip: initial version to support ClaudeSDKClient.query() instrumentation (#209) * wip: initial version to support ClaudeSDKClient.query() instrumentation * add async generator wrapping for capturing output * chore test * chore is_streaming field * wip: fixing query() test * fix wrapping standalone query() function * fix async gen function span staying active during the next functon call * fix recording span error on iterator end * support aliases for module functions * add create_sdk_mcp_server wrapping and test * mock claude transport for unit tests * wip: mvp for starting proxyprocess to save claude cli requests spans * magic: running proxy process for current spans context * package binary solution * bump version to 0.7.23a1 * Update src/lmnr/opentelemetry_lib/opentelemetry/instrumentation/claude_agent/__init__.py Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> * fix tests, add grace before stop server --------- Co-authored-by: Rakhman Asmatullayev <[email protected]> Co-authored-by: Rakhman Asmatullayev <[email protected]> Co-authored-by: Rakhman Asmatullayev <[email protected]> Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 7395dc5 commit 0ff547b

File tree

14 files changed

+1036
-10
lines changed

14 files changed

+1036
-10
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
[project]
88
name = "lmnr"
9-
version = "0.7.22"
9+
version = "0.7.23a1"
1010
description = "Python SDK for Laminar"
1111
authors = [
1212
{ name = "lmnr.ai", email = "[email protected]" }
@@ -67,6 +67,7 @@ lmnr = "lmnr.cli:cli"
6767
alephalpha=["opentelemetry-instrumentation-alephalpha>=0.47.1"]
6868
bedrock=["opentelemetry-instrumentation-bedrock>=0.47.1"]
6969
chromadb=["opentelemetry-instrumentation-chromadb>=0.47.1"]
70+
claude-agent-sdk=["lmnr-claude-code-proxy>=0.1.0a3"]
7071
cohere=["opentelemetry-instrumentation-cohere>=0.47.1"]
7172
crewai=["opentelemetry-instrumentation-crewai>=0.47.1"]
7273
haystack=["opentelemetry-instrumentation-haystack>=0.47.1"]
@@ -138,6 +139,7 @@ dev = [
138139
"anthropic[bedrock]>=0.60.0",
139140
"langchain-openai>=0.3.32",
140141
"kernel>=0.18.0",
142+
"claude-agent-sdk>=0.1.6",
141143
]
142144

143145
[build-system]

0 commit comments

Comments
 (0)