@metaphi-ai/hum 0.1.69 → 0.1.71

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
@@ -83589,7 +83589,7 @@ function runningVersion(candidates = engineCandidates(), opts = {}) {
83589
83589
  }
83590
83590
  return null;
83591
83591
  }
83592
- function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.1.69" : "" } = {}) {
83592
+ function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.1.71" : "" } = {}) {
83593
83593
  const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
83594
83594
  const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
83595
83595
  if (!refused) {
@@ -85608,7 +85608,7 @@ var input_default = MultilineInput;
85608
85608
 
85609
85609
  // src/app.jsx
85610
85610
  var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
85611
- var MINE = true ? "0.1.69" : "";
85611
+ var MINE = true ? "0.1.71" : "";
85612
85612
  var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
85613
85613
  var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
85614
85614
  var firstResp = (e) => e.first_response_s ? ` \xB7 first response ${e.first_response_s.toFixed(1)}s` : "";
@@ -87010,8 +87010,8 @@ function App2({ engine: engine2, task, resume, images = [], onUpdate: onUpdate2
87010
87010
  ] }),
87011
87011
  question && step && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", borderStyle: "round", borderColor: ACCENT, paddingX: 1, marginTop: 1, children: [
87012
87012
  questions.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { dimColor: true, children: ` 1 of ${questions.length} open asks \xB7 the oldest first` }) : null,
87013
- (question.kind === "feedback" || question.kind === "decision") && qStep === 0 ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
87014
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { color: ACCENT, bold: true, children: question.kind === "decision" ? "\u2726 Decision Review" : "\u2726 hum asks for your judgment" }) }),
87013
+ question.kind && qStep === 0 ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
87014
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { color: ACCENT, bold: true, children: question.kind === "decision" ? "\u2726 Review a decision" : question.kind === "constraints" ? "\u2726 Constraints Humboldt discovered" : "\u2726 Humboldt asks for your review" }) }),
87015
87015
  question.summary.split("\n").map((l, i) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { children: ` ${l}` }, `s${i}`)),
87016
87016
  question.evidence.map((e, i) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { dimColor: true, children: ` evidence: ${e}` }, `e${i}`))
87017
87017
  ] }) : null,
@@ -87426,7 +87426,7 @@ init_update();
87426
87426
  init_install();
87427
87427
  var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
87428
87428
  import { spawnSync as spawnSync5 } from "node:child_process";
87429
- var MINE2 = true ? "0.1.69" : "0.0.0";
87429
+ var MINE2 = true ? "0.1.71" : "0.0.0";
87430
87430
  var layout = installLayout();
87431
87431
  function completeInstall() {
87432
87432
  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.69",
3
+ "version": "0.1.71",
4
4
  "description": "Hum: a self-improving coding agent for your terminal.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",