We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b59a82b commit f8d58a0Copy full SHA for f8d58a0
1 file changed
modules/ace/commands.ts
@@ -185,6 +185,17 @@ export class ListCommand extends AceListCommand implements BaseCommand {
185
super(kernel, parsed, ui, prompt)
186
}
187
188
+ /**
189
+ * Auto-select JSON output when running inside an AI agent
190
+ * and no explicit format flag is provided.
191
+ */
192
+ async run() {
193
+ if (!this.json && this.app.runningInAIAgent) {
194
+ this.json = true
195
+ }
196
+ return super.run()
197
198
+
199
/**
200
* Creates the codemods module to modify source files programmatically.
201
* This method provides access to AST-based code transformations.
0 commit comments