-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.96 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "claude-cost-estimator",
"displayName": "Claude Cost Estimator",
"description": "Shows estimated token count and Claude API cost for the active file",
"version": "0.1.0",
"engines": { "vscode": "^1.85.0" },
"categories": ["Other"],
"activationEvents": ["onStartupFinished"],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "claudeCost.estimateFile",
"title": "Claude Cost: Estimate Current File"
},
{
"command": "claudeCost.estimateClaudeMd",
"title": "Claude Cost: Estimate CLAUDE.md Per-Turn Cost"
},
{
"command": "claudeCost.checkConfig",
"title": "Claude Cost: Check Project Configuration"
}
],
"configuration": {
"title": "Claude Cost Estimator",
"properties": {
"claudeCost.defaultModel": {
"type": "string",
"default": "sonnet",
"enum": ["fable", "opus", "opus-4.8", "opus-4.7", "opus-4.6", "sonnet", "haiku"],
"enumDescriptions": [
"Fable 5 ($10/$50 per 1M)",
"Opus 5 ($5/$25 per 1M)",
"Opus 4.8, legacy ($5/$25 per 1M)",
"Opus 4.7, legacy ($5/$25 per 1M)",
"Opus 4.6, legacy ($5/$25 per 1M)",
"Sonnet 5 ($3/$15 per 1M)",
"Haiku 4.5 ($1/$5 per 1M)"
],
"description": "Default model for cost estimation"
},
"claudeCost.showInStatusBar": {
"type": "boolean",
"default": true,
"description": "Show token count in the status bar"
},
"claudeCost.claudeMdWarningThreshold": {
"type": "number",
"default": 150,
"description": "Line count threshold for CLAUDE.md warnings"
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/vscode": "^1.85.0",
"@types/node": "^24.0.0",
"typescript": "^7.0.0"
}
}