@hasna/browser 0.4.11 → 0.4.13

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 CHANGED
@@ -46,14 +46,18 @@ browser-serve
46
46
 
47
47
  ## Cloud Sync
48
48
 
49
- This package supports cloud sync via `@hasna/cloud`:
49
+ This package supports optional cloud sync through a package-local Postgres connection:
50
50
 
51
51
  ```bash
52
- cloud setup
53
- cloud sync push --service browser
54
- cloud sync pull --service browser
52
+ export HASNA_BROWSER_CLOUD_DATABASE_URL=postgres://...
53
+ browser cloud status
54
+ browser cloud push
55
+ browser cloud pull
56
+ browser cloud sync
55
57
  ```
56
58
 
59
+ The MCP server also exposes `cloud_status`, `cloud_push`, `cloud_pull`, and `cloud_sync`.
60
+
57
61
  ## Data Directory
58
62
 
59
63
  Data is stored in `~/.hasna/browser/`.
@@ -0,0 +1,3 @@
1
+ import type { Command } from "commander";
2
+ export declare function registerCloudCommands(program: Command): void;
3
+ //# sourceMappingURL=cloud.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/cloud.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAmCzC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAsF5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/tools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAczC,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,QAqmBxC"}
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/tools.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAczC,wBAAgB,QAAQ,CAAC,OAAO,EAAE,OAAO,QAomBxC"}