@llmist/cli 9.5.2 → 9.5.3

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.js CHANGED
@@ -79,7 +79,7 @@ import { Command, InvalidArgumentError as InvalidArgumentError2 } from "commande
79
79
  // package.json
80
80
  var package_default = {
81
81
  name: "@llmist/cli",
82
- version: "9.5.2",
82
+ version: "9.5.3",
83
83
  description: "CLI for llmist - run LLM agents from the command line",
84
84
  type: "module",
85
85
  main: "dist/cli.js",
@@ -5504,7 +5504,7 @@ async function executeAgent(promptArg, options, env) {
5504
5504
  const registry = new GadgetRegistry();
5505
5505
  if (options.builtins !== false) {
5506
5506
  for (const gadget of builtinGadgets) {
5507
- if (gadget.name === "AskUser" && (options.builtinInteraction === false || !stdinIsInteractive)) {
5507
+ if (gadget.name === "AskUser" && (options.builtinInteraction === false || !stdinIsInteractive || !stdoutTTY)) {
5508
5508
  continue;
5509
5509
  }
5510
5510
  registry.registerByClass(gadget);