akapen 0.4.0 → 0.5.0
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 +12 -22
- package/dist/akapen.js +169 -360
- package/json-schema/config.json +949 -0
- package/json-schema/kinds.json +63 -0
- package/package.json +6 -3
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"propertyNames": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"additionalProperties": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"fallback": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"globs": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"instructions": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"lenses": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": ["general", "logic", "boundaries", "regressions", "paths", "security"]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"mode": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": ["review", "pair", "skip"]
|
|
33
|
+
},
|
|
34
|
+
"pairs": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"requireBoth": {
|
|
40
|
+
"type": "boolean"
|
|
41
|
+
},
|
|
42
|
+
"source": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"target": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": ["source", "target"],
|
|
50
|
+
"additionalProperties": false
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
},
|
|
56
|
+
"$id": "https://cdn.jsdelivr.net/npm/akapen/json-schema/kinds.json",
|
|
57
|
+
"title": "akapen .akapen/kinds.json",
|
|
58
|
+
"properties": {
|
|
59
|
+
"$schema": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "akapen",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Multi-stage cross-model code review for Claude Code and Codex",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"bin": {
|
|
7
7
|
"akapen": "dist/akapen.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
|
-
"dist"
|
|
10
|
+
"dist",
|
|
11
|
+
"json-schema"
|
|
11
12
|
],
|
|
12
13
|
"type": "module",
|
|
13
14
|
"imports": {
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
"format:check": "oxfmt --check",
|
|
23
24
|
"check": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run test",
|
|
24
25
|
"build": "vite build",
|
|
26
|
+
"json-schema": "node src/settings/write-json-schemas.ts && oxfmt json-schema",
|
|
25
27
|
"prepublishOnly": "pnpm run check && pnpm run build"
|
|
26
28
|
},
|
|
27
29
|
"dependencies": {
|
|
@@ -30,7 +32,8 @@
|
|
|
30
32
|
"@clack/prompts": "1.8.1",
|
|
31
33
|
"@openai/codex-sdk": "0.166.0",
|
|
32
34
|
"openai": "7.53.0",
|
|
33
|
-
"smol-toml": "1.9.1"
|
|
35
|
+
"smol-toml": "1.9.1",
|
|
36
|
+
"zod": "4.6.7"
|
|
34
37
|
},
|
|
35
38
|
"devDependencies": {
|
|
36
39
|
"@tsconfig/strictest": "2.0.8",
|