@buoy-design/cli 0.1.4 → 0.1.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.
|
@@ -2,7 +2,7 @@ import { COMMENT_MARKER, INLINE_MARKER_PREFIX, INLINE_MARKER_SUFFIX } from './gi
|
|
|
2
2
|
export function formatPRComment(results, _context) {
|
|
3
3
|
const lines = [COMMENT_MARKER];
|
|
4
4
|
// Header
|
|
5
|
-
lines.push('##
|
|
5
|
+
lines.push('## 🛟 Buoy Design Drift Report');
|
|
6
6
|
lines.push('');
|
|
7
7
|
// Walkthrough section (like CodeRabbit)
|
|
8
8
|
lines.push('### Walkthrough');
|
|
@@ -118,7 +118,7 @@ export function formatPRComment(results, _context) {
|
|
|
118
118
|
lines.push('');
|
|
119
119
|
// Footer
|
|
120
120
|
lines.push('---');
|
|
121
|
-
lines.push('<sub
|
|
121
|
+
lines.push('<sub>🛟 <a href="https://github.com/dylantarre/buoy">Buoy</a> - Design drift detection for the AI era</sub>');
|
|
122
122
|
return lines.join('\n');
|
|
123
123
|
}
|
|
124
124
|
function generateWalkthrough(results) {
|
|
@@ -261,7 +261,7 @@ export function formatDriftSignalForInline(drift, signalId) {
|
|
|
261
261
|
export function formatAIPRComment(analysis, results) {
|
|
262
262
|
const lines = [COMMENT_MARKER];
|
|
263
263
|
// Header with AI badge
|
|
264
|
-
lines.push('##
|
|
264
|
+
lines.push('## 🛟 Buoy Design Drift Report');
|
|
265
265
|
lines.push('');
|
|
266
266
|
lines.push('*🤖 AI-powered analysis enabled*');
|
|
267
267
|
lines.push('');
|
|
@@ -349,7 +349,7 @@ export function formatAIPRComment(analysis, results) {
|
|
|
349
349
|
lines.push('');
|
|
350
350
|
// Footer
|
|
351
351
|
lines.push('---');
|
|
352
|
-
lines.push('<sub
|
|
352
|
+
lines.push('<sub>🛟 <a href="https://github.com/dylantarre/buoy">Buoy</a> - AI-powered design drift detection</sub>');
|
|
353
353
|
return lines.join('\n');
|
|
354
354
|
}
|
|
355
355
|
function formatAIAnalyzedIssue(issue) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buoy-design/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Buoy CLI - Design drift detection for the AI era",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
44
44
|
"@buoy-design/core": "^0.1.2",
|
|
45
|
-
"@buoy-design/scanners": "^0.1.
|
|
45
|
+
"@buoy-design/scanners": "^0.1.3",
|
|
46
46
|
"@octokit/rest": "^21.0.0",
|
|
47
47
|
"chalk": "^5.3.0",
|
|
48
48
|
"cli-table3": "^0.6.5",
|