@metaphi-ai/hum 0.1.18 → 0.1.19
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.
- package/dist/cli.mjs +4 -4
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -83881,7 +83881,7 @@ var tail = (s, n) => {
|
|
|
83881
83881
|
var COMMANDS = [
|
|
83882
83882
|
{ name: "/resume", desc: "pick a past session to continue (this machine or any other)" },
|
|
83883
83883
|
{ name: "/compact", desc: "summarise and restart the context now" },
|
|
83884
|
-
{ name: "/model", desc: "
|
|
83884
|
+
{ name: "/model", desc: "the models you can use; /model <name> switches for this session" },
|
|
83885
83885
|
{ name: "/cost", desc: "tokens and cost so far" },
|
|
83886
83886
|
{ name: "/approve", desc: "approvals on|off \u2014 whether every change and command waits for you first (leaving the sandbox always asks)" },
|
|
83887
83887
|
{ name: "/continue", desc: "after a pause: let the agent carry on" },
|
|
@@ -84277,7 +84277,7 @@ function App2({ engine: engine2, task, resume, images = [] }) {
|
|
|
84277
84277
|
(0, import_react24.useEffect)(() => {
|
|
84278
84278
|
if (!hello) return void 0;
|
|
84279
84279
|
let live = true;
|
|
84280
|
-
updateNotice(true ? "0.1.
|
|
84280
|
+
updateNotice(true ? "0.1.19" : hello.version || "0.0.0").then((line) => {
|
|
84281
84281
|
if (live && line) append({ kind: "info", text: line });
|
|
84282
84282
|
}).catch(() => {
|
|
84283
84283
|
});
|
|
@@ -84418,7 +84418,7 @@ function App2({ engine: engine2, task, resume, images = [] }) {
|
|
|
84418
84418
|
if (arg) {
|
|
84419
84419
|
modelRef.current = arg;
|
|
84420
84420
|
engine2.send({ cmd: "model", name: arg });
|
|
84421
|
-
} else
|
|
84421
|
+
} else engine2.send({ cmd: "model" });
|
|
84422
84422
|
break;
|
|
84423
84423
|
case "/cost": {
|
|
84424
84424
|
const ctx = ctxPct > 0 ? ` \xB7 context ${ctxPct}% of the compaction threshold` : "";
|
|
@@ -85017,7 +85017,7 @@ import { spawnSync as spawnSync3 } from "node:child_process";
|
|
|
85017
85017
|
var ENGINE_COMMANDS = /* @__PURE__ */ new Set(["run", "login", "logout", "whoami", "model", "key", "sessions", "show", "sync", "skill", "ps", "stop", "hooks", "engine"]);
|
|
85018
85018
|
var argv0 = process.argv.slice(2);
|
|
85019
85019
|
if (argv0[0] === "--version" || argv0[0] === "-V") {
|
|
85020
|
-
process.stdout.write(`hum ${true ? "0.1.
|
|
85020
|
+
process.stdout.write(`hum ${true ? "0.1.19" : "0.0.0"}
|
|
85021
85021
|
`);
|
|
85022
85022
|
process.exit(0);
|
|
85023
85023
|
}
|