@hasna/connectors 1.3.34 → 1.3.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.
Files changed (35) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +14 -5
  3. package/bin/index.js +34108 -10301
  4. package/bin/mcp.js +33942 -28682
  5. package/bin/serve.js +40690 -13314
  6. package/dashboard/dist/assets/index-DJjxFlTl.css +1 -0
  7. package/dashboard/dist/assets/index-DNPZ58_i.js +284 -0
  8. package/dashboard/dist/index.html +2 -2
  9. package/dist/cli/components/App.d.ts +2 -1
  10. package/dist/cli/components/CategorySelect.d.ts +2 -1
  11. package/dist/cli/components/ConnectorSelect.d.ts +2 -1
  12. package/dist/cli/components/Header.d.ts +2 -1
  13. package/dist/cli/components/InstallProgress.d.ts +2 -1
  14. package/dist/cli/components/SearchView.d.ts +2 -1
  15. package/dist/db/database.d.ts +3 -16
  16. package/dist/db/pg-migrations.d.ts +1 -1
  17. package/dist/index.js +9654 -129
  18. package/dist/lib/runner.d.ts +5 -3
  19. package/dist/mcp/http.d.ts +14 -0
  20. package/dist/mcp/http.test.d.ts +1 -0
  21. package/dist/mcp/index.d.ts +1 -1
  22. package/dist/mcp/server.d.ts +3 -0
  23. package/package.json +3 -3
  24. package/connectors/cloudflare/bun.lock +0 -32
  25. package/connectors/connect-googleads/.secrets/developer-token.json +0 -1
  26. package/connectors/gmail/bin/index.js +0 -7027
  27. package/connectors/googledrive/bin/index.js +0 -5958
  28. package/connectors/imessage/bin/.gitkeep +0 -2
  29. package/connectors/imessage/bin/index.js +0 -3016
  30. package/connectors/imessage/bun.lock +0 -32
  31. package/dashboard/dist/assets/index-ClBXkNbL.css +0 -1
  32. package/dashboard/dist/assets/index-DvfmyAO4.js +0 -284
  33. package/dist/lib/cloud-sync.d.ts +0 -28
  34. package/dist/lib/remote-storage.d.ts +0 -15
  35. package/dist/lib/storage-sync.d.ts +0 -26
package/LICENSE CHANGED
@@ -176,7 +176,7 @@
176
176
 
177
177
  END OF TERMS AND CONDITIONS
178
178
 
179
- Copyright 2025 Hasna
179
+ Copyright 2026 Hasna, Inc.
180
180
 
181
181
  Licensed under the Apache License, Version 2.0 (the "License");
182
182
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -50,6 +50,15 @@ Key commands:
50
50
  connectors-mcp
51
51
  ```
52
52
 
53
+ ## HTTP mode
54
+
55
+ ```bash
56
+ connectors-mcp --http # http://127.0.0.1:8808/mcp
57
+ MCP_HTTP=1 connectors-mcp
58
+ ```
59
+
60
+ Health: `GET http://127.0.0.1:8808/health`. MCP is also mounted on `connectors-serve` at `/mcp`.
61
+
53
62
  ## REST API
54
63
 
55
64
  ```bash
@@ -78,14 +87,14 @@ Project-local enablement is lightweight:
78
87
 
79
88
  The package no longer copies full connector source trees into each project.
80
89
 
81
- ## Storage
90
+ ## Cloud Sync
82
91
 
83
- Connectors stores data locally in SQLite under the Hasna data directory. The repo includes its own PostgreSQL sync support for remote deployments without depending on the shared cloud package.
92
+ This package supports cloud sync via `@hasna/cloud`:
84
93
 
85
94
  ```bash
86
- export HASNA_CONNECTORS_CLOUD_DATABASE_URL=postgres://...
87
- connectors cloud sync push
88
- connectors cloud sync pull
95
+ cloud setup
96
+ cloud sync push --service connectors
97
+ cloud sync pull --service connectors
89
98
  ```
90
99
 
91
100
  ## Data Directory