-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.1 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 3.1 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"$schema": "https://json.schemastore.org/package.json",
"name": "better-compact",
"version": "0.1.5",
"packageManager": "pnpm@10.13.1",
"type": "module",
"description": "OpenCode plugin that improves long-session context with boundary-time pruning",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./server": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./tui": {
"types": "./dist/tui.d.ts",
"import": "./dist/tui.js"
}
},
"scripts": {
"clean": "rm -rf dist",
"build": "pnpm run clean && tsup && tsc --emitDeclarationOnly",
"verify:package": "node scripts/verify-package.mjs",
"verify:release": "node scripts/verify-release.mjs",
"smoke:install": "node scripts/smoke-opencode-install.mjs",
"check:package": "pnpm run build && pnpm run verify:package",
"prepublishOnly": "pnpm run check:package",
"dev": "opencode plugin dev",
"typecheck": "tsc --noEmit",
"test": "node --import tsx --import ./tests/setup.ts --test tests/*.test.ts",
"test:tui": "bun --bun test --preload @opentui/solid/runtime-plugin-support ./tests/tui-layout.visual.tsx ./tests/tui-command.visual.ts ./tests/global-settings.visual.ts",
"format": "prettier --write .",
"format:check": "prettier --check .",
"better-compact": "tsx scripts/print.ts"
},
"keywords": [
"opencode",
"opencode-plugin",
"plugin",
"context",
"pruning",
"optimization",
"tokens"
],
"repository": {
"type": "git",
"url": "git+https://github.com/AshishKumar4/opencode-better-compact.git"
},
"bugs": {
"url": "https://github.com/AshishKumar4/opencode-better-compact/issues"
},
"homepage": "https://github.com/AshishKumar4/opencode-better-compact#readme",
"author": "AshishKumar4",
"license": "AGPL-3.0-or-later",
"engines": {
"opencode": ">=1.17.13 <2"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@opencode-ai/plugin": ">=1.17.13 <2",
"@opentui/core": "^0.4.2",
"@opentui/solid": "^0.4.2",
"solid-js": "^1.9.12"
},
"dependencies": {
"@opencode-ai/sdk": "^1.17.13",
"jsonc-parser": "^3.3.1"
},
"devDependencies": {
"@opencode-ai/plugin": "^1.17.13",
"@opentui/core": "^0.4.2",
"@opentui/solid": "^0.4.2",
"@types/node": "^25.5.0",
"prettier": "^3.8.1",
"solid-js": "^1.9.12",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^6.0.2"
},
"overrides": {
"@babel/core": "7.29.7",
"esbuild": "0.28.1"
},
"files": [
"dist/index.js",
"dist/index.d.ts",
"dist/tui.js",
"dist/tui.d.ts",
"better-compact.schema.json",
"README.md",
"LICENSE"
]
}