diff --git a/twitter-langchain/src/tests/account_details_test.ts b/cdp-agentkit-core/src/tests/social_twitter_account_details_test.ts similarity index 98% rename from twitter-langchain/src/tests/account_details_test.ts rename to cdp-agentkit-core/src/tests/social_twitter_account_details_test.ts index 026f537..c4b5b18 100644 --- a/twitter-langchain/src/tests/account_details_test.ts +++ b/cdp-agentkit-core/src/tests/social_twitter_account_details_test.ts @@ -1,4 +1,4 @@ -import { accountDetails, AccountDetailsInput } from "../actions/account_details"; +import { accountDetails, AccountDetailsInput } from "../actions/cdp/social/twitter/account_details"; import { TwitterApi, TwitterApiv2 } from "twitter-api-v2"; const MOCK_ID = "1853889445319331840"; diff --git a/twitter-langchain/src/tests/account_mentions_test.ts b/cdp-agentkit-core/src/tests/social_twitter_account_mentions_test.ts similarity index 95% rename from twitter-langchain/src/tests/account_mentions_test.ts rename to cdp-agentkit-core/src/tests/social_twitter_account_mentions_test.ts index a6ecca4..8c2941f 100644 --- a/twitter-langchain/src/tests/account_mentions_test.ts +++ b/cdp-agentkit-core/src/tests/social_twitter_account_mentions_test.ts @@ -1,4 +1,7 @@ -import { accountMentions, AccountMentionsInput } from "../actions/account_mentions"; +import { + accountMentions, + AccountMentionsInput, +} from "../actions/cdp/social/twitter/account_mentions"; import { TwitterApi, TwitterApiv2 } from "twitter-api-v2"; const MOCK_ACCOUNT_ID = "1857479287504584856"; diff --git a/twitter-langchain/src/tests/post_tweet_reply_test.ts b/cdp-agentkit-core/src/tests/social_twitter_post_tweet_reply_test.ts similarity index 96% rename from twitter-langchain/src/tests/post_tweet_reply_test.ts rename to cdp-agentkit-core/src/tests/social_twitter_post_tweet_reply_test.ts index f2713ed..f7600bb 100644 --- a/twitter-langchain/src/tests/post_tweet_reply_test.ts +++ b/cdp-agentkit-core/src/tests/social_twitter_post_tweet_reply_test.ts @@ -1,4 +1,4 @@ -import { postTweet, PostTweetReplyInput } from "../actions/post_tweet_reply"; +import { postTweet, PostTweetReplyInput } from "../actions/cdp/social/twitter/post_tweet_reply"; import { TwitterApi, TwitterApiv2 } from "twitter-api-v2"; const MOCK_TWEET_ID = "0123456789012345678"; diff --git a/twitter-langchain/src/tests/post_tweet_test.ts b/cdp-agentkit-core/src/tests/social_twitter_post_tweet_test.ts similarity index 96% rename from twitter-langchain/src/tests/post_tweet_test.ts rename to cdp-agentkit-core/src/tests/social_twitter_post_tweet_test.ts index 4b12a5b..e9e44bc 100644 --- a/twitter-langchain/src/tests/post_tweet_test.ts +++ b/cdp-agentkit-core/src/tests/social_twitter_post_tweet_test.ts @@ -1,4 +1,4 @@ -import { postTweet, PostTweetInput } from "../actions/post_tweet"; +import { postTweet, PostTweetInput } from "../actions/cdp/social/twitter/post_tweet"; import { TwitterApi, TwitterApiv2 } from "twitter-api-v2"; const MOCK_TWEET = "@CDPAgentkit please reply!"; diff --git a/cdp-langchain/examples/chatbot/wallet_data.txt.mainnet.bak b/cdp-langchain/examples/chatbot/wallet_data.txt.mainnet.bak new file mode 100644 index 0000000..ef0996b --- /dev/null +++ b/cdp-langchain/examples/chatbot/wallet_data.txt.mainnet.bak @@ -0,0 +1 @@ +{"walletId":"3ffeb5c8-5867-4d3a-9dfc-6638c983745c","seed":"f38482c904becf85ecb3a2b8ed31f3643852bbe367f52ca846f24fbe3d37e8ad","defaultAddressId":"0xBE345D76092Ff450e056390aec917A122cE7f7a4"} \ No newline at end of file diff --git a/cdp-langchain/examples/chatbot/wallet_data.txt.testnet.bak b/cdp-langchain/examples/chatbot/wallet_data.txt.testnet.bak new file mode 100644 index 0000000..8922112 --- /dev/null +++ b/cdp-langchain/examples/chatbot/wallet_data.txt.testnet.bak @@ -0,0 +1 @@ +{"walletId":"fd811d4c-b8bf-4284-a984-c4698589d868","seed":"ec7aded9ea29aed26fc8314e0110903375ada666aa5bf6e6d84bf88a37e0ae64","defaultAddressId":"0x252A265cae1149b7FDf92754D1D3B2bE21466878"} \ No newline at end of file diff --git a/twitter-langchain/tsconfig.json b/twitter-langchain/tsconfig.json index 1cde9da..0b0ea72 100644 --- a/twitter-langchain/tsconfig.json +++ b/twitter-langchain/tsconfig.json @@ -4,5 +4,6 @@ "outDir": "./dist", "rootDir": "./src" }, - "include": ["src/**/*.ts"] + "include": ["src/**/*.ts"], + "exclude": ["src/tests"] }