@ccusage/mcp 17.0.0 → 17.0.1
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/dist/index.js +4 -2
- package/package.json +3 -3
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.0.
|
|
21
|
+
var version = "17.0.1";
|
|
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", {
|
|
@@ -528,7 +528,9 @@ const mcpCommand = define({
|
|
|
528
528
|
}
|
|
529
529
|
});
|
|
530
530
|
async function runCli(argv = process$1.argv.slice(2)) {
|
|
531
|
-
|
|
531
|
+
let args = argv;
|
|
532
|
+
if (args[0] === "ccusage-mcp") args = args.slice(1);
|
|
533
|
+
await cli(args, mcpCommand, {
|
|
532
534
|
name,
|
|
533
535
|
version,
|
|
534
536
|
description,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ccusage/mcp",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.1",
|
|
4
4
|
"description": "MCP server implementation for ccusage data",
|
|
5
5
|
"homepage": "https://github.com/ryoppippi/ccusage#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"hono": "^4.9.2",
|
|
36
36
|
"nano-spawn": "^1.0.2",
|
|
37
37
|
"zod": "^3.25.67",
|
|
38
|
-
"ccusage": "17.0.
|
|
39
|
-
"
|
|
38
|
+
"@ccusage/codex": "17.0.1",
|
|
39
|
+
"ccusage": "17.0.1"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=20.19.4"
|