zcode-app-cli 3.14.4-30 → 3.14.4-31
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
package/vendor/extraction.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"appVersion": "3.14.4",
|
|
3
3
|
"cliVersion": "0.16.9",
|
|
4
|
-
"extractedAt": "2026-
|
|
4
|
+
"extractedAt": "2026-10-03T07:30:16.362Z",
|
|
5
5
|
"sha512": "CMaAUbHehEEGuClDJeJI30ufA0zAgzfXgzV4ES200EuGDt0yYhEpzvtjayxvE/ag9T9ThnDg1eP4o3j9HkCHKg==",
|
|
6
6
|
"source": "https://cdn-zcode.z.ai/zcode/electron/releases/3.14.4/linux-x64/ZCode-3.14.4-linux-x64.deb",
|
|
7
7
|
"runtimeCapabilities": {
|
|
@@ -160415,12 +160415,24 @@ function changedWords(hunk, theme, filePath) {
|
|
|
160415
160415
|
var FileDiffView = class {
|
|
160416
160416
|
theme;
|
|
160417
160417
|
options;
|
|
160418
|
+
cachedLines;
|
|
160419
|
+
cachedWidth;
|
|
160418
160420
|
constructor(theme, options) {
|
|
160419
160421
|
this.theme = theme;
|
|
160420
160422
|
this.options = options;
|
|
160421
160423
|
}
|
|
160422
|
-
invalidate() {
|
|
160424
|
+
invalidate() {
|
|
160425
|
+
this.cachedLines = void 0;
|
|
160426
|
+
this.cachedWidth = void 0;
|
|
160427
|
+
}
|
|
160423
160428
|
render(width) {
|
|
160429
|
+
if (this.cachedLines && this.cachedWidth === width) return this.cachedLines;
|
|
160430
|
+
const lines = this.renderDiff(width);
|
|
160431
|
+
this.cachedLines = lines;
|
|
160432
|
+
this.cachedWidth = width;
|
|
160433
|
+
return lines;
|
|
160434
|
+
}
|
|
160435
|
+
renderDiff(width) {
|
|
160424
160436
|
const output = [];
|
|
160425
160437
|
const diffs = this.options.expanded ? this.options.diffs : this.options.diffs.slice(0, maxVisibleFiles);
|
|
160426
160438
|
const digits = Math.max(2, String(maximumLineNumber(diffs)).length);
|
|
@@ -167056,6 +167068,7 @@ var ZCodeTui = class {
|
|
|
167056
167068
|
}
|
|
167057
167069
|
if (matchesKey(data, "ctrl+f")) {
|
|
167058
167070
|
this.editor.setText("/search ");
|
|
167071
|
+
this.ui.requestRender();
|
|
167059
167072
|
return { consume: true };
|
|
167060
167073
|
}
|
|
167061
167074
|
if (matchesKey(data, "shift+tab")) {
|
|
@@ -167079,8 +167092,10 @@ var ZCodeTui = class {
|
|
|
167079
167092
|
return { consume: true };
|
|
167080
167093
|
}
|
|
167081
167094
|
if (matchesKey(data, "ctrl+c")) {
|
|
167082
|
-
if (this.editor.getText())
|
|
167083
|
-
|
|
167095
|
+
if (this.editor.getText()) {
|
|
167096
|
+
this.editor.setText("");
|
|
167097
|
+
this.ui.requestRender();
|
|
167098
|
+
} else if (this.turnAbortController) {
|
|
167084
167099
|
this.pendingSteerInterrupt = void 0;
|
|
167085
167100
|
this.turnAbortController.abort();
|
|
167086
167101
|
this.updateActivity("cancelling…");
|