@plaited/acp-harness 0.4.2 → 0.4.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/package.json
CHANGED
|
@@ -233,8 +233,10 @@ export const createSessionManager = (config: SessionManagerConfig) => {
|
|
|
233
233
|
const buildCommand = (session: Session, promptText: string): string[] => {
|
|
234
234
|
const args = [...schema.command]
|
|
235
235
|
|
|
236
|
-
// Add output format flags
|
|
237
|
-
|
|
236
|
+
// Add output format flags (only if non-empty)
|
|
237
|
+
if (schema.output.flag) {
|
|
238
|
+
args.push(schema.output.flag, schema.output.value)
|
|
239
|
+
}
|
|
238
240
|
|
|
239
241
|
// Add auto-approve flags
|
|
240
242
|
if (schema.autoApprove) {
|