From 116c57a3617fdb33d573f674315ae4427481b1a0 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Tue, 3 Feb 2026 22:49:01 +0100 Subject: [PATCH] chore(coding-agent): update share viewer url --- packages/coding-agent/CHANGELOG.md | 4 ++++ packages/coding-agent/src/cli/args.ts | 2 +- packages/coding-agent/src/config.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index 4fbfd6af..07606435 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Changed + +- Share URLs now use pi.dev by default while shittycodingagent.ai and buildwithpi.ai continue to work. + ## [0.51.3] - 2026-02-03 ### New Features diff --git a/packages/coding-agent/src/cli/args.ts b/packages/coding-agent/src/cli/args.ts index 0e815f8e..904a25b4 100644 --- a/packages/coding-agent/src/cli/args.ts +++ b/packages/coding-agent/src/cli/args.ts @@ -288,7 +288,7 @@ ${chalk.bold("Environment Variables:")} AWS_REGION - AWS region for Amazon Bedrock (e.g., us-east-1) ${ENV_AGENT_DIR.padEnd(32)} - Session storage directory (default: ~/${CONFIG_DIR_NAME}/agent) PI_PACKAGE_DIR - Override package directory (for Nix/Guix store paths) - PI_SHARE_VIEWER_URL - Base URL for /share command (default: https://buildwithpi.ai/session/) + PI_SHARE_VIEWER_URL - Base URL for /share command (default: https://pi.dev/session/) PI_AI_ANTIGRAVITY_VERSION - Override Antigravity User-Agent version (e.g., 1.23.0) ${chalk.bold("Available Tools (default: read, bash, edit, write):")} diff --git a/packages/coding-agent/src/config.ts b/packages/coding-agent/src/config.ts index 38fcc9f3..5b9e4827 100644 --- a/packages/coding-agent/src/config.ts +++ b/packages/coding-agent/src/config.ts @@ -171,7 +171,7 @@ export const VERSION: string = pkg.version; // e.g., PI_CODING_AGENT_DIR or TAU_CODING_AGENT_DIR export const ENV_AGENT_DIR = `${APP_NAME.toUpperCase()}_CODING_AGENT_DIR`; -const DEFAULT_SHARE_VIEWER_URL = "https://buildwithpi.ai/session/"; +const DEFAULT_SHARE_VIEWER_URL = "https://pi.dev/session/"; /** Get the share viewer URL for a gist ID */ export function getShareViewerUrl(gistId: string): string {