opencode-probleemwijken 1.3.0 → 1.4.0
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 +3 -3
- package/package.json +3 -2
- package/sounds/bongel.mp3 +0 -0
- package/sounds/donder-toch-op-man-vent.mp3 +0 -0
- package/sounds/donder-toch-op-man.mp3 +0 -0
- package/sounds/eerlijk.mp3 +0 -0
- package/sounds/facebook.mp3 +0 -0
- package/sounds/failliet.mp3 +0 -0
- package/sounds/hier-frenkie.mp3 +0 -0
- package/sounds/homo-ontmoetingsplaats.mp3 +0 -0
- package/sounds/krieg-harte.mp3 +0 -0
- package/sounds/narcist.mp3 +0 -0
- package/sounds/opereren.mp3 +0 -0
- package/sounds/stress.mp3 +0 -0
package/dist/index.js
CHANGED
|
@@ -354,10 +354,10 @@ var RandomSoundboardPlugin = async ({ client, directory }) => {
|
|
|
354
354
|
const config = loadConfig();
|
|
355
355
|
const projectName = directory ? directory.split("/").pop() ?? null : null;
|
|
356
356
|
return {
|
|
357
|
-
"permission.ask": async (_input, _output) => {
|
|
358
|
-
await handleEvent(config, "permission", projectName);
|
|
359
|
-
},
|
|
360
357
|
event: async ({ event }) => {
|
|
358
|
+
if (event.type === "permission.asked") {
|
|
359
|
+
await handleEvent(config, "permission", projectName);
|
|
360
|
+
}
|
|
361
361
|
if (event.type === "session.idle") {
|
|
362
362
|
const sessionID = getSessionIDFromEvent(event);
|
|
363
363
|
if (sessionID) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-probleemwijken",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "OpenCode plugin that plays random Probleemwijken/Derkolk sounds and sends push notifications when a session completes",
|
|
5
5
|
"author": "Daan-Friday",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"sound",
|
|
33
33
|
"notifications",
|
|
34
34
|
"probleemwijken",
|
|
35
|
-
"derkolk"
|
|
35
|
+
"derkolk",
|
|
36
|
+
"harrykoster"
|
|
36
37
|
],
|
|
37
38
|
"devDependencies": {
|
|
38
39
|
"@opencode-ai/plugin": "^1.0.224",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|