@brawnen/harnessly 0.1.0-alpha.3 → 0.1.0-alpha.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/dist/index.js +7 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -5032,6 +5032,13 @@ async function installHostShells(workDir, requestedHost) {
|
|
|
5032
5032
|
const installedPaths = [];
|
|
5033
5033
|
const hosts = await loadEnabledHosts(workDir, requestedHost);
|
|
5034
5034
|
const config = await loadHarnessConfig(workDir);
|
|
5035
|
+
const newHosts = hosts.filter((h) => !config.enabledHosts.includes(h));
|
|
5036
|
+
if (newHosts.length > 0) {
|
|
5037
|
+
await writeHarnessConfig(workDir, {
|
|
5038
|
+
...config,
|
|
5039
|
+
enabledHosts: newHosts
|
|
5040
|
+
});
|
|
5041
|
+
}
|
|
5035
5042
|
const agentManifests = await loadAgentManifests(workDir);
|
|
5036
5043
|
for (const host of hosts) {
|
|
5037
5044
|
const manifest = await ensureHostManifest(workDir, host);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brawnen/harnessly",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"harnessly": "dist/index.js"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"@brawnen/harnessly-core": "0.1.0-alpha.0",
|
|
29
29
|
"@brawnen/harnessly-host-claude-code": "0.1.0-alpha.0",
|
|
30
30
|
"@brawnen/harnessly-host-shared": "0.1.0-alpha.0",
|
|
31
|
-
"@brawnen/harnessly-
|
|
32
|
-
"@brawnen/harnessly-
|
|
31
|
+
"@brawnen/harnessly-shared": "0.1.0-alpha.0",
|
|
32
|
+
"@brawnen/harnessly-host-codex": "0.1.0-alpha.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsup",
|