You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Request]: extensions list --strict should accept an add-on installed only as a library #718
urlcode-ai uses the ui add-on only as a library (renderDocument, escapeHtml, table in a route function). It doesn't register the ui extension, because that adds a public /assets/ui/* route and theme scaffolding it doesn't use. urlcode extensions list --strict reports that as drift and exits 1:
ui 0.6.1 pinned — 2 problem(s)
Problem: ui: app/urlcode.yaml does not declare extensions.ui
Problem: ui: host.mjs does not import @jimhoyd/urlcode-ui/extension
The tarball is correctly pinned (URL and sha512 match addons.json), and urlcode upgrade moves it correctly, so only --strict disagrees. That keeps a site like this from running --strict in CI.
Proposed behavior and alternatives
Treat an installed add-on that is neither declared nor imported as "installed as a library": still check the pin and nested copies strictly, but don't report declaration drift. Only report drift when one of package.json / urlcode.yaml / host.mjs names it and another doesn't.
Activity
fix(cli): extensions add/remove preserve YAML formatting; list --stri…