gestalt-mobile 0.48.1 → 0.48.2

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.
@@ -1013,6 +1013,7 @@ export async function composeRelayApp(options) {
1013
1013
  });
1014
1014
  return capabilities.prepare({
1015
1015
  cwd: session.workspacePath,
1016
+ approvalPolicy: session.executionPolicy?.approvalPolicy ?? 'on-request',
1016
1017
  rpc,
1017
1018
  config,
1018
1019
  deadline,
@@ -110,6 +110,10 @@ export class CodexSerena {
110
110
  ...mcp,
111
111
  [serenaServerName]: {
112
112
  ...reserved,
113
+ ...(input.approvalPolicy === 'never' &&
114
+ reserved.default_tools_approval_mode === undefined
115
+ ? { default_tools_approval_mode: 'approve' }
116
+ : {}),
113
117
  command: install.manager,
114
118
  args: ['serena', 'mcp', '--cwd', input.cwd],
115
119
  cwd: input.cwd,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gestalt-mobile",
3
- "version": "0.48.1",
3
+ "version": "0.48.2",
4
4
  "description": "Mobile-first web relay for durable Codex development sessions",
5
5
  "keywords": [
6
6
  "codex",