agent-slack 0.4.4 → 0.5.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/README.md CHANGED
@@ -28,7 +28,7 @@ npm i -g agent-slack
28
28
  - **Read**: fetch a message, browse channel history, list full threads
29
29
  - **Search**: messages + files (with filters)
30
30
  - **Artifacts**: auto-download snippets/images/files to local paths for agents
31
- - **Write**: reply, edit/delete messages, add reactions
31
+ - **Write**: reply, edit/delete messages, add reactions (bullet lists auto-render as native Slack rich text)
32
32
  - **Channels**: list conversations, create channels, and invite users by id/handle/email
33
33
  - **Canvas**: fetch Slack canvases as Markdown
34
34
 
@@ -66,7 +66,7 @@ agent-slack
66
66
  ├── message
67
67
  │ ├── get <target> # fetch 1 message (+ thread meta )
68
68
  │ ├── list <target> # fetch thread or recent channel messages
69
- │ ├── send <target> <text> # send / reply (does the right thing)
69
+ │ ├── send <target> <text> # send / reply (supports --attach)
70
70
  │ ├── draft <target> [text] # open Slack-like editor in browser
71
71
  │ ├── edit <target> <text> # edit a message
72
72
  │ ├── delete <target> # delete a message
@@ -202,6 +202,7 @@ After sending, the editor shows a "View in Slack" link to the posted message.
202
202
 
203
203
  ```bash
204
204
  agent-slack message send "https://workspace.slack.com/archives/C123/p1700000000000000" "I can take this."
205
+ agent-slack message send "#alerts-staging" "here's the report" --attach ./report.md
205
206
  agent-slack message edit "https://workspace.slack.com/archives/C123/p1700000000000000" "I can take this today."
206
207
  agent-slack message delete "https://workspace.slack.com/archives/C123/p1700000000000000"
207
208
  agent-slack message react add "https://workspace.slack.com/archives/C123/p1700000000000000" "eyes"
@@ -215,6 +216,10 @@ agent-slack message edit "#general" "Updated text" --workspace "myteam" --ts "17
215
216
  agent-slack message delete "#general" --workspace "myteam" --ts "1770165109.628379"
216
217
  ```
217
218
 
219
+ Attach options for `message send`:
220
+
221
+ - `--attach <path>` upload a local file (repeatable)
222
+
218
223
  ### List, create, and invite channels
219
224
 
220
225
  ```bash