oclaw/interfaces/gateway/server_methods
oliver 3cdf550298 Make Chat abort actually stop the agent turn.
Wire should_stop from aborted runs, snapshot abort before clearing flags so finals are not emitted after stop, and keep fail-path turn_uuid aligned for bubble splitting.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 10:16:07 +08:00
..
__init__.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
agent.py refactor: root-package imports (svc/runtime/interfaces) and fix PYTHONPATH 2026-05-13 14:51:17 +08:00
agents.py 重构主控编排与运行时预热链路,统一工作区提示词/专家调度协议并补齐 wiki 记忆注入与写回闭环。 2026-04-26 08:34:33 +08:00
attachment_normalize.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
base_hash.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
channels.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
chat.py Make Chat abort actually stop the agent turn. 2026-07-23 10:16:07 +08:00
commands.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
config.py 完成运行时与启动链路的全面相对路径整改,统一以仓库根为路径基准并移除 oclaw 双层硬编码。 2026-04-26 09:22:42 +08:00
connect.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
cron.py feat(scheduler): add scheduled jobs with channel-aware delivery 2026-06-26 15:56:10 +08:00
devices.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
dispatcher.py refactor: root-package imports (svc/runtime/interfaces) and fix PYTHONPATH 2026-05-13 14:51:17 +08:00
doctor.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
exec_approvals.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
health.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
image.py refactor: root-package imports (svc/runtime/interfaces) and fix PYTHONPATH 2026-05-13 14:51:17 +08:00
logs.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
models.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
models_auth_status.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
nodes.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
nodes_pending.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
push.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
README.md 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
record_shared.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
restart_request.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
send.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
sessions.py refactor: root-package imports (svc/runtime/interfaces) and fix PYTHONPATH 2026-05-13 14:51:17 +08:00
shared_types.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
skills.py refactor: root-package imports (svc/runtime/interfaces) and fix PYTHONPATH 2026-05-13 14:51:17 +08:00
system.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
talk.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
telegram_send_normalize.py refactor: root-package imports (svc/runtime/interfaces) and fix PYTHONPATH 2026-05-13 14:51:17 +08:00
tools_catalog.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
tools_effective.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
tts.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
types.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
update.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
usage.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
validation.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
voicewake.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
web.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00
wizard.py 重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。 2026-04-25 01:24:23 +08:00

server_methods

这是 vendor/oclaw/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 等)。
  • 每批迁移后执行语法与单测校验,保证可持续推进。