ruvector/docs/research/claude-code-rvsource/extracted/README.md
rUv e39b5901c1 feat(decompiler): rebuild all versions — organized source/rvf separation, 100% coverage
Rebuilt all 4 versions from scratch:
- v0.2.x: 1,049 classes, 13,869 functions, 3,375 RVF vectors
- v1.0.x: 1,390 classes, 16,593 functions, 4,669 RVF vectors
- v2.0.x: 1,612 classes, 20,395 functions, 5,712 RVF vectors
- v2.1.x: 1,632 classes, 19,906 functions, 9,058 RVF vectors

Structure: source/ (17 JS modules in subfolders) + rvf/ (9 containers)
- Zero mixing: no JS in rvf dirs, no RVF in source dirs
- 100% code coverage: uncategorized/ catches everything
- 17 modules: core/3, tools/3, permissions/1, config/3, telemetry/1, ui/2, types/1, uncategorized/1
- 9 RVF containers per version (1 master + 8 per-category)

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-04-03 03:18:41 +00:00

73 lines
2.6 KiB
Markdown

# Extracted Source - Claude Code v2.1.91
Decompiled source modules from `@anthropic-ai/claude-code@2.1.91`.
## Directory Structure
```
extracted/
source/ # Source code only (no .rvf files)
core/ # Core execution engine
agent-loop.js # Main async generator
context-manager.js # Token counting and compaction
streaming-handler.js # SSE event processing
session.js # Session management
tools/ # Tool system
tool-dispatch.js # Tool registry and routing
mcp/
mcp-client.js # MCP protocol client
permissions/ # Permission system
permission-system.js # Permission checker and sandbox
ui/ # User interface
commands.js # Slash commands
command-defs.js # Command definitions
config/ # Configuration
config.js # Settings schema
env-vars.js # Environment variables
model-provider.js # Model selection/routing
telemetry/ # Observability
telemetry.js # OpenTelemetry integration
telemetry-events.js # Event definitions
types/ # Type info
class-hierarchy.js # Class declarations
api-endpoints.js # API endpoints
uncategorized/ # Remaining bundle code
uncategorized.js
rvf/ # RVF containers only (no .js files)
master.rvf # All vectors combined
core.rvf # Core modules only
tools.rvf # Tool modules only
permissions.rvf # Permission modules only
config.rvf # Configuration modules only
telemetry.rvf # Telemetry modules only
ui.rvf # UI modules only
types.rvf # Type modules only
uncategorized.rvf # Uncategorized modules
metrics.json # Overall metrics
```
## Metrics
| Metric | Value |
|--------|-------|
| Version | 2.1.91 |
| Bundle size | 12.6 MB |
| Classes | 1632 |
| Functions | 19906 |
| Modules | 17 |
| Coverage | 100.6% |
| Extracted | 2026-04-03T03:17:18.261Z |
## RVF Containers
Source and RVF files are cleanly separated:
- `rvf/master.rvf` - Master RVF (all modules, all vectors)
- `rvf/core.rvf` - Core execution modules only
- `rvf/tools.rvf` - Tool system modules only
- `rvf/permissions.rvf` - Permission modules only
- `rvf/config.rvf` - Configuration modules only
- `rvf/telemetry.rvf` - Telemetry modules only
Each RVF container has an accompanying `.manifest.json` sidecar.