Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: develop => main #3332

Merged
merged 42 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
68b6e01
fix: handleGoogle(options) lost apiKey
abcfy2 Feb 5, 2025
8a3082b
clean json before normalized
tcm390 Feb 6, 2025
1bb4dd7
Merge branch 'develop' into tcm-clean-json
tcm390 Feb 6, 2025
f6b670f
Merge branch 'develop' into tcm-clean-json
tcm390 Feb 6, 2025
29ea253
Merge branch 'develop' into tcm-clean-json
tcm390 Feb 6, 2025
f835377
Merge pull request #3301 from elizaOS/tcm-clean-json
odilitime Feb 6, 2025
a2efabd
Fix plugin-solana-v2 package.json (#3308)
oxy-Op Feb 6, 2025
3ad37f6
set initial value to null
tcm390 Feb 6, 2025
9ab48ff
return string
tcm390 Feb 6, 2025
6a5e9a3
return null of empty object
tcm390 Feb 6, 2025
e510861
Merge pull request #3311 from elizaOS/tcm-parsing-unit-test
tcm390 Feb 6, 2025
ed0311c
use latest getModelSettings function
tcm390 Feb 6, 2025
899f51e
fix model test
tcm390 Feb 6, 2025
c87a9f7
update LIVEPEER endpoint
tcm390 Feb 6, 2025
31bc219
Merge branch 'develop' into tcm/fix-models-unit-test
tcm390 Feb 6, 2025
b224b8e
Merge pull request #3312 from elizaOS/tcm/fix-models-unit-test
tcm390 Feb 6, 2025
abe068f
read modelConfig from character file
Feb 4, 2025
f640c04
allow plugins to interact w messangerManager to post on tg
kesar Feb 6, 2025
01a24e2
Merge branch 'develop' into patch-4
kesar Feb 6, 2025
04547be
Update eliza-in-tee.md
Bilogweb3 Feb 6, 2025
057574e
Update evaluators.md
Bilogweb3 Feb 6, 2025
a25b4d8
Update agent.md
Bilogweb3 Feb 6, 2025
b2889dc
Merge pull request #3313 from TbLtzk/fix/model-config
tcm390 Feb 6, 2025
76466ce
Merge branch 'develop' into main
tcm390 Feb 6, 2025
e16cf8e
Merge pull request #3317 from Bilogweb3/main
tcm390 Feb 6, 2025
1d756f4
Merge branch 'develop' into main
tcm390 Feb 6, 2025
61887b3
Merge pull request #3274 from abcfy2/main
tcm390 Feb 6, 2025
285c29d
Merge branch 'develop' into patch-4
kesar Feb 6, 2025
d449ca2
Merge pull request #3314 from kesar/patch-4
shakkernerd Feb 6, 2025
bfb3583
Update plugins.md
aso20455 Feb 6, 2025
c108525
chore: add missing version to package.json
shakkernerd Feb 6, 2025
a84c7e2
Merge pull request #3325 from elizaOS/fix/packages_json
shakkernerd Feb 6, 2025
866abc2
chore: remove remnant files/folders
shakkernerd Feb 6, 2025
05cd314
Merge pull request #3326 from elizaOS/fix/packages
shakkernerd Feb 6, 2025
20697fb
Update post.ts
vidvidvid Feb 6, 2025
7ba4dfa
Merge branch 'develop' into patch-1
shakkernerd Feb 6, 2025
967553b
Merge pull request #3324 from aso20455/patch-1
shakkernerd Feb 6, 2025
9d47576
chore: pnpm lock file
shakkernerd Feb 6, 2025
865cfee
feat: set package publish access to public
shakkernerd Feb 6, 2025
87515e2
Merge pull request #3330 from elizaOS/feat/packages
shakkernerd Feb 6, 2025
b2e7ed9
Merge branch 'develop' into vidvidvid-fix/twitter-post-error
shakkernerd Feb 6, 2025
2dbf2cc
Merge pull request #3327 from vidvidvid/vidvidvid-fix/twitter-post-error
shakkernerd Feb 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/advanced/eliza-in-tee.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ Finally, click on the `Submit` button to deploy your Eliza agent.

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.

Here is an example of a deployed agent named `vitailik2077`:
Here is an example of a deployed agent named `vitalik2077`:

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

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/core/evaluators.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Evaluators enable agents to:
1. Import the necessary evaluator types:

```typescript
import { Evaluator, IAgentRuntime, Memory, State } from "@elizaos/core-core";
import { Evaluator, IAgentRuntime, Memory, State } from "@elizaos/core";
```

2. Choose or create an evaluator:
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/packages/agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_position: 1

# 🤖 Agent Package

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

## Architecture Overview

Expand Down
22 changes: 11 additions & 11 deletions docs/docs/packages/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ The Form chain plugin enables interaction with Form blockchain's unique SocialFi
- **Inputs**:
- `subject`: Address to buy curves for
- `amount`: Number of curves tokens to buy (defaults to 1)
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")
- **Example**:
```json
{
Expand All @@ -799,48 +799,48 @@ The Form chain plugin enables interaction with Form blockchain's unique SocialFi
- **Inputs**:
- `subject`: Address whose curves to sell
- `amount`: Number of curves tokens to sell (defaults to 1)
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")

3. `WITHDRAW_CURVES_TOKEN` - Convert curves tokens to their ERC20 equivalent
- **Inputs**:
- `subject`: Address whose curves to withdraw
- `amount`: Number of curves tokens to withdraw (integer values only)
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")

4. `DEPOSIT_CURVES_TOKEN` - Convert ERC20 tokens back to curves tokens
- **Inputs**:
- `subject`: Address whose ERC20 to convert
- `amount`: Amount in ERC20 decimals (18 decimals precision)
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")

5. `MINT_CURVES_ERC20` - Mint new ERC20 token for curves holdings
- **Inputs**:
- `name`: Token name (1-32 characters)
- `symbol`: Token symbol (1-8 characters, uppercase)
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")

6. `GET_CURVES_BALANCE` - Check curves token balance
- **Inputs**:
- `subject`: Address to check balance for
- `owner`: Optional owner address (defaults to connected wallet)
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")

7. `GET_CURVES_BUY_PRICE` - Get price quote for buying curves
- **Inputs**:
- `subject`: Address to check price for
- `amount`: Number of curves tokens (defaults to 1)
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")

8. `GET_CURVES_SELL_PRICE` - Get price quote for selling curves
- **Inputs**:
- `subject`: Address to check price for
- `amount`: Number of curves tokens (defaults to 1)
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")

8. `GET_CURVES_ERC20_DETAILS` - Get curves token respective ERC20 details
- **Inputs**:
- `subject`: Address to check ERC20 token for
- `formula`: Curves formula type ("QUADRATIC" or "LOGRITHMIC")
- `formula`: Curves formula type ("QUADRATIC" or "LOGARITHMIC")

**Providers:**
- `curvesFormulaProvider` - Provides context about available curves formulas and their use cases
Expand All @@ -866,13 +866,13 @@ The Form chain plugin enables interaction with Form blockchain's unique SocialFi
**Formula Types:**

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

**Best Practices:**

- Always check token balances before selling or withdrawing
- Use price quotes before executing trades
- For large-scale operations, use the LOGRITHMIC formula
- For large-scale operations, use the LOGARITHMIC formula
- Keep track of ERC20 token addresses after minting
- Validate token names and symbols before minting
- Consider gas costs when executing transactions
Expand Down
3 changes: 3 additions & 0 deletions packages/adapter-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
"testMatch": [
"<rootDir>/src/__tests__/**/*.test.ts"
]
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/adapter-pglite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/adapter-postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@
"scripts": {
"build": "tsup --format esm --dts",
"dev": "tsup --format esm --dts --watch"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/adapter-qdrant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@
"build": "tsup --format esm --dts",
"dev": "tsup --format esm --dts --watch",
"lint": "eslint --fix --cache ."
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/adapter-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/adapter-sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/adapter-sqljs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/adapter-supabase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-alexa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@
"format": "biome format src/",
"format:fix": "biome format --write src/",
"test": "vitest run"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-auto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-deva/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-direct/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-eliza-home/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-farcaster/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
"dev": "tsup --format esm --dts --watch",
"test": "vitest run",
"test:watch": "vitest"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-instagram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@
"dev": "tsup --format esm --dts --watch",
"test": "vitest run",
"test:watch": "vitest"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-lens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@
},
"peerDependencies": {
"@elizaos/core": "workspace:*"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-simsai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
"build": "tsup --format esm --dts",
"dev": "tsup --format esm --dts --watch",
"lint": "eslint --fix"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-slack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@
},
"engines": {
"node": ">=14.0.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-telegram-account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-telegram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
"dev": "tsup --format esm --dts --watch",
"test": "vitest run",
"test:watch": "vitest"
},
"publishConfig": {
"access": "public"
}
}
2 changes: 1 addition & 1 deletion packages/client-telegram/src/telegramClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { getOrCreateRecommenderInBe } from "./getOrCreateRecommenderInBe.ts";
export class TelegramClient {
private bot: Telegraf<Context>;
private runtime: IAgentRuntime;
private messageManager: MessageManager;
public messageManager: MessageManager;
private backend;
private backendToken;
private tgTrader;
Expand Down
3 changes: 3 additions & 0 deletions packages/client-twitter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@
},
"peerDependencies": {
"whatwg-url": "7.1.0"
},
"publishConfig": {
"access": "public"
}
}
3 changes: 3 additions & 0 deletions packages/client-twitter/src/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,9 @@ export class TwitterPostClient {
const parsedResponse = parseJSONObjectFromText(rawTweetContent);
if (parsedResponse?.text) {
tweetTextForPosting = parsedResponse.text;
} else {
// If not JSON, use the raw text directly
tweetTextForPosting = rawTweetContent.trim();
}

if (
Expand Down
3 changes: 3 additions & 0 deletions packages/client-xmtp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
"build": "tsup --format esm --dts",
"dev": "tsup --format esm --dts --watch",
"lint": "eslint --fix --cache ."
},
"publishConfig": {
"access": "public"
}
}
Loading
Loading