@ecrux/rodwx 2026.3.22 → 2026.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/entry.js +0 -0
  3. package/dist/extensions/discord/node_modules/.package-lock.json +4 -289
  4. package/dist/extensions/discord/node_modules/@buape/carbon/node_modules/opusscript/build/opusscript_native_wasm.wasm +0 -0
  5. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2021-11-03/index.d.ts +0 -0
  6. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2021-11-03/index.ts +0 -0
  7. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2022-01-31/index.d.ts +0 -0
  8. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2022-01-31/index.ts +0 -0
  9. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2022-03-21/index.d.ts +0 -0
  10. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2022-03-21/index.ts +0 -0
  11. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2022-08-04/index.d.ts +0 -0
  12. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2022-08-04/index.ts +0 -0
  13. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2022-10-31/index.d.ts +0 -0
  14. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2022-10-31/index.ts +0 -0
  15. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2022-11-30/index.d.ts +0 -0
  16. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2022-11-30/index.ts +0 -0
  17. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2023-03-01/index.d.ts +0 -0
  18. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2023-03-01/index.ts +0 -0
  19. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2023-07-01/index.d.ts +0 -0
  20. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/2023-07-01/index.ts +0 -0
  21. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/experimental/index.d.ts +0 -0
  22. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/experimental/index.ts +0 -0
  23. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/index.d.ts +0 -0
  24. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/index.ts +0 -0
  25. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/latest/index.d.ts +0 -0
  26. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/latest/index.ts +0 -0
  27. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/oldest/index.d.ts +0 -0
  28. package/dist/extensions/discord/node_modules/@cloudflare/workers-types/oldest/index.ts +0 -0
  29. package/dist/extensions/discord/node_modules/@discordjs/voice/node_modules/opusscript/build/opusscript_native_wasm.wasm +0 -0
  30. package/dist/extensions/discord/node_modules/@snazzah/davey-linux-x64-gnu/README.md +3 -0
  31. package/dist/extensions/discord/node_modules/@snazzah/davey-linux-x64-gnu/davey.linux-x64-gnu.node +0 -0
  32. package/dist/extensions/discord/node_modules/@snazzah/{davey-win32-x64-msvc → davey-linux-x64-gnu}/package.json +7 -4
  33. package/dist/extensions/discord/node_modules/opusscript/build/opusscript_native_wasm.wasm +0 -0
  34. package/dist/extensions/feishu/node_modules/axios/lib/adapters/http.js +0 -0
  35. package/dist/extensions/slack/node_modules/axios/lib/adapters/http.js +0 -0
  36. package/dist/extensions/slack/node_modules/semver/bin/semver.js +0 -0
  37. package/dist/extensions/telegram/node_modules/bottleneck/scripts/build.sh +0 -0
  38. package/dist/extensions/telegram/node_modules/bottleneck/scripts/test_all.sh +0 -0
  39. package/dist/index.js +0 -0
  40. package/package.json +2 -2
  41. package/dist/export-html/vendor/highlight.min.js +0 -1213
  42. package/dist/export-html/vendor/marked.min.js +0 -6
  43. package/dist/extensions/discord/node_modules/@snazzah/davey-win32-x64-msvc/README.md +0 -3
  44. package/dist/extensions/discord/node_modules/@snazzah/davey-win32-x64-msvc/davey.win32-x64-msvc.node +0 -0
  45. package/dist/extensions/slack/node_modules/.bin/semver +0 -16
  46. package/dist/extensions/slack/node_modules/.bin/semver.cmd +0 -17
  47. package/dist/extensions/slack/node_modules/.bin/semver.ps1 +0 -28
  48. package/docs/reference/templates/IDENTITY.md +0 -29
  49. package/docs/reference/templates/USER.md +0 -23
  50. package/docs/superpowers/plans/2026-03-22-rodwx-rebrand-plan.md +0 -807
  51. package/docs/superpowers/specs/2026-03-22-rodwx-rebrand-design.md +0 -167
  52. package/docs/zh-CN/reference/templates/IDENTITY.md +0 -36
  53. package/docs/zh-CN/reference/templates/USER.md +0 -30
  54. package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -178
@@ -1,807 +0,0 @@
1
- # RODWX Rebrand Implementation Plan
2
-
3
- > **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
4
-
5
- **Goal:** Rebrand the entire Rodwx platform to RODWX — CLI, UI, config, extensions, infra, and docs.
6
-
7
- **Architecture:** Mechanical find-and-replace across 6 phases, each in its own feature branch. Phase 1 establishes the foundation (package name, env vars, config paths, plugin loader key). Subsequent phases can partially parallelize. The key insight is that `src/compat/legacy-names.ts` defines `PROJECT_NAME = "rodwx"` which propagates everywhere — changing this single constant fixes the plugin loader, manifest key, and many runtime paths.
8
-
9
- **Tech Stack:** TypeScript (ESM), pnpm workspaces, Vitest, Oxlint/Oxfmt
10
-
11
- **Spec:** `docs/superpowers/specs/2026-03-22-rodwx-rebrand-design.md`
12
-
13
- ---
14
-
15
- ## Phase 1: Core Rename (Foundation)
16
-
17
- ### Task 1: Rename the project identity constants
18
-
19
- **Files:**
20
- - Modify: `src/compat/legacy-names.ts:1-13`
21
- - Modify: `src/plugins/manifest.ts:8`
22
-
23
- - [ ] **Step 1: Update PROJECT_NAME constant**
24
-
25
- In `src/compat/legacy-names.ts`, change:
26
- ```typescript
27
- // OLD
28
- export const PROJECT_NAME = "rodwx" as const;
29
- // NEW
30
- export const PROJECT_NAME = "rodwx" as const;
31
- ```
32
-
33
- Also update `MACOS_APP_SOURCES_DIR` if referenced outside mobile apps (line 13). Since mobile apps are excluded, leave this line as-is.
34
-
35
- - [ ] **Step 2: Update plugin manifest filename**
36
-
37
- In `src/plugins/manifest.ts` line 8, change:
38
- ```typescript
39
- // OLD
40
- export const PLUGIN_MANIFEST_FILENAME = "rodwx.plugin.json";
41
- // NEW
42
- export const PLUGIN_MANIFEST_FILENAME = "rodwx.plugin.json";
43
- ```
44
-
45
- - [ ] **Step 3: Update RodwxPackageManifest type name**
46
-
47
- In `src/plugins/manifest.ts` lines 269-275, rename:
48
- ```typescript
49
- // OLD
50
- export type RodwxPackageManifest = { ... }
51
- // NEW
52
- export type RodwxPackageManifest = { ... }
53
- ```
54
-
55
- Find and update all references to this type across the codebase.
56
-
57
- - [ ] **Step 4: Commit**
58
-
59
- ```bash
60
- git add src/compat/legacy-names.ts src/plugins/manifest.ts
61
- git commit -m "core: rename PROJECT_NAME to rodwx and update manifest constants"
62
- ```
63
-
64
- ---
65
-
66
- ### Task 2: Rename package.json identity and entry point
67
-
68
- **Files:**
69
- - Modify: `package.json` (root)
70
- - Rename: `rodwx.mjs` → `rodwx.mjs`
71
-
72
- - [ ] **Step 1: Update root package.json**
73
-
74
- Change the following fields:
75
- ```jsonc
76
- {
77
- "name": "rodwx", // line 2
78
- "homepage": "", // line 6 - clear (private repo)
79
- "bugs": { "url": "" }, // line 8 - clear
80
- "repository": { "url": "" }, // line 14 - clear
81
- "bin": { "rodwx": "rodwx.mjs" }, // line 17
82
- // in "files" array: "rodwx.mjs" → "rodwx.mjs" (line 26)
83
- // in "exports": "./cli-entry" → "./rodwx.mjs" (line 553)
84
- }
85
- ```
86
-
87
- Also update all `"rodwx"` references in scripts (lines 651-664):
88
- - `"rodwx": "node scripts/run-node.mjs"` → `"rodwx": "node scripts/run-node.mjs"`
89
- - `"rodwx:rpc"` → `"rodwx:rpc"`
90
- - `"release:rodwx:npm:check"` → `"release:rodwx:npm:check"`
91
-
92
- - [ ] **Step 2: Rename the entry point file**
93
-
94
- ```bash
95
- git mv rodwx.mjs rodwx.mjs
96
- ```
97
-
98
- - [ ] **Step 3: Update entry point wrapper references inside rodwx.mjs**
99
-
100
- In the newly renamed `rodwx.mjs`, update:
101
- - `wrapperBasename: "rodwx.mjs"` → `wrapperBasename: "rodwx.mjs"`
102
- - `wrapperBasename: "rodwx.js"` → `wrapperBasename: "rodwx.js"`
103
- - `process.title = "rodwx"` → `process.title = "rodwx"`
104
- - All `[rodwx]` log prefixes → `[rodwx]`
105
- - `Rodwx ${VERSION}` → `RODWX ${VERSION}`
106
- - `ensureRodwxExecMarkerOnProcess` — update function name and import
107
-
108
- - [ ] **Step 4: Update src/entry.ts matching references**
109
-
110
- Same changes as Step 3 but in `src/entry.ts`:
111
- - `ENTRY_WRAPPER_PAIRS` basenames
112
- - `process.title = "rodwx"` → `process.title = "rodwx"`
113
- - Log prefixes and version strings
114
- - Import of `ensureRodwxExecMarkerOnProcess`
115
-
116
- - [ ] **Step 5: Update src/infra/rodwx-exec-env.ts (atomic rename)**
117
-
118
- Rename file and update ALL symbols and imports atomically:
119
- - `RODWX_CLI` env var → `RODWX_CLI`
120
- - `RODWX_CLI_ENV_VAR` → `RODWX_CLI_ENV_VAR`
121
- - `ensureRodwxExecMarkerOnProcess` → `ensureRodwxExecMarkerOnProcess`
122
- - `markRodwxExecEnv` → `markRodwxExecEnv`
123
-
124
- Then rename the file:
125
- ```bash
126
- git mv src/infra/rodwx-exec-env.ts src/infra/rodwx-exec-env.ts
127
- git mv src/infra/rodwx-exec-env.test.ts src/infra/rodwx-exec-env.test.ts
128
- ```
129
-
130
- **CRITICAL:** Update ALL import sites BEFORE committing (these files import from `./rodwx-exec-env.js`):
131
- - `src/entry.ts` line 12
132
- - `src/infra/rodwx-exec-env.test.ts` (the renamed test)
133
- - `src/process/exec.ts`
134
- - `src/infra/host-env-security.ts`
135
- - `src/agents/sandbox/docker.ts`
136
-
137
- Change `from "./rodwx-exec-env.js"` → `from "./rodwx-exec-env.js"` in each.
138
-
139
- - [ ] **Step 6: Commit**
140
-
141
- ```bash
142
- git add -A
143
- git commit -m "core: rename package to rodwx and rename entry point"
144
- ```
145
-
146
- ---
147
-
148
- ### Task 3: Rename config paths and env var prefixes
149
-
150
- **Files:**
151
- - Modify: `src/config/paths.ts:8-114`
152
- - Modify: `src/infra/env.ts` (NOT `env.js` — that's the compiled output) and related env files
153
- - Modify: `src/agents/agent-paths.ts:7-18`
154
- - Modify: `src/infra/dotenv.ts:12`
155
- - Modify: `src/infra/bonjour.ts:29,110`
156
- - Modify: `src/infra/diagnostic-flags.ts:3`
157
- - Modify: `src/cli/program/preaction.ts:127,138`
158
-
159
- - [ ] **Step 1: Update config paths**
160
-
161
- In `src/config/paths.ts`:
162
- ```typescript
163
- // OLD
164
- const NEW_STATE_DIRNAME = ".rodwx";
165
- const CONFIG_FILENAME = "rodwx.json";
166
- // NEW
167
- const NEW_STATE_DIRNAME = ".rodwx";
168
- const CONFIG_FILENAME = "rodwx.json";
169
- ```
170
-
171
- Update all env var references in this file:
172
- - `RODWX_NIX_MODE` → `RODWX_NIX_MODE`
173
- - `RODWX_STATE_DIR` → `RODWX_STATE_DIR`
174
- - `RODWX_CONFIG_PATH` → `RODWX_CONFIG_PATH`
175
-
176
- Remove legacy `CLAWDBOT_STATE_DIR` and `CLAWDBOT_CONFIG_PATH` fallbacks. These appear in 13 source files total (not just `paths.ts`) — remove all occurrences codebase-wide.
177
-
178
- - [ ] **Step 2: Update agent paths**
179
-
180
- In `src/agents/agent-paths.ts`:
181
- - `RODWX_AGENT_DIR` → `RODWX_AGENT_DIR`
182
-
183
- - [ ] **Step 3: Bulk rename RODWX_ env vars across src/infra/**
184
-
185
- Global find-and-replace in `src/infra/`:
186
- - `RODWX_DISABLE_BONJOUR` → `RODWX_DISABLE_BONJOUR`
187
- - `RODWX_MDNS_HOSTNAME` → `RODWX_MDNS_HOSTNAME`
188
- - `RODWX_CLAWHUB_URL` → `RODWX_CLAWHUB_URL`
189
- - `RODWX_DIAGNOSTICS` → `RODWX_DIAGNOSTICS`
190
- - `RODWX_HIDE_BANNER` → `RODWX_HIDE_BANNER`
191
- - `RODWX_LOG_LEVEL` → `RODWX_LOG_LEVEL`
192
- - `RODWX_BUILD_VERBOSE` → `RODWX_BUILD_VERBOSE`
193
- - `RODWX_AUTH_STORE_READONLY` → `RODWX_AUTH_STORE_READONLY`
194
-
195
- Also include `RODWX_TEST_FAST` → `RODWX_TEST_FAST` (used in 28 test files across the codebase).
196
-
197
- Pattern: replace all `RODWX_` with `RODWX_` across the entire `src/` directory.
198
-
199
- - [ ] **Step 4: Update dotenv path**
200
-
201
- In `src/infra/dotenv.ts`:
202
- - `~/.rodwx/.env` → `~/.rodwx/.env`
203
-
204
- - [ ] **Step 5: Update corresponding test files**
205
-
206
- All `.test.ts` files in `src/infra/` and `src/config/` that reference old env var names or paths.
207
-
208
- - [ ] **Step 6: Commit**
209
-
210
- ```bash
211
- git add src/config/ src/infra/ src/agents/agent-paths.ts src/cli/program/preaction.ts
212
- git commit -m "core: rename config paths to ~/.rodwx/ and env vars to RODWX_*"
213
- ```
214
-
215
- **Note:** `src/cli/program/preaction.ts` is included here because it contains `RODWX_HIDE_BANNER` and `RODWX_LOG_LEVEL` env vars that must be renamed atomically with the rest.
216
-
217
- ---
218
-
219
- ### Task 4: Update workspace shim packages and build config
220
-
221
- **Files:**
222
- - Modify: `packages/clawdbot/package.json`
223
- - Modify: `packages/moltbot/package.json`
224
- - Modify: `tsdown.config.ts:35,96,106-108,114`
225
-
226
- - [ ] **Step 1: Update clawdbot shim**
227
-
228
- In `packages/clawdbot/package.json`:
229
- ```jsonc
230
- {
231
- "description": "Compatibility shim that forwards to rodwx",
232
- "dependencies": {
233
- "rodwx": "workspace:*" // was "rodwx": "workspace:*"
234
- }
235
- }
236
- ```
237
-
238
- - [ ] **Step 2: Update moltbot shim**
239
-
240
- Same change in `packages/moltbot/package.json`.
241
-
242
- - [ ] **Step 3: Update tsdown.config.ts**
243
-
244
- - `RODWX_BUILD_VERBOSE` → `RODWX_BUILD_VERBOSE` (line 35)
245
- - `"rodwx.plugin.json"` → `"rodwx.plugin.json"` (line 96)
246
- - `packageJson.rodwx` → `packageJson.rodwx` (lines 106, 108, 114)
247
-
248
- - [ ] **Step 4: Verify workspace resolves**
249
-
250
- ```bash
251
- pnpm install
252
- ```
253
-
254
- Expected: Clean install with no unresolved workspace dependencies.
255
-
256
- - [ ] **Step 5: Commit**
257
-
258
- ```bash
259
- git add packages/ tsdown.config.ts pnpm-lock.yaml
260
- git commit -m "core: update workspace shims and build config for rodwx"
261
- ```
262
-
263
- ---
264
-
265
- ### Task 5: Bulk rename remaining RODWX/Rodwx/rodwx in src/
266
-
267
- **Files:**
268
- - All remaining `src/**/*.ts` files not yet covered
269
-
270
- - [ ] **Step 1: Run bulk find-and-replace across src/**
271
-
272
- Three passes in order (most specific first to avoid partial replacements):
273
- 1. `RODWX_` → `RODWX_` (env vars)
274
- 2. `Rodwx` → `Rodwx` (type names, class names, UI strings) — BUT skip `apps/` directory
275
- 3. `rodwx` → `rodwx` (paths, package refs, strings) — BUT skip `apps/` directory and `node_modules/`
276
-
277
- Use case-sensitive replacement. Review each change to avoid breaking imports from `node_modules`.
278
-
279
- - [ ] **Step 2: Rename files with "rodwx" in their name**
280
-
281
- ```bash
282
- # Find and rename files (example)
283
- git mv src/infra/rodwx-exec-env.ts src/infra/rodwx-exec-env.ts
284
- ```
285
-
286
- Update all imports referencing renamed files.
287
-
288
- - [ ] **Step 3: Run build to verify**
289
-
290
- ```bash
291
- pnpm build
292
- ```
293
-
294
- Expected: Clean build with no errors.
295
-
296
- - [ ] **Step 4: Run tests**
297
-
298
- ```bash
299
- pnpm test
300
- ```
301
-
302
- Expected: Tests pass (some may fail due to hardcoded strings in test fixtures — fix those).
303
-
304
- - [ ] **Step 5: Commit**
305
-
306
- ```bash
307
- git add -A
308
- git commit -m "core: bulk rename all rodwx references in src/ to rodwx"
309
- ```
310
-
311
- ---
312
-
313
- ## Phase 2: CLI and Strings
314
-
315
- ### Task 6: Update terminal palette colors
316
-
317
- **Files:**
318
- - Modify: `src/terminal/palette.ts`
319
-
320
- - [ ] **Step 1: Replace LOBSTER_PALETTE with PANDA_PALETTE**
321
-
322
- ```typescript
323
- // OLD
324
- export const LOBSTER_PALETTE = {
325
- accent: "#FF5A2D",
326
- accentBright: "#FF7A3D",
327
- accentDim: "#D14A22",
328
- info: "#FF8A5B",
329
- // ...
330
- }
331
-
332
- // NEW
333
- export const PANDA_PALETTE = {
334
- accent: "#0066FF",
335
- accentBright: "#1E90FF",
336
- accentDim: "#0052CC",
337
- info: "#1E90FF",
338
- success: "#2FBF71",
339
- warn: "#FFB020",
340
- error: "#E23D2D",
341
- muted: "#6B7280",
342
- }
343
- ```
344
-
345
- - [ ] **Step 2: Update all references to LOBSTER_PALETTE → PANDA_PALETTE**
346
-
347
- Search the codebase for `LOBSTER_PALETTE` and replace with `PANDA_PALETTE`.
348
-
349
- - [ ] **Step 3: Commit**
350
-
351
- ```bash
352
- git add src/terminal/palette.ts
353
- git commit -m "cli: replace lobster palette with rodwx blue gradient palette"
354
- ```
355
-
356
- ---
357
-
358
- ### Task 7: Update CLI help text, wizard, and commands
359
-
360
- **Files:**
361
- - All files in `src/cli/`, `src/wizard/`, `src/commands/` with remaining "rodwx" references
362
-
363
- - [ ] **Step 1: Bulk replace in src/cli/**
364
-
365
- Replace remaining references (any not caught by Phase 1):
366
- - `"rodwx"` → `"rodwx"` in help strings, descriptions, examples
367
- - `"Rodwx"` → `"RODWX"` in display names
368
-
369
- - [ ] **Step 2: Bulk replace in src/wizard/**
370
-
371
- Same replacements in wizard setup files — onboarding messages, config examples.
372
-
373
- - [ ] **Step 3: Bulk replace in src/commands/**
374
-
375
- Same replacements in command output strings, error messages.
376
-
377
- - [ ] **Step 4: Update plugin-sdk guardrail test files**
378
-
379
- These 5 files need manual attention (regexes with `rodwx`):
380
-
381
- 1. `src/plugin-sdk/subpaths.test.ts` — replace `"rodwx/plugin-sdk"` → `"rodwx/plugin-sdk"`
382
- 2. `src/plugin-sdk/package-contract-guardrails.test.ts` — update regex `/rodwx\/plugin-sdk\//` → `/rodwx\/plugin-sdk\//`
383
- 3. `src/plugin-sdk/channel-import-guardrails.test.ts` — update all regex patterns
384
- 4. `src/plugin-sdk/plugin-entry-guardrails.test.ts` — update regex
385
- 5. `src/plugin-sdk/index.bundle.test.ts` — update cache dir `"rodwx-plugin-sdk-build"` → `"rodwx-plugin-sdk-build"`
386
-
387
- - [ ] **Step 5: Run tests to verify guardrails still work**
388
-
389
- ```bash
390
- pnpm test -- src/plugin-sdk/subpaths.test.ts src/plugin-sdk/package-contract-guardrails.test.ts src/plugin-sdk/channel-import-guardrails.test.ts src/plugin-sdk/plugin-entry-guardrails.test.ts src/plugin-sdk/index.bundle.test.ts
391
- ```
392
-
393
- Expected: All pass.
394
-
395
- - [ ] **Step 6: Commit**
396
-
397
- ```bash
398
- git add src/cli/ src/wizard/ src/commands/ src/plugin-sdk/
399
- git commit -m "cli: rebrand all CLI strings, wizard, commands, and SDK guardrails to rodwx"
400
- ```
401
-
402
- ---
403
-
404
- ## Phase 3: UI and Web
405
-
406
- ### Task 8: Update UI theme and branding
407
-
408
- **Files:**
409
- - Modify: `ui/index.html`
410
- - Modify: `ui/src/**/*.ts` (53 files, ~223 occurrences)
411
- - Modify: `ui/src/i18n/locales/*.ts`
412
-
413
- - [ ] **Step 1: Update ui/index.html**
414
-
415
- - `<title>Rodwx Control</title>` → `<title>RODWX Control</title>`
416
- - `rodwx.control.settings.v1` → `rodwx.control.settings.v1`
417
- - `<rodwx-app>` → `<rodwx-app>` (custom element tag)
418
- - Theme references: `rodwx` → `rodwx`
419
-
420
- - [ ] **Step 2: Bulk replace in ui/src/**
421
-
422
- Replace all `rodwx`/`Rodwx` references in UI source files:
423
- - Component names, CSS classes, localStorage keys
424
- - API references, config paths
425
- - Display strings
426
-
427
- - [ ] **Step 3: Update i18n locale files**
428
-
429
- In all `ui/src/i18n/locales/*.ts` files, replace "Rodwx" and "rodwx" in translated strings (Spanish, German, Chinese, Japanese, etc.).
430
-
431
- - [ ] **Step 4: Commit**
432
-
433
- ```bash
434
- git add ui/
435
- git commit -m "ui: rebrand control panel to RODWX with blue theme"
436
- ```
437
-
438
- ---
439
-
440
- ### Task 9: Update Canvas scaffold and logos
441
-
442
- **Files:**
443
- - Modify: `apps/shared/RodwxKit/Sources/RodwxKit/Resources/CanvasScaffold/scaffold.html`
444
- - Replace: `docs/assets/rodwx-logo-*` with rodwx logos
445
- - Source logos: `assets/logos_rodwx/`
446
-
447
- - [ ] **Step 1: Update Canvas scaffold HTML**
448
-
449
- Replace all `rodwx` element IDs and text:
450
- - `id="rodwx-home"` → `id="rodwx-home"`
451
- - `id="rodwx-canvas"` → `id="rodwx-canvas"`
452
- - `id="rodwx-status"` → `id="rodwx-status"`
453
- - All `rodwx-home-*` IDs → `rodwx-home-*`
454
- - `"Welcome to Rodwx"` → `"Welcome to RODWX"`
455
- - `window.__rodwx` → `window.__rodwx`
456
- - Badge text `"OC"` → `"RW"`
457
-
458
- - [ ] **Step 2: Update Canvas scaffold colors**
459
-
460
- Replace any lobster/red accent colors in the scaffold CSS with the RODWX blue gradient:
461
- - Primary accent: `#0066FF`
462
- - Gradient: `linear-gradient(135deg, #0066FF, #1E90FF)`
463
-
464
- - [ ] **Step 3: Copy logo assets**
465
-
466
- ```bash
467
- cp assets/logos_rodwx/isotipo.png docs/assets/rodwx-logo.png
468
- cp assets/logos_rodwx/isotipo_negativo.png docs/assets/rodwx-logo-dark.png
469
- cp assets/logos_rodwx/LOGO.png docs/assets/rodwx-logo-text.png
470
- cp assets/logos_rodwx/text_logo_negativo.png docs/assets/rodwx-logo-text-dark.png
471
- cp assets/logos_rodwx/logo_negativo.png docs/assets/rodwx-logo-full-dark.png
472
- ```
473
-
474
- - [ ] **Step 4: Update logo references in README.md and UI**
475
-
476
- Replace references to `rodwx-logo-text.svg` / `rodwx-logo-text-dark.svg` with the new PNG paths.
477
-
478
- - [ ] **Step 5: Commit**
479
-
480
- ```bash
481
- git add apps/shared/ docs/assets/ assets/logos_rodwx/
482
- git commit -m "ui: update canvas scaffold and logos for RODWX branding"
483
- ```
484
-
485
- ---
486
-
487
- ## Phase 4: Extensions
488
-
489
- ### Task 10: Rename extension plugin manifests
490
-
491
- **IMPORTANT:** `tsdown.config.ts` must already have `"rodwx.plugin.json"` as the manifest filename (done in Task 4 Step 3) BEFORE renaming these files. Otherwise `pnpm build` will find no manifests.
492
-
493
- **Files:**
494
- - Rename: 75 `extensions/*/rodwx.plugin.json` → `rodwx.plugin.json`
495
-
496
- - [ ] **Step 1: Verify tsdown.config.ts is updated**
497
-
498
- Confirm that `tsdown.config.ts` line 96 already reads `"rodwx.plugin.json"` (from Task 4). If not, update it now.
499
-
500
- - [ ] **Step 2: Bulk rename all plugin manifest files**
501
-
502
- ```bash
503
- for dir in extensions/*/; do
504
- if [ -f "${dir}rodwx.plugin.json" ]; then
505
- git mv "${dir}rodwx.plugin.json" "${dir}rodwx.plugin.json"
506
- fi
507
- done
508
- ```
509
-
510
- - [ ] **Step 3: Commit**
511
-
512
- ```bash
513
- git add extensions/
514
- git commit -m "extensions: rename all rodwx.plugin.json to rodwx.plugin.json"
515
- ```
516
-
517
- ---
518
-
519
- ### Task 11: Update extension package.json files
520
-
521
- **Files:**
522
- - Modify: 70 `extensions/*/package.json`
523
-
524
- - [ ] **Step 1: Update package names and manifest keys**
525
-
526
- For each extension `package.json`:
527
- - `"name": "@rodwx/..."` → `"name": "@rodwx/..."`
528
- - `"rodwx": { "extensions": [...] }` → `"rodwx": { "extensions": [...] }`
529
- - Any `"rodwx"` in devDependencies/peerDependencies → `"rodwx"`
530
-
531
- This can be scripted:
532
- ```bash
533
- find extensions -name "package.json" -not -path "*/node_modules/*" -exec sed -i 's/@rodwx\//@rodwx\//g; s/"rodwx"/"rodwx"/g' {} \;
534
- ```
535
-
536
- Then manually verify no false positives.
537
-
538
- - [ ] **Step 2: Commit**
539
-
540
- ```bash
541
- git add extensions/
542
- git commit -m "extensions: rebrand all package.json to @rodwx scope"
543
- ```
544
-
545
- ---
546
-
547
- ### Task 12: Update plugin SDK exports and types
548
-
549
- **Files:**
550
- - Modify: `src/plugin-sdk/*.ts` (~47 files with Rodwx type names)
551
- - Modify: All extension source files importing from `rodwx/plugin-sdk`
552
-
553
- - [ ] **Step 1: Rename exported types**
554
-
555
- Global replace in `src/plugin-sdk/`:
556
- - `RodwxConfig` → `RodwxConfig`
557
- - `RodwxPluginApi` → `RodwxPluginApi`
558
- - `CoreRodwxPluginApi` → `CoreRodwxPluginApi`
559
- - `SharedRodwxPluginApi` → `SharedRodwxPluginApi`
560
- - Any other `Rodwx*` type names
561
-
562
- - [ ] **Step 2: Update plugin SDK subpath exports in package.json**
563
-
564
- In root `package.json`, update all exports that reference `rodwx`:
565
- - `"./plugin-sdk"` paths stay the same (they're subpaths, not the package name)
566
- - But internal file references may need updates
567
-
568
- - [ ] **Step 3: Update extension source imports**
569
-
570
- In all `extensions/*/src/*.ts` files, replace:
571
- - `from "rodwx/plugin-sdk"` → `from "rodwx/plugin-sdk"`
572
- - `from "rodwx/plugin-sdk/core"` → `from "rodwx/plugin-sdk/core"`
573
- - Same for all plugin-sdk subpaths
574
-
575
- - [ ] **Step 4: Remove legacy ClawdbotConfig alias**
576
-
577
- Remove `RodwxConfig as ClawdbotConfig` re-exports (legacy compat no longer needed).
578
-
579
- - [ ] **Step 5: Run build and tests**
580
-
581
- ```bash
582
- pnpm build
583
- pnpm test
584
- ```
585
-
586
- Expected: Clean build and passing tests.
587
-
588
- - [ ] **Step 6: Commit**
589
-
590
- ```bash
591
- git add src/plugin-sdk/ extensions/
592
- git commit -m "extensions: rebrand plugin SDK types and imports to rodwx"
593
- ```
594
-
595
- ---
596
-
597
- ## Phase 5: Infrastructure
598
-
599
- ### Task 13: Update Docker and deployment configs
600
-
601
- **Files:**
602
- - Modify: `Dockerfile`, `Dockerfile.sandbox*`
603
- - Modify: `docker-compose.yml`
604
- - Modify: `fly.toml`, `fly.private.toml`, `render.yaml`
605
-
606
- - [ ] **Step 1: Update Dockerfile**
607
-
608
- - `RODWX_*` ARG names → `RODWX_*`
609
- - `id=rodwx-pnpm-store` → `id=rodwx-pnpm-store`
610
- - `id=rodwx-bookworm-apt-cache` → `id=rodwx-bookworm-apt-cache`
611
- - `org.opencontainers.image.title="Rodwx"` → `"RODWX"`
612
- - `org.opencontainers.image.source` → clear or placeholder
613
- - `ln -sf /app/rodwx.mjs /usr/local/bin/rodwx` → `ln -sf /app/rodwx.mjs /usr/local/bin/rodwx`
614
-
615
- - [ ] **Step 2: Update sandbox Dockerfiles**
616
-
617
- Same `RODWX_*` → `RODWX_*` replacements in `Dockerfile.sandbox*`.
618
-
619
- - [ ] **Step 3: Update docker-compose.yml**
620
-
621
- Service names and env vars referencing rodwx.
622
-
623
- - [ ] **Step 4: Update fly.toml and render.yaml**
624
-
625
- App names and environment variable references.
626
-
627
- - [ ] **Step 5: Commit**
628
-
629
- ```bash
630
- git add Dockerfile* docker-compose.yml fly.toml fly.private.toml render.yaml
631
- git commit -m "infra: rebrand Docker and deployment configs to rodwx"
632
- ```
633
-
634
- ---
635
-
636
- ### Task 14: Update CI/CD workflows and scripts
637
-
638
- **Files:**
639
- - Modify: `.github/workflows/*.yml` (11 files)
640
- - Modify: `scripts/` (files referencing rodwx)
641
-
642
- - [ ] **Step 1: Update GitHub workflows**
643
-
644
- In all `.github/workflows/*.yml`:
645
- - `rodwx-npm-release.yml` → rename or update internal refs
646
- - Package name references in publish steps
647
- - `RODWX_*` env vars in CI
648
-
649
- - [ ] **Step 2: Update shell scripts**
650
-
651
- In `scripts/`:
652
- - `rodwx-npm-publish.sh` and similar — update package references
653
- - All `RODWX_*` env var references (including `RODWX_BUILD_VERBOSE` in `scripts/tsdown-build.mjs`, `scripts/copy-export-html-templates.ts`, `scripts/copy-hook-metadata.ts`)
654
- - Any `rodwx` binary invocations
655
-
656
- - [ ] **Step 3: Commit**
657
-
658
- ```bash
659
- git add .github/ scripts/
660
- git commit -m "infra: rebrand CI/CD workflows and scripts to rodwx"
661
- ```
662
-
663
- ---
664
-
665
- ## Phase 6: Docs and Meta
666
-
667
- ### Task 15: Update documentation files
668
-
669
- **Files:**
670
- - Modify: `README.md`, `CONTRIBUTING.md`, `VISION.md`, `SECURITY.md`, `CHANGELOG.md`
671
- - Modify: `AGENTS.md` (which CLAUDE.md symlinks to)
672
- - Modify: `docs/**/*.md` (50+ files)
673
-
674
- - [ ] **Step 1: Update root documentation**
675
-
676
- In `README.md`:
677
- - Title: `RODWX — Personal AI Assistant`
678
- - Remove lobster emoji, replace with panda or clean
679
- - Update logo image references to rodwx PNGs
680
- - Replace all `rodwx` / `Rodwx` references
681
- - Remove/update GitHub URLs, Discord links, sponsor sections
682
- - Update CLI examples: `rodwx` → `rodwx`
683
- - Update config path references: `~/.rodwx/` → `~/.rodwx/`
684
-
685
- - [ ] **Step 2: Update CONTRIBUTING.md, VISION.md, SECURITY.md**
686
-
687
- Same mechanical replacement of all `rodwx`/`Rodwx` references.
688
-
689
- - [ ] **Step 3: Update AGENTS.md**
690
-
691
- This is the main project instructions file. Replace:
692
- - All `rodwx` CLI references → `rodwx`
693
- - All `Rodwx` product name references → `RODWX`
694
- - All `RODWX_*` env vars → `RODWX_*`
695
- - Config paths → `~/.rodwx/`
696
- - GitHub URLs → placeholder
697
- - Skill paths referencing `rodwx-*` → `rodwx-*`
698
-
699
- - [ ] **Step 4: Bulk replace in docs/**
700
-
701
- ```bash
702
- find docs -name "*.md" -not -path "*/node_modules/*" -exec sed -i 's/rodwx/rodwx/g; s/Rodwx/RODWX/g; s/RODWX/RODWX/g' {} \;
703
- ```
704
-
705
- Then review for false positives and context-appropriate casing.
706
-
707
- - [ ] **Step 5: Commit**
708
-
709
- ```bash
710
- git add README.md CONTRIBUTING.md VISION.md SECURITY.md AGENTS.md CHANGELOG.md docs/
711
- git commit -m "docs: rebrand all documentation to RODWX"
712
- ```
713
-
714
- ---
715
-
716
- ### Task 16: Update internal agent prompts and templates
717
-
718
- **Files:**
719
- - Modify: `.agents/**/*.md`
720
- - Modify: `.pi/**/*.md`
721
- - Modify: `.github/ISSUE_TEMPLATE/*.yml`
722
- - Modify: `.github/pull_request_template.md`
723
- - Modify: `.github/instructions/copilot.instructions.md`
724
-
725
- - [ ] **Step 1: Update .agents/ skill files**
726
-
727
- Replace `rodwx`/`Rodwx` in all `.agents/skills/*/SKILL.md` files and `.agents/maintainers.md`.
728
-
729
- - [ ] **Step 2: Update .pi/ prompts**
730
-
731
- Replace in `.pi/prompts/*.md` and `.pi/extensions/*.ts`.
732
-
733
- - [ ] **Step 3: Update GitHub templates**
734
-
735
- Replace in issue templates, PR template, and Copilot instructions.
736
-
737
- - [ ] **Step 4: Commit**
738
-
739
- ```bash
740
- git add .agents/ .pi/ .github/
741
- git commit -m "docs: rebrand agent prompts and GitHub templates to RODWX"
742
- ```
743
-
744
- ---
745
-
746
- ### Task 17: Final validation and cleanup
747
-
748
- - [ ] **Step 1: Search for any remaining rodwx references**
749
-
750
- ```bash
751
- grep -ri "rodwx" --include="*.ts" --include="*.js" --include="*.json" --include="*.md" --include="*.yml" --include="*.yaml" --include="*.html" --include="*.css" -l | grep -v node_modules | grep -v .git | grep -v apps/ios | grep -v apps/android | grep -v apps/macos
752
- ```
753
-
754
- Fix any remaining references (excluding mobile apps).
755
-
756
- - [ ] **Step 2: Full build**
757
-
758
- ```bash
759
- pnpm install
760
- pnpm build
761
- ```
762
-
763
- Expected: Clean build, no errors.
764
-
765
- - [ ] **Step 3: Full test suite**
766
-
767
- ```bash
768
- pnpm test
769
- ```
770
-
771
- Expected: All tests pass.
772
-
773
- - [ ] **Step 4: Verify CLI starts**
774
-
775
- ```bash
776
- node rodwx.mjs --version
777
- node rodwx.mjs --help
778
- ```
779
-
780
- Expected: Shows "RODWX" branding and version.
781
-
782
- - [ ] **Step 5: Final commit if any remaining fixes**
783
-
784
- ```bash
785
- git add -A
786
- git commit -m "chore: final cleanup for RODWX rebrand"
787
- ```
788
-
789
- ---
790
-
791
- ## Phase Execution Order
792
-
793
- ```
794
- Phase 1 (Tasks 1-5) ─── foundation, must be first
795
-
796
- ├── Phase 2 (Tasks 6-7) ─── CLI strings
797
-
798
- ├── Phase 3 (Tasks 8-9) ─── UI/web (parallel to Phase 2)
799
-
800
- └── Phase 4 (Tasks 10-12) ─── Extensions (parallel to Phase 2-3)
801
-
802
- Phase 5 (Tasks 13-14) ─── Infra (after Phase 1)
803
-
804
- Phase 6 (Tasks 15-17) ─── Docs (last, after everything)
805
- ```
806
-
807
- Each phase is a separate git branch (`feat/rodwx-phase-N`) merged to main after completion.