Skip to content

config: support clawdis.json path for rebranding#17

Merged
steipete merged 2 commits intoopenclaw:mainfrom
omniwired:fix/config-path-rebranding
Dec 4, 2025
Merged

config: support clawdis.json path for rebranding#17
steipete merged 2 commits intoopenclaw:mainfrom
omniwired:fix/config-path-rebranding

Conversation

@omniwired
Copy link
Contributor

Summary

  • Add support for new ~/.clawdis/clawdis.json config path
  • Maintain backward compatibility with ~/.warelay/warelay.json
  • Fix TypeScript type error in extractMentionedJids

Changes

This PR continues the warelay → CLAWDIS rebranding effort by updating the config file paths.

Config Path Support (src/config/config.ts)

  • Added CONFIG_PATH_CLAWDIS for ~/.clawdis/clawdis.json (preferred)
  • Kept CONFIG_PATH_LEGACY for ~/.warelay/warelay.json (fallback)
  • Updated loadConfig() to check clawdis path first, then fall back to warelay path
  • Exported both paths for testing and migration scripts

Type Fix (src/web/inbound.ts)

  • Fixed TypeScript compilation error in extractMentionedJids()
  • Added null to union type for mentionedJid array candidates

Benefits

✅ Users can create configs at the new ~/.clawdis/clawdis.json path
✅ Existing users with ~/.warelay/warelay.json continue to work
✅ Clean migration path for the rebranding
✅ No breaking changes

Test Plan

  • Built successfully with pnpm build
  • Verified config loads from ~/.clawdis/clawdis.json
  • Verified fallback to ~/.warelay/warelay.json works
  • No TypeScript compilation errors

- Add CONFIG_PATH_CLAWDIS (~/.clawdis/clawdis.json) as preferred path
- Keep CONFIG_PATH_LEGACY (~/.warelay/warelay.json) for backward compatibility
- Update loadConfig() to check clawdis.json first, fallback to warelay.json
- Fix TypeScript type error in extractMentionedJids (null handling)

Part of the warelay → clawdis rebranding effort.
@omniwired
Copy link
Contributor Author

🦞🫡

@steipete
Copy link
Contributor

steipete commented Dec 4, 2025

Thanks - this repo is in the middle of a rebrand, there's more to do.

- Prefix unused test variables with underscore
- Remove unused piSpec import and idleMs class member
- Fix import ordering and code formatting
@steipete steipete merged commit 4a35bce into openclaw:main Dec 4, 2025
1 check passed
@omniwired omniwired deleted the fix/config-path-rebranding branch December 4, 2025 23:10
Pastorsimon1798 pushed a commit to Pastorsimon1798/openclaw that referenced this pull request Feb 1, 2026
- Create analyze.py (profile, describe, groupby, pivot, filter)
- Create excel.py (read, write, list-sheets, merge/VLOOKUP)
- Create visualize.py (bar, line, scatter, heatmap, histogram, pie, box)
- Update SKILL.md with venv instructions
- Mark openclaw#14 Blogwatcher RESOLVED (installed)
- Mark openclaw#15 Data Analytics RESOLVED
- Mark openclaw#17 Calendar CANCELLED (using GOG)
- Mark openclaw#18 Edison PAUSED
- Mark openclaw#23 Network Fallback PAUSED
dgarson referenced this pull request in dgarson/clawdbot Feb 2, 2026
alexprime1889-prog pushed a commit to alexprime1889-prog/moltbot that referenced this pull request Feb 8, 2026
slathrop referenced this pull request in slathrop/openclaw-js Feb 11, 2026
Tasks completed: 2/2
- Port PR/issue guides + Install sharpening (commits #15, #17, #23)
- Port PR sign-off + guide revisions + markdownlint fixes (commits #24, #26, #35)

SUMMARY: .planning/phases/17-docs/17-03-SUMMARY.md
ADAPT-Chase pushed a commit to TeamADAPT/openclaw that referenced this pull request Feb 14, 2026
Fixes XSS and HTTP proxy bypass vulnerabilities (Dependabot openclaw#17, openclaw#18)

Co-Authored-By: Claude Opus 4.6 <[email protected]>
ADAPT-Chase pushed a commit to TeamADAPT/openclaw that referenced this pull request Feb 14, 2026
Fixes XSS and HTTP proxy bypass vulnerabilities (Dependabot openclaw#17, openclaw#18)

Co-Authored-By: Claude Opus 4.6 <[email protected]>
ADAPT-Chase pushed a commit to TeamADAPT/openclaw that referenced this pull request Feb 14, 2026
Fixes XSS and HTTP proxy bypass vulnerabilities (Dependabot openclaw#17, openclaw#18)

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments