@ai-matrx/content-ir 0.19.17 → 0.19.18

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/index.js CHANGED
@@ -6053,6 +6053,204 @@ var XmlContainerTracker = class {
6053
6053
  }
6054
6054
  };
6055
6055
 
6056
+ // source/gfm-table.ts
6057
+ function splitRowSegments(line) {
6058
+ const segments = [];
6059
+ let start = 0;
6060
+ for (let i = 0; i < line.length; i += 1) {
6061
+ const ch = line[i];
6062
+ if (ch === "\\") {
6063
+ i += 1;
6064
+ continue;
6065
+ }
6066
+ if (ch === "|") {
6067
+ segments.push(line.slice(start, i));
6068
+ start = i + 1;
6069
+ }
6070
+ }
6071
+ segments.push(line.slice(start));
6072
+ return segments;
6073
+ }
6074
+ function rowCells(line) {
6075
+ const cells = splitRowSegments(line).map((cell) => cell.trim());
6076
+ if (cells.length > 1 && cells[0] === "") cells.shift();
6077
+ if (cells.length > 1 && cells[cells.length - 1] === "") cells.pop();
6078
+ else if (cells.length === 1 && cells[0] === "" && !line.includes("|")) cells.pop();
6079
+ return cells;
6080
+ }
6081
+ function unescapeCellPipes(cell) {
6082
+ return cell.replace(/\\\|/g, "|");
6083
+ }
6084
+ var BLOCK_START = /^(?:[-+*](?:\s|$)|\d{1,9}[.)](?:\s|$)|>|#{1,6}(?:\s|$)|(?:-\s*){3,}$|(?:\*\s*){3,}$|(?:_\s*){3,}$|\[\^[^\]\s]+\]:)/;
6085
+ var startsBlock = (trimmed) => BLOCK_START.test(trimmed) || opensStrictFence(trimmed) || startsHtmlBlock(trimmed);
6086
+ var HTML_RAW = /^<(?:script|pre|style|textarea)(?:[\s>]|$)/i;
6087
+ var HTML_COMMENT_ETC = /^(?:<!--|<\?|<![A-Za-z]|<!\[CDATA\[)/;
6088
+ var HTML_BLOCK_NAMES = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";
6089
+ var HTML_BLOCK_TAG = new RegExp(`^</?(?:${HTML_BLOCK_NAMES})(?:[\\s>]|/>|$)`, "i");
6090
+ var ATTRIBUTE = `\\s+[A-Za-z_:][A-Za-z0-9_.:-]*(?:\\s*=\\s*(?:[^\\s"'=<>\`]+|'[^']*'|"[^"]*"))?`;
6091
+ var HTML_COMPLETE_TAG = new RegExp(`^(?:<[A-Za-z][A-Za-z0-9-]*(?:${ATTRIBUTE})*\\s*/?>|</[A-Za-z][A-Za-z0-9-]*\\s*>)\\s*$`);
6092
+ var HTML_BLOCK_NAME_SET = /* @__PURE__ */ new Set([
6093
+ // Condition 1 (raw text) and condition 6 (block) tag names — CommonMark 0.31.
6094
+ "script",
6095
+ "pre",
6096
+ "style",
6097
+ "textarea",
6098
+ ...HTML_BLOCK_NAMES.replace("h[1-6]", "h1|h2|h3|h4|h5|h6").split("|")
6099
+ ]);
6100
+ function isHtmlBlockTagName(name) {
6101
+ return HTML_BLOCK_NAME_SET.has(name.toLowerCase());
6102
+ }
6103
+ function startsHtmlBlock(trimmed) {
6104
+ if (!trimmed.startsWith("<")) return false;
6105
+ return HTML_RAW.test(trimmed) || HTML_COMMENT_ETC.test(trimmed) || HTML_BLOCK_TAG.test(trimmed) || HTML_COMPLETE_TAG.test(trimmed);
6106
+ }
6107
+ function lineIndent(line) {
6108
+ let column = 0;
6109
+ for (const ch of line) {
6110
+ if (ch === " ") column += 1;
6111
+ else if (ch === " ") column += 4 - column % 4;
6112
+ else break;
6113
+ }
6114
+ return column;
6115
+ }
6116
+ var LIST_MARKER = /^([ \t]*)([-+*]|\d{1,9}[.)])([ \t]+|$)/;
6117
+ function markerContentColumn(marker) {
6118
+ const markerEnd = lineIndent(marker[1] ?? "") + (marker[2] ?? "").length;
6119
+ const gap = marker[3] ? lineIndent(" ".repeat(markerEnd) + marker[3]) - markerEnd : 1;
6120
+ return markerEnd + (gap >= 1 && gap <= 4 ? gap : 1);
6121
+ }
6122
+ function tableContainerIndent(lines, start) {
6123
+ return tableContainerIndentOf(lines, start, false);
6124
+ }
6125
+ function tableContainerIndentOf(lines, start, ownItem) {
6126
+ const own = ownItem ? LIST_MARKER.exec(lines[start] ?? "") : null;
6127
+ if (own) return markerContentColumn(own);
6128
+ const header = lineIndent(lines[start] ?? "");
6129
+ if (header === 0) return 0;
6130
+ for (let k = start - 1; k >= 0; k -= 1) {
6131
+ const line = lines[k] ?? "";
6132
+ if (!line.trim()) continue;
6133
+ const indent = lineIndent(line);
6134
+ const marker = LIST_MARKER.exec(line);
6135
+ if (marker && indent < header) {
6136
+ const content = markerContentColumn(marker);
6137
+ if (content <= header) return content;
6138
+ continue;
6139
+ }
6140
+ if (indent === 0) return 0;
6141
+ }
6142
+ return 0;
6143
+ }
6144
+ var DELIMITER_CELL = /^:?-+:?$/;
6145
+ function isGfmDelimiterRow(line) {
6146
+ const trimmed = line.trim();
6147
+ if (!trimmed.includes("|")) return false;
6148
+ const cells = rowCells(trimmed);
6149
+ return cells.length > 0 && cells.every((cell) => DELIMITER_CELL.test(cell));
6150
+ }
6151
+ function isPipeLedRow(line) {
6152
+ const trimmed = line.trim();
6153
+ return trimmed.startsWith("|") && trimmed.includes("|", 1);
6154
+ }
6155
+ function isTableDelimiter(line) {
6156
+ if (line === void 0 || !isGfmDelimiterRow(line)) return false;
6157
+ return !BLOCK_START.test(line.trim());
6158
+ }
6159
+ function startsPipelessTable(header, delimiter) {
6160
+ const head = header.trim();
6161
+ if (!head || isPipeLedRow(head) || !head.startsWith("|") && startsBlock(head)) return false;
6162
+ if (!isTableDelimiter(delimiter)) return false;
6163
+ return rowCells(head).length === rowCells(delimiter.trim()).length;
6164
+ }
6165
+ function continuesTable(line, containerIndent = 0) {
6166
+ const trimmed = line.trim();
6167
+ if (!trimmed) return false;
6168
+ if (lineIndent(line) - containerIndent >= 4) return false;
6169
+ return trimmed.startsWith("|") || !startsBlock(trimmed);
6170
+ }
6171
+ function opensTable(lines, index) {
6172
+ const line = lines[index] ?? "";
6173
+ if (!isPipeLedRow(line) && !startsPipelessTable(line, lines[index + 1])) return false;
6174
+ return !isLazyContinuation(lines, index) && !insideHtmlBlock(lines, index);
6175
+ }
6176
+ var QUOTE_LINE = /^ {0,3}>/;
6177
+ var THEMATIC_BREAK = /^(?:(?:-[ \t]*){3,}|(?:\*[ \t]*){3,}|(?:_[ \t]*){3,})$/;
6178
+ var breaksParagraph = (trimmed) => /^#{1,6}(?:\s|$)/.test(trimmed) || THEMATIC_BREAK.test(trimmed) || opensStrictFence(trimmed) || startsHtmlBlock(trimmed);
6179
+ function htmlBlockEnd(trimmed) {
6180
+ if (HTML_RAW.test(trimmed)) return /<\/(?:script|pre|style|textarea)>/i;
6181
+ if (trimmed.startsWith("<!--")) return /-->/;
6182
+ if (trimmed.startsWith("<?")) return /\?>/;
6183
+ if (trimmed.startsWith("<![CDATA[")) return /\]\]>/;
6184
+ if (/^<![A-Za-z]/.test(trimmed)) return />/;
6185
+ if (HTML_BLOCK_TAG.test(trimmed)) return null;
6186
+ if (HTML_COMPLETE_TAG.test(trimmed)) return null;
6187
+ return void 0;
6188
+ }
6189
+ function insideHtmlBlock(lines, index) {
6190
+ let start = index;
6191
+ while (start > 0 && (lines[start - 1] ?? "").trim()) start -= 1;
6192
+ let open;
6193
+ let paragraph = false;
6194
+ for (let k = start; k < index; k += 1) {
6195
+ const line = lines[k] ?? "";
6196
+ if (open !== void 0) {
6197
+ if (open && open.test(line)) open = void 0;
6198
+ continue;
6199
+ }
6200
+ const trimmed = line.trim();
6201
+ const end = lineIndent(line) < 4 ? htmlBlockEnd(trimmed) : void 0;
6202
+ const type7 = end === null && !HTML_BLOCK_TAG.test(trimmed);
6203
+ const interrupts = end !== void 0 && !(paragraph && type7);
6204
+ if (!interrupts) {
6205
+ paragraph = true;
6206
+ continue;
6207
+ }
6208
+ paragraph = false;
6209
+ open = end && end.test(trimmed.slice(2)) ? void 0 : end;
6210
+ }
6211
+ return open !== void 0;
6212
+ }
6213
+ function isLazyContinuation(lines, index) {
6214
+ const header = lines[index] ?? "";
6215
+ let first = -1;
6216
+ for (let k = index - 1; k >= 0; k -= 1) {
6217
+ const line = lines[k] ?? "";
6218
+ const trimmed = line.trim();
6219
+ if (!trimmed) break;
6220
+ if (breaksParagraph(trimmed)) break;
6221
+ const marker = LIST_MARKER.exec(line);
6222
+ if (marker) {
6223
+ const rest = line.slice(marker[0].length).trim();
6224
+ if (!rest || breaksParagraph(rest)) break;
6225
+ first = k;
6226
+ break;
6227
+ }
6228
+ first = k;
6229
+ if (QUOTE_LINE.test(line)) break;
6230
+ }
6231
+ if (first < 0) return false;
6232
+ const start = lines[first] ?? "";
6233
+ if (QUOTE_LINE.test(start)) return !QUOTE_LINE.test(header);
6234
+ return lineIndent(header) < tableContainerIndentOf(lines, first, true);
6235
+ }
6236
+ function tableStartsAt(lines, index) {
6237
+ const header = lines[index] ?? "";
6238
+ const delimiter = lines[index + 1];
6239
+ if (!opensTable(lines, index) || !isTableDelimiter(delimiter)) return false;
6240
+ if (rowCells(header).length !== rowCells(delimiter).length) return false;
6241
+ return lineIndent(header) - tableContainerIndent(lines, index) < 4;
6242
+ }
6243
+ function findTableStart(lines, from = 0) {
6244
+ for (let i = Math.max(0, from); i < lines.length; i += 1) if (opensTable(lines, i)) return i;
6245
+ return -1;
6246
+ }
6247
+ function findTableEnd(lines, start) {
6248
+ const container = tableContainerIndent(lines, start);
6249
+ let end = Math.min(lines.length, start + 2);
6250
+ while (end < lines.length && continuesTable(lines[end] ?? "", container)) end += 1;
6251
+ return end;
6252
+ }
6253
+
6056
6254
  // source/tokenize.ts
6057
6255
  var NOT_WHITESPACE = /\S/;
6058
6256
  var DIRECTIVE_OPEN = /^(:{2,})([A-Za-z][\w-]*)/;
@@ -6894,9 +7092,12 @@ var Tokenizer = class {
6894
7092
  });
6895
7093
  }
6896
7094
  }
7095
+ if (isHtmlBlockTagName(root)) return null;
6897
7096
  return this.island("xml_container", p, this.n, false, { tag: root });
6898
7097
  }
6899
7098
  if (isUnclosedGenericXmlOpening(seg)) {
7099
+ const name = /^\s*<([A-Za-z_][\w.:-]*)/.exec(seg)?.[1] ?? "";
7100
+ if (isHtmlBlockTagName(name)) return null;
6900
7101
  return this.island("xml_container", p, this.n, false, {});
6901
7102
  }
6902
7103
  return null;
@@ -7720,204 +7921,6 @@ function resolveReferenceLinks(fragment, defs) {
7720
7921
  return resolved.replace(new RegExp(`${PLACEHOLDER}(\\d+)${PLACEHOLDER}`, "g"), (_m, i) => spans[Number(i)] ?? "");
7721
7922
  }
7722
7923
 
7723
- // source/gfm-table.ts
7724
- function splitRowSegments(line) {
7725
- const segments = [];
7726
- let start = 0;
7727
- for (let i = 0; i < line.length; i += 1) {
7728
- const ch = line[i];
7729
- if (ch === "\\") {
7730
- i += 1;
7731
- continue;
7732
- }
7733
- if (ch === "|") {
7734
- segments.push(line.slice(start, i));
7735
- start = i + 1;
7736
- }
7737
- }
7738
- segments.push(line.slice(start));
7739
- return segments;
7740
- }
7741
- function rowCells(line) {
7742
- const cells = splitRowSegments(line).map((cell) => cell.trim());
7743
- if (cells.length > 1 && cells[0] === "") cells.shift();
7744
- if (cells.length > 1 && cells[cells.length - 1] === "") cells.pop();
7745
- else if (cells.length === 1 && cells[0] === "" && !line.includes("|")) cells.pop();
7746
- return cells;
7747
- }
7748
- function unescapeCellPipes(cell) {
7749
- return cell.replace(/\\\|/g, "|");
7750
- }
7751
- var BLOCK_START = /^(?:[-+*](?:\s|$)|\d{1,9}[.)](?:\s|$)|>|#{1,6}(?:\s|$)|(?:-\s*){3,}$|(?:\*\s*){3,}$|(?:_\s*){3,}$|\[\^[^\]\s]+\]:)/;
7752
- var startsBlock = (trimmed) => BLOCK_START.test(trimmed) || opensStrictFence(trimmed) || startsHtmlBlock(trimmed);
7753
- var HTML_RAW = /^<(?:script|pre|style|textarea)(?:[\s>]|$)/i;
7754
- var HTML_COMMENT_ETC = /^(?:<!--|<\?|<![A-Za-z]|<!\[CDATA\[)/;
7755
- var HTML_BLOCK_NAMES = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";
7756
- var HTML_BLOCK_TAG = new RegExp(`^</?(?:${HTML_BLOCK_NAMES})(?:[\\s>]|/>|$)`, "i");
7757
- var ATTRIBUTE = `\\s+[A-Za-z_:][A-Za-z0-9_.:-]*(?:\\s*=\\s*(?:[^\\s"'=<>\`]+|'[^']*'|"[^"]*"))?`;
7758
- var HTML_COMPLETE_TAG = new RegExp(`^(?:<[A-Za-z][A-Za-z0-9-]*(?:${ATTRIBUTE})*\\s*/?>|</[A-Za-z][A-Za-z0-9-]*\\s*>)\\s*$`);
7759
- var HTML_BLOCK_NAME_SET = /* @__PURE__ */ new Set([
7760
- // Condition 1 (raw text) and condition 6 (block) tag names — CommonMark 0.31.
7761
- "script",
7762
- "pre",
7763
- "style",
7764
- "textarea",
7765
- ...HTML_BLOCK_NAMES.replace("h[1-6]", "h1|h2|h3|h4|h5|h6").split("|")
7766
- ]);
7767
- function isHtmlBlockTagName(name) {
7768
- return HTML_BLOCK_NAME_SET.has(name.toLowerCase());
7769
- }
7770
- function startsHtmlBlock(trimmed) {
7771
- if (!trimmed.startsWith("<")) return false;
7772
- return HTML_RAW.test(trimmed) || HTML_COMMENT_ETC.test(trimmed) || HTML_BLOCK_TAG.test(trimmed) || HTML_COMPLETE_TAG.test(trimmed);
7773
- }
7774
- function lineIndent(line) {
7775
- let column = 0;
7776
- for (const ch of line) {
7777
- if (ch === " ") column += 1;
7778
- else if (ch === " ") column += 4 - column % 4;
7779
- else break;
7780
- }
7781
- return column;
7782
- }
7783
- var LIST_MARKER = /^([ \t]*)([-+*]|\d{1,9}[.)])([ \t]+|$)/;
7784
- function markerContentColumn(marker) {
7785
- const markerEnd = lineIndent(marker[1] ?? "") + (marker[2] ?? "").length;
7786
- const gap = marker[3] ? lineIndent(" ".repeat(markerEnd) + marker[3]) - markerEnd : 1;
7787
- return markerEnd + (gap >= 1 && gap <= 4 ? gap : 1);
7788
- }
7789
- function tableContainerIndent(lines, start) {
7790
- return tableContainerIndentOf(lines, start, false);
7791
- }
7792
- function tableContainerIndentOf(lines, start, ownItem) {
7793
- const own = ownItem ? LIST_MARKER.exec(lines[start] ?? "") : null;
7794
- if (own) return markerContentColumn(own);
7795
- const header = lineIndent(lines[start] ?? "");
7796
- if (header === 0) return 0;
7797
- for (let k = start - 1; k >= 0; k -= 1) {
7798
- const line = lines[k] ?? "";
7799
- if (!line.trim()) continue;
7800
- const indent = lineIndent(line);
7801
- const marker = LIST_MARKER.exec(line);
7802
- if (marker && indent < header) {
7803
- const content = markerContentColumn(marker);
7804
- if (content <= header) return content;
7805
- continue;
7806
- }
7807
- if (indent === 0) return 0;
7808
- }
7809
- return 0;
7810
- }
7811
- var DELIMITER_CELL = /^:?-+:?$/;
7812
- function isGfmDelimiterRow(line) {
7813
- const trimmed = line.trim();
7814
- if (!trimmed.includes("|")) return false;
7815
- const cells = rowCells(trimmed);
7816
- return cells.length > 0 && cells.every((cell) => DELIMITER_CELL.test(cell));
7817
- }
7818
- function isPipeLedRow(line) {
7819
- const trimmed = line.trim();
7820
- return trimmed.startsWith("|") && trimmed.includes("|", 1);
7821
- }
7822
- function isTableDelimiter(line) {
7823
- if (line === void 0 || !isGfmDelimiterRow(line)) return false;
7824
- return !BLOCK_START.test(line.trim());
7825
- }
7826
- function startsPipelessTable(header, delimiter) {
7827
- const head = header.trim();
7828
- if (!head || isPipeLedRow(head) || !head.startsWith("|") && startsBlock(head)) return false;
7829
- if (!isTableDelimiter(delimiter)) return false;
7830
- return rowCells(head).length === rowCells(delimiter.trim()).length;
7831
- }
7832
- function continuesTable(line, containerIndent = 0) {
7833
- const trimmed = line.trim();
7834
- if (!trimmed) return false;
7835
- if (lineIndent(line) - containerIndent >= 4) return false;
7836
- return trimmed.startsWith("|") || !startsBlock(trimmed);
7837
- }
7838
- function opensTable(lines, index) {
7839
- const line = lines[index] ?? "";
7840
- if (!isPipeLedRow(line) && !startsPipelessTable(line, lines[index + 1])) return false;
7841
- return !isLazyContinuation(lines, index) && !insideHtmlBlock(lines, index);
7842
- }
7843
- var QUOTE_LINE = /^ {0,3}>/;
7844
- var THEMATIC_BREAK = /^(?:(?:-[ \t]*){3,}|(?:\*[ \t]*){3,}|(?:_[ \t]*){3,})$/;
7845
- var breaksParagraph = (trimmed) => /^#{1,6}(?:\s|$)/.test(trimmed) || THEMATIC_BREAK.test(trimmed) || opensStrictFence(trimmed) || startsHtmlBlock(trimmed);
7846
- function htmlBlockEnd(trimmed) {
7847
- if (HTML_RAW.test(trimmed)) return /<\/(?:script|pre|style|textarea)>/i;
7848
- if (trimmed.startsWith("<!--")) return /-->/;
7849
- if (trimmed.startsWith("<?")) return /\?>/;
7850
- if (trimmed.startsWith("<![CDATA[")) return /\]\]>/;
7851
- if (/^<![A-Za-z]/.test(trimmed)) return />/;
7852
- if (HTML_BLOCK_TAG.test(trimmed)) return null;
7853
- if (HTML_COMPLETE_TAG.test(trimmed)) return null;
7854
- return void 0;
7855
- }
7856
- function insideHtmlBlock(lines, index) {
7857
- let start = index;
7858
- while (start > 0 && (lines[start - 1] ?? "").trim()) start -= 1;
7859
- let open;
7860
- let paragraph = false;
7861
- for (let k = start; k < index; k += 1) {
7862
- const line = lines[k] ?? "";
7863
- if (open !== void 0) {
7864
- if (open && open.test(line)) open = void 0;
7865
- continue;
7866
- }
7867
- const trimmed = line.trim();
7868
- const end = lineIndent(line) < 4 ? htmlBlockEnd(trimmed) : void 0;
7869
- const type7 = end === null && !HTML_BLOCK_TAG.test(trimmed);
7870
- const interrupts = end !== void 0 && !(paragraph && type7);
7871
- if (!interrupts) {
7872
- paragraph = true;
7873
- continue;
7874
- }
7875
- paragraph = false;
7876
- open = end && end.test(trimmed.slice(2)) ? void 0 : end;
7877
- }
7878
- return open !== void 0;
7879
- }
7880
- function isLazyContinuation(lines, index) {
7881
- const header = lines[index] ?? "";
7882
- let first = -1;
7883
- for (let k = index - 1; k >= 0; k -= 1) {
7884
- const line = lines[k] ?? "";
7885
- const trimmed = line.trim();
7886
- if (!trimmed) break;
7887
- if (breaksParagraph(trimmed)) break;
7888
- const marker = LIST_MARKER.exec(line);
7889
- if (marker) {
7890
- const rest = line.slice(marker[0].length).trim();
7891
- if (!rest || breaksParagraph(rest)) break;
7892
- first = k;
7893
- break;
7894
- }
7895
- first = k;
7896
- if (QUOTE_LINE.test(line)) break;
7897
- }
7898
- if (first < 0) return false;
7899
- const start = lines[first] ?? "";
7900
- if (QUOTE_LINE.test(start)) return !QUOTE_LINE.test(header);
7901
- return lineIndent(header) < tableContainerIndentOf(lines, first, true);
7902
- }
7903
- function tableStartsAt(lines, index) {
7904
- const header = lines[index] ?? "";
7905
- const delimiter = lines[index + 1];
7906
- if (!opensTable(lines, index) || !isTableDelimiter(delimiter)) return false;
7907
- if (rowCells(header).length !== rowCells(delimiter).length) return false;
7908
- return lineIndent(header) - tableContainerIndent(lines, index) < 4;
7909
- }
7910
- function findTableStart(lines, from = 0) {
7911
- for (let i = Math.max(0, from); i < lines.length; i += 1) if (opensTable(lines, i)) return i;
7912
- return -1;
7913
- }
7914
- function findTableEnd(lines, start) {
7915
- const container = tableContainerIndent(lines, start);
7916
- let end = Math.min(lines.length, start + 2);
7917
- while (end < lines.length && continuesTable(lines[end] ?? "", container)) end += 1;
7918
- return end;
7919
- }
7920
-
7921
7924
  export { ACTION_BY_CLASS, AFTER_WINDOW, BacktickRuns, CALLOUT_NAMES, CAPABILITY_BY_CLASS, CLASSES, DIRECTIVE_VERSION, DirectiveDecodeError, FENCE_OPENER_WHITESPACE, FENCE_WHITESPACE, FenceReader, IN_CONTENT_CLASSES, IR_ENVELOPE_CACHE_VERSION, IR_ENVELOPE_KEY, IR_PARTIAL_KEY, IR_VERSION, IrTree, JSON_DISCRIMINATOR, JsonStreamTokenizer, KIND_KEY, KindStorageError, KindStreamParser, NESTING_FENCE_LANGUAGES, NODE_OUTCOME_KIND, ParseSession, RESERVED_PREFIX, ROOT_STORAGE_NAME, RUN_RESULT_KIND, SIDE_EFFECT_CLASSES, SLUG_PREFIX, SourceSpliceError, XmlContainerTracker, advancePartialKind, asKindInstance, blockAt, blockEdit, blockRangeEdit, buildAgentSchemaWithRenderBlockSupport, buildCodePointIndex, buildCompliantKindSnapshot, buildDirectiveSlug, buildKindDirective, capabilityOf, classifyInboundEnvelopeMetadata, classifyInnerFenceLine, closeFence, codeSpanText, collectLinkDefinitions, collectReferencedKinds, collectSchemaReferencedKinds, compareWithExistingKindSchema, continuesTable, convertAiSchemaToBlockFields, createFingerprinter, createKindStreamParser, createKindValidator, decodeDirective, describeDualGateFailure, directiveDisplay, directiveItemKindFromEdges, directiveSlugOf, disposeParseSession, emitPayloadFence, emitPayloadJson, emptyValueForFieldSchema, envelopeCacheFromEnvelopes, envelopeFromCompleteValue, executesAtOutputRoot, fenceDiscriminator, fenceLineKinds, fenceNestsInnerFences, fenceOpenerOf, fenceParts, fieldsToDbPayload, findCodeRanges, findInlineCodeSpans, findLinkDefinitionLines, findTableEnd, findTableStart, fingerprintText, formatBlockLabel, getParseSession, injectKindIntoObjectSchema, irPathIsUnderOrEqual, irPathKey, irPathLabel, irPathsEqual, isCanonicalBlockIR, isDirectiveClass, isDuplicateBlockSlug, isEmptyResidue, isEscapedBracketMath, isGfmDelimiterRow, isHtmlBlockTagName, isIrEnvelopeCache, isJsonAnyField, isKindDirective, isLegacyShell, isMathPlaceholder, isPipeLedRow, isProvisionalKind, isReservedDirectiveSlug, isScalarArrayType, isSingleDollarMath, isTerminalKindEvent, islandEdit, itemFacts, itemSubtitle, itemTitle, joinSource, kindSchemaFromJsonSchema, kindSchemaToJsonSchema, kindSchemaToStorage, kindVerdictOf, legacyShellUses, lineIndent, listIslands, looksLikeDirectiveHead, looksLikeDisplayMath, looksLikeOpenInlineMath, makePartialKindStalenessGate, mapCodeRanges, mapInlineCodeSpans, mapPosition, mapRange, mergeResidueIntoValue, normalizeAiSchemaInput, normalizeJsonRegion, normalizeLinkLabel, nounFamily, nounLabel, nounTitleColumn, openParseSession, opensTable, pairDisplayMath, parseDirectiveSlug, parseFenceOpener, pendingDisplayMathOpener, readEnvelope, readNodeOutcomeValue, readObjectKind, readOutputRef, readPartialKindEvent, readRunResultValue, readXmlTag, reconstructRegionValue, rehydrateNodeOutcome, rehydrateRunResult, resetLegacyShellUses, resolveReferenceLinks, resolvesInContent, reuseEnvelopeIfCurrent, rowCells, runKindDualGate, runSchemaConversion, sanitizeInboundEnvelopeMetadata, sanitizeInboundPartialKindMetadata, scalarArrayItemType, schemaLayoutMode, schemaStructureDepth, setJsonRootKeyLookup, singleDollarAfter, singleDollarMathEnd, spliceSave, splitRowSegments, splitsSurrogatePair, startsHtmlBlock, startsPipelessTable, storageToKindSchema, stripKindDeep, tableContainerIndent, tableStartsAt, titleCaseToken, toCodePointOffset, toUtf16Offset, tokenizeSource, trimFenceLine, tryDecodeDirective, tryDecodeDirectiveContent, unescapeCellPipes, validateBlockSchemaSavePlan, validateStructuralLeg, withRootKind, xmlDiscriminator };
7922
7925
  //# sourceMappingURL=index.js.map
7923
7926
  //# sourceMappingURL=index.js.map