@metaphi-ai/hum 0.2.16 → 0.2.17

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 +2 -2
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.16" : "";
88637
+ MINE = true ? "0.2.17" : "";
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.16" : ""
88973
+ tui: true ? "0.2.17" : ""
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.16" : "" } = {}) {
88976
+ function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.17" : "" } = {}) {
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.16" : "";
90462
+ var MINE2 = true ? "0.2.17" : "";
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` : "";
@@ -90564,7 +90564,7 @@ var COMMANDS = [
90564
90564
  { name: "/goal", desc: "the goal the session keeps working toward on its own, exchange after exchange, until the model marks it complete or blocked (/goal <objective>; /goal pause \xB7 resume \xB7 clear; /goal alone shows where it stands)" },
90565
90565
  { name: "/image", desc: "attach an image file to your next message (/image <path>); ctrl+v pastes a screenshot" },
90566
90566
  { name: "/mcp", desc: "the MCP servers in this session \u2014 what each mounted, and any that did not" },
90567
- { name: "/memory", desc: "what this project taught Humboldt: where the memory files are and one line per entry; edit the files by hand" },
90567
+ { name: "/memory", desc: "what this project taught Hum: where the memory files are and one line per entry; edit the files by hand" },
90568
90568
  { name: "/slack", desc: "this session's Slack thread \u2014 opened now in the declared channel when it has none \u2014 and whether you are paired" },
90569
90569
  { name: "/tools", desc: "the tools the model has, and the sandbox they run in" },
90570
90570
  { name: "/hooks", desc: "the lifecycle hooks in scope (~/.hum/hooks.json, <repo>/.hum/hooks.json; Claude Code and Codex hook files too)" },
@@ -91889,7 +91889,7 @@ function App2({ core: core2, task, resume, images = [], peek = peekSession, upda
91889
91889
  question && step && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", borderStyle: "round", borderColor: ACCENT, paddingX: 1, marginTop: 1, children: [
91890
91890
  questions.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { dimColor: true, children: ` 1 of ${questions.length} open asks \xB7 the oldest first` }) : null,
91891
91891
  question.kind && qStep === 0 ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
91892
- /* @__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" }) }),
91892
+ /* @__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 Hum discovered" : "\u2726 Hum asks for your review" }) }),
91893
91893
  question.summary.split("\n").map((l, i) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { children: ` ${l}` }, `s${i}`)),
91894
91894
  question.evidence.map((e, i) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Text, { dimColor: true, children: ` evidence: ${e}` }, `e${i}`))
91895
91895
  ] }) : null,
@@ -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.16" : "0.0.0";
92287
+ var MINE3 = true ? "0.2.17" : "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.16",
3
+ "version": "0.2.17",
4
4
  "description": "Hum: a self-improving coding agent for your terminal.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -8,5 +8,5 @@
8
8
  "files": ["bin", "dist", "scripts"],
9
9
  "scripts": { "postinstall": "node scripts/postinstall.js" },
10
10
  "engines": { "node": ">=22" },
11
- "repository": { "type": "git", "url": "git+https://github.com/metaphi-labs/humboldt.git" }
11
+ "repository": { "type": "git", "url": "git+https://github.com/metaphi-labs/hum.git" }
12
12
  }