Conversation
MatiasOS
added this pull request to stack #414
September 15, 2026 00:17
Bun 1.4 honours nested overrides and fails --frozen-lockfile when bun.lock does not record them. The lockfile was written by Bun 1.3, which ignored overrides.vitest.vite, so CI (setup-bun latest) broke. Bun now writes lockfileVersion 3, which older Bun cannot read, so packageManager and engines move to Bun 1.4. No resolved versions change.
|
🚀 Preview: https://pr-413--openscan.netlify.app |
1.3.0-alpha.0 publishes the Zcash RPC lists (rpcs/zec/mainnet.json, rpcs/zec/testnet.json) and the Zcash network logo, so the explorer now loads both from metadata instead of falling back. It adds no other files. The metadata RPC cache is keyed by version and refreshes itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds AI analysis to the Zcash block, transaction and address pages. It's the last PR in the Zcash stack. The panel is the same
AIAnalysisPanelthe Bitcoin pages use, placed in the same spot.Prompt rules, for both the power-user and regular-user configs:
Context sent to the model. Each page builds a compact context in
aiContext.ts:feeZEC,valueBalanceZEC, …).Related Issue
Part of #398. Stacked on #412.
Type of Change
Changes Made
AIAnalysisTypegainszcash_transaction,zcash_blockandzcash_address.VALID_ANALYSIS_TYPESallowlist gains the same three types.AIPromptTemplates.ts: Zcash configs in the power and regular maps, plus thebuildPromptcases.src/components/pages/zcash/aiContext.tsbuilds the three contexts; unit tests are inaiContext.test.ts.zatToZecadded tozcashUtils.AIAnalysisPaneladded toZcashBlockDisplay,ZcashTransactionDisplayandZcashAddressDisplay, each wrapped inpage-with-analysis. Cache keys follow the Bitcoin pattern, e.g.openscan_ai_zcash_block_${networkId}_${hash}.Screenshots (if applicable)
Checked locally against mocked RPC data:
Checklist
npm run format:fixandnpm run lint:fixnpm run typecheckwith no errorsnpm run test:runAdditional Notes
git diff -wshows the real change.solana_*types. That's a pre-existing gap and out of scope here.METADATA_VERSIONmoves to1.3.0-alpha.0, which is now published.1.2.1-alpha.0, it only adds three files:rpcs/zec/mainnet.json,rpcs/zec/testnet.jsonand the Zcash logo.BUILTIN_RPC_DEFAULTSstay as a first-load fallback and are de-duplicated.bun.lockis regenerated with Bun 1.4.2, which fixes the "Build PR Preview" failure:lockfile had changes, but lockfile is frozen.setup-buninstallslatest, now Bun 1.4. Bun 1.4 honours the nestedoverrides.vitest.viterule, but the lockfile had been written by Bun 1.3, which ignored it.lockfileVersiongoes from 1 to 3 and the rule is added to the lockfile. No resolved versions change.packageManageris nowbun@1.4.2andengines.bunis>=1.4.0. Runbun upgradebefore installing locally.npm run test:run: 156 passing.