apiblaze 0.20.43 → 0.20.44

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 +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1246,7 +1246,7 @@ var import_commander = require("commander");
1246
1246
  var import_chalk55 = __toESM(require("chalk"));
1247
1247
 
1248
1248
  // package.json
1249
- var version = "0.20.43";
1249
+ var version = "0.20.44";
1250
1250
 
1251
1251
  // src/index.ts
1252
1252
  init_types();
@@ -5167,6 +5167,9 @@ function printOutcome(o) {
5167
5167
  if (otherEnvs.length) console.log(import_chalk17.default.dim(` (Separate keys were also created for: ${otherEnvs.join(", ")}.)`));
5168
5168
  }
5169
5169
  if (o.endpoint) {
5170
+ const mcpUrl = o.endpoint.replace(/^(https?:\/\/[^./]+)\./, "$1.mcp.").replace(/\/$/, "");
5171
+ console.log();
5172
+ console.log(` ${import_chalk17.default.dim("Connect your agent:")} ${import_chalk17.default.bold(mcpUrl)}`);
5170
5173
  const url = `${o.endpoint.replace(/\/$/, "")}${o.samplePath}`;
5171
5174
  printTryIt(buildTryItCurl(url, o.auth.auth, o.apiKey, o.tenant, o.auth.ownIssuer), [o.tenant, "$TOKEN", o.apiKey]);
5172
5175
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apiblaze",
3
- "version": "0.20.43",
3
+ "version": "0.20.44",
4
4
  "description": "APIblaze CLI — Chat with your APIs, Manage your API keys, users and groups with the APIblaze serverless proxy",
5
5
  "keywords": [
6
6
  "apiblaze",