Files
plugins/packages/output-strategy/package.json
T
Mañjūṣakaandmanjughosa a3bfe680d4 output-strategy 0.2.2: panel attribution, conversation guidance and save-state fix (#831)
output-strategy 0.2.2. The panel says the plugin is unofficial and maintained by manjughosa (README, page, registry summary). The page tells the user that saving does not rewrite an existing conversation. Unsaved changes are now counted against the saved styles, so ticking a style and unticking it again leaves the panel clean. The README says the `[Output Strategy]` marker is honoured only in system/developer instructions.

The package.json author stays "manjughosa (https://github.com/manjughosa)", as main has it. From the previous reviewed head 8cb337ef to 6110057c, that line is the only change.

What was run at 6110057c, merged with origin/main 5fb28a1f: `bun test packages/output-strategy` (59 pass) and `bun scripts/check.mjs` (ok), on WSL Ubuntu 24.04 and on Windows 11, each with a fresh HOME (and USERPROFILE on Windows). Broken by hand: putting back `dirty = true` on every change turns three page save-flow tests red (56 pass, 3 fail).

Co-authored-by: manjughosa <manjughosa@users.noreply.github.com>
2026-11-11 15:12:42 +08:00

51 lines
1.3 KiB
JSON

{
"name": "@magpie-community/middleware-output-strategy",
"version": "0.2.2",
"description": "Composable output-style instructions injected before the model call, with a small selection panel",
"type": "module",
"license": "MIT",
"author": "manjughosa (https://github.com/manjughosa)",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/output-strategy"
},
"files": [
"output-strategy.middleware.js",
"apply.js",
"catalog.js",
"scripts/gen-page-catalog.mjs",
"page/*.html",
"page/*.js",
"page/*.css",
"README.md",
"LICENSE",
"PROVENANCE.json",
"LICENSES/"
],
"keywords": ["magpie", "magpie-middleware", "output-styles", "prompt"],
"magpie": {
"middleware": "./output-strategy.middleware.js",
"page": {
"title": "Output Strategy",
"titles": { "zh": "输出策略" },
"file": "page/index.html"
},
"options": {
"styles": {
"terse-prose": false,
"less-code": false,
"ponytail": false,
"i-have-adhd": false,
"terse-cjk": false,
"antislop-ui": false,
"antislop-copy": false
}
}
},
"scripts": {
"build:catalog": "node scripts/gen-page-catalog.mjs",
"test": "bun test"
}
}