@kaname-tasks/kaname 0.2.0 → 0.2.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 +44 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29,6 +29,49 @@ import {
|
|
|
29
29
|
import { Command } from "commander";
|
|
30
30
|
import pc3 from "picocolors";
|
|
31
31
|
|
|
32
|
+
// package.json
|
|
33
|
+
var package_default = {
|
|
34
|
+
name: "@kaname-tasks/kaname",
|
|
35
|
+
version: "0.2.1",
|
|
36
|
+
description: "Command-line client for Kaname",
|
|
37
|
+
type: "module",
|
|
38
|
+
bin: {
|
|
39
|
+
kaname: "dist/index.js",
|
|
40
|
+
"kaname-mcp": "dist/mcp.js"
|
|
41
|
+
},
|
|
42
|
+
files: [
|
|
43
|
+
"dist"
|
|
44
|
+
],
|
|
45
|
+
publishConfig: {
|
|
46
|
+
access: "public"
|
|
47
|
+
},
|
|
48
|
+
engines: {
|
|
49
|
+
node: ">=20"
|
|
50
|
+
},
|
|
51
|
+
scripts: {
|
|
52
|
+
build: "tsup",
|
|
53
|
+
dev: "tsx src/index.ts",
|
|
54
|
+
lint: "tsc --noEmit",
|
|
55
|
+
test: "vitest run",
|
|
56
|
+
"generate-types": "node scripts/generate-types.js"
|
|
57
|
+
},
|
|
58
|
+
dependencies: {
|
|
59
|
+
"@clack/prompts": "^0.11.0",
|
|
60
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
61
|
+
commander: "^14.0.0",
|
|
62
|
+
picocolors: "^1.1.1",
|
|
63
|
+
zod: "^4.4.3"
|
|
64
|
+
},
|
|
65
|
+
devDependencies: {
|
|
66
|
+
"@types/node": "^22.20.0",
|
|
67
|
+
"openapi-typescript": "^7.10.1",
|
|
68
|
+
tsup: "^8.3.5",
|
|
69
|
+
tsx: "^4.19.2",
|
|
70
|
+
typescript: "^5.7.2",
|
|
71
|
+
vitest: "^3.0.0"
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
|
|
32
75
|
// src/commands/auth.ts
|
|
33
76
|
import crypto from "crypto";
|
|
34
77
|
import http from "http";
|
|
@@ -310,7 +353,7 @@ function registerTodoCommands(program2) {
|
|
|
310
353
|
|
|
311
354
|
// src/index.ts
|
|
312
355
|
var program = new Command();
|
|
313
|
-
program.name("kaname").description("Kaname from the command line").version(
|
|
356
|
+
program.name("kaname").description("Kaname from the command line").version(package_default.version).option("-j, --json", "output raw JSON (for scripting)").option("--plain", "plain tab-separated output (no color)");
|
|
314
357
|
registerAuthCommands(program);
|
|
315
358
|
registerTodoCommands(program);
|
|
316
359
|
registerListCommands(program);
|