-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·54 lines (54 loc) · 1.61 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·54 lines (54 loc) · 1.61 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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@skybluejacket/opencode-context-compress",
"version": "0.4.7",
"type": "module",
"description": "Manual context compression plugin for OpenCode sessions",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"package.json"
],
"scripts": {
"clean": "rm -rf dist",
"generate:prompts": "tsx scripts/generate-prompts.ts",
"prebuild": "npm run generate:prompts",
"build": "npm run clean && tsc",
"dev": "opencode plugin dev",
"typecheck": "npm run generate:prompts && tsc --noEmit",
"test": "npm run build && node --import tsx --test tests/*.test.ts",
"compress": "tsx scripts/print.ts"
},
"author": "Aiden Kim",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AidenGeunGeun/opencode-context-compress.git"
},
"homepage": "https://github.com/AidenGeunGeun/opencode-context-compress",
"keywords": [
"opencode",
"plugin",
"context",
"compression",
"compress"
],
"peerDependencies": {
"@opencode-ai/plugin": ">=0.13.7"
},
"dependencies": {
"@anthropic-ai/tokenizer": "^0.0.4",
"@opencode-ai/sdk": "^1.1.48",
"js-tiktoken": "^1.0.21",
"jsonc-parser": "^3.3.1",
"ulid": "^3.0.2",
"zod": "^4.3.6"
},
"devDependencies": {
"@opencode-ai/plugin": "^1.1.49",
"@types/node": "^25.1.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
}
}