@agenticcli/shipguard 0.2.1 → 0.4.0

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.
@@ -0,0 +1,101 @@
1
+ {
2
+ "version": "0.4.0",
3
+ "packageName": "@agenticcli/shipguard",
4
+ "nodeEngine": ">=20",
5
+ "exitCodes": {
6
+ "SAFE": 0,
7
+ "BLOCKED": 1,
8
+ "CONFIG_ERROR": 2,
9
+ "RUNTIME_ERROR": 3
10
+ },
11
+ "freeModules": [
12
+ "secrets",
13
+ "auth",
14
+ "database",
15
+ "payments",
16
+ "deployment"
17
+ ],
18
+ "freeRuleIds": [
19
+ "hardcoded_secret",
20
+ "secrets",
21
+ "exposed_env",
22
+ "auth",
23
+ "public_admin_route",
24
+ "auth_route_without_guard",
25
+ "db-drop-table",
26
+ "db-drop-column",
27
+ "db-truncate",
28
+ "db-delete-without-where",
29
+ "db-alter-drop",
30
+ "db-push-in-scripts",
31
+ "db-schema-without-migration",
32
+ "database",
33
+ "payments",
34
+ "payment_webhook_without_signature_check",
35
+ "missing_idempotency",
36
+ "missing_error_handling",
37
+ "deployment",
38
+ "deployment_cors_wildcard",
39
+ "deployment_source_maps_exposed",
40
+ "deployment_missing_x_frame_options",
41
+ "deployment_missing_x_content_type",
42
+ "deployment_docker_root_user",
43
+ "deployment_docker_unpinned_image",
44
+ "deployment_compose_unpinned_image",
45
+ "deployment_vercel_broad_rewrite",
46
+ "deployment_vercel_missing_headers",
47
+ "deployment_netlify_missing_headers",
48
+ "deployment_missing_env_example",
49
+ "deployment_env_undocumented_keys",
50
+ "deployment_config_cors_wildcard_origin",
51
+ "deployment_config_debug_mode"
52
+ ],
53
+ "freeRuleCount": 33,
54
+ "jsonSchemaFields": [
55
+ "findings",
56
+ "riskScore",
57
+ "filesScanned",
58
+ "timestamp",
59
+ "policyUsed",
60
+ "recommendation",
61
+ "rulesApplied",
62
+ "rulesBreakdown",
63
+ "schemaVersion",
64
+ "degraded",
65
+ "degradedReasons",
66
+ "creditsWarning",
67
+ "rulesVersion",
68
+ "aiCodeIssues"
69
+ ],
70
+ "schemaVersion": "0.4",
71
+ "degradeCodes": [
72
+ "FILE_TOO_LARGE",
73
+ "OUTPUT_TRUNCATED",
74
+ "CODEREF_SKIPPED",
75
+ "PRO_RULES_UNAVAILABLE",
76
+ "INVALID_UTF8",
77
+ "UNREADABLE_FILE",
78
+ "COMPILE_FAILURE"
79
+ ],
80
+ "severities": [
81
+ "info",
82
+ "low",
83
+ "medium",
84
+ "high",
85
+ "critical"
86
+ ],
87
+ "categories": [
88
+ "secrets",
89
+ "auth",
90
+ "payments",
91
+ "database",
92
+ "deployment",
93
+ "injection",
94
+ "supply-chain",
95
+ "crypto",
96
+ "config"
97
+ ],
98
+ "installSnippet": "npx @agenticcli/shipguard scan --changed --strict --json",
99
+ "re2Engine": true,
100
+ "generatedAt": "2026-06-25T23:16:56.961Z"
101
+ }
package/dist/cli.js CHANGED
@@ -1,24 +1,32 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  applySuppressions,
4
+ assertTrustedApiUrl,
4
5
  authCheck,
5
6
  clearCredentials,
6
7
  databaseCheck,
7
8
  deploymentCheck,
8
9
  getAuthToken,
9
10
  isTokenExpired,
11
+ loadChecksumManifest,
10
12
  loadCredentials,
11
13
  payments,
12
14
  runProRulesWithDispatch,
13
15
  saveCredentials,
14
16
  secretsCheck
15
- } from "./chunk-2N3P2DUE.js";
17
+ } from "./chunk-XOWMKGOE.js";
16
18
  import {
17
19
  DEFAULT_MAX_FILES,
18
20
  DEFAULT_MAX_FILE_SIZE_BYTES,
19
21
  DEFAULT_MAX_TOTAL_BYTES,
20
22
  readFiles
21
- } from "./chunk-BZWSFLBO.js";
23
+ } from "./chunk-ALFVS2BH.js";
24
+ import {
25
+ decodeUtf8Strict,
26
+ detectBinary,
27
+ normalizeNewlines,
28
+ stripBom
29
+ } from "./chunk-ANTCYKRO.js";
22
30
 
23
31
  // src/cli.ts
24
32
  import { Command as Command7, CommanderError } from "commander";
@@ -194,7 +202,7 @@ import { existsSync as existsSync3 } from "fs";
194
202
  import { join as join5, resolve as resolve3 } from "path";
195
203
 
196
204
  // src/core/scanner.ts
197
- import { readFile as readFile2, stat } from "fs/promises";
205
+ import { readFile as readFile2, stat, realpath } from "fs/promises";
198
206
  import { join as join2 } from "path";
199
207
 
200
208
  // src/core/risk-score.ts
@@ -313,6 +321,8 @@ async function scan(options, proRules, onProgress) {
313
321
  const skippedTooLargeFiles = [];
314
322
  let skippedBinary = 0;
315
323
  let truncated = false;
324
+ const changedInvalidUtf8 = [];
325
+ const changedUnreadable = [];
316
326
  if (options.changedOnly && isGitRepo(cwd)) {
317
327
  const changedRelPaths = getChangedFiles(cwd);
318
328
  const filteredPaths = changedRelPaths.filter(
@@ -332,7 +342,27 @@ async function scan(options, proRules, onProgress) {
332
342
  }
333
343
  const fullPath = join2(cwd, relPath);
334
344
  try {
335
- const fileStat = await stat(fullPath);
345
+ let resolvedPath;
346
+ try {
347
+ resolvedPath = await realpath(fullPath);
348
+ } catch (realpathErr) {
349
+ const detail = realpathErr instanceof Error ? realpathErr.message : String(realpathErr);
350
+ logger.warn(`[shipguard] Could not resolve path for changed file ${relPath}: ${detail}`);
351
+ changedUnreadable.push(relPath);
352
+ onProgress?.(++changedProcessed, changedTotal, relPath);
353
+ continue;
354
+ }
355
+ const canonicalCwd = await realpath(cwd).catch(() => cwd);
356
+ const cwdWithSep = canonicalCwd.endsWith("/") ? canonicalCwd : canonicalCwd + "/";
357
+ if (!resolvedPath.startsWith(cwdWithSep) && resolvedPath !== canonicalCwd) {
358
+ logger.warn(
359
+ `[shipguard] Refusing out-of-root path for changed file ${relPath}: resolved to ${resolvedPath} which is outside ${canonicalCwd}`
360
+ );
361
+ changedUnreadable.push(relPath);
362
+ onProgress?.(++changedProcessed, changedTotal, relPath);
363
+ continue;
364
+ }
365
+ const fileStat = await stat(resolvedPath);
336
366
  if (fileStat.size > limits.maxFileSizeBytes) {
337
367
  skippedTooLarge++;
338
368
  if (skippedTooLargeFiles.length < 50) {
@@ -341,24 +371,25 @@ async function scan(options, proRules, onProgress) {
341
371
  onProgress?.(++changedProcessed, changedTotal, relPath);
342
372
  continue;
343
373
  }
344
- const buffer = await readFile2(fullPath);
345
- const checkLen = Math.min(buffer.length, 8192);
346
- let isBinary = false;
347
- for (let i = 0; i < checkLen; i++) {
348
- if (buffer[i] === 0) {
349
- isBinary = true;
350
- break;
351
- }
352
- }
353
- if (isBinary) {
374
+ const buffer = await readFile2(resolvedPath);
375
+ if (detectBinary(new Uint8Array(buffer))) {
354
376
  skippedBinary++;
355
377
  onProgress?.(++changedProcessed, changedTotal, relPath);
356
378
  continue;
357
379
  }
358
- const content = buffer.toString("utf-8");
380
+ const decoded = decodeUtf8Strict(new Uint8Array(buffer));
381
+ if (!decoded.ok) {
382
+ changedInvalidUtf8.push({ relativePath: relPath, reason: decoded.reason });
383
+ onProgress?.(++changedProcessed, changedTotal, relPath);
384
+ continue;
385
+ }
386
+ const content = normalizeNewlines(stripBom(decoded.text));
359
387
  totalBytes += buffer.length;
360
388
  files.push({ path: fullPath, content, relativePath: relPath });
361
- } catch {
389
+ } catch (err) {
390
+ const detail = err instanceof Error ? err.message : String(err);
391
+ logger.warn(`[shipguard] Could not read changed file ${relPath}: ${detail}`);
392
+ changedUnreadable.push(relPath);
362
393
  }
363
394
  onProgress?.(++changedProcessed, changedTotal, relPath);
364
395
  }
@@ -377,6 +408,8 @@ async function scan(options, proRules, onProgress) {
377
408
  skippedTooLargeFiles.push(...readResult.skippedTooLargeFiles);
378
409
  skippedBinary = readResult.skippedBinary;
379
410
  truncated = readResult.truncated;
411
+ changedInvalidUtf8.push(...readResult.invalidUtf8Files);
412
+ changedUnreadable.push(...readResult.unreadableFiles);
380
413
  }
381
414
  let allFindings = applySuppressions(
382
415
  CHECK_MODULES.flatMap((mod) => mod.run(files, policy)),
@@ -384,7 +417,17 @@ async function scan(options, proRules, onProgress) {
384
417
  );
385
418
  let coderefDegraded = false;
386
419
  if (proRules?.length) {
387
- const { findings: proFindings, degraded, warnings } = runProRulesWithDispatch(proRules, files, policy);
420
+ const checksumManifest = loadChecksumManifest();
421
+ const { findings: proFindings, degraded, warnings } = runProRulesWithDispatch(
422
+ proRules,
423
+ files,
424
+ policy,
425
+ void 0,
426
+ // cliVersion — use default (reads from package.json)
427
+ void 0,
428
+ // table — use default dispatch table
429
+ checksumManifest
430
+ );
388
431
  allFindings = [...allFindings, ...proFindings];
389
432
  coderefDegraded = degraded;
390
433
  for (const w of warnings) {
@@ -413,6 +456,22 @@ async function scan(options, proRules, onProgress) {
413
456
  detail: "One or more pro coderef rules were skipped because they require a newer CLI version."
414
457
  });
415
458
  }
459
+ if (changedInvalidUtf8.length > 0) {
460
+ const named = changedInvalidUtf8.slice(0, 10).map((f) => f.relativePath).join(", ");
461
+ const extra = changedInvalidUtf8.length > 10 ? ` (and ${changedInvalidUtf8.length - 10} more)` : "";
462
+ degradedReasons.push({
463
+ code: "INVALID_UTF8",
464
+ detail: `${changedInvalidUtf8.length} file(s) contained invalid UTF-8 and were not scanned: ${named}${extra}`
465
+ });
466
+ }
467
+ if (changedUnreadable.length > 0) {
468
+ const named = changedUnreadable.slice(0, 10).join(", ");
469
+ const extra = changedUnreadable.length > 10 ? ` (and ${changedUnreadable.length - 10} more)` : "";
470
+ degradedReasons.push({
471
+ code: "UNREADABLE_FILE",
472
+ detail: `${changedUnreadable.length} file(s) could not be read and were not scanned: ${named}${extra}`
473
+ });
474
+ }
416
475
  const isDegraded = degradedReasons.length > 0 || void 0;
417
476
  const result = {
418
477
  findings: allFindings,
@@ -659,7 +718,7 @@ import { homedir } from "os";
659
718
  var DOCS_URL = "https://agenticcli.dev/docs";
660
719
  var SITE_URL = "https://agenticcli.dev";
661
720
  var PRICING_URL = "https://agenticcli.dev/pricing";
662
- var ISSUES_URL = "https://github.com/ramxH3421/agentic-cli/issues";
721
+ var ISSUES_URL = "https://github.com/agenticcli/shipguard/issues";
663
722
  var SEVERITY_ORDER = ["critical", "high", "medium", "low", "info"];
664
723
  var BOX_WIDTH = 78;
665
724
  var H = "\u2500";
@@ -1116,8 +1175,8 @@ function sendTelemetry(payload) {
1116
1175
  }
1117
1176
 
1118
1177
  // src/commands/scan.ts
1119
- var LEARN_MORE = "Docs https://agenticcli.dev/docs \xB7 Site https://agenticcli.dev \xB7 Pricing https://agenticcli.dev/pricing \xB7 Issues https://github.com/ramxH3421/agentic-cli/issues";
1120
- var CLI_VERSION = true ? "0.2.1" : process.env.npm_package_version ?? "0.0.0-dev";
1178
+ 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";
1179
+ var CLI_VERSION = true ? "0.4.0" : process.env.npm_package_version ?? "0.0.0-dev";
1121
1180
  function resolveExitCode(opts) {
1122
1181
  if (opts.strict && opts.blockingCount > 0) {
1123
1182
  return EXIT_CODES.BLOCKED;
@@ -1224,8 +1283,8 @@ async function runScan(ctx) {
1224
1283
  }
1225
1284
  try {
1226
1285
  const { detectFrameworks } = await import("./framework-PA6RVE7G.js");
1227
- const { fetchProRules } = await import("./pro-scanner-ER2RYPI5.js");
1228
- const { hasConfig, generateConfig } = await import("./config-generator-Q2YTMBZ5.js");
1286
+ const { fetchProRules } = await import("./pro-scanner-ENFCTA4R.js");
1287
+ const { hasConfig, generateConfig } = await import("./config-generator-RMWNQQHW.js");
1229
1288
  const detectedResult = detectFrameworks(cwd);
1230
1289
  const { frameworks } = detectedResult;
1231
1290
  if (!hasConfig(cwd)) {
@@ -1260,6 +1319,16 @@ async function runScan(ctx) {
1260
1319
  }
1261
1320
  } catch (err) {
1262
1321
  const errMsg = err instanceof Error ? err.message : String(err);
1322
+ const isNoRulesApplied = err instanceof Error && err.name === "NoRulesAppliedError" || err?.code === "NO_RULES_APPLIED";
1323
+ if (isNoRulesApplied) {
1324
+ if (!machineOutput) {
1325
+ logger.error(`Pro rules unavailable (fail-closed): ${errMsg}`);
1326
+ logger.error("This scan applied ZERO rules \u2014 it checked nothing. Refusing to report a clean pass.");
1327
+ } else {
1328
+ console.log(JSON.stringify({ error: errMsg, code: "NO_RULES_APPLIED" }));
1329
+ }
1330
+ process.exit(EXIT_CODES.RUNTIME_ERROR);
1331
+ }
1263
1332
  logger.warn(`Pro rules unavailable: ${errMsg}`);
1264
1333
  logger.warn("Degrading to free scan \u2014 pro rules will not be applied");
1265
1334
  degraded = true;
@@ -1461,6 +1530,7 @@ var DEFAULT_API_URL = "https://agenticcli.dev";
1461
1530
  function loginCommand() {
1462
1531
  return new Command3("login").description("Authenticate with ShipGuard for pro features").option("--api-url <url>", "API server URL", DEFAULT_API_URL).action(async (opts) => {
1463
1532
  const apiUrl = opts.apiUrl;
1533
+ assertTrustedApiUrl(apiUrl);
1464
1534
  const res = await fetch(`${apiUrl}/api/auth/device`, { method: "POST" });
1465
1535
  if (!res.ok) {
1466
1536
  logger.error("Failed to start auth");
@@ -1532,6 +1602,7 @@ function statusCommand() {
1532
1602
  logger.info(`Token: ${expired ? "expired" : "valid"} (expires ${new Date(creds.expiresAt).toISOString()})`);
1533
1603
  if (!expired) {
1534
1604
  try {
1605
+ assertTrustedApiUrl(creds.apiUrl);
1535
1606
  const res = await fetch(`${creds.apiUrl}/api/user/me`, {
1536
1607
  headers: { "Authorization": `Bearer ${creds.accessToken}` }
1537
1608
  });
@@ -1567,6 +1638,7 @@ function feedbackCommand() {
1567
1638
  return;
1568
1639
  }
1569
1640
  try {
1641
+ assertTrustedApiUrl(creds.apiUrl);
1570
1642
  const res = await fetch(`${creds.apiUrl}/api/feedback`, {
1571
1643
  method: "POST",
1572
1644
  headers: {
@@ -1608,6 +1680,7 @@ function rateCommand() {
1608
1680
  return;
1609
1681
  }
1610
1682
  try {
1683
+ assertTrustedApiUrl(creds.apiUrl);
1611
1684
  const res = await fetch(`${creds.apiUrl}/api/feedback`, {
1612
1685
  method: "POST",
1613
1686
  headers: {
@@ -1631,7 +1704,7 @@ function rateCommand() {
1631
1704
  }
1632
1705
 
1633
1706
  // src/handlers.ts
1634
- var ISSUES_URL2 = "https://github.com/ramxH3421/agentic-cli/issues";
1707
+ var ISSUES_URL2 = "https://github.com/agenticcli/shipguard/issues";
1635
1708
  var DOCS_URL2 = "https://agenticcli.dev/docs";
1636
1709
  var REPORT_LINE = `Report this: ${ISSUES_URL2} \xB7 Docs: ${DOCS_URL2}`;
1637
1710
  function handleUncaughtException(error) {
@@ -1662,14 +1735,14 @@ process.on("uncaughtException", handleUncaughtException);
1662
1735
  process.on("unhandledRejection", handleUnhandledRejection);
1663
1736
  process.on("SIGINT", handleSignal);
1664
1737
  process.on("SIGTERM", handleSignal);
1665
- var ISSUES_URL3 = "https://github.com/ramxH3421/agentic-cli/issues";
1738
+ var ISSUES_URL3 = "https://github.com/agenticcli/shipguard/issues";
1666
1739
  var program = new Command7();
1667
1740
  var rawArgs = process.argv.slice(2);
1668
1741
  if (rawArgs[0] === "?") {
1669
1742
  process.argv = [process.argv[0], process.argv[1], "help"];
1670
1743
  }
1671
1744
  program.name("shipguard").description("CLI-first release gate for AI-built apps").version(
1672
- true ? "0.2.1" : process.env.npm_package_version ?? "0.0.0-dev"
1745
+ true ? "0.4.0" : process.env.npm_package_version ?? "0.0.0-dev"
1673
1746
  ).helpCommand(false).addHelpText("after", `
1674
1747
  Learn more:
1675
1748
  Docs https://agenticcli.dev/docs
@@ -2,7 +2,8 @@ import {
2
2
  DEFAULT_MAX_FILES,
3
3
  DEFAULT_MAX_FILE_SIZE_BYTES,
4
4
  DEFAULT_MAX_TOTAL_BYTES
5
- } from "./chunk-BZWSFLBO.js";
5
+ } from "./chunk-ALFVS2BH.js";
6
+ import "./chunk-ANTCYKRO.js";
6
7
 
7
8
  // src/core/config-generator.ts
8
9
  import { writeFileSync, existsSync } from "fs";
@@ -0,0 +1,74 @@
1
+ import {
2
+ CapTracker,
3
+ DEFAULT_CAPS,
4
+ DegradedReason,
5
+ EXEC_RULE_EXTENSION_FIELDS,
6
+ EXEC_RULE_FIELDS,
7
+ NATIVE_V1_ADAPTER_IMPL_HASH,
8
+ NATIVE_V1_RUNTIME_ID,
9
+ RE2JS_V1_ADAPTER_IMPL_HASH,
10
+ RE2JS_V1_RUNTIME_ID,
11
+ RE2JS_VERSION,
12
+ SUPPORTED_NODE_VERSIONS,
13
+ UNICODE_NORMALIZATION_POLICY,
14
+ allConformanceVectors,
15
+ canonicalJson,
16
+ canonicalizeFinding,
17
+ computeExecutableHash,
18
+ computeMatcherRuntimeId,
19
+ decodeUtf8Strict,
20
+ detectBinary,
21
+ executorDependentVectors,
22
+ executorIndependentVectors,
23
+ hugeSingleLineCap,
24
+ makeNativeEngineMeta,
25
+ makeRe2jsEngineMeta,
26
+ nativeV1Executor,
27
+ normalizeNewlines,
28
+ parseFlags,
29
+ parseStrictNoDup,
30
+ re2jsTestPattern,
31
+ re2jsV1Executor,
32
+ resolveExitCode,
33
+ runConformance,
34
+ selectExpected,
35
+ stripBom,
36
+ verifyExactSet
37
+ } from "./chunk-ANTCYKRO.js";
38
+ export {
39
+ CapTracker,
40
+ DEFAULT_CAPS,
41
+ DegradedReason,
42
+ EXEC_RULE_EXTENSION_FIELDS,
43
+ EXEC_RULE_FIELDS,
44
+ NATIVE_V1_ADAPTER_IMPL_HASH,
45
+ NATIVE_V1_RUNTIME_ID,
46
+ RE2JS_V1_ADAPTER_IMPL_HASH,
47
+ RE2JS_V1_RUNTIME_ID,
48
+ RE2JS_VERSION,
49
+ SUPPORTED_NODE_VERSIONS,
50
+ UNICODE_NORMALIZATION_POLICY,
51
+ allConformanceVectors,
52
+ canonicalJson,
53
+ canonicalizeFinding,
54
+ computeExecutableHash,
55
+ computeMatcherRuntimeId,
56
+ decodeUtf8Strict,
57
+ detectBinary,
58
+ executorDependentVectors,
59
+ executorIndependentVectors,
60
+ hugeSingleLineCap,
61
+ makeNativeEngineMeta,
62
+ makeRe2jsEngineMeta,
63
+ nativeV1Executor,
64
+ normalizeNewlines,
65
+ parseFlags,
66
+ parseStrictNoDup,
67
+ re2jsTestPattern,
68
+ re2jsV1Executor,
69
+ resolveExitCode,
70
+ runConformance,
71
+ selectExpected,
72
+ stripBom,
73
+ verifyExactSet
74
+ };
@@ -0,0 +1,17 @@
1
+ import {
2
+ NoRulesAppliedError,
3
+ RunProRulesFatalError,
4
+ fetchProRules,
5
+ runProRules,
6
+ runProRulesWithDispatch,
7
+ validateBundleCompile
8
+ } from "./chunk-XOWMKGOE.js";
9
+ import "./chunk-ANTCYKRO.js";
10
+ export {
11
+ NoRulesAppliedError,
12
+ RunProRulesFatalError,
13
+ fetchProRules,
14
+ runProRules,
15
+ runProRulesWithDispatch,
16
+ validateBundleCompile
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticcli/shipguard",
3
- "version": "0.2.1",
3
+ "version": "0.4.0",
4
4
  "description": "CLI-first release gate for AI-built apps",
5
5
  "type": "module",
6
6
  "main": "./dist/cli.js",
@@ -20,13 +20,18 @@
20
20
  "fast-glob": "^3.3.0",
21
21
  "jose": "^6.2.3",
22
22
  "minimatch": "^10.2.5",
23
+ "re2js": "2.8.3",
23
24
  "yaml": "^2.7.0"
24
25
  },
25
26
  "devDependencies": {
26
27
  "@types/node": "^22.0.0",
28
+ "@typescript-eslint/eslint-plugin": "^7",
29
+ "@typescript-eslint/parser": "^7",
30
+ "eslint": "^8",
27
31
  "tsup": "^8.5.1",
28
32
  "typescript": "^5.8.0",
29
33
  "vitest": "^3.2.0",
34
+ "@agenticcli/matcher-contract": "0.5.0",
30
35
  "@agenticcli/shared": "0.1.0"
31
36
  },
32
37
  "keywords": [
@@ -35,17 +40,25 @@
35
40
  "release-gate",
36
41
  "ai-code",
37
42
  "security",
38
- "cli"
43
+ "cli",
44
+ "ai-agents",
45
+ "claude-code",
46
+ "cursor",
47
+ "codex",
48
+ "agentic",
49
+ "pre-deploy-check",
50
+ "secrets-scanner",
51
+ "llm-generated-code"
39
52
  ],
40
- "license": "MIT",
41
- "author": "ramxH3421",
53
+ "license": "Elastic-2.0",
54
+ "author": "agenticcli",
42
55
  "repository": {
43
56
  "type": "git",
44
- "url": "https://github.com/ramxH3421/agenticcli"
57
+ "url": "git+https://github.com/agenticcli/shipguard.git"
45
58
  },
46
59
  "homepage": "https://agenticcli.dev/shipguard",
47
60
  "bugs": {
48
- "url": "https://github.com/ramxH3421/agenticcli/issues"
61
+ "url": "https://github.com/agenticcli/shipguard/issues"
49
62
  },
50
63
  "engines": {
51
64
  "node": ">=20"
@@ -56,6 +69,7 @@
56
69
  "scripts": {
57
70
  "build": "tsup",
58
71
  "dev": "tsup --watch",
72
+ "lint": "eslint src --ext .ts",
59
73
  "test": "vitest run",
60
74
  "test:watch": "vitest",
61
75
  "clean": "rm -rf dist"