Skip to content

Commit 246adaa

Browse files
committed
chore: rename project to clawdbot
1 parent d48dc71 commit 246adaa

File tree

841 files changed

+4590
-4328
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

841 files changed

+4590
-4328
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ ui/test-results/
1515
# Bun build artifacts
1616
*.bun-build
1717
apps/macos/.build/
18-
apps/shared/ClawdisKit/.build/
18+
apps/shared/ClawdbotKit/.build/
1919
bin/
20-
bin/clawdis-mac
20+
bin/clawdbot-mac
2121
bin/docs-list
2222
apps/macos/.build-local/
2323
apps/macos/.swiftpm/
24-
apps/shared/ClawdisKit/.swiftpm/
24+
apps/shared/ClawdbotKit/.swiftpm/
2525
Core/
2626
apps/ios/*.xcodeproj/
2727
apps/ios/*.xcworkspace/

AGENTS.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Build, Test, and Development Commands
99
- Install deps: `pnpm install`
10-
- Run CLI in dev: `pnpm clawdis ...` (tsx entry) or `pnpm dev` for `src/index.ts`.
10+
- Run CLI in dev: `pnpm clawdbot ...` (tsx entry) or `pnpm dev` for `src/index.ts`.
1111
- Type-check/build: `pnpm build` (tsc)
1212
- Lint/format: `pnpm lint` (biome check), `pnpm format` (biome format)
1313
- Tests: `pnpm test` (vitest); coverage: `pnpm test:coverage`
@@ -32,13 +32,13 @@
3232
- PRs should summarize scope, note testing performed, and mention any user-facing changes or new flags.
3333

3434
## Security & Configuration Tips
35-
- Web provider stores creds at `~/.clawdis/credentials/`; rerun `clawdis login` if logged out.
36-
- Pi sessions live under `~/.clawdis/sessions/` by default; the base directory is not configurable.
35+
- Web provider stores creds at `~/.clawdbot/credentials/`; rerun `clawdbot login` if logged out.
36+
- Pi sessions live under `~/.clawdbot/sessions/` by default; the base directory is not configurable.
3737
- Never commit or publish real phone numbers, videos, or live configuration values. Use obviously fake placeholders in docs, tests, and examples.
3838

3939
## Agent-Specific Notes
40-
- Gateway currently runs only as the menubar app (launchctl shows `application.com.steipete.clawdis.debug.*`), there is no separate LaunchAgent/helper label installed. Restart via the Clawdis Mac app or `scripts/restart-mac.sh`; to verify/kill use `launchctl print gui/$UID | grep clawdis` rather than expecting `com.steipete.clawdis`. **When debugging on macOS, start/stop the gateway via the app, not ad-hoc tmux sessions; kill any temporary tunnels before handoff.**
41-
- macOS logs: use `./scripts/clawlog.sh` (aka `vtlog`) to query unified logs for subsystem `com.steipete.clawdis`; it supports follow/tail/category filters and expects passwordless sudo for `/usr/bin/log`.
40+
- Gateway currently runs only as the menubar app (launchctl shows `application.com.steipete.clawdbot.debug.*`), there is no separate LaunchAgent/helper label installed. Restart via the Clawdbot Mac app or `scripts/restart-mac.sh`; to verify/kill use `launchctl print gui/$UID | grep clawdbot` rather than expecting `com.steipete.clawdbot`. **When debugging on macOS, start/stop the gateway via the app, not ad-hoc tmux sessions; kill any temporary tunnels before handoff.**
41+
- macOS logs: use `./scripts/clawlog.sh` (aka `vtlog`) to query unified logs for subsystem `com.steipete.clawdbot`; it supports follow/tail/category filters and expects passwordless sudo for `/usr/bin/log`.
4242
- Also read the shared guardrails at `~/Projects/oracle/AGENTS.md` and `~/Projects/agent-scripts/AGENTS.MD` before making changes; align with any cross-repo rules noted there.
4343
- SwiftUI state management (iOS/macOS): prefer the `Observation` framework (`@Observable`, `@Bindable`) over `ObservableObject`/`@StateObject`; don’t introduce new `ObservableObject` unless required for compatibility, and migrate existing usages when touching related code.
4444
- Connection providers: when adding a new connection, update every UI surface and docs (macOS app, web UI, mobile if applicable, onboarding/overview docs) and add matching status + configuration forms so provider lists and settings stay in sync.
@@ -52,27 +52,27 @@
5252
- **Multi-agent safety:** do **not** create/remove/modify `git worktree` checkouts (or edit `.worktrees/*`) unless Peter explicitly asks.
5353
- **Multi-agent safety:** do **not** switch branches / check out a different branch unless Peter explicitly asks.
5454
- **Multi-agent safety:** running multiple agents is OK as long as each agent has its own session.
55-
- When asked to open a “session” file, open the Pi session logs under `~/.clawdis/sessions/*.jsonl` (newest unless a specific ID is given), not the default `sessions.json`. If logs are needed from Mac Studio, SSH via Tailscale and read the same path there.
56-
- Menubar dimming + restart flow mirrors Trimmy: use `scripts/restart-mac.sh` (kills all Clawdis variants, runs `swift build`, packages, relaunches). Icon dimming depends on MenuBarExtraAccess wiring in AppMain; keep `appearsDisabled` updates intact when touching the status item.
55+
- When asked to open a “session” file, open the Pi session logs under `~/.clawdbot/sessions/*.jsonl` (newest unless a specific ID is given), not the default `sessions.json`. If logs are needed from Mac Studio, SSH via Tailscale and read the same path there.
56+
- Menubar dimming + restart flow mirrors Trimmy: use `scripts/restart-mac.sh` (kills all Clawdbot variants, runs `swift build`, packages, relaunches). Icon dimming depends on MenuBarExtraAccess wiring in AppMain; keep `appearsDisabled` updates intact when touching the status item.
5757
- Do not rebuild the macOS app over SSH; rebuilds must be run directly on the Mac.
5858
- Never send streaming/partial replies to external messaging surfaces (WhatsApp, Telegram); only final replies should be delivered there. Streaming/tool events may still go to internal UIs/control channel.
5959
- Voice wake forwarding tips:
60-
- Command template should stay `clawdis-mac agent --message "${text}" --thinking low`; `VoiceWakeForwarder` already shell-escapes `${text}`. Don’t add extra quotes.
61-
- launchd PATH is minimal; ensure the app’s launch agent sets PATH to include `/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/steipete/Library/pnpm` so `pnpm`/`clawdis` binaries resolve when invoked via `clawdis-mac`.
62-
- For manual `clawdis send` messages that include `!`, use the heredoc pattern noted below to avoid the Bash tool’s escaping.
60+
- Command template should stay `clawdbot-mac agent --message "${text}" --thinking low`; `VoiceWakeForwarder` already shell-escapes `${text}`. Don’t add extra quotes.
61+
- launchd PATH is minimal; ensure the app’s launch agent sets PATH to include `/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/steipete/Library/pnpm` so `pnpm`/`clawdbot` binaries resolve when invoked via `clawdbot-mac`.
62+
- For manual `clawdbot send` messages that include `!`, use the heredoc pattern noted below to avoid the Bash tool’s escaping.
6363

6464
## Exclamation Mark Escaping Workaround
65-
The Claude Code Bash tool escapes `!` to `\\!` in command arguments. When using `clawdis send` with messages containing exclamation marks, use heredoc syntax:
65+
The Claude Code Bash tool escapes `!` to `\\!` in command arguments. When using `clawdbot send` with messages containing exclamation marks, use heredoc syntax:
6666

6767
```bash
6868
# WRONG - will send "Hello\\!" with backslash
69-
clawdis send --to "+1234" --message 'Hello!'
69+
clawdbot send --to "+1234" --message 'Hello!'
7070

7171
# CORRECT - use heredoc to avoid escaping
72-
clawdis send --to "+1234" --message "$(cat <<'EOF'
72+
clawdbot send --to "+1234" --message "$(cat <<'EOF'
7373
Hello!
7474
EOF
7575
)"
7676
```
7777

78-
This is a Claude Code quirk, not a clawdis bug.
78+
This is a Claude Code quirk, not a clawdbot bug.

0 commit comments

Comments
 (0)