ReMe/reme
BeiMu-new a265fbf8cd fix(agent-wrapper): stop assuming POSIX-only calls and path styles
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.
2026-10-23 22:56:25 +08:00
..
components fix(agent-wrapper): stop assuming POSIX-only calls and path styles 2026-10-23 22:56:25 +08:00
config fix(dsh): recover memory backlogs and protect endpoint credentials (#653) 2026-10-21 18:58:29 +08:00
enumeration refactor: generalize decision models and add recoverable context compaction (#626) 2026-10-19 17:56:30 +08:00
schema refactor: generalize decision models and add recoverable context compaction (#626) 2026-10-19 17:56:30 +08:00
steps fix(agent-wrapper): stop assuming POSIX-only calls and path styles 2026-10-23 22:56:25 +08:00
utils refactor: simplify core, Studio, and unit test scaffolding (#658) 2026-10-22 19:35:21 +08:00
__init__.py chore: release 0.4.2.0 and simplify publishing workflows (#631) 2026-10-16 16:53:52 +08:00
application.py feat(docker): add container deployment and multi-platform release workflow (#582) 2026-10-03 23:54:58 +08:00
constants.py feat(service): support explicit wildcard network binds (#547) 2026-09-15 14:26:33 +08:00
entry_point.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
plugin.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
plugin_cli.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
plugin_manifest.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00
reme.py feat: simplify plugin setup and add management CLI (#485) 2026-08-23 17:58:20 +08:00