Skip to content

refactor: extract searchNarrative module and usePopoverViewState hook#351

Merged
bensonwong merged 17 commits intomainfrom
feat/search-narrative-refactor
Mar 18, 2026
Merged

refactor: extract searchNarrative module and usePopoverViewState hook#351
bensonwong merged 17 commits intomainfrom
feat/search-narrative-refactor

Conversation

@bensonwong
Copy link
Collaborator

@bensonwong bensonwong commented Mar 18, 2026

Summary

  • Extract searchNarrative module from VerificationLog.tsx — all attempt grouping, status derivation, and narrative logic now lives in src/react/searchNarrative.ts with dedicated tests
  • Extract usePopoverViewState hook from CitationComponent.tsx into src/react/hooks/usePopoverViewState.ts, reducing Citation.tsx by ~200 lines and adding comprehensive tests
  • Move groupedAttemptCount computation into SearchNarrative for colocation with related logic
  • Fix triple grouping call and stabilize onCollapseToSummary callback
  • Fix prevBeforeExpandedPageRef not resetting in resetToSummary
  • Add requestSource config to SDK client for X-Request-Source header
  • Export getStatusColorScheme, getStatusHeaderText, and deriveContextWindow from package index
  • Fix dead re-export, truncation tooltip, and lint formatting issues
  • Improve test selectors for a11y color and aria-hidden changes
  • Add ambient animation tier docs and canonical exports reference

Test plan

  • bun test — all existing and new unit tests pass (searchNarrative, usePopoverViewState)
  • bun run lint — no new lint errors
  • bun run build — bundle builds successfully
  • Verify popover open/close/escape transitions work correctly in consumer app
  • Verify search narrative status display matches previous behavior

Benson and others added 14 commits March 17, 2026 23:09
- text-slate-400 → text-slate-500 in light mode (2.56:1 → 4.56:1)
- text-green-600 → text-green-700 in light mode (3.76:1 → 4.63:1)
- ExternalLinkButton: enlarge touch target from 14px to 24px (w-6 h-6)
- Remove unused HITBOX_EXTEND_8x14 import from Citation.tsx

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- CitationDrawer: use aria-label*= partial match for updated PagePill labels
- EvidenceTray: use querySelector for buttons inside aria-hidden tray regions
- StatusHeader: green-600 → green-700 for WCAG AA contrast
- caretIndicator: slate-400 → slate-500 for WCAG AA contrast

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Centralizes all SearchAttempt[] → display-ready interpretation into a
pure function (buildSearchNarrative) that returns a typed SearchNarrative
struct. VerificationLog and EvidenceTray now render mechanically from
pre-computed rows — no interpretation logic in the view layer.

- New: src/react/searchNarrative.ts with buildSearchNarrative()
- New: src/__tests__/searchNarrative.test.ts (outcome, rows, summary)
- VerificationLog: consumes SearchNarrative prop, removes ~300 LOC
- EvidenceTray: calls buildSearchNarrative inline
- Barrel exports updated in src/react/index.ts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Allows consumers to tag request origin (e.g. "playground") via the
new requestSource option in DeepCitationConfig. Sent as X-Request-Source
header on all API requests when set.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…row rendering

- Wrap buildSearchNarrative() call in useMemo to avoid rebuilding on
  every render (was inline in JSX without memoization)
- Remove duplicate success-row card layout from NarrativeRowsDisplay;
  delegate all row rendering to NarrativeRowRenderer
- Update NarrativeRowRenderer card condition to also show locationLabel

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove unused getStatusColorScheme re-export from VerificationLog.tsx
  (violates no-variable-re-export policy; consumers import from canonical source)
- Fix isTruncated to compare phraseFull instead of already-truncated phraseDisplay
  (tooltip for long phrases was never triggering since truncated output < threshold)
- Auto-fix biome formatting and import ordering

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Outlines the design for an inline, always-visible citation list
that sits between the minimal CitationDrawerTrigger and the full
CitationDrawer overlay.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Consolidates popover view-state machine (state, haptics, VT transitions,
scroll lock, escape handling, expanded-width tracking) into a dedicated
hook with a stable handle object. Reduces CitationComponent by ~100 lines
and makes the state logic independently testable.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Eliminates the separate searchCount memo in EvidenceTray that duplicated
grouping logic. The count now lives on the SearchNarrative object itself,
ensuring the toggle label always matches the rendered timeline row count.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…textWindow

Exposes searchNarrative status helpers and context-window derivation
from the public API for consumer use.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds the ambient/decorative animation tier (800-2000ms) for CSS-only
passive animations. Updates canonical-exports with new hook and
searchNarrative/searchSummaryUtils entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Derive groupedAttemptCount from rows.length after buildAllRows instead
  of calling the grouping function a third time on the same input.
- Wrap onCollapseToSummary in useCallback to avoid creating a new
  function identity on every render.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Reset prevBeforeExpandedPageRef to "summary" in resetToSummary so
  escape back-nav doesn't use stale state from a previous popover session.
- Remove stable viewState.ref from handlePopoverOpenChange dep array.
- Add tests: resetToSummary skips onCollapseToSummary, cross-session
  prevBeforeExpandedPageRef reset.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 18, 2026

📚 Documentation Preview

The documentation has been built successfully.

To preview locally:

  1. Download the github-pages artifact from this workflow run
  2. Extract and serve with any static file server:
    cd artifact && python -m http.server 8000
  3. Open http://localhost:8000/deepcitation/

⚠️ Link Check Results

Click to expand link check report

Summary

Status Count
🔍 Total 773
✅ Successful 321
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 2
❓ Unknown 0
🚫 Errors 450
⛔ Unsupported 0

Errors per input

Errors in docs/_site/404.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference" (Attribute: Some("href")): Cannot convert path '/api-reference' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples" (Attribute: Some("href")): Cannot convert path '/code-examples' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components" (Attribute: Some("href")): Cannot convert path '/components' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started" (Attribute: Some("href")): Cannot convert path '/getting-started' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/api-reference.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/code-examples.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components/" (Attribute: Some("href")): Cannot convert path '/components/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/real-world-examples/" (Attribute: Some("href")): Cannot convert path '/real-world-examples/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types/" (Attribute: Some("href")): Cannot convert path '/types/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/components.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling/" (Attribute: Some("href")): Cannot convert path '/error-handling/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/proof-hosting/" (Attribute: Some("href")): Cannot convert path '/proof-hosting/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/real-world-examples/" (Attribute: Some("href")): Cannot convert path '/real-world-examples/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling/" (Attribute: Some("href")): Cannot convert path '/styling/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types/" (Attribute: Some("href")): Cannot convert path '/types/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/CONTRIBUTING.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/curl-guide.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/error-handling.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] file:///home/runner/work/deepcitation/deepcitation/docs/_site/api-reference.md | Cannot find file: File not found. Check if file exists and path is correct
  • [ERROR] file:///home/runner/work/deepcitation/deepcitation/docs/_site/getting-started.md | Cannot find file: File not found. Check if file exists and path is correct
  • [ERROR] file:///home/runner/work/deepcitation/deepcitation/docs/_site/styling.md | Cannot find file: File not found. Check if file exists and path is correct

Errors in docs/_site/frameworks/index.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/frameworks/langchain.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference" (Attribute: Some("href")): Cannot convert path '/api-reference' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses" (Attribute: Some("href")): Cannot convert path '/verification-statuses' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/frameworks/nextjs.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components" (Attribute: Some("href")): Cannot convert path '/components' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling" (Attribute: Some("href")): Cannot convert path '/styling' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/frameworks/vercel-ai-sdk.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components" (Attribute: Some("href")): Cannot convert path '/components' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling" (Attribute: Some("href")): Cannot convert path '/error-handling' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/getting-started.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference/" (Attribute: Some("href")): Cannot convert path '/api-reference/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples/" (Attribute: Some("href")): Cannot convert path '/code-examples/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components/" (Attribute: Some("href")): Cannot convert path '/components/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling/" (Attribute: Some("href")): Cannot convert path '/error-handling/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling/" (Attribute: Some("href")): Cannot convert path '/styling/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/index.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference" (Attribute: Some("href")): Cannot convert path '/api-reference' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples" (Attribute: Some("href")): Cannot convert path '/code-examples' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components" (Attribute: Some("href")): Cannot convert path '/components' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide" (Attribute: Some("href")): Cannot convert path '/curl-guide' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling" (Attribute: Some("href")): Cannot convert path '/error-handling' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks" (Attribute: Some("href")): Cannot convert path '/frameworks' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started" (Attribute: Some("href")): Cannot convert path '/getting-started' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started" (Attribute: Some("href")): Cannot convert path '/getting-started' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling" (Attribute: Some("href")): Cannot convert path '/styling' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types" (Attribute: Some("href")): Cannot convert path '/types' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses" (Attribute: Some("href")): Cannot convert path '/verification-statuses' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/styling.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components/" (Attribute: Some("href")): Cannot convert path '/components/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling/" (Attribute: Some("href")): Cannot convert path '/error-handling/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started/" (Attribute: Some("href")): Cannot convert path '/getting-started/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/types.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Errors in docs/_site/verification-statuses.html

  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/" (Attribute: Some("href")): Cannot convert path '/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/api-reference.html" (Attribute: Some("href")): Cannot convert path '/api-reference.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-default.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-default.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/css/just-the-docs-head-nav.css" (Attribute: Some("href")): Cannot convert path '/assets/css/just-the-docs-head-nav.css' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo-dark.svg" (Attribute: Some("srcset")): Cannot convert path '/assets/images/logo-dark.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/assets/images/logo.svg" (Attribute: Some("src")): Cannot convert path '/assets/images/logo.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/code-examples.html" (Attribute: Some("href")): Cannot convert path '/code-examples.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/components.html" (Attribute: Some("href")): Cannot convert path '/components.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/curl-guide.html" (Attribute: Some("href")): Cannot convert path '/curl-guide.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/error-handling.html" (Attribute: Some("href")): Cannot convert path '/error-handling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.ico" (Attribute: Some("href")): Cannot convert path '/favicon.ico' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/favicon.svg" (Attribute: Some("href")): Cannot convert path '/favicon.svg' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/" (Attribute: Some("href")): Cannot convert path '/frameworks/' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/langchain.html" (Attribute: Some("href")): Cannot convert path '/frameworks/langchain.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/nextjs.html" (Attribute: Some("href")): Cannot convert path '/frameworks/nextjs.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/frameworks/vercel-ai-sdk.html" (Attribute: Some("href")): Cannot convert path '/frameworks/vercel-ai-sdk.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/getting-started.html" (Attribute: Some("href")): Cannot convert path '/getting-started.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/styling.html" (Attribute: Some("href")): Cannot convert path '/styling.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/types.html" (Attribute: Some("href")): Cannot convert path '/types.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/verification-statuses.html" (Attribute: Some("href")): Cannot convert path '/verification-statuses.html' to a URI: To resolve root-relative links in local files, provide a root dir
  • [ERROR] error: | Error building URL for "/web-app-manifest-192x192.png" (Attribute: Some("href")): Cannot convert path '/web-app-manifest-192x192.png' to a URI: To resolve root-relative links in local files, provide a root dir

Full Github Actions output


Workflow run: 23231449448

@github-actions
Copy link
Contributor

github-actions bot commented Mar 18, 2026

✅ Playwright Test Report

Status: Tests passed

📊 Download Report & Snapshots (see Artifacts section)

What's in the Visual Snapshots

The gallery includes visual snapshots for:

  • 🖥️ Desktop showcase (all variants × all states)
  • 📱 Mobile showcase (iPhone SE viewport)
  • 📟 Tablet showcase (iPad viewport)
  • 🔍 Popover states (verified, partial, not found)
  • 🔗 URL citation variants

Run ID: 23231449445

@claude
Copy link

claude bot commented Mar 18, 2026

PR Review

The core refactors (narrative extraction, view-state hook extraction, scroll lock fix, prevBeforeExpandedPageRef reset) are well-structured and move in the right direction. A few concrete issues worth addressing before merge:


Bugs / Correctness

foundPage / foundLine props silently discarded in VerificationLog
The props are renamed to _foundPage / _foundLine and never used. The prior fallback that threaded these values into the narrative when no successful attempt carried foundLocation is now gone. If any caller relied on this path, it is a silent behavioral regression. Either document this as intentional or preserve the fallback in buildSearchNarrative.

Non-null assertion on searchNarrative in EvidenceTray

<VerificationLogTimeline narrative={searchNarrative!} ...

searchNarrative is null under several conditions. The surrounding render guards narrow the risk today, but the assertion hides future bugs. Prefer an explicit guard or conditional render.

resetToSummary does not call onCollapseToSummary — undocumented contract change
The test at line 793 intentionally asserts this, and the call site compensates with setCustomExpandedSrc(null) on the same line. Fine in practice, but the JSDoc for PopoverViewStateHandle.resetToSummary should note this explicitly so future callers don't add onCollapseToSummary handlers expecting them to fire on reset.


Highest-Priority Blocker — Test Runner Mismatch

searchNarrative.test.ts and usePopoverViewState.test.ts import from bun:test

import { beforeEach, describe, expect, it, mock } from "bun:test";

The project declares npm test (Jest) in CLAUDE.md. These files will not run under Jest — bun:test is a Bun-specific module and mock.module has no Jest equivalent. If the project has migrated to Bun for unit tests, that should be documented; if not, these files need to be rewritten using @jest/globals.


Security

requestSource header value is not sanitized

headers["X-Request-Source"] = this.requestSource;

CRLF characters in a header value allow header injection. Modern fetch runtimes reject this with an error, but behavior varies across Node versions. Add a guard before merge:

if (/[\r\n]/.test(this.requestSource)) {
  throw new Error("requestSource must not contain newline characters");
}

Also missing: a test asserting the header is present when configured and absent when omitted.


Code Quality

Truncation tooltip still uses display string, not full string

title={row.note || (isTruncated ? row.phraseDisplay : undefined)}

row.phraseDisplay is the already-truncated value — the tooltip shows nothing useful. This should be row.phraseFull. The PR description says it fixes the truncation tooltip, but the bug appears to be carried forward unchanged.

PagePill aria-label announces page number twice

aria-label={`${label}: ${t("action.expandFullPageNum", { pageNumber })}`}

If label is "p. 3" and the translation is "Expand to full page 3", screen readers hear "p. 3: Expand to full page 3". The test change from = to *= selector accommodates this but masks the underlying accessibility issue.

FailureRow carries isUnexpectedHit: boolean that is logically always false
An unexpected hit is a success-variant concept; failures by definition did not land on the wrong page. The field is unused in FailureRow rendering paths and adds confusion. Remove it or add a comment explaining why it's there.

plans/citation-list-todo.md references bun test / bun run lint
The project's declared package manager is npm. The plan doc should use npm test / npm run lint to stay consistent with CLAUDE.md and avoid confusing contributors.


Missing Tests

  • No test for EvidenceTray verifying the correct searchNarrative is built when isMiss=true with multiple search attempts of different methods.
  • No test covering the requestSourceX-Request-Source header path (present when set, absent when omitted).

Overall: the refactor structure is solid. The bun:test import issue is the concrete CI blocker. The header injection guard and truncation tooltip fix are the next priorities. Happy to approve once those are addressed.

Benson and others added 2 commits March 18, 2026 12:51
Address CodeQL review finding — the bare string literal was flagged as an
unknown directive. Since React Compiler is not currently active, convert to
a comment matching the pattern used in Citation.tsx.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Security: validate requestSource against CRLF injection in constructor
- Fix: truncation tooltip now shows phraseFull instead of phraseDisplay
- A11y: remove redundant page label prefix from PagePill aria-label
- Type: remove logically-always-false isUnexpectedHit from FailureRow
- Docs: add JSDoc note that resetToSummary does not call onCollapseToSummary
- Docs: annotate _foundPage/_foundLine as kept for API compat
- Test: add requestSource header presence/absence/CRLF rejection tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bensonwong bensonwong merged commit 64d5b14 into main Mar 18, 2026
11 checks passed
@bensonwong bensonwong deleted the feat/search-narrative-refactor branch March 18, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant