[PR #151] [MERGED] feat: Enhance Slack and Notion library utilities #150

Closed
opened 2026-10-27 21:10:03 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/151
Author: @comfy-pr-bot
Created: 2/3/2026
Status: ✅ Merged
Merged: 2/3/2026
Merged by: @snomiao

Base: main ← Head: pr/lib-enhancements


📝 Commits (2)

  • 5294b61 feat: add comprehensive Slack API research commands to prbot CLI
  • afc0349 feat: enhance Slack and Notion library utilities

📊 Changes

13 files changed (+109 additions, -159 deletions)

View changed files

📝 .bot/AGENT.md (+3 -23)
📝 .bot/SMART-READ-FEATURE.md (+0 -6)
📝 CLAUDE.md (+0 -17)
📝 docs/slack-api-for-agents.md (+34 -74)
📝 lib/notion/search.ts (+24 -26)
📝 lib/slack/channel-info.ts (+3 -1)
📝 lib/slack/index.ts (+5 -0)
📝 lib/slack/members.ts (+1 -3)
📝 lib/slack/msg-read-recent.ts (+3 -1)
📝 lib/slack/msg-read-thread.ts (+1 -1)
📝 lib/slack/parseSlackMessageToMarkdown.ts (+33 -1)
📝 lib/slack/pins.ts (+1 -3)
📝 lib/slack/reactions.ts (+1 -3)

📄 Description

Summary

  • Improve Slack message parsing and formatting
  • Update Slack API wrappers with consistent typing
  • Enhance Notion search functionality
  • Add better error handling and validation

Changes

Slack Library (lib/slack/)

  • parseSlackMessageToMarkdown.ts: Better formatting and markdown conversion
  • msg-read-thread.ts, msg-read-nearby.ts: Improved message reading APIs
  • channel-info.ts, members.ts, pins.ts, reactions.ts: Updated with consistent typing
  • index.ts: Export updates for better module organization

Notion Library (lib/notion/)

  • search.ts: Enhanced search functionality with better result handling

Benefits

  • More reliable Slack message parsing
  • Consistent API patterns across all utility functions
  • Better error messages and validation
  • Improved type safety

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/Comfy-PR/pull/151 **Author:** [@comfy-pr-bot](https://github.com/comfy-pr-bot) **Created:** 2/3/2026 **Status:** ✅ Merged **Merged:** 2/3/2026 **Merged by:** [@snomiao](https://github.com/snomiao) **Base:** `main` ← **Head:** `pr/lib-enhancements` --- ### 📝 Commits (2) - [`5294b61`](https://github.com/Comfy-Org/Comfy-PR/commit/5294b61f0a6e28ac3597745c4f9bac1754b65a79) feat: add comprehensive Slack API research commands to prbot CLI - [`afc0349`](https://github.com/Comfy-Org/Comfy-PR/commit/afc034941c638f0c965aea57774746f73edab4b9) feat: enhance Slack and Notion library utilities ### 📊 Changes **13 files changed** (+109 additions, -159 deletions) <details> <summary>View changed files</summary> 📝 `.bot/AGENT.md` (+3 -23) 📝 `.bot/SMART-READ-FEATURE.md` (+0 -6) 📝 `CLAUDE.md` (+0 -17) 📝 `docs/slack-api-for-agents.md` (+34 -74) 📝 `lib/notion/search.ts` (+24 -26) 📝 `lib/slack/channel-info.ts` (+3 -1) 📝 `lib/slack/index.ts` (+5 -0) 📝 `lib/slack/members.ts` (+1 -3) 📝 `lib/slack/msg-read-recent.ts` (+3 -1) 📝 `lib/slack/msg-read-thread.ts` (+1 -1) 📝 `lib/slack/parseSlackMessageToMarkdown.ts` (+33 -1) 📝 `lib/slack/pins.ts` (+1 -3) 📝 `lib/slack/reactions.ts` (+1 -3) </details> ### 📄 Description ## Summary - Improve Slack message parsing and formatting - Update Slack API wrappers with consistent typing - Enhance Notion search functionality - Add better error handling and validation ## Changes ### Slack Library (`lib/slack/`) - **parseSlackMessageToMarkdown.ts**: Better formatting and markdown conversion - **msg-read-thread.ts**, **msg-read-nearby.ts**: Improved message reading APIs - **channel-info.ts**, **members.ts**, **pins.ts**, **reactions.ts**: Updated with consistent typing - **index.ts**: Export updates for better module organization ### Notion Library (`lib/notion/`) - **search.ts**: Enhanced search functionality with better result handling ## Benefits - More reliable Slack message parsing - Consistent API patterns across all utility functions - Better error messages and validation - Improved type safety 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-27 21:10:03 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/Comfy-PR#150
No description provided.