pi-reason-harness 1.0.2 → 1.0.4
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.
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
* pi-reason-harness — Lifecycle helpers
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { homedir } from 'node:os';
|
|
6
5
|
import * as fs from 'node:fs';
|
|
7
6
|
import { join } from 'node:path';
|
|
8
|
-
import type
|
|
7
|
+
import { getAgentDir, type ExtensionContext } from '@earendil-works/pi-coding-agent';
|
|
9
8
|
|
|
10
9
|
export function getDirs() {
|
|
11
10
|
const baseDir = join(process.cwd(), '.pi', 'reason-harness');
|
|
@@ -25,7 +24,7 @@ export function writeSessionId(ctx: ExtensionContext): void {
|
|
|
25
24
|
|
|
26
25
|
export function installShellAlias(cliPath: string, projectRoot: string): void {
|
|
27
26
|
try {
|
|
28
|
-
const agentBinDir = join(
|
|
27
|
+
const agentBinDir = join(getAgentDir(), 'bin');
|
|
29
28
|
if (!fs.existsSync(agentBinDir)) {
|
|
30
29
|
fs.mkdirSync(agentBinDir, { recursive: true });
|
|
31
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-reason-harness",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Recursive self-improving reasoning harness for pi — iterate, verify, improve. Builds task-specific reasoning strategies on top of any LLM.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
+
"@earendil-works/pi-tui": "0.80.3",
|
|
29
30
|
"@types/node": "25.9.1",
|
|
30
31
|
"typescript": "6.0.3",
|
|
31
|
-
"vitest": "4.1.7"
|
|
32
|
-
"@earendil-works/pi-tui": "0.79.4"
|
|
32
|
+
"vitest": "4.1.7"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@earendil-works/pi-ai": ">=0.74.0",
|