@adeu/core 1.17.0 → 1.17.2
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/README.md +1 -0
- package/dist/index.cjs +353 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +353 -85
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/engine.qa.test.ts +4 -4
- package/src/engine.tables.test.ts +138 -36
- package/src/engine.ts +433 -105
- package/src/ingest.ts +16 -1
- package/src/mapper.ts +23 -1
- package/src/markup.test.ts +41 -6
- package/src/markup.ts +13 -2
- package/src/repro.feedback.test.ts +160 -0
- package/src/repro.report.test.ts +130 -0
- package/src/repro_qa_report_v3.test.ts +194 -0
- package/src/search_write_engine.test.ts +41 -0
package/dist/index.d.cts
CHANGED
|
@@ -186,6 +186,16 @@ declare class RedlineEngine {
|
|
|
186
186
|
skipped_details: string[];
|
|
187
187
|
constructor(doc: DocumentObject, author?: string);
|
|
188
188
|
private _check_punctuation_warning;
|
|
189
|
+
/**
|
|
190
|
+
* Best-effort "did you mean" hint for a failed target. The common loop trap
|
|
191
|
+
* (observed in the field) is an anchored regex like `^\( x \)$` against a
|
|
192
|
+
* mid-document string: ^/$ bind to the whole full_text, so it never matches
|
|
193
|
+
* even though the literal `( x )` is present. We strip regex anchoring/escapes
|
|
194
|
+
* and probe full_text for a literal occurrence; if found, we tell the model
|
|
195
|
+
* the exact literal that WOULD match so it drops the anchors instead of
|
|
196
|
+
* escalating the regex further.
|
|
197
|
+
*/
|
|
198
|
+
private _nearest_match_hint;
|
|
189
199
|
private _build_edit_context_previews;
|
|
190
200
|
private _scan_existing_ids;
|
|
191
201
|
private _get_heading_path_and_page;
|
|
@@ -268,7 +278,7 @@ declare class RedlineEngine {
|
|
|
268
278
|
private _anchor_reply_comment;
|
|
269
279
|
private _clean_wrapping_comments;
|
|
270
280
|
private _delete_comments_in_element;
|
|
271
|
-
validate_edits(edits: any[]): string[];
|
|
281
|
+
validate_edits(edits: any[], index_offset?: number): string[];
|
|
272
282
|
validate_review_actions(actions: any[]): string[];
|
|
273
283
|
process_batch(changes: DocumentChange[], dry_run?: boolean): any;
|
|
274
284
|
private _process_batch_internal;
|
package/dist/index.d.ts
CHANGED
|
@@ -186,6 +186,16 @@ declare class RedlineEngine {
|
|
|
186
186
|
skipped_details: string[];
|
|
187
187
|
constructor(doc: DocumentObject, author?: string);
|
|
188
188
|
private _check_punctuation_warning;
|
|
189
|
+
/**
|
|
190
|
+
* Best-effort "did you mean" hint for a failed target. The common loop trap
|
|
191
|
+
* (observed in the field) is an anchored regex like `^\( x \)$` against a
|
|
192
|
+
* mid-document string: ^/$ bind to the whole full_text, so it never matches
|
|
193
|
+
* even though the literal `( x )` is present. We strip regex anchoring/escapes
|
|
194
|
+
* and probe full_text for a literal occurrence; if found, we tell the model
|
|
195
|
+
* the exact literal that WOULD match so it drops the anchors instead of
|
|
196
|
+
* escalating the regex further.
|
|
197
|
+
*/
|
|
198
|
+
private _nearest_match_hint;
|
|
189
199
|
private _build_edit_context_previews;
|
|
190
200
|
private _scan_existing_ids;
|
|
191
201
|
private _get_heading_path_and_page;
|
|
@@ -268,7 +278,7 @@ declare class RedlineEngine {
|
|
|
268
278
|
private _anchor_reply_comment;
|
|
269
279
|
private _clean_wrapping_comments;
|
|
270
280
|
private _delete_comments_in_element;
|
|
271
|
-
validate_edits(edits: any[]): string[];
|
|
281
|
+
validate_edits(edits: any[], index_offset?: number): string[];
|
|
272
282
|
validate_review_actions(actions: any[]): string[];
|
|
273
283
|
process_batch(changes: DocumentChange[], dry_run?: boolean): any;
|
|
274
284
|
private _process_batch_internal;
|