Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

add xspace-agent/xspace-agent/packages/cli/tests/__mocks__/@xspace/server.ts

oversteppingbf9d7784d92a
diff --git a/xspace-agent/xspace-agent/packages/cli/tests/__mocks__/@xspace/server.ts b/xspace-agent/xspace-agent/packages/cli/tests/__mocks__/@xspace/server.ts
new file mode 100644
index 000000000..6430b3d92
--- /dev/null
+++ b/xspace-agent/xspace-agent/packages/cli/tests/__mocks__/@xspace/server.ts
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§83]
+
+// Stub module for @xspace/server so vitest can resolve the import.
+// Tests override this with vi.mock().
+export function createServer(_opts: any) {
+ return {
+ start: async () => {},
+ stop: async () => {},
+ }
+}
+
+