Logo
Explore Help
Register Sign In
davidl/cloud-code
1
0
Fork 0
You've already forked cloud-code
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b3417e54f803b95ccfe181488ae3fdbdc06abdb7
cloud-code/claude-code-source/stubs/@ant/claude-for-chrome-mcp/index.js

14 lines
316 B
JavaScript
Raw Normal View History

reconstruct and build @anthropic-ai/claude-code source from source map - Extract 4756 source files from cli.js.map (57MB) - Set up Bun build system with bun:bundle feature flag shim - Configure 90+ compile-time feature flags matching production defaults - Inject MACRO constants (VERSION, BUILD_TIME, etc.) - Create stubs for private packages (color-diff-napi, modifiers-napi, etc.) - Install all public dependencies via pnpm - Patch commander v14 to allow multi-char short flags (-d2e) - Build output: dist/cli.js (22MB), verified working
2026-03-31 19:19:50 +08:00
export function createClaudeForChromeMcpServer(ctx) {
return {
connect: async () => {},
close: async () => {},
}
}
export const BROWSER_TOOLS = []
// Type stubs (not needed at runtime but referenced as types)
export class ClaudeForChromeContext {}
export class Logger {}
export class PermissionMode {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 33ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API