@ccusage/mcp 17.1.7 → 17.2.0

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +6 -5
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ import { Hono } from "hono/tiny";
18
18
  import { z } from "zod";
19
19
  import spawn, { SubprocessError } from "nano-spawn";
20
20
  var name = "@ccusage/mcp";
21
- var version = "17.1.7";
21
+ var version = "17.2.0";
22
22
  var description = "MCP server implementation for ccusage data";
23
23
  var d = Object.defineProperty;
24
24
  var n = (s, t) => d(s, "name", {
@@ -309,7 +309,7 @@ const codexDailyRowSchema = z.object({
309
309
  reasoningOutputTokens: z.number(),
310
310
  totalTokens: z.number(),
311
311
  costUSD: z.number(),
312
- models: z.record(codexModelUsageSchema)
312
+ models: z.record(z.string(), codexModelUsageSchema)
313
313
  });
314
314
  const codexMonthlyRowSchema = z.object({
315
315
  month: z.string(),
@@ -319,7 +319,7 @@ const codexMonthlyRowSchema = z.object({
319
319
  reasoningOutputTokens: z.number(),
320
320
  totalTokens: z.number(),
321
321
  costUSD: z.number(),
322
- models: z.record(codexModelUsageSchema)
322
+ models: z.record(z.string(), codexModelUsageSchema)
323
323
  });
324
324
  const codexDailyResponseSchema = z.object({
325
325
  daily: z.array(codexDailyRowSchema),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccusage/mcp",
3
- "version": "17.1.7",
3
+ "version": "17.2.0",
4
4
  "description": "MCP server implementation for ccusage data",
5
5
  "homepage": "https://github.com/ryoppippi/ccusage#readme",
6
6
  "bugs": {
@@ -25,18 +25,19 @@
25
25
  "ccusage-mcp": "./dist/index.js"
26
26
  },
27
27
  "files": [
28
+ "README.md",
28
29
  "dist"
29
30
  ],
30
31
  "dependencies": {
31
32
  "@hono/mcp": "^0.1.5",
32
33
  "@hono/node-server": "^1.19.6",
33
- "@modelcontextprotocol/sdk": "^1.18.1",
34
+ "@modelcontextprotocol/sdk": "^1.24.3",
34
35
  "gunshi": "^0.26.3",
35
36
  "hono": "^4.9.2",
36
37
  "nano-spawn": "^1.0.3",
37
- "zod": "^3.25.67",
38
- "@ccusage/codex": "17.1.7",
39
- "ccusage": "17.1.7"
38
+ "zod": "^4.1.13",
39
+ "@ccusage/codex": "17.2.0",
40
+ "ccusage": "17.2.0"
40
41
  },
41
42
  "engines": {
42
43
  "node": ">=20.19.4"