mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-12 22:30:51 +08:00
重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。
本次迁移将网关/通道/工具/技能/脚本与协议资源集中到新结构,统一路径常量与脚本转发机制,减少顶层噪音并保证运行与测试行为一致。 Made-with: Cursor
This commit is contained in:
parent
ba3836f00f
commit
4a23b715a2
498 changed files with 2760 additions and 2200 deletions
|
|
@ -16,7 +16,7 @@ def test_wait_for_agent_job_is_non_blocking_pending(monkeypatch) -> None:
|
|||
return False
|
||||
|
||||
class DummyStore:
|
||||
def openclaw_run_get(self, run_id: str) -> None:
|
||||
def oclaw_run_get(self, run_id: str) -> None:
|
||||
return None
|
||||
|
||||
def get_messages(self, session_id: str, limit: int) -> list[Any]:
|
||||
|
|
@ -100,7 +100,7 @@ def test_turn_runner_emits_delta_only(monkeypatch) -> None:
|
|||
|
||||
monkeypatch.setattr(turn_runner, "SqliteStore", lambda _p: DummyStore())
|
||||
monkeypatch.setattr(turn_runner, "db_path", lambda: "dummy.sqlite")
|
||||
monkeypatch.setattr(turn_runner, "OpenClawGateway", lambda store: DummyGateway())
|
||||
monkeypatch.setattr(turn_runner, "OclawGateway", lambda store: DummyGateway())
|
||||
monkeypatch.setattr(turn_runner, "build_gateway_executor", lambda *a, **k: object())
|
||||
|
||||
conn = DummyConn()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue