@metaphi-ai/hum 0.2.17 → 0.2.18

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +5 -5
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -88634,7 +88634,7 @@ var win, MINE, npmFix, NPM_FIX, humHome, versionsDir, versionDir, pkgDir, coreDi
88634
88634
  var init_install = __esm({
88635
88635
  "src/install.js"() {
88636
88636
  win = process.platform === "win32";
88637
- MINE = true ? "0.2.17" : "";
88637
+ MINE = true ? "0.2.18" : "";
88638
88638
  npmFix = (version = "") => `npm i -g @metaphi-ai/hum@${version || "latest"} --foreground-scripts`;
88639
88639
  NPM_FIX = npmFix("latest");
88640
88640
  humHome = (env3 = process.env) => env3.HUM_HOME || path.join(os3.homedir(), ".hum");
@@ -88970,10 +88970,10 @@ function clientEnv() {
88970
88970
  platform: process.platform,
88971
88971
  arch: process.arch,
88972
88972
  terminal: process.env.TERM_PROGRAM || (process.env.WT_SESSION ? "Windows Terminal" : process.env.TERM || ""),
88973
- tui: true ? "0.2.17" : ""
88973
+ tui: true ? "0.2.18" : ""
88974
88974
  };
88975
88975
  }
88976
- function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.17" : "" } = {}) {
88976
+ function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.18" : "" } = {}) {
88977
88977
  const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
88978
88978
  const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
88979
88979
  if (!refused) {
@@ -90459,7 +90459,7 @@ var input_default = MultilineInput;
90459
90459
 
90460
90460
  // src/app.jsx
90461
90461
  var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
90462
- var MINE2 = true ? "0.2.17" : "";
90462
+ var MINE2 = true ? "0.2.18" : "";
90463
90463
  var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
90464
90464
  var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
90465
90465
  var firstResp = (e) => e.first_response_s ? ` \xB7 first response ${e.first_response_s.toFixed(1)}s` : "";
@@ -92284,7 +92284,7 @@ init_update();
92284
92284
  init_install();
92285
92285
  var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
92286
92286
  import { spawnSync as spawnSync5 } from "node:child_process";
92287
- var MINE3 = true ? "0.2.17" : "0.0.0";
92287
+ var MINE3 = true ? "0.2.18" : "0.0.0";
92288
92288
  var layout = installLayout();
92289
92289
  function completeInstall() {
92290
92290
  if (layout.kind !== "npm" || !needsInstall(MINE3)) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metaphi-ai/hum",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "Hum: a self-improving coding agent for your terminal.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",