Commit Graph

174 Commits (fe46a2663bfab997e1da9ffbfe1379110c80c326)

Author SHA1 Message Date
Peter Steinberger 21ba04755b fix(macos): onboarding location + layout 10 months ago
Peter Steinberger 317e15c746 fix: harden restart-mac signing (#580) (thanks @jeffersonwarrior) 10 months ago
Jefferson Warrior cb213b55f6 feat: add auto-signing detection to restart-mac.sh 10 months ago
Peter Steinberger 0d98e93253 fix: harden cloud code assist tool schema sanitizing (#665) (thanks @sebslight) 10 months ago
Peter Steinberger 001a19eb2c refactor: tidy mac bundled gateway packaging 10 months ago
Peter Steinberger 449bee9645 fix: bundle node runtime for mac app 10 months ago
Peter Steinberger a057f6a306 test(docker): add multi-container gateway network smoke 10 months ago
Peter Steinberger cc8d3d331a fix(release): include whatsapp in npm pack 10 months ago
Peter Steinberger 5ec2018c8a fix(release): include msteams in npm pack 10 months ago
Peter Steinberger f918d30a58 docs(testing): refresh live docker runners 10 months ago
Peter Steinberger ede3cd78c8 docs: document testing kit 10 months ago
Peter Steinberger a29f5dda2e test(live): gateway smoke across profile-key models 10 months ago
Peter Steinberger 3ed877a813 fix: sandbox browser CDP proxy 10 months ago
Peter Steinberger cb10682d3e fix(openai): avoid invalid reasoning replay 10 months ago
Peter Steinberger 0730e15c6c fix: verify bundled relay with version check (#615) (thanks @YuriNachos) 10 months ago
Yurii Chukhlib 9c05675d66 fix(build): remove non-functional smoke test from package-mac-app.sh
The --smoke qr argument was removed from the relay CLI, but the smoke
test remained in the macOS app packaging script. This caused the build
to fail with exit code 1 when the bundled relay didn't recognize the
argument.

Removes the 2-line smoke test section to fix the build.

Fixes #317

Co-Authored-By: Claude <noreply@anthropic.com>
10 months ago
Peter Steinberger 55e830b009 fix: harden onboarding for non-systemd environments 10 months ago
Peter Steinberger 834e2b82f3 docs: comment doctor switch e2e 10 months ago
Peter Steinberger 044ea90dde fix: repair doctor service install switches 10 months ago
Peter Steinberger ee70a1d1fb fix(status): use claude-cli token for usage 10 months ago
Peter Steinberger e8d75a39bc ci: drop output sanitize wrapper 10 months ago
Peter Steinberger 014a4d51a6 feat(status): add claude.ai usage fallback 10 months ago
Peter Steinberger 92b792b3f0 fix: land #569 (thanks @bjesuiter) 10 months ago
Peter Steinberger 7b81d97ec2 feat: wire multi-agent config and routing
Co-authored-by: Mark Pors <1078320+pors@users.noreply.github.com>
10 months ago
Tobias Bischoff a0bb2bccaf Onboarding: add MiniMax hosted API key option 10 months ago
Josh Palmer 7b79823b24
Adjust UI install for offline pnpm fetch (#568)
* 🤖 codex: make ui build install prod deps for offline pnpm (issue-pnpm-offline)

* 🤖 codex: ensure ui:test installs dev deps (issue-pnpm-offline)
10 months ago
Peter Steinberger 151523f47b feat: add usage cost reporting 10 months ago
Peter Steinberger 948ce5eb5f feat(models): add oauth auth health 10 months ago
L36 Server 6484195bfe scripts: add auth management and Termux widget scripts 10 months ago
gupsammy 29e9a574b0 fix(macos): prevent crash from missing ClawdbotKit resources and Swift library
The macOS app was crashing in two scenarios:

1. Bundle.module crash (fixes #213): When the first tool event arrived,
   ToolDisplayRegistry tried to load config via ClawdbotKitResources.bundle,
   which used Bundle.module directly. In packaged apps, Bundle.module
   couldn't find the resource bundle at the expected path, causing a
   fatal assertion failure after ~40-80 minutes of runtime.

2. dyld crash (fixes #417): Swift 6.2 requires libswiftCompatibilitySpan.dylib
   but SwiftPM doesn't bundle it automatically, causing immediate crash on
   launch with "Library not loaded" error.

Changes:
- ClawdbotKitResources.swift: Replace direct Bundle.module access with a
  safe locator that checks multiple paths and falls back gracefully
- package-mac-app.sh: Copy ClawdbotKit_ClawdbotKit.bundle to Resources
- package-mac-app.sh: Copy libswiftCompatibilitySpan.dylib from Xcode
  toolchain to Frameworks

Tested on macOS 26.2 with Swift 6.2 - app launches and runs without crashes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
10 months ago
Peter Steinberger 19595a8f99 refactor: simplify cli commands 10 months ago
Peter Steinberger 8b7b86ada8 docs: keep steipete first 10 months ago
Peter Steinberger 9eb71b1f88 docs: trim clawtributors overrides 10 months ago
Peter Steinberger 41f972c307 docs: infer logins from email local 10 months ago
Peter Steinberger b0f4e0cfdc docs: prioritize steipete in clawtributors 10 months ago
Peter Steinberger 689875dfbb docs: dedupe clawtributors names 10 months ago
Peter Steinberger fe17743696 docs: keep full clawtributors list 10 months ago
Peter Steinberger 3c20e72e33 docs: refresh clawtributors list 10 months ago
Peter Steinberger 67d1f61872 fix: harden session caching and topic transcripts 10 months ago
hsrvc 5400766b3c Optimize multi-topic performance with TTL-based session caching
Add in-memory TTL-based caching to reduce file I/O bottlenecks in message processing:

1. Session Store Cache (45s TTL)
   - Cache entire sessions.json in memory between reads
   - Invalidate on writes to ensure consistency
   - Reduces disk I/O by ~70-80% for active conversations
   - Controlled via CLAWDBOT_SESSION_CACHE_TTL_MS env var

2. SessionManager Pre-warming
   - Pre-warm .jsonl conversation history files into OS page cache
   - Brings SessionManager.open() from 10-50ms to 1-5ms
   - Tracks recently accessed sessions to avoid redundant warming

3. Configuration Support
   - Add SessionCacheConfig type with cache control options
   - Enable/disable caching and set custom TTL values

4. Testing
   - Comprehensive unit tests for cache functionality
   - Test cache hits, TTL expiration, write invalidation
   - Verify environment variable overrides

This fixes the slowness reported with multiple Telegram topics/channels.

Expected performance gains:
- Session store loads: 99% faster (1-5ms → 0.01ms)
- Overall message latency: 60-80% reduction for multi-topic workloads
- Memory overhead: < 1MB for typical deployments
- Disk I/O: 70-80% reduction in file reads

Rollback: Set CLAWDBOT_SESSION_CACHE_TTL_MS=0 to disable caching

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
10 months ago
Peter Steinberger aa87d6cee8 refactor(relay): add --smoke entrypoint 11 months ago
Peter Steinberger 2a50eadcc1 fix(ui): self-heal ui builds 11 months ago
Peter Steinberger c27dd75135 build(control-ui): prefer bun for UI build 11 months ago
Ayaan Zaidi 7a48b908e4
refactor: replace tsx with bun for TypeScript execution (#278) 11 months ago
Ayaan Zaidi a79c100594
fix: targetDir symlink handling in postinstall script (#272) 11 months ago
Peter Steinberger c1698b6975 docs: add bun install support 11 months ago
Peter Steinberger 17db03ad55 test: ignore SIGPIPE in docker e2e 11 months ago
Peter Steinberger 28fad05e96 test: stabilize docker onboarding e2e 11 months ago
Peter Steinberger b85248bd07 fix: patch qrcode-terminal import for Node 22 11 months ago
Peter Steinberger bc74e7cd9b docs: default mac build arch to host 11 months ago