@wevion/cli 1.0.4091 → 1.0.4378

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 (4) hide show
  1. package/README.md +1 -1
  2. package/openapi.json +246068 -173283
  3. package/package.json +1 -1
  4. package/src/index.mjs +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wevion/cli",
3
- "version": "1.0.4091",
3
+ "version": "1.0.4378",
4
4
  "description": "Wevion API command-line interface — generated from the public OpenAPI spec",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.mjs CHANGED
@@ -31,7 +31,9 @@ const SUPPORTED_AUTH_SCHEMES = new Set(['apiKeyAuth'])
31
31
  // ponytail: hardcoded prod default; stage via --base-url / WEVION_BASE_URL / config.
32
32
  const DEFAULT_BASE_URL = 'https://api.wevion.ai'
33
33
  const DEFAULT_TIMEOUT_MS = 30_000
34
- const DEFAULT_SPEC_TIMEOUT_MS = 3000
34
+ // The live spec is ~560 KB gzipped (6.3 MB raw): 3 s was never enough on an ordinary
35
+ // connection, so every command silently fell back to the bundled snapshot.
36
+ const DEFAULT_SPEC_TIMEOUT_MS = 10_000
35
37
 
36
38
  // ~/.config/wevion/config.json (honours XDG_CONFIG_HOME). Stores { apiKey, baseUrl }.
37
39
  export function configPath(env = process.env, platform = process.platform) {