- #2 (Proton ts+map fallback for unbundled debug) — landed in
`994633e feat(proton): resolve bare specifiers via TypeScript module
resolution` + `6c7e56d refactor(proto-defs)`. Bare specifiers like
`@snowluma/proto-defs/oidb` now resolve to the original `.ts` source
through `ts.resolveModuleName` (Bundler mode), so tsx/node + vite
share the same import surface.
- #4 (proto definitions in their own package) — landed in
`6c7e56d refactor(proto-defs)`. Moved 13 proto `.ts` files (~3.3k
LOC) into the new `@snowluma/proto-defs` workspace package with
per-file subpath exports; 44 call sites across core/tests rewritten.
- #6 (NapCat-style Api on ctx) — half done. Core side fully landed
through 13 sequential commits (3e5dca1 → f4c6838) — `bridge.apis.<
area>.method()` covers all 13 areas, `BridgeInterface` is gone, the
`actions/*` directory is deleted. OneBot side is NOT done: actions
still receive an `ApiActionContext` (a flat bag of functions) and
call `ctx.bridge.apis.*` directly rather than going through a
dedicated OneBot Api class layer.
Update the debug optimization item to specify a Proton fallback plan: implement unpackaged debug with correct data directory and use TypeScript + map-based type extraction for tsx and Node.js, which will be stripped during normal Vite builds.
Remove the '测试要求' testing section from README.md and add a new RoadMap.md containing planned V2.0.0 tasks (unify Uid/Uin service with SQLite persistence, improve debug experience with no-packaging debug and correct data dir). This separates roadmap details from the README for clarity and future tracking.