@metaphi-ai/hum 0.2.19 → 0.2.20
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.20" : "";
|
|
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.20" : ""
|
|
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.20" : "" } = {}) {
|
|
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) {
|
|
@@ -90513,7 +90513,7 @@ var input_default = MultilineInput;
|
|
|
90513
90513
|
|
|
90514
90514
|
// src/app.jsx
|
|
90515
90515
|
var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
|
|
90516
|
-
var MINE2 = true ? "0.2.
|
|
90516
|
+
var MINE2 = true ? "0.2.20" : "";
|
|
90517
90517
|
var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
|
|
90518
90518
|
var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
|
|
90519
90519
|
var firstResp = (e) => e.first_response_s ? ` \xB7 first response ${e.first_response_s.toFixed(1)}s` : "";
|
|
@@ -92379,7 +92379,7 @@ init_update();
|
|
|
92379
92379
|
init_install();
|
|
92380
92380
|
var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
|
|
92381
92381
|
import { spawnSync as spawnSync5 } from "node:child_process";
|
|
92382
|
-
var MINE3 = true ? "0.2.
|
|
92382
|
+
var MINE3 = true ? "0.2.20" : "0.0.0";
|
|
92383
92383
|
var layout = installLayout();
|
|
92384
92384
|
function completeInstall() {
|
|
92385
92385
|
if (layout.kind !== "npm" || !needsInstall(MINE3)) return;
|