@hasna/browser 0.4.12 → 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 +8 -4
- package/dist/cli/commands/cloud.d.ts +3 -0
- package/dist/cli/commands/cloud.d.ts.map +1 -0
- package/dist/cli/commands/tools.d.ts.map +1 -1
- package/dist/cli/index.js +101997 -73701
- package/dist/db/cloud-sync.d.ts +33 -0
- package/dist/db/cloud-sync.d.ts.map +1 -0
- package/dist/db/remote-storage.d.ts +11 -0
- package/dist/db/remote-storage.d.ts.map +1 -0
- package/dist/db/schema.d.ts +18 -0
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12556 -16414
- package/dist/mcp/cloud.d.ts +3 -0
- package/dist/mcp/cloud.d.ts.map +1 -0
- package/dist/mcp/index.js +98332 -69087
- package/dist/server/index.js +138 -9500
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -46,14 +46,18 @@ browser-serve
|
|
|
46
46
|
|
|
47
47
|
## Cloud Sync
|
|
48
48
|
|
|
49
|
-
This package supports cloud sync
|
|
49
|
+
This package supports optional cloud sync through a package-local Postgres connection:
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
|
-
|
|
53
|
-
cloud
|
|
54
|
-
cloud
|
|
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 @@
|
|
|
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,
|
|
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"}
|