@metaphi-ai/hum 0.1.66 → 0.1.68

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 +8 -3
  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.66" : "" } = {}) {
83592
+ function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.1.68" : "" } = {}) {
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) {
@@ -85568,7 +85568,7 @@ var input_default = MultilineInput;
85568
85568
 
85569
85569
  // src/app.jsx
85570
85570
  var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
85571
- var MINE = true ? "0.1.66" : "";
85571
+ var MINE = true ? "0.1.68" : "";
85572
85572
  var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
85573
85573
  var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
85574
85574
  var firstResp = (e) => e.first_response_s ? ` \xB7 first response ${e.first_response_s.toFixed(1)}s` : "";
@@ -85655,6 +85655,7 @@ var COMMANDS = [
85655
85655
  { 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)" },
85656
85656
  { name: "/image", desc: "attach an image file to your next message (/image <path>); ctrl+v pastes a screenshot" },
85657
85657
  { name: "/mcp", desc: "the MCP servers in this session \u2014 what each mounted, and any that did not" },
85658
+ { name: "/comms", desc: "the channels in the loop on this session (Slack), and whether you are paired" },
85658
85659
  { name: "/tools", desc: "the tools the model has, and the sandbox they run in" },
85659
85660
  { name: "/hooks", desc: "the lifecycle hooks in scope (~/.hum/hooks.json, <repo>/.hum/hooks.json; Claude Code and Codex hook files too)" },
85660
85661
  { name: "/permissions", desc: "the rules in force here \u2014 what runs without asking, what is refused, and where each rule came from" },
@@ -86635,6 +86636,10 @@ function App2({ engine: engine2, task, resume, images = [], onUpdate: onUpdate2
86635
86636
  case "/reject":
86636
86637
  vote(-1, arg);
86637
86638
  break;
86639
+ case "/comms":
86640
+ engine2.send({ cmd: "comms" });
86641
+ break;
86642
+ // the engine's words: the channels in the loop here
86638
86643
  case "/hooks":
86639
86644
  engine2.send({ cmd: "hooks" });
86640
86645
  break;
@@ -87241,7 +87246,7 @@ init_update();
87241
87246
  init_install();
87242
87247
  var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
87243
87248
  import { spawnSync as spawnSync5 } from "node:child_process";
87244
- var MINE2 = true ? "0.1.66" : "0.0.0";
87249
+ var MINE2 = true ? "0.1.68" : "0.0.0";
87245
87250
  var layout = installLayout();
87246
87251
  function completeInstall() {
87247
87252
  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.66",
3
+ "version": "0.1.68",
4
4
  "description": "Hum: a self-improving coding agent for your terminal.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",