@hybridlabor-api/aos 4.6.2 → 4.6.3
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/installer.js +9 -2
- package/package.json +1 -1
package/installer.js
CHANGED
|
@@ -59,6 +59,12 @@ const {
|
|
|
59
59
|
log
|
|
60
60
|
} = clack;
|
|
61
61
|
|
|
62
|
+
// Defensive alias: @clack/prompts provides log.success, not log.ok.
|
|
63
|
+
// Ensure any legacy or third-party call to log.ok safely routes to log.success.
|
|
64
|
+
if (log && typeof log === 'object' && !log.ok) {
|
|
65
|
+
log.ok = log.success;
|
|
66
|
+
}
|
|
67
|
+
|
|
62
68
|
const {
|
|
63
69
|
renderKineticIntro,
|
|
64
70
|
buildHeroHeader,
|
|
@@ -2022,7 +2028,7 @@ async function installOpenWikiVisualizer() {
|
|
|
2022
2028
|
log.warn('Skipping OpenWiki Visualizer setup: the openwiki CLI is not on PATH. Install it with: npm install -g openwiki@latest');
|
|
2023
2029
|
return;
|
|
2024
2030
|
}
|
|
2025
|
-
log.
|
|
2031
|
+
log.success('OpenWiki CLI installed.');
|
|
2026
2032
|
}
|
|
2027
2033
|
// launchd starts agents with a minimal PATH that never includes npm's global
|
|
2028
2034
|
// bin dir, so resolve the absolute binary path now instead of relying on PATH at boot.
|
|
@@ -2151,7 +2157,8 @@ async function installOpenWikiVisualizer() {
|
|
|
2151
2157
|
const stdoutLog = path.join(visualizerLogDir, 'visualize.stdout.log');
|
|
2152
2158
|
const stderrLog = path.join(visualizerLogDir, 'visualize.stderr.log');
|
|
2153
2159
|
const batPath = path.join(visualizerLogDir, 'run-openwiki-visualize.bat');
|
|
2154
|
-
const
|
|
2160
|
+
const targetWikiArg = wikiPath ? `"${wikiPath}" ` : '';
|
|
2161
|
+
const runCmd = `"${openwikiBin}" visualize ${targetWikiArg}--port 4321 --no-open`;
|
|
2155
2162
|
const batContent = `@echo off\r\ncd /d "${homeDir}"\r\n${runCmd} >> "${stdoutLog}" 2>> "${stderrLog}"\r\n`;
|
|
2156
2163
|
const vbsPath = path.join(startupDir, 'com.bdb.openwiki-visualize.vbs');
|
|
2157
2164
|
const vbsContent = `Set WshShell = CreateObject("WScript.Shell")\r\nWshShell.CurrentDirectory = "${homeDir}"\r\nWshShell.Run """${batPath}""", 0, False\r\n`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hybridlabor-api/aos",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.3",
|
|
4
4
|
"description": "AOS — A Curated AI AGENT OS. Optimized agent skills and add-ons like memB, OpenWiki, Heimdall Token Saver, and Godmode architectures.",
|
|
5
5
|
"main": "installer.js",
|
|
6
6
|
"engines": {
|