insta 0.0.16 → 0.0.17

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.
Files changed (2) hide show
  1. package/dist/config.js +4 -1
  2. package/package.json +1 -1
package/dist/config.js CHANGED
@@ -6,7 +6,10 @@ const GLOBAL_DIR = join(homedir(), '.insta');
6
6
  const GLOBAL_FILE = join(GLOBAL_DIR, 'config.json');
7
7
  const PROJECT_DIR = '.insta';
8
8
  const PROJECT_FILE = 'project.json';
9
- const DEFAULT_API = 'https://beta-api.insta.insforge.dev';
9
+ // The cloud API default. Uses the instacloud.com brand domain (matches the agents.instacloud.com
10
+ // onboarding), NOT the legacy beta-api.insta.insforge.dev host — same backend, branded domain.
11
+ // Only affects fresh installs: a persisted apiUrl (from a prior login) or INSTA_API_URL wins below.
12
+ const DEFAULT_API = 'https://api.instacloud.com';
10
13
  export async function readGlobal() {
11
14
  // INSTA_API_URL overrides the persisted apiUrl, not just the default — otherwise the
12
15
  // env var is silently ignored as soon as any login has written a config file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "insta",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "type": "module",
5
5
  "description": "InstaCloud CLI — a thin client of the platform control-plane API.",
6
6
  "keywords": [