@vibevibes/sdk 0.4.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @vibevibes/runtime — the server engine for vibevibes experiences.
3
+ *
4
+ * Single-room, single-experience architecture.
5
+ * AI agents join via MCP or HTTP. Humans join via browser.
6
+ * Tools are the only mutation path. State is server-authoritative.
7
+ */
8
+ export interface ServerConfig {
9
+ /** Absolute path to the experience project root (where manifest.json or src/index.tsx lives). */
10
+ projectRoot: string;
11
+ /** Port to listen on. Defaults to 4321 or PORT env var. */
12
+ port?: number;
13
+ }
14
+ export declare function setPublicUrl(url: string): void;
15
+ export declare function getBaseUrl(): string;
16
+ export declare function startServer(config?: ServerConfig): Promise<import("http").Server>;
17
+ export declare function setProjectRoot(root: string): void;