[loader] Baseline tests and runtime selector #1

Open
opened 2026-06-02 08:21:11 +00:00 by steve · 0 comments
Owner

Source: Lapis plugin module loading plan, 2026-06-02.

Goal: lock current CommonJS behavior before changing loader semantics, then centralize runtime entry selection.

Scope:

  • Add fixture plugins for current renderer CommonJS behavior, local module loading, sidecar lapis facade loading, and missing dependency diagnostics.
  • Extend Lapis runtime metadata with structured entries while preserving legacy workspace, desktop, and trustedDesktop fields.
  • Add selectPluginRuntimeEntry() and route existing plugin-manager runtime selection through it.
  • Add diagnostics for selected host, selected format, entry path, fallback path, and shared dependencies.

Acceptance:

  • Existing Obsidian/CommonJS plugins still load unchanged.
  • New runtime entry metadata validates and appears in diagnostics.
  • Loader behavior has safety coverage before ESM execution is introduced.
Source: Lapis plugin module loading plan, 2026-06-02. Goal: lock current CommonJS behavior before changing loader semantics, then centralize runtime entry selection. Scope: - Add fixture plugins for current renderer CommonJS behavior, local module loading, sidecar lapis facade loading, and missing dependency diagnostics. - Extend Lapis runtime metadata with structured entries while preserving legacy workspace, desktop, and trustedDesktop fields. - Add selectPluginRuntimeEntry() and route existing plugin-manager runtime selection through it. - Add diagnostics for selected host, selected format, entry path, fallback path, and shared dependencies. Acceptance: - Existing Obsidian/CommonJS plugins still load unchanged. - New runtime entry metadata validates and appears in diagnostics. - Loader behavior has safety coverage before ESM execution is introduced.
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lapis-notes/plugin-registry#1
No description provided.