Commit Graph

4084 Commits

Author SHA1 Message Date
Peter Steinberger
0f3e34c221 fix: align tool rename fallout 2026-01-09 05:54:34 +01:00
Claude
3ede8b46a0 fix: bypass Anthropic OAuth token blocking for tool names
Anthropic blocks specific lowercase tool names (bash, read, write, edit)
when using OAuth tokens. This fix:

1. Renames blocked tools to capitalized versions (Bash, Read, Write, Edit)
   in pi-tools.ts via renameBlockedToolsForOAuth()

2. Passes all tools as customTools in splitSdkTools() to bypass
   pi-coding-agent's built-in tool filtering, which expects lowercase names

The capitalized names work with both OAuth tokens and regular API keys.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 05:48:54 +01:00
Peter Steinberger
7076b7109f chore: update pi deps 2026-01-09 05:38:21 +01:00
Peter Steinberger
fd3159a008 fix: avoid claude-cli session id collisions 2026-01-09 04:20:58 +00:00
Peter Steinberger
68a0da8ed8 fix: allow default model outside allowlist 2026-01-09 04:18:30 +00:00
Peter Steinberger
f8ed74bfea test: align status and google-shared expectations 2026-01-09 05:03:12 +01:00
Peter Steinberger
89d4c0c40d fix: add spacing to daemon status output 2026-01-09 03:52:51 +00:00
Peter Steinberger
c2217332d8 feat(agent): add claude cli runner 2026-01-09 04:52:37 +01:00
Peter Steinberger
6270ef0908 feat: add raw stream logging flags 2026-01-09 03:45:21 +00:00
Peter Steinberger
310647c8d5 fix: combine status usage and cost line 2026-01-09 03:45:01 +00:00
Peter Steinberger
9270c9f009 fix: colorize daemon status output 2026-01-09 03:22:02 +00:00
Peter Steinberger
eeaefc409c fix: repair status reply call 2026-01-09 03:18:20 +00:00
Peter Steinberger
675af626bc fix: restore emoji-rich status output 2026-01-09 03:15:33 +00:00
Peter Steinberger
4190637974 feat(ui): link sessions to chat page (#471) — thanks @HazAT 2026-01-09 04:07:56 +01:00
Daniel Griesser
174aa1ce96 feat(ui): link sessions to chat page
- Session names in the Sessions table are now clickable links
- Clicking navigates to /chat?session=<key> with that session loaded
- Global sessions excluded (not real conversations)
- Added .session-link CSS styling (accent color, underline on hover)
- Chat page reads 'session' query param and cleans URL after applying
2026-01-09 04:05:33 +01:00
Peter Steinberger
edaa6afdb1 fix: fallback /model list when catalog is unavailable 2026-01-09 03:56:19 +01:00
Peter Steinberger
99151316c3 fix: keep status for directive-only messages 2026-01-09 03:46:00 +01:00
Peter Steinberger
88580eb8e7 fix: improve /status auth label 2026-01-09 03:39:02 +01:00
Peter Steinberger
3c4a3616f1 test: update google shared expectations 2026-01-09 02:34:16 +00:00
Peter Steinberger
578734ee62 fix: keep /status usage filtering 2026-01-09 03:31:02 +01:00
Peter Steinberger
276f0b0407 feat: add usage cost reporting 2026-01-09 02:29:54 +00:00
Peter Steinberger
0c5824931b docs: clarify sandbox non-main behavior 2026-01-09 03:23:36 +01:00
Peter Steinberger
8b410b0f7d fix: improve status usage filtering and directives 2026-01-09 03:18:47 +01:00
Peter Steinberger
1903290f14 test: align google-shared expectations with pi-ai 0.40.0 2026-01-09 03:12:32 +01:00
Peter Steinberger
f43e552b34 fix: refine status usage and elevated directives 2026-01-09 03:09:56 +01:00
Peter Steinberger
22a896f605 test: update google-shared expectations 2026-01-09 03:04:16 +01:00
Peter Steinberger
290f43ae63 Merge pull request #526 from neist/feat/system-prompt-messaging-guide
feat(system-prompt): add messaging guidance section
2026-01-09 02:02:04 +00:00
Peter Steinberger
ff9083ea1e docs: update changelog and clawtributors for #526 2026-01-09 03:00:42 +01:00
Kasper Neist
082c13b621 feat(system-prompt): add messaging guidance section
Adds a brief 'Messaging' section to the system prompt to guide agents on:
- Reply in session = auto-routes to source provider
- Cross-session = use sessions_send
- Never use bash/curl for provider messaging

This helps prevent agents from using shell workarounds for messaging
when Clawdbot already handles routing internally.
2026-01-09 03:00:40 +01:00
Peter Steinberger
4631128742 docs: expand logging guidance 2026-01-09 02:56:29 +01:00
Peter Steinberger
c623889fde test: cover log line parsing 2026-01-09 02:54:04 +01:00
Peter Steinberger
54a31c14c8 fix: honor mention-bypass for group commands 2026-01-09 02:52:44 +01:00
Peter Steinberger
caee785178 feat: improve logs output and docs 2026-01-09 02:51:17 +01:00
Peter Steinberger
5dc99bcca1 fix: set gemini default model for api-key auth (#489) - thanks @jonasjancarik 2026-01-09 02:49:42 +01:00
Jonáš Jančařík
80cef7a4a1 feat: add Gemini API key onboarding 2026-01-09 02:45:15 +01:00
Peter Steinberger
bc6fcf3519 docs: note PR 541 and add clawtributor 2026-01-09 02:38:03 +01:00
Ogulcan Celik
45c2d41727 fix: prevent systemd hang on restart with podman sandboxes
Add KillMode=process to generated systemd unit file. Without this,
podman's conmon processes (which monitor sandbox containers) block
shutdown since they're children of the gateway process.

This preserves the desired behavior of keeping containers alive
across restarts while preventing systemd from waiting indefinitely.
2026-01-09 02:37:00 +01:00
Peter Steinberger
c23172d994 chore: update dependencies 2026-01-09 02:34:39 +01:00
Kasper Neist
2bc77373c3 feat(system-prompt): add messaging guidance section
Adds a brief 'Messaging' section to the system prompt to guide agents on:
- Reply in session = auto-routes to source provider
- Cross-session = use sessions_send
- Never use bash/curl for provider messaging

This helps prevent agents from using shell workarounds for messaging
when Clawdbot already handles routing internally.
2026-01-09 02:21:55 +01:00
Jake
b785f8df4c chore: bump Pi to 0.40.0 and revert PR #454 pi-ai patch
- Upgrade @mariozechner/pi-* packages from 0.38.0 to 0.40.0
- Remove pi-ai patch (upstream 429 fix in 0.40.0 supersedes PR #454)
- Update CHANGELOG
2026-01-09 02:12:19 +01:00
Peter Steinberger
a00203fcfe docs: thank pasogott for Ansible guide (#545) 2026-01-09 02:10:19 +01:00
sheeek
fd625e32d0 docs: add Ansible installation guide 2026-01-09 02:09:02 +01:00
Peter Steinberger
796f1bd2ef docs: add model allowlist + reasoning safety notes 2026-01-09 02:07:33 +01:00
Peter Steinberger
7ea11d058f Merge pull request #534 from mcinteerj/fix/whatsapp-queued-routing
WhatsApp: fix routing for queued messages
2026-01-09 01:05:16 +00:00
Peter Steinberger
dbd8bf470d test: assert WhatsApp queued routing context (#534) thanks @mcinteerj 2026-01-09 02:04:05 +01:00
Peter Steinberger
170bb69c63 fix: route WhatsApp queued replies to sender (#534) 2026-01-09 02:03:30 +01:00
Jake
5ce0339b69 WhatsApp: fix routing for queued messages by using correct OriginatingTo 2026-01-09 02:01:33 +01:00
Peter Steinberger
552cdf2aec docs: explain model allowlist errors 2026-01-09 01:59:22 +01:00
Peter Steinberger
abc5e5e09e docs: clarify workspace vs sandbox 2026-01-09 01:54:28 +01:00
Peter Steinberger
a4d71bd72d fix: show directive options on query 2026-01-09 01:40:44 +01:00