gaoding-cli 1.0.0-alpha.6 → 1.0.0-alpha.7
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 +6 -0
- package/dist/src/utils/config.d.ts +2 -2
- package/dist/src/utils/config.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
7
7
|
|
|
8
|
+
## [1.0.0-alpha.7] - 2026-07-23
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- 修复 npm package version 与 `gd-cli --version` 不一致的问题,并新增 package integration 回归检查。
|
|
13
|
+
|
|
8
14
|
## [1.0.0-alpha.6] - 2026-07-23
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -5,9 +5,9 @@ export declare const PROD_API_BASE = "https://gdcli.gaoding.com/api";
|
|
|
5
5
|
export declare const GDHUB_DIR: string;
|
|
6
6
|
/** Migrate credentials from the early internal storage directory when present. */
|
|
7
7
|
export declare function migrateCredentialsIfNeeded(): void;
|
|
8
|
-
export declare const CLI_VERSION = "1.0.0-alpha.
|
|
8
|
+
export declare const CLI_VERSION = "1.0.0-alpha.7";
|
|
9
9
|
export declare const CLI_PACKAGE_NAME = "gaoding-cli";
|
|
10
|
-
export declare const CLI_USER_AGENT = "gd-cli/1.0.0-alpha.
|
|
10
|
+
export declare const CLI_USER_AGENT = "gd-cli/1.0.0-alpha.7";
|
|
11
11
|
export declare const GDHUB_CLI_CLIENT_ID = "gdhub-cli";
|
|
12
12
|
export declare const DEFAULT_SCOPE: readonly ["scene-executor", "run:scene-app", "use:tools", "export", "read:public"];
|
|
13
13
|
export declare const CACHE_TTL_MS: number;
|
package/dist/src/utils/config.js
CHANGED
|
@@ -32,7 +32,7 @@ export function migrateCredentialsIfNeeded() {
|
|
|
32
32
|
function readEnv(key, legacyKey) {
|
|
33
33
|
return process.env[key] ?? process.env[legacyKey];
|
|
34
34
|
}
|
|
35
|
-
export const CLI_VERSION = "1.0.0-alpha.
|
|
35
|
+
export const CLI_VERSION = "1.0.0-alpha.7";
|
|
36
36
|
export const CLI_PACKAGE_NAME = "gaoding-cli";
|
|
37
37
|
export const CLI_USER_AGENT = `gd-cli/${CLI_VERSION}`;
|
|
38
38
|
export const GDHUB_CLI_CLIENT_ID = "gdhub-cli";
|