agentlytics 0.1.19 → 0.1.20
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/cache.js +3 -2
- package/editors/antigravity.js +504 -31
- package/editors/base.js +87 -0
- package/editors/claude.js +11 -1
- package/editors/codex.js +11 -0
- package/editors/copilot.js +11 -1
- package/editors/cursor.js +11 -1
- package/editors/gemini.js +11 -1
- package/editors/goose.js +30 -8
- package/editors/index.js +40 -1
- package/editors/kiro.js +11 -1
- package/editors/opencode.js +4 -22
- package/editors/vscode.js +11 -1
- package/editors/windsurf.js +21 -10
- package/editors/zed.js +23 -3
- package/index.js +40 -38
- package/package.json +1 -1
- package/server.js +81 -1
- package/ui/src/App.jsx +75 -16
- package/ui/src/components/AiAuditCard.jsx +4 -5
- package/ui/src/components/AnimatedLoader.jsx +14 -0
- package/ui/src/lib/api.js +13 -0
- package/ui/src/pages/Artifacts.jsx +600 -0
- package/ui/src/pages/CostAnalysis.jsx +2 -1
- package/ui/src/pages/Dashboard.jsx +2 -1
- package/ui/src/pages/ProjectDetail.jsx +3 -1
- package/ui/src/pages/Projects.jsx +2 -1
- package/ui/src/pages/RelayDashboard.jsx +2 -1
- package/ui/src/pages/Settings.jsx +2 -1
- package/ui/src/pages/Subscriptions.jsx +2 -1
|
@@ -10,6 +10,7 @@ import KpiCard from '../components/KpiCard'
|
|
|
10
10
|
import EditorIcon from '../components/EditorIcon'
|
|
11
11
|
import DateRangePicker from '../components/DateRangePicker'
|
|
12
12
|
import SectionTitle from '../components/SectionTitle'
|
|
13
|
+
import AnimatedLoader from '../components/AnimatedLoader'
|
|
13
14
|
|
|
14
15
|
ChartJS.register(ArcElement, Tooltip, Legend, CategoryScale, LinearScale, BarElement)
|
|
15
16
|
|
|
@@ -37,7 +38,7 @@ export default function Projects({ overview }) {
|
|
|
37
38
|
]).then(([p, c]) => { setProjects(p); setCosts(c) })
|
|
38
39
|
}, [dateRange])
|
|
39
40
|
|
|
40
|
-
if (!projects) return <
|
|
41
|
+
if (!projects) return <AnimatedLoader label="Loading projects..." />
|
|
41
42
|
|
|
42
43
|
const filtered = projects.filter(p => {
|
|
43
44
|
if (editorFilter && !p.editors[editorFilter]) return false
|
|
@@ -10,6 +10,7 @@ import ChatSidebar from '../components/ChatSidebar'
|
|
|
10
10
|
import LiveFeed from '../components/LiveFeed'
|
|
11
11
|
import { editorColor, editorLabel, formatNumber, formatDate } from '../lib/constants'
|
|
12
12
|
import { fetchRelayTeamStats, fetchRelaySearch, fetchRelaySession, mergeRelayUsers } from '../lib/api'
|
|
13
|
+
import AnimatedLoader from '../components/AnimatedLoader'
|
|
13
14
|
import { useTheme } from '../lib/theme'
|
|
14
15
|
|
|
15
16
|
ChartJS.register(ArcElement, Tooltip, Legend, CategoryScale, LinearScale, BarElement)
|
|
@@ -291,7 +292,7 @@ export default function RelayDashboard() {
|
|
|
291
292
|
return map
|
|
292
293
|
}, [userList])
|
|
293
294
|
|
|
294
|
-
if (!stats) return <
|
|
295
|
+
if (!stats) return <AnimatedLoader label="Loading relay data..." />
|
|
295
296
|
|
|
296
297
|
const editorData = stats.editors || []
|
|
297
298
|
const models = stats.topModels || []
|
|
@@ -4,6 +4,7 @@ import { fetchConfig, updateConfig, fetchAllProjects } from '../lib/api'
|
|
|
4
4
|
import { editorLabel, formatNumber, formatDate } from '../lib/constants'
|
|
5
5
|
import EditorIcon from '../components/EditorIcon'
|
|
6
6
|
import SectionTitle from '../components/SectionTitle'
|
|
7
|
+
import AnimatedLoader from '../components/AnimatedLoader'
|
|
7
8
|
|
|
8
9
|
export default function Settings() {
|
|
9
10
|
const [config, setConfig] = useState(null)
|
|
@@ -21,7 +22,7 @@ export default function Settings() {
|
|
|
21
22
|
}, [])
|
|
22
23
|
|
|
23
24
|
if (loading || !config) {
|
|
24
|
-
return <
|
|
25
|
+
return <AnimatedLoader label="Loading settings..." />
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
const hiddenProjects = config.hiddenProjects || []
|
|
@@ -3,6 +3,7 @@ import { CreditCard, RefreshCw, Clock, Zap, Shield, ChevronDown, ChevronUp } fro
|
|
|
3
3
|
import { fetchUsage } from '../lib/api'
|
|
4
4
|
import { editorLabel, editorColor } from '../lib/constants'
|
|
5
5
|
import EditorIcon from '../components/EditorIcon'
|
|
6
|
+
import AnimatedLoader from '../components/AnimatedLoader'
|
|
6
7
|
|
|
7
8
|
function UsageBar({ value, max = 100, color, label }) {
|
|
8
9
|
const pct = max > 0 ? Math.min((value / max) * 100, 100) : 0
|
|
@@ -386,7 +387,7 @@ export default function Subscriptions() {
|
|
|
386
387
|
</div>
|
|
387
388
|
|
|
388
389
|
{loading && !data && (
|
|
389
|
-
<
|
|
390
|
+
<AnimatedLoader label="Loading subscriptions..." />
|
|
390
391
|
)}
|
|
391
392
|
|
|
392
393
|
{error && (
|