opencode-otel-plugin 0.4.0 → 0.4.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,6 @@
1
1
  {
2
2
  "name": "opencode-otel-plugin",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "OpenTelemetry instrumentation plugin for OpenCode — traces and metrics for AI coding sessions via OTLP/HTTP",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -10,6 +10,7 @@
10
10
  ],
11
11
  "scripts": {
12
12
  "build": "bun build ./src/index.ts --outdir dist --target bun --minify && tsc --emitDeclarationOnly --outDir dist",
13
+ "prepare": "husky",
13
14
  "prepublishOnly": "bun run build",
14
15
  "test": "bun test",
15
16
  "typecheck": "tsc --noEmit"
@@ -46,9 +47,21 @@
46
47
  "@opentelemetry/resources": "2.6.0"
47
48
  },
48
49
  "devDependencies": {
50
+ "@commitlint/cli": "latest",
51
+ "@commitlint/config-conventional": "latest",
49
52
  "@opencode-ai/plugin": "latest",
53
+ "@semantic-release/changelog": "latest",
54
+ "@semantic-release/git": "latest",
50
55
  "@types/bun": "latest",
56
+ "conventional-changelog-conventionalcommits": "latest",
57
+ "husky": "latest",
58
+ "semantic-release": "latest",
51
59
  "typescript": "latest"
52
60
  },
53
- "license": "MIT"
61
+ "license": "MIT",
62
+ "commitlint": {
63
+ "extends": [
64
+ "@commitlint/config-conventional"
65
+ ]
66
+ }
54
67
  }
@@ -1,8 +0,0 @@
1
- import type { FileChangeStats } from "../types";
2
- interface FileDiffLike {
3
- path: string;
4
- additions?: number;
5
- deletions?: number;
6
- }
7
- export declare function extractFileChanges(diffs: FileDiffLike[]): FileChangeStats[];
8
- export {};