Extensions such as Posit Assistant's Canvas can work in a different folder from the Positron window, but the public runtime API does not let them consistently choose a session's startup directory or inspect and change an existing session's working directory. After switching folders in Canvas, relative paths in R or Python can still resolve against the previous folder.
Extensions should be able to keep runtime working directories aligned with their active folder, including changing directories without restarting the session or losing variables.
Extensions such as Posit Assistant's Canvas can work in a different folder from the Positron window, but the public runtime API does not let them consistently choose a session's startup directory or inspect and change an existing session's working directory. After switching folders in Canvas, relative paths in R or Python can still resolve against the previous folder.
Extensions should be able to keep runtime working directories aligned with their active folder, including changing directories without restarting the session or losing variables.