@metaphi-ai/hum 0.1.39 → 0.1.40

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 +6 -6
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -75861,7 +75861,7 @@ function runningVersion(candidates = engineCandidates(), opts = {}) {
75861
75861
  }
75862
75862
  return null;
75863
75863
  }
75864
- function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.1.39" : "" } = {}) {
75864
+ function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.1.40" : "" } = {}) {
75865
75865
  const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
75866
75866
  const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
75867
75867
  if (!refused) {
@@ -84576,7 +84576,7 @@ var input_default = MultilineInput;
84576
84576
 
84577
84577
  // src/app.jsx
84578
84578
  var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
84579
- var MINE = true ? "0.1.39" : "";
84579
+ var MINE = true ? "0.1.40" : "";
84580
84580
  var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
84581
84581
  var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
84582
84582
  var firstResp = (e) => e.first_response_s ? ` \xB7 first response ${e.first_response_s.toFixed(1)}s` : "";
@@ -85753,8 +85753,8 @@ function App2({ engine: engine2, task, resume, images = [] }) {
85753
85753
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { dimColor: true, children: spinnerLabel })
85754
85754
  ] }),
85755
85755
  question && step && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", borderStyle: "round", borderColor: ACCENT, paddingX: 1, marginTop: 1, children: [
85756
- question.kind === "feedback" && qStep === 0 ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
85757
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { color: ACCENT, bold: true, children: "\u2726 hum asks for your judgment" }) }),
85756
+ (question.kind === "feedback" || question.kind === "decision") && qStep === 0 ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
85757
+ /* @__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" }) }),
85758
85758
  question.summary.split("\n").map((l, i) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { children: ` ${l}` }, `s${i}`)),
85759
85759
  question.evidence.map((e, i) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { dimColor: true, children: ` evidence: ${e}` }, `e${i}`))
85760
85760
  ] }) : null,
@@ -85792,7 +85792,7 @@ function App2({ engine: engine2, task, resume, images = [] }) {
85792
85792
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Box_default, { flexDirection: "column", width: MASCOT_WIDTH + 1, flexShrink: 0, marginRight: 1, children: MASCOT.map((row, i) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { color: ACCENT, bold: true, children: row }, i)) }),
85793
85793
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", flexGrow: 1, children: [
85794
85794
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Text, { children: [
85795
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { color: ACCENT, bold: true, children: "\u2726 hum on its own work" }),
85795
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { color: ACCENT, bold: true, children: "\u2726 Self Reflect" }),
85796
85796
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { dimColor: true, children: ` \xB7 ${reflection.category.replace(/_/g, " ")}${reflection.area ? ` \xB7 ${reflection.area}` : ""}` })
85797
85797
  ] }),
85798
85798
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { bold: true, children: reflection.title }),
@@ -86053,7 +86053,7 @@ init_update();
86053
86053
  init_install();
86054
86054
  var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
86055
86055
  import { spawnSync as spawnSync5 } from "node:child_process";
86056
- var MINE2 = true ? "0.1.39" : "0.0.0";
86056
+ var MINE2 = true ? "0.1.40" : "0.0.0";
86057
86057
  var layout = installLayout();
86058
86058
  function completeInstall() {
86059
86059
  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.39",
3
+ "version": "0.1.40",
4
4
  "description": "Hum (हम): a self-improving coding agent for your terminal.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",