packages/plugins holds the kind registry and the loader for in-repo plug-in modules (REQ-PLUG-1). The first two kinds are usage-source and limit-check (REQ-LIMIT-4). The business file's plugins key turns modules on per kind, through plugin-settings.mjs and step 5's write path (REQ-ROLE-3). A refused load is logged and keeps the kind's old modules. Any filesystem error other than ENOENT or ENOTDIR refuses as unreadable. The organization writer validates the bytes it writes as well as the document. stack-copy ships packages/plugins. Nothing is wired into a host process yet. Candidate 466c835f7dce79d20c7ab74c197a52b70e7fdeb0efae0456222dc6d0a633f219, Dewey packet80797a539(round 2), base0bdd573ff. Filbert approved round 2 in 28568 and Darkwing in 28570. Landing gate atf7d249634: 24 suites green, 0 failed. 14 package suites passed 1586 tests (plugins 21, business 92, bus 171, cli 195, webui 112). The 10 script suites passed. Follow-up: P19 task 293, coded writer refusals. Co-Authored-By: Claude Opus 5.5 <[email protected]>
12 lines
366 B
JSON
12 lines
366 B
JSON
{
|
|
"name": "@mosaic/plugins",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Plug-in kind registry and in-repo module loader (PRD 1.2 row 131).",
|
|
"license": "UNLICENSED",
|
|
"type": "module",
|
|
"engines": { "node": ">=24" },
|
|
"exports": { "./kinds": "./src/kinds.mjs", "./loader": "./src/loader.mjs" },
|
|
"scripts": { "test": "node --test tests/" }
|
|
}
|