@trim21/personal-pi-extensions 0.0.310 → 0.0.312

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/talk/index.ts +0 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trim21/personal-pi-extensions",
3
- "version": "0.0.310",
3
+ "version": "0.0.312",
4
4
  "type": "module",
5
5
  "description": "Custom pi coding-agent extensions: bwrap sandbox, workspace guard, opencode edit, and more",
6
6
  "keywords": [
package/src/talk/index.ts CHANGED
@@ -11,7 +11,6 @@
11
11
  import * as fs from "node:fs";
12
12
  import * as os from "node:os";
13
13
  import * as path from "node:path";
14
- import { fileURLToPath } from "node:url";
15
14
 
16
15
  import {
17
16
  type ExtensionAPI,
@@ -35,9 +34,6 @@ const NOTIFY_TYPE = "talk:notify";
35
34
 
36
35
  const ASK_TIMEOUT_MS = 30 * 60 * 1000;
37
36
 
38
- /** Guide the model to the multi-agent workflow skill shipped with this package. */
39
- const SKILL_PATH = fileURLToPath(new URL("skills/multi-agent-dev/SKILL.md", import.meta.url));
40
-
41
37
  function toolResult(text: string) {
42
38
  return { content: [{ type: "text" as const, text }], details: {} };
43
39
  }
@@ -187,14 +183,6 @@ export default function talk(pi: ExtensionAPI) {
187
183
  pi.on("agent_start", () => core.setWorking());
188
184
  pi.on("agent_end", () => core.setIdle());
189
185
  pi.on("agent_settled", () => core.setIdle());
190
- pi.on("before_agent_start", (event) => {
191
- // One-line nudge: before coordinating with other pi agents, read the
192
- // shipped workflow skill. Skipped when the skill file is absent.
193
- if (!fs.existsSync(SKILL_PATH)) return;
194
- return {
195
- systemPrompt: `${event.systemPrompt}\n\nBefore multi-agent collaboration, read ${SKILL_PATH} to understand the talk workflow.`,
196
- };
197
- });
198
186
  pi.on("session_info_changed", () => {
199
187
  // A name set explicitly via `--name` wins over pi's session title;
200
188
  // otherwise follow pi's session name.