codesavant 1.2.9 → 2.3.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 (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +62 -803
  3. package/dist/cli.js +51052 -31649
  4. package/package.json +39 -68
package/package.json CHANGED
@@ -1,84 +1,55 @@
1
1
  {
2
2
  "name": "codesavant",
3
- "version": "1.2.9",
4
- "description": "Multi-provider AI coding assistant for your terminal",
3
+ "version": "2.3.0",
4
+ "description": "AI-powered coding assistant CLI built on Bun",
5
5
  "type": "module",
6
+ "main": "dist/cli.js",
6
7
  "bin": {
7
8
  "codesavant": "dist/cli.js"
8
9
  },
9
- "files": [
10
- "dist",
11
- "README.md"
12
- ],
13
10
  "scripts": {
14
- "build": "esbuild src/cli.ts --bundle --platform=node --target=node18 --outfile=dist/cli.js --format=esm --packages=external",
15
- "postbuild": "node -e \"const fs=require('fs'); let c=fs.readFileSync('dist/cli.js','utf8'); if(!c.startsWith('#!')) c='#!/usr/bin/env node\\n'+c; fs.writeFileSync('dist/cli.js',c);\"",
16
- "dev": "tsx src/cli.ts",
17
- "start": "node dist/cli.js",
18
- "test": "vitest run",
19
- "test:watch": "vitest",
20
- "test:coverage": "vitest run --coverage",
21
- "test:ui": "vitest --ui",
22
- "lint": "eslint src",
23
- "prepublishOnly": "npm run build"
11
+ "start": "bun run src/cli.ts",
12
+ "test": "bun test tests/",
13
+ "test:watch": "bun test --watch",
14
+ "test:coverage": "bun test --coverage",
15
+ "build": "bun build src/cli.ts --outdir=dist --target=bun",
16
+ "lint": "bunx @biomejs/biome check src/",
17
+ "format": "bunx @biomejs/biome format --write src/",
18
+ "runbook:verify": "bun scripts/runbook-verify.ts"
24
19
  },
25
- "engines": {
26
- "node": ">=18.0.0"
20
+ "dependencies": {
21
+ "ink": "^5.0.0",
22
+ "react": "^18.2.0",
23
+ "commander": "^12.0.0",
24
+ "zod": "^3.22.0"
25
+ },
26
+ "devDependencies": {
27
+ "@types/bun": "latest",
28
+ "@types/react": "^18.2.0",
29
+ "ink-testing-library": "^4.0.0",
30
+ "react-devtools-core": "^7.0.1",
31
+ "typescript": "^5.4.0"
27
32
  },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/vaggarwal039/codesavant.git"
36
+ },
37
+ "author": "Vishal Aggarwal",
38
+ "license": "MIT",
28
39
  "keywords": [
29
40
  "cli",
30
41
  "ai",
31
- "coding",
32
- "assistant",
33
- "terminal",
34
- "developer-tools",
35
- "deepseek",
36
- "gemini",
37
- "groq",
38
- "ollama",
42
+ "coding-assistant",
43
+ "bun",
39
44
  "llm",
40
- "code-assistant",
41
- "codesavant"
45
+ "developer-tools"
42
46
  ],
43
- "author": "Vishal Aggarwal",
44
- "license": "MIT",
45
- "repository": {
46
- "type": "git",
47
- "url": "git+https://github.com/burnisback/code-savant-ai.git"
48
- },
49
- "homepage": "https://github.com/burnisback/code-savant-ai#readme",
50
- "bugs": {
51
- "url": "https://github.com/burnisback/code-savant-ai/issues"
52
- },
53
- "dependencies": {
54
- "@google/generative-ai": "^0.24.1",
55
- "@types/turndown": "^5.0.6",
56
- "chalk": "^5.6.2",
57
- "commander": "^14.0.2",
58
- "fs-extra": "^11.3.3",
59
- "glob": "^13.0.0",
60
- "ink": "^6.6.0",
61
- "ink-spinner": "^5.0.0",
62
- "ink-text-input": "^6.0.0",
63
- "minimatch": "^10.1.1",
64
- "openai": "^6.16.0",
65
- "ora": "^9.0.0",
66
- "react": "^19.2.3",
67
- "turndown": "^7.2.2"
47
+ "engines": {
48
+ "bun": ">=1.0.0"
68
49
  },
69
- "devDependencies": {
70
- "@types/fs-extra": "^11.0.4",
71
- "@types/node": "^25.0.9",
72
- "@types/react": "^19.2.9",
73
- "@typescript-eslint/eslint-plugin": "^8.28.0",
74
- "@typescript-eslint/parser": "^8.28.0",
75
- "@vitest/coverage-v8": "^4.0.18",
76
- "esbuild": "^0.27.2",
77
- "eslint": "^9.21.0",
78
- "globals": "^17.1.0",
79
- "tsx": "^4.21.0",
80
- "typescript": "^5.9.3",
81
- "typescript-eslint": "^8.53.1",
82
- "vitest": "^4.0.18"
83
- }
50
+ "files": [
51
+ "dist/**/*",
52
+ "README.md",
53
+ "LICENSE"
54
+ ]
84
55
  }