@metaphi-ai/hum 0.2.28 → 0.2.29
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
|
@@ -89037,7 +89037,7 @@ var win, MINE, npmFix, NPM_FIX, humHome, versionsDir, versionDir, pkgDir, coreDi
|
|
|
89037
89037
|
var init_install = __esm({
|
|
89038
89038
|
"src/install.js"() {
|
|
89039
89039
|
win = process.platform === "win32";
|
|
89040
|
-
MINE = true ? "0.2.
|
|
89040
|
+
MINE = true ? "0.2.29" : "";
|
|
89041
89041
|
npmFix = (version = "") => `npm i -g @metaphi-ai/hum@${version || "latest"} --foreground-scripts`;
|
|
89042
89042
|
NPM_FIX = npmFix("latest");
|
|
89043
89043
|
humHome = (env3 = process.env) => env3.HUM_HOME || path.join(os3.homedir(), ".hum");
|
|
@@ -89382,10 +89382,10 @@ function clientEnv() {
|
|
|
89382
89382
|
platform: process.platform,
|
|
89383
89383
|
arch: process.arch,
|
|
89384
89384
|
terminal: process.env.TERM_PROGRAM || (process.env.WT_SESSION ? "Windows Terminal" : process.env.TERM || ""),
|
|
89385
|
-
tui: true ? "0.2.
|
|
89385
|
+
tui: true ? "0.2.29" : ""
|
|
89386
89386
|
};
|
|
89387
89387
|
}
|
|
89388
|
-
function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.
|
|
89388
|
+
function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.29" : "" } = {}) {
|
|
89389
89389
|
const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
|
|
89390
89390
|
const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
|
|
89391
89391
|
if (!refused) {
|
|
@@ -90887,7 +90887,7 @@ var after = (ms, fn) => {
|
|
|
90887
90887
|
|
|
90888
90888
|
// src/app.jsx
|
|
90889
90889
|
var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
|
|
90890
|
-
var MINE2 = true ? "0.2.
|
|
90890
|
+
var MINE2 = true ? "0.2.29" : "";
|
|
90891
90891
|
var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
|
|
90892
90892
|
var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
|
|
90893
90893
|
var shortSession = (name) => (name || "").replace(/\.jsonl$/, "");
|
|
@@ -93269,7 +93269,7 @@ init_install();
|
|
|
93269
93269
|
await init_theme();
|
|
93270
93270
|
var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1);
|
|
93271
93271
|
import { spawnSync as spawnSync6 } from "node:child_process";
|
|
93272
|
-
var MINE3 = true ? "0.2.
|
|
93272
|
+
var MINE3 = true ? "0.2.29" : "0.0.0";
|
|
93273
93273
|
var layout = installLayout();
|
|
93274
93274
|
function completeInstall() {
|
|
93275
93275
|
if (layout.kind !== "npm" || !needsInstall(MINE3)) return;
|