@eliya-oss/agent-diff 0.1.0-alpha.117 → 0.1.0-alpha.118
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 +8 -0
- package/dist/main.js +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @eliya-oss/agent-diff
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.118
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
|
|
9
|
+
`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.
|
|
10
|
+
|
|
3
11
|
## 0.1.0-alpha.117
|
|
4
12
|
|
|
5
13
|
### 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.118";
|
|
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;
|
|
@@ -16500,7 +16500,7 @@ var init_render = __esmMin((() => {
|
|
|
16500
16500
|
const lead = `${indent}${shut ? "▸" : "▾"} ${shut ? marks().folder : marks().folderOpen} `;
|
|
16501
16501
|
return `${lead}${clipPath(row.name, Math.max(4, room - lead.length))}`;
|
|
16502
16502
|
};
|
|
16503
|
-
waitingLabel = (branch) => branch.
|
|
16503
|
+
waitingLabel = (branch) => branch.unanswered > 0 ? `${branch.unanswered} unanswered` : "";
|
|
16504
16504
|
inRange = (state, row, from, to) => state.selecting && row >= from && row <= to;
|
|
16505
16505
|
notesOf = (comments, path, sent, opened = []) => comments.filter((entry) => entry.file === path).map((entry) => ({
|
|
16506
16506
|
id: entry.id ?? "",
|
|
@@ -16718,7 +16718,7 @@ var init_render = __esmMin((() => {
|
|
|
16718
16718
|
with: "With the agent",
|
|
16719
16719
|
answered: "Answered, not settled",
|
|
16720
16720
|
settled: "Settled",
|
|
16721
|
-
removed: "
|
|
16721
|
+
removed: "Removed"
|
|
16722
16722
|
};
|
|
16723
16723
|
PANEL_ORDER = PANEL_SECTIONS;
|
|
16724
16724
|
PANEL_LEAD = 3;
|
|
@@ -18534,7 +18534,7 @@ var init_app = __esmMin((() => {
|
|
|
18534
18534
|
...this.state,
|
|
18535
18535
|
opened: this.state.opened.filter((one) => one !== id)
|
|
18536
18536
|
};
|
|
18537
|
-
const said = back ? "
|
|
18537
|
+
const said = back ? "restored" : "removed, it is under Removed in the review";
|
|
18538
18538
|
this.commit(withNotice(this.staying(withSent(kept, sent), id, was), said));
|
|
18539
18539
|
});
|
|
18540
18540
|
}
|
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.118",
|
|
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": {
|