@tangle-network/agent-knowledge 13.0.1 → 14.0.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/AGENTS.md +52 -157
- package/CHANGELOG.md +33 -0
- package/README.md +8 -0
- package/dist/benchmarks/index.js +1 -1
- package/dist/{benchmarks-Qk94Gnj4.js → benchmarks-BbPJdmHe.js} +24 -24
- package/dist/{benchmarks-Qk94Gnj4.js.map → benchmarks-BbPJdmHe.js.map} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +7 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +55 -78
- package/dist/index.js.map +1 -1
- package/dist/{inspect-xAkP4sxi.js → inspect-DCpUoPVb.js} +14 -2
- package/dist/{inspect-xAkP4sxi.js.map → inspect-DCpUoPVb.js.map} +1 -1
- package/dist/memory/index.js +2 -2
- package/dist/{memory-DFSo2iLi.js → memory-BxwOtvd7.js} +2 -2
- package/dist/{memory-DFSo2iLi.js.map → memory-BxwOtvd7.js.map} +1 -1
- package/docs/architecture.md +4 -0
- package/package.json +3 -3
- package/skills/build-with-agent-knowledge/SKILL.md +9 -10
|
@@ -2963,7 +2963,19 @@ function gradeFor(evidence, execution) {
|
|
|
2963
2963
|
verdict: "unrunnable",
|
|
2964
2964
|
note: TRUNCATED_OUTPUT_NOTE
|
|
2965
2965
|
};
|
|
2966
|
-
if (execution.exitCode !== 0)
|
|
2966
|
+
if (execution.exitCode !== 0) {
|
|
2967
|
+
if (evidence.expect && output.includes(evidence.expect) && !UNRUNNABLE_SIGNATURES.test(evidence.expect) && !UNRUNNABLE_SIGNATURES.test(output)) {
|
|
2968
|
+
if (mustBeCheckable) {
|
|
2969
|
+
const note = expectationRefusalNote(evidence.expect);
|
|
2970
|
+
if (note) return {
|
|
2971
|
+
verdict: "uncheckable",
|
|
2972
|
+
note
|
|
2973
|
+
};
|
|
2974
|
+
}
|
|
2975
|
+
return { verdict: "verified" };
|
|
2976
|
+
}
|
|
2977
|
+
return refutation(output, evidence.expect);
|
|
2978
|
+
}
|
|
2967
2979
|
if (mustBeCheckable) {
|
|
2968
2980
|
const note = expectationRefusalNote(evidence.expect);
|
|
2969
2981
|
if (note) return {
|
|
@@ -4007,4 +4019,4 @@ function explainKnowledgeTarget(index, target) {
|
|
|
4007
4019
|
//#endregion
|
|
4008
4020
|
export { formatKnowledgeCitationReference as $, inspectPendingKnowledgeMutation as $t, addSourceText as A, writeJsonDurableWithinRoot as An, ResearchSourceVersionSchema as At, KB_STORE_DIR as B, claimId as Bt, gradeClaims as C, renameDurable as Cn, KnowledgePageSchema as Ct, buildKnowledgeIndex as D, writeFileDurable as Dn, ResearchClaimEvidenceSchema as Dt, verifyGradeableEvidence as E, withSafeDirectory as En, KnowledgeRelationSchema as Et, ClaimLedgerMigrationRequiredError as F, assertDeepQuestionIntegrity as Ft, KnowledgeCitationAuditError as G, materializeRegisteredClaimEvidence as Gt, assertClaimLedgerId as H, deepQuestionId as Ht, FileSystemKbStore as I, assertResearchClaimEvidenceIntegrity as It, assertKnowledgeCitationAudit as J, normalizeClaimText as Jt, KnowledgeCitationResolutionError as K, mergeClaimLedgers as Kt, KB_CLAIM_LEDGER_DIR as L, assertResearchClaimLedgerIntegrity as Lt, snapshotSourceTextInput as M, textSourceAdapter as Mn, SourceRecordSchema as Mt, sourceRegistryPath as N, KNOWLEDGE_EVENT_TYPES as Nt, writeKnowledgeIndex as O, writeFileDurableWithinRoot as On, ResearchClaimLedgerSchema as Ot, writeSourceRegistry as P, ClaimLedgerGoalConflictError as Pt, auditKnowledgeCitations as Q, acquireDurableFileLock as Qt, KB_EVENTS_PATH as R, assertTrackedClaimIntegrity as Rt, claimCheckKey as S, removeDurable as Sn, KnowledgePageInvalidationSchema as St, verdictFor as T, withSafeDescendant as Tn, KnowledgeRelationNodeSchema as Tt, buildKnowledgeGraph as U, emptyClaimLedger as Ut, MemoryKbStore as V, claimSourceHost as Vt, knowledgePageRelations as W, linkClaimContradictions as Wt, assertRunScopedCitationsResolved as X, formatFrontmatter as Xt, assertKnowledgeCitationsResolved as Y, researchSourceVersionKey as Yt, auditCurrentRunCitations as Z, parseFrontmatter as Zt, lintKnowledgeIndex as _, isMissingFile as _n, KnowledgeBaseCandidateSchema as _t, applyKnowledgeWriteBlocksFile as a, applyKnowledgeFileTransaction as an, SCAFFOLD_PAGE_BASENAMES as at, UncheckableClaimError as b, readRegularFileWithinRoot as bn, KnowledgeGraphNodeSchema as bt, KnowledgeDuplicateIntakeError as c, finishKnowledgeFileTransaction as cn, isScaffoldPath as ct, createFileRunLineageAuthority as d, rollbackKnowledgeFileTransaction as dn, loadKnowledgePages as dt, isKnowledgeMutationHeld as en, parseKnowledgeCitationReference as et, createRunScopedStores as f, DEFAULT_PAGES_DIRECTORY as fn, writeJson as ft, validateKnowledgeIndex as g, isKernelAnchoredPath as gn, DeepQuestionSchema as gt, normalizePageText as h, canonicalRelativeWithinRoot as hn, normalizeLinkTarget as ht, applyKnowledgeWriteBlocks as i, withKnowledgeRead as in, resolveRunScopedCitations as it, loadSourceRegistry as j, mediaTypeFor$1 as jn, SourceAnchorSchema as jt, addSourcePath as k, writeJsonDurable as kn, ResearchClaimRecordSchema as kt, assertKnowledgeWriteIntake as l, knowledgeFileTransactionPlanHash as ln, knowledgePageFromMarkdown as lt, detectNearDuplicatePages as m, canonicalPathsEqual as mn, extractWikilinks as mt, inspectKnowledgeIndex as n, runInKnowledgeMutationScope as nn, resolveKnowledgeCitations as nt, isSafeKnowledgePath as o, assertKnowledgeMutationPath as on, initKnowledgeBase as ot, originatedPages as p, normalizePagesDirectory as pn, WIKILINK_REGEX as pt, assertCurrentRunCitationsResolved as q, mergeTrackedClaims as qt, stringMetadata as r, withKnowledgeMutation as rn, resolveRunScopedCitation as rt, parseKnowledgeWriteBlocks as s, commitKnowledgeFileMutations as sn, isKnowledgePagePath as st, explainKnowledgeTarget as t, recoverPendingKnowledgeMutation as tn, resolveKnowledgeCitation as tt, RUN_LINEAGE_BASENAME as u, prepareKnowledgeFileTransaction as un, layoutFor as ut, CHECKABLE_RUNG_THRESHOLD as v, listRegularFilesWithinRoot as vn, KnowledgeEventSchema as vt, gradeFor as w, syncDirectory as wn, KnowledgeRelationGraphSchema as wt, assertGradeableEvidence as x, relativeWithinRoot as xn, KnowledgeIndexSchema as xt, DEADLINE_EXIT_CODE as y, readRegularFileNoFollow as yn, KnowledgeGraphEdgeSchema as yt, KB_INDEX_PATH as z, claimEvidenceId as zt };
|
|
4009
4021
|
|
|
4010
|
-
//# sourceMappingURL=inspect-
|
|
4022
|
+
//# sourceMappingURL=inspect-DCpUoPVb.js.map
|