Multiple Editors
Every command targets one editor. Use cfa list_editors, connect, status, and CFA_SESSION to control which editor you drive.
Every command targets one editor. Use cfa list_editors, connect, status, and CFA_SESSION to control which editor you drive.
Every command targets one editor. When more than one is open, the CLI refuses to guess and shows you the choices instead of editing the wrong project.
cfa list_editors shows how many are running with the plugin loaded, each with its project, engine, port, and pid, so you can pick one.
See every running editor (project, engine, port, pid):
cfa list_editorsChoose one for the commands that follow:
cfa connect jiggiCheck which editor you would hit right now:
cfa statusClear the selection:
cfa disconnect{
"result": {
"count": 2,
"editors": [
{
"project_name": "jiggi",
"engine_version": "5.8.0",
"pid": 39524,
"port": 55557
},
{
"project_name": "MyGame",
"engine_version": "5.7.4",
"pid": 41880,
"port": 55558
}
]
},
"status": "success"
}Driving two editors with two AI agents at once? Give each agent a name with the CFA_SESSION environment variable (for example CFA_SESSION=agentA) so their selections never collide. With a single editor open, or when your terminal sits inside the project folder, routing is automatic and you can skip all of this.