@hasna/files 0.2.31 → 0.2.32
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/README.md +2 -2
- package/dist/cli/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,13 +29,13 @@ Add or repair the production S3 destination once. This stores the AWS named
|
|
|
29
29
|
profile on the source and sets it as the default Google Drive destination:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
files sources bootstrap-prod-
|
|
32
|
+
files sources bootstrap-prod-emails
|
|
33
33
|
files sources add-google-drive --all-profiles --all
|
|
34
34
|
files sources sync-google-drive --dry-run
|
|
35
35
|
files sources sync-google-drive
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
The production default is `s3://hasna-xyz-prod-
|
|
38
|
+
The production default is `s3://hasna-xyz-prod-emails/drive/<profile>/...`
|
|
39
39
|
using the `hasna-xyz-infra` AWS profile.
|
|
40
40
|
|
|
41
41
|
For a custom S3 destination, pass the shared AWS profile explicitly:
|
package/dist/cli/index.js
CHANGED
|
@@ -168338,7 +168338,7 @@ 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").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-
|
|
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
168344
|
const legacyProductionNames = new Set([opts.name, "prod-files", "prod-emails-drive"]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/files",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.32",
|
|
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",
|