pi-var 1.0.14 → 1.0.16
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-var",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "Copy-on-write variations for pi — work on multiple features simultaneously with isolated workspaces",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"simple-git-hooks": "2.13.1",
|
|
49
49
|
"typescript": "6.0.3",
|
|
50
50
|
"vitest": "4.1.7",
|
|
51
|
-
"@earendil-works/pi-coding-agent": "1.
|
|
52
|
-
"@earendil-works/pi-ai": "1.
|
|
51
|
+
"@earendil-works/pi-coding-agent": "1.2.0",
|
|
52
|
+
"@earendil-works/pi-ai": "1.2.0",
|
|
53
53
|
"typebox": "1.3.27"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"typebox": "*"
|
|
59
59
|
},
|
|
60
60
|
"overrides": {
|
|
61
|
-
"brace-expansion": "5.0.
|
|
61
|
+
"brace-expansion": "5.0.12",
|
|
62
62
|
"fast-xml-builder": "1.2.0",
|
|
63
63
|
"protobufjs": "8.4.0",
|
|
64
64
|
"ws": "8.20.1",
|
|
65
|
-
"@earendil-works/pi-ai": "1.
|
|
66
|
-
"@earendil-works/pi-coding-agent": "1.
|
|
67
|
-
"@earendil-works/pi-tui": "1.
|
|
65
|
+
"@earendil-works/pi-ai": "1.2.0",
|
|
66
|
+
"@earendil-works/pi-coding-agent": "1.2.0",
|
|
67
|
+
"@earendil-works/pi-tui": "1.2.0"
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Offline Pi 1.
|
|
1
|
+
// Offline Pi 1.2 SDK/bundle lifecycle, identity, loadout, nested-tool and renderer probe.
|
|
2
2
|
import assert from 'node:assert/strict';
|
|
3
3
|
import { findPackageJSON } from 'node:module';
|
|
4
4
|
import { mkdtemp, readFile, writeFile, rm } from 'node:fs/promises';
|
|
@@ -35,15 +35,15 @@ try {
|
|
|
35
35
|
SettingsManager,
|
|
36
36
|
VERSION,
|
|
37
37
|
} = sdk;
|
|
38
|
-
assert.equal(VERSION, '1.
|
|
38
|
+
assert.equal(VERSION, '1.2.0', 'actual executing Pi host');
|
|
39
39
|
const localSdk = await import('@earendil-works/pi-coding-agent');
|
|
40
|
-
assert.equal(localSdk.VERSION, '1.
|
|
40
|
+
assert.equal(localSdk.VERSION, '1.2.0', 'exact pinned development host');
|
|
41
41
|
const aiPath = findPackageJSON(
|
|
42
42
|
'@earendil-works/pi-ai/compat',
|
|
43
43
|
pathToFileURL(join(sdk.getPackageDir(), 'package.json'))
|
|
44
44
|
);
|
|
45
45
|
const aiManifest = JSON.parse(await readFile(aiPath, 'utf8'));
|
|
46
|
-
assert.equal(aiManifest.version, '1.
|
|
46
|
+
assert.equal(aiManifest.version, '1.2.0');
|
|
47
47
|
const ai = await import(
|
|
48
48
|
pathToFileURL(join(dirname(aiPath), aiManifest.exports['./compat'].import)).href
|
|
49
49
|
);
|
|
@@ -59,7 +59,7 @@ try {
|
|
|
59
59
|
if (manifest.peerDependencies?.[name] !== undefined)
|
|
60
60
|
assert.equal(manifest.peerDependencies[name], '*');
|
|
61
61
|
if (manifest.devDependencies?.[name] !== undefined && name !== 'typebox')
|
|
62
|
-
assert.equal(manifest.devDependencies[name], '1.
|
|
62
|
+
assert.equal(manifest.devDependencies[name], '1.2.0');
|
|
63
63
|
}
|
|
64
64
|
const identityPath = join(home, 'identity.ts');
|
|
65
65
|
globalThis[Symbol.for('pi1.workflow.identity')] = sdk.AgentSession;
|