v3.1.0 — pi distribution channel + integration stamp fix
- 2026-09-01
MINOR — two additive, non-breaking changes: the npm/π distribution channel (new package surface, no core changes) and an integration stamp-placement fix (self-heal after frontmatter). No API breaks; no migration required.
Added
- npm/π distribution channel —
mnemos-pipackage published under three names (mnemos-pi,@korrlabs/mnemospi,@korrlabs/mnemos-pi) via OIDC trusted publishing (no long-lived npm token).package.jsondeclares the π extension entry points;scripts/sync-version.mjskeepspackage.jsonversion synced frompyproject.toml(single source of truth);scripts/publish-all.mjspublishes all three names idempotently;.github/workflows/publish-npm.ymltriggers onv*tags. - LICENSE — MIT license file added for npm packaging.
Fixed
- Integration stamp placement — the self-heal stamp is now placed after frontmatter in integration templates (
integrations/instructions/*,integrations/skills/*), closing the skill-loading bug where frontmatter parsing broke on stamp-injected files.src/mnemos/cli/integration.pyrefactored for correct stamp insertion;tests/test_integration.pyextended with coverage for the stamp-after-frontmatter case.