diff --git a/CHANGELOG.md b/CHANGELOG.md index 24f7ac1b746..8574509e3a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,188 @@ # Changelog +## [v0.1.6-alpha.4](https://github.com/ai16z/eliza/tree/v0.1.6-alpha.4) (2024-12-17) + +[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.6-alpha.3...v0.1.6-alpha.4) + +**Fixed bugs:** + +- pnpm install fails on m1 mac \[Fixed with xcode-select reinstall\] [\#1146](https://github.com/ai16z/eliza/issues/1146) + +**Merged pull requests:** + +- chore: bump version to 0.1.6-alpha.4 [\#1159](https://github.com/ai16z/eliza/pull/1159) ([shakkernerd](https://github.com/shakkernerd)) +- fix: client twitter login and auth handler [\#1158](https://github.com/ai16z/eliza/pull/1158) ([shakkernerd](https://github.com/shakkernerd)) + +## [v0.1.6-alpha.3](https://github.com/ai16z/eliza/tree/v0.1.6-alpha.3) (2024-12-17) + +[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.6-alpha.2...v0.1.6-alpha.3) + +**Merged pull requests:** + +- chore: develop into main [\#1155](https://github.com/ai16z/eliza/pull/1155) ([shakkernerd](https://github.com/shakkernerd)) +- fix: fix direct-client ability to start agents [\#1154](https://github.com/ai16z/eliza/pull/1154) ([odilitime](https://github.com/odilitime)) +- fix: fetch log level to debug [\#1153](https://github.com/ai16z/eliza/pull/1153) ([shakkernerd](https://github.com/shakkernerd)) +- chore: bump version to 0.1.6-alpha.3 [\#1152](https://github.com/ai16z/eliza/pull/1152) ([shakkernerd](https://github.com/shakkernerd)) +- feat: update packages version script [\#1150](https://github.com/ai16z/eliza/pull/1150) ([shakkernerd](https://github.com/shakkernerd)) + +## [v0.1.6-alpha.2](https://github.com/ai16z/eliza/tree/v0.1.6-alpha.2) (2024-12-17) + +[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.6-alpha.1...v0.1.6-alpha.2) + +**Implemented enhancements:** + +- Add a Hebrew Translation for the readme. [\#1022](https://github.com/ai16z/eliza/issues/1022) +- GenLayer Plugin [\#972](https://github.com/ai16z/eliza/issues/972) +- Feature Request: Add Aptos and Move Support to the Eliza Framework for Autonomous Agents [\#790](https://github.com/ai16z/eliza/issues/790) +- enhancement: Improve message threading and handling to reduce repetition [\#783](https://github.com/ai16z/eliza/issues/783) +- fal.ai image generation [\#648](https://github.com/ai16z/eliza/issues/648) +- Upgrade to turborepo for monorepo management [\#639](https://github.com/ai16z/eliza/issues/639) +- Add a plugin for storing data using the 0G protocol. [\#415](https://github.com/ai16z/eliza/issues/415) +- way for bots to have cool down periods \(dynamic tempature adjusts\) & only direct reply setting [\#399](https://github.com/ai16z/eliza/issues/399) +- Create an Eliza Trained on Dev Documentation [\#352](https://github.com/ai16z/eliza/issues/352) +- Get to a place where we can reliably create release tags [\#317](https://github.com/ai16z/eliza/issues/317) +- Managing Divergence Across the Eliza Ecosystem \(Multiple Forks\) [\#305](https://github.com/ai16z/eliza/issues/305) +- EVM Integration [\#303](https://github.com/ai16z/eliza/issues/303) +- Farcaster Client / Plugin [\#300](https://github.com/ai16z/eliza/issues/300) +- Allow twitter client to configure who to reply to based on following relationship [\#264](https://github.com/ai16z/eliza/issues/264) +- Agent is reposting images from other parts of conversation as its own image [\#260](https://github.com/ai16z/eliza/issues/260) +- Fix queueing in Twitter so messages are not rate limited constantly [\#259](https://github.com/ai16z/eliza/issues/259) +- Fix Twitter Multi-agent, Characters respond to each other's messages [\#258](https://github.com/ai16z/eliza/issues/258) +- Add shouldRespond handler to voice [\#244](https://github.com/ai16z/eliza/issues/244) +- Move cache to database [\#243](https://github.com/ai16z/eliza/issues/243) +- Store all local models in /models folder, with overridable model path [\#242](https://github.com/ai16z/eliza/issues/242) +- Add storeCredential and getCredential key value store, store secrets in db [\#241](https://github.com/ai16z/eliza/issues/241) +- Move embeddings to a service and a service and add ServiceType.EMBEDDING [\#240](https://github.com/ai16z/eliza/issues/240) +- Fix function calling, repetition and local action calling [\#161](https://github.com/ai16z/eliza/issues/161) +- Make image generation very nice and spicy [\#158](https://github.com/ai16z/eliza/issues/158) +- Add AI Code Reviewing application from GitHub Marketplace [\#81](https://github.com/ai16z/eliza/issues/81) +- Abstract image descriptions / recognition to use any model provider [\#72](https://github.com/ai16z/eliza/issues/72) +- 💡 Have silly tavern compatibility [\#56](https://github.com/ai16z/eliza/issues/56) +- User Interface Enhancement [\#54](https://github.com/ai16z/eliza/issues/54) +- "Private" Actions [\#29](https://github.com/ai16z/eliza/issues/29) +- Pump Fun Token Creation [\#28](https://github.com/ai16z/eliza/issues/28) +- Awareness of Twitter bio and username [\#27](https://github.com/ai16z/eliza/issues/27) + +**Fixed bugs:** + +- pnpm install updates pnpm lockfile when it should not [\#1121](https://github.com/ai16z/eliza/issues/1121) +- Not respecting OpenAI model selection [\#1105](https://github.com/ai16z/eliza/issues/1105) +- Scrapper login [\#1066](https://github.com/ai16z/eliza/issues/1066) +- code2prompt Not Functioning with WSL [\#1060](https://github.com/ai16z/eliza/issues/1060) +- Unexpected token 'A', "Agent not found" is not valid JSON [\#1059](https://github.com/ai16z/eliza/issues/1059) +- bug: setting auto in character file fails to load client-auto [\#1049](https://github.com/ai16z/eliza/issues/1049) +- TypeError - LinkedIn constructor error [\#990](https://github.com/ai16z/eliza/issues/990) +- Twitter/X Cache Login not staying logged in [\#939](https://github.com/ai16z/eliza/issues/939) +- Can't start project. Got `ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL` error [\#925](https://github.com/ai16z/eliza/issues/925) +- Client Twitter Login issue: Error: {"errors":\[{"code":399,"message":"Incorrect. Please try again."}\]} [\#905](https://github.com/ai16z/eliza/issues/905) +- Implement Retry Mechanism for Twitter Login with Cookie Validation [\#855](https://github.com/ai16z/eliza/issues/855) +- How to deal with Twitter login issues [\#841](https://github.com/ai16z/eliza/issues/841) +- This command: pnpm start --characters="characters/tate.character.json" results in an error [\#817](https://github.com/ai16z/eliza/issues/817) +- Characters Do Not Actually Use ExamplePost or ExampleMessage [\#791](https://github.com/ai16z/eliza/issues/791) +- `pnpm run dev` does not work out of the box [\#780](https://github.com/ai16z/eliza/issues/780) +- Agent Responds Twice to prompts [\#726](https://github.com/ai16z/eliza/issues/726) +- Twitter Client Breaks out of the box [\#673](https://github.com/ai16z/eliza/issues/673) +- Twitter client only works for one agent when running multiple agents simultaneously [\#656](https://github.com/ai16z/eliza/issues/656) +- Cannot find module '@ai16z/eliza' or its corresponding type declarations. [\#601](https://github.com/ai16z/eliza/issues/601) +- create-eliza-app package doesn't install or exist [\#553](https://github.com/ai16z/eliza/issues/553) +- Non node.js environments have issues building \(workers for instance\) [\#507](https://github.com/ai16z/eliza/issues/507) +- Error: Property 'clients' does not exist on type 'Plugin' in src/index.ts during pnpm start [\#423](https://github.com/ai16z/eliza/issues/423) +- using Groq API \(or RedPill or Google Gen AI\) as model provider [\#422](https://github.com/ai16z/eliza/issues/422) +- Error when starting Eliza agent: "fs.Stats constructor is deprecated" and "triggerUncaughtException" [\#387](https://github.com/ai16z/eliza/issues/387) +- no action response found in the response content for twitter or tg clients [\#319](https://github.com/ai16z/eliza/issues/319) +- Docs improvements bounty ideas [\#298](https://github.com/ai16z/eliza/issues/298) +- Quickstart guide is missing important info [\#284](https://github.com/ai16z/eliza/issues/284) +- advanced usage section of docs doesn't include instructions for memory management [\#275](https://github.com/ai16z/eliza/issues/275) +- On PNPM Install this happens [\#237](https://github.com/ai16z/eliza/issues/237) +- twitter folder paths for twitter cookies & cache/last tweet point to different places [\#230](https://github.com/ai16z/eliza/issues/230) +- pnpm install fails on Ubuntu [\#215](https://github.com/ai16z/eliza/issues/215) +- Knowledge system is disabled [\#164](https://github.com/ai16z/eliza/issues/164) +- LLM can't be trusted to parse it's own json [\#148](https://github.com/ai16z/eliza/issues/148) + +**Closed issues:** + +- Update totalMessages Logic in Boredom Scoring [\#408](https://github.com/ai16z/eliza/issues/408) +- Tests are failing [\#64](https://github.com/ai16z/eliza/issues/64) + +**Merged pull requests:** + +- chore: fix PR \#1147 [\#1148](https://github.com/ai16z/eliza/pull/1148) ([odilitime](https://github.com/odilitime)) +- fix: improve fomo integration [\#1147](https://github.com/ai16z/eliza/pull/1147) ([odilitime](https://github.com/odilitime)) +- chore: Merge monday, merging develop into main [\#1144](https://github.com/ai16z/eliza/pull/1144) ([odilitime](https://github.com/odilitime)) +- chore: remove comment [\#1143](https://github.com/ai16z/eliza/pull/1143) ([shakkernerd](https://github.com/shakkernerd)) +- clean newlines for new tweet [\#1141](https://github.com/ai16z/eliza/pull/1141) ([owlcode](https://github.com/owlcode)) +- fix: telegram client duplicate function removal [\#1140](https://github.com/ai16z/eliza/pull/1140) ([azep-ninja](https://github.com/azep-ninja)) +- fix: remove docker compose command since Docker file already runs [\#1139](https://github.com/ai16z/eliza/pull/1139) ([rarepepi](https://github.com/rarepepi)) +- feat: add support for handlebars templating engine as an option [\#1136](https://github.com/ai16z/eliza/pull/1136) ([erise133](https://github.com/erise133)) +- feat: allow agents to create/buy/sell tokens on FOMO.fund's bonding curve in plugin-solana [\#1135](https://github.com/ai16z/eliza/pull/1135) ([0xNerd](https://github.com/0xNerd)) +- fix: fix the name [\#1133](https://github.com/ai16z/eliza/pull/1133) ([n00b21337](https://github.com/n00b21337)) +- Add `chatapi.akash.network` to available list of model providers \(FREE LLAMA API ACCESS!\) [\#1131](https://github.com/ai16z/eliza/pull/1131) ([MbBrainz](https://github.com/MbBrainz)) +- fix: discord client duplicate function removal [\#1125](https://github.com/ai16z/eliza/pull/1125) ([azep-ninja](https://github.com/azep-ninja)) +- fix: add more heplful default agents \(Dobby and C3PO\) [\#1124](https://github.com/ai16z/eliza/pull/1124) ([n00b21337](https://github.com/n00b21337)) +- fix: Refactor to prevent unnecessary lockfile changes [\#1120](https://github.com/ai16z/eliza/pull/1120) ([monilpat](https://github.com/monilpat)) +- chore: fix broken pnpm lockfile [\#1115](https://github.com/ai16z/eliza/pull/1115) ([shakkernerd](https://github.com/shakkernerd)) +- feat: New docs for community section [\#1114](https://github.com/ai16z/eliza/pull/1114) ([madjin](https://github.com/madjin)) +- fix: Revert "Feat: Update community section of docs" [\#1112](https://github.com/ai16z/eliza/pull/1112) ([monilpat](https://github.com/monilpat)) +- Feat: Update community section of docs [\#1111](https://github.com/ai16z/eliza/pull/1111) ([madjin](https://github.com/madjin)) +- Documentation: Plugin list numbering and titles [\#1107](https://github.com/ai16z/eliza/pull/1107) ([brunocalmels](https://github.com/brunocalmels)) +- fix: add missing imports [\#1104](https://github.com/ai16z/eliza/pull/1104) ([shakkernerd](https://github.com/shakkernerd)) +- chore: fix broken pnpm lockfile [\#1103](https://github.com/ai16z/eliza/pull/1103) ([shakkernerd](https://github.com/shakkernerd)) +- fix: handle no termination message [\#1102](https://github.com/ai16z/eliza/pull/1102) ([shakkernerd](https://github.com/shakkernerd)) +- feat: Smoke Test script [\#1101](https://github.com/ai16z/eliza/pull/1101) ([shakkernerd](https://github.com/shakkernerd)) +- feat: Lens client [\#1098](https://github.com/ai16z/eliza/pull/1098) ([imthatcarlos](https://github.com/imthatcarlos)) +- fix: return types of createAgent & startAgent [\#1097](https://github.com/ai16z/eliza/pull/1097) ([BlockJuic3](https://github.com/BlockJuic3)) +- docs: add README.md to plugin-evm [\#1095](https://github.com/ai16z/eliza/pull/1095) ([nicky-ru](https://github.com/nicky-ru)) +- chore: debugging start behaviour [\#1094](https://github.com/ai16z/eliza/pull/1094) ([shakkernerd](https://github.com/shakkernerd)) +- chore: kill pnpm start [\#1093](https://github.com/ai16z/eliza/pull/1093) ([shakkernerd](https://github.com/shakkernerd)) +- chore: increase timeout to 3mins [\#1092](https://github.com/ai16z/eliza/pull/1092) ([shakkernerd](https://github.com/shakkernerd)) +- feat: allow users to configure models for grok [\#1091](https://github.com/ai16z/eliza/pull/1091) ([oxSaturn](https://github.com/oxSaturn)) +- fix: syntax error: invalid arithmetic operator [\#1088](https://github.com/ai16z/eliza/pull/1088) ([shakkernerd](https://github.com/shakkernerd)) +- fix: client slack linting errors [\#1086](https://github.com/ai16z/eliza/pull/1086) ([shakkernerd](https://github.com/shakkernerd)) +- chore: remove unused imports and rename runtime variable [\#1085](https://github.com/ai16z/eliza/pull/1085) ([shakkernerd](https://github.com/shakkernerd)) +- fix: dynamic import of fs module [\#1084](https://github.com/ai16z/eliza/pull/1084) ([shakkernerd](https://github.com/shakkernerd)) +- chore: remove unnecessary packages [\#1083](https://github.com/ai16z/eliza/pull/1083) ([shakkernerd](https://github.com/shakkernerd)) +- fix: eslint command [\#1082](https://github.com/ai16z/eliza/pull/1082) ([shakkernerd](https://github.com/shakkernerd)) +- chore: fix broken pnpm lockfile [\#1081](https://github.com/ai16z/eliza/pull/1081) ([shakkernerd](https://github.com/shakkernerd)) +- chore: add npmignore file [\#1080](https://github.com/ai16z/eliza/pull/1080) ([shakkernerd](https://github.com/shakkernerd)) +- fix: transfer action linting errors [\#1079](https://github.com/ai16z/eliza/pull/1079) ([shakkernerd](https://github.com/shakkernerd)) +- fix: errors in swap action in plugin-near [\#1078](https://github.com/ai16z/eliza/pull/1078) ([shakkernerd](https://github.com/shakkernerd)) +- fix: remove unnecessary devDependencies [\#1077](https://github.com/ai16z/eliza/pull/1077) ([shakkernerd](https://github.com/shakkernerd)) +- fix: missing eslint config file [\#1076](https://github.com/ai16z/eliza/pull/1076) ([shakkernerd](https://github.com/shakkernerd)) +- fix: remove unnecessary devDependencies [\#1075](https://github.com/ai16z/eliza/pull/1075) ([shakkernerd](https://github.com/shakkernerd)) +- fix: incorrect eslint config file path [\#1074](https://github.com/ai16z/eliza/pull/1074) ([shakkernerd](https://github.com/shakkernerd)) +- chore: commented out unused variables in solana swap action's plugin [\#1073](https://github.com/ai16z/eliza/pull/1073) ([shakkernerd](https://github.com/shakkernerd)) +- fix: Fixed twitter posts include from including `/n` in the text [\#1070](https://github.com/ai16z/eliza/pull/1070) ([Titan-Node](https://github.com/Titan-Node)) +- feat: create README\_VI.md [\#1058](https://github.com/ai16z/eliza/pull/1058) ([tqdpham96](https://github.com/tqdpham96)) +- feat: add venice.ai image generation [\#1057](https://github.com/ai16z/eliza/pull/1057) ([proteanx](https://github.com/proteanx)) +- chore: improve eslint by --cache [\#1056](https://github.com/ai16z/eliza/pull/1056) ([shengxj1](https://github.com/shengxj1)) +- fix: Fix pnpm lockfiles [\#1055](https://github.com/ai16z/eliza/pull/1055) ([jzvikart](https://github.com/jzvikart)) +- fix: discord client ci issues [\#1054](https://github.com/ai16z/eliza/pull/1054) ([cygaar](https://github.com/cygaar)) +- Update docs \(CONTRIBUTING.md\) [\#1053](https://github.com/ai16z/eliza/pull/1053) ([lessuselesss](https://github.com/lessuselesss)) +- feat: add/change change through REST api \(client-direct\) [\#1052](https://github.com/ai16z/eliza/pull/1052) ([odilitime](https://github.com/odilitime)) +- fix: add auto to clients in types to use client-auto [\#1050](https://github.com/ai16z/eliza/pull/1050) ([HashWarlock](https://github.com/HashWarlock)) +- chore: improve smokeTests environment validation and logging [\#1046](https://github.com/ai16z/eliza/pull/1046) ([aramxc](https://github.com/aramxc)) +- fix: Allow bot to post tweets with images generated by the imageGenerationPlugin [\#1040](https://github.com/ai16z/eliza/pull/1040) ([tcm390](https://github.com/tcm390)) +- feat: add plugin-ton [\#1039](https://github.com/ai16z/eliza/pull/1039) ([jinbangyi](https://github.com/jinbangyi)) +- chore: improving client typing [\#1036](https://github.com/ai16z/eliza/pull/1036) ([BalanaguYashwanth](https://github.com/BalanaguYashwanth)) +- feat: add README\_TH.md in docs directory [\#1034](https://github.com/ai16z/eliza/pull/1034) ([derRizzMeister](https://github.com/derRizzMeister)) +- feat: Add Telegram Team features [\#1033](https://github.com/ai16z/eliza/pull/1033) ([azep-ninja](https://github.com/azep-ninja)) +- chore: Update package.json [\#1031](https://github.com/ai16z/eliza/pull/1031) ([Freytes](https://github.com/Freytes)) +- feat: plugin-story [\#1030](https://github.com/ai16z/eliza/pull/1030) ([jacob-tucker](https://github.com/jacob-tucker)) +- feat: Add plugin-nft-generation: create Solana NFT collections. [\#1011](https://github.com/ai16z/eliza/pull/1011) ([xwxtwd](https://github.com/xwxtwd)) +- test: adding tests. changed files actions.test.ts, messages.test.ts, models.test.ts [\#998](https://github.com/ai16z/eliza/pull/998) ([ai16z-demirix](https://github.com/ai16z-demirix)) +- fix: Fix Parameter Parsing in plugin-evm TransferAction and Return Transaction Hash [\#965](https://github.com/ai16z/eliza/pull/965) ([FWangZil](https://github.com/FWangZil)) +- feat: Updated characters types, Discord & Telegram enhancements [\#957](https://github.com/ai16z/eliza/pull/957) ([azep-ninja](https://github.com/azep-ninja)) +- feat: add plugin-sui [\#934](https://github.com/ai16z/eliza/pull/934) ([jnaulty](https://github.com/jnaulty)) +- Adding plugin for ZKsync Era [\#906](https://github.com/ai16z/eliza/pull/906) ([arose00](https://github.com/arose00)) +- chore: improve formatting of .env.example for better readability [\#897](https://github.com/ai16z/eliza/pull/897) ([guzus](https://github.com/guzus)) +- feat: multiversx plugin [\#860](https://github.com/ai16z/eliza/pull/860) ([mgavrila](https://github.com/mgavrila)) +- Add slack plugin [\#859](https://github.com/ai16z/eliza/pull/859) ([AIFlowML](https://github.com/AIFlowML)) +- feat: improve X/Twitter login with cookie validation and retry mechanism [\#856](https://github.com/ai16z/eliza/pull/856) ([arslanaybars](https://github.com/arslanaybars)) +- Fix/charity [\#852](https://github.com/ai16z/eliza/pull/852) ([awidearray](https://github.com/awidearray)) +- feat: Add NEAR Protocol plugin [\#847](https://github.com/ai16z/eliza/pull/847) ([serrrfirat](https://github.com/serrrfirat)) +- fix: load image from diff endpoints [\#837](https://github.com/ai16z/eliza/pull/837) ([qgpcybs](https://github.com/qgpcybs)) +- FAL image settings escape hatch [\#814](https://github.com/ai16z/eliza/pull/814) ([daojonesceo](https://github.com/daojonesceo)) + ## [v0.1.6-alpha.1](https://github.com/ai16z/eliza/tree/v0.1.6-alpha.1) (2024-12-13) [Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.5-alpha.5...v0.1.6-alpha.1) @@ -93,7 +276,7 @@ - feat: create README\_TH.md [\#918](https://github.com/ai16z/eliza/pull/918) ([asianviking](https://github.com/asianviking)) - feat: update gaianet config [\#915](https://github.com/ai16z/eliza/pull/915) ([L-jasmine](https://github.com/L-jasmine)) - fix: Farcater client cleanup and fixed response logic [\#914](https://github.com/ai16z/eliza/pull/914) ([sayangel](https://github.com/sayangel)) -- Twitter client enhancements [\#913](https://github.com/ai16z/eliza/pull/913) ([tharak123455](https://github.com/tharak123455)) +- feat: twitter client enhancements [\#913](https://github.com/ai16z/eliza/pull/913) ([tharak123455](https://github.com/tharak123455)) - feat: MAX\_TWEET\_LENGTH env implementation [\#912](https://github.com/ai16z/eliza/pull/912) ([onur-saf](https://github.com/onur-saf)) - feat: allow users to configure models for groq [\#910](https://github.com/ai16z/eliza/pull/910) ([oxSaturn](https://github.com/oxSaturn)) - fix: evaluation json parsing [\#907](https://github.com/ai16z/eliza/pull/907) ([cygaar](https://github.com/cygaar)) @@ -104,7 +287,7 @@ - chore: improved dev command [\#892](https://github.com/ai16z/eliza/pull/892) ([shakkernerd](https://github.com/shakkernerd)) - chore: added more help message to the important notice text. [\#891](https://github.com/ai16z/eliza/pull/891) ([shakkernerd](https://github.com/shakkernerd)) - chore: update models for groq [\#890](https://github.com/ai16z/eliza/pull/890) ([oxSaturn](https://github.com/oxSaturn)) -- Feat : github image cicd [\#889](https://github.com/ai16z/eliza/pull/889) ([v1xingyue](https://github.com/v1xingyue)) +- feat : github image cicd [\#889](https://github.com/ai16z/eliza/pull/889) ([v1xingyue](https://github.com/v1xingyue)) - chore: enhance dev script, performance improvement and add help message [\#887](https://github.com/ai16z/eliza/pull/887) ([shakkernerd](https://github.com/shakkernerd)) - chore: disable building docs on build command [\#884](https://github.com/ai16z/eliza/pull/884) ([shakkernerd](https://github.com/shakkernerd)) - fix: re-enable coverage report upload to Codecov in CI workflow [\#880](https://github.com/ai16z/eliza/pull/880) ([snobbee](https://github.com/snobbee)) @@ -235,7 +418,7 @@ - New knowledge not being ingested into agent memory after first run [\#614](https://github.com/ai16z/eliza/issues/614) - Tests failing - token.test.ts failing because it is commented out. Cache and goals tests are failing because jest is now switched with vitest [\#519](https://github.com/ai16z/eliza/issues/519) - Non node.js environments have issues building \(workers for instance\) [\#506](https://github.com/ai16z/eliza/issues/506) -- Error when call `generateObject` [\#469](https://github.com/ai16z/eliza/issues/469) +- Error when call `generateObjectV2` [\#469](https://github.com/ai16z/eliza/issues/469) - Current token.test.ts and videoGeneration.test.ts are throwing errors [\#464](https://github.com/ai16z/eliza/issues/464) - unable to run defaultcharacter with ModelProviderName.LLAMACLOUD local [\#271](https://github.com/ai16z/eliza/issues/271) - Incorrect steps in readme for starting eliza [\#270](https://github.com/ai16z/eliza/issues/270) diff --git a/agent/package.json b/agent/package.json index a0d291f9341..3f25e7b553c 100644 --- a/agent/package.json +++ b/agent/package.json @@ -1,61 +1,61 @@ { - "name": "@ai16z/agent", - "version": "0.1.5-alpha.6", - "main": "src/index.ts", - "type": "module", - "scripts": { - "start": "node --loader ts-node/esm src/index.ts", - "dev": "node --loader ts-node/esm src/index.ts", - "check-types": "tsc --noEmit" - }, - "nodemonConfig": { - "watch": [ - "src", - "../core/dist" - ], - "ext": "ts,json", - "exec": "node --enable-source-maps --loader ts-node/esm src/index.ts" - }, - "dependencies": { - "@ai16z/adapter-postgres": "workspace:*", - "@ai16z/adapter-sqlite": "workspace:*", - "@ai16z/client-auto": "workspace:*", - "@ai16z/client-direct": "workspace:*", - "@ai16z/client-discord": "workspace:*", - "@ai16z/client-farcaster": "workspace:*", - "@ai16z/client-lens": "workspace:*", - "@ai16z/client-telegram": "workspace:*", - "@ai16z/client-twitter": "workspace:*", - "@ai16z/client-slack": "workspace:*", - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-0g": "workspace:*", - "@ai16z/plugin-aptos": "workspace:*", - "@ai16z/plugin-bootstrap": "workspace:*", - "@ai16z/plugin-intiface": "workspace:*", - "@ai16z/plugin-coinbase": "workspace:*", - "@ai16z/plugin-conflux": "workspace:*", - "@ai16z/plugin-evm": "workspace:*", - "@ai16z/plugin-flow": "workspace:*", - "@ai16z/plugin-story": "workspace:*", - "@ai16z/plugin-goat": "workspace:*", - "@ai16z/plugin-icp": "workspace:*", - "@ai16z/plugin-image-generation": "workspace:*", - "@ai16z/plugin-nft-generation": "workspace:*", - "@ai16z/plugin-node": "workspace:*", - "@ai16z/plugin-solana": "workspace:*", - "@ai16z/plugin-starknet": "workspace:*", - "@ai16z/plugin-ton": "workspace:*", - "@ai16z/plugin-sui": "workspace:*", - "@ai16z/plugin-tee": "workspace:*", - "@ai16z/plugin-multiversx": "workspace:*", - "@ai16z/plugin-near": "workspace:*", - "@ai16z/plugin-zksync-era": "workspace:*", - "readline": "1.3.0", - "ws": "8.18.0", - "yargs": "17.7.2" - }, - "devDependencies": { - "ts-node": "10.9.2", - "tsup": "8.3.5" - } + "name": "@ai16z/agent", + "version": "0.1.6-alpha.4", + "main": "src/index.ts", + "type": "module", + "scripts": { + "start": "node --loader ts-node/esm src/index.ts", + "dev": "node --loader ts-node/esm src/index.ts", + "check-types": "tsc --noEmit" + }, + "nodemonConfig": { + "watch": [ + "src", + "../core/dist" + ], + "ext": "ts,json", + "exec": "node --enable-source-maps --loader ts-node/esm src/index.ts" + }, + "dependencies": { + "@ai16z/adapter-postgres": "workspace:*", + "@ai16z/adapter-sqlite": "workspace:*", + "@ai16z/client-auto": "workspace:*", + "@ai16z/client-direct": "workspace:*", + "@ai16z/client-discord": "workspace:*", + "@ai16z/client-farcaster": "workspace:*", + "@ai16z/client-lens": "workspace:*", + "@ai16z/client-telegram": "workspace:*", + "@ai16z/client-twitter": "workspace:*", + "@ai16z/client-slack": "workspace:*", + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-0g": "workspace:*", + "@ai16z/plugin-aptos": "workspace:*", + "@ai16z/plugin-bootstrap": "workspace:*", + "@ai16z/plugin-intiface": "workspace:*", + "@ai16z/plugin-coinbase": "workspace:*", + "@ai16z/plugin-conflux": "workspace:*", + "@ai16z/plugin-evm": "workspace:*", + "@ai16z/plugin-flow": "workspace:*", + "@ai16z/plugin-story": "workspace:*", + "@ai16z/plugin-goat": "workspace:*", + "@ai16z/plugin-icp": "workspace:*", + "@ai16z/plugin-image-generation": "workspace:*", + "@ai16z/plugin-nft-generation": "workspace:*", + "@ai16z/plugin-node": "workspace:*", + "@ai16z/plugin-solana": "workspace:*", + "@ai16z/plugin-starknet": "workspace:*", + "@ai16z/plugin-ton": "workspace:*", + "@ai16z/plugin-sui": "workspace:*", + "@ai16z/plugin-tee": "workspace:*", + "@ai16z/plugin-multiversx": "workspace:*", + "@ai16z/plugin-near": "workspace:*", + "@ai16z/plugin-zksync-era": "workspace:*", + "readline": "1.3.0", + "ws": "8.18.0", + "yargs": "17.7.2" + }, + "devDependencies": { + "ts-node": "10.9.2", + "tsup": "8.3.5" + } } diff --git a/agent/src/index.ts b/agent/src/index.ts index c1adee63c68..d4f0448f63a 100644 --- a/agent/src/index.ts +++ b/agent/src/index.ts @@ -69,8 +69,8 @@ export const wait = (minTime: number = 1000, maxTime: number = 3000) => { }; const logFetch = async (url: string, options: any) => { - elizaLogger.info(`Fetching ${url}`); - elizaLogger.info(JSON.stringify(options, null, 2)); + elizaLogger.debug(`Fetching ${url}`); + elizaLogger.debug(JSON.stringify(options, null, 2)); return fetch(url, options); }; @@ -647,6 +647,11 @@ const startAgents = async () => { elizaLogger.error("Error starting agents:", error); } + // upload some agent functionality into directClient + directClient.startAgent = async character => { + // wrap it so we don't have to inject directClient later + return startAgent(character, directClient) + }; directClient.start(serverPort); elizaLogger.log("Visit the following URL to chat with your agents:"); diff --git a/client/package.json b/client/package.json index 1e4dc2c25d8..b256f15de9e 100644 --- a/client/package.json +++ b/client/package.json @@ -1,47 +1,47 @@ { - "name": "eliza-client", - "private": true, - "version": "0.1.5-alpha.1", - "type": "module", - "scripts": { - "dev": "vite", - "build": "vite build", - "check-types": "tsc --noEmit", - "lint": "eslint .", - "preview": "vite preview" - }, - "dependencies": { - "@ai16z/eliza": "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": "eliza-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": { + "@ai16z/eliza": "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" + } } diff --git a/docker-compose.yaml b/docker-compose.yaml index 5218297e48d..55dd8e6ce67 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,6 +1,5 @@ services: tee: - command: ["pnpm", "start"] build: context: . dockerfile: Dockerfile diff --git a/docs/package.json b/docs/package.json index 69420840dfb..595cb9b363d 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,55 +1,55 @@ { - "name": "eliza-docs", - "version": "0.1.5-alpha.1", - "private": true, - "scripts": { - "docusaurus": "docusaurus", - "start": "docusaurus start --no-open", - "dev": "docusaurus start --port 3002 --no-open", - "build": "docusaurus build", - "swizzle": "docusaurus swizzle", - "deploy": "docusaurus deploy", - "clear": "docusaurus clear", - "serve": "docusaurus serve", - "write-translations": "docusaurus write-translations", - "write-heading-ids": "docusaurus write-heading-ids" - }, - "dependencies": { - "@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.1", - "docusaurus-lunr-search": "3.5.0", - "dotenv": "^16.4.7", - "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.3", - "@docusaurus/types": "3.6.3", - "docusaurus-plugin-typedoc": "1.0.5", - "typedoc": "0.26.11", - "typedoc-plugin-markdown": "4.2.10" - }, - "browserslist": { - "production": [ - ">0.5%", - "not dead", - "not op_mini all" - ], - "development": [ - "last 3 chrome version", - "last 3 firefox version", - "last 5 safari version" - ] - }, - "engines": { - "node": "23.3.0" - } + "name": "eliza-docs", + "version": "0.1.6-alpha.4", + "private": true, + "scripts": { + "docusaurus": "docusaurus", + "start": "docusaurus start --no-open", + "dev": "docusaurus start --port 3002 --no-open", + "build": "docusaurus build", + "swizzle": "docusaurus swizzle", + "deploy": "docusaurus deploy", + "clear": "docusaurus clear", + "serve": "docusaurus serve", + "write-translations": "docusaurus write-translations", + "write-heading-ids": "docusaurus write-heading-ids" + }, + "dependencies": { + "@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.1", + "docusaurus-lunr-search": "3.5.0", + "dotenv": "^16.4.7", + "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.3", + "@docusaurus/types": "3.6.3", + "docusaurus-plugin-typedoc": "1.0.5", + "typedoc": "0.26.11", + "typedoc-plugin-markdown": "4.2.10" + }, + "browserslist": { + "production": [ + ">0.5%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 3 chrome version", + "last 3 firefox version", + "last 5 safari version" + ] + }, + "engines": { + "node": "23.3.0" + } } diff --git a/lerna.json b/lerna.json index e8390a9625c..24d0a8d7adf 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,11 @@ { - "version": "0.1.5-alpha.5", - "packages": ["packages/*", "docs", "agent", "client", "!packages/_examples"], - "npmClient": "pnpm" + "version": "0.1.6-alpha.4", + "packages": [ + "packages/*", + "docs", + "agent", + "client", + "!packages/_examples" + ], + "npmClient": "pnpm" } diff --git a/packages/adapter-postgres/package.json b/packages/adapter-postgres/package.json index d31786af3e6..cca3665d741 100644 --- a/packages/adapter-postgres/package.json +++ b/packages/adapter-postgres/package.json @@ -1,20 +1,20 @@ { - "name": "@ai16z/adapter-postgres", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@types/pg": "8.11.10", - "pg": "8.13.1" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - } + "name": "@ai16z/adapter-postgres", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@types/pg": "8.11.10", + "pg": "8.13.1" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + } } diff --git a/packages/adapter-sqlite/package.json b/packages/adapter-sqlite/package.json index 0a073ffa750..d3f47a0ba27 100644 --- a/packages/adapter-sqlite/package.json +++ b/packages/adapter-sqlite/package.json @@ -1,24 +1,24 @@ { - "name": "@ai16z/adapter-sqlite", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@types/better-sqlite3": "7.6.12", - "better-sqlite3": "11.6.0", - "sqlite-vec": "0.1.6" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/adapter-sqlite", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@types/better-sqlite3": "7.6.12", + "better-sqlite3": "11.6.0", + "sqlite-vec": "0.1.6" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/adapter-sqljs/package.json b/packages/adapter-sqljs/package.json index 12bfd7955d7..d5d8e58ffc3 100644 --- a/packages/adapter-sqljs/package.json +++ b/packages/adapter-sqljs/package.json @@ -1,24 +1,24 @@ { - "name": "@ai16z/adapter-sqljs", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@types/sql.js": "1.4.9", - "sql.js": "1.12.0", - "uuid": "11.0.3" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/adapter-sqljs", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@types/sql.js": "1.4.9", + "sql.js": "1.12.0", + "uuid": "11.0.3" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/adapter-supabase/package.json b/packages/adapter-supabase/package.json index 42ac235158e..be0f7ef773f 100644 --- a/packages/adapter-supabase/package.json +++ b/packages/adapter-supabase/package.json @@ -1,22 +1,22 @@ { - "name": "@ai16z/adapter-supabase", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@supabase/supabase-js": "2.46.2" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/adapter-supabase", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@supabase/supabase-js": "2.46.2" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/client-auto/package.json b/packages/client-auto/package.json index bba44fe65b1..b2054c42af3 100644 --- a/packages/client-auto/package.json +++ b/packages/client-auto/package.json @@ -1,27 +1,27 @@ { - "name": "@ai16z/client-auto", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@types/body-parser": "1.19.5", - "@types/cors": "2.8.17", - "@types/express": "5.0.0", - "body-parser": "1.20.3", - "cors": "2.8.5", - "multer": "1.4.5-lts.1" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/client-auto", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@types/body-parser": "1.19.5", + "@types/cors": "2.8.17", + "@types/express": "5.0.0", + "body-parser": "1.20.3", + "cors": "2.8.5", + "multer": "1.4.5-lts.1" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/client-direct/package.json b/packages/client-direct/package.json index 7ff770a71bf..3220ae74405 100644 --- a/packages/client-direct/package.json +++ b/packages/client-direct/package.json @@ -1,30 +1,30 @@ { - "name": "@ai16z/client-direct", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-image-generation": "workspace:*", - "@types/body-parser": "1.19.5", - "@types/cors": "2.8.17", - "@types/express": "5.0.0", - "body-parser": "1.20.3", - "cors": "2.8.5", - "discord.js": "14.16.3", - "express": "4.21.1", - "multer": "1.4.5-lts.1" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/client-direct", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-image-generation": "workspace:*", + "@types/body-parser": "1.19.5", + "@types/cors": "2.8.17", + "@types/express": "5.0.0", + "body-parser": "1.20.3", + "cors": "2.8.5", + "discord.js": "14.16.3", + "express": "4.21.1", + "multer": "1.4.5-lts.1" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/client-discord/package.json b/packages/client-discord/package.json index eca9bc8ce03..d04adb65b1d 100644 --- a/packages/client-discord/package.json +++ b/packages/client-discord/package.json @@ -1,33 +1,33 @@ { - "name": "@ai16z/client-discord", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-node": "workspace:*", - "@discordjs/opus": "github:discordjs/opus", - "@discordjs/rest": "2.4.0", - "@discordjs/voice": "0.17.0", - "discord.js": "14.16.3", - "libsodium-wrappers": "0.7.15", - "prism-media": "1.3.5", - "zod": "3.23.8" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "trustedDependencies": { - "@discordjs/opus": "github:discordjs/opus", - "@discordjs/voice": "0.17.0" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/client-discord", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-node": "workspace:*", + "@discordjs/opus": "github:discordjs/opus", + "@discordjs/rest": "2.4.0", + "@discordjs/voice": "0.17.0", + "discord.js": "14.16.3", + "libsodium-wrappers": "0.7.15", + "prism-media": "1.3.5", + "zod": "3.23.8" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "trustedDependencies": { + "@discordjs/opus": "github:discordjs/opus", + "@discordjs/voice": "0.17.0" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/client-discord/src/messages.ts b/packages/client-discord/src/messages.ts index 36411e82b61..0493bd5bf9f 100644 --- a/packages/client-discord/src/messages.ts +++ b/packages/client-discord/src/messages.ts @@ -508,24 +508,44 @@ export class MessageManager { } private _isMessageForMe(message: DiscordMessage): boolean { - const isMentioned = message.mentions.users?.has(this.client.user?.id as string); + const isMentioned = message.mentions.users?.has( + this.client.user?.id as string + ); const guild = message.guild; const member = guild?.members.cache.get(this.client.user?.id as string); const nickname = member?.nickname; - const memberId = member?.id; // Don't consider role mentions as direct mentions - const hasRoleMentionOnly = message.mentions.roles.size > 0 && !isMentioned; + const hasRoleMentionOnly = + message.mentions.roles.size > 0 && !isMentioned; // If it's only a role mention and we're in team mode, let team logic handle it - if (hasRoleMentionOnly && this.runtime.character.clientConfig?.discord?.isPartOfTeam) { + if ( + hasRoleMentionOnly && + this.runtime.character.clientConfig?.discord?.isPartOfTeam + ) { return false; } - return isMentioned || (!this.runtime.character.clientConfig?.discord?.shouldRespondOnlyToMentions && ( - message.content.toLowerCase().includes(this.client.user?.username.toLowerCase() as string) || - message.content.toLowerCase().includes(this.client.user?.tag.toLowerCase() as string) || - (nickname && message.content.toLowerCase().includes(nickname.toLowerCase())))); + return ( + isMentioned || + (!this.runtime.character.clientConfig?.discord + ?.shouldRespondOnlyToMentions && + (message.content + .toLowerCase() + .includes( + this.client.user?.username.toLowerCase() as string + ) || + message.content + .toLowerCase() + .includes( + this.client.user?.tag.toLowerCase() as string + ) || + (nickname && + message.content + .toLowerCase() + .includes(nickname.toLowerCase())))) + ); } async processMessageMedia( @@ -1287,4 +1307,4 @@ export class MessageManager { const data = await response.json(); return data.username; } -} \ No newline at end of file +} diff --git a/packages/client-farcaster/package.json b/packages/client-farcaster/package.json index ee9356753cf..65686998735 100644 --- a/packages/client-farcaster/package.json +++ b/packages/client-farcaster/package.json @@ -1,18 +1,18 @@ { - "name": "@ai16z/client-farcaster", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@neynar/nodejs-sdk": "^2.0.3" - }, - "devDependencies": { - "tsup": "^8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - } + "name": "@ai16z/client-farcaster", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@neynar/nodejs-sdk": "^2.0.3" + }, + "devDependencies": { + "tsup": "^8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + } } diff --git a/packages/client-github/package.json b/packages/client-github/package.json index 183e4fb98df..59311f614b7 100644 --- a/packages/client-github/package.json +++ b/packages/client-github/package.json @@ -1,23 +1,23 @@ { - "name": "@ai16z/client-github", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@octokit/rest": "20.1.1", - "@octokit/types": "12.6.0", - "glob": "10.4.5", - "simple-git": "3.27.0" - }, - "devDependencies": { - "@types/glob": "8.1.0", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - } + "name": "@ai16z/client-github", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@octokit/rest": "20.1.1", + "@octokit/types": "12.6.0", + "glob": "10.4.5", + "simple-git": "3.27.0" + }, + "devDependencies": { + "@types/glob": "8.1.0", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + } } diff --git a/packages/client-lens/package.json b/packages/client-lens/package.json index dde5925912e..0e8c95fe62a 100644 --- a/packages/client-lens/package.json +++ b/packages/client-lens/package.json @@ -1,24 +1,24 @@ { - "name": "@ai16z/client-lens", - "version": "0.1.0", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@lens-protocol/client": "2.2.0", - "@lens-protocol/metadata": "1.2.0", - "axios": "^1.7.9", - "viem": "^2.13.8" - }, - "devDependencies": { - "tsup": "^8.3.5" - }, - "peerDependencies": { - "@ai16z/eliza": "workspace:*" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - } + "name": "@ai16z/client-lens", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@lens-protocol/client": "2.2.0", + "@lens-protocol/metadata": "1.2.0", + "axios": "^1.7.9", + "viem": "^2.13.8" + }, + "devDependencies": { + "tsup": "^8.3.5" + }, + "peerDependencies": { + "@ai16z/eliza": "workspace:*" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + } } diff --git a/packages/client-slack/package.json b/packages/client-slack/package.json index 4e0f503fafd..28d59f917cb 100644 --- a/packages/client-slack/package.json +++ b/packages/client-slack/package.json @@ -1,45 +1,45 @@ { - "name": "@ai16z/client-slack", - "version": "0.1.0", - "description": "Slack client plugin for Eliza framework", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "scripts": { - "build": "tsup src/index.ts --format esm --dts", - "test": "jest", - "lint": "eslint --fix --cache .", - "clean": "rimraf dist", - "dev": "tsup src/index.ts --watch", - "example": "ts-node src/examples/standalone-example.ts", - "example:attachment": "ts-node src/examples/standalone-attachment.ts", - "example:summarize": "ts-node src/examples/standalone-summarize.ts", - "example:transcribe": "ts-node src/examples/standalone-transcribe.ts" - }, - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ffmpeg-installer/ffmpeg": "^1.1.0", - "@slack/events-api": "^3.0.1", - "@slack/web-api": "^6.8.1", - "body-parser": "^1.20.2", - "dotenv": "^16.0.3", - "express": "^4.18.2", - "fluent-ffmpeg": "^2.1.2", - "node-fetch": "^2.6.9" - }, - "devDependencies": { - "@types/express": "^4.17.21", - "@types/fluent-ffmpeg": "^2.1.24", - "@types/jest": "^29.5.0", - "@types/node": "^18.15.11", - "jest": "^29.5.0", - "rimraf": "^5.0.0", - "ts-jest": "^29.1.0", - "ts-node": "^10.9.1", - "tsup": "^8.3.5", - "typescript": "^5.0.0" - }, - "engines": { - "node": ">=14.0.0" - } + "name": "@ai16z/client-slack", + "version": "0.1.6-alpha.4", + "description": "Slack client plugin for Eliza framework", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "scripts": { + "build": "tsup src/index.ts --format esm --dts", + "test": "jest", + "lint": "eslint --fix --cache .", + "clean": "rimraf dist", + "dev": "tsup src/index.ts --watch", + "example": "ts-node src/examples/standalone-example.ts", + "example:attachment": "ts-node src/examples/standalone-attachment.ts", + "example:summarize": "ts-node src/examples/standalone-summarize.ts", + "example:transcribe": "ts-node src/examples/standalone-transcribe.ts" + }, + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ffmpeg-installer/ffmpeg": "^1.1.0", + "@slack/events-api": "^3.0.1", + "@slack/web-api": "^6.8.1", + "body-parser": "^1.20.2", + "dotenv": "^16.0.3", + "express": "^4.18.2", + "fluent-ffmpeg": "^2.1.2", + "node-fetch": "^2.6.9" + }, + "devDependencies": { + "@types/express": "^4.17.21", + "@types/fluent-ffmpeg": "^2.1.24", + "@types/jest": "^29.5.0", + "@types/node": "^18.15.11", + "jest": "^29.5.0", + "rimraf": "^5.0.0", + "ts-jest": "^29.1.0", + "ts-node": "^10.9.1", + "tsup": "^8.3.5", + "typescript": "^5.0.0" + }, + "engines": { + "node": ">=14.0.0" + } } diff --git a/packages/client-telegram/package.json b/packages/client-telegram/package.json index 597abf5e0c1..ad29702bab5 100644 --- a/packages/client-telegram/package.json +++ b/packages/client-telegram/package.json @@ -1,21 +1,21 @@ { - "name": "@ai16z/client-telegram", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@telegraf/types": "7.1.0", - "telegraf": "4.16.3", - "zod": "3.23.8" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - } + "name": "@ai16z/client-telegram", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@telegraf/types": "7.1.0", + "telegraf": "4.16.3", + "zod": "3.23.8" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + } } diff --git a/packages/client-telegram/src/messageManager.ts b/packages/client-telegram/src/messageManager.ts index 8ee3937fa1b..6b37981f39e 100644 --- a/packages/client-telegram/src/messageManager.ts +++ b/packages/client-telegram/src/messageManager.ts @@ -322,12 +322,15 @@ export class MessageManager { 'caption' in message ? (message as any).caption : ''; if (!messageText) return false; + const isReplyToBot = (message as any).reply_to_message?.from?.is_bot === true && + (message as any).reply_to_message?.from?.username === botUsername; const isMentioned = messageText.includes(`@${botUsername}`); const hasUsername = messageText.toLowerCase().includes(botUsername.toLowerCase()); - return isMentioned || (!this.runtime.character.clientConfig?.telegram?.shouldRespondOnlyToMentions && hasUsername); + return isReplyToBot || isMentioned || (!this.runtime.character.clientConfig?.telegram?.shouldRespondOnlyToMentions && hasUsername); } + private _checkInterest(chatId: string): boolean { const chatState = this.interestChats[chatId]; if (!chatState) return false; @@ -360,22 +363,6 @@ export class MessageManager { return true; } - private _isMessageForMe(message: Message): boolean { - const botUsername = this.bot.botInfo?.username; - if (!botUsername) return false; - - const messageText = 'text' in message ? message.text : - 'caption' in message ? (message as any).caption : ''; - if (!messageText) return false; - - const isReplyToBot = (message as any).reply_to_message?.from?.is_bot === true && - (message as any).reply_to_message?.from?.username === botUsername; - const isMentioned = messageText.includes(`@${botUsername}`); - const hasUsername = messageText.toLowerCase().includes(botUsername.toLowerCase()); - - return isReplyToBot || isMentioned || (!this.runtime.character.clientConfig?.telegram?.shouldRespondOnlyToMentions && hasUsername); - } - // Process image messages and generate descriptions private async processImage( message: Message @@ -422,7 +409,7 @@ export class MessageManager { message: Message, state: State ): Promise { - + if (this.runtime.character.clientConfig?.telegram?.shouldRespondOnlyToMentions) { return this._isMessageForMe(message); } diff --git a/packages/client-twitter/package.json b/packages/client-twitter/package.json index 7bbc095b217..8b5b885128a 100644 --- a/packages/client-twitter/package.json +++ b/packages/client-twitter/package.json @@ -1,24 +1,24 @@ { - "name": "@ai16z/client-twitter", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "agent-twitter-client": "0.0.16", - "glob": "11.0.0", - "zod": "3.23.8" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/client-twitter", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "agent-twitter-client": "0.0.16", + "glob": "11.0.0", + "zod": "3.23.8" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/client-twitter/src/base.ts b/packages/client-twitter/src/base.ts index 255cac43bff..76fe766bf13 100644 --- a/packages/client-twitter/src/base.ts +++ b/packages/client-twitter/src/base.ts @@ -157,19 +157,22 @@ export class ClientBase extends EventEmitter { const username = this.runtime.getSetting("TWITTER_USERNAME"); const password = this.runtime.getSetting("TWITTER_PASSWORD"); const email = this.runtime.getSetting("TWITTER_EMAIL"); - const twitter2faSecret = this.runtime.getSetting("TWITTER_2FA_SECRET") || undefined; + const twitter2faSecret = + this.runtime.getSetting("TWITTER_2FA_SECRET") || undefined; const cookies = this.runtime.getSetting("TWITTER_COOKIES"); - if (!username) { throw new Error("Twitter username not configured"); } // Check for Twitter cookies if (cookies) { + elizaLogger.debug("Using cookies from settings"); const cookiesArray = JSON.parse(cookies); await this.setCookiesFromArray(cookiesArray); } else { + elizaLogger.debug("No cookies found in settings"); + elizaLogger.debug("Checking for cached cookies"); const cachedCookies = await this.getCachedCookies(username); if (cachedCookies) { await this.setCookiesFromArray(cachedCookies); @@ -180,7 +183,8 @@ export class ClientBase extends EventEmitter { let retries = 5; // Optional: Set a retry limit while (retries > 0) { const cookies = await this.twitterClient.getCookies(); - if (await this.twitterClient.isLoggedIn() || !!cookies) { + if ((await this.twitterClient.isLoggedIn()) && !!cookies) { + elizaLogger.info("Already logged in."); await this.cacheCookies(username, cookies); elizaLogger.info("Successfully logged in and cookies cached."); break; @@ -198,10 +202,14 @@ export class ClientBase extends EventEmitter { } retries--; - elizaLogger.error(`Failed to login to Twitter. Retrying... (${retries} attempts left)`); + elizaLogger.error( + `Failed to login to Twitter. Retrying... (${retries} attempts left)` + ); if (retries === 0) { - elizaLogger.error("Max retries reached. Exiting login process."); + elizaLogger.error( + "Max retries reached. Exiting login process." + ); throw new Error("Twitter login failed after maximum retries."); } @@ -243,63 +251,72 @@ export class ClientBase extends EventEmitter { async fetchHomeTimeline(count: number): Promise { elizaLogger.debug("fetching home timeline"); - const homeTimeline = await this.twitterClient.fetchHomeTimeline(count, []); + const homeTimeline = await this.twitterClient.fetchHomeTimeline( + count, + [] + ); elizaLogger.debug(homeTimeline, { depth: Infinity }); const processedTimeline = homeTimeline - .filter((t) => t.__typename !== "TweetWithVisibilityResults") // what's this about? - .map((tweet) => { - //console.log("tweet is", tweet); - const obj = { - id: tweet.id, - name: - tweet.name ?? - tweet?.user_results?.result?.legacy.name, - username: - tweet.username ?? - tweet.core?.user_results?.result?.legacy.screen_name, - text: tweet.text ?? tweet.legacy?.full_text, - inReplyToStatusId: - tweet.inReplyToStatusId ?? - tweet.legacy?.in_reply_to_status_id_str ?? - null, - timestamp: new Date(tweet.legacy?.created_at).getTime() / 1000, - createdAt: tweet.createdAt ?? tweet.legacy?.created_at ?? tweet.core?.user_results?.result?.legacy.created_at, - userId: tweet.userId ?? tweet.legacy?.user_id_str, - conversationId: - tweet.conversationId ?? - tweet.legacy?.conversation_id_str, - permanentUrl: `https://x.com/${tweet.core?.user_results?.result?.legacy?.screen_name}/status/${tweet.rest_id}`, - hashtags: tweet.hashtags ?? tweet.legacy?.entities.hashtags, - mentions: - tweet.mentions ?? tweet.legacy?.entities.user_mentions, - photos: - tweet.photos ?? - tweet.legacy?.entities.media?.filter( - (media) => media.type === "photo" - ) ?? - [], - thread: tweet.thread || [], - urls: tweet.urls ?? tweet.legacy?.entities.urls, - videos: - tweet.videos ?? - tweet.legacy?.entities.media?.filter( - (media) => media.type === "video" - ) ?? - [], - }; - //console.log("obj is", obj); - return obj; - }); + .filter((t) => t.__typename !== "TweetWithVisibilityResults") // what's this about? + .map((tweet) => { + //console.log("tweet is", tweet); + const obj = { + id: tweet.id, + name: + tweet.name ?? tweet?.user_results?.result?.legacy.name, + username: + tweet.username ?? + tweet.core?.user_results?.result?.legacy.screen_name, + text: tweet.text ?? tweet.legacy?.full_text, + inReplyToStatusId: + tweet.inReplyToStatusId ?? + tweet.legacy?.in_reply_to_status_id_str ?? + null, + timestamp: + new Date(tweet.legacy?.created_at).getTime() / 1000, + createdAt: + tweet.createdAt ?? + tweet.legacy?.created_at ?? + tweet.core?.user_results?.result?.legacy.created_at, + userId: tweet.userId ?? tweet.legacy?.user_id_str, + conversationId: + tweet.conversationId ?? + tweet.legacy?.conversation_id_str, + permanentUrl: `https://x.com/${tweet.core?.user_results?.result?.legacy?.screen_name}/status/${tweet.rest_id}`, + hashtags: tweet.hashtags ?? tweet.legacy?.entities.hashtags, + mentions: + tweet.mentions ?? tweet.legacy?.entities.user_mentions, + photos: + tweet.photos ?? + tweet.legacy?.entities.media?.filter( + (media) => media.type === "photo" + ) ?? + [], + thread: tweet.thread || [], + urls: tweet.urls ?? tweet.legacy?.entities.urls, + videos: + tweet.videos ?? + tweet.legacy?.entities.media?.filter( + (media) => media.type === "video" + ) ?? + [], + }; + //console.log("obj is", obj); + return obj; + }); //elizaLogger.debug("process homeTimeline", processedTimeline); return processedTimeline; } async fetchTimelineForActions(count: number): Promise { elizaLogger.debug("fetching timeline for actions"); - const homeTimeline = await this.twitterClient.fetchHomeTimeline(count, []); + const homeTimeline = await this.twitterClient.fetchHomeTimeline( + count, + [] + ); - return homeTimeline.map(tweet => ({ + return homeTimeline.map((tweet) => ({ id: tweet.rest_id, name: tweet.core?.user_results?.result?.legacy?.name, username: tweet.core?.user_results?.result?.legacy?.screen_name, @@ -311,10 +328,16 @@ export class ClientBase extends EventEmitter { permanentUrl: `https://twitter.com/${tweet.core?.user_results?.result?.legacy?.screen_name}/status/${tweet.rest_id}`, hashtags: tweet.legacy?.entities?.hashtags || [], mentions: tweet.legacy?.entities?.user_mentions || [], - photos: tweet.legacy?.entities?.media?.filter(media => media.type === "photo") || [], + photos: + tweet.legacy?.entities?.media?.filter( + (media) => media.type === "photo" + ) || [], thread: tweet.thread || [], urls: tweet.legacy?.entities?.urls || [], - videos: tweet.legacy?.entities?.media?.filter(media => media.type === "video") || [] + videos: + tweet.legacy?.entities?.media?.filter( + (media) => media.type === "video" + ) || [], })); } diff --git a/packages/client-whatsapp/package.json b/packages/client-whatsapp/package.json deleted file mode 100644 index 9a20800ecc6..00000000000 --- a/packages/client-whatsapp/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "@ai16z/client-whatsapp", - "version": "0.0.1", - "description": "WhatsApp client for Eliza", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "scripts": { - "build": "tsc", - "clean": "rimraf dist", - "test": "jest", - "lint": "eslint src --ext .ts" - }, - "dependencies": { - "@ai16z/eliza": "workspace:*" - }, - "devDependencies": { - "@types/node": "^20.0.0", - "typescript": "^5.0.0", - "rimraf": "^5.0.0", - "jest": "^29.0.0", - "@types/jest": "^29.0.0" - } -} \ No newline at end of file diff --git a/packages/client-whatsapp/src/actions/index.ts b/packages/client-whatsapp/src/actions/index.ts deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/packages/client-whatsapp/src/environment.ts b/packages/client-whatsapp/src/environment.ts deleted file mode 100644 index 3c046860268..00000000000 --- a/packages/client-whatsapp/src/environment.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { IAgentRuntime } from "@ai16z/eliza"; - -export async function validateWhatsAppConfig( - runtime: IAgentRuntime -): Promise { - const requiredSettings = [ - "WHATSAPP_API_TOKEN", - "WHATSAPP_PHONE_NUMBER_ID", - "WHATSAPP_APP_ID", - "WHATSAPP_APP_SECRET", - "WHATSAPP_WEBHOOK_VERIFY_TOKEN" - ]; - - for (const setting of requiredSettings) { - if (!runtime.getSetting(setting)) { - throw new Error( - `Missing required WhatsApp configuration: ${setting}` - ); - } - } -} \ No newline at end of file diff --git a/packages/client-whatsapp/src/index.ts b/packages/client-whatsapp/src/index.ts deleted file mode 100644 index f38b9dae85d..00000000000 --- a/packages/client-whatsapp/src/index.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { elizaLogger } from "@ai16z/eliza"; -import { Client, IAgentRuntime } from "@ai16z/eliza"; -import { WhatsAppClient } from "./whatsappClient"; -import { validateWhatsAppConfig } from "../../../eliza/packages/client-whatsapp/src/environment"; - -export const WhatsAppClientInterface: Client = { - start: async (runtime: IAgentRuntime) => { - await validateWhatsAppConfig(runtime); - - const client = new WhatsAppClient( - runtime, - runtime.getSetting("WHATSAPP_API_TOKEN"), - runtime.getSetting("WHATSAPP_PHONE_NUMBER_ID") - ); - - await client.start(); - - elizaLogger.success( - `✅ WhatsApp client successfully started for character ${runtime.character.name}` - ); - return client; - }, - stop: async (runtime: IAgentRuntime) => { - elizaLogger.warn("WhatsApp client stopping..."); - }, -}; - -export default WhatsAppClientInterface; \ No newline at end of file diff --git a/packages/core/package.json b/packages/core/package.json index be8d9c6a107..3d761aea771 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,79 +1,79 @@ { - "name": "@ai16z/eliza", - "version": "0.1.5-alpha.5", - "description": "", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "scripts": { - "build": "tsup --format esm --dts", - "lint": "eslint --fix --cache .", - "watch": "tsc --watch", - "dev": "tsup --format esm --dts --watch", - "build:docs": "cd docs && pnpm run build", - "test": "vitest run", - "test:coverage": "vitest run --coverage", - "test:watch": "vitest" - }, - "author": "", - "license": "MIT", - "devDependencies": { - "@eslint/js": "9.16.0", - "@rollup/plugin-commonjs": "25.0.8", - "@rollup/plugin-json": "6.1.0", - "@rollup/plugin-node-resolve": "15.3.0", - "@rollup/plugin-replace": "5.0.7", - "@rollup/plugin-terser": "0.1.0", - "@rollup/plugin-typescript": "11.1.6", - "@solana/web3.js": "1.95.8", - "@types/fluent-ffmpeg": "2.1.27", - "@types/jest": "29.5.14", - "@types/mocha": "10.0.10", - "@types/node": "22.8.4", - "@types/pdfjs-dist": "2.10.378", - "@types/tar": "6.1.13", - "@types/wav-encoder": "1.3.3", - "@typescript-eslint/eslint-plugin": "8.16.0", - "@typescript-eslint/parser": "8.16.0", - "@vitest/coverage-v8": "2.1.5", - "dotenv": "16.4.5", - "jest": "29.7.0", - "lint-staged": "15.2.10", - "nodemon": "3.1.7", - "pm2": "5.4.3", - "rimraf": "6.0.1", - "rollup": "2.79.2", - "ts-jest": "29.2.5", - "ts-node": "10.9.2", - "tslib": "2.8.1", - "tsup": "8.3.5", - "typescript": "5.6.3" - }, - "dependencies": { - "@ai-sdk/anthropic": "0.0.56", - "@ai-sdk/google": "0.0.55", - "@ai-sdk/google-vertex": "0.0.43", - "@ai-sdk/groq": "0.0.3", - "@ai-sdk/openai": "1.0.5", - "@anthropic-ai/sdk": "0.30.1", - "@fal-ai/client": "1.2.0", - "@types/uuid": "10.0.0", - "ai": "3.4.33", - "anthropic-vertex-ai": "1.0.2", - "fastembed": "1.14.1", - "fastestsmallesttextencoderdecoder": "1.0.22", - "gaxios": "6.7.1", - "glob": "11.0.0", - "handlebars": "^4.7.8", - "js-sha1": "0.7.0", - "js-tiktoken": "1.0.15", - "langchain": "0.3.6", - "ollama-ai-provider": "0.16.1", - "openai": "4.73.0", - "tinyld": "1.3.4", - "together-ai": "0.7.0", - "unique-names-generator": "4.7.1", - "uuid": "11.0.3", - "zod": "3.23.8" - } + "name": "@ai16z/eliza", + "version": "0.1.6-alpha.4", + "description": "", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "scripts": { + "build": "tsup --format esm --dts", + "lint": "eslint --fix --cache .", + "watch": "tsc --watch", + "dev": "tsup --format esm --dts --watch", + "build:docs": "cd docs && pnpm run build", + "test": "vitest run", + "test:coverage": "vitest run --coverage", + "test:watch": "vitest" + }, + "author": "", + "license": "MIT", + "devDependencies": { + "@eslint/js": "9.16.0", + "@rollup/plugin-commonjs": "25.0.8", + "@rollup/plugin-json": "6.1.0", + "@rollup/plugin-node-resolve": "15.3.0", + "@rollup/plugin-replace": "5.0.7", + "@rollup/plugin-terser": "0.1.0", + "@rollup/plugin-typescript": "11.1.6", + "@solana/web3.js": "1.95.8", + "@types/fluent-ffmpeg": "2.1.27", + "@types/jest": "29.5.14", + "@types/mocha": "10.0.10", + "@types/node": "22.8.4", + "@types/pdfjs-dist": "2.10.378", + "@types/tar": "6.1.13", + "@types/wav-encoder": "1.3.3", + "@typescript-eslint/eslint-plugin": "8.16.0", + "@typescript-eslint/parser": "8.16.0", + "@vitest/coverage-v8": "2.1.5", + "dotenv": "16.4.5", + "jest": "29.7.0", + "lint-staged": "15.2.10", + "nodemon": "3.1.7", + "pm2": "5.4.3", + "rimraf": "6.0.1", + "rollup": "2.79.2", + "ts-jest": "29.2.5", + "ts-node": "10.9.2", + "tslib": "2.8.1", + "tsup": "8.3.5", + "typescript": "5.6.3" + }, + "dependencies": { + "@ai-sdk/anthropic": "0.0.56", + "@ai-sdk/google": "0.0.55", + "@ai-sdk/google-vertex": "0.0.43", + "@ai-sdk/groq": "0.0.3", + "@ai-sdk/openai": "1.0.5", + "@anthropic-ai/sdk": "0.30.1", + "@fal-ai/client": "1.2.0", + "@types/uuid": "10.0.0", + "ai": "3.4.33", + "anthropic-vertex-ai": "1.0.2", + "fastembed": "1.14.1", + "fastestsmallesttextencoderdecoder": "1.0.22", + "gaxios": "6.7.1", + "glob": "11.0.0", + "handlebars": "^4.7.8", + "js-sha1": "0.7.0", + "js-tiktoken": "1.0.15", + "langchain": "0.3.6", + "ollama-ai-provider": "0.16.1", + "openai": "4.73.0", + "tinyld": "1.3.4", + "together-ai": "0.7.0", + "unique-names-generator": "4.7.1", + "uuid": "11.0.3", + "zod": "3.23.8" + } } diff --git a/packages/create-eliza-app/package.json b/packages/create-eliza-app/package.json index cb210c8f914..724d6a20bac 100644 --- a/packages/create-eliza-app/package.json +++ b/packages/create-eliza-app/package.json @@ -1,31 +1,31 @@ { - "name": "create-eliza-app", - "version": "0.1.5-alpha.5", - "description": "", - "sideEffects": false, - "files": [ - "dist" - ], - "main": "dist/index.cjs", - "bin": { - "create-eliza-app": "dist/index.mjs" - }, - "scripts": { - "build": "unbuild", - "lint": "eslint --fix --cache .", - "start": "node ./dist/index.cjs", - "automd": "automd" - }, - "keywords": [], - "author": "", - "license": "ISC", - "dependencies": { - "citty": "0.1.6", - "giget": "1.2.3" - }, - "devDependencies": { - "automd": "0.3.12", - "jiti": "2.4.0", - "unbuild": "2.0.0" - } + "name": "create-eliza-app", + "version": "0.1.6-alpha.4", + "description": "", + "sideEffects": false, + "files": [ + "dist" + ], + "main": "dist/index.cjs", + "bin": { + "create-eliza-app": "dist/index.mjs" + }, + "scripts": { + "build": "unbuild", + "lint": "eslint --fix --cache .", + "start": "node ./dist/index.cjs", + "automd": "automd" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "citty": "0.1.6", + "giget": "1.2.3" + }, + "devDependencies": { + "automd": "0.3.12", + "jiti": "2.4.0", + "unbuild": "2.0.0" + } } diff --git a/packages/plugin-0g/package.json b/packages/plugin-0g/package.json index fa36f6367ee..56345c1add6 100644 --- a/packages/plugin-0g/package.json +++ b/packages/plugin-0g/package.json @@ -1,18 +1,18 @@ { - "name": "@ai16z/plugin-0g", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@0glabs/0g-ts-sdk": "0.2.1", - "@ai16z/eliza": "workspace:*", - "ethers": "6.13.4", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest" - } + "name": "@ai16z/plugin-0g", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@0glabs/0g-ts-sdk": "0.2.1", + "@ai16z/eliza": "workspace:*", + "ethers": "6.13.4", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest" + } } diff --git a/packages/plugin-aptos/package.json b/packages/plugin-aptos/package.json index ae962419ac8..ab349239eee 100644 --- a/packages/plugin-aptos/package.json +++ b/packages/plugin-aptos/package.json @@ -1,26 +1,26 @@ { - "name": "@ai16z/plugin-aptos", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@aptos-labs/ts-sdk": "^1.26.0", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "node-cache": "5.1.2", - "tsup": "8.3.5", - "vitest": "2.1.4" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache .", - "test": "vitest run" - }, - "peerDependencies": { - "form-data": "4.0.1", - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-aptos", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@aptos-labs/ts-sdk": "^1.26.0", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "node-cache": "5.1.2", + "tsup": "8.3.5", + "vitest": "2.1.4" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache .", + "test": "vitest run" + }, + "peerDependencies": { + "form-data": "4.0.1", + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-bootstrap/package.json b/packages/plugin-bootstrap/package.json index 8edf2529572..6233aa95f74 100644 --- a/packages/plugin-bootstrap/package.json +++ b/packages/plugin-bootstrap/package.json @@ -1,19 +1,19 @@ { - "name": "@ai16z/plugin-bootstrap", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-bootstrap", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-coinbase/package.json b/packages/plugin-coinbase/package.json index f836f948c89..4e38b629e4e 100644 --- a/packages/plugin-coinbase/package.json +++ b/packages/plugin-coinbase/package.json @@ -1,24 +1,24 @@ { - "name": "@ai16z/plugin-coinbase", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "coinbase-api": "1.0.5", - "coinbase-advanced-sdk": "file:../../packages/plugin-coinbase/advanced-sdk-ts", - "jsonwebtoken": "^9.0.2", - "@types/jsonwebtoken": "^9.0.7", - "node-fetch": "^2.6.1" - }, - "devDependencies": { - "tsup": "8.3.5", - "@types/node": "^20.0.0" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - } + "name": "@ai16z/plugin-coinbase", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "coinbase-api": "1.0.5", + "coinbase-advanced-sdk": "file:../../packages/plugin-coinbase/advanced-sdk-ts", + "jsonwebtoken": "^9.0.2", + "@types/jsonwebtoken": "^9.0.7", + "node-fetch": "^2.6.1" + }, + "devDependencies": { + "tsup": "8.3.5", + "@types/node": "^20.0.0" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + } } diff --git a/packages/plugin-conflux/package.json b/packages/plugin-conflux/package.json index dff1e471aca..1804d8f6020 100644 --- a/packages/plugin-conflux/package.json +++ b/packages/plugin-conflux/package.json @@ -1,15 +1,15 @@ { - "name": "@ai16z/plugin-conflux", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "cive": "0.7.1" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - } + "name": "@ai16z/plugin-conflux", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "cive": "0.7.1" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + } } diff --git a/packages/plugin-echochambers/package.json b/packages/plugin-echochambers/package.json index 19723d0e590..511a06ea9f2 100644 --- a/packages/plugin-echochambers/package.json +++ b/packages/plugin-echochambers/package.json @@ -1,15 +1,15 @@ -{ - "name": "@ai16z/plugin-echochambers", - "version": "0.1.5-alpha.3", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-node": "workspace:*" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - } -} +{ + "name": "@ai16z/plugin-echochambers", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-node": "workspace:*" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + } +} diff --git a/packages/plugin-evm/package.json b/packages/plugin-evm/package.json index a13be1be776..c2c21482140 100644 --- a/packages/plugin-evm/package.json +++ b/packages/plugin-evm/package.json @@ -1,23 +1,23 @@ { - "name": "@ai16z/plugin-evm", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@lifi/data-types": "5.15.5", - "@lifi/sdk": "3.4.1", - "@lifi/types": "16.3.0", - "tsup": "8.3.5", - "viem": "2.21.53" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-evm", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@lifi/data-types": "5.15.5", + "@lifi/sdk": "3.4.1", + "@lifi/types": "16.3.0", + "tsup": "8.3.5", + "viem": "2.21.53" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-evm/src/actions/transfer.ts b/packages/plugin-evm/src/actions/transfer.ts index bf1f57bfabe..61b2bacbbe4 100644 --- a/packages/plugin-evm/src/actions/transfer.ts +++ b/packages/plugin-evm/src/actions/transfer.ts @@ -14,6 +14,8 @@ import type { Transaction, TransferParams } from "../types"; import { transferTemplate } from "../templates"; export { transferTemplate }; + +// Exported for tests export class TransferAction { constructor(private walletProvider: WalletProvider) {} @@ -22,6 +24,12 @@ export class TransferAction { `Transferring: ${params.amount} tokens to (${params.toAddress} on ${params.fromChain})` ); + if (!params.data) { + params.data = "0x"; + } + + await this.walletProvider.switchChain(params.fromChain); + const walletClient = this.walletProvider.getWalletClient( params.fromChain ); @@ -106,29 +114,44 @@ export const transferAction = { options: any, callback?: HandlerCallback ) => { - try { - const walletProvider = initWalletProvider(runtime); - const action = new TransferAction(walletProvider); - const transferDetails = await buildTransferDetails( - state, - runtime, - walletProvider - ); - const tx = await action.transfer(transferDetails); + console.log("Transfer action handler called"); + const walletProvider = initWalletProvider(runtime); + const action = new TransferAction(walletProvider); + + // Compose transfer context + const transferContext = composeContext({ + state, + template: transferTemplate, + }); + + // Generate transfer content + const content = await generateObjectDeprecated({ + runtime, + context: transferContext, + modelClass: ModelClass.LARGE, + }); + + const paramOptions: TransferParams = { + fromChain: content.fromChain, + toAddress: content.toAddress, + amount: content.amount, + data: content.data, + }; + try { + const transferResp = await action.transfer(paramOptions); if (callback) { callback({ - text: `Successfully transferred ${formatEther(tx.value)} tokens to ${tx.to}\nTransaction hash: ${tx.hash}\nChain: ${transferDetails.fromChain}`, + text: `Successfully transferred ${paramOptions.amount} tokens to ${paramOptions.toAddress}\nTransaction Hash: ${transferResp.hash}`, content: { success: true, - hash: tx.hash, - amount: formatEther(tx.value), - recipient: tx.to, - chain: transferDetails.fromChain, + hash: transferResp.hash, + amount: formatEther(transferResp.value), + recipient: transferResp.to, + chain: content.fromChain, }, }); } - return true; } catch (error) { console.error("Error during token transfer:", error); diff --git a/packages/plugin-evm/src/templates/index.ts b/packages/plugin-evm/src/templates/index.ts index 20d6ef19af8..68c6be91d73 100644 --- a/packages/plugin-evm/src/templates/index.ts +++ b/packages/plugin-evm/src/templates/index.ts @@ -5,17 +5,19 @@ export const transferTemplate = `Given the recent messages and wallet informatio {{walletInfo}} Extract the following information about the requested transfer: -- Chain to execute on (like in viem/chains) -- Amount to transfer (only number without coin symbol) -- Recipient address +- Chain to execute on: Must be one of ["ethereum", "base", ...] (like in viem/chains) +- Amount to transfer: Must be a string representing the amount in ETH (only number without coin symbol, e.g., "0.1") +- Recipient address: Must be a valid Ethereum address starting with "0x" +- Token symbol or address (if not native token): Optional, leave as null for ETH transfers -Respond with a JSON markdown block containing only the extracted values: +Respond with a JSON markdown block containing only the extracted values. All fields except 'token' are required: \`\`\`json { "fromChain": SUPPORTED_CHAINS, "amount": string, - "toAddress": string + "toAddress": string, + "token": string | null } \`\`\` `; diff --git a/packages/plugin-flow/package.json b/packages/plugin-flow/package.json index ca2ea7cc71a..8f3e0e84d56 100644 --- a/packages/plugin-flow/package.json +++ b/packages/plugin-flow/package.json @@ -1,36 +1,36 @@ { - "name": "@ai16z/plugin-flow", - "version": "0.1.5-alpha.0", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@onflow/config": "1.5.1", - "@onflow/fcl": "1.13.1", - "@onflow/typedefs": "1.4.0", - "bignumber.js": "9.1.2", - "bs58": "6.0.0", - "elliptic": "6.6.1", - "node-cache": "5.1.2", - "sha3": "2.1.4", - "uuid": "11.0.3", - "zod": "3.23.8" - }, - "devDependencies": { - "@types/elliptic": "6.4.18", - "@types/uuid": "10.0.0", - "tsup": "8.3.5", - "vitest": "2.1.4" - }, - "scripts": { - "lines": "find . \\( -name '*.cdc' -o -name '*.ts' \\) -not -path '*/node_modules/*' -not -path '*/tests/*' -not -path '*/deps/*' -not -path '*/dist/*' -not -path '*/imports*' | xargs wc -l", - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache .", - "test": "vitest run" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-flow", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@onflow/config": "1.5.1", + "@onflow/fcl": "1.13.1", + "@onflow/typedefs": "1.4.0", + "bignumber.js": "9.1.2", + "bs58": "6.0.0", + "elliptic": "6.6.1", + "node-cache": "5.1.2", + "sha3": "2.1.4", + "uuid": "11.0.3", + "zod": "3.23.8" + }, + "devDependencies": { + "@types/elliptic": "6.4.18", + "@types/uuid": "10.0.0", + "tsup": "8.3.5", + "vitest": "2.1.4" + }, + "scripts": { + "lines": "find . \\( -name '*.cdc' -o -name '*.ts' \\) -not -path '*/node_modules/*' -not -path '*/tests/*' -not -path '*/deps/*' -not -path '*/dist/*' -not -path '*/imports*' | xargs wc -l", + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache .", + "test": "vitest run" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-goat/package.json b/packages/plugin-goat/package.json index 56931db9c6e..2fa2ff69f0b 100644 --- a/packages/plugin-goat/package.json +++ b/packages/plugin-goat/package.json @@ -1,23 +1,23 @@ { - "name": "@ai16z/plugin-goat", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@goat-sdk/core": "0.3.8", - "@goat-sdk/plugin-erc20": "0.1.7", - "@goat-sdk/wallet-viem": "0.1.3", - "@goat-sdk/plugin-coingecko": "0.1.4", - "tsup": "8.3.5", - "viem": "2.21.53" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-goat", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@goat-sdk/core": "0.3.8", + "@goat-sdk/plugin-erc20": "0.1.7", + "@goat-sdk/wallet-viem": "0.1.3", + "@goat-sdk/plugin-coingecko": "0.1.4", + "tsup": "8.3.5", + "viem": "2.21.53" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-icp/package.json b/packages/plugin-icp/package.json index 4c14bacbf37..9cc544a0528 100644 --- a/packages/plugin-icp/package.json +++ b/packages/plugin-icp/package.json @@ -1,24 +1,24 @@ { - "name": "@ai16z/plugin-icp", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@dfinity/agent": "2.1.3", - "@dfinity/candid": "2.1.3", - "@dfinity/identity": "2.1.3", - "@dfinity/principal": "2.1.3" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - }, - "devDependencies": { - "@types/jest": "29.5.14", - "jest": "29.7.0", - "tsup": "8.3.5", - "typescript": "5.6.3" - } + "name": "@ai16z/plugin-icp", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@dfinity/agent": "2.1.3", + "@dfinity/candid": "2.1.3", + "@dfinity/identity": "2.1.3", + "@dfinity/principal": "2.1.3" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + }, + "devDependencies": { + "@types/jest": "29.5.14", + "jest": "29.7.0", + "tsup": "8.3.5", + "typescript": "5.6.3" + } } diff --git a/packages/plugin-image-generation/package.json b/packages/plugin-image-generation/package.json index 36615554a6b..2a332bd3241 100644 --- a/packages/plugin-image-generation/package.json +++ b/packages/plugin-image-generation/package.json @@ -1,19 +1,19 @@ { - "name": "@ai16z/plugin-image-generation", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-image-generation", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-intiface/package.json b/packages/plugin-intiface/package.json index 16cc574f3e6..baeb6864fde 100644 --- a/packages/plugin-intiface/package.json +++ b/packages/plugin-intiface/package.json @@ -1,21 +1,21 @@ { - "name": "@ai16z/plugin-intiface", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "buttplug": "3.2.2", - "net": "1.0.2", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test-via-bun": "bun test/simulate.ts" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-intiface", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "buttplug": "3.2.2", + "net": "1.0.2", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test-via-bun": "bun test/simulate.ts" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-multiversx/package.json b/packages/plugin-multiversx/package.json index 1c533df2bb1..b28afbc5454 100644 --- a/packages/plugin-multiversx/package.json +++ b/packages/plugin-multiversx/package.json @@ -1,26 +1,26 @@ { - "name": "@ai16z/plugin-multiversx", - "version": "0.1.5-alpha.0", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@multiversx/sdk-core": "13.15.0", - "bignumber.js": "9.1.2", - "browserify": "^17.0.1", - "esbuild-plugin-polyfill-node": "^0.3.0", - "esmify": "^2.1.1", - "tsup": "8.3.5", - "vitest": "2.1.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "test": "vitest run", - "test:watch": "vitest", - "lint": "eslint . --fix" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-multiversx", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@multiversx/sdk-core": "13.15.0", + "bignumber.js": "9.1.2", + "browserify": "^17.0.1", + "esbuild-plugin-polyfill-node": "^0.3.0", + "esmify": "^2.1.1", + "tsup": "8.3.5", + "vitest": "2.1.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "test": "vitest run", + "test:watch": "vitest", + "lint": "eslint . --fix" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-near/package.json b/packages/plugin-near/package.json index 0f82fc18034..58470e79c3f 100644 --- a/packages/plugin-near/package.json +++ b/packages/plugin-near/package.json @@ -1,25 +1,25 @@ { - "name": "@ai16z/plugin-near", - "version": "0.0.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ref-finance/ref-sdk": "^1.4.6", - "tsup": "8.3.5", - "near-api-js": "5.0.1", - "bignumber.js": "9.1.2", - "node-cache": "5.1.2" - }, - "scripts": { - "build": "tsup --format esm,cjs --dts", - "test": "vitest run", - "test:watch": "vitest", - "lint": "eslint . --fix" - }, - "peerDependencies": { - "whatwg-url": "7.1.0", - "form-data": "4.0.1" - } + "name": "@ai16z/plugin-near", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ref-finance/ref-sdk": "^1.4.6", + "tsup": "8.3.5", + "near-api-js": "5.0.1", + "bignumber.js": "9.1.2", + "node-cache": "5.1.2" + }, + "scripts": { + "build": "tsup --format esm,cjs --dts", + "test": "vitest run", + "test:watch": "vitest", + "lint": "eslint . --fix" + }, + "peerDependencies": { + "whatwg-url": "7.1.0", + "form-data": "4.0.1" + } } diff --git a/packages/plugin-nft-generation/package.json b/packages/plugin-nft-generation/package.json index bea518c9aa6..85199a6cf24 100644 --- a/packages/plugin-nft-generation/package.json +++ b/packages/plugin-nft-generation/package.json @@ -1,30 +1,30 @@ { - "name": "@ai16z/plugin-nft-generation", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-image-generation": "workspace:*", - "@ai16z/plugin-node": "workspace:*", - "@metaplex-foundation/mpl-token-metadata": "^3.3.0", - "@metaplex-foundation/mpl-toolbox": "^0.9.4", - "@metaplex-foundation/umi": "^0.9.2", - "@metaplex-foundation/umi-bundle-defaults": "^0.9.2", - "@solana-developers/helpers": "^2.5.6", - "@solana/web3.js": "1.95.5", - "bs58": "6.0.0", - "express": "4.21.1", - "node-cache": "5.1.2", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint . --fix" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-nft-generation", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-image-generation": "workspace:*", + "@ai16z/plugin-node": "workspace:*", + "@metaplex-foundation/mpl-token-metadata": "^3.3.0", + "@metaplex-foundation/mpl-toolbox": "^0.9.4", + "@metaplex-foundation/umi": "^0.9.2", + "@metaplex-foundation/umi-bundle-defaults": "^0.9.2", + "@solana-developers/helpers": "^2.5.6", + "@solana/web3.js": "1.95.5", + "bs58": "6.0.0", + "express": "4.21.1", + "node-cache": "5.1.2", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint . --fix" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-nft-generation/src/provider/wallet/walletSolana.ts b/packages/plugin-nft-generation/src/provider/wallet/walletSolana.ts index 98b2bee2330..cdd29ffe130 100644 --- a/packages/plugin-nft-generation/src/provider/wallet/walletSolana.ts +++ b/packages/plugin-nft-generation/src/provider/wallet/walletSolana.ts @@ -19,12 +19,12 @@ import { keypairIdentity, percentAmount, publicKey, - sol, + // sol, TransactionBuilder, Umi, } from "@metaplex-foundation/umi"; import { getExplorerLink } from "@solana-developers/helpers"; -import { transferSol } from "@metaplex-foundation/mpl-toolbox"; +// import { transferSol } from "@metaplex-foundation/mpl-toolbox"; import bs58 from "bs58"; import { elizaLogger } from "@ai16z/eliza"; @@ -56,7 +56,7 @@ export class WalletSolana { } async getBalance() { - let balance = await this.connection.getBalance(this.walletPublicKey); + const balance = await this.connection.getBalance(this.walletPublicKey); return { value: balance, formater: `${balance / LAMPORTS_PER_SOL} SOL`, diff --git a/packages/plugin-node/package.json b/packages/plugin-node/package.json index 1040e4a37b5..4a48f0ad581 100644 --- a/packages/plugin-node/package.json +++ b/packages/plugin-node/package.json @@ -1,89 +1,89 @@ { - "name": "@ai16z/plugin-node", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "files": [ - "dist", - "scripts", - "package.json", - "LICENSE", - "tsup.config.ts" - ], - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@aws-sdk/client-s3": "^3.705.0", - "@aws-sdk/s3-request-presigner": "^3.705.0", - "@cliqz/adblocker-playwright": "1.34.0", - "@echogarden/espeak-ng-emscripten": "0.3.3", - "@echogarden/kissfft-wasm": "0.2.0", - "@echogarden/speex-resampler-wasm": "0.2.1", - "@huggingface/transformers": "3.0.2", - "@opendocsg/pdf2md": "0.1.32", - "@types/uuid": "10.0.0", - "alawmulaw": "6.0.0", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "capsolver-npm": "2.0.2", - "cldr-segmentation": "2.2.1", - "command-exists": "1.2.9", - "csv-writer": "1.6.0", - "echogarden": "2.0.7", - "espeak-ng": "1.0.2", - "ffmpeg-static": "5.2.0", - "fluent-ffmpeg": "2.1.3", - "formdata-node": "6.0.3", - "fs-extra": "11.2.0", - "gaxios": "6.7.1", - "gif-frames": "0.4.1", - "glob": "11.0.0", - "graceful-fs": "4.2.11", - "html-escaper": "3.0.3", - "html-to-text": "9.0.5", - "import-meta-resolve": "4.1.0", - "jieba-wasm": "2.2.0", - "json5": "2.2.3", - "kuromoji": "0.1.2", - "libsodium-wrappers": "0.7.15", - "multer": "1.4.5-lts.1", - "node-cache": "5.1.2", - "node-llama-cpp": "3.1.1", - "nodejs-whisper": "0.1.18", - "onnxruntime-node": "1.20.1", - "pdfjs-dist": "4.7.76", - "playwright": "1.48.2", - "pm2": "5.4.3", - "puppeteer-extra": "3.3.6", - "puppeteer-extra-plugin-capsolver": "2.0.1", - "sharp": "0.33.5", - "srt": "0.0.3", - "systeminformation": "5.23.5", - "tar": "7.4.3", - "tinyld": "1.3.4", - "uuid": "11.0.3", - "wav": "1.0.2", - "wav-encoder": "1.3.0", - "wavefile": "11.0.0", - "yargs": "17.7.2", - "youtube-dl-exec": "3.0.10" - }, - "devDependencies": { - "@types/node": "22.8.4", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache .", - "postinstall": "node scripts/postinstall.js" - }, - "peerDependencies": { - "onnxruntime-node": "1.20.1", - "whatwg-url": "7.1.0" - }, - "trustedDependencies": { - "onnxruntime-node": "1.20.1", - "sharp": "0.33.5" - } + "name": "@ai16z/plugin-node", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "files": [ + "dist", + "scripts", + "package.json", + "LICENSE", + "tsup.config.ts" + ], + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@aws-sdk/client-s3": "^3.705.0", + "@aws-sdk/s3-request-presigner": "^3.705.0", + "@cliqz/adblocker-playwright": "1.34.0", + "@echogarden/espeak-ng-emscripten": "0.3.3", + "@echogarden/kissfft-wasm": "0.2.0", + "@echogarden/speex-resampler-wasm": "0.2.1", + "@huggingface/transformers": "3.0.2", + "@opendocsg/pdf2md": "0.1.32", + "@types/uuid": "10.0.0", + "alawmulaw": "6.0.0", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "capsolver-npm": "2.0.2", + "cldr-segmentation": "2.2.1", + "command-exists": "1.2.9", + "csv-writer": "1.6.0", + "echogarden": "2.0.7", + "espeak-ng": "1.0.2", + "ffmpeg-static": "5.2.0", + "fluent-ffmpeg": "2.1.3", + "formdata-node": "6.0.3", + "fs-extra": "11.2.0", + "gaxios": "6.7.1", + "gif-frames": "0.4.1", + "glob": "11.0.0", + "graceful-fs": "4.2.11", + "html-escaper": "3.0.3", + "html-to-text": "9.0.5", + "import-meta-resolve": "4.1.0", + "jieba-wasm": "2.2.0", + "json5": "2.2.3", + "kuromoji": "0.1.2", + "libsodium-wrappers": "0.7.15", + "multer": "1.4.5-lts.1", + "node-cache": "5.1.2", + "node-llama-cpp": "3.1.1", + "nodejs-whisper": "0.1.18", + "onnxruntime-node": "1.20.1", + "pdfjs-dist": "4.7.76", + "playwright": "1.48.2", + "pm2": "5.4.3", + "puppeteer-extra": "3.3.6", + "puppeteer-extra-plugin-capsolver": "2.0.1", + "sharp": "0.33.5", + "srt": "0.0.3", + "systeminformation": "5.23.5", + "tar": "7.4.3", + "tinyld": "1.3.4", + "uuid": "11.0.3", + "wav": "1.0.2", + "wav-encoder": "1.3.0", + "wavefile": "11.0.0", + "yargs": "17.7.2", + "youtube-dl-exec": "3.0.10" + }, + "devDependencies": { + "@types/node": "22.8.4", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache .", + "postinstall": "node scripts/postinstall.js" + }, + "peerDependencies": { + "onnxruntime-node": "1.20.1", + "whatwg-url": "7.1.0" + }, + "trustedDependencies": { + "onnxruntime-node": "1.20.1", + "sharp": "0.33.5" + } } diff --git a/packages/plugin-solana/package.json b/packages/plugin-solana/package.json index 30930e41dd9..fb213a94a83 100644 --- a/packages/plugin-solana/package.json +++ b/packages/plugin-solana/package.json @@ -1,32 +1,33 @@ { - "name": "@ai16z/plugin-solana", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-trustdb": "workspace:*", - "@ai16z/plugin-tee": "workspace:*", - "@coral-xyz/anchor": "0.30.1", - "@solana/spl-token": "0.4.9", - "@solana/web3.js": "1.95.8", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "bs58": "6.0.0", - "node-cache": "5.1.2", - "pumpdotfun-sdk": "1.3.2", - "tsup": "8.3.5", - "vitest": "2.1.4" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache .", - "test": "vitest run" - }, - "peerDependencies": { - "form-data": "4.0.1", - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-solana", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-trustdb": "workspace:*", + "@ai16z/plugin-tee": "workspace:*", + "@coral-xyz/anchor": "0.30.1", + "@solana/spl-token": "0.4.9", + "@solana/web3.js": "1.95.8", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "bs58": "6.0.0", + "fomo-sdk-solana": "1.3.2", + "node-cache": "5.1.2", + "pumpdotfun-sdk": "1.3.2", + "tsup": "8.3.5", + "vitest": "2.1.4" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache .", + "test": "vitest run" + }, + "peerDependencies": { + "form-data": "4.0.1", + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-solana/src/actions/fomo.ts b/packages/plugin-solana/src/actions/fomo.ts new file mode 100644 index 00000000000..6914be959ca --- /dev/null +++ b/packages/plugin-solana/src/actions/fomo.ts @@ -0,0 +1,627 @@ +import { generateImage } from "@ai16z/eliza"; +import { + Connection, + Keypair, + PublicKey, + VersionedTransaction, +} from "@solana/web3.js"; +import { Fomo, PurchaseCurrency } from "fomo-sdk-solana"; +import { getAssociatedTokenAddressSync } from "@solana/spl-token"; +import bs58 from "bs58"; +import { + settings, + ActionExample, + Content, + HandlerCallback, + IAgentRuntime, + Memory, + ModelClass, + State, + generateObject, + composeContext, + type Action, +} from "@ai16z/eliza"; + +import { walletProvider } from "../providers/wallet.ts"; + +interface CreateTokenMetadata { + name: string; + symbol: string; + uri: string; +} + +export interface CreateAndBuyContent extends Content { + tokenMetadata: { + name: string; + symbol: string; + description: string; + image_description: string; + }; + buyAmountSol: string | number; + requiredLiquidity: string | number; +} + +export function isCreateAndBuyContentForFomo( + content: any +): content is CreateAndBuyContent { + console.log("Content for create & buy", content); + return ( + typeof content.tokenMetadata === "object" && + content.tokenMetadata !== null && + typeof content.tokenMetadata.name === "string" && + typeof content.tokenMetadata.symbol === "string" && + typeof content.tokenMetadata.description === "string" && + typeof content.tokenMetadata.image_description === "string" && + (typeof content.buyAmountSol === "string" || + typeof content.buyAmountSol === "number") && + typeof content.requiredLiquidity === "number" + ); +} + +export const createAndBuyToken = async ({ + deployer, + mint, + tokenMetadata, + buyAmountSol, + priorityFee, + requiredLiquidity = 85, + allowOffCurve, + commitment = "finalized", + fomo, + connection, +}: { + deployer: Keypair; + mint: Keypair; + tokenMetadata: CreateTokenMetadata; + buyAmountSol: bigint; + priorityFee: number; + requiredLiquidity: number; + allowOffCurve: boolean; + commitment?: + | "processed" + | "confirmed" + | "finalized" + | "recent" + | "single" + | "singleGossip" + | "root" + | "max"; + fomo: Fomo; + connection: Connection; + slippage: string; +}) => { + const { transaction: versionedTx } = await fomo.createToken( + deployer.publicKey, + tokenMetadata.name, + tokenMetadata.symbol, + tokenMetadata.uri, + priorityFee, + bs58.encode(mint.secretKey), + requiredLiquidity, + Number(buyAmountSol) / 10 ** 9 + ); + + const { blockhash, lastValidBlockHeight } = + await connection.getLatestBlockhash(); + versionedTx.message.recentBlockhash = blockhash; + versionedTx.sign([mint]); + + const serializedTransaction = versionedTx.serialize(); + const serializedTransactionBase64 = Buffer.from( + serializedTransaction + ).toString("base64"); + + const deserializedTx = VersionedTransaction.deserialize( + Buffer.from(serializedTransactionBase64, "base64") + ); + + const txid = await connection.sendTransaction(deserializedTx, { + skipPreflight: false, + maxRetries: 3, + preflightCommitment: "confirmed", + }); + + console.log("Transaction sent:", txid); + + // Confirm transaction using the blockhash + const confirmation = await connection.confirmTransaction( + { + signature: txid, + blockhash: blockhash, + lastValidBlockHeight: lastValidBlockHeight, + }, + commitment + ); + + if (!confirmation.value.err) { + console.log( + "Success:", + `https://fomo.fund/token/${mint.publicKey.toBase58()}` + ); + const ata = getAssociatedTokenAddressSync( + mint.publicKey, + deployer.publicKey, + allowOffCurve + ); + const balance = await connection.getTokenAccountBalance( + ata, + "processed" + ); + const amount = balance.value.uiAmount; + if (amount === null) { + console.log( + `${deployer.publicKey.toBase58()}:`, + "No Account Found" + ); + } else { + console.log(`${deployer.publicKey.toBase58()}:`, amount); + } + + return { + success: true, + ca: mint.publicKey.toBase58(), + creator: deployer.publicKey.toBase58(), + }; + } else { + console.log("Create and Buy failed"); + return { + success: false, + ca: mint.publicKey.toBase58(), + error: confirmation.value.err || "Transaction failed", + }; + } +}; + +export const buyToken = async ({ + fomo, + buyer, + mint, + amount, + priorityFee, + allowOffCurve, + slippage, + connection, + currency = "sol", + commitment = "finalized", +}: { + fomo: Fomo; + buyer: Keypair; + mint: PublicKey; + amount: number; + priorityFee: number; + allowOffCurve: boolean; + slippage: number; + connection: Connection; + currency: PurchaseCurrency; + commitment?: + | "processed" + | "confirmed" + | "finalized" + | "recent" + | "single" + | "singleGossip" + | "root" + | "max"; +}) => { + const buyVersionedTx = await fomo.buyToken( + buyer.publicKey, + mint, + amount, + slippage, + priorityFee, + currency || "sol" + ); + + const { blockhash, lastValidBlockHeight } = + await connection.getLatestBlockhash(); + buyVersionedTx.message.recentBlockhash = blockhash; + + const serializedTransaction = buyVersionedTx.serialize(); + const serializedTransactionBase64 = Buffer.from( + serializedTransaction + ).toString("base64"); + + const deserializedTx = VersionedTransaction.deserialize( + Buffer.from(serializedTransactionBase64, "base64") + ); + + const txid = await connection.sendTransaction(deserializedTx, { + skipPreflight: false, + maxRetries: 3, + preflightCommitment: "confirmed", + }); + + console.log("Transaction sent:", txid); + + // Confirm transaction using the blockhash + const confirmation = await connection.confirmTransaction( + { + signature: txid, + blockhash: blockhash, + lastValidBlockHeight: lastValidBlockHeight, + }, + commitment + ); + + if (!confirmation.value.err) { + console.log("Success:", `https://fomo.fund/token/${mint.toBase58()}`); + const ata = getAssociatedTokenAddressSync( + mint, + buyer.publicKey, + allowOffCurve + ); + const balance = await connection.getTokenAccountBalance( + ata, + "processed" + ); + const amount = balance.value.uiAmount; + if (amount === null) { + console.log(`${buyer.publicKey.toBase58()}:`, "No Account Found"); + } else { + console.log(`${buyer.publicKey.toBase58()}:`, amount); + } + } else { + console.log("Buy failed"); + } +}; + +export const sellToken = async ({ + fomo, + seller, + mint, + amount, + priorityFee, + allowOffCurve, + slippage, + connection, + currency = "token", + commitment = "finalized", +}: { + fomo: Fomo; + seller: Keypair; + mint: PublicKey; + amount: number; + priorityFee: number; + allowOffCurve: boolean; + slippage: number; + connection: Connection; + currency: PurchaseCurrency; + commitment?: + | "processed" + | "confirmed" + | "finalized" + | "recent" + | "single" + | "singleGossip" + | "root" + | "max"; +}) => { + const sellVersionedTx = await fomo.sellToken( + seller.publicKey, + mint, + amount, + slippage, + priorityFee, + currency || "token" + ); + + const { blockhash, lastValidBlockHeight } = + await connection.getLatestBlockhash(); + sellVersionedTx.message.recentBlockhash = blockhash; + + const serializedTransaction = sellVersionedTx.serialize(); + const serializedTransactionBase64 = Buffer.from( + serializedTransaction + ).toString("base64"); + + const deserializedTx = VersionedTransaction.deserialize( + Buffer.from(serializedTransactionBase64, "base64") + ); + + const txid = await connection.sendTransaction(deserializedTx, { + skipPreflight: false, + maxRetries: 3, + preflightCommitment: "confirmed", + }); + + console.log("Transaction sent:", txid); + + // Confirm transaction using the blockhash + const confirmation = await connection.confirmTransaction( + { + signature: txid, + blockhash: blockhash, + lastValidBlockHeight: lastValidBlockHeight, + }, + commitment + ); + + if (!confirmation.value.err) { + console.log("Success:", `https://fomo.fund/token/${mint.toBase58()}`); + const ata = getAssociatedTokenAddressSync( + mint, + seller.publicKey, + allowOffCurve + ); + const balance = await connection.getTokenAccountBalance( + ata, + "processed" + ); + const amount = balance.value.uiAmount; + if (amount === null) { + console.log(`${seller.publicKey.toBase58()}:`, "No Account Found"); + } else { + console.log(`${seller.publicKey.toBase58()}:`, amount); + } + } else { + console.log("Sell failed"); + } +}; + +const promptConfirmation = async (): Promise => { + return true; +}; + +const fomoTemplate = `Respond with a JSON markdown block containing only the extracted values. Use null for any values that cannot be determined. + +Example response: +\`\`\`json +{ + "tokenMetadata": { + "name": "Test Token", + "symbol": "TEST", + "description": "A test token", + "image_description": "create an image of a rabbit" + }, + "buyAmountSol": "0.00069", + "requiredLiquidity": "85" +} +\`\`\` + +{{recentMessages}} + +Given the recent messages, extract or generate (come up with if not included) the following information about the requested token creation: +- Token name +- Token symbol +- Token description +- Token image description +- Amount of SOL to buy + +Respond with a JSON markdown block containing only the extracted values.`; + +export default { + name: "CREATE_AND_BUY_TOKEN", + similes: ["CREATE_AND_PURCHASE_TOKEN", "DEPLOY_AND_BUY_TOKEN"], + validate: async (_runtime: IAgentRuntime, _message: Memory) => { + return true; //return isCreateAndBuyContent(runtime, message.content); + }, + description: + "Create a new token and buy a specified amount using SOL. Requires deployer private key, token metadata, buy amount in SOL, priority fee, and allowOffCurve flag.", + handler: async ( + runtime: IAgentRuntime, + message: Memory, + state: State, + _options: { [key: string]: unknown }, + callback?: HandlerCallback + ): Promise => { + console.log("Starting CREATE_AND_BUY_TOKEN handler..."); + + // Compose state if not provided + if (!state) { + state = (await runtime.composeState(message)) as State; + } else { + state = await runtime.updateRecentMessageState(state); + } + + // Get wallet info for context + const walletInfo = await walletProvider.get(runtime, message, state); + state.walletInfo = walletInfo; + + // Generate structured content from natural language + const pumpContext = composeContext({ + state, + template: fomoTemplate, + }); + + const content = await generateObject({ + runtime, + context: pumpContext, + modelClass: ModelClass.LARGE, + }); + + // Validate the generated content + if (!isCreateAndBuyContentForFomo(content)) { + console.error("Invalid content for CREATE_AND_BUY_TOKEN action."); + return false; + } + + const { tokenMetadata, buyAmountSol, requiredLiquidity } = content; + /* + // Generate image if tokenMetadata.file is empty or invalid + if (!tokenMetadata.file || tokenMetadata.file.length < 100) { // Basic validation + try { + const imageResult = await generateImage({ + prompt: `logo for ${tokenMetadata.name} (${tokenMetadata.symbol}) token - ${tokenMetadata.description}`, + width: 512, + height: 512, + count: 1 + }, runtime); + + if (imageResult.success && imageResult.data && imageResult.data.length > 0) { + // Remove the "data:image/png;base64," prefix if present + tokenMetadata.file = imageResult.data[0].replace(/^data:image\/[a-z]+;base64,/, ''); + } else { + console.error("Failed to generate image:", imageResult.error); + return false; + } + } catch (error) { + console.error("Error generating image:", error); + return false; + } + } */ + + const imageResult = await generateImage( + { + prompt: `logo for ${tokenMetadata.name} (${tokenMetadata.symbol}) token - ${tokenMetadata.description}`, + width: 256, + height: 256, + count: 1, + }, + runtime + ); + + const imageBuffer = Buffer.from(imageResult.data[0], "base64"); + const formData = new FormData(); + const blob = new Blob([imageBuffer], { type: "image/png" }); + formData.append("file", blob, `${tokenMetadata.name}.png`); + formData.append("name", tokenMetadata.name); + formData.append("symbol", tokenMetadata.symbol); + formData.append("description", tokenMetadata.description); + + // FIXME: does fomo.fund have an ipfs call? + const metadataResponse = await fetch("https://pump.fun/api/ipfs", { + method: "POST", + body: formData, + }); + const metadataResponseJSON = (await metadataResponse.json()) as { + name: string; + symbol: string; + metadataUri: string; + }; + // Add the default decimals and convert file to Blob + const fullTokenMetadata: CreateTokenMetadata = { + name: tokenMetadata.name, + symbol: tokenMetadata.symbol, + uri: metadataResponseJSON.metadataUri, + }; + + // Default priority fee for high network load + const priorityFee = { + unitLimit: 100_000_000, + unitPrice: 100_000, + }; + const slippage = "2000"; + try { + // Get private key from settings and create deployer keypair + const privateKeyString = + runtime.getSetting("SOLANA_PRIVATE_KEY") ?? + runtime.getSetting("WALLET_PRIVATE_KEY"); + const secretKey = bs58.decode(privateKeyString); + const deployerKeypair = Keypair.fromSecretKey(secretKey); + + // Generate new mint keypair + const mintKeypair = Keypair.generate(); + console.log( + `Generated mint address: ${mintKeypair.publicKey.toBase58()}` + ); + + // Setup connection and SDK + const connection = new Connection(settings.RPC_URL!, { + commitment: "confirmed", + confirmTransactionInitialTimeout: 500000, // 120 seconds + wsEndpoint: settings.RPC_URL!.replace("https", "wss"), + }); + + const sdk = new Fomo(connection, "devnet", deployerKeypair); + // const slippage = runtime.getSetting("SLIPPAGE"); + + const createAndBuyConfirmation = await promptConfirmation(); + if (!createAndBuyConfirmation) { + console.log("Create and buy token canceled by user"); + return false; + } + + // Convert SOL to lamports (1 SOL = 1_000_000_000 lamports) + const lamports = Math.floor(Number(buyAmountSol) * 1_000_000_000); + + console.log("Executing create and buy transaction..."); + const result = await createAndBuyToken({ + deployer: deployerKeypair, + mint: mintKeypair, + tokenMetadata: fullTokenMetadata, + buyAmountSol: BigInt(lamports), + priorityFee: priorityFee.unitPrice, + requiredLiquidity: Number(requiredLiquidity), + allowOffCurve: false, + fomo: sdk, + connection, + slippage, + }); + + if (callback) { + if (result.success) { + callback({ + text: `Token ${tokenMetadata.name} (${tokenMetadata.symbol}) created successfully!\nURL: https://fomo.fund/token/${result.ca}\nCreator: ${result.creator}\nView at: https://fomo.fund/token/${result.ca}`, + content: { + tokenInfo: { + symbol: tokenMetadata.symbol, + address: result.ca, + creator: result.creator, + name: tokenMetadata.name, + description: tokenMetadata.description, + timestamp: Date.now(), + }, + }, + }); + } else { + callback({ + text: `Failed to create token: ${result.error}\nAttempted mint address: ${result.ca}`, + content: { + error: result.error, + mintAddress: result.ca, + }, + }); + } + } + //await trustScoreDb.addToken(tokenInfo); + /* + // Update runtime state + await runtime.updateState({ + ...state, + lastCreatedToken: tokenInfo + }); + */ + // Log success message with token view URL + const successMessage = `Token created and purchased successfully! View at: https://fomo.fund/token/${mintKeypair.publicKey.toBase58()}`; + console.log(successMessage); + return result.success; + } catch (error) { + if (callback) { + callback({ + text: `Error during token creation: ${error.message}`, + content: { error: error.message }, + }); + } + return false; + } + }, + + examples: [ + [ + { + user: "{{user1}}", + content: { + text: "Create a new token called GLITCHIZA with symbol GLITCHIZA and generate a description about it on fomo.fund. Also come up with a description for it to use for image generation .buy 0.00069 SOL worth.", + }, + }, + { + user: "{{user2}}", + content: { + text: "Token GLITCHIZA (GLITCHIZA) created successfully on fomo.fund!\nURL: https://fomo.fund/token/673247855e8012181f941f84\nCreator: Anonymous\nView at: https://fomo.fund/token/673247855e8012181f941f84", + action: "CREATE_AND_BUY_TOKEN", + content: { + tokenInfo: { + symbol: "GLITCHIZA", + address: + "EugPwuZ8oUMWsYHeBGERWvELfLGFmA1taDtmY8uMeX6r", + creator: + "9jW8FPr6BSSsemWPV22UUCzSqkVdTp6HTyPqeqyuBbCa", + name: "GLITCHIZA", + description: "A GLITCHIZA token", + }, + }, + }, + }, + ], + ] as ActionExample[][], +} as Action; diff --git a/packages/plugin-solana/src/actions/pumpfun.ts b/packages/plugin-solana/src/actions/pumpfun.ts index 1299c0cb356..10a591fe171 100644 --- a/packages/plugin-solana/src/actions/pumpfun.ts +++ b/packages/plugin-solana/src/actions/pumpfun.ts @@ -487,13 +487,13 @@ export default { { user: "{{user1}}", content: { - text: "Create a new token called GLITCHIZA with symbol GLITCHIZA and generate a description about it. Also come up with a description for it to use for image generation .buy 0.00069 SOL worth.", + text: "Create a new token called GLITCHIZA with symbol GLITCHIZA and generate a description about it on pump.fun. Also come up with a description for it to use for image generation .buy 0.00069 SOL worth.", }, }, { user: "{{user2}}", content: { - text: "Token GLITCHIZA (GLITCHIZA) created successfully!\nContract Address: 3kD5DN4bbA3nykb1abjS66VF7cYZkKdirX8bZ6ShJjBB\nCreator: 9jW8FPr6BSSsemWPV22UUCzSqkVdTp6HTyPqeqyuBbCa\nView at: https://pump.fun/EugPwuZ8oUMWsYHeBGERWvELfLGFmA1taDtmY8uMeX6r", + text: "Token GLITCHIZA (GLITCHIZA) created successfully on pump.fun!\nContract Address: 3kD5DN4bbA3nykb1abjS66VF7cYZkKdirX8bZ6ShJjBB\nCreator: 9jW8FPr6BSSsemWPV22UUCzSqkVdTp6HTyPqeqyuBbCa\nView at: https://pump.fun/EugPwuZ8oUMWsYHeBGERWvELfLGFmA1taDtmY8uMeX6r", action: "CREATE_AND_BUY_TOKEN", content: { tokenInfo: { diff --git a/packages/plugin-solana/src/index.ts b/packages/plugin-solana/src/index.ts index 580b6516341..70ca1b03258 100644 --- a/packages/plugin-solana/src/index.ts +++ b/packages/plugin-solana/src/index.ts @@ -7,6 +7,7 @@ import { Plugin } from "@ai16z/eliza"; import { executeSwap } from "./actions/swap.ts"; import take_order from "./actions/takeOrder"; import pumpfun from "./actions/pumpfun.ts"; +import fomo from "./actions/fomo.ts"; import { executeSwapForDAO } from "./actions/swapDao"; import transferToken from "./actions/transfer.ts"; import { walletProvider } from "./providers/wallet.ts"; @@ -23,6 +24,7 @@ export const solanaPlugin: Plugin = { actions: [ executeSwap, pumpfun, + fomo, transferToken, executeSwapForDAO, take_order, diff --git a/packages/plugin-starknet/package.json b/packages/plugin-starknet/package.json index e8a2dc8a88d..c7a74dce6c1 100644 --- a/packages/plugin-starknet/package.json +++ b/packages/plugin-starknet/package.json @@ -1,27 +1,27 @@ { - "name": "@ai16z/plugin-starknet", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-trustdb": "workspace:*", - "@avnu/avnu-sdk": "2.1.1", - "@uniswap/sdk-core": "6.0.0", - "@unruggable_starknet/core": "0.1.0", - "starknet": "6.18.0", - "tsup": "8.3.5", - "vitest": "2.1.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run", - "test:watch": "vitest", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-starknet", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-trustdb": "workspace:*", + "@avnu/avnu-sdk": "2.1.1", + "@uniswap/sdk-core": "6.0.0", + "@unruggable_starknet/core": "0.1.0", + "starknet": "6.18.0", + "tsup": "8.3.5", + "vitest": "2.1.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run", + "test:watch": "vitest", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-story/package.json b/packages/plugin-story/package.json index f35d5179214..384a1d8f040 100644 --- a/packages/plugin-story/package.json +++ b/packages/plugin-story/package.json @@ -1,26 +1,26 @@ { - "name": "@ai16z/plugin-story", - "version": "0.1.0-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-trustdb": "workspace:*", - "@story-protocol/core-sdk": "1.2.0-rc.3", - "tsup": "8.3.5", - "viem": "2.21.54", - "@pinata/sdk": "^2.1.0" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - }, - "devDependencies": { - "@types/node": "^22.10.1" - } + "name": "@ai16z/plugin-story", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-trustdb": "workspace:*", + "@story-protocol/core-sdk": "1.2.0-rc.3", + "tsup": "8.3.5", + "viem": "2.21.54", + "@pinata/sdk": "^2.1.0" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + }, + "devDependencies": { + "@types/node": "^22.10.1" + } } diff --git a/packages/plugin-sui/package.json b/packages/plugin-sui/package.json index 1aee92e29b8..23395035647 100644 --- a/packages/plugin-sui/package.json +++ b/packages/plugin-sui/package.json @@ -1,26 +1,26 @@ { - "name": "@ai16z/plugin-sui", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-trustdb": "workspace:*", - "@mysten/sui": "^1.16.0", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "node-cache": "5.1.2", - "tsup": "8.3.5", - "vitest": "2.1.4" - }, - "scripts": { - "build": "tsup --format esm --dts", - "lint": "eslint . --fix", - "test": "vitest run" - }, - "peerDependencies": { - "form-data": "4.0.1", - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-sui", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-trustdb": "workspace:*", + "@mysten/sui": "^1.16.0", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "node-cache": "5.1.2", + "tsup": "8.3.5", + "vitest": "2.1.4" + }, + "scripts": { + "build": "tsup --format esm --dts", + "lint": "eslint . --fix", + "test": "vitest run" + }, + "peerDependencies": { + "form-data": "4.0.1", + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-tee/package.json b/packages/plugin-tee/package.json index 9e144197df6..c48cc62206c 100644 --- a/packages/plugin-tee/package.json +++ b/packages/plugin-tee/package.json @@ -1,28 +1,28 @@ { - "name": "@ai16z/plugin-tee", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@phala/dstack-sdk": "0.1.6", - "@solana/spl-token": "0.4.9", - "@solana/web3.js": "1.95.8", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "bs58": "6.0.0", - "node-cache": "5.1.2", - "pumpdotfun-sdk": "1.3.2", - "tsup": "8.3.5", - "viem": "2.21.53" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-tee", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@phala/dstack-sdk": "0.1.6", + "@solana/spl-token": "0.4.9", + "@solana/web3.js": "1.95.8", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "bs58": "6.0.0", + "node-cache": "5.1.2", + "pumpdotfun-sdk": "1.3.2", + "tsup": "8.3.5", + "viem": "2.21.53" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-ton/package.json b/packages/plugin-ton/package.json index 2ff3af548f2..6259e4954f4 100644 --- a/packages/plugin-ton/package.json +++ b/packages/plugin-ton/package.json @@ -1,25 +1,25 @@ { - "name": "@ai16z/plugin-ton", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-trustdb": "workspace:*", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "node-cache": "5.1.2", - "@ton/ton": "15.1.0", - "@ton/crypto": "3.3.0", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-ton", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-trustdb": "workspace:*", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "node-cache": "5.1.2", + "@ton/ton": "15.1.0", + "@ton/crypto": "3.3.0", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-trustdb/package.json b/packages/plugin-trustdb/package.json index 96451907ed8..fc3cdedbe98 100644 --- a/packages/plugin-trustdb/package.json +++ b/packages/plugin-trustdb/package.json @@ -1,27 +1,27 @@ { - "name": "@ai16z/plugin-trustdb", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "dompurify": "3.2.2", - "tsup": "8.3.5", - "uuid": "11.0.3", - "vitest": "2.1.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run", - "test:watch": "vitest", - "lint": "eslint --fix --cache ." - }, - "devDependencies": { - "@types/dompurify": "3.2.0" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-trustdb", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "dompurify": "3.2.2", + "tsup": "8.3.5", + "uuid": "11.0.3", + "vitest": "2.1.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run", + "test:watch": "vitest", + "lint": "eslint --fix --cache ." + }, + "devDependencies": { + "@types/dompurify": "3.2.0" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-video-generation/package.json b/packages/plugin-video-generation/package.json index a867e18b721..a23cf9352da 100644 --- a/packages/plugin-video-generation/package.json +++ b/packages/plugin-video-generation/package.json @@ -1,19 +1,19 @@ { - "name": "@ai16z/plugin-video-generation", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-video-generation", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-web-search/package.json b/packages/plugin-web-search/package.json index cc0e12a97ac..0d6baa18a55 100644 --- a/packages/plugin-web-search/package.json +++ b/packages/plugin-web-search/package.json @@ -1,18 +1,18 @@ { - "name": "@ai16z/plugin-web-search", - "version": "0.1.5-alpha.5", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-web-search", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-whatsapp/package.json b/packages/plugin-whatsapp/package.json index 9715ed59ebb..83de2847715 100644 --- a/packages/plugin-whatsapp/package.json +++ b/packages/plugin-whatsapp/package.json @@ -1,26 +1,26 @@ { - "name": "@ai16z/plugin-whatsapp", - "version": "0.1.5-alpha.5", - "description": "WhatsApp Cloud API plugin", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "jest", - "lint": "eslint --fix --cache ." - }, - "dependencies": { - "@ai16z/eliza": "workspace:*", - "axios": "1.7.8" - }, - "devDependencies": { - "@types/jest": "29.5.14", - "@types/node": "20.17.9", - "@typescript-eslint/eslint-plugin": "8.16.0", - "@typescript-eslint/parser": "8.16.0", - "jest": "29.7.0", - "ts-jest": "29.2.5", - "typescript": "5.6.3" - } + "name": "@ai16z/plugin-whatsapp", + "version": "0.1.6-alpha.4", + "description": "WhatsApp Cloud API plugin", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "jest", + "lint": "eslint --fix --cache ." + }, + "dependencies": { + "@ai16z/eliza": "workspace:*", + "axios": "1.7.8" + }, + "devDependencies": { + "@types/jest": "29.5.14", + "@types/node": "20.17.9", + "@typescript-eslint/eslint-plugin": "8.16.0", + "@typescript-eslint/parser": "8.16.0", + "jest": "29.7.0", + "ts-jest": "29.2.5", + "typescript": "5.6.3" + } } diff --git a/packages/plugin-zksync-era/package.json b/packages/plugin-zksync-era/package.json index 77fb9e4b387..57ba0abd3a3 100644 --- a/packages/plugin-zksync-era/package.json +++ b/packages/plugin-zksync-era/package.json @@ -1,20 +1,20 @@ { - "name": "@ai16z/plugin-zksync-era", - "version": "0.1.4-alpha.3", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@ai16z/eliza": "workspace:*", - "@ai16z/plugin-trustdb": "workspace:*", - "tsup": "^8.3.5", - "web3": "^4.15.0", - "web3-plugin-zksync": "^1.0.8" - }, - "scripts": { - "build": "tsup --format esm --dts" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@ai16z/plugin-zksync-era", + "version": "0.1.6-alpha.4", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-trustdb": "workspace:*", + "tsup": "^8.3.5", + "web3": "^4.15.0", + "web3-plugin-zksync": "^1.0.8" + }, + "scripts": { + "build": "tsup --format esm --dts" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e82b8f40425..dc094a81978 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -564,7 +564,7 @@ importers: version: link:../core '@neynar/nodejs-sdk': specifier: ^2.0.3 - version: 2.2.3(typescript@5.6.3) + version: 2.3.0(typescript@5.6.3) devDependencies: tsup: specifier: ^8.3.5 @@ -719,28 +719,6 @@ importers: specifier: 8.3.5 version: 8.3.5(postcss@8.4.49)(typescript@5.6.3) - packages/client-whatsapp: - dependencies: - '@ai16z/eliza': - specifier: workspace:* - version: link:../core - devDependencies: - '@types/jest': - specifier: ^29.0.0 - version: 29.5.14 - '@types/node': - specifier: ^20.0.0 - version: 20.17.9 - jest: - specifier: ^29.0.0 - version: 29.7.0(@types/node@20.17.9) - rimraf: - specifier: ^5.0.0 - version: 5.0.10 - typescript: - specifier: ^5.0.0 - version: 5.6.3 - packages/core: dependencies: '@ai-sdk/anthropic': @@ -769,7 +747,7 @@ importers: version: 10.0.0 ai: specifier: 3.4.33 - version: 3.4.33(openai@4.73.0)(react@18.3.1)(svelte@5.13.0)(vue@3.5.13)(zod@3.23.8) + version: 3.4.33(openai@4.73.0)(react@18.3.1)(svelte@5.14.1)(vue@3.5.13)(zod@3.23.8) anthropic-vertex-ai: specifier: 1.0.2 version: 1.0.2(zod@3.23.8) @@ -796,7 +774,7 @@ importers: version: 1.0.15 langchain: specifier: 0.3.6 - version: 0.3.6(@langchain/core@0.3.23)(axios@1.7.9)(openai@4.73.0) + version: 0.3.6(@langchain/core@0.3.24)(axios@1.7.9)(handlebars@4.7.8)(openai@4.73.0) ollama-ai-provider: specifier: 0.16.1 version: 0.16.1(zod@3.23.8) @@ -1305,10 +1283,10 @@ importers: version: link:../core '@aws-sdk/client-s3': specifier: ^3.705.0 - version: 3.712.0 + version: 3.713.0 '@aws-sdk/s3-request-presigner': specifier: ^3.705.0 - version: 3.712.0 + version: 3.713.0 '@cliqz/adblocker-playwright': specifier: 1.34.0 version: 1.34.0(playwright@1.48.2) @@ -1505,6 +1483,9 @@ importers: bs58: specifier: 6.0.0 version: 6.0.0 + fomo-sdk-solana: + specifier: 1.3.2 + version: 1.3.2(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3) form-data: specifier: 4.0.1 version: 4.0.1 @@ -1819,7 +1800,7 @@ packages: - utf-8-validate dev: false - /@0no-co/graphql.web@1.0.12(graphql@16.9.0): + /@0no-co/graphql.web@1.0.12(graphql@16.10.0): resolution: {integrity: sha512-BTDjjsV/zSPy5fqItwm+KWUfh9CSe9tTtR6rCB72ddtkAxdcHbi4Ir4r/L1Et4lyxmL+i7Rb3m9sjLLi9tYrzA==} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 @@ -1827,17 +1808,17 @@ packages: graphql: optional: true dependencies: - graphql: 16.9.0 + graphql: 16.10.0 dev: false - /@0no-co/graphqlsp@1.12.16(graphql@16.9.0)(typescript@5.6.3): + /@0no-co/graphqlsp@1.12.16(graphql@16.10.0)(typescript@5.6.3): resolution: {integrity: sha512-B5pyYVH93Etv7xjT6IfB7QtMBdaaC07yjbhN6v8H7KgFStMkPvi+oWYBTibMFRMY89qwc9H8YixXg8SXDVgYWw==} peerDependencies: graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 typescript: ^5.0.0 dependencies: - '@gql.tada/internal': 1.0.8(graphql@16.9.0)(typescript@5.6.3) - graphql: 16.9.0 + '@gql.tada/internal': 1.0.8(graphql@16.10.0)(typescript@5.6.3) + graphql: 16.10.0 typescript: 5.6.3 dev: false @@ -2021,7 +2002,7 @@ packages: - zod dev: false - /@ai-sdk/svelte@0.0.57(svelte@5.13.0)(zod@3.23.8): + /@ai-sdk/svelte@0.0.57(svelte@5.14.1)(zod@3.23.8): resolution: {integrity: sha512-SyF9ItIR9ALP9yDNAD+2/5Vl1IT6kchgyDH8xkmhysfJI6WrvJbtO1wdQ0nylvPLcsPoYu+cAlz1krU4lFHcYw==} engines: {node: '>=18'} peerDependencies: @@ -2032,8 +2013,8 @@ packages: dependencies: '@ai-sdk/provider-utils': 1.0.22(zod@3.23.8) '@ai-sdk/ui-utils': 0.0.50(zod@3.23.8) - sswr: 2.1.0(svelte@5.13.0) - svelte: 5.13.0 + sswr: 2.1.0(svelte@5.14.1) + svelte: 5.14.1 transitivePeerDependencies: - zod dev: false @@ -2467,7 +2448,7 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 tslib: 2.8.1 dev: false @@ -2475,7 +2456,7 @@ packages: resolution: {integrity: sha512-+iWb8qaHLYKrNvGRbiYRHSdKRWhto5XlZUEBwDjYNf+ly5SVYG6zEoYIdxvf5R3zyeP16w4PLBn3rH1xc74Rag==} dependencies: '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 tslib: 2.8.1 dev: false @@ -2484,7 +2465,7 @@ packages: dependencies: '@aws-crypto/supports-web-crypto': 5.2.0 '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@aws-sdk/util-locate-window': 3.693.0 '@smithy/util-utf8': 2.3.0 tslib: 2.8.1 @@ -2496,7 +2477,7 @@ packages: '@aws-crypto/sha256-js': 5.2.0 '@aws-crypto/supports-web-crypto': 5.2.0 '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@aws-sdk/util-locate-window': 3.693.0 '@smithy/util-utf8': 2.3.0 tslib: 2.8.1 @@ -2507,7 +2488,7 @@ packages: engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/util': 5.2.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 tslib: 2.8.1 dev: false @@ -2520,30 +2501,30 @@ packages: /@aws-crypto/util@5.2.0: resolution: {integrity: sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/util-utf8': 2.3.0 tslib: 2.8.1 dev: false - /@aws-sdk/client-polly@3.712.0: - resolution: {integrity: sha512-9XBobGhIHBRZwd+TWkTNE0/GWejrNESaGBj/0XfT7RlCKmPfpLGVfjkJjeXy77ye/WVtbJ5xPYqTxCEue07jjw==} + /@aws-sdk/client-polly@3.713.0: + resolution: {integrity: sha512-jPhA2sYqMvWeZioMuZEBT5m0VteWecuRDx591wh42MriEYR+P7LcH7YzCzalnCRzPoBM2sDaCV0LYsvFknncpg==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.712.0(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/client-sts': 3.712.0 - '@aws-sdk/core': 3.709.0 - '@aws-sdk/credential-provider-node': 3.712.0(@aws-sdk/client-sso-oidc@3.712.0)(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/middleware-host-header': 3.709.0 - '@aws-sdk/middleware-logger': 3.709.0 - '@aws-sdk/middleware-recursion-detection': 3.709.0 - '@aws-sdk/middleware-user-agent': 3.709.0 - '@aws-sdk/region-config-resolver': 3.709.0 - '@aws-sdk/types': 3.709.0 - '@aws-sdk/util-endpoints': 3.709.0 - '@aws-sdk/util-user-agent-browser': 3.709.0 - '@aws-sdk/util-user-agent-node': 3.712.0 + '@aws-sdk/client-sso-oidc': 3.713.0(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/client-sts': 3.713.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/credential-provider-node': 3.713.0(@aws-sdk/client-sso-oidc@3.713.0)(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/middleware-host-header': 3.713.0 + '@aws-sdk/middleware-logger': 3.713.0 + '@aws-sdk/middleware-recursion-detection': 3.713.0 + '@aws-sdk/middleware-user-agent': 3.713.0 + '@aws-sdk/region-config-resolver': 3.713.0 + '@aws-sdk/types': 3.713.0 + '@aws-sdk/util-endpoints': 3.713.0 + '@aws-sdk/util-user-agent-browser': 3.713.0 + '@aws-sdk/util-user-agent-node': 3.713.0 '@smithy/config-resolver': 3.0.13 '@smithy/core': 2.5.5 '@smithy/fetch-http-handler': 4.1.2 @@ -2575,33 +2556,33 @@ packages: - aws-crt dev: false - /@aws-sdk/client-s3@3.712.0: - resolution: {integrity: sha512-Hq1IIwOFutmHtTz3mROR1XhTDL8rxcYbYw3ajjgeMJB5tjcvodpfkfz/L4dxXZMwqylWf6SNQNAiaGh5mlsGGQ==} + /@aws-sdk/client-s3@3.713.0: + resolution: {integrity: sha512-d5jw4gJwg65gWKOEJXxgAvRxD2uVE1OCy3oSRCGRy916/0VQFK4wPze+lBeTF8/562nv9atFIGYRSIjtUHuuJA==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha1-browser': 5.2.0 '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.712.0(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/client-sts': 3.712.0 - '@aws-sdk/core': 3.709.0 - '@aws-sdk/credential-provider-node': 3.712.0(@aws-sdk/client-sso-oidc@3.712.0)(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/middleware-bucket-endpoint': 3.709.0 - '@aws-sdk/middleware-expect-continue': 3.709.0 - '@aws-sdk/middleware-flexible-checksums': 3.709.0 - '@aws-sdk/middleware-host-header': 3.709.0 - '@aws-sdk/middleware-location-constraint': 3.709.0 - '@aws-sdk/middleware-logger': 3.709.0 - '@aws-sdk/middleware-recursion-detection': 3.709.0 - '@aws-sdk/middleware-sdk-s3': 3.709.0 - '@aws-sdk/middleware-ssec': 3.709.0 - '@aws-sdk/middleware-user-agent': 3.709.0 - '@aws-sdk/region-config-resolver': 3.709.0 - '@aws-sdk/signature-v4-multi-region': 3.709.0 - '@aws-sdk/types': 3.709.0 - '@aws-sdk/util-endpoints': 3.709.0 - '@aws-sdk/util-user-agent-browser': 3.709.0 - '@aws-sdk/util-user-agent-node': 3.712.0 + '@aws-sdk/client-sso-oidc': 3.713.0(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/client-sts': 3.713.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/credential-provider-node': 3.713.0(@aws-sdk/client-sso-oidc@3.713.0)(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/middleware-bucket-endpoint': 3.713.0 + '@aws-sdk/middleware-expect-continue': 3.713.0 + '@aws-sdk/middleware-flexible-checksums': 3.713.0 + '@aws-sdk/middleware-host-header': 3.713.0 + '@aws-sdk/middleware-location-constraint': 3.713.0 + '@aws-sdk/middleware-logger': 3.713.0 + '@aws-sdk/middleware-recursion-detection': 3.713.0 + '@aws-sdk/middleware-sdk-s3': 3.713.0 + '@aws-sdk/middleware-ssec': 3.713.0 + '@aws-sdk/middleware-user-agent': 3.713.0 + '@aws-sdk/region-config-resolver': 3.713.0 + '@aws-sdk/signature-v4-multi-region': 3.713.0 + '@aws-sdk/types': 3.713.0 + '@aws-sdk/util-endpoints': 3.713.0 + '@aws-sdk/util-user-agent-browser': 3.713.0 + '@aws-sdk/util-user-agent-node': 3.713.0 '@aws-sdk/xml-builder': 3.709.0 '@smithy/config-resolver': 3.0.13 '@smithy/core': 2.5.5 @@ -2641,26 +2622,26 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso-oidc@3.712.0(@aws-sdk/client-sts@3.712.0): - resolution: {integrity: sha512-xNFrG9syrG6pxUP7Ld/nu3afQ9+rbJM9qrE+wDNz4VnNZ3vLiJty4fH85zBFhOQ5OF2DIJTWsFzXGi2FYjsCMA==} + /@aws-sdk/client-sso-oidc@3.713.0(@aws-sdk/client-sts@3.713.0): + resolution: {integrity: sha512-B7N1Nte4Kqn8oaqLR2qnegLZjAgylYDAYNmXDY2+f1QNLF2D3emmWu8kLvBPIxT3wj23Mt177CPcBvMMGF2+aQ==} engines: {node: '>=16.0.0'} peerDependencies: - '@aws-sdk/client-sts': ^3.712.0 + '@aws-sdk/client-sts': ^3.713.0 dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sts': 3.712.0 - '@aws-sdk/core': 3.709.0 - '@aws-sdk/credential-provider-node': 3.712.0(@aws-sdk/client-sso-oidc@3.712.0)(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/middleware-host-header': 3.709.0 - '@aws-sdk/middleware-logger': 3.709.0 - '@aws-sdk/middleware-recursion-detection': 3.709.0 - '@aws-sdk/middleware-user-agent': 3.709.0 - '@aws-sdk/region-config-resolver': 3.709.0 - '@aws-sdk/types': 3.709.0 - '@aws-sdk/util-endpoints': 3.709.0 - '@aws-sdk/util-user-agent-browser': 3.709.0 - '@aws-sdk/util-user-agent-node': 3.712.0 + '@aws-sdk/client-sts': 3.713.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/credential-provider-node': 3.713.0(@aws-sdk/client-sso-oidc@3.713.0)(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/middleware-host-header': 3.713.0 + '@aws-sdk/middleware-logger': 3.713.0 + '@aws-sdk/middleware-recursion-detection': 3.713.0 + '@aws-sdk/middleware-user-agent': 3.713.0 + '@aws-sdk/region-config-resolver': 3.713.0 + '@aws-sdk/types': 3.713.0 + '@aws-sdk/util-endpoints': 3.713.0 + '@aws-sdk/util-user-agent-browser': 3.713.0 + '@aws-sdk/util-user-agent-node': 3.713.0 '@smithy/config-resolver': 3.0.13 '@smithy/core': 2.5.5 '@smithy/fetch-http-handler': 4.1.2 @@ -2691,22 +2672,22 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso@3.712.0: - resolution: {integrity: sha512-tBo/eW3YpZ9f3Q1qA7aA8uliNFJJX0OP7R2IUJ8t6rqVTk15wWCEPNmXzUZKgruDnKUfCaF4+r9q/Yy4fBc9PA==} + /@aws-sdk/client-sso@3.713.0: + resolution: {integrity: sha512-qrgL/BILiRdv3npkJ88XxTeVPE/HPZ2gW9peyhYWP4fXCdPjpWYnAebbWBN6TqofiSlpP7xuoX8Xc1czwr90sg==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/core': 3.709.0 - '@aws-sdk/middleware-host-header': 3.709.0 - '@aws-sdk/middleware-logger': 3.709.0 - '@aws-sdk/middleware-recursion-detection': 3.709.0 - '@aws-sdk/middleware-user-agent': 3.709.0 - '@aws-sdk/region-config-resolver': 3.709.0 - '@aws-sdk/types': 3.709.0 - '@aws-sdk/util-endpoints': 3.709.0 - '@aws-sdk/util-user-agent-browser': 3.709.0 - '@aws-sdk/util-user-agent-node': 3.712.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/middleware-host-header': 3.713.0 + '@aws-sdk/middleware-logger': 3.713.0 + '@aws-sdk/middleware-recursion-detection': 3.713.0 + '@aws-sdk/middleware-user-agent': 3.713.0 + '@aws-sdk/region-config-resolver': 3.713.0 + '@aws-sdk/types': 3.713.0 + '@aws-sdk/util-endpoints': 3.713.0 + '@aws-sdk/util-user-agent-browser': 3.713.0 + '@aws-sdk/util-user-agent-node': 3.713.0 '@smithy/config-resolver': 3.0.13 '@smithy/core': 2.5.5 '@smithy/fetch-http-handler': 4.1.2 @@ -2737,24 +2718,24 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sts@3.712.0: - resolution: {integrity: sha512-gIO6BD+hkEe3GKQhbiFP0zcNQv0EkP1Cl9SOstxS+X9CeudEgVX/xEPUjyoFVkfkntPBJ1g0I1u5xOzzRExl4g==} + /@aws-sdk/client-sts@3.713.0: + resolution: {integrity: sha512-sjXy6z5bS1uspOdA0B4xQVri0XxdM24MkK0XhLoFoWAWoMlrORAMy+zW3YyU/vlsLckNYs7B4+j0P0MK35d+AQ==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.712.0(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/core': 3.709.0 - '@aws-sdk/credential-provider-node': 3.712.0(@aws-sdk/client-sso-oidc@3.712.0)(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/middleware-host-header': 3.709.0 - '@aws-sdk/middleware-logger': 3.709.0 - '@aws-sdk/middleware-recursion-detection': 3.709.0 - '@aws-sdk/middleware-user-agent': 3.709.0 - '@aws-sdk/region-config-resolver': 3.709.0 - '@aws-sdk/types': 3.709.0 - '@aws-sdk/util-endpoints': 3.709.0 - '@aws-sdk/util-user-agent-browser': 3.709.0 - '@aws-sdk/util-user-agent-node': 3.712.0 + '@aws-sdk/client-sso-oidc': 3.713.0(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/core': 3.713.0 + '@aws-sdk/credential-provider-node': 3.713.0(@aws-sdk/client-sso-oidc@3.713.0)(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/middleware-host-header': 3.713.0 + '@aws-sdk/middleware-logger': 3.713.0 + '@aws-sdk/middleware-recursion-detection': 3.713.0 + '@aws-sdk/middleware-user-agent': 3.713.0 + '@aws-sdk/region-config-resolver': 3.713.0 + '@aws-sdk/types': 3.713.0 + '@aws-sdk/util-endpoints': 3.713.0 + '@aws-sdk/util-user-agent-browser': 3.713.0 + '@aws-sdk/util-user-agent-node': 3.713.0 '@smithy/config-resolver': 3.0.13 '@smithy/core': 2.5.5 '@smithy/fetch-http-handler': 4.1.2 @@ -2785,29 +2766,29 @@ packages: - aws-crt dev: false - /@aws-sdk/client-transcribe-streaming@3.712.0: - resolution: {integrity: sha512-PzscpIGOXDYc+mhOIW8hkCQ3d8+fDBcvBkcm+567oBX4nT83lspBkMBjKAIcFiZxLCxF3Ol/0EK0RqXNYJlxxQ==} + /@aws-sdk/client-transcribe-streaming@3.713.0: + resolution: {integrity: sha512-h8Jn6xZarZqZkRViE0cyiozEQTuAxPJjIMyoIF+A4Z4pLsowiivzYk/mPTiFKEBvguIKiYkriygOaU4QgqIXTQ==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.712.0(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/client-sts': 3.712.0 - '@aws-sdk/core': 3.709.0 - '@aws-sdk/credential-provider-node': 3.712.0(@aws-sdk/client-sso-oidc@3.712.0)(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/eventstream-handler-node': 3.709.0 - '@aws-sdk/middleware-eventstream': 3.709.0 - '@aws-sdk/middleware-host-header': 3.709.0 - '@aws-sdk/middleware-logger': 3.709.0 - '@aws-sdk/middleware-recursion-detection': 3.709.0 - '@aws-sdk/middleware-sdk-transcribe-streaming': 3.709.0 - '@aws-sdk/middleware-user-agent': 3.709.0 - '@aws-sdk/middleware-websocket': 3.709.0 - '@aws-sdk/region-config-resolver': 3.709.0 - '@aws-sdk/types': 3.709.0 - '@aws-sdk/util-endpoints': 3.709.0 - '@aws-sdk/util-user-agent-browser': 3.709.0 - '@aws-sdk/util-user-agent-node': 3.712.0 + '@aws-sdk/client-sso-oidc': 3.713.0(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/client-sts': 3.713.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/credential-provider-node': 3.713.0(@aws-sdk/client-sso-oidc@3.713.0)(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/eventstream-handler-node': 3.713.0 + '@aws-sdk/middleware-eventstream': 3.713.0 + '@aws-sdk/middleware-host-header': 3.713.0 + '@aws-sdk/middleware-logger': 3.713.0 + '@aws-sdk/middleware-recursion-detection': 3.713.0 + '@aws-sdk/middleware-sdk-transcribe-streaming': 3.713.0 + '@aws-sdk/middleware-user-agent': 3.713.0 + '@aws-sdk/middleware-websocket': 3.713.0 + '@aws-sdk/region-config-resolver': 3.713.0 + '@aws-sdk/types': 3.713.0 + '@aws-sdk/util-endpoints': 3.713.0 + '@aws-sdk/util-user-agent-browser': 3.713.0 + '@aws-sdk/util-user-agent-node': 3.713.0 '@smithy/config-resolver': 3.0.13 '@smithy/core': 2.5.5 '@smithy/eventstream-serde-browser': 3.0.14 @@ -2841,11 +2822,11 @@ packages: - aws-crt dev: false - /@aws-sdk/core@3.709.0: - resolution: {integrity: sha512-7kuSpzdOTAE026j85wq/fN9UDZ70n0OHw81vFqMWwlEFtm5IQ/MRCLKcC4HkXxTdfy1PqFlmoXxWqeBa15tujw==} + /@aws-sdk/core@3.713.0: + resolution: {integrity: sha512-7Xq7LY6Q3eITvlqR1bP3cJu3RvTt4eb+WilK85eezPemi9589o6MNL0lu4nL0i+OdgPWw4x9z9WArRwXhHTreg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/core': 2.5.5 '@smithy/node-config-provider': 3.1.12 '@smithy/property-provider': 3.1.11 @@ -2858,23 +2839,23 @@ packages: tslib: 2.8.1 dev: false - /@aws-sdk/credential-provider-env@3.709.0: - resolution: {integrity: sha512-ZMAp9LSikvHDFVa84dKpQmow6wsg956Um20cKuioPpX2GGreJFur7oduD+tRJT6FtIOHn+64YH+0MwiXLhsaIQ==} + /@aws-sdk/credential-provider-env@3.713.0: + resolution: {integrity: sha512-B5+AbvN8qr5jmaiFdErtHlhdZtfMCP7JB1nwdi9LTsZLVP8BhFXnOYlIE7z6jq8GRkDBHybTxovKWzSfI0gg+w==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/core': 3.709.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/types': 3.713.0 '@smithy/property-provider': 3.1.11 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/credential-provider-http@3.709.0: - resolution: {integrity: sha512-lIS7XLwCOyJnLD70f+VIRr8DNV1HPQe9oN6aguYrhoczqz7vDiVZLe3lh714cJqq9rdxzFypK5DqKHmcscMEPQ==} + /@aws-sdk/credential-provider-http@3.713.0: + resolution: {integrity: sha512-VarD43CV9Bn+yNCZZb17xMiSjX/FRdU3wN2Aw/jP6ZE3/d87J9L7fxRRFmt4FAgLg35MJbooDGT9heycwg/WWw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/core': 3.709.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/types': 3.713.0 '@smithy/fetch-http-handler': 4.1.2 '@smithy/node-http-handler': 3.3.2 '@smithy/property-provider': 3.1.11 @@ -2885,20 +2866,20 @@ packages: tslib: 2.8.1 dev: false - /@aws-sdk/credential-provider-ini@3.712.0(@aws-sdk/client-sso-oidc@3.712.0)(@aws-sdk/client-sts@3.712.0): - resolution: {integrity: sha512-sTsdQ/Fm/suqMdpjhMuss/5uKL18vcuWnNTQVrG9iGNRqZLbq65MXquwbUpgzfoUmIcH+4CrY6H2ebpTIECIag==} + /@aws-sdk/credential-provider-ini@3.713.0(@aws-sdk/client-sso-oidc@3.713.0)(@aws-sdk/client-sts@3.713.0): + resolution: {integrity: sha512-6oQuPjYONMCWTWhq5yV61OziX2KeU+nhTsdk+Zh4RiuaTkRRNTLnMAVA/VoG1FG8cnQbZJDFezh58nzlBTWHdw==} engines: {node: '>=16.0.0'} peerDependencies: - '@aws-sdk/client-sts': ^3.712.0 + '@aws-sdk/client-sts': ^3.713.0 dependencies: - '@aws-sdk/client-sts': 3.712.0 - '@aws-sdk/core': 3.709.0 - '@aws-sdk/credential-provider-env': 3.709.0 - '@aws-sdk/credential-provider-http': 3.709.0 - '@aws-sdk/credential-provider-process': 3.709.0 - '@aws-sdk/credential-provider-sso': 3.712.0(@aws-sdk/client-sso-oidc@3.712.0) - '@aws-sdk/credential-provider-web-identity': 3.709.0(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/types': 3.709.0 + '@aws-sdk/client-sts': 3.713.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/credential-provider-env': 3.713.0 + '@aws-sdk/credential-provider-http': 3.713.0 + '@aws-sdk/credential-provider-process': 3.713.0 + '@aws-sdk/credential-provider-sso': 3.713.0(@aws-sdk/client-sso-oidc@3.713.0) + '@aws-sdk/credential-provider-web-identity': 3.713.0(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/types': 3.713.0 '@smithy/credential-provider-imds': 3.2.8 '@smithy/property-provider': 3.1.11 '@smithy/shared-ini-file-loader': 3.1.12 @@ -2909,17 +2890,17 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-node@3.712.0(@aws-sdk/client-sso-oidc@3.712.0)(@aws-sdk/client-sts@3.712.0): - resolution: {integrity: sha512-gXrHymW3rMRYORkPVQwL8Gi5Lu92F16SoZR543x03qCi7rm00oL9tRD85ACxkhprS1Wh8lUIUMNoeiwnYWTNuQ==} + /@aws-sdk/credential-provider-node@3.713.0(@aws-sdk/client-sso-oidc@3.713.0)(@aws-sdk/client-sts@3.713.0): + resolution: {integrity: sha512-uIRHrhqcjcc+fUcid7Dey7mXRYfntPcA2xzebOnIK5hGBNwfQHpRG3RAlEB8K864psqW+j+XxvjoRHx9trL5Zg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/credential-provider-env': 3.709.0 - '@aws-sdk/credential-provider-http': 3.709.0 - '@aws-sdk/credential-provider-ini': 3.712.0(@aws-sdk/client-sso-oidc@3.712.0)(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/credential-provider-process': 3.709.0 - '@aws-sdk/credential-provider-sso': 3.712.0(@aws-sdk/client-sso-oidc@3.712.0) - '@aws-sdk/credential-provider-web-identity': 3.709.0(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/types': 3.709.0 + '@aws-sdk/credential-provider-env': 3.713.0 + '@aws-sdk/credential-provider-http': 3.713.0 + '@aws-sdk/credential-provider-ini': 3.713.0(@aws-sdk/client-sso-oidc@3.713.0)(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/credential-provider-process': 3.713.0 + '@aws-sdk/credential-provider-sso': 3.713.0(@aws-sdk/client-sso-oidc@3.713.0) + '@aws-sdk/credential-provider-web-identity': 3.713.0(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/types': 3.713.0 '@smithy/credential-provider-imds': 3.2.8 '@smithy/property-provider': 3.1.11 '@smithy/shared-ini-file-loader': 3.1.12 @@ -2931,26 +2912,26 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-process@3.709.0: - resolution: {integrity: sha512-IAC+jPlGQII6jhIylHOwh3RgSobqlgL59nw2qYTURr8hMCI0Z1p5y2ee646HTVt4WeCYyzUAXfxr6YI/Vitv+Q==} + /@aws-sdk/credential-provider-process@3.713.0: + resolution: {integrity: sha512-adVC8iz8uHmhVmZaYGj4Ab8rLz+hmnR6rOeMQ6wVbCAnWDb2qoahb+vLZ9sW9yMCVRqiDWeVK7lsa0MDRCM1sw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/core': 3.709.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/types': 3.713.0 '@smithy/property-provider': 3.1.11 '@smithy/shared-ini-file-loader': 3.1.12 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/credential-provider-sso@3.712.0(@aws-sdk/client-sso-oidc@3.712.0): - resolution: {integrity: sha512-8lCMxY7Lb9VK9qdlNXRJXE3W1UDVURnJZ3a4XWYNY6yr1TfQaN40mMyXX1oNlXXJtMV0szRvjM8dZj37E/ESAw==} + /@aws-sdk/credential-provider-sso@3.713.0(@aws-sdk/client-sso-oidc@3.713.0): + resolution: {integrity: sha512-67QzqZJ6i04ZJVRB4WTUfU3QWJgr9fmv9JdqiLl63GTfz2KGOMwmojbi4INJ9isq4rDVUycdHsgl1Mhe6eDXJg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/client-sso': 3.712.0 - '@aws-sdk/core': 3.709.0 - '@aws-sdk/token-providers': 3.709.0(@aws-sdk/client-sso-oidc@3.712.0) - '@aws-sdk/types': 3.709.0 + '@aws-sdk/client-sso': 3.713.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/token-providers': 3.713.0(@aws-sdk/client-sso-oidc@3.713.0) + '@aws-sdk/types': 3.713.0 '@smithy/property-provider': 3.1.11 '@smithy/shared-ini-file-loader': 3.1.12 '@smithy/types': 3.7.2 @@ -2960,35 +2941,35 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-web-identity@3.709.0(@aws-sdk/client-sts@3.712.0): - resolution: {integrity: sha512-2lbDfE0IQ6gma/7BB2JpkjW5G0wGe4AS0x80oybYAYYviJmUtIR3Cn2pXun6bnAWElt4wYKl4su7oC36rs5rNA==} + /@aws-sdk/credential-provider-web-identity@3.713.0(@aws-sdk/client-sts@3.713.0): + resolution: {integrity: sha512-hz2Ru+xKYQupxyYb8KCCmH6qhzn4MSkocFbnBxevlQMYbugi80oaQtpmkj2ovrKCY2ktD4ufhC/8UZJMFGjAqw==} engines: {node: '>=16.0.0'} peerDependencies: - '@aws-sdk/client-sts': ^3.709.0 + '@aws-sdk/client-sts': ^3.713.0 dependencies: - '@aws-sdk/client-sts': 3.712.0 - '@aws-sdk/core': 3.709.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/client-sts': 3.713.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/types': 3.713.0 '@smithy/property-provider': 3.1.11 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/eventstream-handler-node@3.709.0: - resolution: {integrity: sha512-/UsV2H/MofSJa8GlY88o1ptMLfCNUxiovYBlYefkaCF6yA3+91rJ78kQfsL9bCXEBP1J0lUJWZBNWQI+fqC76w==} + /@aws-sdk/eventstream-handler-node@3.713.0: + resolution: {integrity: sha512-Iqupgu8PEpz3k+sU3jZ1YkDqKphRRAvCRWmUI0wt6g+sC57AdLxBb/+02ysUn1CCke862QcWdfQGMUQYRfPddA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/eventstream-codec': 3.1.10 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/middleware-bucket-endpoint@3.709.0: - resolution: {integrity: sha512-03+tJOd7KIZOiqWH7Z8BOfQIWkKJgjcpKOJKZ6FR2KjWGUOE1G+bo11wF4UuHQ0RmpKnApt+pQghZmSnE7WEeg==} + /@aws-sdk/middleware-bucket-endpoint@3.713.0: + resolution: {integrity: sha512-rfwwaf7lUpK+OrZ1G3ZdSRjYHWUeb/gxSDyNk5oIZP2ALmNssz3qJrzOLq1JQrxAhH1tI02Pc3uCMy2I+Le3xA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@aws-sdk/util-arn-parser': 3.693.0 '@smithy/node-config-provider': 3.1.12 '@smithy/protocol-http': 4.1.8 @@ -2997,35 +2978,35 @@ packages: tslib: 2.8.1 dev: false - /@aws-sdk/middleware-eventstream@3.709.0: - resolution: {integrity: sha512-TSggXRaC8fd35AK8pAH6CTG800U9mKn3gGtMOn/6RzBbcx35KJ7xqR8MrOyIwGFSuRj+BggCdJRfUtcFWcaIhg==} + /@aws-sdk/middleware-eventstream@3.713.0: + resolution: {integrity: sha512-E+2CeClPldpkiuKq1X5PbupzS6pBwHLPUcvAe49ZgJUmuddY5VqTicmiaF5UIovPCtIsGBYIRb9LTphkMF7Dgg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/protocol-http': 4.1.8 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/middleware-expect-continue@3.709.0: - resolution: {integrity: sha512-Tbl/DFvE4rHl8lMb9IzetwK4tf5R3VeHZkvEXQalsWoK0tbEQ8kXWi7wAYO4qbE7bFVvaxKX+irjJjTxf3BrCQ==} + /@aws-sdk/middleware-expect-continue@3.713.0: + resolution: {integrity: sha512-/qSB24agnCTZKKNLWyG91KmWD49vVsbG9iTfz/0kx5Yvztu5kaaNAmnLl35uLkbwAdwFBsmR6tC0IwsD58m8PA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/protocol-http': 4.1.8 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/middleware-flexible-checksums@3.709.0: - resolution: {integrity: sha512-wbYm9tkyCaqMeU82yjaXw7V5BxCSlSLNupENW63LC7Fvyo/aQzj6LjSMHcBpR2QwjBEhXCtF47L7aQ8SPTNhdw==} + /@aws-sdk/middleware-flexible-checksums@3.713.0: + resolution: {integrity: sha512-JvSjNyAaEzP4s+RgM7H6OrqPvqqAfccC13JVxYfj77DynkTFY1DYsALUtrdY7/KSgTI8w/1TObvR25V+jcKdnw==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/crc32': 5.2.0 '@aws-crypto/crc32c': 5.2.0 '@aws-crypto/util': 5.2.0 - '@aws-sdk/core': 3.709.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/types': 3.713.0 '@smithy/is-array-buffer': 3.0.0 '@smithy/node-config-provider': 3.1.12 '@smithy/protocol-http': 4.1.8 @@ -3036,50 +3017,50 @@ packages: tslib: 2.8.1 dev: false - /@aws-sdk/middleware-host-header@3.709.0: - resolution: {integrity: sha512-8gQYCYAaIw4lOCd5WYdf15Y/61MgRsAnrb2eiTl+icMlUOOzl8aOl5iDwm/Idp0oHZTflwxM4XSvGXO83PRWcw==} + /@aws-sdk/middleware-host-header@3.713.0: + resolution: {integrity: sha512-T1cRV9hs9WKwb2porR4QmW76ScCHqbdsrAAH+/2fR8IVRpFRU0BMnwrpSrRr7ujj6gqWQRQ97JLL+GpqpY3/ag==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/protocol-http': 4.1.8 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/middleware-location-constraint@3.709.0: - resolution: {integrity: sha512-5YQWPXfZq7OE0jB2G0PP8K10GBod/YPJXb+1CfJS6FbQaglRoIm8KZmVEvJNnptSKyGtE62veeCcCQcfAUfFig==} + /@aws-sdk/middleware-location-constraint@3.713.0: + resolution: {integrity: sha512-73nlnyJotDMLM35rGc2PDRWpCcyQf7mkdfl8wTyuJ85TNY88J3A6sN+/8OT/BPun5SZ/Y114dZxGz8eMhx9vmg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/middleware-logger@3.709.0: - resolution: {integrity: sha512-jDoGSccXv9zebnpUoisjWd5u5ZPIalrmm6TjvPzZ8UqzQt3Beiz0tnQwmxQD6KRc7ADweWP5Ntiqzbw9xpVajg==} + /@aws-sdk/middleware-logger@3.713.0: + resolution: {integrity: sha512-mpTK7ost3lQt08YhTsf+C4uEAwg3Xu1LKxexlIZGXucCB6AqBKpP7e86XzpFFAtuRgEfTJVbW+Gqna8LM+yXoA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/middleware-recursion-detection@3.709.0: - resolution: {integrity: sha512-PObL/wLr4lkfbQ0yXUWaoCWu/jcwfwZzCjsUiXW/H6hW9b/00enZxmx7OhtJYaR6xmh/Lcx5wbhIoDCbzdv0tw==} + /@aws-sdk/middleware-recursion-detection@3.713.0: + resolution: {integrity: sha512-6vgQw92yvKR8MNsSXJE4seZhMSPVuyuBLuX81DWPr1pak/RpuUzn96CSYCTAYoCtf5vJgNseIcPfKQLkRYmBzg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/protocol-http': 4.1.8 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/middleware-sdk-s3@3.709.0: - resolution: {integrity: sha512-FwtOG9t9xsLoLOQZ6qAdsWOjx9dsO6t28IjIDV1l6Ixiu2oC0Yks7goONjJUH0IDE4pDDDGzmuq0sn1XtHhheA==} + /@aws-sdk/middleware-sdk-s3@3.713.0: + resolution: {integrity: sha512-iiPo4xNJRXyTvABQbQGnP+tcVRWlQvDpc1K8pLt5t/GfiKc5QOwEehoglGN9yAPbVyHgkZLLntWq/QO8XU2hkw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/core': 3.709.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/types': 3.713.0 '@aws-sdk/util-arn-parser': 3.693.0 '@smithy/core': 2.5.5 '@smithy/node-config-provider': 3.1.12 @@ -3094,12 +3075,12 @@ packages: tslib: 2.8.1 dev: false - /@aws-sdk/middleware-sdk-transcribe-streaming@3.709.0: - resolution: {integrity: sha512-WR+QZ7vHZLhFWm2RUPDCy1X3FvDFydWfeR0sRDKXPlV8nUtbZk5cTNPNhghE8MlJVaSkFwC/J2cr30th7FOHAQ==} + /@aws-sdk/middleware-sdk-transcribe-streaming@3.713.0: + resolution: {integrity: sha512-tKcF2h5Ghk7NT2hsStsV/CJ6Kvu69cjXD60D2no+Ss+vr6EncOzo3WtNWHuACJbcZ5W6tnaZbMzoFc/G/Pc/rw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 - '@aws-sdk/util-format-url': 3.709.0 + '@aws-sdk/types': 3.713.0 + '@aws-sdk/util-format-url': 3.713.0 '@smithy/eventstream-serde-browser': 3.0.14 '@smithy/protocol-http': 4.1.8 '@smithy/signature-v4': 4.2.4 @@ -3108,48 +3089,34 @@ packages: uuid: 9.0.1 dev: false - /@aws-sdk/middleware-signing@3.709.0: - resolution: {integrity: sha512-v9gxV9xKkQBRVh3ERA5ktvqAfh9FZilA3BkuTXLesIYBQqhhjilm3A/pRoHPsLqSCgsGzM6Swa3Q7VsqaqsLUQ==} + /@aws-sdk/middleware-ssec@3.713.0: + resolution: {integrity: sha512-aSUvd0OvXwFV1xnipSgZsVt5Tqlc62AE+2maTkpibUMOwLq2cHQ0RCoC8r7QTdSiq34nqi9epr4O1+Ev45zHmQ==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 - '@smithy/property-provider': 3.1.11 - '@smithy/protocol-http': 4.1.8 - '@smithy/signature-v4': 4.2.4 + '@aws-sdk/types': 3.713.0 '@smithy/types': 3.7.2 - '@smithy/util-middleware': 3.0.11 tslib: 2.8.1 dev: false - /@aws-sdk/middleware-ssec@3.709.0: - resolution: {integrity: sha512-2muiLe7YkmlwZp2SKz+goZrDThGfRq3o0FcJF3Puc0XGmcEPEDjih537mCoTrGgcXNFlBc7YChd84r3t72ySaQ==} + /@aws-sdk/middleware-user-agent@3.713.0: + resolution: {integrity: sha512-MYg2N9EUXQ4Kf0+rk7qCHPLbxRPAeWrxJXp8xDxSBiDPf0hcbCtT+cXXB6qWVrnp+OuacoUDrur3h604sp47Aw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 - '@smithy/types': 3.7.2 - tslib: 2.8.1 - dev: false - - /@aws-sdk/middleware-user-agent@3.709.0: - resolution: {integrity: sha512-ooc9ZJvgkjPhi9q05XwSfNTXkEBEIfL4hleo5rQBKwHG3aTHvwOM7LLzhdX56QZVa6sorPBp6fwULuRDSqiQHw==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-sdk/core': 3.709.0 - '@aws-sdk/types': 3.709.0 - '@aws-sdk/util-endpoints': 3.709.0 + '@aws-sdk/core': 3.713.0 + '@aws-sdk/types': 3.713.0 + '@aws-sdk/util-endpoints': 3.713.0 '@smithy/core': 2.5.5 '@smithy/protocol-http': 4.1.8 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/middleware-websocket@3.709.0: - resolution: {integrity: sha512-GmjczWYCppdXPsHV7CodU3JVWE1tq+rn/q1rMFXpEyVKjFhg9RwbytxL0+x3ep+x4z13y2nV5GfQWmNW6X1l5w==} + /@aws-sdk/middleware-websocket@3.713.0: + resolution: {integrity: sha512-mXS8honwUkxUznJxLBNk104n8KN89+OwR1wl5TUmpda6+V7wgRvgtZL/mOvw4GQdcwgRP2WoemoPb4TCp/9tJw==} engines: {node: '>= 14.0.0'} dependencies: - '@aws-sdk/middleware-signing': 3.709.0 - '@aws-sdk/types': 3.709.0 - '@aws-sdk/util-format-url': 3.709.0 + '@aws-sdk/types': 3.713.0 + '@aws-sdk/util-format-url': 3.713.0 '@smithy/eventstream-codec': 3.1.10 '@smithy/eventstream-serde-browser': 3.0.14 '@smithy/fetch-http-handler': 4.1.2 @@ -3160,11 +3127,11 @@ packages: tslib: 2.8.1 dev: false - /@aws-sdk/region-config-resolver@3.709.0: - resolution: {integrity: sha512-/NoCAMEVKAg3kBKOrNtgOfL+ECt6nrl+L7q2SyYmrcY4tVCmwuECVqewQaHc03fTnJijfKLccw0Fj+6wOCnB6w==} + /@aws-sdk/region-config-resolver@3.713.0: + resolution: {integrity: sha512-SsIxxUFgYSHXchkyal+Vg+tZUFyBR0NPy/3GEYZ8geJqVfgb/4SHCIfkLMcU0qPUKlRfkJF7FPdgO24sfLiopA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/node-config-provider': 3.1.12 '@smithy/types': 3.7.2 '@smithy/util-config-provider': 3.0.0 @@ -3172,13 +3139,13 @@ packages: tslib: 2.8.1 dev: false - /@aws-sdk/s3-request-presigner@3.712.0: - resolution: {integrity: sha512-LE+uNtGDyypRMxBfrJmkpWaW+x0QFp4qYH+nZYMDLdD0um8UrTrbVSfvIxcVm9QsL1gVy6WkpUj+5cU3YZBgyQ==} + /@aws-sdk/s3-request-presigner@3.713.0: + resolution: {integrity: sha512-I1UN2s4LbMOYXrSQIzcnIjG4HgnkAK4DxefI5ti8zpLroIoBWhZIXojnVcbE7hdkLpiAsKuWZNUE01sycO5gQA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/signature-v4-multi-region': 3.709.0 - '@aws-sdk/types': 3.709.0 - '@aws-sdk/util-format-url': 3.709.0 + '@aws-sdk/signature-v4-multi-region': 3.713.0 + '@aws-sdk/types': 3.713.0 + '@aws-sdk/util-format-url': 3.713.0 '@smithy/middleware-endpoint': 3.2.5 '@smithy/protocol-http': 4.1.8 '@smithy/smithy-client': 3.5.0 @@ -3186,34 +3153,34 @@ packages: tslib: 2.8.1 dev: false - /@aws-sdk/signature-v4-multi-region@3.709.0: - resolution: {integrity: sha512-m0vhJEy6SLbjL11K9cHzX/ZhCIj//1GkTbYk2d4tTQFSuPyJEkjmoeHk9dYm2mJy0wH48j29OJadI1JUsR5bOw==} + /@aws-sdk/signature-v4-multi-region@3.713.0: + resolution: {integrity: sha512-iUpvo1cNJquLnQdnmrgwg8VQCSsR/Y6ihmPHOI2bXP+y+VrZZtwweT8hcZvTFu5mcx5eMWFNkXnvmZDDsHppfw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/middleware-sdk-s3': 3.709.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/middleware-sdk-s3': 3.713.0 + '@aws-sdk/types': 3.713.0 '@smithy/protocol-http': 4.1.8 '@smithy/signature-v4': 4.2.4 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/token-providers@3.709.0(@aws-sdk/client-sso-oidc@3.712.0): - resolution: {integrity: sha512-q5Ar6k71nci43IbULFgC8a89d/3EHpmd7HvBzqVGRcHnoPwh8eZDBfbBXKH83NGwcS1qPSRYiDbVfeWPm4/1jA==} + /@aws-sdk/token-providers@3.713.0(@aws-sdk/client-sso-oidc@3.713.0): + resolution: {integrity: sha512-KNL+XaU0yR6qFDtceHe/ycEz0kHyDWNd2pbL3clFWzeVQXYs8+dYDEXA17MJPVyg7oh4wRdu0ymwQsBMl2wYAA==} engines: {node: '>=16.0.0'} peerDependencies: - '@aws-sdk/client-sso-oidc': ^3.709.0 + '@aws-sdk/client-sso-oidc': ^3.713.0 dependencies: - '@aws-sdk/client-sso-oidc': 3.712.0(@aws-sdk/client-sts@3.712.0) - '@aws-sdk/types': 3.709.0 + '@aws-sdk/client-sso-oidc': 3.713.0(@aws-sdk/client-sts@3.713.0) + '@aws-sdk/types': 3.713.0 '@smithy/property-provider': 3.1.11 '@smithy/shared-ini-file-loader': 3.1.12 '@smithy/types': 3.7.2 tslib: 2.8.1 dev: false - /@aws-sdk/types@3.709.0: - resolution: {integrity: sha512-ArtLTMxgjf13Kfu3gWH3Ez9Q5TkDdcRZUofpKH3pMGB/C6KAbeSCtIIDKfoRTUABzyGlPyCrZdnFjKyH+ypIpg==} + /@aws-sdk/types@3.713.0: + resolution: {integrity: sha512-AMSYVKi1MxrJqGGbjcFC7/4g8E+ZHGfg/eW0+GXQJmsVjMjccHtU+s1dYloX4KEDgrY42QPep+dpSVRR4W7U1Q==} engines: {node: '>=16.0.0'} dependencies: '@smithy/types': 3.7.2 @@ -3227,21 +3194,21 @@ packages: tslib: 2.8.1 dev: false - /@aws-sdk/util-endpoints@3.709.0: - resolution: {integrity: sha512-Mbc7AtL5WGCTKC16IGeUTz+sjpC3ptBda2t0CcK0kMVw3THDdcSq6ZlNKO747cNqdbwUvW34oHteUiHv4/z88Q==} + /@aws-sdk/util-endpoints@3.713.0: + resolution: {integrity: sha512-fbHDhiPTqfmkWzxZgWy+GFpdfiWJa1kNLWJCF4+yaF7iOZz0eyHoBX3iaTf20V2SUU8D2td/qkwTF+cpSZTZVw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/types': 3.7.2 '@smithy/util-endpoints': 2.1.7 tslib: 2.8.1 dev: false - /@aws-sdk/util-format-url@3.709.0: - resolution: {integrity: sha512-HGR11hx1KeFfoub/TACf+Yyal37lR85791Di2QPaElQThaqztLlppxale3EohKboOFf7Q/zvslJyM0fmgrlpQw==} + /@aws-sdk/util-format-url@3.713.0: + resolution: {integrity: sha512-3hWGhj3W0Aka2R7odNpbtbA+QhlRf5yc0rDbxqNN7RjSr5nO90ZuYzxlshQX6oJ7Sg4139FkoCMSf8DmcHjWBg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/querystring-builder': 3.0.11 '@smithy/types': 3.7.2 tslib: 2.8.1 @@ -3254,17 +3221,17 @@ packages: tslib: 2.8.1 dev: false - /@aws-sdk/util-user-agent-browser@3.709.0: - resolution: {integrity: sha512-/rL2GasJzdTWUURCQKFldw2wqBtY4k4kCiA2tVZSKg3y4Ey7zO34SW8ebaeCE2/xoWOyLR2/etdKyphoo4Zrtg==} + /@aws-sdk/util-user-agent-browser@3.713.0: + resolution: {integrity: sha512-ioLAF8aIlcVhdizFVNuogMK5u3Js04rpGFvsbZANa1SJ9pK2UsKznnzinJT4e4ongy55g6LSZkWlF79VjG/Yfw==} dependencies: - '@aws-sdk/types': 3.709.0 + '@aws-sdk/types': 3.713.0 '@smithy/types': 3.7.2 bowser: 2.11.0 tslib: 2.8.1 dev: false - /@aws-sdk/util-user-agent-node@3.712.0: - resolution: {integrity: sha512-26X21bZ4FWsVpqs33uOXiB60TOWQdVlr7T7XONDFL/XN7GEpUJkWuuIB4PTok6VOmh1viYcdxZQqekXPuzXexQ==} + /@aws-sdk/util-user-agent-node@3.713.0: + resolution: {integrity: sha512-dIunWBB7zRLvLVzNoBjap8YWrOhkwdFEjDWx9NleD+8ufpCFq5gEm8PJ0JP6stUgG5acTmafdzH7NgMyaeEexA==} engines: {node: '>=16.0.0'} peerDependencies: aws-crt: '>=1.0.0' @@ -3272,8 +3239,8 @@ packages: aws-crt: optional: true dependencies: - '@aws-sdk/middleware-user-agent': 3.709.0 - '@aws-sdk/types': 3.709.0 + '@aws-sdk/middleware-user-agent': 3.713.0 + '@aws-sdk/types': 3.713.0 '@smithy/node-config-provider': 3.1.12 '@smithy/types': 3.7.2 tslib: 2.8.1 @@ -4909,6 +4876,30 @@ packages: engines: {node: '>=10'} dev: false + /@coral-xyz/anchor@0.29.0: + resolution: {integrity: sha512-eny6QNG0WOwqV0zQ7cs/b1tIuzZGmP7U7EcH+ogt4Gdbl8HDmIYVMh/9aTmYZPaFWjtUaI8qSn73uYEXWfATdA==} + engines: {node: '>=11'} + dependencies: + '@coral-xyz/borsh': 0.29.0(@solana/web3.js@1.95.8) + '@noble/hashes': 1.6.1 + '@solana/web3.js': 1.95.8 + bn.js: 5.2.1 + bs58: 4.0.1 + buffer-layout: 1.2.2 + camelcase: 6.3.0 + cross-fetch: 3.1.8 + crypto-hash: 1.3.0 + eventemitter3: 4.0.7 + pako: 2.1.0 + snake-case: 3.0.4 + superstruct: 0.15.5 + toml: 3.0.0 + transitivePeerDependencies: + - bufferutil + - encoding + - utf-8-validate + dev: false + /@coral-xyz/anchor@0.30.1: resolution: {integrity: sha512-gDXFoF5oHgpriXAaLpxyWBHdCs8Awgf/gLHIo6crv7Aqm937CNdY+x+6hoj7QR5vaJV7MxWSQ0NGFzL3kPbWEQ==} engines: {node: '>=11'} @@ -4934,6 +4925,17 @@ packages: - utf-8-validate dev: false + /@coral-xyz/borsh@0.29.0(@solana/web3.js@1.95.8): + resolution: {integrity: sha512-s7VFVa3a0oqpkuRloWVPdCK7hMbAMY270geZOGfCnaqexrP5dTIpbEHL33req6IYPPJ0hYa71cdvJ1h6V55/oQ==} + engines: {node: '>=10'} + peerDependencies: + '@solana/web3.js': ^1.68.0 + dependencies: + '@solana/web3.js': 1.95.8 + bn.js: 5.2.1 + buffer-layout: 1.2.2 + dev: false + /@coral-xyz/borsh@0.30.1(@solana/web3.js@1.95.8): resolution: {integrity: sha512-aaxswpPrCFKl8vZTbxLssA2RvwX2zmKLlRCIktJOwW+VpVwYtXRtlWiIP+c2pPRKneiTiWCN2GEMSH9j1zTlWQ==} engines: {node: '>=10'} @@ -5602,12 +5604,12 @@ packages: engines: {node: '>=10.0.0'} dev: false - /@docsearch/css@3.8.0: - resolution: {integrity: sha512-pieeipSOW4sQ0+bE5UFC51AOZp9NGxg89wAlZ1BAQFaiRAGK1IKUaPQ0UGZeNctJXyqZ1UvBtOQh2HH+U5GtmA==} + /@docsearch/css@3.8.1: + resolution: {integrity: sha512-XiPhKT+ghUi4pEi/ACE9iDmwWsLA6d6xSwtR5ab48iB63OtYWFLZHUKdH7jHKTmwOs0Eg22TX4Kb3H5liFm5bQ==} dev: false - /@docsearch/react@3.8.0(@algolia/client-search@5.17.1)(@types/react@18.3.12)(react-dom@18.3.1)(react@18.3.1)(search-insights@2.17.3): - resolution: {integrity: sha512-WnFK720+iwTVt94CxY3u+FgX6exb3BfN5kE9xUY6uuAH/9W/UFboBZFLlrw/zxFRHoHZCOXRtOylsXF+6LHI+Q==} + /@docsearch/react@3.8.1(@algolia/client-search@5.17.1)(@types/react@18.3.12)(react-dom@18.3.1)(react@18.3.1)(search-insights@2.17.3): + resolution: {integrity: sha512-7vgQuktQNBQdNWO1jbkiwgIrTZ0r5nPIHqcO3Z2neAWgkdUuldvvMfEOEaPXT5lqcezEv7i0h+tC285nD3jpZg==} peerDependencies: '@types/react': '>= 16.8.0 < 19.0.0' react: '>= 16.8.0 < 19.0.0' @@ -5625,7 +5627,7 @@ packages: dependencies: '@algolia/autocomplete-core': 1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1)(search-insights@2.17.3) '@algolia/autocomplete-preset-algolia': 1.17.7(@algolia/client-search@5.17.1)(algoliasearch@5.17.1) - '@docsearch/css': 3.8.0 + '@docsearch/css': 3.8.1 '@types/react': 18.3.12 algoliasearch: 5.17.1 react: 18.3.1 @@ -6467,7 +6469,7 @@ packages: react: ^18.0.0 react-dom: ^18.0.0 dependencies: - '@docsearch/react': 3.8.0(@algolia/client-search@5.17.1)(@types/react@18.3.12)(react-dom@18.3.1)(react@18.3.1)(search-insights@2.17.3) + '@docsearch/react': 3.8.1(@algolia/client-search@5.17.1)(@types/react@18.3.12)(react-dom@18.3.1)(react@18.3.1)(search-insights@2.17.3) '@docusaurus/core': 3.6.3(@mdx-js/react@3.0.1)(acorn@8.14.0)(eslint@9.16.0)(react-dom@18.3.1)(react@18.3.1)(typescript@5.6.3) '@docusaurus/logger': 3.6.3 '@docusaurus/plugin-content-docs': 3.6.3(@mdx-js/react@3.0.1)(acorn@8.14.0)(eslint@9.16.0)(react-dom@18.3.1)(react@18.3.1)(typescript@5.6.3) @@ -7890,7 +7892,7 @@ packages: - supports-color dev: false - /@gql.tada/cli-utils@1.6.3(@0no-co/graphqlsp@1.12.16)(graphql@16.9.0)(typescript@5.6.3): + /@gql.tada/cli-utils@1.6.3(@0no-co/graphqlsp@1.12.16)(graphql@16.10.0)(typescript@5.6.3): resolution: {integrity: sha512-jFFSY8OxYeBxdKi58UzeMXG1tdm4FVjXa8WHIi66Gzu9JWtCE6mqom3a8xkmSw+mVaybFW5EN2WXf1WztJVNyQ==} peerDependencies: '@0no-co/graphqlsp': ^1.12.13 @@ -7904,29 +7906,29 @@ packages: '@gql.tada/vue-support': optional: true dependencies: - '@0no-co/graphqlsp': 1.12.16(graphql@16.9.0)(typescript@5.6.3) - '@gql.tada/internal': 1.0.8(graphql@16.9.0)(typescript@5.6.3) - graphql: 16.9.0 + '@0no-co/graphqlsp': 1.12.16(graphql@16.10.0)(typescript@5.6.3) + '@gql.tada/internal': 1.0.8(graphql@16.10.0)(typescript@5.6.3) + graphql: 16.10.0 typescript: 5.6.3 dev: false - /@gql.tada/internal@1.0.8(graphql@16.9.0)(typescript@5.6.3): + /@gql.tada/internal@1.0.8(graphql@16.10.0)(typescript@5.6.3): resolution: {integrity: sha512-XYdxJhtHC5WtZfdDqtKjcQ4d7R1s0d1rnlSs3OcBEUbYiPoJJfZU7tWsVXuv047Z6msvmr4ompJ7eLSK5Km57g==} peerDependencies: graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 typescript: ^5.0.0 dependencies: - '@0no-co/graphql.web': 1.0.12(graphql@16.9.0) - graphql: 16.9.0 + '@0no-co/graphql.web': 1.0.12(graphql@16.10.0) + graphql: 16.10.0 typescript: 5.6.3 dev: false - /@graphql-typed-document-node/core@3.2.0(graphql@16.9.0): + /@graphql-typed-document-node/core@3.2.0(graphql@16.10.0): resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 dependencies: - graphql: 16.9.0 + graphql: 16.10.0 dev: false /@hapi/hoek@9.3.0: @@ -8005,8 +8007,8 @@ packages: resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} dev: false - /@iconify/utils@2.2.0: - resolution: {integrity: sha512-9A5eZQV9eKlNCXlI/SgYsGRS7YmGmB1oAsRpNVIYBmIzGJRgH+hfG+lo4069s+GFWFNnBAtDg10c53vQZBLfnA==} + /@iconify/utils@2.2.1: + resolution: {integrity: sha512-0/7J7hk4PqXmxo5PDBDxmnecw5PxklZJfNjIVG9FM0mEfVrvfudS22rYWsqVk6gR3UJ/mSYS90X4R3znXnqfNA==} dependencies: '@antfu/install-pkg': 0.4.1 '@antfu/utils': 0.7.10 @@ -8523,8 +8525,8 @@ packages: resolution: {integrity: sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==} dev: false - /@langchain/core@0.3.23(openai@4.73.0): - resolution: {integrity: sha512-Aut43dEJYH/ibccSErFOLQzymkBG4emlN16P0OHWwx02bDosOR9ilZly4JJiCSYcprn2X2H8nee6P/4VMg1oQA==} + /@langchain/core@0.3.24(openai@4.73.0): + resolution: {integrity: sha512-xd7+VSJCwFNwt57poYjl18SbAb51mLWvq7OvQhkUQXv20LdnrO8Y5e2NhVKpNcYE306fFfAu+ty9ncPyKCpMZA==} engines: {node: '>=18'} dependencies: '@cfworker/json-schema': 4.0.3 @@ -8543,13 +8545,13 @@ packages: - openai dev: false - /@langchain/openai@0.3.14(@langchain/core@0.3.23): + /@langchain/openai@0.3.14(@langchain/core@0.3.24): resolution: {integrity: sha512-lNWjUo1tbvsss45IF7UQtMu1NJ6oUKvhgPYWXnX9f/d6OmuLu7D99HQ3Y88vLcUo9XjjOy417olYHignMduMjA==} engines: {node: '>=18'} peerDependencies: '@langchain/core': '>=0.2.26 <0.4.0' dependencies: - '@langchain/core': 0.3.23(openai@4.73.0) + '@langchain/core': 0.3.24(openai@4.73.0) js-tiktoken: 1.0.15 openai: 4.73.0(zod@3.23.8) zod: 3.23.8 @@ -8558,13 +8560,13 @@ packages: - encoding dev: false - /@langchain/textsplitters@0.1.0(@langchain/core@0.3.23): + /@langchain/textsplitters@0.1.0(@langchain/core@0.3.24): resolution: {integrity: sha512-djI4uw9rlkAb5iMhtLED+xJebDdAG935AdP4eRTB02R7OB/act55Bj9wsskhZsvuyQRpO4O1wQOp85s6T6GWmw==} engines: {node: '>=18'} peerDependencies: '@langchain/core': '>=0.2.21 <0.4.0' dependencies: - '@langchain/core': 0.3.23(openai@4.73.0) + '@langchain/core': 0.3.24(openai@4.73.0) js-tiktoken: 1.0.15 dev: false @@ -8615,9 +8617,9 @@ packages: '@lens-protocol/metadata': 1.2.0(zod@3.23.8) '@lens-protocol/shared-kernel': 0.12.0 '@lens-protocol/storage': 0.8.1 - graphql: 16.9.0 - graphql-request: 6.1.0(graphql@16.9.0) - graphql-tag: 2.12.6(graphql@16.9.0) + graphql: 16.10.0 + graphql-request: 6.1.0(graphql@16.10.0) + graphql-tag: 2.12.6(graphql@16.10.0) jwt-decode: 3.1.2 tslib: 2.8.1 zod: 3.23.8 @@ -8898,7 +8900,7 @@ packages: '@lit-protocol/misc-browser': 2.1.62 '@lit-protocol/types': 2.1.62 '@lit-protocol/uint8arrays': 2.1.62 - '@walletconnect/ethereum-provider': 2.17.2(react@18.3.1) + '@walletconnect/ethereum-provider': 2.17.3(react@18.3.1) ethers: 5.7.2 lit-connect-modal: 0.1.11 lit-siwe: 1.1.8(@ethersproject/contracts@5.7.0)(@ethersproject/hash@5.7.0)(@ethersproject/providers@5.7.2)(@ethersproject/wallet@5.7.0) @@ -9029,7 +9031,7 @@ packages: '@lit-protocol/nacl': 2.1.62 '@lit-protocol/types': 2.1.62 '@lit-protocol/uint8arrays': 2.1.62 - '@walletconnect/ethereum-provider': 2.17.2(react@18.3.1) + '@walletconnect/ethereum-provider': 2.17.3(react@18.3.1) ethers: 5.7.2 jszip: 3.10.1 lit-connect-modal: 0.1.11 @@ -9453,7 +9455,7 @@ packages: resolution: {integrity: sha512-vL6QrH3l10dTatimPmz/feqMbYfEjvh8MPf3Xwn5tjuwDwBCS0ha1kdN+4vUpu6t0aCFviK+Df/vanORS8cbGQ==} engines: {node: '>=18'} dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.10.0) '@mysten/bcs': 1.2.0 '@noble/curves': 1.7.0 '@noble/hashes': 1.6.1 @@ -9462,8 +9464,8 @@ packages: '@simplewebauthn/typescript-types': 7.4.0 '@suchipi/femver': 1.0.0 bech32: 2.0.0 - gql.tada: 1.8.10(graphql@16.9.0)(typescript@5.6.3) - graphql: 16.9.0 + gql.tada: 1.8.10(graphql@16.10.0)(typescript@5.6.3) + graphql: 16.10.0 jose: 5.9.6 poseidon-lite: 0.2.1 tweetnacl: 1.0.3 @@ -9669,8 +9671,8 @@ packages: - encoding dev: false - /@neynar/nodejs-sdk@2.2.3(typescript@5.6.3): - resolution: {integrity: sha512-9CW2j64yFJEg70A0D6qc3EE5x8NnMzHMRNdA9VuLYZQA1GzoOWsi6/BKxPX/vfgSvnNeveCIPtUzEXRSTbGarQ==} + /@neynar/nodejs-sdk@2.3.0(typescript@5.6.3): + resolution: {integrity: sha512-e9EWqCY9b08MF8YSCdEDVYl2NsC1NgcYz086bv2ZI4LF3DhhfgWdFWagpjhn+l+Zd/MTLAM2NCBuBS2oWD1+RQ==} engines: {node: '>=19.9.0'} dependencies: '@openapitools/openapi-generator-cli': 2.15.3 @@ -10862,9 +10864,9 @@ packages: '@onflow/util-logger': 1.3.3 '@walletconnect/modal': 2.7.0(react@18.3.1) '@walletconnect/modal-core': 2.7.0(react@18.3.1) - '@walletconnect/sign-client': 2.17.2 - '@walletconnect/types': 2.17.2 - '@walletconnect/utils': 2.17.2 + '@walletconnect/sign-client': 2.17.3 + '@walletconnect/types': 2.17.3 + '@walletconnect/utils': 2.17.3 postcss-cli: 11.0.0(postcss@8.4.49) preact: 10.25.2 tailwindcss: 3.4.15 @@ -10913,7 +10915,7 @@ packages: '@onflow/util-semver': 1.0.3 '@onflow/util-template': 1.2.3 '@onflow/util-uid': 1.2.3 - '@walletconnect/types': 2.17.2 + '@walletconnect/types': 2.17.3 abort-controller: 3.0.0 cross-fetch: 4.0.0 events: 3.3.0 @@ -11899,6 +11901,29 @@ packages: resolution: {integrity: sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==} dev: false + /@raydium-io/raydium-sdk-v2@0.1.82-alpha(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3): + resolution: {integrity: sha512-PScLnWZV5Y/igcvP4hbD/1ztzW2w5a2YStolu9A5VT6uB2q+izeo+SE7IqzZggyaReXyisjdkNGpB/kMdkdJGQ==} + dependencies: + '@solana/buffer-layout': 4.0.1 + '@solana/spl-token': 0.4.9(@solana/web3.js@1.95.8)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3) + '@solana/web3.js': 1.95.8 + axios: 1.7.9(debug@4.4.0) + big.js: 6.2.2 + bn.js: 5.2.1 + dayjs: 1.11.13 + decimal.js-light: 2.5.1 + lodash: 4.17.21 + toformat: 2.0.0 + tsconfig-paths: 4.2.0 + transitivePeerDependencies: + - bufferutil + - debug + - encoding + - fastestsmallesttextencoderdecoder + - typescript + - utf-8-validate + dev: false + /@react-icons/all-files@4.1.0(react@18.3.1): resolution: {integrity: sha512-hxBI2UOuVaI3O/BhQfhtb4kcGn9ft12RWAFVMUeNjqqhLsHvFtzIkFaptBJpFDANTKoDfdVoHTKZDlwKCACbMQ==} peerDependencies: @@ -12072,12 +12097,12 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.3(rollup@2.79.2) + '@rollup/pluginutils': 5.1.4(rollup@2.79.2) commondir: 1.0.1 estree-walker: 2.0.2 glob: 8.1.0 is-reference: 1.2.1 - magic-string: 0.30.15 + magic-string: 0.30.17 rollup: 2.79.2 dev: true @@ -12090,12 +12115,12 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.3(rollup@3.29.5) + '@rollup/pluginutils': 5.1.4(rollup@3.29.5) commondir: 1.0.1 estree-walker: 2.0.2 glob: 8.1.0 is-reference: 1.2.1 - magic-string: 0.30.15 + magic-string: 0.30.17 rollup: 3.29.5 dev: true @@ -12108,7 +12133,7 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.3(rollup@2.79.2) + '@rollup/pluginutils': 5.1.4(rollup@2.79.2) rollup: 2.79.2 dev: true @@ -12121,7 +12146,7 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.3(rollup@3.29.5) + '@rollup/pluginutils': 5.1.4(rollup@3.29.5) rollup: 3.29.5 /@rollup/plugin-node-resolve@15.3.0(rollup@2.79.2): @@ -12133,7 +12158,7 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.3(rollup@2.79.2) + '@rollup/pluginutils': 5.1.4(rollup@2.79.2) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-module: 1.0.0 @@ -12150,7 +12175,7 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.3(rollup@3.29.5) + '@rollup/pluginutils': 5.1.4(rollup@3.29.5) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-module: 1.0.0 @@ -12167,8 +12192,8 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.3(rollup@2.79.2) - magic-string: 0.30.15 + '@rollup/pluginutils': 5.1.4(rollup@2.79.2) + magic-string: 0.30.17 rollup: 2.79.2 dev: true @@ -12181,8 +12206,8 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.3(rollup@3.29.5) - magic-string: 0.30.15 + '@rollup/pluginutils': 5.1.4(rollup@3.29.5) + magic-string: 0.30.17 rollup: 3.29.5 dev: true @@ -12212,7 +12237,7 @@ packages: tslib: optional: true dependencies: - '@rollup/pluginutils': 5.1.3(rollup@2.79.2) + '@rollup/pluginutils': 5.1.4(rollup@2.79.2) resolve: 1.22.9 rollup: 2.79.2 tslib: 2.8.1 @@ -12229,8 +12254,8 @@ packages: optional: true dev: false - /@rollup/pluginutils@5.1.3(rollup@2.79.2): - resolution: {integrity: sha512-Pnsb6f32CD2W3uCaLZIzDmeFyQ2b8UWMFI7xtwUezpcGBDVDW6y9XgAWIlARiGAo6eNF5FK5aQTr0LFyNyqq5A==} + /@rollup/pluginutils@5.1.4(rollup@2.79.2): + resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} engines: {node: '>=14.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 @@ -12244,8 +12269,8 @@ packages: rollup: 2.79.2 dev: true - /@rollup/pluginutils@5.1.3(rollup@3.29.5): - resolution: {integrity: sha512-Pnsb6f32CD2W3uCaLZIzDmeFyQ2b8UWMFI7xtwUezpcGBDVDW6y9XgAWIlARiGAo6eNF5FK5aQTr0LFyNyqq5A==} + /@rollup/pluginutils@5.1.4(rollup@3.29.5): + resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} engines: {node: '>=14.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 @@ -15350,7 +15375,7 @@ packages: istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 5.0.6 istanbul-reports: 3.1.7 - magic-string: 0.30.15 + magic-string: 0.30.17 magicast: 0.3.5 std-env: 3.8.0 test-exclude: 7.0.1 @@ -15409,7 +15434,7 @@ packages: dependencies: '@vitest/spy': 2.1.4 estree-walker: 3.0.3 - magic-string: 0.30.15 + magic-string: 0.30.17 vite: 5.4.11(@types/node@20.17.9) /@vitest/mocker@2.1.5(vite@5.4.11): @@ -15425,7 +15450,7 @@ packages: dependencies: '@vitest/spy': 2.1.5 estree-walker: 3.0.3 - magic-string: 0.30.15 + magic-string: 0.30.17 vite: 5.4.11(@types/node@22.8.4) /@vitest/pretty-format@2.1.4: @@ -15459,14 +15484,14 @@ packages: resolution: {integrity: sha512-3Kab14fn/5QZRog5BPj6Rs8dc4B+mim27XaKWFWHWA87R56AKjHTGcBFKpvZKDzC4u5Wd0w/qKsUIio3KzWW4Q==} dependencies: '@vitest/pretty-format': 2.1.4 - magic-string: 0.30.15 + magic-string: 0.30.17 pathe: 1.1.2 /@vitest/snapshot@2.1.5: resolution: {integrity: sha512-zmYw47mhfdfnYbuhkQvkkzYroXUumrwWDGlMjpdUr4jBd3HZiV2w7CQHj+z7AAS4VOtWxI4Zt4bWt4/sKcoIjg==} dependencies: '@vitest/pretty-format': 2.1.5 - magic-string: 0.30.15 + magic-string: 0.30.17 pathe: 1.1.2 /@vitest/spy@2.1.4: @@ -15524,7 +15549,7 @@ packages: '@vue/compiler-ssr': 3.5.13 '@vue/shared': 3.5.13 estree-walker: 2.0.2 - magic-string: 0.30.15 + magic-string: 0.30.17 postcss: 8.4.49 source-map-js: 1.2.1 dev: false @@ -15584,23 +15609,23 @@ packages: '@wallet-standard/base': 1.1.0 dev: false - /@walletconnect/core@2.17.2: - resolution: {integrity: sha512-O9VUsFg78CbvIaxfQuZMsHcJ4a2Z16DRz/O4S+uOAcGKhH/i/ln8hp864Tb+xRvifWSzaZ6CeAVxk657F+pscA==} + /@walletconnect/core@2.17.3: + resolution: {integrity: sha512-57uv0FW4L6H/tmkb1kS2nG41MDguyDgZbGR58nkDUd1TO/HydyiTByVOhFzIxgN331cnY/1G1rMaKqncgdnOFA==} engines: {node: '>=18'} dependencies: '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/jsonrpc-ws-connection': 1.0.14 + '@walletconnect/jsonrpc-ws-connection': 1.0.16 '@walletconnect/keyvaluestorage': 1.1.1 '@walletconnect/logger': 2.1.2 '@walletconnect/relay-api': 1.0.11 '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.17.2 - '@walletconnect/utils': 2.17.2 + '@walletconnect/types': 2.17.3 + '@walletconnect/utils': 2.17.3 '@walletconnect/window-getters': 1.0.1 events: 3.3.0 lodash.isequal: 4.5.0 @@ -15629,8 +15654,8 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/ethereum-provider@2.17.2(react@18.3.1): - resolution: {integrity: sha512-o4aL4KkUKT+n0iDwGzC6IY4bl+9n8bwOeT2KwifaVHsFw/irhtRPlsAQQH4ezOiPyk8cri1KN9dPk/YeU0pe6w==} + /@walletconnect/ethereum-provider@2.17.3(react@18.3.1): + resolution: {integrity: sha512-fgoT+dT9M1P6IIUtBl66ddD+4IJYqdhdAYkW+wa6jbctxKlHYSXf9HsgF/Vvv9lMnxHdAIz0W9VN4D/m20MamA==} dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8 '@walletconnect/jsonrpc-provider': 1.0.14 @@ -15638,10 +15663,10 @@ packages: '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/keyvaluestorage': 1.1.1 '@walletconnect/modal': 2.7.0(react@18.3.1) - '@walletconnect/sign-client': 2.17.2 - '@walletconnect/types': 2.17.2 - '@walletconnect/universal-provider': 2.17.2 - '@walletconnect/utils': 2.17.2 + '@walletconnect/sign-client': 2.17.3 + '@walletconnect/types': 2.17.3 + '@walletconnect/universal-provider': 2.17.3 + '@walletconnect/utils': 2.17.3 events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -15713,8 +15738,8 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/jsonrpc-ws-connection@1.0.14: - resolution: {integrity: sha512-Jsl6fC55AYcbkNVkwNM6Jo+ufsuCQRqViOQ8ZBPH9pRREHH9welbBiszuTLqEJiQcO/6XfFDl6bzCJIkrEi8XA==} + /@walletconnect/jsonrpc-ws-connection@1.0.16: + resolution: {integrity: sha512-G81JmsMqh5nJheE1mPst1W0WfVv0SG3N7JggwLLGnI7iuDZJq8cRJvQwLGKHn5H1WTW7DEPCo00zz5w62AbL3Q==} dependencies: '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/safe-json': 1.0.2 @@ -15812,17 +15837,17 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/sign-client@2.17.2: - resolution: {integrity: sha512-/wigdCIQjlBXSWY43Id0IPvZ5biq4HiiQZti8Ljvx408UYjmqcxcBitbj2UJXMYkid7704JWAB2mw32I1HgshQ==} + /@walletconnect/sign-client@2.17.3: + resolution: {integrity: sha512-OzOWxRTfVGCHU3OOF6ibPkgPfDpivFJjuknfcOUt9PYWpTAv6YKOmT4cyfBPhc7llruyHpV44fYbykMcLIvEcg==} dependencies: - '@walletconnect/core': 2.17.2 + '@walletconnect/core': 2.17.3 '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.17.2 - '@walletconnect/utils': 2.17.2 + '@walletconnect/types': 2.17.3 + '@walletconnect/utils': 2.17.3 events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -15848,8 +15873,8 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/types@2.17.2: - resolution: {integrity: sha512-j/+0WuO00lR8ntu7b1+MKe/r59hNwYLFzW0tTmozzhfAlDL+dYwWasDBNq4AH8NbVd7vlPCQWmncH7/6FVtOfQ==} + /@walletconnect/types@2.17.3: + resolution: {integrity: sha512-5eFxnbZGJJx0IQyCS99qz+OvozpLJJYfVG96dEHGgbzZMd+C9V1eitYqVClx26uX6V+WQVqVwjpD2Dyzie++Wg==} dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 @@ -15873,8 +15898,8 @@ packages: - ioredis dev: false - /@walletconnect/universal-provider@2.17.2: - resolution: {integrity: sha512-yIWDhBODRa9J349d/i1sObzon0vy4n+7R3MvGQQYaU1EVrV+WfoGSRsu8U7rYsL067/MAUu9t/QrpPblaSbz7g==} + /@walletconnect/universal-provider@2.17.3: + resolution: {integrity: sha512-Aen8h+vWTN57sv792i96vaTpN06WnpFUWhACY5gHrpL2XgRKmoXUgW7793p252QdgyofNAOol7wJEs1gX8FjgQ==} dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/jsonrpc-http-connection': 1.0.8 @@ -15883,9 +15908,9 @@ packages: '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/keyvaluestorage': 1.1.1 '@walletconnect/logger': 2.1.2 - '@walletconnect/sign-client': 2.17.2 - '@walletconnect/types': 2.17.2 - '@walletconnect/utils': 2.17.2 + '@walletconnect/sign-client': 2.17.3 + '@walletconnect/types': 2.17.3 + '@walletconnect/utils': 2.17.3 events: 3.3.0 lodash: 4.17.21 transitivePeerDependencies: @@ -15907,8 +15932,8 @@ packages: - utf-8-validate dev: false - /@walletconnect/utils@2.17.2: - resolution: {integrity: sha512-T7eLRiuw96fgwUy2A5NZB5Eu87ukX8RCVoO9lji34RFV4o2IGU9FhTEWyd4QQKI8OuQRjSknhbJs0tU0r0faPw==} + /@walletconnect/utils@2.17.3: + resolution: {integrity: sha512-tG77UpZNeLYgeOwViwWnifpyBatkPlpKSSayhN0gcjY1lZAUNqtYslpm4AdTxlrA3pL61MnyybXgWYT5eZjarw==} dependencies: '@ethersproject/hash': 5.7.0 '@ethersproject/transactions': 5.7.0 @@ -15923,11 +15948,11 @@ packages: '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.17.2 + '@walletconnect/types': 2.17.3 '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 - elliptic: 6.6.0 + elliptic: 6.6.1 query-string: 7.1.3 uint8arrays: 3.1.0 transitivePeerDependencies: @@ -16281,7 +16306,7 @@ packages: clean-stack: 2.2.0 indent-string: 4.0.0 - /ai@3.4.33(openai@4.73.0)(react@18.3.1)(svelte@5.13.0)(vue@3.5.13)(zod@3.23.8): + /ai@3.4.33(openai@4.73.0)(react@18.3.1)(svelte@5.14.1)(vue@3.5.13)(zod@3.23.8): resolution: {integrity: sha512-plBlrVZKwPoRTmM8+D1sJac9Bq8eaa2jiZlHLZIWekKWI1yMWYZvCCEezY9ASPwRhULYDJB2VhKOBUUeg3S5JQ==} engines: {node: '>=18'} peerDependencies: @@ -16306,7 +16331,7 @@ packages: '@ai-sdk/provider-utils': 1.0.22(zod@3.23.8) '@ai-sdk/react': 0.0.70(react@18.3.1)(zod@3.23.8) '@ai-sdk/solid': 0.0.54(zod@3.23.8) - '@ai-sdk/svelte': 0.0.57(svelte@5.13.0)(zod@3.23.8) + '@ai-sdk/svelte': 0.0.57(svelte@5.14.1)(zod@3.23.8) '@ai-sdk/ui-utils': 0.0.50(zod@3.23.8) '@ai-sdk/vue': 0.0.59(vue@3.5.13)(zod@3.23.8) '@opentelemetry/api': 1.9.0 @@ -16316,7 +16341,7 @@ packages: openai: 4.73.0(zod@3.23.8) react: 18.3.1 secure-json-parse: 2.7.0 - svelte: 5.13.0 + svelte: 5.14.1 zod: 3.23.8 zod-to-json-schema: 3.24.1(zod@3.23.8) transitivePeerDependencies: @@ -16606,7 +16631,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 - is-array-buffer: 3.0.4 + is-array-buffer: 3.0.5 dev: false /array-differ@3.0.0: @@ -16626,18 +16651,17 @@ packages: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} - /arraybuffer.prototype.slice@1.0.3: - resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==} + /arraybuffer.prototype.slice@1.0.4: + resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==} engines: {node: '>= 0.4'} dependencies: array-buffer-byte-length: 1.0.1 call-bind: 1.0.8 define-properties: 1.2.1 - es-abstract: 1.23.5 + es-abstract: 1.23.6 es-errors: 1.3.0 get-intrinsic: 1.2.6 - is-array-buffer: 3.0.4 - is-shared-array-buffer: 1.0.3 + is-array-buffer: 3.0.5 dev: false /arrify@1.0.1: @@ -16747,7 +16771,7 @@ packages: destr: 2.0.3 didyoumean2: 7.0.4 globby: 14.0.2 - magic-string: 0.30.15 + magic-string: 0.30.17 mdbox: 0.1.1 mlly: 1.7.3 ofetch: 1.4.1 @@ -16755,7 +16779,7 @@ packages: perfect-debounce: 1.0.0 pkg-types: 1.2.1 scule: 1.3.0 - untyped: 1.5.1 + untyped: 1.5.2 transitivePeerDependencies: - magicast - supports-color @@ -16769,7 +16793,7 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.24.3 - caniuse-lite: 1.0.30001688 + caniuse-lite: 1.0.30001689 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.1.1 @@ -17633,8 +17657,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001688 - electron-to-chromium: 1.5.73 + caniuse-lite: 1.0.30001689 + electron-to-chromium: 1.5.74 node-releases: 2.0.19 update-browserslist-db: 1.1.1(browserslist@4.24.3) @@ -17812,7 +17836,7 @@ packages: magicast: optional: true dependencies: - chokidar: 4.0.1 + chokidar: 4.0.2 confbox: 0.1.8 defu: 6.1.4 dotenv: 16.4.7 @@ -17906,11 +17930,11 @@ packages: set-function-length: 1.2.2 dev: false - /call-bound@1.0.2: - resolution: {integrity: sha512-0lk0PHFe/uz0vl527fG9CgdE9WdafjDbCXvBbs+LUv000TVt2Jjhqbs4Jwm8gz070w8xXyEAxrPOMullsxXeGg==} + /call-bound@1.0.3: + resolution: {integrity: sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.8 + call-bind-apply-helpers: 1.0.1 get-intrinsic: 1.2.6 dev: false @@ -17965,12 +17989,12 @@ packages: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} dependencies: browserslist: 4.24.3 - caniuse-lite: 1.0.30001688 + caniuse-lite: 1.0.30001689 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 - /caniuse-lite@1.0.30001688: - resolution: {integrity: sha512-Nmqpru91cuABu/DTCXbM2NSRHzM2uVHfPnhJ/1zEAJx/ILBRVmz3pzH4N7DZqbdG0gWClsCC05Oj0mJ/1AWMbA==} + /caniuse-lite@1.0.30001689: + resolution: {integrity: sha512-CmeR2VBycfa+5/jOfnp/NpWPGd06nf1XYiefUvhXFfZE4GkRc9jv+eGPS4nT558WS/8lYCzV8SlANCIPvbWP1g==} /canvas@2.11.2: resolution: {integrity: sha512-ItanGBMrmRV7Py2Z+Xhs7cT+FNt5K0vPL4p9EZ/UX/Mu7hFbkxSjKF2KVtPwX7UYWp7dRKnrTvReflgrItJbdw==} @@ -18148,8 +18172,8 @@ packages: optionalDependencies: fsevents: 2.3.3 - /chokidar@4.0.1: - resolution: {integrity: sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==} + /chokidar@4.0.2: + resolution: {integrity: sha512-/b57FK+bblSU+dfewfFe0rT1YjVDfOmeLQwCAuC+vwvgLkXboATqqmy+Ipux6JrF6L5joe5CBnFOw+gLWH6yKg==} engines: {node: '>= 14.16.0'} dependencies: readdirp: 4.0.2 @@ -20516,8 +20540,8 @@ packages: resolution: {integrity: sha512-aw55FtZzT6AmiamEj2kvmR6BuFqvYgKZUkfQ7teqVRNqD5UE0rw8IeW/3gieHNKQ5sPuDKlljWEn4bzv5+1bHw==} dev: false - /dunder-proto@1.0.0: - resolution: {integrity: sha512-9+Sj30DIu+4KvHqMfLUGLFYL2PkURSYMVXJyXe92nFRvlYq5hBjLEhblKB+vkd/WVlUYMWigiY07T91Fkk0+4A==} + /dunder-proto@1.0.1: + resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} engines: {node: '>= 0.4'} dependencies: call-bind-apply-helpers: 1.0.1 @@ -20579,8 +20603,8 @@ packages: winax: optional: true dependencies: - '@aws-sdk/client-polly': 3.712.0 - '@aws-sdk/client-transcribe-streaming': 3.712.0 + '@aws-sdk/client-polly': 3.713.0 + '@aws-sdk/client-transcribe-streaming': 3.713.0 '@echogarden/audio-io': 0.2.3 '@echogarden/espeak-ng-emscripten': 0.3.3 '@echogarden/fasttext-wasm': 0.1.0 @@ -20661,8 +20685,8 @@ packages: jake: 10.9.2 dev: true - /electron-to-chromium@1.5.73: - resolution: {integrity: sha512-8wGNxG9tAG5KhGd3eeA0o6ixhiNdgr0DcHWm85XPCphwZgD1lIEoi6t3VERayWao7SF7AAZTw6oARGJeVjH8Kg==} + /electron-to-chromium@1.5.74: + resolution: {integrity: sha512-ck3//9RC+6oss/1Bh9tiAVFy5vfSKbRHAFh7Z3/eTRkEqJeWgymloShB17Vg3Z4nmDNp35vAd1BZ6CMW4Wt6Iw==} /elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} @@ -20676,18 +20700,6 @@ packages: minimalistic-crypto-utils: 1.0.1 dev: false - /elliptic@6.6.0: - resolution: {integrity: sha512-dpwoQcLc/2WLQvJvLRHKZ+f9FgOdjnq11rurqwekGQygGPsYSK29OMMD2WalatiqQ+XGFDglTNixpPfI+lpaAA==} - dependencies: - bn.js: 4.12.1 - brorand: 1.1.0 - hash.js: 1.1.7 - hmac-drbg: 1.0.1 - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - dev: false - /elliptic@6.6.1: resolution: {integrity: sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g==} dependencies: @@ -20828,14 +20840,15 @@ packages: u3: 0.1.1 dev: false - /es-abstract@1.23.5: - resolution: {integrity: sha512-vlmniQ0WNPwXqA0BnmwV3Ng7HxiGlh6r5U6JcTMNx8OilcAGqVJBHJcPjqOMaczU9fRuRK5Px2BdVyPRnKMMVQ==} + /es-abstract@1.23.6: + resolution: {integrity: sha512-Ifco6n3yj2tMZDWNLyloZrytt9lqqlwvS83P3HtaETR0NUOYnIULGGHpktqYGObGy+8wc1okO25p8TjemhImvA==} engines: {node: '>= 0.4'} dependencies: array-buffer-byte-length: 1.0.1 - arraybuffer.prototype.slice: 1.0.3 + arraybuffer.prototype.slice: 1.0.4 available-typed-arrays: 1.0.7 call-bind: 1.0.8 + call-bound: 1.0.3 data-view-buffer: 1.0.1 data-view-byte-length: 1.0.1 data-view-byte-offset: 1.0.0 @@ -20844,7 +20857,7 @@ packages: es-object-atoms: 1.0.0 es-set-tostringtag: 2.0.3 es-to-primitive: 1.3.0 - function.prototype.name: 1.1.6 + function.prototype.name: 1.1.7 get-intrinsic: 1.2.6 get-symbol-description: 1.0.2 globalthis: 1.0.4 @@ -20854,15 +20867,16 @@ packages: has-symbols: 1.1.0 hasown: 2.0.2 internal-slot: 1.1.0 - is-array-buffer: 3.0.4 + is-array-buffer: 3.0.5 is-callable: 1.2.7 is-data-view: 1.0.2 is-negative-zero: 2.0.3 is-regex: 1.2.1 is-shared-array-buffer: 1.0.3 - is-string: 1.1.0 + is-string: 1.1.1 is-typed-array: 1.1.13 is-weakref: 1.1.0 + math-intrinsics: 1.0.0 object-inspect: 1.13.3 object-keys: 1.1.1 object.assign: 4.1.5 @@ -20876,7 +20890,7 @@ packages: typed-array-byte-length: 1.0.1 typed-array-byte-offset: 1.0.3 typed-array-length: 1.0.7 - unbox-primitive: 1.0.2 + unbox-primitive: 1.1.0 which-typed-array: 1.1.16 dev: false @@ -22143,6 +22157,24 @@ packages: dependencies: debug: 4.4.0(supports-color@8.1.1) + /fomo-sdk-solana@1.3.2(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3): + resolution: {integrity: sha512-O5/NhB8Smb41ub6LST1ewLTvjlAz9DIPdgsjAwfjqUlzg+v/kK3AVsMOi7JI7iuJ4B5y44h2ylhPWFnP9FZR/g==} + dependencies: + '@coral-xyz/anchor': 0.30.1 + '@raydium-io/raydium-sdk-v2': 0.1.82-alpha(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3) + '@solana/spl-token': 0.4.9(@solana/web3.js@1.95.8)(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.6.3) + '@solana/web3.js': 1.95.8 + bs58: 6.0.0 + coral-xyz3: /@coral-xyz/anchor@0.29.0 + transitivePeerDependencies: + - bufferutil + - debug + - encoding + - fastestsmallesttextencoderdecoder + - typescript + - utf-8-validate + dev: false + /for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} dependencies: @@ -22375,14 +22407,15 @@ packages: engines: {node: '>=18'} dev: false - /function.prototype.name@1.1.6: - resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} + /function.prototype.name@1.1.7: + resolution: {integrity: sha512-2g4x+HqTJKM9zcJqBSpjoRmdcPFtJM60J3xJisTQSXBWka5XqyBN/2tNUgma1mztTXyDuUsEtYe5qcs7xYzYQA==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - es-abstract: 1.23.5 functions-have-names: 1.2.3 + hasown: 2.0.2 + is-callable: 1.2.7 dev: false /functions-have-names@1.2.3: @@ -22477,7 +22510,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind-apply-helpers: 1.0.1 - dunder-proto: 1.0.0 + dunder-proto: 1.0.1 es-define-property: 1.0.1 es-errors: 1.3.0 es-object-atoms: 1.0.0 @@ -22922,16 +22955,16 @@ packages: responselike: 3.0.0 dev: false - /gql.tada@1.8.10(graphql@16.9.0)(typescript@5.6.3): + /gql.tada@1.8.10(graphql@16.10.0)(typescript@5.6.3): resolution: {integrity: sha512-FrvSxgz838FYVPgZHGOSgbpOjhR+yq44rCzww3oOPJYi0OvBJjAgCiP6LEokZIYND2fUTXzQAyLgcvgw1yNP5A==} hasBin: true peerDependencies: typescript: ^5.0.0 dependencies: - '@0no-co/graphql.web': 1.0.12(graphql@16.9.0) - '@0no-co/graphqlsp': 1.12.16(graphql@16.9.0)(typescript@5.6.3) - '@gql.tada/cli-utils': 1.6.3(@0no-co/graphqlsp@1.12.16)(graphql@16.9.0)(typescript@5.6.3) - '@gql.tada/internal': 1.0.8(graphql@16.9.0)(typescript@5.6.3) + '@0no-co/graphql.web': 1.0.12(graphql@16.10.0) + '@0no-co/graphqlsp': 1.12.16(graphql@16.10.0)(typescript@5.6.3) + '@gql.tada/cli-utils': 1.6.3(@0no-co/graphqlsp@1.12.16)(graphql@16.10.0)(typescript@5.6.3) + '@gql.tada/internal': 1.0.8(graphql@16.10.0)(typescript@5.6.3) typescript: 5.6.3 transitivePeerDependencies: - '@gql.tada/svelte-support' @@ -22954,30 +22987,30 @@ packages: /graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - /graphql-request@6.1.0(graphql@16.9.0): + /graphql-request@6.1.0(graphql@16.10.0): resolution: {integrity: sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw==} peerDependencies: graphql: 14 - 16 dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.10.0) cross-fetch: 3.1.8 - graphql: 16.9.0 + graphql: 16.10.0 transitivePeerDependencies: - encoding dev: false - /graphql-tag@2.12.6(graphql@16.9.0): + /graphql-tag@2.12.6(graphql@16.10.0): resolution: {integrity: sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==} engines: {node: '>=10'} peerDependencies: graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - graphql: 16.9.0 + graphql: 16.10.0 tslib: 2.8.1 dev: false - /graphql@16.9.0: - resolution: {integrity: sha512-GGTKBX4SD7Wdb8mqeDLni2oaRGYQWjWHGKPQ24ZMnUtKfcsVoiv4uX8+LJr1K6U5VW2Lu1BwJnj7uiori0YtRw==} + /graphql@16.10.0: + resolution: {integrity: sha512-AjqGKbDGUFRKIRCP9tCKiIGHyriz2oHEbPIbEtcSLSs4YjReZOIPQQWek4+6hjw62H9QShXHyaGivGiYVLeYFQ==} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} dev: false @@ -23047,7 +23080,6 @@ packages: wordwrap: 1.0.0 optionalDependencies: uglify-js: 3.19.3 - dev: true /har-schema@2.0.0: resolution: {integrity: sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==} @@ -23093,7 +23125,7 @@ packages: aggregate-error: 3.1.0 ansi-escapes: 4.3.2 boxen: 5.1.2 - chokidar: 4.0.1 + chokidar: 4.0.2 ci-info: 2.0.0 debug: 4.4.0(supports-color@8.1.1) enquirer: 2.4.1 @@ -23161,7 +23193,7 @@ packages: resolution: {integrity: sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==} engines: {node: '>= 0.4'} dependencies: - dunder-proto: 1.0.0 + dunder-proto: 1.0.1 dev: false /has-symbols@1.1.0: @@ -24091,15 +24123,16 @@ packages: resolution: {integrity: sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 + call-bound: 1.0.3 has-tostringtag: 1.0.2 dev: false - /is-array-buffer@3.0.4: - resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} + /is-array-buffer@3.0.5: + resolution: {integrity: sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 + call-bound: 1.0.3 get-intrinsic: 1.2.6 dev: false @@ -24134,7 +24167,7 @@ packages: resolution: {integrity: sha512-l9qO6eFlUETHtuihLcYOaLKByJ1f+N4kthcU9YjHy3N+B3hWv0y/2Nd0mu/7lTFnRQHTrSdXF50HQ3bl5fEnng==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 + call-bound: 1.0.3 has-tostringtag: 1.0.2 dev: false @@ -24175,7 +24208,7 @@ packages: resolution: {integrity: sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 + call-bound: 1.0.3 get-intrinsic: 1.2.6 is-typed-array: 1.1.13 dev: false @@ -24184,7 +24217,7 @@ packages: resolution: {integrity: sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 + call-bound: 1.0.3 has-tostringtag: 1.0.2 dev: false @@ -24343,11 +24376,11 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dev: false - /is-number-object@1.1.0: - resolution: {integrity: sha512-KVSZV0Dunv9DTPkhXwcZ3Q+tUc9TsaE1ZwX5J2WMvsSGS6Md8TFPun5uwh0yRdrNerI6vf/tbJxqSx4c1ZI1Lw==} + /is-number-object@1.1.1: + resolution: {integrity: sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.8 + call-bound: 1.0.3 has-tostringtag: 1.0.2 dev: false @@ -24431,7 +24464,7 @@ packages: resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 + call-bound: 1.0.3 gopd: 1.2.0 has-tostringtag: 1.0.2 hasown: 2.0.2 @@ -24488,11 +24521,11 @@ packages: resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - /is-string@1.1.0: - resolution: {integrity: sha512-PlfzajuF9vSo5wErv3MJAKD/nqf9ngAs1NFQYm16nUYFO2IzxJ2hcm+IOCg+EEopdykNNUhVq5cz35cAUxU8+g==} + /is-string@1.1.1: + resolution: {integrity: sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.8 + call-bound: 1.0.3 has-tostringtag: 1.0.2 dev: false @@ -24500,7 +24533,7 @@ packages: resolution: {integrity: sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 + call-bound: 1.0.3 has-symbols: 1.1.0 safe-regex-test: 1.1.0 dev: false @@ -24558,7 +24591,7 @@ packages: resolution: {integrity: sha512-SXM8Nwyys6nT5WP6pltOwKytLV7FqQ4UiibxVmW+EIosHcmCqkkjViTb5SNssDlkCiEYRP1/pdWUKVvZBmsR2Q==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 + call-bound: 1.0.3 dev: false /is-weakset@2.0.3: @@ -24760,7 +24793,7 @@ packages: hasBin: true dependencies: async: 3.2.6 - chalk: 4.1.0 + chalk: 4.1.2 filelist: 1.0.4 minimatch: 3.1.2 dev: true @@ -25399,6 +25432,11 @@ packages: resolution: {integrity: sha512-H5UpaUI+aHOqZXlYOaFP/8AzKsg+guWu+Pr3Y8i7+Y3zr1aXAvCvTAQ1RxSc6oVD8R8c7brgNtTVP91E7upH/g==} hasBin: true + /jiti@2.4.1: + resolution: {integrity: sha512-yPBThwecp1wS9DmoA4x4KR2h3QoslacnDR8ypuFM962kI4/456Iy1oHx2RAgh4jfZNdn0bctsdadceiBUgpU1g==} + hasBin: true + dev: true + /joi@17.13.3: resolution: {integrity: sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==} dependencies: @@ -25788,6 +25826,10 @@ packages: resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} engines: {node: '>=6'} + /knitwork@1.2.0: + resolution: {integrity: sha512-xYSH7AvuQ6nXkq42x0v5S8/Iry+cfulBz/DJQzhIyESdLD7425jXsPy4vn5cCXU+HhRN2kVw51Vd1K6/By4BQg==} + dev: true + /kolorist@1.8.0: resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} dev: false @@ -25807,7 +25849,7 @@ packages: stream-splicer: 2.0.1 dev: false - /langchain@0.3.6(@langchain/core@0.3.23)(axios@1.7.9)(openai@4.73.0): + /langchain@0.3.6(@langchain/core@0.3.24)(axios@1.7.9)(handlebars@4.7.8)(openai@4.73.0): resolution: {integrity: sha512-erZOIKXzwCOrQHqY9AyjkQmaX62zUap1Sigw1KrwMUOnVoLKkVNRmAyxFlNZDZ9jLs/58MaQcaT9ReJtbj3x6w==} engines: {node: '>=18'} peerDependencies: @@ -25853,10 +25895,11 @@ packages: typeorm: optional: true dependencies: - '@langchain/core': 0.3.23(openai@4.73.0) - '@langchain/openai': 0.3.14(@langchain/core@0.3.23) - '@langchain/textsplitters': 0.1.0(@langchain/core@0.3.23) + '@langchain/core': 0.3.24(openai@4.73.0) + '@langchain/openai': 0.3.14(@langchain/core@0.3.24) + '@langchain/textsplitters': 0.1.0(@langchain/core@0.3.24) axios: 1.7.9(debug@4.4.0) + handlebars: 4.7.8 js-tiktoken: 1.0.15 js-yaml: 4.1.0 jsonpointer: 5.0.1 @@ -26533,8 +26576,8 @@ packages: resolution: {integrity: sha512-/k20Lg2q8LE5xiaaSkMXk4sfvI+9EGEykFS4b0CHHGWqDYU0bGUFSwchNOMA56D7TCs9GwVTkqe9als1/ns8UQ==} dev: false - /magic-string@0.30.15: - resolution: {integrity: sha512-zXeaYRgZ6ldS1RJJUrMrYgNJ4fdwnyI6tVqoiIhyCyv5IVTK9BU8Ic2l253GGETQHxI4HNUwhJ3fjDhKqEoaAw==} + /magic-string@0.30.17: + resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} dependencies: '@jridgewell/sourcemap-codec': 1.5.0 @@ -27005,7 +27048,7 @@ packages: resolution: {integrity: sha512-Mb01JT/x6CKDWaxigwfZYuYmDZ6xtrNwNlidKZwkSrDaY9n90tdrJTV5Umk+wP1fZscGptmKFXHsXMDEVZ+Q6A==} dependencies: '@braintree/sanitize-url': 7.1.0 - '@iconify/utils': 2.2.0 + '@iconify/utils': 2.2.1 '@mermaid-js/parser': 0.3.0 '@types/d3': 7.4.3 cytoscape: 3.30.4 @@ -27798,6 +27841,7 @@ packages: /mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} + dev: false /mrmime@2.0.0: resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} @@ -32070,8 +32114,8 @@ packages: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - dunder-proto: 1.0.0 - es-abstract: 1.23.5 + dunder-proto: 1.0.1 + es-abstract: 1.23.6 es-errors: 1.3.0 get-intrinsic: 1.2.6 gopd: 1.2.0 @@ -32499,7 +32543,7 @@ packages: rollup: ^3.29.4 || ^4 typescript: ^4.5 || ^5.0 dependencies: - magic-string: 0.30.15 + magic-string: 0.30.17 rollup: 3.29.5 typescript: 5.6.3 optionalDependencies: @@ -32624,7 +32668,7 @@ packages: engines: {node: '>=0.4'} dependencies: call-bind: 1.0.8 - call-bound: 1.0.2 + call-bound: 1.0.3 get-intrinsic: 1.2.6 has-symbols: 1.1.0 isarray: 2.0.5 @@ -32646,7 +32690,7 @@ packages: resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 + call-bound: 1.0.3 es-errors: 1.3.0 is-regex: 1.2.1 dev: false @@ -33093,7 +33137,7 @@ packages: resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 + call-bound: 1.0.3 es-errors: 1.3.0 get-intrinsic: 1.2.6 object-inspect: 1.13.3 @@ -33103,7 +33147,7 @@ packages: resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 + call-bound: 1.0.3 es-errors: 1.3.0 get-intrinsic: 1.2.6 object-inspect: 1.13.3 @@ -33542,12 +33586,12 @@ packages: minipass: 7.1.2 dev: true - /sswr@2.1.0(svelte@5.13.0): + /sswr@2.1.0(svelte@5.14.1): resolution: {integrity: sha512-Cqc355SYlTAaUt8iDPaC/4DPPXK925PePLMxyBKuWd5kKc5mwsG3nT9+Mq2tyguL5s7b4Jg+IRMpTRsNTAfpSQ==} peerDependencies: svelte: ^4.0.0 || ^5.0.0-next.0 dependencies: - svelte: 5.13.0 + svelte: 5.14.1 swrev: 4.0.0 dev: false @@ -33723,10 +33767,10 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 - call-bound: 1.0.2 + call-bound: 1.0.3 define-data-property: 1.1.4 define-properties: 1.2.1 - es-abstract: 1.23.5 + es-abstract: 1.23.6 es-object-atoms: 1.0.0 has-property-descriptors: 1.0.2 dev: false @@ -33736,7 +33780,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.8 - call-bound: 1.0.2 + call-bound: 1.0.3 define-properties: 1.2.1 es-object-atoms: 1.0.0 dev: false @@ -33806,7 +33850,6 @@ packages: /strip-bom@3.0.0: resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} - dev: true /strip-bom@4.0.0: resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} @@ -33968,8 +34011,8 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - /svelte@5.13.0: - resolution: {integrity: sha512-ZG4VmBNze/j2KxT2GEeUm8Jr3RLYQ3P5Y9/flUDCgaAxgzx4ZRTdiyh+PCr7qRlOr5M8uidIqr+3DwUFVrdL+A==} + /svelte@5.14.1: + resolution: {integrity: sha512-DET9IJw6LUStRnu5rTXnlBs1fsJt417C9QXE8J+gIEWc4IsqxcJsa3OYUsf7ZJmDQbaBudcp4pxI7Za0NR1QYg==} engines: {node: '>=18'} dependencies: '@ampproject/remapping': 2.3.0 @@ -33983,7 +34026,7 @@ packages: esrap: 1.2.3 is-reference: 3.0.3 locate-character: 3.0.0 - magic-string: 0.30.15 + magic-string: 0.30.17 zimmerframe: 1.1.2 dev: false @@ -34755,7 +34798,6 @@ packages: json5: 2.2.3 minimist: 1.2.8 strip-bom: 3.0.0 - dev: true /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} @@ -34810,7 +34852,7 @@ packages: dependencies: bundle-require: 5.0.0(esbuild@0.24.0) cac: 6.7.14 - chokidar: 4.0.1 + chokidar: 4.0.2 consola: 3.2.3 debug: 4.4.0(supports-color@8.1.1) esbuild: 0.24.0 @@ -35073,7 +35115,7 @@ packages: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 - es-abstract: 1.23.5 + es-abstract: 1.23.6 es-errors: 1.3.0 typed-array-buffer: 1.0.2 typed-array-byte-offset: 1.0.3 @@ -35149,7 +35191,6 @@ packages: engines: {node: '>=0.8.0'} hasBin: true requiresBuild: true - dev: true optional: true /uid@2.0.2: @@ -35180,13 +35221,14 @@ packages: hasBin: true dev: false - /unbox-primitive@1.0.2: - resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} + /unbox-primitive@1.1.0: + resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.8 + call-bound: 1.0.3 has-bigints: 1.0.2 has-symbols: 1.1.0 - which-boxed-primitive: 1.1.0 + which-boxed-primitive: 1.1.1 dev: false /unbuild@2.0.0(typescript@5.6.3): @@ -35203,7 +35245,7 @@ packages: '@rollup/plugin-json': 6.1.0(rollup@3.29.5) '@rollup/plugin-node-resolve': 15.3.0(rollup@3.29.5) '@rollup/plugin-replace': 5.0.7(rollup@3.29.5) - '@rollup/pluginutils': 5.1.3(rollup@3.29.5) + '@rollup/pluginutils': 5.1.4(rollup@3.29.5) chalk: 5.3.0 citty: 0.1.6 consola: 3.2.3 @@ -35212,7 +35254,7 @@ packages: globby: 13.2.2 hookable: 5.5.3 jiti: 1.21.6 - magic-string: 0.30.15 + magic-string: 0.30.17 mkdist: 1.6.0(typescript@5.6.3) mlly: 1.7.3 pathe: 1.1.2 @@ -35222,7 +35264,7 @@ packages: rollup-plugin-dts: 6.1.1(rollup@3.29.5)(typescript@5.6.3) scule: 1.3.0 typescript: 5.6.3 - untyped: 1.5.1 + untyped: 1.5.2 transitivePeerDependencies: - sass - supports-color @@ -35536,16 +35578,17 @@ packages: pathe: 1.1.2 dev: false - /untyped@1.5.1: - resolution: {integrity: sha512-reBOnkJBFfBZ8pCKaeHgfZLcehXtM6UTxc+vqs1JvCps0c4amLNp3fhdGBZwYp+VLyoY9n3X5KOP7lCyWBUX9A==} + /untyped@1.5.2: + resolution: {integrity: sha512-eL/8PlhLcMmlMDtNPKhyyz9kEBDS3Uk4yMu/ewlkT2WFbtzScjHWPJLdQLmaGPUKjXzwe9MumOtOgc4Fro96Kg==} hasBin: true dependencies: '@babel/core': 7.26.0 '@babel/standalone': 7.26.4 '@babel/types': 7.26.3 + citty: 0.1.6 defu: 6.1.4 - jiti: 2.4.0 - mri: 1.2.0 + jiti: 2.4.1 + knitwork: 1.2.0 scule: 1.3.0 transitivePeerDependencies: - supports-color @@ -36116,7 +36159,7 @@ packages: chai: 5.1.2 debug: 4.4.0(supports-color@8.1.1) expect-type: 1.1.0 - magic-string: 0.30.15 + magic-string: 0.30.17 pathe: 1.1.2 std-env: 3.8.0 tinybench: 2.9.0 @@ -36173,7 +36216,7 @@ packages: chai: 5.1.2 debug: 4.4.0(supports-color@8.1.1) expect-type: 1.1.0 - magic-string: 0.30.15 + magic-string: 0.30.17 pathe: 1.1.2 std-env: 3.8.0 tinybench: 2.9.0 @@ -36230,7 +36273,7 @@ packages: chai: 5.1.2 debug: 4.4.0(supports-color@8.1.1) expect-type: 1.1.0 - magic-string: 0.30.15 + magic-string: 0.30.17 pathe: 1.1.2 std-env: 3.8.0 tinybench: 2.9.0 @@ -36951,14 +36994,14 @@ packages: tr46: 1.0.1 webidl-conversions: 4.0.2 - /which-boxed-primitive@1.1.0: - resolution: {integrity: sha512-Ei7Miu/AXe2JJ4iNF5j/UphAgRoma4trE6PtisM09bPygb3egMH3YLW/befsWb1A1AxvNSFidOFTB18XtnIIng==} + /which-boxed-primitive@1.1.1: + resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} engines: {node: '>= 0.4'} dependencies: is-bigint: 1.1.0 is-boolean-object: 1.2.1 - is-number-object: 1.1.0 - is-string: 1.1.0 + is-number-object: 1.1.1 + is-string: 1.1.1 is-symbol: 1.1.1 dev: false @@ -36966,8 +37009,8 @@ packages: resolution: {integrity: sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==} engines: {node: '>= 0.4'} dependencies: - call-bound: 1.0.2 - function.prototype.name: 1.1.6 + call-bound: 1.0.3 + function.prototype.name: 1.1.7 has-tostringtag: 1.0.2 is-async-function: 2.0.0 is-date-object: 1.1.0 @@ -36976,7 +37019,7 @@ packages: is-regex: 1.2.1 is-weakref: 1.1.0 isarray: 2.0.5 - which-boxed-primitive: 1.1.0 + which-boxed-primitive: 1.1.1 which-collection: 1.0.2 which-typed-array: 1.1.16 dev: false @@ -37074,7 +37117,6 @@ packages: /wordwrap@1.0.0: resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} - dev: true /workerpool@6.5.1: resolution: {integrity: sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==} diff --git a/scripts/start.sh b/scripts/start.sh index 86a51a6323d..f3a817a27e4 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1,55 +1,65 @@ -#!/bin/bash -# Check Node.js version +#!/bin/sh + +# Node.js version check REQUIRED_NODE_VERSION=22 CURRENT_NODE_VERSION=$(node -v | cut -d'.' -f1 | sed 's/v//') -if (( CURRENT_NODE_VERSION < REQUIRED_NODE_VERSION && CURRENT_NODE_VERSION < 23 )); then - echo "Error: Node.js version must be $REQUIRED_NODE_VERSION or 23 or higher. Current version is $CURRENT_NODE_VERSION." +# Compare Node versions +if [ "$(expr "$CURRENT_NODE_VERSION" \< "$REQUIRED_NODE_VERSION")" -eq 1 ]; then + echo "\033[1;31mError: Node.js version must be $REQUIRED_NODE_VERSION or higher. Current version is $CURRENT_NODE_VERSION.\033[0m" + exit 1 +fi + +# Check if pnpm is installed +if ! command -v pnpm >/dev/null 2>&1; then + echo "\033[1;31mError: pnpm is not installed. Please install pnpm before running the script.\033[0m" exit 1 fi # Navigate to project root -cd "$(dirname "$0")"/.. +cd "$(dirname "$0")"/.. || exit 1 -# clean cache -echo -e "\033[1mCleaning cache...\033[0m" +# Clean cache +echo "\033[1mCleaning cache...\033[0m" if ! pnpm clean; then - echo -e "\033[1;31mFailed to clean cache\033[0m" + echo "\033[1;31mFailed to clean cache.\033[0m" exit 1 fi - # Install dependencies -echo -e "\033[1mInstalling dependencies...\033[0m" -if ! pnpm i ; then - echo -e "\033[1;31mFailed to install dependencies\033[0m" +echo "\033[1mInstalling dependencies...\033[0m" +if ! pnpm install; then + echo "\033[1;31mFailed to install dependencies.\033[0m" exit 1 fi # Build project -echo -e "\033[1mBuilding project...\033[0m" +echo "\033[1mBuilding project...\033[0m" if ! pnpm build; then - echo -e "\033[1;31mFailed to build project\033[0m" + echo "\033[1;31mFailed to build project.\033[0m" exit 1 fi # Start project -echo -e "\033[1mStarting project...\033[0m" +echo "\033[1mStarting project...\033[0m" if ! pnpm start; then - echo -e "\033[1;31mFailed to start project\033[0m" + echo "\033[1;31mFailed to start project.\033[0m" exit 1 fi # Start client -echo -e "\033[1mStarting client...\033[0m" -pnpm start:client +echo "\033[1mStarting client...\033[0m" +if ! pnpm start:client; then + echo "\033[1;31mFailed to start client.\033[0m" + exit 1 +fi # Open webpage -echo -e "\033[1mOpening webpage...\033[0m" -if command -v xdg-open &> /dev/null; then - xdg-open http://localhost:5173 -elif command -v open &> /dev/null; then - open http://localhost:5173 +echo "\033[1mOpening webpage at http://localhost:5173...\033[0m" +if command -v xdg-open >/dev/null 2>&1; then + xdg-open "http://localhost:5173" +elif command -v open >/dev/null 2>&1; then + open "http://localhost:5173" else - echo -e "\033[1;33mPlease open http://localhost:5173 in your browser\033[0m" + echo "\033[1;33mPlease open http://localhost:5173 in your browser.\033[0m" fi diff --git a/scripts/update-versions.js b/scripts/update-versions.js new file mode 100644 index 00000000000..75cdbbda6b6 --- /dev/null +++ b/scripts/update-versions.js @@ -0,0 +1,82 @@ +const fs = require('fs'); +const path = require('path'); +const readline = require('readline'); + +const packagesDir = path.join(__dirname, '../packages'); +const externalDirs = ['../agent', '../client', '../docs']; +const lernaPath = path.join(__dirname, '../lerna.json'); + +// Prompt for version input +const rl = readline.createInterface({ + input: process.stdin, + output: process.stdout +}); + +function askVersion() { + return new Promise((resolve) => { + rl.question('Enter the new version: ', (version) => { + resolve(version); + rl.close(); + }); + }); +} + +// Update versions in all package.json files +async function updateVersions() { + const NEW_VERSION = await askVersion(); + + const updateDirectory = (dirPath) => { + const packagePath = path.join(dirPath, 'package.json'); + + if (fs.existsSync(packagePath)) { + const packageJson = JSON.parse(fs.readFileSync(packagePath, 'utf-8')); + const oldVersion = packageJson.version; + + if (oldVersion) { + packageJson.version = NEW_VERSION; + fs.writeFileSync(packagePath, JSON.stringify(packageJson, null, 2) + '\n'); + console.log(`Updated ${dirPath}: ${oldVersion} -> ${packageJson.version}`); + } else { + console.warn(`Version not found in ${dirPath}/package.json`); + } + } else { + console.warn(`No package.json found in ${dirPath}`); + } + }; + + // Update packages folder + if (fs.existsSync(packagesDir)) { + const packageDirs = fs.readdirSync(packagesDir); + packageDirs.forEach((dir) => updateDirectory(path.join(packagesDir, dir))); + } else { + console.warn(`Packages directory not found at ${packagesDir}`); + } + + // Update external folders + externalDirs.forEach((dir) => { + const fullPath = path.join(__dirname, dir); + if (fs.existsSync(fullPath)) { + updateDirectory(fullPath); + } else { + console.warn(`External directory not found: ${fullPath}`); + } + }); + + // Update lerna.json + if (fs.existsSync(lernaPath)) { + const lernaJson = JSON.parse(fs.readFileSync(lernaPath, 'utf-8')); + const oldVersion = lernaJson.version; + + if (oldVersion) { + lernaJson.version = NEW_VERSION; + fs.writeFileSync(lernaPath, JSON.stringify(lernaJson, null, 2) + '\n'); + console.log(`Updated lerna.json: ${oldVersion} -> ${lernaJson.version}`); + } else { + console.warn(`Version not found in lerna.json`); + } + } else { + console.warn(`lerna.json not found at ${lernaPath}`); + } +} + +updateVersions();