openclaw-syncralis 2.1.0 → 2.1.1

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/.env.example CHANGED
@@ -1,5 +1,6 @@
1
- PUBLIC_TUNNEL_URL=https://your-domain.ngrok-free.app
2
- URL_SIGNING_SECRET= "your_custom_32_character_secret_here",
1
+ PUBLIC_TUNNEL_URL="https://your-domain.ngrok-free.app"
2
+ NGROK_AUTHTOKEN=your_ngrok_authtoken_here
3
+ URL_SIGNING_SECRET="your_custom_32_character_secret_here"
3
4
  TAVILY_API_KEY=your_tavily_key_here
4
5
  BRAVE_API_KEY=your_brave_key_here
5
6
  FILE_SERVER_HOST=127.0.0.1
@@ -2,7 +2,7 @@
2
2
  "id": "openclaw-syncralis",
3
3
  "name": "openclaw-syncralis",
4
4
  "displayName": "Syncralis Gateway",
5
- "version": "2.1.0",
5
+ "version": "2.1.1",
6
6
  "description": "An industry-grade file sharing, secure download, and load-balanced gateway designed for high-availability OpenClaw environments.",
7
7
  "type": "gateway",
8
8
  "main": "./server.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-syncralis",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "An industry-grade file sharing, secure download, and load-balanced gateway designed for high-availability OpenClaw environments.",
5
5
  "type": "module",
6
6
  "main": "./server.js",
@@ -24,6 +24,14 @@
24
24
  ],
25
25
  "author": "PSLKK <coregravity0.0.0@protonmail.com> (https://pslkk.space)",
26
26
  "license": "ISC",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/pslkk/openclaw-syncralis.git"
30
+ },
31
+ "bugs": {
32
+ "url": "https://github.com/pslkk/openclaw-syncralis/issues"
33
+ },
34
+ "homepage": "https://github.com/pslkk/openclaw-syncralis#readme",
27
35
  "dependencies": {
28
36
  "@modelcontextprotocol/sdk": "^1.29.0",
29
37
  "dotenv": "^17.4.2",
package/server.js CHANGED
@@ -36,6 +36,13 @@ let requestCount = 0;
36
36
 
37
37
  const require = createRequire(import.meta.url);
38
38
  const pdf = require("pdf-parse");
39
+ const pkg = require("./package.json");
40
+
41
+ // Check for version flags before starting the server
42
+ if (process.argv.includes('--version') || process.argv.includes('-v')) {
43
+ console.log(`openclaw-syncralis v${pkg.version}`);
44
+ process.exit(0);
45
+ }
39
46
 
40
47
  const WORKSPACE_DIR = path.join(os.homedir(), '.openclaw', 'workspace');
41
48
  const MAX_FILE_SIZE_BYTES = 50 * 1024 * 1024;
@@ -72,7 +79,7 @@ async function getSecurePath(requestedPath) {
72
79
  }
73
80
 
74
81
  const server = new Server(
75
- { name: "openclaw-syncralis", version: "2.1.0" },
82
+ { name: "openclaw-syncralis", version: "2.1.1" },
76
83
  { capabilities: { tools: {} } }
77
84
  );
78
85