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