Skip to content

Commit d8ecc10

Browse files
authored
Merge branch 'main' into renovate/npm-vitest-vulnerability
2 parents f042669 + 81a3528 commit d8ecc10

File tree

163 files changed

+520
-317
lines changed

Some content is hidden

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

163 files changed

+520
-317
lines changed

docs/docs/advanced/eliza-in-tee.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Finally, click on the `Submit` button to deploy your Eliza agent.
307307

308308
This will take a few minutes to complete. Once the deployment is complete, you can click on the `View` button to view your Eliza agent.
309309

310-
Here is an example of a deployed agent named `vitailik2077`:
310+
Here is an example of a deployed agent named `vitalik2077`:
311311

312312
![Deployed Agent](https://i.imgur.com/ie8gpg9.png)
313313

docs/docs/core/evaluators.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Evaluators enable agents to:
2424
1. Import the necessary evaluator types:
2525

2626
```typescript
27-
import { Evaluator, IAgentRuntime, Memory, State } from "@elizaos/core-core";
27+
import { Evaluator, IAgentRuntime, Memory, State } from "@elizaos/core";
2828
```
2929

3030
2. Choose or create an evaluator:

docs/docs/packages/agent.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 1
44

55
# 🤖 Agent Package
66

7-
The Agent Package (`@eliza/agent`) provides the high-level orchestration layer for Eliza, managing agent lifecycles, character loading, client initialization, and runtime coordination.
7+
The Agent Package (`@elizaos/agent`) provides the high-level orchestration layer for Eliza, managing agent lifecycles, character loading, client initialization, and runtime coordination.
88

99
## Architecture Overview
1010

docs/docs/packages/plugins.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ The Form chain plugin enables interaction with Form blockchain's unique SocialFi
785785
- **Inputs**:
786786
- `subject`: Address to buy curves for
787787
- `amount`: Number of curves tokens to buy (defaults to 1)
788-
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
788+
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")
789789
- **Example**:
790790
```json
791791
{
@@ -799,48 +799,48 @@ The Form chain plugin enables interaction with Form blockchain's unique SocialFi
799799
- **Inputs**:
800800
- `subject`: Address whose curves to sell
801801
- `amount`: Number of curves tokens to sell (defaults to 1)
802-
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
802+
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")
803803
804804
3. `WITHDRAW_CURVES_TOKEN` - Convert curves tokens to their ERC20 equivalent
805805
- **Inputs**:
806806
- `subject`: Address whose curves to withdraw
807807
- `amount`: Number of curves tokens to withdraw (integer values only)
808-
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
808+
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")
809809
810810
4. `DEPOSIT_CURVES_TOKEN` - Convert ERC20 tokens back to curves tokens
811811
- **Inputs**:
812812
- `subject`: Address whose ERC20 to convert
813813
- `amount`: Amount in ERC20 decimals (18 decimals precision)
814-
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
814+
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")
815815
816816
5. `MINT_CURVES_ERC20` - Mint new ERC20 token for curves holdings
817817
- **Inputs**:
818818
- `name`: Token name (1-32 characters)
819819
- `symbol`: Token symbol (1-8 characters, uppercase)
820-
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
820+
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")
821821
822822
6. `GET_CURVES_BALANCE` - Check curves token balance
823823
- **Inputs**:
824824
- `subject`: Address to check balance for
825825
- `owner`: Optional owner address (defaults to connected wallet)
826-
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
826+
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")
827827
828828
7. `GET_CURVES_BUY_PRICE` - Get price quote for buying curves
829829
- **Inputs**:
830830
- `subject`: Address to check price for
831831
- `amount`: Number of curves tokens (defaults to 1)
832-
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
832+
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")
833833
834834
8. `GET_CURVES_SELL_PRICE` - Get price quote for selling curves
835835
- **Inputs**:
836836
- `subject`: Address to check price for
837837
- `amount`: Number of curves tokens (defaults to 1)
838-
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
838+
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")
839839
840840
8. `GET_CURVES_ERC20_DETAILS` - Get curves token respective ERC20 details
841841
- **Inputs**:
842842
- `subject`: Address to check ERC20 token for
843-
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
843+
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")
844844
845845
**Providers:**
846846
- `curvesFormulaProvider` - Provides context about available curves formulas and their use cases
@@ -866,13 +866,13 @@ The Form chain plugin enables interaction with Form blockchain's unique SocialFi
866866
**Formula Types:**
867867

868868
- `QUADRATIC`: Standard bonding curve for regular use cases
869-
- `LOGRITHMIC`: Optimized for high-volume trading and price stability
869+
- `LOGARITHMIC`: Optimized for high-volume trading and price stability
870870

871871
**Best Practices:**
872872

873873
- Always check token balances before selling or withdrawing
874874
- Use price quotes before executing trades
875-
- For large-scale operations, use the LOGRITHMIC formula
875+
- For large-scale operations, use the LOGARITHMIC formula
876876
- Keep track of ERC20 token addresses after minting
877877
- Validate token names and symbols before minting
878878
- Consider gas costs when executing transactions

packages/adapter-mongodb/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
"testMatch": [
3636
"<rootDir>/src/__tests__/**/*.test.ts"
3737
]
38+
},
39+
"publishConfig": {
40+
"access": "public"
3841
}
3942
}

packages/adapter-pglite/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@
3131
},
3232
"peerDependencies": {
3333
"whatwg-url": "7.1.0"
34+
},
35+
"publishConfig": {
36+
"access": "public"
3437
}
3538
}

packages/adapter-postgres/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@
3131
"scripts": {
3232
"build": "tsup --format esm --dts",
3333
"dev": "tsup --format esm --dts --watch"
34+
},
35+
"publishConfig": {
36+
"access": "public"
3437
}
3538
}

packages/adapter-qdrant/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@
2626
"build": "tsup --format esm --dts",
2727
"dev": "tsup --format esm --dts --watch",
2828
"lint": "eslint --fix --cache ."
29+
},
30+
"publishConfig": {
31+
"access": "public"
2932
}
3033
}

packages/adapter-redis/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
},
3636
"peerDependencies": {
3737
"whatwg-url": "7.1.0"
38+
},
39+
"publishConfig": {
40+
"access": "public"
3841
}
3942
}

packages/adapter-sqlite/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@
3737
},
3838
"peerDependencies": {
3939
"whatwg-url": "7.1.0"
40+
},
41+
"publishConfig": {
42+
"access": "public"
4043
}
4144
}

packages/adapter-sqljs/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@
3333
},
3434
"peerDependencies": {
3535
"whatwg-url": "7.1.0"
36+
},
37+
"publishConfig": {
38+
"access": "public"
3639
}
3740
}

packages/adapter-supabase/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
},
3636
"peerDependencies": {
3737
"whatwg-url": "7.1.0"
38+
},
39+
"publishConfig": {
40+
"access": "public"
3841
}
3942
}

packages/client-alexa/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@
3838
"format": "biome format src/",
3939
"format:fix": "biome format --write src/",
4040
"test": "vitest run"
41+
},
42+
"publishConfig": {
43+
"access": "public"
4144
}
4245
}

packages/client-auto/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@
3636
},
3737
"peerDependencies": {
3838
"whatwg-url": "7.1.0"
39+
},
40+
"publishConfig": {
41+
"access": "public"
3942
}
4043
}

packages/client-deva/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
},
1919
"peerDependencies": {
2020
"whatwg-url": "7.1.0"
21+
},
22+
"publishConfig": {
23+
"access": "public"
2124
}
2225
}

packages/client-direct/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,8 @@
4343
},
4444
"peerDependencies": {
4545
"whatwg-url": "7.1.0"
46+
},
47+
"publishConfig": {
48+
"access": "public"
4649
}
4750
}

packages/client-discord/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,8 @@
4343
},
4444
"peerDependencies": {
4545
"whatwg-url": "7.1.0"
46+
},
47+
"publishConfig": {
48+
"access": "public"
4649
}
4750
}

packages/client-eliza-home/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@
1919
"test": "vitest run",
2020
"test:watch": "vitest watch",
2121
"test:coverage": "vitest run --coverage"
22+
},
23+
"publishConfig": {
24+
"access": "public"
2225
}
2326
}

packages/client-farcaster/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@
3333
"test": "vitest run",
3434
"test:watch": "vitest watch",
3535
"test:coverage": "vitest run --coverage"
36+
},
37+
"publishConfig": {
38+
"access": "public"
3639
}
3740
}

packages/client-github/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
"dev": "tsup --format esm --dts --watch",
3636
"test": "vitest run",
3737
"test:watch": "vitest"
38+
},
39+
"publishConfig": {
40+
"access": "public"
3841
}
3942
}

packages/client-instagram/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,8 @@
3434
"dev": "tsup --format esm --dts --watch",
3535
"test": "vitest run",
3636
"test:watch": "vitest"
37+
},
38+
"publishConfig": {
39+
"access": "public"
3740
}
3841
}

packages/client-lens/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,8 @@
3939
},
4040
"peerDependencies": {
4141
"@elizaos/core": "workspace:*"
42+
},
43+
"publishConfig": {
44+
"access": "public"
4245
}
4346
}

packages/client-simsai/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@
3232
"build": "tsup --format esm --dts",
3333
"dev": "tsup --format esm --dts --watch",
3434
"lint": "eslint --fix"
35+
},
36+
"publishConfig": {
37+
"access": "public"
3538
}
3639
}

packages/client-slack/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,8 @@
5252
},
5353
"engines": {
5454
"node": ">=14.0.0"
55+
},
56+
"publishConfig": {
57+
"access": "public"
5558
}
5659
}

packages/client-telegram-account/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@
3838
},
3939
"peerDependencies": {
4040
"whatwg-url": "7.1.0"
41+
},
42+
"publishConfig": {
43+
"access": "public"
4144
}
4245
}

packages/client-telegram/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@
3232
"dev": "tsup --format esm --dts --watch",
3333
"test": "vitest run",
3434
"test:watch": "vitest"
35+
},
36+
"publishConfig": {
37+
"access": "public"
3538
}
3639
}

packages/client-telegram/src/telegramClient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { getOrCreateRecommenderInBe } from "./getOrCreateRecommenderInBe.ts";
77
export class TelegramClient {
88
private bot: Telegraf<Context>;
99
private runtime: IAgentRuntime;
10-
private messageManager: MessageManager;
10+
public messageManager: MessageManager;
1111
private backend;
1212
private backendToken;
1313
private tgTrader;

packages/client-twitter/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@
3737
},
3838
"peerDependencies": {
3939
"whatwg-url": "7.1.0"
40+
},
41+
"publishConfig": {
42+
"access": "public"
4043
}
4144
}

packages/client-twitter/src/post.ts

+3
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,9 @@ export class TwitterPostClient {
554554
const parsedResponse = parseJSONObjectFromText(rawTweetContent);
555555
if (parsedResponse?.text) {
556556
tweetTextForPosting = parsedResponse.text;
557+
} else {
558+
// If not JSON, use the raw text directly
559+
tweetTextForPosting = rawTweetContent.trim();
557560
}
558561

559562
if (

packages/client-xmtp/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@
1515
"build": "tsup --format esm --dts",
1616
"dev": "tsup --format esm --dts --watch",
1717
"lint": "eslint --fix --cache ."
18+
},
19+
"publishConfig": {
20+
"access": "public"
1821
}
1922
}

0 commit comments

Comments
 (0)