@knightcodeai/cli 0.4.1 → 0.5.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 (2) hide show
  1. package/bin/knightcode +0 -0
  2. package/package.json +58 -43
package/bin/knightcode CHANGED
File without changes
package/package.json CHANGED
@@ -1,61 +1,76 @@
1
1
  {
2
2
  "name": "@knightcodeai/cli",
3
- "version": "0.4.1",
4
- "license": "Apache-2.0",
3
+ "version": "0.5.0",
4
+ "description": "KnightCode — a local, BYOK terminal coding agent powered by OpenRouter.",
5
5
  "type": "module",
6
- "bin": {
7
- "knightcode": "./bin/knightcode"
8
- },
9
- "homepage": "https://knightcode.raghavseth.in",
10
6
  "repository": {
11
7
  "type": "git",
12
- "url": "git+https://github.com/KnightCodeAI/knightcode.git"
8
+ "url": "https://github.com/KnightCodeAI/knightcode.git"
13
9
  },
14
- "bugs": {
15
- "url": "https://github.com/KnightCodeAI/knightcode/issues"
10
+ "homepage": "https://knightcode.raghavseth.in",
11
+ "license": "MIT",
12
+ "knightcodeConfig": {
13
+ "configDir": ".knightcode"
14
+ },
15
+ "bin": {
16
+ "knightcode": "./bin/knightcode"
17
+ },
18
+ "main": "./src/index.ts",
19
+ "types": "./src/index.ts",
20
+ "exports": {
21
+ ".": "./src/index.ts",
22
+ "./rpc-entry": "./src/rpc-entry.ts",
23
+ "./client": "./src/client/index.ts",
24
+ "./package.json": "./package.json",
25
+ "./*": "./src/*.ts"
16
26
  },
17
27
  "files": [
18
28
  "bin/",
19
29
  "README.md"
20
30
  ],
21
31
  "engines": {
22
- "node": ">=18"
23
- },
24
- "optionalDependencies": {
25
- "@knightcodeai/cli-linux-x64": "0.4.1",
26
- "@knightcodeai/cli-linux-arm64": "0.4.1",
27
- "@knightcodeai/cli-darwin-x64": "0.4.1",
28
- "@knightcodeai/cli-darwin-arm64": "0.4.1",
29
- "@knightcodeai/cli-win32-x64": "0.4.1"
32
+ "node": ">=22"
30
33
  },
31
34
  "scripts": {
32
- "dev": "bun run --watch src/index.tsx",
33
- "check-types": "tsc --noEmit",
34
- "test": "bun test src/**/*.test.ts"
35
+ "dev": "bun --env-file=../../.env run --watch src/bun/cli.ts",
36
+ "start": "bun --env-file=../../.env run src/bun/cli.ts",
37
+ "check-types": "tsc --noEmit -p ../../tsconfig.json",
38
+ "test": "vitest --run"
39
+ },
40
+ "optionalDependencies": {
41
+ "@knightcodeai/cli-linux-x64": "0.5.0",
42
+ "@knightcodeai/cli-linux-arm64": "0.5.0",
43
+ "@knightcodeai/cli-darwin-x64": "0.5.0",
44
+ "@knightcodeai/cli-darwin-arm64": "0.5.0",
45
+ "@knightcodeai/cli-win32-x64": "0.5.0",
46
+ "@mariozechner/clipboard": "0.3.9"
35
47
  },
36
48
  "devDependencies": {
37
- "@ai-sdk/provider-utils": "^4.0.27",
38
- "@repo/shared": "workspace:*",
39
- "@openrouter/ai-sdk-provider": "^2.9.0",
40
- "@opentui/core": "^0.2.10",
41
- "@opentui/react": "^0.2.10",
42
- "@repo/eslint-config": "*",
43
- "@repo/typescript-config": "workspace:*",
44
- "@types/bun": "latest",
45
- "@types/html-to-text": "^9.0.4",
46
- "@types/react": "^19.2.6",
47
- "ai": "^6.0.191",
48
- "chokidar": "^5.0.0",
49
- "date-fns": "^4.3.0",
50
- "drizzle-kit": "^0.31.10",
51
- "drizzle-orm": "^0.45.2",
52
- "html-to-text": "^10.0.0",
53
- "open": "^11.0.0",
54
- "opentui-spinner": "^0.0.6",
55
- "react": "^19.2.6",
56
- "react-router": "7.14.2",
57
- "safe-regex": "^2.1.1",
58
- "typescript": "^5",
59
- "zod": "^4.3.6"
49
+ "@knightcode/agent": "workspace:*",
50
+ "@knightcode/ai": "workspace:*",
51
+ "@knightcode/client": "workspace:*",
52
+ "@knightcode/protocol": "workspace:*",
53
+ "@knightcode/server": "workspace:*",
54
+ "@knightcode/session-backend-sqlite": "workspace:*",
55
+ "@knightcode/tui": "workspace:*",
56
+ "@silvia-odwyer/photon-node": "0.3.4",
57
+ "@types/cross-spawn": "6.0.6",
58
+ "@types/hosted-git-info": "3.0.5",
59
+ "@types/proper-lockfile": "4.1.4",
60
+ "@types/semver": "7.7.1",
61
+ "chalk": "5.6.2",
62
+ "cross-spawn": "7.0.6",
63
+ "diff": "8.0.4",
64
+ "grok-mermaid": "0.2.2",
65
+ "highlight.js": "10.7.3",
66
+ "hosted-git-info": "9.0.3",
67
+ "ignore": "7.0.5",
68
+ "jiti": "2.7.0",
69
+ "minimatch": "10.2.5",
70
+ "proper-lockfile": "4.1.2",
71
+ "semver": "7.8.0",
72
+ "typebox": "1.3.7",
73
+ "undici": "8.9.0",
74
+ "yaml": "2.9.0"
60
75
  }
61
76
  }