Conversation
- Extract telemetry into standalone pgStore module (packages/core/src/telemetry/) with explicit `telemetry: pgStore(connectionString)` config API - Replace `database`/`schema` config options with `telemetry` option - Remove Better Auth integration entirely (no more user sessions/login) - Remove prompt management (configs, variants, environments, targeting) from datalayer, API handlers, and dashboard UI - Simplify manifest/gateway to guardrails only (remove config-based routing) - Move shared prompt editor components to components/prompt-editor/ - Update all examples to use new pgStore API
Settings route, workspace-settings handler, and related hooks are no longer needed after auth removal.
pgStore is now imported from '@llmops/sdk/store/pg' instead of the main '@llmops/sdk' barrel. Adds Store and Sink type interfaces in '@llmops/sdk/types'. Updates all examples to use subpath imports.
Drop eslint, prettier, and all related plugins in favor of @biomejs/biome for both linting and formatting. Gateway package is excluded (fork with its own config). Adds biome.json with formatting rules matching the previous prettier config and runs initial format pass across the codebase.
Providers and guardrails are now configured in code via llmops(), not stored in the database. Removes: - Provider configs, guardrail configs, provider guardrail overrides from datalayer, DB schema, and API handlers - Entire gateway UI (providers, guardrails, usage pages) - Manifest module (builder, service, router) - All related client hooks (queries and mutations) - Gateway link from sidebar - Onboarding flow (was DB-provider-setup focused) Gateway adapter now resolves providers exclusively from inline config. Playground columns gain a providerSlug field for direct @slug/model calls.
Telemetry queries (LLM requests + traces) now live entirely in core/telemetry/postgres.ts instead of the datalayer. The datalayer retains only app features (datasets, playgrounds, workspace settings). Types (LLMRequestInsert, SpanInsert, TraceUpsert, etc.) are re-exported from core/telemetry so existing @llmops/core imports still work.
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
pgStoremodule (packages/core/src/telemetry/). Users now configure telemetry explicitly viatelemetry: pgStore(connectionString)instead ofdatabase/schemaoptions.@provider-slug/modelformat.components/prompt-editor/for continued use by playgrounds.pgStoreAPI.Test plan
pnpm run typecheckpasses across core, app, and SDK (only pre-existing genai/index.ts Hono duplicate version errors remain)pnpm run buildsucceeds for all packagespnpm --filter @llmops/app run test— all 12 tests pass