Repository navigation
Sync with upstream langfuse v1.2.1, keeping our backlog fix and agent-type tags - #2
Merged
Merged
Conversation
…numbering feat(hook): drop numbering from LLM call observation names
…rable-state-dir fix(hook): configurable state directory via CC_LANGFUSE_STATE_DIR
…izard-config-claude_plugin_option_-silently fix(hook): let per-repo env vars win over machine-wide wizard config
fix(plugin): align test pin, wizard default and docs with the EU code default
…t-visibility fix(hook): trace Workflow-spawned subagent transcripts
…ame-style feat(hook): configurable trace name style for name-based grouping
…langfuse#56) * feat(hook): capture image blocks as markers and opt-in Langfuse media * feat(plugin): offer the image capture option in the config wizard * docs(plugin): document CC_LANGFUSE_CAPTURE_IMAGES * feat(hook): enable image capture by default
… them (langfuse#64) * perf(hook): read a workflow run directory only when a turn references it * test: cover per-run workflow discovery and its firing scope
…ngfuse#73) Co-authored-by: Hassieb Pakzad <68423100+hassiebp@users.noreply.github.com>
…angfuse#80) * feat(hook): record the conversation history as each LLM call's input * fix: removed option to opt out of history tracing
…fuse#87) Co-authored-by: Hassieb Pakzad <68423100+hassiebp@users.noreply.github.com>
…rns (langfuse#89) * added key for session state lock * added test script for feature
Co-authored-by: John Buccola <jb@velo9.ai>
…ngfuse#40) Claude Code's interactive /plugins install flow chains install into the configure form; fields marked required have no skip path, so a user without keys at hand can only Esc out — landing in a registered-but- unconfigured state with no feedback (reported as anthropics/claude-code#80904). The flags add nothing at runtime: the hook already exits silently until both keys are set. Keys stay documented as needed; enforcement lives where it already works. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Point troubleshooting at bounded GET /api/public/v2/observations instead of the sunset traces list API, matching the Codex plugin recipe. Keep traces list only behind --api-version 3 for self-hosted v3. Co-authored-by: Max Deichmann <max@langfuse.com>
Keep only the bounded Observations API v2 recipe so agents do not copy GET /api/public/traces. Co-authored-by: Max Deichmann <max@langfuse.com>
…ns-api-v2-49b3 docs: verify Claude traces via Observations API v2
* updated readme to mach structure of existing integrations * added contributing md
emit_subagent_observations walked an agent's turns with no subagent transcript map, so an Agent call inside a subagent produced a Tool span but never the inner agent's own span, generations or tools. Pass the map through so nested agents nest under their launching agent. Co-authored-by: Pushkar Kolhe <pkolhe@snapchat.com>
…eam v1.2.1
The upstream merge took upstream's side of every conflict. Two of this fork's
changes lived inside conflicting hunks and are restored here:
- collect_subagent_agent_type_tags() and its call in get_trace_tags(), gated by
CC_LANGFUSE_AGENT_TYPE_TAGS (default true), now placed before the operator tags
- os.environ.setdefault("OTEL_BSP_MAX_QUEUE_SIZE", 65536) in create_langfuse_client()
The per-turn backlog flush, CC_LANGFUSE_FLUSH_TIMEOUT_S and the 600s hook
timeouts merged cleanly.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
langfuse/claude-observability-pluginmain (v1.2.1) is merged in. Our fork was 47 commits behind.Upstream gains that matter for TopCode
CC_LANGFUSE_TRACE_TAGSlets the caller add trace tags (feat(hook): accept caller trace tags via CC_LANGFUSE_TRACE_TAGS langfuse/claude-observability-plugin#87).Fork changes kept
CC_LANGFUSE_FLUSH_TIMEOUT_S;OTEL_BSP_MAX_QUEUE_SIZEdefault.agent:<type>trace tags (12fef13): these also sat in a conflicting hunk and were restored by hand. They now come before the operator tags.Tests
tests/integration/test_state_lock_contention.py::test_entry_of_another_session_survives_the_emitalso fails on a cleanupstream/maincheckout (278 passed, 1 failed). The merge did not introduce it.Not in this PR
.claude-plugin/marketplace.jsonstill names the marketplacelangfuse-observability. TopCode's settings enable…@langfuse-observability-fork, so/plugin marketplace addof this repo still produces an id our settings don't match. This is a separate decision.🤖 Generated with Claude Code