gbos 1.3.22 → 1.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -155,6 +155,7 @@ Stored at `~/.gbos/session.json`:
155
155
  | Variable | Description |
156
156
  |----------|-------------|
157
157
  | `DEBUG=1` | Enable debug output |
158
+ | `GBOS_API_URL` | Override API endpoint (default: `https://api.gbos.io/api/v1`) |
158
159
 
159
160
  ## API Endpoints
160
161
 
@@ -260,7 +261,7 @@ gbos auth --force
260
261
  ## Links
261
262
 
262
263
  - **GBOS Platform**: [https://gbos.io](https://gbos.io)
263
- - **API Documentation**: [https://gbos-api-579767694933.us-south1.run.app/docs](https://gbos-api-579767694933.us-south1.run.app/docs)
264
+ - **API Documentation**: [https://api.gbos.io/docs](https://api.gbos.io/docs)
264
265
  - **Issues**: [https://github.com/mystroanalytics/gbos-node-local/issues](https://github.com/mystroanalytics/gbos-node-local/issues)
265
266
 
266
267
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gbos",
3
- "version": "1.3.22",
3
+ "version": "1.3.23",
4
4
  "description": "GBOS - Command line interface for GBOS services",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/lib/api.js CHANGED
@@ -1,6 +1,11 @@
1
1
  const config = require('./config');
2
2
 
3
- const API_BASE_URL = 'https://gbos-api-579767694933.us-south1.run.app/api/v1';
3
+ // Default API endpoint (new domain)
4
+ const DEFAULT_API_URL = 'https://api.gbos.io/api/v1';
5
+
6
+ // Support GBOS_API_URL env var for backwards compatibility or custom endpoints
7
+ // e.g., GBOS_API_URL=https://gbos-api-579767694933.us-south1.run.app/api/v1
8
+ const API_BASE_URL = process.env.GBOS_API_URL || DEFAULT_API_URL;
4
9
 
5
10
  class GbosApiClient {
6
11
  constructor() {