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
feat(pump): discover scoped npm releases dynamically
nirholas7a636bc92ff8
diff --git a/docs/ops/pump-upstream-watch.md b/docs/ops/pump-upstream-watch.mdindex 4967d6580..068f69bae 100644--- a/docs/ops/pump-upstream-watch.md+++ b/docs/ops/pump-upstream-watch.md@@ -11,12 +11,14 @@ Run the same check locally that GitHub runs every day:npm run pump:watch```-The command compares the current npm `latest` tags and every public repository-under `pump-fun` with `data/pump-upstream-baseline.json`. A new package version,-new repository, removed repository, or repository push exits with status 2 and-prints a review report. `.github/workflows/pump-upstream-watch.yml` runs it-daily and opens or refreshes one GitHub issue instead of creating duplicate-alerts. Dependabot separately opens dependency pull requests for `@pump-fun/*`.+The command discovers every current `@pump-fun/*` npm package, compares their+`latest` tags and every public repository under `pump-fun` with+`data/pump-upstream-baseline.json`. A new package, package version, removed+package, new repository, removed repository, or repository push exits with+status 2 and prints a review report. `.github/workflows/pump-upstream-watch.yml`+runs it daily and opens or refreshes one GitHub issue instead of creating+duplicate alerts. Dependabot separately opens dependency pull requests for+`@pump-fun/*`.After reviewing and integrating an upstream change, acknowledge the exactstate in the same pull request:diff --git a/scripts/pump-upstream-watch.mjs b/scripts/pump-upstream-watch.mjsindex 62211e56e..b5d409d46 100644--- a/scripts/pump-upstream-watch.mjs+++ b/scripts/pump-upstream-watch.mjs@@ -11,7 +11,8 @@ const accept = args.has('--accept');const asJson = args.has('--json');const githubToken = process.env.PUMP_WATCH_GITHUB_TOKEN || process.env.GITHUB_TOKEN || '';-const PACKAGES = [+const OFFICIAL_NPM_SCOPE = '@pump-fun/';+const KNOWN_PACKAGES = ['@pump-fun/pump-sdk','@pump-fun/pump-swap-sdk','@pump-fun/agent-payments-sdk',@@ -37,8 +38,17 @@ async function fetchJson(url, { github = false } = {}) {}async function npmState() {+ const search = await fetchJson('https://registry.npmjs.org/-/v1/search?text=scope%3Apump-fun&size=250');+ const packages = [+ ...new Set([+ ...KNOWN_PACKAGES,+ ...(search.objects ?? [])+ .map((entry) => entry.package?.name)+ .filter((name) => typeof name === 'string' && name.startsWith(OFFICIAL_NPM_SCOPE)),+ ]),+ ].sort((a, b) => a.localeCompare(b));const entries = await Promise.all(- PACKAGES.map(async (name) => {+ packages.map(async (name) => {const encoded = name.replace('/', '%2f');const metadata = await fetchJson(`https://registry.npmjs.org/${encoded}`);const version = metadata['dist-tags']?.latest;@@ -133,8 +143,8 @@ function readDeclaredVersions() {for (const path of manifests) {const manifest = JSON.parse(readFileSync(resolve(ROOT, path), 'utf8'));const dependencies = { ...manifest.dependencies, ...manifest.devDependencies };- for (const name of PACKAGES) {- if (dependencies[name]) rows.push({ path, name, range: dependencies[name] });+ for (const [name, range] of Object.entries(dependencies)) {+ if (name.startsWith(OFFICIAL_NPM_SCOPE)) rows.push({ path, name, range });}}return rows;@@ -146,6 +156,9 @@ function diffState(baseline, current) {const previous = baseline.packages?.[name]?.version;if (previous !== value.version) changes.push(`npm ${name}: ${previous ?? 'new'} -> ${value.version}`);}+ for (const name of Object.keys(baseline.packages ?? {})) {+ if (!current.packages[name]) changes.push(`npm ${name}: removed or made private`);+ }for (const [name, value] of Object.entries(current.repositories)) {const previous = baseline.repositories?.[name]?.pushedAt;if (previous !== value.pushedAt) changes.push(`GitHub pump-fun/${name}: ${previous ?? 'new'} -> ${value.pushedAt}`);