plugins/file/commands/edit architecture

Implements the edit workspace file command that validates a relative path, overwrites an existing file with new content, and adapts output to a timeline diff for web or a confirmation message otherwise.

Architectural role

Overwrites an existing workspace file through the centralized dispatcher. It applies shared workspace/path validation, performs the write, and adapts the result for CLI/web consumers and timeline diff inspection. It complements create, rename, delete, and view.

Source map

Integration details