@howaboua/pi-shepherdr 0.2.3 → 0.2.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.
- package/CHANGELOG.md +14 -0
- package/README.md +3 -3
- package/package.json +6 -6
- package/profiles/explorer/profile.json +1 -1
- package/profiles/general/profile.json +1 -1
- package/profiles/reviewer/profile.json +1 -1
- package/src/ask-answer.ts +17 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @howaboua/pi-shepherdr
|
|
2
2
|
|
|
3
|
+
## 0.2.5
|
|
4
|
+
|
|
5
|
+
- GPT-6 Sol and Luna now share Astra's Codex support.
|
|
6
|
+
|
|
7
|
+
- Removed `/terra`; use `/luna` instead.
|
|
8
|
+
- Added Responses Lite, non-destructive reasoning changes and terse context guidance for GPT-6 Sol and Luna.
|
|
9
|
+
- Image descriptions now use GPT-6 Luna directly instead of preferring older mini models.
|
|
10
|
+
- Cost estimates now use published GPT-6 Sol and Luna rates, including cache writes and long-context pricing.
|
|
11
|
+
- Agent, review, exploration, web search, voice summary and image-description defaults now use GPT-6; Luna replaces Terra defaults. GPT Switcher retains Luna's 472K context limit, while Codex Conversion defaults all three GPT-6 models to 272K.
|
|
12
|
+
|
|
13
|
+
## 0.2.4
|
|
14
|
+
|
|
15
|
+
- Fixed agent answers being refused when prompt or footer text contains "Review". Shepherdr now reads the complete outer Ask panel, including nested text editors, and refuses incomplete captures without sending input.
|
|
16
|
+
|
|
3
17
|
## 0.2.3
|
|
4
18
|
|
|
5
19
|
- Fixed context continuity, voice replies, and patch preservation.
|
package/README.md
CHANGED
|
@@ -87,9 +87,9 @@ For `answer` inside Code or Notebook Mode, update Pi Ask on workers together wit
|
|
|
87
87
|
|
|
88
88
|
On first load, Shepherdr installs three editable profiles:
|
|
89
89
|
|
|
90
|
-
- `general` uses `openai-codex/gpt-
|
|
91
|
-
- `explorer` uses `openai-codex/gpt-
|
|
92
|
-
- `reviewer` uses `openai-codex/gpt-
|
|
90
|
+
- `general` uses `openai-codex/gpt-6-sol` with `high` thinking for implementation
|
|
91
|
+
- `explorer` uses `openai-codex/gpt-6-luna` with `high` thinking for read-only discovery
|
|
92
|
+
- `reviewer` uses `openai-codex/gpt-6-luna` with `xhigh` thinking for generic read-only review
|
|
93
93
|
|
|
94
94
|
Use `general` sparingly, mainly when requested or while orchestration is active. For work in the controller's repository, create and prepare a dedicated worktree, then pass it as `cwd`.
|
|
95
95
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@howaboua/pi-shepherdr",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Persistent blocking and asynchronous Pi agents through Herdr.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"pack:dry": "npm pack --dry-run"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@howaboua/pi-codex-conversion": ">=3.0.
|
|
46
|
+
"@howaboua/pi-codex-conversion": ">=3.0.37",
|
|
47
47
|
"@earendil-works/pi-ai": ">=0.84.3",
|
|
48
48
|
"@earendil-works/pi-coding-agent": ">=0.84.4",
|
|
49
49
|
"@earendil-works/pi-tui": ">=0.84.3",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@howaboua/pi-codex-conversion": "3.0.
|
|
58
|
+
"@howaboua/pi-codex-conversion": "3.0.37",
|
|
59
59
|
"@biomejs/biome": "^2.5.10",
|
|
60
|
-
"@earendil-works/pi-ai": "0.
|
|
61
|
-
"@earendil-works/pi-coding-agent": "0.
|
|
62
|
-
"@earendil-works/pi-tui": "0.
|
|
60
|
+
"@earendil-works/pi-ai": "0.87.0",
|
|
61
|
+
"@earendil-works/pi-coding-agent": "0.87.0",
|
|
62
|
+
"@earendil-works/pi-tui": "0.87.0",
|
|
63
63
|
"@types/node": "^26.2.0",
|
|
64
64
|
"typebox": "1.3.18",
|
|
65
65
|
"typescript": "^7.0.2"
|
package/src/ask-answer.ts
CHANGED
|
@@ -172,9 +172,23 @@ async function screen(
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
function askFrame(value: string): string {
|
|
175
|
-
const lines = value.split("\n");
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
const lines = value.split("\n").map((line) => line.trimEnd());
|
|
176
|
+
// Ask's outer rules start at column zero. Nested editors are indented.
|
|
177
|
+
// Require the tab row so a clipped opening cannot borrow a transcript rule.
|
|
178
|
+
const start = lines.findLastIndex(
|
|
179
|
+
(line, index) =>
|
|
180
|
+
/^─+$/.test(line) &&
|
|
181
|
+
/^ +[□■] 1(?: +[□■] \d+)* +(?:Review|Resume)(?: +Agent continues while you decide)?$/.test(
|
|
182
|
+
lines[index + 1] ?? "",
|
|
183
|
+
),
|
|
184
|
+
);
|
|
185
|
+
if (start < 0) return "";
|
|
186
|
+
const end = lines.findIndex(
|
|
187
|
+
(line, index) => index > start && /^─+$/.test(line),
|
|
188
|
+
);
|
|
189
|
+
return end < 0 || lines[end] !== lines[start]
|
|
190
|
+
? ""
|
|
191
|
+
: lines.slice(start + 1, end).join("\n");
|
|
178
192
|
}
|
|
179
193
|
|
|
180
194
|
function inspectAskScreen(
|