UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

33 lines • 1.66 kB
// ========= Copyright 2026 @ Strukto.AI All Rights Reserved. ========= // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // ========= Copyright 2026 @ Strukto.AI All Rights Reserved. ========= import { timeoutShape } from "../../core/api/config.js"; import { secretStr, z } from "../secrets.js"; export const LangfuseConfig = z.object({ ...timeoutShape, publicKey: z.string().describe('Langfuse project public key.'), secretKey: secretStr().describe('Langfuse project secret key.'), host: z.string().optional().meta({ description: 'Langfuse API host; override for a self-hosted or regional instance.', default: 'https://cloud.langfuse.com', }), defaultTraceLimit: z.number().optional().meta({ description: "The most traces one trace listing (`traces/` or a session's traces) shows. An older trace is still readable by its id.", default: 100, }), defaultFromTimestamp: z .string() .optional() .describe('List only traces from this ISO 8601 timestamp on. Unset lists whatever the project holds, up to `defaultTraceLimit`.'), }); //# sourceMappingURL=config.js.map