pub(crate) fn render_agent_config_files(
mstore: &Store,
id_store: &Store,
identity_store: &Store,
agent: &AgentDefinition,
display_name: &str,
agent_slug: &str,
work_dir: &str,
workdir_is_shared: bool,
) -> Vec<AgentConfigFile>Expand description
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.