Conversation
- Introduce RemoteEnvironmentConfig, RemoteTransport, and RemoteEnvironmentRegistry - Implement SessionOrigin and link origin metadata to AgentStatus and StatusSnapshot - Add safe file transfer path and size verification (RemoteFileSafety) - Propagate origin labels to Telegram and WeChat workspace status projections - Add comprehensive unit and integration tests for remote environment lifecycle
|
Reviewed the diff against current 1. Nothing in this diff is reachable yet
Against issue #13's acceptance criteria, this covers only "an origin field exists". The other three (configure at least one environment, target one explicitly from Telegram/WeChat, observable failure modes) are not met, so #13 should probably stay open. 2. Blocking: the new test fails on macOS/Linux
assert!(matches!(
RemoteFileSafety::validate_relative_path("C:\\Windows\\System32"),
Err(RemoteEnvironmentError::SafeFileTransferRejected { .. })
));
So The root cause is worse than the test: 3.
|
…chg#48) - make path safety validation host-independent to resolve Linux/macOS CI failure - redact auth_token in Debug output and skip in serialization to prevent plaintext credential leaks - collapse SessionOrigin and RemoteEnvironmentConfig origin labels to a single representation - derive Default with #[default] on unit-variant enums to resolve clippy warnings - remove UTF-8 BOM from remote.rs - update unit and integration tests accordingly
Overview
Resolves #13 by introducing support for remote agent environments across the agent runtime, control plane, and channel projection layers.
Highlights
emote:.
ender_status_snapshot) and WeChat (
ender_wechat_workspace_status) interfaces so users always know where their agent is running.
Fixes #13.