@metaphi-ai/hum 0.2.50 → 0.2.51
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
|
@@ -89508,7 +89508,7 @@ var init_install = __esm({
|
|
|
89508
89508
|
"src/install.js"() {
|
|
89509
89509
|
init_define_HUM_CORE_SUBS();
|
|
89510
89510
|
win = process.platform === "win32";
|
|
89511
|
-
MINE = true ? "0.2.
|
|
89511
|
+
MINE = true ? "0.2.51" : "";
|
|
89512
89512
|
npmFix = (version = "") => `npm i -g @metaphi-ai/hum@${version || "latest"} --foreground-scripts`;
|
|
89513
89513
|
NPM_FIX = npmFix("latest");
|
|
89514
89514
|
humHome = (env3 = process.env) => env3.HUM_HOME || path.join(os3.homedir(), ".hum");
|
|
@@ -89863,10 +89863,10 @@ function clientEnv() {
|
|
|
89863
89863
|
platform: process.platform,
|
|
89864
89864
|
arch: process.arch,
|
|
89865
89865
|
terminal: process.env.TERM_PROGRAM || (process.env.WT_SESSION ? "Windows Terminal" : process.env.TERM || ""),
|
|
89866
|
-
tui: true ? "0.2.
|
|
89866
|
+
tui: true ? "0.2.51" : ""
|
|
89867
89867
|
};
|
|
89868
89868
|
}
|
|
89869
|
-
function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.
|
|
89869
|
+
function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.51" : "" } = {}) {
|
|
89870
89870
|
const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
|
|
89871
89871
|
const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
|
|
89872
89872
|
if (!refused) {
|
|
@@ -91381,7 +91381,7 @@ var after = (ms, fn) => {
|
|
|
91381
91381
|
|
|
91382
91382
|
// src/app.jsx
|
|
91383
91383
|
var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
|
|
91384
|
-
var MINE2 = true ? "0.2.
|
|
91384
|
+
var MINE2 = true ? "0.2.51" : "";
|
|
91385
91385
|
var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
|
|
91386
91386
|
var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
|
|
91387
91387
|
var shortSession = (name) => (name || "").replace(/\.jsonl$/, "");
|
|
@@ -93996,7 +93996,7 @@ async function sendPending({
|
|
|
93996
93996
|
await init_theme();
|
|
93997
93997
|
var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1);
|
|
93998
93998
|
import { spawnSync as spawnSync6 } from "node:child_process";
|
|
93999
|
-
var MINE3 = true ? "0.2.
|
|
93999
|
+
var MINE3 = true ? "0.2.51" : "0.0.0";
|
|
94000
94000
|
var layout = installLayout();
|
|
94001
94001
|
function completeInstall() {
|
|
94002
94002
|
if (layout.kind !== "npm" || !needsInstall(MINE3)) return;
|