@hasna/mcps 0.0.20 → 0.0.21
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/LICENSE +1 -2
- package/README.md +11 -4
- package/bin/index.js +31299 -37679
- package/bin/mcp.js +29470 -35905
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12420 -16557
- package/dist/lib/cloud-sync.d.ts +32 -0
- package/dist/lib/db.d.ts +6 -1
- package/dist/lib/remote-storage.d.ts +10 -0
- package/dist/mcp/index.d.ts +1 -3
- package/dist/mcp/index.js +29470 -35905
- package/dist/mcp/server.d.ts +0 -1
- package/package.json +3 -2
- package/dist/mcp/http.d.ts +0 -12
package/LICENSE
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
Apache License
|
|
3
2
|
Version 2.0, January 2004
|
|
4
3
|
http://www.apache.org/licenses/
|
|
@@ -176,7 +175,7 @@
|
|
|
176
175
|
|
|
177
176
|
END OF TERMS AND CONDITIONS
|
|
178
177
|
|
|
179
|
-
Copyright
|
|
178
|
+
Copyright 2025 Hasna
|
|
180
179
|
|
|
181
180
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
181
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -104,14 +104,21 @@ The MCP server exposes registry, finder, machine registry, and fleet orchestrati
|
|
|
104
104
|
|
|
105
105
|
## Cloud Sync
|
|
106
106
|
|
|
107
|
-
This package supports cloud sync
|
|
107
|
+
This package supports optional cloud sync directly against a Postgres/RDS
|
|
108
|
+
database. Local SQLite remains the default.
|
|
108
109
|
|
|
109
110
|
```bash
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
cloud
|
|
111
|
+
export HASNA_MCPS_CLOUD_DATABASE_URL=postgres://...
|
|
112
|
+
|
|
113
|
+
mcps cloud status
|
|
114
|
+
mcps cloud push
|
|
115
|
+
mcps cloud pull
|
|
116
|
+
mcps cloud sync
|
|
113
117
|
```
|
|
114
118
|
|
|
119
|
+
MCP exposes the same flow through `cloud_status`, `cloud_push`, `cloud_pull`,
|
|
120
|
+
and `cloud_sync`.
|
|
121
|
+
|
|
115
122
|
## Data Directory
|
|
116
123
|
|
|
117
124
|
Data is stored in `~/.hasna/mcps/`.
|