@elizaos/project-tee-starter 1.5.5-alpha.10

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,14 @@
1
+ import type { Plugin } from '@elizaos/core';
2
+ import { type IAgentRuntime, Service } from '@elizaos/core';
3
+ /**
4
+ * StarterService class for TEE functionality
5
+ */
6
+ export declare class StarterService extends Service {
7
+ static serviceType: string;
8
+ constructor(runtime: IAgentRuntime);
9
+ static start(runtime: IAgentRuntime): Promise<StarterService>;
10
+ stop(): Promise<void>;
11
+ get capabilityDescription(): string;
12
+ }
13
+ declare const teeStarterPlugin: Plugin;
14
+ export default teeStarterPlugin;
@@ -0,0 +1,79 @@
1
+ version: '3.8'
2
+ services:
3
+ postgres:
4
+ image: ankane/pgvector:latest
5
+ environment:
6
+ - POSTGRES_PASSWORD=postgres
7
+ - POSTGRES_USER=postgres
8
+ - POSTGRES_DB=eliza
9
+ - PGDATA=/var/lib/postgresql/data/pgdata
10
+ volumes:
11
+ - postgres-data:/var/lib/postgresql/data:rw
12
+ ports:
13
+ - '5432:5432'
14
+ healthcheck:
15
+ test: ['CMD-SHELL', 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}']
16
+ interval: 5s
17
+ timeout: 5s
18
+ retries: 5
19
+ restart: always
20
+ networks:
21
+ - eliza-network
22
+ elizaos:
23
+ image: ${DOCKER_IMAGE}
24
+ container_name: elizaos
25
+ volumes:
26
+ - /var/run/tappd.sock:/var/run/tappd.sock
27
+ - /var/run/dstack.sock:/var/run/dstack.sock
28
+ environment:
29
+ # Core AI providers (at least one required)
30
+ - OPENAI_API_KEY=${OPENAI_API_KEY:-}
31
+ - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
32
+
33
+ # Database (required for production)
34
+ - POSTGRES_URL=${POSTGRES_URL}
35
+
36
+ # Server configuration
37
+ - SERVER_PORT=${SERVER_PORT:-3000}
38
+ - ELIZA_UI_ENABLE=${ELIZA_UI_ENABLE:-true}
39
+ - NODE_ENV=${NODE_ENV:-production}
40
+ - LOG_LEVEL=${LOG_LEVEL:-info}
41
+
42
+ # TEE Configuration (required for TEE projects)
43
+ - TEE_MODE=${TEE_MODE:-PRODUCTION}
44
+ - TEE_VENDOR=${TEE_VENDOR:-phala}
45
+ - WALLET_SECRET_SALT=${WALLET_SECRET_SALT}
46
+
47
+ # Optional: Add these based on your plugins
48
+ # Discord
49
+ - DISCORD_APPLICATION_ID=${DISCORD_APPLICATION_ID:-}
50
+ - DISCORD_API_TOKEN=${DISCORD_API_TOKEN:-}
51
+
52
+ # Solana
53
+ - BIRDEYE_API_KEY=${BIRDEYE_API_KEY:-}
54
+
55
+ # EVM
56
+ - EVM_CHAINS=${EVM_CHAINS:-}
57
+
58
+ # Voice/Audio
59
+ - ELEVENLABS_API_KEY=${ELEVENLABS_API_KEY:-}
60
+ - ELEVENLABS_VOICE_ID=${ELEVENLABS_VOICE_ID:-}
61
+
62
+ # Other AI providers
63
+ - REDPILL_API_KEY=${REDPILL_API_KEY:-}
64
+ ports:
65
+ - '3000:3000'
66
+ - '50000-50100:50000-50100/udp'
67
+ depends_on:
68
+ postgres:
69
+ condition: service_healthy
70
+ restart: always
71
+ networks:
72
+ - eliza-network
73
+
74
+ networks:
75
+ eliza-network:
76
+ driver: bridge
77
+
78
+ volumes:
79
+ postgres-data:
package/package.json ADDED
@@ -0,0 +1,93 @@
1
+ {
2
+ "name": "@elizaos/project-tee-starter",
3
+ "description": "Project starter for elizaOS with TEE capabilities",
4
+ "version": "1.5.5-alpha.10",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "keywords": [
10
+ "project",
11
+ "elizaos",
12
+ "tee"
13
+ ],
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "github:elizaos/project-tee-starter"
17
+ },
18
+ "exports": {
19
+ "./package.json": "./package.json",
20
+ ".": {
21
+ "import": {
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.js"
24
+ }
25
+ }
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "assets",
30
+ "Dockerfile",
31
+ "docker-compose.yaml",
32
+ "GUIDE.md"
33
+ ],
34
+ "dependencies": {
35
+ "@elizaos/cli": "1.5.5-alpha.10",
36
+ "@elizaos/core": "1.5.5-alpha.10",
37
+ "@elizaos/plugin-bootstrap": "1.5.5-alpha.10",
38
+ "@elizaos/plugin-redpill": "1.2.1",
39
+ "@elizaos/plugin-sql": "1.5.5-alpha.10",
40
+ "@phala/dstack-sdk": "0.1.11",
41
+ "@solana/web3.js": "1.98.2",
42
+ "@tanstack/react-query": "^5.29.0",
43
+ "clsx": "^2.1.1",
44
+ "react": "^18.3.1",
45
+ "react-dom": "^18.3.1",
46
+ "tailwind-merge": "^2.6.0",
47
+ "tailwindcss": "^4.1.10",
48
+ "viem": "2.30.1",
49
+ "zod": "3.24.2"
50
+ },
51
+ "devDependencies": {
52
+ "@types/jsdom": "^21.1.7",
53
+ "@types/node": "^24.1.0",
54
+ "@types/react": "^18.3.3",
55
+ "@types/react-dom": "^18.3.0",
56
+ "@vitejs/plugin-react": "^4.3.1",
57
+ "jsdom": "^26.1.0",
58
+ "prettier": "3.5.3",
59
+ "typescript": "^5.6.3",
60
+ "vite": "^6.0.1"
61
+ },
62
+ "scripts": {
63
+ "start": "elizaos start",
64
+ "dev": "elizaos dev",
65
+ "build": "bun run build.ts",
66
+ "lint": "prettier --write ./src",
67
+ "type-check": "tsc --noEmit",
68
+ "type-check:watch": "tsc --noEmit --watch",
69
+ "test:component": "bun run test:install && bun test",
70
+ "test:e2e": "bun run test:install && bun test __tests__/integration.test.ts",
71
+ "test:frontend": "bun run test:install && bun test __tests__/frontend.test.ts",
72
+ "test": "bun run test:install && bun run test:component && bun run test:e2e && bun run test:frontend",
73
+ "test:coverage": "bun run test:install && bun test --coverage",
74
+ "test:watch": "bun run test:install && bun test --watch",
75
+ "test:install": "node scripts/install-test-deps.js",
76
+ "format": "prettier --write ./src",
77
+ "format:check": "prettier --check ./src",
78
+ "check-all": "bun run type-check && bun run format:check && bun run test",
79
+ "build:watch": "bun run build.ts --watch"
80
+ },
81
+ "publishConfig": {
82
+ "access": "public"
83
+ },
84
+ "gitHead": "cdb82a9c67e2f3ea47f0a34584b68301d609f29a",
85
+ "packageType": "project",
86
+ "agentConfig": {
87
+ "pluginType": "elizaos:project:1.0.0",
88
+ "projectConfig": {
89
+ "name": "project-tee-starter",
90
+ "description": "Mr. TEE: Project starter for elizaOS with TEE capabilities"
91
+ }
92
+ }
93
+ }