@hasna/search 0.0.7 → 0.0.8

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 2025 Andrei 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,17 +25,6 @@ search-mcp
25
25
 
26
26
  31 tools available.
27
27
 
28
- ## HTTP mode
29
-
30
- ```bash
31
- search-mcp --http # default port 8832
32
- MCP_HTTP=1 search-mcp
33
- ```
34
-
35
- - Health: `GET http://127.0.0.1:8832/health`
36
- - MCP: `http://127.0.0.1:8832/mcp`
37
- - Stdio remains default. `search-serve` also mounts `/health` and `/mcp`.
38
-
39
28
  ## REST API
40
29
 
41
30
  ```bash
@@ -44,14 +33,17 @@ search-serve
44
33
 
45
34
  ## Cloud Sync
46
35
 
47
- This package supports cloud sync via `@hasna/cloud`:
36
+ Cloud sync is optional. By default search uses local SQLite at `~/.hasna/search/`.
48
37
 
49
38
  ```bash
50
- cloud setup
51
- cloud sync push --service search
52
- cloud sync pull --service search
39
+ search cloud status
40
+ search cloud push
41
+ search cloud pull
42
+ search cloud sync
53
43
  ```
54
44
 
45
+ Set `HASNA_SEARCH_CLOUD_DATABASE_URL` or configure `~/.hasna/search/cloud/config.json` to run in hybrid/cloud mode with PostgreSQL.
46
+
55
47
  ## Data Directory
56
48
 
57
49
  Data is stored in `~/.hasna/search/`.
@@ -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;AAyBzC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAyG5D"}