[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2790":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":8,"rankLanguage":8,"license":8,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":8,"pushedAt":8,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":14,"starSnapshotCount":14,"syncStatus":13,"lastSyncTime":26,"discoverSource":27},2790,"claude-code","CometixSpace\u002Fclaude-code","CometixSpace",null,"JavaScript",154,9,3,2,0,10,16,44,30,69.4,false,"master",[],"2026-06-12 04:00:15","# @cometix\u002Fclaude-code\n\nClaude Code restored for Node.js — extracted from official Bun SEA binaries and patched for Node.js runtime compatibility.\n\nStarting from v2.1.113, Anthropic ships Claude Code as native Bun binaries instead of Node.js-runnable JavaScript. This project restores the npm package format so it can run under Node.js.\n\n## Install\n\n```bash\nnpm install -g @cometix\u002Fclaude-code\n```\n\n## What it does\n\n1. Downloads official Claude Code binaries from all 8 platforms (darwin\u002Flinux\u002Fwin32 × arm64\u002Fx64)\n2. Extracts the embedded JavaScript and native modules from Bun SEA format\n3. Patches the code for Node.js compatibility (hardcoded paths, Bun-only APIs, module loading)\n4. Reassembles into a standard npm package with `vendor\u002F` dependencies\n\n## Package contents\n\n```\ncli.js              Node.js entry point\nsdk-tools.d.ts      SDK type definitions\nvendor\u002F\n├── ripgrep\u002F         Code search (6 platforms)\n├── audio-capture\u002F   Voice input (6 platforms)\n└── seccomp\u002F         Linux sandbox (arm64 + x64)\n```\n\n## Automated releases\n\nA GitHub Actions workflow checks for new Claude Code versions every 6 hours, builds the restored package, and publishes to both GitHub Releases and npm.\n\n## License\n\nThis project redistributes Claude Code under [Anthropic's terms](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Flegal-and-compliance). Vendored dependencies retain their original licenses (ripgrep: Unlicense\u002FMIT, seccomp: Apache-2.0).\n","@cometix\u002Fclaude-code 项目旨在将官方发布的Bun格式的Claude Code恢复为可在Node.js环境中运行的npm包。该项目的核心功能包括从8个不同平台下载Claude Code二进制文件、从Bun SEA格式中提取JavaScript和本地模块、针对Node.js进行代码兼容性修补以及重新组装成标准npm包。此工具特别适用于需要在Node.js环境下使用Claude Code的应用场景，例如代码搜索、语音输入处理等，并且通过GitHub Actions自动检测并发布新版本，确保了与原版Claude Code同步更新的同时保持良好的Node.js兼容性。","2026-06-11 02:51:15","CREATED_QUERY"]