backend.write/2 返回。
backend.write/2
files_update 字段用于 LangGraph state-style backend(如 State)返回 状态更新 map;FilesystemBackend / SandboxBackend 已直接写盘则为 nil。
files_update
State
nil
@type t() :: %CMDC.Backend.Results.WriteResult{ error: nil | atom() | String.t(), files_update: map() | nil, path: String.t() | nil }
@spec error(atom() | String.t()) :: t()
@spec ok(String.t(), map() | nil) :: t()