ccgauge 1.1.2 → 1.1.3
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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-build-manifest.json +41 -41
- package/.next/standalone/.next/app-path-routes-manifest.json +10 -10
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/blocks/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/export/usage/route.js +1 -1
- package/.next/standalone/.next/server/app/api/export/usage/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/pricing/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/scan/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/usage/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/models/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/page.js +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/page.js +1 -1
- package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/usage/page.js +2 -2
- package/.next/standalone/.next/server/app/usage/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app-paths-manifest.json +10 -10
- package/.next/standalone/.next/server/chunks/567.js +2 -2
- package/.next/standalone/.next/server/chunks/98.js +1 -1
- package/.next/standalone/.next/server/functions-config-manifest.json +3 -3
- package/.next/standalone/.next/server/middleware-manifest.json +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/static/chunks/148-59989feca70944f2.js +1 -0
- package/.next/standalone/.next/static/chunks/app/usage/page-8af23d9f5420c824.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/bundle.js +227 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/code-frame.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-block-hoist-plugin.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-config.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-normalize-file.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-normalize-opts.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core-lib-plugin-pass.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/core.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/generator.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/parser.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/plugin-syntax-jsx.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/plugin-transform-define.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/plugin-transform-modules-commonjs.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/preset-typescript.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/traverse.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel/types.js +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel-packages/package.json +1 -0
- package/.next/standalone/node_modules/next/dist/compiled/babel-packages/packages-bundle.js +335 -0
- package/.next/standalone/package.json +2 -2
- package/CHANGELOG.md +58 -0
- package/dist/mcp/server.mjs +14 -14
- package/dist/report/index.mjs +28 -28
- package/package.json +2 -2
- package/.next/standalone/.next/static/chunks/148-edf90b0918345dc2.js +0 -1
- package/.next/standalone/.next/static/chunks/app/usage/page-051223f62647aadc.js +0 -1
- /package/.next/standalone/.next/static/{EQqRlXV5HyaCYSZWOVllH → CMei_rtoPIOG9ihnAXFks}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{EQqRlXV5HyaCYSZWOVllH → CMei_rtoPIOG9ihnAXFks}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccgauge",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Local web dashboard for Claude Code and OpenAI Codex CLI token usage and cost",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"start:next": "next start -p 3737",
|
|
65
65
|
"lint": "eslint .",
|
|
66
66
|
"typecheck": "tsc --noEmit",
|
|
67
|
-
"test": "node --experimental-strip-types --no-warnings scripts/test-codex-parser.mjs && node --experimental-strip-types --no-warnings scripts/test-turns.mjs && node --experimental-strip-types --no-warnings scripts/test-source-merge.mjs && node --experimental-strip-types --no-warnings scripts/test-cost-from-usage.mjs && node --experimental-strip-types --no-warnings scripts/test-range.mjs && node scripts/check-parser-versions.mjs && node scripts/check-readme-images.mjs",
|
|
67
|
+
"test": "node --experimental-strip-types --no-warnings scripts/test-codex-parser.mjs && node --experimental-strip-types --no-warnings scripts/test-turns.mjs && node --experimental-strip-types --no-warnings scripts/test-sidechain.mjs && node --experimental-strip-types --no-warnings scripts/test-source-merge.mjs && node --experimental-strip-types --no-warnings scripts/test-cost-from-usage.mjs && node --experimental-strip-types --no-warnings scripts/test-range.mjs && node scripts/check-parser-versions.mjs && node scripts/check-readme-images.mjs",
|
|
68
68
|
"test:mcp": "node scripts/test-mcp-server.mjs",
|
|
69
69
|
"clean": "node -e \"for (const p of ['.next','node_modules','tsconfig.tsbuildinfo']) require('node:fs').rmSync(p,{recursive:true,force:true})\"",
|
|
70
70
|
"screenshots": "node scripts/screenshots.mjs",
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,60 @@ All notable changes to **ccgauge** are documented here.
|
|
|
5
5
|
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
6
6
|
this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.1.3] — 2026-06-05
|
|
9
|
+
|
|
10
|
+
A critical hotfix, plus a Workflow / ultracode badge on the usage page.
|
|
11
|
+
**v1.1.2 fails to start on a clean install** — `npx ccgauge` crashes at
|
|
12
|
+
boot, before serving a single page. If you installed 1.1.2, upgrade
|
|
13
|
+
immediately.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **Workflow / ultracode badge on the usage page.** A turn that fans out
|
|
18
|
+
parallel sub-agents — Claude Code's Workflow tool, e.g. `ultracode`
|
|
19
|
+
mode — now shows a `Workflow ×N` badge in the usage table's model
|
|
20
|
+
column, where N is the number of distinct parallel sub-agent transcripts
|
|
21
|
+
it spawned. Localized (en / zh).
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- **`npx ccgauge` crashed on every clean machine (1.1.2 regression).**
|
|
26
|
+
The 1.1.2 size-prune deleted `next/dist/compiled/babel`, assuming it was
|
|
27
|
+
a build-only transpiler bundle. It is not: Next's standalone production
|
|
28
|
+
startup requires `babel/code-frame` unconditionally
|
|
29
|
+
(`node-environment.js` → `patch-error-inspect.js` →
|
|
30
|
+
`next-devtools/server/shared.js`). The server threw `Cannot find module
|
|
31
|
+
'next/dist/compiled/babel/code-frame'` at boot and never listened — so
|
|
32
|
+
every page, logo, and JS chunk failed to load with a 400 and the app
|
|
33
|
+
died with a `ChunkLoadError`. `babel` + `babel-packages` are restored to
|
|
34
|
+
the package (tarball 5.3 MB → 5.9 MB — still ~62% below the 15.5 MB it
|
|
35
|
+
started from). The other prunes (`sharp` / `@img`, AMP validator,
|
|
36
|
+
capsize font-metrics, `next/font`) are verified safe and stay removed.
|
|
37
|
+
|
|
38
|
+
- **The build's smoke gate couldn't catch this — now it can.** The
|
|
39
|
+
post-build `smoke-standalone.mjs` booted the server *inside the repo*,
|
|
40
|
+
where Node's module resolution falls back to the project's own
|
|
41
|
+
`node_modules/next` — so a standalone missing its bundled `babel` still
|
|
42
|
+
started and the gate passed green. The gate now copies the standalone to
|
|
43
|
+
a temp dir **outside the repo** and boots it there, faithfully
|
|
44
|
+
reproducing a clean `npx` install. Reverse-tested: with `babel` removed
|
|
45
|
+
it now fails the build (`server exited early … Cannot find module`),
|
|
46
|
+
exactly the regression that shipped 1.1.2.
|
|
47
|
+
|
|
48
|
+
- **Workflow / ultracode sub-agent turns weren't folded into the turn
|
|
49
|
+
that spawned them.** These sub-agent transcripts live under
|
|
50
|
+
`subagents/workflows/wf_<id>/`, a path the sidechain-linking regex
|
|
51
|
+
didn't match — so each parallel agent surfaced as its own orphan
|
|
52
|
+
"(no user text)" row instead of collapsing into the conversation turn
|
|
53
|
+
that launched the fan-out. The matcher now handles the nested workflow
|
|
54
|
+
path (case- and separator-tolerant), with regression tests.
|
|
55
|
+
|
|
56
|
+
### Internal
|
|
57
|
+
|
|
58
|
+
- `postbuild.mjs` now carries a standing warning against re-pruning
|
|
59
|
+
`babel`, documenting the exact startup require chain that depends on it,
|
|
60
|
+
so the assumption that misfired in 1.1.2 can't be repeated silently.
|
|
61
|
+
|
|
8
62
|
## [1.1.2] — 2026-05-30
|
|
9
63
|
|
|
10
64
|
A packaging + polish release. The published npm tarball shrinks by 66%,
|
|
@@ -1263,6 +1317,10 @@ of HTML to the browser.
|
|
|
1263
1317
|
- Initial public release as `ccgauge`: local Next.js dashboard for
|
|
1264
1318
|
Claude Code token usage, cost, and 5-hour block tracking.
|
|
1265
1319
|
|
|
1320
|
+
[1.1.3]: https://github.com/chengzuopeng/ccgauge/compare/v1.1.2...v1.1.3
|
|
1321
|
+
[1.1.2]: https://github.com/chengzuopeng/ccgauge/compare/v1.1.1...v1.1.2
|
|
1322
|
+
[1.1.1]: https://github.com/chengzuopeng/ccgauge/compare/v1.1.0...v1.1.1
|
|
1323
|
+
[1.1.0]: https://github.com/chengzuopeng/ccgauge/compare/v1.0.5...v1.1.0
|
|
1266
1324
|
[1.0.5]: https://github.com/chengzuopeng/ccgauge/compare/v1.0.4...v1.0.5
|
|
1267
1325
|
[1.0.4]: https://github.com/chengzuopeng/ccgauge/compare/v1.0.3...v1.0.4
|
|
1268
1326
|
[1.0.3]: https://github.com/chengzuopeng/ccgauge/compare/v1.0.2...v1.0.3
|