@yugenlab/vaayu 0.1.1 → 0.1.3

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.
Files changed (35) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/chunks/{chunk-E5A3SCDJ.js → chunk-6556EKOB.js} +2 -2
  4. package/chunks/{chunk-H76V36OF.js → chunk-7UOXFHEB.js} +6 -6
  5. package/chunks/{chunk-KDRROLVN.js → chunk-D3RVJGO7.js} +2 -2
  6. package/chunks/{chunk-HAPVUJ6A.js → chunk-DOQMEQ5S.js} +9 -7
  7. package/chunks/{chunk-YSU3BWV6.js → chunk-IGBRBFXX.js} +2 -2
  8. package/chunks/{chunk-JZU37VQ5.js → chunk-LVE2EOOH.js} +10 -8
  9. package/chunks/{chunk-L7JICQBW.js → chunk-NHRBVSN3.js} +6 -4
  10. package/chunks/chunk-OBYBBGHA.js +545 -0
  11. package/chunks/{chunk-ITIVYGUG.js → chunk-PJEYJQ2C.js} +7 -5
  12. package/chunks/{chunk-S4TBVCL2.js → chunk-S2HDNNC7.js} +6 -4
  13. package/chunks/{chunk-URGEODS5.js → chunk-TEQKXGIK.js} +5 -5
  14. package/chunks/chunk-U62ABYKD.js +123 -0
  15. package/chunks/{chunk-KC6NRZ7U.js → chunk-UZ6OIVEC.js} +1 -1
  16. package/chunks/{chunk-U6OLJ36B.js → chunk-YJRXLRTE.js} +21 -122
  17. package/chunks/{chunk-IIET2K6D.js → chunk-YSC77CKZ.js} +494 -674
  18. package/chunks/{consolidation-indexer-TOTTDZXW.js → consolidation-indexer-CD6DS2HO.js} +7 -6
  19. package/chunks/{day-consolidation-NKO63HZQ.js → day-consolidation-U3X6P4ZG.js} +3 -3
  20. package/chunks/graphrag-LAZSXLLI.js +14 -0
  21. package/chunks/{hierarchical-temporal-search-ZD46UMKR.js → hierarchical-temporal-search-ETXYYJZK.js} +2 -2
  22. package/chunks/hybrid-search-TX6T3KYH.js +20 -0
  23. package/chunks/{memory-store-KNJPMBLQ.js → memory-store-A6WOWLWC.js} +3 -3
  24. package/chunks/periodic-consolidation-4MACZE6S.js +11 -0
  25. package/chunks/{recall-GMVHWQWW.js → recall-IUPQCBYP.js} +6 -5
  26. package/chunks/search-HHSVHBXC.js +19 -0
  27. package/chunks/{session-store-XKPGKXUS.js → session-store-NDUDYAC7.js} +5 -4
  28. package/chunks/{src-QAXOD5SB.js → src-ZAKUL232.js} +55 -41
  29. package/chunks/vasana-engine-G6BPOFX7.js +10 -0
  30. package/gateway.js +396 -87
  31. package/package.json +1 -1
  32. package/chunks/graphrag-ZI2FSU7S.js +0 -13
  33. package/chunks/hybrid-search-ZVLZVGFS.js +0 -19
  34. package/chunks/periodic-consolidation-BPKOZDGB.js +0 -10
  35. package/chunks/search-7HZETVMZ.js +0 -18
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Sriinnu
3
+ Copyright (c) 2025-2026 Srinivas Pendela
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -358,7 +358,7 @@ Contributions welcome. Please read [CONTRIBUTING.md](CONTRIBUTING.md) before sub
358
358
 
359
359
  ## License
360
360
 
361
- MIT
361
+ MIT © 2025-2026 Srinivas Pendela
362
362
 
363
363
  ---
364
364
 
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MemoryError,
3
3
  getChitraguptaHome
4
- } from "./chunk-KC6NRZ7U.js";
4
+ } from "./chunk-UZ6OIVEC.js";
5
5
 
6
6
  // ../chitragupta/packages/smriti/src/memory-store.ts
7
7
  import fs from "fs";
@@ -243,4 +243,4 @@ export {
243
243
  deleteMemory,
244
244
  listMemoryScopes
245
245
  };
246
- //# sourceMappingURL=chunk-E5A3SCDJ.js.map
246
+ //# sourceMappingURL=chunk-6556EKOB.js.map
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  SessionError,
8
8
  getChitraguptaHome
9
- } from "./chunk-KC6NRZ7U.js";
9
+ } from "./chunk-UZ6OIVEC.js";
10
10
 
11
11
  // ../chitragupta/packages/smriti/src/day-consolidation.ts
12
12
  import fs from "fs";
@@ -607,7 +607,7 @@ var FactExtractor = class {
607
607
  async extractAndSave(text, scope, projectScope) {
608
608
  const facts = await this.extract(text);
609
609
  if (facts.length === 0) return [];
610
- const { appendMemory, getMemory } = await import("./memory-store-KNJPMBLQ.js");
610
+ const { appendMemory, getMemory } = await import("./memory-store-A6WOWLWC.js");
611
611
  const globalScope = scope ?? { type: "global" };
612
612
  const existingMemory = getMemory(globalScope).toLowerCase();
613
613
  for (const fact of facts) {
@@ -696,7 +696,7 @@ async function consolidateDay(date, options) {
696
696
  if (options?.loadSessions) {
697
697
  sessions = await options.loadSessions(date);
698
698
  } else {
699
- const { listSessionsByDate, listTurnsWithTimestamps, loadSession } = await import("./session-store-XKPGKXUS.js");
699
+ const { listSessionsByDate, listTurnsWithTimestamps, loadSession } = await import("./session-store-NDUDYAC7.js");
700
700
  const metas = listSessionsByDate(date);
701
701
  sessions = metas.map((meta) => {
702
702
  try {
@@ -771,7 +771,7 @@ async function consolidateDay(date, options) {
771
771
  fs.mkdirSync(dir, { recursive: true });
772
772
  fs.writeFileSync(dayPath, markdown, "utf-8");
773
773
  try {
774
- const { indexConsolidationSummary } = await import("./consolidation-indexer-TOTTDZXW.js");
774
+ const { indexConsolidationSummary } = await import("./consolidation-indexer-CD6DS2HO.js");
775
775
  await indexConsolidationSummary("daily", date, markdown);
776
776
  } catch {
777
777
  }
@@ -999,7 +999,7 @@ function isDayConsolidated(date) {
999
999
  return fs.existsSync(getDayFilePath(date));
1000
1000
  }
1001
1001
  async function getUnconsolidatedDates(limit) {
1002
- const { listSessionDates } = await import("./session-store-XKPGKXUS.js");
1002
+ const { listSessionDates } = await import("./session-store-NDUDYAC7.js");
1003
1003
  const sessionDates = listSessionDates();
1004
1004
  const unconsolidated = [];
1005
1005
  for (const date of sessionDates) {
@@ -1026,4 +1026,4 @@ export {
1026
1026
  isDayConsolidated,
1027
1027
  getUnconsolidatedDates
1028
1028
  };
1029
- //# sourceMappingURL=chunk-H76V36OF.js.map
1029
+ //# sourceMappingURL=chunk-7UOXFHEB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  searchSessions
3
- } from "./chunk-ITIVYGUG.js";
3
+ } from "./chunk-PJEYJQ2C.js";
4
4
 
5
5
  // ../chitragupta/packages/smriti/src/hybrid-search.ts
6
6
  var PRAMANA_RELIABILITY = {
@@ -430,4 +430,4 @@ export {
430
430
  shouldRetrieve,
431
431
  HybridSearchEngine
432
432
  };
433
- //# sourceMappingURL=chunk-KDRROLVN.js.map
433
+ //# sourceMappingURL=chunk-D3RVJGO7.js.map
@@ -1,16 +1,18 @@
1
1
  import {
2
2
  blobToVector,
3
3
  vectorToBlob
4
- } from "./chunk-JZU37VQ5.js";
4
+ } from "./chunk-LVE2EOOH.js";
5
5
  import {
6
6
  EmbeddingService,
7
7
  cosineSimilarity,
8
8
  fallbackEmbedding
9
9
  } from "./chunk-JAWZ7ANC.js";
10
10
  import {
11
- DatabaseManager,
12
11
  initVectorsSchema
13
- } from "./chunk-U6OLJ36B.js";
12
+ } from "./chunk-YJRXLRTE.js";
13
+ import {
14
+ DatabaseManager
15
+ } from "./chunk-U62ABYKD.js";
14
16
 
15
17
  // ../chitragupta/packages/smriti/src/consolidation-indexer.ts
16
18
  var _embeddingService = null;
@@ -184,7 +186,7 @@ async function backfillConsolidationIndices() {
184
186
  db.prepare("SELECT id FROM embeddings WHERE source_type IN ('daily_summary', 'monthly_summary', 'yearly_summary')").all().map((r) => r.id)
185
187
  );
186
188
  try {
187
- const { listDayFiles, readDayFile } = await import("./day-consolidation-NKO63HZQ.js");
189
+ const { listDayFiles, readDayFile } = await import("./day-consolidation-U3X6P4ZG.js");
188
190
  const dayFiles = listDayFiles();
189
191
  for (const date of dayFiles) {
190
192
  const id = buildEmbeddingId("daily", date);
@@ -198,8 +200,8 @@ async function backfillConsolidationIndices() {
198
200
  } catch {
199
201
  }
200
202
  try {
201
- const { PeriodicConsolidation } = await import("./periodic-consolidation-BPKOZDGB.js");
202
- const { listSessionProjects } = await import("./session-store-XKPGKXUS.js");
203
+ const { PeriodicConsolidation } = await import("./periodic-consolidation-4MACZE6S.js");
204
+ const { listSessionProjects } = await import("./session-store-NDUDYAC7.js");
203
205
  const projectEntries = listSessionProjects();
204
206
  for (const entry of projectEntries) {
205
207
  const project = entry.project;
@@ -235,4 +237,4 @@ export {
235
237
  searchConsolidationSummaries,
236
238
  backfillConsolidationIndices
237
239
  };
238
- //# sourceMappingURL=chunk-HAPVUJ6A.js.map
240
+ //# sourceMappingURL=chunk-DOQMEQ5S.js.map
@@ -7,7 +7,7 @@ var DEPTH_BOOST = {
7
7
  async function hierarchicalTemporalSearch(query, options) {
8
8
  const limit = options?.limit ?? 10;
9
9
  const results = [];
10
- const { searchConsolidationSummaries } = await import("./consolidation-indexer-TOTTDZXW.js");
10
+ const { searchConsolidationSummaries } = await import("./consolidation-indexer-CD6DS2HO.js");
11
11
  const yearlyHits = await searchConsolidationSummaries(query, "yearly", {
12
12
  limit: 3,
13
13
  project: options?.project
@@ -120,4 +120,4 @@ function deduplicateAndSort(results, limit) {
120
120
  export {
121
121
  hierarchicalTemporalSearch
122
122
  };
123
- //# sourceMappingURL=chunk-YSU3BWV6.js.map
123
+ //# sourceMappingURL=chunk-IGBRBFXX.js.map
@@ -1,19 +1,21 @@
1
+ import {
2
+ listSessions,
3
+ loadSession
4
+ } from "./chunk-NHRBVSN3.js";
1
5
  import {
2
6
  EmbeddingService,
3
7
  cosineSimilarity,
4
8
  estimateTokens
5
9
  } from "./chunk-JAWZ7ANC.js";
6
10
  import {
7
- listSessions,
8
- loadSession
9
- } from "./chunk-L7JICQBW.js";
10
- import {
11
- DatabaseManager,
12
11
  initVectorsSchema
13
- } from "./chunk-U6OLJ36B.js";
12
+ } from "./chunk-YJRXLRTE.js";
13
+ import {
14
+ DatabaseManager
15
+ } from "./chunk-U62ABYKD.js";
14
16
  import {
15
17
  getChitraguptaHome
16
- } from "./chunk-KC6NRZ7U.js";
18
+ } from "./chunk-UZ6OIVEC.js";
17
19
 
18
20
  // ../chitragupta/packages/smriti/src/recall.ts
19
21
  import fs2 from "fs";
@@ -711,4 +713,4 @@ export {
711
713
  RecallEngine,
712
714
  migrateEmbeddingsJson
713
715
  };
714
- //# sourceMappingURL=chunk-JZU37VQ5.js.map
716
+ //# sourceMappingURL=chunk-LVE2EOOH.js.map
@@ -1,11 +1,13 @@
1
1
  import {
2
- DatabaseManager,
3
2
  initAgentSchema
4
- } from "./chunk-U6OLJ36B.js";
3
+ } from "./chunk-YJRXLRTE.js";
4
+ import {
5
+ DatabaseManager
6
+ } from "./chunk-U62ABYKD.js";
5
7
  import {
6
8
  SessionError,
7
9
  getChitraguptaHome
8
- } from "./chunk-KC6NRZ7U.js";
10
+ } from "./chunk-UZ6OIVEC.js";
9
11
 
10
12
  // ../chitragupta/packages/smriti/src/session-store.ts
11
13
  import fs from "fs";
@@ -1003,4 +1005,4 @@ export {
1003
1005
  findSessionByMetadata,
1004
1006
  migrateExistingSessions
1005
1007
  };
1006
- //# sourceMappingURL=chunk-L7JICQBW.js.map
1008
+ //# sourceMappingURL=chunk-NHRBVSN3.js.map