Files
Mañjūṣakaandmanjughosa dba24067c2 output-strategy 0.2.3: remove the panel byline; keep attribution in the README (#1009)
Removes the "by" byline from the Output Strategy panel (index.html, i18n.js, style.css); the attribution stays in the README. Bumps the package to 0.2.3 so dist packs it (0.2.2 is already packed and is never packed again).

Run at the reviewed head 121f571f (on mote, temp HOME):
- `git diff 0d03f7bf 121f571f`: only package.json 0.2.2 -> 0.2.3 and the matching version assertion in test/page.test.mjs. Everything else was reviewed at 0d03f7bf.
- packages/output-strategy `bun test`: 59 pass, 0 fail. `bun scripts/check.mjs`: ok.
- Root `bun test` (suite lock) on origin/main a69931ec merged with #1009, #1012 and #1013: 8373 pass, 0 fail (8392 tests across 590 files, 361s; the rest skipped), on Linux (Ubuntu 24.04, magpie-desktop) because both Macs' suite locks were held by hours-long runs. `bun scripts/check.mjs` on that tree: ok.
- Earlier, at 0d03f7bf: Playwright 1.62 Chromium and WebKit at 1200 and 420px, en and zh-CN, with a stub bridge. No byline, the conversation note shows, all 7 styles load, no horizontal overflow, no page errors.

Broken by hand (at 0d03f7bf): putting main's page/index.html back, or main's page/i18n.js, makes 1 test fail ("shows conversation guidance in both languages without a panel byline").

Not tried: the panel inside a real magpie window.

Co-authored-by: manjughosa <3220325975@qq.com>
2026-11-11 23:37:38 +08:00

50 lines
1.2 KiB
JSON

{
"name": "@magpie-community/middleware-output-strategy",
"version": "0.2.3",
"description": "Composable output-style instructions injected before the model call, with a small selection panel",
"type": "module",
"license": "MIT",
"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"
}
}