pms-ui-notification 0.0.2.0 → 0.0.3.0
raw patch · 3 files changed
+17/−1 lines, 3 files
Files
- CHANGELOG.md +4/−0
- pms-ui-notification.cabal +1/−1
- src/PMS/UI/Notification/DS/Core.hs +12/−0
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for pms-ui-notification +## 0.0.3.0 -- 2025-07-06++* Added resources interface.+ ## 0.0.2.0 -- 2025-06-29 * Added prompts interface.
pms-ui-notification.cabal view
@@ -20,7 +20,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.0.2.0+version: 0.0.3.0 -- A short (one-line) description of the package. synopsis: pms-ui-notification
src/PMS/UI/Notification/DS/Core.hs view
@@ -95,6 +95,18 @@ } return json +mcp2json (DM.McpResourcesListChangedNotification dat) = do+ $logDebugS DM._LOGTAG $ T.pack $ "mcp2json: " ++ show dat++ let params = encode (dat^.DM.paramsMcpResourcesListChangedNotificationData)+ $logDebugS DM._LOGTAG $ T.pack $ "mcp2json: " ++ show params++ let json = def {+ DM._methodJsonRpcNotification = dat^.DM.methodMcpResourcesListChangedNotificationData+ , DM._paramsJsonRpcNotification = Just (DM.RawJsonByteString params)+ } + return json+ --------------------------------------------------------------------------------- -- | --