feat(coding-agent): use hash fragments for share URLs (#829)
Fixes #828
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- Share URLs now use hash fragments (`#`) instead of query strings (`?`) to prevent session IDs from being sent to buildwithpi.ai ([#828](https://github.com/badlogic/pi-mono/issues/828))
|
||||
|
||||
## [0.49.0] - 2026-01-17
|
||||
|
||||
### Added
|
||||
|
||||
@@ -3297,7 +3297,7 @@ export class InteractiveMode {
|
||||
}
|
||||
|
||||
// Create the preview URL
|
||||
const previewUrl = `https://buildwithpi.ai/session?${gistId}`;
|
||||
const previewUrl = `https://buildwithpi.ai/session/#${gistId}`;
|
||||
this.showStatus(`Share URL: ${previewUrl}\nGist: ${gistUrl}`);
|
||||
} catch (error: unknown) {
|
||||
if (!loader.signal.aborted) {
|
||||
|
||||
Reference in New Issue
Block a user