@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/files",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Agent-first file management — index local folders and S3 buckets, tag, search, and retrieve files via CLI + MCP",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",