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

+11 -8
View File
@@ -18,10 +18,11 @@ import file14 from "../../skills/seal-use/references/first-time-user.md" with {
import file15 from "../../skills/seal-use/references/hose-enterprise-auth.md" with { type: "text" };
import file16 from "../../skills/seal-use/references/hose-enterprise-deploy.md" with { type: "text" };
import file17 from "../../skills/seal-use/references/hose-enterprise-init.md" with { type: "text" };
import file18 from "../../skills/seal-use/references/rule-lightweight.md" with { type: "text" };
import file19 from "../../skills/seal-use/references/rule-lint.md" with { type: "text" };
import file20 from "../../skills/seal-use/references/staging-simulation-workflow.md" with { type: "text" };
import file21 from "../../skills/seal-use/references/webhook-resource-pack.md" with { type: "text" };
import file18 from "../../skills/seal-use/references/langfuse-trace.md" with { type: "text" };
import file19 from "../../skills/seal-use/references/rule-lightweight.md" with { type: "text" };
import file20 from "../../skills/seal-use/references/rule-lint.md" with { type: "text" };
import file21 from "../../skills/seal-use/references/staging-simulation-workflow.md" with { type: "text" };
import file22 from "../../skills/seal-use/references/webhook-resource-pack.md" with { type: "text" };
export const EMBEDDED_SKILL_TEXT_FILES: Record<string, string> = {
"SKILL.md": file0,
@@ -36,10 +37,11 @@ export const EMBEDDED_SKILL_TEXT_FILES: Record<string, string> = {
"references/hose-enterprise-auth.md": file15,
"references/hose-enterprise-deploy.md": file16,
"references/hose-enterprise-init.md": file17,
"references/rule-lightweight.md": file18,
"references/rule-lint.md": file19,
"references/staging-simulation-workflow.md": file20,
"references/webhook-resource-pack.md": file21,
"references/langfuse-trace.md": file18,
"references/rule-lightweight.md": file19,
"references/rule-lint.md": file20,
"references/staging-simulation-workflow.md": file21,
"references/webhook-resource-pack.md": file22,
};
export const EMBEDDED_SKILL_ASSET_DATA: Record<string, string> = {
@@ -70,6 +72,7 @@ export const EMBEDDED_SKILL_ALL_PATHS = [
"references/hose-enterprise-auth.md",
"references/hose-enterprise-deploy.md",
"references/hose-enterprise-init.md",
"references/langfuse-trace.md",
"references/rule-lightweight.md",
"references/rule-lint.md",
"references/staging-simulation-workflow.md",
+1
View File
@@ -15,6 +15,7 @@ export function redactSensitiveText(value: string): string {
return value
.replace(/([?&](?:accessToken|token|returnToken|appSecurity|signKey|secret)=)[^&\s]+/gi, "$1<redacted>")
.replace(/(Bearer\s+)[A-Za-z0-9._~+/=-]+/gi, "$1<redacted>")
.replace(/(Basic\s+)[A-Za-z0-9+/=]+/gi, "$1<redacted>")
.replace(
/("(?:appSecurity|password|secret|signKey|closeToken|refreshToken|accessToken|authorization)"\s*:\s*")[^"]*(")/gi,
"$1<redacted>$2"