prompt-optimizer-magpie 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -38,6 +38,12 @@ magpie group add group/route-decider <decision-model> --routing order
38
38
 
39
39
  然后安装插件(本地目录):
40
40
 
41
+ ```bash
42
+ magpie plugin add npm:prompt-optimizer-magpie
43
+ ```
44
+
45
+ 或从源码安装(本地目录):
46
+
41
47
  ```bash
42
48
  git clone https://github.com/Luck9Star/prompt-optimizer-magpie.git
43
49
  magpie plugin add /path/to/prompt-optimizer-magpie
package/README_EN.md CHANGED
@@ -38,6 +38,12 @@ magpie group add group/route-decider <decision-model> --routing order
38
38
 
39
39
  Then install the plugin from a local directory:
40
40
 
41
+ ```bash
42
+ magpie plugin add npm:prompt-optimizer-magpie
43
+ ```
44
+
45
+ Or install from source (local directory):
46
+
41
47
  ```bash
42
48
  git clone https://github.com/Luck9Star/prompt-optimizer-magpie.git
43
49
  magpie plugin add /path/to/prompt-optimizer-magpie
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prompt-optimizer-magpie",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Self-contained Magpie gateway request hook that rewrites vague first-turn prompts into precise ones before they reach your model. Fail-open by design.",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-only",
@@ -84,5 +84,9 @@
84
84
  "engines": {
85
85
  "bun": ">=1.4.2",
86
86
  "node": ">=20"
87
+ },
88
+ "homepage": "https://github.com/Luck9Star/prompt-optimizer-magpie#readme",
89
+ "bugs": {
90
+ "url": "https://github.com/Luck9Star/prompt-optimizer-magpie/issues"
87
91
  }
88
- }
92
+ }