codymaster 4.1.1 โ†’ 4.1.3

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.
package/CHANGELOG.md CHANGED
@@ -2,7 +2,46 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- Categories: ๐Ÿš€ **Improvements** | ๐Ÿ› **Bug Fixes**
5
+ Categories: ๐Ÿš€ **Improvements** | ๐Ÿ› **Bug Fixes** | ๐Ÿ”’ **Security**
6
+
7
+ ## [4.2.0] - 2026-03-24
8
+
9
+ ### ๐Ÿ”’ Security
10
+ - **DOM XSS Remediation** โ€” Sanitized all `innerHTML` injections across 6 JS files (`kit.js`, `skills-page.js`, `demo-page.js`, `docs-page.js`, `story-page.js`, `index.html`) with `escapeHtml()` + `escapeAttr()`
11
+ - **sanitize.js** โ€” New shared utility providing `escapeHtml()`, `escapeHtmlWithBreaks()`, `escapeAttr()` loaded in 23 HTML pages
12
+ - **safe_path.py** โ€” New Python utility for path traversal prevention with `safe_resolve()`, `safe_join()`, `safe_open()`
13
+ - **Snyk Code SAST** โ€” 0 medium+ findings after full remediation scan
14
+ - **Security rules in skill kit** โ€” 5 skills updated with security learnings:
15
+ - `cm-execution`: Frontend DOM + Python + Node security rules
16
+ - `cm-quality-gate`: Layer 8 XSS scan + Gate 6 Snyk Code integration
17
+ - `cm-planning`: Security checklist in scope definition
18
+ - `cm-tdd`: Security TDD examples (XSS, path traversal tests)
19
+ - `cm-code-review`: Part D Security Review Checklist
20
+
21
+ ### ๐Ÿš€ Improvements
22
+ - **CLI Terminal UI Redesign** โ€” New premium terminal interface with onboarding, theme system, and hamster mascot
23
+ - **Security Assessment** โ€” Full audit of Agent Trust Hub API (`ai.gendigital.com`)
24
+
25
+ ### ๐Ÿ› Bug Fixes
26
+ - Fixed unescaped i18n data in persona cards, skill cards, JTBD canvas, FAQ, and IDE instructions
27
+ - Fixed `docs-page.js` ~40 unescaped values across 5 render functions
28
+
29
+ ---
30
+
31
+
32
+ ### ๐Ÿš€ Improvements
33
+ - Documentation Changelog Integration โ€” automated changelog generation added to VitePress docs
34
+ - Setup NPM Publishing โ€” configured package for npmjs.com publishing
35
+ - CLI Interface Redesign โ€” premium mobile-optimized ASCII art banner
36
+ - Parallel Coding Page โ€” added visual comparison and full i18n support
37
+ - Open Source Docs โ€” added section acknowledging referenced GitHub repositories
38
+
39
+ ### ๐Ÿ› Bug Fixes
40
+ - Security Vulnerability Remediation โ€” resolved Snyk Code findings including DOM XSS and Path Traversal
41
+ - Fixed 401 Unauthorized authentication error for `/cm:cm-start` command
42
+
43
+ ---
44
+
6
45
 
7
46
  ## [4.1.0] - 2026-03-23
8
47
 
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  **34 Skills ยท 11 Commands ยท 1 Plugin ยท 7+ Platforms ยท 6 Languages**
10
10
 
11
11
  <p align="center">
12
- <img alt="Version" src="https://img.shields.io/badge/version-4.0.0-blue.svg?cacheSeconds=2592000" />
12
+ <img alt="Version" src="https://img.shields.io/badge/version-4.1.3-blue.svg?cacheSeconds=2592000" />
13
13
  <img alt="Skills" src="https://img.shields.io/badge/skills-34-success.svg" />
14
14
  <img alt="Platforms" src="https://img.shields.io/badge/platforms-7+-orange.svg" />
15
15
  <img alt="Open Source" src="https://img.shields.io/badge/license-MIT-purple.svg" />
@@ -18,6 +18,16 @@
18
18
  </a>
19
19
  </p>
20
20
 
21
+ ```
22
+ ( . \ --- / . )
23
+ / ^ ^ \
24
+ ( u )
25
+ | \ ___ / |
26
+ '--w---w--'
27
+ Meet CodyMaster ๐Ÿน
28
+ Your smart coding companion.
29
+ ```
30
+
21
31
  ![CodyMaster Kanban Dashboard](assets/images/dashboard.png)
22
32
 
23
33
  ### ๐ŸŒŸ If CodyMaster saves you time, give it a [Star](https://github.com/tody-agent/codymaster)! ๐ŸŒŸ
@@ -32,14 +42,14 @@ You installed an AI coding agent. It's *brilliant*. It writes code faster than a
32
42
 
33
43
  But then reality hits:
34
44
 
35
- | ๐Ÿ˜ค What Actually Happens | ๐Ÿ’€ The Real Cost |
36
- |--------------------------|-----------------|
37
- | AI designs **differently every single time** โ€” same brand, 3 different styles | Clients think you're 3 different companies |
38
- | AI fixes one bug, **silently breaks 5 other things** | You redo the same work 3-4 times |
39
- | AI **forgets everything** between sessions | You re-explain the same codebase every morning |
40
- | AI writes zero tests, zero docs | Your codebase becomes a house of cards |
41
- | You install 15 different skills โ€” **none of them talk to each other** | Frankenstein toolkit with zero synergy |
42
- | Deploy to production = **deploy and pray** ๐Ÿ™ | Broken deploys at 2 AM, no rollback |
45
+ | ๐Ÿ˜ค What Actually Happens | ๐Ÿ’€ The Real Cost |
46
+ | ----------------------------------------------------------------------------------- | ---------------------------------------------- |
47
+ | AI designs**differently every single time** โ€” same brand, 3 different styles | Clients think you're 3 different companies |
48
+ | AI fixes one bug,**silently breaks 5 other things** | You redo the same work 3-4 times |
49
+ | AI**forgets everything** between sessions | You re-explain the same codebase every morning |
50
+ | AI writes zero tests, zero docs | Your codebase becomes a house of cards |
51
+ | You install 15 different skills โ€”**none of them talk to each other** | Frankenstein toolkit with zero synergy |
52
+ | Deploy to production =**deploy and pray** ๐Ÿ™ | Broken deploys at 2 AM, no rollback |
43
53
 
44
54
  > *"AI gave me 100 hands. But without discipline, those hands created chaos."*
45
55
  > โ€” **Tody Le**, Head of Product ยท 10+ years ยท Creator of CodyMaster
@@ -135,6 +145,7 @@ Got a legacy product with no design system? **cm-design-system** scans your webs
135
145
  ### ๐Ÿ“ Zero Documentation? No Problem.
136
146
 
137
147
  Don't know what the old code does? **`cm-dockit`** reads your entire codebase and generates:
148
+
138
149
  - ๐Ÿ“š Technical architecture docs
139
150
  - ๐Ÿ“– User guides & SOPs
140
151
  - ๐Ÿ”Œ API references
@@ -151,16 +162,16 @@ No more guessing. Track every task, every agent, every deployment on a real-time
151
162
 
152
163
  ## ๐Ÿ†š Scattered Skills vs CodyMaster
153
164
 
154
- | | ๐Ÿ˜ต 15 Random Skills | ๐Ÿง  CodyMaster |
155
- |---|---|---|
156
- | **Integration** | Each skill is standalone, no shared context | 34 skills that chain, share memory, and communicate |
157
- | **Lifecycle** | Covers coding only | Covers Idea โ†’ Design โ†’ Code โ†’ Test โ†’ Deploy โ†’ Docs โ†’ Learn |
158
- | **Memory** | Forgets everything between sessions | 4-tier memory system: Working โ†’ Episodic โ†’ Semantic โ†’ Deep Search |
159
- | **Safety** | YOLO deploys | 4-layer protection: TDD โ†’ Security โ†’ Isolation โ†’ Multi-gate deploy |
160
- | **Design** | Random UI every time | Extracts & enforces design system + visual preview |
161
- | **Documentation** | "Maybe write a README later" | Auto-generates complete docs, SOPs, API refs from code |
162
- | **Self-improvement** | Static โ€” what you install is what you get | Learns from mistakes, auto-discovers new skills, gets smarter daily |
163
- | **Maintenance** | Update 15 repos separately | One `git pull` updates everything |
165
+ | | ๐Ÿ˜ต 15 Random Skills | ๐Ÿง  CodyMaster |
166
+ | -------------------------- | ------------------------------------------- | --------------------------------------------------------------------- |
167
+ | **Integration** | Each skill is standalone, no shared context | 34 skills that chain, share memory, and communicate |
168
+ | **Lifecycle** | Covers coding only | Covers Idea โ†’ Design โ†’ Code โ†’ Test โ†’ Deploy โ†’ Docs โ†’ Learn |
169
+ | **Memory** | Forgets everything between sessions | 4-tier memory system: Working โ†’ Episodic โ†’ Semantic โ†’ Deep Search |
170
+ | **Safety** | YOLO deploys | 4-layer protection: TDD โ†’ Security โ†’ Isolation โ†’ Multi-gate deploy |
171
+ | **Design** | Random UI every time | Extracts & enforces design system + visual preview |
172
+ | **Documentation** | "Maybe write a README later" | Auto-generates complete docs, SOPs, API refs from code |
173
+ | **Self-improvement** | Static โ€” what you install is what you get | Learns from mistakes, auto-discovers new skills, gets smarter daily |
174
+ | **Maintenance** | Update 15 repos separately | One `git pull` updates everything |
164
175
 
165
176
  ---
166
177
 
@@ -169,6 +180,7 @@ No more guessing. Track every task, every agent, every deployment on a real-time
169
180
  We're going to be honest: **CodyMaster was built for lazy people.**
170
181
 
171
182
  If you want to:
183
+
172
184
  - โœ… Type a chat message and get a **working product** back
173
185
  - โœ… Have your AI **learn from its mistakes** and get better every day
174
186
  - โœ… Never setup the same boilerplate twice
@@ -177,6 +189,7 @@ If you want to:
177
189
  **โ†’ CodyMaster is for you.**
178
190
 
179
191
  If you prefer:
192
+
180
193
  - โŒ Manually reviewing every line of AI output
181
194
  - โŒ Doing the same setup ritual for every project
182
195
  - โŒ Slow, manual deploys with no safety net
@@ -187,24 +200,69 @@ If you prefer:
187
200
 
188
201
  ## ๐Ÿš€ 1-Minute Install
189
202
 
190
- ### Claude Code (Recommended)
203
+ ### NPM (Universal, Interactive Onboarding)
204
+
205
+ ```bash
206
+ npm install -g codymaster
207
+ codymaster
208
+ ```
209
+
210
+ The CLI will greet you with Cody the Hamster ๐Ÿน and guide you through a **5-step self-onboarding**:
211
+
212
+ ```
213
+ ( . \ --- / . )
214
+ / ^ ^ \ Hi! I'm Cody ๐Ÿน
215
+ ( u ) Your smart coding companion.
216
+ | \ ___ / |
217
+ '--w---w--'
218
+
219
+ Step 1 of 5 โ— โ—‹ โ—‹ โ—‹ โ—‹
220
+
221
+ โ—† What should I call you?
222
+ โ”‚ _
223
+
224
+ โ—† Where do you code? โ† 9 platforms supported!
225
+ โ”‚ โ— โœฆ Google Antigravity (Gemini)
226
+ โ”‚ โ—‹ ๐ŸŸฃ Claude Code
227
+ โ”‚ โ—‹ โฌก Cursor
228
+ โ”‚ โ—‹ ๐ŸŒŠ Windsurf
229
+ โ”‚ โ—‹ ๐Ÿ”ถ Cline / RooCode
230
+ โ”‚ โ—‹ ๐Ÿ“ฆ OpenCode
231
+ โ”‚ โ—‹ ๐Ÿช Kiro
232
+ โ”‚ โ—‹ ๐Ÿค– GitHub Copilot
233
+ โ”‚ โ—‹ ๐Ÿ”ง Other / Not sure
234
+ ```
235
+
236
+ ### Claude Code
237
+
191
238
  ```bash
192
239
  bash <(curl -fsSL https://raw.githubusercontent.com/tody-agent/codymaster/main/install.sh) --claude
193
240
  ```
241
+
194
242
  *Or: `claude plugin marketplace add tody-agent/codymaster` โ†’ `claude plugin install cm@codymaster`*
195
243
 
196
244
  ### Cursor IDE
245
+
197
246
  ```
198
247
  /add-plugin cody-master
199
248
  ```
200
249
 
201
250
  ### Gemini CLI / Antigravity
251
+
252
+ ```bash
253
+ # Clone and install skills
254
+ git clone --depth 1 https://github.com/tody-agent/codymaster.git ~/.cody-master
255
+ cp -r ~/.cody-master/skills/* ~/.gemini/antigravity/skills/
256
+ ```
257
+
258
+ *Or use the auto-installer:*
259
+
202
260
  ```bash
203
- gemini extensions install https://github.com/tody-agent/codymaster
261
+ bash <(curl -fsSL https://raw.githubusercontent.com/tody-agent/codymaster/main/install.sh) --antigravity
204
262
  ```
205
263
 
206
264
  <details>
207
- <summary><b>Other Platforms: Codex, OpenCode, Kiro, Copilot, Windsurf, Cline</b></summary>
265
+ <summary><b>Other Platforms: Cline, OpenCode, Kiro, Copilot, Windsurf</b></summary>
208
266
 
209
267
  ```bash
210
268
  # Universal: clone once, copy to any platform
@@ -212,38 +270,53 @@ git clone https://github.com/tody-agent/codymaster.git ~/.cody-master
212
270
 
213
271
  # Then drop skills into your platform's directory:
214
272
  cp -r ~/.cody-master/skills/* .cursor/skills/
215
- cp -r ~/.cody-master/skills/* .codex/skills/
273
+ cp -r ~/.cody-master/skills/* .cline/skills/
216
274
  cp -r ~/.cody-master/skills/* .kiro/steering/
217
275
  cp -r ~/.cody-master/skills/* .opencode/skills/
218
276
  cp -r ~/.cody-master/skills/* ~/.gemini/antigravity/skills/
277
+
278
+ # GitHub Copilot: add to copilot-instructions.md
279
+ cat ~/.cody-master/AGENTS.md >> .github/copilot-instructions.md
219
280
  ```
281
+
220
282
  </details>
221
283
 
222
284
  ---
223
285
 
224
286
  ## ๐Ÿงฐ The 34-Skill Arsenal
225
287
 
226
- | Domain | Skills |
227
- |--------|--------|
228
- | ๐Ÿ”ง **Engineering** | `cm-tdd` `cm-debugging` `cm-quality-gate` `cm-test-gate` `cm-code-review` |
229
- | โš™๏ธ **Operations** | `cm-safe-deploy` `cm-identity-guard` `cm-secret-shield` `cm-git-worktrees` `cm-terminal` `cm-safe-i18n` |
230
- | ๐ŸŽจ **Product & UX** | `cm-planning` `cm-design-system` `cm-ux-master` `cm-ui-preview` `cm-project-bootstrap` `cm-jtbd` `cm-brainstorm-idea` `cm-dockit` `cm-readit` |
231
- | ๐Ÿ“ˆ **Growth/CRO** | `cm-content-factory` `cm-ads-tracker` `cro-methodology` |
232
- | ๐ŸŽฏ **Orchestration** | `cm-execution` `cm-continuity` `cm-skill-chain` `cm-skill-mastery` `cm-skill-index` `cm-deep-search` `cm-how-it-work` |
233
- | ๐Ÿ–ฅ๏ธ **Workflow** | `cm-start` `cm-dashboard` `cm-status` |
288
+ | Domain | Skills |
289
+ | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
290
+ | ๐Ÿ”ง**Engineering** | `cm-tdd` `cm-debugging` `cm-quality-gate` `cm-test-gate` `cm-code-review` |
291
+ | โš™๏ธ**Operations** | `cm-safe-deploy` `cm-identity-guard` `cm-secret-shield` `cm-git-worktrees` `cm-terminal` `cm-safe-i18n` |
292
+ | ๐ŸŽจ**Product & UX** | `cm-planning` `cm-design-system` `cm-ux-master` `cm-ui-preview` `cm-project-bootstrap` `cm-jtbd` `cm-brainstorm-idea` `cm-dockit` `cm-readit` |
293
+ | ๐Ÿ“ˆ**Growth/CRO** | `cm-content-factory` `cm-ads-tracker` `cro-methodology` |
294
+ | ๐ŸŽฏ**Orchestration** | `cm-execution` `cm-continuity` `cm-skill-chain` `cm-skill-mastery` `cm-skill-index` `cm-deep-search` `cm-how-it-work` |
295
+ | ๐Ÿ–ฅ๏ธ**Workflow** | `cm-start` `cm-dashboard` `cm-status` |
234
296
 
235
297
  ---
236
298
 
237
299
  ## ๐ŸŽฎ Commands
238
300
 
301
+ ```
302
+ cm โ†’ Quick menu with Cody ๐Ÿน
303
+ cm task add "..." โ†’ Add a task
304
+ cm task list โ†’ View tasks
305
+ cm status โ†’ Project health
306
+ cm dashboard โ†’ Open Mission Control
307
+ cm list โ†’ Browse 34 skills
308
+ cm profile โ†’ Your stats & achievements
309
+ cm deploy <env> โ†’ Record deployment
310
+ ```
311
+
312
+ **Slash Commands (inside AI agents):**
313
+
239
314
  ```
240
315
  /cm:demo โ†’ Interactive onboarding tour
241
- /cm:bootstrap โ†’ Scaffold a new project from scratch
242
316
  /cm:plan โ†’ Plan a feature with analysis
243
317
  /cm:build โ†’ Build with strict TDD
244
318
  /cm:debug โ†’ Systematic debugging
245
319
  /cm:ux โ†’ Design system extraction & UI preview
246
- /cm:track โ†’ Marketing pixel & tracking setup
247
320
  ```
248
321
 
249
322
  ---
@@ -277,9 +350,9 @@ cp -r ~/.cody-master/skills/* ~/.gemini/antigravity/skills/
277
350
 
278
351
  <div align="center">
279
352
 
280
- *MIT License โ€” Free to use, modify, and distribute.* <br/>
353
+ *MIT License โ€” Free to use, modify, and distribute.* `<br/>`
281
354
  **Built with โค๏ธ for the vibe coding community.**
282
355
 
283
- *"Cody" = "Code ฤi" (Vietnamese: "Go code!") โ€” just start building.*
356
+ *"CodyMaster" = "Code ฤi" (Vietnamese: "Go code!") โ€” just start building.*
284
357
 
285
358
  </div>
package/dist/dashboard.js CHANGED
@@ -17,7 +17,8 @@ const skill_chain_1 = require("./skill-chain");
17
17
  // โ”€โ”€โ”€ Dashboard Server โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
18
18
  function launchDashboard(port = data_1.DEFAULT_PORT, silent = false) {
19
19
  const app = (0, express_1.default)();
20
- app.use(express_1.default.json());
20
+ app.disable('x-powered-by');
21
+ app.use(express_1.default.json({ limit: '1mb' }));
21
22
  const publicDir = path_1.default.join(__dirname, '..', 'public', 'dashboard');
22
23
  app.use(express_1.default.static(publicDir));
23
24
  // โ”€โ”€โ”€ Project API โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€