@hasna/files 0.2.0 → 0.2.1
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/cli/index.js +4 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4 -0
- package/dist/mcp/index.js +3422 -469
- package/dist/server/index.js +4 -0
- package/package.json +1 -1
package/dist/server/index.js
CHANGED
|
@@ -503,6 +503,10 @@ function listFiles(opts = {}) {
|
|
|
503
503
|
conditions.push("f.machine_id = ?");
|
|
504
504
|
params.push(opts.machine_id);
|
|
505
505
|
}
|
|
506
|
+
if (opts.sync_status) {
|
|
507
|
+
conditions.push("f.sync_status = ?");
|
|
508
|
+
params.push(opts.sync_status);
|
|
509
|
+
}
|
|
506
510
|
if (opts.ext) {
|
|
507
511
|
conditions.push("f.ext = ?");
|
|
508
512
|
params.push(opts.ext.startsWith(".") ? opts.ext : `.${opts.ext}`);
|
package/package.json
CHANGED