Extend network stack: session/auth, WebSocket, cookie/multipart primitives

Add the network-extension wave to lib/net and the web ABI plugin:
- lib/net cookie_parse / multipart_parse host primitives (EN/ZH)
- plugins/web session store + /admin login gate + WebSocket client/server
- ext/web author surface (EN/ZH) for session, auth, ws
- form update flow and page-level validation echo tests
- fix string escapes: \xHH, \u{...}, unknown escapes kept verbatim
- map Chinese component slots (导航/侧栏/页脚) so sidebar renders
- resolve relative static/db paths against the entry script dir (entry_dir)
- new tutorial chapter 14, EN/ZH example sites, and gold tests

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-25 14:58:46 +08:00
1 parent 7dfa161422
commit 7645dd4c1f
47 files changed
+3380 -75

No files matched your search

@@ -0,0 +1,10 @@
## foot
`foot` =
| 属性 | 值 | 样式 |
|------|-----|------|
| Marqdo web-net example | https://github.com | |
| Docs | /tools | |
**`foot`**
@@ -0,0 +1,15 @@
## nav
Site top navigation. The Admin tab points at the login-gated admin page.
`nav` =
| 属性 | 值 | 样式 |
|------|-----|------|
| Home | / | |
| About | /about | |
| Publish | /new | |
| Tools | /tools | |
| Admin | /admin | |
**`nav`**
@@ -0,0 +1,15 @@
## side
Sidebar index of what this example demonstrates.
`side` =
| 属性 | 值 | 样式 |
|------|-----|------|
| Articles | / | |
| WebSocket | /#live | |
| Auth | /admin | |
| Forms | /new | |
| net lib | /tools | |
**`side`**