@pulsehub/runner 0.1.8 → 0.1.9

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": "@pulsehub/runner",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Local, credential-safe Pulse Runner",
5
5
  "repository": {
6
6
  "type": "git",
package/src/process.js CHANGED
@@ -57,7 +57,7 @@ export async function executable(name) { try { return (await command(resolveExec
57
57
 
58
58
  export function agentPermissionArgs(kind, mode) {
59
59
  if (mode === 'review') {
60
- if (kind === 'codex') return ['--sandbox', 'read-only', '--ask-for-approval', 'never'];
60
+ if (kind === 'codex') return ['--sandbox', 'read-only'];
61
61
  if (kind === 'claude') return ['--permission-mode', 'plan'];
62
62
  }
63
63
  if (kind === 'codex') return ['--approve-for-me'];
@@ -3,7 +3,7 @@ import assert from 'node:assert/strict';
3
3
  import { agentPermissionArgs, mcpEndpoint } from '../src/process.js';
4
4
 
5
5
  test('QA Runner sessions use read-only filesystem permissions', () => {
6
- assert.deepEqual(agentPermissionArgs('codex', 'review'), ['--sandbox', 'read-only', '--ask-for-approval', 'never']);
6
+ assert.deepEqual(agentPermissionArgs('codex', 'review'), ['--sandbox', 'read-only']);
7
7
  assert.deepEqual(agentPermissionArgs('claude', 'review'), ['--permission-mode', 'plan']);
8
8
  });
9
9