@mu-crew/mu 4.1.0 → 4.1.1
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-4ULY3ZKO.js → chunk-B74N2EAS.js} +3 -3
- package/dist/{chunk-SS7NQSSZ.js → chunk-DEYBQDTO.js} +2 -2
- package/dist/{chunk-UCZPJX7K.js → chunk-L7I3BLXP.js} +8 -2
- package/dist/chunk-L7I3BLXP.js.map +1 -0
- package/dist/{chunk-7M634JMD.js → chunk-LBBZAG5C.js} +3 -3
- package/dist/{cli-TV3N47AZ.js → cli-H2PWJAJN.js} +12 -8
- package/dist/cli-H2PWJAJN.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/{errors-GRONKWFS.js → errors-G5IVXSMY.js} +2 -2
- package/dist/extension/mu-pi.js +1 -1
- package/dist/index.js +4 -4
- package/dist/{tui-FUBQ326D.js → tui-EN2CDP6G.js} +4 -4
- package/docs/guide/sql.md +1 -0
- package/package.json +1 -1
- package/dist/chunk-UCZPJX7K.js.map +0 -1
- package/dist/cli-TV3N47AZ.js.map +0 -1
- /package/dist/{chunk-4ULY3ZKO.js.map → chunk-B74N2EAS.js.map} +0 -0
- /package/dist/{chunk-SS7NQSSZ.js.map → chunk-DEYBQDTO.js.map} +0 -0
- /package/dist/{chunk-7M634JMD.js.map → chunk-LBBZAG5C.js.map} +0 -0
- /package/dist/{errors-GRONKWFS.js.map → errors-G5IVXSMY.js.map} +0 -0
- /package/dist/{tui-FUBQ326D.js.map → tui-EN2CDP6G.js.map} +0 -0
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
recordHumanNeeded,
|
|
24
24
|
reserveAttempt,
|
|
25
25
|
reserveRetry
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DEYBQDTO.js";
|
|
27
27
|
import {
|
|
28
28
|
AgentLockBusyError,
|
|
29
29
|
AgentNotFoundError,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
withFileLock,
|
|
130
130
|
withHostChannel,
|
|
131
131
|
withOpContext
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-L7I3BLXP.js";
|
|
133
133
|
|
|
134
134
|
// src/rebuild.ts
|
|
135
135
|
import { existsSync, mkdirSync, rmSync, statSync } from "fs";
|
|
@@ -4479,4 +4479,4 @@ export {
|
|
|
4479
4479
|
saveResume,
|
|
4480
4480
|
loadResume
|
|
4481
4481
|
};
|
|
4482
|
-
//# sourceMappingURL=chunk-
|
|
4482
|
+
//# sourceMappingURL=chunk-B74N2EAS.js.map
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
withCaptureSuppressed,
|
|
53
53
|
withFileLock,
|
|
54
54
|
withOpContext
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-L7I3BLXP.js";
|
|
56
56
|
|
|
57
57
|
// src/fold.ts
|
|
58
58
|
function fieldsOf(payload) {
|
|
@@ -3657,4 +3657,4 @@ export {
|
|
|
3657
3657
|
ingestFromDb,
|
|
3658
3658
|
currentCallers
|
|
3659
3659
|
};
|
|
3660
|
-
//# sourceMappingURL=chunk-
|
|
3660
|
+
//# sourceMappingURL=chunk-DEYBQDTO.js.map
|
|
@@ -4778,7 +4778,8 @@ function muTable(opts) {
|
|
|
4778
4778
|
}
|
|
4779
4779
|
function isJsonMode() {
|
|
4780
4780
|
const argv = process.argv;
|
|
4781
|
-
return argv.some((a) => a === "--json" || a.startsWith("--json=")) || isSqlVerbArgv(argv) && !argv.includes("--table") || isStateVerbArgv(argv) || isWaitVerbArgv(argv);
|
|
4781
|
+
return argv.some((a) => a === "--json" || a.startsWith("--json=")) || (isSqlVerbArgv(argv) || isAgentListArgv(argv)) && !argv.includes("--table") || isStateVerbArgv(argv) || isWaitVerbArgv(argv) || // `mu next` prints ONE JSON result for every outcome; its failures too.
|
|
4782
|
+
verbWords(argv)[0] === "next";
|
|
4782
4783
|
}
|
|
4783
4784
|
function verbWords(argv) {
|
|
4784
4785
|
const words = [];
|
|
@@ -4793,6 +4794,10 @@ function isSqlVerbArgv(argv) {
|
|
|
4793
4794
|
const words = verbWords(argv);
|
|
4794
4795
|
return words[0] === "sql" || words[0] === "db" && words[1] === "query";
|
|
4795
4796
|
}
|
|
4797
|
+
function isAgentListArgv(argv) {
|
|
4798
|
+
const [first, second] = verbWords(argv);
|
|
4799
|
+
return first === "agent" && second === "list";
|
|
4800
|
+
}
|
|
4796
4801
|
function isStateVerbArgv(argv) {
|
|
4797
4802
|
const [first, second] = verbWords(argv);
|
|
4798
4803
|
return first === "state" || first === "me" && second !== "tasks" && second !== "next";
|
|
@@ -13917,6 +13922,7 @@ export {
|
|
|
13917
13922
|
pc,
|
|
13918
13923
|
muTable,
|
|
13919
13924
|
isJsonMode,
|
|
13925
|
+
isAgentListArgv,
|
|
13920
13926
|
isStateVerbArgv,
|
|
13921
13927
|
usageLines,
|
|
13922
13928
|
printUsageHuman,
|
|
@@ -14250,4 +14256,4 @@ export {
|
|
|
14250
14256
|
murmurAvailable,
|
|
14251
14257
|
readAgentStates
|
|
14252
14258
|
};
|
|
14253
|
-
//# sourceMappingURL=chunk-
|
|
14259
|
+
//# sourceMappingURL=chunk-L7I3BLXP.js.map
|