opencode-usage-insights 0.0.0-stage → 0.1.1

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,86 @@
1
1
  {
2
2
  "name": "opencode-usage-insights",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "OpenCode V2 plugin: a live turn telemetry line plus a persistent SQLite usage record, read back by an interactive /usage panel — models, providers, prompt cache, periods and latency.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": {
8
+ "name": "Hugo Batista",
9
+ "url": "https://github.com/hugobatista"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/hugobatista/opencode-usage-insights.git"
14
+ },
15
+ "homepage": "https://github.com/hugobatista/opencode-usage-insights#readme",
16
+ "bugs": {
17
+ "url": "https://github.com/hugobatista/opencode-usage-insights/issues"
18
+ },
19
+ "keywords": [
20
+ "opencode",
21
+ "opencode-plugin",
22
+ "opencode-tui",
23
+ "tui",
24
+ "telemetry",
25
+ "usage-statistics",
26
+ "sqlite",
27
+ "prompt-cache",
28
+ "observability",
29
+ "token-usage",
30
+ "cost-tracking",
31
+ "cache-affinity",
32
+ "bun",
33
+ "typescript"
34
+ ],
35
+ "engines": {
36
+ "opencode": ">=2.0.0"
37
+ },
38
+ "publishConfig": {
39
+ "access": "public"
40
+ },
41
+ "files": [
42
+ "dist",
43
+ "README.md",
44
+ "LICENSE"
45
+ ],
46
+ "exports": {
47
+ ".": {
48
+ "types": "./dist/index.d.ts",
49
+ "import": "./dist/index.js",
50
+ "default": "./dist/index.js"
51
+ },
52
+ "./tui": {
53
+ "types": "./dist/tui.d.ts",
54
+ "import": "./dist/tui.js",
55
+ "default": "./dist/tui.js"
56
+ }
57
+ },
58
+ "scripts": {
59
+ "test": "bun test",
60
+ "typecheck": "tsc --noEmit",
61
+ "build": "bun run scripts/build.ts",
62
+ "demo": "bun run scripts/demo.ts",
63
+ "docs:images": "bun run scripts/screenshot.ts",
64
+ "report": "bun run scripts/report.ts",
65
+ "prepublishOnly": "bun run typecheck && bun test && bun run build",
66
+ "bench": "bun run scripts/bench.ts",
67
+ "check:platform": "bun run scripts/check-platform.ts"
68
+ },
69
+ "peerDependencies": {
70
+ "@opencode/plugin": ">=2.0.16",
71
+ "@opencode/theme": ">=2.0.29",
72
+ "@opentui/core": ">=0.5.17",
73
+ "@opentui/solid": ">=0.5.17",
74
+ "solid-js": ">=1.9.12"
75
+ },
76
+ "devDependencies": {
77
+ "@opencode/plugin": "2.0.29",
78
+ "@opencode/theme": "2.0.29",
79
+ "@opentui/core": "0.6.6",
80
+ "@opentui/solid": "0.6.6",
81
+ "@types/bun": "^1.4.1",
82
+ "@types/node": "^24.0.0",
83
+ "solid-js": "1.9.12",
84
+ "typescript": "^5.8.0"
85
+ }
86
+ }