@eliya-oss/agent-diff 0.1.0-alpha.97 → 0.1.0-alpha.99

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,19 @@
1
1
  # @eliya-oss/agent-diff
2
2
 
3
+ ## 0.1.0-alpha.99
4
+
5
+ ### Patch Changes
6
+
7
+ - What a search found can be narrowed by typing, and each match shows the end of its path and the line it matched rather than a long path cut at the edge.
8
+
9
+ ## 0.1.0-alpha.98
10
+
11
+ ### Patch Changes
12
+
13
+ - Finding the selection elsewhere looks for the words the reviewer picked, rather than the longest name on the line they were picked from.
14
+
15
+ - The file list and the review panel say which of them the keys will reach by how brightly the row under their cursor is lit, rather than with a small glyph beside it.
16
+
3
17
  ## 0.1.0-alpha.97
4
18
 
5
19
  ### Patch Changes
package/dist/main.js CHANGED
@@ -9913,7 +9913,7 @@ var init_pane = __esmMin((() => {
9913
9913
  init_commands();
9914
9914
  init_init();
9915
9915
  init_pane();
9916
- var version$1 = "0.1.0-alpha.97";
9916
+ var version$1 = "0.1.0-alpha.99";
9917
9917
  //#endregion
9918
9918
  //#region src/cli/upgrade.ts
9919
9919
  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, runUpgrade, statusOf$1, sayFound, sayDone, attempted, REFRESH_MS, refreshSkills, updatedIn, sayRefreshed, upgradeReport;
@@ -11749,7 +11749,7 @@ var init_tree = __esmMin((() => {
11749
11749
  return node.children.reduce((total, child) => total + filesUnder(tree, child), 0);
11750
11750
  };
11751
11751
  crowdedDirectories = (tree, limit) => tree.nodes.filter((node) => node.kind === "directory" && directFiles(tree, node.id) > limit).map((node) => node.path);
11752
- })), nothingReviewed, initialState, TREE_MAX, TREE_ROOMY, TREE_MIN, TREE_SHARE, DIFF_MIN, DIFF_ROOMY, bodyRoom, treeWidth, reviewWidth, panelFits, panelShown, onLayers, selectedLayer, proseFor, layerFiles, layerHolding, layerOpen, chunked, packed, shortened, wordWrapped, wrapped, NO_NOTE, noteRows$1, proseRow, proseRows$1, titleRows, clipEnd, FILE_LEAD, fileRows, layerRows, railWindow, selectedBranch, selectedPatch, pullHere, knownToHaveNoPull, kept, treeOf, reviewedCountIn, treeRows, crowdedOf, foldersOfFile, isReviewed, treeStart, treeWindow, commentsOn, hiddenLines, markedRows, carriesLine, selectedRows, snippetOf, selectedLineCount, lineOf, brokenAt, laidLine, laidDraft, caretRow, caretColumn, caretOn, COMPOSE_BOX, COMPOSE_MARGIN, COMPOSE_PAD, COMPOSE_LEAST, composeBox, composeRoom$1, composeTarget, replyTarget, pickedText, selectedLines, KEYWORDS, NAME, longestName$1, searchTerm, matchHere, selectionReadout, WHOLE_FILE, CONTEXT_STEPS, wholeFileOff, contextToggled, layerContext, newLineAt, sourceLineAt, rowAtSourceLine, rowShowing, lineOnSide, commentRowsIn, threadsAtRow, stopsAtRow, threadAtStop, threadAtRow, openCommentRows, filesWithComments, answerCount, answersIn, newerOf, spokeLast, sectionOf, sentEntry, panelEntries, panelEntry, threadChosen, spokenSince, hunkStarts, openingRow, changeAround, nextUnreviewed, reviewedCount, fileOrder, filePlace, layerFile, selectionRange;
11752
+ })), nothingReviewed, initialState, TREE_MAX, TREE_ROOMY, TREE_MIN, TREE_SHARE, DIFF_MIN, DIFF_ROOMY, bodyRoom, treeWidth, reviewWidth, panelFits, panelShown, onLayers, selectedLayer, proseFor, layerFiles, layerHolding, layerOpen, chunked, packed, shortened, wordWrapped, wrapped, NO_NOTE, noteRows$1, proseRow, proseRows$1, titleRows, clipEnd, FILE_LEAD, fileRows, layerRows, railWindow, selectedBranch, selectedPatch, pullHere, knownToHaveNoPull, kept, treeOf, reviewedCountIn, treeRows, crowdedOf, foldersOfFile, isReviewed, treeStart, treeWindow, commentsOn, hiddenLines, markedRows, carriesLine, selectedRows, snippetOf, selectedLineCount, lineOf, brokenAt, laidLine, laidDraft, caretRow, caretColumn, caretOn, COMPOSE_BOX, COMPOSE_MARGIN, COMPOSE_PAD, COMPOSE_LEAST, composeBox, composeRoom$1, composeTarget, replyTarget, pickedText, selectedLines, KEYWORDS, NAME, longestName$1, searchTerm, shownMatches, matchHere, selectionReadout, WHOLE_FILE, CONTEXT_STEPS, wholeFileOff, contextToggled, layerContext, newLineAt, sourceLineAt, rowAtSourceLine, rowShowing, lineOnSide, commentRowsIn, threadsAtRow, stopsAtRow, threadAtStop, threadAtRow, openCommentRows, filesWithComments, answerCount, answersIn, newerOf, spokeLast, sectionOf, sentEntry, panelEntries, panelEntry, threadChosen, spokenSince, hunkStarts, openingRow, changeAround, nextUnreviewed, reviewedCount, fileOrder, filePlace, layerFile, selectionRange;
11753
11753
  var init_model = __esmMin((() => {
11754
11754
  init_dist();
11755
11755
  init_patch();
@@ -12141,11 +12141,18 @@ var init_model = __esmMin((() => {
12141
12141
  NAME = /[A-Za-z_$][\w$]*/g;
12142
12142
  longestName$1 = (line) => [...line.matchAll(NAME)].map((found) => found[0]).filter((name) => !KEYWORDS.has(name)).toSorted((left, right) => right.length - left.length)[0];
12143
12143
  searchTerm = (state) => {
12144
+ const taken = pickedText(state)?.trim();
12145
+ if (taken !== void 0 && taken.length > 0) return taken;
12144
12146
  const line = selectedLines(state).map((text) => text.trim()).find((text) => text.length > 0);
12145
12147
  if (line === void 0) return "";
12146
12148
  return longestName$1(line) ?? line;
12147
12149
  };
12148
- matchHere = (state) => state.matches[state.matchIndex];
12150
+ shownMatches = (state) => {
12151
+ const wanted = state.query.trim().toLowerCase();
12152
+ if (wanted.length === 0) return state.matches;
12153
+ return state.matches.filter((match) => `${match.path}:${match.line} ${match.text}`.toLowerCase().includes(wanted));
12154
+ };
12155
+ matchHere = (state) => shownMatches(state)[state.matchIndex];
12149
12156
  selectionReadout = (state) => {
12150
12157
  const patch = selectedPatch(state);
12151
12158
  if (patch === void 0 || !state.selecting) return "";
@@ -12980,7 +12987,8 @@ var init_command = __esmMin((() => {
12980
12987
  "compose",
12981
12988
  "keys",
12982
12989
  "palette",
12983
- "report"
12990
+ "report",
12991
+ "search"
12984
12992
  ]);
12985
12993
  PRINTABLE_KEY = /^[\S ]$/;
12986
12994
  takesText = (screen) => TEXT_SCREENS.has(screen);
@@ -13381,7 +13389,8 @@ var init_reduce = __esmMin((() => {
13381
13389
  ...state,
13382
13390
  screen: "review",
13383
13391
  matches: [],
13384
- term: ""
13392
+ term: "",
13393
+ query: ""
13385
13394
  };
13386
13395
  if (state.screen === "report") return {
13387
13396
  ...state,
@@ -13417,7 +13426,7 @@ var init_reduce = __esmMin((() => {
13417
13426
  };
13418
13427
  walkMatches = (state, delta) => ({
13419
13428
  ...state,
13420
- matchIndex: clamp(state.matchIndex + delta, 0, Math.max(0, state.matches.length - 1))
13429
+ matchIndex: clamp(state.matchIndex + delta, 0, Math.max(0, shownMatches(state).length - 1))
13421
13430
  });
13422
13431
  openPalette = (state) => ({
13423
13432
  ...state,
@@ -13755,6 +13764,7 @@ var init_reduce = __esmMin((() => {
13755
13764
  matches,
13756
13765
  matchIndex: 0,
13757
13766
  term,
13767
+ query: "",
13758
13768
  selecting: false
13759
13769
  });
13760
13770
  withNoticeHere = (state, notice) => ({
@@ -13879,6 +13889,7 @@ var init_theme = __esmMin((() => {
13879
13889
  note: "#9aa7c7",
13880
13890
  cursor: "#232936",
13881
13891
  selection: "#2b3854",
13892
+ resting: "#1b2233",
13882
13893
  marker: blue,
13883
13894
  addedBg: "#0f2a19",
13884
13895
  removedBg: "#2e1418",
@@ -14575,7 +14586,7 @@ var init_diffview = __esmMin((() => {
14575
14586
  }));
14576
14587
  //#endregion
14577
14588
  //#region src/tui/render.ts
14578
- var ROW_HEIGHT, COMPOSE_WIDTH, GUTTER_X, CHIP_GAP, FRAME_PAD, MODAL_ROOM, COMPOSE_CHROME, COMPOSE_ACTION_ROWS, reportActions, actionsText, SNIPPET_LINES, PALETTE_KEY, PALETTE_TITLE, PALETTE_GAP, PALETTE_CHROME, PENDING_CHROME, PALETTE_WIDTH, PANEL_SHARE, PANEL_MAX, PANEL_FLOOR, PANEL_FOOT, PANEL_QUARTER, PANEL_FIFTH, PANE_CHROME, PANE_EDGES, PANE_INSET, BRANCH_WIDTH, BRANCH_NAME_MIN, BRANCH_FIXED, STATE_MIN, EMPTY_LIST, MODAL_MARGIN, shareOf, homeWidth, longestName, longestState, commandRow, modalWidth, panelWidth, panelTop, panelRows, composeRoom, laidOut$1, STICKY_MAX, pickPaint, SELECTION, CURSOR, ACCENT, GAP_PAINT, bar, makeList, makeDiffPane, makePanel, makeListParts, makeListText, makeGutter, makeScroller, makeScrim, makeScroll, makePalette, asking, makePaletteParts, makeChoices, LIST_LEAD, windowed, listText, stack, makeBody, makeHome, makeModals, makeKeysParts, makeFoundParts, FONTS, logoFont, makeLanding, makeLogo, MAC_KEYS, makeComposeParts, makeCompose, clip, clipHead, clipMiddle, clipPath, INDENT_MAX, treeLabel, waitingLabel, inRange, notesOf, notesFor, paired, keptWithin, CHIP_CHUNKS, shortPath, HOME_PATH_MIN, HOME_PATH_CHROME, elide, SUMMARY_LINES, summaryLines, contextLabel, nameRoom, stateRoom, columns, FORGE_SILENT, unaskedForge, branchHeading, atHome, layersCell, baseLabel, stateCell, branchCells, placeLabel, headerParts, HEADER_GAP, HEADER_PATH_MIN, headerRoom, headerFitted, fallbackScope, treeMarks, treeTail, treeLine, STEP_NUMBER, STEP_LEAD, NOTE_LEAD, STEP_GAP, STALE_ROOM, STALE_LONG, STALE_SHORT, staleBanner, layerRoom, layerFold, layerHead, layerText, layerPaint, PANEL_TITLES, PANEL_ORDER, PANEL_LEAD, PANEL_EMPTY, panelMark, panelWhere, panelBody, panelPair, panelSection, PULL_HINT, panelText, Screen;
14589
+ var ROW_HEIGHT, COMPOSE_WIDTH, GUTTER_X, CHIP_GAP, FRAME_PAD, MODAL_ROOM, COMPOSE_CHROME, COMPOSE_ACTION_ROWS, reportActions, actionsText, SNIPPET_LINES, PALETTE_KEY, PALETTE_TITLE, PALETTE_GAP, PALETTE_CHROME, PENDING_CHROME, PALETTE_WIDTH, PANEL_SHARE, PANEL_MAX, PANEL_FLOOR, PANEL_FOOT, PANEL_QUARTER, PANEL_FIFTH, PANE_CHROME, PANE_EDGES, PANE_INSET, BRANCH_WIDTH, BRANCH_NAME_MIN, BRANCH_FIXED, STATE_MIN, EMPTY_LIST, MODAL_MARGIN, shareOf, homeWidth, longestName, longestState, commandRow, modalWidth, panelWidth, panelTop, panelRows, composeRoom, laidOut$1, STICKY_MAX, pickPaint, SELECTION, CURSOR, ACCENT, GAP_PAINT, bar, makeList, makeDiffPane, makePanel, makeListParts, makeListText, makeGutter, makeScroller, makeScrim, makeScroll, makePalette, asking, makePaletteParts, makeChoices, LIST_LEAD, windowed, listText, stack, makeBody, makeHome, makeModals, makeKeysParts, makeFoundParts, FONTS, logoFont, makeLanding, makeLogo, MAC_KEYS, makeComposeParts, makeCompose, clip, clipHead, clipMiddle, clipPath, INDENT_MAX, treeLabel, waitingLabel, inRange, notesOf, notesFor, paired, keptWithin, CHIP_CHUNKS, shortPath, HOME_PATH_MIN, HOME_PATH_CHROME, elide, SUMMARY_LINES, summaryLines, contextLabel, nameRoom, stateRoom, columns, FORGE_SILENT, unaskedForge, branchHeading, atHome, layersCell, baseLabel, stateCell, branchCells, placeLabel, headerParts, HEADER_GAP, HEADER_PATH_MIN, headerRoom, headerFitted, fallbackScope, treeMarks, treeTail, treeLine, STEP_NUMBER, STEP_LEAD, NOTE_LEAD, STEP_GAP, STALE_ROOM, STALE_LONG, STALE_SHORT, staleBanner, layerRoom, layerFold, layerHead, layerText, layerPaint, PANEL_TITLES, PANEL_ORDER, PANEL_LEAD, PANEL_EMPTY, restingOrHere, foundTitle, MATCH_SHARE, matchRow, panelWhere, panelBody, panelPair, panelSection, PULL_HINT, panelText, Screen;
14579
14590
  var init_render = __esmMin((() => {
14580
14591
  init_command();
14581
14592
  init_patch();
@@ -14860,15 +14871,18 @@ var init_render = __esmMin((() => {
14860
14871
  makeFoundParts = (renderer) => {
14861
14872
  const box = makePalette(renderer);
14862
14873
  const title = bar(renderer, "found-title", palette.faint);
14874
+ const query = asking(renderer, "found-query");
14863
14875
  const peek = bar(renderer, "found-peek", palette.muted);
14864
14876
  const choices = makeChoices(renderer);
14865
14877
  box.id = "found";
14866
14878
  box.add(title);
14879
+ box.add(query);
14867
14880
  box.add(choices);
14868
14881
  box.add(peek);
14869
14882
  return {
14870
14883
  box,
14871
14884
  title,
14885
+ query,
14872
14886
  peek,
14873
14887
  choices
14874
14888
  };
@@ -15162,7 +15176,7 @@ var init_render = __esmMin((() => {
15162
15176
  return scope.length === 0 ? [] : [scope];
15163
15177
  };
15164
15178
  treeMarks = (state, row) => {
15165
- return `${row.fileIndex === state.patchIndex ? state.focus === "tree" ? "▸" : "·" : " "}${row.fileIndex !== void 0 && isReviewed(state, row.fileIndex) ? marks().reviewed : " "}`;
15179
+ return ` ${row.fileIndex !== void 0 && isReviewed(state, row.fileIndex) ? marks().reviewed : " "}`;
15166
15180
  };
15167
15181
  treeTail = (state, row) => {
15168
15182
  if (row.fileIndex === void 0) return " ";
@@ -15216,9 +15230,21 @@ var init_render = __esmMin((() => {
15216
15230
  PANEL_ORDER = ["with", "answered"];
15217
15231
  PANEL_LEAD = 3;
15218
15232
  PANEL_EMPTY = "No comment on this branch yet.";
15219
- panelMark = (state, at) => {
15220
- if (at !== state.panelIndex) return " ";
15221
- return state.focus === "review" ? "▸" : "·";
15233
+ restingOrHere = (focused) => focused ? palette.selection : palette.resting;
15234
+ foundTitle = (state) => {
15235
+ const shown = shownMatches(state).length;
15236
+ const all = state.matches.length;
15237
+ const said = shown === all ? `${all} elsewhere` : `${shown} of ${all} elsewhere`;
15238
+ return `${state.term} · ${said}`;
15239
+ };
15240
+ MATCH_SHARE = .45;
15241
+ matchRow = (match, room) => {
15242
+ const lead = match.changed ? marks().comment : " ";
15243
+ const where = `:${match.line}`;
15244
+ const said = match.text.trim();
15245
+ const forPath = Math.max(8, Math.floor(room * MATCH_SHARE) - where.length);
15246
+ const left = `${lead} ${clipHead(match.path, forPath)}${where}`;
15247
+ return `${left} ${clip(said, Math.max(1, room - left.length - 2))}`;
15222
15248
  };
15223
15249
  panelWhere = (entry, room) => {
15224
15250
  const where = `:${entry.comment.end}`;
@@ -15227,7 +15253,7 @@ var init_render = __esmMin((() => {
15227
15253
  panelBody = (entry) => entry.comment.body.split("\n").find((line) => line.trim().length > 0) ?? "";
15228
15254
  panelPair = (state, placed, room) => {
15229
15255
  const { entry } = placed;
15230
- const lead = `${panelMark(state, placed.at)}${entry.fresh || entry.unread > 0 ? marks().comment : " "} `;
15256
+ const lead = ` ${entry.fresh || entry.unread > 0 ? marks().comment : " "} `;
15231
15257
  const here = placed.at === state.panelIndex;
15232
15258
  return [{
15233
15259
  text: `${lead}${panelWhere(entry, room - PANEL_LEAD)}`,
@@ -15275,7 +15301,7 @@ var init_render = __esmMin((() => {
15275
15301
  }] : body;
15276
15302
  return new StyledText([...banner, ...lines].map((line) => {
15277
15303
  const drawn = fg(line.tone)(`${line.text.padEnd(room)}\n`);
15278
- return line.here === true ? bg(palette.selection)(drawn) : drawn;
15304
+ return line.here === true ? bg(restingOrHere(state.focus === "review"))(drawn) : drawn;
15279
15305
  }));
15280
15306
  };
15281
15307
  Screen = class {
@@ -15311,6 +15337,7 @@ var init_render = __esmMin((() => {
15311
15337
  keys;
15312
15338
  keysTitle;
15313
15339
  keysQuery;
15340
+ foundQuery;
15314
15341
  keysChoices;
15315
15342
  found;
15316
15343
  foundTitle;
@@ -15360,6 +15387,7 @@ var init_render = __esmMin((() => {
15360
15387
  this.keys = modals.keys.box;
15361
15388
  this.keysTitle = modals.keys.title;
15362
15389
  this.keysQuery = modals.keys.query;
15390
+ this.foundQuery = modals.found.query;
15363
15391
  this.keysChoices = modals.keys.choices;
15364
15392
  this.found = modals.found.box;
15365
15393
  this.foundTitle = modals.found.title;
@@ -15436,6 +15464,7 @@ var init_render = __esmMin((() => {
15436
15464
  }
15437
15465
  asking(screen) {
15438
15466
  if (screen === "palette") return this.paletteQuery;
15467
+ if (screen === "search") return this.foundQuery;
15439
15468
  return screen === "keys" ? this.keysQuery : void 0;
15440
15469
  }
15441
15470
  railRows() {
@@ -15570,7 +15599,7 @@ var init_render = __esmMin((() => {
15570
15599
  const window = whole.more === 0 ? whole : treeWindow(state, Math.max(1, room - 1));
15571
15600
  const rows = window.rows.flatMap((row) => {
15572
15601
  const drawn = fg(row.kind === "file" ? palette.ink : palette.muted)(`${treeLine(state, row, pane)}\n`);
15573
- return [row.fileIndex === state.patchIndex ? bg(palette.selection)(drawn) : drawn];
15602
+ return [row.fileIndex === state.patchIndex ? bg(restingOrHere(state.focus === "tree"))(drawn) : drawn];
15574
15603
  });
15575
15604
  const more = window.more > 0 ? [fg(palette.faint)(` … ${window.more} more`)] : [];
15576
15605
  return new StyledText([...rows, ...more]);
@@ -15772,14 +15801,16 @@ var init_render = __esmMin((() => {
15772
15801
  }
15773
15802
  const room = panelWidth(this.renderer.width);
15774
15803
  const here = matchHere(state);
15775
- this.foundTitle.content = `${state.term} · ${state.matches.length} elsewhere`;
15804
+ this.foundTitle.content = foundTitle(state);
15776
15805
  const peekHigh = here?.around.length ?? 0;
15777
- const foundRoom = Math.min(panelRows(this.renderer.height, PANEL_FIFTH), state.matches.length + peekHigh + PALETTE_CHROME);
15778
- this.foundChoices.content = listText(state.matches.map((match) => clip(`${match.changed ? marks().comment : " "} ${match.path}:${match.line} ${match.text}`, Math.max(1, room - MODAL_ROOM))), state.matchIndex, Math.max(1, foundRoom - peekHigh - PALETTE_CHROME));
15806
+ const foundRoom = Math.min(panelRows(this.renderer.height, PANEL_FIFTH), shownMatches(state).length + peekHigh + PALETTE_CHROME);
15807
+ const wide = Math.max(1, room - MODAL_ROOM);
15808
+ const shown = shownMatches(state);
15809
+ this.foundChoices.content = listText(shown.map((match) => matchRow(match, wide)), state.matchIndex, Math.max(1, foundRoom - peekHigh - PALETTE_CHROME));
15779
15810
  this.foundPeek.content = (here?.around ?? []).map((line) => clip(line, Math.max(1, room - MODAL_ROOM))).join("\n");
15780
15811
  const peekRows = here?.around.length ?? 0;
15781
15812
  this.foundPeek.height = peekRows;
15782
- this.found.height = Math.min(panelRows(this.renderer.height, PANEL_FIFTH), state.matches.length + peekRows + PALETTE_CHROME);
15813
+ this.found.height = Math.min(panelRows(this.renderer.height, PANEL_FIFTH), shownMatches(state).length + peekRows + PALETTE_CHROME);
15783
15814
  this.found.width = room;
15784
15815
  this.found.left = Math.max(FRAME_PAD, Math.floor((this.renderer.width - room) / 2));
15785
15816
  this.found.top = panelTop(this.renderer.height, PANEL_FIFTH);
@@ -15869,7 +15900,11 @@ var ASKING, Display, paintWith, listenWith, lightWith, shapeOf, displayOn;
15869
15900
  var init_display = __esmMin((() => {
15870
15901
  init_dist();
15871
15902
  init_render();
15872
- ASKING = ["palette", "keys"];
15903
+ ASKING = [
15904
+ "palette",
15905
+ "keys",
15906
+ "search"
15907
+ ];
15873
15908
  Display = class extends Service()("adiff/Display") {};
15874
15909
  paintWith = (screen) => fn("Tui.paint")(function* (state) {
15875
15910
  yield* sync(() => screen.update(state));
@@ -16084,7 +16119,11 @@ var init_app = __esmMin((() => {
16084
16119
  if (!opened) return "could not reach the pull request";
16085
16120
  return state.length === 0 ? "opened the pull request" : `opened the ${state} pull request`;
16086
16121
  };
16087
- LISTENS = /* @__PURE__ */ new Set(["keys", "palette"]);
16122
+ LISTENS = /* @__PURE__ */ new Set([
16123
+ "keys",
16124
+ "palette",
16125
+ "search"
16126
+ ]);
16088
16127
  WRITES = /* @__PURE__ */ new Set(["compose", "report"]);
16089
16128
  OVER = /* @__PURE__ */ new Set([
16090
16129
  "compose",
@@ -17224,7 +17263,9 @@ var tui_exports = /* @__PURE__ */ __exportAll({
17224
17263
  runOn: () => runOn,
17225
17264
  runTui: () => runTui,
17226
17265
  searchCommands: () => searchCommands,
17227
- syntaxTheme: () => syntaxTheme
17266
+ searchTerm: () => searchTerm,
17267
+ syntaxTheme: () => syntaxTheme,
17268
+ withPatches: () => withPatches
17228
17269
  });
17229
17270
  var init_tui = __esmMin((() => {
17230
17271
  init_app();
@@ -17233,6 +17274,7 @@ var init_tui = __esmMin((() => {
17233
17274
  init_model();
17234
17275
  init_diffview();
17235
17276
  init_render();
17277
+ init_reduce();
17236
17278
  init_theme();
17237
17279
  }));
17238
17280
  //#endregion
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.97",
26
+ "version": "0.1.0-alpha.99",
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": {