klaatcode 1.15.11 → 1.15.18

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/opencode +3 -3
  2. package/package.json +19 -168
package/bin/opencode CHANGED
@@ -43,13 +43,13 @@ function run(target) {
43
43
  })
44
44
  }
45
45
 
46
- const envPath = process.env.OPENCODE_BIN_PATH
46
+ const envPath = process.env.KLAATCODE_BIN_PATH
47
47
 
48
48
  const scriptPath = fs.realpathSync(__filename)
49
49
  const scriptDir = path.dirname(scriptPath)
50
50
 
51
51
  //
52
- const cached = path.join(scriptDir, ".opencode")
52
+ const cached = path.join(scriptDir, ".klaatcode")
53
53
 
54
54
  const platformMap = {
55
55
  darwin: "darwin",
@@ -71,7 +71,7 @@ if (!arch) {
71
71
  arch = os.arch()
72
72
  }
73
73
  const base = "klaatcode-" + platform + "-" + arch
74
- const binary = platform === "windows" ? "opencode.exe" : "opencode"
74
+ const binary = platform === "windows" ? "klaatcode.exe" : "klaatcode"
75
75
 
76
76
  function supportsAvx2() {
77
77
  if (arch !== "x64") return false
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/package.json",
3
- "version": "1.15.11",
4
2
  "name": "klaatcode",
3
+ "version": "1.15.18",
5
4
  "description": "KlaatCode — AI coding assistant CLI with smart model routing",
6
5
  "homepage": "https://klaatai.com",
7
6
  "author": "KlaatAI <hello@klaatai.com>",
@@ -9,178 +8,30 @@
9
8
  "type": "git",
10
9
  "url": "https://github.com/klaatai/klaatcode"
11
10
  },
12
- "keywords": ["ai", "cli", "coding-assistant", "llm", "terminal", "opencode", "claude", "klaatai"],
11
+ "keywords": [
12
+ "ai",
13
+ "cli",
14
+ "coding-assistant",
15
+ "llm",
16
+ "terminal",
17
+ "opencode",
18
+ "claude",
19
+ "klaatai"
20
+ ],
13
21
  "license": "MIT",
14
22
  "type": "module",
15
- "scripts": {
16
- "typecheck": "tsgo --noEmit",
17
- "test": "bun test --timeout 30000",
18
- "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml",
19
- "test:httpapi": "bun run script/httpapi-exercise.ts --mode coverage --fail-on-missing --fail-on-skip && bun run script/httpapi-exercise.ts --mode auth --fail-on-missing --fail-on-skip && bun run script/httpapi-exercise.ts --mode effect --fail-on-missing --fail-on-skip",
20
- "build": "bun run script/build.ts",
21
- "fix-node-pty": "bun run script/fix-node-pty.ts",
22
- "dev": "bun run --conditions=browser ./src/index.ts",
23
- "dev:temporary": "bun run --conditions=browser ./src/temporary.ts",
24
- "db": "bun drizzle-kit"
25
- },
26
23
  "bin": {
27
24
  "klaatcode": "./bin/opencode"
28
25
  },
29
26
  "files": [
30
- "bin/opencode"
27
+ "bin/opencode",
28
+ "README.md"
31
29
  ],
32
30
  "optionalDependencies": {
33
- "klaatcode-darwin-arm64": "1.15.3",
34
- "klaatcode-darwin-x64": "1.15.3",
35
- "klaatcode-linux-x64": "1.15.3",
36
- "klaatcode-linux-arm64": "1.15.3",
37
- "klaatcode-windows-x64": "1.15.3"
38
- },
39
- "exports": {
40
- "./*": "./src/*.ts"
41
- },
42
- "imports": {
43
- "#db": {
44
- "bun": "./src/storage/db.bun.ts",
45
- "node": "./src/storage/db.node.ts",
46
- "default": "./src/storage/db.bun.ts"
47
- },
48
- "#pty": {
49
- "bun": "./src/pty/pty.bun.ts",
50
- "node": "./src/pty/pty.node.ts",
51
- "default": "./src/pty/pty.bun.ts"
52
- }
53
- },
54
- "devDependencies": {
55
- "@babel/core": "7.28.4",
56
- "@octokit/webhooks-types": "7.6.1",
57
- "@opencode-ai/script": "workspace:*",
58
- "@opencode-ai/core": "workspace:*",
59
- "@parcel/watcher-darwin-arm64": "2.5.1",
60
- "@parcel/watcher-darwin-x64": "2.5.1",
61
- "@parcel/watcher-linux-arm64-glibc": "2.5.1",
62
- "@parcel/watcher-linux-arm64-musl": "2.5.1",
63
- "@parcel/watcher-linux-x64-glibc": "2.5.1",
64
- "@parcel/watcher-linux-x64-musl": "2.5.1",
65
- "@parcel/watcher-win32-arm64": "2.5.1",
66
- "@parcel/watcher-win32-x64": "2.5.1",
67
- "@standard-schema/spec": "1.0.0",
68
- "@tsconfig/bun": "catalog:",
69
- "@types/babel__core": "7.20.5",
70
- "@types/bun": "catalog:",
71
- "@types/cross-spawn": "catalog:",
72
- "@types/mime-types": "3.0.1",
73
- "@types/npm-package-arg": "6.1.4",
74
- "@types/semver": "^7.5.8",
75
- "@types/turndown": "5.0.5",
76
- "@types/which": "3.0.4",
77
- "@types/yargs": "17.0.33",
78
- "@typescript/native-preview": "catalog:",
79
- "drizzle-kit": "catalog:",
80
- "drizzle-orm": "catalog:",
81
- "prettier": "3.6.2",
82
- "typescript": "catalog:",
83
- "vscode-languageserver-types": "3.17.5",
84
- "why-is-node-running": "3.2.2"
85
- },
86
- "dependencies": {
87
- "@actions/core": "1.11.1",
88
- "@actions/github": "6.0.1",
89
- "@agentclientprotocol/sdk": "0.21.0",
90
- "@ai-sdk/alibaba": "1.0.17",
91
- "@ai-sdk/amazon-bedrock": "4.0.96",
92
- "@ai-sdk/anthropic": "3.0.71",
93
- "@ai-sdk/azure": "3.0.49",
94
- "@ai-sdk/cerebras": "2.0.41",
95
- "@ai-sdk/cohere": "3.0.27",
96
- "@ai-sdk/deepinfra": "2.0.41",
97
- "@ai-sdk/gateway": "3.0.104",
98
- "@ai-sdk/google": "3.0.63",
99
- "@ai-sdk/google-vertex": "4.0.112",
100
- "@ai-sdk/groq": "3.0.31",
101
- "@ai-sdk/mistral": "3.0.27",
102
- "@ai-sdk/openai": "3.0.53",
103
- "@ai-sdk/openai-compatible": "2.0.41",
104
- "@ai-sdk/perplexity": "3.0.26",
105
- "@ai-sdk/provider": "3.0.8",
106
- "@ai-sdk/togetherai": "2.0.41",
107
- "@ai-sdk/vercel": "2.0.39",
108
- "@ai-sdk/xai": "3.0.82",
109
- "@aws-sdk/credential-providers": "3.993.0",
110
- "@clack/prompts": "1.0.0-alpha.1",
111
- "@effect/opentelemetry": "catalog:",
112
- "@effect/platform-node": "catalog:",
113
- "@gitlab/opencode-gitlab-auth": "1.3.3",
114
- "@lydell/node-pty": "catalog:",
115
- "@modelcontextprotocol/sdk": "1.27.1",
116
- "@octokit/graphql": "9.0.2",
117
- "@octokit/rest": "catalog:",
118
- "@openauthjs/openauth": "catalog:",
119
- "@opencode-ai/plugin": "workspace:*",
120
- "@opencode-ai/script": "workspace:*",
121
- "@opencode-ai/sdk": "workspace:*",
122
- "@opencode-ai/ui": "workspace:*",
123
- "@openrouter/ai-sdk-provider": "2.8.1",
124
- "@opentelemetry/api": "1.9.0",
125
- "@opentelemetry/context-async-hooks": "2.6.1",
126
- "@opentelemetry/exporter-trace-otlp-http": "0.214.0",
127
- "@opentelemetry/sdk-trace-base": "2.6.1",
128
- "@opentelemetry/sdk-trace-node": "2.6.1",
129
- "@opentui/core": "catalog:",
130
- "@opentui/keymap": "catalog:",
131
- "@opentui/solid": "catalog:",
132
- "@parcel/watcher": "2.5.1",
133
- "@pierre/diffs": "catalog:",
134
- "@silvia-odwyer/photon-node": "0.3.4",
135
- "@solid-primitives/event-bus": "1.1.2",
136
- "@solid-primitives/scheduled": "1.5.2",
137
- "@standard-schema/spec": "1.0.0",
138
- "@zip.js/zip.js": "2.7.62",
139
- "ai": "catalog:",
140
- "ai-gateway-provider": "3.1.2",
141
- "bonjour-service": "1.3.0",
142
- "bun-pty": "0.4.8",
143
- "chokidar": "4.0.3",
144
- "clipboardy": "4.0.0",
145
- "cross-spawn": "catalog:",
146
- "decimal.js": "10.5.0",
147
- "diff": "catalog:",
148
- "drizzle-orm": "catalog:",
149
- "effect": "catalog:",
150
- "fuzzysort": "3.1.0",
151
- "gitlab-ai-provider": "6.6.0",
152
- "glob": "13.0.5",
153
- "google-auth-library": "10.5.0",
154
- "gray-matter": "4.0.3",
155
- "htmlparser2": "8.0.2",
156
- "ignore": "7.0.5",
157
- "immer": "11.1.4",
158
- "jsonc-parser": "3.3.1",
159
- "mime-types": "3.0.2",
160
- "minimatch": "10.0.3",
161
- "npm-package-arg": "13.0.2",
162
- "open": "10.1.2",
163
- "opencode-gitlab-auth": "2.0.1",
164
- "opencode-poe-auth": "0.0.1",
165
- "opentui-spinner": "catalog:",
166
- "partial-json": "0.1.7",
167
- "remeda": "catalog:",
168
- "semver": "^7.6.3",
169
- "solid-js": "catalog:",
170
- "strip-ansi": "7.1.2",
171
- "tree-sitter-bash": "0.25.0",
172
- "tree-sitter-powershell": "0.25.10",
173
- "turndown": "7.2.0",
174
- "ulid": "catalog:",
175
- "venice-ai-sdk-provider": "2.0.1",
176
- "vscode-jsonrpc": "8.2.1",
177
- "web-tree-sitter": "0.25.10",
178
- "which": "6.0.1",
179
- "xdg-basedir": "5.1.0",
180
- "yargs": "18.0.0",
181
- "zod": "catalog:"
182
- },
183
- "overrides": {
184
- "drizzle-orm": "catalog:"
31
+ "klaatcode-darwin-arm64": "1.15.18",
32
+ "klaatcode-darwin-x64": "1.15.18",
33
+ "klaatcode-linux-x64": "1.15.18",
34
+ "klaatcode-linux-arm64": "1.15.18",
35
+ "klaatcode-windows-x64": "1.15.18"
185
36
  }
186
- }
37
+ }