Commit Graph

2212 Commits (ab994d2c635effac05ab1caecf7cd2833132018d)

Author SHA1 Message Date
Lloyd ab994d2c63 feat(agent): add human-like delay between block replies
Adds `agent.humanDelay` config option to create natural rhythm between
streamed message bubbles. When enabled, introduces a random delay
(default 800-2500ms) between block replies, making multi-message
responses feel more like natural human texting.

Config example:
```json
{
  "agent": {
    "blockStreamingDefault": "on",
    "humanDelay": {
      "enabled": true,
      "minMs": 800,
      "maxMs": 2500
    }
  }
}
```

- First message sends immediately
- Subsequent messages wait a random delay before sending
- Works with iMessage, Signal, and Discord providers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
10 months ago
Peter Steinberger b7fdc266ad test(auto-reply): cover native /model session routing 10 months ago
Peter Steinberger b99eb4c9f3 fix(auto-reply): apply native commands to target session 10 months ago
Peter Steinberger 8978ac425e fix: harden cli credential sync 10 months ago
Peter Steinberger 81f9093c3c fix(pairing): accept positional provider args 10 months ago
Peter Steinberger 41c8bdfada feat: add ZAI auth choice 10 months ago
Peter Steinberger 8b47368167 fix: harden cli credential sync 10 months ago
Peter Steinberger e60c3fc1b3 fix: doctor ignore install dir in legacy workspace check 10 months ago
Peter Steinberger 78532d76bd test: clean up lint warnings 10 months ago
Peter Steinberger 53a0c966a5 refactor: unify configure auth choice 10 months ago
Peter Steinberger 43b530ca1c fix(agents): suppress partial replies with reasoning 10 months ago
Peter Steinberger 44564df028 refactor(sessions): add mergeSessionEntry 10 months ago
Peter Steinberger 70c1732dd1 refactor: centralize messaging dedupe helpers 10 months ago
Peter Steinberger 5a93447294 fix: prevent claude-cli oauth downgrade (#654) (thanks @radek-paclt) 10 months ago
Radek Paclt a39951d463 fix(auth): enable OAuth refresh for Claude CLI credentials
When Claude CLI credentials (anthropic:claude-cli) expire, automatically
refresh using the stored refresh token instead of failing with
"No credentials found" error.

Changes:
- Read refreshToken from Claude CLI and store as OAuth credential type
- Implement bidirectional sync: after refresh, write new tokens back to
  Claude Code storage (file on Linux/Windows, Keychain on macOS)
- Prefer OAuth over Token credentials (enables auto-refresh capability)
- Maintain backward compatibility for credentials without refreshToken

This enables long-running agents to operate autonomously without manual
re-authentication when OAuth tokens expire.

Co-Authored-By: Claude <noreply@anthropic.com>
10 months ago
Peter Steinberger 1281c1d155
Merge pull request #655 from antons/fix/reasoning-imsg
Fix reasoning in iMessage
10 months ago
Peter Steinberger 236f8560b3 fix: reasoning iMessage sessions + final reply (#655) (thanks @antons) 10 months ago
Peter Steinberger ae3711bfbd
Merge pull request #659 from mickahouan/fix/dedupe-message-tool
Fix: avoid duplicate replies when message tool sends
10 months ago
Peter Steinberger 449bee9645 fix: bundle node runtime for mac app 10 months ago
Peter Steinberger 4d146ea2f5 fix: dedupe message tool replies (#659) (thanks @mickahouan) 10 months ago
Anton Sotkov 3b5149ca39 fix: send only final answer with reasoning
When reasoning is enabled on non‑block providers, we now ignore interim streaming chunks and send only the final assistant answer at completion, so replies aren’t partial or duplicated.
10 months ago
Anton Sotkov 4c86da044e fix(sessions): persist reasoning/elevated across DMs 10 months ago
Mickaël Ahouansou d01e06f09a Fix: dedupe message tool sends 10 months ago
Peter Steinberger 65c2532cd5 fix: minimax apiKey optional for providers (#656) (thanks @mneves75) 10 months ago
mneves75 3e2e3eb023 Config: add MiniMax direct API authentication option
Makes apiKey optional in ModelProviderConfig so MiniMax can use auth
profiles or environment variables (MINIMAX_API_KEY) instead of requiring
explicit config.

Changes:
- src/config/types.ts: apiKey changed from required to optional
- src/config/zod-schema.ts: use z.string().min(1).optional() for validation
- src/commands/configure.ts: add minimax-api auth choice in wizard
- src/commands/onboard-auth.ts: MiniMax provider omits apiKey (uses env/auth)
- patches/@mariozechner__pi-ai@0.42.1.patch: map minimax → MINIMAX_API_KEY

Auth Resolution Order (unchanged):
1. Auth profiles (highest priority)
2. Environment variables (MINIMAX_API_KEY, etc.)
3. Custom provider apiKey from models.json (lowest priority)
10 months ago
Peter Steinberger 920b3880c1 test: add elevated mode regressions 10 months ago
Peter Steinberger 66db6c749d fix: persist elevated off override 10 months ago
Peter Steinberger 2045395ccb test(live): add optional write/bash probes 10 months ago
Peter Steinberger d3674f4d6c test(onboard): cover remote + lan token flows 10 months ago
Peter Steinberger cdb915d527 chore: normalize Clawdbot naming 10 months ago
Peter Steinberger a7c8341452 feat: show more session flags 10 months ago
Peter Steinberger 7b392ca74b test(onboard): gateway token auth flow 10 months ago
Peter Steinberger eee04fa2ce fix(onboard): persist gateway token in config 10 months ago
Peter Steinberger 4fac94f259 test(gateway): add wizard e2e + isolate live suite 10 months ago
Peter Steinberger 0f409cb99d test(telegram): force real timers for media groups 10 months ago
Peter Steinberger 241bc737cf test(telegram): deflake media groups on windows 10 months ago
Peter Steinberger 2a0d8f6e38 test(gateway): avoid real OpenAI in mock test 10 months ago
Peter Steinberger 056c4ae622 test(telegram): harden media tests 10 months ago
Peter Steinberger 6274adce3a fix(tools): keep canonical tool names for oauth 10 months ago
Peter Steinberger 4f79122068 test: stabilize gateway mock + lint 10 months ago
Peter Steinberger 7376d1e6c9 feat: improve tui status output 10 months ago
Peter Steinberger 782863ea6c test(gateway): add offline tool-calling regression 10 months ago
Peter Steinberger cc1c5f800f fix(tools): harden schemas and oauth tool names 10 months ago
Peter Steinberger f241859c98 fix: relax fetch typing for Bun 10 months ago
Peter Steinberger 8466e53b5d fix: restore Anthropic OAuth tool dispatch 10 months ago
Peter Steinberger 8e63cd9a76 feat: improve tui status line 10 months ago
Peter Steinberger 2cfed7952e test(telegram): relax media group timeouts on Windows 10 months ago
Peter Steinberger 8a5fb796c0 test(live): probe Read tool via gateway 10 months ago
Peter Steinberger 34664601e0 fix(auto-reply): default audioAsVoice to false 10 months ago
Peter Steinberger d693f02fa7 fix(msteams): download image attachments reliably 10 months ago