costhawk 1.3.4 → 1.3.5
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/README.md +8 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -55,6 +55,12 @@ To see exactly which local directories and sample files are read:
|
|
|
55
55
|
npx -y costhawk@latest --what-we-read
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
+
To include the git commit hash in `--self-test` (and `--version`), build with:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
COSTHAWK_GIT_SHA=$(git rev-parse --short HEAD) npm run build
|
|
62
|
+
```
|
|
63
|
+
|
|
58
64
|
## Available Tools
|
|
59
65
|
|
|
60
66
|
### Usage Tracking
|
|
@@ -208,13 +214,14 @@ Use costhawk_sync_claude_code_usage with dryRun=true includeFileList=true previe
|
|
|
208
214
|
|
|
209
215
|
## Changelog
|
|
210
216
|
|
|
211
|
-
### v1.3.
|
|
217
|
+
### v1.3.5 (February 2026)
|
|
212
218
|
**Trust & Transparency**
|
|
213
219
|
|
|
214
220
|
- **New:** Dry-run support for Claude + Codex sync tools
|
|
215
221
|
- **New:** `includeFileList` and payload previews for sync tools
|
|
216
222
|
- **New:** `--what-we-read` CLI flag to show local paths and samples
|
|
217
223
|
- **New:** `COSTHAWK_DEBUG=true` to log API requests
|
|
224
|
+
- **New:** `COSTHAWK_GIT_SHA` support for version/diagnostics
|
|
218
225
|
- **Updated:** Auto-sync is opt-in (`COSTHAWK_AUTO_SYNC=true`)
|
|
219
226
|
|
|
220
227
|
### v1.3.2 (February 2026)
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const CHARACTER_LIMIT = 25000;
|
|
|
11
11
|
const REQUEST_TIMEOUT_MS = 30000; // 30 seconds
|
|
12
12
|
const API_BASE_URL = process.env.COSTHAWK_API_URL || "https://costhawk.ai";
|
|
13
13
|
const DEFAULT_API_KEY = process.env.COSTHAWK_API_KEY;
|
|
14
|
-
const CLIENT_VERSION = "1.3.
|
|
14
|
+
const CLIENT_VERSION = "1.3.5";
|
|
15
15
|
const DEBUG_ENABLED = process.env.COSTHAWK_DEBUG === "true";
|
|
16
16
|
const COMMIT_SHA = process.env.COSTHAWK_GIT_SHA ||
|
|
17
17
|
process.env.GIT_SHA ||
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "costhawk",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
4
4
|
"description": "MCP server for CostHawk - AI API cost monitoring and optimization with Claude Code tracking",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"build": "tsc",
|
|
16
16
|
"start": "node dist/index.js",
|
|
17
17
|
"dev": "tsx src/index.ts",
|
|
18
|
-
"prepublishOnly": "
|
|
18
|
+
"prepublishOnly": "node scripts/build-with-sha.cjs"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|
|
21
21
|
"mcp",
|