Commit Graph

22 Commits

Author SHA1 Message Date
Peter Steinberger
9d28441c41 chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
2026-01-14 15:02:19 +00:00
Peter Steinberger
2bcb81ab86 feat(hooks): allow gmail tailscale target URLs 2026-01-10 19:19:43 +01:00
Anton Sotkov
78418dd074 fix(gmail): keep tailscale serve path at root
The default Gmail hook path configured by `clawdbot hooks gmail setup` is `/gmail-pubsub`. Tailscale strips the mount path before proxying, so the request lands on `/` and the hook 404s under the default configuration.

When Tailscale is enabled, always listen on `/` internally and keep the public URL on the configured path (defaulting to `/gmail-pubsub`). This makes default and custom paths work reliably.

Alternative (not implemented here): call tailscale with a full target URL so the backend keeps the path, e.g. `tailscale funnel --set-path /gmail-pubsub http://127.0.0.1:8788/gmail-pubsub`. We did not take this path because it requires changing the CLI invocation to pass URLs (not ports) plus extra validation, which is a larger behavior change.
2026-01-10 18:51:12 +01:00
Peter Steinberger
4c6c0fd1c9 fix(ci): stabilize windows tests 2026-01-08 03:54:35 +00:00
Peter Steinberger
12347967f1 test: cover gmail tailscale error formatting 2026-01-07 03:16:52 +01:00
Peter Steinberger
8ff1d8356a fix: improve gmail tailscale errors 2026-01-07 03:10:35 +01:00
Peter Steinberger
be4a6743df style: format gmail watcher test 2026-01-06 01:46:59 +00:00
Peter Steinberger
46cab8c4bb fix: stop gmail watcher restart on bind error 2026-01-06 01:40:15 +00:00
Peter Steinberger
7b06f875c0 test: relax timeouts for slow runs 2026-01-05 01:36:30 +01:00
Peter Steinberger
f7cb3846f1 chore: rename project to clawdbot 2026-01-04 14:38:51 +00:00
Peter Steinberger
c3cf26e5fb fix: stabilize lint and test timeouts 2026-01-04 01:42:08 +01:00
Peter Steinberger
5e550e6abf chore: fix lint formatting 2026-01-03 14:57:49 +00:00
Peter Steinberger
a77d89c99d fix: resolve gcloud python path 2026-01-03 14:36:48 +00:00
Peter Steinberger
eea33dfc6a style: tidy imports and formatting 2026-01-03 12:35:23 +00:00
Peter Steinberger
a5340a920b feat: support configurable gateway port 2026-01-03 12:00:17 +01:00
Peter Steinberger
cf01d0344e chore: apply biome lint fixes 2026-01-03 05:10:09 +01:00
Jared Verdi
40e447dfd8 Gmail watcher: start when gateway (re)starts 2026-01-03 03:49:53 +01:00
Peter Steinberger
8e372ffacc style: format gmail hooks and tools 2025-12-24 23:11:14 +01:00
Peter Steinberger
87199c6e4f fix: auto gmail serve path for tailscale 2025-12-24 21:56:17 +00:00
Peter Steinberger
e6b3427315 chore: add gmail hook setup notes 2025-12-24 21:20:20 +00:00
Peter Steinberger
cb8ca484a5 chore: clarify gmail serve path 2025-12-24 21:20:20 +00:00
Peter Steinberger
e6dcc8be8f feat: add gmail hooks wizard 2025-12-24 19:48:35 +00:00