@nggaigc/cli 0.1.18 → 0.1.20
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
CHANGED
|
@@ -8,6 +8,6 @@ npx --yes @nggaigc/cli@latest install
|
|
|
8
8
|
|
|
9
9
|
安装器会先验证内置 Plugin 的 Ed25519 签名、归档哈希和逐文件哈希,再原子安装 Skill。首次运行会打开 NGGAIGC 浏览器授权页;浏览器仅接收短期连接挑战,安装器通过内存中的独立轮询凭据获取连接结果,设备凭据只通过标准输入进入操作系统受保护的凭据存储(Windows Credential Manager 或 macOS Keychain)。安装器不接受 API Key、授权码或设备凭据参数,也不从环境变量读取这些值。
|
|
10
10
|
|
|
11
|
-
本源码的 CLI 0.1.
|
|
11
|
+
本源码的 CLI 0.1.19 / Plugin 1.1.20 是待整合验收与正式签名的候选,不代表当前 `@latest`。候选保留 Windows x64/arm64 与 Apple 芯片 Mac arm64 声明,使用本机 Node.js 22.x(22.13 起)或 24.x,不下载或内嵌 Node.js。Windows PowerShell 5.1 默认 `Restricted` 时,安装器仅为受信凭据辅助脚本的子进程指定 `RemoteSigned`;不修改系统或用户执行策略。安装成功但连接失败会明确分开报告,无需重装;由于系统 URL 处理器退出码不能证明浏览器窗口已显示,安装器会同时给出短期一次性手动授权链接。
|
|
12
12
|
|
|
13
13
|
macOS arm64 辅助程序沿用已编译并通过完整性校验的产物;本次 Windows 修复未进行 Mac 实机回归。Intel Mac 不在支持范围内。签名和 registry 读回前,不要将本候选标为已发布。
|
package/dist/bundle.js
CHANGED
|
@@ -47,7 +47,7 @@ export async function verifyBundle(input) {
|
|
|
47
47
|
!exactKeys(manifestValue, manifestKeys) ||
|
|
48
48
|
manifestValue.schemaVersion !== "nggaigc-plugin-package/v1" ||
|
|
49
49
|
manifestValue.artifactId !== "plugin.nggaigc" ||
|
|
50
|
-
manifestValue.version !== "1.1.
|
|
50
|
+
manifestValue.version !== "1.1.21" ||
|
|
51
51
|
manifestValue.artifactPath !==
|
|
52
52
|
`packages/plugins/nggaigc-plugin-${manifestValue.version}.zip` ||
|
|
53
53
|
typeof manifestValue.sourceCommit !== "string" ||
|
package/dist/install.js
CHANGED
|
@@ -8,7 +8,7 @@ import { CliError, fixedErrorCode } from "./errors.js";
|
|
|
8
8
|
function defaultBundle() {
|
|
9
9
|
const vendor = fileURLToPath(new URL("../vendor/", import.meta.url));
|
|
10
10
|
return {
|
|
11
|
-
archive: path.join(vendor, "nggaigc-plugin-1.1.
|
|
11
|
+
archive: path.join(vendor, "nggaigc-plugin-1.1.21.zip"),
|
|
12
12
|
manifest: path.join(vendor, "manifest.json"),
|
|
13
13
|
trust: path.join(vendor, "trusted-keys.json"),
|
|
14
14
|
};
|
package/dist/skill-command.js
CHANGED
|
@@ -15,7 +15,7 @@ function record(value) {
|
|
|
15
15
|
async function productionDependencies(codexHome) {
|
|
16
16
|
const vendor = fileURLToPath(new URL("../vendor/", import.meta.url));
|
|
17
17
|
const bundle = await verifyBundle({
|
|
18
|
-
archive: path.join(vendor, "nggaigc-plugin-1.1.
|
|
18
|
+
archive: path.join(vendor, "nggaigc-plugin-1.1.21.zip"),
|
|
19
19
|
manifest: path.join(vendor, "manifest.json"),
|
|
20
20
|
trust: path.join(vendor, "trusted-keys.json"),
|
|
21
21
|
});
|
package/package.json
CHANGED
package/vendor/manifest.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "nggaigc-plugin-package/v1",
|
|
3
3
|
"artifactId": "plugin.nggaigc",
|
|
4
|
-
"version": "1.1.
|
|
5
|
-
"sourceCommit": "
|
|
6
|
-
"artifactPath": "packages/plugins/nggaigc-plugin-1.1.
|
|
7
|
-
"sha256": "
|
|
8
|
-
"sizeBytes":
|
|
4
|
+
"version": "1.1.21",
|
|
5
|
+
"sourceCommit": "171b45dd832a0960b6a45ae3bb0bc6cec72f8a35",
|
|
6
|
+
"artifactPath": "packages/plugins/nggaigc-plugin-1.1.21.zip",
|
|
7
|
+
"sha256": "6bc099942f8f3be99388f3e4c46330297927267edb66b3c4e2dcd29755c089f3",
|
|
8
|
+
"sizeBytes": 401478,
|
|
9
9
|
"fileCount": 22,
|
|
10
10
|
"platforms": [
|
|
11
11
|
"win32-x64",
|
|
@@ -13,33 +13,33 @@
|
|
|
13
13
|
"darwin-arm64"
|
|
14
14
|
],
|
|
15
15
|
"files": {
|
|
16
|
-
".codex-plugin/plugin.json": "
|
|
16
|
+
".codex-plugin/plugin.json": "1b4e2ce356fc95ce2cba765a1e7ff83651b53bd0d6468cbe00bb946ebfdeb308",
|
|
17
17
|
"installer/install.cjs": "a0c94ed71edf4cd7eb4a66609a4dcf73049abbd14aa273ee65b9b3029be2da2b",
|
|
18
18
|
"installer/legacy-root-digests.json": "922552646a5aa6cff8616c372912a37b1d5f263351206b85785ed9b2eae31641",
|
|
19
19
|
"installer/signed-pair-1.1.16.json": "ccb22a90302cc5c9c585067ebc211a27b0c9d8a177c2740a5678a58a3d70bfe9",
|
|
20
20
|
"installer/signed-pair-1.1.17.json": "a3697506c929aaa085a6d994fc3a1b9a87e522ec6e1e32f3f760e6a534effa2b",
|
|
21
21
|
"migration/seedream-1.1.3/agents/openai.yaml": "3cbf034ddccd64a7972acd37e7433683a3944f3d8c7b5bdccbbd70e517bf5a8c",
|
|
22
|
-
"migration/seedream-1.1.3/references/image-generation.md": "
|
|
22
|
+
"migration/seedream-1.1.3/references/image-generation.md": "208389b3ea4647040232c65a9b91ebcc20787818f57535f16664a7c4db842b3f",
|
|
23
23
|
"migration/seedream-1.1.3/references/source.json": "75998d079a229435d1097b00bd008703bd38026fc6485c312254925bf55398a8",
|
|
24
|
-
"migration/seedream-1.1.3/scripts/seedream.mjs": "
|
|
25
|
-
"migration/seedream-1.1.3/SKILL.md": "
|
|
24
|
+
"migration/seedream-1.1.3/scripts/seedream.mjs": "3ba352e16232edf7e87c9949f19d2a651d67ab5dbb694760e8ed9cc000c6a293",
|
|
25
|
+
"migration/seedream-1.1.3/SKILL.md": "5c5cf3c2d99376f246425e873c5566436ed528256372ac3208abb60364c4517c",
|
|
26
26
|
"skills/nggaigc/agents/openai.yaml": "8936d97b9821e687e224e9349cc42be2ee5fc20988562efffbcb70080aedf87c",
|
|
27
27
|
"skills/nggaigc/references/catalog-and-updates.md": "b53e6da29caf1652a90d1daa8d19f8ef172986f6d74702560b6d83edf0483be8",
|
|
28
|
-
"skills/nggaigc/references/source.json": "
|
|
29
|
-
"skills/nggaigc/scripts/bootstrap-public.json": "
|
|
30
|
-
"skills/nggaigc/scripts/launch-ngg-client.cjs": "
|
|
28
|
+
"skills/nggaigc/references/source.json": "e6c8798263ba17e018eeb42695fd3491e9c9eb619b13f0aa07be828680313e18",
|
|
29
|
+
"skills/nggaigc/scripts/bootstrap-public.json": "69b83d621226a811968e541fadc38bc69d5e0352b7f04f88003d334d3f3ee7c4",
|
|
30
|
+
"skills/nggaigc/scripts/launch-ngg-client.cjs": "91283c889cdddd223f68d41c6abf73e1e138015c509e427357b858ca48405f5e",
|
|
31
31
|
"skills/nggaigc/scripts/macos-keychain": "b0bdf29d14219d38ca18c7e5c599deb0daa8c8ac70b0babbc7d4fb23673079ec",
|
|
32
32
|
"skills/nggaigc/scripts/macos-keychain.swift": "1b57e74fde66c824fe970547dd8ca0883a3334c34c065e85a8a2a90d4556a7f5",
|
|
33
|
-
"skills/nggaigc/scripts/ngg_client.mjs": "
|
|
34
|
-
"skills/nggaigc/scripts/ngg-session.mjs": "
|
|
33
|
+
"skills/nggaigc/scripts/ngg_client.mjs": "297bbaadcaa90fee1eaf522883626120305d382bbf0585fadd39ca75beb88ec1",
|
|
34
|
+
"skills/nggaigc/scripts/ngg-session.mjs": "9f82fcada1607cffb444d5b146013e9c1764de9beec3c67d6ba5f14c8f3dd28c",
|
|
35
35
|
"skills/nggaigc/scripts/supported-platforms.json": "ec8b0754c489e04534a1d9880dd6664ba9c5bcd07789e06d138e0923f23575ff",
|
|
36
36
|
"skills/nggaigc/scripts/windows-credential.ps1": "ce097f2a8601664522fcfa8c9505243439ff786a45f15a1dba702b8f9b13dab1",
|
|
37
|
-
"skills/nggaigc/SKILL.md": "
|
|
37
|
+
"skills/nggaigc/SKILL.md": "9572e4cddaa2799d06417c21c326d25a6b3107824d042a757c41b0a56efa1bb8"
|
|
38
38
|
},
|
|
39
39
|
"signature": {
|
|
40
40
|
"algorithm": "ed25519",
|
|
41
41
|
"keyId": "ngg-signing-skill-release-1",
|
|
42
42
|
"scope": "artifact-bytes",
|
|
43
|
-
"value": "
|
|
43
|
+
"value": "RdxoA4m7OHNH5Bm3RZ0RmgpIeC86TVXaKZgvmuSWUFZ1N1oiA7EV6IEfFemi/43T/uPyEEzQ6i1kwqi/wOwrAQ=="
|
|
44
44
|
}
|
|
45
45
|
}
|
|
index d5cf6c1..6941935 100644
|
|
|
Binary file
|