pi-repoprompt-mcp 0.7.3 → 0.7.5

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.
@@ -8,7 +8,7 @@ import { execFile } from "node:child_process";
8
8
  import { promisify } from "node:util";
9
9
  import { fileURLToPath } from "node:url";
10
10
 
11
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
11
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
12
12
 
13
13
  import type { BindingEntryData, RpBinding, RpConfig, RpTab, RpWindow } from "./types.js";
14
14
  import { AUTO_SELECTION_ENTRY_TYPE, BINDING_ENTRY_TYPE } from "./types.js";
@@ -1,4 +1,4 @@
1
- import { truncateToWidth, visibleWidth } from "@mariozechner/pi-tui";
1
+ import { truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
2
2
 
3
3
  import type { RpConfig } from "./types.js";
4
4
 
@@ -1,7 +1,7 @@
1
1
  import { spawnSync } from "node:child_process";
2
2
 
3
- import { highlightCode, type Theme } from "@mariozechner/pi-coding-agent";
4
- import { truncateToWidth, visibleWidth, wrapTextWithAnsi } from "@mariozechner/pi-tui";
3
+ import { highlightCode, type Theme } from "@earendil-works/pi-coding-agent";
4
+ import { truncateToWidth, visibleWidth, wrapTextWithAnsi } from "@earendil-works/pi-tui";
5
5
  import * as Diff from "diff";
6
6
 
7
7
  import {
@@ -16,8 +16,8 @@ import type {
16
16
  ExtensionContext,
17
17
  ToolRenderResultOptions,
18
18
  Theme,
19
- } from "@mariozechner/pi-coding-agent";
20
- import { Text, matchesKey, visibleWidth } from "@mariozechner/pi-tui";
19
+ } from "@earendil-works/pi-coding-agent";
20
+ import { Text, matchesKey, visibleWidth } from "@earendil-works/pi-tui";
21
21
  import { Type } from "typebox";
22
22
 
23
23
  import type {
@@ -947,7 +947,8 @@ export default function repopromptMcp(pi: ExtensionAPI) {
947
947
  return (
948
948
  (lower.includes("window") && lower.includes("not found")) ||
949
949
  (lower.includes("tab") && lower.includes("not found")) ||
950
- (lower.includes("context") && lower.includes("not found"))
950
+ (lower.includes("context") && lower.includes("not found")) ||
951
+ lower.includes("does not host context_id")
951
952
  );
952
953
  }
953
954
 
@@ -1,6 +1,6 @@
1
1
  // readcache/meta.ts - validation + extraction from session entries
2
2
 
3
- import type { SessionEntry } from "@mariozechner/pi-coding-agent";
3
+ import type { SessionEntry } from "@earendil-works/pi-coding-agent";
4
4
 
5
5
  import { RP_READCACHE_CUSTOM_TYPE, RP_READCACHE_META_VERSION, SCOPE_FULL } from "./constants.js";
6
6
  import type {
@@ -3,7 +3,7 @@
3
3
  import { readFile } from "node:fs/promises";
4
4
  import { basename } from "node:path";
5
5
 
6
- import type { ExtensionContext } from "@mariozechner/pi-coding-agent";
6
+ import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
7
7
 
8
8
  import {
9
9
  DEFAULT_EXCLUDED_PATH_PATTERNS,
@@ -1,6 +1,6 @@
1
1
  // readcache/replay.ts - replay-aware trust reconstruction for rp(read_file)
2
2
 
3
- import type { ExtensionContext, SessionEntry } from "@mariozechner/pi-coding-agent";
3
+ import type { ExtensionContext, SessionEntry } from "@earendil-works/pi-coding-agent";
4
4
 
5
5
  import { SCOPE_FULL } from "./constants.js";
6
6
  import { extractInvalidationFromSessionEntry, extractReadMetaFromSessionEntry } from "./meta.js";
@@ -1,6 +1,6 @@
1
1
  // readcache/text.ts - line helpers + truncation
2
2
 
3
- import { truncateHead, type TruncationOptions, type TruncationResult } from "@mariozechner/pi-coding-agent";
3
+ import { truncateHead, type TruncationOptions, type TruncationResult } from "@earendil-works/pi-coding-agent";
4
4
 
5
5
  function validateRange(start: number, end: number): void {
6
6
  if (!Number.isInteger(start) || start <= 0) {
@@ -1,6 +1,6 @@
1
1
  // readcache/types.ts - types for read_file caching layer
2
2
 
3
- import type { SessionEntry } from "@mariozechner/pi-coding-agent";
3
+ import type { SessionEntry } from "@earendil-works/pi-coding-agent";
4
4
  import type { SCOPE_FULL } from "./constants.js";
5
5
 
6
6
  export type ScopeRangeKey = `r:${number}:${number}`;
@@ -1,7 +1,7 @@
1
1
  // render.ts - Syntax highlighting and diff rendering for RepoPrompt output
2
2
 
3
- import { highlightCode, type Theme } from "@mariozechner/pi-coding-agent";
4
- import { Text, truncateToWidth, visibleWidth, type Component } from "@mariozechner/pi-tui";
3
+ import { highlightCode, type Theme } from "@earendil-works/pi-coding-agent";
4
+ import { Text, truncateToWidth, visibleWidth, type Component } from "@earendil-works/pi-tui";
5
5
 
6
6
  import {
7
7
  renderAdaptiveDiffBlockLines,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-repoprompt-mcp",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "A token-efficient RepoPrompt integration for Pi with automated and branch-safe workspace management",
5
5
  "keywords": ["pi-package", "pi", "pi-coding-agent", "repoprompt", "mcp"],
6
6
  "license": "MIT",
@@ -22,8 +22,8 @@
22
22
  "diff": "^7.0.0"
23
23
  },
24
24
  "peerDependencies": {
25
- "@mariozechner/pi-coding-agent": ">=0.69.0",
26
- "@mariozechner/pi-tui": "*",
25
+ "@earendil-works/pi-coding-agent": ">=0.74.0",
26
+ "@earendil-works/pi-tui": "*",
27
27
  "typebox": "*"
28
28
  },
29
29
  "scripts": {