Skip to content
Open
3 changes: 2 additions & 1 deletion .claude/settings.local.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"permissions": {
"allow": [
"WebSearch",
"WebFetch(domain:ai-sdk.dev)"
"WebFetch(domain:ai-sdk.dev)",
"Bash(cat:*)"
],
"deny": [],
"ask": []
Expand Down
28 changes: 28 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.4/schema.json",
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "all",
"semicolons": "always"
}
},
"files": {
"ignoreUnknown": false,
"includes": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.json", "**/*.jsonc"]
}
}
19 changes: 19 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions bundle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bun

import { $ } from "bun";
import { version } from "./package.json";

// Build binary for current platform (chai-cli)
console.log(`→ Building chai-cli v${version} binary...`);

try {
await $`bun build ./index.ts --compile --outfile=./dist/chai-cli-v${version}`;
console.log(`✓ Binary created at ./dist/chai-cli-v${version}`);
} catch (error) {
console.error("✗ Build failed:", error);
process.exit(1);
}
Loading