Skip to main content

Module agent_config_render

Module agent_config_render 

Source

Functions§

disable_autonomous_memory 🔒
Turn autonomous memory writes off in the agent’s settings: the folder is shared by every same-name launch.
render_agent_config_files 🔒
The files an agent launch writes into its working directory, whichever way it was started: agent.open (super::agent_open::write_agent_config_files) and the window’s Launch (writeagentconfig, picker_config::launch_files) both render them here, so a native and a container agent, and the two entry points, share one builder. display_name is what {{AGENT}} and {{AGENT_DISPLAY}} expand to (a launch’s instance name, or the agent’s name); workdir_is_shared is whether other launches of the agent use the same folder.
write_config_file 🔒
Write one rendered config file into the working directory, the way its kind is written (ownership-aware, exists-guarded, merged, or plainly); a path the workdir refuses is skipped with a warning.