@takisvc/code-canvas 0.1.3 → 0.1.4
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/code-canvas.js +29 -1
- package/package.json +1 -1
package/dist/code-canvas.js
CHANGED
|
@@ -251,7 +251,35 @@ function runSetup(account2) {
|
|
|
251
251
|
{ stdio: "inherit" }
|
|
252
252
|
);
|
|
253
253
|
console.log();
|
|
254
|
-
console.log(chalk.green("Setup complete! You can now generate images
|
|
254
|
+
console.log(chalk.green("Setup complete! You can now generate images."));
|
|
255
|
+
console.log();
|
|
256
|
+
console.log(chalk.dim("\u2500".repeat(60)));
|
|
257
|
+
console.log();
|
|
258
|
+
console.log(chalk.bold("Add this prompt to your AI coding assistant:"));
|
|
259
|
+
console.log();
|
|
260
|
+
console.log(chalk.cyan([
|
|
261
|
+
"You have access to an AI image generation tool. **Auto-run immediately \u2014 do NOT ask for a prompt.**",
|
|
262
|
+
"",
|
|
263
|
+
"1. Scan the conversation \u2014 the codebase, language, framework, session activity, AND the developer's personality, tone, and energy.",
|
|
264
|
+
"2. Craft a prompt for a **single collectible stat card image** with this layout:",
|
|
265
|
+
" - **Top half**: A single cute/funny creature (simple, clean, centered \u2014 think mascot, not busy scene). The creature should reflect the developer's vibe or tech stack.",
|
|
266
|
+
" - **Bottom half**: Stats and text on a clean card background:",
|
|
267
|
+
" - Character name (funny, personality-driven)",
|
|
268
|
+
" - HP, Type/Element",
|
|
269
|
+
" - 2 abilities with short descriptions (based on personality traits, habits, and tone \u2014 NOT specific code features)",
|
|
270
|
+
" - A one-liner tagline/quote that sounds like something they'd actually say",
|
|
271
|
+
" - Weakness + Resistance at the bottom",
|
|
272
|
+
" - **Holographic rainbow border** around the whole card",
|
|
273
|
+
" - Keep the illustration **simple and uncluttered** \u2014 the creature should be the focus, not a complex scene",
|
|
274
|
+
" - **Generate exactly one card, not multiple variations**",
|
|
275
|
+
"3. Run immediately:",
|
|
276
|
+
" ```",
|
|
277
|
+
' npx @takisvc/code-canvas "<your card prompt>"',
|
|
278
|
+
" ```",
|
|
279
|
+
"4. Show the saved file path and share-on-X link from the output."
|
|
280
|
+
].join("\n")));
|
|
281
|
+
console.log();
|
|
282
|
+
console.log(chalk.dim("\u2500".repeat(60)));
|
|
255
283
|
return true;
|
|
256
284
|
} catch {
|
|
257
285
|
console.log();
|