@cesarus777/opencode-cgp 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,106 @@
1
1
  {
2
2
  "name": "@cesarus777/opencode-cgp",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./dist/types/index.d.ts",
8
+ "import": "./dist/index.js",
9
+ "default": "./dist/index.js"
10
+ },
11
+ "./core": {
12
+ "types": "./dist/types/core.d.ts",
13
+ "import": "./dist/core.js",
14
+ "default": "./dist/core.js"
15
+ },
16
+ "./rpc": {
17
+ "types": "./dist/types/rpc.d.ts",
18
+ "import": "./dist/rpc.js",
19
+ "default": "./dist/rpc.js"
20
+ },
21
+ "./tui": {
22
+ "types": "./dist/types/tui.d.ts",
23
+ "import": "./dist/tui.js",
24
+ "default": "./dist/tui.js"
25
+ },
26
+ "./server": {
27
+ "types": "./dist/types/index.d.ts",
28
+ "import": "./dist/index.js",
29
+ "default": "./dist/index.js"
30
+ }
31
+ },
32
+ "scripts": {
33
+ "test": "bun test",
34
+ "typecheck": "tsc --noEmit",
35
+ "inspect": "bun src/cli.ts",
36
+ "test:live": "bun scripts/live.ts",
37
+ "format": "prettier --write src tests scripts docs README.md examples package.json tsconfig.json server.ts tui.tsx rpc.ts tsconfig.build.json .github AGENTS.md",
38
+ "format:check": "prettier --check src tests scripts docs README.md examples package.json tsconfig.json server.ts tui.tsx rpc.ts tsconfig.build.json .github AGENTS.md",
39
+ "test:tui-live": "bun scripts/tui-live.ts",
40
+ "bench:tui": "bun scripts/tui-bench.ts",
41
+ "build": "bun scripts/build.ts",
42
+ "prepack": "bun run build",
43
+ "prepare": "bun run build",
44
+ "test:package": "bun scripts/package-smoke.ts",
45
+ "validate": "bun run format:check && bun run typecheck && bun test && bun run test:package"
46
+ },
47
+ "dependencies": {
48
+ "@opencode/plugin": "2.0.29",
49
+ "@opencode/client": "2.0.29"
50
+ },
51
+ "devDependencies": {
52
+ "@types/bun": "1.3.11",
53
+ "typescript": "5.9.3",
54
+ "prettier": "3.6.2",
55
+ "solid-js": "1.9.15",
56
+ "@opentui/core": "0.5.17",
57
+ "@opentui/solid": "0.5.17",
58
+ "@opencode/theme": "2.0.29"
59
+ },
60
+ "engines": {
61
+ "bun": ">=1.1.34"
62
+ },
63
+ "peerDependencies": {
64
+ "solid-js": ">=1.9.0",
65
+ "@opentui/core": ">=0.5.17",
66
+ "@opentui/solid": ">=0.5.17"
67
+ },
68
+ "peerDependenciesMeta": {
69
+ "solid-js": {
70
+ "optional": true
71
+ },
72
+ "@opentui/core": {
73
+ "optional": true
74
+ },
75
+ "@opentui/solid": {
76
+ "optional": true
77
+ }
78
+ },
79
+ "description": "Early native compaction policy and context monitoring for OpenCode V2 root and nested-agent sessions.",
80
+ "license": "MIT",
81
+ "repository": {
82
+ "type": "git",
83
+ "url": "git+https://github.com/cesarus777/opencode-cgp.git"
84
+ },
85
+ "homepage": "https://github.com/cesarus777/opencode-cgp#readme",
86
+ "bugs": {
87
+ "url": "https://github.com/cesarus777/opencode-cgp/issues"
88
+ },
89
+ "keywords": [
90
+ "opencode",
91
+ "opencode-plugin",
92
+ "context",
93
+ "compaction",
94
+ "tokens"
95
+ ],
96
+ "publishConfig": {
97
+ "access": "public"
98
+ },
99
+ "main": "./dist/index.js",
100
+ "types": "./dist/types/index.d.ts",
101
+ "files": [
102
+ "dist",
103
+ "LICENSE",
104
+ "README.md"
105
+ ]
106
+ }