opencode-discord-notify 0.5.0 → 0.5.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/README-JP.md CHANGED
@@ -65,7 +65,7 @@ OpenCode を再起動してください。
65
65
  - **指定可能キー**: `sessionID`, `permissionID`, `type`, `pattern`, `messageID`, `callID`, `partID`, `role`, `directory`, `projectID`
66
66
  - **デフォルト動作**(未設定・空文字): 全て無効化(何も送信しない)
67
67
  - **全て送信したい場合**: 全キーを列挙してください
68
- - **注意**: `session.created` は `DISCORD_SEND_PARAMS` に関わらず `sessionID`, `projectID`, `directory` を必ず含みます
68
+ - **注意**: `session.created` は `DISCORD_SEND_PARAMS` に関わらず `sessionID` を必ず含みます
69
69
 
70
70
  ## 仕様メモ
71
71
 
package/README.md CHANGED
@@ -67,7 +67,7 @@ Optional:
67
67
  - **Allowed keys**: `sessionID`, `permissionID`, `type`, `pattern`, `messageID`, `callID`, `partID`, `role`, `directory`, `projectID`
68
68
  - **Default behavior** (unset/empty): all fields are disabled (nothing sent)
69
69
  - **To send all fields**: list all keys explicitly
70
- - **Note**: `session.created` always includes `sessionID`, `projectID`, `directory` regardless
70
+ - **Note**: `session.created` always includes `sessionID` regardless
71
71
 
72
72
  ## Notes / behavior
73
73
 
package/dist/index.js CHANGED
@@ -517,11 +517,7 @@ var plugin = async ({ client }) => {
517
517
  ["directory", info?.directory],
518
518
  ["share", shareUrl]
519
519
  ],
520
- withForcedSendParams(sendParams, [
521
- "sessionID",
522
- "projectID",
523
- "directory"
524
- ])
520
+ withForcedSendParams(sendParams, ["sessionID"])
525
521
  )
526
522
  )
527
523
  };
@@ -569,7 +565,7 @@ var plugin = async ({ client }) => {
569
565
  fields: buildFields(
570
566
  filterSendFields(
571
567
  [["sessionID", sessionID]],
572
- withForcedSendParams(sendParams, ["sessionID"])
568
+ sendParams
573
569
  )
574
570
  )
575
571
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-discord-notify",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "A plugin that posts OpenCode events to a Discord webhook.",
5
5
  "license": "MIT",
6
6
  "type": "module",