@agentbean/daemon 0.1.5 → 0.1.6

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.
@@ -38,7 +38,8 @@ export class CodexAdapter {
38
38
  const payload = renderPayload(input, this.opts.systemPrompt ?? input.systemPrompt);
39
39
  const cwd = input.workspace ?? this.opts.cwd ?? process.cwd();
40
40
  const baseCommand = this.opts.command || 'codex';
41
- const baseArgs = [...(this.opts.args ?? ['exec']), payload];
41
+ const configuredArgs = this.opts.args && this.opts.args.length > 0 ? this.opts.args : ['exec'];
42
+ const baseArgs = [...configuredArgs, payload];
42
43
  const command = input.sandboxProfilePath ? 'sandbox-exec' : baseCommand;
43
44
  const args = input.sandboxProfilePath
44
45
  ? ['-f', input.sandboxProfilePath, '--', baseCommand, ...baseArgs]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agentbean/daemon",
3
3
  "private": false,
4
- "version": "0.1.5",
4
+ "version": "0.1.6",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "bin": {