Skip to content

Commit a13d612

Browse files
committed
feat: ship all critical production features
New modules: - Telemetry system (opt-in, anonymous, crash reporting, PII sanitization) - Conversation compacting (summarize old messages, manage context windows) - Diff visualization (unified diff parser, terminal colors, inline diffs) - Rate limiting (requests/min, tokens/hour, cost limits, cooldown) - Security audit (comprehensive blocked commands, suspicious patterns, encoded content detection) - Performance benchmarks (file I/O, JSON, strings, arrays, regex, path resolution) Wired into codebase: - Telemetry: trackCommand, trackToolUse, trackError in App.tsx; session tracking in bin/localcode.tsx - Compacting: /compact uses compactConversation + buildCompactedMessages - Diff: getDiffSummary shown in tool output for file modifications - Rate limiting: rateLimiterRef checks before requests, /rate-limit command - Security: checkCommandSafety replaces basic blocked patterns in runShell - Benchmarks: --benchmarks CLI flag, /benchmarks command Website updates: - Clean URLs (no .html extensions) via Vercel cleanUrls - Why Localcode section with comparison table vs cloud assistants - Testing section with 1000+ tests, 97% pass rate, 23 test files breakdown - Updated footer with changelog, contributing, security links Documentation: - VitePress docs site structure with guide, features, agents, advanced sections All features are opt-in, privacy-first, and production-ready.
1 parent d0787d7 commit a13d612

19 files changed

Lines changed: 1839 additions & 365 deletions

File tree

dist/bin/localcode.js

Lines changed: 70 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bin/localcode.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/tools/executor.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/tools/executor.js

Lines changed: 8 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/tools/executor.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui/App.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)