opencode-logger 0.1.0 → 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/bunfig.toml CHANGED
@@ -1,3 +1,3 @@
1
1
  [test]
2
2
 
3
- root = "./src/__tests__"
3
+ root = "./__tests__"
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAS,MAAM,qBAAqB,CAAC;AAIzD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,MAwB1B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAS,MAAM,qBAAqB,CAAC;AAIzD;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,MAkB1B,CAAC"}
package/dist/index.js CHANGED
@@ -20,12 +20,6 @@ export const loggerPlugin = async (ctx) => {
20
20
  await logger.log(event.type, event);
21
21
  }
22
22
  },
23
- "tool.execute.before": async (input, output) => {
24
- await logger.log("tool.execute.before", { input, output });
25
- },
26
- "tool.execute.after": async (input, output) => {
27
- await logger.log("tool.execute.after", { input, output });
28
- },
29
23
  };
30
24
  return hooks;
31
25
  };
package/package.json CHANGED
@@ -2,7 +2,15 @@
2
2
  "name": "opencode-logger",
3
3
  "main": "dist/index.js",
4
4
  "types": "dist/index.d.ts",
5
- "version": "0.1.0",
5
+ "version": "0.1.1",
6
+ "repository": {
7
+ "url": "https://github.com/radekBednarik/opencode-logger.git"
8
+ },
9
+ "author": {
10
+ "url": "https://radekbednarik.com",
11
+ "name": "Radek Bednarik",
12
+ "email": "bednarik.radek+opencode-logger@gmail.com"
13
+ },
6
14
  "devDependencies": {
7
15
  "@biomejs/biome": "2.3.11",
8
16
  "@types/bun": "latest",
package/tsconfig.json CHANGED
@@ -18,13 +18,13 @@
18
18
  "noPropertyAccessFromIndexSignature": true,
19
19
 
20
20
  "outDir": "./dist",
21
- "rootDir": "./src",
22
- "baseUrl": ".",
21
+ "rootDir": "./src",
22
+ "baseUrl": ".",
23
23
  "paths": {
24
24
  "@/*": ["src/*"]
25
25
  },
26
- "declaration": true,
27
- "declarationMap": true
26
+ "declaration": true,
27
+ "declarationMap": true
28
28
  },
29
29
  "include": ["src/**/*.ts"]
30
30
  }