@metaphi-ai/hum 0.2.34 → 0.2.36

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 +7 -7
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -89459,7 +89459,7 @@ var init_install = __esm({
89459
89459
  "src/install.js"() {
89460
89460
  init_define_HUM_CORE_SUBS();
89461
89461
  win = process.platform === "win32";
89462
- MINE = true ? "0.2.34" : "";
89462
+ MINE = true ? "0.2.36" : "";
89463
89463
  npmFix = (version = "") => `npm i -g @metaphi-ai/hum@${version || "latest"} --foreground-scripts`;
89464
89464
  NPM_FIX = npmFix("latest");
89465
89465
  humHome = (env3 = process.env) => env3.HUM_HOME || path.join(os3.homedir(), ".hum");
@@ -89805,10 +89805,10 @@ function clientEnv() {
89805
89805
  platform: process.platform,
89806
89806
  arch: process.arch,
89807
89807
  terminal: process.env.TERM_PROGRAM || (process.env.WT_SESSION ? "Windows Terminal" : process.env.TERM || ""),
89808
- tui: true ? "0.2.34" : ""
89808
+ tui: true ? "0.2.36" : ""
89809
89809
  };
89810
89810
  }
89811
- function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.34" : "" } = {}) {
89811
+ function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.36" : "" } = {}) {
89812
89812
  const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
89813
89813
  const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
89814
89814
  if (!refused) {
@@ -91323,7 +91323,7 @@ var after = (ms, fn) => {
91323
91323
 
91324
91324
  // src/app.jsx
91325
91325
  var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
91326
- var MINE2 = true ? "0.2.34" : "";
91326
+ var MINE2 = true ? "0.2.36" : "";
91327
91327
  var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
91328
91328
  var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
91329
91329
  var shortSession = (name) => (name || "").replace(/\.jsonl$/, "");
@@ -91495,8 +91495,8 @@ var serverLine = (s) => s.state === "connected" ? `connected \xB7 ${s.tools.le
91495
91495
  var serverActions = (s) => [
91496
91496
  { do: "tools", label: "show tools" },
91497
91497
  ...s.state === "waiting for trust" ? [] : [
91498
- ...s.url && !s.signed_in ? [{ do: "login", label: "sign in" }] : [],
91499
- ...s.url && s.signed_in ? [{ do: "login", label: "sign in again" }, { do: "logout", label: "sign out" }] : [],
91498
+ ...s.url ? [{ do: "login", label: s.state === "connected" && s.kept ? "sign in again" : "sign in" }] : [],
91499
+ ...s.url && s.kept ? [{ do: "logout", label: "sign out" }] : [],
91500
91500
  { do: "reconnect", label: "reconnect" }
91501
91501
  ]
91502
91502
  ];
@@ -93798,7 +93798,7 @@ init_install();
93798
93798
  await init_theme();
93799
93799
  var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1);
93800
93800
  import { spawnSync as spawnSync6 } from "node:child_process";
93801
- var MINE3 = true ? "0.2.34" : "0.0.0";
93801
+ var MINE3 = true ? "0.2.36" : "0.0.0";
93802
93802
  var layout = installLayout();
93803
93803
  function completeInstall() {
93804
93804
  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.34",
3
+ "version": "0.2.36",
4
4
  "description": "Hum: a self-improving coding agent for your terminal.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",