mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
Bypass all three gating layers (compile-time feature flag, subscription check, GrowthBook remote config) and replace Anthropic's private native modules (@ant/computer-use-swift, @ant/computer-use-input) with a Python bridge using pyautogui + mss + pyobjc. Works on any macOS with any Anthropic-protocol compatible model.
20 lines
469 B
TypeScript
20 lines
469 B
TypeScript
import type { CuSubGates } from './types.js'
|
|
|
|
export const ALL_SUB_GATES_ON: CuSubGates = {
|
|
pixelValidation: false,
|
|
clipboardPasteMultiline: true,
|
|
mouseAnimation: true,
|
|
hideBeforeAction: true,
|
|
autoTargetDisplay: true,
|
|
clipboardGuard: true,
|
|
}
|
|
|
|
export const ALL_SUB_GATES_OFF: CuSubGates = {
|
|
pixelValidation: false,
|
|
clipboardPasteMultiline: false,
|
|
mouseAnimation: false,
|
|
hideBeforeAction: false,
|
|
autoTargetDisplay: false,
|
|
clipboardGuard: false,
|
|
}
|