pi-quiver 6.14.1 → 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 +8 -0
- package/extensions/session-name.ts +1 -1
- package/lib/slack-cache.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,14 @@ 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
|
+
|
|
15
|
+
## v6.14.2 - 2026-10-20
|
|
16
|
+
|
|
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.
|
|
18
|
+
|
|
11
19
|
## v6.14.1 - 2026-10-19
|
|
12
20
|
|
|
13
21
|
- Bot-identity `pi-quiver slack post|dm|reply` accepts text up to Slack's 40,000-unit hard limit; the 4000 headline limit stays for user announce posts. (#30)
|
|
@@ -341,7 +341,7 @@ export function buildNamingPrompt(conversation: string, opts: PromptOptions = {}
|
|
|
341
341
|
"- Describe the actual task, NOT the tool/skill/command used to start it.",
|
|
342
342
|
"- Lead with an action verb (e.g. refine, fix, add, rework).",
|
|
343
343
|
"- Preserve ticket/issue IDs (e.g. ABC-123, PROJ-42, #99) verbatim.",
|
|
344
|
-
"- If the whole TAB would be just an ID, say what it is: PR 1234, issue 123, ticket ABC-123. Never reply with digits only.",
|
|
344
|
+
"- If the whole TAB would be just an ID, say what it is: PR 1234, issue 123, ticket ABC-123. Include the PR's referenced ticket in SESSION and TAB: PR#123 for A-123. Never reply with digits only.",
|
|
345
345
|
"- No quotes, no trailing punctuation, plain ASCII.",
|
|
346
346
|
...rules.map((r) => `- ${r}`),
|
|
347
347
|
"Example -> SESSION: Refine Linear Ticket ABC-123 / TAB: Refine ABC-123",
|
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",
|