@eliya-oss/agent-diff 0.1.0-alpha.126 → 0.1.0-alpha.127
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 +6 -0
- package/dist/main.js +9 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @eliya-oss/agent-diff
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.127
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- The pinned scope keeps the innermost levels rather than the outermost. Deeply nested code pinned the four scopes furthest from the code — so at twelve levels of nesting you were told the class and never the function you were reading. It now pins the outermost one, for orientation, and the innermost ones, and marks the outermost with `⋯` when levels between were dropped.
|
|
8
|
+
|
|
3
9
|
## 0.1.0-alpha.126
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/main.js
CHANGED
|
@@ -9710,7 +9710,7 @@ var init_parse$1 = __esmMin((() => {
|
|
|
9710
9710
|
}));
|
|
9711
9711
|
//#endregion
|
|
9712
9712
|
//#region src/domain/patch/sticky.ts
|
|
9713
|
-
var CLOSER, COMMENT, LOOKAHEAD, indentOf, pinnable, limitFrom, stickyChain;
|
|
9713
|
+
var CLOSER, COMMENT, LOOKAHEAD, indentOf, pinnable, limitFrom, stickyChain, kept$1;
|
|
9714
9714
|
var init_sticky = __esmMin((() => {
|
|
9715
9715
|
CLOSER = /^[)\]}>;,]/;
|
|
9716
9716
|
COMMENT = /^(\/\/|\/\*|\*|#|<!--)/;
|
|
@@ -9741,7 +9741,13 @@ var init_sticky = __esmMin((() => {
|
|
|
9741
9741
|
limit = indent;
|
|
9742
9742
|
if (indent === 0) break;
|
|
9743
9743
|
}
|
|
9744
|
-
return chain.toReversed()
|
|
9744
|
+
return kept$1(chain.toReversed(), max);
|
|
9745
|
+
};
|
|
9746
|
+
kept$1 = (chain, max) => {
|
|
9747
|
+
if (chain.length <= max || max < 2) return chain.slice(0, max);
|
|
9748
|
+
const outer = chain[0] ?? "";
|
|
9749
|
+
const inner = chain.slice(chain.length - (max - 1));
|
|
9750
|
+
return [`${outer} ⋯`, ...inner];
|
|
9745
9751
|
};
|
|
9746
9752
|
}));
|
|
9747
9753
|
//#endregion
|
|
@@ -10977,7 +10983,7 @@ var init_pane = __esmMin((() => {
|
|
|
10977
10983
|
init_drafts();
|
|
10978
10984
|
init_init();
|
|
10979
10985
|
init_pane();
|
|
10980
|
-
var version$1 = "0.1.0-alpha.
|
|
10986
|
+
var version$1 = "0.1.0-alpha.127";
|
|
10981
10987
|
//#endregion
|
|
10982
10988
|
//#region src/cli/upgrade.ts
|
|
10983
10989
|
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;
|
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.127",
|
|
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": {
|