Peter Steinberger
7119ab1d98
refactor: dedupe home relative path resolution
8 months ago
Gustavo Madeira Santana
e6897c800b
Plugins: fix env-aware root resolution and caching ( #44046 )
...
Merged via squash.
Prepared head SHA: 6e8852a188b0eaa4d6cf0bb71829023e0e0ed82b
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Vincent Koc
7c889e7113
Refactor: trim duplicate gateway/onboarding helpers and dead utils ( #43871 )
...
* Gateway: share input provenance schema
* Onboarding: dedupe top-level channel patching
* Utils: remove unused path helpers
* Protocol: refresh generated gateway models
9 months ago
Peter Steinberger
eec3182cbb
fix(utils): guard resolveUserPath for missing workspace input
9 months ago
Peter Steinberger
ba538c98c7
refactor: share plain object guard across config and utils
9 months ago
quotentiroler
53910f3643
Deduplicate more
10 months ago
max
8d75a496bf
refactor: centralize isPlainObject, isRecord, isErrno, isLoopbackHost utilities ( #12926 )
10 months ago
max
f0924d3c4e
refactor: consolidate PNG encoder and safeParseJson utilities ( #12457 )
...
- Create shared PNG encoder module (src/media/png-encode.ts)
- Refactor qr-image.ts and live-image-probe.ts to use shared encoder
- Add safeParseJson to utils.ts and plugin-sdk exports
- Update msteams and pairing-store to use centralized safeParseJson
10 months ago
max
ec910a235e
refactor: consolidate duplicate utility functions ( #12439 )
...
* refactor: consolidate duplicate utility functions
- Add escapeRegExp to src/utils.ts and remove 10 local duplicates
- Rename bash-tools clampNumber to clampWithDefault (different signature)
- Centralize formatError calls to use formatErrorMessage from infra/errors.ts
- Re-export formatErrorMessage from cli/cli-utils.ts to preserve API
* refactor: consolidate remaining escapeRegExp duplicates
* refactor: consolidate sleep, stripAnsi, and clamp duplicates
10 months ago
Seb Slight
db137dd65d
fix(paths): respect OPENCLAW_HOME for all internal path resolution ( #12091 )
...
* fix(paths): respect OPENCLAW_HOME for all internal path resolution (#11995 )
Add home-dir module (src/infra/home-dir.ts) that centralizes home
directory resolution with precedence: OPENCLAW_HOME > HOME > USERPROFILE > os.homedir().
Migrate all path-sensitive callsites: config IO, agent dirs, session
transcripts, pairing store, cron store, doctor, CLI profiles.
Add envHomedir() helper in config/paths.ts to reduce lambda noise.
Document OPENCLAW_HOME in docs/help/environment.md.
* fix(paths): handle OPENCLAW_HOME '~' fallback (#12091 ) (thanks @sebslight)
* docs: mention OPENCLAW_HOME in install and getting started (#12091 ) (thanks @sebslight)
* fix(status): show OPENCLAW_HOME in shortened paths (#12091 ) (thanks @sebslight)
* docs(changelog): clarify OPENCLAW_HOME and HOME precedence (#12091 ) (thanks @sebslight)
10 months ago
cpojer
5ceff756e1
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
10 months ago
Peter Steinberger
9a7160786a
refactor: rename to openclaw
10 months ago
Peter Steinberger
e2c437e81e
fix: migrate legacy state/config paths
10 months ago
Peter Steinberger
e750ad5e75
refactor: centralize config update logging
10 months ago
Gustavo Madeira Santana
7252938339
fix(utils): share clamp helpers
...
Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com>
10 months ago
Peter Steinberger
c379191f80
chore: migrate to oxlint and oxfmt
...
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
10 months ago
Peter Steinberger
90342a4f3a
refactor!: rename chat providers to channels
10 months ago
Peter Steinberger
9cd2662a86
refactor: centralize WhatsApp target normalization
11 months ago
Xin
f0700e9778
fix: normalize WhatsApp targets for groups and E.164 ( #631 ) (thanks @imfing)
11 months ago
Peter Steinberger
a5065b354e
fix(whatsapp): resolve lid mappings for inbound
11 months ago
Peter Steinberger
63f5fa47de
fix: avoid invalid UTF-16 in truncation ( #567 )
11 months ago
Peter Steinberger
6e4174b5dc
fix(ci): stabilize windows paths
11 months ago
Peter Steinberger
05b8679c8b
feat: add providers CLI and multi-account onboarding
11 months ago
Peter Steinberger
c6de1b1f7d
feat: add --dev/--profile CLI profiles
11 months ago
Peter Steinberger
246adaa119
chore: rename project to clawdbot
11 months ago
Peter Steinberger
bb54e60179
fix(logging): decouple file logs from console verbose
11 months ago
Peter Steinberger
7a80e8fe77
refactor: centralize home path shortening
11 months ago
Peter Steinberger
0766c5e3cb
refactor: move whatsapp allowFrom config
11 months ago
Peter Steinberger
93af424ce5
refactor: move inbound config
11 months ago
Peter Steinberger
4af08b1606
fix: preserve whatsapp group JIDs
11 months ago
Peter Steinberger
929a10e33d
fix(web): handle self-chat mode
11 months ago
Peter Steinberger
507f5623f4
fix: expand reply cwd (~) and document AGENTS
11 months ago
Peter Steinberger
6c3d3b98b8
chore: purge warelay references
12 months ago
Peter Steinberger
7c7314f673
chore: drop twilio and go web-only
12 months ago
Peter Steinberger
916a41ed60
branding: default to clawdis paths and launchd label
12 months ago
Peter Steinberger
c20a266a11
Heartbeat: harden targeting and support lid mapping
1 year ago
Marcus Neves
b825f141f3
fix: add @lid format support and allowFrom wildcard handling
...
- Add support for WhatsApp Linked ID (@lid) format in jidToE164()
- Use existing lid-mapping-*_reverse.json files for LID resolution
- Fix allowFrom wildcard '*' to actually allow all senders
- Maintain backward compatibility with @s.whatsapp.net format
Fixes issues where:
- Messages from newer WhatsApp versions are silently dropped
- allowFrom: ['*'] configuration doesn't work as documented
1 year ago
Peter Steinberger
e5f677803f
chore: format to 2-space and bump changelog
1 year ago
Peter Steinberger
9b4dceecfe
Add web provider inbound monitor with auto-replies
1 year ago
Peter Steinberger
cafca5c421
Refactor CLI into modules for web provider and utils
1 year ago