dsh-llm-verifier 0.8.6 → 0.8.9
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/lib/{auto-DpNooy0d.js → auto-DyUKnMSP.js} +5 -2
- package/lib/{auto-DpNooy0d.js.map → auto-DyUKnMSP.js.map} +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/replay.js +1 -1
- package/lib/types/auto.d.ts.map +1 -1
- package/lib/types/auto.js +9 -0
- package/lib/types/auto.js.map +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +9 -0
- package/lib/types/index.js.map +1 -1
- package/package.json +1 -1
- package/src/auto.test.ts +42 -0
- package/src/auto.ts +9 -0
- package/src/index.test.ts +37 -0
- package/src/index.ts +8 -0
|
@@ -2057,7 +2057,10 @@ const USER_QUESTION_PATTERNS = [
|
|
|
2057
2057
|
/\b(?:waiting\s+for|awaiting)\s+(?:your\s+|user\s+)?(?:input|instructions?|reply|response|confirmation|decision|guidance|feedback)\b/iu,
|
|
2058
2058
|
/\b(?:would\s+you\s+like|should\s+i|do\s+you\s+want\s+me\s+to|how\s+would\s+you\s+like|which\s+(?:option|approach|strategy)\s+do\s+you\s+prefer)\b/iu,
|
|
2059
2059
|
/\b(?:let\s+me\s+know\s+(?:how|what|if|whether|when))\b/iu,
|
|
2060
|
-
/\b(?:paused?\s+(?:work|execution|here|for\s+now)|stopping\s+here)\b/iu
|
|
2060
|
+
/\b(?:paused?\s+(?:work|execution|here|for\s+now)|stopping\s+here)\b/iu,
|
|
2061
|
+
/(?:需要|要不要|要)我[^。!!??\n]{0,80}[??]/u,
|
|
2062
|
+
/\b(?:want|like)\s+me\s+to\b[^.!?\n]{0,80}\?/iu,
|
|
2063
|
+
/(?:等你|等您)(?:决定|拍板|回复|答复|确认)/u
|
|
2061
2064
|
];
|
|
2062
2065
|
function isAwaitingUserText(text) {
|
|
2063
2066
|
const trimmed = text.trim();
|
|
@@ -2533,4 +2536,4 @@ function selectRouteFeedbackDetail(candidates, result, maxChars = MAX_ROUTE_FEED
|
|
|
2533
2536
|
//#endregion
|
|
2534
2537
|
export { routedRepeats as A, SingleFlight as B, estimateRoutedCalls as C, latestDirectUserSeq as D, itemBudget as E, verificationVerdict as F, stableHash as H, extractSession as I, sanitizeVerifierText as L, semanticReferencesVisible as M, semanticRouteHint as N, nextDiagnosticCycleId as O, verificationFailed as P, sessionEvents as R, buildSemanticRouteView as S, inspectRecoverySignal as T, resolveCacheFile as V, RECOVERY_FAILURE_CONTEXT_CHARS as _, compareRouteFeedbackDetail as a, buildEvidenceIndex as b, inspectUserInteractionPause as c, planModeActive as d, selectRouteFeedbackDetail as f, MAX_ROUTED_CHECKPOINTS as g, AutoVerifierRouter as h, automaticFeedback as i, semanticDecision as j, parseSemanticRoute as k, isAwaitingUserText as l, topScoreIndices as m, PROPOSAL_FEEDBACK_NOTE as n, failedAcceptanceCriteria as o, sessionAccepted as p, analyzeAutoTask as r, hasPendingSubagents as s, MAX_ROUTE_FEEDBACK_CHARS as t, isSubagentSession as u, analyzeStructuredRoute as v, inspectDeliveryPhase as w, buildSemanticRoutePrompt as x, boundDecision as y, ScoreCache as z };
|
|
2535
2538
|
|
|
2536
|
-
//# sourceMappingURL=auto-
|
|
2539
|
+
//# sourceMappingURL=auto-DyUKnMSP.js.map
|