@ff-labs/fff-bun 0.9.7-nightly.960e689 → 0.9.7-nightly.98d4d4e
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/package.json +9 -9
- package/src/fff-api.ts +6 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ff-labs/fff-bun",
|
|
3
|
-
"version": "0.9.7-nightly.
|
|
3
|
+
"version": "0.9.7-nightly.98d4d4e",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "High-performance fuzzy file finder for Bun - perfect for LLM agent tools",
|
|
6
6
|
"type": "module",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
},
|
|
59
59
|
"homepage": "https://github.com/dmtrKovalenko/fff#readme",
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"@ff-labs/fff-bin-darwin-arm64": "0.9.7-nightly.
|
|
62
|
-
"@ff-labs/fff-bin-darwin-x64": "0.9.7-nightly.
|
|
63
|
-
"@ff-labs/fff-bin-linux-x64-gnu": "0.9.7-nightly.
|
|
64
|
-
"@ff-labs/fff-bin-linux-arm64-gnu": "0.9.7-nightly.
|
|
65
|
-
"@ff-labs/fff-bin-linux-x64-musl": "0.9.7-nightly.
|
|
66
|
-
"@ff-labs/fff-bin-linux-arm64-musl": "0.9.7-nightly.
|
|
67
|
-
"@ff-labs/fff-bin-win32-x64": "0.9.7-nightly.
|
|
68
|
-
"@ff-labs/fff-bin-win32-arm64": "0.9.7-nightly.
|
|
61
|
+
"@ff-labs/fff-bin-darwin-arm64": "0.9.7-nightly.98d4d4e",
|
|
62
|
+
"@ff-labs/fff-bin-darwin-x64": "0.9.7-nightly.98d4d4e",
|
|
63
|
+
"@ff-labs/fff-bin-linux-x64-gnu": "0.9.7-nightly.98d4d4e",
|
|
64
|
+
"@ff-labs/fff-bin-linux-arm64-gnu": "0.9.7-nightly.98d4d4e",
|
|
65
|
+
"@ff-labs/fff-bin-linux-x64-musl": "0.9.7-nightly.98d4d4e",
|
|
66
|
+
"@ff-labs/fff-bin-linux-arm64-musl": "0.9.7-nightly.98d4d4e",
|
|
67
|
+
"@ff-labs/fff-bin-win32-x64": "0.9.7-nightly.98d4d4e",
|
|
68
|
+
"@ff-labs/fff-bin-win32-arm64": "0.9.7-nightly.98d4d4e"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/bun": "^1.3.8",
|
package/src/fff-api.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// ----------------------------------------------------------------------------
|
|
2
2
|
// GENERATED FILE - DO NOT EDIT.
|
|
3
|
-
//
|
|
3
|
+
// Copied from: packages/shared/fff-api.ts
|
|
4
4
|
// Run make sync-js-api from the repo root to regenerate.
|
|
5
5
|
// ----------------------------------------------------------------------------
|
|
6
6
|
|
|
@@ -49,23 +49,17 @@ export interface InitOptions {
|
|
|
49
49
|
frecencyDbPath?: string;
|
|
50
50
|
/** Path to query history database (optional, omit to skip query tracker initialization) */
|
|
51
51
|
historyDbPath?: string;
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated No-op. The no-lock LMDB flags showed no measurable win under
|
|
54
|
-
* realistic contention and are now ignored. Kept for source-compat.
|
|
55
|
-
*/
|
|
52
|
+
/** @deprecated no-op */
|
|
56
53
|
useUnsafeNoLock?: boolean;
|
|
57
54
|
/**
|
|
58
55
|
* Disable mmap cache warmup after the initial scan. When mmap cache is
|
|
59
56
|
* enabled (the default), the first grep search is as fast as subsequent
|
|
60
57
|
* ones at the cost of a longer scan time and higher initial memory usage.
|
|
61
|
-
* (default: false)
|
|
62
58
|
*/
|
|
63
59
|
disableMmapCache?: boolean;
|
|
64
60
|
/**
|
|
65
61
|
* Disable the content index built after the initial scan.
|
|
66
62
|
* Content indexing enables faster content-aware filtering during grep.
|
|
67
|
-
* When omitted, follows `disableMmapCache` for backward compatibility.
|
|
68
|
-
* (default: follows `disableMmapCache`)
|
|
69
63
|
*/
|
|
70
64
|
disableContentIndexing?: boolean;
|
|
71
65
|
/**
|
|
@@ -97,10 +91,10 @@ export interface InitOptions {
|
|
|
97
91
|
/** Override for the per-file byte cap in the content cache. */
|
|
98
92
|
cacheBudgetMaxFileSize?: number;
|
|
99
93
|
/**
|
|
100
|
-
* Allow indexing the filesystem root (`/`).
|
|
101
|
-
* will generally require
|
|
102
|
-
*
|
|
103
|
-
|
|
94
|
+
* Allow indexing the filesystem root (`/`).
|
|
95
|
+
* Off by default, having fff instance at the large folder will generally require
|
|
96
|
+
* file watcher and indexing which will consume a lot of resources if performed uncontrolled
|
|
97
|
+
**/
|
|
104
98
|
enableFsRootScanning?: boolean;
|
|
105
99
|
/** Allow indexing the user's home directory. Same trade-off as `enableFsRootScanning`. */
|
|
106
100
|
enableHomeDirScanning?: boolean;
|