← Commit history

1.3.12: tour narrative teaches the real flow (AI-first phrase for an STM32H757XIH6, pup goes to town, manufacturer-first + contribute-a-site invitation, adom-lbr downstream to KiCad/Fusion/Altium); re-baked voiceover clips

John Lauer ·a6ebe07b98 ·1mo ago ·parent 332b709
3 files changed +10−10
Cargo.lock+1−1
@@ -4,7 +4,7 @@ version = 4  [[package]] name = "adom-chip-fetcher"-version = "1.3.11"+version = "1.3.12" dependencies = [  "anyhow",  "clap",
Cargo.toml+1−1
@@ -1,6 +1,6 @@ [package] name = "adom-chip-fetcher"-version = "1.3.11"+version = "1.3.12" edition = "2021" description = "Crawls the web on your behalf to gather everything about the chips you care about (datasheet, symbol, footprint, 3D, stock) into one library, by driving Chrome via pup." 
src/ui/index.html+8−8
@@ -595,7 +595,7 @@ dialog.settings{width:min(680px,92vw);overflow:hidden}       <p>Once cf feels familiar, close this whole panel with the X in its corner; the ? in the header brings it back. The library starts with a few sample parts seeded from the Adom Wiki so the cards below are real; delete them any time.</p>       <ol>         <li><span class="num">1</span><div>Check the component lights above and fix anything that is not green. The Components card in Settings has an Install button for each one.<br><button class="btn" id="btn-welcome-settings">Open Settings to Components</button></div></li>-        <li><span class="num">2</span><div>Ask your AI for a chip by part number, using the word <b>cf</b>. Try it right now with a serious one, the STM32H743 (a 480 MHz Cortex-M7):<br><button class="btn btn-primary" id="btn-welcome-example">Copy: "fetch STM32H743VIT6 with cf"</button></div></li>+        <li><span class="num">2</span><div>Ask your AI for a chip by part number, using the word <b>cf</b>. Try it right now with a serious one, the STM32H757 (a 480 MHz dual-core H7):<br><button class="btn btn-primary" id="btn-welcome-example">Copy: "get me all the files for the STM32H757XIH6 with cf"</button></div></li>         <li><span class="num">3</span><div>Cards appear here as parts are fetched. Each card carries the datasheet, the KiCad symbol, the footprint and the 3D model, with one-click open and send-to-EDA buttons. The demo above runs one fetch for you, live.</div></li>       </ol>     </section>@@ -1737,13 +1737,13 @@ async function renderSources() { // ---- Guided tour: floaty transport (play/pause/next/prev/exit), ab captions // on the desktop via the server, pre-baked adom-tts voiceover (checkbox). const TOUR = [-  { text: "Welcome to Chip Fetcher, cf for short. You do not drive this page by hand: your AI does the work. This one-minute tour shows you around.", dur: 11000, act: () => spotlight('newbie') },-  { text: "These are the phrases you say to your AI. Click any one to copy it, paste it to your AI, and cf goes and gets that part.", dur: 10000, act: () => spotlight('say') },-  { text: "These lights are cf's health check: the dashboard, your AI's skills, thirteen helper tools, your desktop, and your parts library. Green means go.", dur: 11000, act: () => spotlight('leds') },-  { text: "Now watch a real lookup land: cf is pulling a resistor bundle from the Adom Wiki right now. For a new part it crawls the manufacturer's site the same way.", dur: 12000, act: tourRunFetch },+  { text: "Welcome to Chip Fetcher, cf for short. You never drive this page by hand. You tell your AI something like: \"get me all the files for the STM32H757XIH6\", and cf takes it from there.", dur: 13000, act: () => spotlight('say') },+  { text: "Your AI injects the part into cf. Then cf opens pup, the AI's own browser on your desktop, and goes to town: crawling the web for every library, datasheet, and 3D model it can find.", dur: 12000, act: () => spotlight('newbie') },+  { text: "It always tries the manufacturer's website first; those files are the most reliable. There is a crawl skill for each vendor site, and the bin of skills is still filling up: figure out a site, contribute the skill, and every Adom user benefits.", dur: 14000, act: () => spotlight('leds') },+  { text: "Watch a fetch land right now: cf is pulling a part bundle from the Adom Wiki. The lights up top are cf's health check; green means it is ready to crawl for real.", dur: 12000, act: tourRunFetch },   { text: "Every part becomes a card: the datasheet, the KiCad symbol, the footprint, and the 3D model, with checks that only go green when the bundle is complete.", dur: 11000, act: tourSelectDemo },-  { text: "The side pane opens every file, aligns pin one, and sends the part straight to KiCad, Fusion, Altium, or OrCAD.", dur: 9000, act: () => spotlight('detail') },-  { text: "That is Chip Fetcher. Ask your AI for any part number, with the word cf, and watch it land here. Close the tour with the X.", dur: 9000, act: () => spotlight('newbie') },+  { text: "Downstream is one click: adom-lbr converts the bundle, and the side pane sends the part straight to KiCad, Fusion 360, or Altium.", dur: 10000, act: () => spotlight('detail') },+  { text: "That is Chip Fetcher. Copy the phrase up top, ask your AI for that STM32H7, or any part you actually need, and watch it land here. Close the tour with the X.", dur: 10000, act: () => spotlight('say') }, ]; let tourIdx = -1, tourTimer = null, tourPaused = false, tourSpot = null; function spotlight(id) {@@ -1908,7 +1908,7 @@ $id('btn-newbie-hide').onclick = async () => {   cfToast('Newbie panel tucked away. The ? button in the header brings it back.', { type: 'ok' }); }; $id('btn-welcome-example').onclick = async () => {-  const p = 'fetch STM32H743VIT6 with cf';+  const p = 'get me all the files for the STM32H757XIH6 with cf';   if (await copyText(p)) cfToast('Copied: ' + p + '. Paste it to your AI.', { type: 'ok' });   else cfToast('Could not copy; type it into your AI instead.', { type: 'err' }); };