Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
Reorient forge seeds to realistic humans; simplify forge UI; cover MCP/x402 fixes
nirholasb250e3a16ffa
diff --git a/api/_lib/seed-prompts.js b/api/_lib/seed-prompts.jsindex 34c02b3af..a9ff95ea2 100644--- a/api/_lib/seed-prompts.js+++ b/api/_lib/seed-prompts.js@@ -1,158 +1,141 @@// @ts-check-// Curated prompt pool for the forge auto-seed cron. Every prompt is tuned for-// the FLUX text→image → TRELLIS image→3D pipeline: a single clear subject with-// a strong silhouette, no flat backgrounds, draft-quality friendly geometry.+// Curated prompt pool for the forge auto-seed cron. Every prompt targets the+// FLUX text→image → TRELLIS image→3D pipeline. Realistic human subjects with+// strong silhouettes and clear costume detail produce the best meshes at draft+// quality — avoid thin objects, transparent materials, and busy backgrounds.//-// Two categories: 'avatar' (humanoid characters) and 'accessory' (items those-// characters carry or wear). The cron alternates so the gallery builds a-// coherent character ecosystem rather than a pile of identical knights.+// Two categories: 'avatar' (realistic human characters) and 'accessory'+// (real-world wearables and carried items). The cron alternates so the gallery+// builds a coherent human character ecosystem./** @typedef {{ prompt: string, category: 'avatar' | 'accessory', theme: string }} SeedPrompt *//** @type {SeedPrompt[]} */export const SEED_PROMPTS = [- // ── AVATARS ──────────────────────────────────────────────────────────────-- // Fantasy warriors- { prompt: 'a bulky armored knight in ornate silver plate armor with a red-plumed helmet, standing pose, game character', category: 'avatar', theme: 'knight' },- { prompt: 'a golden paladin in shining armor adorned with sun motifs and a long white cape, heroic pose', category: 'avatar', theme: 'paladin' },- { prompt: 'a dark knight in jet-black spiked armor with glowing red eye slits in the visor', category: 'avatar', theme: 'dark-knight' },- { prompt: 'a female valkyrie warrior in silver winged helmet and chainmail, holding a spear upright', category: 'avatar', theme: 'valkyrie' },- { prompt: 'a rugged viking warrior with a braided beard, fur-trimmed armor and battle axe on shoulder', category: 'avatar', theme: 'viking' },- { prompt: 'a roman centurion in red crested helmet and segmented lorica segmentata armor', category: 'avatar', theme: 'roman' },- { prompt: 'a samurai warrior in full black lacquered o-yoroi armor with a red kabuto helmet', category: 'avatar', theme: 'samurai' },- { prompt: 'a ninja in dark grey shinobi shozoku with twin katana strapped to the back', category: 'avatar', theme: 'ninja' },- { prompt: 'a gladiator fighter wearing a manica arm guard, crested helmet and carrying a round shield', category: 'avatar', theme: 'gladiator' },- { prompt: 'a crusader knight in white tabard with a red cross, full plate armor and kite shield', category: 'avatar', theme: 'crusader' },-- // Fantasy mages & casters- { prompt: 'an elderly wizard in long purple robes with silver stars, a pointed hat and flowing white beard', category: 'avatar', theme: 'wizard' },- { prompt: 'a young witch in a black wide-brimmed hat and dark layered robes, holding a broomstick', category: 'avatar', theme: 'witch' },- { prompt: 'a hooded sorcerer in midnight blue robes with glowing arcane runes embroidered on the sleeves', category: 'avatar', theme: 'sorcerer' },- { prompt: 'a fire mage with flame-orange robes and ember tattoos on their arms, hands glowing with fire', category: 'avatar', theme: 'fire-mage' },- { prompt: 'an ice wizard in pale blue crystalline robes with frost patterns, white hair and icicle staff', category: 'avatar', theme: 'ice-mage' },- { prompt: 'a nature druid wearing bark armor and a leafy antler crown, moss green cloak', category: 'avatar', theme: 'druid' },- { prompt: 'a necromancer in torn black robes with bone accessories and hollow glowing purple eyes', category: 'avatar', theme: 'necromancer' },- { prompt: 'a battle mage in reinforced azure robes over chainmail with geometric arcane symbols on pauldrons', category: 'avatar', theme: 'battle-mage' },-- // Fantasy archers & rogues- { prompt: 'a wood elf ranger in green leather armor with a quiver of arrows and recurve bow', category: 'avatar', theme: 'ranger' },- { prompt: 'a halfling rogue in a brown leather vest with many pockets and daggers at the belt', category: 'avatar', theme: 'rogue' },- { prompt: 'a shadow assassin in form-fitting black leather armor with a face mask and twin blades', category: 'avatar', theme: 'assassin' },- { prompt: 'a swashbuckler pirate captain in a tricorn hat, long coat and rapier at their side', category: 'avatar', theme: 'pirate' },- { prompt: 'a drow dark elf huntress in obsidian leather armor with white hair and a crossbow', category: 'avatar', theme: 'drow' },-- // Fantasy creatures & non-humans- { prompt: 'an orc berserker with green tusked skin, spiked iron shoulder guards and a massive club', category: 'avatar', theme: 'orc' },- { prompt: 'a lizardfolk shaman with green-blue scales, tribal bone necklaces and a feathered staff', category: 'avatar', theme: 'lizardfolk' },- { prompt: 'a gnome tinker in brass goggles, a tool-covered leather apron and wild spiky hair', category: 'avatar', theme: 'gnome' },- { prompt: 'a high elf noble in silver ceremonial armor with elegant ear tips and golden crown', category: 'avatar', theme: 'elf-noble' },- { prompt: 'a dwarf blacksmith with a thick braided red beard, leather apron and hammer in hand', category: 'avatar', theme: 'dwarf' },- { prompt: 'a tiefling warlock with curved horns, deep purple skin and glowing golden eyes in dark robes', category: 'avatar', theme: 'tiefling' },- { prompt: 'a minotaur warrior with bull horns, muscular dark-furred body, wearing a studded loincloth', category: 'avatar', theme: 'minotaur' },- { prompt: 'a beastkin wolf warrior with grey fur, amber eyes and tattered clan armor', category: 'avatar', theme: 'wolfkin' },- { prompt: 'a golem guardian made of mossy stone with glowing blue rune eyes and cracked boulder fists', category: 'avatar', theme: 'golem' },-- // Sci-fi & futuristic- { prompt: 'a space marine in heavy powered exosuit armor with a reflective gold visor and shoulder cannons', category: 'avatar', theme: 'space-marine' },- { prompt: 'a sleek humanoid robot with a polished chrome body, glowing blue chest core and articulated hands', category: 'avatar', theme: 'android' },- { prompt: 'a cyberpunk street fighter with neon blue tattoos, a bionic left arm and mirrored shades', category: 'avatar', theme: 'cyberpunk' },- { prompt: 'an alien diplomat with elongated silver head, large dark eyes, translucent robes and three fingers', category: 'avatar', theme: 'alien' },- { prompt: 'a futuristic bounty hunter in a weathered helmet and matte black armor with holsters', category: 'avatar', theme: 'bounty-hunter' },- { prompt: 'a mech pilot in a form-fitting orange flight suit with a cracked visor and neural jack ports', category: 'avatar', theme: 'mech-pilot' },- { prompt: 'a neon-lit android with a transparent skull revealing circuitry, feminine chrome frame', category: 'avatar', theme: 'neon-android' },- { prompt: 'a bio-augmented soldier with one mechanical eye, plated arms and a combat vest covered in patches', category: 'avatar', theme: 'augmented' },- { prompt: 'a quantum hacker in a sleek black bodysuit with holographic projectors on the wrists', category: 'avatar', theme: 'hacker' },- { prompt: 'a star captain in a weathered deep-space suit with rank insignia and a plasma pistol at the hip', category: 'avatar', theme: 'star-captain' },-- // Mythological & elemental- { prompt: 'a kitsune spirit with white fox ears and a nine-tailed form, wearing traditional miko robes', category: 'avatar', theme: 'kitsune' },- { prompt: 'an oni demon with red skin, two horns, tiger-skin loincloth and an iron kanabo club', category: 'avatar', theme: 'oni' },- { prompt: 'a sea god with deep blue skin, coral crown, flowing water robes and a trident', category: 'avatar', theme: 'sea-god' },- { prompt: 'a storm elemental with a swirling cloud-like body and lightning arcs for eyes', category: 'avatar', theme: 'storm-elemental' },- { prompt: 'a lava golem with cracked obsidian skin, glowing orange cracks and ember eyes', category: 'avatar', theme: 'lava-golem' },- { prompt: 'a forest spirit with bark-like skin, leaf-green hair and glowing sap veins running down the arms', category: 'avatar', theme: 'forest-spirit' },- { prompt: 'an egyptian pharaoh god in golden headpiece and lapis-lazuli collar, crook and flail in hand', category: 'avatar', theme: 'pharaoh' },- { prompt: 'a norse god with a long golden beard, fur mantle, an eye patch and a hammer at their side', category: 'avatar', theme: 'thor-archetype' },-- // Modern & urban- { prompt: 'a streetwear skateboarder with a hooded jacket, sneakers and a skateboard tucked under the arm', category: 'avatar', theme: 'skater' },- { prompt: 'a post-apocalyptic scavenger in a patchwork leather coat, gas mask around the neck, studded knee pads', category: 'avatar', theme: 'scavenger' },- { prompt: 'a professional boxer in silk shorts with gloves raised in a fighting stance', category: 'avatar', theme: 'boxer' },- { prompt: 'a parkour runner in a slim athletic jacket and cargo pants, poised mid-leap', category: 'avatar', theme: 'parkour' },- { prompt: 'a graffiti artist in baggy overalls with paint-stained gloves and a spray can in hand', category: 'avatar', theme: 'graffiti' },-- // ── ACCESSORIES ──────────────────────────────────────────────────────────-- // Swords & blades- { prompt: 'an ornate medieval broadsword with a gold cross guard, leather-wrapped grip and ruby gems on the pommel, game asset', category: 'accessory', theme: 'knight' },- { prompt: 'a curved scimitar with an engraved blade and a crescent-moon shaped hilt inlaid with turquoise', category: 'accessory', theme: 'ranger' },- { prompt: 'a pair of matched twin katana with black lacquer scabbards, silk-wrapped handles and gold fittings', category: 'accessory', theme: 'ninja' },- { prompt: 'a dark knight longsword with a jagged obsidian blade and a skull-shaped cross guard', category: 'accessory', theme: 'dark-knight' },- { prompt: 'a silver elven blade with a leaf-shaped edge and a vine-carved hilt set with an emerald', category: 'accessory', theme: 'elf-noble' },- { prompt: 'a paladin greatsword glowing with golden holy light, intricate cross motifs on the blade', category: 'accessory', theme: 'paladin' },- { prompt: 'a rogue dagger with a wavy blade, slim profile, bone handle and a poison groove along the spine', category: 'accessory', theme: 'rogue' },- { prompt: 'a pirate cutlass with a swept basket hilt, slightly curved blade and a worn leather grip', category: 'accessory', theme: 'pirate' },-- // Axes, hammers & blunt weapons- { prompt: 'a double-headed battle axe with a runic carved blade and oak handle wrapped in iron bands', category: 'accessory', theme: 'viking' },- { prompt: 'a massive iron war hammer with a flat striking face etched with dwarf clan runes, short thick handle', category: 'accessory', theme: 'dwarf' },- { prompt: 'a flanged war mace with a steel spiked head and a velvet-wrapped pommel grip', category: 'accessory', theme: 'crusader' },- { prompt: 'a gladiator trident with three pronged tips and a shaft wrapped in leather cord', category: 'accessory', theme: 'gladiator' },- { prompt: 'a minotaur great club made from a gnarled iron-bound oak log, brutal and heavy', category: 'accessory', theme: 'minotaur' },-- // Staves & wands- { prompt: 'a wizard staff made from twisted oak topped with a large glowing purple crystal orb', category: 'accessory', theme: 'wizard' },- { prompt: 'a fire mage staff with a burning ember crystal at the tip, the shaft scorched black', category: 'accessory', theme: 'fire-mage' },- { prompt: 'an ice scepter with a frost-white crystal globe and silver filigree shaft with snowflake patterns', category: 'accessory', theme: 'ice-mage' },- { prompt: 'a druid gnarled wooden staff with antler branch at the top threaded with green crystals and leaves', category: 'accessory', theme: 'druid' },- { prompt: 'a necromancer bone staff topped with a cracked human skull and wrapped in tattered dark cloth', category: 'accessory', theme: 'necromancer' },- { prompt: 'a glowing arcane wand made of pale birch with an amethyst tip and gold wire wrapping', category: 'accessory', theme: 'sorcerer' },- { prompt: 'a kitsune ceremonial naginata with a curved blade, lacquered shaft and red tassel', category: 'accessory', theme: 'kitsune' },-- // Shields & armor pieces- { prompt: 'a knight tower shield painted with a red dragon crest, bordered with polished steel trim', category: 'accessory', theme: 'knight' },- { prompt: 'a round norse shield with iron boss center, painted in black and gold with runic trim', category: 'accessory', theme: 'viking' },- { prompt: 'a roman scutum rectangular shield in red with golden eagle emblem, curved to the body', category: 'accessory', theme: 'roman' },- { prompt: 'an ornate pauldron shoulder guard in gold with lion head motif and articulated scales', category: 'accessory', theme: 'paladin' },- { prompt: 'a cyberpunk arm bracer with glowing data ports, carbon fibre panels and LED strip lighting', category: 'accessory', theme: 'cyberpunk' },-- // Helmets & headgear- { prompt: 'a great helm with a narrow eye slit and ventail, dented from battle, classic knight style', category: 'accessory', theme: 'knight' },- { prompt: 'a horned viking helmet in iron with a nose guard and etched battle scenes', category: 'accessory', theme: 'viking' },- { prompt: 'a roman legionary galea helmet with a transverse red horsehair crest', category: 'accessory', theme: 'roman' },- { prompt: 'a samurai kabuto helmet in black lacquer with golden antler decorations and a fierce face guard', category: 'accessory', theme: 'samurai' },- { prompt: 'a futuristic space marine helmet with a reflective gold visor and built-in antenna', category: 'accessory', theme: 'space-marine' },- { prompt: 'a wizard pointed hat in midnight blue with silver star patterns and a drooping tip', category: 'accessory', theme: 'wizard' },-- // Ranged weapons- { prompt: 'a longbow made of yew with a recurve tip, detailed wood grain and a leather grip wrap', category: 'accessory', theme: 'ranger' },- { prompt: 'a quiver of arrows with fletched goose-feather shafts in a tooled leather quiver', category: 'accessory', theme: 'ranger' },- { prompt: 'a compact crossbow with a steel prod, walnut stock and trigger mechanism', category: 'accessory', theme: 'drow' },- { prompt: 'a futuristic plasma pistol with a glowing blue barrel and ergonomic grip, compact and sleek', category: 'accessory', theme: 'star-captain' },- { prompt: 'a heavy sci-fi railgun with targeting scope, heat vents and energy cell slots along the barrel', category: 'accessory', theme: 'space-marine' },-- // Bags, books & tools- { prompt: 'a leather adventurer backpack with multiple buckled pouches, a bedroll tied below and rope clipped to the side', category: 'accessory', theme: 'ranger' },- { prompt: 'a spellbook with a worn leather cover, brass corner clasps and glowing arcane runes on the pages', category: 'accessory', theme: 'wizard' },- { prompt: 'a gnome tinker toolbox made of brass and wood, covered in small compartments, cogs and dials', category: 'accessory', theme: 'gnome' },- { prompt: 'a pirate treasure chest in dark wood with iron banding and a heavy padlock', category: 'accessory', theme: 'pirate' },-- // Amulets, orbs & magical items- { prompt: 'a crystal ball on a silver tripod stand, swirling mist visible inside the glass sphere', category: 'accessory', theme: 'sorcerer' },- { prompt: 'a golden amulet with a sapphire stone center and intricate knotwork border on a thick chain', category: 'accessory', theme: 'paladin' },- { prompt: 'a necromancer phylactery, a small black iron box with a green glowing soul gem, chained shut', category: 'accessory', theme: 'necromancer' },- { prompt: 'a fire elemental gem trapped in an ornate silver cage pendant, flickering flames visible inside', category: 'accessory', theme: 'fire-mage' },- { prompt: 'a quantum hacker datapad with holographic display showing cascading code, slim alloy body', category: 'accessory', theme: 'hacker' },- { prompt: 'a cyberpunk neural interface headset with wire leads, titanium frame and a blinking status LED', category: 'accessory', theme: 'cyberpunk' },-- // Boots, cloaks & wearable items- { prompt: 'a pair of heavy iron-toed knight sabatons with articulated plates down the top', category: 'accessory', theme: 'knight' },- { prompt: 'a ranger green hooded cloak, weathered and hemmed with small leaves carved into the border', category: 'accessory', theme: 'ranger' },- { prompt: 'a pair of knee-high pirate leather boots with wide turned-down cuffs and silver buckles', category: 'accessory', theme: 'pirate' },- { prompt: 'an elven circlet crown of woven silver with a single moonstone gem at the center', category: 'accessory', theme: 'elf-noble' },- { prompt: 'a ninja tabi boot in black, split-toe design with a gripping sole and ankle lace detail', category: 'accessory', theme: 'ninja' },- { prompt: 'a scavenger gas mask with cracked lenses, rubber seal and a corrugated filter hose', category: 'accessory', theme: 'scavenger' },+ // ── AVATARS — realistic humans ────────────────────────────────────────────++ // Streetwear & urban+ { prompt: 'a young black man in an oversized white hoodie and baggy jeans, fresh white sneakers, relaxed confident stance, studio lighting', category: 'avatar', theme: 'streetwear' },+ { prompt: 'a hispanic woman in a cropped leather jacket, high-waisted jeans and chunky boots, bold gold hoop earrings, neutral background', category: 'avatar', theme: 'streetwear' },+ { prompt: 'a south asian man in a fitted tracksuit and retro running shoes, gold chain, arms crossed, clean studio background', category: 'avatar', theme: 'streetwear' },+ { prompt: 'a white woman in an oversized graphic tee, biker shorts and platform sneakers, wearing a beanie, street style portrait', category: 'avatar', theme: 'streetwear' },+ { prompt: 'a black woman with natural hair in a brown shearling coat and cargo pants, sculptural jewelry, fashion portrait', category: 'avatar', theme: 'streetwear' },+ { prompt: 'an east asian man in a monochrome grey tech fleece, slim joggers and clean white sneakers, hands in pockets', category: 'avatar', theme: 'streetwear' },+ { prompt: 'a latina woman in a bright red puffer jacket, low-rise jeans and strappy heels, bold lip, confident pose', category: 'avatar', theme: 'streetwear' },+ { prompt: 'a middle eastern man in an olive bomber jacket, straight-leg cargos and leather boots, cropped beard, studio portrait', category: 'avatar', theme: 'streetwear' },++ // Athleisure & sports+ { prompt: 'a muscular black man in a fitted sleeveless gym top and athletic shorts, sports watch, gym portrait lighting', category: 'avatar', theme: 'athletic' },+ { prompt: 'a fit asian woman in a sports bra and high-waisted leggings, hair in a high ponytail, clean studio background', category: 'avatar', theme: 'athletic' },+ { prompt: 'a white male runner in a technical running jacket and slim track pants, earbuds, athletic build, daylight portrait', category: 'avatar', theme: 'athletic' },+ { prompt: 'a black female basketball player in a jersey and shorts, knee sleeve, arms at sides, confident studio pose', category: 'avatar', theme: 'athletic' },+ { prompt: 'a hispanic male boxer in a satin robe over shorts, hands wrapped, short cropped hair, serious expression', category: 'avatar', theme: 'athletic' },+ { prompt: 'an asian female martial artist in a white gi with a black belt, hair back, grounded neutral stance', category: 'avatar', theme: 'athletic' },+ { prompt: 'a south asian male soccer player in a club jersey and shorts, cleats, standing confidently', category: 'avatar', theme: 'athletic' },+ { prompt: 'a fit white woman in a yoga set, sports bra and seamless leggings, minimal jewelry, soft studio light', category: 'avatar', theme: 'athletic' },++ // Business & professional+ { prompt: 'a black man in a perfectly fitted charcoal suit, white dress shirt, no tie, polished oxford shoes, executive portrait', category: 'avatar', theme: 'professional' },+ { prompt: 'an asian woman in a structured blazer and tailored trousers, silk blouse, minimal gold jewelry, office portrait', category: 'avatar', theme: 'professional' },+ { prompt: 'a white man in a navy business suit and pocket square, silver watch, clean shaven, confident posture', category: 'avatar', theme: 'professional' },+ { prompt: 'a latina woman in a cream power suit with wide lapels, statement earrings, natural makeup, professional portrait', category: 'avatar', theme: 'professional' },+ { prompt: 'a south asian man in a slim-fit grey suit and burgundy tie, briefcase in hand, sharp business portrait', category: 'avatar', theme: 'professional' },+ { prompt: 'a middle eastern woman in a white lab coat over business clothes, stethoscope around neck, professional medical portrait', category: 'avatar', theme: 'professional' },++ // Fashion & editorial+ { prompt: 'a tall black woman in a sleek black turtleneck and wide-leg trousers, sculptural minimalist look, editorial fashion portrait', category: 'avatar', theme: 'fashion' },+ { prompt: 'a white man in a vintage denim jacket covered in pins, ripped jeans and chelsea boots, indie fashion portrait', category: 'avatar', theme: 'fashion' },+ { prompt: 'an east asian woman in a pastel micro-pleated skirt and matching top, platform mary janes, harajuku-inspired look', category: 'avatar', theme: 'fashion' },+ { prompt: 'a black man in an embroidered silk shirt and white linen trousers, loafers, summer fashion portrait', category: 'avatar', theme: 'fashion' },+ { prompt: 'a mixed-race woman in a bold geometric print co-ord set, square-toe mules, editorial stance', category: 'avatar', theme: 'fashion' },+ { prompt: 'a white woman in a long camel trench coat, fitted turtleneck and ankle boots, minimalist chic portrait', category: 'avatar', theme: 'fashion' },+ { prompt: 'a south asian man in a richly embroidered sherwani, dress shoes, wedding fashion portrait', category: 'avatar', theme: 'fashion' },+ { prompt: 'a black woman in a red bodycon dress and strappy heels, bold makeup, glamour portrait lighting', category: 'avatar', theme: 'fashion' },++ // Casual & everyday+ { prompt: 'a young white man in a washed blue denim jacket, plain white tee, slim jeans and canvas shoes, casual portrait', category: 'avatar', theme: 'casual' },+ { prompt: 'a black woman in a floral sundress and flat sandals, natural hair down, summer casual portrait', category: 'avatar', theme: 'casual' },+ { prompt: 'an asian man in a quarter-zip pullover, slim chinos and loafers, casual smart portrait', category: 'avatar', theme: 'casual' },+ { prompt: 'a hispanic woman in a cozy oversized knit sweater, straight jeans and ankle boots, autumn casual portrait', category: 'avatar', theme: 'casual' },+ { prompt: 'a middle eastern man in a crisp linen shirt and tailored shorts, leather sandals, relaxed summer portrait', category: 'avatar', theme: 'casual' },+ { prompt: 'a white woman in a classic striped breton top, straight jeans and white sneakers, clean minimalist portrait', category: 'avatar', theme: 'casual' },+ { prompt: 'a black man in a rust-colored corduroy jacket, khaki trousers and white shirt, warm casual portrait', category: 'avatar', theme: 'casual' },+ { prompt: 'a south asian woman in a salwar kameez with a dupatta, traditional everyday casual portrait', category: 'avatar', theme: 'casual' },++ // Subculture & creative+ { prompt: 'a white man with sleeve tattoos in a black band tee, straight-leg black jeans and combat boots, rock portrait', category: 'avatar', theme: 'subculture' },+ { prompt: 'a black woman in a pastel goth outfit, lavender hair, layered skirt and platform shoes, alt fashion portrait', category: 'avatar', theme: 'subculture' },+ { prompt: 'an east asian man with bleached hair in a y2k outfit, baggy low-rise jeans and a slim mesh top, fashion portrait', category: 'avatar', theme: 'subculture' },+ { prompt: 'a latina woman in a vintage 90s windbreaker, bike shorts and chunky sneakers, retro streetwear portrait', category: 'avatar', theme: 'subculture' },+ { prompt: 'a white skateboarder in a loose polo shirt, wide-leg cords and skate shoes, cap turned backwards, portrait', category: 'avatar', theme: 'subculture' },+ { prompt: 'a black man in a dashiki and linen trousers, wooden bead necklace, natural hair, cultural portrait', category: 'avatar', theme: 'subculture' },+ { prompt: 'an asian woman in a full harajuku coord with layered accessories, knee socks and platforms, portrait', category: 'avatar', theme: 'subculture' },+ { prompt: 'a south asian woman in a modern fusion sari-draped outfit, street fashion editorial portrait', category: 'avatar', theme: 'subculture' },++ // ── ACCESSORIES — real-world wearables & carried items ───────────────────++ // Footwear+ { prompt: 'a pair of classic white low-top leather sneakers with clean soles and minimal branding, product shot', category: 'accessory', theme: 'sneakers' },+ { prompt: 'a pair of retro chunky-sole basketball sneakers in black and gold, bold silhouette, product shot', category: 'accessory', theme: 'sneakers' },+ { prompt: 'a pair of worn brown leather chelsea boots with elastic side panels and a stacked heel', category: 'accessory', theme: 'boots' },+ { prompt: 'a pair of strappy black leather heeled sandals with an ankle buckle, elegant product shot', category: 'accessory', theme: 'heels' },+ { prompt: 'a pair of high-top canvas sneakers in off-white with black rubber toe cap', category: 'accessory', theme: 'sneakers' },+ { prompt: 'a pair of sleek black leather oxford dress shoes with a cap-toe detail and leather sole', category: 'accessory', theme: 'dress-shoes' },+ { prompt: 'a pair of white athletic running shoes with a mesh upper and foam midsole, sport product shot', category: 'accessory', theme: 'sneakers' },+ { prompt: 'a pair of tan suede lace-up desert boots with a crepe sole', category: 'accessory', theme: 'boots' },++ // Bags & carriers+ { prompt: 'a structured black leather tote bag with gold hardware, top handles and a detachable strap', category: 'accessory', theme: 'bag' },+ { prompt: 'a slim brown leather messenger bag with a buckle flap, adjustable strap and multiple pockets', category: 'accessory', theme: 'bag' },+ { prompt: 'a canvas and leather trim backpack in tan with a laptop sleeve and brass buckles', category: 'accessory', theme: 'bag' },+ { prompt: 'a small quilted black leather crossbody bag with a gold chain strap, luxury style product shot', category: 'accessory', theme: 'bag' },+ { prompt: 'a sporty nylon drawstring gym bag in black with a side bottle pocket', category: 'accessory', theme: 'bag' },+ { prompt: 'a woven straw summer tote with leather handles and a striped lining, beach bag', category: 'accessory', theme: 'bag' },++ // Outerwear+ { prompt: 'a classic tan trench coat laid flat, double-breasted with belt and epaulettes, clean product shot', category: 'accessory', theme: 'jacket' },+ { prompt: 'a worn brown leather biker jacket with silver zips and a pointed lapel collar', category: 'accessory', theme: 'jacket' },+ { prompt: 'a quilted black puffer jacket with a high collar and elastic cuffs, puffer product shot', category: 'accessory', theme: 'jacket' },+ { prompt: 'a relaxed oversized grey wool overcoat with wide lapels and deep pockets', category: 'accessory', theme: 'jacket' },+ { prompt: 'a varsity jacket in navy and white with leather sleeves and ribbed trim', category: 'accessory', theme: 'jacket' },+ { prompt: 'a lightweight olive field jacket with multiple flap pockets and a hood', category: 'accessory', theme: 'jacket' },++ // Headwear+ { prompt: 'a structured fitted black baseball cap with a curved brim and embroidered logo on front', category: 'accessory', theme: 'hat' },+ { prompt: 'a cream ribbed beanie with a fold-up cuff, soft knit texture, product shot', category: 'accessory', theme: 'hat' },+ { prompt: 'a wide-brim sun hat in natural straw with a black grosgrain band', category: 'accessory', theme: 'hat' },+ { prompt: 'a black wool beret, classic french style, worn at an angle, product shot', category: 'accessory', theme: 'hat' },+ { prompt: 'a snapback trucker hat in mesh with a flat brim and front foam patch', category: 'accessory', theme: 'hat' },++ // Jewelry & watches+ { prompt: 'a chunky gold rope chain necklace with a box clasp, heavy links, luxury product shot', category: 'accessory', theme: 'jewelry' },+ { prompt: 'a silver stainless steel watch with a round dial, date window and mesh bracelet', category: 'accessory', theme: 'watch' },+ { prompt: 'a pair of large gold hoop earrings with a polished finish, classic style', category: 'accessory', theme: 'jewelry' },+ { prompt: 'a wide gold cuff bracelet with a hammered texture and polished edges', category: 'accessory', theme: 'jewelry' },+ { prompt: 'a black rubber sport watch with a chunky case, tachymeter bezel and digital display', category: 'accessory', theme: 'watch' },+ { prompt: 'a stack of thin gold rings in varying widths, laid flat, minimalist jewelry product shot', category: 'accessory', theme: 'jewelry' },+ { prompt: 'a pearl strand necklace with a gold clasp, classic length, clean product shot', category: 'accessory', theme: 'jewelry' },+ { prompt: 'a silver tennis bracelet with clear stones set in a row, elegant product shot', category: 'accessory', theme: 'jewelry' },++ // Eyewear+ { prompt: 'a pair of classic tortoiseshell wayfarer sunglasses with dark lenses, product shot', category: 'accessory', theme: 'eyewear' },+ { prompt: 'a pair of slim gold wire-frame round glasses with clear lenses', category: 'accessory', theme: 'eyewear' },+ { prompt: 'a pair of oversized square black sunglasses with gradient lenses, fashion eyewear product shot', category: 'accessory', theme: 'eyewear' },+ { prompt: 'a pair of sporty wraparound sunglasses in black with mirrored lenses', category: 'accessory', theme: 'eyewear' },++ // Everyday carry+ { prompt: 'a slim bifold wallet in black pebbled leather with card slots visible, product shot', category: 'accessory', theme: 'carry' },+ { prompt: 'a matte black phone case with a card slot on the back, minimal design', category: 'accessory', theme: 'carry' },+ { prompt: 'a stainless steel insulated water bottle in matte black with a loop cap', category: 'accessory', theme: 'carry' },+ { prompt: 'a pair of white wireless over-ear headphones with padded cushions and a folding frame', category: 'accessory', theme: 'carry' },+ { prompt: 'a clean white airpods case with glossy finish, small product shot', category: 'accessory', theme: 'carry' },+ { prompt: 'a vintage-style zippo lighter in brushed silver with a flip lid, product shot', category: 'accessory', theme: 'carry' },++ // Scarves, belts & other+ { prompt: 'a cashmere scarf in camel plaid, loosely folded to show the fringe ends, product shot', category: 'accessory', theme: 'scarf' },+ { prompt: 'a wide leather belt in cognac brown with a silver square buckle', category: 'accessory', theme: 'belt' },+ { prompt: 'a silk pocket square in a deep burgundy paisley pattern, folded in a TV fold', category: 'accessory', theme: 'accessory' },+ { prompt: 'a pair of black leather gloves with a cashmere lining, classic style, product shot', category: 'accessory', theme: 'gloves' },];// OG username pool — short common English words that look like someone grabbed@@ -183,7 +166,7 @@ export const OG_USERNAMES = [// sky & cosmos'comet', 'nova', 'void', 'flare', 'pulse', 'orbit', 'zenith', 'apex','beam', 'arc', 'flux', 'ray', 'haze', 'veil', 'shade', 'glare',- // misc evocative words- 'copse', 'brake', 'weald', 'wold', 'rill', 'beck', 'burn', 'loch',- 'tarn', 'down', 'heath', 'wold', 'sward', 'brae', 'burn',+ // misc+ 'ridge', 'rill', 'beck', 'loch', 'tarn', 'down', 'sward', 'brae',+ 'copse', 'weald', 'wold', 'brake',];diff --git a/pages/forge.html b/pages/forge.htmlindex cb43e444d..b291e7b5f 100644--- a/pages/forge.html+++ b/pages/forge.html@@ -54,19 +54,20 @@.forge-head {/* Reset the global site-nav `header` rule from style.css —this is an in-page hero, not the top bar. */- display: block;+ display: flex;+ align-items: baseline;+ gap: var(--space-md);height: auto;- padding: 0;+ padding: 0 0 var(--space-md);background: none;backdrop-filter: none;-webkit-backdrop-filter: none;- border-bottom: 0;+ border-bottom: 1px solid var(--stroke);overflow: visible;white-space: normal;line-height: var(--leading-normal);z-index: auto;-webkit-app-region: no-drag;- text-align: center;margin-bottom: var(--space-lg);}@@ -85,59 +86,21 @@top: 84px;}}- .forge-eyebrow {- display: inline-flex;- align-items: center;- gap: 0.45rem;- font-family: var(--font-mono);- font-size: var(--text-xs);- letter-spacing: 0.16em;- text-transform: uppercase;- color: var(--ink-dim);- border: 1px solid var(--stroke);- border-radius: 999px;- padding: 0.3rem 0.7rem;- }- .forge-eyebrow::before {- content: '';- width: 6px;- height: 6px;- border-radius: 50%;- background: var(--success);- box-shadow: 0 0 8px var(--success);- }+ /* forge-eyebrow removed — header is now inline h1 + tagline */.forge-head h1 {- display: block;font-family: var(--font-display);- font-size: clamp(2rem, 4.6vw, var(--text-2xl));- line-height: var(--leading-tight);- margin: var(--space-md) auto var(--space-xs);- max-width: 24ch;- background: linear-gradient(115deg, var(--ink) 55%, var(--accent) 125%);- -webkit-background-clip: text;- background-clip: text;- color: transparent;+ font-size: var(--text-xl);+ line-height: 1;+ margin: 0;+ color: var(--ink);+ flex: none;}.forge-head p {color: var(--ink-dim);- max-width: 52ch;- margin: 0 auto;+ font-size: var(--text-sm);+ margin: 0;line-height: var(--leading-normal);}- .forge-head-alt {- margin: 10px auto 0;- font-size: var(--text-sm, 13px);- color: var(--ink-faint, var(--ink-dim));- }- .forge-head-alt a {- color: var(--ink-dim);- text-decoration: underline;- text-underline-offset: 2px;- transition: color 0.15s;- }- .forge-head-alt a:hover {- color: var(--ink, #e8e8e8);- }/* Composer ---------------------------------------------------- */.composer {@@ -149,7 +112,7 @@}.composer textarea {width: 100%;- min-height: 86px;+ min-height: 120px;resize: vertical;background: transparent;border: none;@@ -578,41 +541,45 @@font-weight: 600;}- /* Mode switch -------------------------------------------------- */+ /* Mode switch — now lives inside .composer as the first element */.mode-switch-wrap {display: flex;- margin-bottom: var(--space-sm);+ margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) var(--space-sm);+ border-bottom: 1px solid var(--stroke);}.mode-switch {display: flex;width: 100%;- gap: 2px;- background: var(--surface-1);- border: 1px solid var(--stroke);- border-radius: var(--radius-md);- padding: 3px;+ gap: 0;+ background: transparent;+ border: none;+ border-radius: 0;+ padding: 0;}.mode-switch button {flex: 1;background: transparent;border: none;+ border-bottom: 2px solid transparent;color: var(--ink-dim);font-family: var(--font-display);font-size: var(--text-sm);font-weight: 600;- padding: 0.5rem 0.6rem;- border-radius: var(--radius-sm);+ padding: 0.65rem 0.6rem;+ border-radius: 0;cursor: pointer;transition:- background 0.15s,- color 0.15s;+ color 0.15s,+ border-color 0.15s;+ margin-bottom: -1px;}.mode-switch button:hover {color: var(--ink);}.mode-switch button[aria-selected='true'] {- background: var(--surface-3);+ background: transparent;color: var(--ink);+ border-bottom-color: var(--accent);}.mode-switch button:focus-visible {outline: 2px solid var(--accent);@@ -2218,7 +2185,41 @@transform: translateX(-50%) translateY(-8px);}- /* Empty + error + unconfigured */+ /* Forge empty state — open canvas, not a boxed notice */+ .forge-empty {+ display: flex;+ flex-direction: column;+ align-items: center;+ justify-content: center;+ min-height: 420px;+ gap: var(--space-md);+ border: 1px dashed var(--stroke);+ border-radius: var(--radius-lg);+ background: var(--surface-1);+ }+ .forge-empty-art {+ width: 140px;+ color: var(--ink-dim);+ opacity: 0.6;+ animation: forge-cube-float 6s ease-in-out infinite;+ }+ @keyframes forge-cube-float {+ 0%, 100% { transform: translateY(0); }+ 50% { transform: translateY(-8px); }+ }+ @media (prefers-reduced-motion: reduce) {+ .forge-empty-art { animation: none; }+ }+ .forge-empty-label {+ font-family: var(--font-mono);+ font-size: var(--text-xs);+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--ink-dim);+ margin: 0;+ }++ /* Error + unconfigured notices */.notice {padding: var(--space-2xl) var(--space-lg);text-align: center;@@ -2259,230 +2260,6 @@color: var(--ink);}- /* ── Forge Visual Upgrade ──────────────────────────────────────────- Atmosphere, personality, and energy on top of the functional base.- All overrides; nothing here changes layout or behaviour.- ──────────────────────────────────────────────────────────────── */-- /* Forge-local palette — violet-500 is the "heat" accent for this page- only. Works in dark mode; light mode stays blue (--accent: #2563eb). */- :root {- --forge-violet: rgba(139, 92, 246, 1);- --forge-violet-glow: rgba(139, 92, 246, 0.10);- --forge-violet-soft: rgba(139, 92, 246, 0.07);- --forge-violet-text: #c4b5fd;- }-- /* 1 — Page background: dual radial glows (violet behind hero,- cooler slate behind the workspace). Atmospheric only; both- fade to transparent so they don't colour the content. */- .forge-main {- position: relative;- isolation: isolate;- }- .forge-main::before {- content: '';- position: fixed;- top: -120px;- left: 50%;- transform: translateX(-50%);- width: min(900px, 110vw);- height: 560px;- border-radius: 50%;- background: radial-gradient(ellipse, var(--forge-violet-glow) 0%, transparent 68%);- pointer-events: none;- z-index: -1;- }- html[data-theme='light'] .forge-main::before {- background: radial-gradient(ellipse, rgba(37, 99, 235, 0.07) 0%, transparent 68%);- }- .forge-main::after {- content: '';- position: absolute;- top: 320px;- right: -15%;- width: 600px;- height: 600px;- border-radius: 50%;- background: radial-gradient(ellipse, rgba(99, 102, 241, 0.05) 0%, transparent 70%);- pointer-events: none;- z-index: -1;- }-- /* 2 — Hero heading: violet → ink → bright white.- Breaks the all-white-to-white monotony of the original. */- .forge-head h1 {- background: linear-gradient(- 135deg,- var(--forge-violet-text) 0%,- var(--ink) 42%,- var(--ink-bright) 100%- );- }- html[data-theme='light'] .forge-head h1 {- background: linear-gradient(135deg, #2563eb 0%, #1d212b 45%, #0a0c12 100%);- }-- /* 3 — Eyebrow: pulsing live dot. */- @keyframes forge-live-pulse {- 0%, 100% { box-shadow: 0 0 6px var(--success); }- 50% { box-shadow: 0 0 14px var(--success), 0 0 28px rgba(74, 222, 128, 0.2); }- }- .forge-eyebrow::before {- animation: forge-live-pulse 2.8s ease-in-out infinite;- }- @media (prefers-reduced-motion: reduce) {- .forge-eyebrow::before { animation: none; }- }-- /* Eyebrow pill: subtle gradient border in dark mode. */- html:not([data-theme='light']) .forge-eyebrow {- border-color: transparent;- background: linear-gradient(var(--bg-0), var(--bg-0)) padding-box,- linear-gradient(135deg, rgba(139,92,246,0.4), rgba(255,255,255,0.12)) border-box;- }-- /* 4 — Composer card: deeper glass + violet accent glow on focus. */- .composer {- backdrop-filter: blur(24px);- -webkit-backdrop-filter: blur(24px);- }- .composer:focus-within {- border-color: rgba(255, 255, 255, 0.18);- box-shadow:- 0 24px 60px -30px rgba(0, 0, 0, 0.85),- 0 0 0 1px rgba(139, 92, 246, 0.18),- 0 0 40px rgba(139, 92, 246, 0.05);- }- html[data-theme='light'] .composer:focus-within {- border-color: rgba(37, 99, 235, 0.3);- box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);- }-- /* 5 — Generate button: shimmer sweep on hover + soft idle glow. */- #generate {- position: relative;- overflow: hidden;- box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.08);- transition:- transform 0.12s ease,- opacity 0.15s,- box-shadow 0.3s ease;- }- #generate::after {- content: '';- position: absolute;- inset: 0;- background: linear-gradient(- 100deg,- transparent 0%,- rgba(255, 255, 255, 0.25) 45%,- rgba(255, 255, 255, 0.06) 55%,- transparent 100%- );- transform: translateX(-110%);- transition: transform 0s;- }- #generate:not([disabled]):hover::after {- transform: translateX(110%);- transition: transform 0.5s ease;- }- #generate:not([disabled]) {- box-shadow: 0 2px 18px -4px rgba(255, 255, 255, 0.12);- }- #generate:not([disabled]):hover {- box-shadow:- 0 0 0 4px var(--accent-soft),- 0 8px 28px -8px rgba(255, 255, 255, 0.22),- 0 2px 18px -4px rgba(255, 255, 255, 0.14);- }-- /* 6 — Empty / idle state: larger, gradient-tinted, floating glyph. */- .notice .glyph {- font-size: 3.2rem;- display: inline-block;- background: linear-gradient(135deg, var(--forge-violet-text) 0%, rgba(255,255,255,0.18) 100%);- -webkit-background-clip: text;- background-clip: text;- color: transparent;- animation: forge-idle-float 5s ease-in-out infinite;- filter: drop-shadow(0 0 16px var(--forge-violet-glow));- }- @keyframes forge-idle-float {- 0%, 100% { transform: translateY(0); }- 50% { transform: translateY(-6px); }- }- html[data-theme='light'] .notice .glyph {- background: linear-gradient(135deg, #2563eb 0%, rgba(37, 99, 235, 0.35) 100%);- }- @media (prefers-reduced-motion: reduce) {- .notice .glyph { animation: none; }- }-- /* 7 — 3D viewer background: cool slate/indigo replaces the brownish warm. */- .result model-viewer,- .idle-viewer-wrap model-viewer {- background: radial-gradient(140% 130% at 50% 0%, #0f1123 0%, #080a10 70%);- }- html[data-theme='light'] .result model-viewer,- html[data-theme='light'] .idle-viewer-wrap model-viewer {- background: radial-gradient(140% 130% at 50% 0%, #e8eaf6 0%, #dde1f0 70%);- }-- /* 8 — Result bar: hairline gradient top edge. */- .result-bar {- position: relative;- }- .result-bar::before {- content: '';- position: absolute;- top: 0; left: 5%; right: 5%;- height: 1px;- background: linear-gradient(- 90deg,- transparent,- rgba(139, 92, 246, 0.3) 30%,- rgba(255, 255, 255, 0.14) 50%,- rgba(139, 92, 246, 0.3) 70%,- transparent- );- }- html[data-theme='light'] .result-bar::before {- background: linear-gradient(- 90deg,- transparent,- rgba(37, 99, 235, 0.25) 30%,- rgba(37, 99, 235, 0.12) 50%,- rgba(37, 99, 235, 0.25) 70%,- transparent- );- }-- /* 9 — Generation progress bar: gradient fill with violet leading edge. */- .gen-progress-fill {- background: linear-gradient(- 90deg,- rgba(139, 92, 246, 0.7),- color-mix(in srgb, var(--accent) 80%, var(--forge-violet) 20%),- var(--accent)- );- }-- /* 10 — Example chips: accent border + soft violet fill on hover. */- .chip:hover {- background: var(--forge-violet-soft);- border-color: rgba(139, 92, 246, 0.4);- color: var(--ink);- }- html[data-theme='light'] .chip:hover {- background: rgba(37, 99, 235, 0.06);- border-color: rgba(37, 99, 235, 0.3);- }-- /* 11 — Stage panel: subtle gradient glow on the border in dark mode. */- html:not([data-theme='light']) .panel {- box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.06), 0 24px 64px -24px rgba(0,0,0,0.7);- }</style><link rel="canonical" href="https://three.ws/forge">@@ -2493,42 +2270,33 @@<main class="forge-main"><header class="forge-head">- <span class="forge-eyebrow">Words & photos → 3D · live</span>- <h1>Forge a 3D model from words or photos</h1>- <p>- Describe an object, or drop in up to four photos of it. Forge builds a- textured mesh you can orbit, view in AR, and download as GLB.- </p>- <p class="forge-head-alt">- Making a character? <a href="/create/prompt">Describe it to 3D</a> builds a- rigged avatar that can move.- </p>+ <h1>Forge</h1>+ <p>Text or photos → textured 3D model. Orbit, AR, download.</p></header><div class="forge-workspace"><div class="forge-rail">- <div class="mode-switch-wrap">- <div- class="mode-switch"- role="tablist"- aria-label="Generation mode"- id="mode-switch"- >- <button type="button" role="tab" data-mode="text" aria-selected="true">- Describe it- </button>- <button type="button" role="tab" data-mode="image" aria-selected="false">- From photos- </button>- <!-- Hidden until the catalog reports a live sketch engine (TripoSG- self-host) — no dead tab on deployments without the worker. -->- <button type="button" role="tab" data-mode="sketch" aria-selected="false" hidden>- From a sketch- </button>- </div>- </div>-<form class="composer" id="composer" autocomplete="off">+ <div class="mode-switch-wrap">+ <div+ class="mode-switch"+ role="tablist"+ aria-label="Generation mode"+ id="mode-switch"+ >+ <button type="button" role="tab" data-mode="text" aria-selected="true">+ Describe it+ </button>+ <button type="button" role="tab" data-mode="image" aria-selected="false">+ From photos+ </button>+ <!-- Hidden until the catalog reports a live sketch engine (TripoSG+ self-host) — no dead tab on deployments without the worker. -->+ <button type="button" role="tab" data-mode="sketch" aria-selected="false" hidden>+ From a sketch+ </button>+ </div>+ </div><!-- Text → 3D --><div id="text-pane"><label for="prompt" class="is-hidden">Describe the object to generate</label>@@ -2677,11 +2445,11 @@<button type="button" data-aspect="3:4" aria-pressed="false">3:4</button><button type="button" data-aspect="16:9" aria-pressed="false">16:9</button></div>- <button class="btn" id="generate" type="submit">- <span id="generate-label">Generate</span>- <kbd class="gen-kbd" aria-hidden="true">⌘↵</kbd>- </button></div>+ <button class="btn" id="generate" type="submit">+ <span id="generate-label">Generate</span>+ <kbd class="gen-kbd" aria-hidden="true">⌘↵</kbd>+ </button></form>@@ -2696,14 +2464,32 @@<section class="stage" id="stage" aria-live="polite"><!-- Empty / idle -->- <div class="panel notice" id="state-empty">- <span class="glyph" aria-hidden="true">◳</span>- <h3>Nothing forged yet</h3>- <p>- Type a description and tap an example, or switch to- <strong>From photos</strong> and drop in up to four views of one object.- Generation reconstructs a textured mesh — usually 30–90 seconds.- </p>+ <div class="forge-empty" id="state-empty">+ <div class="forge-empty-art" aria-hidden="true">+ <svg viewBox="0 0 240 200" fill="none" xmlns="http://www.w3.org/2000/svg">+ <!-- isometric cube wireframe -->+ <g stroke="currentColor" stroke-linecap="round" stroke-linejoin="round">+ <!-- top face -->+ <polygon points="120,24 190,64 120,104 50,64" stroke-width="1.5" opacity="0.5"/>+ <!-- left face -->+ <polygon points="50,64 120,104 120,168 50,128" stroke-width="1.5" opacity="0.3"/>+ <!-- right face -->+ <polygon points="190,64 120,104 120,168 190,128" stroke-width="1.5" opacity="0.3"/>+ <!-- internal cross lines on top face -->+ <line x1="120" y1="24" x2="120" y2="104" stroke-width="0.75" opacity="0.2"/>+ <line x1="50" y1="64" x2="190" y2="64" stroke-width="0.75" opacity="0.2"/>+ <!-- vertex dots -->+ <circle cx="120" cy="24" r="2.5" fill="currentColor" opacity="0.5"/>+ <circle cx="190" cy="64" r="2.5" fill="currentColor" opacity="0.4"/>+ <circle cx="50" cy="64" r="2.5" fill="currentColor" opacity="0.4"/>+ <circle cx="120" cy="104" r="2.5" fill="currentColor" opacity="0.6"/>+ <circle cx="190" cy="128" r="2.5" fill="currentColor" opacity="0.3"/>+ <circle cx="50" cy="128" r="2.5" fill="currentColor" opacity="0.3"/>+ <circle cx="120" cy="168" r="2.5" fill="currentColor" opacity="0.4"/>+ </g>+ </svg>+ </div>+ <p class="forge-empty-label">Enter a prompt to generate</p></div><!-- Generating -->diff --git a/tests/api/mcp.test.js b/tests/api/mcp.test.jsindex 58912c84a..9297dadad 100644--- a/tests/api/mcp.test.js+++ b/tests/api/mcp.test.js@@ -359,6 +359,35 @@ describe('Protocol layer', () => {expect(names).toContain('list_my_avatars');});+ it('tools/list with no jsonrpc field still succeeds (minimal-client tolerance)', async () => {+ authState.extracted = 'valid-token';+ authState.bearer = FULL_AUTH;++ // Minimal/legacy MCP clients omit the `jsonrpc: "2.0"` envelope on+ // discovery calls. Rejecting those with -32600 broke interop; an absent+ // version must be tolerated (auth/pricing still gate the call).+ const { status, body } = await invoke({+ body: { id: 1, method: 'tools/list', params: {} },+ headers: { authorization: 'Bearer valid-token' },+ });++ expect(status).toBe(200);+ expect(body.result.tools.length).toBeGreaterThan(0);+ });++ it('a present-but-wrong jsonrpc version is still rejected with -32600', async () => {+ authState.extracted = 'valid-token';+ authState.bearer = FULL_AUTH;++ const { status, body } = await invoke({+ body: { jsonrpc: '1.0', id: 1, method: 'tools/list', params: {} },+ headers: { authorization: 'Bearer valid-token' },+ });++ expect(status).toBe(200);+ expect(body.error.code).toBe(-32600);+ });+it('unknown method returns JSON-RPC -32601 error', async () => {authState.extracted = 'valid-token';authState.bearer = FULL_AUTH;diff --git a/tests/public/x402-pay-core.test.js b/tests/public/x402-pay-core.test.jsindex 00766e2c0..062f51e13 100644--- a/tests/public/x402-pay-core.test.js+++ b/tests/public/x402-pay-core.test.js@@ -135,6 +135,13 @@ describe('buildEip3009TypedData', () => {// validBefore = now + maxTimeoutSecondsexpect(typedData.message.validBefore).toBe(1_000 + 600);expect(authorization.nonce).toBe('0x' + 'ab'.repeat(32));+ // The CDP facilitator /verify rejects numeric time bounds in the+ // authorization payload — they MUST be decimal strings. (The signed+ // typedData.message keeps them numeric; uint256 0 and "0" hash the same.)+ expect(authorization.validAfter).toBe('0');+ expect(authorization.validBefore).toBe(String(1_000 + 600));+ expect(typeof authorization.validAfter).toBe('string');+ expect(typeof authorization.validBefore).toBe('string');});it('generates a random 32-byte nonce when none is supplied', () => {