@metaphi-ai/hum 0.2.6 → 0.2.7

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
@@ -88832,10 +88832,10 @@ function clientEnv() {
88832
88832
  platform: process.platform,
88833
88833
  arch: process.arch,
88834
88834
  terminal: process.env.TERM_PROGRAM || (process.env.WT_SESSION ? "Windows Terminal" : process.env.TERM || ""),
88835
- tui: true ? "0.2.6" : ""
88835
+ tui: true ? "0.2.7" : ""
88836
88836
  };
88837
88837
  }
88838
- function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.6" : "" } = {}) {
88838
+ function startFailure(failures, { npm = /^(node|bun)(\.exe)?$/i.test(String(process.execPath).split(/[\\/]/).pop()), platform: platform2 = process.platform, version = true ? "0.2.7" : "" } = {}) {
88839
88839
  const refused = failures.find((f) => f.error && f.error.code !== "ENOENT");
88840
88840
  const fix = npm ? npmFix(version) : updateCommand({ kind: "native" }, platform2);
88841
88841
  if (!refused) {
@@ -88991,7 +88991,7 @@ var init_core = __esm({
88991
88991
  return new Promise((resolve, reject) => {
88992
88992
  const sock = net.createConnection({ host: "127.0.0.1", port: this.port }, () => {
88993
88993
  try {
88994
- sock.write(JSON.stringify({ cmd: "hello", kind: "human", token: this.token, env: clientEnv() }) + "\n");
88994
+ sock.write(JSON.stringify({ cmd: "hello", kind: "interactive", token: this.token, env: clientEnv() }) + "\n");
88995
88995
  this.ready = true;
88996
88996
  for (const cmd of this.queue.splice(0)) sock.write(JSON.stringify(cmd) + "\n");
88997
88997
  } catch {
@@ -90291,7 +90291,7 @@ var input_default = MultilineInput;
90291
90291
 
90292
90292
  // src/app.jsx
90293
90293
  var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
90294
- var MINE = true ? "0.2.6" : "";
90294
+ var MINE = true ? "0.2.7" : "";
90295
90295
  var fmtDur = (s) => s < 60 ? `${Math.max(1, Math.round(s))}s` : `${Math.floor(s / 60)}m ${Math.round(s % 60)}s`;
90296
90296
  var plural = (n, w) => `${n} ${w}${n === 1 ? "" : "s"}`;
90297
90297
  var firstResp = (e) => e.first_response_s ? ` \xB7 first response ${e.first_response_s.toFixed(1)}s` : "";
@@ -92116,7 +92116,7 @@ init_update();
92116
92116
  init_install();
92117
92117
  var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
92118
92118
  import { spawnSync as spawnSync5 } from "node:child_process";
92119
- var MINE2 = true ? "0.2.6" : "0.0.0";
92119
+ var MINE2 = true ? "0.2.7" : "0.0.0";
92120
92120
  var layout = installLayout();
92121
92121
  function completeInstall() {
92122
92122
  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.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Hum: a self-improving coding agent for your terminal.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",