@metaphi-ai/hum 0.2.66 → 0.2.67
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
|
@@ -89568,7 +89568,7 @@ var init_install = __esm({
|
|
|
89568
89568
|
"src/install.js"() {
|
|
89569
89569
|
init_define_HUM_CORE_SUBS();
|
|
89570
89570
|
win = process.platform === "win32";
|
|
89571
|
-
MINE = true ? "0.2.
|
|
89571
|
+
MINE = true ? "0.2.67" : "";
|
|
89572
89572
|
npmFix = (version = "") => `npm i -g @metaphi-ai/hum@${version || "latest"} --foreground-scripts`;
|
|
89573
89573
|
NPM_FIX = npmFix("latest");
|
|
89574
89574
|
humHome = (env3 = process.env) => env3.HUM_HOME || path.join(os3.homedir(), ".hum");
|
|
@@ -89923,10 +89923,10 @@ function clientEnv() {
|
|
|
89923
89923
|
platform: process.platform,
|
|
89924
89924
|
arch: process.arch,
|
|
89925
89925
|
terminal: process.env.TERM_PROGRAM || (process.env.WT_SESSION ? "Windows Terminal" : process.env.TERM || ""),
|
|
89926
|
-
tui: true ? "0.2.
|
|
89926
|
+
tui: true ? "0.2.67" : ""
|
|
89927
89927
|
};
|
|
89928
89928
|
}
|
|
89929
|
-
function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.
|
|
89929
|
+
function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.67" : "" } = {}) {
|
|
89930
89930
|
const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
|
|
89931
89931
|
const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
|
|
89932
89932
|
if (!refused) {
|
|
@@ -91441,7 +91441,7 @@ var after = (ms, fn) => {
|
|
|
91441
91441
|
|
|
91442
91442
|
// src/app.jsx
|
|
91443
91443
|
var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
|
|
91444
|
-
var MINE2 = true ? "0.2.
|
|
91444
|
+
var MINE2 = true ? "0.2.67" : "";
|
|
91445
91445
|
var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
|
|
91446
91446
|
var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
|
|
91447
91447
|
var shortSession = (name) => (name || "").replace(/\.jsonl$/, "");
|
|
@@ -94135,7 +94135,7 @@ async function sendPending({
|
|
|
94135
94135
|
await init_theme();
|
|
94136
94136
|
var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1);
|
|
94137
94137
|
import { spawnSync as spawnSync6 } from "node:child_process";
|
|
94138
|
-
var MINE3 = true ? "0.2.
|
|
94138
|
+
var MINE3 = true ? "0.2.67" : "0.0.0";
|
|
94139
94139
|
var layout = installLayout();
|
|
94140
94140
|
function completeInstall() {
|
|
94141
94141
|
if (layout.kind !== "npm" || !needsInstall(MINE3)) return;
|