Ojus Save
ed70785316
fix(render): add comprehensive error handling and logging
...
- Disable set -e during permission testing
- Add explicit error checks with clear messages
- Verify token is set before starting
- Add directory listings if dist/index.js missing
- More verbose logging throughout
- Check return codes explicitly
2026-01-26 14:29:03 -08:00
Ojus Save
78ce621d67
fix(render): completely rewrite startup script for reliability
...
- Remove all complex permission testing
- Use HOME/.clawdbot as default (always writable)
- Add explicit checks for node and dist/index.js
- Simplify error handling
- Better logging
2026-01-26 14:25:04 -08:00
Ojus Save
400a47036b
fix(render): ensure script is executable and improve permission testing
...
- Add chmod +x for render-start.sh in Dockerfile
- Improve permission testing with touch/rm
- Better error handling
2026-01-26 14:24:42 -08:00
Ojus Save
48706e83c2
fix(render): simplify script and fix permission checks
...
- Use set +e for permission testing, check exit codes explicitly
- Default to HOME/.clawdbot which is always writable
- Use heredoc for config file writing (more reliable)
- Add debug output for user/UID
- Remove duplicate echo statements
2026-01-26 14:24:13 -08:00
Ojus Save
bf0a58cac5
fix(render): disable set -e during permission testing
...
- Disable set -e for entire permission testing section
- Re-enable set -e after config is written
- Simpler logic without complex conditionals
- More reliable error handling
2026-01-26 14:20:07 -08:00
Ojus Save
4b97db88b9
fix(render): simplify permission handling with set +e/-e toggle
...
- Use for loop to try directories in order
- Temporarily disable set -e for permission tests
- Write config file directly to test writability
- More robust error handling that works with set -e
2026-01-26 14:05:40 -08:00
Ojus Save
01e659e14d
fix(render): improve permission handling and error checking
...
- Use touch/rm test instead of -w flag for better compatibility
- Clean up unused variables
- Add clearer fallback chain with logging
- Ensure script handles all edge cases gracefully
2026-01-26 11:37:41 -08:00
Ojus Save
0710303f30
fix(render): handle permission errors when running as non-root user
...
- Check if CLAWDBOT_STATE_DIR or /data/.clawdbot is writable
- Fall back to $HOME/.clawdbot if permissions fail
- Update CLAWDBOT_STATE_DIR export to match actual directory used
- Prevents Docker failures when running as node user (non-root)
2026-01-26 10:40:38 -08:00
Ojus Save
a3ced7f523
debug: verify config is readable and disable cache
2026-01-26 01:51:23 -08:00
Ojus Save
5c78e7897d
fix: explicitly set CLAWDBOT_CONFIG_PATH to ensure config is loaded
2026-01-26 01:50:21 -08:00
Ojus Save
e18261e65c
debug: write config to both locations
2026-01-26 01:47:51 -08:00
Ojus Save
519ea85238
debug: add verbose output to startup script
2026-01-26 01:38:19 -08:00
Ojus Save
035fa457bd
fix(render): use startup script to configure trustedProxies
...
The key difference from the wrapper:
- Wrapper strips proxy headers before forwarding to internal gateway
- Direct deployment needs trustedProxies config to trust Render's proxy IPs
This script:
1. Creates config with gateway.trustedProxies for Render's internal IPs
2. Sets allowInsecureAuth for Control UI access
3. Starts gateway with token auth
2026-01-26 01:04:34 -08:00
Ojus Save
8396539d7c
fix(render): pass password from env var to gateway command
2026-01-26 00:28:59 -08:00
Ojus Save
fab6b51b6e
fix(render): add startup script to configure trusted proxies and insecure UI auth
...
- Create render-start.sh that writes config before starting gateway
- Configure gateway.trustedProxies for Render's internal network
- Enable gateway.controlUi.allowInsecureAuth to skip device pairing
2026-01-26 00:20:36 -08:00
Shadow
e040f6338a
Docs: update clawtributors list
2026-01-25 22:38:04 -06:00
Shadow
b25fcaef0f
CI: parse labeler without deps
2026-01-25 20:38:44 -06:00
Shadow
6b6284c69c
CI: add PR labeler + label sync
2026-01-25 20:37:31 -06:00
Peter Steinberger
71eb6d5dd0
fix(imessage): normalize messaging targets ( #1708 )
...
Co-authored-by: Aaron Ng <1653630+aaronn@users.noreply.github.com>
2026-01-25 13:43:32 +00:00
plum-dawg
c96ffa7186
feat: Add Line plugin ( #1630 )
...
* feat: add LINE plugin (#1630 ) (thanks @plum-dawg)
* feat: complete LINE plugin (#1630 ) (thanks @plum-dawg)
* chore: drop line plugin node_modules (#1630 ) (thanks @plum-dawg)
* test: mock /context report in commands test (#1630 ) (thanks @plum-dawg)
* test: limit macOS CI workers to avoid OOM (#1630 ) (thanks @plum-dawg)
* test: reduce macOS CI vitest workers (#1630 ) (thanks @plum-dawg)
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-01-25 12:22:36 +00:00
Peter Steinberger
50f233d16d
chore: stabilize prek hooks runner selection ( #1720 ) (thanks @dguido)
2026-01-25 10:55:28 +00:00
Dan Guido
48aea87028
feat: add prek pre-commit hooks and dependabot ( #1720 )
...
* feat: add prek pre-commit hooks and dependabot
Pre-commit hooks (via prek):
- Basic hygiene: trailing-whitespace, end-of-file-fixer, check-yaml, check-added-large-files, check-merge-conflict
- Security: detect-secrets, zizmor (GitHub Actions audit)
- Linting: shellcheck, actionlint, oxlint, swiftlint
- Formatting: oxfmt, swiftformat
Dependabot:
- npm and GitHub Actions ecosystems
- Grouped updates (production/development/actions)
- 7-day cooldown for supply chain protection
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs: add prek install instruction to AGENTS.md
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 10:53:23 +00:00
Rohan Nagpal
06a7e1e8ce
Telegram: threaded conversation support ( #1597 )
...
* Telegram: isolate dm topic sessions
* Tests: cap vitest workers
* Tests: cap Vitest workers on CI macOS
* Tests: avoid timer-based pi-ai stream mock
* Tests: increase embedded runner timeout
* fix: harden telegram dm thread handling (#1597 ) (thanks @rohannagpal)
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-01-25 04:48:51 +00:00
Peter Steinberger
6d79c6cd26
fix: clean docker onboarding warnings + preserve agentId casing
2026-01-24 19:07:01 +00:00
Luke
be1cdc9370
fix(agents): treat provider request-aborted as timeout for fallback ( #1576 )
...
* fix(agents): treat request-aborted as timeout for fallback
* test(e2e): add provider timeout fallback
2026-01-24 11:27:24 +00:00
Peter Steinberger
4a9123d415
chore: suppress remaining deprecation warnings
2026-01-24 11:16:46 +00:00
Peter Steinberger
8b7b7e154f
chore: speed up tests and update opencode models
2026-01-23 11:36:32 +00:00
Peter Steinberger
bb9bddebb4
fix: stabilize ci tests
2026-01-23 09:52:22 +00:00
Peter Steinberger
3de5ea818d
ci: speed up install smoke on PRs
2026-01-23 09:05:15 +00:00
Peter Steinberger
86e0916fa3
fix: allow windows spawn in test parallel
2026-01-23 07:52:04 +00:00
Peter Steinberger
45ce07a098
test: split vitest into unit and gateway
2026-01-23 07:34:57 +00:00
Peter Steinberger
2c10c601a8
test: harden docker onboarding waits
2026-01-23 05:10:59 +00:00
Tak hoffman
b65916e0d1
CLI: fix Windows gateway startup
2026-01-23 04:47:01 +00:00
Peter Steinberger
7c336588ea
chore: drop tty from install e2e docker
2026-01-22 23:09:28 +00:00
Peter Steinberger
573354f5e4
chore(dev): default restart-mac to attach-only
2026-01-22 23:08:56 +00:00
Peter Steinberger
8a20f44228
fix: improve gateway ssh auth handling
2026-01-22 06:54:08 +00:00
Peter Steinberger
50049fd220
chore(macos): drop time-sensitive notification entitlement toggle
2026-01-22 04:50:03 +00:00
Peter Steinberger
ff3d8cab2b
feat: preflight update runner before rebase
2026-01-22 04:19:33 +00:00
Peter Steinberger
2e1514095d
fix: package Textual resources for mac app
2026-01-22 02:34:27 +00:00
Clawd
429a2d7849
fix(mac): default to universal binary for distribution builds
...
Closes #1393
The distribution script (package-mac-dist.sh) now defaults BUILD_ARCHS to 'all',
producing universal binaries that run natively on both Apple Silicon and Intel Macs.
Previously, the script inherited the host architecture default from package-mac-app.sh,
which meant release builds done on ARM Macs only included ARM binaries.
2026-01-22 00:29:27 +00:00
Peter Steinberger
6c0a01dc90
fix: bundle mac model catalog
2026-01-21 19:58:19 +00:00
Peter Steinberger
fb47f1cbeb
chore: rename clawlog references
2026-01-21 05:53:32 +00:00
Peter Steinberger
58b131919f
feat: use tsgo for dev/watch builds
2026-01-21 04:06:09 +00:00
Peter Steinberger
aec622fe63
chore: remove fresh dist log
2026-01-21 03:13:50 +00:00
Peter Steinberger
dfbf6ac263
feat: enforce device-bound connect challenge
2026-01-20 13:04:19 +00:00
Peter Steinberger
c9e3c14f9c
fix: finalize exec fish fallback ( #1297 ) (thanks @ysqander)
2026-01-20 11:25:49 +00:00
Peter Steinberger
9c2c4b1138
fix(auth): dedupe codex-cli profiles
...
Co-authored-by: Oliver Drobnik <oliver@cocoanetics.com>
2026-01-20 09:38:56 +00:00
Shadow
39dfdccf6c
CLI: skip runner rebuilds when dist is fresh ( #1231 )
...
Co-authored-by: mukhtharcm <mukhtharcm@users.noreply.github.com>
2026-01-19 13:12:33 -06:00
Peter Steinberger
111aeb2c4f
fix: cover sync ui spawn on Windows ( #1212 ) (thanks @longmaba)
2026-01-19 05:42:42 +00:00
Long
23c2c638b7
fix(ui): enable shell mode for spawn on Windows
2026-01-19 05:41:38 +00:00