@eliya-oss/agent-diff 0.1.0-alpha.84 → 0.1.0-alpha.86
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/CHANGELOG.md +12 -0
- package/dist/main.js +19 -14
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @eliya-oss/agent-diff
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.86
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Turning past the last file says "last file" instead of doing nothing, and the same at the first file going back.
|
|
8
|
+
|
|
9
|
+
## 0.1.0-alpha.85
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Page Up, Page Down, Home and End now move through a diff, doing what ctrl+u, ctrl+d, g and G already did.
|
|
14
|
+
|
|
3
15
|
## 0.1.0-alpha.84
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/main.js
CHANGED
|
@@ -9804,7 +9804,7 @@ var init_pane = __esmMin((() => {
|
|
|
9804
9804
|
init_commands();
|
|
9805
9805
|
init_init();
|
|
9806
9806
|
init_pane();
|
|
9807
|
-
var version$1 = "0.1.0-alpha.
|
|
9807
|
+
var version$1 = "0.1.0-alpha.86";
|
|
9808
9808
|
//#endregion
|
|
9809
9809
|
//#region src/cli/upgrade.ts
|
|
9810
9810
|
var PACKAGE, TAG, RELEASES, REGISTRY, ASK_MS, RUN_MS, CELLAR, COMPILED, INSTALLED, BUN_GLOBAL, routeOf, ROUTES, asRoute, checkoutOf, assetOf, commandFor, NOTES, RUNNABLE, NUMBERS, numbersIn, compare$1, partsOf, newer, tagIn, fetched, askLatest, here, findUpgrade, willUpgrade, runUpgrade, statusOf$1, sayFound, sayDone, attempted, REFRESH_MS, refreshSkills, updatedIn, sayRefreshed, upgradeReport;
|
|
@@ -12319,28 +12319,28 @@ var init_command = __esmMin((() => {
|
|
|
12319
12319
|
action: "cursor.top",
|
|
12320
12320
|
category: "Moving",
|
|
12321
12321
|
title: "Go to first line",
|
|
12322
|
-
keys: ["g"],
|
|
12322
|
+
keys: ["g", "home"],
|
|
12323
12323
|
screens: ["review"]
|
|
12324
12324
|
}),
|
|
12325
12325
|
command({
|
|
12326
12326
|
action: "cursor.bottom",
|
|
12327
12327
|
category: "Moving",
|
|
12328
12328
|
title: "Go to last line",
|
|
12329
|
-
keys: ["G"],
|
|
12329
|
+
keys: ["G", "end"],
|
|
12330
12330
|
screens: ["review"]
|
|
12331
12331
|
}),
|
|
12332
12332
|
command({
|
|
12333
12333
|
action: "cursor.pageDown",
|
|
12334
12334
|
category: "Moving",
|
|
12335
12335
|
title: "Half page down",
|
|
12336
|
-
keys: ["ctrl+d"],
|
|
12336
|
+
keys: ["ctrl+d", "pagedown"],
|
|
12337
12337
|
screens: ["review"]
|
|
12338
12338
|
}),
|
|
12339
12339
|
command({
|
|
12340
12340
|
action: "cursor.pageUp",
|
|
12341
12341
|
category: "Moving",
|
|
12342
12342
|
title: "Half page up",
|
|
12343
|
-
keys: ["ctrl+u"],
|
|
12343
|
+
keys: ["ctrl+u", "pageup"],
|
|
12344
12344
|
screens: ["review"]
|
|
12345
12345
|
}),
|
|
12346
12346
|
command({
|
|
@@ -13144,15 +13144,20 @@ var init_reduce = __esmMin((() => {
|
|
|
13144
13144
|
}, patchIndex);
|
|
13145
13145
|
return state.closed.filter((path) => !wanted.includes(path));
|
|
13146
13146
|
};
|
|
13147
|
-
moveFile = (state, delta) =>
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
|
|
13151
|
-
|
|
13152
|
-
|
|
13153
|
-
|
|
13154
|
-
|
|
13155
|
-
|
|
13147
|
+
moveFile = (state, delta) => {
|
|
13148
|
+
const next = layerFile(state, delta);
|
|
13149
|
+
if (next === state.patchIndex) return withNoticeHere(state, delta > 0 ? "last file" : "first file");
|
|
13150
|
+
return {
|
|
13151
|
+
...state,
|
|
13152
|
+
notice: "",
|
|
13153
|
+
closed: revealing(state, next),
|
|
13154
|
+
patchIndex: next,
|
|
13155
|
+
top: 0,
|
|
13156
|
+
cursor: landingOn(state, next),
|
|
13157
|
+
anchorRow: 0,
|
|
13158
|
+
selecting: false
|
|
13159
|
+
};
|
|
13160
|
+
};
|
|
13156
13161
|
selectHunk = (state) => {
|
|
13157
13162
|
const found = changeAround(state);
|
|
13158
13163
|
if (found === void 0) return withNotice(state, "no change under the cursor");
|
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"bin": {
|
|
24
24
|
"adiff": "./bin/adiff.js"
|
|
25
25
|
},
|
|
26
|
-
"version": "0.1.0-alpha.
|
|
26
|
+
"version": "0.1.0-alpha.86",
|
|
27
27
|
"description": "Review the work an agent left you without losing the thread: comments live on the lines, the agent answers them, and each point stays open until you settle it.",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"repository": {
|