slack-term 1.19.0 → 1.20.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/SKILL.md CHANGED
@@ -68,6 +68,11 @@ slack delete "<permalink>"
68
68
 
69
69
  # Bulk export a channel's history
70
70
  slack dump "#channel-name"
71
+
72
+ # Download a file attachment (by file ID or file permalink) to disk
73
+ slack download F0123ABC # → ./<filename>
74
+ slack download F0123ABC ./invoices/ # into a directory
75
+ slack download "https://acme.slack.com/files/U1/F0123ABC/invoice.pdf"
71
76
  ```
72
77
 
73
78
  Targets for `send` are `#channel`, `@user`, `#channel:<thread_ts>`, or a Slack URL —
@@ -75,12 +80,21 @@ a message permalink replies in that message's thread; a channel-only URL posts t
75
80
  The confirm preview prints the resolved destination (`→ ... — THREAD REPLY` or
76
81
  `→ ... — NEW top-level message`); verify it before re-running with `--code`.
77
82
 
83
+ `send` also runs a **warn-only untagged-mention lint**: if the body names a workspace
84
+ member in plain text (honorifics like `松田さん` / `張老师`, or `Hi Dave`) without a
85
+ matching `<@USERID>` tag, it prints `⚠ possible untagged mention: …` alongside the
86
+ confirm code. It never blocks — third-party/external references are expected to trip it.
87
+ To actually notify someone, write `@handle` (auto-converted to `<@USERID>`; see below).
88
+
78
89
  ## Output formatting
79
90
 
80
91
  - DM channels render as `@DisplayName`; public channels as `#channel-name`.
81
92
  - `<@UID>` mention tokens are resolved to display names.
82
93
  - `<!date^...>` markup is rendered as human-readable dates.
83
94
  - Messages are grouped by day (Today / Yesterday / weekday).
95
+ - Attachments show a `📎 <name> (<size>) [<file-id>]` line under the message; `--json`
96
+ adds a `files[]` array (`id`, `name`, `mimetype`, `size`, `url_private_download`,
97
+ `permalink`) only on messages that have attachments. Fetch one with `slack download <file-id>`.
84
98
 
85
99
  ## Getting a Slack token (first-time setup)
86
100