@metaphi-ai/hum 0.2.24 → 0.2.25
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/cli.mjs +5 -5
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -88639,7 +88639,7 @@ var win, MINE, npmFix, NPM_FIX, humHome, versionsDir, versionDir, pkgDir, coreDi
|
|
|
88639
88639
|
var init_install = __esm({
|
|
88640
88640
|
"src/install.js"() {
|
|
88641
88641
|
win = process.platform === "win32";
|
|
88642
|
-
MINE = true ? "0.2.
|
|
88642
|
+
MINE = true ? "0.2.25" : "";
|
|
88643
88643
|
npmFix = (version = "") => `npm i -g @metaphi-ai/hum@${version || "latest"} --foreground-scripts`;
|
|
88644
88644
|
NPM_FIX = npmFix("latest");
|
|
88645
88645
|
humHome = (env3 = process.env) => env3.HUM_HOME || path.join(os3.homedir(), ".hum");
|
|
@@ -88975,10 +88975,10 @@ function clientEnv() {
|
|
|
88975
88975
|
platform: process.platform,
|
|
88976
88976
|
arch: process.arch,
|
|
88977
88977
|
terminal: process.env.TERM_PROGRAM || (process.env.WT_SESSION ? "Windows Terminal" : process.env.TERM || ""),
|
|
88978
|
-
tui: true ? "0.2.
|
|
88978
|
+
tui: true ? "0.2.25" : ""
|
|
88979
88979
|
};
|
|
88980
88980
|
}
|
|
88981
|
-
function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.
|
|
88981
|
+
function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.25" : "" } = {}) {
|
|
88982
88982
|
const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
|
|
88983
88983
|
const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
|
|
88984
88984
|
if (!refused) {
|
|
@@ -90514,7 +90514,7 @@ var input_default = MultilineInput;
|
|
|
90514
90514
|
|
|
90515
90515
|
// src/app.jsx
|
|
90516
90516
|
var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
|
|
90517
|
-
var MINE2 = true ? "0.2.
|
|
90517
|
+
var MINE2 = true ? "0.2.25" : "";
|
|
90518
90518
|
var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
|
|
90519
90519
|
var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
|
|
90520
90520
|
var firstResp = (e) => e.first_response_s ? ` \xB7 first response ${e.first_response_s.toFixed(1)}s` : "";
|
|
@@ -92470,7 +92470,7 @@ init_update();
|
|
|
92470
92470
|
init_install();
|
|
92471
92471
|
var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
|
|
92472
92472
|
import { spawnSync as spawnSync5 } from "node:child_process";
|
|
92473
|
-
var MINE3 = true ? "0.2.
|
|
92473
|
+
var MINE3 = true ? "0.2.25" : "0.0.0";
|
|
92474
92474
|
var layout = installLayout();
|
|
92475
92475
|
function completeInstall() {
|
|
92476
92476
|
if (layout.kind !== "npm" || !needsInstall(MINE3)) return;
|