Add built-in read-only Langfuse trace domain

This commit is contained in:
gitea committed 2026-10-10 09:57:20 +08:00
1 parent e2410e6923
commit 45011c8333
31 files changed
+2823 -47

No files matched your search

+9
View File
@@ -64,6 +64,7 @@ export const KNOWN_AREAS = new Set([
"skill",
"probe",
"doctor",
"langfuse",
"changelog",
"test"
]);
@@ -223,6 +224,14 @@ async function dispatch(argv: string[], runtime: CliRuntime) {
return;
}
// Langfuse trace inspection needs no tenant: it authenticates with the
// compile-time injected read-only key pair, so it dispatches before corp
// selection (like probe/doctor) and never touches a Seal client.
if (area === "langfuse") {
await (await import("./commands/langfuse.js")).handleLangfuseCommand(action, maybeName, args);
return;
}
if (area === "test") {
await (await import("./commands/test.js")).handleTestCommand(action, maybeName, args);
return;