@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.
- package/README.md +1 -1
- package/openapi.json +246068 -173283
- package/package.json +1 -1
- package/src/index.mjs +3 -1
package/package.json
CHANGED
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
|
-
|
|
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) {
|