Commit Graph
6 Commits
Author SHA1 Message Date
chx7776-afk e1a35baa8b fix(web): replace fs.cpSync to avoid Windows crash in extract step (#574)
`fs.cpSync` in `copyChapterAssets` terminates the Node process on Windows
with Node 22. Running `npm run extract` (the `predev` hook of `npm run dev`)
prints "Source: root chapter folders (17)" and then exits with
STATUS_STACK_BUFFER_OVERRUN (exit code 0xC0000409) without any JS-level
error, so the course data is never written and the dev server never starts.

Replace it with a small recursive copy helper built on `fs.readdirSync` +
`fs.copyFileSync`, which is what `fs.cpSync` does internally minus the
native path that crashes here.

Verified on Windows 11 / Node v22.20.0:
- before: exit 0xC0000409, extraction aborted, no course-assets output
- after:  exit 0, "17 versions / 16 diffs / 51 docs", 74 asset files written
2026-10-27 12:40:19 +08:00
123456wda c77cd7e813 fix: normalize generated content newlines 2026-08-15 21:15:27 +08:00
Haoran ab35e59672 Refine course progression and runtime safety 2026-08-11 15:13:13 +08:00
Haoran cb8fae1bdd feat: refresh course through workflow and goal loops 2026-07-30 19:14:04 +08:00
Haoran fdd7d2a851 feat: complete web curriculum visuals 2026-05-25 22:38:02 +08:00
CrazyBoyM c6a27ef1d7 feat: build an AI agent from 0 to 1 -- 11 progressive sessions
- 11 sessions from basic agent loop to autonomous teams
- Python MVP implementations for each session
- Mental-model-first docs in en/zh/ja
- Interactive web platform with step-through visualizations
- Incremental architecture: each session adds one mechanism
2026-02-21 17:02:43 +08:00