slack-term 1.22.0 → 1.23.1

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
@@ -48,6 +48,9 @@ slack msgs
48
48
  # Full-text search
49
49
  slack search "deploy"
50
50
  slack search "deploy" --count 50
51
+ # search.messages is user-token-only; if the active profile is a bot token (xoxb-),
52
+ # the CLI auto-falls back to a sibling user-token profile for the same workspace
53
+ # (prints "falling back to profile ..."), or a clear error if none exists.
51
54
 
52
55
  # Read a specific channel or DM (quote #channel — unquoted # is a shell comment)
53
56
  slack read "#general"
@@ -95,6 +98,11 @@ When the target is a **thread**, the confirm preview shows the thread's recent m
95
98
  (not the channel's last message) and prints `⚠ possible duplicate: …` if your text is
96
99
  near-identical to an existing reply — so you can avoid re-posting something already said.
97
100
 
101
+ `send` also warns (non-blocking) when the destination's most recent message is your own
102
+ and no one has replied since — `⚠ 相手はまだ返信していません…`, suggesting `slack edit`
103
+ on that message instead of piling on a new one. Reply-status based, not time-based; opt
104
+ out with `SLACK_UNREPLIED_WARN=0`.
105
+
98
106
  **Etiquette:** prefer a `react` over a reply for simple acks (了解 → `eyes`, 完了 →
99
107
  `white_check_mark`, 処理中 → `hourglass`) so threads stay short; read the thread with
100
108
  `slack thread`/`slack read` before replying to avoid duplicates; consolidate multiple
@@ -166,6 +174,8 @@ slack news --limit 1
166
174
  - **`missing_scope`** — add the scope from the error, then click **Reinstall to Workspace** (scope changes require reinstall).
167
175
  - **`token_revoked`** — app uninstalled; reinstall from the app page.
168
176
  - **Token starts with `xoxb-`** — that's a Bot Token. Add scopes under **User Token Scopes** instead, reinstall, and copy the **User OAuth Token**.
177
+ - **`xoxc-` desktop session token** — accepted by the public Slack API (send/edit/delete/react/upload/channel create+invite included) as long as its `xoxd` session cookie is attached (`slack auth chrome`/`slack auth firefox`, or `SLACK_COOKIE=...`). Without the cookie it still fails with a clear "needs its session cookie" error.
178
+ - **`conversations.invite` reports success but the member never shows up** — the invited user is likely a single-channel guest (`is_ultra_restricted`); Slack silently no-ops the invite since that account type can only ever belong to the one channel it was created in. `channel create --invite` now warns about this up front.
169
179
  - **Send is rejected with "use #channel or @user"** — the CLI enforces human-readable targets. Use `#channel-name` or `@display-name`, not raw IDs.
170
180
  - **Confirm code mismatch on `send`** — the message text or destination changed between preview and confirm. Re-run without `--code` for a fresh preview, and re-check the `→` destination line (THREAD REPLY vs NEW top-level message).
171
181
  - **Enterprise Grid / admin-locked workspace** — custom app installation may need admin approval or be disabled outright.