@agentskit/doc-bridge 1.5.0 → 1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Honor configured repository file limits and ignore non-package workspace directories during discovery.
8
+
3
9
  ## 1.5.0
4
10
 
5
11
  ### Minor Changes
package/action.yml CHANGED
@@ -20,7 +20,7 @@ inputs:
20
20
  package-version:
21
21
  description: Exact @agentskit/doc-bridge npm version (kept in sync with this Action release)
22
22
  required: false
23
- default: '1.5.0'
23
+ default: '1.5.1'
24
24
 
25
25
  runs:
26
26
  using: composite
@@ -1439,7 +1439,7 @@ var buildLookup = (config, packages, corpus, indexOutFile, humanDocs = {}, root
1439
1439
  };
1440
1440
 
1441
1441
  // src/version.ts
1442
- var PACKAGE_VERSION = "1.5.0";
1442
+ var PACKAGE_VERSION = "1.5.1";
1443
1443
 
1444
1444
  // src/index-builder/capabilities.ts
1445
1445
  var renderCapabilitiesJson = (config, index, paths) => {
@@ -3132,6 +3132,7 @@ var discoverPackages = (root, rootManifest, config) => {
3132
3132
  const dirs = expandWorkspaceGlobs(root, patterns);
3133
3133
  for (const absPath of dirs) {
3134
3134
  const manifestPath = join8(absPath, "package.json");
3135
+ if (!existsSync10(manifestPath)) continue;
3135
3136
  const parsed = readJson(manifestPath);
3136
3137
  if (!parsed.value) {
3137
3138
  coverage.push({ status: "partial", reason: `${relativePath(root, manifestPath)}: ${parsed.error ?? "invalid package.json"}` });
@@ -3337,8 +3338,8 @@ var artifact = (root, config, files, entities, relations, coverage) => {
3337
3338
  };
3338
3339
  var discoverRepository = (opts = {}) => {
3339
3340
  const root = resolve8(opts.root ?? process.cwd());
3340
- const maxFiles = opts.maxFiles ?? DEFAULT_MAX_FILES2;
3341
3341
  const safety = opts.config?.safety;
3342
+ const maxFiles = opts.maxFiles ?? safety?.maxFiles ?? DEFAULT_MAX_FILES2;
3342
3343
  const maxBytes = opts.maxBytes ?? safety?.maxBytes;
3343
3344
  const safeOptions = {
3344
3345
  exclude: [...DEFAULT_SAFETY_EXCLUDES, ...safety?.exclude ?? []],