@heyamiko/amiko-cli 0.6.2 → 0.6.3

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 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -75932,7 +75932,7 @@ function registerSearchCommand(program2) {
75932
75932
  // src/commands/image.ts
75933
75933
  var TREASURY2 = "FPiZAf3jEnNfCwfvbv46jdPfHbmSepD4Q6iHiLJDQXvb";
75934
75934
  function registerImageCommand(program2) {
75935
- program2.command("image <prompt>").alias("img").description("Generate an image with DALL-E — costs 1 AMIKO").option("--size <size>", "Image size: 1024x1024, 1024x1792, 1792x1024", "1024x1024").option("--quality <q>", "Quality: standard or hd", "standard").option("--model <model>", "Model: dall-e-3 or dall-e-2", "dall-e-3").option("--raw", "Output raw JSON").action(async (prompt2, opts) => {
75935
+ program2.command("image <prompt>").alias("img").description("Generate an image with DALL-E — costs 5 AMIKO").option("--size <size>", "Image size: 1024x1024, 1024x1792, 1792x1024", "1024x1024").option("--quality <q>", "Quality: standard or hd", "standard").option("--model <model>", "Model: dall-e-3 or dall-e-2", "dall-e-3").option("--raw", "Output raw JSON").action(async (prompt2, opts) => {
75936
75936
  const spinner = ora("Generating image...").start();
75937
75937
  try {
75938
75938
  const config2 = loadConfig();
@@ -75952,7 +75952,7 @@ function registerImageCommand(program2) {
75952
75952
  console.error(error("No Solana wallet for AMIKO payment."));
75953
75953
  process.exit(1);
75954
75954
  }
75955
- spinner.text = "Paying 1 AMIKO...";
75955
+ spinner.text = "Paying 5 AMIKO...";
75956
75956
  const transferRes = await fetch(`${billingBase2}/api/crossmint/wallets/${encodeURIComponent(solanaWallet)}/transfer`, {
75957
75957
  method: "POST",
75958
75958
  headers: {
@@ -75961,7 +75961,7 @@ function registerImageCommand(program2) {
75961
75961
  },
75962
75962
  body: JSON.stringify({
75963
75963
  to: TREASURY2,
75964
- amount: "1",
75964
+ amount: "5",
75965
75965
  token: "AMIKO",
75966
75966
  chain: "solana"
75967
75967
  })
@@ -76021,7 +76021,7 @@ function registerImageCommand(program2) {
76021
76021
  }
76022
76022
  }
76023
76023
  console.log("");
76024
- console.log(success("Paid 1 AMIKO") + dim(` tx: ${txHash.slice(0, 16)}...`));
76024
+ console.log(success("Paid 5 AMIKO") + dim(` tx: ${txHash.slice(0, 16)}...`));
76025
76025
  } catch (err) {
76026
76026
  spinner.stop();
76027
76027
  console.error(error(err instanceof Error ? err.message : "Image generation failed"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyamiko/amiko-cli",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Amiko CLI — swap tokens, manage credits, bridge cross-chain, and call marketplace agents",
5
5
  "type": "module",
6
6
  "bin": {