初始化:独立 oclaw 仓库首提交

- 在 oclaw/ 下重新初始化 Git 仓库
- 补齐子仓库 .gitignore,避免提交本地运行态数据(_local、node_modules、logs 等)
- 提交当前工程代码与配置

Made-with: Cursor
This commit is contained in:
oliver 2026-04-24 22:31:22 +08:00
commit ba3836f00f
579 changed files with 83112 additions and 0 deletions

18
gateway/README.md Normal file
View file

@ -0,0 +1,18 @@
# gateway
`gateway` 是对 `vendor/openclaw/oclaw/gateway` 的 Python 重写目录。
## 当前状态
- 已重写核心挂载链路:
- `server-plugins.ts` -> `server_plugins.py`
- `server-startup-plugins.ts` -> `server_startup_plugins.py`
- 目标是保持网关启动期插件加载契约一致(加载插件、合并方法、返回 registry)。
## 迁移策略
- 由于上游 `gateway` 规模很大(数百个 TS 文件),采用分批迁移:
1. 启动与挂载链路(已完成)
2. server-methods 与 auth
3. protocol / server 子模块
4. 其余工具与测试配套
如果你确认,我会继续下一批,优先迁移 `server-methods` 目录。