@umbraco-ai/core 18.1.0 → 18.2.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/package.json
CHANGED
|
@@ -1037,7 +1037,10 @@ export declare class UaiDocumentAdapter implements UaiEntityAdapterApi {
|
|
|
1037
1037
|
* for properties that don't vary, so prompt template variables like
|
|
1038
1038
|
* `{{header}}` resolve to the active culture's value.
|
|
1039
1039
|
*/
|
|
1040
|
-
serializeForLlm(workspaceContext: unknown
|
|
1040
|
+
serializeForLlm(workspaceContext: unknown, activeVariant?: {
|
|
1041
|
+
culture: string | null;
|
|
1042
|
+
segment: string | null;
|
|
1043
|
+
}): Promise<UaiSerializedEntity>;
|
|
1041
1044
|
/**
|
|
1042
1045
|
* Apply a value change to the document workspace.
|
|
1043
1046
|
* Changes are staged in the workspace - user must save to persist.
|
|
@@ -1202,8 +1205,13 @@ export declare interface UaiEntityAdapterApi extends UmbApi {
|
|
|
1202
1205
|
getIconObservable?(workspaceContext: unknown): Observable<string | undefined> | undefined;
|
|
1203
1206
|
/**
|
|
1204
1207
|
* Serialize the entity for LLM context.
|
|
1208
|
+
* @param activeVariant When provided, overrides variant detection in the adapter so values are
|
|
1209
|
+
* read from the correct culture/segment (e.g. the right pane in split-view).
|
|
1205
1210
|
*/
|
|
1206
|
-
serializeForLlm(workspaceContext: unknown
|
|
1211
|
+
serializeForLlm(workspaceContext: unknown, activeVariant?: {
|
|
1212
|
+
culture: string | null;
|
|
1213
|
+
segment: string | null;
|
|
1214
|
+
}): Promise<UaiSerializedEntity>;
|
|
1207
1215
|
/**
|
|
1208
1216
|
* Apply a value change to the workspace (staged, not persisted).
|
|
1209
1217
|
* Optional - some entity types may be read-only.
|