@rslsp1/fa-app-tools 8.0.0 → 9.1.0

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/szenen.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { I as ElementSnapshot, Z as PublishFinding, ac as SchemaError, Y as PublishCheckResult, aj as SzenenElementType, a2 as ReferenceResolver, ap as TargetModelResolution, w as DerivationInputMode, M as ImageProvenance, s as DerivationFailure, n as DerivableType, N as NotDerivable, p as DerivationConflict, u as DerivationFollowUp, B as DraftChainMeta, q as DerivationDiagnostic, o as DerivationAssessment, h as ContextChainPort, a as AuthoritativeSzenenStore, ai as SzenenElementStore, v as DerivationImage, al as SzenenQueries, ah as SzenenCommands, ar as UnusableProposal } from './storeContract-DNggXiZl.js';
2
- export { A as ALL_PUBLISH_RULES, C as CHAIN_EDGES, b as CHAIN_LINK_FIELDS, c as CatalogueEntry, d as ChainLinkField, e as ChainTarget, f as ChainVerdict, g as CompiledSchemas, i as ContractCheck, j as ContractCheckResult, k as ContractRunResult, l as ContractViolation, m as CreateElementInput, D as DERIVABLE_TYPES, r as DerivationEnvelope, t as DerivationFailureClass, x as DerivationPolicyPayload, y as DerivationProposal, z as DraftChainLink, E as DraftFork, F as DraftRecord, G as ElementMetadata, H as ElementRecord, J as ElementStoreContractHarness, K as ElementVersionValidation, L as FindingSeverity, O as OptionalCommand, P as PROBE_VERSION_ID, Q as ParentRelation, R as PreferredHeadOutcome, S as PreferredHeadResolution, T as PreferredHeadSelection, U as PreferredHeadSource, V as ProjectionState, W as ProjectionStatus, X as PublishCheckInput, _ as PublishRejected, $ as PublishVersionInput, a0 as PublishedVersion, a1 as REFERENCE_FIELD, a3 as ResolvePreferredHeadOptions, a4 as ResolvedVersion, a5 as ReviseMetadataInput, a6 as STYLE_PAYLOAD, a7 as STYLE_PAYLOAD_V2, a8 as SZENEN_ELEMENT_TYPES, a9 as SceneDerivationInput, aa as SceneDerivationOutcome, ab as SceneDerivationOutput, ad as SchemaValidationResult, ae as SetPreferredHeadInput, af as StoreAuthority, ag as SzenenCommandResult, ak as SzenenProjection, am as TargetModelCandidate, an as TargetModelQueries, ao as TargetModelQuery, aq as UnsupportedSchemaError, as as VersionDag, at as VersionDagError, au as VersionNode, av as VersionParentLink, aw as WriteConflict, ax as WriteDraftInput, ay as assessDerivationResponse, az as buildDerivationSystemInstruction, aA as buildDerivationUserPrompt, aB as buildVersionDag, aC as checkChainTargets, aD as checkDerivationResponse, aE as checkDraftChainMeta, aF as collectVersionRefs, aG as compileSchemas, aH as createSimulationSceneDerivationPort, aI as describeTargetModelFailure, aJ as elementStoreContractChecks, aK as formatSchemaErrors, aL as getSzenenSchemas, aM as isOk, aN as isProjectionCurrent, aO as linkFor, aP as parseDerivationResponse, aQ as preferredVersionId, aR as resolvePreferredHead, aS as resolveTargetModelOver, aT as resolverFromQueries, aU as runElementStoreContract, aV as runPublishChecks, aW as runSceneDerivation, aX as showChain, aY as validateAgainst, aZ as validateDerivationInput, a_ as validateElementVersion, a$ as validatePayload, b0 as withReference } from './storeContract-DNggXiZl.js';
1
+ import { I as ElementSnapshot, Z as PublishFinding, ac as SchemaError, Y as PublishCheckResult, aj as SzenenElementType, a2 as ReferenceResolver, ap as TargetModelResolution, S as PreferredHeadResolution, w as DerivationInputMode, M as ImageProvenance, s as DerivationFailure, n as DerivableType, N as NotDerivable, p as DerivationConflict, u as DerivationFollowUp, B as DraftChainMeta, q as DerivationDiagnostic, o as DerivationAssessment, h as ContextChainPort, a as AuthoritativeSzenenStore, ai as SzenenElementStore, v as DerivationImage, al as SzenenQueries, ah as SzenenCommands, ar as UnusableProposal } from './storeContract-DNggXiZl.js';
2
+ export { A as ALL_PUBLISH_RULES, C as CHAIN_EDGES, b as CHAIN_LINK_FIELDS, c as CatalogueEntry, d as ChainLinkField, e as ChainTarget, f as ChainVerdict, g as CompiledSchemas, i as ContractCheck, j as ContractCheckResult, k as ContractRunResult, l as ContractViolation, m as CreateElementInput, D as DERIVABLE_TYPES, r as DerivationEnvelope, t as DerivationFailureClass, x as DerivationPolicyPayload, y as DerivationProposal, z as DraftChainLink, E as DraftFork, F as DraftRecord, G as ElementMetadata, H as ElementRecord, J as ElementStoreContractHarness, K as ElementVersionValidation, L as FindingSeverity, O as OptionalCommand, P as PROBE_VERSION_ID, Q as ParentRelation, R as PreferredHeadOutcome, T as PreferredHeadSelection, U as PreferredHeadSource, V as ProjectionState, W as ProjectionStatus, X as PublishCheckInput, _ as PublishRejected, $ as PublishVersionInput, a0 as PublishedVersion, a1 as REFERENCE_FIELD, a3 as ResolvePreferredHeadOptions, a4 as ResolvedVersion, a5 as ReviseMetadataInput, a6 as STYLE_PAYLOAD, a7 as STYLE_PAYLOAD_V2, a8 as SZENEN_ELEMENT_TYPES, a9 as SceneDerivationInput, aa as SceneDerivationOutcome, ab as SceneDerivationOutput, ad as SchemaValidationResult, ae as SetPreferredHeadInput, af as StoreAuthority, ag as SzenenCommandResult, ak as SzenenProjection, am as TargetModelCandidate, an as TargetModelQueries, ao as TargetModelQuery, aq as UnsupportedSchemaError, as as VersionDag, at as VersionDagError, au as VersionNode, av as VersionParentLink, aw as WriteConflict, ax as WriteDraftInput, ay as assessDerivationResponse, az as buildDerivationSystemInstruction, aA as buildDerivationUserPrompt, aB as buildVersionDag, aC as checkChainTargets, aD as checkDerivationResponse, aE as checkDraftChainMeta, aF as collectVersionRefs, aG as compileSchemas, aH as createSimulationSceneDerivationPort, aI as describeTargetModelFailure, aJ as elementStoreContractChecks, aK as formatSchemaErrors, aL as getSzenenSchemas, aM as isOk, aN as isProjectionCurrent, aO as linkFor, aP as parseDerivationResponse, aQ as preferredVersionId, aR as resolvePreferredHead, aS as resolveTargetModelOver, aT as resolverFromQueries, aU as runElementStoreContract, aV as runPublishChecks, aW as runSceneDerivation, aX as showChain, aY as validateAgainst, aZ as validateDerivationInput, a_ as validateElementVersion, a$ as validatePayload, b0 as withReference } from './storeContract-DNggXiZl.js';
3
3
  import { T as TextGenerationPort, Q as QueryResult, C as CommandResult } from './contracts-DdYOMBl9.js';
4
4
  export { S as SIMULATION_PROVIDER, c as TextGenerationRequest, d as TextGenerationResult, g as createFakeTextGenerationPort, h as createSimulationTextGenerationPort, s as simulatedAnswerFor } from './contracts-DdYOMBl9.js';
5
5
  import { g as HFStateSnapshot, F as FlowGenerateText } from './hfEventTypes-fAdA-0A9.js';
@@ -656,6 +656,125 @@ declare function sceneOnlyCapabilities(scenePayload: unknown): {
656
656
  can_place: CapabilityFlag;
657
657
  };
658
658
 
659
+ /** Der Subtyp, der ohne jede weitere Bedingung gilt (Auftrag §1). */
660
+ declare const GENERAL_POLICY_SUBTYPE = "general";
661
+ /**
662
+ * Eine automatisch aufgeloeste Policy — mit vollstaendiger Provenienz (D-22).
663
+ *
664
+ * `chain_index` ist **nicht** Teil des `RendererInput`: Er ordnet, er ist kein
665
+ * Herkunftsnachweis der Regel. Die entstandene Reihenfolge friert der Lauf
666
+ * ohnehin woertlich ein.
667
+ */
668
+ interface ResolvedScenePolicy {
669
+ element_id: string;
670
+ version_id: string;
671
+ subtype: string;
672
+ rank: number;
673
+ text: string;
674
+ locale: string | null;
675
+ /** Glied der Kontextkette, auf dem das Element liegt. `0` = Arbeitskontext. */
676
+ chain_index: number;
677
+ }
678
+ /**
679
+ * Das Ergebnis der Aufloesung — drei Ausgaenge, drei Sachverhalte.
680
+ *
681
+ * `rejected` ist fachlich (ein Fork, ueber den jemand entscheiden muss),
682
+ * `error` technisch bzw. ein Datenfehler. Sie zusammenzulegen hiesse, einen
683
+ * Speicherdefekt als Normalzustand anzuzeigen.
684
+ */
685
+ type ScenePolicyResult = {
686
+ kind: 'ok';
687
+ policies: readonly ResolvedScenePolicy[];
688
+ } | {
689
+ kind: 'rejected';
690
+ message: string;
691
+ element_id: string;
692
+ heads: readonly string[];
693
+ } | {
694
+ kind: 'error';
695
+ message: string;
696
+ retryable: boolean;
697
+ };
698
+ /** Ein Lesevorgang der Momentaufnahme, so schmal wie moeglich beschrieben. */
699
+ interface SnapshotRead<T> {
700
+ kind: string;
701
+ message?: string;
702
+ value?: T;
703
+ }
704
+ /** Der Ausschnitt einer Momentaufnahme, den diese Aufloesung braucht. */
705
+ interface PolicySnapshot {
706
+ getElement(elementId: string): SnapshotRead<{
707
+ element: {
708
+ element_id: string;
709
+ type: string;
710
+ context_id?: string | null;
711
+ };
712
+ versions?: readonly {
713
+ version_id: string;
714
+ element_id: string;
715
+ payload: unknown;
716
+ }[];
717
+ preferredHeads?: readonly {
718
+ context_id: string | null;
719
+ version_id?: string;
720
+ }[];
721
+ } | null>;
722
+ /**
723
+ * Die Elemente eines Kettenglieds — **optional im Typ, nicht im Betrieb.**
724
+ *
725
+ * Optional, weil der Shot-Pfad dieselbe Momentaufnahme benutzt und dort
726
+ * keine Liste braucht. Fehlt sie im Szene-Direktlauf, ist das ein
727
+ * unvollstaendiger Hostadapter und wird laut gemeldet — nicht als „keine
728
+ * Policy vorhanden" ausgelegt (Grundsatzregel 4).
729
+ */
730
+ listElements?(filter: {
731
+ contextId: string | null;
732
+ type: string;
733
+ }): SnapshotRead<readonly {
734
+ element_id: string;
735
+ type: string;
736
+ }[]>;
737
+ }
738
+ /**
739
+ * Die deterministische Ordnung automatisch gefundener Policies (Auftrag §6).
740
+ *
741
+ * Eine automatisch entdeckte Menge hat keine gespeicherte Array-Reihenfolge;
742
+ * `rank` allein reicht deshalb nicht aus, sobald zwei Regeln denselben Rang
743
+ * tragen. Keine Deduplizierung nach `name`: verschiedene Elemente sind
744
+ * verschiedene Regeln.
745
+ */
746
+ declare function sortScenePolicies(policies: readonly ResolvedScenePolicy[]): readonly ResolvedScenePolicy[];
747
+ /**
748
+ * Der Vergleichswert zweier Aufloesungen — fuer die A/B-Stabilitaetspruefung.
749
+ *
750
+ * Verglichen wird Element **und** Version in der entstandenen Reihenfolge:
751
+ * Genau dann ist der Policy-Satz derselbe, den der Nutzer gesehen hat. Der
752
+ * Text gehoert nicht hinein — eine veroeffentlichte Version ist
753
+ * unveraenderlich, und ein abweichender Text bei gleicher Kennung waere ein
754
+ * Speicherdefekt, kein Wettlauf.
755
+ */
756
+ declare function scenePolicyFingerprint(policies: readonly ResolvedScenePolicy[]): string;
757
+ /**
758
+ * Die allgemeinen Policies, die fuer einen Szene-Direktlauf gelten.
759
+ *
760
+ * Ausgewertet wird die **vollstaendige** Kontextkette: Arbeitskontext, geerbte
761
+ * Kontexte, global. Je sichtbarem `prompt_policy`-Element wird die wirksame
762
+ * Version ausschliesslich mit der vorhandenen Preferred-Head-Logik bestimmt
763
+ * (D-36) — hier wird nichts neu ausgelegt und nichts geraten.
764
+ *
765
+ * Kein Netzzugriff: Gelesen wird genau die uebergebene Momentaufnahme. Das ist
766
+ * die Voraussetzung dafuer, dass die Auswahl in dieselbe Konsistenzgrenze
767
+ * faellt wie das Einfrieren der Szene (Gegenpruefung P2).
768
+ */
769
+ declare function resolveGeneralScenePolicies(snapshot: PolicySnapshot, contextChain: readonly (string | null)[],
770
+ /**
771
+ * Das gewaehlte Zielmodell dieses Laufs, oder `null` fuer einen generischen.
772
+ *
773
+ * Nur seinetwegen kommen `target_model`-Policies ueberhaupt in Betracht;
774
+ * ohne Zielmodell bleibt die Auswahl exakt die von Schritt 03.
775
+ */
776
+ targetModelElementId?: string | null): ScenePolicyResult;
777
+
659
778
  /** Ein Beitrag zur Beschreibung eines Knotens, mit Herkunft (D-50). */
660
779
  interface NodeContribution {
661
780
  source: 'component' | 'node_semantic' | 'setup_override';
@@ -716,6 +835,14 @@ interface RendererInput {
716
835
  /** `null`, wenn der Shot keine auflösbare Kamera nennt. */
717
836
  camera_id: string | null;
718
837
  shot_concept: unknown | null;
838
+ /**
839
+ * Die wirksame Arbeitsanweisung dieses Shot-Laufs — unveraendert.
840
+ *
841
+ * Die **kanonische** Stelle ist seit Schritt 03 das gleichnamige Feld auf
842
+ * oberster Ebene; im Shot-Pfad tragen beide denselben Wert. Das Feld hier
843
+ * bleibt, weil Laeufe, Tests und der Vertrag es seit Stufe 3 fuehren, und
844
+ * weil dieser Auftrag am Auswahlverhalten des Shot-Pfads nichts aendert.
845
+ */
719
846
  user_instruction: string | null;
720
847
  text_override: string | null;
721
848
  } | null;
@@ -747,7 +874,23 @@ interface RendererInput {
747
874
  text: string;
748
875
  locale: string | null;
749
876
  }[];
877
+ /**
878
+ * Die wirksamen Prompt-Policies — mit vollstaendiger Provenienz (D-22).
879
+ *
880
+ * `element_id`/`version_id` gehoeren seit Schritt 03 dazu, und zwar auf
881
+ * **beiden** Wegen: bei den ausdruecklich referenzierten Shot-Policies
882
+ * ebenso wie bei den automatisch aufgeloesten allgemeinen Kontext-Policies
883
+ * des Szene-Direktlaufs. D-22 verlangt eingefrorenen Text **und** Herkunft;
884
+ * ohne die beiden Kennungen liesse sich spaeter nicht sagen, welche Regel in
885
+ * welcher Fassung gewirkt hat.
886
+ *
887
+ * Reihenfolge: erst die ausdruecklich referenzierten (Array-Reihenfolge nach
888
+ * `rank`), dann die automatisch aufgeloesten in ihrer deterministischen
889
+ * Ordnung. Sie wird woertlich eingefroren.
890
+ */
750
891
  policies: readonly {
892
+ element_id: string;
893
+ version_id: string;
751
894
  subtype: string;
752
895
  rank: number;
753
896
  text: string;
@@ -787,6 +930,19 @@ interface RendererInput {
787
930
  can_render_prompt: string;
788
931
  can_place: string;
789
932
  };
933
+ /**
934
+ * Die laufbezogene Arbeitsanweisung — die **kanonische** Stelle (Schritt 03 §7).
935
+ *
936
+ * Vorher stand sie ausschliesslich unter `shot.user_instruction`. Beim
937
+ * Szene-Direktlauf gibt es keinen Shot, und damit erreichte die Anweisung
938
+ * den Renderer nicht, obwohl der Vorgang sie speicherte — der belegte
939
+ * Fehler aus der Gegenpruefung P6. Hier steht sie jetzt fuer **jeden** Weg
940
+ * genau einmal.
941
+ *
942
+ * Sie ist **additiv** zu `policies` und ersetzt keine Regel; Policy-Text
943
+ * wird niemals hierher kopiert.
944
+ */
945
+ user_instruction: string | null;
790
946
  /** Die tatsächlich verwendete Kontextkette (§4.9.1). */
791
947
  context_chain: readonly (string | null)[];
792
948
  /** Wie das Zielmodell gefunden wurde (§4.9.1). `null` ohne Zielmodell. */
@@ -930,6 +1086,21 @@ interface ResolveShotPayloadInput {
930
1086
  };
931
1087
  };
932
1088
  }
1089
+ /**
1090
+ * Ein vom Aufrufer gewaehltes und bereits aufgeloestes Zielmodell (Kette
1091
+ * `szenen-direktlauf-target-model-policy`).
1092
+ *
1093
+ * Bewusst dieselben Felder, die `targetModelResolution` ohnehin fuehrt: Damit
1094
+ * entsteht **kein** zweiter Provenienznachweis neben dem des Shot-Pfads,
1095
+ * sondern derselbe, nur aus einer anderen Quelle bestimmt.
1096
+ */
1097
+ interface SceneTargetModel {
1098
+ element_id: string;
1099
+ version_id: string;
1100
+ chain_index: number;
1101
+ payload: unknown;
1102
+ head: PreferredHeadResolution;
1103
+ }
933
1104
  /**
934
1105
  * Löst eine Shot-**Payload** auf, ohne eine veröffentlichte Version zu verlangen.
935
1106
  *
@@ -953,6 +1124,13 @@ interface ResolveScenePayloadInput {
953
1124
  resolver: ReferenceResolver;
954
1125
  contextChain: readonly (string | null)[];
955
1126
  userInstruction?: string | null;
1127
+ /**
1128
+ * Die allgemeinen Kontext-Policies dieses Laufs, bereits aufgeloest und
1129
+ * gegen die zweite Momentaufnahme bestaetigt (Schritt 03 §3).
1130
+ */
1131
+ autoPolicies?: readonly ResolvedScenePolicy[];
1132
+ /** Das gewaehlte Zielmodell, bereits aufgeloest — oder `null`/fehlend. */
1133
+ sceneTargetModel?: SceneTargetModel | null;
956
1134
  }
957
1135
  /**
958
1136
  * Löst eine **Szene allein** zur Renderer-Eingabe auf (D-135).
@@ -1573,6 +1751,7 @@ interface ChainSnapshot {
1573
1751
  version_id: string;
1574
1752
  element_id: string;
1575
1753
  payload: unknown;
1754
+ parents?: unknown;
1576
1755
  }[];
1577
1756
  preferredHeads?: readonly {
1578
1757
  context_id: string | null;
@@ -1580,6 +1759,30 @@ interface ChainSnapshot {
1580
1759
  }[];
1581
1760
  } | null;
1582
1761
  };
1762
+ /**
1763
+ * Die Elemente eines Kettenglieds — fuer die allgemeinen Kontext-Policies
1764
+ * des Szene-Direktlaufs (Schritt 03 §3).
1765
+ *
1766
+ * Optional im Typ, weil der Shot-Pfad dieselbe Momentaufnahme benutzt und
1767
+ * dort keine Liste braucht. Im Szene-Direktlauf ist sie **Pflicht**: Fehlt
1768
+ * sie, meldet die Policy-Aufloesung einen Fehler, statt „keine Policy"
1769
+ * zu behaupten (Grundsatzregel 4).
1770
+ *
1771
+ * Aus **derselben** Momentaufnahme wie `getElement` — genau das haelt die
1772
+ * Policy-Auswahl in der A/B-Konsistenzgrenze und verhindert einen dritten
1773
+ * Live-Leseweg (Gegenpruefung P2).
1774
+ */
1775
+ listElements?(filter: {
1776
+ contextId: string | null;
1777
+ type: string;
1778
+ }): {
1779
+ kind: string;
1780
+ message?: string;
1781
+ value?: readonly {
1782
+ element_id: string;
1783
+ type: string;
1784
+ }[];
1785
+ };
1583
1786
  }
1584
1787
  /**
1585
1788
  * Was das Einfrieren vom Elementspeicher braucht — bewusst schmal.
@@ -1629,6 +1832,21 @@ interface FreezeSceneSuccess {
1629
1832
  kind: 'ok';
1630
1833
  scene: FrozenSceneState;
1631
1834
  input: RendererInput;
1835
+ /**
1836
+ * Die automatisch aufgeloesten allgemeinen Kontext-Policies (Schritt 03).
1837
+ *
1838
+ * Redundant zu `input.policies` und trotzdem hier: Der Aufrufer sieht so den
1839
+ * Satz **mit** `chain_index`, ohne die Ordnung nachbauen zu muessen. Der
1840
+ * eingefrorene Lauf traegt weiterhin ausschliesslich `input`.
1841
+ */
1842
+ policies: readonly ResolvedScenePolicy[];
1843
+ /**
1844
+ * Das eingefrorene Zielmodell, oder `null` fuer einen generischen Lauf.
1845
+ *
1846
+ * Wie `policies` redundant zu `input` und trotzdem hier: Der Aufrufer sieht
1847
+ * die Provenienz, ohne sie aus `renderer_input` zurueckrechnen zu muessen.
1848
+ */
1849
+ targetModel: FrozenSceneTargetModel | null;
1632
1850
  }
1633
1851
  type FreezeSceneResult = FreezeSceneSuccess | FreezeFailure;
1634
1852
  interface FreezeSceneWorkingStateInput {
@@ -1638,6 +1856,38 @@ interface FreezeSceneWorkingStateInput {
1638
1856
  resolver: ReferenceResolver;
1639
1857
  contextChain: readonly (string | null)[];
1640
1858
  userInstruction?: string | null;
1859
+ /**
1860
+ * Das gewaehlte Zielmodell (Kette `szenen-direktlauf-target-model-policy`).
1861
+ *
1862
+ * Optional: Ohne Angabe bleibt der Ablauf exakt der generische von D-135 —
1863
+ * kein Zielmodell im `RendererInput`, keine `target_model`-Policy.
1864
+ */
1865
+ targetModelElementId?: string | null;
1866
+ }
1867
+ /**
1868
+ * Das gewaehlte Zielmodell eines Szene-Direktlaufs — Kette
1869
+ * `szenen-direktlauf-target-model-policy`, Schritt 01.
1870
+ *
1871
+ * **Warum ueber die `element_id` und nicht ueber den Key.** Der Shot-Pfad sucht
1872
+ * ein Zielmodell ueber `prompt_render_settings.target_model_id`, also ueber
1873
+ * einen freien Key entlang der Kette — mit allen Ausgaengen, die dazugehoeren
1874
+ * (`not_found`, `ambiguous`, `retired`, `fork`). Der Szene-Direktlauf bekommt
1875
+ * das Modell dagegen von einem Menschen ausgewaehlt, und der waehlt es aus
1876
+ * einer Liste, die schon aufgeloest ist. Die Kennung ist damit eindeutig, und
1877
+ * sie ist dieselbe, die eine `target_model`-Policy in
1878
+ * `applicable_target_models` nennt. Eine zweite Suche ueber einen geratenen
1879
+ * Namen waere fehleranfaelliger als die Kennung, die vorliegt.
1880
+ *
1881
+ * Die **Version** waehlt trotzdem niemand von Hand: Sie kommt aus derselben
1882
+ * D-36-Preferred-Head-Aufloesung wie der Arbeitsstand der Szene daneben.
1883
+ */
1884
+ interface FrozenSceneTargetModel {
1885
+ element_id: string;
1886
+ version_id: string;
1887
+ /** Glied der Kontextkette, auf dem das Element liegt. `0` = Arbeitskontext. */
1888
+ chain_index: number;
1889
+ payload: unknown;
1890
+ head: PreferredHeadResolution;
1641
1891
  }
1642
1892
  /**
1643
1893
  * Friert den Arbeitsstand **einer Szene** ein und baut die Renderer-Eingabe
@@ -2924,6 +3174,28 @@ interface SzenenRunPort {
2924
3174
  * `promptOverview: false`, und die Ansicht nennt den Grund (§8).
2925
3175
  */
2926
3176
  listAllRuns?(filter?: PromptRunFilter): Promise<QueryResult<PromptRunListing>>;
3177
+ /**
3178
+ * Legt einen **manuell erfassten** Promptlauf in einer Szene an — Kette
3179
+ * `szenen-manuell-angepasste-promptlaeufe`, Schritt 01.
3180
+ *
3181
+ * Derselbe Weg wie `startRunFromScene`, nur ohne den Modellaufruf: Kontext
3182
+ * ermitteln, Kette auflösen, einfrieren (D-97), Lauf ablegen. Es entsteht
3183
+ * kein zweites Laufformat und keine zweite Ablage — der Lauf ist danach ein
3184
+ * ganz normaler Szene-Direktlauf und über dieselben Abfragen erreichbar.
3185
+ *
3186
+ * Dieselben drei Fehlausgänge wie beim Szenenlauf, und aus demselben Grund:
3187
+ * Konflikt, fachlicher Mangel und technischer Fehler sind verschiedene
3188
+ * Auskünfte. Hier gilt in **jedem** Fall: Es wurde kein Modell gerufen — auch
3189
+ * im Erfolgsfall nicht.
3190
+ *
3191
+ * Optional wie `listAllRuns`, und aus demselben Grund: Ein Host ohne diese
3192
+ * Operation verliert genau die eine Aktion, und `capabilitiesOf()` meldet
3193
+ * `manualPromptRun: false`, damit die Ansicht den Grund nennt statt ein
3194
+ * Formular zu zeigen, das nichts ablegen kann (§8). Ein Pflichtmitglied
3195
+ * hätte ausserdem jeden bestehenden Implementierer der öffentlichen
3196
+ * Schnittstelle gebrochen.
3197
+ */
3198
+ addManualSceneRun?(input: AddManualSceneRunInput): Promise<StartRunFromDraftResult>;
2927
3199
  }
2928
3200
  interface StartRunFromSceneInput {
2929
3201
  /** Das Szenen-**Element**. Ob Entwurf oder Version gilt, entscheidet der Bestand. */
@@ -2931,6 +3203,27 @@ interface StartRunFromSceneInput {
2931
3203
  userInstruction?: string;
2932
3204
  contextId?: string | null;
2933
3205
  }
3206
+ /** Die Eingabe eines manuell erfassten Promptlaufs (Schritt 01). */
3207
+ interface AddManualSceneRunInput {
3208
+ /** Die bestehende Szene, zu der der Lauf gehört. */
3209
+ sceneElementId: string;
3210
+ /** Der vollständige Prompttext, **unverändert** wie eingegeben. */
3211
+ promptText: string;
3212
+ /**
3213
+ * Das gewählte Zielmodell als Element-Kennung, oder `null`.
3214
+ *
3215
+ * Aufgelöst wird es beim Einfrieren — mit derselben Kontextsichtbarkeit wie
3216
+ * überall sonst. Hier entsteht keine zweite Modellliste und kein Freitext.
3217
+ */
3218
+ targetModelElementId?: string | null;
3219
+ /** Kurze Bezeichnung oder Notiz zur Variante. */
3220
+ note?: string | null;
3221
+ /** Der Lauf, aus dem der Prompt von Hand abgeleitet wurde — loser Bezug. */
3222
+ derivedFromRunId?: string | null;
3223
+ /** Wer den Lauf einträgt. */
3224
+ enteredBy: string;
3225
+ contextId?: string | null;
3226
+ }
2934
3227
  /**
2935
3228
  * Warum ein Draft-Lauf nicht zustande kam — **drei** verschiedene Auskünfte.
2936
3229
  *
@@ -3630,6 +3923,8 @@ interface SzenenViewCapabilities {
3630
3923
  imageJobs: boolean;
3631
3924
  /** Die herkunftsuebergreifende Prompt-Sicht (P1-A) — Bereich `Prompts`. */
3632
3925
  promptOverview: boolean;
3926
+ /** „Promptlauf manuell hinzufuegen" — Kette szenen-manuell-angepasste-promptlaeufe. */
3927
+ manualPromptRun: boolean;
3633
3928
  }
3634
3929
  declare function capabilitiesOf(port: SzenenViewPort): SzenenViewCapabilities;
3635
3930
  /**
@@ -3830,6 +4125,81 @@ interface LadeVorschauenOptionen {
3830
4125
  */
3831
4126
  declare function ladeVorschauen(port: SzenenImageLibraryPort, mediaRefs: readonly string[], fertig: (mediaRef: string, quelle: string) => void, optionen?: LadeVorschauenOptionen): Promise<void>;
3832
4127
 
4128
+ /**
4129
+ * Der Anbieter eines manuell erfassten Laufs.
4130
+ *
4131
+ * `manual` und nicht der Name des Zielmodells: `provider`/`model_id` sagen,
4132
+ * **womit formuliert wurde**. Formuliert hat hier ein Mensch. Das Zielmodell
4133
+ * steht dort, wo es hingehoert — in `target_model_version_id` und im
4134
+ * eingefrorenen `input_payload`.
4135
+ */
4136
+ declare const MANUAL_PROVIDER = "manual";
4137
+ /** Die Modellkennung eines manuell erfassten Laufs — ehrlich, nicht geraten. */
4138
+ declare const MANUAL_MODEL_ID = "manual-entry";
4139
+ /** Die Basis der Sichtbarkeitsangaben: keine Ableitung, sondern Handeingabe. */
4140
+ declare const MANUAL_VISIBILITY_BASIS = "manual_entry";
4141
+ /** Der Knotenzustand, wenn niemand die Sichtbarkeit beurteilt hat. */
4142
+ declare const MANUAL_NODE_STATE = "unassessed";
4143
+ /**
4144
+ * Die Handeingabe am Lauf — additiv, wie `operation_id` und `execution_origin`.
4145
+ *
4146
+ * Sie steht **neben** `source` und nicht darin: Herkunft im Sinne von D-98 ist,
4147
+ * welcher Stand eingefroren wurde, und der ist hier derselbe wie bei jedem
4148
+ * anderen Szene-Direktlauf. Was dieser Block hinzufuegt, ist die Auskunft,
4149
+ * **wie** der Text entstand.
4150
+ */
4151
+ interface ManualPromptEntry {
4152
+ /** Immer `true`. Ein Leser muss das nicht aus `provider` erschliessen. */
4153
+ entered_manually: true;
4154
+ /** Die kurze Bezeichnung oder Notiz zur Variante, oder `null`. */
4155
+ note: string | null;
4156
+ /**
4157
+ * Der Lauf, aus dem dieser Prompt von Hand abgeleitet wurde — oder `null`.
4158
+ *
4159
+ * Bewusst eine **lose** Kennung ohne Aufloesung und ohne Pruefung gegen den
4160
+ * Bestand: Ein manuell abgeleiteter Lauf soll auch dann lesbar bleiben, wenn
4161
+ * sein Ursprung spaeter nicht mehr auffindbar ist. Eine harte Abhaengigkeit
4162
+ * waere eine Zusage, die dieses Feld nicht halten kann (Schritt 01, Regel 4).
4163
+ */
4164
+ derived_from_run_id: string | null;
4165
+ /** Wer eingetragen hat. */
4166
+ entered_by: string;
4167
+ }
4168
+ /** Ein Lauf, der von Hand eingetragen wurde. */
4169
+ type ManualPromptRunRecord = PromptRunRecord & {
4170
+ manual_entry: ManualPromptEntry;
4171
+ };
4172
+ interface BuildManualPromptRunInput {
4173
+ runId: string;
4174
+ /** Der eingefrorene Szenenstand — woertlich der von `freezeSceneWorkingState()`. */
4175
+ scene: FrozenSceneState;
4176
+ /** Die eingefrorene Renderer-Eingabe desselben Einfrierens (D-22). */
4177
+ input: RendererInput;
4178
+ /** Der Prompttext, **unveraendert** wie eingegeben. */
4179
+ promptText: string;
4180
+ note?: string | null;
4181
+ derivedFromRunId?: string | null;
4182
+ enteredBy: string;
4183
+ now?: () => Date;
4184
+ }
4185
+ type BuildManualPromptRunResult = {
4186
+ kind: 'ok';
4187
+ record: ManualPromptRunRecord;
4188
+ } | {
4189
+ kind: 'rejected';
4190
+ message: string;
4191
+ };
4192
+ /**
4193
+ * Baut den Lauf. Prueft nur, was ohne Bestandszugriff pruefbar ist.
4194
+ *
4195
+ * Ein leerer Prompttext ist eine Ablehnung und kein Lauf: Er waere ein
4196
+ * erfolgreicher Lauf ohne Ergebnis und wuerde in jeder Leseansicht als
4197
+ * vollwertige Runde erscheinen.
4198
+ */
4199
+ declare function buildManualPromptRunRecord(eingabe: BuildManualPromptRunInput): BuildManualPromptRunResult;
4200
+ /** Der Handeingabe-Block eines Laufs, oder `null` bei jedem anderen Lauf. */
4201
+ declare function manualEntryOf(run: PromptRunRecord): ManualPromptEntry | null;
4202
+
3833
4203
  interface CreateMemoryViewPortOptions {
3834
4204
  /**
3835
4205
  * Ob der Port Items anbietet. `false` bildet Flow-Pure nach: das Feld fehlt
@@ -4479,6 +4849,15 @@ interface PreparePromptOperationInput {
4479
4849
  contextChain: readonly (string | null)[];
4480
4850
  contextId: string | null;
4481
4851
  userInstruction?: string | null;
4852
+ /**
4853
+ * Das gewaehlte Zielmodell (Kette `szenen-direktlauf-target-model-policy`).
4854
+ *
4855
+ * Optional. Ohne Angabe bleibt der Vorgang exakt der generische von D-135;
4856
+ * mit Angabe traegt der eingefrorene `RendererInput` die Modellprovenienz,
4857
+ * und `completePromptOperation()` schreibt ihre `version_id` ohne Zutun in
4858
+ * `target_model_version_id` des Laufs.
4859
+ */
4860
+ targetModelElementId?: string | null;
4482
4861
  preparedBy: string;
4483
4862
  now?: () => Date;
4484
4863
  }
@@ -4707,4 +5086,4 @@ interface SzenenViewProps {
4707
5086
  }
4708
5087
  declare const SzenenView: React__default.FC<SzenenViewProps>;
4709
5088
 
4710
- export { type AttachLibraryItemInput, type AttachLibraryItemResult, AuthoritativeSzenenStore, type BestandsGalerieEintrag, type BestandsItem, CATALOGUE_TYPES, CapabilityAnchorError, type CapabilityFlag, type CapabilityFlagName, type CapabilityReason, type CapabilityReport, type CapabilityReportInput, type CapabilityScope, type CapabilityState, type ChainQueries, type ClaimAndRunResult, type ClientDerivationChannel, type ClientDerivationStore, type CompletePromptOperationInput, type CompletePromptOperationResult, ContextChainPort, type CreateBrowserTextGenerationPortOptions, type CreateClientDerivationPortOptions, type CreateClientRunPortOptions, type CreateFlowSzenenViewPortOptions, type CreateHfElementStoreOptions, type CreateHfEventChannelOptions, type CreateHfImageBatchHistoryOptions, type CreateHfImageBatchPersistenceOptions, type CreateImageGenerationPortOptions, type CreateImageJobPortOptions, type CreateMemoryViewPortOptions, DEFAULT_SEED_VORLAGE, DerivableType, DerivationAssessment, DerivationConflict, DerivationDiagnostic, DerivationFailure, DerivationImage, DerivationInputMode, type DeriveItemInput, type DerivedItem, type DerivedLineage, type DerivedRelationship, type DerivedSzenenReference, type DifferentialResult, type DifferentialStep, type Divergence, DraftChainMeta, ELEMENT_VERSION_SCHEMA_FILE, type ElementEvent, type ElementEventChannel, ElementSnapshot, type ElementStoreState, type ExecutableImageModel, type ExecutionTargetModel, type ExistingSzenenItem, FLOW_EXECUTION_PATH, type FlowGenerateImage, type FlowGenerateImageParams, FlowGenerateText, type FreezeDraftChainInput, type FreezeFailure, type FreezeResult, type FreezeSceneResult, type FreezeSceneSuccess, type FreezeSceneWorkingStateInput, type FreezeSuccess, type FrozenChainNode, type FrozenSceneState, type GeneratedImage, type GruppierbaresBild, type HfImageStore, type HfImageStoreOptions, type IdFactory, type ImageBatchPersistedImage, type ImageBatchPersistedPayload, type ImageExecutionProfile, type ImageExecutionRoute, type ImageExecutionTargetModelReader, type ImageGenerationBatchPersistence, type ImageGenerationEventChannel, type ImageGenerationFinishedPayload, type ImageGenerationOrder, type ImageGenerationProviderPort, type ImageGenerationResult, type ImageGenerationRunReader, type ImageGenerationStartedPayload, type ImageHostCapability, type ImageJob, type ImageJobChannel, type ImageJobClaimedPayload, type ImageJobRequestedPayload, type ImageJobSettledPayload, type ImageModelChoice, type ImageModelParameters, ImageProvenance, type ImageProviderInput, type ImportBatchImageInput, type ImportBatchInput, type InMemoryEventChannel, type InputError, type IntegrityVerdict, type ItemDerivationFailure, type ItemDerivationFailureClass, type ItemDerivationResult, type ItemMedium, type LibraryImage, type LibraryImageItem, MCP_CLIENT_PROVIDER, type NodeContribution, NotDerivable, type Notice, type NoticeTone, PROMPT_RULE_EFFECT, type PreparePromptOperationInput, type PreparePromptOperationResult, type PreparedPromptOperation, type PromptBatchImageRef, type PromptBatchOrigin, type PromptDiagnostic, type PromptEffect, type PromptExecutionOrigin, type PromptImageBatch, type PromptOperationPreparedPayload, type PromptResponseContract, type PromptRunFilter, type PromptRunGroup, type PromptRunListing, type PromptRunOutcome, type PromptRunOutput, type PromptRunPersistencePort, type PromptRunRecord, type PromptRunRecordedPayload, type PromptRunSource, type PromptRunStatusFilter, type ProviderCheckRecord, type ProviderCheckRecordedPayload, type ProviderCheckResult, PublishCheckResult, PublishFinding, RULES_WITHOUT_CAPABILITY_EFFECT, RULE_SCOPES, type RawSchema, type RecordedDerivationInput, type RecordedProposal, type RecoveryStatus, type ReducerFinding, ReferenceResolver, type RendererInput, type ResolveFailure, type ResolveResult, type ResolveScenePayloadInput, type ResolveShotInput, type ResolveShotPayloadInput, ResolveTechnicalError, type ResolvedCamera, type ResolvedNode, type ResolvedPlacement, type RunEventChannel, type RunFailure, type RunFailureClass, type RunItemReference, SZENEN_EVENT_PREFIX, SZENEN_EVENT_TYPES, SZENEN_ITEM_PREFIX, SZENEN_SCHEMAS, SZENEN_SNAPSHOT_FILE, SZENEN_SNAPSHOT_PREFIX, SZENEN_SNAPSHOT_SCHEMA_VERSION, type SaveRunAsItemInput, type SceneDerivationPersistencePort, type SceneDerivationRecord, type SceneDerivationRecordedPayload, type SceneDerivationRecoveryRecord, type SceneDerivationRecoveryRecordedPayload, SchemaError, type SeedVorlage, type SeedZuordnung, type SeedZuordnungEintrag, type SelectableTargetModel, type StartImageGenerationInput, type StartRunFromSceneInput, type StartRunInput, type StepState, type SzenenArea, type SzenenAreaId, type SzenenBatchOrigin, type SzenenBatchOriginFailure, type SzenenBatchOriginVerdict, type SzenenBatchSourceKind, SzenenCommands, SzenenElementStore, SzenenElementType, type SzenenImageBatchHistoryPort, type SzenenImageBatchWritePort, type SzenenImageGenerationPort as SzenenImageGenerationPortContract, type SzenenImageJobPort, type SzenenImageLibraryPort, type SzenenItemPort, type SzenenLeseErgebnis, type SzenenMediaPort, SzenenQueries, type SzenenRunPort, type SzenenSeedTemplatePort, type SzenenSnapshot, SzenenView, type SzenenViewCapabilities, type SzenenViewPort, type SzenenViewProps, TargetModelResolution, TextGenerationPort, UNCHECKED_PUBLISH_RULES, UNVERIFIED_MODEL_ID, UPLOAD_MAX_BYTES, type UnselectableTargetModel, UnusableProposal, type VersionMedium, type VisibilityNode, type ZipBild, areasFor, batchesForPromptRun, bildPfad, buildSystemInstruction, buildSzenenSnapshot, buildUserPrompt, callOptional, capabilitiesOf, capabilityGate, capabilityReport, catalogueFor, checkCreateElementInput, checkElementType, checkImageExecutionProfile, checkImageExecutionProfiles, checkImageModelParameters, checkOptionalId, checkParents, checkPayloadPresent, checkPromptRunRecord, checkPublishVersionInput, checkRequiredId, checkReviseMetadataInput, checkRevision, checkRunResponse, checkSceneDerivationRecord, checkSceneDerivationRecoveryRecord, checkSetPreferredHeadInput, checkSzenenBatchOrigin, checkTitle, checkWriteDraftInput, claimWon, collectImageBatches, collectImageGenerationOrders, collectImageJobs, collectPromptOperations, collectPromptRuns, collectProviderChecks, collectSceneDerivationRecoveries, collectSceneDerivations, completePromptOperation, contextOfRun, createBrowserTextGenerationPort, createClientDerivationPort, createClientRunPort, createEventLogDerivationPersistence, createEventLogRunPersistence, createFlowImageProvider, createFlowSzenenViewPort, createHfElementStore, createHfEventChannel, createHfImageBatchHistory, createHfImageBatchWrite, createHfImageGenerationBatchPersistence, createHfImageLibrary, createHfImageStore, createImageGenerationPort, createImageJobPort, createInMemoryEventChannel, createMemoryViewPort, derivationPoliciesOf, deriveItemFromRun, deriveLineage, describableContent, diagnosticOfFinding, diagnosticOfSchemaError, differentialSteps, draftRevisionOf, executableImageModels, findExecutableImageModel, findImageBatch, findImageGenerationOrder, findImageJob, findPromptOperation, findPromptRun, findProviderCheck, findSceneDerivation, findSceneDerivationRecovery, firstError, formatSeedListe, freezeDraftChain, freezeSceneWorkingState, generationBatchIdOf, gesamtHerkunft, groupKeyOf, groupOf, gruppiereZuItems, hasPlacementCapability, isKnownElementType, isSzenenItemId, istSzenenSnapshotDatei, istZipDatei, itemIdForRun, itemsAusBestand, jobsForPromptRun, ladeVorschauen, leseBilderAusZip, locatorAus, locatorTeile, logRevisionOf, mergeSnapshotAndPending, mergeSzenenBatchOrigin, mimeTypAus, mitDefaultVorlage, namingElementOf, noticeFor, ordersForPromptRun, ordneSeedsZu, parseRunResponse, parseSeedListe, parseSzenenSnapshot, preferredHeadRevisionOf, preparePromptOperation, promptDiagnosticsOf, publishedHeadsOf, recoveriesForRun, recoveryStatusOf, reduceElementEvents, resolveArea, resolveScenePayload, resolveShot, resolveShotPayload, responseContractOf, roundOfRun, rulesWithoutPromptEffect, runOfOperation, runPromptDerivation, runStoreDifferential, sameResponseAs, sceneOnlyCapabilities, scopeOfPath, seedFehlerText, selectPromptRuns, selectableTargetModels, siblingsOf, sourceOf, szenenSnapshotFilename, totalModelCalls, typAusBytes, unclassifiedPublishRules, unsupportedReason };
5089
+ export { type AddManualSceneRunInput, type AttachLibraryItemInput, type AttachLibraryItemResult, AuthoritativeSzenenStore, type BestandsGalerieEintrag, type BestandsItem, type BuildManualPromptRunInput, CATALOGUE_TYPES, CapabilityAnchorError, type CapabilityFlag, type CapabilityFlagName, type CapabilityReason, type CapabilityReport, type CapabilityReportInput, type CapabilityScope, type CapabilityState, type ChainQueries, type ClaimAndRunResult, type ClientDerivationChannel, type ClientDerivationStore, type CompletePromptOperationInput, type CompletePromptOperationResult, ContextChainPort, type CreateBrowserTextGenerationPortOptions, type CreateClientDerivationPortOptions, type CreateClientRunPortOptions, type CreateFlowSzenenViewPortOptions, type CreateHfElementStoreOptions, type CreateHfEventChannelOptions, type CreateHfImageBatchHistoryOptions, type CreateHfImageBatchPersistenceOptions, type CreateImageGenerationPortOptions, type CreateImageJobPortOptions, type CreateMemoryViewPortOptions, DEFAULT_SEED_VORLAGE, DerivableType, DerivationAssessment, DerivationConflict, DerivationDiagnostic, DerivationFailure, DerivationImage, DerivationInputMode, type DeriveItemInput, type DerivedItem, type DerivedLineage, type DerivedRelationship, type DerivedSzenenReference, type DifferentialResult, type DifferentialStep, type Divergence, DraftChainMeta, ELEMENT_VERSION_SCHEMA_FILE, type ElementEvent, type ElementEventChannel, ElementSnapshot, type ElementStoreState, type ExecutableImageModel, type ExecutionTargetModel, type ExistingSzenenItem, FLOW_EXECUTION_PATH, type FlowGenerateImage, type FlowGenerateImageParams, FlowGenerateText, type FreezeDraftChainInput, type FreezeFailure, type FreezeResult, type FreezeSceneResult, type FreezeSceneSuccess, type FreezeSceneWorkingStateInput, type FreezeSuccess, type FrozenChainNode, type FrozenSceneState, GENERAL_POLICY_SUBTYPE, type GeneratedImage, type GruppierbaresBild, type HfImageStore, type HfImageStoreOptions, type IdFactory, type ImageBatchPersistedImage, type ImageBatchPersistedPayload, type ImageExecutionProfile, type ImageExecutionRoute, type ImageExecutionTargetModelReader, type ImageGenerationBatchPersistence, type ImageGenerationEventChannel, type ImageGenerationFinishedPayload, type ImageGenerationOrder, type ImageGenerationProviderPort, type ImageGenerationResult, type ImageGenerationRunReader, type ImageGenerationStartedPayload, type ImageHostCapability, type ImageJob, type ImageJobChannel, type ImageJobClaimedPayload, type ImageJobRequestedPayload, type ImageJobSettledPayload, type ImageModelChoice, type ImageModelParameters, ImageProvenance, type ImageProviderInput, type ImportBatchImageInput, type ImportBatchInput, type InMemoryEventChannel, type InputError, type IntegrityVerdict, type ItemDerivationFailure, type ItemDerivationFailureClass, type ItemDerivationResult, type ItemMedium, type LibraryImage, type LibraryImageItem, MANUAL_MODEL_ID, MANUAL_NODE_STATE, MANUAL_PROVIDER, MANUAL_VISIBILITY_BASIS, MCP_CLIENT_PROVIDER, type ManualPromptEntry, type ManualPromptRunRecord, type NodeContribution, NotDerivable, type Notice, type NoticeTone, PROMPT_RULE_EFFECT, type PolicySnapshot, PreferredHeadResolution, type PreparePromptOperationInput, type PreparePromptOperationResult, type PreparedPromptOperation, type PromptBatchImageRef, type PromptBatchOrigin, type PromptDiagnostic, type PromptEffect, type PromptExecutionOrigin, type PromptImageBatch, type PromptOperationPreparedPayload, type PromptResponseContract, type PromptRunFilter, type PromptRunGroup, type PromptRunListing, type PromptRunOutcome, type PromptRunOutput, type PromptRunPersistencePort, type PromptRunRecord, type PromptRunRecordedPayload, type PromptRunSource, type PromptRunStatusFilter, type ProviderCheckRecord, type ProviderCheckRecordedPayload, type ProviderCheckResult, PublishCheckResult, PublishFinding, RULES_WITHOUT_CAPABILITY_EFFECT, RULE_SCOPES, type RawSchema, type RecordedDerivationInput, type RecordedProposal, type RecoveryStatus, type ReducerFinding, ReferenceResolver, type RendererInput, type ResolveFailure, type ResolveResult, type ResolveScenePayloadInput, type ResolveShotInput, type ResolveShotPayloadInput, ResolveTechnicalError, type ResolvedCamera, type ResolvedNode, type ResolvedPlacement, type ResolvedScenePolicy, type RunEventChannel, type RunFailure, type RunFailureClass, type RunItemReference, SZENEN_EVENT_PREFIX, SZENEN_EVENT_TYPES, SZENEN_ITEM_PREFIX, SZENEN_SCHEMAS, SZENEN_SNAPSHOT_FILE, SZENEN_SNAPSHOT_PREFIX, SZENEN_SNAPSHOT_SCHEMA_VERSION, type SaveRunAsItemInput, type SceneDerivationPersistencePort, type SceneDerivationRecord, type SceneDerivationRecordedPayload, type SceneDerivationRecoveryRecord, type SceneDerivationRecoveryRecordedPayload, type ScenePolicyResult, SchemaError, type SeedVorlage, type SeedZuordnung, type SeedZuordnungEintrag, type SelectableTargetModel, type StartImageGenerationInput, type StartRunFromSceneInput, type StartRunInput, type StepState, type SzenenArea, type SzenenAreaId, type SzenenBatchOrigin, type SzenenBatchOriginFailure, type SzenenBatchOriginVerdict, type SzenenBatchSourceKind, SzenenCommands, SzenenElementStore, SzenenElementType, type SzenenImageBatchHistoryPort, type SzenenImageBatchWritePort, type SzenenImageGenerationPort as SzenenImageGenerationPortContract, type SzenenImageJobPort, type SzenenImageLibraryPort, type SzenenItemPort, type SzenenLeseErgebnis, type SzenenMediaPort, SzenenQueries, type SzenenRunPort, type SzenenSeedTemplatePort, type SzenenSnapshot, SzenenView, type SzenenViewCapabilities, type SzenenViewPort, type SzenenViewProps, TargetModelResolution, TextGenerationPort, UNCHECKED_PUBLISH_RULES, UNVERIFIED_MODEL_ID, UPLOAD_MAX_BYTES, type UnselectableTargetModel, UnusableProposal, type VersionMedium, type VisibilityNode, type ZipBild, areasFor, batchesForPromptRun, bildPfad, buildManualPromptRunRecord, buildSystemInstruction, buildSzenenSnapshot, buildUserPrompt, callOptional, capabilitiesOf, capabilityGate, capabilityReport, catalogueFor, checkCreateElementInput, checkElementType, checkImageExecutionProfile, checkImageExecutionProfiles, checkImageModelParameters, checkOptionalId, checkParents, checkPayloadPresent, checkPromptRunRecord, checkPublishVersionInput, checkRequiredId, checkReviseMetadataInput, checkRevision, checkRunResponse, checkSceneDerivationRecord, checkSceneDerivationRecoveryRecord, checkSetPreferredHeadInput, checkSzenenBatchOrigin, checkTitle, checkWriteDraftInput, claimWon, collectImageBatches, collectImageGenerationOrders, collectImageJobs, collectPromptOperations, collectPromptRuns, collectProviderChecks, collectSceneDerivationRecoveries, collectSceneDerivations, completePromptOperation, contextOfRun, createBrowserTextGenerationPort, createClientDerivationPort, createClientRunPort, createEventLogDerivationPersistence, createEventLogRunPersistence, createFlowImageProvider, createFlowSzenenViewPort, createHfElementStore, createHfEventChannel, createHfImageBatchHistory, createHfImageBatchWrite, createHfImageGenerationBatchPersistence, createHfImageLibrary, createHfImageStore, createImageGenerationPort, createImageJobPort, createInMemoryEventChannel, createMemoryViewPort, derivationPoliciesOf, deriveItemFromRun, deriveLineage, describableContent, diagnosticOfFinding, diagnosticOfSchemaError, differentialSteps, draftRevisionOf, executableImageModels, findExecutableImageModel, findImageBatch, findImageGenerationOrder, findImageJob, findPromptOperation, findPromptRun, findProviderCheck, findSceneDerivation, findSceneDerivationRecovery, firstError, formatSeedListe, freezeDraftChain, freezeSceneWorkingState, generationBatchIdOf, gesamtHerkunft, groupKeyOf, groupOf, gruppiereZuItems, hasPlacementCapability, isKnownElementType, isSzenenItemId, istSzenenSnapshotDatei, istZipDatei, itemIdForRun, itemsAusBestand, jobsForPromptRun, ladeVorschauen, leseBilderAusZip, locatorAus, locatorTeile, logRevisionOf, manualEntryOf, mergeSnapshotAndPending, mergeSzenenBatchOrigin, mimeTypAus, mitDefaultVorlage, namingElementOf, noticeFor, ordersForPromptRun, ordneSeedsZu, parseRunResponse, parseSeedListe, parseSzenenSnapshot, preferredHeadRevisionOf, preparePromptOperation, promptDiagnosticsOf, publishedHeadsOf, recoveriesForRun, recoveryStatusOf, reduceElementEvents, resolveArea, resolveGeneralScenePolicies, resolveScenePayload, resolveShot, resolveShotPayload, responseContractOf, roundOfRun, rulesWithoutPromptEffect, runOfOperation, runPromptDerivation, runStoreDifferential, sameResponseAs, sceneOnlyCapabilities, scenePolicyFingerprint, scopeOfPath, seedFehlerText, selectPromptRuns, selectableTargetModels, siblingsOf, sortScenePolicies, sourceOf, szenenSnapshotFilename, totalModelCalls, typAusBytes, unclassifiedPublishRules, unsupportedReason };