fix: add getPage to toolMap so xeepy tools can access the browser#16
Closed
nj-io wants to merge 1 commit intonirholas:mainfrom
Closed
fix: add getPage to toolMap so xeepy tools can access the browser#16nj-io wants to merge 1 commit intonirholas:mainfrom
nj-io wants to merge 1 commit intonirholas:mainfrom
Conversation
getPage() is exported from local-tools.js but was missing from the toolMap object. Since server.js sets localTools = tools.toolMap (line 2228), all xeepy tools calling localTools.getPage() fail with "localTools.getPage is not a function". Affects: x_quote_tweet, x_get_replies, x_get_media, x_get_recommendations, x_get_mentions, x_get_quote_tweets, and all other executeXeepyTool handlers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@nj-io is attempting to deploy a commit to the kaivocmenirehtacgmailcom's projects Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
Superseded — resubmitting as clean PRs from current codebase. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
getPage()is exported fromlocal-tools.jsbut was missing from thetoolMapobjectserver.jsline 2228 setslocalTools = tools.toolMap || tools.default || tools— sincetoolMapexists, it takes prioritylocalTools.getPage()fail with"localTools.getPage is not a function"One-line fix: add
getPageto thetoolMapexport.Affected tools
Every tool in the
executeXeepyToolswitch that callslocalTools.getPage():x_quote_tweet,x_get_replies,x_get_media,x_get_recommendations,x_get_mentions,x_get_quote_tweets,x_get_hashtag,x_get_likers,x_get_retweeters,x_auto_follow,x_follow_engagers,x_auto_comment,x_auto_retweet,x_detect_bots,x_find_influencers,x_smart_target,x_audience_insights,x_engagement_report,x_monitor_account,x_monitor_keyword,x_follower_alerts,x_track_engagementTest plan
x_quote_tweetposts successfully (was failing with getPage error)x_get_repliesreturns replies (was failing with getPage error)localTools.getPage()no longer error🤖 Generated with Claude Code