@aisa-one/cli 0.6.3 → 0.6.4
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/CHANGELOG.md +10 -1
- package/README.md +4 -0
- package/dist/api.d.ts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/utils/http.d.ts +2 -2
- package/dist/utils/http.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.6.4] — 2026-09-30
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Increase the default HTTP timeout from 30 to 600 seconds per attempt to match
|
|
15
|
+
the Router downstream default, allowing long-running tool calls to finish.
|
|
16
|
+
Preserve explicit timeout overrides and existing retry policies.
|
|
17
|
+
|
|
10
18
|
## [0.6.3] — 2026-09-30
|
|
11
19
|
|
|
12
20
|
### Changed
|
|
@@ -477,7 +485,8 @@ supports today; nothing here depends on a backend change.
|
|
|
477
485
|
- Config commands (`aisa config get|set|list|reset`) and auth
|
|
478
486
|
(`aisa login|logout|whoami`).
|
|
479
487
|
|
|
480
|
-
[Unreleased]: https://github.com/AIsa-team/cli/compare/v0.6.
|
|
488
|
+
[Unreleased]: https://github.com/AIsa-team/cli/compare/v0.6.4...HEAD
|
|
489
|
+
[0.6.4]: https://github.com/AIsa-team/cli/compare/v0.6.3...v0.6.4
|
|
481
490
|
[0.6.3]: https://github.com/AIsa-team/cli/compare/v0.6.2...v0.6.3
|
|
482
491
|
[0.6.2]: https://github.com/AIsa-team/cli/compare/v0.6.1...v0.6.2
|
|
483
492
|
[0.6.1]: https://github.com/AIsa-team/cli/compare/v0.6.0...v0.6.1
|
package/README.md
CHANGED
|
@@ -141,6 +141,10 @@ is no origin fallback.
|
|
|
141
141
|
307/308 cannot turn quote into call. There is no automatic quote-to-call sequence and no
|
|
142
142
|
retry.
|
|
143
143
|
|
|
144
|
+
HTTP requests default to a 600-second (10-minute) timeout per attempt, matching
|
|
145
|
+
the Router's default downstream request budget. Explicit shorter timeouts,
|
|
146
|
+
including 10 seconds for public catalog reads, still apply.
|
|
147
|
+
|
|
144
148
|
## API Catalog
|
|
145
149
|
|
|
146
150
|
`api list` and `api show` are the supported read-only catalog. They browse
|
package/dist/api.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface RequestOptions {
|
|
|
41
41
|
* completion reads rather than writes.
|
|
42
42
|
*/
|
|
43
43
|
idempotent?: boolean;
|
|
44
|
-
/** Overrides the default
|
|
44
|
+
/** Overrides the default 600s per-attempt request budget. */
|
|
45
45
|
timeoutMs?: number;
|
|
46
46
|
}
|
|
47
47
|
export declare function apiRequest<T = unknown>(accessToken: string, endpoint: string, options?: RequestOptions): Promise<ApiResponse<T>>;
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "0.6.
|
|
1
|
+
export declare const VERSION = "0.6.4";
|
|
2
2
|
/** Default for chat when no model is configured or supplied explicitly. */
|
|
3
3
|
export declare const DEFAULT_CHAT_MODEL = "deepseek-v4.1-flash";
|
|
4
4
|
/** Root of the platform. Per-surface bases are derived in api.ts#resolveBases. */
|
package/dist/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const VERSION = "0.6.
|
|
1
|
+
export const VERSION = "0.6.4";
|
|
2
2
|
/** Default for chat when no model is configured or supplied explicitly. */
|
|
3
3
|
export const DEFAULT_CHAT_MODEL = "deepseek-v4.1-flash";
|
|
4
4
|
/** Root of the platform. Per-surface bases are derived in api.ts#resolveBases. */
|
package/dist/utils/http.d.ts
CHANGED
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
export declare const MAX_ATTEMPTS = 3;
|
|
34
34
|
/** Catalog, health and other /info reads — small payloads from a CDN edge. */
|
|
35
35
|
export declare const INFO_TIMEOUT_MS = 10000;
|
|
36
|
-
/**
|
|
37
|
-
export declare const DEFAULT_TIMEOUT_MS =
|
|
36
|
+
/** Per-attempt API budget, aligned with Router AISA_HTTP_TIMEOUT (600s). */
|
|
37
|
+
export declare const DEFAULT_TIMEOUT_MS = 600000;
|
|
38
38
|
export declare const USER_AGENT = "aisa-cli";
|
|
39
39
|
export interface HttpOptions extends RequestInit {
|
|
40
40
|
timeoutMs?: number;
|
package/dist/utils/http.js
CHANGED
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
export const MAX_ATTEMPTS = 3;
|
|
34
34
|
/** Catalog, health and other /info reads — small payloads from a CDN edge. */
|
|
35
35
|
export const INFO_TIMEOUT_MS = 10_000;
|
|
36
|
-
/**
|
|
37
|
-
export const DEFAULT_TIMEOUT_MS =
|
|
36
|
+
/** Per-attempt API budget, aligned with Router AISA_HTTP_TIMEOUT (600s). */
|
|
37
|
+
export const DEFAULT_TIMEOUT_MS = 600_000;
|
|
38
38
|
export const USER_AGENT = "aisa-cli";
|
|
39
39
|
const BASE_BACKOFF_MS = 300;
|
|
40
40
|
/** Agents fan out many calls at once; identical backoff would resynchronise
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aisa-one/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "CLI for the AIsa unified AI infrastructure platform - one API key for 80+ LLMs and 900+ endpoints across finance, search, social, and video APIs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|