promptup-plugin 0.1.3 → 0.1.4
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/bin/install.cjs +3 -1
- package/package.json +1 -1
- package/skills/pup/config/SKILL.md +13 -0
- package/skills/pup/update/SKILL.md +25 -0
package/bin/install.cjs
CHANGED
|
@@ -227,7 +227,7 @@ try {
|
|
|
227
227
|
const pupSkillsDir = path.join(CLAUDE_DIR, 'skills', 'pup');
|
|
228
228
|
fs.mkdirSync(pupSkillsDir, { recursive: true });
|
|
229
229
|
|
|
230
|
-
for (const skill of ['eval', 'pr-report', 'status']) {
|
|
230
|
+
for (const skill of ['eval', 'pr-report', 'status', 'config', 'update']) {
|
|
231
231
|
const src = path.join(PLUGIN_DIR, 'skills', 'pup', skill);
|
|
232
232
|
const dest = path.join(pupSkillsDir, skill);
|
|
233
233
|
if (fs.existsSync(src)) {
|
|
@@ -377,6 +377,8 @@ ${bold}${green}PromptUp installed!${reset}
|
|
|
377
377
|
/pup:eval — Run an evaluation
|
|
378
378
|
/pup:pr-report — Generate PR report
|
|
379
379
|
/pup:status — Check status
|
|
380
|
+
/pup:config — View/modify settings
|
|
381
|
+
/pup:update — Check for updates
|
|
380
382
|
|
|
381
383
|
${bold}Statusline:${reset}
|
|
382
384
|
pupmeter shows your latest score in the status bar
|
package/package.json
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: config
|
|
3
|
+
description: Show or modify PromptUp configuration. View all settings, get a specific value, or update settings.
|
|
4
|
+
user-invocable: true
|
|
5
|
+
argument-hint: [key=value ...]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Parse `$ARGUMENTS`:
|
|
9
|
+
- No args → call `mcp__promptup__configure` with no parameters to show all settings
|
|
10
|
+
- A dot-path like `evaluation.interval` → call with `get: "evaluation.interval"`
|
|
11
|
+
- Key=value pairs like `evaluation.interval=5 evaluation.auto_trigger=prompt_count` → parse into an object and call with `set: {"evaluation.interval": 5, "evaluation.auto_trigger": "prompt_count"}`
|
|
12
|
+
|
|
13
|
+
Output the ENTIRE tool response verbatim — it contains a formatted settings table.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: update
|
|
3
|
+
description: Check for and install PromptUp plugin updates from npm.
|
|
4
|
+
user-invocable: true
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
1. Check the current installed version:
|
|
8
|
+
```bash
|
|
9
|
+
cat ~/.promptup/plugin/package.json | grep '"version"'
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
2. Check the latest version on npm:
|
|
13
|
+
```bash
|
|
14
|
+
npm view promptup-plugin version
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
3. If a newer version is available, tell the user and run:
|
|
18
|
+
```bash
|
|
19
|
+
npx promptup-plugin@latest
|
|
20
|
+
```
|
|
21
|
+
This re-runs the installer which overwrites files and updates everything.
|
|
22
|
+
|
|
23
|
+
4. If already on latest, say "PromptUp is up to date (vX.Y.Z)".
|
|
24
|
+
|
|
25
|
+
5. Remind the user to restart Claude Code after updating.
|