aiesthetic-cli 1.0.1 → 1.0.2

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/bin/cli.js +9 -5
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -124,7 +124,8 @@ async function main() {
124
124
  // 1. Check Credits
125
125
  process.stdout.write(` ${color.dim}▶${color.reset} Verifying Account... `);
126
126
  const creditInfo = await request('GET', '/v1/credits');
127
- console.log(`${color.green}Balance: ${creditInfo.credits} credits${color.reset}`);
127
+ const balance = creditInfo.creditsRemaining !== undefined ? creditInfo.creditsRemaining : (creditInfo.credits || 0);
128
+ console.log(`${color.green}Balance: ${balance} credits${color.reset}`);
128
129
 
129
130
  // 2. Generate
130
131
  console.log(` ${color.dim}▶${color.reset} Generating Assets...`);
@@ -151,10 +152,9 @@ async function main() {
151
152
 
152
153
  if (!fs.existsSync(framesDir)) fs.mkdirSync(framesDir, { recursive: true });
153
154
 
154
- // Download Video
155
- process.stdout.write(` ${color.dim}• Downloading video...${color.reset} `);
156
- await downloadFile(assets.videoUrl, path.join(outputDir, 'video.mp4'));
157
- console.log(`${color.green}done${color.reset}`);
155
+ // Download Video (Hidden for Privacy)
156
+ // Removed to protect proprietary animation logic.
157
+ // All motion is now handled via the 360 individual frames.
158
158
 
159
159
  // Download Frames (Parallel)
160
160
  const frameUrls = assets.frames.urls;
@@ -177,6 +177,10 @@ async function main() {
177
177
 
178
178
  console.log(`\n ${color.bold}${color.green}✨ GENERATION SUCCESSFUL${color.reset}`);
179
179
  console.log(` ${color.dim}══════════════════════════════════════════════════════${color.reset}`);
180
+ console.log(` ${color.bold} USAGE DETAILS:${color.reset}`);
181
+ console.log(` ${color.dim}Credits Used :${color.reset} ${assets.usage?.creditsUsed || 3}`);
182
+ console.log(` ${color.dim}Credits Remaining :${color.reset} ${assets.usage?.creditsRemaining || 'Check Dashboard'}`);
183
+ console.log(` ${color.dim}──────────────────────────────────────────────────────${color.reset}`);
180
184
  console.log(` ${color.bold} NEXT STEPS FOR YOUR AI AGENT:${color.reset}`);
181
185
  console.log(` 1. Open the generated README: ${color.cyan}${path.join(outputDir, 'README.md')}${color.reset}`);
182
186
  console.log(` 2. Follow the technical instructions to build the site.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiesthetic-cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "AIesthetic Asset Engine — Generate and download high-quality visual components from your terminal.",
5
5
  "main": "index.js",
6
6
  "bin": {