@mu-crew/mu 3.10.0 → 3.10.2
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/{chunk-XXK7FR37.js → chunk-JEWHQ4GB.js} +3 -3
- package/dist/{chunk-WT7IN2OD.js → chunk-KGGOITI5.js} +2 -2
- package/dist/{chunk-7OQNJWBY.js → chunk-RXVYBV3P.js} +3 -3
- package/dist/{chunk-YIF3X32A.js → chunk-WYBOR4FX.js} +2 -2
- package/dist/{chunk-YIF3X32A.js.map → chunk-WYBOR4FX.js.map} +1 -1
- package/dist/{cli-UZEMPIPW.js → cli-GBIC22X7.js} +15 -10
- package/dist/cli-GBIC22X7.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/extension/mu-pi.js +21 -3
- package/dist/extension/mu-pi.js.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +3 -3
- package/dist/{tui-X2XICJTN.js → tui-SKZMGHA6.js} +5 -5
- package/dist/{tui-X2XICJTN.js.map → tui-SKZMGHA6.js.map} +1 -1
- package/dist/tui-sync-worker.js +1 -1
- package/docs/ROADMAP.md +7 -0
- package/docs/guide/delegate.md +2 -1
- package/package.json +1 -1
- package/skills/mu/SKILL.md +1 -1
- package/skills/mu/recipes/codemode-driver.md +3 -0
- package/skills/mu/recipes/review-panel.md +2 -1
- package/dist/cli-UZEMPIPW.js.map +0 -1
- /package/dist/{chunk-XXK7FR37.js.map → chunk-JEWHQ4GB.js.map} +0 -0
- /package/dist/{chunk-WT7IN2OD.js.map → chunk-KGGOITI5.js.map} +0 -0
- /package/dist/{chunk-7OQNJWBY.js.map → chunk-RXVYBV3P.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
planUndo,
|
|
7
7
|
resolveGroupId,
|
|
8
8
|
undoGroup
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JEWHQ4GB.js";
|
|
10
10
|
import {
|
|
11
11
|
IDLE_GLYPH,
|
|
12
12
|
TASK_SORT_KEYS,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
statusIcon,
|
|
29
29
|
truncate,
|
|
30
30
|
truncateFront
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RXVYBV3P.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentAbortNeedsCtlError,
|
|
34
34
|
AgentAbortTimeoutError,
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
waitForAgents,
|
|
207
207
|
waitForTasks,
|
|
208
208
|
weakDecisionWarning
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-KGGOITI5.js";
|
|
210
210
|
import {
|
|
211
211
|
CURRENT_SCHEMA_VERSION,
|
|
212
212
|
EXPECTED_TABLES,
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
transportNextSteps,
|
|
237
237
|
tryResolveWorkstreamId,
|
|
238
238
|
withOpContext
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-WYBOR4FX.js";
|
|
240
240
|
import {
|
|
241
241
|
defaultStateDir
|
|
242
242
|
} from "./chunk-4PACTXAB.js";
|
|
@@ -522,6 +522,7 @@ function emitError(err) {
|
|
|
522
522
|
}
|
|
523
523
|
return exitCode;
|
|
524
524
|
}
|
|
525
|
+
var TUI_HANDLE_OPTS = { flushLockWaitMs: 0 };
|
|
525
526
|
function handle(fn, command, opts) {
|
|
526
527
|
return async () => {
|
|
527
528
|
let db;
|
|
@@ -538,7 +539,7 @@ function handle(fn, command, opts) {
|
|
|
538
539
|
activeCommand = void 0;
|
|
539
540
|
if (ambient && db !== void 0) {
|
|
540
541
|
try {
|
|
541
|
-
await ambientFlush(db);
|
|
542
|
+
await ambientFlush(db, { lockWaitMs: opts?.flushLockWaitMs });
|
|
542
543
|
} catch {
|
|
543
544
|
}
|
|
544
545
|
}
|
|
@@ -2967,7 +2968,7 @@ function wireAgentCommands(program) {
|
|
|
2967
2968
|
parseSeconds
|
|
2968
2969
|
).option(
|
|
2969
2970
|
"--after-runs <n>",
|
|
2970
|
-
"pi agents only: fire on the first run settled past N (the `runs` that `mu agent send --json` printed), even one that settled before this wait started",
|
|
2971
|
+
"pi agents only: fire on the first run settled past N (the `runs` that `mu agent send --json` printed), even one that settled before this wait started. One N applies to every named agent",
|
|
2971
2972
|
parseNonNegativeInt
|
|
2972
2973
|
).option(...WORKSTREAM_OPT).option(...JSON_OPT).action(function(names) {
|
|
2973
2974
|
const opts = this.optsWithGlobals();
|
|
@@ -4658,7 +4659,7 @@ async function resolveInitialTab(names, db) {
|
|
|
4658
4659
|
}
|
|
4659
4660
|
|
|
4660
4661
|
// src/cli/tui-load.ts
|
|
4661
|
-
async function importTui(load = () => import("./tui-
|
|
4662
|
+
async function importTui(load = () => import("./tui-SKZMGHA6.js")) {
|
|
4662
4663
|
const key = "NODE_ENV";
|
|
4663
4664
|
if (process.env[key] !== void 0) return load();
|
|
4664
4665
|
process.env[key] = "production";
|
|
@@ -4899,7 +4900,11 @@ function wireStateCommands(program) {
|
|
|
4899
4900
|
"interactive TUI (rounded-border dashboard with cards + popups; multi-ws via Tab/Shift-Tab tabs)"
|
|
4900
4901
|
).option("--events <n>", "how many recent log entries (ops) to include (default 20)", parseLines).option(...JSON_OPT).action(function() {
|
|
4901
4902
|
const opts = this.opts();
|
|
4902
|
-
return handle(
|
|
4903
|
+
return handle(
|
|
4904
|
+
(db) => cmdState(db, opts),
|
|
4905
|
+
this,
|
|
4906
|
+
opts.tui === true ? TUI_HANDLE_OPTS : void 0
|
|
4907
|
+
)();
|
|
4903
4908
|
});
|
|
4904
4909
|
}
|
|
4905
4910
|
|
|
@@ -6121,7 +6126,7 @@ function buildProgram() {
|
|
|
6121
6126
|
program.outputHelp();
|
|
6122
6127
|
return;
|
|
6123
6128
|
}
|
|
6124
|
-
return handle((db) => cmdBareTui(db, program, opts.workstream), command)();
|
|
6129
|
+
return handle((db) => cmdBareTui(db, program, opts.workstream), command, TUI_HANDLE_OPTS)();
|
|
6125
6130
|
});
|
|
6126
6131
|
wireWorkstreamCommands(program);
|
|
6127
6132
|
wireAgentCommands(program);
|
|
@@ -6263,4 +6268,4 @@ export {
|
|
|
6263
6268
|
truncateFront,
|
|
6264
6269
|
withRoiAll
|
|
6265
6270
|
};
|
|
6266
|
-
//# sourceMappingURL=cli-
|
|
6271
|
+
//# sourceMappingURL=cli-GBIC22X7.js.map
|