limn-review 0.1.168 → 0.1.169
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/ai/result-schemas.js +10 -0
- package/package.json +4 -4
|
@@ -94,6 +94,16 @@ function nullable(schema) {
|
|
|
94
94
|
* descriptions) is kept as it is.
|
|
95
95
|
*/
|
|
96
96
|
export function toStrictJsonSchema(schema) {
|
|
97
|
+
// ⚠ zod 4.6 writes a nullable primitive as `type: ['number', 'null']`, where 4.4 wrote `anyOf`.
|
|
98
|
+
// Spell it the old way so the schema Codex gets does not change with the zod version.
|
|
99
|
+
if (Array.isArray(schema.type) && schema.type.length === 2 && schema.type.includes('null')) {
|
|
100
|
+
const { description, type, ...rest } = schema;
|
|
101
|
+
const other = type.find((t) => t !== 'null');
|
|
102
|
+
return toStrictJsonSchema({
|
|
103
|
+
...(description !== undefined ? { description } : {}),
|
|
104
|
+
anyOf: [{ ...rest, type: other }, { type: 'null' }],
|
|
105
|
+
});
|
|
106
|
+
}
|
|
97
107
|
const out = { ...schema };
|
|
98
108
|
if (isObj(schema.properties)) {
|
|
99
109
|
const required = new Set(Array.isArray(schema.required) ? schema.required : []);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "limn-review",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.169",
|
|
4
4
|
"description": "Dashboard for tracking your team's GitHub PR activity across repos. Runs on your machine with your gh login.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Alex Wakeman",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@octokit/graphql": "^8.1.2",
|
|
33
33
|
"better-sqlite3": "^13.0.3",
|
|
34
34
|
"drizzle-orm": "^0.45.2",
|
|
35
|
-
"fastify": "^5.
|
|
35
|
+
"fastify": "^5.12.8",
|
|
36
36
|
"node-cron": "^4.6.0"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"limnAiRuntime": {
|
|
48
48
|
"@anthropic-ai/claude-agent-sdk": "0.3.295",
|
|
49
49
|
"@anthropic-ai/sdk": "0.132.1",
|
|
50
|
-
"@modelcontextprotocol/sdk": "1.
|
|
51
|
-
"zod": "4.
|
|
50
|
+
"@modelcontextprotocol/sdk": "1.32.2",
|
|
51
|
+
"zod": "4.6.7",
|
|
52
52
|
"mammoth": "1.13.0",
|
|
53
53
|
"turndown": "7.2.4",
|
|
54
54
|
"turndown-plugin-gfm": "1.0.2",
|