@tangle-network/agent-knowledge 22.0.16 → 23.0.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.
- package/AGENTS.md +3 -0
- package/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/dist/benchmarks/index.d.ts +1 -1
- package/dist/benchmarks/index.js +1 -2
- package/dist/{benchmarks-jir3ZP-M.js → benchmarks-BMDc-9V-.js} +3 -4
- package/dist/{benchmarks-jir3ZP-M.js.map → benchmarks-BMDc-9V-.js.map} +1 -1
- package/dist/cli.js +3 -4
- package/dist/{ids-Bevz_pXV.js → ids-C-Z2Uv4c.js} +2 -3
- package/dist/{ids-Bevz_pXV.js.map → ids-C-Z2Uv4c.js.map} +1 -1
- package/dist/{index-BhvSH4E4.d.ts → index-B2s20NlV.d.ts} +3 -25
- package/dist/index-B2s20NlV.d.ts.map +1 -0
- package/dist/{index-OAxtm6is.d.ts → index-CRg_7-ND.d.ts} +2 -4
- package/dist/index-CRg_7-ND.d.ts.map +1 -0
- package/dist/index.d.ts +5 -123
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +45 -84
- package/dist/index.js.map +1 -1
- package/dist/{inspect-rXk5_r3K.js → inspect-tl0P7I7w.js} +33 -63
- package/dist/{inspect-rXk5_r3K.js.map → inspect-tl0P7I7w.js.map} +1 -1
- package/dist/memory/index.d.ts +2 -2
- package/dist/memory/index.js +2 -2
- package/dist/{memory-BH6oT1Qe.js → memory-krApkeRS.js} +15 -27
- package/dist/{memory-BH6oT1Qe.js.map → memory-krApkeRS.js.map} +1 -1
- package/dist/search/index.d.ts +2 -2
- package/dist/search/index.js +1 -2
- package/dist/{search-aZdP2685.js → search-BSGm7yxu.js} +4 -7
- package/dist/{search-aZdP2685.js.map → search-BSGm7yxu.js.map} +1 -1
- package/dist/{search-Dde0PEtY.d.ts → search-SPdjnQUo.d.ts} +2 -6
- package/dist/search-SPdjnQUo.d.ts.map +1 -0
- package/dist/{source-record-CdWvzvO6.js → source-record-9ZPRR1P9.js} +3 -4
- package/dist/{source-record-CdWvzvO6.js.map → source-record-9ZPRR1P9.js.map} +1 -1
- package/dist/{types-BekdNwGD.d.ts → types-1kNPDliG.d.ts} +1 -3
- package/dist/types-1kNPDliG.d.ts.map +1 -0
- package/dist/{types-BWV_Fvp7.d.ts → types-CznsaxVo.d.ts} +2 -4
- package/dist/types-CznsaxVo.d.ts.map +1 -0
- package/dist/viz/index.d.ts +1 -3
- package/dist/viz/index.d.ts.map +1 -1
- package/dist/viz/index.js +1 -2
- package/docs/compatibility.md +8 -8
- package/package.json +14 -14
- package/dist/index-BhvSH4E4.d.ts.map +0 -1
- package/dist/index-OAxtm6is.d.ts.map +0 -1
- package/dist/search-Dde0PEtY.d.ts.map +0 -1
- package/dist/types-BWV_Fvp7.d.ts.map +0 -1
- package/dist/types-BekdNwGD.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as textSourceId, n as slugify, r as stableId, t as sha256 } from "./ids-
|
|
2
|
-
import { r as searchKnowledge } from "./search-
|
|
1
|
+
import { i as textSourceId, n as slugify, r as stableId, t as sha256 } from "./ids-C-Z2Uv4c.js";
|
|
2
|
+
import { r as searchKnowledge } from "./search-BSGm7yxu.js";
|
|
3
3
|
import { canonicalCandidateBytes, canonicalCandidateDigest, sha256Bytes, sha256DigestSchema } from "@tangle-network/agent-interface";
|
|
4
4
|
import { contentHash } from "@tangle-network/agent-eval";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -10,7 +10,7 @@ import { basename, dirname, isAbsolute, join, relative, resolve } from "node:pat
|
|
|
10
10
|
import { lockHolderVerdict, lockIdentity, readLockHolderIdentity } from "@tangle-network/agent-eval/lock-holder";
|
|
11
11
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
12
12
|
import { hostname } from "node:os";
|
|
13
|
-
|
|
13
|
+
// src/adapters.ts
|
|
14
14
|
const textSourceAdapter = {
|
|
15
15
|
id: "text",
|
|
16
16
|
canLoad: (input) => Boolean(input.text) || /\.(md|txt|json|csv)$/i.test(input.uri),
|
|
@@ -53,8 +53,7 @@ function anchorsForText(uri, text) {
|
|
|
53
53
|
});
|
|
54
54
|
return anchors;
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
//#region src/durable-fs.ts
|
|
56
|
+
// src/durable-fs.ts
|
|
58
57
|
const DIRECTORY_FLAGS = constants.O_RDONLY | constants.O_DIRECTORY | constants.O_NOFOLLOW;
|
|
59
58
|
const CREATE_FILE_FLAGS = constants.O_WRONLY | constants.O_CREAT | constants.O_EXCL | constants.O_NOFOLLOW;
|
|
60
59
|
const READ_FILE_FLAGS = constants.O_RDONLY | constants.O_NOFOLLOW;
|
|
@@ -378,8 +377,7 @@ function normalizeRelativePath(path) {
|
|
|
378
377
|
if (normalized.split("/").some((part) => part === "" || part === "." || part === "..")) throw new Error(`knowledge path contains an unsafe segment: ${path}`);
|
|
379
378
|
return normalized;
|
|
380
379
|
}
|
|
381
|
-
|
|
382
|
-
//#region src/pages-directory.ts
|
|
380
|
+
// src/pages-directory.ts
|
|
383
381
|
/** Root-relative directory that holds Markdown pages when a caller names none. */
|
|
384
382
|
const DEFAULT_PAGES_DIRECTORY = "knowledge";
|
|
385
383
|
/**
|
|
@@ -401,8 +399,7 @@ function normalizePagesDirectory(value = DEFAULT_PAGES_DIRECTORY) {
|
|
|
401
399
|
if (segments[0] === ".agent-knowledge" || segments[0] === "raw") throw new Error(`pagesDirectory must not name the package-owned ${segments[0]} tree: ${value}`);
|
|
402
400
|
return normalized;
|
|
403
401
|
}
|
|
404
|
-
|
|
405
|
-
//#region src/lock-holder.ts
|
|
402
|
+
// src/lock-holder.ts
|
|
406
403
|
const DEFAULT_STALE_MS = 9e5;
|
|
407
404
|
/** The lease a caller's `staleMs` resolves to: the default, floored at 5 s. */
|
|
408
405
|
function staleWindow(staleMs) {
|
|
@@ -574,8 +571,7 @@ async function takeOverDeadHolder(cacheDir, staleMs, held = STORE_LOCK) {
|
|
|
574
571
|
await release().catch(() => void 0);
|
|
575
572
|
}
|
|
576
573
|
}
|
|
577
|
-
|
|
578
|
-
//#region src/bounded-file-io.ts
|
|
574
|
+
// src/bounded-file-io.ts
|
|
579
575
|
/** Keep filesystem descriptors bounded and drain a failed batch before its owner releases handles. */
|
|
580
576
|
async function mapFileIo(values, operation) {
|
|
581
577
|
const results = [];
|
|
@@ -587,8 +583,7 @@ async function mapFileIo(values, operation) {
|
|
|
587
583
|
}
|
|
588
584
|
return results;
|
|
589
585
|
}
|
|
590
|
-
|
|
591
|
-
//#region src/file-transaction.ts
|
|
586
|
+
// src/file-transaction.ts
|
|
592
587
|
const digestSchema = z.string().regex(/^[a-f0-9]{64}$/);
|
|
593
588
|
const fileModeSchema = z.number().int().min(0).max(511);
|
|
594
589
|
const DEFAULT_FILE_MODE = 420;
|
|
@@ -1056,8 +1051,7 @@ function sameBytes(left, right) {
|
|
|
1056
1051
|
function fileMatches(file, hash, mode) {
|
|
1057
1052
|
return (file ? hashBytes(file.bytes) : null) === hash && file?.mode === mode;
|
|
1058
1053
|
}
|
|
1059
|
-
|
|
1060
|
-
//#region src/mutation-lock.ts
|
|
1054
|
+
// src/mutation-lock.ts
|
|
1061
1055
|
const DEFAULT_READ_WAIT_MS = 25;
|
|
1062
1056
|
const MAX_POLL_MS = 250;
|
|
1063
1057
|
function sleep(ms) {
|
|
@@ -1608,8 +1602,7 @@ async function hasActiveMutationLock(root, options) {
|
|
|
1608
1602
|
function isOdd(value) {
|
|
1609
1603
|
return value % 2 === 1;
|
|
1610
1604
|
}
|
|
1611
|
-
|
|
1612
|
-
//#region src/frontmatter.ts
|
|
1605
|
+
// src/frontmatter.ts
|
|
1613
1606
|
function parseFrontmatter(content) {
|
|
1614
1607
|
const normalized = content.replace(/\r\n/g, "\n");
|
|
1615
1608
|
if (!normalized.startsWith("---\n")) return {
|
|
@@ -1702,8 +1695,7 @@ function unquote(value) {
|
|
|
1702
1695
|
if ((first === "\"" || first === "'") && value.endsWith(first)) return value.slice(1, -1);
|
|
1703
1696
|
return value;
|
|
1704
1697
|
}
|
|
1705
|
-
|
|
1706
|
-
//#region src/claim-ledger.ts
|
|
1698
|
+
// src/claim-ledger.ts
|
|
1707
1699
|
/**
|
|
1708
1700
|
* The algebra of a research claim ledger: claim identity, and how two ledgers
|
|
1709
1701
|
* that accumulated evidence for the same goal combine into one.
|
|
@@ -2087,8 +2079,7 @@ function assertSortedUnique(label, values) {
|
|
|
2087
2079
|
function sameStrings(left, right) {
|
|
2088
2080
|
return left.length === right.length && left.every((value, index) => value === right[index]);
|
|
2089
2081
|
}
|
|
2090
|
-
|
|
2091
|
-
//#region src/types.ts
|
|
2082
|
+
// src/types.ts
|
|
2092
2083
|
/**
|
|
2093
2084
|
* The event vocabulary, as a value so the runtime schema is DERIVED from it
|
|
2094
2085
|
* rather than restated. A restated copy in `schemas.ts` drifted: it omitted
|
|
@@ -2106,8 +2097,7 @@ const KNOWLEDGE_EVENT_TYPES = [
|
|
|
2106
2097
|
"release.promoted",
|
|
2107
2098
|
"release.rejected"
|
|
2108
2099
|
];
|
|
2109
|
-
|
|
2110
|
-
//#region src/schemas.ts
|
|
2100
|
+
// src/schemas.ts
|
|
2111
2101
|
const SourceAnchorSchema = z.object({
|
|
2112
2102
|
id: z.string().min(1),
|
|
2113
2103
|
sourceId: z.string().min(1),
|
|
@@ -2296,8 +2286,7 @@ const KnowledgeBaseCandidateSchema = z.object({
|
|
|
2296
2286
|
updatePolicy: z.string().optional(),
|
|
2297
2287
|
metadata: z.record(z.string(), z.unknown()).optional()
|
|
2298
2288
|
});
|
|
2299
|
-
|
|
2300
|
-
//#region src/wikilinks.ts
|
|
2289
|
+
// src/wikilinks.ts
|
|
2301
2290
|
const WIKILINK_REGEX = /\[\[([^\]|]+?)(?:\|[^\]]+?)?\]\]/g;
|
|
2302
2291
|
function extractWikilinks(content) {
|
|
2303
2292
|
const links = [];
|
|
@@ -2313,8 +2302,7 @@ function extractWikilinks(content) {
|
|
|
2313
2302
|
function normalizeLinkTarget(target) {
|
|
2314
2303
|
return target.trim().replace(/\.md$/i, "").toLowerCase().replace(/\s+/g, "-");
|
|
2315
2304
|
}
|
|
2316
|
-
|
|
2317
|
-
//#region src/store.ts
|
|
2305
|
+
// src/store.ts
|
|
2318
2306
|
function layoutFor(root) {
|
|
2319
2307
|
return {
|
|
2320
2308
|
root,
|
|
@@ -2458,8 +2446,7 @@ function idListField(value) {
|
|
|
2458
2446
|
function firstHeading(body) {
|
|
2459
2447
|
return /^#\s+(.+)$/m.exec(body)?.[1]?.trim();
|
|
2460
2448
|
}
|
|
2461
|
-
|
|
2462
|
-
//#region src/citation-resolution.ts
|
|
2449
|
+
// src/citation-resolution.ts
|
|
2463
2450
|
/** A batch contains at least one citation that is missing or ambiguous. */
|
|
2464
2451
|
var KnowledgeCitationResolutionError = class extends Error {
|
|
2465
2452
|
resolutions;
|
|
@@ -2631,8 +2618,7 @@ function isPageOrigin(value) {
|
|
|
2631
2618
|
if (value === "here" || value === "shared") return true;
|
|
2632
2619
|
return typeof value === "string" && value.startsWith("inherited:") && value.slice(10).trim().length > 0;
|
|
2633
2620
|
}
|
|
2634
|
-
|
|
2635
|
-
//#region src/graph.ts
|
|
2621
|
+
// src/graph.ts
|
|
2636
2622
|
/**
|
|
2637
2623
|
* The labeled relations between pages, one per `(sourceId, targetId, predicate)`.
|
|
2638
2624
|
*
|
|
@@ -2766,8 +2752,7 @@ function citedPageId(persisted) {
|
|
|
2766
2752
|
return persisted;
|
|
2767
2753
|
}
|
|
2768
2754
|
}
|
|
2769
|
-
|
|
2770
|
-
//#region src/event-store.ts
|
|
2755
|
+
// src/event-store.ts
|
|
2771
2756
|
/** Durable immutable event payloads with bounded, hash-partitioned metadata buckets. */
|
|
2772
2757
|
const stateSchema = z.object({
|
|
2773
2758
|
version: z.literal(1),
|
|
@@ -3009,8 +2994,7 @@ function parseBucket(prefix, bytes, sequence) {
|
|
|
3009
2994
|
}
|
|
3010
2995
|
return bucket;
|
|
3011
2996
|
}
|
|
3012
|
-
|
|
3013
|
-
//#region src/kb-store.ts
|
|
2997
|
+
// src/kb-store.ts
|
|
3014
2998
|
/**
|
|
3015
2999
|
* Where a filesystem knowledge base keeps its machine-written records, relative
|
|
3016
3000
|
* to the knowledge-base root.
|
|
@@ -3309,8 +3293,7 @@ function isRecord(value) {
|
|
|
3309
3293
|
function clone(value) {
|
|
3310
3294
|
return value == null ? value : JSON.parse(JSON.stringify(value));
|
|
3311
3295
|
}
|
|
3312
|
-
|
|
3313
|
-
//#region src/sources.ts
|
|
3296
|
+
// src/sources.ts
|
|
3314
3297
|
const sourceRegistrySchema = z.object({
|
|
3315
3298
|
generatedAt: z.string().min(1),
|
|
3316
3299
|
sources: z.array(SourceRecordSchema.passthrough())
|
|
@@ -3530,8 +3513,7 @@ function textPreview(fileName, bytes) {
|
|
|
3530
3513
|
if (!mediaType.startsWith("text/") && mediaType !== "application/json") return void 0;
|
|
3531
3514
|
return bytes.toString("utf8").slice(0, 2e5);
|
|
3532
3515
|
}
|
|
3533
|
-
|
|
3534
|
-
//#region src/indexer.ts
|
|
3516
|
+
// src/indexer.ts
|
|
3535
3517
|
async function buildKnowledgeIndex(root, options = {}) {
|
|
3536
3518
|
return withKnowledgeRead(root, () => buildKnowledgeIndexUnlocked(root, options));
|
|
3537
3519
|
}
|
|
@@ -3561,8 +3543,7 @@ async function writeKnowledgeIndex(root, options = {}) {
|
|
|
3561
3543
|
return index;
|
|
3562
3544
|
});
|
|
3563
3545
|
}
|
|
3564
|
-
|
|
3565
|
-
//#region src/claim-evidence.ts
|
|
3546
|
+
// src/claim-evidence.ts
|
|
3566
3547
|
/** The rung at and above which a claim must be machine-checkable to be recorded at that rung. */
|
|
3567
3548
|
const CHECKABLE_RUNG_THRESHOLD = 4;
|
|
3568
3549
|
/**
|
|
@@ -3913,8 +3894,7 @@ async function runCheckProcess(args, options) {
|
|
|
3913
3894
|
...result.outputTruncated ? { outputTruncated: true } : {}
|
|
3914
3895
|
};
|
|
3915
3896
|
}
|
|
3916
|
-
|
|
3917
|
-
//#region src/lint.ts
|
|
3897
|
+
// src/lint.ts
|
|
3918
3898
|
const ABSOLUTE_PATH_TOKEN = /(?:^|[\s"'=(])(?:\/(?!dev\/null\b)[^\s"'();]+|[A-Za-z]:\\[^\s"'();]+)/m;
|
|
3919
3899
|
function lintKnowledgeIndex(index) {
|
|
3920
3900
|
const findings = [];
|
|
@@ -4127,8 +4107,7 @@ function extractSourceRefs(text) {
|
|
|
4127
4107
|
}
|
|
4128
4108
|
return refs;
|
|
4129
4109
|
}
|
|
4130
|
-
|
|
4131
|
-
//#region src/validate.ts
|
|
4110
|
+
// src/validate.ts
|
|
4132
4111
|
function validateKnowledgeIndex(index, options = {}) {
|
|
4133
4112
|
return prepareKnowledgeValidation(index).validate(options);
|
|
4134
4113
|
}
|
|
@@ -4162,8 +4141,7 @@ function prepareKnowledgeValidation(index) {
|
|
|
4162
4141
|
}
|
|
4163
4142
|
};
|
|
4164
4143
|
}
|
|
4165
|
-
|
|
4166
|
-
//#region src/rag-eval/near-duplicates.ts
|
|
4144
|
+
// src/rag-eval/near-duplicates.ts
|
|
4167
4145
|
/**
|
|
4168
4146
|
* Detect exact and near-duplicate pages without a model, embedding service, or clock.
|
|
4169
4147
|
*
|
|
@@ -4324,8 +4302,7 @@ function nonNegativeInteger(value, name) {
|
|
|
4324
4302
|
function round(value) {
|
|
4325
4303
|
return Math.round(value * 1e6) / 1e6;
|
|
4326
4304
|
}
|
|
4327
|
-
|
|
4328
|
-
//#region src/knowledge-visibility.ts
|
|
4305
|
+
// src/knowledge-visibility.ts
|
|
4329
4306
|
const KNOWLEDGE_USE_RECEIPT_SCHEMA_VERSION = "2.0.0";
|
|
4330
4307
|
const KNOWLEDGE_RECEIPT_DIGEST_ALGORITHM = "rfc8785-sha256";
|
|
4331
4308
|
/** Stable content identity for one exact knowledge page. */
|
|
@@ -4567,8 +4544,7 @@ function nonEmpty(value, label) {
|
|
|
4567
4544
|
if (typeof value !== "string" || value.trim().length === 0) throw new TypeError(`${label} must be a non-empty string`);
|
|
4568
4545
|
return value.trim();
|
|
4569
4546
|
}
|
|
4570
|
-
|
|
4571
|
-
//#region src/run-scoped.ts
|
|
4547
|
+
// src/run-scoped.ts
|
|
4572
4548
|
/**
|
|
4573
4549
|
* Run-scoped knowledge stores with lineage-chain reads.
|
|
4574
4550
|
*
|
|
@@ -4870,8 +4846,7 @@ function assertRunId(value, label = "runId") {
|
|
|
4870
4846
|
function renderParent(parentRunId) {
|
|
4871
4847
|
return parentRunId === null ? "none" : `'${parentRunId}'`;
|
|
4872
4848
|
}
|
|
4873
|
-
|
|
4874
|
-
//#region src/write-intake.ts
|
|
4849
|
+
// src/write-intake.ts
|
|
4875
4850
|
/**
|
|
4876
4851
|
* Write-time intake gate.
|
|
4877
4852
|
*
|
|
@@ -4959,8 +4934,7 @@ function declaresRelation(page, targetId) {
|
|
|
4959
4934
|
for (const persisted of page.cites ?? []) if (parseKnowledgeCitationReference(persisted).pageId === targetId) return true;
|
|
4960
4935
|
return (page.contradicts ?? []).includes(targetId);
|
|
4961
4936
|
}
|
|
4962
|
-
|
|
4963
|
-
//#region src/write-protocol.ts
|
|
4937
|
+
// src/write-protocol.ts
|
|
4964
4938
|
const OPENER_LINE = /^---\s*FILE:\s*(.+?)\s*---\s*$/i;
|
|
4965
4939
|
const CLOSER_LINE = /^---\s*END\s+FILE\s*---\s*$/i;
|
|
4966
4940
|
const FENCE_LINE = /^\s{0,3}(```+|~~~+)/;
|
|
@@ -5035,8 +5009,7 @@ function parseKnowledgeWriteBlocks(text, allowedPrefixes = ["knowledge/"]) {
|
|
|
5035
5009
|
warnings
|
|
5036
5010
|
};
|
|
5037
5011
|
}
|
|
5038
|
-
|
|
5039
|
-
//#region src/proposals.ts
|
|
5012
|
+
// src/proposals.ts
|
|
5040
5013
|
/**
|
|
5041
5014
|
* Apply the FILE blocks of a proposal under the pages directory.
|
|
5042
5015
|
*
|
|
@@ -5107,8 +5080,7 @@ async function applyKnowledgeWriteBlocks(root, proposalText, options = {}) {
|
|
|
5107
5080
|
async function applyKnowledgeWriteBlocksFile(root, proposalPath, options = {}) {
|
|
5108
5081
|
return applyKnowledgeWriteBlocks(root, await readFile(proposalPath, "utf8"), options);
|
|
5109
5082
|
}
|
|
5110
|
-
|
|
5111
|
-
//#region src/metadata.ts
|
|
5083
|
+
// src/metadata.ts
|
|
5112
5084
|
/**
|
|
5113
5085
|
* Read a string value from an optional metadata bag, returning `undefined`
|
|
5114
5086
|
* when the key is absent or holds a non-string value. Shared by the readiness
|
|
@@ -5121,8 +5093,7 @@ function stringMetadata(metadata, key) {
|
|
|
5121
5093
|
const value = metadata?.[key];
|
|
5122
5094
|
return typeof value === "string" ? value : void 0;
|
|
5123
5095
|
}
|
|
5124
|
-
|
|
5125
|
-
//#region src/inspect.ts
|
|
5096
|
+
// src/inspect.ts
|
|
5126
5097
|
function inspectKnowledgeIndex(index, options = {}) {
|
|
5127
5098
|
const now = options.now ?? /* @__PURE__ */ new Date();
|
|
5128
5099
|
const findings = lintKnowledgeIndex(index);
|
|
@@ -5184,7 +5155,6 @@ function explainKnowledgeTarget(index, target) {
|
|
|
5184
5155
|
related
|
|
5185
5156
|
};
|
|
5186
5157
|
}
|
|
5187
|
-
//#endregion
|
|
5188
5158
|
export { loadSourceRegistry as $, writeFileDurableWithinRoot as $n, KNOWLEDGE_EVENT_TYPES as $t, validateKnowledgePage as A, finishKnowledgeFileTransaction as An, isScaffoldPath as At, CHECKABLE_RUNG_THRESHOLD as B, canonicalRelativeWithinRoot as Bn, KnowledgeEventSchema as Bt, immutablePageDigest as C, runInKnowledgeMutationScope as Cn, resolveKnowledgeCitation as Ct, normalizeVisibilityArtifact as D, applyKnowledgeFileTransaction as Dn, SCAFFOLD_PAGE_BASENAMES as Dt, nonEmpty as E, withKnowledgeRead as En, resolveRunScopedCitations as Et, detectNearDuplicatePages as F, recordLockOwner as Fn, WIKILINK_REGEX as Ft, gradeClaims as G, readRegularFileWithinRoot as Gn, KnowledgePageSchema as Gt, UncheckableClaimError as H, isMissingFile as Hn, KnowledgeGraphNodeSchema as Ht, normalizePageText as I, takeOverDeadHolder as In, extractWikilinks as It, verifyGradeableEvidence as J, renameDurable as Jn, ResearchClaimLedgerSchema as Jt, gradeFor as K, relativeWithinRoot as Kn, KnowledgeRelationSchema as Kt, prepareKnowledgeValidation as L, DEFAULT_PAGES_DIRECTORY as Ln, normalizeLinkTarget as Lt, verifyKnowledgeVisibilitySnapshot as M, prepareKnowledgeFileTransaction as Mn, layoutFor as Mt, visibilityIdentity as N, rollbackKnowledgeFileTransaction as Nn, loadKnowledgePages as Nt, normalizeVisibilityRef as O, assertKnowledgeMutationPath as On, initKnowledgeBase as Ot, visibilityIndexOf as P, RUN_LEASE as Pn, writeJson as Pt, addSourceText as Q, writeFileDurable as Qn, SourceRecordSchema as Qt, validateKnowledgeIndex as R, normalizePagesDirectory as Rn, DeepQuestionSchema as Rt, encodeKnowledgeVisibilitySnapshot as S, recoverPendingKnowledgeMutation as Sn, parseKnowledgeCitationReference as St, knowledgeVisibilityArtifactRef as T, withKnowledgeMutationLabel as Tn, resolveRunScopedCitation as Tt, assertGradeableEvidence as U, listRegularFilesWithinRoot as Un, KnowledgeIndexSchema as Ut, DEADLINE_EXIT_CODE as V, isKernelAnchoredPath as Vn, KnowledgeGraphEdgeSchema as Vt, claimCheckKey as W, readRegularFileNoFollow as Wn, KnowledgePageInvalidationSchema as Wt, writeKnowledgeIndex as X, withSafeDescendant as Xn, ResearchSourceVersionSchema as Xt, buildKnowledgeIndex as Y, syncDirectory as Yn, ResearchClaimRecordSchema as Yt, addSourcePath as Z, withSafeDirectory as Zn, SourceAnchorSchema as Zt, KNOWLEDGE_USE_RECEIPT_SCHEMA_VERSION as _, parseFrontmatter as _n, assertKnowledgeCitationsResolved as _t, applyKnowledgeWriteBlocksFile as a, claimEvidenceId as an, KB_CLAIM_LEDGER_DIR as at, decodeKnowledgeVisibilitySnapshot as b, isKnowledgeMutationHeld as bn, auditKnowledgeCitations as bt, KnowledgeDuplicateIntakeError as c, deepQuestionId as cn, KB_STORE_DIR as ct, createFileRunLineageAuthority as d, materializeRegisteredClaimEvidence as dn, buildKnowledgeGraph as dt, ClaimLedgerGoalConflictError as en, writeJsonDurable as er, snapshotSourceTextInput as et, createRunScopedStores as f, mergeClaimLedgers as fn, knowledgePageRelations as ft, KNOWLEDGE_RECEIPT_DIGEST_ALGORITHM as g, formatFrontmatter as gn, assertKnowledgeCitationAudit as gt, originatedPages as h, researchSourceVersionKey as hn, assertCurrentRunCitationsResolved as ht, applyKnowledgeWriteBlocks as i, assertTrackedClaimIntegrity as in, FileSystemKbStore as it, validateOrigin as j, knowledgeFileTransactionPlanHash as jn, knowledgePageFromMarkdown as jt, snapshotImmutableVisibility as k, commitKnowledgeFileMutations as kn, isKnowledgePagePath as kt, assertKnowledgeWriteIntake as l, emptyClaimLedger as ln, MemoryKbStore as lt, loadKnowledgeToolChain as m, normalizeClaimText as mn, KnowledgeCitationResolutionError as mt, inspectKnowledgeIndex as n, assertResearchClaimEvidenceIntegrity as nn, mediaTypeFor$1 as nr, writeSourceRegistry as nt, isSafeKnowledgePath as o, claimId as on, KB_EVENTS_PATH as ot, isKnowledgeToolChain as p, mergeTrackedClaims as pn, KnowledgeCitationAuditError as pt, verdictFor as q, removeDurable as qn, ResearchClaimEvidenceSchema as qt, stringMetadata as r, assertResearchClaimLedgerIntegrity as rn, textSourceAdapter as rr, ClaimLedgerMigrationRequiredError as rt, parseKnowledgeWriteBlocks as s, claimSourceHost as sn, KB_INDEX_PATH as st, explainKnowledgeTarget as t, assertDeepQuestionIntegrity as tn, writeJsonDurableWithinRoot as tr, sourceRegistryPath as tt, RUN_LINEAGE_BASENAME as u, linkClaimContradictions as un, assertClaimLedgerId as ut, assertSchemaVersion as v, acquireDurableFileLock as vn, assertRunScopedCitationsResolved as vt, knowledgePageDigest as w, withKnowledgeMutation as wn, resolveKnowledgeCitations as wt, digest as x, measureKnowledgeMutation as xn, formatKnowledgeCitationReference as xt, createKnowledgeVisibilitySnapshot as y, inspectPendingKnowledgeMutation as yn, auditCurrentRunCitations as yt, lintKnowledgeIndex as z, canonicalPathsEqual as zn, KnowledgeBaseCandidateSchema as zt };
|
|
5189
5159
|
|
|
5190
|
-
//# sourceMappingURL=inspect-
|
|
5160
|
+
//# sourceMappingURL=inspect-tl0P7I7w.js.map
|