Skip to content

Commit b841009

Browse files
committed
Merge branch 'develop' of http://github.com/ai16z/eliza into HEAD
2 parents 90a54d2 + 026caf7 commit b841009

File tree

211 files changed

+45619
-23086
lines changed

Some content is hidden

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

211 files changed

+45619
-23086
lines changed

docs/api/classes/AgentRuntime.md

+1-11
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ The model to use for generateImage.
247247

248248
### fetch()
249249

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

265265
`Promise`\<`Response`\>
266266

267-
#### Parameters
268-
269-
**input**: `string` \| `Request` \| `URL`
270-
271-
**init?**: `RequestInit`
272-
273-
#### Returns
274-
275-
`Promise`\<`Response`\>
276-
277267
#### Implementation of
278268

279269
[`IAgentRuntime`](../interfaces/IAgentRuntime.md).[`fetch`](../interfaces/IAgentRuntime.md#fetch)

docs/api/classes/Service.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
#### Defined in
4040

41-
[packages/core/src/types.ts:987](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L987)
41+
[packages/core/src/types.ts:998](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L998)
4242

4343
***
4444

@@ -54,7 +54,7 @@
5454

5555
#### Defined in
5656

57-
[packages/core/src/types.ts:998](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L998)
57+
[packages/core/src/types.ts:1009](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1009)
5858

5959
## Methods
6060

@@ -72,7 +72,7 @@
7272

7373
#### Defined in
7474

75-
[packages/core/src/types.ts:991](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L991)
75+
[packages/core/src/types.ts:1002](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1002)
7676

7777
***
7878

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

9393
#### Defined in
9494

95-
[packages/core/src/types.ts:1003](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1003)
95+
[packages/core/src/types.ts:1014](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1014)

docs/api/enumerations/Clients.md

+25-9
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,23 @@ Available client platforms
1616

1717
***
1818

19+
### DIRECT
20+
21+
> **DIRECT**: `"direct"`
22+
23+
#### Defined in
24+
25+
[packages/core/src/types.ts:611](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L611)
26+
27+
***
28+
1929
### TWITTER
2030

2131
> **TWITTER**: `"twitter"`
2232
23-
you can't specify this in characters
24-
all characters are registered with this
25-
DIRECT = "direct",
26-
2733
#### Defined in
2834

29-
[packages/core/src/types.ts:614](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L614)
35+
[packages/core/src/types.ts:612](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L612)
3036

3137
***
3238

@@ -36,7 +42,7 @@ all characters are registered with this
3642
3743
#### Defined in
3844

39-
[packages/core/src/types.ts:615](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L615)
45+
[packages/core/src/types.ts:613](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L613)
4046

4147
***
4248

@@ -46,7 +52,17 @@ all characters are registered with this
4652
4753
#### Defined in
4854

49-
[packages/core/src/types.ts:616](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L616)
55+
[packages/core/src/types.ts:614](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L614)
56+
57+
***
58+
59+
### LENS
60+
61+
> **LENS**: `"lens"`
62+
63+
#### Defined in
64+
65+
[packages/core/src/types.ts:615](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L615)
5066

5167
***
5268

@@ -56,7 +72,7 @@ all characters are registered with this
5672
5773
#### Defined in
5874

59-
[packages/core/src/types.ts:617](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L617)
75+
[packages/core/src/types.ts:616](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L616)
6076

6177
***
6278

@@ -66,4 +82,4 @@ all characters are registered with this
6682
6783
#### Defined in
6884

69-
[packages/core/src/types.ts:618](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L618)
85+
[packages/core/src/types.ts:617](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L617)

docs/api/enumerations/LoggingLevel.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
1111
#### Defined in
1212

13-
[packages/core/src/types.ts:1201](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1201)
13+
[packages/core/src/types.ts:1213](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1213)
1414

1515
***
1616

@@ -20,7 +20,7 @@
2020
2121
#### Defined in
2222

23-
[packages/core/src/types.ts:1202](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1202)
23+
[packages/core/src/types.ts:1214](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1214)
2424

2525
***
2626

@@ -30,4 +30,4 @@
3030
3131
#### Defined in
3232

33-
[packages/core/src/types.ts:1203](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1203)
33+
[packages/core/src/types.ts:1215](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1215)

docs/api/enumerations/ServiceType.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
1111
#### Defined in
1212

13-
[packages/core/src/types.ts:1187](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1187)
13+
[packages/core/src/types.ts:1199](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1199)
1414

1515
***
1616

@@ -20,7 +20,7 @@
2020
2121
#### Defined in
2222

23-
[packages/core/src/types.ts:1188](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1188)
23+
[packages/core/src/types.ts:1200](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1200)
2424

2525
***
2626

@@ -30,7 +30,7 @@
3030
3131
#### Defined in
3232

33-
[packages/core/src/types.ts:1189](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1189)
33+
[packages/core/src/types.ts:1201](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1201)
3434

3535
***
3636

@@ -40,7 +40,7 @@
4040
4141
#### Defined in
4242

43-
[packages/core/src/types.ts:1190](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1190)
43+
[packages/core/src/types.ts:1202](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1202)
4444

4545
***
4646

@@ -50,7 +50,7 @@
5050
5151
#### Defined in
5252

53-
[packages/core/src/types.ts:1191](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1191)
53+
[packages/core/src/types.ts:1203](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1203)
5454

5555
***
5656

@@ -60,7 +60,7 @@
6060
6161
#### Defined in
6262

63-
[packages/core/src/types.ts:1192](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1192)
63+
[packages/core/src/types.ts:1204](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1204)
6464

6565
***
6666

@@ -70,7 +70,7 @@
7070
7171
#### Defined in
7272

73-
[packages/core/src/types.ts:1193](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1193)
73+
[packages/core/src/types.ts:1205](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1205)
7474

7575
***
7676

@@ -80,7 +80,7 @@
8080
8181
#### Defined in
8282

83-
[packages/core/src/types.ts:1194](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1194)
83+
[packages/core/src/types.ts:1206](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1206)
8484

8585
***
8686

@@ -90,7 +90,7 @@
9090
9191
#### Defined in
9292

93-
[packages/core/src/types.ts:1195](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1195)
93+
[packages/core/src/types.ts:1207](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1207)
9494

9595
***
9696

@@ -100,7 +100,7 @@
100100
101101
#### Defined in
102102

103-
[packages/core/src/types.ts:1196](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1196)
103+
[packages/core/src/types.ts:1208](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1208)
104104

105105
***
106106

@@ -110,4 +110,4 @@
110110
111111
#### Defined in
112112

113-
[packages/core/src/types.ts:1197](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1197)
113+
[packages/core/src/types.ts:1209](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1209)

docs/api/functions/findNearestEnvFile.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
# Function: findNearestEnvFile()
44

5-
> **findNearestEnvFile**(`startDir`?): `string`
5+
> **findNearestEnvFile**(`startDir`?): `any`
66
77
Recursively searches for a .env file starting from the current directory
88
and moving up through parent directories (Node.js only)
99

1010
## Parameters
1111

12-
**startDir?**: `string` = `...`
12+
**startDir?**: `any` = `...`
1313

1414
Starting directory for the search
1515

1616
## Returns
1717

18-
`string`
18+
`any`
1919

2020
Path to the nearest .env file or null if not found
2121

docs/api/functions/validateCharacterConfig.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Validation function
1616

1717
## Defined in
1818

19-
[packages/core/src/environment.ts:133](https://github.com/ai16z/eliza/blob/main/packages/core/src/environment.ts#L133)
19+
[packages/core/src/environment.ts:138](https://github.com/ai16z/eliza/blob/main/packages/core/src/environment.ts#L138)

docs/api/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
- [Account](interfaces/Account.md)
4242
- [Participant](interfaces/Participant.md)
4343
- [Room](interfaces/Room.md)
44+
- [IAgentConfig](interfaces/IAgentConfig.md)
4445
- [IDatabaseAdapter](interfaces/IDatabaseAdapter.md)
4546
- [IDatabaseCacheAdapter](interfaces/IDatabaseCacheAdapter.md)
4647
- [IMemoryManager](interfaces/IMemoryManager.md)

docs/api/interfaces/ActionResponse.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
1111
#### Defined in
1212

13-
[packages/core/src/types.ts:1212](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1212)
13+
[packages/core/src/types.ts:1224](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1224)
1414

1515
***
1616

@@ -20,7 +20,7 @@
2020
2121
#### Defined in
2222

23-
[packages/core/src/types.ts:1213](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1213)
23+
[packages/core/src/types.ts:1225](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1225)
2424

2525
***
2626

@@ -30,7 +30,7 @@
3030
3131
#### Defined in
3232

33-
[packages/core/src/types.ts:1214](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1214)
33+
[packages/core/src/types.ts:1226](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1226)
3434

3535
***
3636

@@ -40,4 +40,4 @@
4040
4141
#### Defined in
4242

43-
[packages/core/src/types.ts:1215](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1215)
43+
[packages/core/src/types.ts:1227](https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts#L1227)

docs/api/interfaces/GenerationOptions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Configuration options for generating objects with a model.
3838

3939
### schema?
4040

41-
> `optional` **schema**: `ZodType`\<`any`, `ZodTypeDef`, `any`\>
41+
> `optional` **schema**: `ZodSchema`
4242
4343
#### Defined in
4444

docs/api/interfaces/IAgentConfig.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[@ai16z/eliza v0.1.5-alpha.5](../index.md) / IAgentConfig
2+
3+
# Interface: IAgentConfig
4+
5+
## Indexable
6+
7+
\[`key`: `string`\]: `string`

0 commit comments

Comments
 (0)