李琦 e71ce451ff 模块介绍 / 今日规划 / 下班日报 / 团队摘要 生成成功后没有上报,也几乎不写「AI」日志。
流结束时的 usage 用了非阻塞发送,通道一满就被丢掉;很多服务商默认还不在流里带 usage。
现在每次真正打到模型的调用都会:

在本地日志(分类 AI,消息 AI 调用完成)写下 scene / prompt / completion / cached
登录后同步上报到后台日汇总
2026-08-17 14:00:47 +08:00
2026-08-15 17:18:00 +08:00
2026-08-11 19:07:05 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-11 19:07:05 +08:00
2026-08-14 07:51:46 +08:00
2026-08-14 07:52:01 +08:00
2026-08-15 17:18:00 +08:00
2026-08-11 19:07:05 +08:00
2026-08-14 07:52:01 +08:00
2026-08-14 07:52:01 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-14 07:52:01 +08:00
2026-08-14 07:52:01 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-14 07:51:46 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-15 17:18:00 +08:00
2026-08-14 07:52:01 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-14 07:51:46 +08:00
2026-08-14 07:51:46 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-14 07:52:01 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-14 07:52:01 +08:00
2026-08-15 17:18:00 +08:00
2026-08-14 07:52:01 +08:00
2026-08-14 07:52:01 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00
2026-08-14 07:52:01 +08:00
2026-08-14 07:52:01 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-14 07:52:01 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-14 07:52:01 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-15 17:18:00 +08:00
2026-08-14 07:52:01 +08:00
2026-08-14 07:52:01 +08:00
2026-08-14 17:54:06 +08:00
2026-08-15 17:18:00 +08:00
2026-08-14 07:52:01 +08:00
2026-08-11 19:07:05 +08:00
2026-08-14 07:52:01 +08:00
2026-08-14 17:54:06 +08:00
2026-08-11 19:07:05 +08:00
2026-08-11 19:07:05 +08:00

Code Count

Code Count is a Wails v2 desktop application for local source-code and Git analytics. The Go backend scans source files with gocloc, reads Git history through the installed git executable, and persists analysis snapshots in SQLite. The Vue 3 frontend provides Chinese/English and light/dark themes.

Requirements

  • Go 1.25+
  • Node.js 20+
  • Wails CLI 2.12+
  • Git (optional; required only for Git analytics)

Development

cd frontend
npm install
cd ..
wails dev

The database is created under the operating system's user configuration directory in CodeCount/code-count.db. Its location can be changed from Settings.

Tests and builds

go test ./...
cd frontend
npm run build
cd ..
wails build

Windows builds produce build/bin/code-count.exe. Run wails build -platform darwin/universal on macOS to create the macOS application bundle.

About

This is the official Wails Vue template.

You can configure the project by editing wails.json. More information about the project settings can be found here: https://wails.io/docs/reference/project-config

Live Development

To run in live development mode, run wails dev in the project directory. This will run a Vite development server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect to this in your browser, and you can call your Go code from devtools.

Building

To build a redistributable, production mode package, use wails build.

Description
No description provided
Readme 53 MiB
Languages
Go 37.9%
Vue 33.6%
CSS 14.8%
JavaScript 11.9%
NSIS 0.9%
Other 0.9%