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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
add xspace-agent/xspace-agent/packages/core/src/hosting/lifecycle-manager.ts
oversteppingf0b2608cb03d
diff --git a/xspace-agent/xspace-agent/packages/core/src/hosting/lifecycle-manager.ts b/xspace-agent/xspace-agent/packages/core/src/hosting/lifecycle-manager.tsnew file mode 100644index 000000000..3a6f3fccc--- /dev/null+++ b/xspace-agent/xspace-agent/packages/core/src/hosting/lifecycle-manager.ts@@ -0,0 +1,39 @@+// SPDX-License-Identifier: Apache-2.0+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§87]++// =============================================================================+// Managed Hosting — Lifecycle Manager Interface+// =============================================================================++import type { ResourceUsage } from './types'++export interface LifecycleStartInput {+ deploymentId: string+ imageTag: string+ config: Record<string, unknown>+ secrets: Record<string, string>+ domain?: string+}++export interface SleepInput {+ deploymentId: string+ reason: string+}++export interface WakeInput {+ deploymentId: string+ reason: string+}++export interface LifecycleManager {+ start(input: LifecycleStartInput): Promise<string>+ stop(deploymentId: string): Promise<void>+ restart(deploymentId: string): Promise<void>+ getStatus(deploymentId: string): Promise<string>+ sleep(input: SleepInput): Promise<void>+ wake(input: WakeInput): Promise<void>+ getLogs(deploymentId: string, tail?: number): Promise<string[]>+ getMetrics(deploymentId: string): Promise<ResourceUsage>+}++