chore: migrate @cliffy/table to native jsr protocol & fix prompt typos

This commit is contained in:
mitchell 2026-06-18 16:13:39 -04:00
parent 4bccbcc9ee
commit 4725f148f3
4 changed files with 4 additions and 5 deletions

1
.npmrc
View file

@ -1 +0,0 @@
@jsr:registry=https://npm.jsr.io

View file

@ -21,7 +21,7 @@
"@ai-sdk/openai-compatible": "^2.0.41", "@ai-sdk/openai-compatible": "^2.0.41",
"@biomejs/biome": "2.4.12", "@biomejs/biome": "2.4.12",
"@clack/prompts": "^1.3.0", "@clack/prompts": "^1.3.0",
"@cliffy/table": "npm:@jsr/cliffy__table", "@cliffy/table": "jsr:^1.2.1",
"@mozilla/readability": "^0.6.0", "@mozilla/readability": "^0.6.0",
"@types/node": "^25.9.2", "@types/node": "^25.9.2",
"ai": "^6.0.161", "ai": "^6.0.161",

2
pnpm-lock.yaml generated
View file

@ -18,7 +18,7 @@ importers:
specifier: ^1.3.0 specifier: ^1.3.0
version: 1.4.0 version: 1.4.0
'@cliffy/table': '@cliffy/table':
specifier: npm:@jsr/cliffy__table specifier: jsr:^1.2.1
version: '@jsr/cliffy__table@1.2.1' version: '@jsr/cliffy__table@1.2.1'
'@mozilla/readability': '@mozilla/readability':
specifier: ^0.6.0 specifier: ^0.6.0

View file

@ -11,7 +11,7 @@ Generate a conventional commit message for this diff. If you are unable to gener
export const reviewFile = (input: string) => `${input} export const reviewFile = (input: string) => `${input}
Todays date is ${new Date().toISOString()}, your version info is likely out-of-date. Today's date is ${new Date().toISOString()}, your version info is likely out-of-date.
Review the included file for any potential bugs, best practices, performance issues, or security flaws. Review the included file for any potential bugs, best practices, performance issues, or security flaws.
Let me know if you need any more context to complete your review.`; Let me know if you need any more context to complete your review.`;
@ -20,7 +20,7 @@ export const reviewDiff = (input: string) => `\`\`\`diff
${input} ${input}
\`\`\` \`\`\`
Todays date is ${new Date().toISOString()}, your version info is likely out-of-date. Today's date is ${new Date().toISOString()}, your version info is likely out-of-date.
Review the included diff for any potential bugs, best practices, performance issues, or security flaws. Review the included diff for any potential bugs, best practices, performance issues, or security flaws.
Let me know if you need any more context to complete your review.`; Let me know if you need any more context to complete your review.`;