@eliya-oss/agent-diff 0.1.0-alpha.118 → 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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 0.1.0-alpha.118
4
10
 
5
11
  ### Patch Changes
package/dist/main.js CHANGED
@@ -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.118";
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) => `⋯ ${hidden} ${hidden === 1 ? "line" : "lines"} hidden · press l`;
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);
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.118",
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": {