@hasna/configs 0.2.32 → 0.2.34

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,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 2026 Hasna, Inc.
178
+ Copyright 2026 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
@@ -25,15 +25,6 @@ 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
-
37
28
  ## REST API
38
29
 
39
30
  ```bash
@@ -42,14 +33,18 @@ configs-serve
42
33
 
43
34
  ## Cloud Sync
44
35
 
45
- This package supports cloud sync via `@hasna/cloud`:
36
+ This package supports optional cloud sync through a package-local Postgres connection:
46
37
 
47
38
  ```bash
48
- cloud setup
49
- cloud sync push --service configs
50
- cloud sync pull --service configs
39
+ export HASNA_CONFIGS_CLOUD_DATABASE_URL=postgres://...
40
+ configs cloud status
41
+ configs cloud push
42
+ configs cloud pull
43
+ configs cloud sync
51
44
  ```
52
45
 
46
+ The MCP server also exposes `cloud_status`, `cloud_push`, `cloud_pull`, and `cloud_sync`.
47
+
53
48
  ## Data Directory
54
49
 
55
50
  Data is stored in `~/.hasna/configs/`.
@@ -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/cloud.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA+BzC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA6C5D"}