@headways/cli 0.4.1 → 0.4.2
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 +47 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20,9 +20,54 @@ import {
|
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
22
|
import "dotenv/config";
|
|
23
|
-
import { createRequire } from "module";
|
|
24
23
|
import { program } from "commander";
|
|
25
24
|
|
|
25
|
+
// package.json
|
|
26
|
+
var package_default = {
|
|
27
|
+
name: "@headways/cli",
|
|
28
|
+
version: "0.4.2",
|
|
29
|
+
type: "module",
|
|
30
|
+
description: "Headways CLI \u2014 authoring, sync, and runtime SDK",
|
|
31
|
+
license: "MIT",
|
|
32
|
+
files: [
|
|
33
|
+
"dist",
|
|
34
|
+
"LICENSE",
|
|
35
|
+
"README.md"
|
|
36
|
+
],
|
|
37
|
+
bin: {
|
|
38
|
+
headways: "./dist/index.js"
|
|
39
|
+
},
|
|
40
|
+
publishConfig: {
|
|
41
|
+
access: "public"
|
|
42
|
+
},
|
|
43
|
+
scripts: {
|
|
44
|
+
build: "tsup",
|
|
45
|
+
dev: "tsx src/index.ts",
|
|
46
|
+
test: "vitest run",
|
|
47
|
+
"test:unit": "vitest run",
|
|
48
|
+
"type-check": "tsc -p tsconfig.json --noEmit",
|
|
49
|
+
prepublishOnly: "pnpm build"
|
|
50
|
+
},
|
|
51
|
+
dependencies: {
|
|
52
|
+
"@headways/db": "workspace:*",
|
|
53
|
+
"@modelcontextprotocol/sdk": "^1.15.0",
|
|
54
|
+
chalk: "^5.3.0",
|
|
55
|
+
commander: "^12.1.0",
|
|
56
|
+
dotenv: "^16.4.7",
|
|
57
|
+
"node-fetch": "^3.3.2",
|
|
58
|
+
yaml: "^2.5.1",
|
|
59
|
+
zod: "^3.25.28"
|
|
60
|
+
},
|
|
61
|
+
devDependencies: {
|
|
62
|
+
"@headways/config": "workspace:*",
|
|
63
|
+
"@types/node": "^22.16.5",
|
|
64
|
+
tsup: "^8.5.1",
|
|
65
|
+
tsx: "^4.21.0",
|
|
66
|
+
typescript: "^5.8.3",
|
|
67
|
+
vitest: "^3.2.4"
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
|
|
26
71
|
// src/commands/auth.ts
|
|
27
72
|
import "commander";
|
|
28
73
|
import * as http from "http";
|
|
@@ -855,9 +900,7 @@ function getInstalledSkills() {
|
|
|
855
900
|
}
|
|
856
901
|
|
|
857
902
|
// src/index.ts
|
|
858
|
-
|
|
859
|
-
var { version } = require2("../package.json");
|
|
860
|
-
program.name("headways").description("Headways CLI \u2014 skill authoring, sync, and runtime SDK").version(version);
|
|
903
|
+
program.name("headways").description("Headways CLI \u2014 skill authoring, sync, and runtime SDK").version(package_default.version);
|
|
861
904
|
registerAuthCommands(program);
|
|
862
905
|
registerSkillsCommands(program);
|
|
863
906
|
registerConnectionsCommands(program);
|