Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

301 B
Raw Blame
// Workspace paths are filenames, not URLs: #, ? and % must reach the server literally.
export function workspaceFileUrl(path, parameters = {}) {
  const query = new URLSearchParams(parameters).toString()
  return '/' + path.split('/').map(encodeURIComponent).join('/') + (query ? '?' + query : '')
}