@principles/install-layout 0.2.2 → 0.2.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.
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,14 @@ export interface InstallLayoutPaths {
|
|
|
36
36
|
* release-manager/, npm name create-principles-disciple).
|
|
37
37
|
*/
|
|
38
38
|
releaseManagerDir: string;
|
|
39
|
+
/**
|
|
40
|
+
* PRI-711: the Codex host adapter component (payload dir codex-adapter/,
|
|
41
|
+
* npm name @principles/codex-adapter). Lives inside the runtime layout
|
|
42
|
+
* since PRI-624 bundled it, and pd-cli's eager import graph (health-codex)
|
|
43
|
+
* statically resolves it — so updates must refresh it and its resolution
|
|
44
|
+
* links like any other runtime component.
|
|
45
|
+
*/
|
|
46
|
+
codexAdapterDir: string;
|
|
39
47
|
}
|
|
40
48
|
export interface LayoutResolution {
|
|
41
49
|
mode: InstallLayoutMode | 'missing';
|
package/dist/index.js
CHANGED
|
@@ -77,6 +77,7 @@ export function getInstallLayoutPaths(homeDir) {
|
|
|
77
77
|
openClawDir,
|
|
78
78
|
openClawExtensionDir: path.join(openClawDir, 'extensions', 'principles-disciple'),
|
|
79
79
|
releaseManagerDir: path.join(runtimeDir, 'release-manager'),
|
|
80
|
+
codexAdapterDir: path.join(runtimeDir, 'codex-adapter'),
|
|
80
81
|
};
|
|
81
82
|
}
|
|
82
83
|
export function resolveInstallLayout(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@principles/install-layout",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test": "npm run build && vitest run"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@types/node": "^26.1
|
|
29
|
+
"@types/node": "^26.4.1",
|
|
30
30
|
"typescript": "^7.0.2",
|
|
31
31
|
"vitest": "^5.0.0"
|
|
32
32
|
}
|