@juicesharp/rpiv-advisor 1.2.1 → 1.3.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/advisor-ui.ts +3 -3
- package/advisor.ts +4 -4
- package/index.ts +1 -1
- package/package.json +4 -4
package/advisor-ui.ts
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* SelectList theme wiring.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import type { ThinkingLevel } from "@
|
|
10
|
-
import { DynamicBorder, type ExtensionContext, type Theme } from "@
|
|
11
|
-
import { Container, type SelectItem, SelectList, Spacer, Text } from "@
|
|
9
|
+
import type { ThinkingLevel } from "@earendil-works/pi-ai";
|
|
10
|
+
import { DynamicBorder, type ExtensionContext, type Theme } from "@earendil-works/pi-coding-agent";
|
|
11
|
+
import { Container, type SelectItem, SelectList, Spacer, Text } from "@earendil-works/pi-tui";
|
|
12
12
|
|
|
13
13
|
const MAX_VISIBLE_ROWS = 10;
|
|
14
14
|
const NAV_HINT = "↑↓ navigate • enter select • esc cancel";
|
package/advisor.ts
CHANGED
|
@@ -17,8 +17,8 @@ import { chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "n
|
|
|
17
17
|
import { homedir } from "node:os";
|
|
18
18
|
import { dirname, join } from "node:path";
|
|
19
19
|
import { fileURLToPath } from "node:url";
|
|
20
|
-
import type { Api, Model, StopReason, Usage } from "@
|
|
21
|
-
import { completeSimple, getSupportedThinkingLevels, type Message, type ThinkingLevel } from "@
|
|
20
|
+
import type { Api, Model, StopReason, Usage } from "@earendil-works/pi-ai";
|
|
21
|
+
import { completeSimple, getSupportedThinkingLevels, type Message, type ThinkingLevel } from "@earendil-works/pi-ai";
|
|
22
22
|
import {
|
|
23
23
|
type AgentToolResult,
|
|
24
24
|
type AgentToolUpdateCallback,
|
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
type ExtensionContext,
|
|
28
28
|
type SessionEntry,
|
|
29
29
|
type ToolInfo,
|
|
30
|
-
} from "@
|
|
31
|
-
import type { SelectItem } from "@
|
|
30
|
+
} from "@earendil-works/pi-coding-agent";
|
|
31
|
+
import type { SelectItem } from "@earendil-works/pi-tui";
|
|
32
32
|
import { Type } from "typebox";
|
|
33
33
|
import { showAdvisorPicker, showEffortPicker } from "./advisor-ui.js";
|
|
34
34
|
|
package/index.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* preserved verbatim from rpiv-pi@7525a5d.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
import type { ExtensionAPI } from "@
|
|
12
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
13
13
|
import {
|
|
14
14
|
registerAdvisorBeforeAgentStart,
|
|
15
15
|
registerAdvisorCommand,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juicesharp/rpiv-advisor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Pi extension. A second opinion the model can request from a stronger reviewer model before it acts.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
43
|
+
"@earendil-works/pi-ai": "*",
|
|
44
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
45
|
+
"@earendil-works/pi-tui": "*",
|
|
46
46
|
"typebox": "*"
|
|
47
47
|
}
|
|
48
48
|
}
|