feat(tracing): add TypeScript SDK and publish pipeline#126
Merged
davidfarah2003 merged 6 commits intomainfrom Apr 11, 2026
Merged
feat(tracing): add TypeScript SDK and publish pipeline#126davidfarah2003 merged 6 commits intomainfrom
davidfarah2003 merged 6 commits intomainfrom
Conversation
Adds ace.tracing module that wraps MLflow behind a Kayba-branded API. Users install ace-framework[tracing] and call configure(api_key=...) to send traces to the Kayba dashboard — MLflow is never exposed. API: configure(), @trace, start_span(), set_folder(), enable/disable.
…mple - experiment= is now an alias for folder= (no mlflow.set_experiment call) - Folder names are sanitized: HTML stripped, allowlist enforced, capped at 256 chars - Add GLM 5.1 two-agent example (examples/tracing_glm_example.py) - Add agent guide for tracing SDK (agent-guides/tracing-sdk.md)
- Move Python tracing code to sdk/python/ as standalone kayba-tracing package - ace/tracing/ re-exports from kayba_tracing so both import paths work - Add TypeScript SDK (sdk/typescript/) wrapping mlflow-tracing for Node.js - Update publish workflow for all three packages (ace-framework, kayba-tracing, @kayba_ai/tracing) with trusted publishing (OIDC) - Update test imports from ace.tracing._wrapper to kayba_tracing._wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@kayba_ai/tracing) wrappingmlflow-tracing— mirrors the Python SDK APIsdk/directory with standalonekayba-tracingPython packageace.tracingre-exports fromkayba_tracingso existing imports keep workingSDK usage
Python (unchanged):
TypeScript (new):
Test plan
@kayba_ai/tracing@0.9.4to npm, verified install from fresh project🤖 Generated with Claude Code