@pixelbyte-software/pixcode 1.46.5 → 1.46.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.
package/dist/index.html
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
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-
|
|
38
|
+
<script type="module" crossorigin src="/assets/index-DSFA2-1z.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">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixelbyte-software/pixcode",
|
|
3
|
-
"version": "1.46.
|
|
3
|
+
"version": "1.46.6",
|
|
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,42 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import assert from 'node:assert/strict';
|
|
4
|
+
import fs from 'node:fs';
|
|
5
|
+
import path from 'node:path';
|
|
6
|
+
|
|
7
|
+
const root = process.cwd();
|
|
8
|
+
|
|
9
|
+
function read(relativePath) {
|
|
10
|
+
return fs.readFileSync(path.join(root, relativePath), 'utf8');
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const projectsState = read('src/hooks/useProjectsState.ts');
|
|
14
|
+
assert.match(projectsState, /NON_RESTORABLE_TABS/, 'Non-default utility tabs should be excluded from startup restore.');
|
|
15
|
+
assert.match(projectsState, /controlRoom/, 'Control Room should be treated as a non-restorable startup tab.');
|
|
16
|
+
assert.match(projectsState, /getPersistableTab/, 'Active tab persistence should normalize non-restorable tabs.');
|
|
17
|
+
assert.match(projectsState, /handleQuickStartTasks/, 'Project state should expose a Task quick-start flow.');
|
|
18
|
+
assert.match(projectsState, /quickStartIntoTab\('tasks'\)/, 'Task quick-start should land on the tasks tab.');
|
|
19
|
+
assert.match(projectsState, /setTasksEnabled\?\.?\(true\)|setTasksEnabled\(true\)/, 'Task quick-start should enable the Tasks surface before opening it.');
|
|
20
|
+
|
|
21
|
+
const appContent = read('src/components/app/AppContent.tsx');
|
|
22
|
+
assert.match(appContent, /handleQuickStartTasks/, 'App content should pass the Task quick-start flow into MainContent.');
|
|
23
|
+
assert.match(appContent, /onQuickStartTasks=\{handleQuickStartTasks\}/, 'MainContent should receive a Task quick-start callback.');
|
|
24
|
+
|
|
25
|
+
const mainContentTypes = read('src/components/main-content/types/types.ts');
|
|
26
|
+
assert.match(mainContentTypes, /onQuickStartTasks/, 'Main content props should include Task quick-start support.');
|
|
27
|
+
|
|
28
|
+
const mainContent = read('src/components/main-content/view/MainContent.tsx');
|
|
29
|
+
assert.match(mainContent, /const shouldShowTasksTab = Boolean\(tasksEnabled\)/, 'Tasks tab visibility should be controlled by the user-facing tasks setting, not CLI install state.');
|
|
30
|
+
assert.doesNotMatch(mainContent, /!shouldShowTasksTab && activeTab === 'tasks'/, 'Selecting Tasks should not immediately redirect back to chat because installation is still being checked.');
|
|
31
|
+
assert.match(mainContent, /onQuickStartTasks=\{onQuickStartTasks\}/, 'Empty landing state should receive the Task quick-start callback.');
|
|
32
|
+
|
|
33
|
+
const emptyState = read('src/components/main-content/view/subcomponents/MainContentStateView.tsx');
|
|
34
|
+
assert.match(emptyState, /onQuickStartTasks/, 'Empty state should expose a Task quick-start callback.');
|
|
35
|
+
assert.match(emptyState, /void onQuickStartTasks\?\.\(\)/, 'Task landing card should call the Task quick-start callback.');
|
|
36
|
+
assert.doesNotMatch(
|
|
37
|
+
emptyState,
|
|
38
|
+
/ClipboardCheck[\s\S]{0,900}pixcode:create-project/,
|
|
39
|
+
'Task landing card should not reuse the generic create-project flow that drops users into chat.',
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
console.log('default landing routing smoke passed');
|