@howaboua/pi-subagent-review 0.2.11 → 0.2.12

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/messages.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@howaboua/pi-subagent-review",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "Pi extension that adds /review via an isolated review subagent.",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/src/messages.ts CHANGED
@@ -30,7 +30,7 @@ function getReviewPrefaceMessageId(
30
30
  ctx: ExtensionCommandContext,
31
31
  ): string | undefined {
32
32
  let messageId: string | undefined;
33
- for (const entry of ctx.sessionManager.getBranch()) {
33
+ for (const entry of ctx.sessionManager.buildContextEntries()) {
34
34
  if (
35
35
  entry.type === "custom_message" &&
36
36
  entry.customType === REVIEW_LOOP_PREFACE_MESSAGE_TYPE