58 lines
2.1 KiB
Markdown
58 lines
2.1 KiB
Markdown
# openclaude
|
|
|
|
This repository contains a recovered Bun-based CLI workspace for Claude Code.
|
|
|
|
## Project Layout
|
|
|
|
- `src/`: main source code
|
|
- `scripts/`: build scripts
|
|
- `docs/`: project documents
|
|
- `vendor/`: vendored assets and dependencies kept in-repo
|
|
|
|
## Local Development
|
|
|
|
Run the CLI directly:
|
|
|
|
```bash
|
|
bun run dev
|
|
```
|
|
|
|
Build the standalone executable:
|
|
|
|
```bash
|
|
bun run build
|
|
```
|
|
|
|
Build the compiled artifact into `dist/`:
|
|
|
|
```bash
|
|
bun run compile
|
|
```
|
|
|
|
## Notes
|
|
|
|
- `node_modules/`, `dist/`, and generated CLI binaries are ignored by Git.
|
|
- `bun.lock` is kept in the repository for reproducible installs.
|
|
|
|
## Local Info Egress Status
|
|
|
|
This fork has removed several local system and project metadata egress paths that existed in the recovered upstream code.
|
|
|
|
Removed in this repository:
|
|
|
|
- Model-request context injection of working directory, git status/history, `CLAUDE.md`, current date, platform, shell, and OS version.
|
|
- Feedback upload and transcript-share upload paths.
|
|
- Remote Control / Bridge registration fields that sent machine name, git branch, and git repository URL, plus git source/outcome data in bridge session creation.
|
|
- Trusted-device enrollment and trusted-device token header emission for bridge requests.
|
|
- `/insights` automatic S3 upload; reports now stay local via `file://` paths only.
|
|
- Datadog analytics and Anthropic 1P event-logging egress.
|
|
- GrowthBook remote evaluation/network fetches; local env/config overrides and cached values remain available for compatibility.
|
|
- OpenTelemetry initialization and event export paths.
|
|
- Perfetto local trace-file output paths that could persist request/tool metadata to disk.
|
|
- Extra dead telemetry scaffolding tied to the removed egress paths, including startup/session analytics fanout, logout telemetry flush, and remote GrowthBook metadata collectors.
|
|
|
|
Still present:
|
|
|
|
- Normal Claude API requests are still part of product functionality; this fork only removes extra local metadata injection, not core model/network access.
|
|
- Minimal compatibility helpers for analytics and GrowthBook still exist in the tree as local no-op or cache-only code.
|