@usepipr/cli 0.3.5 → 0.3.6
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/dist/main.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import os from "node:os";
|
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "0.3.
|
|
11
|
+
var version = "0.3.6";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/skill-catalog.ts
|
|
14
14
|
const bundledSkillName = "pipr-setup";
|
|
@@ -86,6 +86,7 @@ While customizing:
|
|
|
86
86
|
- Use `pipr.secret({ name })`; never write raw secret values.
|
|
87
87
|
- Prefer `pipr.review(...)` until the interview requires multiple Pi calls, command input, custom schemas, plugin tools, explicit checks, or main-comment-only output.
|
|
88
88
|
- For custom tasks, pass `{ manifest }` to `ctx.pi.run(...)`; do not interpolate the Diff Manifest into prompts yourself.
|
|
89
|
+
- Core already adds bounded change request metadata and schema-aware `suggestedFix` rules to agent prompts. Do not duplicate them in `instructions` or prompt input.
|
|
89
90
|
- Emit exactly one final output from each selected task: `ctx.comment(...)` or `ctx.command.reply(...)`.
|
|
90
91
|
|
|
91
92
|
Completion criterion: the generated or edited Pipr Configuration reflects every interview decision and avoids speculative workflows.
|
|
@@ -129,6 +129,7 @@ Task rules:
|
|
|
129
129
|
- Keep config registration synchronous.
|
|
130
130
|
- Let Pipr build the Diff Manifest and validate Inline Review Comments.
|
|
131
131
|
- Pass the Diff Manifest through the reserved `manifest` input key.
|
|
132
|
+
- Do not repeat change request metadata or generic `suggestedFix` policy in agent instructions; Core supplies both prompt contracts.
|
|
132
133
|
- Emit exactly one final output per selected task.
|
|
133
134
|
- Use `ctx.command.reply(...)` for command response workflows.
|
|
134
135
|
- Use `local: false` only for tasks that should never run through `pipr review`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usepipr/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "Command line interface for pipr pull request review automation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@actions/core": "3.0.1",
|
|
36
|
-
"@usepipr/runtime": "0.3.
|
|
37
|
-
"@usepipr/sdk": "0.3.
|
|
36
|
+
"@usepipr/runtime": "0.3.6",
|
|
37
|
+
"@usepipr/sdk": "0.3.6",
|
|
38
38
|
"commander": "15.0.0"
|
|
39
39
|
}
|
|
40
40
|
}
|