Skip to content

Commit 074648a

Browse files
authored
Merge pull request #3220 from elizaOS/odi-fix
fix: fix docker & types issue
2 parents 08aaeaf + a85aba4 commit 074648a

File tree

151 files changed

+7760
-7817
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+7760
-7817
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN npm install -g [email protected] && \
2424
libpango1.0-dev \
2525
libgif-dev \
2626
openssl \
27-
libssl-dev && \
27+
libssl-dev libsecret-1-dev && \
2828
apt-get clean && \
2929
rm -rf /var/lib/apt/lists/*
3030

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080
"ollama-ai-provider": "0.16.1",
8181
"optional": "0.1.4",
8282
"pnpm": "9.15.0",
83-
"sharp": "0.33.5"
83+
"sharp": "0.33.5",
84+
"zod": "3.24.1"
8485
},
8586
"packageManager": "[email protected]",
8687
"workspaces": [

packages/adapter-mongodb/package.json

+37-37
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
{
2-
"name": "@elizaos/adapter-mongodb",
3-
"version": "0.1.9",
4-
"description": "MongoDB adapter for ElizaOS",
5-
"main": "dist/index.js",
6-
"type": "module",
7-
"types": "dist/index.d.ts",
8-
"dependencies": {
9-
"@elizaos/core": "workspace:*",
10-
"mongodb": "^6.3.0",
11-
"uuid": "^9.0.1"
12-
},
13-
"devDependencies": {
14-
"@types/jest": "^29.5.11",
15-
"@types/node": "^20.11.5",
16-
"@types/uuid": "^9.0.7",
17-
"jest": "^29.7.0",
18-
"ts-jest": "^29.1.1",
19-
"tsup": "^8.0.1",
20-
"typescript": "^5.3.3"
21-
},
22-
"scripts": {
23-
"build": "tsup",
24-
"dev": "tsup --format esm --dts --watch",
25-
"lint": "eslint --fix --cache .",
26-
"test": "cd src/__tests__ && ./run_tests.sh",
27-
"test:watch": "jest --watch"
28-
},
29-
"engines": {
30-
"node": ">=16.0.0"
31-
},
32-
"jest": {
33-
"preset": "ts-jest",
34-
"testEnvironment": "node",
35-
"testMatch": [
36-
"<rootDir>/src/__tests__/**/*.test.ts"
37-
]
38-
}
2+
"name": "@elizaos/adapter-mongodb",
3+
"version": "0.1.9",
4+
"description": "MongoDB adapter for ElizaOS",
5+
"main": "dist/index.js",
6+
"type": "module",
7+
"types": "dist/index.d.ts",
8+
"dependencies": {
9+
"@elizaos/core": "workspace:*",
10+
"mongodb": "^6.3.0",
11+
"uuid": "^9.0.1"
12+
},
13+
"devDependencies": {
14+
"@types/jest": "^29.5.11",
15+
"@types/node": "^20.11.5",
16+
"@types/uuid": "^9.0.7",
17+
"jest": "^29.7.0",
18+
"ts-jest": "^29.1.1",
19+
"tsup": "^8.0.1",
20+
"typescript": "^5.3.3"
21+
},
22+
"scripts": {
23+
"build": "tsup",
24+
"dev": "tsup --format esm --dts --watch",
25+
"lint": "eslint --fix --cache .",
26+
"test": "cd src/__tests__ && ./run_tests.sh",
27+
"test:watch": "jest --watch"
28+
},
29+
"engines": {
30+
"node": ">=16.0.0"
31+
},
32+
"jest": {
33+
"preset": "ts-jest",
34+
"testEnvironment": "node",
35+
"testMatch": [
36+
"<rootDir>/src/__tests__/**/*.test.ts"
37+
]
38+
}
3939
}

packages/adapter-pglite/package.json

+33-33
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
{
2-
"name": "@elizaos/adapter-pglite",
3-
"version": "0.1.9",
4-
"type": "module",
5-
"main": "dist/index.js",
6-
"module": "dist/index.js",
7-
"types": "dist/index.d.ts",
8-
"exports": {
9-
"./package.json": "./package.json",
10-
".": {
11-
"import": {
12-
"@elizaos/source": "./src/index.ts",
13-
"types": "./dist/index.d.ts",
14-
"default": "./dist/index.js"
15-
}
16-
}
17-
},
18-
"files": [
19-
"dist"
20-
],
21-
"dependencies": {
22-
"@electric-sql/pglite": "^0.2.15",
23-
"@elizaos/core": "workspace:*"
24-
},
25-
"devDependencies": {
26-
"tsup": "8.3.5"
27-
},
28-
"scripts": {
29-
"build": "tsup --format esm --dts",
30-
"dev": "tsup --format esm --dts --watch"
31-
},
32-
"peerDependencies": {
33-
"whatwg-url": "7.1.0"
34-
}
2+
"name": "@elizaos/adapter-pglite",
3+
"version": "0.1.9",
4+
"type": "module",
5+
"main": "dist/index.js",
6+
"module": "dist/index.js",
7+
"types": "dist/index.d.ts",
8+
"exports": {
9+
"./package.json": "./package.json",
10+
".": {
11+
"import": {
12+
"@elizaos/source": "./src/index.ts",
13+
"types": "./dist/index.d.ts",
14+
"default": "./dist/index.js"
15+
}
16+
}
17+
},
18+
"files": [
19+
"dist"
20+
],
21+
"dependencies": {
22+
"@electric-sql/pglite": "^0.2.15",
23+
"@elizaos/core": "workspace:*"
24+
},
25+
"devDependencies": {
26+
"tsup": "8.3.5"
27+
},
28+
"scripts": {
29+
"build": "tsup --format esm --dts",
30+
"dev": "tsup --format esm --dts --watch"
31+
},
32+
"peerDependencies": {
33+
"whatwg-url": "7.1.0"
34+
}
3535
}
+33-33
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
{
2-
"name": "@elizaos/adapter-postgres",
3-
"version": "0.1.9",
4-
"type": "module",
5-
"main": "dist/index.js",
6-
"module": "dist/index.js",
7-
"types": "dist/index.d.ts",
8-
"exports": {
9-
"./package.json": "./package.json",
10-
".": {
11-
"import": {
12-
"@elizaos/source": "./src/index.ts",
13-
"types": "./dist/index.d.ts",
14-
"default": "./dist/index.js"
15-
}
16-
}
17-
},
18-
"files": [
19-
"dist",
20-
"schema.sql",
21-
"seed.sql"
22-
],
23-
"dependencies": {
24-
"@elizaos/core": "workspace:*",
25-
"@types/pg": "8.11.10",
26-
"pg": "8.13.1"
27-
},
28-
"devDependencies": {
29-
"tsup": "8.3.5"
30-
},
31-
"scripts": {
32-
"build": "tsup --format esm --dts",
33-
"dev": "tsup --format esm --dts --watch"
34-
}
2+
"name": "@elizaos/adapter-postgres",
3+
"version": "0.1.9",
4+
"type": "module",
5+
"main": "dist/index.js",
6+
"module": "dist/index.js",
7+
"types": "dist/index.d.ts",
8+
"exports": {
9+
"./package.json": "./package.json",
10+
".": {
11+
"import": {
12+
"@elizaos/source": "./src/index.ts",
13+
"types": "./dist/index.d.ts",
14+
"default": "./dist/index.js"
15+
}
16+
}
17+
},
18+
"files": [
19+
"dist",
20+
"schema.sql",
21+
"seed.sql"
22+
],
23+
"dependencies": {
24+
"@elizaos/core": "workspace:*",
25+
"@types/pg": "8.11.10",
26+
"pg": "8.13.1"
27+
},
28+
"devDependencies": {
29+
"tsup": "8.3.5"
30+
},
31+
"scripts": {
32+
"build": "tsup --format esm --dts",
33+
"dev": "tsup --format esm --dts --watch"
34+
}
3535
}

packages/adapter-qdrant/package.json

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
2-
"name": "@elizaos/adapter-qdrant",
3-
"version": "0.1.9",
4-
"type": "module",
5-
"main": "dist/index.js",
6-
"module": "dist/index.js",
7-
"types": "dist/index.d.ts",
8-
"exports": {
9-
"./package.json": "./package.json",
10-
".": {
11-
"import": {
12-
"@elizaos/source": "./src/index.ts",
13-
"types": "./dist/index.d.ts",
14-
"default": "./dist/index.js"
15-
}
16-
}
17-
},
18-
"dependencies": {
19-
"@elizaos/core": "workspace:*",
20-
"@qdrant/js-client-rest": "^1.12.0"
21-
},
22-
"devDependencies": {
23-
"tsup": "8.3.5"
24-
},
25-
"scripts": {
26-
"build": "tsup --format esm --dts",
27-
"dev": "tsup --format esm --dts --watch",
28-
"lint": "eslint --fix --cache ."
2+
"name": "@elizaos/adapter-qdrant",
3+
"version": "0.1.9",
4+
"type": "module",
5+
"main": "dist/index.js",
6+
"module": "dist/index.js",
7+
"types": "dist/index.d.ts",
8+
"exports": {
9+
"./package.json": "./package.json",
10+
".": {
11+
"import": {
12+
"@elizaos/source": "./src/index.ts",
13+
"types": "./dist/index.d.ts",
14+
"default": "./dist/index.js"
15+
}
2916
}
17+
},
18+
"dependencies": {
19+
"@elizaos/core": "workspace:*",
20+
"@qdrant/js-client-rest": "^1.12.0"
21+
},
22+
"devDependencies": {
23+
"tsup": "8.3.5"
24+
},
25+
"scripts": {
26+
"build": "tsup --format esm --dts",
27+
"dev": "tsup --format esm --dts --watch",
28+
"lint": "eslint --fix --cache ."
29+
}
3030
}

packages/adapter-redis/package.json

+37-37
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
{
2-
"name": "@elizaos/adapter-redis",
3-
"version": "0.1.9",
4-
"type": "module",
5-
"main": "dist/index.js",
6-
"module": "dist/index.js",
7-
"types": "dist/index.d.ts",
8-
"exports": {
9-
"./package.json": "./package.json",
10-
".": {
11-
"import": {
12-
"@elizaos/source": "./src/index.ts",
13-
"types": "./dist/index.d.ts",
14-
"default": "./dist/index.js"
15-
}
16-
}
17-
},
18-
"files": [
19-
"dist"
20-
],
21-
"dependencies": {
22-
"@elizaos/core": "workspace:*",
23-
"ioredis": "5.4.2"
24-
},
25-
"devDependencies": {
26-
"@types/ioredis": "^5.0.0",
27-
"tsup": "8.3.5",
28-
"vitest": "^3.0.2"
29-
},
30-
"scripts": {
31-
"build": "tsup --format esm --dts",
32-
"dev": "tsup --format esm --dts --watch",
33-
"test": "vitest run",
34-
"test:watch": "vitest"
35-
},
36-
"peerDependencies": {
37-
"whatwg-url": "7.1.0"
38-
}
2+
"name": "@elizaos/adapter-redis",
3+
"version": "0.1.9",
4+
"type": "module",
5+
"main": "dist/index.js",
6+
"module": "dist/index.js",
7+
"types": "dist/index.d.ts",
8+
"exports": {
9+
"./package.json": "./package.json",
10+
".": {
11+
"import": {
12+
"@elizaos/source": "./src/index.ts",
13+
"types": "./dist/index.d.ts",
14+
"default": "./dist/index.js"
15+
}
16+
}
17+
},
18+
"files": [
19+
"dist"
20+
],
21+
"dependencies": {
22+
"@elizaos/core": "workspace:*",
23+
"ioredis": "5.4.2"
24+
},
25+
"devDependencies": {
26+
"@types/ioredis": "^5.0.0",
27+
"tsup": "8.3.5",
28+
"vitest": "^3.0.2"
29+
},
30+
"scripts": {
31+
"build": "tsup --format esm --dts",
32+
"dev": "tsup --format esm --dts --watch",
33+
"test": "vitest run",
34+
"test:watch": "vitest"
35+
},
36+
"peerDependencies": {
37+
"whatwg-url": "7.1.0"
38+
}
3939
}

0 commit comments

Comments
 (0)