@hasna/configs 0.2.34 → 0.2.35

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 CHANGED
@@ -1,3 +1,4 @@
1
+
1
2
  Apache License
2
3
  Version 2.0, January 2004
3
4
  http://www.apache.org/licenses/
@@ -175,7 +176,7 @@
175
176
 
176
177
  END OF TERMS AND CONDITIONS
177
178
 
178
- Copyright 2026 hasna
179
+ Copyright 2026 Hasna, Inc.
179
180
 
180
181
  Licensed under the Apache License, Version 2.0 (the "License");
181
182
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -25,6 +25,15 @@ configs profile apply --auto
25
25
  configs-mcp
26
26
  ```
27
27
 
28
+ ## HTTP mode
29
+
30
+ ```bash
31
+ configs-mcp --http # http://127.0.0.1:8807/mcp
32
+ MCP_HTTP=1 configs-mcp
33
+ ```
34
+
35
+ Health: `GET http://127.0.0.1:8807/health`. MCP is also mounted on `configs-serve` at `/mcp`.
36
+
28
37
  ## REST API
29
38
 
30
39
  ```bash
@@ -33,18 +42,14 @@ configs-serve
33
42
 
34
43
  ## Cloud Sync
35
44
 
36
- This package supports optional cloud sync through a package-local Postgres connection:
45
+ This package supports cloud sync via `@hasna/cloud`:
37
46
 
38
47
  ```bash
39
- export HASNA_CONFIGS_CLOUD_DATABASE_URL=postgres://...
40
- configs cloud status
41
- configs cloud push
42
- configs cloud pull
43
- configs cloud sync
48
+ cloud setup
49
+ cloud sync push --service configs
50
+ cloud sync pull --service configs
44
51
  ```
45
52
 
46
- The MCP server also exposes `cloud_status`, `cloud_push`, `cloud_pull`, and `cloud_sync`.
47
-
48
53
  ## Data Directory
49
54
 
50
55
  Data is stored in `~/.hasna/configs/`.