Publish registry-hosted plugin README artifacts #199
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Route plugin README rendering through registry-hosted static artifacts so app
and browser surfaces are not dependent on third-party README hosts exposing
CORS.
Problem
The registry metadata carries
readmeUrl, but direct browser fetches can failfor valid README URLs when the source host does not expose
Access-Control-Allow-Origin. The public registry site currently links to thesource README instead of rendering plugin detail content inline.
Goal
Fetch README content during the registry site build, publish deterministic
markdown and HTML artifacts, and render README content inline in both the app
plugin registry details and the public registry site.
Scope
readmeUrlvalues presentin generated registry metadata.
registry-hosted static artifact before rendering and sanitizing it.
Non-goals
Acceptance Criteria
readmeUrlvalues route through registry-hostedstatic README artifacts before app rendering.
non-text README responses.
README link.
enable, update, or uninstall actions.
Implementation Notes
The registry build should derive artifact generation from generated registry
metadata, not a hard-coded official-host list. App-side caching remains keyed by
the original
readmeUrlso README source identity stays visible.Suggested Files or Specs To Inspect
packages/workspace/src/lib/components/configuration/plugin-readme.tspackages/workspace/src/lib/components/configuration/plugins-registry-panel.sveltespec/src/30-cross-package-contracts/plugin-registry.md/Users/stevejuma/code/lapis-plugin-registry/src/pages/plugins/[id].astro/Users/stevejuma/code/lapis-plugin-registry/scripts/lib/readmes.mjsValidation Commands
pnpm --filter @lapis-notes/workspace check:allpnpm --filter @lapis-notes/api check:allmake spec-lintmdbook build specpnpm test:smokepnpm testpnpm checkRelated Issues
Follow-up Tasks
Implementation Summary
Published registry-hosted README artifacts during the registry site build, updated the app plugin details to fetch registry-hosted README markdown and resolve mirrored image assets, documented the static README artifact contract, and verified smoke after a transient first-run timeout.
Proxy plugin README rendering through registry APIto Publish registry-hosted plugin README artifacts