@metaphi-ai/hum 0.1.29 → 0.1.30

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
@@ -75838,7 +75838,7 @@ function runningVersion(candidates = engineCandidates(), opts = {}) {
75838
75838
  }
75839
75839
  return null;
75840
75840
  }
75841
- function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.1.29" : "" } = {}) {
75841
+ function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.1.30" : "" } = {}) {
75842
75842
  const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
75843
75843
  const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
75844
75844
  if (!refused) {
@@ -84541,7 +84541,7 @@ var input_default = MultilineInput;
84541
84541
 
84542
84542
  // src/app.jsx
84543
84543
  var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
84544
- var MINE = true ? "0.1.29" : "";
84544
+ var MINE = true ? "0.1.30" : "";
84545
84545
  var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
84546
84546
  var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
84547
84547
  var firstResp = (e) => e.first_response_s ? ` \xB7 first response ${e.first_response_s.toFixed(1)}s` : "";
@@ -84606,7 +84606,7 @@ var tail = (s, n) => {
84606
84606
  };
84607
84607
  var COMMANDS = [
84608
84608
  { name: "/resume", desc: "pick a past session to continue (this machine or any other)" },
84609
- { name: "/compact", desc: "summarise and restart the context now" },
84609
+ { name: "/compact", desc: "summarise and restart the context now (/compact <what the note should attend to>)" },
84610
84610
  { name: "/model", desc: "switch between the models you can use; /model <name> switches straight away" },
84611
84611
  { name: "/diff", desc: "what has changed since this session began (/diff last: the last exchange; /diff <path>: one file)" },
84612
84612
  { name: "/rewind", desc: "go back to something you said: the files, the conversation, or both (esc esc opens it too)" },
@@ -85394,7 +85394,7 @@ function App2({ engine: engine2, task, resume, images = [] }) {
85394
85394
  engine2.send({ cmd: "sessions" });
85395
85395
  break;
85396
85396
  case "/compact":
85397
- engine2.send({ cmd: "compact" });
85397
+ engine2.send(arg ? { cmd: "compact", text: arg } : { cmd: "compact" });
85398
85398
  break;
85399
85399
  case "/model":
85400
85400
  if (arg) {
@@ -85899,7 +85899,7 @@ init_update();
85899
85899
  init_install();
85900
85900
  var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
85901
85901
  import { spawnSync as spawnSync5 } from "node:child_process";
85902
- var MINE2 = true ? "0.1.29" : "0.0.0";
85902
+ var MINE2 = true ? "0.1.30" : "0.0.0";
85903
85903
  var layout = installLayout();
85904
85904
  function completeInstall() {
85905
85905
  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.29",
3
+ "version": "0.1.30",
4
4
  "description": "Hum (हम): a self-improving coding agent for your terminal.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",