You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/ui
Sid 3a6b412f00
fix(gateway): pass actual version to Control UI client instead of dev (#35230)
* fix(gateway): pass actual version to Control UI client instead of "dev"

The GatewayClient, CLI WS client, and browser Control UI all sent
"dev" as their clientVersion during handshake, making it impossible
to distinguish builds in gateway logs and health snapshots.

- GatewayClient and CLI WS client now use the resolved VERSION constant
- Control UI reads serverVersion from the bootstrap endpoint and
  forwards it when connecting
- Bootstrap contract extended with serverVersion field

Closes #35209

* Gateway: fix control-ui version version-reporting consistency

* Control UI: guard deferred bootstrap connect after disconnect

* fix(ui): accept same-origin http and relative gateway URLs for client version

---------

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
9 months ago
..
public fix: migrate legacy gateway services 10 months ago
src fix(gateway): pass actual version to Control UI client instead of dev (#35230) 9 months ago
index.html revert(ui): remove UI portions of mixed commits from main 9 months ago
package.json chore: update workspace dependencies 9 months ago
vite.config.ts chore: silence onboard warning noise 9 months ago
vitest.config.ts chore: update deps and add control ui routing tests 11 months ago
vitest.node.config.ts chore: fix vitest standalone configs and update package description (#11865) 9 months ago