Commit Graph

3909 Commits

Author SHA1 Message Date
gupsammy
135fe4a148 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>
2026-01-08 19:24:20 +00:00
Peter Steinberger
7c45f269af test: cover status model provider prefix 2026-01-08 20:23:38 +01:00
Peter Steinberger
fceeeb312e refactor: split discord gateway helpers 2026-01-08 20:23:06 +01:00
Peter Steinberger
69d490d136 fix(telegram): resolve grammY fetch type mismatch (#512)
Co-authored-by: Yuri Chukhlib <yuri.v.chu@gmail.com>
2026-01-08 20:18:17 +01:00
Peter Steinberger
6c101e43bd docs: add changelog for #506 2026-01-08 20:13:45 +01:00
Keith the Silly Goose
e7dad1a01a fix(status): include provider prefix in model display
The /status command was showing 'anthropic/claude-sonnet-4-5' even when
using 'google-antigravity/claude-sonnet-4-5' because buildStatusMessage
received only the model name without the provider prefix.

When resolveConfiguredModelRef parsed a model string without a slash,
it fell back to DEFAULT_PROVIDER ('anthropic'), causing the misleading
display.

Fix: Pass the full 'provider/model' string to buildStatusMessage so
the provider is correctly extracted and displayed.

🪿 Investigated and submitted by Keith the Silly Goose
2026-01-08 20:11:37 +01:00
Peter Steinberger
29eafc61bd fix: update changelog + prompt test 2026-01-08 20:08:27 +01:00
Josh Palmer
18c572f763 🤖 codex: handle discord gateway error events (#504) 2026-01-08 20:06:02 +01:00
Josh Palmer
898136e472 🤖 codex: fix block reply ordering (#503)
What: serialize block reply sends, make typing non-blocking, add timeout fallback + abort-aware routing, and add regression tests.
Why: prevent out-of-order streamed blocks while keeping final fallback on timeouts.
Tests: ./node_modules/.bin/vitest run src/auto-reply/reply.block-streaming.test.ts src/auto-reply/reply/route-reply.test.ts
Tests: corepack pnpm lint && corepack pnpm build (pass). corepack pnpm test (ran locally; failure observed during run).

Co-authored-by: Josh Palmer <joshp123@users.noreply.github.com>
2026-01-08 19:30:24 +01:00
Gregor's Bot
b5adb79438 fix: rename ClaudeBot to Clawdbot in system prompt (#502) 2026-01-08 11:24:00 -06:00
Peter Steinberger
7b47c873f0 fix: format onboarding hint 2026-01-08 12:25:39 +01:00
Peter Steinberger
fcb5912907 chore: bump version to 2026.1.8-2 2026-01-08 12:23:01 +01:00
Peter Steinberger
5c30678feb chore: drop bun from daemon runtime options 2026-01-08 12:20:45 +01:00
Peter Steinberger
b36eec9df6 feat: auto-install gateway in quickstart 2026-01-08 12:19:45 +01:00
Peter Steinberger
c59c0e279e feat: streamline quickstart provider selection 2026-01-08 12:19:16 +01:00
Peter Steinberger
3e83805029 fix: soften codex oauth expiry hint 2026-01-08 12:16:09 +01:00
Peter Steinberger
1fd2c7aca2 docs: split onboarding mode hints 2026-01-08 12:14:36 +01:00
Peter Steinberger
294d8712bf fix: clean lint issues 2026-01-08 11:07:11 +00:00
Peter Steinberger
ee768f0288 docs: tighten onboarding quickstart hint 2026-01-08 12:06:45 +01:00
Peter Steinberger
7e147bb0ea feat: add telegram topic delivery for cron 2026-01-08 11:05:28 +00:00
Peter Steinberger
5cc8072330 fix: surface control ui config in daemon status 2026-01-08 11:05:28 +00:00
Peter Steinberger
7c97e718f8 fix: add provider account metadata 2026-01-08 11:05:28 +00:00
Peter Steinberger
2625decf65 chore: tighten self-update guidance 2026-01-08 12:04:29 +01:00
Peter Steinberger
1c1edc28a2 fix: retry telegram poll conflicts 2026-01-08 12:04:21 +01:00
Peter Steinberger
ea32001a9d chore: refine control ui links and composer 2026-01-08 12:04:11 +01:00
Peter Steinberger
dbce709f14 chore: add provider logs command 2026-01-08 12:01:06 +01:00
Peter Steinberger
510fc3a5ee feat: add quickstart onboarding defaults 2026-01-08 11:54:40 +01:00
Peter Steinberger
390654da53 fix(config): reject shared agentDir 2026-01-08 11:54:26 +01:00
Peter Steinberger
0498545080 chore: sync pnpm lockfile 2026-01-08 10:46:12 +00:00
Peter Steinberger
d7fe21a681 fix(ui): start logs at bottom 2026-01-08 11:42:28 +01:00
Peter Steinberger
d633295a0d chore: show dm policy + allowlist preview 2026-01-08 11:25:17 +01:00
Peter Steinberger
dee1d46ac7 chore: fallback providers status when gateway down 2026-01-08 11:05:03 +01:00
Peter Steinberger
3a321c6a1b chore: expand provider details in status 2026-01-08 11:02:13 +01:00
Peter Steinberger
dc54c900f8 chore: show dashboard url in status 2026-01-08 10:51:55 +01:00
Peter Steinberger
4b7cc68612 docs: refresh daemon troubleshooting guidance 2026-01-08 10:42:23 +01:00
Peter Steinberger
cb80dd162e test: force bun fetch path in telegram send 2026-01-08 10:37:29 +01:00
Peter Steinberger
cc48303edb fix: import path in doctor 2026-01-08 10:36:20 +01:00
Peter Steinberger
8ee5673634 chore: bump version to 2026.1.8-1 2026-01-08 10:35:35 +01:00
Peter Steinberger
c79727cbba docs: expand Telegram setup notes 2026-01-08 09:34:05 +00:00
Peter Steinberger
e51e367e21 docs: document hook model overrides 2026-01-08 09:34:05 +00:00
Peter Steinberger
b0b2b73b4e feat: allow hook model overrides 2026-01-08 09:33:42 +00:00
Peter Steinberger
f406f6a368 fix(telegram): restrict native fetch to bun 2026-01-08 10:31:16 +01:00
Peter Steinberger
1113fd09bb chore: add spacing to status output 2026-01-08 10:30:57 +01:00
Peter Steinberger
efe8317186 chore: prompt to install or start gateway 2026-01-08 10:29:48 +01:00
Peter Steinberger
52ee697f9f chore: surface daemon status help 2026-01-08 10:29:44 +01:00
Peter Steinberger
f495fa2bfa chore: refine daemon runtime hint 2026-01-08 10:29:40 +01:00
Peter Steinberger
6c119bdf50 chore: clarify telegram docs links 2026-01-08 10:29:36 +01:00
Peter Steinberger
fdb0afcb1d docs: prefer npm for global install 2026-01-08 10:07:13 +01:00
Peter Steinberger
d93c90a15f docs: recommend global install and daemon onboarding 2026-01-08 09:59:10 +01:00
Peter Steinberger
ae505658c2 docs: drop legacy telegram pairing mention 2026-01-08 09:57:03 +01:00