@absolutejs/rag 0.0.8 → 0.0.10

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.
@@ -0,0 +1 @@
1
+ export declare const writeFileAtomic: (path: string, data: string, encoding?: BufferEncoding) => Promise<void>;
@@ -2038,7 +2038,10 @@ var buildRAGGroundingReferences = (sources) => {
2038
2038
  };
2039
2039
 
2040
2040
  // src/ai/rag/quality.ts
2041
- var {mkdir, readFile, writeFile} = (() => ({}));
2041
+ var {mkdir, readFile} = (() => ({}));
2042
+
2043
+ // src/ai/rag/atomicWrite.ts
2044
+ var {open, rename, unlink} = (() => ({}));
2042
2045
 
2043
2046
  // node:path
2044
2047
  function assertPath(path) {
@@ -4926,5 +4929,5 @@ export {
4926
4929
  createRAG
4927
4930
  };
4928
4931
 
4929
- //# debugId=54081ECE7E9F6D4964756E2164756E21
4932
+ //# debugId=9C5624658ECF6A0264756E2164756E21
4930
4933
  //# sourceMappingURL=index.js.map