[docs/ui] Document plugin module loading and expose diagnostics #223
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#223
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?
Problem
Plugin authors and users need clear documentation and UI diagnostics for module format selection, shared dependencies, fallback behavior, and plugin asset URL modes.
Goal
Document ESM/CommonJS plugin module loading and expose runtime diagnostics in plugin management UI.
Scope
Non-goals
Acceptance Criteria
Implementation Notes
plugin-runtime.mdand registry docs that explain ESM-first manifests, shared dependencies, bundling expectations, reload/update semantics, sidecar narrowing, asset URL shapes, and unsupported plugin-defined import maps.Affected Packages and Files
packages/api/src/lib/plugin-manager.tspackages/api/src/lib/plugin-runtime-entry.tspackages/api/src/lib/__tests__/plugin-manager.test.tspackages/api/spec.mdpackages/workspace/src/lib/components/configuration/plugin-feature-sections.tspackages/workspace/src/lib/components/configuration/community-plugins.tspackages/workspace/src/lib/components/configuration/settings-search.tspackages/workspace/src/lib/components/configuration/plugin-feature-sections.test.tspackages/workspace/spec.mdspec/src/30-cross-package-contracts/plugin-runtime.mdspec/src/30-cross-package-contracts/plugin-registry.mdspec/src/20-packages/workspace/index.mdspec/src/20-packages/api/index.mdSuggested Files or Specs To Inspect
spec/src/30-cross-package-contracts/plugin-runtime.mdspec/src/30-cross-package-contracts/plugin-registry.mdspec/src/20-packages/workspace/index.mdpackages/workspace/src/lib/components/settings/packages/api/src/lib/plugin-manager.tsValidation Commands
make spec-lintmdbook build specpnpm --filter @lapis-notes/workspace check:allpnpm check:allRelated Issues
Follow-up Tasks
Implementation Summary
Documented ESM-first plugin loading and registry expectations; extended community plugin diagnostics with fallback-used, reload-required, asset URL, and deprecated/private dependency fields; surfaced loader badges and details in plugin settings search/features UI.