@brainervirus/workit-pi 8.26.1 → 8.27.0

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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![CI](https://github.com/BrainerVirus/workit/actions/workflows/ci.yml/badge.svg)](https://github.com/BrainerVirus/workit/actions/workflows/ci.yml)
4
4
  [![license: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/BrainerVirus/workit/blob/main/LICENSE)
5
5
 
6
- [Workit](https://github.com/BrainerVirus/workit) for Pi (stock 0.85.1): a native extension with the
6
+ [Workit](https://github.com/BrainerVirus/workit) for Pi (stock 1.4.0): a native extension with the
7
7
  seven task families plus read-only `workit_context`, the eleven method
8
8
  skills, session and compaction continuity, and a coordinator that launches
9
9
  fresh reviewer/investigator processes and scoped implementers. Requires
package/dist/workit.js CHANGED
@@ -24362,7 +24362,7 @@ if (false) {}
24362
24362
  var PI_DESCRIPTOR = {
24363
24363
  host: "pi",
24364
24364
  label: "Pi",
24365
- verifiedAgainst: "@earendil-works/pi-coding-agent 0.85.1",
24365
+ verifiedAgainst: "@earendil-works/pi-coding-agent 1.4.0",
24366
24366
  docs: ["https://github.com/earendil-works/pi-coding-agent"],
24367
24367
  transport: "in-process-plugin",
24368
24368
  events: {
@@ -25615,7 +25615,8 @@ function extension(pi) {
25615
25615
  handler: async (args) => {
25616
25616
  const extra = String(args ?? "").trim();
25617
25617
  pi.sendUserMessage(`/skill:${skill}${extra ? ` ${extra}` : ""}`, {
25618
- expandPromptTemplates: true
25618
+ expandPromptTemplates: true,
25619
+ deliverAs: "followUp"
25619
25620
  });
25620
25621
  }
25621
25622
  });
@@ -25631,6 +25632,8 @@ function extension(pi) {
25631
25632
  reconcileLostWorkers(ctx);
25632
25633
  });
25633
25634
  pi.on("before_agent_start", (event, ctx) => {
25635
+ if (event.messageType !== "user")
25636
+ return;
25634
25637
  const nudge = skillPromptNudge(event.prompt, ctx);
25635
25638
  const id = ctx.sessionManager.getSessionId();
25636
25639
  const trusted = ctx.isProjectTrusted();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-pi",
3
- "version": "8.26.1",
3
+ "version": "8.27.0",
4
4
  "description": "Workit native extension for Pi — tools, method skills, and session continuity",
5
5
  "keywords": [
6
6
  "agentic-coding",
@@ -31,10 +31,10 @@
31
31
  "build": "bun scripts/build.ts"
32
32
  },
33
33
  "devDependencies": {
34
- "@earendil-works/pi-coding-agent": "0.85.1"
34
+ "@earendil-works/pi-coding-agent": "1.4.0"
35
35
  },
36
36
  "peerDependencies": {
37
- "@earendil-works/pi-coding-agent": "^0.85.1"
37
+ "@earendil-works/pi-coding-agent": "^1.4.0"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=24"