mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-14 15:54:22 +01:00
feat: ajouter l'API de statistiques WakaTime et mettre à jour le point de terminaison dans l'outil MCP
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
export default defineMcpTool({
|
export default defineMcpTool({
|
||||||
description: 'Detailed coding statistics and analytics from WakaTime, including programming languages, time spent coding, and productivity metrics',
|
description: 'Detailed coding statistics and analytics from WakaTime, including programming languages, time spent coding, and productivity metrics',
|
||||||
handler: async () => {
|
handler: async () => {
|
||||||
const result = await $fetch('/api/wakatime')
|
const result = await $fetch('/api/stats')
|
||||||
return {
|
return {
|
||||||
content: [{
|
content: [{
|
||||||
type: 'text',
|
type: 'text',
|
||||||
|
|||||||
Reference in New Issue
Block a user