@plexor-dev/claude-code-plugin-staging 0.1.0-beta.21 → 0.1.0-beta.22
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.
|
@@ -243,7 +243,8 @@ function main() {
|
|
|
243
243
|
console.log(`│ Run /plexor-setup first. │`);
|
|
244
244
|
console.log(`├─────────────────────────────────────────────┤`);
|
|
245
245
|
console.log(`│ Get your API key at: │`);
|
|
246
|
-
console.log(`│ https://staging.plexorlabs.com
|
|
246
|
+
console.log(`│ https://staging.plexorlabs.com/ │`);
|
|
247
|
+
console.log(`│ api-keys.html │`);
|
|
247
248
|
console.log(`└─────────────────────────────────────────────┘`);
|
|
248
249
|
process.exit(1);
|
|
249
250
|
}
|
package/commands/plexor-login.js
CHANGED
|
@@ -262,7 +262,8 @@ async function main() {
|
|
|
262
262
|
console.log(`│ Human first-run: /plexor-setup │`);
|
|
263
263
|
console.log(`├─────────────────────────────────────────────┤`);
|
|
264
264
|
console.log(`│ Get your API key at: │`);
|
|
265
|
-
console.log(`│ https://staging.plexorlabs.com
|
|
265
|
+
console.log(`│ https://staging.plexorlabs.com/ │`);
|
|
266
|
+
console.log(`│ api-keys.html │`);
|
|
266
267
|
console.log(`├─────────────────────────────────────────────┤`);
|
|
267
268
|
console.log(`│ Secure usage (recommended): │`);
|
|
268
269
|
console.log(`│ echo "plx_..." | /plexor-login │`);
|
package/commands/plexor-setup.md
CHANGED
|
@@ -13,7 +13,7 @@ node ~/.claude/plugins/plexor/commands/plexor-setup.js $ARGUMENTS
|
|
|
13
13
|
|
|
14
14
|
If the user did not provide a key yet, ask them:
|
|
15
15
|
|
|
16
|
-
`Please paste your Plexor API key (starts with plx_). You can get one at https://staging.plexorlabs.com.`
|
|
16
|
+
`Please paste your Plexor API key (starts with plx_). You can get one at https://staging.plexorlabs.com/api-keys.html.`
|
|
17
17
|
|
|
18
18
|
After the user replies with the key, run:
|
|
19
19
|
|
|
@@ -277,7 +277,7 @@ async function main() {
|
|
|
277
277
|
let dashboardUrl = 'https://plexor.dev/dashboard';
|
|
278
278
|
try {
|
|
279
279
|
const url = new URL(apiUrl);
|
|
280
|
-
if (url.hostname
|
|
280
|
+
if (url.hostname === 'staging.api.plexor.dev') {
|
|
281
281
|
dashboardUrl = 'https://staging.plexorlabs.com/dashboard';
|
|
282
282
|
} else {
|
|
283
283
|
const host = url.hostname.replace(/^api\./, '').replace(/\.api\./, '.');
|
package/package.json
CHANGED