@metaphi-ai/hum 0.1.54 → 0.1.56

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
@@ -83545,7 +83545,7 @@ function runningVersion(candidates = engineCandidates(), opts = {}) {
83545
83545
  }
83546
83546
  return null;
83547
83547
  }
83548
- function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.1.54" : "" } = {}) {
83548
+ function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.1.56" : "" } = {}) {
83549
83549
  const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
83550
83550
  const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
83551
83551
  if (!refused) {
@@ -85524,7 +85524,7 @@ var input_default = MultilineInput;
85524
85524
 
85525
85525
  // src/app.jsx
85526
85526
  var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
85527
- var MINE = true ? "0.1.54" : "";
85527
+ var MINE = true ? "0.1.56" : "";
85528
85528
  var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
85529
85529
  var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
85530
85530
  var firstResp = (e) => e.first_response_s ? ` \xB7 first response ${e.first_response_s.toFixed(1)}s` : "";
@@ -85923,7 +85923,7 @@ function App2({ engine: engine2, task, resume, images = [] }) {
85923
85923
  break;
85924
85924
  }
85925
85925
  const cur = Math.max(0, ev.items.findIndex((m) => m.current));
85926
- setPicker({ kind: "model", items: ev.items, index: cur, via: ev.via, byo: ev.byo || [] });
85926
+ setPicker({ kind: "model", items: ev.items, index: cur, via: ev.via });
85927
85927
  break;
85928
85928
  }
85929
85929
  case "reasoning": {
@@ -86904,7 +86904,7 @@ function App2({ engine: engine2, task, resume, images = [] }) {
86904
86904
  ] }),
86905
86905
  picker && picker.kind === "model" && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", paddingX: 1, marginTop: 1, children: [
86906
86906
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { color: ACCENT, bold: true, children: "Select model" }),
86907
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { dimColor: true, children: `Switch models. Served via Metaphi AI.${picker.byo.length ? ` Your own keys: ${picker.byo.join(", ")} \u2014 /model <provider>/<model> uses one.` : ""}` }),
86907
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { dimColor: true, children: "Switch models. Served via Metaphi AI." }),
86908
86908
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { children: " " }),
86909
86909
  (() => {
86910
86910
  const nameW = Math.max(...picker.items.map((m) => m.name.length + (m.current ? 2 : 0)));
@@ -87125,7 +87125,7 @@ init_update();
87125
87125
  init_install();
87126
87126
  var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
87127
87127
  import { spawnSync as spawnSync5 } from "node:child_process";
87128
- var MINE2 = true ? "0.1.54" : "0.0.0";
87128
+ var MINE2 = true ? "0.1.56" : "0.0.0";
87129
87129
  var layout = installLayout();
87130
87130
  function completeInstall() {
87131
87131
  if (layout.kind !== "npm" || !needsInstall(MINE2)) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metaphi-ai/hum",
3
- "version": "0.1.54",
3
+ "version": "0.1.56",
4
4
  "description": "Hum: a self-improving coding agent for your terminal.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",