@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaited/acp-harness",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "CLI tool for capturing agent trajectories from ACP-compatible agents",
5
5
  "license": "ISC",
6
6
  "engines": {
@@ -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
- args.push(schema.output.flag, schema.output.value)
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) {