Files
Claude-Code-Compiled/shims/macro.ts
Roger 13b2e92dc8 fix: skip auth checks, add auto-execute to bundle
- assertMinVersion: always pass (skip remote version check)
- validateForceLoginOrg: skip in both interactive and non-interactive
- bundle.js: auto-invoke main() on load

Now 'bun dist/bundle.js --help' works without API key.
2026-04-01 01:01:20 +08:00

10 lines
387 B
TypeScript

globalThis.MACRO = {
VERSION: "1.0.0",
BUILD_TIME: undefined,
ISSUES_EXPLAINER: "https://github.com/anthropics/claude-code/issues",
FEEDBACK_CHANNEL: "#claude-code-feedback",
NATIVE_PACKAGE_URL: "https://claude.ai/download",
PACKAGE_URL: "https://www.npmjs.com/package/@anthropic-ai/claude-code",
VERSION_CHANGELOG: "https://github.com/anthropics/claude-code/releases",
};