pi-quiver 6.13.2 → 6.14.1
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/README.md +6 -5
- package/dist/bin/pi-quiver.js +919 -9
- package/extensions/slack.ts +2 -2
- package/lib/extension-config.ts +5 -114
- package/lib/settings-core.ts +121 -0
- package/lib/slack-core.ts +17 -15
- 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.1 - 2026-10-19
|
|
12
|
+
|
|
13
|
+
- 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)
|
|
14
|
+
|
|
15
|
+
## v6.14.0 - 2026-10-19
|
|
16
|
+
|
|
17
|
+
- `pi-quiver slack`: adds `post`, `reply`, `dm`, and full-document `canvas` replacement through the shared Slack core, with user/bot credentials, headline-plus-thread detail, multi-line bot posts, `--no-unfurl`, DM `--blocks-file`, env-only `--token-from-env`, network-free `--dry-run`, and one-line results including structured exit-4 `error=` codes for retry safety. Claude Code and CI use the CLI directly; no Slack plugin skill ships. (#30)
|
|
18
|
+
|
|
11
19
|
## v6.13.2 - 2026-10-08
|
|
12
20
|
|
|
13
21
|
- `provider-stall-watchdog`: a `before_provider_request` that arrives while a tool is executing no longer arms the first-event deadline. Pi >= 0.86 prompt-cache warming (`cacheWarming: "streaming"`, the default) re-sends the captured request about 270s into a long tool call with the extension hooks attached; that request emits no `message_start`, so the watchdog aborted the run `firstEventMs` later and SIGTERMed every running subagent (exit 143). Real provider requests never start mid-tool.
|
package/README.md
CHANGED
|
@@ -70,7 +70,7 @@ A 300 KB changelog page never touches your context window - you get a preview an
|
|
|
70
70
|
| `extensions/sword-header.ts` | `/builtin-header` | Themed ASCII startup header replacing pi's default logo. OFF by default. |
|
|
71
71
|
| `extensions/fast-mode.ts` | `/fast` | Inject Anthropic fast-mode (`speed: "fast"` + `anthropic-beta: fast-mode-2026-02-01`) into every Claude Opus 4.8 / Opus 5 request, any thinking level. `--fast` flag + `/fast [on\|off\|status]`. OFF by default. |
|
|
72
72
|
| `extensions/provider-stall-watchdog.ts` | - | Opt-in provider-stall recovery, in two tiers: a pre-first-event deadline (`firstEventMs`, 20s) on every provider request in every mode, and the mid-stream pair (warn at 2 min, recover at 4 min) in TUI runs only. Each stall is aborted; while pi's `retry.enabled` is true and the stall retry budget (`maxStallRetries`, default = `retry.maxRetries`) remains, its aborted attempt is hidden from the model and re-driven by the watchdog after pi's backoff; behavior guide: [doc/provider-stall-watchdog.md](doc/provider-stall-watchdog.md). OFF by default. |
|
|
73
|
-
| `extensions/slack.ts` | `slack_search`, `slack_thread`, `slack_post`, `slack_update`, `slack_delete`, `slack_pin`, `slack_upload`, `slack_cache_refresh` | Context-safe Slack search/threads/posting with dual `user`/`bot` token identities, Block Kit flattening and optional raw JSON output for threads, a workspace-keyed channel/user name->ID cache, DM targets by `@name` / user ID, fetch-style output size gating, and a transactional headline+detail-thread announce protocol with a documented recovery path. OFF by default. Behavior lives in `lib/slack-core.ts` and `lib/slack-cache.ts
|
|
73
|
+
| `extensions/slack.ts` | `slack_search`, `slack_thread`, `slack_post`, `slack_update`, `slack_delete`, `slack_pin`, `slack_upload`, `slack_cache_refresh` | Context-safe Slack search/threads/posting with dual `user`/`bot` token identities, Block Kit flattening and optional raw JSON output for threads, a workspace-keyed channel/user name->ID cache, DM targets by `@name` / user ID, fetch-style output size gating, and a transactional headline+detail-thread announce protocol with a documented recovery path. Pi registration is OFF by default. Behavior lives in `lib/slack-core.ts` and `lib/slack-cache.ts`; the [Slack CLI](doc/slack.md#cli) exposes `post`, `reply`, `dm`, and `canvas` without enabling pi registration. |
|
|
74
74
|
| `prompts/rebase-worktree.md` | `/rebase-worktree [base]` | Prompt template, pi only. Rebases the current worktree onto `origin/<base>` (default `main`), resolves conflicts inline with the authorization stated in the prompt, runs only the tests that cover the resolved files, and reports the resolutions and fix commits. Never pushes; it syncs the branch so a later CI run or `/skill:gatekeep-pr` sees current `main`. |
|
|
75
75
|
|
|
76
76
|
Full routing rules, size-gate mechanics, and config: [doc/fetch.md](doc/fetch.md), [doc/doc-to-md.md](doc/doc-to-md.md), [doc/slack.md](doc/slack.md).
|
|
@@ -182,8 +182,9 @@ chat; headless: stderr) listing every flat legacy key in use, every unknown
|
|
|
182
182
|
accepted names inline. Unknown keys fall back to their defaults. Each distinct
|
|
183
183
|
message fires once per pi process; a clean file emits nothing. A wrong value
|
|
184
184
|
type (`"fastMode": "yes"`) is a separate per-key `unrecognized value` warning.
|
|
185
|
-
The accepted names live in `QUIVER_CONFIG_KEYS` in `lib/
|
|
186
|
-
a
|
|
185
|
+
The accepted names live in `QUIVER_CONFIG_KEYS` in `lib/settings-core.ts`,
|
|
186
|
+
with a compatibility re-export from `lib/extension-config.ts` - a new
|
|
187
|
+
setting is registered in the core or it warns as unknown.
|
|
187
188
|
|
|
188
189
|
```text
|
|
189
190
|
Warning: pi-quiver settings (/Users/x/.pi/agent/settings.json): unknown or misplaced keys - unknown ones fall back to defaults
|
|
@@ -346,11 +347,11 @@ to, and a flat `slack` block is ignored without a warning.
|
|
|
346
347
|
|
|
347
348
|
## Claude Code support
|
|
348
349
|
|
|
349
|
-
`fetch` and
|
|
350
|
+
`fetch`, `doc_to_md`, and Slack cores are also published through the CLI, so Claude Code and CI can use the same behavior as pi's native tools - without pi ever seeing Claude-only files. Slack is CLI-only in this lane: pi uses native `slack_*` tools, while Claude Code/CI command files inline `npx -y pi-quiver@latest slack post ...` (or a pinned version). The CLI supports multi-line bot posts, `--no-unfurl`, DM `--blocks-file`, env-only credentials via `--token-from-env`, network-free `--dry-run`, and structured exit-4 `error=` output. No Slack plugin skill ships by design; see the [Slack CLI contract and migration](doc/slack.md#cli).
|
|
350
351
|
|
|
351
352
|
**Exposed:** the `quiver` plugin, served from this repo's `.claude-plugin/marketplace.json`, with two skills: `fetch` (invoked as `quiver:fetch` / `/quiver:fetch`) and `doc-to-md` (invoked as `quiver:doc-to-md` / `/quiver:doc-to-md`). The `fetch` skill runs `npx -y pi-quiver@latest fetch <url> [flags]` via Bash - full parameter parity with the pi tool (`--method`, `--header`, `--body`, `--raw`, `--timeout-ms`), same GitHub `gh` routing (including failed-step logs on failed runs/jobs), same size gate, same binary-to-temp-file handling. See [doc/fetch.md](doc/fetch.md#claude-code-cli-pi-quiver-fetch) for exit codes and flags. The `doc-to-md` skill is generated at release from its hand-written intro and option schema; it runs `npx -y pi-quiver@<release version> doc-to-md [flags] <path>` with full flag parity and the same handle output. See [doc/doc-to-md.md](doc/doc-to-md.md#cli-pi-quiver-doc-to-md) for exit codes and flags, and [install channels](doc/doc-to-md.md#install-channels) for npm versus marketplace updates.
|
|
352
353
|
|
|
353
|
-
**Not exposed:** the other pi extensions in this package (`session-name`, `sword-header`, `fast-mode`, `provider-stall-watchdog`, `slack`)
|
|
354
|
+
**Not exposed as plugin skills:** the other pi extensions in this package (`session-name`, `sword-header`, `fast-mode`, `provider-stall-watchdog`, `slack`); Slack is available through the CLI instead. The marketplace allowlists only `./skills/fetch` and `./skills/doc-to-md`, and the npm tarball never ships `skills/` or `.claude-plugin/` (pi's own `files` allowlist excludes them, and pi's explicit `pi.extensions` manifest makes them invisible to pi's convention-directory auto-discovery either way).
|
|
354
355
|
|
|
355
356
|
Add the marketplace and enable the plugin in `.claude/settings.json`:
|
|
356
357
|
|