trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
20 lines • 786 B
TypeScript
/**
* `.trellis-mcp-gateway.json` — local config for a deployed discovery gateway.
*
* @module trellis/mcp
*/
export declare const GATEWAY_CONFIG_FILE = ".trellis-mcp-gateway.json";
export interface McpGatewayConfig {
/** Sprites URL (API origin). */
url: string;
/** Public URL agents use (e.g. https://mcp.trellis.computer). */
publicUrl: string;
spriteName: string;
deployedAt: string;
port?: number;
}
export declare function gatewayConfigPath(dir?: string): string;
export declare function hasGatewayConfig(dir?: string): boolean;
export declare function readGatewayConfig(dir?: string): McpGatewayConfig | null;
export declare function writeGatewayConfig(config: McpGatewayConfig, dir?: string): void;
//# sourceMappingURL=gateway-config.d.ts.map