@eliya-oss/agent-diff 0.1.0-alpha.143 → 0.1.0-alpha.144
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 +16 -0
- package/README.md +6 -2
- package/dist/main.js +8 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @eliya-oss/agent-diff
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.144
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix(home screen): the branch list is headed `BRANCH` and counts `3 branches`, where it said worktree.
|
|
8
|
+
|
|
9
|
+
<details><summary>What was wrong</summary>
|
|
10
|
+
|
|
11
|
+
The list of work waiting was headed `WORKTREE`, and the line above it counted worktrees. adiff talks
|
|
12
|
+
about branches everywhere else, so the reviewer had two words for one thing on the first screen they
|
|
13
|
+
see.
|
|
14
|
+
|
|
15
|
+
</details>
|
|
16
|
+
|
|
17
|
+
fix(keys): the keys that reread the list and jump to its ends name branches, not worktrees.
|
|
18
|
+
|
|
3
19
|
## 0.1.0-alpha.143
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -6,6 +6,10 @@ An agent finishes a piece of work and leaves you a diff. adiff puts the conversa
|
|
|
6
6
|
you comment on the lines in a terminal, the agent that wrote them answers under your words, and a
|
|
7
7
|
point stays open until you settle it.
|
|
8
8
|
|
|
9
|
+
<pre align="center">brew install Newbie012/tap/adiff</pre>
|
|
10
|
+
|
|
11
|
+
<p align="center"><a href="docs/install.md">Other ways to install</a></p>
|
|
12
|
+
|
|
9
13
|
<img src="assets/terminal.webp" alt="The adiff worktree list, showing seven branches with their sizes, layers and review state" width="820">
|
|
10
14
|
|
|
11
15
|
</div>
|
|
@@ -20,8 +24,8 @@ brew install Newbie012/tap/adiff
|
|
|
20
24
|
npx skills add Newbie012/agent-diff --skill adiff
|
|
21
25
|
```
|
|
22
26
|
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
adiff writes nothing into your repository — no `AGENTS.md`, no `CLAUDE.md`. Your agent finds the
|
|
28
|
+
skill on its own.
|
|
25
29
|
|
|
26
30
|
Then ask it to walk you through it:
|
|
27
31
|
|
package/dist/main.js
CHANGED
|
@@ -11109,7 +11109,7 @@ var init_pane = __esmMin((() => {
|
|
|
11109
11109
|
init_drafts();
|
|
11110
11110
|
init_skill();
|
|
11111
11111
|
init_pane();
|
|
11112
|
-
var version$1 = "0.1.0-alpha.
|
|
11112
|
+
var version$1 = "0.1.0-alpha.144";
|
|
11113
11113
|
//#endregion
|
|
11114
11114
|
//#region src/cli/upgrade.ts
|
|
11115
11115
|
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;
|
|
@@ -14200,14 +14200,14 @@ var init_command = __esmMin((() => {
|
|
|
14200
14200
|
}),
|
|
14201
14201
|
command({
|
|
14202
14202
|
action: "branch.first",
|
|
14203
|
-
title: "Go to the first
|
|
14203
|
+
title: "Go to the first branch",
|
|
14204
14204
|
category: "Branches",
|
|
14205
14205
|
keys: ["g"],
|
|
14206
14206
|
screens: ["branches"]
|
|
14207
14207
|
}),
|
|
14208
14208
|
command({
|
|
14209
14209
|
action: "branch.last",
|
|
14210
|
-
title: "Go to the last
|
|
14210
|
+
title: "Go to the last branch",
|
|
14211
14211
|
category: "Branches",
|
|
14212
14212
|
keys: ["G"],
|
|
14213
14213
|
screens: ["branches"]
|
|
@@ -14328,7 +14328,7 @@ var init_command = __esmMin((() => {
|
|
|
14328
14328
|
}),
|
|
14329
14329
|
command({
|
|
14330
14330
|
action: "review.reload",
|
|
14331
|
-
title: "Read the
|
|
14331
|
+
title: "Read the branches again",
|
|
14332
14332
|
category: "Branches",
|
|
14333
14333
|
keys: ["r"],
|
|
14334
14334
|
screens: ["branches"],
|
|
@@ -16595,7 +16595,7 @@ var init_render = __esmMin((() => {
|
|
|
16595
16595
|
BRANCH_NAME_MIN = 12;
|
|
16596
16596
|
BRANCH_FIXED = 36;
|
|
16597
16597
|
STATE_MIN = 11;
|
|
16598
|
-
EMPTY_LIST = " nothing to review. No
|
|
16598
|
+
EMPTY_LIST = " nothing to review. No branch differs from the one it started from.";
|
|
16599
16599
|
MODAL_MARGIN = 4;
|
|
16600
16600
|
shareOf = (width, least) => Math.max(least, Math.min(PANEL_MAX, Math.floor(width * PANEL_SHARE)));
|
|
16601
16601
|
homeWidth = (width, longest, said = STATE_MIN) => Math.max(0, Math.min(width - 2, Math.min(PANEL_MAX, Math.max(BRANCH_WIDTH, longest + BRANCH_FIXED + Math.max(STATE_MIN, said)))));
|
|
@@ -17234,7 +17234,7 @@ var init_render = __esmMin((() => {
|
|
|
17234
17234
|
FORGE_SILENT = " could not reach the forge, so no pull request is shown";
|
|
17235
17235
|
unaskedForge = (state) => state.forge === "silent" ? [fg(palette.attention)(`\n${FORGE_SILENT}`)] : [];
|
|
17236
17236
|
branchHeading = (room) => ` ${columns({
|
|
17237
|
-
name: "
|
|
17237
|
+
name: "BRANCH",
|
|
17238
17238
|
files: "FILES",
|
|
17239
17239
|
added: "+",
|
|
17240
17240
|
gone: "-",
|
|
@@ -17740,7 +17740,7 @@ var init_render = __esmMin((() => {
|
|
|
17740
17740
|
this.header.content = this.headerText(state);
|
|
17741
17741
|
this.footer.content = this.footerText(state);
|
|
17742
17742
|
this.list.content = this.listText(state);
|
|
17743
|
-
const many = state.branches.length === 1 ? "1
|
|
17743
|
+
const many = state.branches.length === 1 ? "1 branch" : `${state.branches.length} branches`;
|
|
17744
17744
|
const pane = this.homeRoom(state);
|
|
17745
17745
|
const room = Math.max(HOME_PATH_MIN, pane - many.length - HOME_PATH_CHROME);
|
|
17746
17746
|
this.landing.content = `${elide(shortPath(this.repo), room)} · ${many}`;
|
|
@@ -19784,7 +19784,7 @@ var init_app = __esmMin((() => {
|
|
|
19784
19784
|
const only = yield* summaryFor(repo, branch, base).pipe(orElseSucceed(() => void 0));
|
|
19785
19785
|
return only === void 0 ? yield* listBranches(repo, base) : [only];
|
|
19786
19786
|
});
|
|
19787
|
-
missing = (branch, found) => branch !== void 0 && isNone(found) ? `no
|
|
19787
|
+
missing = (branch, found) => branch !== void 0 && isNone(found) ? `no branch here is called ${branch}` : "";
|
|
19788
19788
|
openingOn = (branches, branch) => {
|
|
19789
19789
|
if (branch === void 0) return none();
|
|
19790
19790
|
const at = branches.findIndex((candidate) => candidate.branch === branch);
|
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.144",
|
|
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": {
|