pi-quiver 6.14.2 → 6.14.3
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/CHANGELOG.md +4 -0
- package/lib/slack-cache.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,10 @@ Published to npm as `pi-quiver` (`pi install npm:pi-quiver`). Pushing a
|
|
|
8
8
|
via OIDC trusted publishing. The release helper at
|
|
9
9
|
`.agents/skills/release/scripts/release.sh` cuts the tag; CI publishes.
|
|
10
10
|
|
|
11
|
+
## v6.14.3 - 2026-10-29
|
|
12
|
+
|
|
13
|
+
- `slack`: exclude deactivated users from cache refreshes and live name lookups so matching names resolve only to active users.
|
|
14
|
+
|
|
11
15
|
## v6.14.2 - 2026-10-20
|
|
12
16
|
|
|
13
17
|
- `session-name`: the default naming prompt asks for a PR's referenced ticket in both the session name and tab label, for example `PR#123 for A-123`; user naming rules still override the built-ins.
|
package/lib/slack-cache.ts
CHANGED
|
@@ -178,6 +178,7 @@ export async function resolveChannel(input: string, ctx: CacheCtx): Promise<stri
|
|
|
178
178
|
interface SlackUser {
|
|
179
179
|
id: string;
|
|
180
180
|
name: string;
|
|
181
|
+
deleted?: boolean;
|
|
181
182
|
profile?: { display_name?: string; real_name?: string; email?: string };
|
|
182
183
|
real_name?: string;
|
|
183
184
|
}
|
|
@@ -238,6 +239,7 @@ export async function resolveUser(input: string, ctx: CacheCtx): Promise<string>
|
|
|
238
239
|
);
|
|
239
240
|
const members = (data.members as SlackUser[]) ?? [];
|
|
240
241
|
for (const u of members) {
|
|
242
|
+
if (u.deleted === true) continue;
|
|
241
243
|
if (u.name === name) {
|
|
242
244
|
mergeAndWrite(ctx.filePath, cached?.team_id ?? (await teamIdFor(ctx.token, ctx.apiCall, ctx.signal)), (base) => {
|
|
243
245
|
base.users[name] = toUserEntry(u);
|
|
@@ -403,6 +405,7 @@ export async function resolveMentions(
|
|
|
403
405
|
{ retry: false, signal: ctx.signal },
|
|
404
406
|
);
|
|
405
407
|
for (const u of (data.members as SlackUser[]) ?? []) {
|
|
408
|
+
if (u.deleted === true) continue;
|
|
406
409
|
for (const name of outstanding) {
|
|
407
410
|
if (u.name === name) found.set(name, u);
|
|
408
411
|
else if (u.profile?.display_name === name || (u.profile?.real_name ?? u.real_name) === name) {
|
|
@@ -525,6 +528,7 @@ export async function refreshCache(ctx: CacheCtx): Promise<{ channels: number; u
|
|
|
525
528
|
const data = await ctx.apiCall("users.list", ctx.token, { limit: 1000, ...(cursor ? { cursor } : {}) }, { retry: false, signal: ctx.signal });
|
|
526
529
|
const members = (data.members as SlackUser[]) ?? [];
|
|
527
530
|
for (const u of members) {
|
|
531
|
+
if (u.deleted === true) continue;
|
|
528
532
|
users[u.name] = toUserEntry(u);
|
|
529
533
|
}
|
|
530
534
|
const meta = data.response_metadata as { next_cursor?: string } | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-quiver",
|
|
3
|
-
"version": "6.14.
|
|
3
|
+
"version": "6.14.3",
|
|
4
4
|
"description": "Personal pack of Pi coding-agent extensions: context-safe fetch, doc_to_md PDF/DOCX/PPTX-to-Markdown conversion, session naming, a themed ASCII startup header, Opus 4.8 fast mode, and a provider-stall watchdog.",
|
|
5
5
|
"author": "Jacek Juraszek",
|
|
6
6
|
"license": "MIT",
|