@circlesac/holla 26.3.6 → 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 CHANGED
@@ -42,5 +42,5 @@
42
42
  "test": "vitest run"
43
43
  },
44
44
  "type": "module",
45
- "version": "26.3.6"
45
+ "version": "26.3.8"
46
46
  }
@@ -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
@@ -162,3 +172,24 @@ All read commands support: `--json` (structured), `--plain` (tab-separated), or
162
172
  ## Name resolution
163
173
 
164
174
  Channels accept `#name` or ID. Users accept `@name` or ID. Fuzzy matching suggests corrections on typos.
175
+
176
+ ## Post-action verification (REQUIRED)
177
+
178
+ After any write action (send, reply, edit, delete, reactions add/remove, mentions, etc.), **always re-fetch the result** to verify it worked correctly:
179
+
180
+ ```bash
181
+ # After sending/editing a message — verify content and formatting
182
+ holla slack chat get --channel <ch> --ts <ts> -w <ws> --json
183
+
184
+ # After adding a reaction — verify it appears
185
+ holla slack channels history --channel <ch> --limit 1 -w <ws> --json
186
+ ```
187
+
188
+ **What to check:**
189
+ - **Message content**: Does the rendered text match the intended format? (markdown, line breaks, etc.)
190
+ - **Mentions**: Did `<@USER_ID>` resolve to the correct person? Is the mention actually visible?
191
+ - **Mention removal**: If a message was edited to remove a mention, verify the mention is actually gone in the fetched result
192
+ - **Reactions**: Confirm the reaction emoji name resolved correctly and appears on the right message
193
+ - **Deletions**: Confirm the message/reaction is actually gone
194
+
195
+ Never assume a write action succeeded — always verify.