Commit Graph

171 Commits (897685a2deb411571e2c02f5b2b0bfa3088065ff)

Author SHA1 Message Date
Tobias Bischoff a0bb2bccaf Onboarding: add MiniMax hosted API key option 11 months ago
sheeek 5e78d5a21f feat: add sandbox CLI commands for container management
Add 'clawd sandbox list' and 'clawd sandbox recreate' commands to manage
sandbox containers. This fixes the issue where containers continue using
old images/configs after updates.

Problem:
- When sandbox Docker images or configs are updated, existing containers
  keep running with old settings
- Containers are only recreated after 24h inactivity (pruning)
- If agents are used regularly, old containers run indefinitely

Solution:
- 'clawd sandbox list': Show all containers with status, age, and image match
- 'clawd sandbox recreate': Force container removal (recreated on next use)
  - Supports --all, --session, --agent, --browser filters
  - Requires confirmation unless --force is used

Implementation:
- Added helper functions to sandbox.ts (list/remove containers)
- Created sandbox-cli.ts following existing CLI patterns
- Created commands/sandbox.ts with list and recreate logic
- Integrated into program.ts

Use case: After updating sandbox images or changing sandbox config,
run 'clawd sandbox recreate --all' to ensure fresh containers.
11 months ago
Peter Steinberger 827e68eadd feat: improve auth setup flows 11 months ago
Peter Steinberger 5b50c97939 feat(cli): improve gateway status output 11 months ago
Peter Steinberger f9be9ad426 feat: switch message cli to subcommands 11 months ago
Peter Steinberger 721183e259 feat: unify message cli and tools 11 months ago
Peter Steinberger 185727c696 style: fix lint formatting 11 months ago
Peter Steinberger af1f6fab29 chore: add lobster CLI banner art 11 months ago
Peter Steinberger db22207014 feat: add message tool and CLI 11 months ago
Jonáš Jančařík 302d51fd40 feat: add Gemini API key onboarding 11 months ago
Peter Steinberger 35ba99c245 fix: honor non-interactive legacy migrations 11 months ago
Peter Steinberger 2d4ec35e1c feat(doctor): add repair/force flows 11 months ago
Peter Steinberger 0b611fc354 docs: add OAuth deep dive 11 months ago
Peter Steinberger 5b397c0f15 style: tidy cli formatting 11 months ago
Peter Steinberger 629eec11cc feat: improve agents cli automation 11 months ago
Peter Steinberger d1ceb3aa60 feat: add logs cli and restart hints 11 months ago
Peter Steinberger e83c6ac088 feat(cli): move provider login/logout 11 months ago
Peter Steinberger 903f5af59c feat: add skills CLI 11 months ago
Peter Steinberger 19595a8f99 refactor: simplify cli commands 11 months ago
Peter Steinberger dc3e3f27d4 style: apply lint fixes 11 months ago
Peter Steinberger 9c9d191d6f feat: improve cli setup flow 11 months ago
Peter Steinberger 3f11927cd9 chore: update ClawdBot CLI branding 11 months ago
Peter Steinberger 3f93781b4b refactor: polish providers cli status 11 months ago
Peter Steinberger 6aa6c837e7 fix: add gateway connection debug output 11 months ago
Peter Steinberger 05b8679c8b feat: add providers CLI and multi-account onboarding 11 months ago
Peter Steinberger 52e3d28ef4 feat: scan extra gateways in doctor 11 months ago
Peter Steinberger 391a3d6eaf feat: add daemon service management 11 months ago
Peter Steinberger 9bf6684366 feat: add provider usage tracking 11 months ago
Peter Steinberger 7973fd4caf feat: add agents command 11 months ago
Peter Steinberger 6ffece68b0 fix(doctor): add headless flags + auto-migrate sessions 11 months ago
Peter Steinberger b88c4e9d20 chore: clean up lint and scratchpad 11 months ago
Peter Steinberger 1ae5e9a26b feat: add docs search command 11 months ago
Peter Steinberger 707f7918bc feat: add gateway daemon runtime selector 11 months ago
Peter Steinberger 2771001720 fix(state): auto-migrate legacy agent dir 11 months ago
Peter Steinberger dbfa316d19 feat: multi-agent routing + multi-account providers 11 months ago
Peter Steinberger 967cef80bc fix(security): lock down inbound DMs by default 11 months ago
Peter Steinberger 7d896b5f67 fix: doctor memory hint 11 months ago
Peter Steinberger 0b27964693 feat: unify poll support
Co-authored-by: DBH <5251425+dbhurley@users.noreply.github.com>
11 months ago
DBH 2737e17c67
feat: Add WhatsApp poll support (#248)
Implements issue #123 - WhatsApp Poll Support

## Gateway Protocol
- Add `poll` RPC method with params: to, question, options (2-12), selectableCount

## ActiveWebListener
- Add `sendPoll(to, poll)` method to interface
- Implementation uses Baileys poll message type

## CLI Command
- `clawdbot poll --to <jid> -q <question> -o <opt1> -o <opt2> [-s count]`
- Supports --dry-run, --json, --verbose flags
- Validates 2-12 options

## Changes
- src/gateway/protocol/schema.ts: Add PollParamsSchema
- src/gateway/protocol/index.ts: Export validator and types
- src/web/active-listener.ts: Add sendPoll to interface
- src/web/inbound.ts: Implement sendPoll using Baileys
- src/web/outbound.ts: Add sendPollWhatsApp function
- src/gateway/server-methods/send.ts: Add poll handler
- src/commands/poll.ts: New CLI command
- src/cli/program.ts: Register poll command

Closes #123
11 months ago
Peter Steinberger 9623bd7763 fix: route agent CLI via gateway 11 months ago
Peter Steinberger 216a23ed08 fix: auto-migrate legacy config on CLI 11 months ago
Peter Steinberger 00370139a5 docs: clarify derived port mapping 11 months ago
Peter Steinberger c6de1b1f7d feat: add --dev/--profile CLI profiles 11 months ago
Peter Steinberger 2110cac5d6 fix(cli): add config alias and reduce probe noise 11 months ago
Peter Steinberger 734bb6b4fd feat: add models scan and fallbacks 11 months ago
Peter Steinberger 246adaa119 chore: rename project to clawdbot 11 months ago
Shadow 8c38a7fee8
Slack: add some fixes and connect it all up 11 months ago
Peter Steinberger e17c038d18 fix: add gif playback for WhatsApp sends 11 months ago
Peter Steinberger f47c7ac369 feat: support configurable gateway port 11 months ago
Peter Steinberger 08ce608ae7 feat: add gateway TUI 11 months ago