@pixelbyte-software/pixcode 1.51.1 → 1.51.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixelbyte-software/pixcode",
|
|
3
|
-
"version": "1.51.
|
|
3
|
+
"version": "1.51.2",
|
|
4
4
|
"description": "Self-hosted AI coding agent control room for Claude Code, Cursor CLI, OpenAI Codex, Gemini CLI, Qwen Code, and OpenCode with chat, files, shell, Git, orchestration, API keys, Telegram, MCP, plugins, themes, and desktop/server deployment.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist-server/server/index.js",
|
|
@@ -157,7 +157,10 @@ assert.match(shellConnection, /cursor-tools-settings/, 'Cursor shell launches sh
|
|
|
157
157
|
assert.match(shellConnection, /permissionMode/, 'Shell websocket init should send provider permission mode to the backend.');
|
|
158
158
|
assert.match(serverIndex, /--dangerously-bypass-approvals-and-sandbox/, 'Codex terminal bypass mode should use the Codex CLI bypass flag.');
|
|
159
159
|
assert.match(serverIndex, /--yolo/, 'Gemini and Qwen terminal bypass mode should use --yolo.');
|
|
160
|
-
assert.match(serverIndex,
|
|
160
|
+
assert.match(serverIndex, /if \(provider === 'claude'\)[\s\S]+--dangerously-skip-permissions/, 'Claude terminal bypass mode should pass the provider bypass flag.');
|
|
161
|
+
const opencodeTerminalPermissionBranch = serverIndex.match(/if \(provider === 'opencode'\)[\s\S]+?if \(provider === 'claude'\)/)?.[0] || '';
|
|
162
|
+
assert.match(opencodeTerminalPermissionBranch, /--agent', 'plan'/, 'OpenCode terminal plan mode should still pass the supported TUI agent flag.');
|
|
163
|
+
assert.doesNotMatch(opencodeTerminalPermissionBranch, /--dangerously-skip-permissions/, 'OpenCode terminal launch must not pass the headless run-only bypass flag to the TUI.');
|
|
161
164
|
assert.match(geminiCli, /permissionMode === 'bypassPermissions'[\s\S]+--yolo|--yolo[\s\S]+permissionMode === 'bypassPermissions'/, 'Gemini chat route should map Pixcode bypassPermissions to --yolo.');
|
|
162
165
|
assert.match(qwenCli, /permissionMode === 'bypassPermissions'[\s\S]+--yolo|--yolo[\s\S]+permissionMode === 'bypassPermissions'/, 'Qwen chat route should map Pixcode bypassPermissions to --yolo.');
|
|
163
166
|
|
package/server/index.js
CHANGED
|
@@ -598,7 +598,9 @@ function buildProviderShellPermissionFlags(provider, permissionMode, skipPermiss
|
|
|
598
598
|
if (mode === 'plan') {
|
|
599
599
|
return ['--agent', 'plan'];
|
|
600
600
|
}
|
|
601
|
-
|
|
601
|
+
// OpenCode's interactive TUI rejects the headless run-only bypass
|
|
602
|
+
// option; passing it makes the CLI print help and exit before opening.
|
|
603
|
+
return [];
|
|
602
604
|
}
|
|
603
605
|
|
|
604
606
|
if (provider === 'claude') {
|