structuredmerge-core 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/types.rbs ADDED
@@ -0,0 +1,1733 @@
1
+ # This file is auto-generated by alef — DO NOT EDIT.
2
+ # alef:hash:43f5bdc29e8ec490b16a918e06bdfa92fb054dd311bd4dd03f2ff8f35e4fdc47
3
+ # To regenerate: alef generate
4
+ # To verify freshness: alef verify
5
+
6
+ module StructuredmergeCore
7
+
8
+ VERSION: String
9
+
10
+ type json_value = Hash[String, untyped] | Array[untyped] | String | Integer | Float | bool | nil
11
+
12
+ class AnalyzePolicy
13
+ attr_reader analysis_depth: String?
14
+ attr_reader comments: bool?
15
+ attr_reader tokens: bool?
16
+ attr_reader ownership: bool?
17
+ attr_reader native_extensions: bool?
18
+ attr_reader extra: Hash[String, String]
19
+
20
+ def initialize: (?analysis_depth: String, ?comments: bool, ?tokens: bool, ?ownership: bool, ?native_extensions: bool, extra: Hash[String, String]) -> void
21
+ end
22
+
23
+ class ByteRange
24
+ attr_reader start_byte: Integer
25
+ attr_reader end_byte: Integer
26
+
27
+ def initialize: (start_byte: Integer, end_byte: Integer) -> void
28
+ def is_valid: () -> bool
29
+ def len: () -> Integer
30
+ def is_empty: () -> bool
31
+ def contains_byte: (Integer offset) -> bool
32
+ end
33
+
34
+ class CapabilityManifest
35
+ attr_reader schema: String
36
+ attr_reader kernel_version: String
37
+ attr_reader profiles: OperationProfileCatalog
38
+ attr_reader parsers: ParserRegistryInventory
39
+ attr_reader observations: Array[CapabilityObservation]
40
+
41
+ def initialize: (schema: String, kernel_version: String, profiles: OperationProfileCatalog, parsers: ParserRegistryInventory, observations: Array[CapabilityObservation]) -> void
42
+ end
43
+
44
+ class CapabilityObservation
45
+ attr_reader query: CapabilityQuery
46
+ attr_reader operation_declared: bool
47
+ attr_reader dialect_declared: bool
48
+ attr_reader parser_request: ParserSelectionRequest?
49
+ attr_reader parser_report: SelectionReport?
50
+ attr_reader parser_eligible: bool?
51
+ attr_reader approved_as_default: bool
52
+
53
+ def initialize: (query: CapabilityQuery, operation_declared: bool, dialect_declared: bool, ?parser_request: ParserSelectionRequest, ?parser_report: SelectionReport, ?parser_eligible: bool, approved_as_default: bool) -> void
54
+ end
55
+
56
+ class CapabilityQuery
57
+ attr_reader profile_id: String
58
+ attr_reader operation: enum_OperationKind
59
+ attr_reader dialect: String?
60
+ attr_reader parser_selection: ParserSelection
61
+
62
+ def initialize: (profile_id: String, operation: enum_OperationKind, ?dialect: String, parser_selection: ParserSelection) -> void
63
+ end
64
+
65
+ class ChildEdge
66
+ attr_reader node_id: String
67
+ attr_reader index: Integer
68
+ attr_reader field_name: String?
69
+ attr_reader extra: Hash[String, String]
70
+
71
+ def initialize: (node_id: String, index: Integer, ?field_name: String, extra: Hash[String, String]) -> void
72
+ end
73
+
74
+ class ConflictAlternative
75
+ attr_reader revision: enum_SourceRevision
76
+ attr_reader state: enum_ConflictAlternativeState
77
+ attr_reader regions: Array[OwnedSourceRegion]
78
+
79
+ def initialize: (revision: enum_SourceRevision, state: enum_ConflictAlternativeState, regions: Array[OwnedSourceRegion]) -> void
80
+ end
81
+
82
+ class ConflictClassification
83
+ attr_reader base_participated: bool?
84
+ attr_reader change_ids: Array[String]
85
+ attr_reader decision_ids: Array[String]
86
+ attr_reader extra: Hash[String, String]
87
+
88
+ def initialize: (?base_participated: bool, change_ids: Array[String], decision_ids: Array[String], extra: Hash[String, String]) -> void
89
+ end
90
+
91
+ class ConflictLocalization
92
+ attr_reader status: enum_LocalizationStatus
93
+ attr_reader verified: bool
94
+ attr_reader output_regions: Array[ExactConflictRegion]
95
+ attr_reader extra: Hash[String, String]
96
+
97
+ def initialize: (status: enum_LocalizationStatus, verified: bool, output_regions: Array[ExactConflictRegion], extra: Hash[String, String]) -> void
98
+ end
99
+
100
+ class ConflictResolution
101
+ attr_reader status: enum_ResolutionStatus
102
+ attr_reader strategy: enum_ResolutionStrategy
103
+ attr_reader selected_roles: Array[enum_SourceRole]
104
+ attr_reader decision_id: String?
105
+ attr_reader resolver: String?
106
+ attr_reader reason: String?
107
+ attr_reader extra: Hash[String, String]
108
+
109
+ def initialize: (status: enum_ResolutionStatus, strategy: enum_ResolutionStrategy, selected_roles: Array[enum_SourceRole], ?decision_id: String, ?resolver: String, ?reason: String, extra: Hash[String, String]) -> void
110
+ end
111
+
112
+ class ConflictSourceAlternative
113
+ attr_reader role: enum_SourceRole
114
+ attr_reader state: enum_AlternativeState
115
+ attr_reader source_id: String?
116
+ attr_reader regions: Array[ExactConflictRegion]
117
+ attr_reader change_ids: Array[String]
118
+ attr_reader extra: Hash[String, String]
119
+
120
+ def initialize: (role: enum_SourceRole, state: enum_AlternativeState, ?source_id: String, regions: Array[ExactConflictRegion], change_ids: Array[String], extra: Hash[String, String]) -> void
121
+ end
122
+
123
+ class ConflictSubject
124
+ attr_reader structural_path: String?
125
+ attr_reader owner_ref: String?
126
+ attr_reader node_ref: String?
127
+ attr_reader archive_entry: String?
128
+ attr_reader binary_region: ResultRange?
129
+ attr_reader whole_document: bool?
130
+ attr_reader extra: Hash[String, String]
131
+
132
+ def initialize: (?structural_path: String, ?owner_ref: String, ?node_ref: String, ?archive_entry: String, ?binary_region: ResultRange, ?whole_document: bool, extra: Hash[String, String]) -> void
133
+ end
134
+
135
+ class CoreError
136
+ attr_reader code: String
137
+ attr_reader message: String
138
+
139
+ def initialize: (code: String, message: String) -> void
140
+ end
141
+
142
+ class CoreParseResult
143
+ attr_reader schema: String
144
+ attr_reader selection: SelectionReport
145
+ attr_reader backend: ParserProviderDescriptor
146
+ attr_reader parsed: ParseOutput
147
+
148
+ def initialize: (schema: String, selection: SelectionReport, backend: ParserProviderDescriptor, parsed: ParseOutput) -> void
149
+ end
150
+
151
+ class CrisprBatchOperationReport
152
+ attr_reader operation_count: Integer
153
+ attr_reader operation_kinds: Array[String]
154
+ attr_reader operation_profiles: Array[CrisprOperationReport]
155
+
156
+ def initialize: (operation_count: Integer, operation_kinds: Array[String], operation_profiles: Array[CrisprOperationReport]) -> void
157
+ end
158
+
159
+ class CrisprBoundaryImplementation
160
+ attr_reader language: String
161
+ attr_reader package_name: String
162
+ attr_reader import_path: String?
163
+ attr_reader require_path: String?
164
+ attr_reader crate_name: String?
165
+
166
+ def initialize: (language: String, package_name: String, ?import_path: String, ?require_path: String, ?crate_name: String) -> void
167
+ end
168
+
169
+ class CrisprBoundaryMetadata
170
+ attr_reader source: String
171
+ attr_reader decision: String
172
+
173
+ def initialize: (source: String, decision: String) -> void
174
+ end
175
+
176
+ class CrisprBoundaryRelationships
177
+ attr_reader ast_merge: Array[String]
178
+ attr_reader ast_crispr: Array[String]
179
+ attr_reader provider_packages: Array[String]
180
+ attr_reader ast_template: Array[String]
181
+
182
+ def initialize: (ast_merge: Array[String], ast_crispr: Array[String], provider_packages: Array[String], ast_template: Array[String]) -> void
183
+ end
184
+
185
+ class CrisprBoundaryReport
186
+ attr_reader package: String
187
+ attr_reader layer: String
188
+ attr_reader status: String
189
+ attr_reader base_contract_package: String
190
+ attr_reader relationship: CrisprBoundaryRelationships
191
+ attr_reader implementations: Array[CrisprBoundaryImplementation]
192
+ attr_reader initial_exports: Array[String]
193
+ attr_reader future_exports: Array[String]
194
+ attr_reader metadata: CrisprBoundaryMetadata
195
+
196
+ def initialize: (package: String, layer: String, status: String, base_contract_package: String, relationship: CrisprBoundaryRelationships, implementations: Array[CrisprBoundaryImplementation], initial_exports: Array[String], future_exports: Array[String], metadata: CrisprBoundaryMetadata) -> void
197
+ end
198
+
199
+ class CrisprDestinationReport
200
+ attr_reader resolution_kind: String
201
+ attr_reader resolution_family: String
202
+ attr_reader known_resolution_kind: bool
203
+ attr_reader resolution_source: String
204
+ attr_reader resolution_source_family: String
205
+ attr_reader known_resolution_source: bool
206
+ attr_reader anchor_boundary: String
207
+ attr_reader anchor_boundary_family: String
208
+ attr_reader known_anchor_boundary: bool
209
+ attr_reader used_if_missing: bool
210
+ attr_reader append_fallback: bool
211
+ attr_reader anchored: bool
212
+
213
+ def initialize: (resolution_kind: String, resolution_family: String, known_resolution_kind: bool, resolution_source: String, resolution_source_family: String, known_resolution_source: bool, anchor_boundary: String, anchor_boundary_family: String, known_anchor_boundary: bool, used_if_missing: bool, append_fallback: bool, anchored: bool) -> void
214
+ end
215
+
216
+ class CrisprDestinationRequest
217
+ attr_reader resolution_kind: String
218
+ attr_reader resolution_source: String
219
+ attr_reader anchor_boundary: String
220
+ attr_reader used_if_missing: bool
221
+
222
+ def initialize: (resolution_kind: String, resolution_source: String, anchor_boundary: String, used_if_missing: bool) -> void
223
+ end
224
+
225
+ class CrisprLimitConstraint
226
+ attr_reader operator: enum_CrisprLimitOperator
227
+ attr_reader value: Integer
228
+
229
+ def initialize: (operator: enum_CrisprLimitOperator, value: Integer) -> void
230
+ end
231
+
232
+ class CrisprLimitReport
233
+ attr_reader description: String
234
+ attr_reader counts: Array[Integer]
235
+ attr_reader allowed: Array[bool]
236
+
237
+ def initialize: (description: String, counts: Array[Integer], allowed: Array[bool]) -> void
238
+ end
239
+
240
+ class CrisprLimitRequest
241
+ attr_reader constraints: Array[CrisprLimitConstraint]?
242
+ attr_reader counts: Array[Integer]
243
+
244
+ def initialize: (?constraints: Array[CrisprLimitConstraint], counts: Array[Integer]) -> void
245
+ end
246
+
247
+ class CrisprMatchReport
248
+ attr_reader start_boundary: String
249
+ attr_reader start_boundary_family: String
250
+ attr_reader known_start_boundary: bool
251
+ attr_reader end_boundary: String
252
+ attr_reader end_boundary_family: String
253
+ attr_reader known_end_boundary: bool
254
+ attr_reader payload_kind: String
255
+ attr_reader payload_family: String
256
+ attr_reader known_payload_kind: bool
257
+ attr_reader comment_anchored: bool
258
+ attr_reader trailing_gap_extended: bool
259
+
260
+ def initialize: (start_boundary: String, start_boundary_family: String, known_start_boundary: bool, end_boundary: String, end_boundary_family: String, known_end_boundary: bool, payload_kind: String, payload_family: String, known_payload_kind: bool, comment_anchored: bool, trailing_gap_extended: bool) -> void
261
+ end
262
+
263
+ class CrisprMatchRequest
264
+ attr_reader start_boundary: String
265
+ attr_reader end_boundary: String
266
+ attr_reader payload_kind: String
267
+
268
+ def initialize: (start_boundary: String, end_boundary: String, payload_kind: String) -> void
269
+ end
270
+
271
+ class CrisprOperationReport
272
+ attr_reader operation_kind: String
273
+ attr_reader operation_family: String
274
+ attr_reader known_operation_kind: bool
275
+ attr_reader source_requirement: String
276
+ attr_reader known_source_requirement: bool
277
+ attr_reader destination_requirement: String
278
+ attr_reader known_destination_requirement: bool
279
+ attr_reader replacement_source: String
280
+ attr_reader known_replacement_source: bool
281
+ attr_reader captures_source_text: bool
282
+ attr_reader supports_if_missing: bool
283
+ attr_reader selects_source: bool
284
+ attr_reader requires_source: bool
285
+ attr_reader supports_destination: bool
286
+ attr_reader requires_destination: bool
287
+ attr_reader explicit_replacement: bool
288
+ attr_reader may_reuse_captured_text: bool
289
+
290
+ def initialize: (operation_kind: String, operation_family: String, known_operation_kind: bool, source_requirement: String, known_source_requirement: bool, destination_requirement: String, known_destination_requirement: bool, replacement_source: String, known_replacement_source: bool, captures_source_text: bool, supports_if_missing: bool, selects_source: bool, requires_source: bool, supports_destination: bool, requires_destination: bool, explicit_replacement: bool, may_reuse_captured_text: bool) -> void
291
+ end
292
+
293
+ class CrisprOperationRequest
294
+ attr_reader operation_kind: String
295
+ attr_reader source_requirement: String
296
+ attr_reader destination_requirement: String
297
+ attr_reader replacement_source: String
298
+ attr_reader captures_source_text: bool
299
+ attr_reader supports_if_missing: bool
300
+
301
+ def initialize: (operation_kind: String, source_requirement: String, destination_requirement: String, replacement_source: String, captures_source_text: bool, supports_if_missing: bool) -> void
302
+ end
303
+
304
+ class CrisprSelectionReport
305
+ attr_reader owner_scope: String
306
+ attr_reader owner_selector: String
307
+ attr_reader owner_selector_family: String
308
+ attr_reader known_owner_selector: bool
309
+ attr_reader selector_kind: String
310
+ attr_reader selector_kind_family: String
311
+ attr_reader known_selector_kind: bool
312
+ attr_reader selection_intent: String
313
+ attr_reader selection_intent_family: String
314
+ attr_reader known_selection_intent: bool
315
+ attr_reader comment_region: String?
316
+ attr_reader comment_region_family: String
317
+ attr_reader known_comment_region: bool
318
+ attr_reader comment_anchored: bool
319
+ attr_reader include_trailing_gap: bool
320
+
321
+ def initialize: (owner_scope: String, owner_selector: String, owner_selector_family: String, known_owner_selector: bool, selector_kind: String, selector_kind_family: String, known_selector_kind: bool, selection_intent: String, selection_intent_family: String, known_selection_intent: bool, ?comment_region: String, comment_region_family: String, known_comment_region: bool, comment_anchored: bool, include_trailing_gap: bool) -> void
322
+ end
323
+
324
+ class CrisprSelectionRequest
325
+ attr_reader owner_scope: String
326
+ attr_reader owner_selector: String
327
+ attr_reader selector_kind: String
328
+ attr_reader selection_intent: String
329
+ attr_reader comment_region: String?
330
+ attr_reader include_trailing_gap: bool
331
+
332
+ def initialize: (owner_scope: String, owner_selector: String, selector_kind: String, selection_intent: String, ?comment_region: String, include_trailing_gap: bool) -> void
333
+ end
334
+
335
+ class Diagnostic
336
+ attr_reader severity: enum_DiagnosticSeverity
337
+ attr_reader category: enum_DiagnosticCategory
338
+ attr_reader message: String
339
+ attr_reader path: String?
340
+ attr_reader review: ReviewDiagnosticDetail?
341
+
342
+ def initialize: (severity: enum_DiagnosticSeverity, category: enum_DiagnosticCategory, message: String, ?path: String, ?review: ReviewDiagnosticDetail) -> void
343
+ end
344
+
345
+ class DiagnosticOrigin
346
+ attr_reader layer: enum_DiagnosticLayer
347
+ attr_reader provider_id: String?
348
+ attr_reader backend_id: String?
349
+ attr_reader package: String?
350
+ attr_reader package_version: String?
351
+ attr_reader native_code: String?
352
+ attr_reader extra: Hash[String, String]
353
+
354
+ def initialize: (layer: enum_DiagnosticLayer, ?provider_id: String, ?backend_id: String, ?package: String, ?package_version: String, ?native_code: String, extra: Hash[String, String]) -> void
355
+ end
356
+
357
+ class DiagnosticSourceRef
358
+ attr_reader source_id: String
359
+ attr_reader role: enum_SourceRole
360
+ attr_reader span: ResultSpan?
361
+ attr_reader extra: Hash[String, String]
362
+
363
+ def initialize: (source_id: String, role: enum_SourceRole, ?span: ResultSpan, extra: Hash[String, String]) -> void
364
+ end
365
+
366
+ class DiagnosticSubjectRef
367
+ attr_reader kind: String
368
+ attr_reader id: String
369
+ attr_reader extra: Hash[String, String]
370
+
371
+ def initialize: (kind: String, id: String, extra: Hash[String, String]) -> void
372
+ end
373
+
374
+ class DiffPolicy
375
+ attr_reader comparison_profile: String?
376
+ attr_reader equivalence: Array[String]?
377
+ attr_reader source_preservation_evidence: bool?
378
+ attr_reader extra: Hash[String, String]
379
+
380
+ def initialize: (?comparison_profile: String, ?equivalence: Array[String], ?source_preservation_evidence: bool, extra: Hash[String, String]) -> void
381
+ end
382
+
383
+ class DiffSourceRegion
384
+ attr_reader source_id: String
385
+ attr_reader source_role: enum_SourceRole
386
+ attr_reader range: ByteRange
387
+ attr_reader sha256: String
388
+
389
+ def initialize: (source_id: String, source_role: enum_SourceRole, range: ByteRange, sha256: String) -> void
390
+ end
391
+
392
+ class DirectionalMergePolicy
393
+ attr_reader directional_merge: String
394
+ attr_reader render_policy: String
395
+ attr_reader fallback_policy: String?
396
+ attr_reader extra: Hash[String, String]
397
+
398
+ def initialize: (directional_merge: String, render_policy: String, ?fallback_policy: String, extra: Hash[String, String]) -> void
399
+ end
400
+
401
+ class DirectorySessionProfile
402
+ attr_reader mode: enum_DirectorySessionMode
403
+ attr_reader context: TemplateDestinationContext
404
+ attr_reader default_strategy: enum_TemplateStrategy
405
+ attr_reader overrides: Array[TemplateStrategyOverride]
406
+ attr_reader replacements: Hash[String, String]
407
+ attr_reader allowed_families: Array[String]?
408
+ attr_reader config: TemplateTokenConfig?
409
+
410
+ def initialize: (mode: enum_DirectorySessionMode, context: TemplateDestinationContext, default_strategy: enum_TemplateStrategy, overrides: Array[TemplateStrategyOverride], replacements: Hash[String, String], ?allowed_families: Array[String], ?config: TemplateTokenConfig) -> void
411
+ end
412
+
413
+ class ExactConflictRegion
414
+ attr_reader range: ResultRange
415
+ attr_reader byte_length: Integer
416
+ attr_reader sha256: String
417
+ attr_reader extra: Hash[String, String]
418
+
419
+ def initialize: (range: ResultRange, byte_length: Integer, sha256: String, extra: Hash[String, String]) -> void
420
+ end
421
+
422
+ class ExplicitSourceEdit
423
+ attr_reader start_byte: Integer
424
+ attr_reader end_byte: Integer
425
+ attr_reader replacement: String
426
+
427
+ def initialize: (start_byte: Integer, end_byte: Integer, replacement: String) -> void
428
+ end
429
+
430
+ class LineEndings
431
+ attr_reader lf: Integer
432
+ attr_reader crlf: Integer
433
+ attr_reader bare_cr: Integer
434
+
435
+ def initialize: (?lf: Integer, ?crlf: Integer, ?bare_cr: Integer) -> void
436
+ end
437
+
438
+ class MergeConflict
439
+ attr_reader conflict_id: String
440
+ attr_reader category: String
441
+ attr_reader path: String
442
+ attr_reader fallback_scope: String
443
+ attr_reader message: String
444
+ attr_reader alternatives: Array[ConflictAlternative]
445
+
446
+ def initialize: (conflict_id: String, category: String, path: String, fallback_scope: String, message: String, alternatives: Array[ConflictAlternative]) -> void
447
+ end
448
+
449
+ class MergeParserRequirements
450
+ attr_reader allowed_backend_ids: Array[String]
451
+ attr_reader forbidden_backend_ids: Array[String]
452
+ attr_reader allowed_backend_families: Array[String]
453
+ attr_reader forbidden_backend_families: Array[String]
454
+ attr_reader languages: Array[String]
455
+ attr_reader dialects: Array[String]
456
+ attr_reader contracts: Array[String]
457
+ attr_reader capabilities: Array[String]
458
+ attr_reader profiles: Array[String]
459
+
460
+ def initialize: (?allowed_backend_ids: Array[String], ?forbidden_backend_ids: Array[String], ?allowed_backend_families: Array[String], ?forbidden_backend_families: Array[String], ?languages: Array[String], ?dialects: Array[String], ?contracts: Array[String], ?capabilities: Array[String], ?profiles: Array[String]) -> void
461
+ end
462
+
463
+ class MergeProviderDescriptor
464
+ attr_reader provider_id: String
465
+ attr_reader family: String
466
+ attr_reader role: enum_MergeProviderRole
467
+ attr_reader operations: Array[String]
468
+ attr_reader dialects: Array[String]
469
+ attr_reader profiles: Array[String]
470
+ attr_reader capabilities: Array[String]
471
+ attr_reader preservation_guarantees: Array[String]
472
+ attr_reader priority: Integer
473
+ attr_reader parser_requirements: MergeParserRequirements
474
+ attr_reader allowed_delegation_targets: Array[String]
475
+ attr_reader runtime: String
476
+ attr_reader package: String
477
+ attr_reader package_version: String
478
+ attr_reader metadata: Hash[String, String]
479
+ attr_reader extensions: Array[NativeExtension]
480
+
481
+ def initialize: (provider_id: String, family: String, role: enum_MergeProviderRole, operations: Array[String], dialects: Array[String], profiles: Array[String], capabilities: Array[String], preservation_guarantees: Array[String], priority: Integer, parser_requirements: MergeParserRequirements, allowed_delegation_targets: Array[String], runtime: String, package: String, package_version: String, metadata: Hash[String, String], extensions: Array[NativeExtension]) -> void
482
+ end
483
+
484
+ class MergeProviderInventory
485
+ attr_reader schema: String
486
+ attr_reader generation: Integer
487
+ attr_reader descriptor_digest: String
488
+ attr_reader providers: Array[MergeProviderDescriptor]
489
+
490
+ def initialize: (schema: String, generation: Integer, descriptor_digest: String, providers: Array[MergeProviderDescriptor]) -> void
491
+ end
492
+
493
+ class MergeProviderSelection
494
+ attr_reader provider_id: String?
495
+ attr_reader family: String?
496
+ attr_reader dialect: String?
497
+ attr_reader profile_id: String?
498
+ attr_reader required_capabilities: Array[String]
499
+ attr_reader extra: Hash[String, String]
500
+
501
+ def initialize: (?provider_id: String, ?family: String, ?dialect: String, ?profile_id: String, required_capabilities: Array[String], extra: Hash[String, String]) -> void
502
+ end
503
+
504
+ class MergeSelectionCandidate
505
+ attr_reader provider_id: String
506
+ attr_reader role: enum_MergeProviderRole
507
+ attr_reader priority: Integer
508
+ attr_reader explicit_match: bool
509
+ attr_reader rejections: Array[String]
510
+ attr_reader parser_report: SelectionReport?
511
+ attr_reader selected: bool
512
+
513
+ def initialize: (provider_id: String, role: enum_MergeProviderRole, priority: Integer, explicit_match: bool, rejections: Array[String], ?parser_report: SelectionReport, selected: bool) -> void
514
+ end
515
+
516
+ class MergeSelectionReport
517
+ attr_reader requested: MergeSelectionRequest
518
+ attr_reader provider_generation: Integer
519
+ attr_reader provider_digest: String
520
+ attr_reader parser_generation: Integer
521
+ attr_reader parser_digest: String
522
+ attr_reader candidates: Array[MergeSelectionCandidate]
523
+ attr_reader selected_provider: String?
524
+ attr_reader rejections: Array[String]
525
+
526
+ def initialize: (requested: MergeSelectionRequest, provider_generation: Integer, provider_digest: String, parser_generation: Integer, parser_digest: String, candidates: Array[MergeSelectionCandidate], ?selected_provider: String, rejections: Array[String]) -> void
527
+ end
528
+
529
+ class MergeSelectionRequest
530
+ attr_reader provider_id: String?
531
+ attr_reader family: String
532
+ attr_reader operation: String
533
+ attr_reader dialect: String?
534
+ attr_reader profile: String?
535
+ attr_reader required_capabilities: Array[String]
536
+ attr_reader required_preservation: Array[String]
537
+ attr_reader parser: ParserSelectionRequest
538
+
539
+ def initialize: (?provider_id: String, family: String, operation: String, ?dialect: String, ?profile: String, required_capabilities: Array[String], required_preservation: Array[String], parser: ParserSelectionRequest) -> void
540
+ end
541
+
542
+ class NativeAnalysisRejection
543
+ attr_reader code: String
544
+ attr_reader source_id: String
545
+ attr_reader source_role: enum_SourceRole
546
+ attr_reader message: String
547
+
548
+ def initialize: (code: String, source_id: String, source_role: enum_SourceRole, message: String) -> void
549
+ end
550
+
551
+ class NativeDiffRequest
552
+ attr_reader request_id: String
553
+ attr_reader profile_id: String
554
+ attr_reader parses: Array[ParseRequest]
555
+
556
+ def initialize: (request_id: String, profile_id: String, parses: Array[ParseRequest]) -> void
557
+ end
558
+
559
+ class NativeDiffResult
560
+ attr_reader request_id: String
561
+ attr_reader profile_id: String
562
+ attr_reader ok: bool
563
+ attr_reader sources: Array[SourceDescriptor]
564
+ attr_reader diff: OwnerDiff?
565
+ attr_reader diagnostics: Array[Diagnostic]
566
+ attr_reader input_parses: Array[CoreParseResult]
567
+ attr_reader input_failure: ParserFailure?
568
+ attr_reader analysis_rejections: Array[NativeAnalysisRejection]
569
+
570
+ def initialize: (request_id: String, profile_id: String, ok: bool, sources: Array[SourceDescriptor], ?diff: OwnerDiff, diagnostics: Array[Diagnostic], input_parses: Array[CoreParseResult], ?input_failure: ParserFailure, analysis_rejections: Array[NativeAnalysisRejection]) -> void
571
+ end
572
+
573
+ class NativeExtension
574
+ attr_reader schema: String
575
+ attr_reader namespace: String
576
+ attr_reader capabilities: Array[String]
577
+ attr_reader payload: String
578
+ attr_reader extra: Hash[String, String]
579
+
580
+ def initialize: (schema: String, namespace: String, capabilities: Array[String], payload: String, extra: Hash[String, String]) -> void
581
+ end
582
+
583
+ class NativeMergeProfile
584
+ attr_reader id: String
585
+ attr_reader family: String
586
+ attr_reader operation: String
587
+ attr_reader entry_point: String
588
+ attr_reader analysis_crate: String
589
+ attr_reader merge_crate: String
590
+ attr_reader semantic_runtime: String
591
+ attr_reader parse_contract: String
592
+ attr_reader native_extension: String
593
+ attr_reader syntax_scope: Array[String]
594
+ attr_reader limitations: Array[String]
595
+ attr_reader experimental: bool
596
+ attr_reader approved_as_default: bool
597
+
598
+ def initialize: (id: String, family: String, operation: String, entry_point: String, analysis_crate: String, merge_crate: String, semantic_runtime: String, parse_contract: String, native_extension: String, syntax_scope: Array[String], limitations: Array[String], experimental: bool, approved_as_default: bool) -> void
599
+ end
600
+
601
+ class NativeMergeResult
602
+ attr_reader profile_id: String
603
+ attr_reader outcome: enum_ThreeWayMergeOutcome
604
+ attr_reader diagnostics: Array[Diagnostic]
605
+ attr_reader conflicts: Array[MergeConflict]
606
+ attr_reader output: String?
607
+ attr_reader policies: Array[PolicyReference]
608
+ attr_reader rejected_parse: CoreParseResult?
609
+ attr_reader input_parses: Array[CoreParseResult]
610
+ attr_reader output_parse: CoreParseResult?
611
+ attr_reader verification_failure: ParserFailure?
612
+ attr_reader input_failure: ParserFailure?
613
+ attr_reader analysis_rejections: Array[NativeAnalysisRejection]
614
+ attr_reader sources: Array[SourceDescriptor]
615
+ attr_reader output_source: SourceDescriptor?
616
+ attr_reader source_segments: Array[RetainedSourceSegment]
617
+
618
+ def initialize: (profile_id: String, outcome: enum_ThreeWayMergeOutcome, diagnostics: Array[Diagnostic], conflicts: Array[MergeConflict], ?output: String, policies: Array[PolicyReference], ?rejected_parse: CoreParseResult, input_parses: Array[CoreParseResult], ?output_parse: CoreParseResult, ?verification_failure: ParserFailure, ?input_failure: ParserFailure, analysis_rejections: Array[NativeAnalysisRejection], sources: Array[SourceDescriptor], ?output_source: SourceDescriptor, source_segments: Array[RetainedSourceSegment]) -> void
619
+ end
620
+
621
+ class OperationControl
622
+ def cancel: () -> void
623
+ def is_cancelled: () -> bool
624
+ end
625
+
626
+ class OperationParserSelection
627
+ attr_reader backend: String?
628
+ attr_reader preference: Array[String]
629
+ attr_reader required_capabilities: Array[String]
630
+ attr_reader profile_id: String?
631
+ attr_reader language_version: String?
632
+ attr_reader extra: Hash[String, String]
633
+
634
+ def initialize: (?backend: String, preference: Array[String], required_capabilities: Array[String], ?profile_id: String, ?language_version: String, extra: Hash[String, String]) -> void
635
+ end
636
+
637
+ class OperationProfileCatalog
638
+ attr_reader schema: String
639
+ attr_reader profiles: Array[OperationProfileDeclaration]
640
+
641
+ def initialize: (schema: String, profiles: Array[OperationProfileDeclaration]) -> void
642
+ end
643
+
644
+ class OperationProfileDeclaration
645
+ attr_reader id: String
646
+ attr_reader provider_id: String
647
+ attr_reader family: String
648
+ attr_reader explicit_dialects: Array[String]
649
+ attr_reader operations: Array[enum_OperationKind]
650
+ attr_reader semantic_runtime: String
651
+ attr_reader parser_contract: String
652
+ attr_reader required_native_extension: String?
653
+ attr_reader parser_available: bool?
654
+ attr_reader syntax_scope: Array[String]
655
+ attr_reader limitations: Array[String]
656
+ attr_reader experimental: bool
657
+ attr_reader approved_as_default: bool
658
+
659
+ def initialize: (id: String, provider_id: String, family: String, explicit_dialects: Array[String], operations: Array[enum_OperationKind], semantic_runtime: String, parser_contract: String, ?required_native_extension: String, ?parser_available: bool, syntax_scope: Array[String], limitations: Array[String], experimental: bool, approved_as_default: bool) -> void
660
+ end
661
+
662
+ class OperationRequest
663
+ attr_reader schema: String
664
+ attr_reader request_id: String
665
+ attr_reader operation: OperationPolicy
666
+ attr_reader provider_selection: MergeProviderSelection
667
+ attr_reader parser_selection: OperationParserSelection
668
+ attr_reader sources: Hash[enum_SourceRole, OperationSource]
669
+ attr_reader path_name: String?
670
+ attr_reader extensions: Array[NativeExtension]
671
+ attr_reader metadata: Hash[String, String]
672
+ attr_reader extra: Hash[String, String]
673
+
674
+ def initialize: (schema: String, request_id: String, operation: OperationPolicy, provider_selection: MergeProviderSelection, parser_selection: OperationParserSelection, sources: Hash[enum_SourceRole, OperationSource], ?path_name: String, extensions: Array[NativeExtension], metadata: Hash[String, String], extra: Hash[String, String]) -> void
675
+ end
676
+
677
+ class OperationResult
678
+ attr_reader schema: String
679
+ attr_reader request_id: String
680
+ attr_reader operation: enum_OperationKind
681
+ attr_reader ok: bool
682
+ attr_reader provider: ResultProvider
683
+ attr_reader profile: ResultProfile
684
+ attr_reader diagnostics: Array[DiagnosticRecord]
685
+ attr_reader changes: Array[ResultChange]
686
+ attr_reader conflicts: Array[ConflictRecord]
687
+ attr_reader fallbacks: Array[Hash[String, String]]
688
+ attr_reader render_report: Hash[String, String]
689
+ attr_reader verification: ResultVerification
690
+ attr_reader analysis: ResultAnalysis?
691
+ attr_reader diff: ResultDiff?
692
+ attr_reader output: String?
693
+ attr_reader conflicted_output: String?
694
+ attr_reader extensions: Array[NativeExtension]
695
+ attr_reader metadata: Hash[String, String]
696
+ attr_reader extra: Hash[String, String]
697
+
698
+ def initialize: (schema: String, request_id: String, operation: enum_OperationKind, ok: bool, provider: ResultProvider, profile: ResultProfile, diagnostics: Array[DiagnosticRecord], changes: Array[ResultChange], conflicts: Array[ConflictRecord], fallbacks: Array[Hash[String, String]], render_report: Hash[String, String], verification: ResultVerification, ?analysis: ResultAnalysis, ?diff: ResultDiff, ?output: String, ?conflicted_output: String, extensions: Array[NativeExtension], metadata: Hash[String, String], extra: Hash[String, String]) -> void
699
+ end
700
+
701
+ class OperationSource
702
+ attr_reader source_id: String
703
+ attr_reader role: enum_SourceRole
704
+ attr_reader byte_length: Integer
705
+ attr_reader sha256: String
706
+ attr_reader encoding: String
707
+ attr_reader content: String?
708
+ attr_reader bytes: String?
709
+ attr_reader reference: String?
710
+ attr_reader bom: bool?
711
+ attr_reader line_endings: LineEndings?
712
+ attr_reader final_newline: bool?
713
+ attr_reader extra: Hash[String, String]
714
+
715
+ def initialize: (source_id: String, role: enum_SourceRole, byte_length: Integer, sha256: String, encoding: String, ?content: String, ?bytes: String, ?reference: String, ?bom: bool, ?line_endings: LineEndings, ?final_newline: bool, extra: Hash[String, String]) -> void
716
+ end
717
+
718
+ class OwnedSourceRegion
719
+ attr_reader node_id: String
720
+ attr_reader region_kind: String
721
+ attr_reader start_byte: Integer
722
+ attr_reader end_byte: Integer
723
+ attr_reader start_line: Integer
724
+ attr_reader end_line: Integer
725
+
726
+ def initialize: (node_id: String, region_kind: String, start_byte: Integer, end_byte: Integer, start_line: Integer, end_line: Integer) -> void
727
+ end
728
+
729
+ class OwnerChange
730
+ attr_reader id: String
731
+ attr_reader owner_id: String
732
+ attr_reader before_path: String?
733
+ attr_reader after_path: String?
734
+ attr_reader kind: enum_OwnerChangeKind
735
+ attr_reader before: DiffSourceRegion?
736
+ attr_reader after: DiffSourceRegion?
737
+
738
+ def initialize: (id: String, owner_id: String, ?before_path: String, ?after_path: String, kind: enum_OwnerChangeKind, ?before: DiffSourceRegion, ?after: DiffSourceRegion) -> void
739
+ end
740
+
741
+ class OwnerDiff
742
+ attr_reader sources: Array[SourceDescriptor]
743
+ attr_reader changes: Array[OwnerChange]
744
+ attr_reader before_owner_order: Array[String]
745
+ attr_reader after_owner_order: Array[String]
746
+ attr_reader before_layout: Array[DiffSourceRegion]
747
+ attr_reader after_layout: Array[DiffSourceRegion]
748
+
749
+ def initialize: (sources: Array[SourceDescriptor], changes: Array[OwnerChange], before_owner_order: Array[String], after_owner_order: Array[String], before_layout: Array[DiffSourceRegion], after_layout: Array[DiffSourceRegion]) -> void
750
+ end
751
+
752
+ class ParseBatchRequest
753
+ attr_reader items: Array[ParseRequest]
754
+
755
+ def initialize: (items: Array[ParseRequest]) -> void
756
+ end
757
+
758
+ class ParseBatchResult
759
+ attr_reader items: Array[ParseOutput]
760
+
761
+ def initialize: (items: Array[ParseOutput]) -> void
762
+ end
763
+
764
+ class ParseComment
765
+ attr_reader node_id: String
766
+ attr_reader native_kind: String
767
+ attr_reader attachment_hint: enum_AttachmentHint
768
+ attr_reader metadata: Hash[String, String]
769
+ attr_reader extra: Hash[String, String]
770
+
771
+ def initialize: (node_id: String, native_kind: String, attachment_hint: enum_AttachmentHint, metadata: Hash[String, String], extra: Hash[String, String]) -> void
772
+ end
773
+
774
+ class ParseDiagnostic
775
+ attr_reader id: String
776
+ attr_reader severity: enum_ParseSeverity
777
+ attr_reader category: String
778
+ attr_reader code: String?
779
+ attr_reader message: String
780
+ attr_reader source_role: enum_SourceRole
781
+ attr_reader span: SourceSpan?
782
+ attr_reader node_id: String?
783
+ attr_reader blocking: bool
784
+ attr_reader metadata: Hash[String, String]
785
+ attr_reader extra: Hash[String, String]
786
+
787
+ def initialize: (id: String, severity: enum_ParseSeverity, category: String, ?code: String, message: String, source_role: enum_SourceRole, ?span: SourceSpan, ?node_id: String, blocking: bool, metadata: Hash[String, String], extra: Hash[String, String]) -> void
788
+ end
789
+
790
+ class ParseLimits
791
+ attr_reader max_batch_items: Integer
792
+ attr_reader max_input_bytes: Integer
793
+ attr_reader max_nodes: Integer
794
+ attr_reader max_diagnostics: Integer
795
+ attr_reader timeout_millis: Integer?
796
+
797
+ def initialize: (max_batch_items: Integer, max_input_bytes: Integer, max_nodes: Integer, max_diagnostics: Integer, ?timeout_millis: Integer) -> void
798
+ end
799
+
800
+ class ParseNode
801
+ attr_reader id: String
802
+ attr_reader kind: String
803
+ attr_reader native_type: String
804
+ attr_reader role: enum_NodeRole
805
+ attr_reader named: bool
806
+ attr_reader missing: bool
807
+ attr_reader has_error: bool
808
+ attr_reader span: SourceSpan
809
+ attr_reader parent_id: String?
810
+ attr_reader children: Array[ChildEdge]
811
+ attr_reader semantic_roles: Array[String]
812
+ attr_reader unsupported_features: Array[String]
813
+ attr_reader extensions: Array[NativeExtension]
814
+ attr_reader metadata: Hash[String, String]
815
+ attr_reader extra: Hash[String, String]
816
+
817
+ def initialize: (id: String, kind: String, native_type: String, role: enum_NodeRole, named: bool, missing: bool, has_error: bool, span: SourceSpan, ?parent_id: String, children: Array[ChildEdge], semantic_roles: Array[String], unsupported_features: Array[String], extensions: Array[NativeExtension], metadata: Hash[String, String], extra: Hash[String, String]) -> void
818
+ end
819
+
820
+ class ParseOptions
821
+ attr_reader comments: bool
822
+ attr_reader tokens: bool
823
+ attr_reader diagnostics: bool
824
+ attr_reader native_extensions: bool
825
+
826
+ def initialize: (?comments: bool, ?tokens: bool, ?diagnostics: bool, ?native_extensions: bool) -> void
827
+ end
828
+
829
+ class ParseOutput
830
+ attr_reader request_id: String
831
+ attr_reader source: SourceDescriptor
832
+ attr_reader ok: bool
833
+ attr_reader root_id: String?
834
+ attr_reader nodes: Array[ParseNode]
835
+ attr_reader comments: Array[ParseComment]
836
+ attr_reader diagnostics: Array[ParseDiagnostic]
837
+ attr_reader extensions: Array[NativeExtension]
838
+ attr_reader metadata: Hash[String, String]
839
+ attr_reader extra: Hash[String, String]
840
+
841
+ def initialize: (request_id: String, source: SourceDescriptor, ok: bool, ?root_id: String, nodes: Array[ParseNode], comments: Array[ParseComment], diagnostics: Array[ParseDiagnostic], extensions: Array[NativeExtension], metadata: Hash[String, String], extra: Hash[String, String]) -> void
842
+ end
843
+
844
+ class ParseRequest
845
+ attr_reader schema: String
846
+ attr_reader request_id: String
847
+ attr_reader source: SourceInput
848
+ attr_reader language: String
849
+ attr_reader dialect: String?
850
+ attr_reader selection: ParserSelection
851
+ attr_reader options: ParseOptions
852
+ attr_reader metadata: Hash[String, String]
853
+ attr_reader extra: Hash[String, String]
854
+
855
+ def initialize: (schema: String, request_id: String, source: SourceInput, language: String, ?dialect: String, selection: ParserSelection, options: ParseOptions, metadata: Hash[String, String], extra: Hash[String, String]) -> void
856
+ end
857
+
858
+ class ParserCandidate
859
+ attr_reader backend_id: String
860
+ attr_reader rejections: Array[String]
861
+ attr_reader available: bool?
862
+ attr_reader loadable: bool?
863
+ attr_reader probe_fault: String?
864
+ attr_reader request_preference: Integer?
865
+ attr_reader profile_preference: Integer?
866
+ attr_reader priority: Integer
867
+ attr_reader selected: bool
868
+
869
+ def initialize: (backend_id: String, rejections: Array[String], ?available: bool, ?loadable: bool, ?probe_fault: String, ?request_preference: Integer, ?profile_preference: Integer, priority: Integer, selected: bool) -> void
870
+ end
871
+
872
+ class ParserFailure
873
+ attr_reader code: String
874
+ attr_reader message: String
875
+ attr_reader backend_id: String?
876
+ attr_reader native_code: String?
877
+ attr_reader native_message: String?
878
+ attr_reader source_id: String?
879
+ attr_reader selection: SelectionReport?
880
+
881
+ def initialize: (code: String, message: String, ?backend_id: String, ?native_code: String, ?native_message: String, ?source_id: String, ?selection: SelectionReport) -> void
882
+ end
883
+
884
+ class ParserProbeRequest
885
+ attr_reader language: String
886
+ attr_reader dialect: String?
887
+
888
+ def initialize: (language: String, ?dialect: String) -> void
889
+ end
890
+
891
+ class ParserProbeResult
892
+ attr_reader available: bool
893
+ attr_reader loadable: bool
894
+
895
+ def initialize: (available: bool, loadable: bool) -> void
896
+ end
897
+
898
+ class ParserProviderDescriptor
899
+ attr_reader id: String
900
+ attr_reader family: String
901
+ attr_reader runtime: String
902
+ attr_reader package: String
903
+ attr_reader package_version: String
904
+ attr_reader parser: String
905
+ attr_reader parser_version: String
906
+ attr_reader grammar: String?
907
+ attr_reader grammar_version: String?
908
+ attr_reader languages: Array[String]
909
+ attr_reader dialects: Array[String]
910
+ attr_reader contracts: Array[String]
911
+ attr_reader capabilities: Array[String]
912
+ attr_reader probe_id: String
913
+ attr_reader priority: Integer
914
+ attr_reader metadata: Hash[String, String]
915
+ attr_reader extensions: Array[NativeExtension]
916
+
917
+ def initialize: (id: String, family: String, runtime: String, package: String, package_version: String, parser: String, parser_version: String, ?grammar: String, ?grammar_version: String, languages: Array[String], dialects: Array[String], contracts: Array[String], capabilities: Array[String], probe_id: String, priority: Integer, metadata: Hash[String, String], extensions: Array[NativeExtension]) -> void
918
+ end
919
+
920
+ class ParserRegistryInventory
921
+ attr_reader schema: String
922
+ attr_reader generation: Integer
923
+ attr_reader descriptor_digest: String
924
+ attr_reader providers: Array[ParserProviderDescriptor]
925
+
926
+ def initialize: (schema: String, generation: Integer, descriptor_digest: String, providers: Array[ParserProviderDescriptor]) -> void
927
+ end
928
+
929
+ class ParserSelection
930
+ attr_reader backend_id: String?
931
+ attr_reader preference: Array[String]
932
+ attr_reader required_capabilities: Array[String]
933
+
934
+ def initialize: (?backend_id: String, preference: Array[String], required_capabilities: Array[String]) -> void
935
+ end
936
+
937
+ class ParserSelectionRequest
938
+ attr_reader language: String
939
+ attr_reader dialect: String?
940
+ attr_reader selection: ParserSelection
941
+ attr_reader options: ParseOptions
942
+
943
+ def initialize: (language: String, ?dialect: String, selection: ParserSelection, options: ParseOptions) -> void
944
+ end
945
+
946
+ class PolicyReference
947
+ attr_reader surface: enum_PolicySurface
948
+ attr_reader name: String
949
+
950
+ def initialize: (surface: enum_PolicySurface, name: String) -> void
951
+ end
952
+
953
+ class PortableConflict
954
+ attr_reader schema: String
955
+ attr_reader id: String
956
+ attr_reader operation: enum_OperationKind
957
+ attr_reader category: enum_ConflictCategory
958
+ attr_reader code: String
959
+ attr_reader message: String?
960
+ attr_reader subject: ConflictSubject
961
+ attr_reader roles: Array[enum_SourceRole]
962
+ attr_reader alternatives: Array[ConflictSourceAlternative]
963
+ attr_reader classification: ConflictClassification
964
+ attr_reader localization: ConflictLocalization
965
+ attr_reader resolution: ConflictResolution
966
+ attr_reader diagnostic_ids: Array[String]
967
+ attr_reader change_ids: Array[String]
968
+ attr_reader decision_ids: Array[String]
969
+ attr_reader render_fragment_ids: Array[String]
970
+ attr_reader extensions: Array[NativeExtension]
971
+ attr_reader metadata: Hash[String, String]
972
+ attr_reader extra: Hash[String, String]
973
+
974
+ def initialize: (schema: String, id: String, operation: enum_OperationKind, category: enum_ConflictCategory, code: String, ?message: String, subject: ConflictSubject, roles: Array[enum_SourceRole], alternatives: Array[ConflictSourceAlternative], classification: ConflictClassification, localization: ConflictLocalization, resolution: ConflictResolution, diagnostic_ids: Array[String], change_ids: Array[String], decision_ids: Array[String], render_fragment_ids: Array[String], extensions: Array[NativeExtension], metadata: Hash[String, String], extra: Hash[String, String]) -> void
975
+ end
976
+
977
+ class PortableDiagnostic
978
+ attr_reader schema: String
979
+ attr_reader id: String
980
+ attr_reader sequence: Integer
981
+ attr_reader severity: enum_DiagnosticSeverity
982
+ attr_reader category: enum_PortableCategory
983
+ attr_reader code: String
984
+ attr_reader message: String
985
+ attr_reader blocking: bool
986
+ attr_reader operation: enum_OperationKind?
987
+ attr_reader request_id: String?
988
+ attr_reader source_refs: Array[DiagnosticSourceRef]
989
+ attr_reader subject_refs: Array[DiagnosticSubjectRef]?
990
+ attr_reader cause_ids: Array[String]
991
+ attr_reader related_ids: Array[String]
992
+ attr_reader origin: DiagnosticOrigin
993
+ attr_reader data: Hash[String, String]
994
+ attr_reader extensions: Array[NativeExtension]
995
+ attr_reader metadata: Hash[String, String]
996
+ attr_reader extra: Hash[String, String]
997
+
998
+ def initialize: (schema: String, id: String, sequence: Integer, severity: enum_DiagnosticSeverity, category: enum_PortableCategory, code: String, message: String, blocking: bool, ?operation: enum_OperationKind, ?request_id: String, source_refs: Array[DiagnosticSourceRef], ?subject_refs: Array[DiagnosticSubjectRef], cause_ids: Array[String], related_ids: Array[String], origin: DiagnosticOrigin, data: Hash[String, String], extensions: Array[NativeExtension], metadata: Hash[String, String], extra: Hash[String, String]) -> void
999
+ end
1000
+
1001
+ class PreparedWorkflowBatch
1002
+ attr_reader items: Array[PreparedWorkflowOperation]
1003
+
1004
+ def initialize: (items: Array[PreparedWorkflowOperation]) -> void
1005
+ end
1006
+
1007
+ class PreparedWorkflowOperation
1008
+ attr_reader operation: OperationRequest
1009
+ attr_reader parses: Array[CoreParseResult]
1010
+ attr_reader selection: MergeSelectionReport
1011
+
1012
+ def initialize: (operation: OperationRequest, parses: Array[CoreParseResult], selection: MergeSelectionReport) -> void
1013
+ end
1014
+
1015
+ class PreservationProperty
1016
+ attr_reader property: String
1017
+ attr_reader required: bool
1018
+ attr_reader status: String
1019
+ attr_reader extra: Hash[String, String]
1020
+
1021
+ def initialize: (property: String, required: bool, status: String, extra: Hash[String, String]) -> void
1022
+ end
1023
+
1024
+ class ProbeBatchRequest
1025
+ attr_reader items: Array[ParserProbeRequest]
1026
+
1027
+ def initialize: (items: Array[ParserProbeRequest]) -> void
1028
+ end
1029
+
1030
+ class ProbeBatchResult
1031
+ attr_reader items: Array[ParserProbeResult]
1032
+
1033
+ def initialize: (items: Array[ParserProbeResult]) -> void
1034
+ end
1035
+
1036
+ class ResultAnalysis
1037
+ attr_reader schema: String
1038
+ attr_reader extra: Hash[String, String]
1039
+
1040
+ def initialize: (schema: String, extra: Hash[String, String]) -> void
1041
+ end
1042
+
1043
+ class ResultChange
1044
+ attr_reader id: String
1045
+ attr_reader classification: String
1046
+ attr_reader subject_ref: String?
1047
+ attr_reader path: String?
1048
+ attr_reader role_states: Hash[String, String]
1049
+ attr_reader source_spans: Hash[enum_SourceRole, ResultSpan]
1050
+ attr_reader metadata: Hash[String, String]
1051
+ attr_reader extra: Hash[String, String]
1052
+
1053
+ def initialize: (id: String, classification: String, ?subject_ref: String, ?path: String, role_states: Hash[String, String], source_spans: Hash[enum_SourceRole, ResultSpan], metadata: Hash[String, String], extra: Hash[String, String]) -> void
1054
+ end
1055
+
1056
+ class ResultConflict
1057
+ attr_reader id: String
1058
+ attr_reader category: String
1059
+ attr_reader subject_ref: String?
1060
+ attr_reader path: String?
1061
+ attr_reader roles: Array[enum_SourceRole]
1062
+ attr_reader source_regions: Array[ResultSourceRegion]
1063
+ attr_reader localized: bool
1064
+ attr_reader resolution: String
1065
+ attr_reader metadata: Hash[String, String]
1066
+ attr_reader extra: Hash[String, String]
1067
+
1068
+ def initialize: (id: String, category: String, ?subject_ref: String, ?path: String, roles: Array[enum_SourceRole], source_regions: Array[ResultSourceRegion], localized: bool, resolution: String, metadata: Hash[String, String], extra: Hash[String, String]) -> void
1069
+ end
1070
+
1071
+ class ResultDiagnostic
1072
+ attr_reader id: String
1073
+ attr_reader severity: String
1074
+ attr_reader category: String
1075
+ attr_reader code: String
1076
+ attr_reader message: String
1077
+ attr_reader blocking: bool
1078
+ attr_reader source_role: enum_SourceRole?
1079
+ attr_reader span: ResultSpan?
1080
+ attr_reader metadata: Hash[String, String]
1081
+ attr_reader extra: Hash[String, String]
1082
+
1083
+ def initialize: (id: String, severity: String, category: String, code: String, message: String, blocking: bool, ?source_role: enum_SourceRole, ?span: ResultSpan, metadata: Hash[String, String], extra: Hash[String, String]) -> void
1084
+ end
1085
+
1086
+ class ResultDiff
1087
+ attr_reader change_ids: Array[String]
1088
+ attr_reader extra: Hash[String, String]
1089
+
1090
+ def initialize: (change_ids: Array[String], extra: Hash[String, String]) -> void
1091
+ end
1092
+
1093
+ class ResultParserSelection
1094
+ attr_reader requested_backend: String?
1095
+ attr_reader selected_backend: String?
1096
+ attr_reader selection_mode: String?
1097
+ attr_reader extra: Hash[String, String]
1098
+
1099
+ def initialize: (?requested_backend: String, ?selected_backend: String, ?selection_mode: String, extra: Hash[String, String]) -> void
1100
+ end
1101
+
1102
+ class ResultPoint
1103
+ attr_reader row: Integer
1104
+ attr_reader column: Integer
1105
+ attr_reader extra: Hash[String, String]
1106
+
1107
+ def initialize: (row: Integer, column: Integer, extra: Hash[String, String]) -> void
1108
+ end
1109
+
1110
+ class ResultProfile
1111
+ attr_reader profile_id: String?
1112
+ attr_reader parser: ResultParserSelection?
1113
+ attr_reader extra: Hash[String, String]
1114
+
1115
+ def initialize: (?profile_id: String, ?parser: ResultParserSelection, extra: Hash[String, String]) -> void
1116
+ end
1117
+
1118
+ class ResultProvider
1119
+ attr_reader provider_id: String?
1120
+ attr_reader family: String?
1121
+ attr_reader delegation: Array[ResultProvider]?
1122
+ attr_reader extra: Hash[String, String]
1123
+
1124
+ def initialize: (?provider_id: String, ?family: String, ?delegation: Array[ResultProvider], extra: Hash[String, String]) -> void
1125
+ end
1126
+
1127
+ class ResultRange
1128
+ attr_reader start_byte: Integer
1129
+ attr_reader end_byte: Integer
1130
+ attr_reader extra: Hash[String, String]
1131
+
1132
+ def initialize: (start_byte: Integer, end_byte: Integer, extra: Hash[String, String]) -> void
1133
+ end
1134
+
1135
+ class ResultSourceRegion
1136
+ attr_reader source_id: String
1137
+ attr_reader source_role: enum_SourceRole
1138
+ attr_reader range: ResultRange
1139
+ attr_reader sha256: String?
1140
+ attr_reader extra: Hash[String, String]
1141
+
1142
+ def initialize: (source_id: String, source_role: enum_SourceRole, range: ResultRange, ?sha256: String, extra: Hash[String, String]) -> void
1143
+ end
1144
+
1145
+ class ResultSpan
1146
+ attr_reader range: ResultRange
1147
+ attr_reader start_point: ResultPoint
1148
+ attr_reader end_point: ResultPoint
1149
+ attr_reader extra: Hash[String, String]
1150
+
1151
+ def initialize: (range: ResultRange, start_point: ResultPoint, end_point: ResultPoint, extra: Hash[String, String]) -> void
1152
+ end
1153
+
1154
+ class ResultVerification
1155
+ attr_reader consumed_source_roles: Array[enum_SourceRole]?
1156
+ attr_reader directional_roles_preserved: bool?
1157
+ attr_reader base_participated: bool?
1158
+ attr_reader classification_reached: bool?
1159
+ attr_reader output_reparsed: bool?
1160
+ attr_reader structural_equivalence: bool?
1161
+ attr_reader preservation: Array[PreservationProperty]?
1162
+ attr_reader retained_source_regions: Array[ResultSourceRegion]?
1163
+ attr_reader extra: Hash[String, String]
1164
+
1165
+ def initialize: (?consumed_source_roles: Array[enum_SourceRole], ?directional_roles_preserved: bool, ?base_participated: bool, ?classification_reached: bool, ?output_reparsed: bool, ?structural_equivalence: bool, ?preservation: Array[PreservationProperty], ?retained_source_regions: Array[ResultSourceRegion], extra: Hash[String, String]) -> void
1166
+ end
1167
+
1168
+ class RetainedSourceSegment
1169
+ attr_reader id: String
1170
+ attr_reader source_id: String
1171
+ attr_reader source_role: enum_SourceRole
1172
+ attr_reader source_range: ByteRange
1173
+ attr_reader output_range: ByteRange
1174
+ attr_reader sha256: String
1175
+ attr_reader owner_id: String?
1176
+
1177
+ def initialize: (id: String, source_id: String, source_role: enum_SourceRole, source_range: ByteRange, output_range: ByteRange, sha256: String, ?owner_id: String) -> void
1178
+ end
1179
+
1180
+ class ReviewDiagnosticDetail
1181
+ attr_reader request_id: String?
1182
+ attr_reader action: enum_ReviewDecisionAction?
1183
+ attr_reader reason: enum_ReviewDiagnosticReason?
1184
+ attr_reader payload_kind: String?
1185
+ attr_reader expected_family: String?
1186
+ attr_reader provided_family: String?
1187
+
1188
+ def initialize: (?request_id: String, ?action: enum_ReviewDecisionAction, ?reason: enum_ReviewDiagnosticReason, ?payload_kind: String, ?expected_family: String, ?provided_family: String) -> void
1189
+ end
1190
+
1191
+ class SelectionReport
1192
+ attr_reader requested: ParserSelection
1193
+ attr_reader generation: Integer
1194
+ attr_reader digest: String
1195
+ attr_reader candidates: Array[ParserCandidate]
1196
+ attr_reader selected_backend: String?
1197
+
1198
+ def initialize: (requested: ParserSelection, generation: Integer, digest: String, candidates: Array[ParserCandidate], ?selected_backend: String) -> void
1199
+ end
1200
+
1201
+ class SessionDiagnostic
1202
+ attr_reader severity: enum_DiagnosticSeverity
1203
+ attr_reader category: enum_DiagnosticCategory
1204
+ attr_reader reason: String
1205
+ attr_reader path: String?
1206
+ attr_reader family: String?
1207
+ attr_reader message: String
1208
+
1209
+ def initialize: (severity: enum_DiagnosticSeverity, category: enum_DiagnosticCategory, reason: String, ?path: String, ?family: String, message: String) -> void
1210
+ end
1211
+
1212
+ class SourceDescriptor
1213
+ attr_reader source_id: String
1214
+ attr_reader role: enum_SourceRole
1215
+ attr_reader byte_length: Integer
1216
+ attr_reader sha256: String
1217
+ attr_reader encoding: enum_SourceEncoding
1218
+ attr_reader bom: bool
1219
+ attr_reader line_endings: LineEndings
1220
+ attr_reader final_newline: bool
1221
+
1222
+ def initialize: (source_id: String, role: enum_SourceRole, byte_length: Integer, sha256: String, encoding: enum_SourceEncoding, bom: bool, line_endings: LineEndings, final_newline: bool) -> void
1223
+ end
1224
+
1225
+ class SourceEditLimits
1226
+ attr_reader max_input_bytes: Integer
1227
+ attr_reader max_output_bytes: Integer
1228
+ attr_reader max_edits: Integer
1229
+
1230
+ def initialize: (max_input_bytes: Integer, max_output_bytes: Integer, max_edits: Integer) -> void
1231
+ end
1232
+
1233
+ class SourceEditRequest
1234
+ attr_reader request_id: String
1235
+ attr_reader source: SourceInput
1236
+ attr_reader edits: Array[ExplicitSourceEdit]
1237
+
1238
+ def initialize: (request_id: String, source: SourceInput, edits: Array[ExplicitSourceEdit]) -> void
1239
+ end
1240
+
1241
+ class SourceEditResult
1242
+ attr_reader request_id: String
1243
+ attr_reader source: SourceDescriptor
1244
+ attr_reader output: String
1245
+ attr_reader edit_count: Integer
1246
+
1247
+ def initialize: (request_id: String, source: SourceDescriptor, output: String, edit_count: Integer) -> void
1248
+ end
1249
+
1250
+ class SourceInput
1251
+ attr_reader descriptor: SourceDescriptor
1252
+ attr_reader bytes: String
1253
+
1254
+ def initialize: (descriptor: SourceDescriptor, bytes: String) -> void
1255
+ end
1256
+
1257
+ class SourcePoint
1258
+ attr_reader row: Integer
1259
+ attr_reader column: Integer
1260
+
1261
+ def initialize: (row: Integer, column: Integer) -> void
1262
+ end
1263
+
1264
+ class SourceSpan
1265
+ attr_reader range: ByteRange
1266
+ attr_reader start_point: SourcePoint
1267
+ attr_reader end_point: SourcePoint
1268
+
1269
+ def initialize: (range: ByteRange, start_point: SourcePoint, end_point: SourcePoint) -> void
1270
+ end
1271
+
1272
+ class TemplateDestinationContext
1273
+ attr_reader project_name: String?
1274
+
1275
+ def initialize: (?project_name: String) -> void
1276
+ end
1277
+
1278
+ class TemplateDirectoryApplyReport
1279
+ attr_reader entries: Array[TemplateDirectoryApplyReportEntry]
1280
+ attr_reader summary: TemplateDirectoryApplyReportSummary
1281
+
1282
+ def initialize: (entries: Array[TemplateDirectoryApplyReportEntry], summary: TemplateDirectoryApplyReportSummary) -> void
1283
+ end
1284
+
1285
+ class TemplateDirectoryApplyReportEntry
1286
+ attr_reader template_source_path: String
1287
+ attr_reader logical_destination_path: String
1288
+ attr_reader destination_path: String?
1289
+ attr_reader execution_action: enum_TemplateExecutionAction
1290
+ attr_reader status: enum_TemplateTreeRunStatus
1291
+ attr_reader written: bool
1292
+
1293
+ def initialize: (template_source_path: String, logical_destination_path: String, ?destination_path: String, execution_action: enum_TemplateExecutionAction, status: enum_TemplateTreeRunStatus, written: bool) -> void
1294
+ end
1295
+
1296
+ class TemplateDirectoryApplyReportSummary
1297
+ attr_reader created: Integer
1298
+ attr_reader updated: Integer
1299
+ attr_reader kept: Integer
1300
+ attr_reader blocked: Integer
1301
+ attr_reader omitted: Integer
1302
+ attr_reader written: Integer
1303
+
1304
+ def initialize: (created: Integer, updated: Integer, kept: Integer, blocked: Integer, omitted: Integer, written: Integer) -> void
1305
+ end
1306
+
1307
+ class TemplateDirectoryPlanReport
1308
+ attr_reader entries: Array[TemplateDirectoryPlanReportEntry]
1309
+ attr_reader summary: TemplateDirectoryPlanReportSummary
1310
+
1311
+ def initialize: (entries: Array[TemplateDirectoryPlanReportEntry], summary: TemplateDirectoryPlanReportSummary) -> void
1312
+ end
1313
+
1314
+ class TemplateDirectoryPlanReportEntry
1315
+ attr_reader template_source_path: String
1316
+ attr_reader logical_destination_path: String
1317
+ attr_reader destination_path: String?
1318
+ attr_reader execution_action: enum_TemplateExecutionAction
1319
+ attr_reader write_action: String
1320
+ attr_reader status: enum_TemplateDirectoryPlanStatus
1321
+ attr_reader previewable: bool
1322
+
1323
+ def initialize: (template_source_path: String, logical_destination_path: String, ?destination_path: String, execution_action: enum_TemplateExecutionAction, write_action: String, status: enum_TemplateDirectoryPlanStatus, previewable: bool) -> void
1324
+ end
1325
+
1326
+ class TemplateDirectoryPlanReportSummary
1327
+ attr_reader create: Integer
1328
+ attr_reader update: Integer
1329
+ attr_reader keep: Integer
1330
+ attr_reader blocked: Integer
1331
+ attr_reader omitted: Integer
1332
+
1333
+ def initialize: (create: Integer, update: Integer, keep: Integer, blocked: Integer, omitted: Integer) -> void
1334
+ end
1335
+
1336
+ class TemplateDirectoryRunnerReport
1337
+ attr_reader plan_report: TemplateDirectoryPlanReport
1338
+ attr_reader preview: TemplatePreviewResult?
1339
+ attr_reader run_report: TemplateTreeRunReport?
1340
+ attr_reader apply_report: TemplateDirectoryApplyReport?
1341
+
1342
+ def initialize: (plan_report: TemplateDirectoryPlanReport, ?preview: TemplatePreviewResult, ?run_report: TemplateTreeRunReport, ?apply_report: TemplateDirectoryApplyReport) -> void
1343
+ end
1344
+
1345
+ class TemplatePreviewResult
1346
+ attr_reader result_files: Hash[String, String]
1347
+ attr_reader created_paths: Array[String]
1348
+ attr_reader updated_paths: Array[String]
1349
+ attr_reader kept_paths: Array[String]
1350
+ attr_reader blocked_paths: Array[String]
1351
+ attr_reader omitted_paths: Array[String]
1352
+
1353
+ def initialize: (result_files: Hash[String, String], created_paths: Array[String], updated_paths: Array[String], kept_paths: Array[String], blocked_paths: Array[String], omitted_paths: Array[String]) -> void
1354
+ end
1355
+
1356
+ class TemplateProfileRequest
1357
+ attr_reader profile_name: String
1358
+ attr_reader profiles: Hash[String, DirectorySessionProfile]
1359
+ attr_reader options: TemplateSessionOptions
1360
+
1361
+ def initialize: (profile_name: String, profiles: Hash[String, DirectorySessionProfile], options: TemplateSessionOptions) -> void
1362
+ end
1363
+
1364
+ class TemplateSessionOptions
1365
+ attr_reader mode: enum_DirectorySessionMode
1366
+ attr_reader template_root: String
1367
+ attr_reader destination_root: String
1368
+ attr_reader context: TemplateDestinationContext
1369
+ attr_reader default_strategy: enum_TemplateStrategy
1370
+ attr_reader overrides: Array[TemplateStrategyOverride]
1371
+ attr_reader replacements: Hash[String, String]
1372
+ attr_reader allowed_families: Array[String]?
1373
+ attr_reader config: TemplateTokenConfig?
1374
+
1375
+ def initialize: (mode: enum_DirectorySessionMode, template_root: String, destination_root: String, context: TemplateDestinationContext, default_strategy: enum_TemplateStrategy, overrides: Array[TemplateStrategyOverride], replacements: Hash[String, String], ?allowed_families: Array[String], ?config: TemplateTokenConfig) -> void
1376
+ end
1377
+
1378
+ class TemplateSessionPlanReport
1379
+ attr_reader mode: enum_DirectorySessionMode
1380
+ attr_reader runner_report: TemplateDirectoryRunnerReport
1381
+
1382
+ def initialize: (mode: enum_DirectorySessionMode, runner_report: TemplateDirectoryRunnerReport) -> void
1383
+ end
1384
+
1385
+ class TemplateSessionRequestReport
1386
+ attr_reader request_kind: String
1387
+ attr_reader profile_name: String?
1388
+ attr_reader mode: enum_DirectorySessionMode
1389
+ attr_reader ready: bool
1390
+ attr_reader diagnostics: Array[SessionDiagnostic]
1391
+ attr_reader resolved_options: TemplateSessionOptions?
1392
+
1393
+ def initialize: (request_kind: String, ?profile_name: String, mode: enum_DirectorySessionMode, ready: bool, diagnostics: Array[SessionDiagnostic], ?resolved_options: TemplateSessionOptions) -> void
1394
+ end
1395
+
1396
+ class TemplateStrategyOverride
1397
+ attr_reader path: String
1398
+ attr_reader strategy: enum_TemplateStrategy
1399
+
1400
+ def initialize: (path: String, strategy: enum_TemplateStrategy) -> void
1401
+ end
1402
+
1403
+ class TemplateTokenConfig
1404
+ attr_reader pre: String
1405
+ attr_reader post: String
1406
+ attr_reader separators: Array[String]
1407
+ attr_reader min_segments: Integer
1408
+ attr_reader max_segments: Integer?
1409
+ attr_reader segment_pattern: String
1410
+
1411
+ def initialize: (pre: String, post: String, separators: Array[String], min_segments: Integer, ?max_segments: Integer, segment_pattern: String) -> void
1412
+ end
1413
+
1414
+ class TemplateTreeRunReport
1415
+ attr_reader entries: Array[TemplateTreeRunReportEntry]
1416
+ attr_reader summary: TemplateTreeRunReportSummary
1417
+
1418
+ def initialize: (entries: Array[TemplateTreeRunReportEntry], summary: TemplateTreeRunReportSummary) -> void
1419
+ end
1420
+
1421
+ class TemplateTreeRunReportEntry
1422
+ attr_reader template_source_path: String
1423
+ attr_reader logical_destination_path: String
1424
+ attr_reader destination_path: String?
1425
+ attr_reader execution_action: enum_TemplateExecutionAction
1426
+ attr_reader status: enum_TemplateTreeRunStatus
1427
+
1428
+ def initialize: (template_source_path: String, logical_destination_path: String, ?destination_path: String, execution_action: enum_TemplateExecutionAction, status: enum_TemplateTreeRunStatus) -> void
1429
+ end
1430
+
1431
+ class TemplateTreeRunReportSummary
1432
+ attr_reader created: Integer
1433
+ attr_reader updated: Integer
1434
+ attr_reader kept: Integer
1435
+ attr_reader blocked: Integer
1436
+ attr_reader omitted: Integer
1437
+
1438
+ def initialize: (created: Integer, updated: Integer, kept: Integer, blocked: Integer, omitted: Integer) -> void
1439
+ end
1440
+
1441
+ class ThreeWayMergePolicy
1442
+ attr_reader render_policy: String
1443
+ attr_reader fallback_policy: String?
1444
+ attr_reader conflict_marker_size: Integer?
1445
+ attr_reader labels: Hash[String, String]?
1446
+ attr_reader extra: Hash[String, String]
1447
+
1448
+ def initialize: (render_policy: String, ?fallback_policy: String, ?conflict_marker_size: Integer, ?labels: Hash[String, String], extra: Hash[String, String]) -> void
1449
+ end
1450
+
1451
+ class WorkflowBatchRequest
1452
+ attr_reader items: Array[WorkflowOperation]
1453
+
1454
+ def initialize: (items: Array[WorkflowOperation]) -> void
1455
+ end
1456
+
1457
+ class WorkflowBatchResult
1458
+ attr_reader items: Array[OperationResult]
1459
+
1460
+ def initialize: (items: Array[OperationResult]) -> void
1461
+ end
1462
+
1463
+ class WorkflowExecution
1464
+ attr_reader provider: MergeProviderDescriptor
1465
+ attr_reader execution_owner: enum_WorkflowExecutionOwner
1466
+ attr_reader approved_as_default: bool
1467
+ attr_reader selections: Array[MergeSelectionReport]
1468
+ attr_reader results: Array[OperationResult]
1469
+
1470
+ def initialize: (provider: MergeProviderDescriptor, execution_owner: enum_WorkflowExecutionOwner, approved_as_default: bool, selections: Array[MergeSelectionReport], results: Array[OperationResult]) -> void
1471
+ end
1472
+
1473
+ class WorkflowLimits
1474
+ attr_reader max_operations: Integer
1475
+ attr_reader max_request_bytes: Integer
1476
+ attr_reader max_response_bytes: Integer
1477
+ attr_reader parse: ParseLimits
1478
+
1479
+ def initialize: (max_operations: Integer, max_request_bytes: Integer, max_response_bytes: Integer, parse: ParseLimits) -> void
1480
+ end
1481
+
1482
+ class WorkflowOperation
1483
+ attr_reader operation: OperationRequest
1484
+ attr_reader parser_language: String
1485
+ attr_reader parser_dialect: String?
1486
+ attr_reader parse_options: ParseOptions
1487
+
1488
+ def initialize: (operation: OperationRequest, parser_language: String, ?parser_dialect: String, parse_options: ParseOptions) -> void
1489
+ end
1490
+
1491
+ class WorkflowRegistryExpectation
1492
+ attr_reader provider_generation: Integer
1493
+ attr_reader provider_digest: String
1494
+ attr_reader parser_generation: Integer
1495
+ attr_reader parser_digest: String
1496
+
1497
+ def initialize: (provider_generation: Integer, provider_digest: String, parser_generation: Integer, parser_digest: String) -> void
1498
+ end
1499
+
1500
+ type enum_AlternativeState = :present | :absent | :invalid | :opaque
1501
+
1502
+ type enum_AttachmentHint = :leading | :inline | :trailing | :preamble | :postlude | :orphan | :unknown
1503
+
1504
+ type enum_ConflictAlternativeState = :present | :absent
1505
+
1506
+ type enum_ConflictCategory = :content | :delete_modify | :add_add | :move | :rename | :order | :identity | :ownership | :syntax | :binary_overlap | :archive_entry | :provider_specific
1507
+
1508
+ class ConflictRecord
1509
+ def self.from_canonical: (PortableConflict value) -> ConflictRecord
1510
+ def canonical: () -> PortableConflict?
1511
+ def self.from_migration: (ResultConflict value) -> ConflictRecord
1512
+ def migration: () -> ResultConflict?
1513
+ end
1514
+
1515
+ type enum_CrisprLimitOperator = :equal | :not_equal | :at_most | :at_least | :less_than | :greater_than
1516
+
1517
+ type enum_DiagnosticCategory = :parse_error | :destination_parse_error | :unsupported_feature | :fallback_applied | :ambiguity | :merge_conflict | :kind_mismatch | :unsupported_version | :assumed_default | :configuration_error | :replay_rejected | :unsafe_source_range
1518
+
1519
+ type enum_DiagnosticLayer = :transport | :registry | :parser | :analysis | :provider | :renderer | :verifier | :adapter | :runner
1520
+
1521
+ class DiagnosticRecord
1522
+ def self.from_canonical: (PortableDiagnostic value) -> DiagnosticRecord
1523
+ def canonical: () -> PortableDiagnostic?
1524
+ def self.from_migration: (ResultDiagnostic value) -> DiagnosticRecord
1525
+ def migration: () -> ResultDiagnostic?
1526
+ end
1527
+
1528
+ type enum_DiagnosticSeverity = :info | :warning | :error
1529
+
1530
+ type enum_DirectorySessionMode = :plan | :apply | :reapply
1531
+
1532
+ type enum_LocalizationStatus = :exact | :owner | :coarse | :whole_document | :unavailable
1533
+
1534
+ type enum_MergeProviderRole = :workflow | :backend
1535
+
1536
+ type enum_NodeRole = :structural | :token | :trivia | :comment | :delimiter | :separator | :virtual | :error | :opaque
1537
+
1538
+ type enum_OperationKind = :analyze | :diff2 | :merge2 | :merge3
1539
+
1540
+ module OperationPolicy
1541
+ def self.from_hash: (untyped hash) -> untyped
1542
+ end
1543
+
1544
+ class OperationPolicyAnalyze
1545
+ include OperationPolicy
1546
+ attr_reader value: AnalyzePolicy
1547
+
1548
+ def analyze?: () -> bool
1549
+ def diff2?: () -> bool
1550
+ def merge2?: () -> bool
1551
+ def merge3?: () -> bool
1552
+
1553
+ def self.from_hash: (untyped hash) -> untyped
1554
+ def self.new: (value: AnalyzePolicy) -> OperationPolicyAnalyze
1555
+ end
1556
+
1557
+ class OperationPolicyDiff2
1558
+ include OperationPolicy
1559
+ attr_reader value: DiffPolicy
1560
+
1561
+ def analyze?: () -> bool
1562
+ def diff2?: () -> bool
1563
+ def merge2?: () -> bool
1564
+ def merge3?: () -> bool
1565
+
1566
+ def self.from_hash: (untyped hash) -> untyped
1567
+ def self.new: (value: DiffPolicy) -> OperationPolicyDiff2
1568
+ end
1569
+
1570
+ class OperationPolicyMerge2
1571
+ include OperationPolicy
1572
+ attr_reader value: DirectionalMergePolicy
1573
+
1574
+ def analyze?: () -> bool
1575
+ def diff2?: () -> bool
1576
+ def merge2?: () -> bool
1577
+ def merge3?: () -> bool
1578
+
1579
+ def self.from_hash: (untyped hash) -> untyped
1580
+ def self.new: (value: DirectionalMergePolicy) -> OperationPolicyMerge2
1581
+ end
1582
+
1583
+ class OperationPolicyMerge3
1584
+ include OperationPolicy
1585
+ attr_reader value: ThreeWayMergePolicy
1586
+
1587
+ def analyze?: () -> bool
1588
+ def diff2?: () -> bool
1589
+ def merge2?: () -> bool
1590
+ def merge3?: () -> bool
1591
+
1592
+ def self.from_hash: (untyped hash) -> untyped
1593
+ def self.new: (value: ThreeWayMergePolicy) -> OperationPolicyMerge3
1594
+ end
1595
+
1596
+ type enum_OwnerChangeKind = :added | :deleted | :edited
1597
+
1598
+ type enum_ParseSeverity = :info | :warning | :error
1599
+
1600
+ type enum_PolicySurface = :fallback | :array
1601
+
1602
+ type enum_PortableCategory = :parse_error | :destination_parse_error | :invalid_request | :configuration_error | :selection_error | :backend_unavailable | :unsupported_feature | :ambiguity | :analysis_error | :merge_conflict | :render_error | :preservation_error | :verification_error | :fallback_applied | :assumed_default | :cancelled | :deadline_exceeded | :resource_limit | :replay_rejected | :internal_error | :unsafe_source_range
1603
+
1604
+ type enum_ResolutionStatus = :unresolved | :resolved
1605
+
1606
+ type enum_ResolutionStrategy = :none | :select_role | :combine | :policy | :custom
1607
+
1608
+ type enum_ReviewDecisionAction = :accept_default_context | :provide_explicit_context | :apply_delegated_child_group
1609
+
1610
+ type enum_ReviewDiagnosticReason = :missing_required_payload | :family_mismatch | :request_not_found
1611
+
1612
+ type enum_SourceEncoding = :utf8 | :binary
1613
+
1614
+ type enum_SourceRevision = :base | :ours | :theirs
1615
+
1616
+ type enum_SourceRole = :source | :before | :after | :incoming | :current | :base | :ours | :theirs | :output
1617
+
1618
+ type enum_TemplateDirectoryPlanStatus = :create | :update | :keep | :blocked | :omitted
1619
+
1620
+ type enum_TemplateExecutionAction = :blocked | :omit | :keep | :raw_copy | :write_prepared_content | :merge_prepared_content
1621
+
1622
+ type enum_TemplateStrategy = :merge | :accept_template | :keep_destination | :raw_copy
1623
+
1624
+ type enum_TemplateTreeRunStatus = :created | :updated | :kept | :blocked | :omitted
1625
+
1626
+ type enum_ThreeWayMergeOutcome = :clean | :conflict | :error
1627
+
1628
+ type enum_WorkflowExecutionOwner = :host | :kernel
1629
+
1630
+ def self.apply_explicit_source_edits: (SourceEditRequest request, SourceEditLimits limits) -> SourceEditResult
1631
+
1632
+ def self.capability_manifest: (Array[CapabilityQuery] queries, ParseLimits limits) -> CapabilityManifest
1633
+
1634
+ def self.capability_manifest_controlled: (Array[CapabilityQuery] queries, ParseLimits limits, OperationControl control) -> CapabilityManifest
1635
+
1636
+ def self.create_operation_control: () -> OperationControl
1637
+
1638
+ def self.diff_native_owners: (NativeDiffRequest request, ParseLimits limits) -> NativeDiffResult
1639
+
1640
+ def self.diff_native_owners_controlled: (NativeDiffRequest request, ParseLimits limits, OperationControl control) -> NativeDiffResult
1641
+
1642
+ def self.execute_operation: (OperationRequest request, ParseLimits limits) -> OperationResult
1643
+
1644
+ def self.execute_operation_controlled: (OperationRequest request, ParseLimits limits, OperationControl control) -> OperationResult
1645
+
1646
+ def self.execute_workflow_batch: (String provider_id, WorkflowBatchRequest request, WorkflowLimits limits) -> WorkflowExecution
1647
+
1648
+ def self.execute_workflow_batch_at_registry: (String provider_id, WorkflowBatchRequest request, WorkflowRegistryExpectation expected, WorkflowLimits limits) -> WorkflowExecution
1649
+
1650
+ def self.execute_workflow_batch_at_registry_controlled: (String provider_id, WorkflowBatchRequest request, WorkflowRegistryExpectation expected, WorkflowLimits limits, OperationControl control) -> WorkflowExecution
1651
+
1652
+ def self.execute_workflow_batch_controlled: (String provider_id, WorkflowBatchRequest request, WorkflowLimits limits, OperationControl control) -> WorkflowExecution
1653
+
1654
+ def self.merge_python_declarations: (Array[ParseRequest] requests, ParseLimits limits) -> NativeMergeResult
1655
+
1656
+ def self.merge_python_declarations_controlled: (Array[ParseRequest] requests, ParseLimits limits, OperationControl control) -> NativeMergeResult
1657
+
1658
+ def self.merge_yaml_mapping: (Array[ParseRequest] requests, ParseLimits limits) -> NativeMergeResult
1659
+
1660
+ def self.merge_yaml_mapping_controlled: (Array[ParseRequest] requests, ParseLimits limits, OperationControl control) -> NativeMergeResult
1661
+
1662
+ def self.native_merge_profiles: () -> Array[NativeMergeProfile]
1663
+
1664
+ def self.operation_profile_catalog: () -> OperationProfileCatalog
1665
+
1666
+ def self.parse_sources: (Array[ParseRequest] requests, ParseLimits limits) -> Array[CoreParseResult]
1667
+
1668
+ def self.parse_sources_controlled: (Array[ParseRequest] requests, ParseLimits limits, OperationControl control) -> Array[CoreParseResult]
1669
+
1670
+ def self.parser_registry_inventory: () -> ParserRegistryInventory
1671
+
1672
+ def self.parser_selection_report: (ParserSelectionRequest request, ParseLimits limits) -> SelectionReport
1673
+
1674
+ def self.parser_selection_report_controlled: (ParserSelectionRequest request, ParseLimits limits, OperationControl control) -> SelectionReport
1675
+
1676
+ def self.plan_template_directory: (TemplateSessionOptions options) -> TemplateSessionPlanReport
1677
+
1678
+ def self.register_cached_language_pack_parser: (String id, String language) -> ParserProviderDescriptor
1679
+
1680
+ def self.register_language_pack_parser: (String id, String language) -> ParserProviderDescriptor
1681
+
1682
+ def self.register_parser_host: (_ParserHost host) -> void
1683
+
1684
+ def self.register_rust_syn_parser: (String id) -> ParserProviderDescriptor
1685
+
1686
+ def self.register_typescript_oxc_parser: (String id) -> ParserProviderDescriptor
1687
+
1688
+ def self.register_workflow_host: (_WorkflowHost host) -> Integer
1689
+
1690
+ def self.replace_parser_host: (_ParserHost host, Integer expected_generation) -> Integer
1691
+
1692
+ def self.replace_workflow_host: (_WorkflowHost host, Integer expected_generation) -> Integer
1693
+
1694
+ def self.report_structural_boundary: () -> CrisprBoundaryReport
1695
+
1696
+ def self.report_structural_destination: (CrisprDestinationRequest request) -> CrisprDestinationReport
1697
+
1698
+ def self.report_structural_limit: (CrisprLimitRequest request) -> CrisprLimitReport
1699
+
1700
+ def self.report_structural_match: (CrisprMatchRequest request) -> CrisprMatchReport
1701
+
1702
+ def self.report_structural_operations: (Array[CrisprOperationRequest] requests) -> CrisprBatchOperationReport
1703
+
1704
+ def self.report_structural_selection: (CrisprSelectionRequest request) -> CrisprSelectionReport
1705
+
1706
+ def self.report_template_options: (TemplateSessionOptions options) -> TemplateSessionRequestReport
1707
+
1708
+ def self.report_template_profile: (TemplateProfileRequest request) -> TemplateSessionRequestReport
1709
+
1710
+ def self.unregister_parser_host: (String id) -> void
1711
+
1712
+ def self.unregister_parser_provider: (String id) -> void
1713
+
1714
+ def self.unregister_workflow_host: (String id, Integer expected_generation) -> Integer
1715
+
1716
+ def self.workflow_registry_inventory: () -> MergeProviderInventory
1717
+
1718
+ def self.workflow_selection_reports: (Array[MergeSelectionRequest] queries, WorkflowLimits limits) -> Array[MergeSelectionReport]
1719
+
1720
+ def self.workflow_selection_reports_controlled: (Array[MergeSelectionRequest] queries, WorkflowLimits limits, OperationControl control) -> Array[MergeSelectionReport]
1721
+
1722
+ interface _ParserHost
1723
+ def descriptor: () -> ParserProviderDescriptor
1724
+ def probe_batch: (ProbeBatchRequest request) -> ProbeBatchResult
1725
+ def parse_batch: (ParseBatchRequest request) -> ParseBatchResult
1726
+ end
1727
+
1728
+ interface _WorkflowHost
1729
+ def descriptor: () -> MergeProviderDescriptor
1730
+ def execute_batch: (PreparedWorkflowBatch request, OperationControl control) -> WorkflowBatchResult
1731
+ end
1732
+
1733
+ end