Computer use for the Pi coding agent — Windows apps, browsers and desktops through native UI trees, screenshots and real input.
TypeScript accessibilityagent-toolsai-agentbrowser-automationcomputer-usecuadesktop-automationelectronpipi-coding-agentpi-extensionpi-packageplaywrighttypescriptui-automationvisionwebview2windowswindows-automationwsl
/** Insert a release section below the changelog title, keeping the notes byte for byte. */
export function insertReleaseNotes(changelog: string, heading: string, notes: string): string {
if (!changelog.startsWith("# Changelog\n")) throw new Error("CHANGELOG.md must start with '# Changelog'");
// A replacement function keeps `$` sequences such as `$$$ARGS` literal.
return changelog.replace("# Changelog\n", () => `# Changelog\n\n${heading}\n\n${notes}\n`);
}