thumbnailgpt 1.0.4 → 1.0.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/dist/index.js CHANGED
@@ -2,14 +2,14 @@ import { Command } from "commander";
2
2
  import readline from "readline";
3
3
  import ora from "ora";
4
4
  import pc from "picocolors";
5
- import { setApiKey, clearApiKey, getApiUrl, setApiUrl } from "./config.js";
5
+ import { setApiKey, clearApiKey, setApiUrl } from "./config.js";
6
6
  import { ThumbnailGPTClient } from "./client.js";
7
7
  import { runMcpServer } from "./mcp.js";
8
8
  const program = new Command();
9
9
  program
10
10
  .name("thumbnailgpt")
11
11
  .description("Official CLI and MCP server for ThumbnailGPT Studio")
12
- .version("1.0.4");
12
+ .version("1.0.5");
13
13
  // 1. Auth Login
14
14
  program
15
15
  .command("login")
@@ -22,7 +22,7 @@ program
22
22
  }
23
23
  if (options.key) {
24
24
  setApiKey(options.key);
25
- console.log(pc.green(`✔ API key saved successfully! (Endpoint: ${getApiUrl()})`));
25
+ console.log(pc.green("✔ API key saved successfully!"));
26
26
  return;
27
27
  }
28
28
  const rl = readline.createInterface({
@@ -61,7 +61,6 @@ program
61
61
  const credits = await client.getCredits();
62
62
  spinner.stop();
63
63
  console.log(pc.bold("\nThumbnailGPT Account"));
64
- console.log(`${pc.gray("Endpoint:")} ${getApiUrl()}`);
65
64
  console.log(`${pc.gray("Plan Status:")} ${pc.cyan(credits.subscription_status.toUpperCase())}`);
66
65
  console.log(`${pc.gray("Credits:")} ${pc.green(pc.bold(String(credits.credits)))} available`);
67
66
  console.log(`${pc.gray("Cost Tiers:")} 1K = 10 cr | 2K = 20 cr | 4K = 30 cr\n`);
package/dist/mcp.js CHANGED
@@ -14,7 +14,7 @@ export async function runMcpServer() {
14
14
  const client = new ThumbnailGPTClient(apiKey);
15
15
  const server = new Server({
16
16
  name: "thumbnailgpt-mcp",
17
- version: "1.0.4",
17
+ version: "1.0.5",
18
18
  }, {
19
19
  capabilities: {
20
20
  tools: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thumbnailgpt",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Official CLI and Model Context Protocol (MCP) server for ThumbnailGPT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",