slack-term 1.41.2 → 1.42.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 +6 -0
- package/SKILL.md +9 -0
- package/dist/cli.js +212 -206
- package/package.json +1 -1
- package/ts/cli.ts +321 -82
- package/ts/sentlog.ts +106 -2
package/README.md
CHANGED
|
@@ -173,6 +173,12 @@ eval "$RESUME --timeout 0" && echo answered
|
|
|
173
173
|
# A pressed pill is invisible to `slack tail` (it only sees `type: "message"`
|
|
174
174
|
# events and drops `message_changed`), so this is the only way to hear about an
|
|
175
175
|
# answer to a question you did not block on.
|
|
176
|
+
#
|
|
177
|
+
# Answered but never collected? Asks from THIS machine (local sent-log) whose pill was
|
|
178
|
+
# pressed, or that got a reply, while nobody was waiting — grouped by the asking
|
|
179
|
+
# session, with whether that agent is still alive and the --waitFor line that
|
|
180
|
+
# collects each. Read-only: collecting (that line) is what takes it off the list.
|
|
181
|
+
slack ask --pending # last 7 days; --since 2h, --channel, --json
|
|
176
182
|
|
|
177
183
|
# Who sent what: every send/ask/poll/edit is logged locally with its sender —
|
|
178
184
|
# pid, cwd, git branch, agent CLI and session id — and the same attribution rides
|
package/SKILL.md
CHANGED
|
@@ -240,6 +240,15 @@ This path is not optional convenience — **a pressed pill is invisible to `slac
|
|
|
240
240
|
which only sees `type: "message"` events and drops `message_changed`. Without `--waitFor`
|
|
241
241
|
an answer can be pressed and nobody ever hears about it.
|
|
242
242
|
|
|
243
|
+
**Answered, never collected.** `slack ask --pending` (`--since 7d` default, `--channel`,
|
|
244
|
+
`--json`) checks every ask in this machine's sent-log that no `--wait`/`--waitFor` has
|
|
245
|
+
collected, and lists the ones somebody answered — grouped by the asking session, with
|
|
246
|
+
the agent pid and whether it is still alive (pid running, started before the ask, same
|
|
247
|
+
CLI), and per item the exact `collect:` line to run (cursor included). It is read-only —
|
|
248
|
+
nothing is posted, edited, stamped or relayed. Collecting is that `slack ask --waitFor=…`
|
|
249
|
+
line: an answer it hands over (exit 0) takes the ask off the list; a free-text reply it
|
|
250
|
+
hands over (exit 5) is not reported again, but a pill pressed after it is.
|
|
251
|
+
|
|
243
252
|
### sent — what did I post, and which session posted it
|
|
244
253
|
|
|
245
254
|
Every `send`/`ask`/`poll`/`edit` is logged locally (`~/.config/slack-cli/sent.sqlite`)
|