agentlytics 0.1.2 → 0.1.5

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.
@@ -104,7 +104,7 @@ export default function ProjectDetail() {
104
104
  <div className="flex items-start gap-3">
105
105
  <button
106
106
  onClick={() => navigate('/projects')}
107
- className="flex items-center gap-1 text-[11px] transition mt-0.5 flex-shrink-0"
107
+ className="flex items-center gap-1 text-[12px] transition mt-0.5 flex-shrink-0"
108
108
  style={{ color: 'var(--c-text3)' }}
109
109
  >
110
110
  <ArrowLeft size={12} />
@@ -112,7 +112,7 @@ export default function ProjectDetail() {
112
112
  <FolderOpen size={18} className="flex-shrink-0 mt-0.5" style={{ color: 'var(--c-accent)' }} />
113
113
  <div className="flex-1 min-w-0">
114
114
  <h1 className="text-sm font-bold truncate" style={{ color: 'var(--c-white)' }}>{project.name}</h1>
115
- <div className="text-[10px] truncate" style={{ color: 'var(--c-text3)' }}>{project.folder}</div>
115
+ <div className="text-[11px] truncate" style={{ color: 'var(--c-text3)' }}>{project.folder}</div>
116
116
  </div>
117
117
  <div className="flex items-center gap-1.5 flex-shrink-0">
118
118
  {editorEntries.map(([e]) => (
@@ -120,7 +120,7 @@ export default function ProjectDetail() {
120
120
  ))}
121
121
  </div>
122
122
  </div>
123
- <div className="flex items-center gap-4 mt-3 pt-3 text-[10px]" style={{ borderTop: '1px solid var(--c-border)' }}>
123
+ <div className="flex items-center gap-4 mt-3 pt-3 text-[11px]" style={{ borderTop: '1px solid var(--c-border)' }}>
124
124
  <div className="flex items-center gap-1" style={{ color: 'var(--c-text3)' }}>
125
125
  <Calendar size={9} />
126
126
  <span>{formatDate(project.firstSeen)}</span>
@@ -169,11 +169,11 @@ export default function ProjectDetail() {
169
169
  className="accent-[var(--c-accent)] w-3 h-3 flex-shrink-0 cursor-pointer"
170
170
  />
171
171
  <EditorIcon source={e} size={11} />
172
- <span className="text-[10px] truncate flex-1 cursor-pointer select-none" onClick={() => toggleEditor(e)} style={{ color: checked ? 'var(--c-text2)' : 'var(--c-text3)', opacity: checked ? 1 : 0.4 }}>{editorLabel(e)}</span>
172
+ <span className="text-[11px] truncate flex-1 cursor-pointer select-none" onClick={() => toggleEditor(e)} style={{ color: checked ? 'var(--c-text2)' : 'var(--c-text3)', opacity: checked ? 1 : 0.4 }}>{editorLabel(e)}</span>
173
173
  <div className="w-16 h-3 rounded-sm overflow-hidden" style={{ background: 'var(--c-code-bg)' }}>
174
174
  <div className="h-full rounded-sm transition-all" style={{ width: `${(count / fMaxEditorCount * 100).toFixed(0)}%`, background: checked ? editorColor(e) : 'var(--c-text3)', opacity: checked ? 1 : 0.2 }} />
175
175
  </div>
176
- <span className="text-[10px] w-6 text-right font-bold" style={{ color: checked ? 'var(--c-white)' : 'var(--c-text3)', opacity: checked ? 1 : 0.4 }}>{count}</span>
176
+ <span className="text-[11px] w-6 text-right font-bold" style={{ color: checked ? 'var(--c-white)' : 'var(--c-text3)', opacity: checked ? 1 : 0.4 }}>{count}</span>
177
177
  </div>
178
178
  )
179
179
  })}
@@ -199,7 +199,7 @@ export default function ProjectDetail() {
199
199
  }}
200
200
  />
201
201
  </div>
202
- ) : <div className="text-[10px] py-8 text-center" style={{ color: 'var(--c-text3)' }}>no model data</div>}
202
+ ) : <div className="text-[11px] py-8 text-center" style={{ color: 'var(--c-text3)' }}>no model data</div>}
203
203
  </div>
204
204
 
205
205
  {/* Top tools horizontal bar */}
@@ -226,7 +226,7 @@ export default function ProjectDetail() {
226
226
  }}
227
227
  />
228
228
  </div>
229
- ) : <div className="text-[10px] py-8 text-center" style={{ color: 'var(--c-text3)' }}>no tool data</div>}
229
+ ) : <div className="text-[11px] py-8 text-center" style={{ color: 'var(--c-text3)' }}>no tool data</div>}
230
230
  </div>
231
231
  </div>
232
232
 
@@ -241,16 +241,16 @@ export default function ProjectDetail() {
241
241
  placeholder="filter sessions..."
242
242
  value={chatSearch}
243
243
  onChange={e => setChatSearch(e.target.value)}
244
- className="w-full pl-7 pr-3 py-1 text-[11px] outline-none rounded-sm"
244
+ className="w-full pl-7 pr-3 py-1 text-[12px] outline-none rounded-sm"
245
245
  style={{ background: 'var(--c-bg3)', color: 'var(--c-text)', border: '1px solid var(--c-border)' }}
246
246
  />
247
247
  </div>
248
248
  </div>
249
249
 
250
250
  <div className="card overflow-hidden">
251
- <table className="w-full text-[11px]">
251
+ <table className="w-full text-[12px]">
252
252
  <thead>
253
- <tr className="text-[9px] uppercase tracking-wider" style={{ borderBottom: '1px solid var(--c-border)', color: 'var(--c-text3)' }}>
253
+ <tr className="text-[10px] uppercase tracking-wider" style={{ borderBottom: '1px solid var(--c-border)', color: 'var(--c-text3)' }}>
254
254
  <th className="text-left py-2 px-3 font-medium">editor</th>
255
255
  <th className="text-left py-2 px-3 font-medium">name</th>
256
256
  <th className="text-left py-2 px-3 font-medium">mode</th>
@@ -277,7 +277,7 @@ export default function ProjectDetail() {
277
277
  </td>
278
278
  <td className="py-2 px-3 font-medium truncate max-w-[280px]" style={{ color: 'var(--c-white)' }}>
279
279
  {c.name || <span style={{ color: 'var(--c-text3)' }}>Untitled</span>}
280
- {c.encrypted && <span className="ml-1.5 text-[9px] text-yellow-500/60">locked</span>}
280
+ {c.encrypted && <span className="ml-1.5 text-[10px] text-yellow-500/60">locked</span>}
281
281
  </td>
282
282
  <td className="py-2 px-3" style={{ color: 'var(--c-text2)' }}>{c.mode || ''}</td>
283
283
  <td className="py-2 px-3 font-mono truncate max-w-[150px]" style={{ color: 'var(--c-text2)' }} title={c.topModel || ''}>{c.topModel || ''}</td>
@@ -136,7 +136,7 @@ export default function Projects({ overview }) {
136
136
  <select
137
137
  value={editorFilter}
138
138
  onChange={e => setEditorFilter(e.target.value)}
139
- className="px-2 py-1.5 text-[11px] outline-none rounded-sm"
139
+ className="px-2 py-1.5 text-[12px] outline-none rounded-sm"
140
140
  style={{ background: 'var(--c-bg3)', color: 'var(--c-text)', border: '1px solid var(--c-border)' }}
141
141
  >
142
142
  <option value="">All Editors</option>
@@ -151,7 +151,7 @@ export default function Projects({ overview }) {
151
151
  placeholder="search projects..."
152
152
  value={search}
153
153
  onChange={e => setSearch(e.target.value)}
154
- className="w-full pl-8 pr-3 py-1.5 text-[11px] outline-none rounded-sm"
154
+ className="w-full pl-8 pr-3 py-1.5 text-[12px] outline-none rounded-sm"
155
155
  style={{ background: 'var(--c-bg3)', color: 'var(--c-text)', border: '1px solid var(--c-border)' }}
156
156
  />
157
157
  </div>
@@ -176,7 +176,7 @@ export default function Projects({ overview }) {
176
176
  <FolderOpen size={14} className="flex-shrink-0 mt-0.5" style={{ color: 'var(--c-accent)' }} />
177
177
  <div className="flex-1 min-w-0">
178
178
  <div className="text-[12px] font-bold truncate" style={{ color: 'var(--c-white)' }}>{p.name}</div>
179
- <div className="text-[9px] truncate" style={{ color: 'var(--c-text3)' }}>{p.folder}</div>
179
+ <div className="text-[10px] truncate" style={{ color: 'var(--c-text3)' }}>{p.folder}</div>
180
180
  </div>
181
181
  <div className="flex items-center gap-1 flex-shrink-0">
182
182
  {editorEntries.slice(0, 4).map(([e]) => (
@@ -191,7 +191,7 @@ export default function Projects({ overview }) {
191
191
  </div>
192
192
 
193
193
  {/* Stats grid */}
194
- <div className="grid grid-cols-2 gap-x-3 gap-y-1 text-[10px]">
194
+ <div className="grid grid-cols-2 gap-x-3 gap-y-1 text-[11px]">
195
195
  <div className="flex items-center gap-1">
196
196
  <MessageSquare size={9} style={{ color: 'var(--c-text3)' }} />
197
197
  <span style={{ color: 'var(--c-text2)' }}>{p.totalSessions} sessions</span>
@@ -213,7 +213,7 @@ export default function Projects({ overview }) {
213
213
  </div>
214
214
 
215
215
  {/* Footer: editors breakdown + date */}
216
- <div className="flex items-center gap-2 pt-1 text-[9px]" style={{ borderTop: '1px solid var(--c-border)' }}>
216
+ <div className="flex items-center gap-2 pt-1 text-[10px]" style={{ borderTop: '1px solid var(--c-border)' }}>
217
217
  <div className="flex items-center gap-1.5 flex-1 min-w-0">
218
218
  {editorEntries.map(([e, c]) => (
219
219
  <span key={e} className="inline-flex items-center gap-0.5 truncate">