Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
oktoshi committed Dec 18, 2024
2 parents 1675828 + 8fe8e1b commit 84980e4
Show file tree
Hide file tree
Showing 170 changed files with 23,392 additions and 22,952 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,17 +407,17 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

# Changelog

## [v0.1.6-alpha.4](https://github.com/okcashpro/okai/tree/v0.1.6-alpha.4) (2024-12-17)
## [v0.1.7-alpha.1](https://github.com/okcashpro/okai/tree/v0.1.7-alpha.1) (2024-12-17)

[Full Changelog](https://github.com/okcashpro/okai/compare/v0.1.6-alpha.3...v0.1.6-alpha.4)
[Full Changelog](https://github.com/okcashpro/okai/compare/v0.1.6-alpha.3...v0.1.7-alpha.1)

**Fixed bugs:**

- pnpm install fails on m1 mac \[Fixed with xcode-select reinstall\] [\#1146](https://github.com/okcashpro/okai/issues/1146)

**Merged pull requests:**

- chore: bump version to 0.1.6-alpha.4 [\#1159](https://github.com/okcashpro/okai/pull/1159) ([shakkernerd](https://github.com/shakkernerd))
- chore: bump version to 0.1.7-alpha.1 [\#1159](https://github.com/okcashpro/okai/pull/1159) ([shakkernerd](https://github.com/shakkernerd))
- fix: client twitter login and auth handler [\#1158](https://github.com/okcashpro/okai/pull/1158) ([shakkernerd](https://github.com/shakkernerd))

## [v0.1.6-alpha.3](https://github.com/okcashpro/okai/tree/v0.1.6-alpha.3) (2024-12-17)
Expand Down
12 changes: 6 additions & 6 deletions agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,31 +24,31 @@
"@okcashpro/client-discord": "workspace:*",
"@okcashpro/client-farcaster": "workspace:*",
"@okcashpro/client-lens": "workspace:*",
"@okcashpro/client-slack": "workspace:*",
"@okcashpro/client-telegram": "workspace:*",
"@okcashpro/client-twitter": "workspace:*",
"@okcashpro/client-slack": "workspace:*",
"@okcashpro/okai": "workspace:*",
"@okcashpro/plugin-0g": "workspace:*",
"@okcashpro/plugin-aptos": "workspace:*",
"@okcashpro/plugin-bootstrap": "workspace:*",
"@okcashpro/plugin-intiface": "workspace:*",
"@okcashpro/plugin-coinbase": "workspace:*",
"@okcashpro/plugin-conflux": "workspace:*",
"@okcashpro/plugin-evm": "workspace:*",
"@okcashpro/plugin-flow": "workspace:*",
"@okcashpro/plugin-story": "workspace:*",
"@okcashpro/plugin-goat": "workspace:*",
"@okcashpro/plugin-icp": "workspace:*",
"@okcashpro/plugin-image-generation": "workspace:*",
"@okcashpro/plugin-intiface": "workspace:*",
"@okcashpro/plugin-multiversx": "workspace:*",
"@okcashpro/plugin-near": "workspace:*",
"@okcashpro/plugin-nft-generation": "workspace:*",
"@okcashpro/plugin-node": "workspace:*",
"@okcashpro/plugin-solana": "workspace:*",
"@okcashpro/plugin-starknet": "workspace:*",
"@okcashpro/plugin-story": "workspace:*",
"@okcashpro/plugin-ton": "workspace:*",
"@okcashpro/plugin-sui": "workspace:*",
"@okcashpro/plugin-tee": "workspace:*",
"@okcashpro/plugin-ton": "workspace:*",
"@okcashpro/plugin-multiversx": "workspace:*",
"@okcashpro/plugin-near": "workspace:*",
"@okcashpro/plugin-zksync-era": "workspace:*",
"readline": "1.3.0",
"ws": "8.18.0",
Expand Down
90 changes: 45 additions & 45 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
{
"name": "okai-client",
"private": true,
"version": "0.1.6-alpha.4",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"check-types": "tsc --noEmit",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"@okcashpro/okai": "workspace:*",
"@radix-ui/react-dialog": "1.1.2",
"@radix-ui/react-separator": "1.1.0",
"@radix-ui/react-slot": "1.1.0",
"@radix-ui/react-tooltip": "1.1.4",
"@tanstack/react-query": "5.61.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"lucide-react": "0.460.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.22.1",
"tailwind-merge": "2.5.5",
"tailwindcss-animate": "1.0.7",
"vite-plugin-top-level-await": "1.4.4",
"vite-plugin-wasm": "3.3.0"
},
"devDependencies": {
"@eslint/js": "9.16.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-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",
"typescript": "5.6.3",
"typescript-eslint": "8.11.0",
"vite": "link:@tanstack/router-plugin/vite"
}
"name": "okai-client",
"private": true,
"version": "0.1.7-alpha.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"check-types": "tsc --noEmit",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"@okcashpro/okai": "workspace:*",
"@radix-ui/react-dialog": "1.1.2",
"@radix-ui/react-separator": "1.1.0",
"@radix-ui/react-slot": "1.1.0",
"@radix-ui/react-tooltip": "1.1.4",
"@tanstack/react-query": "5.61.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"lucide-react": "0.460.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.22.1",
"tailwind-merge": "2.5.5",
"tailwindcss-animate": "1.0.7",
"vite-plugin-top-level-await": "1.4.4",
"vite-plugin-wasm": "3.3.0"
},
"devDependencies": {
"@eslint/js": "9.16.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-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",
"typescript": "5.6.3",
"typescript-eslint": "8.11.0",
"vite": "link:@tanstack/router-plugin/vite"
}
}
14 changes: 12 additions & 2 deletions docs/api/classes/AgentRuntime.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / AgentRuntime
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / AgentRuntime

# Class: AgentRuntime

Expand Down Expand Up @@ -247,7 +247,7 @@ The model to use for generateImage.

### fetch()

> **fetch**: (`input`, `init`?) => `Promise`\<`Response`\>
> **fetch**: (`input`, `init`?) => `Promise`\<`Response`\>(`input`, `init`?) => `Promise`\<`Response`\>
Fetch function to use
Some environments may not have access to the global fetch function and need a custom fetch override.
Expand All @@ -264,6 +264,16 @@ Some environments may not have access to the global fetch function and need a cu

`Promise`\<`Response`\>

#### Parameters

**input**: `string` \| `Request` \| `URL`

**init?**: `RequestInit`

#### Returns

`Promise`\<`Response`\>

#### Implementation of

[`IAgentRuntime`](../interfaces/IAgentRuntime.md).[`fetch`](../interfaces/IAgentRuntime.md#fetch)
Expand Down
2 changes: 1 addition & 1 deletion docs/api/classes/CacheManager.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / CacheManager
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / CacheManager

# Class: CacheManager\<CacheAdapter\>

Expand Down
2 changes: 1 addition & 1 deletion docs/api/classes/DatabaseAdapter.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / DatabaseAdapter
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / DatabaseAdapter

# Class: `abstract` DatabaseAdapter\<DB\>

Expand Down
2 changes: 1 addition & 1 deletion docs/api/classes/DbCacheAdapter.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / DbCacheAdapter
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / DbCacheAdapter

# Class: DbCacheAdapter

Expand Down
2 changes: 1 addition & 1 deletion docs/api/classes/FsCacheAdapter.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / FsCacheAdapter
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / FsCacheAdapter

# Class: FsCacheAdapter

Expand Down
2 changes: 1 addition & 1 deletion docs/api/classes/MemoryCacheAdapter.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / MemoryCacheAdapter
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / MemoryCacheAdapter

# Class: MemoryCacheAdapter

Expand Down
2 changes: 1 addition & 1 deletion docs/api/classes/MemoryManager.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / MemoryManager
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / MemoryManager

# Class: MemoryManager

Expand Down
10 changes: 5 additions & 5 deletions docs/api/classes/Service.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / Service
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / Service

# Class: `abstract` Service

Expand Down Expand Up @@ -38,7 +38,7 @@

#### Defined in

[packages/core/src/types.ts:998](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L998)
[packages/core/src/types.ts:1005](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1005)

***

Expand All @@ -54,7 +54,7 @@

#### Defined in

[packages/core/src/types.ts:1009](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1009)
[packages/core/src/types.ts:1016](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1016)

## Methods

Expand All @@ -72,7 +72,7 @@

#### Defined in

[packages/core/src/types.ts:1002](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1002)
[packages/core/src/types.ts:1009](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1009)

***

Expand All @@ -92,4 +92,4 @@ Add abstract initialize method that must be implemented by derived classes

#### Defined in

[packages/core/src/types.ts:1014](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1014)
[packages/core/src/types.ts:1021](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1021)
18 changes: 9 additions & 9 deletions docs/api/enumerations/Clients.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / Clients
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / Clients

# Enumeration: Clients

Expand All @@ -12,7 +12,7 @@ Available client platforms
#### Defined in

[packages/core/src/types.ts:610](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L610)
[packages/core/src/types.ts:612](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L612)

***

Expand All @@ -22,7 +22,7 @@ Available client platforms
#### Defined in

[packages/core/src/types.ts:611](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L611)
[packages/core/src/types.ts:613](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L613)

***

Expand All @@ -32,7 +32,7 @@ Available client platforms
#### Defined in

[packages/core/src/types.ts:612](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L612)
[packages/core/src/types.ts:614](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L614)

***

Expand All @@ -42,7 +42,7 @@ Available client platforms
#### Defined in

[packages/core/src/types.ts:613](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L613)
[packages/core/src/types.ts:615](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L615)

***

Expand All @@ -52,7 +52,7 @@ Available client platforms
#### Defined in

[packages/core/src/types.ts:614](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L614)
[packages/core/src/types.ts:616](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L616)

***

Expand All @@ -62,7 +62,7 @@ Available client platforms
#### Defined in

[packages/core/src/types.ts:615](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L615)
[packages/core/src/types.ts:617](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L617)

***

Expand All @@ -72,7 +72,7 @@ Available client platforms
#### Defined in

[packages/core/src/types.ts:616](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L616)
[packages/core/src/types.ts:618](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L618)

***

Expand All @@ -82,4 +82,4 @@ Available client platforms
#### Defined in

[packages/core/src/types.ts:617](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L617)
[packages/core/src/types.ts:619](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L619)
2 changes: 1 addition & 1 deletion docs/api/enumerations/GoalStatus.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / GoalStatus
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / GoalStatus

# Enumeration: GoalStatus

Expand Down
8 changes: 4 additions & 4 deletions docs/api/enumerations/LoggingLevel.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / LoggingLevel
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / LoggingLevel

# Enumeration: LoggingLevel

Expand All @@ -10,7 +10,7 @@
#### Defined in

[packages/core/src/types.ts:1213](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1213)
[packages/core/src/types.ts:1220](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1220)

***

Expand All @@ -20,7 +20,7 @@
#### Defined in

[packages/core/src/types.ts:1214](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1214)
[packages/core/src/types.ts:1221](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1221)

***

Expand All @@ -30,4 +30,4 @@
#### Defined in

[packages/core/src/types.ts:1215](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1215)
[packages/core/src/types.ts:1222](https://github.com/okcashpro/okai/blob/main/packages/core/src/types.ts#L1222)
2 changes: 1 addition & 1 deletion docs/api/enumerations/ModelClass.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[@okcashpro/okai v0.1.5-alpha.5](../index.md) / ModelClass
[@okcashpro/okai v0.1.7-alpha.1](../index.md) / ModelClass

# Enumeration: ModelClass

Expand Down
Loading

0 comments on commit 84980e4

Please sign in to comment.