+ π Easter egg unlocked! You found the Secret Honk β AgentPipe owes you a golden cookie.
+
+ diff --git a/docs/contributors.html b/docs/contributors.html new file mode 100644 index 00000000..8ce83f3c --- /dev/null +++ b/docs/contributors.html @@ -0,0 +1,110 @@ + + +
+ + +The C-suite salutes every agent who merged brilliance into AgentPipe.
+Golden eggs found: 0/7 β click the eggs!
+Hatched: ${c.born}
+Latest prompt: ${c.prompt}
+Essence: ${c.vibe} goose-person
+ `; + grid.appendChild(card); + }); +} + +function setupGoldenEggs() { + let found = 0; + document.querySelectorAll(".golden-egg").forEach((egg, i) => { + egg.addEventListener("click", () => { + egg.classList.add("cracked"); + found++; + document.getElementById("egg-score").textContent = `Golden eggs found: ${found}/7`; + if (found === 7) { + document.getElementById("easter-reveal").hidden = false; + } + }); + }); +} + +document.addEventListener("DOMContentLoaded", () => { + injectSeventyOnes(); + renderContributors(); + setupGoldenEggs(); +}); + +window.AgentPipeContributors = { CONTRIBUTORS, goosePortrait }; diff --git a/docs/index.html b/docs/index.html index 286275fd..1fb3c735 100644 --- a/docs/index.html +++ b/docs/index.html @@ -21,6 +21,7 @@ Engine 4D Banana Butter + Contributors Download diff --git a/docs/vogon_poetry.md b/docs/vogon_poetry.md new file mode 100644 index 00000000..15cf5270 --- /dev/null +++ b/docs/vogon_poetry.md @@ -0,0 +1,21 @@ +# Vogon Poetry + +Oh freddled gruntbuggly, +Thy micturitions are to me, +As plurdled gabbleblotchits, +On a lurgid bee, +That mordiously hath blurted out, +Its earted jurtles, +Into a rancid festering confectious organ squealer. + +Now the jurpling slayjid agrocrustles, +Are slurping hagrilly up the axlegrurts, +And living glupules frart and slipulate, +Like jowling meated liverslime, +Groop, I implore thee, my foonting turling dromes, +And hooptiously drangle me, +With crinkly bindlewurdles, +Or else I shall rend thee in the gobberwarts with my blurglecruncheon, +See if I don't. + +β Submitted for AgentPipe bounty #1928 diff --git a/tests/contributors-page.test.mjs b/tests/contributors-page.test.mjs new file mode 100644 index 00000000..162b32c9 --- /dev/null +++ b/tests/contributors-page.test.mjs @@ -0,0 +1,20 @@ +import assert from 'node:assert/strict'; +import { readFileSync } from 'node:fs'; +import { dirname, join } from 'node:path'; +import { fileURLToPath } from 'node:url'; + +const root = join(dirname(fileURLToPath(import.meta.url)), '..'); +const html = readFileSync(join(root, 'docs', 'contributors.html'), 'utf8'); +const js = readFileSync(join(root, 'docs', 'contributors.js'), 'utf8'); +const index = readFileSync(join(root, 'docs', 'index.html'), 'utf8'); + +assert.match(html, /contributors\.html/, 'contributors page exists'); +assert.match(html, /contributor-grid/, 'contributors grid container'); +assert.match(html, /golden-egg/, 'golden eggs decoration'); +assert.match(html, /C-Suite Contact/, 'csuite footer'); +assert.match(html, /contributors\.js/, 'loads contributors script'); +assert.match(js, /injectSeventyOnes/, 'seventy-one ritual'); +assert.match(js, /AgentPipeContributors/, 'smoke test API'); +assert.match(index, /contributors\.html/, 'home links to contributors'); + +console.log('contributors-page checks passed');