{"id":48106616,"url":"https://github.com/ukgorclawbot-stack/claude-code-2.1.88-source-restored","last_synced_at":"2026-04-06T17:01:09.937Z","repository":{"id":348293535,"uuid":"1197366877","full_name":"ukgorclawbot-stack/claude-code-2.1.88-source-restored","owner":"ukgorclawbot-stack","description":"Restored source tree for @anthropic-ai/claude-code 2.1.88 reconstructed from cli.js.map sourcesContent.","archived":false,"fork":false,"pushed_at":"2026-04-01T10:38:06.000Z","size":31685,"stargazers_count":9,"open_issues_count":0,"forks_count":13,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T16:37:49.722Z","etag":null,"topics":["bun","claude-code","cli","reverse-engineering","source-map","sourcemap","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ukgorclawbot-stack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-31T14:24:30.000Z","updated_at":"2026-04-02T22:20:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"933afdab-2223-403b-8c55-07c356fbc396","html_url":"https://github.com/ukgorclawbot-stack/claude-code-2.1.88-source-restored","commit_stats":null,"previous_names":["ukgorclawbot-stack/claude-code-2.1.88-source-restored"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ukgorclawbot-stack/claude-code-2.1.88-source-restored","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukgorclawbot-stack%2Fclaude-code-2.1.88-source-restored","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukgorclawbot-stack%2Fclaude-code-2.1.88-source-restored/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukgorclawbot-stack%2Fclaude-code-2.1.88-source-restored/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukgorclawbot-stack%2Fclaude-code-2.1.88-source-restored/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ukgorclawbot-stack","download_url":"https://codeload.github.com/ukgorclawbot-stack/claude-code-2.1.88-source-restored/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukgorclawbot-stack%2Fclaude-code-2.1.88-source-restored/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31441057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T15:22:31.103Z","status":"ssl_error","status_checked_at":"2026-04-05T15:22:00.205Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","claude-code","cli","reverse-engineering","source-map","sourcemap","typescript"],"created_at":"2026-04-04T15:56:38.982Z","updated_at":"2026-04-05T16:00:32.606Z","avatar_url":"https://github.com/ukgorclawbot-stack.png","language":"TypeScript","readme":"# Claude Code 2.1.88 Source Restored\n\nRestored source tree for `@anthropic-ai/claude-code@2.1.88`, reconstructed from the published `cli.js.map` `sourcesContent`.\n\n## Copyright And Usage Notice\n\n- Copyright and other applicable rights in Anthropic first-party source code remain with Anthropic, PBC.\n- This repository is an unofficial restored reference copy provided only for study, research, and archival learning purposes.\n- This repository is not affiliated with, endorsed by, or maintained by Anthropic.\n- Do not use this repository or its contents for commercial purposes.\n- Third-party code included in the restored output remains subject to the rights and licenses of its respective authors.\n\n## What This Repository Contains\n\n- `raw/package/cli.js`: bundled CLI from the published npm package\n- `raw/package/cli.js.map`: source map shipped with the published npm package\n- `raw/package/package.json`: package metadata from the published npm package\n- `restored/`: files reconstructed from `cli.js.map`\n- `restore-manifest.json`: mapping from source-map entries to restored output paths\n\n## Restore Method\n\nMinimal restore flow:\n\n```bash\nnpm pack @anthropic-ai/claude-code@2.1.88\ntar xzf anthropic-ai-claude-code-2.1.88.tgz\nnode -e \"\nconst fs = require('fs');\nconst path = require('path');\nconst map = JSON.parse(fs.readFileSync('package/cli.js.map', 'utf8'));\nconst outDir = './restored';\nfor (let i = 0; i \u003c map.sources.length; i++) {\n  const content = map.sourcesContent?.[i];\n  if (typeof content !== 'string') continue;\n  let rel = map.sources[i];\n  while (rel.startsWith('../')) rel = rel.slice(3);\n  while (rel.startsWith('./')) rel = rel.slice(2);\n  const outPath = path.join(outDir, rel);\n  fs.mkdirSync(path.dirname(outPath), { recursive: true });\n  fs.writeFileSync(outPath, content, 'utf8');\n}\n\"\n```\n\n## Verification\n\n- `cli.js` matches the published npm package for `@anthropic-ai/claude-code@2.1.88`\n- `cli.js.map` matches the published npm package for `@anthropic-ai/claude-code@2.1.88`\n- The source map contains `4756` source entries\n- `sourcesContent` is present for all `4756` entries\n- The restored output writes `4756` files\n\n## Repository Layout\n\n```text\n.\n├── raw/\n│   └── package/\n│       ├── cli.js\n│       ├── cli.js.map\n│       └── package.json\n├── restored/\n│   ├── src/\n│   ├── vendor/\n│   └── node_modules/\n└── restore-manifest.json\n```\n\nUseful restored entry points:\n\n- `restored/src/entrypoints/cli.tsx`\n- `restored/src/main.tsx`\n- `restored/src/commands.ts`\n- `restored/src/tools.ts`\n\n## Comparison With `Stephaneguisard/claude--`\n\nThis repository was compared against:\n\n- [`Stephaneguisard/claude--`](https://github.com/Stephaneguisard/claude--)\n\nResults:\n\n- `claude-code-extracted/package/cli.js` is identical to `raw/package/cli.js`\n- `claude-code-extracted/package/cli.js.map` is identical to `raw/package/cli.js.map`\n- All `1902` shared files in `restored/src` and `claude-code-source/src` match exactly by hash\n- The compared repository contains `28` additional scaffolding or supplemental files not present in this pure source-map reconstruction\n\nIn short: the core restored source content matches, but this repository keeps a more direct \"published package + restored output\" layout.\n\n## Known Limitations\n\n- This repository reflects what was embedded in the published source map\n- It may not contain every original build-time file, generated file, or repository-only artifact\n- Some files are large, especially `raw/package/cli.js.map`\n- The restored tree includes third-party code present in `sourcesContent`, not just first-party source files\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukgorclawbot-stack%2Fclaude-code-2.1.88-source-restored","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fukgorclawbot-stack%2Fclaude-code-2.1.88-source-restored","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukgorclawbot-stack%2Fclaude-code-2.1.88-source-restored/lists"}