@tickernelz/paperclip-pro-adapter-utils 2026.925.0 → 2026.925.2
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/acpx-engine/execute.d.ts.map +1 -1
- package/dist/acpx-engine/execute.js +32 -18
- package/dist/acpx-engine/execute.js.map +1 -1
- package/dist/acpx-engine/execute.test.js +3 -4
- package/dist/acpx-engine/execute.test.js.map +1 -1
- package/dist/paperclip-mcp-mount.d.ts +36 -0
- package/dist/paperclip-mcp-mount.d.ts.map +1 -0
- package/dist/paperclip-mcp-mount.js +101 -0
- package/dist/paperclip-mcp-mount.js.map +1 -0
- package/dist/paperclip-mcp.d.ts +53 -0
- package/dist/paperclip-mcp.d.ts.map +1 -0
- package/dist/paperclip-mcp.js +145 -0
- package/dist/paperclip-mcp.js.map +1 -0
- package/dist/paperclip-mcp.test.d.ts +2 -0
- package/dist/paperclip-mcp.test.d.ts.map +1 -0
- package/dist/paperclip-mcp.test.js +119 -0
- package/dist/paperclip-mcp.test.js.map +1 -0
- package/dist/server-utils.d.ts +4 -0
- package/dist/server-utils.d.ts.map +1 -1
- package/dist/server-utils.js +36 -25
- package/dist/server-utils.js.map +1 -1
- package/dist/server-utils.test.js +2 -2
- package/dist/server-utils.test.js.map +1 -1
- package/node_modules/bare-fs/binding.c +53 -24
- package/node_modules/bare-fs/index.d.ts +12 -10
- package/node_modules/bare-fs/index.js +13 -4
- package/node_modules/bare-fs/package.json +2 -1
- package/node_modules/bare-fs/prebuilds/android-arm/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-ia32/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-x64/bare-fs.bare +0 -0
- package/package.json +2 -2
|
@@ -262,7 +262,7 @@ export type WatcherEventType = 'rename' | 'change'
|
|
|
262
262
|
|
|
263
263
|
export interface WatcherEvents<T extends string | Buffer = string | Buffer> extends EventMap {
|
|
264
264
|
error: [err: Error]
|
|
265
|
-
change: [eventType: WatcherEventType, filename: T]
|
|
265
|
+
change: [eventType: WatcherEventType, filename: T | null]
|
|
266
266
|
/** Emitted once the watcher has stopped watching. */
|
|
267
267
|
close: []
|
|
268
268
|
}
|
|
@@ -270,7 +270,7 @@ export interface WatcherEvents<T extends string | Buffer = string | Buffer> exte
|
|
|
270
270
|
export interface Watcher<T extends string | Buffer = string | Buffer>
|
|
271
271
|
extends
|
|
272
272
|
EventEmitter<WatcherEvents<T>>,
|
|
273
|
-
AsyncIterable<{ eventType: WatcherEventType; filename: T }> {
|
|
273
|
+
AsyncIterable<{ eventType: WatcherEventType; filename: T | null }> {
|
|
274
274
|
/** Stop watching for further changes. Once closed, a `close` event is emitted. */
|
|
275
275
|
close(): void
|
|
276
276
|
/** Prevent the event loop from exiting while the watcher is active. */
|
|
@@ -1306,7 +1306,9 @@ export function unlinkSync(filepath: Path): void
|
|
|
1306
1306
|
|
|
1307
1307
|
/**
|
|
1308
1308
|
* Watch a file or directory for changes. Returns a `Watcher` object. The `callback`, if provided,
|
|
1309
|
-
* is called with `(eventType, filename)` on each change.
|
|
1309
|
+
* is called with `(eventType, filename)` on each change. `filename` is `null` when the platform
|
|
1310
|
+
* could not report which file changed, such as when events were dropped, in which case the watched
|
|
1311
|
+
* path should be rescanned.
|
|
1310
1312
|
* @param opts - `persistent` defaults to `true`; `recursive` (default `false`) also watches
|
|
1311
1313
|
* subdirectories; `encoding` defaults to `'utf8'`.
|
|
1312
1314
|
* @param cb - Called with `(eventType, filename)` on each change; equivalent to listening for the
|
|
@@ -1315,42 +1317,42 @@ export function unlinkSync(filepath: Path): void
|
|
|
1315
1317
|
export function watch(
|
|
1316
1318
|
filepath: Path,
|
|
1317
1319
|
opts: WatcherOptions & { encoding?: BufferEncoding },
|
|
1318
|
-
cb: (eventType: WatcherEventType, filename: string) => void
|
|
1320
|
+
cb: (eventType: WatcherEventType, filename: string | null) => void
|
|
1319
1321
|
): Watcher<string>
|
|
1320
1322
|
|
|
1321
1323
|
export function watch(
|
|
1322
1324
|
filepath: Path,
|
|
1323
1325
|
opts: WatcherOptions & { encoding: 'buffer' },
|
|
1324
|
-
cb: (eventType: WatcherEventType, filename: Buffer) => void
|
|
1326
|
+
cb: (eventType: WatcherEventType, filename: Buffer | null) => void
|
|
1325
1327
|
): Watcher<Buffer>
|
|
1326
1328
|
|
|
1327
1329
|
export function watch(
|
|
1328
1330
|
filepath: Path,
|
|
1329
1331
|
opts: WatcherOptions,
|
|
1330
|
-
cb: (eventType: WatcherEventType, filename: string | Buffer) => void
|
|
1332
|
+
cb: (eventType: WatcherEventType, filename: string | Buffer | null) => void
|
|
1331
1333
|
): Watcher
|
|
1332
1334
|
|
|
1333
1335
|
export function watch(
|
|
1334
1336
|
filepath: Path,
|
|
1335
1337
|
encoding: BufferEncoding,
|
|
1336
|
-
cb: (eventType: WatcherEventType, filename: string) => void
|
|
1338
|
+
cb: (eventType: WatcherEventType, filename: string | null) => void
|
|
1337
1339
|
): Watcher<string>
|
|
1338
1340
|
|
|
1339
1341
|
export function watch(
|
|
1340
1342
|
filepath: Path,
|
|
1341
1343
|
encoding: 'buffer',
|
|
1342
|
-
cb: (eventType: WatcherEventType, filename: Buffer) => void
|
|
1344
|
+
cb: (eventType: WatcherEventType, filename: Buffer | null) => void
|
|
1343
1345
|
): Watcher<Buffer>
|
|
1344
1346
|
|
|
1345
1347
|
export function watch(
|
|
1346
1348
|
filepath: Path,
|
|
1347
1349
|
encoding: BufferEncoding | 'buffer',
|
|
1348
|
-
cb: (eventType: WatcherEventType, filename: string | Buffer) => void
|
|
1350
|
+
cb: (eventType: WatcherEventType, filename: string | Buffer | null) => void
|
|
1349
1351
|
): Watcher
|
|
1350
1352
|
|
|
1351
1353
|
export function watch(
|
|
1352
1354
|
filepath: Path,
|
|
1353
|
-
cb: (eventType: WatcherEventType, filename: string) => void
|
|
1355
|
+
cb: (eventType: WatcherEventType, filename: string | null) => void
|
|
1354
1356
|
): Watcher<string>
|
|
1355
1357
|
|
|
1356
1358
|
/**
|
|
@@ -2592,7 +2592,14 @@ class Watcher extends EventEmitter {
|
|
|
2592
2592
|
|
|
2593
2593
|
this._closed = false
|
|
2594
2594
|
this._encoding = encoding
|
|
2595
|
-
this._handle = binding.watcherInit(
|
|
2595
|
+
this._handle = binding.watcherInit(this, this._onevent, this._onclose)
|
|
2596
|
+
|
|
2597
|
+
try {
|
|
2598
|
+
binding.watcherStart(this._handle, path, recursive)
|
|
2599
|
+
} catch (err) {
|
|
2600
|
+
this.close()
|
|
2601
|
+
throw err
|
|
2602
|
+
}
|
|
2596
2603
|
|
|
2597
2604
|
if (!persistent) this.unref()
|
|
2598
2605
|
|
|
@@ -2668,9 +2675,11 @@ class Watcher extends EventEmitter {
|
|
|
2668
2675
|
this.emit('error', err)
|
|
2669
2676
|
} else {
|
|
2670
2677
|
const path =
|
|
2671
|
-
|
|
2672
|
-
?
|
|
2673
|
-
:
|
|
2678
|
+
filename === null
|
|
2679
|
+
? null
|
|
2680
|
+
: this._encoding === 'buffer'
|
|
2681
|
+
? Buffer.from(filename)
|
|
2682
|
+
: Buffer.from(filename).toString(this._encoding)
|
|
2674
2683
|
|
|
2675
2684
|
if (events & binding.UV_RENAME) {
|
|
2676
2685
|
this.emit('change', 'rename', path)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bare-fs",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.2",
|
|
4
4
|
"description": "Native file system operations for Bare",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package": "./package.json",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"bare-buffer": "^3.0.2",
|
|
59
59
|
"bare-crypto": "^1.11.2",
|
|
60
|
+
"bare-thread": "^1.2.6",
|
|
60
61
|
"brittle": "^3.1.1",
|
|
61
62
|
"cmake-bare": "^1.1.7",
|
|
62
63
|
"lunte": "^1.6.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tickernelz/paperclip-pro-adapter-utils",
|
|
3
|
-
"version": "2026.925.
|
|
3
|
+
"version": "2026.925.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://github.com/tickernelz/paperclip-pro",
|
|
6
6
|
"bugs": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"typecheck": "tsc --noEmit"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@tickernelz/paperclip-pro-shared": "2026.925.
|
|
37
|
+
"@tickernelz/paperclip-pro-shared": "2026.925.2",
|
|
38
38
|
"acpx": "0.12.0",
|
|
39
39
|
"picocolors": "^1.1.1"
|
|
40
40
|
},
|