@hasna/files 0.2.29 → 0.2.30

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 CHANGED
@@ -168338,11 +168338,11 @@ sources.command("add-google-drive").description("Add a Google Drive source that
168338
168338
  process.exit(1);
168339
168339
  });
168340
168340
  });
168341
- sources.command("bootstrap-prod-files").description("Create or update the production S3 source for Google Drive archive sync").option("--bucket <bucket>", "Production archive bucket", "hasna-xyz-prod-files").option("--region <region>", "AWS region", "us-east-1").option("--aws-profile <profile>", "AWS shared config profile", "hasna-xyz-infra").option("--prefix <prefix>", "S3 key prefix for Drive objects", "google-drive").option("-n, --name <name>", "Source name", "prod-files").option("--no-google-drive-default", "Do not set this source as the default Google Drive destination").option("--json", "Output as JSON").action((opts) => {
168341
+ sources.command("bootstrap-prod-files").alias("bootstrap-prod-emails").description("Create or update the production S3 source for Google Drive archive sync").option("--bucket <bucket>", "Production archive bucket", "hasna-xyz-prod-emails").option("--region <region>", "AWS region", "us-west-2").option("--aws-profile <profile>", "AWS shared config profile", "hasna-xyz-infra").option("--prefix <prefix>", "S3 key prefix for Drive objects", "drive").option("-n, --name <name>", "Source name", "prod-emails-drive").option("--no-google-drive-default", "Do not set this source as the default Google Drive destination").option("--json", "Output as JSON").action((opts) => {
168342
168342
  const machine = getCurrentMachine();
168343
168343
  const config9 = { profile: opts.awsProfile };
168344
- const legacyProductionNames = new Set([opts.name, "prod-files"]);
168345
- const legacyProductionBuckets = new Set([opts.bucket, "hasna-xyz-prod-files", "hasna-prod-files"]);
168344
+ const legacyProductionNames = new Set([opts.name, "prod-emails-drive", "prod-files"]);
168345
+ const legacyProductionBuckets = new Set([opts.bucket, "hasna-xyz-prod-emails", "hasna-xyz-prod-files", "hasna-prod-files"]);
168346
168346
  const allSources = listSources();
168347
168347
  const activeDriveDestinationIds = new Set(allSources.filter((source2) => source2.enabled && source2.type === "google_drive").map((source2) => source2.config.destination_source_id).filter((id) => Boolean(id)));
168348
168348
  const configuredDefaultId = loadConfig().google_drive_default_destination_source_id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/files",
3
- "version": "0.2.29",
3
+ "version": "0.2.30",
4
4
  "description": "Agent-first file management — index local folders and S3 buckets, sync Google Drive, tag, search, and retrieve files via CLI + MCP",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",