@beyondwork/docx-react-component 1.0.131 → 1.0.133
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/api/public-types.cjs +837 -224
- package/dist/api/public-types.d.cts +2 -2
- package/dist/api/public-types.d.ts +2 -2
- package/dist/api/public-types.js +5 -3
- package/dist/api/v3.cjs +9679 -7492
- package/dist/api/v3.d.cts +3 -3
- package/dist/api/v3.d.ts +3 -3
- package/dist/api/v3.js +10 -10
- package/dist/{canonical-document-BMtONpgf.d.cts → canonical-document-CfZIc-fC.d.cts} +1 -1
- package/dist/{canonical-document-BMtONpgf.d.ts → canonical-document-CfZIc-fC.d.ts} +1 -1
- package/dist/{chunk-7G5GR3VV.js → chunk-224TSMEB.js} +635 -89
- package/dist/{chunk-YLL7MF5C.js → chunk-3JEE5RJU.js} +103 -135
- package/dist/{chunk-35RHOE6I.js → chunk-57HTKX3P.js} +10 -1162
- package/dist/{chunk-A66ZVUAT.js → chunk-5KTJKTNE.js} +236 -10
- package/dist/{chunk-THVM6EP5.js → chunk-CVSD3UNK.js} +1322 -102
- package/dist/{chunk-VRKK2CSZ.js → chunk-EFEW7BTT.js} +2 -2
- package/dist/{chunk-KNHMXKC6.js → chunk-INLRCC4N.js} +2 -2
- package/dist/{chunk-HYHCRMR7.js → chunk-KL4TZSZV.js} +1 -1
- package/dist/{chunk-T5YYFDZB.js → chunk-MQ5GAJ54.js} +68 -39
- package/dist/{chunk-CI2TD3T4.js → chunk-NJFKPDNG.js} +216 -2
- package/dist/{chunk-WZDKNF37.js → chunk-OTRVGNZQ.js} +2934 -1815
- package/dist/{chunk-4YCWECLZ.js → chunk-PZIEOEJZ.js} +1 -1
- package/dist/{chunk-PHMWH23E.js → chunk-QTRJLKR2.js} +1 -1
- package/dist/{chunk-QXKQPUOM.js → chunk-REFHJ2FN.js} +3 -3
- package/dist/{chunk-ZVC23LKV.js → chunk-RP76USJE.js} +1 -1
- package/dist/{chunk-3YCQM2RV.js → chunk-S3PEKX6H.js} +249 -45
- package/dist/{chunk-M7YRJX6V.js → chunk-T66OS7MN.js} +8 -3
- package/dist/{chunk-DGA7M77X.js → chunk-V2JF42SI.js} +2 -2
- package/dist/{chunk-Q7Y57KOK.js → chunk-WDDFU2N2.js} +2 -2
- package/dist/{chunk-A3GSNB4G.js → chunk-XBQFDBXE.js} +147 -13
- package/dist/{chunk-6TBLDBCL.js → chunk-ZFCZ7XXH.js} +1 -1
- package/dist/compare.d.cts +1 -1
- package/dist/compare.d.ts +1 -1
- package/dist/core/commands/formatting-commands.d.cts +2 -2
- package/dist/core/commands/formatting-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.cjs +344 -20
- package/dist/core/commands/image-commands.d.cts +2 -2
- package/dist/core/commands/image-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.js +5 -5
- package/dist/core/commands/section-layout-commands.d.cts +2 -2
- package/dist/core/commands/section-layout-commands.d.ts +2 -2
- package/dist/core/commands/style-commands.d.cts +2 -2
- package/dist/core/commands/style-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.cjs +344 -20
- package/dist/core/commands/table-structure-commands.d.cts +2 -2
- package/dist/core/commands/table-structure-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.js +4 -4
- package/dist/core/commands/text-commands.cjs +411 -58
- package/dist/core/commands/text-commands.d.cts +13 -2
- package/dist/core/commands/text-commands.d.ts +13 -2
- package/dist/core/commands/text-commands.js +5 -5
- package/dist/core/selection/mapping.d.cts +2 -2
- package/dist/core/selection/mapping.d.ts +2 -2
- package/dist/core/state/editor-state.d.cts +2 -2
- package/dist/core/state/editor-state.d.ts +2 -2
- package/dist/index.cjs +7199 -4004
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +814 -120
- package/dist/io/docx-session.cjs +7 -2
- package/dist/io/docx-session.d.cts +4 -4
- package/dist/io/docx-session.d.ts +4 -4
- package/dist/io/docx-session.js +4 -4
- package/dist/legal.d.cts +1 -1
- package/dist/legal.d.ts +1 -1
- package/dist/legal.js +3 -3
- package/dist/{loader-DiY_ZgKl.d.cts → loader-B2H99237.d.cts} +3 -3
- package/dist/{loader-B-aL5HGD.d.ts → loader-DfTjqVwn.d.ts} +3 -3
- package/dist/{public-types-gvubspUI.d.cts → public-types-B5lOUIrP.d.ts} +930 -338
- package/dist/{public-types-DyqnxxO9.d.ts → public-types-S8gTYwKo.d.cts} +930 -338
- package/dist/public-types.cjs +837 -224
- package/dist/public-types.d.cts +2 -2
- package/dist/public-types.d.ts +2 -2
- package/dist/public-types.js +5 -3
- package/dist/runtime/collab.d.cts +3 -3
- package/dist/runtime/collab.d.ts +3 -3
- package/dist/runtime/document-runtime.cjs +1403 -438
- package/dist/runtime/document-runtime.d.cts +2 -2
- package/dist/runtime/document-runtime.d.ts +2 -2
- package/dist/runtime/document-runtime.js +14 -14
- package/dist/{session-CDB0hohT.d.ts → session-CBDIOYXA.d.ts} +3 -3
- package/dist/{session-BUN6B-Vj.d.cts → session-CR2A1hGZ.d.cts} +3 -3
- package/dist/session.cjs +7 -2
- package/dist/session.d.cts +5 -5
- package/dist/session.d.ts +5 -5
- package/dist/session.js +5 -5
- package/dist/tailwind.cjs +905 -322
- package/dist/tailwind.d.cts +2 -2
- package/dist/tailwind.d.ts +2 -2
- package/dist/tailwind.js +7 -7
- package/dist/{types-VWH6CRvG.d.ts → types-B-90ywjU.d.ts} +2 -2
- package/dist/{types-C4bz3kDU.d.cts → types-yty2K-hk.d.cts} +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.js +4 -4
- package/dist/ui-tailwind.cjs +905 -322
- package/dist/ui-tailwind.d.cts +4 -3
- package/dist/ui-tailwind.d.ts +4 -3
- package/dist/ui-tailwind.js +7 -7
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as Y from 'yjs';
|
|
4
4
|
import * as y_protocols_awareness from 'y-protocols/awareness';
|
|
5
5
|
import { Awareness } from 'y-protocols/awareness';
|
|
6
|
-
import { S as SectionProperties, f as PersistedEditorSnapshotVersion, g as CDS_SCHEMA_VERSION, I as ISO8601DateTime, C as CanonicalDocument, h as CompatibilityReportVersion, i as Base64, M as ModelValidationIssue, j as CommentThread, k as CommentEntry, l as CommentResolution, m as RevisionMetadataRecord$1, n as RevisionRecord$1, p as CanonicalSourceRef, q as SdtDataBindingState, F as FieldFamily$1, r as FieldRefreshStatus$1, T as TocRegion, s as CanonicalAnchor, t as PreserveOnlyObjectSizing, u as TableCellNode, B as BlockNode, v as TableLook, w as TableStyleFormatting, x as TableWidth, y as TableBorders, z as TableStyleConditionalRegion, A as TableCellBorders, E as CellShading, G as TextMark, H as Mutable, J as ParagraphNode, K as TableIndent, L as TableCellMargins, N as TableNode, Q as FieldRegistryEntry, U as FootnoteProperties, V as EndnoteProperties, W as CanonicalTheme, X as InlineNode, Y as
|
|
6
|
+
import { S as SectionProperties, f as PersistedEditorSnapshotVersion, g as CDS_SCHEMA_VERSION, I as ISO8601DateTime, C as CanonicalDocument, h as CompatibilityReportVersion, i as Base64, M as ModelValidationIssue, j as CommentThread, k as CommentEntry, l as CommentResolution, m as RevisionMetadataRecord$1, n as RevisionRecord$1, p as CanonicalSourceRef, q as SdtDataBindingState, F as FieldFamily$1, r as FieldRefreshStatus$1, T as TocRegion, s as CanonicalAnchor, t as PreserveOnlyObjectSizing, u as TableCellNode, B as BlockNode, v as TableLook, w as TableStyleFormatting, x as TableWidth, y as TableBorders, z as TableStyleConditionalRegion, A as TableCellBorders, E as CellShading, G as TextMark, H as Mutable, J as ParagraphNode, K as TableIndent, L as TableCellMargins, N as TableNode, Q as FieldRegistryEntry, U as FootnoteProperties, V as EndnoteProperties, W as CanonicalTheme, X as InlineNode, Y as NumberingLevelParagraphGeometry, Z as ParagraphSpacing, _ as ParagraphIndentation, $ as TabStop, a0 as CanonicalRunFormatting, a1 as NumPicBullet, a2 as CanonicalParagraphFormatting, a3 as FillSpec, a4 as TextProperties, a5 as StrokeSpec, a6 as ChartModel, a7 as ResolvedTheme, a8 as ColorRef, a9 as SupportedFieldFamily$1, aa as HeaderDocument, ab as FooterDocument, ac as ParagraphBorders } from './canonical-document-CfZIc-fC.cjs';
|
|
7
7
|
import * as prosemirror_state from 'prosemirror-state';
|
|
8
8
|
import { Command } from 'prosemirror-state';
|
|
9
9
|
import { Schema } from 'prosemirror-model';
|
|
@@ -124,7 +124,7 @@ type ProductSectionBreakType = "nextPage" | "continuous" | "evenPage" | "oddPage
|
|
|
124
124
|
* kinds; the builder then asks the registry for every action whose
|
|
125
125
|
* `targetKinds` set includes at least one of the resolved kinds.
|
|
126
126
|
*/
|
|
127
|
-
type TargetKind = "plain-text" | "table-cell" | "table-row" | "table-column" | "table-whole" | "image" | "object" | "hyperlink" | "comment-anchor" | "suggestion" | "opaque-block" | "template-slot" | "scope-anchor";
|
|
127
|
+
type TargetKind = "plain-text" | "list-item" | "table-cell" | "table-row" | "table-column" | "table-whole" | "image" | "object" | "hyperlink" | "generated-field" | "comment-anchor" | "suggestion" | "opaque-block" | "template-slot" | "scope-anchor";
|
|
128
128
|
/**
|
|
129
129
|
* Host callbacks the editor shell passes down to the registry. All
|
|
130
130
|
* fields are optional — the registry's `when()` predicates filter out
|
|
@@ -187,6 +187,7 @@ interface EditorActionHostCallbacks {
|
|
|
187
187
|
readonly onEditHyperlink?: () => void;
|
|
188
188
|
readonly onRemoveHyperlink?: () => void;
|
|
189
189
|
readonly onOpenHyperlink?: () => void;
|
|
190
|
+
readonly onUpdateFields?: () => void;
|
|
190
191
|
readonly onJumpToScopeInRail?: () => void;
|
|
191
192
|
readonly onOpenScopeCard?: () => void;
|
|
192
193
|
readonly onMarkScopeResolved?: () => void;
|
|
@@ -2034,8 +2035,25 @@ interface RuntimeNumberingLayoutFacts {
|
|
|
2034
2035
|
reason: "unsupported-numbering-format-decimal-fallback" | "numbering-format-range-decimal-fallback";
|
|
2035
2036
|
};
|
|
2036
2037
|
markerText?: string;
|
|
2038
|
+
markerTextPosture?: {
|
|
2039
|
+
status: "normalized";
|
|
2040
|
+
sourceText: string;
|
|
2041
|
+
renderedText: string;
|
|
2042
|
+
reason: "symbol-font-bullet-normalized";
|
|
2043
|
+
fontFamily?: string;
|
|
2044
|
+
};
|
|
2037
2045
|
markerSuffix?: "tab" | "space" | "nothing";
|
|
2038
2046
|
markerJustification?: "left" | "center" | "right" | "both" | "distribute";
|
|
2047
|
+
picBulletId?: string;
|
|
2048
|
+
picBulletMediaId?: string;
|
|
2049
|
+
pictureBulletPosture?: {
|
|
2050
|
+
status: "media-rendered" | "glyph-fallback" | "preserve-only";
|
|
2051
|
+
picBulletId: string;
|
|
2052
|
+
mediaId?: string;
|
|
2053
|
+
fallbackGlyph?: string;
|
|
2054
|
+
sourceRef?: RuntimeFieldRegionLayoutFacts["sourceRef"];
|
|
2055
|
+
reason: "picture-bullet-media-rendered" | "picture-bullet-media-unavailable" | "picture-bullet-catalog-entry-missing";
|
|
2056
|
+
};
|
|
2039
2057
|
markerLane?: {
|
|
2040
2058
|
startTwips: number;
|
|
2041
2059
|
widthTwips: number;
|
|
@@ -2257,6 +2275,12 @@ interface EditableTargetStaleCheck {
|
|
|
2257
2275
|
readonly wordParaId?: string;
|
|
2258
2276
|
readonly wordTextId?: string;
|
|
2259
2277
|
readonly sourceRef?: CanonicalSourceRef;
|
|
2278
|
+
readonly listNumberingOrigin?: "paragraph" | "paragraph-style";
|
|
2279
|
+
readonly listNumberingInstanceId?: string;
|
|
2280
|
+
readonly listAbstractNumberingId?: string;
|
|
2281
|
+
readonly listLevel?: number;
|
|
2282
|
+
readonly listOverrideHash?: string;
|
|
2283
|
+
readonly numberingCatalogHash?: string;
|
|
2260
2284
|
}
|
|
2261
2285
|
interface EditableTargetContentControlIdentity {
|
|
2262
2286
|
readonly sourceRef?: CanonicalSourceRef;
|
|
@@ -2373,11 +2397,20 @@ interface EditableTargetCanonicalAddress {
|
|
|
2373
2397
|
readonly rowRange?: EditableTargetTableRange;
|
|
2374
2398
|
readonly columnRange?: EditableTargetTableRange;
|
|
2375
2399
|
readonly sourceJoinHash?: string;
|
|
2400
|
+
readonly list?: EditableTargetListAddressIdentity;
|
|
2376
2401
|
readonly secondaryStory?: boolean;
|
|
2377
2402
|
readonly nestedTable?: boolean;
|
|
2378
2403
|
readonly insideSdt?: boolean;
|
|
2379
2404
|
readonly resolver?: EditableTargetCanonicalAddressResolverMetadata;
|
|
2380
2405
|
}
|
|
2406
|
+
interface EditableTargetListAddressIdentity {
|
|
2407
|
+
readonly numberingOrigin: "paragraph" | "paragraph-style";
|
|
2408
|
+
readonly numberingInstanceId: string;
|
|
2409
|
+
readonly abstractNumberingId?: string;
|
|
2410
|
+
readonly level: number;
|
|
2411
|
+
readonly overrideHash?: string;
|
|
2412
|
+
readonly numberingCatalogHash: string;
|
|
2413
|
+
}
|
|
2381
2414
|
interface EditableTargetAddressRangeBoundary {
|
|
2382
2415
|
readonly boundaryKind: "table-grid" | "cell-fragment" | "list-item-text" | "field-result" | "field-region" | "hyperlink-display" | "bookmark-content" | "hyperlink-destination" | "bookmark-anchor";
|
|
2383
2416
|
readonly from?: number;
|
|
@@ -3969,6 +4002,14 @@ interface PagePatchEntry {
|
|
|
3969
4002
|
overlayLaneChanges: readonly string[];
|
|
3970
4003
|
reason: PagePatchReason;
|
|
3971
4004
|
}
|
|
4005
|
+
interface PagePatchPlanOptions {
|
|
4006
|
+
layoutRevision?: number;
|
|
4007
|
+
geometryRevision?: number;
|
|
4008
|
+
mountedPageIds?: readonly string[];
|
|
4009
|
+
requestedMountPageIds?: readonly string[];
|
|
4010
|
+
reason?: PagePatchReason;
|
|
4011
|
+
}
|
|
4012
|
+
declare function createPagePatchPlan(prev: RenderFrame | null, next: RenderFrame, diff?: RenderFrameDiff, options?: PagePatchPlanOptions): PagePatchPlan;
|
|
3972
4013
|
|
|
3973
4014
|
interface RenderFrame {
|
|
3974
4015
|
/** Revision stamp the kernel used to build this frame. */
|
|
@@ -4515,6 +4556,21 @@ interface GeometryNumberingFormatPosture {
|
|
|
4515
4556
|
renderedFormat: "decimal";
|
|
4516
4557
|
reason: "unsupported-numbering-format-decimal-fallback" | "numbering-format-range-decimal-fallback";
|
|
4517
4558
|
}
|
|
4559
|
+
interface GeometryNumberingMarkerTextPosture {
|
|
4560
|
+
status: "normalized";
|
|
4561
|
+
sourceText: string;
|
|
4562
|
+
renderedText: string;
|
|
4563
|
+
reason: "symbol-font-bullet-normalized";
|
|
4564
|
+
fontFamily?: string;
|
|
4565
|
+
}
|
|
4566
|
+
interface GeometryNumberingPictureBulletPosture {
|
|
4567
|
+
status: "media-rendered" | "glyph-fallback" | "preserve-only";
|
|
4568
|
+
picBulletId: string;
|
|
4569
|
+
mediaId?: string;
|
|
4570
|
+
fallbackGlyph?: string;
|
|
4571
|
+
sourceRef?: CanonicalSourceRef;
|
|
4572
|
+
reason: "picture-bullet-media-rendered" | "picture-bullet-media-unavailable" | "picture-bullet-catalog-entry-missing";
|
|
4573
|
+
}
|
|
4518
4574
|
interface GeometryNumberingMarkerBoundary {
|
|
4519
4575
|
generatedContent: "numbering-marker";
|
|
4520
4576
|
caretPolicy: "snap-to-authored-text";
|
|
@@ -4572,9 +4628,13 @@ interface SemanticDisplayEntry {
|
|
|
4572
4628
|
numberingCanonicalAddressKey?: string;
|
|
4573
4629
|
numberingListAddressKey?: string;
|
|
4574
4630
|
numberingMarkerText?: string;
|
|
4631
|
+
numberingMarkerTextPosture?: GeometryNumberingMarkerTextPosture;
|
|
4575
4632
|
numberingMarkerSuffix?: "tab" | "space" | "nothing";
|
|
4576
4633
|
numberingFormat?: string;
|
|
4577
4634
|
numberingFormatPosture?: GeometryNumberingFormatPosture;
|
|
4635
|
+
numberingPicBulletId?: string;
|
|
4636
|
+
numberingPicBulletMediaId?: string;
|
|
4637
|
+
numberingPictureBulletPosture?: GeometryNumberingPictureBulletPosture;
|
|
4578
4638
|
numberingUnavailableReasons?: readonly GeometryNumberingUnavailableReason[];
|
|
4579
4639
|
markerGlyphRect?: GeometryRect$1;
|
|
4580
4640
|
markerLaneRect?: GeometryRect$1;
|
|
@@ -5640,6 +5700,25 @@ declare function removeTableRowPure(table: TableNode, rowIndex: number): TableNo
|
|
|
5640
5700
|
*/
|
|
5641
5701
|
declare function removeCellFromRow(table: TableNode, rowIndex: number, cellIndex: number): TableNode;
|
|
5642
5702
|
|
|
5703
|
+
/**
|
|
5704
|
+
* Optional callbacks the runtime can wire into `applyTextTransaction` to
|
|
5705
|
+
* surface scope-surface reuse decisions in perf telemetry. Adding a counter
|
|
5706
|
+
* here is the brittleness guard that keeps future helpers honest: if a new
|
|
5707
|
+
* resolver bypasses {@link ScopeSurfaceCache} and calls
|
|
5708
|
+
* `createEditorSurfaceSnapshot` directly on the typing path, the runtime's
|
|
5709
|
+
* `surface.scope.builds` counter will jump and tests/benches catch it.
|
|
5710
|
+
*/
|
|
5711
|
+
interface ScopeSurfaceTelemetry {
|
|
5712
|
+
/** Fires once per `applyTextTransaction` call when the precomputed surface
|
|
5713
|
+
* passed by the caller satisfies the freshness contract and is reused. */
|
|
5714
|
+
readonly onPrecomputedSurfaceHit?: () => void;
|
|
5715
|
+
/** Fires once per `applyTextTransaction` call the first time a scope helper
|
|
5716
|
+
* needs the surface and no usable precomputed one was supplied, so the
|
|
5717
|
+
* text-transaction layer builds its own (`NO_EDITABLE_TARGETS_INDEX`).
|
|
5718
|
+
* Subsequent helper calls in the same transaction reuse the cached value
|
|
5719
|
+
* without firing this callback again. */
|
|
5720
|
+
readonly onScopeSurfaceBuild?: () => void;
|
|
5721
|
+
}
|
|
5643
5722
|
interface TextTransactionResult {
|
|
5644
5723
|
document: CanonicalDocumentEnvelope$1;
|
|
5645
5724
|
selection: SelectionSnapshot$1;
|
|
@@ -6060,6 +6139,19 @@ interface CommandExecutionContext {
|
|
|
6060
6139
|
* callers that cannot produce it.
|
|
6061
6140
|
*/
|
|
6062
6141
|
renderSnapshot?: RuntimeRenderSnapshot;
|
|
6142
|
+
/**
|
|
6143
|
+
* Optional pre-built scope surface for the canonical text-transaction
|
|
6144
|
+
* layer (`applyTextTransaction`). Populated automatically by
|
|
6145
|
+
* {@link withCommandTextTarget} from `renderSnapshot.surface` so the L02
|
|
6146
|
+
* text transaction reuses the runtime's cached surface instead of
|
|
6147
|
+
* rebuilding it on every keystroke. Layer separation is preserved: text
|
|
6148
|
+
* commands accept this as an optional hint and remain functional when it
|
|
6149
|
+
* is absent.
|
|
6150
|
+
*/
|
|
6151
|
+
precomputedSurface?: EditorSurfaceSnapshot;
|
|
6152
|
+
/** Optional perf-counter callbacks the runtime wires in to surface the
|
|
6153
|
+
* scope-surface reuse rate; see `text-transaction.ScopeSurfaceTelemetry`. */
|
|
6154
|
+
surfaceTelemetry?: ScopeSurfaceTelemetry;
|
|
6063
6155
|
activeStorySize?: number;
|
|
6064
6156
|
activeStoryKey?: string;
|
|
6065
6157
|
editableTargetCache?: EditableTargetBlockCache;
|
|
@@ -7054,6 +7146,51 @@ interface ScopeBundle$1 {
|
|
|
7054
7146
|
readonly evidence: ScopeBundleEvidence;
|
|
7055
7147
|
readonly generatedAtUtc: string;
|
|
7056
7148
|
}
|
|
7149
|
+
type ScopeEditableGraphContentModel = "text" | "value" | "structure" | "object" | "metadata" | "mixed";
|
|
7150
|
+
type ScopeEditableGraphTargetFamily = "text" | "value" | "structure" | "object" | "metadata" | "preservation";
|
|
7151
|
+
type ScopeEditableGraphTargetStatus = "ready" | "needs-command" | "preserve" | "diagnostic";
|
|
7152
|
+
interface ScopeEditableGraphTarget {
|
|
7153
|
+
readonly targetId: string;
|
|
7154
|
+
readonly family: ScopeEditableGraphTargetFamily;
|
|
7155
|
+
readonly kind: string;
|
|
7156
|
+
readonly relation?: ScopeEditableTargetRelation;
|
|
7157
|
+
readonly status: ScopeEditableGraphTargetStatus;
|
|
7158
|
+
readonly commandFamily?: string;
|
|
7159
|
+
readonly actionHandle?: string;
|
|
7160
|
+
readonly canonicalAddress?: EditableTargetCanonicalAddress;
|
|
7161
|
+
readonly readback?: ScopeEditableTargetReadbackEvidence;
|
|
7162
|
+
readonly blockers: readonly string[];
|
|
7163
|
+
readonly warnings: readonly string[];
|
|
7164
|
+
readonly intents: readonly ScopeEditableTargetRuntimeCommandIntent[];
|
|
7165
|
+
}
|
|
7166
|
+
interface ScopeEditableGraphOperation {
|
|
7167
|
+
readonly kind: "replace-text" | "replace-value" | "edit-structure" | "edit-object" | "attach-metadata";
|
|
7168
|
+
readonly status: "ready" | "needs-target" | "needs-command";
|
|
7169
|
+
readonly targetIds: readonly string[];
|
|
7170
|
+
readonly commandFamilies: readonly string[];
|
|
7171
|
+
}
|
|
7172
|
+
interface ScopeEditableGraphReadiness {
|
|
7173
|
+
readonly status: "ready" | "partial" | "metadata-only";
|
|
7174
|
+
readonly readyTargetCount: number;
|
|
7175
|
+
readonly needsCommandTargetCount: number;
|
|
7176
|
+
readonly preserveTargetCount: number;
|
|
7177
|
+
readonly blockers: readonly string[];
|
|
7178
|
+
readonly warnings: readonly string[];
|
|
7179
|
+
}
|
|
7180
|
+
interface ScopeEditableGraph {
|
|
7181
|
+
readonly scope: ScopeHandle;
|
|
7182
|
+
readonly contentModel: ScopeEditableGraphContentModel;
|
|
7183
|
+
readonly targets: readonly ScopeEditableGraphTarget[];
|
|
7184
|
+
readonly textTargets: readonly ScopeEditableGraphTarget[];
|
|
7185
|
+
readonly valueTargets: readonly ScopeEditableGraphTarget[];
|
|
7186
|
+
readonly structureTargets: readonly ScopeEditableGraphTarget[];
|
|
7187
|
+
readonly objectTargets: readonly ScopeEditableGraphTarget[];
|
|
7188
|
+
readonly metadataTargets: readonly ScopeEditableGraphTarget[];
|
|
7189
|
+
readonly preservationTargets: readonly ScopeEditableGraphTarget[];
|
|
7190
|
+
readonly operations: readonly ScopeEditableGraphOperation[];
|
|
7191
|
+
readonly readiness: ScopeEditableGraphReadiness;
|
|
7192
|
+
readonly summary: string;
|
|
7193
|
+
}
|
|
7057
7194
|
type ScopeReplacementOperationKind = "replace" | "insert-before" | "insert-after";
|
|
7058
7195
|
/**
|
|
7059
7196
|
* Compiler-internal proposal operation. Public replacement surfaces accept
|
|
@@ -10125,6 +10262,118 @@ interface AIActionPolicy {
|
|
|
10125
10262
|
fallbackBehavior: 'fail-safe' | 'user-prompt' | 'degrade-gracefully' | 'block-entirely';
|
|
10126
10263
|
}
|
|
10127
10264
|
|
|
10265
|
+
/**
|
|
10266
|
+
* Slice 5 — replacement apply pipeline.
|
|
10267
|
+
*
|
|
10268
|
+
* Composition (honouring §7 of the Slice-5 handover):
|
|
10269
|
+
* 1. Re-resolve + re-compile the target scope against live state.
|
|
10270
|
+
* 2. Re-run `composeScopeValidation` — never trust a propose-time
|
|
10271
|
+
* verdict; Yjs remote or local edits may have moved since propose.
|
|
10272
|
+
* 3. When `validation.safe === false`, refuse with a typed result and
|
|
10273
|
+
* do NOT dispatch anything.
|
|
10274
|
+
* 4. Compile the per-kind `RuntimeOperationPlan` (no-op kinds land as
|
|
10275
|
+
* `compile-refused:<kind>` blockers).
|
|
10276
|
+
* 5. Dispatch through `runtimeSink.applyScopeReplacement(plan)`.
|
|
10277
|
+
* 6. Emit exactly one `ScopeActionAudit` on the `scope` telemetry
|
|
10278
|
+
* channel (S5).
|
|
10279
|
+
*
|
|
10280
|
+
* The "runtimeSink" parameter is a narrow interface rather than
|
|
10281
|
+
* `DocumentRuntime` so the apply pipeline stays testable and doesn't
|
|
10282
|
+
* drag the full runtime surface into the compiler.
|
|
10283
|
+
*/
|
|
10284
|
+
|
|
10285
|
+
interface ApplyScopeReplacementResult {
|
|
10286
|
+
readonly applied: boolean;
|
|
10287
|
+
readonly reason?: string;
|
|
10288
|
+
readonly validation: ValidationResult$1;
|
|
10289
|
+
readonly audit?: ScopeActionAudit;
|
|
10290
|
+
readonly plan?: RuntimeOperationPlan;
|
|
10291
|
+
readonly scope?: SemanticScope;
|
|
10292
|
+
/**
|
|
10293
|
+
* Gap A (coord-08 post-Slice-7 integration) — revision IDs authored
|
|
10294
|
+
* by the runtime during this apply. Populated for suggest-mode
|
|
10295
|
+
* dispatch (where `text-insert-tracked` / `text-delete-tracked`
|
|
10296
|
+
* commands author `RevisionRecord` entries in
|
|
10297
|
+
* `review.revisions`); empty array for direct-edit (no revisions
|
|
10298
|
+
* authored). Agents can pass each id into `ai.acceptRevision` /
|
|
10299
|
+
* `ai.rejectRevision` to land or discard the proposal without
|
|
10300
|
+
* having to diff the runtime's revision map themselves.
|
|
10301
|
+
*/
|
|
10302
|
+
readonly authoredRevisionIds: readonly string[];
|
|
10303
|
+
}
|
|
10304
|
+
|
|
10305
|
+
/**
|
|
10306
|
+
* Resolved numbering geometry. **All numeric distance values are in OOXML
|
|
10307
|
+
* twips (1/1440 in)** — the same unit `w:ind`/`w:tabs`/`w:spacing` carry on
|
|
10308
|
+
* the parse side. Render consumers convert to display units at the boundary
|
|
10309
|
+
* (`pt = twips / 20`, `px = twips × FRAME_PX_PER_TWIP_AT_96DPI`) — see
|
|
10310
|
+
* `src/ui-tailwind/editor-surface/pm-schema.ts:331` and
|
|
10311
|
+
* `tw-page-block-view.helpers.ts:179` for the canonical conversion sites.
|
|
10312
|
+
* Do not pre-convert here; the runtime stays in OOXML units so cache keys
|
|
10313
|
+
* and serializer round-trips stay byte-identical.
|
|
10314
|
+
*/
|
|
10315
|
+
interface ResolvedNumberingGeometry {
|
|
10316
|
+
markerJustification?: NumberingLevelParagraphGeometry["justification"];
|
|
10317
|
+
spacing?: ParagraphSpacing;
|
|
10318
|
+
indentation?: ParagraphIndentation;
|
|
10319
|
+
tabStops?: TabStop[];
|
|
10320
|
+
/** All fields in twips. */
|
|
10321
|
+
markerLane?: {
|
|
10322
|
+
start: number;
|
|
10323
|
+
width: number;
|
|
10324
|
+
textStart: number;
|
|
10325
|
+
};
|
|
10326
|
+
/** All fields in twips. */
|
|
10327
|
+
textColumn?: {
|
|
10328
|
+
start: number;
|
|
10329
|
+
right?: number;
|
|
10330
|
+
firstLine?: number;
|
|
10331
|
+
hanging?: number;
|
|
10332
|
+
};
|
|
10333
|
+
markerRunProperties?: CanonicalRunFormatting;
|
|
10334
|
+
}
|
|
10335
|
+
|
|
10336
|
+
interface NumberingFormatPosture {
|
|
10337
|
+
status: "approximated";
|
|
10338
|
+
requestedFormat: string;
|
|
10339
|
+
renderedFormat: "decimal";
|
|
10340
|
+
reason: "unsupported-numbering-format-decimal-fallback" | "numbering-format-range-decimal-fallback";
|
|
10341
|
+
}
|
|
10342
|
+
interface PictureBulletRenderPosture {
|
|
10343
|
+
readonly status: "media-rendered" | "glyph-fallback" | "preserve-only";
|
|
10344
|
+
readonly picBulletId: string;
|
|
10345
|
+
readonly mediaId?: string;
|
|
10346
|
+
readonly fallbackGlyph?: string;
|
|
10347
|
+
readonly sourceRef?: NumPicBullet["sourceRef"];
|
|
10348
|
+
readonly reason: "picture-bullet-media-rendered" | "picture-bullet-media-unavailable" | "picture-bullet-catalog-entry-missing";
|
|
10349
|
+
}
|
|
10350
|
+
interface MarkerTextPosture {
|
|
10351
|
+
readonly status: "normalized";
|
|
10352
|
+
readonly sourceText: string;
|
|
10353
|
+
readonly renderedText: string;
|
|
10354
|
+
readonly reason: "symbol-font-bullet-normalized";
|
|
10355
|
+
readonly fontFamily?: string;
|
|
10356
|
+
}
|
|
10357
|
+
interface NumberingPrefixResult {
|
|
10358
|
+
text: string | null;
|
|
10359
|
+
markerTextPosture?: MarkerTextPosture;
|
|
10360
|
+
level: number;
|
|
10361
|
+
format: string;
|
|
10362
|
+
formatPosture?: NumberingFormatPosture;
|
|
10363
|
+
startAt: number;
|
|
10364
|
+
suffix?: "tab" | "space" | "nothing";
|
|
10365
|
+
paragraphStyleId?: string;
|
|
10366
|
+
isLegalNumbering?: boolean;
|
|
10367
|
+
geometry: ResolvedNumberingGeometry;
|
|
10368
|
+
markerRunProperties?: CanonicalRunFormatting;
|
|
10369
|
+
/** Source picture-bullet catalog ID from `<w:lvlPicBulletId>`. */
|
|
10370
|
+
picBulletId?: string;
|
|
10371
|
+
/** Resolved media-catalog ID for picture-bullet images. Set when the numbering level has `picBulletId` and the catalog resolves it to a `NumPicBullet` entry with a `mediaId`. */
|
|
10372
|
+
picBulletMediaId?: string;
|
|
10373
|
+
/** Rendering posture for picture bullets. Mutation support remains stricter than display posture. */
|
|
10374
|
+
pictureBulletPosture?: PictureBulletRenderPosture;
|
|
10375
|
+
}
|
|
10376
|
+
|
|
10128
10377
|
/**
|
|
10129
10378
|
* Layer 03 — effective-formatting types.
|
|
10130
10379
|
*
|
|
@@ -10189,9 +10438,12 @@ type EffectiveTableFormatting = ResolvedTableStyleResolution;
|
|
|
10189
10438
|
* of reading numbering level + paragraph indentation separately.
|
|
10190
10439
|
* - `pictureBulletRef` — relationship id for picture-bullet glyph
|
|
10191
10440
|
* when the numbering format is `"bullet"` with a pic mode.
|
|
10441
|
+
* - `markerTextPosture` — L03 display normalization facts for marker text.
|
|
10442
|
+
* - `pictureBulletPosture` — L03 display posture for picture bullets.
|
|
10192
10443
|
*/
|
|
10193
10444
|
interface EffectiveNumbering {
|
|
10194
10445
|
readonly marker?: string;
|
|
10446
|
+
readonly markerTextPosture?: NumberingPrefixResult["markerTextPosture"];
|
|
10195
10447
|
readonly level?: number;
|
|
10196
10448
|
readonly markerRunFormatting?: CanonicalRunFormatting;
|
|
10197
10449
|
readonly indentation?: {
|
|
@@ -10201,6 +10453,7 @@ interface EffectiveNumbering {
|
|
|
10201
10453
|
readonly tab?: number;
|
|
10202
10454
|
};
|
|
10203
10455
|
readonly pictureBulletRef?: string;
|
|
10456
|
+
readonly pictureBulletPosture?: NumberingPrefixResult["pictureBulletPosture"];
|
|
10204
10457
|
}
|
|
10205
10458
|
/**
|
|
10206
10459
|
* Field-display output. `displayText` is the rendered string (e.g.
|
|
@@ -10806,141 +11059,562 @@ declare function createListsFamily(runtime: RuntimeApiHandle): {
|
|
|
10806
11059
|
};
|
|
10807
11060
|
|
|
10808
11061
|
/**
|
|
10809
|
-
*
|
|
11062
|
+
* Compact AI-facing pointer to an emitted ScopeActionAudit.
|
|
10810
11063
|
*
|
|
10811
|
-
* The
|
|
10812
|
-
*
|
|
10813
|
-
*
|
|
10814
|
-
* the requested scope.
|
|
11064
|
+
* The full audit bundle remains on the `scope` telemetry channel. Mutation
|
|
11065
|
+
* return values expose only enough provenance for agents to cite the action
|
|
11066
|
+
* and correlate it with telemetry.
|
|
10815
11067
|
*/
|
|
10816
11068
|
|
|
10817
|
-
interface
|
|
10818
|
-
readonly
|
|
10819
|
-
readonly
|
|
10820
|
-
readonly
|
|
10821
|
-
readonly
|
|
10822
|
-
readonly sliceCount: number;
|
|
10823
|
-
readonly lineCount: number;
|
|
10824
|
-
readonly anchorCount: number;
|
|
10825
|
-
readonly hitTargetCount: number;
|
|
10826
|
-
readonly semanticEntryCount: number;
|
|
10827
|
-
readonly editableTargetCount: number;
|
|
10828
|
-
readonly replacementEnvelopeCount: number;
|
|
10829
|
-
readonly objectHandleCount: number;
|
|
10830
|
-
readonly precision: {
|
|
10831
|
-
readonly exact: number;
|
|
10832
|
-
readonly "within-tolerance": number;
|
|
10833
|
-
readonly heuristic: number;
|
|
10834
|
-
};
|
|
10835
|
-
}
|
|
10836
|
-
interface AiPe2DocumentEvidence {
|
|
10837
|
-
readonly geometry: AiPe2GeometryCoverageEvidence;
|
|
10838
|
-
readonly layout: AiPe2LayoutEvidence;
|
|
10839
|
-
readonly oracle: AiPe2OracleEvidence;
|
|
10840
|
-
}
|
|
10841
|
-
interface AiPe2ScopeReplacementEnvelopeEvidence {
|
|
10842
|
-
readonly status: GeometryRehydrationStatus;
|
|
10843
|
-
readonly precision: GeometryPrecision;
|
|
10844
|
-
readonly rectCount: number;
|
|
10845
|
-
readonly pageIds?: readonly string[];
|
|
10846
|
-
readonly sourceIdentity?: GeometrySourceIdentity;
|
|
10847
|
-
}
|
|
10848
|
-
interface AiPe2ScopeEvidence {
|
|
10849
|
-
readonly geometry: {
|
|
10850
|
-
readonly coverage: AiPe2GeometryCoverageEvidence;
|
|
10851
|
-
readonly replacementEnvelope?: AiPe2ScopeReplacementEnvelopeEvidence;
|
|
10852
|
-
readonly reason?: "geometry-index-unavailable" | "scope-envelope-not-found";
|
|
10853
|
-
};
|
|
10854
|
-
readonly layout: AiPe2LayoutEvidence;
|
|
10855
|
-
readonly oracle: AiPe2OracleEvidence;
|
|
10856
|
-
}
|
|
10857
|
-
interface AiPe2LayoutDivergenceEvidence {
|
|
10858
|
-
readonly divergenceId: string;
|
|
10859
|
-
readonly kind: string;
|
|
10860
|
-
readonly source: string;
|
|
10861
|
-
readonly severity: string;
|
|
10862
|
-
readonly message: string;
|
|
10863
|
-
readonly regionKinds?: readonly string[];
|
|
10864
|
-
readonly fragmentIds?: readonly string[];
|
|
10865
|
-
readonly objectIds?: readonly string[];
|
|
10866
|
-
}
|
|
10867
|
-
interface AiPe2LayoutEvidence {
|
|
10868
|
-
readonly status: "realized" | "unavailable";
|
|
10869
|
-
readonly pageCount: number;
|
|
10870
|
-
readonly pageIds: readonly string[];
|
|
10871
|
-
readonly pagesWithDivergences: readonly string[];
|
|
10872
|
-
readonly divergenceIds: readonly string[];
|
|
10873
|
-
readonly divergences: readonly AiPe2LayoutDivergenceEvidence[];
|
|
10874
|
-
readonly reason?: "scope-page-evidence-not-found";
|
|
10875
|
-
}
|
|
10876
|
-
type AiPe2OracleVerdict = "match" | "divergent" | "blocked" | "oracle-incomplete" | "runtime-projection-not-wired" | "not-compared";
|
|
10877
|
-
interface AiPe2GraphOracleReference {
|
|
10878
|
-
readonly mode: "static" | "live";
|
|
10879
|
-
readonly cacheKey: string;
|
|
10880
|
-
readonly lane?: string;
|
|
10881
|
-
readonly docId?: string;
|
|
10882
|
-
readonly pageCount?: number;
|
|
10883
|
-
readonly paragraphCount?: number;
|
|
10884
|
-
readonly pdfSha256?: string;
|
|
10885
|
-
readonly sourceSha256?: string;
|
|
10886
|
-
readonly backendIdentityTag?: string;
|
|
10887
|
-
}
|
|
10888
|
-
interface AiPe2OracleEvidence {
|
|
10889
|
-
readonly status: "available" | "not-wired";
|
|
10890
|
-
readonly runIds: readonly string[];
|
|
10891
|
-
readonly divergenceIds: readonly string[];
|
|
10892
|
-
readonly graphOracleReferences?: readonly AiPe2GraphOracleReference[];
|
|
10893
|
-
readonly verdict?: AiPe2OracleVerdict;
|
|
10894
|
-
readonly reason?: "truth-adapter-unavailable" | "truth-adapter-error";
|
|
10895
|
-
}
|
|
10896
|
-
interface AiPe2OracleEvidenceProviderInput {
|
|
10897
|
-
readonly documentId: string;
|
|
10898
|
-
readonly scopeId?: string;
|
|
10899
|
-
readonly pageIds: readonly string[];
|
|
10900
|
-
}
|
|
10901
|
-
type AiPe2OracleEvidenceProvider = (input: AiPe2OracleEvidenceProviderInput) => AiPe2OracleEvidence | null | undefined;
|
|
10902
|
-
interface AiPe2EvidenceOptions {
|
|
10903
|
-
readonly oracle?: AiPe2OracleEvidenceProvider;
|
|
11069
|
+
interface AiActionAuditReference {
|
|
11070
|
+
readonly actionId: string;
|
|
11071
|
+
readonly actorId: string;
|
|
11072
|
+
readonly origin: ScopeActionAudit["origin"];
|
|
11073
|
+
readonly emittedAtUtc: string;
|
|
10904
11074
|
}
|
|
10905
11075
|
|
|
10906
11076
|
/**
|
|
10907
|
-
* @endStateApi v3 — `ai.
|
|
11077
|
+
* @endStateApi v3 — `ai.attach` family.
|
|
11078
|
+
*
|
|
11079
|
+
* attachExplanation (live-with-adapter) / createIssue (live-with-adapter).
|
|
11080
|
+
*
|
|
11081
|
+
* Both route through the Layer-08 compiler-service facade
|
|
11082
|
+
* (`createScopeCompilerService`), which wraps Layer-06's
|
|
11083
|
+
* `attachScopeMetadata` writer. Metadata persists as
|
|
11084
|
+
* `WorkflowMetadataEntry` records with stable `metadataId` prefixes
|
|
11085
|
+
* (`ai.explanation`, `ai.issue`).
|
|
10908
11086
|
*
|
|
10909
|
-
*
|
|
10910
|
-
*
|
|
10911
|
-
*
|
|
11087
|
+
* Coverage: /06's derived-scope resolver (2026-04-23, `1a3d127e`) lets
|
|
11088
|
+
* both paths succeed on paragraph-like derived scopeIds (`para:*`,
|
|
11089
|
+
* `heading:*`, `li:*`) in addition to overlay scopes — no overlay
|
|
11090
|
+
* promotion step required. Non-paragraph-like derived table/field scopeIds,
|
|
11091
|
+
* comment-thread scopes, and revision scopes return `{attached: false,
|
|
11092
|
+
* reason: "scope-not-resolvable:<id>"}` / `{created: false, reason}`
|
|
11093
|
+
* — the broader prefix reflects §13c's two-stage resolution (overlay
|
|
11094
|
+
* miss then derived-resolver miss); pre-§13c was `scope-not-in-overlay:`.
|
|
10912
11095
|
*
|
|
10913
|
-
*
|
|
10914
|
-
*
|
|
11096
|
+
* Architecture A4 — every mutating function emits exactly one
|
|
11097
|
+
* `ScopeActionAudit` on the `scope` telemetry channel. The facade does
|
|
11098
|
+
* not own audit emission for metadata writes; this module does, via
|
|
11099
|
+
* `_metadata-audit.ts`. `applyReplacementScope`'s audit emission stays
|
|
11100
|
+
* inside /08's replacement pipeline. Together the three mutating
|
|
11101
|
+
* functions (`applyReplacementScope`, `attachExplanation`, `createIssue`)
|
|
11102
|
+
* carry exactly-one-audit-per-mutation coverage.
|
|
10915
11103
|
*/
|
|
10916
11104
|
|
|
10917
|
-
interface
|
|
10918
|
-
readonly
|
|
10919
|
-
readonly
|
|
10920
|
-
readonly
|
|
10921
|
-
readonly
|
|
10922
|
-
readonly kindDistribution: Readonly<Partial<Record<SemanticScopeKind, number>>>;
|
|
10923
|
-
readonly pe2Evidence: AiPe2DocumentEvidence;
|
|
11105
|
+
interface AttachExplanationInput {
|
|
11106
|
+
readonly scopeId: string;
|
|
11107
|
+
readonly explanation: string;
|
|
11108
|
+
readonly actorId?: string;
|
|
11109
|
+
readonly origin?: "ui" | "agent" | "host";
|
|
10924
11110
|
}
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
11111
|
+
interface AttachExplanationResult {
|
|
11112
|
+
readonly explanationId: string;
|
|
11113
|
+
readonly attached: boolean;
|
|
11114
|
+
readonly auditReference?: AiActionAuditReference;
|
|
11115
|
+
/**
|
|
11116
|
+
* Present when `attached: false`. Mirrors the primitive's refusal
|
|
11117
|
+
* reason (`scope-not-resolvable:<scopeId>` post-coord-06 §13c;
|
|
11118
|
+
* pre-§13c: `scope-not-in-overlay:<scopeId>`). Restored in
|
|
11119
|
+
* `cross-layer-coord-09.md §1.17` — symmetry with
|
|
11120
|
+
* `CreateIssueResult.reason`.
|
|
11121
|
+
*/
|
|
11122
|
+
readonly reason?: string;
|
|
11123
|
+
}
|
|
11124
|
+
interface CreateIssueInput {
|
|
11125
|
+
readonly scopeId: string;
|
|
11126
|
+
readonly summary: string;
|
|
11127
|
+
readonly severity?: "info" | "warning" | "error";
|
|
11128
|
+
readonly actorId?: string;
|
|
11129
|
+
readonly origin?: "ui" | "agent" | "host";
|
|
11130
|
+
}
|
|
11131
|
+
interface CreateIssueResult {
|
|
11132
|
+
readonly issueId: string;
|
|
11133
|
+
readonly created: boolean;
|
|
11134
|
+
readonly auditReference?: AiActionAuditReference;
|
|
11135
|
+
readonly reason?: string;
|
|
11136
|
+
}
|
|
11137
|
+
declare function createAttachFamily(runtime: RuntimeApiHandle): {
|
|
11138
|
+
attachExplanation(input: AttachExplanationInput): AttachExplanationResult;
|
|
11139
|
+
createIssue(input: CreateIssueInput): CreateIssueResult;
|
|
10931
11140
|
};
|
|
10932
11141
|
|
|
10933
11142
|
/**
|
|
10934
|
-
* @endStateApi v3 — `ai.
|
|
10935
|
-
*
|
|
10936
|
-
*
|
|
10937
|
-
*
|
|
10938
|
-
*
|
|
10939
|
-
*
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
11143
|
+
* @endStateApi v3 — `ai.table` family.
|
|
11144
|
+
*
|
|
11145
|
+
* Agent-facing table structure commands use opaque action handles. The AI
|
|
11146
|
+
* surface consumes Layer-08 editable-target evidence (`table-structure-action`)
|
|
11147
|
+
* and dispatches through the existing Layer-07 runtime command, without
|
|
11148
|
+
* widening broad table/row/cell replacement authority or exposing target refs.
|
|
11149
|
+
*/
|
|
11150
|
+
|
|
11151
|
+
type AiTableActionOperation = Exclude<TableOp, {
|
|
11152
|
+
readonly kind: "insert";
|
|
11153
|
+
}>;
|
|
11154
|
+
type AiTableCellTransferOperation = {
|
|
11155
|
+
readonly kind: "paste-cell-content";
|
|
11156
|
+
readonly content?: {
|
|
11157
|
+
readonly kind: "text";
|
|
11158
|
+
readonly text: string;
|
|
11159
|
+
} | {
|
|
11160
|
+
readonly kind: "structured";
|
|
11161
|
+
readonly value: unknown;
|
|
11162
|
+
};
|
|
11163
|
+
} | {
|
|
11164
|
+
readonly kind: "drop-cell-content";
|
|
11165
|
+
readonly content?: {
|
|
11166
|
+
readonly kind: "text";
|
|
11167
|
+
readonly text: string;
|
|
11168
|
+
} | {
|
|
11169
|
+
readonly kind: "structured";
|
|
11170
|
+
readonly value: unknown;
|
|
11171
|
+
};
|
|
11172
|
+
};
|
|
11173
|
+
type AiTableCallableOperation = AiTableActionOperation | AiTableCellTransferOperation;
|
|
11174
|
+
type AiTableActionOperationKind = AiTableCallableOperation["kind"];
|
|
11175
|
+
type AiTableActionTargetScope = EditableTargetTableIdentity["operationScope"];
|
|
11176
|
+
type AiTableActionHandle = string;
|
|
11177
|
+
interface ListTableActionsInput {
|
|
11178
|
+
readonly handle: ScopeHandle;
|
|
11179
|
+
readonly nowUtc: string;
|
|
11180
|
+
}
|
|
11181
|
+
interface AiTableActionDescriptor {
|
|
11182
|
+
readonly actionHandle: AiTableActionHandle;
|
|
11183
|
+
readonly family: "table-structure" | "table-text";
|
|
11184
|
+
readonly targetKind: string;
|
|
11185
|
+
readonly relation: string;
|
|
11186
|
+
readonly operationScope: AiTableActionTargetScope;
|
|
11187
|
+
readonly callableOperations: readonly AiTableActionOperationKind[];
|
|
11188
|
+
readonly selectionRequiredOperations?: readonly AiTableActionOperationKind[];
|
|
11189
|
+
readonly supportedOperations: readonly AiTableActionOperationKind[];
|
|
11190
|
+
readonly readback?: AiTableTextReadback;
|
|
11191
|
+
readonly reason: string;
|
|
11192
|
+
}
|
|
11193
|
+
interface AiTableActionListResult {
|
|
11194
|
+
readonly scopeId: string;
|
|
11195
|
+
readonly actions: readonly AiTableActionDescriptor[];
|
|
11196
|
+
readonly blockers?: readonly string[];
|
|
11197
|
+
}
|
|
11198
|
+
interface ApplyTableActionInput {
|
|
11199
|
+
readonly actionHandle: AiTableActionHandle;
|
|
11200
|
+
readonly operation: AiTableCallableOperation;
|
|
11201
|
+
/**
|
|
11202
|
+
* Optional owning scope id to include in metadata fallback instructions.
|
|
11203
|
+
* This is not used for mutation targeting.
|
|
11204
|
+
*/
|
|
11205
|
+
readonly scopeId?: string;
|
|
11206
|
+
readonly actorId?: string;
|
|
11207
|
+
readonly origin?: "ui" | "agent" | "host";
|
|
11208
|
+
readonly proposalId?: string;
|
|
11209
|
+
}
|
|
11210
|
+
interface AiTableActionBlockerDetail {
|
|
11211
|
+
readonly code: string;
|
|
11212
|
+
readonly category: "unresolved-target" | "blocked-target" | "unsupported-operation" | "runtime-noop";
|
|
11213
|
+
readonly message: string;
|
|
11214
|
+
readonly nextStep: string;
|
|
11215
|
+
readonly actionHandle?: AiTableActionHandle;
|
|
11216
|
+
readonly operation?: string;
|
|
11217
|
+
readonly operationScope?: string;
|
|
11218
|
+
}
|
|
11219
|
+
interface AiTableActionCommandReference {
|
|
11220
|
+
readonly command: "table.apply-structure" | "table.apply-text" | "fragment.insert";
|
|
11221
|
+
readonly actorId: string;
|
|
11222
|
+
readonly origin: "ui" | "agent" | "host";
|
|
11223
|
+
readonly emittedAtUtc: string;
|
|
11224
|
+
}
|
|
11225
|
+
interface AiTableActionTargetReadback {
|
|
11226
|
+
readonly actionHandle: AiTableActionHandle;
|
|
11227
|
+
readonly targetKind: string;
|
|
11228
|
+
readonly operationScope: AiTableActionTargetScope;
|
|
11229
|
+
readonly family: "table-structure" | "table-text";
|
|
11230
|
+
}
|
|
11231
|
+
interface AiTableTextReadback {
|
|
11232
|
+
readonly text: string;
|
|
11233
|
+
readonly isEmpty: boolean;
|
|
11234
|
+
}
|
|
11235
|
+
type AiTableActionPosture = "supported";
|
|
11236
|
+
interface AiTableActionSupport {
|
|
11237
|
+
readonly undo: "supported";
|
|
11238
|
+
readonly replay: "supported";
|
|
11239
|
+
readonly exportReopen: "supported";
|
|
11240
|
+
readonly audit: "command-reference";
|
|
11241
|
+
readonly emptyCell: "supported";
|
|
11242
|
+
}
|
|
11243
|
+
interface ApplyTableActionResult {
|
|
11244
|
+
readonly proposalId: string;
|
|
11245
|
+
readonly applied: boolean;
|
|
11246
|
+
readonly changed: boolean;
|
|
11247
|
+
readonly actionHandle: AiTableActionHandle;
|
|
11248
|
+
readonly operation: AiTableActionOperationKind;
|
|
11249
|
+
readonly reason?: string;
|
|
11250
|
+
readonly blockers?: readonly string[];
|
|
11251
|
+
readonly blockerDetails?: readonly AiTableActionBlockerDetail[];
|
|
11252
|
+
/**
|
|
11253
|
+
* Table actions route through the runtime command bus, not the
|
|
11254
|
+
* scope-replacement audit producer. This compact command reference lets
|
|
11255
|
+
* agents cite the dispatch without pretending a ScopeActionAudit exists.
|
|
11256
|
+
*/
|
|
11257
|
+
readonly commandReference?: AiTableActionCommandReference;
|
|
11258
|
+
readonly target?: AiTableActionTargetReadback;
|
|
11259
|
+
readonly afterReadback?: AiTableTextReadback;
|
|
11260
|
+
readonly readback?: AiTableTextReadback;
|
|
11261
|
+
readonly readbackText?: string;
|
|
11262
|
+
readonly posture?: AiTableActionPosture;
|
|
11263
|
+
readonly support?: AiTableActionSupport;
|
|
11264
|
+
}
|
|
11265
|
+
declare function createTableActionFamily(runtime: RuntimeApiHandle): {
|
|
11266
|
+
listTableActions(input: ListTableActionsInput): AiTableActionListResult;
|
|
11267
|
+
applyTableAction(input: ApplyTableActionInput): ApplyTableActionResult;
|
|
11268
|
+
};
|
|
11269
|
+
|
|
11270
|
+
/**
|
|
11271
|
+
* Layer 09 PE2 evidence projection.
|
|
11272
|
+
*
|
|
11273
|
+
* The AI API should not leak the full runtime geometry index. Agents need a
|
|
11274
|
+
* small, JSON-stable read model that says whether PE2 geometry evidence is
|
|
11275
|
+
* available and, for scope reads, whether a replacement envelope exists for
|
|
11276
|
+
* the requested scope.
|
|
11277
|
+
*/
|
|
11278
|
+
|
|
11279
|
+
interface AiPe2GeometryCoverageEvidence {
|
|
11280
|
+
readonly status: GeometryRehydrationStatus;
|
|
11281
|
+
readonly pageCount: number;
|
|
11282
|
+
readonly pageMaterialization: GeometryIndexCoverage["pageMaterialization"];
|
|
11283
|
+
readonly regionCount: number;
|
|
11284
|
+
readonly sliceCount: number;
|
|
11285
|
+
readonly lineCount: number;
|
|
11286
|
+
readonly anchorCount: number;
|
|
11287
|
+
readonly hitTargetCount: number;
|
|
11288
|
+
readonly semanticEntryCount: number;
|
|
11289
|
+
readonly editableTargetCount: number;
|
|
11290
|
+
readonly replacementEnvelopeCount: number;
|
|
11291
|
+
readonly objectHandleCount: number;
|
|
11292
|
+
readonly precision: {
|
|
11293
|
+
readonly exact: number;
|
|
11294
|
+
readonly "within-tolerance": number;
|
|
11295
|
+
readonly heuristic: number;
|
|
11296
|
+
};
|
|
11297
|
+
}
|
|
11298
|
+
interface AiPe2DocumentEvidence {
|
|
11299
|
+
readonly geometry: AiPe2GeometryCoverageEvidence;
|
|
11300
|
+
readonly layout: AiPe2LayoutEvidence;
|
|
11301
|
+
readonly oracle: AiPe2OracleEvidence;
|
|
11302
|
+
}
|
|
11303
|
+
interface AiPe2ScopeReplacementEnvelopeEvidence {
|
|
11304
|
+
readonly status: GeometryRehydrationStatus;
|
|
11305
|
+
readonly precision: GeometryPrecision;
|
|
11306
|
+
readonly rectCount: number;
|
|
11307
|
+
readonly pageIds?: readonly string[];
|
|
11308
|
+
readonly sourceIdentity?: GeometrySourceIdentity;
|
|
11309
|
+
}
|
|
11310
|
+
interface AiPe2ScopeEvidence {
|
|
11311
|
+
readonly geometry: {
|
|
11312
|
+
readonly coverage: AiPe2GeometryCoverageEvidence;
|
|
11313
|
+
readonly replacementEnvelope?: AiPe2ScopeReplacementEnvelopeEvidence;
|
|
11314
|
+
readonly reason?: "geometry-index-unavailable" | "scope-envelope-not-found";
|
|
11315
|
+
};
|
|
11316
|
+
readonly layout: AiPe2LayoutEvidence;
|
|
11317
|
+
readonly oracle: AiPe2OracleEvidence;
|
|
11318
|
+
}
|
|
11319
|
+
interface AiPe2LayoutDivergenceEvidence {
|
|
11320
|
+
readonly divergenceId: string;
|
|
11321
|
+
readonly kind: string;
|
|
11322
|
+
readonly source: string;
|
|
11323
|
+
readonly severity: string;
|
|
11324
|
+
readonly message: string;
|
|
11325
|
+
readonly regionKinds?: readonly string[];
|
|
11326
|
+
readonly fragmentIds?: readonly string[];
|
|
11327
|
+
readonly objectIds?: readonly string[];
|
|
11328
|
+
}
|
|
11329
|
+
interface AiPe2LayoutEvidence {
|
|
11330
|
+
readonly status: "realized" | "unavailable";
|
|
11331
|
+
readonly pageCount: number;
|
|
11332
|
+
readonly pageIds: readonly string[];
|
|
11333
|
+
readonly pagesWithDivergences: readonly string[];
|
|
11334
|
+
readonly divergenceIds: readonly string[];
|
|
11335
|
+
readonly divergences: readonly AiPe2LayoutDivergenceEvidence[];
|
|
11336
|
+
readonly reason?: "scope-page-evidence-not-found";
|
|
11337
|
+
}
|
|
11338
|
+
type AiPe2OracleVerdict = "match" | "divergent" | "blocked" | "oracle-incomplete" | "runtime-projection-not-wired" | "not-compared";
|
|
11339
|
+
interface AiPe2GraphOracleReference {
|
|
11340
|
+
readonly mode: "static" | "live";
|
|
11341
|
+
readonly cacheKey: string;
|
|
11342
|
+
readonly lane?: string;
|
|
11343
|
+
readonly docId?: string;
|
|
11344
|
+
readonly pageCount?: number;
|
|
11345
|
+
readonly paragraphCount?: number;
|
|
11346
|
+
readonly pdfSha256?: string;
|
|
11347
|
+
readonly sourceSha256?: string;
|
|
11348
|
+
readonly backendIdentityTag?: string;
|
|
11349
|
+
}
|
|
11350
|
+
interface AiPe2OracleEvidence {
|
|
11351
|
+
readonly status: "available" | "not-wired";
|
|
11352
|
+
readonly runIds: readonly string[];
|
|
11353
|
+
readonly divergenceIds: readonly string[];
|
|
11354
|
+
readonly graphOracleReferences?: readonly AiPe2GraphOracleReference[];
|
|
11355
|
+
readonly verdict?: AiPe2OracleVerdict;
|
|
11356
|
+
readonly reason?: "truth-adapter-unavailable" | "truth-adapter-error";
|
|
11357
|
+
}
|
|
11358
|
+
interface AiPe2OracleEvidenceProviderInput {
|
|
11359
|
+
readonly documentId: string;
|
|
11360
|
+
readonly scopeId?: string;
|
|
11361
|
+
readonly pageIds: readonly string[];
|
|
11362
|
+
}
|
|
11363
|
+
type AiPe2OracleEvidenceProvider = (input: AiPe2OracleEvidenceProviderInput) => AiPe2OracleEvidence | null | undefined;
|
|
11364
|
+
interface AiPe2EvidenceOptions {
|
|
11365
|
+
readonly oracle?: AiPe2OracleEvidenceProvider;
|
|
11366
|
+
}
|
|
11367
|
+
|
|
11368
|
+
interface InspectDocumentResult {
|
|
11369
|
+
readonly documentId: string;
|
|
11370
|
+
readonly scopeCount: number;
|
|
11371
|
+
readonly pageCount?: number;
|
|
11372
|
+
readonly semanticSummary: string;
|
|
11373
|
+
readonly kindDistribution: Readonly<Partial<Record<SemanticScopeKind, number>>>;
|
|
11374
|
+
readonly pe2Evidence: AiPe2DocumentEvidence;
|
|
11375
|
+
}
|
|
11376
|
+
interface InspectScopeEditableGraphInput {
|
|
11377
|
+
readonly scope?: ScopeHandle;
|
|
11378
|
+
readonly handle?: ScopeHandle;
|
|
11379
|
+
readonly nowUtc?: string;
|
|
11380
|
+
}
|
|
11381
|
+
interface InspectScopeEditableGraphNotFound {
|
|
11382
|
+
readonly notFound: true;
|
|
11383
|
+
readonly scopeId: string;
|
|
11384
|
+
readonly reason: string;
|
|
11385
|
+
}
|
|
11386
|
+
interface ScopeEditReplaceOperation {
|
|
11387
|
+
readonly kind: "replace";
|
|
11388
|
+
readonly text: string;
|
|
11389
|
+
readonly targetId?: string;
|
|
11390
|
+
}
|
|
11391
|
+
interface ScopeEditTableActionOperation {
|
|
11392
|
+
readonly kind: "table-action";
|
|
11393
|
+
readonly operation: AiTableCallableOperation;
|
|
11394
|
+
readonly targetId: string;
|
|
11395
|
+
}
|
|
11396
|
+
interface ScopeEditFieldRefreshOperation {
|
|
11397
|
+
readonly kind: "field-refresh";
|
|
11398
|
+
readonly targetId?: string;
|
|
11399
|
+
readonly supportedOnly?: boolean;
|
|
11400
|
+
}
|
|
11401
|
+
interface ScopeEditTocRefreshOperation {
|
|
11402
|
+
readonly kind: "toc-refresh";
|
|
11403
|
+
readonly targetId?: string;
|
|
11404
|
+
readonly tocId?: string;
|
|
11405
|
+
readonly mode?: "regenerate" | "preserveCached";
|
|
11406
|
+
readonly maxLevel?: number;
|
|
11407
|
+
}
|
|
11408
|
+
interface ScopeEditBookmarkOperation {
|
|
11409
|
+
readonly kind: "bookmark-edit";
|
|
11410
|
+
readonly text: string;
|
|
11411
|
+
readonly targetId?: string;
|
|
11412
|
+
}
|
|
11413
|
+
interface ScopeEditHyperlinkDestinationOperation {
|
|
11414
|
+
readonly kind: "hyperlink-destination-edit";
|
|
11415
|
+
readonly href: string;
|
|
11416
|
+
readonly targetId?: string;
|
|
11417
|
+
}
|
|
11418
|
+
type ScopeEditListOperationKind = {
|
|
11419
|
+
readonly kind: "toggle";
|
|
11420
|
+
readonly listKind: "bulleted" | "numbered";
|
|
11421
|
+
} | {
|
|
11422
|
+
readonly kind: "indent";
|
|
11423
|
+
} | {
|
|
11424
|
+
readonly kind: "outdent";
|
|
11425
|
+
} | {
|
|
11426
|
+
readonly kind: "restart-numbering";
|
|
11427
|
+
readonly startAt?: number;
|
|
11428
|
+
} | {
|
|
11429
|
+
readonly kind: "continue-numbering";
|
|
11430
|
+
};
|
|
11431
|
+
interface ScopeEditListOperation {
|
|
11432
|
+
readonly kind: "list-operation";
|
|
11433
|
+
readonly operation: ScopeEditListOperationKind;
|
|
11434
|
+
readonly targetId?: string;
|
|
11435
|
+
}
|
|
11436
|
+
type ScopeEditMetadataPayload = {
|
|
11437
|
+
readonly kind: "explanation";
|
|
11438
|
+
readonly explanation: string;
|
|
11439
|
+
} | {
|
|
11440
|
+
readonly kind: "issue";
|
|
11441
|
+
readonly summary: string;
|
|
11442
|
+
readonly severity?: "info" | "warning" | "error";
|
|
11443
|
+
};
|
|
11444
|
+
interface ScopeEditAttachMetadataOperation {
|
|
11445
|
+
readonly kind: "attach-metadata";
|
|
11446
|
+
readonly metadata: ScopeEditMetadataPayload;
|
|
11447
|
+
readonly targetId?: string;
|
|
11448
|
+
}
|
|
11449
|
+
type ScopeEditOperation = ScopeEditReplaceOperation | ScopeEditTableActionOperation | ScopeEditFieldRefreshOperation | ScopeEditTocRefreshOperation | ScopeEditBookmarkOperation | ScopeEditHyperlinkDestinationOperation | ScopeEditListOperation | ScopeEditAttachMetadataOperation;
|
|
11450
|
+
interface PlanScopeEditInput {
|
|
11451
|
+
readonly scope?: ScopeHandle;
|
|
11452
|
+
readonly handle?: ScopeHandle;
|
|
11453
|
+
readonly operation: ScopeEditOperation;
|
|
11454
|
+
readonly mode?: "preview";
|
|
11455
|
+
readonly nowUtc?: string;
|
|
11456
|
+
}
|
|
11457
|
+
interface ScopeEditPlan {
|
|
11458
|
+
readonly planId: string;
|
|
11459
|
+
readonly status: "ready" | "blocked";
|
|
11460
|
+
readonly scope: ScopeHandle;
|
|
11461
|
+
readonly operation: ScopeEditOperation;
|
|
11462
|
+
readonly route: "scope-replacement" | "table-text-action" | "table-structure-action" | "field-refresh-action" | "toc-refresh-action" | "bookmark-edit-action" | "hyperlink-destination-action" | "list-text-action" | "list-operation-action" | "metadata-attach-action";
|
|
11463
|
+
readonly targetId: string;
|
|
11464
|
+
readonly actionHandle?: string;
|
|
11465
|
+
readonly blockers: readonly string[];
|
|
11466
|
+
readonly warnings: readonly string[];
|
|
11467
|
+
readonly graph: ScopeEditableGraph;
|
|
11468
|
+
}
|
|
11469
|
+
interface ScopeEditPlanBlocked {
|
|
11470
|
+
readonly planId: string;
|
|
11471
|
+
readonly status: "blocked";
|
|
11472
|
+
readonly scopeId: string;
|
|
11473
|
+
readonly operation: ScopeEditOperation;
|
|
11474
|
+
readonly blockers: readonly string[];
|
|
11475
|
+
readonly warnings: readonly string[];
|
|
11476
|
+
readonly graph?: ScopeEditableGraph;
|
|
11477
|
+
}
|
|
11478
|
+
interface ApplyScopeEditPlanInput {
|
|
11479
|
+
readonly plan: ScopeEditPlan | ScopeEditPlanBlocked;
|
|
11480
|
+
readonly actorId?: string;
|
|
11481
|
+
readonly origin?: "ui" | "agent" | "host";
|
|
11482
|
+
readonly emittedAtUtc?: string;
|
|
11483
|
+
}
|
|
11484
|
+
declare function createInspectFamily(runtime: RuntimeApiHandle, pe2Evidence?: AiPe2EvidenceOptions): {
|
|
11485
|
+
scopes: Readonly<{
|
|
11486
|
+
inspect(input: InspectScopeEditableGraphInput): ScopeEditableGraph | InspectScopeEditableGraphNotFound;
|
|
11487
|
+
plan(input: PlanScopeEditInput): ScopeEditPlan | ScopeEditPlanBlocked;
|
|
11488
|
+
apply(input: ApplyScopeEditPlanInput): ApplyScopeReplacementResult | ApplyTableActionResult | AttachExplanationResult | CreateIssueResult | {
|
|
11489
|
+
applied: boolean;
|
|
11490
|
+
proposalId: string;
|
|
11491
|
+
reason: string;
|
|
11492
|
+
blockers: readonly string[];
|
|
11493
|
+
warnings: readonly string[];
|
|
11494
|
+
changed?: undefined;
|
|
11495
|
+
commandReference?: undefined;
|
|
11496
|
+
listReadback?: undefined;
|
|
11497
|
+
beforeReadback?: undefined;
|
|
11498
|
+
afterReadback?: undefined;
|
|
11499
|
+
} | {
|
|
11500
|
+
applied: boolean;
|
|
11501
|
+
changed: boolean;
|
|
11502
|
+
proposalId: string;
|
|
11503
|
+
reason: string;
|
|
11504
|
+
blockers: readonly string[];
|
|
11505
|
+
warnings: readonly string[];
|
|
11506
|
+
commandReference?: undefined;
|
|
11507
|
+
listReadback?: undefined;
|
|
11508
|
+
beforeReadback?: undefined;
|
|
11509
|
+
afterReadback?: undefined;
|
|
11510
|
+
} | {
|
|
11511
|
+
applied: boolean;
|
|
11512
|
+
changed: boolean;
|
|
11513
|
+
proposalId: string;
|
|
11514
|
+
commandReference: {
|
|
11515
|
+
command: "field.refresh" | "toc.refresh" | "bookmark.edit-content" | "hyperlink.update-destination";
|
|
11516
|
+
actorId: string;
|
|
11517
|
+
origin: "agent" | "host" | "ui";
|
|
11518
|
+
emittedAtUtc: string;
|
|
11519
|
+
};
|
|
11520
|
+
warnings: readonly string[];
|
|
11521
|
+
reason?: undefined;
|
|
11522
|
+
blockers?: undefined;
|
|
11523
|
+
listReadback?: undefined;
|
|
11524
|
+
beforeReadback?: undefined;
|
|
11525
|
+
afterReadback?: undefined;
|
|
11526
|
+
} | {
|
|
11527
|
+
applied: boolean;
|
|
11528
|
+
changed: boolean;
|
|
11529
|
+
proposalId: string;
|
|
11530
|
+
reason: string | RuntimeListBlocker;
|
|
11531
|
+
blockers: readonly (string | RuntimeListBlocker)[];
|
|
11532
|
+
warnings: readonly string[];
|
|
11533
|
+
listReadback: {
|
|
11534
|
+
after?: RuntimeListReadback | undefined;
|
|
11535
|
+
before?: RuntimeListReadback | undefined;
|
|
11536
|
+
};
|
|
11537
|
+
commandReference?: undefined;
|
|
11538
|
+
beforeReadback?: undefined;
|
|
11539
|
+
afterReadback?: undefined;
|
|
11540
|
+
} | {
|
|
11541
|
+
applied: boolean;
|
|
11542
|
+
changed: boolean;
|
|
11543
|
+
proposalId: string;
|
|
11544
|
+
commandReference: {
|
|
11545
|
+
command: string;
|
|
11546
|
+
actorId: string;
|
|
11547
|
+
origin: "agent" | "host" | "ui";
|
|
11548
|
+
emittedAtUtc: string;
|
|
11549
|
+
};
|
|
11550
|
+
warnings: readonly string[];
|
|
11551
|
+
listReadback: {
|
|
11552
|
+
after?: RuntimeListReadback | undefined;
|
|
11553
|
+
before?: RuntimeListReadback | undefined;
|
|
11554
|
+
};
|
|
11555
|
+
reason?: undefined;
|
|
11556
|
+
blockers?: undefined;
|
|
11557
|
+
beforeReadback?: undefined;
|
|
11558
|
+
afterReadback?: undefined;
|
|
11559
|
+
} | {
|
|
11560
|
+
afterReadback?: {
|
|
11561
|
+
readonly text: string;
|
|
11562
|
+
readonly isEmpty: boolean;
|
|
11563
|
+
} | undefined;
|
|
11564
|
+
applied: boolean;
|
|
11565
|
+
changed: boolean;
|
|
11566
|
+
proposalId: string;
|
|
11567
|
+
reason: string;
|
|
11568
|
+
blockers: readonly string[];
|
|
11569
|
+
warnings: readonly string[];
|
|
11570
|
+
beforeReadback: {
|
|
11571
|
+
readonly text: string;
|
|
11572
|
+
readonly isEmpty: boolean;
|
|
11573
|
+
};
|
|
11574
|
+
commandReference?: undefined;
|
|
11575
|
+
listReadback?: undefined;
|
|
11576
|
+
} | {
|
|
11577
|
+
applied: boolean;
|
|
11578
|
+
changed: boolean;
|
|
11579
|
+
proposalId: string;
|
|
11580
|
+
commandReference: {
|
|
11581
|
+
command: string;
|
|
11582
|
+
actorId: string;
|
|
11583
|
+
origin: "agent" | "host" | "ui";
|
|
11584
|
+
emittedAtUtc: string;
|
|
11585
|
+
};
|
|
11586
|
+
warnings: readonly string[];
|
|
11587
|
+
beforeReadback: {
|
|
11588
|
+
readonly text: string;
|
|
11589
|
+
readonly isEmpty: boolean;
|
|
11590
|
+
};
|
|
11591
|
+
afterReadback: {
|
|
11592
|
+
readonly text: string;
|
|
11593
|
+
readonly isEmpty: boolean;
|
|
11594
|
+
};
|
|
11595
|
+
reason?: undefined;
|
|
11596
|
+
blockers?: undefined;
|
|
11597
|
+
listReadback?: undefined;
|
|
11598
|
+
};
|
|
11599
|
+
}>;
|
|
11600
|
+
inspectDocument(): InspectDocumentResult;
|
|
11601
|
+
listScopes(filter?: {
|
|
11602
|
+
readonly limit?: number;
|
|
11603
|
+
readonly kind?: SemanticScopeKind;
|
|
11604
|
+
}): SemanticScope[];
|
|
11605
|
+
};
|
|
11606
|
+
|
|
11607
|
+
/**
|
|
11608
|
+
* @endStateApi v3 — `ai.resolve` family.
|
|
11609
|
+
*
|
|
11610
|
+
* Slice 3 of refactor/08 graduated `resolveReference` to
|
|
11611
|
+
* `live-with-adapter`. Post-KI-P9 (2026-04-24) the reference union
|
|
11612
|
+
* carries **three durable reference kinds**: `scope-id`, `semantic-path`,
|
|
11613
|
+
* and `natural-language`. Positional queries (`offset` / `range`) were
|
|
11614
|
+
* split into `queryScopeAtPosition(at)` / `queryScopeInRange(from, to)`
|
|
11615
|
+
* one-shot APIs that return `ScopeHandle | null` directly — the
|
|
11616
|
+
* type-system split prevents a positional hint from being cached or
|
|
11617
|
+
* round-tripped as a reference across a mutation.
|
|
10944
11618
|
*
|
|
10945
11619
|
* Offset / range lookups still honor precise nested-kind ranges (fields,
|
|
10946
11620
|
* table rows, table cells) via the scope-compiler's specificity
|
|
@@ -11059,27 +11733,12 @@ interface ScopeBundleNotFound {
|
|
|
11059
11733
|
readonly reason: string;
|
|
11060
11734
|
}
|
|
11061
11735
|
interface GetScopeInput {
|
|
11062
|
-
readonly handle: ScopeHandle;
|
|
11063
|
-
}
|
|
11064
|
-
declare function createBundleFamily(runtime: RuntimeApiHandle, pe2Evidence?: AiPe2EvidenceOptions): {
|
|
11065
|
-
getScope(input: GetScopeInput): SemanticScope | null;
|
|
11066
|
-
getScopeBundle(input: GetScopeBundleInput): ScopeBundle | ScopeBundleNotFound;
|
|
11067
|
-
};
|
|
11068
|
-
|
|
11069
|
-
/**
|
|
11070
|
-
* Compact AI-facing pointer to an emitted ScopeActionAudit.
|
|
11071
|
-
*
|
|
11072
|
-
* The full audit bundle remains on the `scope` telemetry channel. Mutation
|
|
11073
|
-
* return values expose only enough provenance for agents to cite the action
|
|
11074
|
-
* and correlate it with telemetry.
|
|
11075
|
-
*/
|
|
11076
|
-
|
|
11077
|
-
interface AiActionAuditReference {
|
|
11078
|
-
readonly actionId: string;
|
|
11079
|
-
readonly actorId: string;
|
|
11080
|
-
readonly origin: ScopeActionAudit["origin"];
|
|
11081
|
-
readonly emittedAtUtc: string;
|
|
11736
|
+
readonly handle: ScopeHandle;
|
|
11082
11737
|
}
|
|
11738
|
+
declare function createBundleFamily(runtime: RuntimeApiHandle, pe2Evidence?: AiPe2EvidenceOptions): {
|
|
11739
|
+
getScope(input: GetScopeInput): SemanticScope | null;
|
|
11740
|
+
getScopeBundle(input: GetScopeBundleInput): ScopeBundle | ScopeBundleNotFound;
|
|
11741
|
+
};
|
|
11083
11742
|
|
|
11084
11743
|
/**
|
|
11085
11744
|
* @endStateApi v3 — `ai.replacement` family.
|
|
@@ -11212,72 +11871,6 @@ declare function createReplacementFamily(runtime: RuntimeApiHandle): {
|
|
|
11212
11871
|
applyScopeAction(input: ApplyScopeActionInput): ApplyResult;
|
|
11213
11872
|
};
|
|
11214
11873
|
|
|
11215
|
-
/**
|
|
11216
|
-
* @endStateApi v3 — `ai.attach` family.
|
|
11217
|
-
*
|
|
11218
|
-
* attachExplanation (live-with-adapter) / createIssue (live-with-adapter).
|
|
11219
|
-
*
|
|
11220
|
-
* Both route through the Layer-08 compiler-service facade
|
|
11221
|
-
* (`createScopeCompilerService`), which wraps Layer-06's
|
|
11222
|
-
* `attachScopeMetadata` writer. Metadata persists as
|
|
11223
|
-
* `WorkflowMetadataEntry` records with stable `metadataId` prefixes
|
|
11224
|
-
* (`ai.explanation`, `ai.issue`).
|
|
11225
|
-
*
|
|
11226
|
-
* Coverage: /06's derived-scope resolver (2026-04-23, `1a3d127e`) lets
|
|
11227
|
-
* both paths succeed on paragraph-like derived scopeIds (`para:*`,
|
|
11228
|
-
* `heading:*`, `li:*`) in addition to overlay scopes — no overlay
|
|
11229
|
-
* promotion step required. Non-paragraph-like derived table/field scopeIds,
|
|
11230
|
-
* comment-thread scopes, and revision scopes return `{attached: false,
|
|
11231
|
-
* reason: "scope-not-resolvable:<id>"}` / `{created: false, reason}`
|
|
11232
|
-
* — the broader prefix reflects §13c's two-stage resolution (overlay
|
|
11233
|
-
* miss then derived-resolver miss); pre-§13c was `scope-not-in-overlay:`.
|
|
11234
|
-
*
|
|
11235
|
-
* Architecture A4 — every mutating function emits exactly one
|
|
11236
|
-
* `ScopeActionAudit` on the `scope` telemetry channel. The facade does
|
|
11237
|
-
* not own audit emission for metadata writes; this module does, via
|
|
11238
|
-
* `_metadata-audit.ts`. `applyReplacementScope`'s audit emission stays
|
|
11239
|
-
* inside /08's replacement pipeline. Together the three mutating
|
|
11240
|
-
* functions (`applyReplacementScope`, `attachExplanation`, `createIssue`)
|
|
11241
|
-
* carry exactly-one-audit-per-mutation coverage.
|
|
11242
|
-
*/
|
|
11243
|
-
|
|
11244
|
-
interface AttachExplanationInput {
|
|
11245
|
-
readonly scopeId: string;
|
|
11246
|
-
readonly explanation: string;
|
|
11247
|
-
readonly actorId?: string;
|
|
11248
|
-
readonly origin?: "ui" | "agent" | "host";
|
|
11249
|
-
}
|
|
11250
|
-
interface AttachExplanationResult {
|
|
11251
|
-
readonly explanationId: string;
|
|
11252
|
-
readonly attached: boolean;
|
|
11253
|
-
readonly auditReference?: AiActionAuditReference;
|
|
11254
|
-
/**
|
|
11255
|
-
* Present when `attached: false`. Mirrors the primitive's refusal
|
|
11256
|
-
* reason (`scope-not-resolvable:<scopeId>` post-coord-06 §13c;
|
|
11257
|
-
* pre-§13c: `scope-not-in-overlay:<scopeId>`). Restored in
|
|
11258
|
-
* `cross-layer-coord-09.md §1.17` — symmetry with
|
|
11259
|
-
* `CreateIssueResult.reason`.
|
|
11260
|
-
*/
|
|
11261
|
-
readonly reason?: string;
|
|
11262
|
-
}
|
|
11263
|
-
interface CreateIssueInput {
|
|
11264
|
-
readonly scopeId: string;
|
|
11265
|
-
readonly summary: string;
|
|
11266
|
-
readonly severity?: "info" | "warning" | "error";
|
|
11267
|
-
readonly actorId?: string;
|
|
11268
|
-
readonly origin?: "ui" | "agent" | "host";
|
|
11269
|
-
}
|
|
11270
|
-
interface CreateIssueResult {
|
|
11271
|
-
readonly issueId: string;
|
|
11272
|
-
readonly created: boolean;
|
|
11273
|
-
readonly auditReference?: AiActionAuditReference;
|
|
11274
|
-
readonly reason?: string;
|
|
11275
|
-
}
|
|
11276
|
-
declare function createAttachFamily(runtime: RuntimeApiHandle): {
|
|
11277
|
-
attachExplanation(input: AttachExplanationInput): AttachExplanationResult;
|
|
11278
|
-
createIssue(input: CreateIssueInput): CreateIssueResult;
|
|
11279
|
-
};
|
|
11280
|
-
|
|
11281
11874
|
/**
|
|
11282
11875
|
* @endStateApi v3 — `ai.export` family.
|
|
11283
11876
|
*
|
|
@@ -11589,134 +12182,6 @@ declare function createOutlineFamily(runtime: RuntimeApiHandle): {
|
|
|
11589
12182
|
getDocumentOutline(): GetDocumentOutlineResult;
|
|
11590
12183
|
};
|
|
11591
12184
|
|
|
11592
|
-
/**
|
|
11593
|
-
* @endStateApi v3 — `ai.table` family.
|
|
11594
|
-
*
|
|
11595
|
-
* Agent-facing table structure commands use opaque action handles. The AI
|
|
11596
|
-
* surface consumes Layer-08 editable-target evidence (`table-structure-action`)
|
|
11597
|
-
* and dispatches through the existing Layer-07 runtime command, without
|
|
11598
|
-
* widening broad table/row/cell replacement authority or exposing target refs.
|
|
11599
|
-
*/
|
|
11600
|
-
|
|
11601
|
-
type AiTableActionOperation = Exclude<TableOp, {
|
|
11602
|
-
readonly kind: "insert";
|
|
11603
|
-
}>;
|
|
11604
|
-
type AiTableCellTransferOperation = {
|
|
11605
|
-
readonly kind: "paste-cell-content";
|
|
11606
|
-
readonly content?: {
|
|
11607
|
-
readonly kind: "text";
|
|
11608
|
-
readonly text: string;
|
|
11609
|
-
} | {
|
|
11610
|
-
readonly kind: "structured";
|
|
11611
|
-
readonly value: unknown;
|
|
11612
|
-
};
|
|
11613
|
-
} | {
|
|
11614
|
-
readonly kind: "drop-cell-content";
|
|
11615
|
-
readonly content?: {
|
|
11616
|
-
readonly kind: "text";
|
|
11617
|
-
readonly text: string;
|
|
11618
|
-
} | {
|
|
11619
|
-
readonly kind: "structured";
|
|
11620
|
-
readonly value: unknown;
|
|
11621
|
-
};
|
|
11622
|
-
};
|
|
11623
|
-
type AiTableCallableOperation = AiTableActionOperation | AiTableCellTransferOperation;
|
|
11624
|
-
type AiTableActionOperationKind = AiTableCallableOperation["kind"];
|
|
11625
|
-
type AiTableActionTargetScope = EditableTargetTableIdentity["operationScope"];
|
|
11626
|
-
type AiTableActionHandle = string;
|
|
11627
|
-
interface ListTableActionsInput {
|
|
11628
|
-
readonly handle: ScopeHandle;
|
|
11629
|
-
readonly nowUtc: string;
|
|
11630
|
-
}
|
|
11631
|
-
interface AiTableActionDescriptor {
|
|
11632
|
-
readonly actionHandle: AiTableActionHandle;
|
|
11633
|
-
readonly family: "table-structure" | "table-text";
|
|
11634
|
-
readonly targetKind: string;
|
|
11635
|
-
readonly relation: string;
|
|
11636
|
-
readonly operationScope: AiTableActionTargetScope;
|
|
11637
|
-
readonly callableOperations: readonly AiTableActionOperationKind[];
|
|
11638
|
-
readonly selectionRequiredOperations?: readonly AiTableActionOperationKind[];
|
|
11639
|
-
readonly supportedOperations: readonly AiTableActionOperationKind[];
|
|
11640
|
-
readonly readback?: AiTableTextReadback;
|
|
11641
|
-
readonly reason: string;
|
|
11642
|
-
}
|
|
11643
|
-
interface AiTableActionListResult {
|
|
11644
|
-
readonly scopeId: string;
|
|
11645
|
-
readonly actions: readonly AiTableActionDescriptor[];
|
|
11646
|
-
readonly blockers?: readonly string[];
|
|
11647
|
-
}
|
|
11648
|
-
interface ApplyTableActionInput {
|
|
11649
|
-
readonly actionHandle: AiTableActionHandle;
|
|
11650
|
-
readonly operation: AiTableCallableOperation;
|
|
11651
|
-
/**
|
|
11652
|
-
* Optional owning scope id to include in metadata fallback instructions.
|
|
11653
|
-
* This is not used for mutation targeting.
|
|
11654
|
-
*/
|
|
11655
|
-
readonly scopeId?: string;
|
|
11656
|
-
readonly actorId?: string;
|
|
11657
|
-
readonly origin?: "ui" | "agent" | "host";
|
|
11658
|
-
readonly proposalId?: string;
|
|
11659
|
-
}
|
|
11660
|
-
interface AiTableActionBlockerDetail {
|
|
11661
|
-
readonly code: string;
|
|
11662
|
-
readonly category: "unresolved-target" | "blocked-target" | "unsupported-operation" | "runtime-noop";
|
|
11663
|
-
readonly message: string;
|
|
11664
|
-
readonly nextStep: string;
|
|
11665
|
-
readonly actionHandle?: AiTableActionHandle;
|
|
11666
|
-
readonly operation?: string;
|
|
11667
|
-
readonly operationScope?: string;
|
|
11668
|
-
}
|
|
11669
|
-
interface AiTableActionCommandReference {
|
|
11670
|
-
readonly command: "table.apply-structure" | "table.apply-text" | "fragment.insert";
|
|
11671
|
-
readonly actorId: string;
|
|
11672
|
-
readonly origin: "ui" | "agent" | "host";
|
|
11673
|
-
readonly emittedAtUtc: string;
|
|
11674
|
-
}
|
|
11675
|
-
interface AiTableActionTargetReadback {
|
|
11676
|
-
readonly actionHandle: AiTableActionHandle;
|
|
11677
|
-
readonly targetKind: string;
|
|
11678
|
-
readonly operationScope: AiTableActionTargetScope;
|
|
11679
|
-
readonly family: "table-structure" | "table-text";
|
|
11680
|
-
}
|
|
11681
|
-
interface AiTableTextReadback {
|
|
11682
|
-
readonly text: string;
|
|
11683
|
-
readonly isEmpty: boolean;
|
|
11684
|
-
}
|
|
11685
|
-
type AiTableActionPosture = "supported";
|
|
11686
|
-
interface AiTableActionSupport {
|
|
11687
|
-
readonly undo: "supported";
|
|
11688
|
-
readonly replay: "supported";
|
|
11689
|
-
readonly exportReopen: "supported";
|
|
11690
|
-
readonly audit: "command-reference";
|
|
11691
|
-
readonly emptyCell: "supported";
|
|
11692
|
-
}
|
|
11693
|
-
interface ApplyTableActionResult {
|
|
11694
|
-
readonly proposalId: string;
|
|
11695
|
-
readonly applied: boolean;
|
|
11696
|
-
readonly changed: boolean;
|
|
11697
|
-
readonly actionHandle: AiTableActionHandle;
|
|
11698
|
-
readonly operation: AiTableActionOperationKind;
|
|
11699
|
-
readonly reason?: string;
|
|
11700
|
-
readonly blockers?: readonly string[];
|
|
11701
|
-
readonly blockerDetails?: readonly AiTableActionBlockerDetail[];
|
|
11702
|
-
/**
|
|
11703
|
-
* Table actions route through the runtime command bus, not the
|
|
11704
|
-
* scope-replacement audit producer. This compact command reference lets
|
|
11705
|
-
* agents cite the dispatch without pretending a ScopeActionAudit exists.
|
|
11706
|
-
*/
|
|
11707
|
-
readonly commandReference?: AiTableActionCommandReference;
|
|
11708
|
-
readonly target?: AiTableActionTargetReadback;
|
|
11709
|
-
readonly afterReadback?: AiTableTextReadback;
|
|
11710
|
-
readonly readback?: AiTableTextReadback;
|
|
11711
|
-
readonly readbackText?: string;
|
|
11712
|
-
readonly posture?: AiTableActionPosture;
|
|
11713
|
-
readonly support?: AiTableActionSupport;
|
|
11714
|
-
}
|
|
11715
|
-
declare function createTableActionFamily(runtime: RuntimeApiHandle): {
|
|
11716
|
-
listTableActions(input: ListTableActionsInput): AiTableActionListResult;
|
|
11717
|
-
applyTableAction(input: ApplyTableActionInput): ApplyTableActionResult;
|
|
11718
|
-
};
|
|
11719
|
-
|
|
11720
12185
|
/**
|
|
11721
12186
|
* @endStateApi — live-with-adapter. v3 `ai.actions` category.
|
|
11722
12187
|
*
|
|
@@ -12013,6 +12478,28 @@ interface TableSelectionActionsInput {
|
|
|
12013
12478
|
readonly origin?: "ui" | "agent" | "host";
|
|
12014
12479
|
readonly proposalId?: string;
|
|
12015
12480
|
}
|
|
12481
|
+
type TableContentCellInput = string | {
|
|
12482
|
+
readonly kind: "text";
|
|
12483
|
+
readonly text: string;
|
|
12484
|
+
} | {
|
|
12485
|
+
readonly kind: "structured";
|
|
12486
|
+
readonly value: unknown;
|
|
12487
|
+
};
|
|
12488
|
+
interface TableContentActionsInput {
|
|
12489
|
+
readonly target: AiActionsExactTargetInput;
|
|
12490
|
+
/**
|
|
12491
|
+
* Complete replacement matrix for a table scope. The planner maps rows and
|
|
12492
|
+
* cells by current L08 table text evidence and refuses dimension mismatch.
|
|
12493
|
+
*/
|
|
12494
|
+
readonly rows?: readonly (readonly TableContentCellInput[])[];
|
|
12495
|
+
/**
|
|
12496
|
+
* Complete replacement vector for a table-row scope.
|
|
12497
|
+
*/
|
|
12498
|
+
readonly cells?: readonly TableContentCellInput[];
|
|
12499
|
+
readonly actorId?: string;
|
|
12500
|
+
readonly origin?: "ui" | "agent" | "host";
|
|
12501
|
+
readonly proposalId?: string;
|
|
12502
|
+
}
|
|
12016
12503
|
type AiActionsExactTargetInput = {
|
|
12017
12504
|
readonly handle: ScopeHandle;
|
|
12018
12505
|
} | {
|
|
@@ -12139,6 +12626,14 @@ type RunPlanActionsStep = (RunPlanStepBase & {
|
|
|
12139
12626
|
readonly actorId?: string;
|
|
12140
12627
|
readonly origin?: "ui" | "agent" | "host";
|
|
12141
12628
|
readonly proposalId?: string;
|
|
12629
|
+
}) | (RunPlanStepBase & {
|
|
12630
|
+
readonly kind: "tableContent";
|
|
12631
|
+
readonly target: AiActionsExactTargetInput;
|
|
12632
|
+
readonly rows?: readonly (readonly TableContentCellInput[])[];
|
|
12633
|
+
readonly cells?: readonly TableContentCellInput[];
|
|
12634
|
+
readonly actorId?: string;
|
|
12635
|
+
readonly origin?: "ui" | "agent" | "host";
|
|
12636
|
+
readonly proposalId?: string;
|
|
12142
12637
|
});
|
|
12143
12638
|
interface RunPlanActionsInput {
|
|
12144
12639
|
readonly mode?: "preview" | "apply";
|
|
@@ -12164,6 +12659,7 @@ interface ApplyActionsResult {
|
|
|
12164
12659
|
readonly blockerDetails?: readonly AiActionsBlockerDetail[];
|
|
12165
12660
|
readonly auditReference?: ApplyResult["auditReference"] | CreateIssueResult["auditReference"];
|
|
12166
12661
|
readonly commandReference?: AiActionsCommandReference;
|
|
12662
|
+
readonly beforeReadback?: AiTableTextReadback;
|
|
12167
12663
|
readonly afterReadback?: AiTableTextReadback;
|
|
12168
12664
|
readonly listReadback?: AiListOperationReadback;
|
|
12169
12665
|
readonly results?: readonly ApplyActionsResult[];
|
|
@@ -12238,6 +12734,7 @@ declare function createActionsFamily(runtime: RuntimeApiHandle): {
|
|
|
12238
12734
|
listOperation(input: ListOperationActionsInput): ApplyActionsResult;
|
|
12239
12735
|
tableFragment(input: TableFragmentActionsInput): ApplyActionsResult;
|
|
12240
12736
|
tableSelection(input: TableSelectionActionsInput): ApplyActionsResult;
|
|
12737
|
+
tableContent(input: TableContentActionsInput): ApplyActionsResult;
|
|
12241
12738
|
runPlan(input: RunPlanActionsInput): RunPlanActionsResult;
|
|
12242
12739
|
}>;
|
|
12243
12740
|
};
|
|
@@ -12923,6 +13420,71 @@ interface UiScopeRailOptions {
|
|
|
12923
13420
|
*/
|
|
12924
13421
|
readonly pageIndex?: number;
|
|
12925
13422
|
}
|
|
13423
|
+
type UiListCommand = "toggle-numbered" | "toggle-bulleted" | "indent" | "outdent" | "restart-numbering" | "continue-numbering" | "create" | "attach" | "detach" | "join" | "separate" | "split" | "set-value" | "apply-template" | "capture-template" | "apply-preset" | "set-level-numbering" | "set-level-bullet" | "set-level-picture-bullet" | "set-level-alignment" | "set-level-indents" | "set-level-trailing-character" | "set-level-marker-font" | "set-level-text" | "set-level-start" | "set-level-layout" | "convert-to-text" | "paste-fragment" | "drop-fragment";
|
|
13424
|
+
interface UiListReadbackFilter {
|
|
13425
|
+
readonly storyKey?: string;
|
|
13426
|
+
readonly limit?: number;
|
|
13427
|
+
}
|
|
13428
|
+
interface UiListReadbackTarget {
|
|
13429
|
+
readonly targetKey?: string;
|
|
13430
|
+
readonly addressKey?: string;
|
|
13431
|
+
readonly actionHandle?: string;
|
|
13432
|
+
}
|
|
13433
|
+
interface UiListCommandAvailability {
|
|
13434
|
+
readonly command: UiListCommand;
|
|
13435
|
+
readonly enabled: boolean;
|
|
13436
|
+
readonly actionHandle?: string;
|
|
13437
|
+
readonly reason?: string;
|
|
13438
|
+
readonly ownerLayer?: "L07" | "L10";
|
|
13439
|
+
}
|
|
13440
|
+
interface UiListReadbackSnapshot {
|
|
13441
|
+
readonly source: "surface-render-snapshot";
|
|
13442
|
+
readonly targetKey: string;
|
|
13443
|
+
readonly actionHandle: string;
|
|
13444
|
+
readonly kind: EditableTargetRef["kind"];
|
|
13445
|
+
readonly storyKey: string;
|
|
13446
|
+
readonly blockPath: string;
|
|
13447
|
+
readonly leafPath: string;
|
|
13448
|
+
readonly addressKey: string;
|
|
13449
|
+
readonly hierarchyPath: readonly number[];
|
|
13450
|
+
readonly numberingInstanceId: string;
|
|
13451
|
+
readonly level: number;
|
|
13452
|
+
readonly listKind: "numbered" | "bulleted";
|
|
13453
|
+
readonly markerText?: string;
|
|
13454
|
+
readonly suffix?: ResolvedNumberingSnapshot["suffix"];
|
|
13455
|
+
readonly requestedFormat?: string;
|
|
13456
|
+
readonly renderedFormat?: string;
|
|
13457
|
+
readonly formatPosture?: ResolvedNumberingSnapshot["formatPosture"];
|
|
13458
|
+
readonly markerTextPosture?: ResolvedNumberingSnapshot["markerTextPosture"];
|
|
13459
|
+
readonly pictureBulletPosture?: ResolvedNumberingSnapshot["pictureBulletPosture"];
|
|
13460
|
+
readonly authoredTextRange: {
|
|
13461
|
+
readonly from: number;
|
|
13462
|
+
readonly to: number;
|
|
13463
|
+
};
|
|
13464
|
+
readonly editability: EditableTargetRef["editability"];
|
|
13465
|
+
readonly blockers: readonly string[];
|
|
13466
|
+
readonly supportedCommands: readonly UiListCommand[];
|
|
13467
|
+
readonly unsupportedCommands: readonly UiListCommand[];
|
|
13468
|
+
readonly commandSupport: readonly UiListCommandAvailability[];
|
|
13469
|
+
readonly canJoin: boolean;
|
|
13470
|
+
readonly canContinuePrevious: boolean;
|
|
13471
|
+
readonly staleDiscriminators: {
|
|
13472
|
+
readonly paragraphTextHash?: string;
|
|
13473
|
+
readonly paragraphTextLength?: number;
|
|
13474
|
+
readonly inlineCount?: number;
|
|
13475
|
+
readonly listAddressStaleHash?: string;
|
|
13476
|
+
};
|
|
13477
|
+
readonly geometry?: ResolvedNumberingGeometrySnapshot;
|
|
13478
|
+
readonly geometryUnavailableReason?: "marker-geometry-unavailable";
|
|
13479
|
+
}
|
|
13480
|
+
interface UiListCommandPreview {
|
|
13481
|
+
readonly command: UiListCommand;
|
|
13482
|
+
readonly supported: boolean;
|
|
13483
|
+
readonly target?: UiListReadbackSnapshot;
|
|
13484
|
+
readonly blockers: readonly UiListCommandAvailability[];
|
|
13485
|
+
readonly canJoin?: boolean;
|
|
13486
|
+
readonly canContinuePrevious?: boolean;
|
|
13487
|
+
}
|
|
12926
13488
|
/**
|
|
12927
13489
|
* Scope seam — mounted-path scope reads. Uses handle-backed compiled
|
|
12928
13490
|
* projections so chrome surfaces do not reach directly into workflow
|
|
@@ -12952,6 +13514,16 @@ interface ApiV3UiScope {
|
|
|
12952
13514
|
*/
|
|
12953
13515
|
getEvidence(scopeId: string): ScopeBundleEvidence | null;
|
|
12954
13516
|
}
|
|
13517
|
+
interface ApiV3UiLists {
|
|
13518
|
+
/** Enumerate rendered list targets from the current runtime surface snapshot. */
|
|
13519
|
+
list(filter?: UiListReadbackFilter): readonly UiListReadbackSnapshot[];
|
|
13520
|
+
/** Resolve a single rendered list target by opaque action/address/target key. */
|
|
13521
|
+
get(target: UiListReadbackTarget): UiListReadbackSnapshot | null;
|
|
13522
|
+
/** Read command posture for one list target without dispatching a mutation. */
|
|
13523
|
+
previewCommand(target: UiListReadbackTarget & {
|
|
13524
|
+
readonly command: UiListCommand;
|
|
13525
|
+
}): UiListCommandPreview;
|
|
13526
|
+
}
|
|
12955
13527
|
interface ApiV3Ui {
|
|
12956
13528
|
readonly session: ApiV3UiSession;
|
|
12957
13529
|
readonly surface: ApiV3UiSurface;
|
|
@@ -12960,6 +13532,7 @@ interface ApiV3Ui {
|
|
|
12960
13532
|
readonly chrome: ApiV3UiChrome;
|
|
12961
13533
|
readonly debug: ApiV3UiDebug;
|
|
12962
13534
|
readonly scope: ApiV3UiScope;
|
|
13535
|
+
readonly lists: ApiV3UiLists;
|
|
12963
13536
|
}
|
|
12964
13537
|
|
|
12965
13538
|
/**
|
|
@@ -14633,6 +15206,14 @@ interface ResolvedNumberingSnapshot {
|
|
|
14633
15206
|
reason: "unsupported-numbering-format-decimal-fallback" | "numbering-format-range-decimal-fallback";
|
|
14634
15207
|
};
|
|
14635
15208
|
text?: string;
|
|
15209
|
+
/** L03 marker text posture. Present when display text is normalized from source marker text, for example symbol-font private-use bullets. */
|
|
15210
|
+
markerTextPosture?: {
|
|
15211
|
+
status: "normalized";
|
|
15212
|
+
sourceText: string;
|
|
15213
|
+
renderedText: string;
|
|
15214
|
+
reason: "symbol-font-bullet-normalized";
|
|
15215
|
+
fontFamily?: string;
|
|
15216
|
+
};
|
|
14636
15217
|
startAt: number;
|
|
14637
15218
|
paragraphStyleId?: string;
|
|
14638
15219
|
isLegalNumbering?: boolean;
|
|
@@ -14640,8 +15221,19 @@ interface ResolvedNumberingSnapshot {
|
|
|
14640
15221
|
geometry: ResolvedNumberingGeometrySnapshot;
|
|
14641
15222
|
/** CASCADED marker run formatting: docDefaults → paragraph style chain rPr → paragraph-mark rPr → level rPr. Added in Task 11. The raw level rPr is still available at geometry.markerRunProperties. */
|
|
14642
15223
|
markerRunProperties?: CanonicalRunFormatting;
|
|
15224
|
+
/** Source picture-bullet catalog ID from `<w:lvlPicBulletId>`. */
|
|
15225
|
+
picBulletId?: string;
|
|
14643
15226
|
/** Media-catalog ID for picture-bullet images (CO3.9). Set when the numbering level has `picBulletId` that resolves to a NumPicBullet entry. */
|
|
14644
15227
|
picBulletMediaId?: string;
|
|
15228
|
+
/** L03 picture-bullet display posture. Preserve-only blocks mutation, not marker display. */
|
|
15229
|
+
pictureBulletPosture?: {
|
|
15230
|
+
status: "media-rendered" | "glyph-fallback" | "preserve-only";
|
|
15231
|
+
picBulletId: string;
|
|
15232
|
+
mediaId?: string;
|
|
15233
|
+
fallbackGlyph?: string;
|
|
15234
|
+
sourceRef?: CanonicalSourceRef;
|
|
15235
|
+
reason: "picture-bullet-media-rendered" | "picture-bullet-media-unavailable" | "picture-bullet-catalog-entry-missing";
|
|
15236
|
+
};
|
|
14645
15237
|
}
|
|
14646
15238
|
type SurfaceBlockSnapshot = {
|
|
14647
15239
|
blockId: string;
|
|
@@ -18750,4 +19342,4 @@ declare class MetadataResolverMissingError extends Error {
|
|
|
18750
19342
|
constructor(diagnostic?: EditorDiagnostic);
|
|
18751
19343
|
}
|
|
18752
19344
|
|
|
18753
|
-
export { type ChromeHostPosture as $, type ApiStatus as A, type AiPe2GraphOracleReference as B, type CanonicalDocumentEnvelope$1 as C, type AiPe2OracleEvidence as D, type EditorHostAdapter as E, type AiPe2OracleEvidenceProvider as F, type AiPe2OracleEvidenceProviderInput as G, type AiPe2OracleVerdict as H, type InsertTableOptions as I, type ApiV3 as J, type ApiV3FnMetadata as K, type LoadStage as L, type MarginPresetDefinition as M, type ApiV3UiChrome as N, type ApiV3UiDebug as O, type PersistedEditorSnapshot as P, type ApiV3UiOverlays as Q, type RuntimeRenderSnapshot as R, type SelectionSnapshot$1 as S, type TextTransactionTextTarget as T, type UxIntent as U, type ApiV3UiSession as V, type ApiV3UiSurface as W, type ApiV3UiViewport as X, type BroadcastsVia as Y, type ChromeDebugMode as Z, type ChromeDocumentMode as _, type EditorSessionState as a, type EditorAnchorProjection$1 as a$, type ChromeMarkupDisplay as a0, type ChromePosture as a1, type ChromeReviewMode as a2, type ChromeSurface as a3, type ChromeSurfaceKind as a4, type CreateApiV3Opts as a5, type DebugAttachment as a6, type DebugSession as a7, type GeometryRect$1 as a8, type LiveEvidence as a9, type CreateCheckpointStoreOptions as aA, type CreateCommandEventInput as aB, type CreateWorkflowSharedOptions as aC, type RemoteCursorState as aD, type RemoteCursorTrackerHandle as aE, type RemoteCursorTrackerOptions as aF, type RuntimeCollabSyncEvent as aG, type RuntimeCollabSyncHandle as aH, type RuntimeCollabSyncOptions as aI, type RuntimeCommandAppliedBridge as aJ, type RuntimeCommandAppliedListener as aK, type SharedWorkflowState as aL, type WorkflowSharedHandle as aM, type WorkflowSharedResult as aN, clearLocalCursorState as aO, createCheckpointStore as aP, createCommandEvent as aQ, createRemoteCursorTracker as aR, createRuntimeCollabSync as aS, createRuntimeCommandAppliedBridge as aT, createWorkflowShared as aU, getCursorColorForUser as aV, getRemoteCursorStates as aW, isBroadcastCommand as aX, isLocalOnlyCommand as aY, mapRemoteCursorThroughMapping as aZ, setLocalCursorState as a_, type MockShape as aa, type OverlayAnchorQuery as ab, type PersistsTo as ac, type ScrollTarget as ad, type ScrollTargetBehavior as ae, type SelectionRangeInput as af, type SourceLayer as ag, type StateClass as ah, type SubscriptionShape as ai, type UiBinding as aj, type UiController as ak, type UiControllerKind as al, type UiListener as am, type UiUnsubscribe as an, type ViewportState as ao, createApiV3 as ap, validateApiV3Metadata as aq, type EditorStateNamespace as ar, type EditorStateLocation as as, type LoadScheduler as at, type CollabAuthorityProof as au, type CommandEvent as av, type RuntimeCollabAuthority as aw, COMMAND_EVENT_SCHEMA_VERSION as ax, type Checkpoint as ay, type CheckpointStoreHandle as az, type ExportDocxOptions as b, type CommentSidebarSnapshot as b$, type TextCommandAck as b0, type TextCommandRefreshClass as b1, type WordReviewEditorProps as b2, type WordReviewEditorRef as b3, validatePersistedEditorSnapshot as b4, type PayloadSigner as b5, type PayloadSignature as b6, type TransportStatus as b7, type CollabPosture as b8, type PresenceSnapshot as b9, type ChartSnapshotBubbleSeries as bA, type ChartSnapshotData as bB, type ChartSnapshotScatterSeries as bC, type ChartSnapshotSeries as bD, type CollabBlockReason as bE, type CollabSession as bF, type CollabSessionBridge as bG, type CollabSessionEvent as bH, type CollabSessionEventOrIntegrity as bI, type CollabSessionFacet as bJ, type CollabSessionOptions as bK, type CommandStateSnapshot as bL, type CommentAttachment as bM, type CommentAudience as bN, type CommentBody as bO, type CommentLabel as bP, type CommentMention as bQ, type CommentNegotiationAction as bR, type CommentNegotiationActionType as bS, type CommentNegotiationEntry as bT, type CommentNegotiationSnapshot as bU, type CommentNegotiationState as bV, type CommentPresentation as bW, type CommentPresentationAction as bX, type CommentPresentationReply as bY, type CommentPresentationSnapshot as bZ, type CommentReaction as b_, type AwarenessIdentity as ba, type ExternalCustody as bb, type ExternalCustodyResolver as bc, type ExternalCustodyRestoredContent as bd, type RuntimePageGraph as be, type ActiveListContext as bf, type ActiveNoteContext as bg, type AddCommentParams as bh, type AddCommentReplyResult as bi, type AddCommentResult as bj, type AiExplanationScopeInput as bk, type AiExplanationScopeResult as bl, type AttachPayloadArgs as bm, type AuthorKind as bn, type AutosaveConfig as bo, type AutosaveState as bp, type AwarenessPeer as bq, type BatchEditEntryResult as br, type BatchEditOperation as bs, type BatchEditOptions as bt, type BatchEditResult as bu, type CaretAffinity as bv, type ChangeAnchor as bw, type ChangeFilter as bx, type ChartPreviewResolveParams as by, type ChartSnapshot as bz, type ExportResult as c, type NegotiationVote as c$, type CommentSidebarThreadEntrySnapshot as c0, type CommentSidebarThreadSnapshot as c1, type CompatibilityFeatureClass as c2, type CompatibilityFeatureEntry as c3, type CompatibilityPanelSnapshot as c4, type CreateCollabSessionBridgeOptions as c5, type DispatchContext as c6, type DispatchResult as c7, type DocumentChunkKind as c8, type DocumentChunkSnapshot as c9, type EditorViewStateSnapshot as cA, type EditorWarning as cB, type EditorWarningCode as cC, type ExternalCustodyArchivePayload as cD, type ExternalDocumentSource as cE, type HeaderFooterLinkPatch as cF, type HostAnnotationItem as cG, type HostAnnotationKind as cH, type HostAnnotationOverlay as cI, type HostAnnotationSnapshot as cJ, ISSUE_METADATA_ID as cK, type InteractionGuardSnapshot as cL, type IssueMetadataValue as cM, type IssueMode as cN, type IssueOwner as cO, type IssueSeverity as cP, type LayoutMeasurement as cQ, type LoadRequest as cR, type LoadResult as cS, type LoadSourcePolicy as cT, type MetadataIntegrity as cU, type MetadataPersistenceMode as cV, MetadataResolverMissingError as cW, type NegotiationBlockReason as cX, type NegotiationCounterProposal as cY, type NegotiationHistoryRow as cZ, type NegotiationRole as c_, type DocumentHeadingSnapshot as ca, type DocumentLocationSnapshot as cb, type DocumentLocationSource as cc, type DocumentNavigationSnapshot as cd, type DocumentOutlineHeadingSnapshot as ce, type DocumentOutlineSnapshot as cf, type DocumentPageSnapshot as cg, type DocumentSectionSnapshot as ch, type DocumentStats as ci, type DocumentTextToken as cj, type EditorAnchorProjection as ck, type EditorDatastoreAdapter as cl, type EditorErrorCode as cm, type EditorStateBlob as cn, type EditorStatePartLoadFailure as co, type EditorStatePartPersistFailure as cp, type EditorStatePersister as cq, type EditorStatePolicy as cr, type EditorStatePolicyEntry as cs, type EditorStatePolicyMigration as ct, type EditorStateResolveErrorMode as cu, type EditorStateResolver as cv, type EditorStateStorageRef as cw, type EditorStoryTarget as cx, type EditorTelemetryEvent as cy, type EditorUser as cz, type TextTransactionResult as d, type SurfaceTextMark as d$, type PageLayoutSnapshot as d0, type PageRegionHitTest as d1, type Participant as d2, type ParticipantRole as d3, type ParticipantRoster as d4, type PayloadVerifier as d5, REVIEW_ACTION_METADATA_ID as d6, type RestorePointCheckpointType as d7, type RestorePointSnapshot as d8, type RestoreResult as d9, type ScopeCardModel as dA, type ScopeIssueAction as dB, type ScopeMetadataPersistence as dC, type ScopeMetadataResolver as dD, type ScopeMetadataStorageRef as dE, type ScopeTagTouch as dF, type SectionBreakType as dG, type SectionLayoutPatch as dH, type SectionPageNumberingPatch as dI, type SelectionToolKind as dJ, type SelectionToolRegistryEntry as dK, type SendToExternalCallArgs as dL, type SignatureAlgorithm as dM, type SnapshotRefreshChangeKind as dN, type SnapshotRefreshHints as dO, type SnapshotRefreshInvalidateTarget as dP, type SnapshotRefreshStaleTarget as dQ, type StoryTextStreamSnapshot as dR, type StyleCatalogEntrySnapshot as dS, type StyleCatalogSnapshot as dT, type SuggestionEntrySnapshot as dU, type SuggestionGroup as dV, type SuggestionsSnapshot as dW, type SurfaceBlockSnapshot as dX, type SurfaceInlineSegment as dY, type SurfaceTableCellSnapshot as dZ, type SurfaceTableRowSnapshot as d_, type ReviewActionKind as da, type ReviewActionMetadataValue as db, type ReviewQueueItem as dc, type ReviewQueueItemKind as dd, type ReviewQueueSnapshot as de, type ReviewWorkItemSnapshot as df, type ReviewWorkSnapshot as dg, type RuntimeContextAnalyticsActionHint as dh, type RuntimeContextAnalyticsBadge as di, type RuntimeContextAnalyticsCounts as dj, type RuntimeContextAnalyticsProvenance as dk, type RuntimeContextAnalyticsQuery as dl, type RuntimeContextAnalyticsScopeKind as dm, type RuntimeContextAnalyticsSnapshot as dn, type RuntimeContextAnalyticsState as dp, type RuntimeContextAnalyticsUnavailableField as dq, type RuntimeSendToExternalArgs as dr, type RuntimeSendToExternalResult as ds, SELECTION_TOOL_REGISTRY as dt, type SaveExportParams as du, type SaveExportResult as dv, type SaveSessionParams as dw, type SaveSessionResult as dx, type SaveSnapshotParams as dy, type SaveSnapshotResult as dz, type StructuralMutationResult as e, type WordReviewEditorLayoutFacet as e$, type TamperGate as e0, type TamperGateArgs as e1, type AttachArgs as e2, type TamperGateEvent as e3, type GuardResult as e4, type TextCommandAckKind as e5, type TextProjection as e6, type TextProjectionLine as e7, type TextProjectionOptions as e8, type TextProjectionStoryEntry as e9, type WorkflowOverlay as eA, type WorkflowOverlayPatch as eB, type WorkflowProtectedRangeMarkup as eC, type WorkflowRevisionMarkup as eD, type WorkflowScope as eE, type WorkflowScopeMode as eF, type WorkflowScopeSnapshot as eG, type WorkflowWorkItem as eH, type WorkspaceMode as eI, type ZoomLevel as eJ, createCollabSession as eK, createCollabSessionBridge as eL, createCollabSessionFacet as eM, createHmacSigner as eN, createHmacVerifier as eO, createTamperGate as eP, resolveSelectionToolRegistry as eQ, runtimeSendToExternal as eR, sendToExternal as eS, signWorkflowPayloadXml as eT, verifyWorkflowPayloadXml as eU, type ScopeRailSegment as eV, type ChromePinSurface as eW, type PinState as eX, type FormattingAlignment as eY, type InsertImageOptions as eZ, type SessionCapabilities as e_, type TocEntrySnapshot as ea, type TocRegionSnapshot as eb, type TocSnapshot as ec, type TrackedChangeEntrySnapshot as ed, type TrackedChangesSnapshot as ee, type ViewMode as ef, type WordReviewEditorChromeOptions as eg, type WordReviewEditorChromePreset as eh, type WordReviewEditorChromeVisibility as ei, type WordReviewEditorEvent as ej, type WorkflowBlockedCommandReason as ek, type WorkflowCandidateRange as el, type WorkflowCandidateRangeOptions as em, type WorkflowCommentMarkup as en, type WorkflowFieldMarkup as eo, type WorkflowHighlightMarkup as ep, type WorkflowMarkupBase as eq, type WorkflowMarkupItem as er, type WorkflowMarkupKind as es, type WorkflowMarkupSnapshot as et, type WorkflowMetadataDefinition as eu, type WorkflowMetadataEntry as ev, type WorkflowMetadataMarkup as ew, type WorkflowMetadataPersistence as ex, type WorkflowMetadataSnapshot as ey, type WorkflowOpaqueFragmentMarkup as ez, type TextFormattingDirective as f, createPersistedEditorSnapshot as f$, type GeometryFacet as f0, type WorkflowFacet as f1, type EditorActionHostCallbacks as f2, type TwWorkspaceChromeHostController as f3, type FormattingStateSnapshot as f4, type UiObjectDragStartInput as f5, type UiObjectDragSession as f6, type ActiveSelectionToolModel as f7, type TableStructureContextSnapshot as f8, type EditorRole as f9, getEffectiveRange as fA, mapAnchor as fB, mapPosition as fC, mapRange as fD, normalizeRange as fE, storyTargetsEqual as fF, type CommandStateSnapshot$1 as fG, type CommentEntryRecord as fH, type CommentResolutionRecord as fI, type CommentSidebarSnapshot$1 as fJ, type CommentThreadRecord as fK, type CompatibilityPanelSnapshot$1 as fL, type CreateEditorStateOptions as fM, type DocumentStats$1 as fN, type EditorRuntimeState as fO, type EditorState as fP, type PersistedEditorSnapshot$1 as fQ, type ReviewStore as fR, type RevisionMetadataRecord as fS, type RevisionRecord as fT, type RuntimePhase as fU, type RuntimeRenderSnapshot$1 as fV, type TrackedChangesSnapshot$1 as fW, createDefaultCanonicalDocument as fX, createEditorState as fY, createEmptyCompatibilityReport as fZ, createEmptyReviewStore as f_, type ToolbarChromeItemId as fa, type ToolbarChromePlacement as fb, type ScopeRailPosture as fc, type ChromePinsState as fd, type PublicMeasurementFidelity as fe, type FormattingInlineSelectionToolModel as ff, type EditableTargetRef as fg, deriveCapabilities as fh, type Assoc as fi, type BoundaryAssoc as fj, DEFAULT_BOUNDARY_ASSOC as fk, type DetachedAnchor as fl, type DocRange as fm, type InternalEditorAnchorProjection as fn, MAIN_STORY_TARGET as fo, type MappingResult as fp, type MappingStep as fq, type NodeAnchor as fr, type Position as fs, type RangeAnchor as ft, anchorUnaffectedByMapping as fu, areAnchorsEqual as fv, createDetachedAnchor as fw, createEmptyMapping as fx, createNodeAnchor as fy, createRangeAnchor as fz, type TransactionMapping as g, EMU_PER_PX as g$, createSelectionSnapshot as g0, deriveDocumentStats as g1, deriveRenderSnapshot as g2, normalizeCommentThreadRecord as g3, type Alignment as g4, type FormattingMutationResult as g5, type FormattingOperation as g6, type TextMarkClearTarget as g7, type TextMarkRangeOperation as g8, applyFormattingOperationToDocument as g9, type CommandAppliedMeta as gA, type CreateDocumentRuntimeOptions as gB, type DocumentRuntime as gC, type DocumentRuntimeEvent as gD, type RemoteCommandEnvelope as gE, type Unsubscribe as gF, __buildTocInlineNodes as gG, __collectFontLoaderInputUncached as gH, __fontFamiliesEqual as gI, createDocumentRuntime as gJ, getThemeColorResolver as gK, type ActiveMarginPreset as gL, type ActivePageFormat as gM, type AddScopeParams as gN, type AddScopeResult as gO, CAPABILITY_BY_ID as gP, type CanonicalDocumentFragment as gQ, type CapabilityBlockReason as gR, type CapabilityCategory as gS, type CapabilityKind as gT, type CapabilityShortcut as gU, type ClearHighlightOptions as gV, DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP as gW, DEFAULT_PX_PER_TWIP as gX, type DecorationIndex as gY, type DocumentMode as gZ, EMU_PER_INCH as g_, applyIndentation as ga, applyTextMarkOperationToDocumentRange as gb, getFormattingStateFromRenderSnapshot as gc, isMarkActive as gd, makeSetAlignment as ge, makeSetFontFamily as gf, makeSetFontSize as gg, makeSetHighlight as gh, makeSetTextColor as gi, makeToggleAllCaps as gj, makeToggleBold as gk, makeToggleItalic as gl, makeToggleSmallCaps as gm, makeToggleStrikethrough as gn, makeToggleSubscript as go, makeToggleSuperscript as gp, makeToggleUnderline as gq, type CellLocator as gr, type TableStructureOperation as gs, applyTableStructureOperation as gt, applyTableStructureOperationForEditableTarget as gu, getTableStructureContext as gv, removeCellFromRow as gw, removeTableRowPure as gx, tableStructureActionHandleForTarget as gy, type ActiveStoryTextCommand as gz, type SelectionSnapshot as h, type PublicTableEvent as h$, EditorApiError as h0, type EditorCapability as h1, type EditorDiagnostic as h2, type EditorDiagnosticCode as h3, type EditorDiagnosticLlmMetadata as h4, type EditorDiagnosticRecoveryClass as h5, type EditorDiagnosticRemediation as h6, type EditorDiagnosticSource as h7, type EditorDiagnosticTechnical as h8, type EffectiveSelectionMode as h9, type PublicCellLocator as hA, type PublicCellShading as hB, type PublicFieldDirtinessReport as hC, type PublicLayoutDivergence as hD, type PublicLineBox as hE, type PublicLineRunAnchor as hF, type PublicNoteAllocation as hG, type PublicPageAnchor as hH, type PublicPageFrame as hI, type PublicPageLocalStoryInstance as hJ, type PublicPageNode as hK, type PublicPagePaginationTelemetry as hL, type PublicPageRegion as hM, type PublicPageRegions as hN, type PublicPageSpan as hO, type PublicPaginationTelemetry as hP, type PublicRegionBlock as hQ, type PublicRegionKind as hR, type PublicResolvedPageStories as hS, type PublicResolvedParagraphFormatting as hT, type PublicResolvedRunFormatting as hU, type PublicResolvedStoryField as hV, type PublicSectionNode as hW, type PublicStoryAnchoredObject as hX, type PublicTableBorders as hY, type PublicTableCellBorders as hZ, type PublicTableCellMargins as h_, type EmbeddedDocumentManifestLike as ha, type ExportDelivery as hb, type FieldEntrySnapshot as hc, type FieldFamily as hd, type FieldRefreshStatus as he, type FieldSnapshot as hf, type FormattingBreadcrumbItem as hg, type LayoutFacetEvent as hh, type LayoutFacetInvalidationReason as hi, type LayoutInputIdentity as hj, type MetadataConflictPolicy as hk, type OverlayKind as hl, type OverlayVisibilityAuthorship as hm, type OverlayVisibilityEnforcement as hn, type OverlayVisibilityPolicy as ho, PERCENTAGE_PARTS as hp, type PageChromeReservations as hq, type PageFieldContext as hr, type PagePatchEntry as hs, type PagePatchPlan as ht, type PagePatchReason as hu, type PagePreviewMaps as hv, type ProtectionRange as hw, type PublicBlockFragment as hx, type PublicBlockMeasurement as hy, type PublicBorderSpec as hz, type PageFormatDefinition as i, type TableOpResult as i$, type PublicTableRenderPlan as i0, type PublicTableRowHeight as i1, type PublicTableStyle as i2, type PublicTableSummary as i3, type PublicTableWidth as i4, type PublicTwipsRect as i5, ROTATION_UNITS_PER_DEGREE as i6, type RenderAnchorIndex as i7, type RenderAnchorQuery as i8, type RenderBlock as i9, type ScopeChromeVisibility as iA, type ScopeChromeVisibilityState as iB, type ScopeHandle as iC, type ScopeQueryFilter as iD, type ScopeQueryResult as iE, type ScopeRailSnapshot as iF, type ScopeTagRegistry as iG, type ScopeVisibility as iH, type SearchResultSnapshot as iI, type SecondaryStorySurface as iJ, type SemanticScope as iK, type SemanticScopeKind as iL, type SetSelectionOptions as iM, type ShortcutDelegationContext as iN, type StorageReference as iO, type StoreEmbeddedDocParams as iP, type SupportedFieldFamily as iQ, type SurfaceDrawingAnchor as iR, type SurfacePictureEffects as iS, type SurfacePreserveOnlyObjectSizing as iT, type SurfaceTextBoxBodyProperties as iU, type SurfaceTextBoxBodySnapshot as iV, type SurfaceTextBoxBodyStatus as iW, type SurfaceTextBoxParagraphSnapshot as iX, type SurfaceTextBoxRunSnapshot as iY, TWIPS_PER_PX as iZ, type TableOp as i_, type RenderBlockDecoration as ia, type RenderFrame as ib, type RenderFrameQueryOptions as ic, type RenderFrameRect as id, type RenderHitResult as ie, type RenderKernelEvent as ig, type RenderLine as ih, type RenderLineAnchor as ii, type RenderPage as ij, type RenderPageRegions as ik, type RenderPoint as il, type RenderStoryRegion as im, type RenderZoom as io, type RenderZoomSummary as ip, type ResolveMetadataConflictInput as iq, type ResolvedNumberingGeometrySnapshot as ir, type ResolvedNumberingSnapshot as is, type RuntimeEditTargetContext as it, type RuntimePageNode as iu, SRCRECT_UNITS_PER_PERCENT as iv, type SanitizeResult as iw, type ScopeBundle$1 as ix, type ScopeBundleEvidence as iy, type ScopeBundleNeighborhood as iz, type SearchOptions as j, type TableOperationCapabilitySnapshot as j0, type TextStyleFilter as j1, type TocRefreshOptions as j2, type TocRefreshResult as j3, type TocRefreshTrigger as j4, type UpdateFieldsOptions as j5, type UpdateFieldsResult as j6, type WordReviewEditorChangesFacet as j7, type WordReviewEditorCommentsFacet as j8, type WordReviewEditorDiagnosticsFacet as j9, type WordReviewEditorDocumentFacet as ja, type WordReviewEditorFieldsFacet as jb, type WordReviewEditorPasteEvent as jc, type WordReviewEditorScopesFacet as jd, type WordReviewEditorTablesFacet as je, type WorkflowEventOrigin as jf, type WorkflowLockedZone as jg, type WorkflowMarkupMode as jh, type WorkflowMarkupModeEnforcement as ji, type WorkflowMarkupModePolicy as jj, type WorkflowScopeGuardPolicy as jk, type WorkflowScopeMetadataField as jl, buildPagePreviewMaps as jm, buildSearchPattern as jn, createCanvasBackend as jo, createPublicNodeAnchor as jp, createPublicRangeAnchor as jq, createScopeTagRegistry as jr, estimateBlockHeight as js, estimateParagraphLineCount as jt, estimateParagraphLineHeight as ju, findPageForOffset as jv, getUsableColumnWidth as jw, resolvePageFieldDisplayText as jx, sanitizeMarkdown as jy, storyTargetKey as jz, type SearchTextOptions as k, type SecondaryStorySearchResult as l, createSearchExcerpt as m, findSearchMatches as n, type EditorSurfaceSnapshot as o, type LoadSchedulerBackend as p, type CompatibilityReport as q, type EditorError as r, searchSecondaryStories as s, type ProtectionSnapshot as t, type MockPayload as u, type RuntimeApiHandle as v, type UiControllerFactory as w, type ApiV3Ui as x, type AgentMetadata as y, type AiPe2EvidenceOptions as z };
|
|
19345
|
+
export { type ChromeDebugMode as $, type ApiStatus as A, type AiPe2EvidenceOptions as B, type CanonicalDocumentEnvelope$1 as C, type AiPe2GraphOracleReference as D, type EditorHostAdapter as E, type AiPe2OracleEvidence as F, type AiPe2OracleEvidenceProvider as G, type AiPe2OracleEvidenceProviderInput as H, type InsertTableOptions as I, type AiPe2OracleVerdict as J, type ApiV3 as K, type LoadStage as L, type MarginPresetDefinition as M, type ApiV3FnMetadata as N, type ApiV3UiChrome as O, type PersistedEditorSnapshot as P, type ApiV3UiDebug as Q, type RuntimeRenderSnapshot as R, type ScopeSurfaceTelemetry as S, type TextTransactionTextTarget as T, type UxIntent as U, type ApiV3UiLists as V, type ApiV3UiOverlays as W, type ApiV3UiSession as X, type ApiV3UiSurface as Y, type ApiV3UiViewport as Z, type BroadcastsVia as _, type EditorSessionState as a, createRuntimeCommandAppliedBridge as a$, type ChromeDocumentMode as a0, type ChromeHostPosture as a1, type ChromeMarkupDisplay as a2, type ChromePosture as a3, type ChromeReviewMode as a4, type ChromeSurface as a5, type ChromeSurfaceKind as a6, type CreateApiV3Opts as a7, type DebugAttachment as a8, type DebugSession as a9, type EditorStateLocation as aA, type LoadScheduler as aB, type CollabAuthorityProof as aC, type CommandEvent as aD, type RuntimeCollabAuthority as aE, COMMAND_EVENT_SCHEMA_VERSION as aF, type Checkpoint as aG, type CheckpointStoreHandle as aH, type CreateCheckpointStoreOptions as aI, type CreateCommandEventInput as aJ, type CreateWorkflowSharedOptions as aK, type RemoteCursorState as aL, type RemoteCursorTrackerHandle as aM, type RemoteCursorTrackerOptions as aN, type RuntimeCollabSyncEvent as aO, type RuntimeCollabSyncHandle as aP, type RuntimeCollabSyncOptions as aQ, type RuntimeCommandAppliedBridge as aR, type RuntimeCommandAppliedListener as aS, type SharedWorkflowState as aT, type WorkflowSharedHandle as aU, type WorkflowSharedResult as aV, clearLocalCursorState as aW, createCheckpointStore as aX, createCommandEvent as aY, createRemoteCursorTracker as aZ, createRuntimeCollabSync as a_, type GeometryRect$1 as aa, type LiveEvidence as ab, type MockShape as ac, type OverlayAnchorQuery as ad, type PersistsTo as ae, type ScrollTarget as af, type ScrollTargetBehavior as ag, type SelectionRangeInput as ah, type SourceLayer as ai, type StateClass as aj, type SubscriptionShape as ak, type UiBinding as al, type UiController as am, type UiControllerKind as an, type UiListCommand as ao, type UiListCommandAvailability as ap, type UiListCommandPreview as aq, type UiListReadbackFilter as ar, type UiListReadbackSnapshot as as, type UiListReadbackTarget as at, type UiListener as au, type UiUnsubscribe as av, type ViewportState as aw, createApiV3 as ax, validateApiV3Metadata as ay, type EditorStateNamespace as az, type ExportDocxOptions as b, type CommentNegotiationEntry as b$, createWorkflowShared as b0, getCursorColorForUser as b1, getRemoteCursorStates as b2, isBroadcastCommand as b3, isLocalOnlyCommand as b4, mapRemoteCursorThroughMapping as b5, setLocalCursorState as b6, type EditorAnchorProjection$1 as b7, type TextCommandAck as b8, type TextCommandRefreshClass as b9, type BatchEditOperation as bA, type BatchEditOptions as bB, type BatchEditResult as bC, type CaretAffinity as bD, type ChangeAnchor as bE, type ChangeFilter as bF, type ChartPreviewResolveParams as bG, type ChartSnapshot as bH, type ChartSnapshotBubbleSeries as bI, type ChartSnapshotData as bJ, type ChartSnapshotScatterSeries as bK, type ChartSnapshotSeries as bL, type CollabBlockReason as bM, type CollabSession as bN, type CollabSessionBridge as bO, type CollabSessionEvent as bP, type CollabSessionEventOrIntegrity as bQ, type CollabSessionFacet as bR, type CollabSessionOptions as bS, type CommandStateSnapshot as bT, type CommentAttachment as bU, type CommentAudience as bV, type CommentBody as bW, type CommentLabel as bX, type CommentMention as bY, type CommentNegotiationAction as bZ, type CommentNegotiationActionType as b_, type WordReviewEditorProps as ba, type WordReviewEditorRef as bb, validatePersistedEditorSnapshot as bc, type PayloadSigner as bd, type PayloadSignature as be, type TransportStatus as bf, type CollabPosture as bg, type PresenceSnapshot as bh, type AwarenessIdentity as bi, type ExternalCustody as bj, type ExternalCustodyResolver as bk, type ExternalCustodyRestoredContent as bl, type RuntimePageGraph as bm, type ActiveListContext as bn, type ActiveNoteContext as bo, type AddCommentParams as bp, type AddCommentReplyResult as bq, type AddCommentResult as br, type AiExplanationScopeInput as bs, type AiExplanationScopeResult as bt, type AttachPayloadArgs as bu, type AuthorKind as bv, type AutosaveConfig as bw, type AutosaveState as bx, type AwarenessPeer as by, type BatchEditEntryResult as bz, type ExportResult as c, type LoadSourcePolicy as c$, type CommentNegotiationSnapshot as c0, type CommentNegotiationState as c1, type CommentPresentation as c2, type CommentPresentationAction as c3, type CommentPresentationReply as c4, type CommentPresentationSnapshot as c5, type CommentReaction as c6, type CommentSidebarSnapshot as c7, type CommentSidebarThreadEntrySnapshot as c8, type CommentSidebarThreadSnapshot as c9, type EditorStatePolicyEntry as cA, type EditorStatePolicyMigration as cB, type EditorStateResolveErrorMode as cC, type EditorStateResolver as cD, type EditorStateStorageRef as cE, type EditorStoryTarget as cF, type EditorTelemetryEvent as cG, type EditorUser as cH, type EditorViewStateSnapshot as cI, type EditorWarning as cJ, type EditorWarningCode as cK, type ExternalCustodyArchivePayload as cL, type ExternalDocumentSource as cM, type HeaderFooterLinkPatch as cN, type HostAnnotationItem as cO, type HostAnnotationKind as cP, type HostAnnotationOverlay as cQ, type HostAnnotationSnapshot as cR, ISSUE_METADATA_ID as cS, type InteractionGuardSnapshot as cT, type IssueMetadataValue as cU, type IssueMode as cV, type IssueOwner as cW, type IssueSeverity as cX, type LayoutMeasurement as cY, type LoadRequest as cZ, type LoadResult as c_, type CompatibilityFeatureClass as ca, type CompatibilityFeatureEntry as cb, type CompatibilityPanelSnapshot as cc, type CreateCollabSessionBridgeOptions as cd, type DispatchContext as ce, type DispatchResult as cf, type DocumentChunkKind as cg, type DocumentChunkSnapshot as ch, type DocumentHeadingSnapshot as ci, type DocumentLocationSnapshot as cj, type DocumentLocationSource as ck, type DocumentNavigationSnapshot as cl, type DocumentOutlineHeadingSnapshot as cm, type DocumentOutlineSnapshot as cn, type DocumentPageSnapshot as co, type DocumentSectionSnapshot as cp, type DocumentStats as cq, type DocumentTextToken as cr, type EditorAnchorProjection as cs, type EditorDatastoreAdapter as ct, type EditorErrorCode as cu, type EditorStateBlob as cv, type EditorStatePartLoadFailure as cw, type EditorStatePartPersistFailure as cx, type EditorStatePersister as cy, type EditorStatePolicy as cz, type EditorSurfaceSnapshot as d, type StyleCatalogSnapshot as d$, type MetadataIntegrity as d0, type MetadataPersistenceMode as d1, MetadataResolverMissingError as d2, type NegotiationBlockReason as d3, type NegotiationCounterProposal as d4, type NegotiationHistoryRow as d5, type NegotiationRole as d6, type NegotiationVote as d7, type PageLayoutSnapshot as d8, type PageRegionHitTest as d9, type RuntimeSendToExternalResult as dA, SELECTION_TOOL_REGISTRY as dB, type SaveExportParams as dC, type SaveExportResult as dD, type SaveSessionParams as dE, type SaveSessionResult as dF, type SaveSnapshotParams as dG, type SaveSnapshotResult as dH, type ScopeCardModel as dI, type ScopeIssueAction as dJ, type ScopeMetadataPersistence as dK, type ScopeMetadataResolver as dL, type ScopeMetadataStorageRef as dM, type ScopeTagTouch as dN, type SectionBreakType as dO, type SectionLayoutPatch as dP, type SectionPageNumberingPatch as dQ, type SelectionToolKind as dR, type SelectionToolRegistryEntry as dS, type SendToExternalCallArgs as dT, type SignatureAlgorithm as dU, type SnapshotRefreshChangeKind as dV, type SnapshotRefreshHints as dW, type SnapshotRefreshInvalidateTarget as dX, type SnapshotRefreshStaleTarget as dY, type StoryTextStreamSnapshot as dZ, type StyleCatalogEntrySnapshot as d_, type Participant as da, type ParticipantRole as db, type ParticipantRoster as dc, type PayloadVerifier as dd, REVIEW_ACTION_METADATA_ID as de, type RestorePointCheckpointType as df, type RestorePointSnapshot as dg, type RestoreResult as dh, type ReviewActionKind as di, type ReviewActionMetadataValue as dj, type ReviewQueueItem as dk, type ReviewQueueItemKind as dl, type ReviewQueueSnapshot as dm, type ReviewWorkItemSnapshot as dn, type ReviewWorkSnapshot as dp, type RuntimeContextAnalyticsActionHint as dq, type RuntimeContextAnalyticsBadge as dr, type RuntimeContextAnalyticsCounts as ds, type RuntimeContextAnalyticsProvenance as dt, type RuntimeContextAnalyticsQuery as du, type RuntimeContextAnalyticsScopeKind as dv, type RuntimeContextAnalyticsSnapshot as dw, type RuntimeContextAnalyticsState as dx, type RuntimeContextAnalyticsUnavailableField as dy, type RuntimeSendToExternalArgs as dz, type SelectionSnapshot$1 as e, signWorkflowPayloadXml as e$, type SuggestionEntrySnapshot as e0, type SuggestionGroup as e1, type SuggestionsSnapshot as e2, type SurfaceBlockSnapshot as e3, type SurfaceInlineSegment as e4, type SurfaceTableCellSnapshot as e5, type SurfaceTableRowSnapshot as e6, type SurfaceTextMark as e7, type TamperGate as e8, type TamperGateArgs as e9, type WorkflowMarkupKind as eA, type WorkflowMarkupSnapshot as eB, type WorkflowMetadataDefinition as eC, type WorkflowMetadataEntry as eD, type WorkflowMetadataMarkup as eE, type WorkflowMetadataPersistence as eF, type WorkflowMetadataSnapshot as eG, type WorkflowOpaqueFragmentMarkup as eH, type WorkflowOverlay as eI, type WorkflowOverlayPatch as eJ, type WorkflowProtectedRangeMarkup as eK, type WorkflowRevisionMarkup as eL, type WorkflowScope as eM, type WorkflowScopeMode as eN, type WorkflowScopeSnapshot as eO, type WorkflowWorkItem as eP, type WorkspaceMode as eQ, type ZoomLevel as eR, createCollabSession as eS, createCollabSessionBridge as eT, createCollabSessionFacet as eU, createHmacSigner as eV, createHmacVerifier as eW, createTamperGate as eX, resolveSelectionToolRegistry as eY, runtimeSendToExternal as eZ, sendToExternal as e_, type AttachArgs as ea, type TamperGateEvent as eb, type GuardResult as ec, type TextCommandAckKind as ed, type TextProjection as ee, type TextProjectionLine as ef, type TextProjectionOptions as eg, type TextProjectionStoryEntry as eh, type TocEntrySnapshot as ei, type TocRegionSnapshot as ej, type TocSnapshot as ek, type TrackedChangeEntrySnapshot as el, type TrackedChangesSnapshot as em, type ViewMode as en, type WordReviewEditorChromeOptions as eo, type WordReviewEditorChromePreset as ep, type WordReviewEditorChromeVisibility as eq, type WordReviewEditorEvent as er, type WorkflowBlockedCommandReason as es, type WorkflowCandidateRange as et, type WorkflowCandidateRangeOptions as eu, type WorkflowCommentMarkup as ev, type WorkflowFieldMarkup as ew, type WorkflowHighlightMarkup as ex, type WorkflowMarkupBase as ey, type WorkflowMarkupItem as ez, type TextTransactionResult as f, type RevisionRecord as f$, verifyWorkflowPayloadXml as f0, type ScopeRailSegment as f1, type ChromePinSurface as f2, type PinState as f3, type FormattingAlignment as f4, type InsertImageOptions as f5, type SessionCapabilities as f6, type WordReviewEditorLayoutFacet as f7, type GeometryFacet as f8, type WorkflowFacet as f9, type Position as fA, type RangeAnchor as fB, anchorUnaffectedByMapping as fC, areAnchorsEqual as fD, createDetachedAnchor as fE, createEmptyMapping as fF, createNodeAnchor as fG, createRangeAnchor as fH, getEffectiveRange as fI, mapAnchor as fJ, mapPosition as fK, mapRange as fL, normalizeRange as fM, storyTargetsEqual as fN, type CommandStateSnapshot$1 as fO, type CommentEntryRecord as fP, type CommentResolutionRecord as fQ, type CommentSidebarSnapshot$1 as fR, type CommentThreadRecord as fS, type CompatibilityPanelSnapshot$1 as fT, type CreateEditorStateOptions as fU, type DocumentStats$1 as fV, type EditorRuntimeState as fW, type EditorState as fX, type PersistedEditorSnapshot$1 as fY, type ReviewStore as fZ, type RevisionMetadataRecord as f_, type EditorActionHostCallbacks as fa, type TwWorkspaceChromeHostController as fb, type FormattingStateSnapshot as fc, type UiObjectDragStartInput as fd, type UiObjectDragSession as fe, type ActiveSelectionToolModel as ff, type TableStructureContextSnapshot as fg, type EditorRole as fh, type ToolbarChromeItemId as fi, type ToolbarChromePlacement as fj, type ScopeRailPosture as fk, type ChromePinsState as fl, type PublicMeasurementFidelity as fm, type FormattingInlineSelectionToolModel as fn, type EditableTargetRef as fo, deriveCapabilities as fp, type Assoc as fq, type BoundaryAssoc as fr, DEFAULT_BOUNDARY_ASSOC as fs, type DetachedAnchor as ft, type DocRange as fu, type InternalEditorAnchorProjection as fv, MAIN_STORY_TARGET as fw, type MappingResult as fx, type MappingStep as fy, type NodeAnchor as fz, type StructuralMutationResult as g, type CapabilityKind as g$, type RuntimePhase as g0, type RuntimeRenderSnapshot$1 as g1, type TrackedChangesSnapshot$1 as g2, createDefaultCanonicalDocument as g3, createEditorState as g4, createEmptyCompatibilityReport as g5, createEmptyReviewStore as g6, createPersistedEditorSnapshot as g7, createSelectionSnapshot as g8, deriveDocumentStats as g9, type TableStructureOperation as gA, applyTableStructureOperation as gB, applyTableStructureOperationForEditableTarget as gC, getTableStructureContext as gD, removeCellFromRow as gE, removeTableRowPure as gF, tableStructureActionHandleForTarget as gG, type ActiveStoryTextCommand as gH, type CommandAppliedMeta as gI, type CreateDocumentRuntimeOptions as gJ, type DocumentRuntime as gK, type DocumentRuntimeEvent as gL, type RemoteCommandEnvelope as gM, type Unsubscribe as gN, __buildTocInlineNodes as gO, __collectFontLoaderInputUncached as gP, __fontFamiliesEqual as gQ, createDocumentRuntime as gR, getThemeColorResolver as gS, type ActiveMarginPreset as gT, type ActivePageFormat as gU, type AddScopeParams as gV, type AddScopeResult as gW, CAPABILITY_BY_ID as gX, type CanonicalDocumentFragment as gY, type CapabilityBlockReason as gZ, type CapabilityCategory as g_, deriveRenderSnapshot as ga, normalizeCommentThreadRecord as gb, type Alignment as gc, type FormattingMutationResult as gd, type FormattingOperation as ge, type TextMarkClearTarget as gf, type TextMarkRangeOperation as gg, applyFormattingOperationToDocument as gh, applyIndentation as gi, applyTextMarkOperationToDocumentRange as gj, getFormattingStateFromRenderSnapshot as gk, isMarkActive as gl, makeSetAlignment as gm, makeSetFontFamily as gn, makeSetFontSize as go, makeSetHighlight as gp, makeSetTextColor as gq, makeToggleAllCaps as gr, makeToggleBold as gs, makeToggleItalic as gt, makeToggleSmallCaps as gu, makeToggleStrikethrough as gv, makeToggleSubscript as gw, makeToggleSuperscript as gx, makeToggleUnderline as gy, type CellLocator as gz, type TextFormattingDirective as h, type PublicResolvedParagraphFormatting as h$, type CapabilityShortcut as h0, type ClearHighlightOptions as h1, DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP as h2, DEFAULT_PX_PER_TWIP as h3, type DecorationIndex as h4, type DocumentMode as h5, EMU_PER_INCH as h6, EMU_PER_PX as h7, EditorApiError as h8, type EditorCapability as h9, type PagePatchEntry as hA, type PagePatchPlan as hB, type PagePatchReason as hC, type PagePreviewMaps as hD, type ProtectionRange as hE, type PublicBlockFragment as hF, type PublicBlockMeasurement as hG, type PublicBorderSpec as hH, type PublicCellLocator as hI, type PublicCellShading as hJ, type PublicFieldDirtinessReport as hK, type PublicLayoutDivergence as hL, type PublicLineBox as hM, type PublicLineRunAnchor as hN, type PublicNoteAllocation as hO, type PublicPageAnchor as hP, type PublicPageFrame as hQ, type PublicPageLocalStoryInstance as hR, type PublicPageNode as hS, type PublicPagePaginationTelemetry as hT, type PublicPageRegion as hU, type PublicPageRegions as hV, type PublicPageSpan as hW, type PublicPaginationTelemetry as hX, type PublicRegionBlock as hY, type PublicRegionKind as hZ, type PublicResolvedPageStories as h_, type EditorDiagnostic as ha, type EditorDiagnosticCode as hb, type EditorDiagnosticLlmMetadata as hc, type EditorDiagnosticRecoveryClass as hd, type EditorDiagnosticRemediation as he, type EditorDiagnosticSource as hf, type EditorDiagnosticTechnical as hg, type EffectiveSelectionMode as hh, type EmbeddedDocumentManifestLike as hi, type ExportDelivery as hj, type FieldEntrySnapshot as hk, type FieldFamily as hl, type FieldRefreshStatus as hm, type FieldSnapshot as hn, type FormattingBreadcrumbItem as ho, type LayoutFacetEvent as hp, type LayoutFacetInvalidationReason as hq, type LayoutInputIdentity as hr, type MetadataConflictPolicy as hs, type OverlayKind as ht, type OverlayVisibilityAuthorship as hu, type OverlayVisibilityEnforcement as hv, type OverlayVisibilityPolicy as hw, PERCENTAGE_PARTS as hx, type PageChromeReservations as hy, type PageFieldContext as hz, type TransactionMapping as i, type SurfacePreserveOnlyObjectSizing as i$, type PublicResolvedRunFormatting as i0, type PublicResolvedStoryField as i1, type PublicSectionNode as i2, type PublicStoryAnchoredObject as i3, type PublicTableBorders as i4, type PublicTableCellBorders as i5, type PublicTableCellMargins as i6, type PublicTableEvent as i7, type PublicTableRenderPlan as i8, type PublicTableRowHeight as i9, type ResolvedNumberingSnapshot as iA, type RuntimeEditTargetContext as iB, type RuntimePageNode as iC, SRCRECT_UNITS_PER_PERCENT as iD, type SanitizeResult as iE, type ScopeBundle$1 as iF, type ScopeBundleEvidence as iG, type ScopeBundleNeighborhood as iH, type ScopeChromeVisibility as iI, type ScopeChromeVisibilityState as iJ, type ScopeHandle as iK, type ScopeQueryFilter as iL, type ScopeQueryResult as iM, type ScopeRailSnapshot as iN, type ScopeTagRegistry as iO, type ScopeVisibility as iP, type SearchResultSnapshot as iQ, type SecondaryStorySurface as iR, type SemanticScope as iS, type SemanticScopeKind as iT, type SetSelectionOptions as iU, type ShortcutDelegationContext as iV, type StorageReference as iW, type StoreEmbeddedDocParams as iX, type SupportedFieldFamily as iY, type SurfaceDrawingAnchor as iZ, type SurfacePictureEffects as i_, type PublicTableStyle as ia, type PublicTableSummary as ib, type PublicTableWidth as ic, type PublicTwipsRect as id, ROTATION_UNITS_PER_DEGREE as ie, type RenderAnchorIndex as ig, type RenderAnchorQuery as ih, type RenderBlock as ii, type RenderBlockDecoration as ij, type RenderFrame as ik, type RenderFrameQueryOptions as il, type RenderFrameRect as im, type RenderHitResult as io, type RenderKernelEvent as ip, type RenderLine as iq, type RenderLineAnchor as ir, type RenderPage as is, type RenderPageRegions as it, type RenderPoint as iu, type RenderStoryRegion as iv, type RenderZoom as iw, type RenderZoomSummary as ix, type ResolveMetadataConflictInput as iy, type ResolvedNumberingGeometrySnapshot as iz, type SelectionSnapshot as j, type SurfaceTextBoxBodyProperties as j0, type SurfaceTextBoxBodySnapshot as j1, type SurfaceTextBoxBodyStatus as j2, type SurfaceTextBoxParagraphSnapshot as j3, type SurfaceTextBoxRunSnapshot as j4, TWIPS_PER_PX as j5, type TableOp as j6, type TableOpResult as j7, type TableOperationCapabilitySnapshot as j8, type TextStyleFilter as j9, createScopeTagRegistry as jA, estimateBlockHeight as jB, estimateParagraphLineCount as jC, estimateParagraphLineHeight as jD, findPageForOffset as jE, getUsableColumnWidth as jF, resolvePageFieldDisplayText as jG, sanitizeMarkdown as jH, storyTargetKey as jI, type TocRefreshOptions as ja, type TocRefreshResult as jb, type TocRefreshTrigger as jc, type UpdateFieldsOptions as jd, type UpdateFieldsResult as je, type WordReviewEditorChangesFacet as jf, type WordReviewEditorCommentsFacet as jg, type WordReviewEditorDiagnosticsFacet as jh, type WordReviewEditorDocumentFacet as ji, type WordReviewEditorFieldsFacet as jj, type WordReviewEditorPasteEvent as jk, type WordReviewEditorScopesFacet as jl, type WordReviewEditorTablesFacet as jm, type WorkflowEventOrigin as jn, type WorkflowLockedZone as jo, type WorkflowMarkupMode as jp, type WorkflowMarkupModeEnforcement as jq, type WorkflowMarkupModePolicy as jr, type WorkflowScopeGuardPolicy as js, type WorkflowScopeMetadataField as jt, buildPagePreviewMaps as ju, buildSearchPattern as jv, createCanvasBackend as jw, createPagePatchPlan as jx, createPublicNodeAnchor as jy, createPublicRangeAnchor as jz, type PageFormatDefinition as k, type SearchOptions as l, type SearchTextOptions as m, type SecondaryStorySearchResult as n, createSearchExcerpt as o, findSearchMatches as p, type LoadSchedulerBackend as q, type CompatibilityReport as r, searchSecondaryStories as s, type EditorError as t, type ProtectionSnapshot as u, type MockPayload as v, type RuntimeApiHandle as w, type UiControllerFactory as x, type ApiV3Ui as y, type AgentMetadata as z };
|