opencode-logger 0.1.3 → 0.1.4
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/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export const loggerPlugin = async (ctx) => {
|
|
|
13
13
|
// Based on the docs: directory: The current working directory.
|
|
14
14
|
const logger = new FileLogger(ctx.directory);
|
|
15
15
|
await logger.init();
|
|
16
|
-
console.log("Opencode Logger Plugin initialized!");
|
|
16
|
+
console.log("[Opencode Logger] Plugin initialized!");
|
|
17
17
|
const hooks = {
|
|
18
18
|
event: async ({ event }) => {
|
|
19
19
|
if (SUPPORTED_EVENTS.includes(event.type)) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "opencode-logger",
|
|
3
3
|
"main": "dist/index.js",
|
|
4
4
|
"types": "dist/index.d.ts",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.4",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "https://github.com/radekBednarik/opencode-logger.git"
|
|
8
8
|
},
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
"Typescript",
|
|
19
19
|
"plugin"
|
|
20
20
|
],
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@opencode-ai/plugin": "^1.1.25"
|
|
23
|
+
},
|
|
21
24
|
"devDependencies": {
|
|
22
25
|
"@biomejs/biome": "2.3.11",
|
|
23
26
|
"@types/bun": "latest",
|
|
@@ -44,8 +47,5 @@
|
|
|
44
47
|
"*.{ts,json}": [
|
|
45
48
|
"bun format"
|
|
46
49
|
]
|
|
47
|
-
},
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"@opencode-ai/plugin": "^1.1.25"
|
|
50
50
|
}
|
|
51
51
|
}
|