Skip to content

Commit

Permalink
Merge pull request #584 from ai16z/shaw/package-updates
Browse files Browse the repository at this point in the history
feat: Update packages
  • Loading branch information
lalalune authored Nov 25, 2024
2 parents 12c2213 + 1f1f1ac commit 9371c12
Show file tree
Hide file tree
Showing 28 changed files with 585 additions and 489 deletions.
6 changes: 3 additions & 3 deletions agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"@ai16z/plugin-solana": "workspace:*",
"@ai16z/plugin-starknet": "workspace:*",
"@ai16z/plugin-coinbase": "workspace:*",
"readline": "^1.3.0",
"ws": "^8.18.0",
"readline": "1.3.0",
"ws": "8.18.0",
"yargs": "17.7.2"
},
"devDependencies": {
"ts-node": "10.9.2",
"tsup": "^8.3.5"
"tsup": "8.3.5"
}
}
42 changes: 21 additions & 21 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,32 @@
},
"dependencies": {
"@ai16z/eliza": "workspace:*",
"@radix-ui/react-slot": "^1.1.0",
"class-variance-authority": "^0.7.0",
"clsx": "2.1.0",
"lucide-react": "^0.460.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7",
"vite-plugin-top-level-await": "^1.4.4",
"vite-plugin-wasm": "^3.3.0"
"@radix-ui/react-slot": "1.1.0",
"class-variance-authority": "0.7.0",
"clsx": "2.1.1",
"lucide-react": "0.460.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"tailwind-merge": "2.5.4",
"tailwindcss-animate": "1.0.7",
"vite-plugin-top-level-await": "1.4.4",
"vite-plugin-wasm": "3.3.0"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@eslint/js": "9.15.0",
"@types/node": "22.8.4",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"eslint": "^9.13.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"globals": "^15.11.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"@vitejs/plugin-react": "4.3.3",
"autoprefixer": "10.4.20",
"eslint": "9.13.0",
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-react-refresh": "0.4.14",
"globals": "15.12.0",
"postcss": "8.4.49",
"tailwindcss": "3.4.15",
"typescript": "~5.6.2",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.10"
"typescript-eslint": "8.15.0",
"vite": "5.4.11"
}
}
2 changes: 1 addition & 1 deletion docs/api/interfaces/GenerationOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Configuration options for generating objects with a model.

### schema?

> `optional` **schema**: `ZodSchema`
> `optional` **schema**: `ZodType`\<`any`, `ZodTypeDef`, `any`\>
#### Defined in

Expand Down
98 changes: 97 additions & 1 deletion docs/api/variables/CharacterSchema.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,106 @@

# Variable: CharacterSchema

> `const` **CharacterSchema**: `any`
> `const` **CharacterSchema**: `ZodObject`\<`object`, `"strip"`, `ZodTypeAny`, `object`, `object`\>
Main Character schema

## Type declaration

### id

> **id**: `ZodOptional`\<`ZodString`\>
### name

> **name**: `ZodString`
### system

> **system**: `ZodOptional`\<`ZodString`\>
### modelProvider

> **modelProvider**: `ZodNativeEnum`\<*typeof* [`ModelProviderName`](../enumerations/ModelProviderName.md)\>
### modelEndpointOverride

> **modelEndpointOverride**: `ZodOptional`\<`ZodString`\>
### templates

> **templates**: `ZodOptional`\<`ZodRecord`\<`ZodString`, `ZodString`\>\>
### bio

> **bio**: `ZodUnion`\<[`ZodString`, `ZodArray`\<`ZodString`, `"many"`\>]\>
### lore

> **lore**: `ZodArray`\<`ZodString`, `"many"`\>
### messageExamples

> **messageExamples**: `ZodArray`\<`ZodArray`\<`ZodObject`\<`object`, `"strip"`, `ZodTypeAny`, `object`, `object`\>, `"many"`\>, `"many"`\>
### postExamples

> **postExamples**: `ZodArray`\<`ZodString`, `"many"`\>
### people

> **people**: `ZodArray`\<`ZodString`, `"many"`\>
### topics

> **topics**: `ZodArray`\<`ZodString`, `"many"`\>
### adjectives

> **adjectives**: `ZodArray`\<`ZodString`, `"many"`\>
### knowledge

> **knowledge**: `ZodOptional`\<`ZodArray`\<`ZodString`, `"many"`\>\>
### clients

> **clients**: `ZodArray`\<`ZodNativeEnum`\<*typeof* [`Clients`](../enumerations/Clients.md)\>, `"many"`\>
### plugins

> **plugins**: `ZodArray`\<`ZodObject`\<`object`, `"strip"`, `ZodTypeAny`, `object`, `object`\>, `"many"`\>
### settings

> **settings**: `ZodOptional`\<`ZodObject`\<`object`, `"strip"`, `ZodTypeAny`, `object`, `object`\>\>
### clientConfig

> **clientConfig**: `ZodOptional`\<`ZodObject`\<`object`, `"strip"`, `ZodTypeAny`, `object`, `object`\>\>
### style

> **style**: `ZodObject`\<`object`, `"strip"`, `ZodTypeAny`, `object`, `object`\>
#### Type declaration

##### all

> **all**: `ZodArray`\<`ZodString`, `"many"`\>
##### chat

> **chat**: `ZodArray`\<`ZodString`, `"many"`\>
##### post

> **post**: `ZodArray`\<`ZodString`, `"many"`\>
### twitterProfile

> **twitterProfile**: `ZodOptional`\<`ZodObject`\<`object`, `"strip"`, `ZodTypeAny`, `object`, `object`\>\>
## Defined in

[packages/core/src/enviroment.ts:66](https://github.com/ai16z/eliza/blob/main/packages/core/src/enviroment.ts#L66)
34 changes: 33 additions & 1 deletion docs/api/variables/envSchema.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,42 @@

# Variable: envSchema

> `const` **envSchema**: `any`
> `const` **envSchema**: `ZodObject`\<`object`, `"strip"`, `ZodTypeAny`, `object`, `object`\>
TODO: TO COMPLETE

## Type declaration

### OPENAI\_API\_KEY

> **OPENAI\_API\_KEY**: `ZodString`
API Keys with specific formats

### REDPILL\_API\_KEY

> **REDPILL\_API\_KEY**: `ZodString`
### GROK\_API\_KEY

> **GROK\_API\_KEY**: `ZodString`
### GROQ\_API\_KEY

> **GROQ\_API\_KEY**: `ZodString`
### OPENROUTER\_API\_KEY

> **OPENROUTER\_API\_KEY**: `ZodString`
### GOOGLE\_GENERATIVE\_AI\_API\_KEY

> **GOOGLE\_GENERATIVE\_AI\_API\_KEY**: `ZodString`
### ELEVENLABS\_XI\_API\_KEY

> **ELEVENLABS\_XI\_API\_KEY**: `ZodString`
## Defined in

[packages/core/src/enviroment.ts:5](https://github.com/ai16z/eliza/blob/main/packages/core/src/enviroment.ts#L5)
26 changes: 13 additions & 13 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^3.6.0",
"@docusaurus/plugin-content-blog": "^3.6.0",
"@docusaurus/plugin-content-docs": "^3.6.0",
"@docusaurus/plugin-ideal-image": "^3.6.0",
"@docusaurus/preset-classic": "^3.6.0",
"@docusaurus/theme-mermaid": "^3.6.0",
"@docusaurus/core": "3.6.3",
"@docusaurus/plugin-content-blog": "3.6.3",
"@docusaurus/plugin-content-docs": "3.6.3",
"@docusaurus/plugin-ideal-image": "3.6.3",
"@docusaurus/preset-classic": "3.6.3",
"@docusaurus/theme-mermaid": "3.6.3",
"@mdx-js/react": "3.0.1",
"clsx": "2.1.0",
"docusaurus-lunr-search": "^3.5.0",
"clsx": "2.1.1",
"docusaurus-lunr-search": "3.5.0",
"prism-react-renderer": "2.3.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.22.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.6.0",
"@docusaurus/types": "3.6.0",
"docusaurus-plugin-typedoc": "^1.0.5",
"typedoc": "^0.26.11",
"typedoc-plugin-markdown": "^4.2.9"
"@docusaurus/module-type-aliases": "3.6.3",
"@docusaurus/types": "3.6.3",
"docusaurus-plugin-typedoc": "1.0.5",
"typedoc": "0.26.11",
"typedoc-plugin-markdown": "4.2.10"
},
"browserslist": {
"production": [
Expand Down
31 changes: 16 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,31 @@
"test": "bash ./scripts/test.sh"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"concurrently": "^9.1.0",
"lerna": "^8.1.5",
"only-allow": "^1.2.1",
"prettier": "^3.3.3",
"typedoc": "^0.26.11",
"lerna": "8.1.5",
"only-allow": "1.2.1",
"concurrently": "9.1.0",
"husky": "9.1.7",
"prettier": "3.3.3",
"typedoc": "0.26.11",
"typescript": "5.6.3",
"vite": "^5.4.11",
"vitest": "^2.1.5"
"vite": "5.4.11",
"vitest": "2.1.5",
"@commitlint/cli": "18.6.1",
"@commitlint/config-conventional": "18.6.3"
},
"pnpm": {
"overrides": {
"onnxruntime-node": "^1.20.0"
"onnxruntime-node": "1.20.1"
}
},
"engines": {
"node": ">=22"
"node": "23.3.0"
},
"dependencies": {
"ollama-ai-provider": "^0.16.1",
"optional": "^0.1.4",
"sharp": "^0.33.5",
"tslog": "^4.9.3"
"ollama-ai-provider": "0.16.1",
"optional": "0.1.4",
"sharp": "0.33.5",
"tslog": "4.9.3"
},
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
}
6 changes: 3 additions & 3 deletions packages/adapter-postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"types": "dist/index.d.ts",
"dependencies": {
"@ai16z/eliza": "workspace:*",
"@types/pg": "^8.11.10",
"pg": "^8.13.1"
"@types/pg": "8.11.10",
"pg": "8.13.1"
},
"devDependencies": {
"eslint": "9.13.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vitest": "0.5.4",
"tsup": "^8.3.5"
"tsup": "8.3.5"
},
"scripts": {
"build": "tsup --format esm --dts",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vitest": "0.5.4",
"tsup": "^8.3.5"
"tsup": "8.3.5"
},
"scripts": {
"build": "tsup --format esm --dts",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-sqljs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vitest": "0.5.4",
"tsup": "^8.3.5"
"tsup": "8.3.5"
},
"scripts": {
"build": "tsup --format esm --dts",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-supabase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vitest": "0.5.4",
"tsup": "^8.3.5"
"tsup": "8.3.5"
},
"scripts": {
"build": "tsup --format esm --dts",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-auto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vitest": "0.5.4",
"tsup": "^8.3.5"
"tsup": "8.3.5"
},
"scripts": {
"build": "tsup --format esm --dts",
Expand Down
4 changes: 2 additions & 2 deletions packages/client-direct/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"@types/express": "5.0.0",
"body-parser": "1.20.3",
"cors": "2.8.5",
"express": "^4.21.1",
"express": "4.21.1",
"multer": "1.4.5-lts.1"
},
"devDependencies": {
"eslint": "9.13.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vitest": "0.5.4",
"tsup": "^8.3.5"
"tsup": "8.3.5"
},
"scripts": {
"build": "tsup --format esm --dts",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vitest": "0.5.4",
"tsup": "^8.3.5"
"tsup": "8.3.5"
},
"scripts": {
"build": "tsup --format esm --dts",
Expand Down
Loading

0 comments on commit 9371c12

Please sign in to comment.