@sjawhar/pi-legion-envoy 5.30.15 → 6.0.1
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/dist/envoy.js
CHANGED
|
@@ -30084,9 +30084,6 @@ var ISSUE_STATUSES = [
|
|
|
30084
30084
|
"retro",
|
|
30085
30085
|
"done"
|
|
30086
30086
|
];
|
|
30087
|
-
function isIssueStatus(value) {
|
|
30088
|
-
return ISSUE_STATUSES.includes(value);
|
|
30089
|
-
}
|
|
30090
30087
|
var ISSUE_ROUTE_STATUSES = ["live", "no_holder", "unknown"];
|
|
30091
30088
|
var DOC_EDIT_OPS = [
|
|
30092
30089
|
"replace",
|
|
@@ -34710,7 +34707,7 @@ ${followsAsk(askOwner)}`,
|
|
|
34710
34707
|
const unchangedOps = edited.unchanged_ops ?? [];
|
|
34711
34708
|
const unchangedText = unchangedOps.length === 0 ? "" : `; ${unchangedOps.length === 1 ? "operation" : "operations"} ${unchangedOps.join(", ")} changed nothing`;
|
|
34712
34709
|
const lostOps = edited.lost_ops;
|
|
34713
|
-
const lostText = lostOps === undefined || lostOps !== null && lostOps.length === 0 ? "" : lostOps === null ? "; could not confirm this edit survived, because the live document is being reloaded \u2014 re-read it" : `; ${versionText} carries text the live document no longer has: a concurrent change removed what ${lostOps.length === 1 ? "operation" : "operations"} ${lostOps.join(", ")} wrote \u2014 re-read the document`;
|
|
34710
|
+
const lostText = lostOps === undefined || lostOps !== null && lostOps.length === 0 ? "" : lostOps === null ? "; could not confirm this edit survived, because the live document is being reloaded or holds a tree too deep to read \u2014 re-read it" : `; ${versionText} carries text the live document no longer has: a concurrent change removed what ${lostOps.length === 1 ? "operation" : "operations"} ${lostOps.join(", ")} wrote \u2014 re-read the document`;
|
|
34714
34711
|
const applied = `${head}${unchangedText}${lostText}`;
|
|
34715
34712
|
const adviceLines = renderAdvice(input.tool, resolvedTopic(resolved).label, edited.advice, {});
|
|
34716
34713
|
const tokenTrailer = edited.token === undefined ? [] : [`Document token: ${edited.token}`];
|