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/server/tests/__mocks__/xspace-agent-rbac.ts

overstepping7a5c636ba689
diff --git a/xspace-agent/xspace-agent/packages/server/tests/__mocks__/xspace-agent-rbac.ts b/xspace-agent/xspace-agent/packages/server/tests/__mocks__/xspace-agent-rbac.ts
new file mode 100644
index 000000000..625109311
--- /dev/null
+++ b/xspace-agent/xspace-agent/packages/server/tests/__mocks__/xspace-agent-rbac.ts
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§70]
+
+// Stub mock for xspace-agent/rbac/permissions sub-path
+import { vi } from 'vitest'
+
+export const hasPermission = vi.fn(() => true)
+export type Permission = string
+export type BuiltInRole = string
+
+