mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-11-04 07:30:21 +00:00
Windows runs hit three platform assumptions in the agent wrappers: - `CodexAgentWrapper._effective_config_snapshot()` called `os.fchmod`, which only exists on POSIX. Building the MCP config snapshot therefore raised `AttributeError` on Windows and the Codex wrapper could not start. The call is now guarded by a capability check (`hasattr(os, "fchmod")`), which also keeps the guard testable on POSIX hosts. - `CcFileSessionStore.list_subkeys()` rendered subpaths with `str()`, which yields backslashes on Windows. The session-store contract - and the SDK conformance check shipped with `claude_agent_sdk` - expects POSIX subpaths such as `subagents/agent-2`. Render them with `as_posix()`. - `AutoMemoryStep` wrote session JSONL with the platform default newline translation, so Windows stored CRLF even though the writer appends `"\n"`. Pass `newline=""` on the append and rewrite paths so one message stays one LF-terminated line on every platform. Add a regression test that pins the snapshot path while `os.fchmod` is unavailable, so the guard is covered on POSIX CI too. |
||
|---|---|---|
| .. | ||
| fixtures/config | ||
| integration | ||
| unit | ||