@pixelbyte-software/pixcode 1.46.7 → 1.47.0

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/dist/index.html CHANGED
@@ -35,11 +35,11 @@
35
35
 
36
36
  <!-- Prevent zoom on iOS -->
37
37
  <meta name="format-detection" content="telephone=no" />
38
- <script type="module" crossorigin src="/assets/index-DFtAfb5e.js"></script>
38
+ <script type="module" crossorigin src="/assets/index-UgtuipzF.js"></script>
39
39
  <link rel="modulepreload" crossorigin href="/assets/vendor-react-D7WwDXvu.js">
40
40
  <link rel="modulepreload" crossorigin href="/assets/vendor-codemirror-CzYAOTxS.js">
41
41
  <link rel="modulepreload" crossorigin href="/assets/vendor-xterm-CJZjLICi.js">
42
- <link rel="stylesheet" crossorigin href="/assets/index-ZVH3XpuN.css">
42
+ <link rel="stylesheet" crossorigin href="/assets/index-CFPtm6sP.css">
43
43
  </head>
44
44
  <body>
45
45
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixelbyte-software/pixcode",
3
- "version": "1.46.7",
3
+ "version": "1.47.0",
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",
@@ -0,0 +1,121 @@
1
+ #!/usr/bin/env node
2
+ import { spawnSync } from 'node:child_process';
3
+
4
+ const issues = [
5
+ {
6
+ title: 'feat(vscode-layout): audit existing open issues before workbench rollout',
7
+ body: `Reason
8
+ The VS Code-style workbench should be delivered together with the current GitHub issue queue, not as an isolated local note.
9
+
10
+ Scope
11
+ - Read all currently open issues in alicomert/pixcode.
12
+ - Mark which issues are directly affected by the VS Code workbench shell.
13
+ - Keep unrelated issues open and untouched.
14
+ - Add completion notes to related issues after implementation.
15
+
16
+ Acceptance
17
+ - Existing issues are reviewed before release.
18
+ - Related issues receive implementation notes.
19
+ - No unrelated issue is closed only because this work shipped.`,
20
+ },
21
+ {
22
+ title: 'feat(vscode-layout): add selectable VS Code-style workbench mode',
23
+ body: `Reason
24
+ Users are more familiar with the VS Code workspace model, so Pixcode should offer a separate VS Code-style view without removing the existing experience.
25
+
26
+ Scope
27
+ - Add a persisted classic/vscode layout preference.
28
+ - Keep the current Pixcode UI available.
29
+ - Switch desktop users into the VS Code-style workbench when selected.
30
+ - Leave mobile on the existing responsive shell.
31
+
32
+ Acceptance
33
+ - Users can choose between the existing Pixcode view and VS Code-style view.
34
+ - The chosen mode persists between sessions.
35
+ - Desktop users can enter the new workbench without changing provider/session behavior.`,
36
+ },
37
+ {
38
+ title: 'feat(vscode-layout): build left activity bar and explorer panels',
39
+ body: `Reason
40
+ The left side should match the familiar VS Code model: activity buttons plus project/files/source-control/terminal panels.
41
+
42
+ Scope
43
+ - Add Explorer, Projects, Source Control, and Terminal activity buttons.
44
+ - Reuse the existing Pixcode project/sidebar component for project and history access.
45
+ - Reuse the existing file tree, git panel, and standalone shell.
46
+ - Allow the left pane to collapse and resize.
47
+
48
+ Acceptance
49
+ - Project and session selection still works from the new shell.
50
+ - File tree actions still open files.
51
+ - Left pane can be resized and collapsed.`,
52
+ },
53
+ {
54
+ title: 'feat(vscode-layout): add central editor surface for files and system screens',
55
+ body: `Reason
56
+ VS Code users expect file contents and code to live in the middle, while platform screens remain reachable without leaving the workbench.
57
+
58
+ Scope
59
+ - Open file tree selections in the central editor.
60
+ - Reuse the existing CodeMirror editor and save/download behavior.
61
+ - Render Control Room, Remote, Orchestration, Tasks, and plugin screens in the center when selected.
62
+ - Keep the center area responsive between resizable side panes.
63
+
64
+ Acceptance
65
+ - Opening a file from Explorer shows it in the center.
66
+ - System screens remain available inside the workbench.
67
+ - The center pane remains usable while resizing side panes.`,
68
+ },
69
+ {
70
+ title: 'feat(vscode-layout): add right-side CLI work area for all providers',
71
+ body: `Reason
72
+ The selected CLI should run in the right pane, similar to a focused agent/terminal side area in a three-column workbench.
73
+
74
+ Scope
75
+ - Reuse the current chat/CLI orchestration surface in the right pane.
76
+ - Preserve Claude Code, Cursor, Codex, Gemini, Qwen Code, and OpenCode selection through existing provider controls.
77
+ - Add a terminal tab in the right pane for shell work.
78
+ - Allow the right pane to resize.
79
+
80
+ Acceptance
81
+ - Existing provider selection and send flow are reused.
82
+ - The right pane can run CLI chat work and terminal work.
83
+ - The pane can be resized without layout overlap.`,
84
+ },
85
+ {
86
+ title: 'feat(vscode-layout): expose layout at login and settings before release',
87
+ body: `Reason
88
+ Users should be able to choose the new layout on entry and change it later without hunting through hidden configuration.
89
+
90
+ Scope
91
+ - Add layout selection to login.
92
+ - Add layout selection to Appearance settings.
93
+ - Add translations for supported locales.
94
+ - Verify with smoke, typecheck, lint, and build.
95
+ - Publish a release only after all issue notes are posted.
96
+
97
+ Acceptance
98
+ - Login includes Classic and VS Code workbench choices.
99
+ - Appearance settings includes the same choices.
100
+ - Locale coverage exists for all supported language files.
101
+ - Release work starts only after verification is clean.`,
102
+ },
103
+ ];
104
+
105
+ for (const issue of issues) {
106
+ const result = spawnSync(
107
+ 'gh',
108
+ ['issue', 'create', '--repo', 'alicomert/pixcode', '--title', issue.title, '--body', issue.body],
109
+ {
110
+ stdio: 'inherit',
111
+ env: {
112
+ ...process.env,
113
+ GH_TOKEN: process.env.GITHUB_TOKEN || process.env.GH_TOKEN || '',
114
+ },
115
+ },
116
+ );
117
+
118
+ if (result.status !== 0) {
119
+ process.exit(result.status ?? 1);
120
+ }
121
+ }
@@ -0,0 +1,100 @@
1
+ import { existsSync, readFileSync } from 'node:fs';
2
+
3
+ function assert(condition, message) {
4
+ if (!condition) {
5
+ throw new Error(message);
6
+ }
7
+ }
8
+
9
+ function read(path) {
10
+ assert(existsSync(path), `${path} should exist`);
11
+ return readFileSync(path, 'utf8');
12
+ }
13
+
14
+ const preferenceHook = read('src/hooks/useWorkbenchLayoutPreference.ts');
15
+ const appContent = read('src/components/app/AppContent.tsx');
16
+ const workbench = read('src/components/vscode-workbench/view/VSCodeWorkbench.tsx');
17
+ const appearanceTab = read('src/components/settings/view/tabs/AppearanceSettingsTab.tsx');
18
+ const loginForm = read('src/components/auth/view/LoginForm.tsx');
19
+ const issuePlan = read('docs/issues/vscode-workbench-layout.md');
20
+
21
+ const enCommon = JSON.parse(read('src/i18n/locales/en/common.json'));
22
+ const enSettings = JSON.parse(read('src/i18n/locales/en/settings.json'));
23
+ const enAuth = JSON.parse(read('src/i18n/locales/en/auth.json'));
24
+
25
+ assert(
26
+ preferenceHook.includes('WORKBENCH_LAYOUT_STORAGE_KEY')
27
+ && preferenceHook.includes("'classic'")
28
+ && preferenceHook.includes("'vscode'")
29
+ && preferenceHook.includes('pixcode:workbench-layout-change'),
30
+ 'Workbench layout preference hook should persist classic/vscode and broadcast updates.',
31
+ );
32
+
33
+ assert(
34
+ appContent.includes('useWorkbenchLayoutPreference')
35
+ && appContent.includes('VSCodeWorkbench')
36
+ && appContent.includes('useVscodeWorkbench')
37
+ && appContent.includes('!useVscodeWorkbench && !isMobile')
38
+ && appContent.includes('<VSCodeWorkbench'),
39
+ 'AppContent should switch desktop users from the classic shell into VSCodeWorkbench.',
40
+ );
41
+
42
+ assert(
43
+ workbench.includes('FileTree')
44
+ && workbench.includes('CodeEditor')
45
+ && workbench.includes('ChatInterface')
46
+ && workbench.includes('StandaloneShell')
47
+ && workbench.includes('GitPanel')
48
+ && workbench.includes('role="separator"')
49
+ && workbench.includes('aria-orientation="vertical"')
50
+ && workbench.includes('leftPaneWidth')
51
+ && workbench.includes('rightPaneWidth')
52
+ && workbench.includes('ActivityButton'),
53
+ 'VSCodeWorkbench should compose existing files/editor/git/shell/chat surfaces with vertical resizers.',
54
+ );
55
+
56
+ assert(
57
+ appearanceTab.includes('workbenchLayout')
58
+ && appearanceTab.includes('onWorkbenchLayoutChange')
59
+ && appearanceTab.includes('role="radio"')
60
+ && appearanceTab.includes('appearanceSettings.workbenchLayout'),
61
+ 'Appearance settings should expose the workbench layout selector.',
62
+ );
63
+
64
+ assert(
65
+ loginForm.includes('useWorkbenchLayoutPreference')
66
+ && loginForm.includes('login.layout')
67
+ && loginForm.includes('setWorkbenchLayout'),
68
+ 'Login should let users choose the workspace layout before signing in.',
69
+ );
70
+
71
+ assert(
72
+ enCommon.vscodeWorkbench?.title
73
+ && enCommon.vscodeWorkbench?.activity?.explorer
74
+ && enCommon.vscodeWorkbench?.panels?.cli,
75
+ 'English common locale should include VSCode workbench copy.',
76
+ );
77
+
78
+ assert(
79
+ enSettings.appearanceSettings?.workbenchLayout?.title
80
+ && enSettings.appearanceSettings?.workbenchLayout?.options?.vscode?.label,
81
+ 'English settings locale should include workbench layout settings copy.',
82
+ );
83
+
84
+ assert(
85
+ enAuth.login?.layout?.title
86
+ && enAuth.login?.layout?.options?.vscode,
87
+ 'English auth locale should include login layout selector copy.',
88
+ );
89
+
90
+ assert(
91
+ issuePlan.includes('Issue 1')
92
+ && issuePlan.includes('Issue 2')
93
+ && issuePlan.includes('Issue 3')
94
+ && issuePlan.includes('Issue 4')
95
+ && issuePlan.includes('Issue 5')
96
+ && issuePlan.includes('Status: Completed'),
97
+ 'Local issue plan should track the sliced work and completion notes while GitHub is unavailable.',
98
+ );
99
+
100
+ console.log('vscode workbench layout smoke passed');