opencode-posthog 0.0.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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +90 -0
  3. package/dist/index.js +4942 -0
  4. package/package.json +62 -0
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "opencode-posthog",
3
+ "version": "0.0.1",
4
+ "description": "PostHog LLM Analytics plugin for OpenCode",
5
+ "author": "Nejc Drobnič <nejc@nejc.dev>",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./dist/index.js",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js",
14
+ "require": "./dist/index.js",
15
+ "types": "./dist/index.d.ts"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "keywords": [
22
+ "opencode-plugin",
23
+ "posthog",
24
+ "ai",
25
+ "llm",
26
+ "observability",
27
+ "tracing",
28
+ "analytics"
29
+ ],
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/Quantumlyy/opencode-posthog.git"
33
+ },
34
+ "bugs": {
35
+ "url": "https://github.com/Quantumlyy/opencode-posthog/issues"
36
+ },
37
+ "homepage": "https://github.com/Quantumlyy/opencode-posthog#readme",
38
+ "scripts": {
39
+ "build": "bun build src/index.ts --outdir dist --target node",
40
+ "prepublishOnly": "bun run build",
41
+ "test": "vitest run",
42
+ "test:watch": "vitest",
43
+ "typecheck": "tsc --noEmit",
44
+ "lint": "oxlint src/ && oxfmt --check .",
45
+ "lint:fix": "oxlint --fix src/ && oxfmt --write ."
46
+ },
47
+ "dependencies": {
48
+ "posthog-node": "^5.0.0"
49
+ },
50
+ "peerDependencies": {
51
+ "@opencode-ai/plugin": "*"
52
+ },
53
+ "devDependencies": {
54
+ "@opencode-ai/plugin": "*",
55
+ "@opencode-ai/sdk": "*",
56
+ "@types/bun": "^1.3.0",
57
+ "oxfmt": "^0.40.0",
58
+ "oxlint": "^1.55.0",
59
+ "typescript": "^5.8.0",
60
+ "vitest": "^3.0.0"
61
+ }
62
+ }