14 Commits
Author SHA1 Message Date
bendtherules 627b80008e feat(langfuse): add opt-in Langfuse observability integration
Add Langfuse as an OTel trace transport for MCP request lifecycle tracking.

Changes:
- New src/lib/langfuse-transport.ts: initializes LangfuseSpanProcessor when
  ASK262_LANGFUSE_ENABLED=true with valid credentials
- src/lib/tracing.ts: add metadata to TraceContext, propagate it to child spans,
  use startActiveSpan for proper OTel context, add setupTracing() entry point,
  add getSessionMetadata() for version/transport metadata
- src/lib/logger.ts: include TraceContext.metadata in JSON log mixin
- src/mcp-server-{http,stdio}.ts: call setupTracing() at startup, pass
  version/transport metadata through withSpan/withSpanContext
- src/lib/fireworks-embeddings.ts: wrap API calls in withSpan() with gen_ai
  attributes for Langfuse generation/cost tracking
- .env.example: add LANGFUSE_* configuration variables
- AGENTS.md: document Langfuse integration
- package.json: add @langfuse/tracing, @langfuse/otel, @opentelemetry/sdk-node
2026-04-27 18:31:19 +05:30
bendtherules bfd79e47e3 docs(AGENTS): rewrite overview, commands, and project structure to focus on MCP server usage and updated tooling information. 2026-04-21 09:17:41 +05:30
bendtherules df5161ba86 feat: Add env support + small fixes 2026-04-16 13:18:39 +05:30
bendtherules db0e249874 Add mcp http server 2026-04-16 11:51:24 +05:30
bendtherules d248fe1b09 docs: remove config.json references and update setup instructions 2026-04-14 17:25:05 +05:30
bendtherules 887ad3e5a4 feat(mcp-server): Add MCP server with tool registrations
Add MCP server implementation with support for:
- ask262_search_spec_sections tool
- ask262_get_section_content tool
- ask262_evaluate_in_engine262 tool
Includes proper error handling, input/output schemas, and structured
content responses.
2026-04-14 11:12:03 +05:30
bendtherules c109acba01 refactor: rename tools 2026-04-08 18:40:45 +05:30
bendtherules 30debd2cf9 build: EvaluateInEngine262 tool 2026-04-08 18:38:58 +05:30
bendtherules 06be8cfd53 refactor: rename files 2026-04-08 16:31:53 +05:30
bendtherules e0546affec docs: update AGENTS.md
replace LlamaIndex with LanceDB, update prerequisites, CLI commands, and expand project structure in AGENTS.md
2026-04-08 16:20:59 +05:30
bendtherules bba6fab3ac docs: add file and folder naming conventions
Added a new “File / Folder Naming” section to AGENTS.md detailing naming rules: folders in kebab-case and files in camelCase.
2026-04-08 16:13:18 +05:30
bendtherules 0a7c89d577 refactor: Rename all folders to kebab-case 2026-04-08 16:11:29 +05:30
bendtherules 02a3fa4cad refactor: Rename all file/folders to camelCase 2026-04-08 16:09:01 +05:30
bendtherules b3ee712ce9 docs: add AGENTS.md 2026-03-31 12:20:58 +05:30