@liendev/lien 0.39.0 → 0.40.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/dist/index.js CHANGED
@@ -3828,13 +3828,11 @@ import {
3828
3828
  getCurrentBranch,
3829
3829
  getCurrentCommit,
3830
3830
  readVersionFile,
3831
- extractRepoId,
3832
3831
  DEFAULT_CONCURRENCY,
3833
3832
  DEFAULT_EMBEDDING_BATCH_SIZE,
3834
- DEFAULT_CHUNK_SIZE,
3835
- DEFAULT_CHUNK_OVERLAP,
3836
3833
  DEFAULT_GIT_POLL_INTERVAL_MS
3837
3834
  } from "@liendev/core";
3835
+ import { extractRepoId, DEFAULT_CHUNK_SIZE, DEFAULT_CHUNK_OVERLAP } from "@liendev/parser";
3838
3836
  var VALID_FORMATS = ["text", "json"];
3839
3837
  async function getFileStats(filePath) {
3840
3838
  try {
@@ -4251,7 +4249,7 @@ import {
4251
4249
  detectEcosystems,
4252
4250
  getEcosystemExcludePatterns,
4253
4251
  ALWAYS_IGNORE_PATTERNS
4254
- } from "@liendev/core";
4252
+ } from "@liendev/parser";
4255
4253
  var FileWatcher = class {
4256
4254
  watcher = null;
4257
4255
  rootDir;
@@ -9392,7 +9390,7 @@ import {
9392
9390
  getCanonicalPath,
9393
9391
  isTestFile,
9394
9392
  MAX_CHUNKS_PER_FILE
9395
- } from "@liendev/core";
9393
+ } from "@liendev/parser";
9396
9394
  var SCAN_LIMIT = 1e4;
9397
9395
  async function searchFileChunks(filepaths, ctx) {
9398
9396
  const { vectorDB, workspaceRoot } = ctx;
@@ -9648,7 +9646,7 @@ import {
9648
9646
  matchesFile as matchesFile2,
9649
9647
  getCanonicalPath as getCanonicalPath2,
9650
9648
  isTestFile as isTestFile2
9651
- } from "@liendev/core";
9649
+ } from "@liendev/parser";
9652
9650
  var COMPLEXITY_THRESHOLDS = {
9653
9651
  HIGH_COMPLEXITY_DEPENDENT: 10,
9654
9652
  // Individual file is complex
@@ -10566,9 +10564,9 @@ import {
10566
10564
  indexMultipleFiles as indexMultipleFiles2,
10567
10565
  isGitAvailable,
10568
10566
  isGitRepo as isGitRepo2,
10569
- DEFAULT_GIT_POLL_INTERVAL_MS as DEFAULT_GIT_POLL_INTERVAL_MS2,
10570
- createGitignoreFilter as createGitignoreFilter2
10567
+ DEFAULT_GIT_POLL_INTERVAL_MS as DEFAULT_GIT_POLL_INTERVAL_MS2
10571
10568
  } from "@liendev/core";
10569
+ import { createGitignoreFilter as createGitignoreFilter2 } from "@liendev/parser";
10572
10570
 
10573
10571
  // src/mcp/file-change-handler.ts
10574
10572
  import fs3 from "fs/promises";
@@ -10576,10 +10574,9 @@ import {
10576
10574
  indexMultipleFiles,
10577
10575
  indexSingleFile,
10578
10576
  ManifestManager,
10579
- computeContentHash,
10580
- normalizeToRelativePath as normalizeToRelativePath2,
10581
- createGitignoreFilter
10577
+ normalizeToRelativePath as normalizeToRelativePath2
10582
10578
  } from "@liendev/core";
10579
+ import { computeContentHash, createGitignoreFilter } from "@liendev/parser";
10583
10580
  async function handleFileDeletion(filepath, vectorDB, manifest, log) {
10584
10581
  log(`\u{1F5D1}\uFE0F File deleted: ${filepath}`);
10585
10582
  try {