openkitt 0.1.6 → 0.1.8
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/cli.js +65 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3388,9 +3388,68 @@ function readManifest(workspaceDir) {
|
|
|
3388
3388
|
return null;
|
|
3389
3389
|
}
|
|
3390
3390
|
}
|
|
3391
|
+
// package.json
|
|
3392
|
+
var package_default = {
|
|
3393
|
+
name: "openkitt",
|
|
3394
|
+
version: "0.1.8",
|
|
3395
|
+
description: "AI-powered monorepo scaffolding CLI",
|
|
3396
|
+
keywords: [
|
|
3397
|
+
"cli",
|
|
3398
|
+
"scaffolding",
|
|
3399
|
+
"monorepo",
|
|
3400
|
+
"ai",
|
|
3401
|
+
"railway",
|
|
3402
|
+
"nextjs",
|
|
3403
|
+
"tanstack",
|
|
3404
|
+
"hono",
|
|
3405
|
+
"express"
|
|
3406
|
+
],
|
|
3407
|
+
homepage: "https://github.com/openkitt/kitt-cli",
|
|
3408
|
+
repository: {
|
|
3409
|
+
type: "git",
|
|
3410
|
+
url: "https://github.com/openkitt/kitt-cli.git"
|
|
3411
|
+
},
|
|
3412
|
+
license: "MIT",
|
|
3413
|
+
author: "KITT Contributors",
|
|
3414
|
+
type: "module",
|
|
3415
|
+
bin: {
|
|
3416
|
+
kitt: "./dist/cli.js",
|
|
3417
|
+
openkitt: "./dist/cli.js"
|
|
3418
|
+
},
|
|
3419
|
+
files: [
|
|
3420
|
+
"dist/cli.js",
|
|
3421
|
+
"scripts/"
|
|
3422
|
+
],
|
|
3423
|
+
scripts: {
|
|
3424
|
+
build: "bun build src/cli.ts --target=node --outfile=dist/cli.js",
|
|
3425
|
+
"build:types": "tsc --noEmit",
|
|
3426
|
+
dev: "bun build src/cli.ts --target=node --outfile=dist/cli.js --watch",
|
|
3427
|
+
test: "vitest run",
|
|
3428
|
+
"test:watch": "vitest",
|
|
3429
|
+
prepublishOnly: "npm run build"
|
|
3430
|
+
},
|
|
3431
|
+
engines: {
|
|
3432
|
+
node: ">=20.0.0"
|
|
3433
|
+
},
|
|
3434
|
+
dependencies: {
|
|
3435
|
+
"@anthropic-ai/sdk": "^0.66.0",
|
|
3436
|
+
"@clack/prompts": "^0.11.0",
|
|
3437
|
+
"@google/generative-ai": "^0.24.1",
|
|
3438
|
+
"@railway/mcp-server": "^0.1.8",
|
|
3439
|
+
commander: "^14.0.1",
|
|
3440
|
+
openai: "^6.6.0",
|
|
3441
|
+
picocolors: "^1.1.1",
|
|
3442
|
+
"ts-morph": "^27.0.0"
|
|
3443
|
+
},
|
|
3444
|
+
devDependencies: {
|
|
3445
|
+
"@types/node": "^24.3.0",
|
|
3446
|
+
typescript: "^5.9.2",
|
|
3447
|
+
vitest: "^3.2.4"
|
|
3448
|
+
}
|
|
3449
|
+
};
|
|
3391
3450
|
|
|
3392
3451
|
// src/cli.ts
|
|
3393
|
-
var APP_VERSION =
|
|
3452
|
+
var APP_VERSION = package_default.version;
|
|
3394
3453
|
var BASE_PROMPT = "kitt";
|
|
3395
3454
|
var UPDATE_CHECK_INTERVAL_MS = 24 * 60 * 60 * 1000;
|
|
3396
3455
|
var UPDATE_CHECK_TIMEOUT_MS = 5000;
|
|
@@ -3721,6 +3780,11 @@ async function startRepl(context) {
|
|
|
3721
3780
|
});
|
|
3722
3781
|
}
|
|
3723
3782
|
async function main() {
|
|
3783
|
+
if (process.argv.includes("--version") || process.argv.includes("-v")) {
|
|
3784
|
+
process.stdout.write(APP_VERSION + `
|
|
3785
|
+
`, () => process.exit(0));
|
|
3786
|
+
return;
|
|
3787
|
+
}
|
|
3724
3788
|
const program2 = createProgram();
|
|
3725
3789
|
program2.parse();
|
|
3726
3790
|
const options = program2.opts();
|