Claude's usage/prepaid/overage endpoints require Origin, Referer, and User-Agent headers to pass CORS/auth checks. Without them, bootstrap succeeds (more permissive) but usage returns 403 -> 'Not signed in'. Added claudeAPIRequest(for:) helper that sets all required browser-like headers on every request. Bootstrap, usage, prepaid, overage, and the orgs fallback all go through it.
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>en</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>$(EXECUTABLE_NAME)</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundleName</key>
|
|
<string>ClaudeChecker</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>APPL</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>1.2.1-beta.6</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>54</string>
|
|
<key>LSMinimumSystemVersion</key>
|
|
<string>13.0</string>
|
|
<key>LSUIElement</key>
|
|
<true/>
|
|
<key>NSHumanReadableCopyright</key>
|
|
<string>Copyright © 2026. All rights reserved.</string>
|
|
<key>NSMainStoryboardFile</key>
|
|
<string></string>
|
|
<key>NSPrincipalClass</key>
|
|
<string>NSApplication</string>
|
|
<key>NSAppTransportSecurity</key>
|
|
<dict>
|
|
<key>NSAllowsArbitraryLoads</key>
|
|
<false/>
|
|
<key>NSExceptionDomains</key>
|
|
<dict>
|
|
<key>api.anthropic.com</key>
|
|
<dict>
|
|
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
|
<false/>
|
|
<key>NSIncludesSubdomains</key>
|
|
<true/>
|
|
</dict>
|
|
</dict>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|