trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
27 lines • 899 B
TypeScript
/**
* Deploy Trellis MCP discovery gateway to Sprites.
*
* Provisions a lightweight Sprite running `startGatewayServer` — no room kernel.
* Writes `.trellis-mcp-gateway.json` and uploads `.trellis-rooms.json` for discovery.
*
* @module trellis/server
*/
export interface DeployGatewayOptions {
name: string;
/** Vanity URL printed to agents (default: https://mcp.trellis.computer). */
publicUrl?: string;
port?: number;
configDir?: string;
/** Extra rooms JSON file (merged with local registry at deploy time). */
roomsFile?: string;
onProgress?: (msg: string) => void;
stub?: boolean;
}
export interface DeployGatewayResult {
url: string;
publicUrl: string;
name: string;
roomCount: number;
}
export declare function deployMcpGateway(opts: DeployGatewayOptions): Promise<DeployGatewayResult>;
//# sourceMappingURL=deploy-gateway.d.ts.map