-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 962 Bytes
/
package.json
File metadata and controls
43 lines (43 loc) · 962 Bytes
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
{
"name": "opencode-image-compressor",
"version": "2026.04.09",
"description": "An OpenCode plugin that reduces large attached images into AI-optimized JPEG payloads before they are sent to agent to conserve tokens and avoid conversation compaction.",
"type": "module",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js"
},
"files": [
"dist"
],
"keywords": [
"opencode",
"plugin",
"image",
"jpeg",
"compression",
"compact",
"resize",
"attachments",
"images",
"image"
],
"license": "MIT",
"dependencies": {
"sharp": "^0.33.0"
},
"peerDependencies": {
"@opencode-ai/plugin": ">=1.2.27"
},
"devDependencies": {
"@opencode-ai/plugin": "^1.2.27",
"@types/bun": "latest",
"tsup": "^8.0.0",
"typescript": "^5.0.0"
},
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"prepublishOnly": "bun run typecheck && bun run build"
}
}