Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexander-morris/cursor-jailbreak
/ functions
Functions
137 in github.com/alexander-morris/cursor-jailbreak
⨍
Functions
137
◇
Types & classes
12
↳
Endpoints
16
↓ 53 callers
Method
add_log
Add a log message
cursor_auto_accept.py:137
↓ 11 callers
Function
log_error_with_context
Log an error with full context information.
logging_config.py:46
↓ 8 callers
Method
after
Schedule a function to run after ms milliseconds
cursor_auto_accept.py:558
↓ 8 callers
Method
perform_recovery
Perform the recovery sequence by typing 'continue'.
error_recovery.py:47
↓ 6 callers
Method
add_message
(self, message)
hover_calibrate.py:122
↓ 6 callers
Method
update
Force update the window
cursor_auto_accept.py:553
↓ 5 callers
Method
find_template
Find template in screen image with error handling and debug output.
image_matcher.py:58
↓ 4 callers
Method
find_cursor_monitor
Find the monitor containing the Cursor application.
main.py:37
↓ 3 callers
Method
capture_screen
Capture the current screen.
clickbot.py:44
↓ 3 callers
Function
get_monitor
Get monitor based on button index (0-based) or monitor 2 if no index provided
analyze_hover_results.py:18
↓ 3 callers
Method
process_matches
Process and validate matches, handling clicks if appropriate.
main.py:79
↓ 3 callers
Function
setup_logging
Configure logging for the specified component following best practices.
logging_config.py:6
↓ 3 callers
Method
stop
Clean shutdown of the bot.
main.py:178
↓ 2 callers
Function
analyze_template_match
(template_path, threshold_range=(0.6, 0.9, 0.05))
analyze_template.py:8
↓ 2 callers
Method
calibrate
Start calibration
cursor_auto_accept.py:341
↓ 2 callers
Method
clear_log
Clear all log text
cursor_auto_accept.py:146
↓ 2 callers
Method
handle_error_case
Main error handling flow.
error_recovery.py:94
↓ 2 callers
Method
load_template
Load and cache template images with error handling.
image_matcher.py:42
↓ 2 callers
Function
save_debug_image
Save a debug image with timestamp.
logging_config.py:60
↓ 1 callers
Method
_ensure_images_loaded
Ensure all necessary images are loaded.
error_recovery.py:42
↓ 1 callers
Method
_load_error_images
Load error indicator images.
error_recovery.py:31
↓ 1 callers
Function
analyze_calibration
Analyze calibration data and find exact matches
analyze_calibration.py:165
↓ 1 callers
Function
analyze_single_screenshot
Take a single screenshot and analyze it for potential matches
analyze_hover_results.py:573
↓ 1 callers
Function
calibrate
Calibrate by capturing the accept button template
test_matcher.py:13
↓ 1 callers
Method
can_click
Check if we haven't exceeded rate limit
cursor_auto_accept.py:742
↓ 1 callers
Method
capture_accept_button
Capture the accept button image for one or all monitors
cursor_auto_accept.py:694
↓ 1 callers
Method
capture_button_state
(self)
hover_calibrate.py:145
↓ 1 callers
Function
capture_button_states
Capture button before and after click
analyze_hover_results.py:84
↓ 1 callers
Function
check_calibration_data
Check if calibration data exists
analyze_hover_results.py:422
↓ 1 callers
Method
check_for_note
Check if note icon is present on screen.
error_recovery.py:67
↓ 1 callers
Method
click_target
Click at the center of the matched target.
clickbot.py:53
↓ 1 callers
Method
countdown
(self, count)
hover_calibrate.py:138
↓ 1 callers
Method
create_main_window
Create the main window in the main thread
cursor_auto_accept.py:591
↓ 1 callers
Method
draw_match
Draw match visualization on image with error handling.
image_matcher.py:124
↓ 1 callers
Method
fade_out
(self)
cursor_auto_accept.py:468
↓ 1 callers
Method
find_all_matches
Find all template matches in screen image.
image_matcher.py:96
↓ 1 callers
Method
find_and_click_accept
(self)
cursor_auto_accept.py:818
↓ 1 callers
Function
find_cursor_monitor
Find the monitor containing the Cursor application.
test_final.py:14
↓ 1 callers
Function
find_exact_match
Find exact match within max_distance of calibration point
analyze_calibration.py:70
↓ 1 callers
Method
finish_calibration
Save calibration data
cursor_auto_accept.py:283
↓ 1 callers
Function
get_monitor
Get monitor 2 (third monitor, index 2)
analyze_calibration.py:9
↓ 1 callers
Method
get_monitors
Get list of available monitors with error handling.
image_matcher.py:17
↓ 1 callers
Method
get_monitors
Get list of all monitors
cursor_auto_accept.py:673
↓ 1 callers
Method
handle_error_state
Handle potential error states and perform recovery if needed.
main.py:113
↓ 1 callers
Function
load_calibration_data
Load calibration data from assets directory
analyze_calibration.py:31
↓ 1 callers
Function
log_match_result
Log template matching results with coordinates and confidence.
logging_config.py:53
↓ 1 callers
Function
main
()
analyze_template.py:95
↓ 1 callers
Function
main
()
test_matcher.py:174
↓ 1 callers
Function
main
()
hover_calibrate.py:203
↓ 1 callers
Function
main
()
cursor_auto_accept.py:997
↓ 1 callers
Function
main
()
main.py:188
↓ 1 callers
Method
monitor_click_area
Monitor the area around a click for changes
cursor_auto_accept.py:751
↓ 1 callers
Method
run
Run the clickbot continuously.
clickbot.py:72
↓ 1 callers
Method
run
(self)
hover_calibrate.py:200
↓ 1 callers
Method
run
Initialize and start the bot
cursor_auto_accept.py:667
↓ 1 callers
Method
run
Main bot loop with proper error handling and monitoring.
main.py:126
↓ 1 callers
Function
run_calibration
Run calibration process and save data
analyze_hover_results.py:439
↓ 1 callers
Method
show
Show the window
cursor_auto_accept.py:394
↓ 1 callers
Method
show_instructions
(self)
hover_calibrate.py:112
↓ 1 callers
Method
start_capture
Start capturing a button
cursor_auto_accept.py:151
↓ 1 callers
Function
test_final
Test the complete click bot functionality.
test_final.py:63
↓ 1 callers
Function
test_template_matching
Test template matching with debug output
test_matcher.py:66
↓ 1 callers
Function
update_mouse_pos
()
analyze_hover_results.py:453
↓ 1 callers
Function
validate_coordinates
Validate that coordinates are within monitor bounds
analyze_hover_results.py:49
↓ 1 callers
Function
verify_match
Verify if current image matches template using multiple methods
analyze_calibration.py:120
↓ 1 callers
Function
verify_match
Verify if an image patch matches the template.
analyze_hover_results.py:190
Method
__init__
(self)
clickbot.py:15
Method
__init__
(self, debug=False)
error_recovery.py:8
Method
__init__
(self)
hover_calibrate.py:17
Method
__init__
(self, debug=False)
image_matcher.py:10
Method
__init__
(self, toggle_callback, calibrate_callback)
cursor_auto_accept.py:30
Method
__init__
(self, message, duration=2.0)
cursor_auto_accept.py:437
Method
__init__
(self)
cursor_auto_accept.py:482
Method
__init__
(self)
cursor_auto_accept.py:564
Method
__init__
(self, debug=False, interval=3.0, confidence_threshold=0.8)
main.py:16
Method
_ensure_monitor_calibration
Ensure calibration file exists for a monitor
cursor_auto_accept.py:688
Function
activate
(context)
extension.js:5
Method
add_text
Add text to the window
cursor_auto_accept.py:528
Function
analyze_button_images
(run_time=30)
analyze_hover_results.py:215
Method
capture_click
()
cursor_auto_accept.py:218
Method
capture_hover
()
cursor_auto_accept.py:181
Method
capture_screen
Capture screen region with error handling and debug output.
image_matcher.py:27
Method
check_calibrate_hold
Check if calibrate button has been held long enough
cursor_auto_accept.py:425
Method
clear_text
Clear all text
cursor_auto_accept.py:535
Method
close
Close the window
cursor_auto_accept.py:398
Method
close
Close the window
cursor_auto_accept.py:541
Method
countdown_click
(count)
cursor_auto_accept.py:211
Method
countdown_hover
(count)
cursor_auto_accept.py:174
Function
deactivate
()
extension.js:27
Function
find_button_in_region
Find button in search region using template matching
analyze_hover_results.py:505
Function
find_precise_button_location
Find precise button location after moving to approximate position
analyze_hover_results.py:544
Method
finish_calibration
(self)
hover_calibrate.py:191
Function
get_screen_coordinates
Get current mouse position in screen coordinates
analyze_hover_results.py:61
Method
handle_interrupt
Handle interrupt signals gracefully.
main.py:183
Method
mock_find_template
(*args, **kwargs)
test_error_recovery.py:113
Function
on_capture
()
analyze_hover_results.py:459
Function
on_done
()
analyze_hover_results.py:480
Method
on_drag
(self, event)
hover_calibrate.py:105
Method
on_drag
Handle window drag
cursor_auto_accept.py:129
Method
run_bot
Main bot loop
cursor_auto_accept.py:646
next →
1–100 of 137, ranked by callers