@namzu/cli 45.6.0 → 45.7.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/CHANGELOG.md +6 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{bin-main-AHYAIBE5.js → bin-main-LXWGB4OG.js} +3 -3
- package/dist/chunks/{chat-T3VP3DCV.js → chat-43PBV7FK.js} +2 -2
- package/dist/chunks/{chunk-EYCASCZZ.js → chunk-CX7BSYST.js} +2 -2
- package/dist/chunks/{chunk-OVOCG3EH.js → chunk-GPA7Y4OA.js} +6 -6
- package/dist/chunks/{chunk-MS2IMZPW.js → chunk-M4JIXKZL.js} +8 -1
- package/dist/chunks/{chunk-MS2IMZPW.js.map → chunk-M4JIXKZL.js.map} +1 -1
- package/dist/chunks/{chunk-XHUT5RDY.js → chunk-NHCVWH7D.js} +2 -2
- package/dist/chunks/{chunk-JNUPACSU.js → chunk-SSYTEIX5.js} +2 -2
- package/dist/chunks/{chunk-O6QFZAP2.js → chunk-YUMBJ6IT.js} +3 -3
- package/dist/chunks/{chunk-E3GOWVGE.js → chunk-YX7WHZAR.js} +2 -2
- package/dist/chunks/{doctor-N7PH4K4N.js → doctor-DUEPRCGZ.js} +6 -6
- package/dist/chunks/{exec-LSYIE23V.js → exec-544ZWPWM.js} +2 -2
- package/dist/chunks/{live-JVMAGAIE.js → live-6CIVSKFU.js} +5 -5
- package/dist/chunks/{pal-DUQ2OASI.js → pal-NJWKENBJ.js} +2 -2
- package/dist/chunks/{start-check-LNDBVE4T.js → start-check-M4YDWO36.js} +2 -2
- package/dist/chunks/{tui-MXWQWWGT.js → tui-OYA5Z4UH.js} +86 -10
- package/dist/chunks/{tui-MXWQWWGT.js.map → tui-OYA5Z4UH.js.map} +1 -1
- package/dist/chunks/{upgrade-27Z2TXDS.js → upgrade-7W7CHF72.js} +3 -3
- package/dist/index.js +6 -6
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/CopyPicker.d.ts +3 -1
- package/dist/tui/CopyPicker.d.ts.map +1 -1
- package/dist/tui/copy-targets.d.ts +13 -0
- package/dist/tui/copy-targets.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts +4 -0
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/package.json +2 -2
- /package/dist/chunks/{bin-main-AHYAIBE5.js.map → bin-main-LXWGB4OG.js.map} +0 -0
- /package/dist/chunks/{chat-T3VP3DCV.js.map → chat-43PBV7FK.js.map} +0 -0
- /package/dist/chunks/{chunk-EYCASCZZ.js.map → chunk-CX7BSYST.js.map} +0 -0
- /package/dist/chunks/{chunk-OVOCG3EH.js.map → chunk-GPA7Y4OA.js.map} +0 -0
- /package/dist/chunks/{chunk-XHUT5RDY.js.map → chunk-NHCVWH7D.js.map} +0 -0
- /package/dist/chunks/{chunk-JNUPACSU.js.map → chunk-SSYTEIX5.js.map} +0 -0
- /package/dist/chunks/{chunk-O6QFZAP2.js.map → chunk-YUMBJ6IT.js.map} +0 -0
- /package/dist/chunks/{chunk-E3GOWVGE.js.map → chunk-YX7WHZAR.js.map} +0 -0
- /package/dist/chunks/{doctor-N7PH4K4N.js.map → doctor-DUEPRCGZ.js.map} +0 -0
- /package/dist/chunks/{exec-LSYIE23V.js.map → exec-544ZWPWM.js.map} +0 -0
- /package/dist/chunks/{live-JVMAGAIE.js.map → live-6CIVSKFU.js.map} +0 -0
- /package/dist/chunks/{pal-DUQ2OASI.js.map → pal-NJWKENBJ.js.map} +0 -0
- /package/dist/chunks/{start-check-LNDBVE4T.js.map → start-check-M4YDWO36.js.map} +0 -0
- /package/dist/chunks/{upgrade-27Z2TXDS.js.map → upgrade-7W7CHF72.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @namzu/cli
|
|
2
2
|
|
|
3
|
+
## 45.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 241780c: New `/run` command: it finds the shell commands in the latest answer (fenced blocks written as `sh`, `bash`, `zsh`, `shell`, `console`, or with no language) and puts the one you choose in the prompt after `!`. A single command goes straight in, several open a picker like `/copy`. Nothing runs until you press Enter, and you can edit the line first. It runs as any `!` line does, with your own authority and no keyboard, so a command that asks for a password still belongs in another terminal.
|
|
8
|
+
|
|
3
9
|
## 45.6.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/bin.js
CHANGED
|
@@ -81,6 +81,6 @@ __name(suppressSqliteExperimentalWarning, "suppressSqliteExperimentalWarning");
|
|
|
81
81
|
suppressSqliteExperimentalWarning();
|
|
82
82
|
|
|
83
83
|
// src/bin.ts
|
|
84
|
-
var { main } = await import("./chunks/bin-main-
|
|
84
|
+
var { main } = await import("./chunks/bin-main-LXWGB4OG.js");
|
|
85
85
|
await main(fileURLToPath(new URL("./", import.meta.url).href + "bin.js"));
|
|
86
86
|
//# sourceMappingURL=bin.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-R66H2G5R.js";
|
|
7
7
|
import {
|
|
8
8
|
runCli
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GPA7Y4OA.js";
|
|
10
10
|
import "./chunk-MZP6SH3M.js";
|
|
11
11
|
import {
|
|
12
12
|
EXIT_INTERNAL_ERROR,
|
|
@@ -126,7 +126,7 @@ async function plainFailure(err) {
|
|
|
126
126
|
__name(plainFailure, "plainFailure");
|
|
127
127
|
function main(entrypoint) {
|
|
128
128
|
if (process.argv[2] === "--start-check") {
|
|
129
|
-
return import("./start-check-
|
|
129
|
+
return import("./start-check-M4YDWO36.js").then((check) => check.runStartCheck()).then(
|
|
130
130
|
(code) => process.exit(code),
|
|
131
131
|
() => process.exit(1)
|
|
132
132
|
);
|
|
@@ -165,4 +165,4 @@ __name(main, "main");
|
|
|
165
165
|
export {
|
|
166
166
|
main
|
|
167
167
|
};
|
|
168
|
-
//# sourceMappingURL=bin-main-
|
|
168
|
+
//# sourceMappingURL=bin-main-LXWGB4OG.js.map
|
|
@@ -82,7 +82,7 @@ async function runPalChat(ctx, palId, args, options = {}) {
|
|
|
82
82
|
...ctx.config.composerTriggers ? { composerTriggers: ctx.config.composerTriggers } : {},
|
|
83
83
|
...ctx.config.statusLine ? { statusLine: ctx.config.statusLine } : {}
|
|
84
84
|
};
|
|
85
|
-
const { launchTui } = await import("./tui-
|
|
85
|
+
const { launchTui } = await import("./tui-OYA5Z4UH.js");
|
|
86
86
|
await launchTui(tui, options);
|
|
87
87
|
} catch (error) {
|
|
88
88
|
ctx.formatter.error({ message: error instanceof Error ? error.message : String(error) });
|
|
@@ -103,4 +103,4 @@ __name(runPalChat, "runPalChat");
|
|
|
103
103
|
export {
|
|
104
104
|
runPalChat
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=chat-
|
|
106
|
+
//# sourceMappingURL=chat-43PBV7FK.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
writeAttempt,
|
|
20
20
|
writeCheck,
|
|
21
21
|
writeLastResult
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SSYTEIX5.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveNamzuHome
|
|
25
25
|
} from "./chunk-LGKMYO23.js";
|
|
@@ -360,4 +360,4 @@ export {
|
|
|
360
360
|
currentInstall,
|
|
361
361
|
startAutoUpdate
|
|
362
362
|
};
|
|
363
|
-
//# sourceMappingURL=chunk-
|
|
363
|
+
//# sourceMappingURL=chunk-CX7BSYST.js.map
|
|
@@ -194,7 +194,7 @@ var doctorCommand = lazyCommand(
|
|
|
194
194
|
description: "Run health checks against the local Namzu environment",
|
|
195
195
|
passThrough: true
|
|
196
196
|
},
|
|
197
|
-
async () => (await import("./doctor-
|
|
197
|
+
async () => (await import("./doctor-DUEPRCGZ.js")).doctorCommand
|
|
198
198
|
);
|
|
199
199
|
var execCommand = lazyCommand(
|
|
200
200
|
{
|
|
@@ -203,7 +203,7 @@ var execCommand = lazyCommand(
|
|
|
203
203
|
description: "Run a single prompt headlessly: print the reply, or stream events with --json",
|
|
204
204
|
passThrough: true
|
|
205
205
|
},
|
|
206
|
-
async () => (await import("./exec-
|
|
206
|
+
async () => (await import("./exec-544ZWPWM.js")).execCommand
|
|
207
207
|
);
|
|
208
208
|
var residentCommand = lazyCommand(
|
|
209
209
|
{
|
|
@@ -299,7 +299,7 @@ var upgradeCommand = lazyCommand(
|
|
|
299
299
|
description: "Update the active global Namzu installation",
|
|
300
300
|
passThrough: true
|
|
301
301
|
},
|
|
302
|
-
async () => (await import("./upgrade-
|
|
302
|
+
async () => (await import("./upgrade-7W7CHF72.js")).upgradeCommand
|
|
303
303
|
);
|
|
304
304
|
var serveCommand = lazyCommand(
|
|
305
305
|
{
|
|
@@ -347,7 +347,7 @@ function createLazyPalCommand(resumeCommand) {
|
|
|
347
347
|
description: "Create and operate persistent Pals with their own local virtual computers",
|
|
348
348
|
passThrough: true
|
|
349
349
|
},
|
|
350
|
-
async () => (await import("./pal-
|
|
350
|
+
async () => (await import("./pal-NJWKENBJ.js")).createPalCommand(resumeCommand)
|
|
351
351
|
);
|
|
352
352
|
}
|
|
353
353
|
__name(createLazyPalCommand, "createLazyPalCommand");
|
|
@@ -969,7 +969,7 @@ async function runCli(opts) {
|
|
|
969
969
|
tuiCtx,
|
|
970
970
|
(cwd) => buildTuiContext(resolveTrustedProjectContext(commandCtx, cwd), cwd)
|
|
971
971
|
);
|
|
972
|
-
const { launchTui } = await import("./tui-
|
|
972
|
+
const { launchTui } = await import("./tui-OYA5Z4UH.js");
|
|
973
973
|
const resumeCommand = launchOpts.outputSchema ? [
|
|
974
974
|
...opts.resumeCommand ?? ["namzu"],
|
|
975
975
|
"--output-schema",
|
|
@@ -1111,4 +1111,4 @@ export {
|
|
|
1111
1111
|
registerAll,
|
|
1112
1112
|
runCli
|
|
1113
1113
|
};
|
|
1114
|
-
//# sourceMappingURL=chunk-
|
|
1114
|
+
//# sourceMappingURL=chunk-GPA7Y4OA.js.map
|
|
@@ -3627,6 +3627,13 @@ ${dirs.map((d) => ` ${d}`).join("\n")}`
|
|
|
3627
3627
|
description: "Copy the latest answer, a code block or a quote.",
|
|
3628
3628
|
action: /* @__PURE__ */ __name(() => ({ kind: "copy" }), "action")
|
|
3629
3629
|
},
|
|
3630
|
+
{
|
|
3631
|
+
name: "run",
|
|
3632
|
+
// Finds the shell commands in the latest finished answer and puts the one you
|
|
3633
|
+
// choose in the prompt after `!`: nothing runs until you press Enter.
|
|
3634
|
+
description: "Put a command from the latest answer in the prompt, to run it.",
|
|
3635
|
+
action: /* @__PURE__ */ __name(() => ({ kind: "run" }), "action")
|
|
3636
|
+
},
|
|
3630
3637
|
{
|
|
3631
3638
|
name: "raw",
|
|
3632
3639
|
immediate: true,
|
|
@@ -4493,4 +4500,4 @@ react/cjs/react.development.js:
|
|
|
4493
4500
|
* LICENSE file in the root directory of this source tree.
|
|
4494
4501
|
*)
|
|
4495
4502
|
*/
|
|
4496
|
-
//# sourceMappingURL=chunk-
|
|
4503
|
+
//# sourceMappingURL=chunk-M4JIXKZL.js.map
|