@agenticcli/shipguard 0.1.0 → 0.2.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.
@@ -1,3 +1,9 @@
1
+ import {
2
+ DEFAULT_MAX_FILES,
3
+ DEFAULT_MAX_FILE_SIZE_BYTES,
4
+ DEFAULT_MAX_TOTAL_BYTES
5
+ } from "./chunk-7HMLDAMC.js";
6
+
1
7
  // src/core/config-generator.ts
2
8
  import { writeFileSync, existsSync } from "fs";
3
9
  import { join } from "path";
@@ -41,6 +47,14 @@ ignore:
41
47
  - "**/*.test.ts"
42
48
  - "**/node_modules/**"
43
49
 
50
+ limits:
51
+ # Per-file size cap \u2014 files larger than this are skipped (not read into memory)
52
+ maxFileSizeBytes: ${DEFAULT_MAX_FILE_SIZE_BYTES}
53
+ # Total bytes cap across all files \u2014 scan stops if exceeded (degraded mode)
54
+ maxTotalBytes: ${DEFAULT_MAX_TOTAL_BYTES}
55
+ # Maximum number of files to scan \u2014 scan stops if exceeded (degraded mode)
56
+ maxFiles: ${DEFAULT_MAX_FILES}
57
+
44
58
  telemetry:
45
59
  enabled: true
46
60
 
@@ -2,7 +2,7 @@ import {
2
2
  fetchProRules,
3
3
  runProRules,
4
4
  runProRulesWithDispatch
5
- } from "./chunk-42MA7DQY.js";
5
+ } from "./chunk-YE2GPROS.js";
6
6
  export {
7
7
  fetchProRules,
8
8
  runProRules,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticcli/shipguard",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "CLI-first release gate for AI-built apps",
5
5
  "type": "module",
6
6
  "main": "./dist/cli.js",