# module-runtime-story-compat `module-runtime-story-compat` 承接旧 `/api/runtime/story/*` 兼容桥中不依赖 HTTP / `AppState` 的核心类型与纯 helper。 当前首批迁入范围保持克制: 1. action 结算结果结构。 2. action response 组装参数结构。 3. NPC 委托上下文结构。 4. functionId / 队伍上限常量。 5. 少量只依赖 `serde_json::Value` 与 `shared-contracts` 的纯 helper。 后续再按 battle / forge / NPC / quest / presentation 的顺序,把已经拆好的 `api-server` 内部模块逐步迁入本 crate。