@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 +6 -0
- package/action.yml +1 -1
- package/dist/cli/program.js +3 -2
- package/dist/cli/program.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/mcpb/manifest.json +1 -1
- package/package.json +1 -1
- package/skills/doc-bridge-handoff/scripts/resolve-handoff.mjs +1 -1
- package/src/discovery/repository.ts +2 -1
- package/src/version.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3783,7 +3783,7 @@ declare const chunksFromMarkdown: (property: string, raw: string, sourceUrl: str
|
|
|
3783
3783
|
declare const loadFederatedChunks: (root: string, config: DocBridgeConfigV1, options?: FederatedRetrieverOptions) => Promise<DocBridgeRetrievedChunk[]>;
|
|
3784
3784
|
declare const retrieveHybridChunks: (root: string, config: DocBridgeConfigV1, index: DocBridgeIndexV1, query: string, options?: FederatedRetrieverOptions) => Promise<DocBridgeRetrievedChunk[]>;
|
|
3785
3785
|
|
|
3786
|
-
declare const PACKAGE_VERSION = "1.5.
|
|
3786
|
+
declare const PACKAGE_VERSION = "1.5.1";
|
|
3787
3787
|
|
|
3788
3788
|
type FrontmatterValue = string | boolean | readonly string[];
|
|
3789
3789
|
type FrontmatterData = Record<string, FrontmatterValue>;
|
package/dist/index.js
CHANGED
|
@@ -1853,7 +1853,7 @@ var buildLookup = (config, packages, corpus, indexOutFile, humanDocs = {}, root
|
|
|
1853
1853
|
};
|
|
1854
1854
|
|
|
1855
1855
|
// src/version.ts
|
|
1856
|
-
var PACKAGE_VERSION = "1.5.
|
|
1856
|
+
var PACKAGE_VERSION = "1.5.1";
|
|
1857
1857
|
|
|
1858
1858
|
// src/index-builder/capabilities.ts
|
|
1859
1859
|
var renderCapabilitiesJson = (config, index, paths) => {
|
|
@@ -2738,6 +2738,7 @@ var discoverPackages = (root, rootManifest, config) => {
|
|
|
2738
2738
|
const dirs = expandWorkspaceGlobs(root, patterns);
|
|
2739
2739
|
for (const absPath of dirs) {
|
|
2740
2740
|
const manifestPath = join8(absPath, "package.json");
|
|
2741
|
+
if (!existsSync9(manifestPath)) continue;
|
|
2741
2742
|
const parsed = readJson(manifestPath);
|
|
2742
2743
|
if (!parsed.value) {
|
|
2743
2744
|
coverage.push({ status: "partial", reason: `${relativePath(root, manifestPath)}: ${parsed.error ?? "invalid package.json"}` });
|
|
@@ -2943,8 +2944,8 @@ var artifact = (root, config, files, entities, relations, coverage) => {
|
|
|
2943
2944
|
};
|
|
2944
2945
|
var discoverRepository = (opts = {}) => {
|
|
2945
2946
|
const root = resolve7(opts.root ?? process.cwd());
|
|
2946
|
-
const maxFiles = opts.maxFiles ?? DEFAULT_MAX_FILES2;
|
|
2947
2947
|
const safety = opts.config?.safety;
|
|
2948
|
+
const maxFiles = opts.maxFiles ?? safety?.maxFiles ?? DEFAULT_MAX_FILES2;
|
|
2948
2949
|
const maxBytes = opts.maxBytes ?? safety?.maxBytes;
|
|
2949
2950
|
const safeOptions = {
|
|
2950
2951
|
exclude: [...DEFAULT_SAFETY_EXCLUDES, ...safety?.exclude ?? []],
|