@agenticcli/shipguard 0.5.0 → 0.5.1
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"secrets": "
|
|
3
|
-
"auth": "
|
|
4
|
-
"database": "
|
|
5
|
-
"deployment": "
|
|
6
|
-
"payments": "
|
|
2
|
+
"secrets": "5f32b6212b4244220b468d93fa4950493c7a2fd015e9c0dc3966b582f42642f5",
|
|
3
|
+
"auth": "5f32b6212b4244220b468d93fa4950493c7a2fd015e9c0dc3966b582f42642f5",
|
|
4
|
+
"database": "5f32b6212b4244220b468d93fa4950493c7a2fd015e9c0dc3966b582f42642f5",
|
|
5
|
+
"deployment": "5f32b6212b4244220b468d93fa4950493c7a2fd015e9c0dc3966b582f42642f5",
|
|
6
|
+
"payments": "5f32b6212b4244220b468d93fa4950493c7a2fd015e9c0dc3966b582f42642f5"
|
|
7
7
|
}
|
|
@@ -199,32 +199,32 @@ import { sha256 } from "@noble/hashes/sha2.js";
|
|
|
199
199
|
// src/core/crypto.ts
|
|
200
200
|
var MIN_ACCEPTABLE_EPOCH = 1;
|
|
201
201
|
var KEYRING = [
|
|
202
|
-
// ----- RELEASE-ATTESTATION (
|
|
202
|
+
// ----- RELEASE-ATTESTATION (REAL production keypair ra-k1-2026, generated 2026-07-20) -----
|
|
203
203
|
// Signs corpus manifest + release attestation objects. CI only.
|
|
204
|
-
// Private half lives ONLY in
|
|
204
|
+
// Private half lives ONLY in ~/.secrets/prod-deploy.env (mode 600) — never shipped, never repo.
|
|
205
205
|
{
|
|
206
206
|
kid: "ra-k1-2026",
|
|
207
207
|
role: "release-attestation",
|
|
208
208
|
epoch: 1,
|
|
209
209
|
expiry: 1798761600,
|
|
210
|
-
// 2027-01-01 00:00:00 UTC —
|
|
211
|
-
fingerprint: "
|
|
210
|
+
// 2027-01-01 00:00:00 UTC — real production expiry, unchanged from provisioning
|
|
211
|
+
fingerprint: "003837c9c656f66163a29e7b0d043a084fc83c2febc420a5e27889205a27b878",
|
|
212
212
|
publicKey: `-----BEGIN PUBLIC KEY-----
|
|
213
|
-
|
|
213
|
+
MCowBQYDK2VwAyEANcib9WOOIys1wLQW30T/RvRv+3d/+2DAWKOKwEj5sS0=
|
|
214
214
|
-----END PUBLIC KEY-----`
|
|
215
215
|
},
|
|
216
|
-
// ----- CI-FRESHNESS (
|
|
216
|
+
// ----- CI-FRESHNESS (REAL production keypair cf-k1-2026, generated 2026-07-20) -----
|
|
217
217
|
// Signs short-TTL freshness tokens. CI only.
|
|
218
|
-
// Private half lives ONLY in
|
|
218
|
+
// Private half lives ONLY in ~/.secrets/prod-deploy.env (mode 600) — never shipped, never repo.
|
|
219
219
|
{
|
|
220
220
|
kid: "cf-k1-2026",
|
|
221
221
|
role: "ci-freshness",
|
|
222
222
|
epoch: 1,
|
|
223
223
|
expiry: 1798761600,
|
|
224
|
-
// 2027-01-01 00:00:00 UTC —
|
|
225
|
-
fingerprint: "
|
|
224
|
+
// 2027-01-01 00:00:00 UTC — real production expiry, unchanged from provisioning
|
|
225
|
+
fingerprint: "87787b86689151fd9a9b763e3baa2cae884bf897d51dc02a211c70640e2c4f9d",
|
|
226
226
|
publicKey: `-----BEGIN PUBLIC KEY-----
|
|
227
|
-
|
|
227
|
+
MCowBQYDK2VwAyEAaQ49ermPqqsENKA7fFi8K0zIEyxYEje56a34Pus6UhM=
|
|
228
228
|
-----END PUBLIC KEY-----`
|
|
229
229
|
},
|
|
230
230
|
// ----- BUNDLE keys (existing k1-2026 and k2-2026) -----
|
package/dist/cli-facts.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.5.
|
|
2
|
+
"version": "0.5.1",
|
|
3
3
|
"packageName": "@agenticcli/shipguard",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"licenseDisplay": "ELv2",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
],
|
|
108
108
|
"installSnippet": "npx @agenticcli/shipguard scan --changed --strict --json",
|
|
109
109
|
"re2Engine": true,
|
|
110
|
-
"generatedAt": "2026-07-
|
|
110
|
+
"generatedAt": "2026-07-19T19:04:41.303Z"
|
|
111
111
|
}
|
package/dist/cli.js
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
runProRulesWithDispatch,
|
|
17
17
|
saveCredentials,
|
|
18
18
|
secretsCheck
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-R2U4UQXN.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_MAX_FILES,
|
|
22
22
|
DEFAULT_MAX_FILE_SIZE_BYTES,
|
|
@@ -1954,7 +1954,7 @@ function sendTelemetry(payload) {
|
|
|
1954
1954
|
|
|
1955
1955
|
// src/commands/scan.ts
|
|
1956
1956
|
var LEARN_MORE = "Docs https://agenticcli.dev/docs \xB7 Site https://agenticcli.dev \xB7 Pricing https://agenticcli.dev/pricing \xB7 Issues https://github.com/agenticcli/shipguard/issues";
|
|
1957
|
-
var CLI_VERSION = true ? "0.5.
|
|
1957
|
+
var CLI_VERSION = true ? "0.5.1" : process.env.npm_package_version ?? "0.0.0-dev";
|
|
1958
1958
|
function resolveExitCode(opts) {
|
|
1959
1959
|
if (opts.strict && opts.blockingCount > 0) {
|
|
1960
1960
|
return EXIT_CODES.BLOCKED;
|
|
@@ -2112,7 +2112,7 @@ async function runScan(ctx) {
|
|
|
2112
2112
|
logger.info("Detecting stack...");
|
|
2113
2113
|
}
|
|
2114
2114
|
try {
|
|
2115
|
-
const { fetchProRules } = await import("./pro-scanner-
|
|
2115
|
+
const { fetchProRules } = await import("./pro-scanner-MAKMWHIY.js");
|
|
2116
2116
|
const { hasConfig, generateConfig } = await import("./config-generator-TUQCF2SD.js");
|
|
2117
2117
|
const frameworks = detectedFrameworks;
|
|
2118
2118
|
if (!hasConfig(cwd)) {
|
|
@@ -2500,7 +2500,7 @@ function statusCommand() {
|
|
|
2500
2500
|
// src/commands/history.ts
|
|
2501
2501
|
import { Command as Command6 } from "commander";
|
|
2502
2502
|
import { resolve as resolve5 } from "path";
|
|
2503
|
-
var CLI_VERSION2 = true ? "0.5.
|
|
2503
|
+
var CLI_VERSION2 = true ? "0.5.1" : process.env.npm_package_version ?? "0.0.0-dev";
|
|
2504
2504
|
function historyCommand() {
|
|
2505
2505
|
return new Command6("history").description("Show recent local scan history for this repo (read-only; --json for machine output)").argument("[path]", "Path to project root (defaults to current directory)").option("--json", "Output as JSON").option("--limit <n>", "Number of recent scans to show", (v) => Number.parseInt(v, 10) || 10, 10).action(async (scanPath, opts) => {
|
|
2506
2506
|
const cwd = scanPath ? resolve5(scanPath) : process.cwd();
|
|
@@ -2694,7 +2694,7 @@ if (rawArgs[0] === "?") {
|
|
|
2694
2694
|
process.argv = [process.argv[0], process.argv[1], "help"];
|
|
2695
2695
|
}
|
|
2696
2696
|
program.name("shipguard").description("CLI-first release gate for AI-built apps").version(
|
|
2697
|
-
true ? "0.5.
|
|
2697
|
+
true ? "0.5.1" : process.env.npm_package_version ?? "0.0.0-dev"
|
|
2698
2698
|
).helpCommand(false).addHelpText("after", `
|
|
2699
2699
|
Learn more:
|
|
2700
2700
|
Docs https://agenticcli.dev/docs
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticcli/shipguard",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "CLI-first release gate for AI-built apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cli.js",
|
|
7
7
|
"bin": {
|
|
8
|
-
"shipguard": "
|
|
8
|
+
"shipguard": "dist/cli.js"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|