@eliya-oss/agent-diff 0.1.0-alpha.117 → 0.1.0-alpha.119
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 +14 -0
- package/dist/main.js +10 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @eliya-oss/agent-diff
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.119
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- A gap says what the keys do to it. `⋯ 26 lines hidden · press l` did not say that `l` reveals ten at a time, so on a large gap it looked like nothing was happening, and it never mentioned `F`, which opens the whole file at once. It now reads `⋯ 26 lines hidden · l opens 10, F opens all`, and when the gap is smaller than one press it says `l opens them`.
|
|
8
|
+
|
|
9
|
+
## 0.1.0-alpha.118
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- One word per idea. A comment you take back was called "remove" by the key, "Withdrawn" by the review panel and `remove`/`restore` by the command line — three words for one act. The terminal now says what the command line says.
|
|
14
|
+
|
|
15
|
+
`unread` meant two different things in two answers: on a branch it counted comments the agent had not answered, and on a thread it counted answers the reviewer had not read. `adiff branch list` now calls its one `unanswered`, which is what the screen already labelled it.
|
|
16
|
+
|
|
3
17
|
## 0.1.0-alpha.117
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/main.js
CHANGED
|
@@ -10170,7 +10170,7 @@ var init_commands = __esmMin((() => {
|
|
|
10170
10170
|
const owed = yield* store.take(worktree.path);
|
|
10171
10171
|
const told = yield* store.layers(worktree.path);
|
|
10172
10172
|
return {
|
|
10173
|
-
|
|
10173
|
+
unanswered: owed.reduce((total, batch) => total + batch.comments.length, 0),
|
|
10174
10174
|
layers: match$3(told, {
|
|
10175
10175
|
onNone: () => 0,
|
|
10176
10176
|
onSome: (layers) => layers.layers.length
|
|
@@ -10194,7 +10194,7 @@ var init_commands = __esmMin((() => {
|
|
|
10194
10194
|
files: stat.files,
|
|
10195
10195
|
added: stat.added,
|
|
10196
10196
|
removed: stat.removed,
|
|
10197
|
-
|
|
10197
|
+
unanswered: waiting.unanswered,
|
|
10198
10198
|
layers: waiting.layers,
|
|
10199
10199
|
stale: waiting.stale,
|
|
10200
10200
|
own: worktree.own,
|
|
@@ -10912,7 +10912,7 @@ var init_pane = __esmMin((() => {
|
|
|
10912
10912
|
init_drafts();
|
|
10913
10913
|
init_init();
|
|
10914
10914
|
init_pane();
|
|
10915
|
-
var version$1 = "0.1.0-alpha.
|
|
10915
|
+
var version$1 = "0.1.0-alpha.119";
|
|
10916
10916
|
//#endregion
|
|
10917
10917
|
//#region src/cli/upgrade.ts
|
|
10918
10918
|
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, ranChild, runUpgrade, statusOf$1, sayFound, sayDone, attempted, REFRESH_MS, refreshSkills, updatedIn, sayRefreshed, upgradeReport;
|
|
@@ -12659,7 +12659,10 @@ var sourceLength, markerText, lastNewLine, spansOf, linesFrom, push, markGap, op
|
|
|
12659
12659
|
var init_gaps = __esmMin((() => {
|
|
12660
12660
|
init_dist();
|
|
12661
12661
|
sourceLength = (source) => source.at(-1)?.trim() === "" ? source.length - 1 : source.length;
|
|
12662
|
-
markerText = (hidden) =>
|
|
12662
|
+
markerText = (hidden) => {
|
|
12663
|
+
const said = `⋯ ${hidden} ${hidden === 1 ? "line" : "lines"} hidden`;
|
|
12664
|
+
return hidden <= 10 ? `${said} · l opens them` : `${said} · l opens 10, F opens all`;
|
|
12665
|
+
};
|
|
12663
12666
|
lastNewLine = (patch) => {
|
|
12664
12667
|
const found = patch.rows.findLast((row) => isSome(row.newLine));
|
|
12665
12668
|
return found === void 0 ? 0 : getOrElse(found.newLine, () => 0);
|
|
@@ -16500,7 +16503,7 @@ var init_render = __esmMin((() => {
|
|
|
16500
16503
|
const lead = `${indent}${shut ? "▸" : "▾"} ${shut ? marks().folder : marks().folderOpen} `;
|
|
16501
16504
|
return `${lead}${clipPath(row.name, Math.max(4, room - lead.length))}`;
|
|
16502
16505
|
};
|
|
16503
|
-
waitingLabel = (branch) => branch.
|
|
16506
|
+
waitingLabel = (branch) => branch.unanswered > 0 ? `${branch.unanswered} unanswered` : "";
|
|
16504
16507
|
inRange = (state, row, from, to) => state.selecting && row >= from && row <= to;
|
|
16505
16508
|
notesOf = (comments, path, sent, opened = []) => comments.filter((entry) => entry.file === path).map((entry) => ({
|
|
16506
16509
|
id: entry.id ?? "",
|
|
@@ -16718,7 +16721,7 @@ var init_render = __esmMin((() => {
|
|
|
16718
16721
|
with: "With the agent",
|
|
16719
16722
|
answered: "Answered, not settled",
|
|
16720
16723
|
settled: "Settled",
|
|
16721
|
-
removed: "
|
|
16724
|
+
removed: "Removed"
|
|
16722
16725
|
};
|
|
16723
16726
|
PANEL_ORDER = PANEL_SECTIONS;
|
|
16724
16727
|
PANEL_LEAD = 3;
|
|
@@ -18534,7 +18537,7 @@ var init_app = __esmMin((() => {
|
|
|
18534
18537
|
...this.state,
|
|
18535
18538
|
opened: this.state.opened.filter((one) => one !== id)
|
|
18536
18539
|
};
|
|
18537
|
-
const said = back ? "
|
|
18540
|
+
const said = back ? "restored" : "removed, it is under Removed in the review";
|
|
18538
18541
|
this.commit(withNotice(this.staying(withSent(kept, sent), id, was), said));
|
|
18539
18542
|
});
|
|
18540
18543
|
}
|
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.119",
|
|
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": {
|