@elicitkit/pack-pr-review 0.1.0 → 0.1.2
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 +10 -18
- package/package.json +19 -9
package/README.md
CHANGED
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
# @elicitkit/pack-pr-review
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
structured review round-trip:
|
|
3
|
+
> Elicitkit flagship pack — turn a pull request into a structured per-hunk review AskSet (the v0.1 wedge).
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
2. **`ask_select`** — verdict (approve / nits / request changes)
|
|
8
|
-
3. **`ask_rating`** — merge risk (optional)
|
|
9
|
-
4. **`ask_text`** — blocking concerns (optional)
|
|
5
|
+
Part of **[Elicitkit](https://github.com/elicitkit/elicitkit)** — typed questions for AI agents. An open standard over MCP: a portable spec (Ask · AskSet · Answer), a TypeScript reference implementation, and an 84-fixture conformance suite.
|
|
10
6
|
|
|
11
|
-
|
|
12
|
-
import { buildPrReviewAskSet } from "@elicitkit/pack-pr-review";
|
|
7
|
+
## Install
|
|
13
8
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
files: [{ path: "src/auth.ts", hunks: [
|
|
17
|
-
{ id: "h1", header: "@@ active check @@", before: "if (u)", after: "if (u && u.active)" },
|
|
18
|
-
] }],
|
|
19
|
-
});
|
|
20
|
-
// → feed askSet to any surface: the MCP `elicit` tool, HTTP /elicit, or the CLI.
|
|
9
|
+
```sh
|
|
10
|
+
npm i @elicitkit/pack-pr-review
|
|
21
11
|
```
|
|
22
12
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
## Links
|
|
14
|
+
|
|
15
|
+
- Repository & docs: https://github.com/elicitkit/elicitkit
|
|
16
|
+
- Spec: https://github.com/elicitkit/elicitkit/blob/main/packages/spec/SPEC.md
|
|
17
|
+
- License: Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elicitkit/pack-pr-review",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Elicitkit flagship pack — turn a pull request into a structured per-hunk review AskSet (the v0.1 wedge).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
}
|
|
14
14
|
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"pack.json"
|
|
18
|
+
],
|
|
15
19
|
"devDependencies": {
|
|
16
|
-
"@elicitkit/core": "
|
|
20
|
+
"@elicitkit/core": "0.1.2"
|
|
21
|
+
},
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
17
24
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "tsc -p tsconfig.json",
|
|
27
|
+
"test": "tsc -p tsconfig.json && node test/smoke.mjs"
|
|
28
|
+
}
|
|
29
|
+
}
|