commit-ai-agent 1.0.6 → 1.0.7
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/.env.example +2 -1
- package/README.md +17 -12
- package/bin/cli.js +6 -7
- package/package.json +1 -1
- package/public/app.js +283 -188
- package/public/index.html +102 -30
- package/public/style.css +742 -223
- package/src/config.js +32 -0
- package/src/server.js +106 -18
package/public/index.html
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
</nav>
|
|
40
40
|
<div class="aria-chip" id="aria-chip">
|
|
41
41
|
<span class="aria-chip-dot" id="aria-chip-dot"></span>
|
|
42
|
-
<span id="aria-chip-text">
|
|
42
|
+
<span id="aria-chip-text">Hanni · 대기 중</span>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
45
|
</header>
|
|
@@ -48,56 +48,127 @@
|
|
|
48
48
|
<main class="main">
|
|
49
49
|
<!-- ── Tab: Analyze ── -->
|
|
50
50
|
<section class="tab-content active" id="tab-analyze">
|
|
51
|
-
|
|
52
51
|
<!-- ── Aria Hero ── -->
|
|
53
52
|
<div class="aria-hero">
|
|
54
53
|
<div class="aria-robot-wrap idle" id="aria-robot-wrap">
|
|
55
|
-
<svg
|
|
54
|
+
<svg
|
|
55
|
+
class="aria-robot"
|
|
56
|
+
viewBox="0 0 90 115"
|
|
57
|
+
width="90"
|
|
58
|
+
height="115"
|
|
59
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
60
|
+
>
|
|
56
61
|
<defs>
|
|
57
|
-
<linearGradient
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
<linearGradient
|
|
63
|
+
id="rg-head"
|
|
64
|
+
x1="0%"
|
|
65
|
+
y1="0%"
|
|
66
|
+
x2="100%"
|
|
67
|
+
y2="100%"
|
|
68
|
+
>
|
|
69
|
+
<stop offset="0%" stop-color="#6366f1" />
|
|
70
|
+
<stop offset="100%" stop-color="#22d3ee" />
|
|
60
71
|
</linearGradient>
|
|
61
|
-
<linearGradient
|
|
62
|
-
|
|
63
|
-
|
|
72
|
+
<linearGradient
|
|
73
|
+
id="rg-body"
|
|
74
|
+
x1="0%"
|
|
75
|
+
y1="0%"
|
|
76
|
+
x2="100%"
|
|
77
|
+
y2="100%"
|
|
78
|
+
>
|
|
79
|
+
<stop offset="0%" stop-color="#4f46e5" />
|
|
80
|
+
<stop offset="100%" stop-color="#0e7490" />
|
|
64
81
|
</linearGradient>
|
|
65
82
|
</defs>
|
|
66
83
|
<!-- Antenna -->
|
|
67
|
-
<line
|
|
68
|
-
|
|
84
|
+
<line
|
|
85
|
+
x1="45"
|
|
86
|
+
y1="7"
|
|
87
|
+
x2="45"
|
|
88
|
+
y2="20"
|
|
89
|
+
stroke="#818cf8"
|
|
90
|
+
stroke-width="2.5"
|
|
91
|
+
stroke-linecap="round"
|
|
92
|
+
/>
|
|
93
|
+
<circle
|
|
94
|
+
class="aria-antenna-dot"
|
|
95
|
+
cx="45"
|
|
96
|
+
cy="5"
|
|
97
|
+
r="5"
|
|
98
|
+
fill="#818cf8"
|
|
99
|
+
/>
|
|
69
100
|
<!-- Ears -->
|
|
70
|
-
<rect
|
|
71
|
-
|
|
101
|
+
<rect
|
|
102
|
+
x="1"
|
|
103
|
+
y="34"
|
|
104
|
+
width="9"
|
|
105
|
+
height="18"
|
|
106
|
+
rx="4.5"
|
|
107
|
+
fill="#4f46e5"
|
|
108
|
+
/>
|
|
109
|
+
<rect
|
|
110
|
+
x="80"
|
|
111
|
+
y="34"
|
|
112
|
+
width="9"
|
|
113
|
+
height="18"
|
|
114
|
+
rx="4.5"
|
|
115
|
+
fill="#4f46e5"
|
|
116
|
+
/>
|
|
72
117
|
<!-- Head -->
|
|
73
|
-
<rect
|
|
118
|
+
<rect
|
|
119
|
+
x="9"
|
|
120
|
+
y="18"
|
|
121
|
+
width="72"
|
|
122
|
+
height="62"
|
|
123
|
+
rx="20"
|
|
124
|
+
fill="url(#rg-head)"
|
|
125
|
+
/>
|
|
74
126
|
<!-- Eyes white -->
|
|
75
|
-
<circle cx="30" cy="48" r="13" fill="white" opacity="0.92"/>
|
|
76
|
-
<circle cx="60" cy="48" r="13" fill="white" opacity="0.92"/>
|
|
127
|
+
<circle cx="30" cy="48" r="13" fill="white" opacity="0.92" />
|
|
128
|
+
<circle cx="60" cy="48" r="13" fill="white" opacity="0.92" />
|
|
77
129
|
<!-- Pupils -->
|
|
78
|
-
<circle cx="32" cy="49" r="7.5" fill="#1e1b4b"/>
|
|
79
|
-
<circle cx="62" cy="49" r="7.5" fill="#1e1b4b"/>
|
|
130
|
+
<circle cx="32" cy="49" r="7.5" fill="#1e1b4b" />
|
|
131
|
+
<circle cx="62" cy="49" r="7.5" fill="#1e1b4b" />
|
|
80
132
|
<!-- Eye shine -->
|
|
81
|
-
<circle cx="35" cy="45" r="2.5" fill="white"/>
|
|
82
|
-
<circle cx="65" cy="45" r="2.5" fill="white"/>
|
|
133
|
+
<circle cx="35" cy="45" r="2.5" fill="white" />
|
|
134
|
+
<circle cx="65" cy="45" r="2.5" fill="white" />
|
|
83
135
|
<!-- Smile -->
|
|
84
|
-
<path
|
|
136
|
+
<path
|
|
137
|
+
d="M 32 63 Q 45 73 58 63"
|
|
138
|
+
stroke="white"
|
|
139
|
+
stroke-width="2.8"
|
|
140
|
+
fill="none"
|
|
141
|
+
stroke-linecap="round"
|
|
142
|
+
/>
|
|
85
143
|
<!-- Body -->
|
|
86
|
-
<rect
|
|
144
|
+
<rect
|
|
145
|
+
x="20"
|
|
146
|
+
y="84"
|
|
147
|
+
width="50"
|
|
148
|
+
height="28"
|
|
149
|
+
rx="12"
|
|
150
|
+
fill="url(#rg-body)"
|
|
151
|
+
/>
|
|
87
152
|
<!-- Body buttons -->
|
|
88
|
-
<circle cx="34" cy="98" r="5" fill="rgba(255,255,255,0.35)"/>
|
|
89
|
-
<circle cx="45" cy="98" r="5" fill="rgba(255,255,255,0.35)"/>
|
|
90
|
-
<circle cx="56" cy="98" r="5" fill="rgba(255,255,255,0.35)"/>
|
|
153
|
+
<circle cx="34" cy="98" r="5" fill="rgba(255,255,255,0.35)" />
|
|
154
|
+
<circle cx="45" cy="98" r="5" fill="rgba(255,255,255,0.35)" />
|
|
155
|
+
<circle cx="56" cy="98" r="5" fill="rgba(255,255,255,0.35)" />
|
|
91
156
|
</svg>
|
|
92
157
|
</div>
|
|
93
158
|
<div class="aria-bubble-wrap">
|
|
94
159
|
<div class="aria-bubble">
|
|
95
|
-
<span class="aria-bubble-text" id="aria-bubble-text"
|
|
96
|
-
|
|
160
|
+
<span class="aria-bubble-text" id="aria-bubble-text"
|
|
161
|
+
>어떤 프로젝트의 커밋을 분석해드릴까요?</span
|
|
162
|
+
>
|
|
163
|
+
<span
|
|
164
|
+
class="aria-typing-dots"
|
|
165
|
+
id="aria-typing-dots"
|
|
166
|
+
style="display: none"
|
|
167
|
+
>
|
|
97
168
|
<span></span><span></span><span></span>
|
|
98
169
|
</span>
|
|
99
170
|
</div>
|
|
100
|
-
<div class="aria-name-badge">
|
|
171
|
+
<div class="aria-name-badge">Hanni</div>
|
|
101
172
|
</div>
|
|
102
173
|
</div>
|
|
103
174
|
|
|
@@ -137,7 +208,8 @@
|
|
|
137
208
|
>프로젝트를 선택해 주세요</span
|
|
138
209
|
>
|
|
139
210
|
<button class="btn-primary" id="analyze-btn" disabled>
|
|
140
|
-
<span class="btn-icon">🤖</span>
|
|
211
|
+
<span class="btn-icon">🤖</span>
|
|
212
|
+
<span id="analyze-btn-text">Hanni에게 분석 요청</span>
|
|
141
213
|
</button>
|
|
142
214
|
</div>
|
|
143
215
|
</div>
|
|
@@ -175,7 +247,7 @@
|
|
|
175
247
|
<!-- Analysis Output -->
|
|
176
248
|
<div class="card result-card" id="result-card" style="display: none">
|
|
177
249
|
<div class="result-header">
|
|
178
|
-
<h2 class="card-title">🤖
|
|
250
|
+
<h2 class="card-title">🤖 Hanni의 분석 리포트</h2>
|
|
179
251
|
<div class="result-actions">
|
|
180
252
|
<button class="btn-ghost" id="copy-btn" style="display: none">
|
|
181
253
|
📋 복사
|