uplink-cli 0.1.0-alpha.4 → 0.1.0-alpha.5
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/cli/src/http.ts +3 -3
- package/package.json +3 -1
package/cli/src/http.ts
CHANGED
|
@@ -18,13 +18,13 @@ function getApiToken(apiBase: string): string | undefined {
|
|
|
18
18
|
return process.env.AGENTCLOUD_TOKEN || undefined;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
// Local dev
|
|
21
|
+
// Local dev:
|
|
22
22
|
// - Prefer AGENTCLOUD_TOKEN if set
|
|
23
|
-
// - Otherwise allow AGENTCLOUD_TOKEN_DEV
|
|
23
|
+
// - Otherwise allow AGENTCLOUD_TOKEN_DEV (no hardcoded default for security)
|
|
24
24
|
return (
|
|
25
25
|
process.env.AGENTCLOUD_TOKEN ||
|
|
26
26
|
process.env.AGENTCLOUD_TOKEN_DEV ||
|
|
27
|
-
|
|
27
|
+
undefined
|
|
28
28
|
);
|
|
29
29
|
}
|
|
30
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uplink-cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.5",
|
|
4
4
|
"description": "Localhost to public URL in seconds. No signup forms, no browser - everything in your terminal.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tunnel",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"better-sqlite3": "^11.10.0",
|
|
51
51
|
"body-parser": "^1.20.3",
|
|
52
52
|
"commander": "^12.1.0",
|
|
53
|
+
"compression": "^1.7.4",
|
|
53
54
|
"dotenv": "^16.6.1",
|
|
54
55
|
"express": "^4.19.2",
|
|
55
56
|
"express-rate-limit": "^8.2.1",
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
"zod": "^4.2.1"
|
|
63
64
|
},
|
|
64
65
|
"devDependencies": {
|
|
66
|
+
"@types/compression": "^1.7.5",
|
|
65
67
|
"@types/express": "^4.17.21",
|
|
66
68
|
"@types/express-rate-limit": "^5.1.3",
|
|
67
69
|
"@types/node": "^22.7.4",
|