feat(coding-agent): use hash fragments for share URLs (#829)
Fixes #828
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [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
|
## [0.49.0] - 2026-01-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -3297,7 +3297,7 @@ export class InteractiveMode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create the preview URL
|
// 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}`);
|
this.showStatus(`Share URL: ${previewUrl}\nGist: ${gistUrl}`);
|
||||||
} catch (error: unknown) {
|
} catch (error: unknown) {
|
||||||
if (!loader.signal.aborted) {
|
if (!loader.signal.aborted) {
|
||||||
|
|||||||
Reference in New Issue
Block a user