@pixelbyte-software/pixcode 1.38.4 → 1.38.5
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-DHC6THrb.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.38.
|
|
3
|
+
"version": "1.38.5",
|
|
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,51 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import assert from 'node:assert/strict';
|
|
4
|
+
import { readFileSync } from 'node:fs';
|
|
5
|
+
|
|
6
|
+
const changedFilesUtil = readFileSync('src/utils/changedFiles.ts', 'utf8');
|
|
7
|
+
const changedFilesHook = readFileSync('src/hooks/useChangedFilesMonitor.ts', 'utf8');
|
|
8
|
+
const mainContent = readFileSync('src/components/main-content/view/MainContent.tsx', 'utf8');
|
|
9
|
+
const rail = readFileSync('src/components/main-content/view/subcomponents/ChangedFilesActivityRail.tsx', 'utf8');
|
|
10
|
+
|
|
11
|
+
assert.ok(
|
|
12
|
+
changedFilesUtil.includes('extractChangedFilesFromMessage'),
|
|
13
|
+
'Changed-files utilities should extract Write/Edit/ApplyPatch tool events from realtime agent messages.',
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
assert.ok(
|
|
17
|
+
changedFilesUtil.includes('toolName') && changedFilesUtil.includes('toolInput'),
|
|
18
|
+
'Realtime extraction should understand normalized toolName/toolInput messages.',
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
assert.ok(
|
|
22
|
+
changedFilesUtil.includes('diffInfo') && changedFilesUtil.includes('old_string') && changedFilesUtil.includes('new_string'),
|
|
23
|
+
'Realtime agent writes should preserve diff payloads so the editor can highlight the changed content.',
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
assert.ok(
|
|
27
|
+
changedFilesHook.includes('latestMessage') && changedFilesHook.includes('extractChangedFilesFromMessage'),
|
|
28
|
+
'Changed-files monitor should ingest the latest realtime agent message in addition to polling git/filesystem status.',
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
assert.ok(
|
|
32
|
+
changedFilesHook.includes('mergeChangedFiles'),
|
|
33
|
+
'Changed-files monitor should merge direct agent writes with polled git/filesystem changes instead of replacing them.',
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
assert.ok(
|
|
37
|
+
mainContent.includes('useChangedFilesMonitor(selectedProject, changeAwareness, latestMessage)'),
|
|
38
|
+
'MainContent should pass latestMessage into the changed-files monitor.',
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
assert.ok(
|
|
42
|
+
mainContent.includes('handleChangedFileOpen') && mainContent.includes('handleFileOpen(file.path, file.diffInfo'),
|
|
43
|
+
'Clicking a changed file should open the editor with diff context, not only focus the Files panel.',
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
assert.ok(
|
|
47
|
+
rail.includes('onOpenFile: (file: ChangedFileEntry) => void') && rail.includes('onClick={() => onOpenFile(file)}'),
|
|
48
|
+
'ChangedFilesActivityRail should pass the full changed-file entry, including diffInfo, to the open handler.',
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
console.log('command center agent writes smoke passed');
|