pi-tandem 0.6.1 → 0.6.2

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
@@ -60,6 +60,10 @@ The "lazy senior" part of the coding skill is adapted from [ponytail](https://gi
60
60
 
61
61
  The brainstorm skill's interview method (facts vs. decisions, one question at a time, throwaway probes) is inspired by ideas from the brainstorming skill in [superpowers](https://github.com/obra/superpowers) by obra and the grilling skill in [skills](https://github.com/mattpocock/skills) by mattpocock (both MIT).
62
62
 
63
+ ## Contributing
64
+
65
+ See [CONTRIBUTING.md](https://github.com/skhoroshavin/tandem-skills/blob/main/CONTRIBUTING.md).
66
+
63
67
  ## License
64
68
 
65
69
  MIT. See [LICENSE](./LICENSE).
@@ -9,14 +9,7 @@ const prompt = filterCliTools(
9
9
  );
10
10
 
11
11
  export default function (pi: ExtensionAPI) {
12
- pi.on("before_agent_start", async (event) => {
13
- const marker = "\n\n<project_context>\n\n";
14
- const idx = event.systemPrompt.indexOf(marker);
15
- return {
16
- systemPrompt:
17
- idx === -1
18
- ? `${event.systemPrompt}\n\n${prompt}`
19
- : event.systemPrompt.slice(0, idx) + `\n\n${prompt}` + event.systemPrompt.slice(idx),
20
- };
12
+ pi.on("before_agent_start", (event) => {
13
+ event.systemPromptOptions.sections.tandem = prompt;
21
14
  });
22
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-tandem",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/skhoroshavin/tandem-skills.git"
@@ -22,7 +22,7 @@
22
22
  "README.md"
23
23
  ],
24
24
  "devDependencies": {
25
- "@earendil-works/pi-coding-agent": "^0.84.4",
25
+ "@earendil-works/pi-coding-agent": "^0.87.0",
26
26
  "@types/node": "^26.4.1",
27
27
  "typescript": "^7.0.2"
28
28
  }