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

Made-with: Cursor
2026-04-24 22:31:22 +08:00

1.6 KiB

server_methods

这是 vendor/openclaw/oclaw/gateway/server-methods 的 Python 重写目录。

当前已迁移

  • connect.ts -> connect.py
  • commands.ts -> commands.py
  • config.ts -> config.py
  • channels.ts -> channels.py
  • health.ts -> health.py
  • logs.ts -> logs.py
  • image.ts -> image.py
  • doctor.ts -> doctor.py
  • sessions.ts -> sessions.py
  • chat.ts -> chat.py
  • agent.ts -> agent.py
  • agents.ts -> agents.py
  • send.ts -> send.py
  • skills.ts -> skills.py
  • system.ts -> system.py
  • cron.ts -> cron.py
  • devices.ts -> devices.py
  • models.ts -> models.py
  • models-auth-status.ts -> models_auth_status.py
  • push.ts -> push.py
  • update.ts -> update.py
  • voicewake.ts -> voicewake.py
  • wizard.ts -> wizard.py
  • tts.ts -> tts.py
  • web.ts -> web.py
  • tools-catalog.ts -> tools_catalog.py
  • tools-effective.ts -> tools_effective.py
  • talk.ts -> talk.py
  • usage.ts -> usage.py
  • exec-approvals.ts -> exec_approvals.py
  • nodes-pending.ts -> nodes_pending.py
  • nodes.ts -> nodes.py
  • base-hash.ts -> base_hash.py
  • restart-request.ts -> restart_request.py
  • record-shared.ts -> record_shared.py
  • attachment-normalize.ts -> attachment_normalize.py
  • shared-types.ts -> shared_types.py
  • types.ts -> types.py
  • validation.ts -> validation.py

迁移策略

  • 先迁移低耦合基础方法与类型层。
  • 再迁移高耦合方法(chat.ts、sessions.ts、nodes.ts、agent.ts 等)。
  • 每批迁移后执行语法与单测校验,保证可持续推进。