slack-term 1.51.2 → 1.53.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 +10 -0
- package/dist/cli.js +241 -239
- package/package.json +1 -1
- package/ts/askPush.ts +83 -0
- package/ts/botIntent.ts +5 -4
- package/ts/cli.ts +172 -15
- package/ts/sentlog.ts +16 -2
- package/ts/urlGuard.ts +43 -6
package/README.md
CHANGED
|
@@ -184,7 +184,17 @@ eval "$RESUME --timeout 0" && echo answered
|
|
|
184
184
|
# pressed, or that got a reply, while nobody was waiting — grouped by the asking
|
|
185
185
|
# session, with whether that agent is still alive and the --waitFor line that
|
|
186
186
|
# collects each. Read-only: collecting (that line) is what takes it off the list.
|
|
187
|
+
# Never blocks: no waiting out rate limits — a throttled pass says what it skipped.
|
|
187
188
|
slack ask --pending # last 7 days; --since 2h, --channel, --json
|
|
189
|
+
# Push instead of waiting to be asked: each answer goes to the agent that asked
|
|
190
|
+
# (`ay send` to its pid from the sent-log, or a parent ay knows), then a decision
|
|
191
|
+
# is collected (✅, off the list); a free-text reply is pushed once and the
|
|
192
|
+
# question stays open. Askers that are gone get nothing — the list keeps them.
|
|
193
|
+
slack ask --pending --push
|
|
194
|
+
# As a service: a pass every --interval (min), and one per question as soon as
|
|
195
|
+
# the relay rings for it (SLACK_RELAY_URL / SLACK_RELAY_TOKEN: a reaction on it
|
|
196
|
+
# or a reply in its thread). Prints only what it pushed.
|
|
197
|
+
slack ask --pending --push --watch --interval 10
|
|
188
198
|
|
|
189
199
|
# Who sent what: every send/ask/poll/edit is logged locally with its sender —
|
|
190
200
|
# pid, cwd, git branch, agent CLI and session id — and the same attribution rides
|