Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
479 B
Raw Blame
//go:build windows

package agent

import "log/slog"

// platformQwenInvocation rewrites qwen.cmd → PowerShell -File qwen.ps1 on
// Windows to avoid cmd.exe %* re-tokenisation of the managed argv (see #6082).
// The prompt itself travels on stdin. rewriteCmdToPS1 is defined in
// cursor_invocation_windows.go.
func platformQwenInvocation(lookedUp string, args []string, logger *slog.Logger) (string, []string, bool) {
	return rewriteCmdToPS1("qwen", lookedUp, args, logger)
}