@eliya-oss/agent-diff 0.1.0-alpha.129 → 0.1.0-alpha.130

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eliya-oss/agent-diff
2
2
 
3
+ ## 0.1.0-alpha.130
4
+
5
+ ### Patch Changes
6
+
7
+ - The review opens with the file you are on visible in the file list. In a repo with enough files that folders start collapsed, the folder holding the opening file was collapsed too — so nothing in the rail was marked, and the only way to see where you were was to press `l`. With forty-five files across five folders, seventeen of twenty-seven rail rows sat empty while the current file was hidden.
8
+
3
9
  ## 0.1.0-alpha.129
4
10
 
5
11
  ### Patch Changes
package/dist/main.js CHANGED
@@ -10985,7 +10985,7 @@ var init_pane = __esmMin((() => {
10985
10985
  init_drafts();
10986
10986
  init_init();
10987
10987
  init_pane();
10988
- var version$1 = "0.1.0-alpha.129";
10988
+ var version$1 = "0.1.0-alpha.130";
10989
10989
  //#endregion
10990
10990
  //#region src/cli/upgrade.ts
10991
10991
  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;
@@ -15233,13 +15233,14 @@ var init_reduce = __esmMin((() => {
15233
15233
  });
15234
15234
  };
15235
15235
  withPatches = (state, patches) => {
15236
- const closed = crowdedOf(patches);
15236
+ const crowded = crowdedOf(patches);
15237
15237
  const opened = {
15238
15238
  ...state,
15239
15239
  patches,
15240
- closed
15240
+ closed: crowded
15241
15241
  };
15242
15242
  const patchIndex = fileOrder(opened)[0] ?? 0;
15243
+ const closed = revealing(opened, patchIndex);
15243
15244
  return {
15244
15245
  ...state,
15245
15246
  screen: "review",
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.129",
26
+ "version": "0.1.0-alpha.130",
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": {