slack-term 1.39.1 → 1.39.2
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 +7 -1
- package/dist/cli.js +166 -158
- package/package.json +1 -1
- package/ts/attachments.ts +71 -0
- package/ts/cli.ts +60 -14
- package/ts/stdout.ts +59 -0
package/SKILL.md
CHANGED
|
@@ -135,7 +135,8 @@ UTC, and the two are easy to mix up. Check the side you meant before confirming.
|
|
|
135
135
|
member in plain text (honorifics like `山田さん` / `王老师`, or `Hi Dave`) without a
|
|
136
136
|
matching `<@USERID>` tag, it prints `⚠ possible untagged mention: …` alongside the
|
|
137
137
|
confirm code. It never blocks — third-party/external references are expected to trip it.
|
|
138
|
-
|
|
138
|
+
It stays quiet for people Slack notifies anyway: in a thread reply, anyone who started or
|
|
139
|
+
replied in that thread; in a 1:1 DM, the other member. To actually notify someone, write `@handle` (auto-converted to `<@USERID>`; see below).
|
|
139
140
|
|
|
140
141
|
When the target is a **thread**, the confirm preview shows the thread's recent messages
|
|
141
142
|
(not the channel's last message) and prints `⚠ possible duplicate: …` if your text is
|
|
@@ -283,6 +284,11 @@ points into one message.
|
|
|
283
284
|
- Attachments show a `📎 <name> (<size>) [<file-id>]` line under the message; `--json`
|
|
284
285
|
adds a `files[]` array (`id`, `name`, `mimetype`, `size`, `url_private_download`,
|
|
285
286
|
`permalink`) only on messages that have attachments. Fetch one with `slack download <file-id>`.
|
|
287
|
+
- Forwarded / shared messages (Slack's "Forward", or a pasted message link) show under the
|
|
288
|
+
comment as `↪ shared message from @<author> in <#C…> · <ts>`, the original text quoted
|
|
289
|
+
with `│`, and its permalink. Legacy bot attachments show as `▸ <title>`; web-page link
|
|
290
|
+
previews are left out. `--json` adds `attachments[]` (`shared`, `unfurl`, `author_id`,
|
|
291
|
+
`author_name`, `channel_id`, `ts`, `title`, `text`, `permalink`) only when present.
|
|
286
292
|
|
|
287
293
|
## Getting a Slack token (first-time setup)
|
|
288
294
|
|