forked from Opencode-DCP/opencode-dynamic-context-pruning
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.39 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.39 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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@lexwdex-org/opencode-dcp",
"version": "6.0.3",
"type": "module",
"description": "Request-scoped compression of old successful OpenCode tool outputs",
"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"
}
},
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && node scripts/build.mjs && tsc --emitDeclarationOnly",
"verify:package": "node scripts/verify-package.mjs",
"check:package": "npm run build && npm run verify:package",
"prepublishOnly": "npm run check:package",
"dev": "opencode plugin dev",
"typecheck": "tsc --noEmit",
"test": "node --import tsx --test tests/*.test.ts",
"test:host": "node scripts/test-host.mjs",
"test:host:binary": "node scripts/test-host-binary.mjs",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"keywords": [
"opencode",
"opencode-plugin",
"plugin",
"context",
"pruning",
"optimization",
"tokens"
],
"repository": {
"type": "git",
"url": "git+https://github.com/LeXwDeX/OpenCode-Dynamic-Context-Pruning.git"
},
"bugs": {
"url": "https://github.com/LeXwDeX/OpenCode-Dynamic-Context-Pruning/issues"
},
"homepage": "https://github.com/LeXwDeX/OpenCode-Dynamic-Context-Pruning#readme",
"author": "LeXwDeX",
"license": "AGPL-3.0-or-later",
"peerDependencies": {
"@opencode-ai/plugin": ">=1.4.3 <2"
},
"dependencies": {
"jsonc-parser": "^3.3.1"
},
"devDependencies": {
"@opencode-ai/plugin": "^1.18.27",
"@types/node": "^26.4.1",
"ajv": "^8.20.0",
"esbuild": "^0.28.2",
"prettier": "^3.9.6",
"tsx": "^4.23.13",
"typescript": "^7.0.2"
},
"packageManager": "npm@12.0.2",
"files": [
"dist/",
"README.md",
"README.en.md",
"DEPENDENCY_UPGRADE.md",
"LICENSE"
],
"allowScripts": {
"esbuild@0.28.2": true,
"fsevents": false,
"msgpackr-extract": false
}
}