@mutmutco/cli 2.56.0 → 2.57.0
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/README.md +2 -2
- package/dist/index.cjs +4 -2
- package/dist/main.cjs +1209 -510
- package/dist/saga.cjs +63 -25
- package/package.json +2 -2
- package/dist/overlord-controller.cjs +0 -322
package/README.md
CHANGED
|
@@ -31,8 +31,8 @@ mmi-cli doctor --json
|
|
|
31
31
|
- `mmi-cli docs sync` refreshes repo-owned `README.md` and `architecture.md` without clobbering dirty files.
|
|
32
32
|
- `mmi-cli saga note`, `saga show`, `saga health`, `saga session`, `saga capture`, and `saga head-update` write and inspect session continuity through a cached Hub session token. Saga writes are local-first: a transient server miss queues the note in a local pending file and a detached flush worker delivers it — a queued note is normal, not a failure.
|
|
33
33
|
- `mmi-cli handoff open|list|accept|cancel|decline` records explicit same-login, same-repo session handoffs bound to North Star slugs; SessionStart offers open handoffs alongside saga HEAD.
|
|
34
|
-
- `mmi-cli coop start|join|say|pending|deliver|end|watch` drives cross-repo agent coordination (#1920);
|
|
35
|
-
- `mmi-cli overlord [--3|--4|--5|--6] <task>`, `overlord status`, `overlord send <target> <message>`, and `overlord stop` coordinate the multi-Fugu Overlord workflow with one Ultra servant, explicit servant-count bounds,
|
|
34
|
+
- `mmi-cli coop open|start|invite|join|say|wait|pending|deliver|end|watch` drives cross-repo agent coordination (#1920); `open` lists Hub open sessions by human categories, `start` accepts topic/target metadata and returns a session code, `invite` posts a visible invite with optional Slack DM, and `wait` uses the bounded `1m`, `2m`, `3m`, `5m`, `10m`, `30m` schedule.
|
|
35
|
+
- `mmi-cli overlord [--3|--4|--5|--6] <task>`, `overlord status`, `overlord send <target> <message>`, and `overlord stop` coordinate the multi-Fugu Overlord workflow with one Ultra servant, explicit servant-count bounds, OpenCode/Fugu setup preflight, native shell/profile checks, session-backed mailbox redirects, JSON event journals, and exact-owned stop safety.
|
|
36
36
|
- `mmi-cli kb get` and `kb list` read the MM KB source (`kb list [prefix]` lists document paths, optionally under a prefix).
|
|
37
37
|
- `mmi-cli northstar push|pull|list|status|sync|delete|graduate` manages North Star, the per-user plan/SSOT store.
|
|
38
38
|
`northstar push` accepts `--body-file <path|->` to write and push in one step (or push an existing
|
package/dist/index.cjs
CHANGED
|
@@ -155,7 +155,8 @@ function argvReadsStdin(args) {
|
|
|
155
155
|
return false;
|
|
156
156
|
}
|
|
157
157
|
function daemonEligible(args) {
|
|
158
|
-
|
|
158
|
+
const verb2 = args[1] ?? "";
|
|
159
|
+
return args[0] === "saga" && HOT_VERBS.has(verb2) && !CONTINUITY_HOT_VERBS.has(verb2) && !args.includes("--run") && !args.includes("--help") && !args.includes("-h") && !argvReadsStdin(args);
|
|
159
160
|
}
|
|
160
161
|
function buildStamp(version, bundleMtimeMs) {
|
|
161
162
|
return `${version}#${Math.trunc(bundleMtimeMs)}`;
|
|
@@ -168,7 +169,7 @@ function parseLine(line) {
|
|
|
168
169
|
return void 0;
|
|
169
170
|
}
|
|
170
171
|
}
|
|
171
|
-
var import_node_crypto, import_node_fs3, import_node_os, import_node_path2, DEFAULT_IDLE_EXIT_MS, DEFAULT_CONNECT_TIMEOUT_MS, DEFAULT_RESPONSE_TIMEOUT_MS, HOT_VERBS, STDIN_VERBS, encodeLine, MAX_FRAME_LENGTH, LineBuffer;
|
|
172
|
+
var import_node_crypto, import_node_fs3, import_node_os, import_node_path2, DEFAULT_IDLE_EXIT_MS, DEFAULT_CONNECT_TIMEOUT_MS, DEFAULT_RESPONSE_TIMEOUT_MS, HOT_VERBS, CONTINUITY_HOT_VERBS, STDIN_VERBS, encodeLine, MAX_FRAME_LENGTH, LineBuffer;
|
|
172
173
|
var init_daemon_protocol = __esm({
|
|
173
174
|
"src/daemon-protocol.ts"() {
|
|
174
175
|
"use strict";
|
|
@@ -180,6 +181,7 @@ var init_daemon_protocol = __esm({
|
|
|
180
181
|
DEFAULT_CONNECT_TIMEOUT_MS = 200;
|
|
181
182
|
DEFAULT_RESPONSE_TIMEOUT_MS = 2e3;
|
|
182
183
|
HOT_VERBS = /* @__PURE__ */ new Set(["note", "probe", "capture", "session", "head-update"]);
|
|
184
|
+
CONTINUITY_HOT_VERBS = /* @__PURE__ */ new Set(["note", "probe", "capture", "session", "head-update"]);
|
|
183
185
|
STDIN_VERBS = /* @__PURE__ */ new Set(["capture", "session"]);
|
|
184
186
|
encodeLine = (obj) => `${JSON.stringify(obj)}
|
|
185
187
|
`;
|