@tryarcanist/cli 0.1.90 → 0.1.92

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 (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -189,6 +189,9 @@ function validateApiUrl(url) {
189
189
  } catch {
190
190
  return "Invalid URL format";
191
191
  }
192
+ if (parsed.username || parsed.password) {
193
+ return "API URL must not include embedded credentials. Use --token or ARCANIST_TOKEN to authenticate.";
194
+ }
192
195
  const host = parsed.hostname.replace(/^\[|\]$/g, "");
193
196
  const isLocal = host === "localhost" || host === "127.0.0.1" || host === "::1";
194
197
  if (parsed.protocol !== "https:" && !isLocal) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryarcanist/cli",
3
- "version": "0.1.90",
3
+ "version": "0.1.92",
4
4
  "description": "CLI for Arcanist — create and manage coding agent sessions",
5
5
  "type": "module",
6
6
  "bin": {