slack-term 1.55.3 → 1.57.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
@@ -8,7 +8,7 @@ description: "Terminal Slack CLI — read news/mentions/DMs/channel history, ful
8
8
  A lightweight Slack CLI for quick workspace interaction from the terminal.
9
9
  Two implementations share one command surface (parity-tested):
10
10
 
11
- - **TypeScript** (bun-first), published as `slack-term` on npm.
11
+ - **TypeScript** (bun-first), published as `slack-hub` on npm.
12
12
  - **Rust** native binary, installable via `cargo install`.
13
13
 
14
14
  Binary name: `slack` (also aliased as `sl` / invoked via `sc sl ...` in some setups).
@@ -29,12 +29,12 @@ agent uses to talk to humans. Design notes:
29
29
  TypeScript (recommended — any platform with Node 18+):
30
30
 
31
31
  ```sh
32
- npm install -g slack-term
33
- # or: bun add -g slack-term / pnpm add -g slack-term
32
+ npm install -g slack-hub
33
+ # or: bun add -g slack-hub / pnpm add -g slack-hub
34
34
  ```
35
35
 
36
36
  > Previously published as `@snomiao/slack`; that name is deprecated on npm and
37
- > no longer updated. Install `slack-term`.
37
+ > no longer updated. Install `slack-hub`.
38
38
 
39
39
  Rust (native binary):
40
40
 
@@ -183,7 +183,7 @@ without losing clicks. A reaction is durable state anyone can read back later.
183
183
  The head marker stays `:question:` — only the pill moved. A free-text question has no
184
184
  other choice and still seeds ❓.
185
185
  - **ℹ️ is the "explain first" pill** — offered with `--explain` (or
186
- `SLACK_TERM_ASK_EXPLAIN=1`; `--no-explain` overrides), listed under ➕ and seeded after
186
+ `SLACK_HUB_ASK_EXPLAIN=1`; `--no-explain` overrides), listed under ➕ and seeded after
187
187
  it. ➕ means "none fit, my answer follows"; ℹ️ means "I can't answer yet — explain".
188
188
  It **never answers or closes** the question: no ✅, the pills stay. `--wait`/`--waitFor`
189
189
  print who pressed it on stderr (`--json`: `explain: [user ids]`) and may post ONE thread
@@ -192,7 +192,7 @@ without losing clicks. A reaction is durable state anyone can read back later.
192
192
  `--explain-exit` stops with exit `7` (stdout empty; `--json` `status: "explain"`) on the
193
193
  run that posts that note, so a `--timeout 0` poller hears about it once. Only the
194
194
  question's audience counts; bots and the asker are ignored.
195
- - **The instructions are posted in `ja` or `en`.** `--lang` (or `SLACK_TERM_LANG`) decides;
195
+ - **The instructions are posted in `ja` or `en`.** `--lang` (or `SLACK_HUB_LANG`) decides;
196
196
  otherwise the answerers' Slack locale when they all share one, else the language the
197
197
  question is written in, else the system locale, else `ja`. The confirm gate prints the
198
198
  choice and why (`Language: en (answerers' Slack locale; …)`). `--waitFor` reads either.
@@ -281,7 +281,7 @@ hands over (exit 5) is not reported again, but a pill pressed after it is.
281
281
 
282
282
  Every `send`/`ask`/`poll`/`edit` is logged locally (`~/.config/slack-cli/sent.sqlite`)
283
283
  with its sender: agent pid, cwd, git branch, agent CLI and session id. The same
284
- attribution is attached as Slack message `metadata` (event_type `slack_term_sent`) —
284
+ attribution is attached as Slack message `metadata` (event_type `slack_hub_sent`) —
285
285
  invisible in the client, readable through the API from any machine.
286
286
 
287
287
  ```bash
@@ -290,8 +290,8 @@ slack sent --kind ask --session <id-prefix> # this session's questions
290
290
  slack sent --cwd . --json # everything posted from this repo, every field
291
291
  ```
292
292
 
293
- Read-only and token-free. `SLACK_TERM_ATTRIBUTION=off` disables both the log and the
294
- metadata; `SLACK_TERM_AGENT_SESSION` / `_CLI` / `_PID` override what is detected.
293
+ Read-only and token-free. `SLACK_HUB_ATTRIBUTION=off` disables both the log and the
294
+ metadata; `SLACK_HUB_AGENT_SESSION` / `_CLI` / `_PID` override what is detected.
295
295
 
296
296
  ### pinlog — a pinned board: HEAD = current state, thread = log
297
297