@circlesac/holla 26.3.7 → 26.3.8
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/package.json +1 -1
- package/skills/slack/SKILL.md +10 -0
package/package.json
CHANGED
package/skills/slack/SKILL.md
CHANGED
|
@@ -92,6 +92,16 @@ holla slack search messages --query "keyword" -w <ws> --json
|
|
|
92
92
|
|
|
93
93
|
Options: `--sort timestamp|score`, `--sort-dir asc|desc`, `--limit <n>`, `--page <n>`
|
|
94
94
|
|
|
95
|
+
### Thread link caveat
|
|
96
|
+
|
|
97
|
+
`search messages` returns the **reply's ts**, not the parent thread ts (`thread_ts`). This is a Slack Search API limitation.
|
|
98
|
+
Building a URL from the reply ts (`https://...slack.com/archives/CH_ID/pTS`) will **highlight the wrong message or fail to scroll to the thread**.
|
|
99
|
+
|
|
100
|
+
**To build a correct thread link:**
|
|
101
|
+
1. Fetch the thread: `channels history --channel CH_ID --thread TS`
|
|
102
|
+
2. Read `thread_ts` from the first message (= parent ts)
|
|
103
|
+
3. Build URL with the parent ts: `https://WORKSPACE.slack.com/archives/CH_ID/p{thread_ts without dot}`
|
|
104
|
+
|
|
95
105
|
## Canvases
|
|
96
106
|
|
|
97
107
|
```bash
|