@praxisui/ai 10.0.0-rc.8 → 10.0.0-rc.80
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/README.md +49 -10
- package/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-ai.mjs +16167 -2248
- package/package.json +2 -2
- package/types/praxisui-ai.d.ts +2206 -68
package/types/praxisui-ai.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { InjectionToken, OnDestroy, ElementRef, AfterViewInit, OnChanges, EventEmitter, SimpleChanges, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken, OnDestroy, ElementRef, AfterViewInit, OnChanges, EventEmitter, SimpleChanges, Provider, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { PraxisRuntimeComponentObservationEnvelope, PraxisRuntimeComponentObservationRegistryService } from '@praxisui/core';
|
|
5
|
+
import { ResourceQuickViewBinding, PraxisRuntimeFormValueProposal, PraxisRuntimeFormValueApplyReceipt, PraxisRuntimeComponentObservationEnvelope, PraxisEpistemicAvailabilityState, PraxisEpistemicKind, PraxisEpistemicMeta, PraxisRuntimeComponentObservationRegistryService, PraxisI18nService, WidgetDefinition, PraxisContextDimension, PraxisBulkProposalHandoffResult, PraxisOperationalAssistantLauncher, PraxisAssistantContextualLaunchRequest } from '@praxisui/core';
|
|
6
6
|
import { Schema } from '@google/generative-ai';
|
|
7
7
|
import { ConnectedPosition, CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
8
8
|
import * as _praxisui_ai from '@praxisui/ai';
|
|
@@ -10,8 +10,8 @@ import { MatDialogRef } from '@angular/material/dialog';
|
|
|
10
10
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
11
11
|
|
|
12
12
|
declare class PraxisAi {
|
|
13
|
-
static ɵfac:
|
|
14
|
-
static ɵcmp:
|
|
13
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAi, never>;
|
|
14
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAi, "lib-praxis-ai", never, {}, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -19,7 +19,7 @@ declare class PraxisAi {
|
|
|
19
19
|
* Do not edit manually. Run praxis-config-starter/tools/contracts/generate-ai-contract-bindings.js.
|
|
20
20
|
*/
|
|
21
21
|
declare const AI_CONTRACT_VERSION: "v1.1";
|
|
22
|
-
declare const AI_CONTRACT_SCHEMA_HASH: "
|
|
22
|
+
declare const AI_CONTRACT_SCHEMA_HASH: "73cafc059598b3ab8cd508217f80e636fa0293f250fd36fb7bbf3d74ee753559";
|
|
23
23
|
declare const AI_STREAM_EVENT_SCHEMA_VERSION: "v1";
|
|
24
24
|
declare const AI_DOMAIN_CATALOG_CONTEXT_HINT_SCHEMA_VERSION: "praxis.ai.context-hints.domain-catalog/v0.2";
|
|
25
25
|
declare const AI_STREAM_EVENT_TYPES: readonly ["status", "thought.step", "heartbeat", "intent.resolved", "result", "error", "cancelled"];
|
|
@@ -84,22 +84,72 @@ interface AiSelectedDomainDecisionRefContract {
|
|
|
84
84
|
definitionId: string;
|
|
85
85
|
ruleKey: string;
|
|
86
86
|
version: number;
|
|
87
|
-
source: 'policy-studio-selection';
|
|
87
|
+
source: 'rules-studio-selection' | 'policy-studio-selection';
|
|
88
88
|
}
|
|
89
89
|
interface AgenticAuthoringClientActionContract {
|
|
90
90
|
schemaVersion: 'praxis-agentic-authoring-client-action.v1';
|
|
91
91
|
id: string;
|
|
92
|
-
kind: 'local-undo';
|
|
92
|
+
kind: 'local-undo' | 'runtime-form-value-apply' | 'runtime-form-value-undo';
|
|
93
93
|
capabilityRef: string;
|
|
94
94
|
available: boolean;
|
|
95
95
|
targetComponentId?: string | null;
|
|
96
96
|
}
|
|
97
|
+
interface AgenticAuthoringRuntimeFormValueTargetIdentityContract {
|
|
98
|
+
componentId: string;
|
|
99
|
+
instanceId: string;
|
|
100
|
+
formId?: string | null;
|
|
101
|
+
resourcePath?: string | null;
|
|
102
|
+
mode: 'create' | 'edit' | 'view';
|
|
103
|
+
entityId?: string | number | null;
|
|
104
|
+
schemaHash?: string | null;
|
|
105
|
+
valueRevision: number;
|
|
106
|
+
}
|
|
107
|
+
interface AgenticAuthoringRuntimeFormFieldAssignmentContract {
|
|
108
|
+
fieldPath: string;
|
|
109
|
+
label?: string | null;
|
|
110
|
+
proposedValue?: AiJsonValue;
|
|
111
|
+
previousValueSummary?: string | null;
|
|
112
|
+
provenance: 'synthetic-example' | 'user-prompt' | 'authorized-option-source' | 'schema-default';
|
|
113
|
+
syntheticData: boolean;
|
|
114
|
+
optionLabel?: string | null;
|
|
115
|
+
optionSourceKey?: string | null;
|
|
116
|
+
status: 'proposed' | 'applied' | 'preserved' | 'rejected';
|
|
117
|
+
reasonCode?: string | null;
|
|
118
|
+
reasonMessage?: string | null;
|
|
119
|
+
}
|
|
120
|
+
interface AgenticAuthoringRuntimeFormValueProposalContract {
|
|
121
|
+
schemaVersion: 'praxis-runtime-form-value-proposal.v1';
|
|
122
|
+
proposalId: string;
|
|
123
|
+
targetIdentity: AgenticAuthoringRuntimeFormValueTargetIdentityContract;
|
|
124
|
+
applyMode: 'empty-only' | 'selected-fields';
|
|
125
|
+
retentionPolicy: 'standard' | 'zero';
|
|
126
|
+
syntheticExampleNotice?: string | null;
|
|
127
|
+
grounding?: AiJsonObject | null;
|
|
128
|
+
assignments: AgenticAuthoringRuntimeFormFieldAssignmentContract[];
|
|
129
|
+
rejectedFields: AgenticAuthoringRuntimeFormFieldAssignmentContract[];
|
|
130
|
+
warnings?: string[];
|
|
131
|
+
[key: string]: AiJsonValue | AgenticAuthoringRuntimeFormValueTargetIdentityContract | AgenticAuthoringRuntimeFormFieldAssignmentContract[] | undefined;
|
|
132
|
+
}
|
|
133
|
+
interface AgenticAuthoringRuntimeValueAssistanceHintContract {
|
|
134
|
+
enabled?: boolean;
|
|
135
|
+
targetIdentity?: AgenticAuthoringRuntimeFormValueTargetIdentityContract | null;
|
|
136
|
+
retentionPolicy?: 'standard' | 'zero' | null;
|
|
137
|
+
processingAllowed?: boolean | null;
|
|
138
|
+
allowDurableThreadStorage?: boolean | null;
|
|
139
|
+
autoSaveEnabled?: boolean | null;
|
|
140
|
+
hasPendingReactiveDeterminations?: boolean | null;
|
|
141
|
+
hasPendingAsyncValidators?: boolean | null;
|
|
142
|
+
reactiveDeterminationTargets?: string[] | null;
|
|
143
|
+
governedSchema?: AiJsonObject | null;
|
|
144
|
+
[key: string]: AiJsonValue | AgenticAuthoringRuntimeFormValueTargetIdentityContract | undefined;
|
|
145
|
+
}
|
|
97
146
|
interface AgenticAuthoringTurnStreamContextHintsContract {
|
|
98
147
|
domainCatalog?: AiDomainCatalogContextHintContract;
|
|
99
148
|
selectedDomainDecisionRef?: AiSelectedDomainDecisionRefContract;
|
|
100
149
|
agenticApplyTarget?: AgenticAuthoringApplyTargetContract;
|
|
101
150
|
clientActions?: AgenticAuthoringClientActionContract[];
|
|
102
|
-
|
|
151
|
+
runtimeValueAssistance?: AgenticAuthoringRuntimeValueAssistanceHintContract | null;
|
|
152
|
+
[key: string]: AiJsonValue | AiDomainCatalogContextHintContract | AiSelectedDomainDecisionRefContract | AgenticAuthoringApplyTargetContract | AgenticAuthoringClientActionContract[] | AgenticAuthoringRuntimeValueAssistanceHintContract | undefined;
|
|
103
153
|
}
|
|
104
154
|
interface AiSchemaContextContract {
|
|
105
155
|
path?: string | null;
|
|
@@ -493,9 +543,10 @@ interface AgenticAuthoringPreviewResultContract {
|
|
|
493
543
|
warnings?: string[];
|
|
494
544
|
minimalFormPlan?: AiJsonObject | null;
|
|
495
545
|
compiledFormPatch?: AiJsonObject | null;
|
|
546
|
+
runtimeValueProposal?: AgenticAuthoringRuntimeFormValueProposalContract | null;
|
|
496
547
|
uiCompositionPlan?: AiJsonObject | null;
|
|
497
548
|
diagnostics?: AiJsonObject | null;
|
|
498
|
-
[key: string]: AiJsonValue | undefined;
|
|
549
|
+
[key: string]: AiJsonValue | AgenticAuthoringRuntimeFormValueProposalContract | undefined;
|
|
499
550
|
}
|
|
500
551
|
interface AgenticAuthoringApplyRequestContract {
|
|
501
552
|
componentType: string;
|
|
@@ -692,6 +743,8 @@ interface PromptContext {
|
|
|
692
743
|
targetType: string;
|
|
693
744
|
/** Structured list of fields for richer prompt suggestions */
|
|
694
745
|
minifiedFields?: MinifiedField[];
|
|
746
|
+
/** Allowed ontological fact roots from /schemas/domain (e.g. ['draft', 'current', 'vinculo', 'neighborhood', 'context']) */
|
|
747
|
+
allowedOntologicalRoots?: string[];
|
|
695
748
|
}
|
|
696
749
|
/**
|
|
697
750
|
* Example pair for Few-Shot Learning
|
|
@@ -844,6 +897,7 @@ interface PraxisAssistantAttachmentSummary {
|
|
|
844
897
|
id: string;
|
|
845
898
|
name: string;
|
|
846
899
|
kind: PraxisAssistantAttachmentKind | string;
|
|
900
|
+
fileId?: string;
|
|
847
901
|
mimeType?: string;
|
|
848
902
|
sizeBytes?: number;
|
|
849
903
|
source?: string;
|
|
@@ -893,10 +947,21 @@ declare function normalizePraxisAssistantAttachmentSummary(attachment: unknown):
|
|
|
893
947
|
declare function normalizePraxisAssistantContextSnapshot(value: unknown): PraxisAssistantContextSnapshot;
|
|
894
948
|
|
|
895
949
|
type PraxisAssistantShellMessageRole = 'user' | 'assistant' | 'system' | 'status' | 'error';
|
|
950
|
+
type PraxisAssistantParagraphTextInline = {
|
|
951
|
+
type: 'text';
|
|
952
|
+
text: string;
|
|
953
|
+
};
|
|
954
|
+
type PraxisAssistantParagraphRecordReferenceInline = {
|
|
955
|
+
type: 'record-reference';
|
|
956
|
+
label: string;
|
|
957
|
+
quickView: ResourceQuickViewBinding;
|
|
958
|
+
identityContext: Readonly<Record<string, string | number>>;
|
|
959
|
+
};
|
|
960
|
+
type PraxisAssistantParagraphInline = PraxisAssistantParagraphTextInline | PraxisAssistantParagraphRecordReferenceInline;
|
|
896
961
|
type PraxisAssistantShellMode = 'config' | 'agentic-authoring' | 'chat' | 'diagnostic' | 'review' | 'inline-help';
|
|
897
962
|
type PraxisAssistantShellState = 'idle' | 'listening' | 'processing' | 'clarification' | 'review' | 'applying' | 'success' | 'error';
|
|
898
963
|
type PraxisAssistantVoiceInputMode = 'disabled' | 'browser-speech' | 'governed-transcription';
|
|
899
|
-
type PraxisAssistantVoiceCaptureState = 'unsupported' | 'idle' | 'listening' | 'stopping' | 'error';
|
|
964
|
+
type PraxisAssistantVoiceCaptureState = 'checking' | 'permission' | 'unsupported' | 'idle' | 'listening' | 'stopping' | 'error';
|
|
900
965
|
interface PraxisAssistantShellMessage {
|
|
901
966
|
id: string;
|
|
902
967
|
role: PraxisAssistantShellMessageRole;
|
|
@@ -906,6 +971,7 @@ interface PraxisAssistantShellMessage {
|
|
|
906
971
|
editable?: boolean;
|
|
907
972
|
resendable?: boolean;
|
|
908
973
|
observationId?: string | null;
|
|
974
|
+
attachments?: readonly PraxisAssistantAttachmentSummary[];
|
|
909
975
|
actions?: readonly PraxisAssistantShellMessageAction[];
|
|
910
976
|
}
|
|
911
977
|
interface PraxisAssistantShellQuickReply {
|
|
@@ -1081,12 +1147,18 @@ interface PraxisAssistantShellContextItem {
|
|
|
1081
1147
|
interface PraxisAssistantShellAttachment {
|
|
1082
1148
|
id: string;
|
|
1083
1149
|
name: string;
|
|
1084
|
-
kind: 'image' | 'file' | 'json' | 'schema' | 'text' | string;
|
|
1150
|
+
kind: 'image' | 'pdf' | 'file' | 'json' | 'schema' | 'text' | string;
|
|
1085
1151
|
mimeType?: string;
|
|
1086
1152
|
sizeBytes?: number;
|
|
1087
1153
|
file?: File;
|
|
1154
|
+
fileId?: string;
|
|
1155
|
+
checksumSha256?: string;
|
|
1156
|
+
uploadProgress?: number;
|
|
1157
|
+
lifecycleStatus?: 'STAGED' | 'PENDING_APPROVAL' | 'ACTIVE' | 'DELETED' | 'UNKNOWN';
|
|
1158
|
+
retryable?: boolean;
|
|
1088
1159
|
previewUrl?: string;
|
|
1089
|
-
|
|
1160
|
+
previewHref?: string;
|
|
1161
|
+
source?: 'paste' | 'file-picker' | 'drop' | 'host' | string;
|
|
1090
1162
|
status?: 'ready' | 'uploading' | 'error';
|
|
1091
1163
|
error?: string;
|
|
1092
1164
|
}
|
|
@@ -1106,12 +1178,16 @@ declare function createPraxisAssistantViewportLayout(options?: PraxisAssistantVi
|
|
|
1106
1178
|
interface PraxisAssistantShellLabels {
|
|
1107
1179
|
title: string;
|
|
1108
1180
|
subtitle?: string;
|
|
1181
|
+
minimize?: string;
|
|
1109
1182
|
close: string;
|
|
1110
1183
|
prompt: string;
|
|
1111
1184
|
promptPlaceholder: string;
|
|
1112
1185
|
emptyConversation: string;
|
|
1113
1186
|
submit: string;
|
|
1114
1187
|
apply: string;
|
|
1188
|
+
retryTurn?: string;
|
|
1189
|
+
cancelTurn?: string;
|
|
1190
|
+
endTurn?: string;
|
|
1115
1191
|
conversationAria: string;
|
|
1116
1192
|
quickRepliesAria: string;
|
|
1117
1193
|
quickReplyDetails?: string;
|
|
@@ -1124,14 +1200,24 @@ interface PraxisAssistantShellLabels {
|
|
|
1124
1200
|
resizeHandleAria: string;
|
|
1125
1201
|
resetLayout?: string;
|
|
1126
1202
|
contextAria: string;
|
|
1203
|
+
closeContext?: string;
|
|
1127
1204
|
attachmentsAria: string;
|
|
1128
1205
|
attach: string;
|
|
1129
1206
|
removeAttachment: string;
|
|
1207
|
+
retryAttachment?: string;
|
|
1208
|
+
previewAttachment?: string;
|
|
1209
|
+
dropzoneTitle?: string;
|
|
1210
|
+
dropzoneSubtitle?: string;
|
|
1130
1211
|
editMessage: string;
|
|
1131
1212
|
resendMessage: string;
|
|
1132
1213
|
feedbackPositive: string;
|
|
1133
1214
|
feedbackNegative: string;
|
|
1134
1215
|
feedbackSubmitted: string;
|
|
1216
|
+
voiceChecking?: string;
|
|
1217
|
+
voicePermission?: string;
|
|
1218
|
+
voiceTranscribing?: string;
|
|
1219
|
+
voiceUnavailable?: string;
|
|
1220
|
+
voiceCancel?: string;
|
|
1135
1221
|
voiceStart?: string;
|
|
1136
1222
|
voiceStop?: string;
|
|
1137
1223
|
voiceListening?: string;
|
|
@@ -1221,6 +1307,8 @@ interface PraxisAssistantTurnRequest {
|
|
|
1221
1307
|
activeSemanticDecision?: Record<string, unknown>;
|
|
1222
1308
|
preview?: unknown;
|
|
1223
1309
|
pendingPatch?: unknown;
|
|
1310
|
+
runtimeValueProposal?: PraxisRuntimeFormValueProposal | null;
|
|
1311
|
+
runtimeValueReceipt?: PraxisRuntimeFormValueApplyReceipt | null;
|
|
1224
1312
|
pendingClarification?: PraxisAssistantPendingClarification;
|
|
1225
1313
|
diagnostics?: Record<string, unknown>;
|
|
1226
1314
|
observationId?: string | null;
|
|
@@ -1241,6 +1329,9 @@ interface PraxisAssistantTurnResult {
|
|
|
1241
1329
|
errorText?: string;
|
|
1242
1330
|
preview?: unknown;
|
|
1243
1331
|
pendingPatch?: unknown;
|
|
1332
|
+
runtimeValueProposal?: PraxisRuntimeFormValueProposal | null;
|
|
1333
|
+
runtimeValueReceipt?: PraxisRuntimeFormValueApplyReceipt | null;
|
|
1334
|
+
retentionPolicy?: 'standard' | 'zero';
|
|
1244
1335
|
pendingClarification?: PraxisAssistantPendingClarification | null;
|
|
1245
1336
|
sessionId?: string;
|
|
1246
1337
|
clientTurnId?: string;
|
|
@@ -1263,6 +1354,9 @@ interface PraxisAssistantTurnViewState {
|
|
|
1263
1354
|
errorText: string;
|
|
1264
1355
|
preview?: unknown;
|
|
1265
1356
|
pendingPatch?: unknown;
|
|
1357
|
+
runtimeValueProposal?: PraxisRuntimeFormValueProposal | null;
|
|
1358
|
+
runtimeValueReceipt?: PraxisRuntimeFormValueApplyReceipt | null;
|
|
1359
|
+
retentionPolicy?: 'standard' | 'zero';
|
|
1266
1360
|
pendingClarification?: PraxisAssistantPendingClarification;
|
|
1267
1361
|
diagnostics?: Record<string, unknown>;
|
|
1268
1362
|
observationId?: string | null;
|
|
@@ -1275,6 +1369,793 @@ interface PraxisAssistantTurnFlow {
|
|
|
1275
1369
|
retry?(request: PraxisAssistantTurnRequest): Promise<PraxisAssistantTurnResult> | rxjs.Observable<PraxisAssistantTurnResult>;
|
|
1276
1370
|
}
|
|
1277
1371
|
|
|
1372
|
+
type PraxisAssistantOperationalBlockType = 'epistemic-badge' | 'alert-list' | 'widget-block' | 'simulation-preview' | 'action-proposals' | 'calculation-memory' | 'knowledge-citations' | 'compact-collection' | 'action-bar' | 'counterfactual-recourse' | 'document-evidence';
|
|
1373
|
+
type PraxisAssistantDocumentExtractionMode = 'DIGITAL_TEXT' | 'OCR_STRUCTURED' | 'SPREADSHEET_TABLES' | 'PLAIN_TEXT' | 'VISUAL_ONLY' | 'UNSUPPORTED' | (string & {});
|
|
1374
|
+
type PraxisAssistantDocumentClassification = 'PUBLIC_OFFICIAL_ACT' | 'INTERNAL_OPERATIONAL' | 'PERSONAL_LGPD' | 'CONFIDENTIAL_FINANCIAL' | 'SENSITIVE_RESTRICTED' | (string & {});
|
|
1375
|
+
type PraxisAssistantSurfaceProtocolVersion = 'praxis.assistant-surface/v1' | (string & {});
|
|
1376
|
+
type PraxisAssistantContentVersion = 'praxis.assistant-content/v2' | 'praxis.assistant-content/v2.1' | (string & {});
|
|
1377
|
+
type PraxisAssistantSurfaceStatus = 'loading' | 'ready' | 'degraded' | 'error' | 'blocked' | (string & {});
|
|
1378
|
+
interface PraxisAssistantSurfaceComponentPatchOp {
|
|
1379
|
+
readonly op: 'upsert' | 'remove';
|
|
1380
|
+
readonly componentId: string;
|
|
1381
|
+
readonly component?: Readonly<Record<string, unknown>>;
|
|
1382
|
+
}
|
|
1383
|
+
interface PraxisAssistantSurfaceCreatePayload {
|
|
1384
|
+
readonly protocolVersion?: PraxisAssistantSurfaceProtocolVersion;
|
|
1385
|
+
readonly surfaceId: string;
|
|
1386
|
+
readonly surfaceKind: string;
|
|
1387
|
+
readonly title?: string;
|
|
1388
|
+
readonly status?: PraxisAssistantSurfaceStatus;
|
|
1389
|
+
readonly revision?: number;
|
|
1390
|
+
readonly components?: readonly Readonly<Record<string, unknown>>[];
|
|
1391
|
+
readonly dataModel?: Readonly<Record<string, unknown>>;
|
|
1392
|
+
}
|
|
1393
|
+
interface PraxisAssistantSurfacePatchComponentsPayload {
|
|
1394
|
+
readonly protocolVersion?: PraxisAssistantSurfaceProtocolVersion;
|
|
1395
|
+
readonly surfaceId: string;
|
|
1396
|
+
readonly status?: PraxisAssistantSurfaceStatus;
|
|
1397
|
+
readonly revision?: number;
|
|
1398
|
+
readonly operations: readonly PraxisAssistantSurfaceComponentPatchOp[];
|
|
1399
|
+
}
|
|
1400
|
+
interface PraxisAssistantSurfacePatchDataPayload {
|
|
1401
|
+
readonly protocolVersion?: PraxisAssistantSurfaceProtocolVersion;
|
|
1402
|
+
readonly surfaceId: string;
|
|
1403
|
+
readonly status?: PraxisAssistantSurfaceStatus;
|
|
1404
|
+
readonly revision?: number;
|
|
1405
|
+
readonly dataPatch: Readonly<Record<string, unknown>>;
|
|
1406
|
+
}
|
|
1407
|
+
interface PraxisAssistantSurfaceSummary {
|
|
1408
|
+
readonly surfaceId: string;
|
|
1409
|
+
readonly surfaceKind: string;
|
|
1410
|
+
readonly title?: string;
|
|
1411
|
+
readonly status: PraxisAssistantSurfaceStatus;
|
|
1412
|
+
readonly revision: number;
|
|
1413
|
+
readonly dataModel?: Readonly<Record<string, unknown>>;
|
|
1414
|
+
}
|
|
1415
|
+
interface PraxisAssistantSurfaceState extends PraxisAssistantSurfaceSummary {
|
|
1416
|
+
readonly components: readonly Readonly<Record<string, unknown>>[];
|
|
1417
|
+
readonly dataModel: Readonly<Record<string, unknown>>;
|
|
1418
|
+
}
|
|
1419
|
+
interface PraxisAssistantContentEnvelope {
|
|
1420
|
+
readonly version?: PraxisAssistantContentVersion;
|
|
1421
|
+
readonly blocks: readonly Readonly<Record<string, unknown>>[];
|
|
1422
|
+
readonly surfaces?: readonly PraxisAssistantSurfaceSummary[];
|
|
1423
|
+
}
|
|
1424
|
+
interface PraxisAssistantDocumentEvidenceBlock {
|
|
1425
|
+
readonly type: 'document-evidence';
|
|
1426
|
+
readonly surfaceId?: string;
|
|
1427
|
+
readonly blockId?: string;
|
|
1428
|
+
readonly fileId?: string;
|
|
1429
|
+
readonly documentTitle?: string;
|
|
1430
|
+
readonly detectedMimeType?: string;
|
|
1431
|
+
readonly checksumSha256?: string;
|
|
1432
|
+
readonly pageCount?: number;
|
|
1433
|
+
readonly extractionMode?: PraxisAssistantDocumentExtractionMode;
|
|
1434
|
+
readonly scannedLikely?: boolean;
|
|
1435
|
+
readonly dataClassification?: PraxisAssistantDocumentClassification;
|
|
1436
|
+
readonly sovereignOnly?: boolean;
|
|
1437
|
+
readonly visualPagesInspected?: number;
|
|
1438
|
+
readonly tainted?: boolean;
|
|
1439
|
+
readonly evidenceStatus?: 'PROCESSED' | 'BLOCKED' | 'QUARANTINED' | 'REVIEW_REQUIRED' | 'VERIFIED' | (string & {});
|
|
1440
|
+
readonly blockedCode?: string;
|
|
1441
|
+
readonly verificationStatus?: 'VERIFIED_EXTERNAL' | 'NOT_FOUND_EXTERNAL' | 'MISMATCH_EXTERNAL' | 'UNAVAILABLE_HUMAN_REVIEW_REQUIRED' | (string & {});
|
|
1442
|
+
readonly verificationNote?: string;
|
|
1443
|
+
readonly protocolRef?: string;
|
|
1444
|
+
readonly citedPages?: readonly number[];
|
|
1445
|
+
readonly signatureIndicators?: readonly string[];
|
|
1446
|
+
readonly evidenceWarnings?: readonly string[];
|
|
1447
|
+
}
|
|
1448
|
+
type PraxisAssistantEpistemicKind = PraxisEpistemicKind | (string & {});
|
|
1449
|
+
type PraxisAssistantEpistemicAvailabilityState = PraxisEpistemicAvailabilityState | (string & {});
|
|
1450
|
+
interface PraxisAssistantEpistemicMeta extends Omit<PraxisEpistemicMeta, 'kind' | 'availabilityState'> {
|
|
1451
|
+
readonly kind?: PraxisAssistantEpistemicKind;
|
|
1452
|
+
readonly availabilityState?: PraxisAssistantEpistemicAvailabilityState;
|
|
1453
|
+
readonly statisticallySignificant?: boolean;
|
|
1454
|
+
readonly qValueFdr?: number | null;
|
|
1455
|
+
readonly sampleSize?: number | null;
|
|
1456
|
+
readonly suppressedCellCount?: number | null;
|
|
1457
|
+
readonly modelCardId?: string | null;
|
|
1458
|
+
readonly provenanceHash?: string | null;
|
|
1459
|
+
readonly datasetKey?: string | null;
|
|
1460
|
+
readonly methodologyNote?: string | null;
|
|
1461
|
+
readonly nigriniMad?: number | null;
|
|
1462
|
+
readonly nigriniConformity?: PraxisEpistemicMeta['nigriniConformity'];
|
|
1463
|
+
}
|
|
1464
|
+
interface PraxisAssistantAnalyticalProvenance {
|
|
1465
|
+
readonly mode?: 'VERIFIED_RECIPE' | 'EXPLORATORY_UNVERIFIED' | string;
|
|
1466
|
+
readonly recipeId?: string;
|
|
1467
|
+
readonly recipeTitle?: string;
|
|
1468
|
+
readonly recipeVersion?: string;
|
|
1469
|
+
readonly governanceTier?: string;
|
|
1470
|
+
readonly provenanceDigest?: string;
|
|
1471
|
+
readonly lockedFilters?: Readonly<Record<string, unknown>>;
|
|
1472
|
+
readonly appliedParameters?: Readonly<Record<string, unknown>>;
|
|
1473
|
+
}
|
|
1474
|
+
interface PraxisAssistantEpistemicBadgeBlock {
|
|
1475
|
+
readonly type: 'epistemic-badge';
|
|
1476
|
+
readonly surfaceId?: string;
|
|
1477
|
+
readonly blockId?: string;
|
|
1478
|
+
readonly title?: string;
|
|
1479
|
+
readonly analysisKind?: string;
|
|
1480
|
+
readonly entityKey?: string;
|
|
1481
|
+
readonly resourceKey?: string;
|
|
1482
|
+
readonly resourcePath?: string;
|
|
1483
|
+
readonly datasetKey?: string;
|
|
1484
|
+
readonly epistemicKind?: PraxisAssistantEpistemicKind;
|
|
1485
|
+
readonly availabilityState?: PraxisAssistantEpistemicAvailabilityState;
|
|
1486
|
+
readonly statisticallySignificant?: boolean;
|
|
1487
|
+
readonly qValueFdr?: number;
|
|
1488
|
+
readonly sampleSize?: number;
|
|
1489
|
+
readonly suppressedCellCount?: number;
|
|
1490
|
+
readonly provenanceHash?: string;
|
|
1491
|
+
readonly modelCardId?: string;
|
|
1492
|
+
readonly methodologyNote?: string;
|
|
1493
|
+
readonly rowsScanned?: number;
|
|
1494
|
+
readonly groupsEvaluated?: number;
|
|
1495
|
+
readonly findingsCount?: number;
|
|
1496
|
+
readonly criticalCount?: number;
|
|
1497
|
+
readonly warningCount?: number;
|
|
1498
|
+
readonly totalFinancialExposure?: number | string;
|
|
1499
|
+
readonly truncated?: boolean;
|
|
1500
|
+
readonly failClosedNote?: string;
|
|
1501
|
+
readonly errorCode?: string;
|
|
1502
|
+
readonly nigriniMad?: number;
|
|
1503
|
+
readonly nigriniConformity?: string;
|
|
1504
|
+
readonly scenarioCount?: number;
|
|
1505
|
+
readonly horizonPeriods?: number;
|
|
1506
|
+
readonly allAnchorsWithinTolerance?: boolean;
|
|
1507
|
+
readonly validatedCandidateCount?: number;
|
|
1508
|
+
readonly excludedCandidateCount?: number;
|
|
1509
|
+
readonly advisoryOnly?: boolean;
|
|
1510
|
+
}
|
|
1511
|
+
interface PraxisAssistantOperationalAlertItem {
|
|
1512
|
+
readonly code?: string;
|
|
1513
|
+
readonly severity?: 'critical' | 'error' | 'warning' | 'info' | string;
|
|
1514
|
+
readonly title?: string;
|
|
1515
|
+
readonly description?: string;
|
|
1516
|
+
readonly entityKey?: string;
|
|
1517
|
+
readonly resourcePath?: string;
|
|
1518
|
+
readonly entityId?: string;
|
|
1519
|
+
readonly suggestedActionId?: string;
|
|
1520
|
+
readonly suggestedActionLabel?: string;
|
|
1521
|
+
}
|
|
1522
|
+
interface PraxisAssistantOperationalAlertListBlock {
|
|
1523
|
+
readonly type: 'alert-list';
|
|
1524
|
+
readonly surfaceId?: string;
|
|
1525
|
+
readonly blockId?: string;
|
|
1526
|
+
readonly title?: string;
|
|
1527
|
+
readonly items: readonly PraxisAssistantOperationalAlertItem[];
|
|
1528
|
+
}
|
|
1529
|
+
interface PraxisAssistantOperationalWidgetSpec {
|
|
1530
|
+
readonly id: string;
|
|
1531
|
+
readonly inputs?: Readonly<Record<string, unknown>>;
|
|
1532
|
+
}
|
|
1533
|
+
interface PraxisAssistantOperationalWidgetBlock {
|
|
1534
|
+
readonly type: 'widget-block';
|
|
1535
|
+
readonly surfaceId?: string;
|
|
1536
|
+
readonly blockId?: string;
|
|
1537
|
+
readonly widgetType?: string;
|
|
1538
|
+
readonly title?: string;
|
|
1539
|
+
readonly subtitle?: string;
|
|
1540
|
+
readonly entityKey?: string;
|
|
1541
|
+
readonly resourceKey?: string;
|
|
1542
|
+
readonly resourcePath?: string;
|
|
1543
|
+
readonly entityId?: string;
|
|
1544
|
+
readonly analyticalProvenance?: PraxisAssistantAnalyticalProvenance;
|
|
1545
|
+
readonly epistemicMeta?: PraxisAssistantEpistemicMeta;
|
|
1546
|
+
readonly document?: Readonly<Record<string, unknown>>;
|
|
1547
|
+
readonly widget?: PraxisAssistantOperationalWidgetSpec;
|
|
1548
|
+
}
|
|
1549
|
+
interface PraxisAssistantOperationalCollectionColumn {
|
|
1550
|
+
readonly key: string;
|
|
1551
|
+
readonly label: string;
|
|
1552
|
+
}
|
|
1553
|
+
interface PraxisAssistantOperationalCompactCollectionBlock {
|
|
1554
|
+
readonly type: 'compact-collection';
|
|
1555
|
+
readonly variant?: 'disambiguation' | 'related-dataset' | 'records' | string;
|
|
1556
|
+
readonly title?: string;
|
|
1557
|
+
readonly subtitle?: string;
|
|
1558
|
+
readonly surfaceId?: string;
|
|
1559
|
+
readonly blockId?: string;
|
|
1560
|
+
readonly entityKey?: string;
|
|
1561
|
+
readonly resourceKey?: string;
|
|
1562
|
+
readonly resourcePath?: string;
|
|
1563
|
+
readonly totalCount?: number;
|
|
1564
|
+
readonly columns: readonly PraxisAssistantOperationalCollectionColumn[];
|
|
1565
|
+
readonly rows: readonly Readonly<Record<string, unknown>>[];
|
|
1566
|
+
}
|
|
1567
|
+
interface PraxisAssistantOperationalActionAffordance {
|
|
1568
|
+
readonly actionId: string;
|
|
1569
|
+
readonly label: string;
|
|
1570
|
+
readonly description?: string;
|
|
1571
|
+
readonly icon?: string;
|
|
1572
|
+
readonly tone?: 'primary' | 'accent' | 'warning' | 'danger' | 'neutral' | string;
|
|
1573
|
+
readonly resourceKey?: string;
|
|
1574
|
+
readonly resourcePath?: string;
|
|
1575
|
+
readonly entityId?: string;
|
|
1576
|
+
readonly operationKind?: string;
|
|
1577
|
+
readonly formMode?: string;
|
|
1578
|
+
readonly method?: string;
|
|
1579
|
+
readonly submitUrl?: string;
|
|
1580
|
+
readonly schemaUrl?: string;
|
|
1581
|
+
readonly route?: string;
|
|
1582
|
+
readonly queryParams?: Readonly<Record<string, unknown>>;
|
|
1583
|
+
readonly prefill?: Readonly<Record<string, unknown>>;
|
|
1584
|
+
readonly confirmRequired?: boolean;
|
|
1585
|
+
readonly disabled?: boolean;
|
|
1586
|
+
readonly unavailableNote?: string;
|
|
1587
|
+
}
|
|
1588
|
+
interface PraxisAssistantCalculationStep {
|
|
1589
|
+
readonly role?: string;
|
|
1590
|
+
readonly label: string;
|
|
1591
|
+
readonly operator?: string;
|
|
1592
|
+
readonly formattedValue: string;
|
|
1593
|
+
readonly format?: string;
|
|
1594
|
+
readonly hint?: string;
|
|
1595
|
+
readonly legalBasis?: string;
|
|
1596
|
+
}
|
|
1597
|
+
interface PraxisAssistantCalculationTrail {
|
|
1598
|
+
readonly id?: string;
|
|
1599
|
+
readonly title: string;
|
|
1600
|
+
readonly ruleCode?: string;
|
|
1601
|
+
readonly formula?: string;
|
|
1602
|
+
readonly legalBasis?: string;
|
|
1603
|
+
readonly legalPurpose?: string;
|
|
1604
|
+
readonly resultLabel?: string;
|
|
1605
|
+
readonly resultFormatted?: string;
|
|
1606
|
+
readonly resultTone?: string;
|
|
1607
|
+
readonly resultHint?: string;
|
|
1608
|
+
readonly steps: readonly PraxisAssistantCalculationStep[];
|
|
1609
|
+
}
|
|
1610
|
+
interface PraxisAssistantCalculationMemoryBlock {
|
|
1611
|
+
readonly type: 'calculation-memory';
|
|
1612
|
+
readonly surfaceId?: string;
|
|
1613
|
+
readonly blockId?: string;
|
|
1614
|
+
readonly title?: string;
|
|
1615
|
+
readonly subtitle?: string;
|
|
1616
|
+
readonly icon?: string;
|
|
1617
|
+
readonly legalBasis?: string;
|
|
1618
|
+
readonly emptyText?: string;
|
|
1619
|
+
readonly recordTitle?: string;
|
|
1620
|
+
readonly entityKey?: string;
|
|
1621
|
+
readonly resourceKey?: string;
|
|
1622
|
+
readonly resourcePath?: string;
|
|
1623
|
+
readonly entityId?: string;
|
|
1624
|
+
readonly trails: readonly PraxisAssistantCalculationTrail[];
|
|
1625
|
+
}
|
|
1626
|
+
interface PraxisAssistantKnowledgeCitationItem {
|
|
1627
|
+
readonly docId: string;
|
|
1628
|
+
readonly sourceKind?: string;
|
|
1629
|
+
readonly title: string;
|
|
1630
|
+
readonly normRef?: string;
|
|
1631
|
+
readonly scopeLabel?: string;
|
|
1632
|
+
readonly excerpt?: string;
|
|
1633
|
+
readonly targetRoute?: string;
|
|
1634
|
+
readonly tags?: readonly string[];
|
|
1635
|
+
}
|
|
1636
|
+
interface PraxisAssistantKnowledgeCitationsBlock {
|
|
1637
|
+
readonly type: 'knowledge-citations';
|
|
1638
|
+
readonly surfaceId?: string;
|
|
1639
|
+
readonly blockId?: string;
|
|
1640
|
+
readonly title?: string;
|
|
1641
|
+
readonly items: readonly PraxisAssistantKnowledgeCitationItem[];
|
|
1642
|
+
}
|
|
1643
|
+
interface PraxisAssistantOperationalActionBarBlock {
|
|
1644
|
+
readonly type: 'action-bar';
|
|
1645
|
+
readonly surfaceId?: string;
|
|
1646
|
+
readonly blockId?: string;
|
|
1647
|
+
readonly title?: string;
|
|
1648
|
+
readonly items: readonly PraxisAssistantOperationalActionAffordance[];
|
|
1649
|
+
}
|
|
1650
|
+
interface PraxisAssistantSimulationPreviewField {
|
|
1651
|
+
readonly id: string;
|
|
1652
|
+
readonly label: string;
|
|
1653
|
+
readonly value: string;
|
|
1654
|
+
}
|
|
1655
|
+
interface PraxisAssistantSimulationValidationIssue {
|
|
1656
|
+
readonly field?: string;
|
|
1657
|
+
readonly issueNote: string;
|
|
1658
|
+
}
|
|
1659
|
+
interface PraxisAssistantSimulationPreviewBlock {
|
|
1660
|
+
readonly type: 'simulation-preview';
|
|
1661
|
+
readonly surfaceId?: string;
|
|
1662
|
+
readonly blockId?: string;
|
|
1663
|
+
readonly title?: string;
|
|
1664
|
+
readonly subtitle?: string;
|
|
1665
|
+
readonly description?: string;
|
|
1666
|
+
readonly entityKey?: string;
|
|
1667
|
+
readonly resourceKey?: string;
|
|
1668
|
+
readonly resourcePath?: string;
|
|
1669
|
+
readonly determinationId?: string;
|
|
1670
|
+
readonly nonPersistent?: boolean;
|
|
1671
|
+
readonly fields: readonly PraxisAssistantSimulationPreviewField[];
|
|
1672
|
+
readonly validationIssues?: readonly PraxisAssistantSimulationValidationIssue[];
|
|
1673
|
+
}
|
|
1674
|
+
interface PraxisAssistantActionInputField {
|
|
1675
|
+
readonly name: string;
|
|
1676
|
+
readonly label: string;
|
|
1677
|
+
readonly controlType?: string;
|
|
1678
|
+
readonly required?: boolean;
|
|
1679
|
+
}
|
|
1680
|
+
interface PraxisAssistantActionRuleViolation {
|
|
1681
|
+
readonly code?: string;
|
|
1682
|
+
readonly slotKey?: string;
|
|
1683
|
+
readonly targetField?: string;
|
|
1684
|
+
readonly issueNote?: string;
|
|
1685
|
+
readonly category?: string;
|
|
1686
|
+
}
|
|
1687
|
+
type PraxisAssistantActionProposalStatus = 'PENDING' | 'WAITING_PREREQUISITE' | 'EXECUTING' | 'BLOCKED' | 'CONFIRMED' | 'STALE' | 'EXPIRED' | 'REJECTED' | string;
|
|
1688
|
+
interface PraxisAssistantBulkProposalSampleTarget {
|
|
1689
|
+
readonly id?: string | number;
|
|
1690
|
+
readonly title?: string;
|
|
1691
|
+
readonly subtitle?: string;
|
|
1692
|
+
readonly decision?: 'EXECUTABLE' | 'BLOCKED' | string;
|
|
1693
|
+
readonly diagnostics?: readonly Readonly<Record<string, unknown>>[];
|
|
1694
|
+
}
|
|
1695
|
+
interface PraxisAssistantBulkProposalDetails {
|
|
1696
|
+
readonly domainProposalId?: string;
|
|
1697
|
+
readonly bulkOperationId?: string;
|
|
1698
|
+
readonly bulkMode: string;
|
|
1699
|
+
readonly atomicity?: string;
|
|
1700
|
+
readonly selectionMode?: string;
|
|
1701
|
+
readonly domainProposalStatus?: string;
|
|
1702
|
+
readonly totals?: {
|
|
1703
|
+
readonly targetCount: number;
|
|
1704
|
+
readonly evaluated: number;
|
|
1705
|
+
readonly executable: number;
|
|
1706
|
+
readonly blocked: number;
|
|
1707
|
+
};
|
|
1708
|
+
readonly filterLabel?: string;
|
|
1709
|
+
readonly statusNote?: string;
|
|
1710
|
+
readonly diagnosticText?: string;
|
|
1711
|
+
readonly selectionPayload?: Readonly<Record<string, unknown>>;
|
|
1712
|
+
readonly changes?: readonly Readonly<Record<string, unknown>>[];
|
|
1713
|
+
readonly itemChanges?: readonly Readonly<Record<string, unknown>>[];
|
|
1714
|
+
readonly sampleTargets?: readonly PraxisAssistantBulkProposalSampleTarget[];
|
|
1715
|
+
readonly blockedItems?: readonly Readonly<Record<string, unknown>>[];
|
|
1716
|
+
readonly bulkContract?: Readonly<Record<string, unknown>>;
|
|
1717
|
+
readonly executionId?: string;
|
|
1718
|
+
readonly executionStatus?: string;
|
|
1719
|
+
}
|
|
1720
|
+
type PraxisAssistantActionProposalApprovalPolicy = 'SINGLE_OWNER' | 'FOUR_EYES' | (string & {});
|
|
1721
|
+
interface PraxisAssistantActionProposalItem {
|
|
1722
|
+
readonly proposalId: string;
|
|
1723
|
+
readonly proposalStatus: PraxisAssistantActionProposalStatus;
|
|
1724
|
+
readonly expiresAt?: string;
|
|
1725
|
+
readonly dependsOnProposalId?: string;
|
|
1726
|
+
readonly prerequisiteOutputTargetField?: string;
|
|
1727
|
+
readonly sequenceOrder?: number;
|
|
1728
|
+
readonly sequenceGroupId?: string;
|
|
1729
|
+
readonly approvalPolicy?: PraxisAssistantActionProposalApprovalPolicy;
|
|
1730
|
+
readonly awaitingSecondApprover?: boolean;
|
|
1731
|
+
readonly createdByUserId?: string;
|
|
1732
|
+
readonly approverUserId?: string;
|
|
1733
|
+
readonly approvedAt?: string;
|
|
1734
|
+
readonly resolvedAt?: string;
|
|
1735
|
+
readonly rejectionReason?: string;
|
|
1736
|
+
readonly canConfirm?: boolean;
|
|
1737
|
+
readonly canReject?: boolean;
|
|
1738
|
+
readonly sourceAttachmentFileIds?: readonly string[];
|
|
1739
|
+
readonly actionId: string;
|
|
1740
|
+
readonly label: string;
|
|
1741
|
+
readonly description?: string;
|
|
1742
|
+
readonly entityKey?: string;
|
|
1743
|
+
readonly resourceKey?: string;
|
|
1744
|
+
readonly resourcePath?: string;
|
|
1745
|
+
readonly entityId?: string;
|
|
1746
|
+
readonly recordTitle?: string;
|
|
1747
|
+
readonly recordSubtitle?: string;
|
|
1748
|
+
readonly operationKind?: string;
|
|
1749
|
+
readonly formMode?: string;
|
|
1750
|
+
readonly method?: string;
|
|
1751
|
+
readonly submitUrl?: string;
|
|
1752
|
+
readonly schemaUrl?: string;
|
|
1753
|
+
readonly riskLevel?: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL' | string;
|
|
1754
|
+
readonly confirmationRequired?: boolean;
|
|
1755
|
+
readonly hasInputForm?: boolean;
|
|
1756
|
+
readonly organizationId?: string;
|
|
1757
|
+
readonly organizationLabel?: string;
|
|
1758
|
+
readonly recordLifecycleState?: string;
|
|
1759
|
+
readonly expectedVersionTag?: string;
|
|
1760
|
+
readonly allowed?: boolean;
|
|
1761
|
+
readonly blockedCode?: string;
|
|
1762
|
+
readonly impedimentNote?: string;
|
|
1763
|
+
readonly prefill?: Readonly<Record<string, unknown>>;
|
|
1764
|
+
readonly missingRequiredFields?: readonly string[];
|
|
1765
|
+
readonly inputFields?: readonly PraxisAssistantActionInputField[];
|
|
1766
|
+
readonly confirmBusy?: boolean;
|
|
1767
|
+
readonly statusNote?: string;
|
|
1768
|
+
readonly updatedLifecycleState?: string;
|
|
1769
|
+
readonly updatedVersionTag?: string;
|
|
1770
|
+
readonly resultingEntityId?: string | null;
|
|
1771
|
+
readonly ruleViolations?: readonly PraxisAssistantActionRuleViolation[];
|
|
1772
|
+
readonly fieldErrors?: Readonly<Record<string, string>>;
|
|
1773
|
+
readonly refreshedSnapshot?: Readonly<Record<string, unknown>>;
|
|
1774
|
+
readonly bulk?: PraxisAssistantBulkProposalDetails;
|
|
1775
|
+
}
|
|
1776
|
+
interface PraxisAssistantActionProposalsBlock {
|
|
1777
|
+
readonly type: 'action-proposals';
|
|
1778
|
+
readonly surfaceId?: string;
|
|
1779
|
+
readonly blockId?: string;
|
|
1780
|
+
readonly title?: string;
|
|
1781
|
+
readonly items: readonly PraxisAssistantActionProposalItem[];
|
|
1782
|
+
}
|
|
1783
|
+
interface PraxisAssistantCounterfactualLeverDelta {
|
|
1784
|
+
readonly leverKey: string;
|
|
1785
|
+
readonly fromValue?: string | number | boolean | null;
|
|
1786
|
+
readonly toValue?: string | number | boolean | null;
|
|
1787
|
+
readonly relativeChange?: number;
|
|
1788
|
+
readonly estimatedContribution?: number;
|
|
1789
|
+
}
|
|
1790
|
+
interface PraxisAssistantCounterfactualCandidate {
|
|
1791
|
+
readonly candidateId: string;
|
|
1792
|
+
readonly rank: number;
|
|
1793
|
+
readonly predictedValue?: number;
|
|
1794
|
+
readonly predictedDelta?: number;
|
|
1795
|
+
readonly distanceScore?: number;
|
|
1796
|
+
readonly feasibilityStatus: string;
|
|
1797
|
+
readonly ruleValidationMessages?: readonly string[];
|
|
1798
|
+
readonly leverDeltas: readonly PraxisAssistantCounterfactualLeverDelta[];
|
|
1799
|
+
readonly suggestedActionId?: string;
|
|
1800
|
+
readonly suggestedActionLabel?: string;
|
|
1801
|
+
readonly suggestedOperationKind?: 'ACTION' | 'BULK' | (string & {});
|
|
1802
|
+
readonly suggestedBulkMode?: string;
|
|
1803
|
+
readonly suggestedSelectionMode?: string;
|
|
1804
|
+
readonly suggestedTargetIds?: readonly string[];
|
|
1805
|
+
readonly suggestedFilters?: Readonly<Record<string, unknown>>;
|
|
1806
|
+
readonly suggestedInputs?: Readonly<Record<string, unknown>>;
|
|
1807
|
+
readonly provenanceHash?: string;
|
|
1808
|
+
readonly modelCardId?: string;
|
|
1809
|
+
}
|
|
1810
|
+
interface PraxisAssistantCounterfactualRecourseBlock {
|
|
1811
|
+
readonly type: 'counterfactual-recourse';
|
|
1812
|
+
readonly surfaceId?: string;
|
|
1813
|
+
readonly blockId?: string;
|
|
1814
|
+
readonly sourceTurnId?: string;
|
|
1815
|
+
readonly title?: string;
|
|
1816
|
+
readonly entityKey?: string;
|
|
1817
|
+
readonly entityId?: string;
|
|
1818
|
+
readonly resourceKey?: string;
|
|
1819
|
+
readonly resourcePath?: string;
|
|
1820
|
+
readonly targetMetricKey?: string;
|
|
1821
|
+
readonly direction?: string;
|
|
1822
|
+
readonly baselineValue?: number;
|
|
1823
|
+
readonly targetValue?: number;
|
|
1824
|
+
readonly converged?: boolean;
|
|
1825
|
+
readonly advisoryOnly?: boolean;
|
|
1826
|
+
readonly requiresHumanGovernanceApproval?: boolean;
|
|
1827
|
+
readonly validatedCandidateCount?: number;
|
|
1828
|
+
readonly excludedCandidateCount?: number;
|
|
1829
|
+
readonly governanceNextStep?: string;
|
|
1830
|
+
readonly provenanceHash?: string;
|
|
1831
|
+
readonly modelCardId?: string;
|
|
1832
|
+
readonly epistemicMeta?: Record<string, unknown>;
|
|
1833
|
+
readonly candidates: readonly PraxisAssistantCounterfactualCandidate[];
|
|
1834
|
+
}
|
|
1835
|
+
interface OperationalAgentCounterfactualProposalRequest {
|
|
1836
|
+
readonly entityKey: string;
|
|
1837
|
+
readonly entityId?: string | null;
|
|
1838
|
+
readonly actionId?: string | null;
|
|
1839
|
+
readonly bulkMode?: string | null;
|
|
1840
|
+
readonly selectionMode?: string | null;
|
|
1841
|
+
readonly filters?: Readonly<Record<string, unknown>> | null;
|
|
1842
|
+
readonly targetIds?: readonly string[] | null;
|
|
1843
|
+
readonly excludedIds?: readonly string[] | null;
|
|
1844
|
+
readonly changes?: readonly Readonly<Record<string, unknown>>[] | null;
|
|
1845
|
+
readonly items?: readonly Readonly<Record<string, unknown>>[] | null;
|
|
1846
|
+
readonly proposedInputs?: Readonly<Record<string, unknown>> | null;
|
|
1847
|
+
readonly parameters?: Readonly<Record<string, unknown>> | null;
|
|
1848
|
+
readonly rationale?: string | null;
|
|
1849
|
+
readonly threadId?: string | null;
|
|
1850
|
+
readonly turnId?: string | null;
|
|
1851
|
+
readonly candidateId: string;
|
|
1852
|
+
readonly provenanceHash: string;
|
|
1853
|
+
readonly modelCardId?: string | null;
|
|
1854
|
+
readonly feasibilityStatus?: string | null;
|
|
1855
|
+
readonly targetMetricKey?: string | null;
|
|
1856
|
+
readonly leverDeltas?: readonly PraxisAssistantCounterfactualLeverDelta[] | null;
|
|
1857
|
+
readonly approvalPolicy?: string | null;
|
|
1858
|
+
}
|
|
1859
|
+
type PraxisAssistantOperationalBlock = PraxisAssistantEpistemicBadgeBlock | PraxisAssistantOperationalAlertListBlock | PraxisAssistantOperationalWidgetBlock | PraxisAssistantSimulationPreviewBlock | PraxisAssistantActionProposalsBlock | PraxisAssistantCalculationMemoryBlock | PraxisAssistantKnowledgeCitationsBlock | PraxisAssistantOperationalCompactCollectionBlock | PraxisAssistantOperationalActionBarBlock | PraxisAssistantCounterfactualRecourseBlock | PraxisAssistantDocumentEvidenceBlock;
|
|
1860
|
+
type PraxisAssistantOperationalBlockActionKind = 'action-affordance' | 'alert-suggested-action' | 'counterfactual-suggested-action' | 'prepare-counterfactual-proposal' | 'open-collection-resource' | 'select-disambiguation-row' | 'open-citation-route' | 'confirm-action-proposal' | 'open-proposal-form' | 'review-bulk-proposal' | 'track-bulk-execution' | 'reject-action-proposal' | 'revalidate-stale-proposal' | 'refresh-action-proposal' | 'preview-document-evidence';
|
|
1861
|
+
interface PraxisAssistantOperationalBlockActionEvent {
|
|
1862
|
+
readonly kind: PraxisAssistantOperationalBlockActionKind;
|
|
1863
|
+
readonly action?: PraxisAssistantOperationalActionAffordance;
|
|
1864
|
+
readonly alert?: PraxisAssistantOperationalAlertItem;
|
|
1865
|
+
readonly citation?: PraxisAssistantKnowledgeCitationItem;
|
|
1866
|
+
readonly proposal?: PraxisAssistantActionProposalItem;
|
|
1867
|
+
readonly reason?: string;
|
|
1868
|
+
readonly fileId?: string;
|
|
1869
|
+
readonly documentTitle?: string;
|
|
1870
|
+
readonly mimeType?: string;
|
|
1871
|
+
readonly counterfactualCandidate?: PraxisAssistantCounterfactualCandidate;
|
|
1872
|
+
readonly counterfactualBlock?: PraxisAssistantCounterfactualRecourseBlock;
|
|
1873
|
+
readonly turnId?: string;
|
|
1874
|
+
readonly targetRoute?: string;
|
|
1875
|
+
readonly resourceKey?: string;
|
|
1876
|
+
readonly resourcePath?: string;
|
|
1877
|
+
readonly entityKey?: string;
|
|
1878
|
+
readonly entityId?: string;
|
|
1879
|
+
readonly row?: Readonly<Record<string, unknown>>;
|
|
1880
|
+
}
|
|
1881
|
+
interface OperationalAgentProposalConfirmRequest {
|
|
1882
|
+
readonly inputs?: Readonly<Record<string, unknown>>;
|
|
1883
|
+
readonly ifMatch?: string;
|
|
1884
|
+
readonly idempotencyKey?: string;
|
|
1885
|
+
}
|
|
1886
|
+
interface OperationalAgentProposalExternalCompletionRequest {
|
|
1887
|
+
readonly updatedVersionTag?: string | null;
|
|
1888
|
+
readonly updatedLifecycleState?: string | null;
|
|
1889
|
+
readonly idempotencyKey?: string | null;
|
|
1890
|
+
readonly domainProposalId?: string | null;
|
|
1891
|
+
readonly bulkExecutionId?: string | null;
|
|
1892
|
+
readonly bulkExecutionStatus?: string | null;
|
|
1893
|
+
readonly confirmedCount?: number | null;
|
|
1894
|
+
readonly unchangedCount?: number | null;
|
|
1895
|
+
readonly failedCount?: number | null;
|
|
1896
|
+
readonly resultingEntityId?: string | null;
|
|
1897
|
+
}
|
|
1898
|
+
interface OperationalAgentProposalRejectRequest {
|
|
1899
|
+
readonly reason?: string | null;
|
|
1900
|
+
}
|
|
1901
|
+
interface OperationalAgentDependentProposalUpdate {
|
|
1902
|
+
readonly proposalId: string;
|
|
1903
|
+
readonly previousStatus?: string | null;
|
|
1904
|
+
readonly status: PraxisAssistantActionProposalStatus;
|
|
1905
|
+
readonly updatedVersionTag?: string | null;
|
|
1906
|
+
readonly resultingEntityId?: string | null;
|
|
1907
|
+
readonly approvalPolicy?: PraxisAssistantActionProposalApprovalPolicy | null;
|
|
1908
|
+
readonly outcomeCode?: string | null;
|
|
1909
|
+
readonly canConfirm?: boolean | null;
|
|
1910
|
+
readonly awaitingSecondApprover?: boolean | null;
|
|
1911
|
+
readonly statusNote?: string | null;
|
|
1912
|
+
}
|
|
1913
|
+
interface OperationalAgentProposalConfirmResponse {
|
|
1914
|
+
readonly proposalId: string;
|
|
1915
|
+
readonly status: PraxisAssistantActionProposalStatus;
|
|
1916
|
+
readonly succeeded: boolean;
|
|
1917
|
+
readonly outcomeCode?: string;
|
|
1918
|
+
readonly statusNote?: string;
|
|
1919
|
+
readonly updatedVersionTag?: string;
|
|
1920
|
+
readonly updatedLifecycleState?: string;
|
|
1921
|
+
readonly resultingEntityId?: string | null;
|
|
1922
|
+
readonly dependentProposalUpdates?: readonly OperationalAgentDependentProposalUpdate[];
|
|
1923
|
+
readonly uiResult?: Readonly<Record<string, unknown>>;
|
|
1924
|
+
readonly ruleViolations?: readonly PraxisAssistantActionRuleViolation[];
|
|
1925
|
+
readonly fieldErrors?: Readonly<Record<string, string>>;
|
|
1926
|
+
readonly refreshedSnapshot?: Readonly<Record<string, unknown>>;
|
|
1927
|
+
readonly bulk?: PraxisAssistantBulkProposalDetails;
|
|
1928
|
+
}
|
|
1929
|
+
interface OperationalAgentConversationHistoryEntry {
|
|
1930
|
+
readonly role: 'user' | 'assistant' | string;
|
|
1931
|
+
readonly text: string;
|
|
1932
|
+
}
|
|
1933
|
+
interface OperationalAgentTurnAttachmentRef {
|
|
1934
|
+
readonly fileId: string;
|
|
1935
|
+
readonly displayNameHint?: string | null;
|
|
1936
|
+
readonly mimeTypeHint?: string | null;
|
|
1937
|
+
readonly sizeBytesHint?: number | null;
|
|
1938
|
+
readonly scope?: 'turn' | 'thread' | (string & {});
|
|
1939
|
+
readonly tainted?: boolean;
|
|
1940
|
+
}
|
|
1941
|
+
interface OperationalAgentScreenWidgetObservation {
|
|
1942
|
+
readonly componentId: string;
|
|
1943
|
+
readonly widgetKey?: string | null;
|
|
1944
|
+
readonly widgetRole?: string | null;
|
|
1945
|
+
readonly resourcePath?: string | null;
|
|
1946
|
+
readonly resourceKey?: string | null;
|
|
1947
|
+
readonly title?: string | null;
|
|
1948
|
+
readonly subtitle?: string | null;
|
|
1949
|
+
readonly chartType?: string | null;
|
|
1950
|
+
readonly recipeId?: string | null;
|
|
1951
|
+
readonly projectionId?: string | null;
|
|
1952
|
+
readonly activeFilters?: Readonly<Record<string, unknown>> | null;
|
|
1953
|
+
readonly referenceLines?: readonly Readonly<Record<string, unknown>>[];
|
|
1954
|
+
readonly selectedContext?: Readonly<Record<string, unknown>> | null;
|
|
1955
|
+
readonly epistemic?: Readonly<Record<string, unknown>> | null;
|
|
1956
|
+
readonly kAnonymousSummary?: Readonly<Record<string, unknown>> | null;
|
|
1957
|
+
}
|
|
1958
|
+
interface OperationalAgentScreenContext {
|
|
1959
|
+
readonly routePath?: string | null;
|
|
1960
|
+
readonly screenTitle?: string | null;
|
|
1961
|
+
readonly activeTab?: string | null;
|
|
1962
|
+
readonly widgets?: readonly OperationalAgentScreenWidgetObservation[];
|
|
1963
|
+
}
|
|
1964
|
+
interface OperationalAgentTurnStreamRequest {
|
|
1965
|
+
readonly userPrompt?: string;
|
|
1966
|
+
readonly sessionId?: string | null;
|
|
1967
|
+
readonly clientTurnId?: string | null;
|
|
1968
|
+
readonly activeScreenResourcePath?: string | null;
|
|
1969
|
+
readonly activeTopicKey?: string | null;
|
|
1970
|
+
readonly activeSelectionHints?: Readonly<Record<string, unknown>> | null;
|
|
1971
|
+
readonly conversationMessages?: readonly OperationalAgentConversationHistoryEntry[];
|
|
1972
|
+
readonly provider?: string | null;
|
|
1973
|
+
readonly model?: string | null;
|
|
1974
|
+
readonly apiKey?: string | null;
|
|
1975
|
+
readonly contextHints?: Readonly<Record<string, unknown>> | null;
|
|
1976
|
+
readonly authoringWorkspaceRoute?: string | null;
|
|
1977
|
+
readonly authoringWorkspaceLabel?: string | null;
|
|
1978
|
+
readonly attachments?: readonly OperationalAgentTurnAttachmentRef[];
|
|
1979
|
+
readonly detachedAttachmentIds?: readonly string[];
|
|
1980
|
+
readonly screenContext?: OperationalAgentScreenContext | null;
|
|
1981
|
+
}
|
|
1982
|
+
interface OperationalAgentTurnStreamStartResponse {
|
|
1983
|
+
readonly streamId: string;
|
|
1984
|
+
readonly observationId?: string | null;
|
|
1985
|
+
readonly threadId: string;
|
|
1986
|
+
readonly turnId: string;
|
|
1987
|
+
readonly eventSchemaVersion: string;
|
|
1988
|
+
readonly streamAuthMode?: string | null;
|
|
1989
|
+
readonly streamAccessToken?: string | null;
|
|
1990
|
+
readonly expiresAt?: string | null;
|
|
1991
|
+
readonly fallbackAuthoringUrl?: string | null;
|
|
1992
|
+
}
|
|
1993
|
+
interface OperationalAgentTurnStreamEnvelope {
|
|
1994
|
+
readonly eventId?: string | null;
|
|
1995
|
+
readonly streamId: string;
|
|
1996
|
+
readonly threadId: string;
|
|
1997
|
+
readonly turnId: string;
|
|
1998
|
+
readonly seq: number;
|
|
1999
|
+
readonly eventSchemaVersion: string;
|
|
2000
|
+
readonly timestamp: string;
|
|
2001
|
+
readonly type: 'status' | 'progress' | 'thought.step' | 'surface.create' | 'surface.patch-components' | 'surface.patch-data' | 'result' | 'error' | 'cancelled' | 'heartbeat' | string;
|
|
2002
|
+
readonly payload: Readonly<Record<string, unknown>>;
|
|
2003
|
+
}
|
|
2004
|
+
interface OperationalAgentTurnResultPayload {
|
|
2005
|
+
readonly state?: string;
|
|
2006
|
+
readonly sessionId?: string;
|
|
2007
|
+
readonly clientTurnId?: string;
|
|
2008
|
+
readonly activeScreenResourcePath?: string;
|
|
2009
|
+
readonly attachmentRefs?: readonly OperationalAgentTurnAttachmentRef[];
|
|
2010
|
+
readonly provider?: string;
|
|
2011
|
+
readonly model?: string;
|
|
2012
|
+
readonly roundsExecuted?: number;
|
|
2013
|
+
readonly assistantMessage?: string;
|
|
2014
|
+
readonly assistantContent?: Readonly<Record<string, unknown>> | null;
|
|
2015
|
+
readonly quickReplies?: readonly Readonly<Record<string, unknown>>[];
|
|
2016
|
+
readonly traces?: readonly Readonly<Record<string, unknown>>[];
|
|
2017
|
+
readonly inputTokens?: number;
|
|
2018
|
+
readonly outputTokens?: number;
|
|
2019
|
+
readonly totalTokens?: number;
|
|
2020
|
+
}
|
|
2021
|
+
interface OperationalAgentProposalDetailResponse {
|
|
2022
|
+
readonly proposalId: string;
|
|
2023
|
+
readonly status?: PraxisAssistantActionProposalStatus;
|
|
2024
|
+
readonly proposalStatus?: PraxisAssistantActionProposalStatus;
|
|
2025
|
+
readonly approvalPolicy?: PraxisAssistantActionProposalApprovalPolicy | null;
|
|
2026
|
+
readonly createdByUserId?: string | null;
|
|
2027
|
+
readonly approverUserId?: string | null;
|
|
2028
|
+
readonly approvedAt?: string | null;
|
|
2029
|
+
readonly rejectionReason?: string | null;
|
|
2030
|
+
readonly entityKey?: string | null;
|
|
2031
|
+
readonly resourceKey?: string | null;
|
|
2032
|
+
readonly resourcePath?: string | null;
|
|
2033
|
+
readonly entityId?: string | null;
|
|
2034
|
+
readonly resultingEntityId?: string | null;
|
|
2035
|
+
readonly actionId?: string;
|
|
2036
|
+
readonly actionTitle?: string | null;
|
|
2037
|
+
readonly actionDescription?: string | null;
|
|
2038
|
+
readonly label?: string | null;
|
|
2039
|
+
readonly description?: string | null;
|
|
2040
|
+
readonly operationKind?: string | null;
|
|
2041
|
+
readonly formMode?: string | null;
|
|
2042
|
+
readonly httpMethod?: string | null;
|
|
2043
|
+
readonly method?: string | null;
|
|
2044
|
+
readonly submitUrl?: string | null;
|
|
2045
|
+
readonly schemaUrl?: string | null;
|
|
2046
|
+
readonly riskLevel?: string | null;
|
|
2047
|
+
readonly organizationId?: string | null;
|
|
2048
|
+
readonly organizationLabel?: string | null;
|
|
2049
|
+
readonly recordTitle?: string | null;
|
|
2050
|
+
readonly recordSubtitle?: string | null;
|
|
2051
|
+
readonly recordLifecycleState?: string | null;
|
|
2052
|
+
readonly expectedVersionTag?: string | null;
|
|
2053
|
+
readonly updatedVersionTag?: string | null;
|
|
2054
|
+
readonly blockedCode?: string | null;
|
|
2055
|
+
readonly impedimentNote?: string | null;
|
|
2056
|
+
readonly threadId?: string | null;
|
|
2057
|
+
readonly turnId?: string | null;
|
|
2058
|
+
readonly dependsOnProposalId?: string | null;
|
|
2059
|
+
readonly prerequisiteOutputTargetField?: string | null;
|
|
2060
|
+
readonly sequenceOrder?: number | null;
|
|
2061
|
+
readonly sequenceGroupId?: string | null;
|
|
2062
|
+
readonly needsRevalidation?: boolean;
|
|
2063
|
+
readonly prefill?: Readonly<Record<string, unknown>> | null;
|
|
2064
|
+
readonly inputFields?: readonly PraxisAssistantActionInputField[] | null;
|
|
2065
|
+
readonly missingRequiredFields?: readonly string[] | null;
|
|
2066
|
+
readonly sourceAttachmentFileIds?: readonly string[] | null;
|
|
2067
|
+
readonly documentEvidence?: Readonly<Record<string, unknown>> | null;
|
|
2068
|
+
readonly bulkMode?: string | null;
|
|
2069
|
+
readonly bulkProposalId?: string | null;
|
|
2070
|
+
readonly bulkOperationId?: string | null;
|
|
2071
|
+
readonly bulkTotals?: Readonly<Record<string, unknown>> | null;
|
|
2072
|
+
readonly bulkDetails?: Readonly<Record<string, unknown>> | null;
|
|
2073
|
+
readonly createdAt?: string | null;
|
|
2074
|
+
readonly expiresAt?: string | null;
|
|
2075
|
+
readonly resolvedAt?: string | null;
|
|
2076
|
+
readonly canConfirm?: boolean;
|
|
2077
|
+
readonly canReject?: boolean;
|
|
2078
|
+
readonly awaitingSecondApprover?: boolean;
|
|
2079
|
+
}
|
|
2080
|
+
interface OperationalAgentProposalSummaryResponse {
|
|
2081
|
+
readonly proposalId: string;
|
|
2082
|
+
readonly status?: PraxisAssistantActionProposalStatus;
|
|
2083
|
+
readonly proposalStatus?: PraxisAssistantActionProposalStatus;
|
|
2084
|
+
readonly approvalPolicy?: PraxisAssistantActionProposalApprovalPolicy | null;
|
|
2085
|
+
readonly createdByUserId?: string | null;
|
|
2086
|
+
readonly approverUserId?: string | null;
|
|
2087
|
+
readonly entityKey?: string | null;
|
|
2088
|
+
readonly resourceKey?: string | null;
|
|
2089
|
+
readonly resourcePath?: string | null;
|
|
2090
|
+
readonly entityId?: string | null;
|
|
2091
|
+
readonly resultingEntityId?: string | null;
|
|
2092
|
+
readonly actionId?: string;
|
|
2093
|
+
readonly actionTitle?: string | null;
|
|
2094
|
+
readonly label?: string | null;
|
|
2095
|
+
readonly operationKind?: string | null;
|
|
2096
|
+
readonly riskLevel?: string | null;
|
|
2097
|
+
readonly organizationId?: string | null;
|
|
2098
|
+
readonly organizationLabel?: string | null;
|
|
2099
|
+
readonly recordTitle?: string | null;
|
|
2100
|
+
readonly recordSubtitle?: string | null;
|
|
2101
|
+
readonly threadId?: string | null;
|
|
2102
|
+
readonly dependsOnProposalId?: string | null;
|
|
2103
|
+
readonly sequenceOrder?: number | null;
|
|
2104
|
+
readonly sequenceGroupId?: string | null;
|
|
2105
|
+
readonly sourceAttachmentFileIds?: readonly string[] | null;
|
|
2106
|
+
readonly bulkMode?: string | null;
|
|
2107
|
+
readonly createdAt?: string | null;
|
|
2108
|
+
readonly expiresAt?: string | null;
|
|
2109
|
+
readonly resolvedAt?: string | null;
|
|
2110
|
+
readonly awaitingSecondApprover?: boolean;
|
|
2111
|
+
}
|
|
2112
|
+
interface OperationalAgentProposalListQuery {
|
|
2113
|
+
readonly scope?: 'MINE' | 'PENDING_REVIEW' | (string & {});
|
|
2114
|
+
readonly status?: PraxisAssistantActionProposalStatus;
|
|
2115
|
+
readonly approvalPolicy?: PraxisAssistantActionProposalApprovalPolicy;
|
|
2116
|
+
readonly threadId?: string;
|
|
2117
|
+
readonly organizationId?: string;
|
|
2118
|
+
readonly page?: number;
|
|
2119
|
+
readonly size?: number;
|
|
2120
|
+
}
|
|
2121
|
+
interface OperationalAgentProposalListResponse {
|
|
2122
|
+
readonly items?: readonly OperationalAgentProposalSummaryResponse[];
|
|
2123
|
+
readonly page?: number;
|
|
2124
|
+
readonly size?: number;
|
|
2125
|
+
readonly totalElements?: number;
|
|
2126
|
+
readonly totalPages?: number;
|
|
2127
|
+
readonly hasMore?: boolean;
|
|
2128
|
+
readonly proposals?: readonly PraxisAssistantActionProposalItem[];
|
|
2129
|
+
readonly threadId?: string;
|
|
2130
|
+
}
|
|
2131
|
+
interface OperationalAgentTurnClientOptions {
|
|
2132
|
+
readonly baseUrl?: string;
|
|
2133
|
+
readonly headers?: Record<string, string | undefined>;
|
|
2134
|
+
readonly preserveExplicitContextHeaders?: boolean;
|
|
2135
|
+
readonly streamTimeoutMs?: number;
|
|
2136
|
+
readonly idleTimeoutMs?: number;
|
|
2137
|
+
readonly maxTurnTimeoutMs?: number;
|
|
2138
|
+
readonly onLifecycle?: (event: OperationalAgentTurnLifecycleEvent) => void;
|
|
2139
|
+
}
|
|
2140
|
+
interface OperationalAgentTurnLifecycleEvent {
|
|
2141
|
+
readonly phase: string;
|
|
2142
|
+
readonly transport?: 'event-source' | 'fetch' | string;
|
|
2143
|
+
readonly connectElapsedMs?: number;
|
|
2144
|
+
readonly firstEventSeq?: number | null;
|
|
2145
|
+
readonly firstEventType?: string | null;
|
|
2146
|
+
}
|
|
2147
|
+
type OperationalAgentTurnClientEvent = {
|
|
2148
|
+
readonly kind: 'stream-started';
|
|
2149
|
+
readonly start: OperationalAgentTurnStreamStartResponse;
|
|
2150
|
+
} | {
|
|
2151
|
+
readonly kind: 'stream-lifecycle';
|
|
2152
|
+
readonly start: OperationalAgentTurnStreamStartResponse;
|
|
2153
|
+
readonly lifecycle: OperationalAgentTurnLifecycleEvent;
|
|
2154
|
+
} | {
|
|
2155
|
+
readonly kind: 'stream-event';
|
|
2156
|
+
readonly event: OperationalAgentTurnStreamEnvelope;
|
|
2157
|
+
};
|
|
2158
|
+
|
|
1278
2159
|
interface PatchResult {
|
|
1279
2160
|
success: boolean;
|
|
1280
2161
|
warnings?: string[];
|
|
@@ -1508,8 +2389,8 @@ declare class SchemaMinifierService {
|
|
|
1508
2389
|
*/
|
|
1509
2390
|
toGeminiSchema(fields: Record<string, FieldSchemaLike>): Schema;
|
|
1510
2391
|
private mapTypeToGemini;
|
|
1511
|
-
static ɵfac:
|
|
1512
|
-
static ɵprov:
|
|
2392
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SchemaMinifierService, never>;
|
|
2393
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SchemaMinifierService>;
|
|
1513
2394
|
}
|
|
1514
2395
|
|
|
1515
2396
|
interface PraxisAiConfigSource {
|
|
@@ -1534,12 +2415,12 @@ declare class PraxisAiService {
|
|
|
1534
2415
|
testConnection(apiKey?: string, model?: string): Observable<boolean>;
|
|
1535
2416
|
private resolveProvider;
|
|
1536
2417
|
private isGeminiProvider;
|
|
1537
|
-
static ɵfac:
|
|
1538
|
-
static ɵprov:
|
|
2418
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAiService, [{ optional: true; }]>;
|
|
2419
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PraxisAiService>;
|
|
1539
2420
|
}
|
|
1540
2421
|
|
|
1541
2422
|
declare const AI_INTENT_CONTRACT_VERSION: "v1.1";
|
|
1542
|
-
declare const AI_INTENT_CONTRACT_SCHEMA_HASH: "
|
|
2423
|
+
declare const AI_INTENT_CONTRACT_SCHEMA_HASH: "73cafc059598b3ab8cd508217f80e636fa0293f250fd36fb7bbf3d74ee753559";
|
|
1543
2424
|
type AiSchemaContext = AiSchemaContextContract;
|
|
1544
2425
|
interface AiSuggestionsRequest {
|
|
1545
2426
|
componentId: string;
|
|
@@ -1611,7 +2492,7 @@ interface AgenticAuthoringTurnStreamStartOptions {
|
|
|
1611
2492
|
baseUrl?: string;
|
|
1612
2493
|
headers?: Record<string, string | undefined>;
|
|
1613
2494
|
}
|
|
1614
|
-
type AiPatchStreamConnectionErrorKind = 'unsupported' | 'http_status' | 'transport' | 'parse' | 'schema';
|
|
2495
|
+
type AiPatchStreamConnectionErrorKind = 'unsupported' | 'http_status' | 'transport' | 'timeout' | 'parse' | 'schema';
|
|
1615
2496
|
declare class AiPatchStreamConnectionError extends Error {
|
|
1616
2497
|
readonly kind: AiPatchStreamConnectionErrorKind;
|
|
1617
2498
|
readonly status?: number | undefined;
|
|
@@ -1731,12 +2612,14 @@ declare const AI_BACKEND_STORAGE_OPTIONS: InjectionToken<AiBackendStorageOptions
|
|
|
1731
2612
|
declare const AI_BACKEND_ENDPOINTS: InjectionToken<AiBackendEndpoints>;
|
|
1732
2613
|
declare class AiBackendApiService {
|
|
1733
2614
|
private readonly http;
|
|
2615
|
+
private readonly enterpriseContext;
|
|
1734
2616
|
private readonly globalConfigStore;
|
|
1735
2617
|
private readonly storageOpts;
|
|
1736
2618
|
private readonly endpointOpts;
|
|
1737
2619
|
private readonly apiUrlConfig;
|
|
1738
2620
|
private readonly fallbackAiBaseUrl;
|
|
1739
2621
|
private readonly fallbackAiContextBaseUrl;
|
|
2622
|
+
constructor();
|
|
1740
2623
|
getSuggestions(request: AiSuggestionsRequest): Observable<AiSuggestionsResponse>;
|
|
1741
2624
|
getPatch(request: AiOrchestratorRequest): Observable<AiOrchestratorResponse>;
|
|
1742
2625
|
startPatchStream(request: AiOrchestratorRequest): Observable<AiPatchStreamStartResponse>;
|
|
@@ -1750,6 +2633,9 @@ declare class AiBackendApiService {
|
|
|
1750
2633
|
listProviderCatalog(): Observable<AiProviderCatalogResponse>;
|
|
1751
2634
|
testProvider(request: AiProviderTestRequest): Observable<AiProviderTestResponse>;
|
|
1752
2635
|
getAiStatus(): Observable<AiProviderStatusResponse>;
|
|
2636
|
+
getAudioTranscriptionCapabilities(): Observable<{
|
|
2637
|
+
available: boolean;
|
|
2638
|
+
}>;
|
|
1753
2639
|
transcribeAudio(audio: Blob, fileName: string, language?: string | null): Observable<AiAudioTranscriptionResponse>;
|
|
1754
2640
|
getAiContext(componentId: string, componentType: string): Observable<AiContextDTO>;
|
|
1755
2641
|
getAgenticAuthoringManifest(componentId: string): Observable<AiJsonObject>;
|
|
@@ -1788,8 +2674,8 @@ declare class AiBackendApiService {
|
|
|
1788
2674
|
private probePatchStreamEndpoint;
|
|
1789
2675
|
private buildFetchHeaders;
|
|
1790
2676
|
private hasExplicitHeaders;
|
|
1791
|
-
static ɵfac:
|
|
1792
|
-
static ɵprov:
|
|
2677
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiBackendApiService, never>;
|
|
2678
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AiBackendApiService>;
|
|
1793
2679
|
}
|
|
1794
2680
|
|
|
1795
2681
|
interface PraxisBrowserSpeechTranscriptionOptions {
|
|
@@ -1802,18 +2688,22 @@ interface PraxisBrowserSpeechTranscriptionResult {
|
|
|
1802
2688
|
|
|
1803
2689
|
declare class PraxisGovernedAudioTranscriptionService {
|
|
1804
2690
|
private readonly backend;
|
|
1805
|
-
private
|
|
1806
|
-
private
|
|
1807
|
-
private cancelled;
|
|
2691
|
+
private readonly authority;
|
|
2692
|
+
private activeSession;
|
|
1808
2693
|
isSupported(): boolean;
|
|
1809
|
-
transcribe(options?: PraxisBrowserSpeechTranscriptionOptions): Promise<PraxisBrowserSpeechTranscriptionResult>;
|
|
2694
|
+
transcribe(options?: PraxisBrowserSpeechTranscriptionOptions, onRecording?: () => void): Promise<PraxisBrowserSpeechTranscriptionResult>;
|
|
1810
2695
|
stop(): void;
|
|
1811
2696
|
cancel(): void;
|
|
2697
|
+
private capture;
|
|
2698
|
+
private upload;
|
|
1812
2699
|
private resolveMimeType;
|
|
1813
|
-
private
|
|
2700
|
+
private fail;
|
|
2701
|
+
private abort;
|
|
2702
|
+
private finish;
|
|
2703
|
+
private releaseCapture;
|
|
1814
2704
|
private stopTracks;
|
|
1815
|
-
static ɵfac:
|
|
1816
|
-
static ɵprov:
|
|
2705
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisGovernedAudioTranscriptionService, never>;
|
|
2706
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PraxisGovernedAudioTranscriptionService>;
|
|
1817
2707
|
}
|
|
1818
2708
|
|
|
1819
2709
|
interface AgenticAuthoringTurnClientOptions {
|
|
@@ -1853,8 +2743,15 @@ declare class AgenticAuthoringTurnClientService {
|
|
|
1853
2743
|
private startAuthoringTurnStream;
|
|
1854
2744
|
private isPromiseLike;
|
|
1855
2745
|
private toResultTurn;
|
|
2746
|
+
private toRuntimeValueProposal;
|
|
2747
|
+
private isBlockedOrClarificationTurn;
|
|
2748
|
+
private sanitizeBlockedAssistantMessage;
|
|
2749
|
+
private isFalseExecutionPromiseSentence;
|
|
2750
|
+
private hasBlockedOrReviewExplanation;
|
|
2751
|
+
private toInlineClarificationQuestions;
|
|
1856
2752
|
private isConsultativeCatalogAnswer;
|
|
1857
2753
|
private toShellQuickReplies;
|
|
2754
|
+
private isUnexecutableConfirmationQuickReply;
|
|
1858
2755
|
private toPendingClarification;
|
|
1859
2756
|
private phaseForPayload;
|
|
1860
2757
|
private statusForPayload;
|
|
@@ -1881,14 +2778,51 @@ declare class AgenticAuthoringTurnClientService {
|
|
|
1881
2778
|
private isRedactedDisplayText;
|
|
1882
2779
|
private toJsonObject;
|
|
1883
2780
|
private isRecord;
|
|
1884
|
-
static ɵfac:
|
|
1885
|
-
static ɵprov:
|
|
2781
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AgenticAuthoringTurnClientService, never>;
|
|
2782
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AgenticAuthoringTurnClientService>;
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
declare class OperationalAgentTurnClientService {
|
|
2786
|
+
private readonly http;
|
|
2787
|
+
private readonly storageOpts;
|
|
2788
|
+
private readonly endpointOpts;
|
|
2789
|
+
private readonly apiUrlConfig;
|
|
2790
|
+
private readonly runtimeContext;
|
|
2791
|
+
private readonly fallbackAgentBaseUrl;
|
|
2792
|
+
startTurnStream(request: OperationalAgentTurnStreamRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentTurnStreamStartResponse>;
|
|
2793
|
+
listProposals(queryOrThreadId?: string | OperationalAgentProposalListQuery, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalListResponse>;
|
|
2794
|
+
getProposal(proposalId: string, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalDetailResponse>;
|
|
2795
|
+
confirmActionProposal(proposalId: string, request?: OperationalAgentProposalConfirmRequest, options?: OperationalAgentTurnClientOptions & {
|
|
2796
|
+
readonly ifMatch?: string;
|
|
2797
|
+
readonly idempotencyKey?: string;
|
|
2798
|
+
}): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2799
|
+
completeProposalViaForm(proposalId: string, request?: OperationalAgentProposalExternalCompletionRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2800
|
+
rejectActionProposal(proposalId: string, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2801
|
+
rejectActionProposal(proposalId: string, request: OperationalAgentProposalRejectRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2802
|
+
prepareProposalFromCounterfactual(request: OperationalAgentCounterfactualProposalRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalDetailResponse>;
|
|
2803
|
+
connectTurnStream(streamId: string, lastEventId?: string, accessToken?: string, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentTurnStreamEnvelope>;
|
|
2804
|
+
streamTurn(request: OperationalAgentTurnStreamRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentTurnClientEvent>;
|
|
2805
|
+
cancelTurnStream(streamId: string, accessToken?: string, options?: OperationalAgentTurnClientOptions): Observable<{
|
|
2806
|
+
terminalState?: string;
|
|
2807
|
+
message?: string;
|
|
2808
|
+
}>;
|
|
2809
|
+
private consumeFetchSse;
|
|
2810
|
+
private flushBufferedSseFrames;
|
|
2811
|
+
private resolveAgentBaseUrl;
|
|
2812
|
+
private resolveApiBaseUrl;
|
|
2813
|
+
private buildHttpHeaders;
|
|
2814
|
+
private resolveHeaderMap;
|
|
2815
|
+
private hasExplicitHeaders;
|
|
2816
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OperationalAgentTurnClientService, never>;
|
|
2817
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<OperationalAgentTurnClientService>;
|
|
1886
2818
|
}
|
|
1887
2819
|
|
|
1888
2820
|
interface ValidationContext {
|
|
1889
2821
|
fieldSchemas: Record<string, FieldSchemaLike>;
|
|
1890
2822
|
targetSchemas?: any;
|
|
1891
2823
|
propertySchema: RulePropertySchema;
|
|
2824
|
+
/** Raízes ontológicas permitidas para o recurso (ex.: ['draft', 'current', 'vinculo', 'neighborhood', 'context']) */
|
|
2825
|
+
allowedOntologicalRoots?: string[];
|
|
1892
2826
|
}
|
|
1893
2827
|
declare class AiResponseValidatorService {
|
|
1894
2828
|
/**
|
|
@@ -1908,8 +2842,8 @@ declare class AiResponseValidatorService {
|
|
|
1908
2842
|
private calculateSimilarity;
|
|
1909
2843
|
private levenshteinDistance;
|
|
1910
2844
|
private validatePropertyType;
|
|
1911
|
-
static ɵfac:
|
|
1912
|
-
static ɵprov:
|
|
2845
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiResponseValidatorService, never>;
|
|
2846
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AiResponseValidatorService>;
|
|
1913
2847
|
}
|
|
1914
2848
|
|
|
1915
2849
|
interface PraxisAssistantTurnControllerOptions {
|
|
@@ -1927,8 +2861,8 @@ interface PraxisAssistantTurnControllerOptions {
|
|
|
1927
2861
|
declare class PraxisAssistantTurnOrchestratorService {
|
|
1928
2862
|
private readonly runtimeObservationRegistry;
|
|
1929
2863
|
createController(flow: PraxisAssistantTurnFlow, options?: PraxisAssistantTurnControllerOptions): PraxisAssistantTurnController;
|
|
1930
|
-
static ɵfac:
|
|
1931
|
-
static ɵprov:
|
|
2864
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAssistantTurnOrchestratorService, never>;
|
|
2865
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PraxisAssistantTurnOrchestratorService>;
|
|
1932
2866
|
}
|
|
1933
2867
|
declare class PraxisAssistantTurnController {
|
|
1934
2868
|
private readonly flow;
|
|
@@ -1951,7 +2885,7 @@ declare class PraxisAssistantTurnController {
|
|
|
1951
2885
|
submitPrompt(prompt: string, action?: PraxisAssistantTurnAction): Observable<PraxisAssistantTurnViewState>;
|
|
1952
2886
|
answerClarification(option: PraxisAssistantClarificationOption | string): Observable<PraxisAssistantTurnViewState>;
|
|
1953
2887
|
private semanticClarificationContextHints;
|
|
1954
|
-
apply(): Observable<PraxisAssistantTurnViewState>;
|
|
2888
|
+
apply(contextHints?: Record<string, unknown>): Observable<PraxisAssistantTurnViewState>;
|
|
1955
2889
|
retry(): Observable<PraxisAssistantTurnViewState>;
|
|
1956
2890
|
cancel(): Observable<PraxisAssistantTurnViewState>;
|
|
1957
2891
|
private runFlow;
|
|
@@ -2025,15 +2959,26 @@ interface PraxisAssistantSessionSnapshot {
|
|
|
2025
2959
|
createdAt: string;
|
|
2026
2960
|
updatedAt: string;
|
|
2027
2961
|
}
|
|
2962
|
+
interface PraxisAssistantSessionDismissal {
|
|
2963
|
+
readonly id: string;
|
|
2964
|
+
readonly ownerId: string;
|
|
2965
|
+
readonly ownerType: string;
|
|
2966
|
+
readonly seq: number;
|
|
2967
|
+
}
|
|
2028
2968
|
type PraxisAssistantSessionIdentityRef = string | PraxisAssistantIdentity | PraxisAssistantContextSnapshot;
|
|
2029
2969
|
type PraxisAssistantContextSessionDescriptor = Omit<PraxisAssistantSessionDescriptor, 'id' | 'ownerId' | 'ownerType' | 'title' | 'contextSnapshot'> & {
|
|
2030
2970
|
title?: string;
|
|
2031
2971
|
};
|
|
2032
2972
|
declare class PraxisAssistantSessionRegistryService {
|
|
2973
|
+
private dismissalSeq;
|
|
2033
2974
|
private readonly sessionsState;
|
|
2034
|
-
readonly
|
|
2035
|
-
readonly
|
|
2036
|
-
readonly
|
|
2975
|
+
private readonly lastDismissedSessionState;
|
|
2976
|
+
private readonly dismissedSessionSeqsState;
|
|
2977
|
+
readonly sessions: _angular_core.Signal<PraxisAssistantSessionSnapshot[]>;
|
|
2978
|
+
readonly lastDismissedSession: _angular_core.Signal<PraxisAssistantSessionDismissal | null>;
|
|
2979
|
+
readonly dismissedSessionSeqs: _angular_core.Signal<Readonly<Record<string, number>>>;
|
|
2980
|
+
readonly activeSession: _angular_core.Signal<PraxisAssistantSessionSnapshot | null>;
|
|
2981
|
+
readonly minimizedSessions: _angular_core.Signal<PraxisAssistantSessionSnapshot[]>;
|
|
2037
2982
|
upsertSession(descriptor: PraxisAssistantSessionDescriptor): PraxisAssistantSessionSnapshot;
|
|
2038
2983
|
upsertContextSession(contextSnapshot: PraxisAssistantContextSnapshot, descriptor?: PraxisAssistantContextSessionDescriptor): PraxisAssistantSessionSnapshot;
|
|
2039
2984
|
openSession(sessionId: string): PraxisAssistantSessionSnapshot | null;
|
|
@@ -2041,6 +2986,9 @@ declare class PraxisAssistantSessionRegistryService {
|
|
|
2041
2986
|
minimizeSession(sessionId: string): PraxisAssistantSessionSnapshot | null;
|
|
2042
2987
|
minimizeContextSession(identity: PraxisAssistantSessionIdentityRef): PraxisAssistantSessionSnapshot | null;
|
|
2043
2988
|
removeSession(sessionId: string): void;
|
|
2989
|
+
dismissSession(sessionId: string): PraxisAssistantSessionSnapshot | null;
|
|
2990
|
+
dismissContextSession(identity: PraxisAssistantSessionIdentityRef): PraxisAssistantSessionSnapshot | null;
|
|
2991
|
+
getSessionDismissalSeq(sessionId: string): number;
|
|
2044
2992
|
removeContextSession(identity: PraxisAssistantSessionIdentityRef): void;
|
|
2045
2993
|
getSession(sessionId: string): PraxisAssistantSessionSnapshot | null;
|
|
2046
2994
|
getContextSession(identity: PraxisAssistantSessionIdentityRef): PraxisAssistantSessionSnapshot | null;
|
|
@@ -2051,8 +2999,8 @@ declare class PraxisAssistantSessionRegistryService {
|
|
|
2051
2999
|
private assertContextIdentity;
|
|
2052
3000
|
private toShellContextItems;
|
|
2053
3001
|
private sortSessions;
|
|
2054
|
-
static ɵfac:
|
|
2055
|
-
static ɵprov:
|
|
3002
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAssistantSessionRegistryService, never>;
|
|
3003
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PraxisAssistantSessionRegistryService>;
|
|
2056
3004
|
}
|
|
2057
3005
|
|
|
2058
3006
|
type AssistantMessageRole = 'user' | 'assistant' | 'system';
|
|
@@ -2060,6 +3008,8 @@ interface AssistantHistoryMessage {
|
|
|
2060
3008
|
id: string;
|
|
2061
3009
|
role: AssistantMessageRole;
|
|
2062
3010
|
text: string;
|
|
3011
|
+
attachments?: readonly PraxisAssistantAttachmentSummary[];
|
|
3012
|
+
assistantContent?: Readonly<Record<string, unknown>> | null;
|
|
2063
3013
|
createdAt: string;
|
|
2064
3014
|
context?: {
|
|
2065
3015
|
componentId?: string;
|
|
@@ -2067,6 +3017,8 @@ interface AssistantHistoryMessage {
|
|
|
2067
3017
|
variantId?: string;
|
|
2068
3018
|
suggestionId?: string;
|
|
2069
3019
|
usedRag?: boolean;
|
|
3020
|
+
retentionPolicy?: 'standard' | 'zero';
|
|
3021
|
+
ephemeral?: boolean;
|
|
2070
3022
|
};
|
|
2071
3023
|
}
|
|
2072
3024
|
interface AssistantHistorySession {
|
|
@@ -2082,9 +3034,69 @@ interface AssistantHistorySession {
|
|
|
2082
3034
|
updatedAt: string;
|
|
2083
3035
|
messages: AssistantHistoryMessage[];
|
|
2084
3036
|
summary?: string;
|
|
3037
|
+
retentionPolicy?: 'standard' | 'zero';
|
|
3038
|
+
ephemeral?: boolean;
|
|
3039
|
+
}
|
|
3040
|
+
interface AssistantHistoryIndex {
|
|
3041
|
+
version: 1;
|
|
3042
|
+
tenantId: string;
|
|
3043
|
+
env: string;
|
|
3044
|
+
userId: string;
|
|
3045
|
+
sessions: Array<{
|
|
3046
|
+
id: string;
|
|
3047
|
+
title: string;
|
|
3048
|
+
updatedAt: string;
|
|
3049
|
+
componentId?: string;
|
|
3050
|
+
componentType?: string;
|
|
3051
|
+
}>;
|
|
2085
3052
|
}
|
|
2086
3053
|
interface AssistantHistoryContext extends AiHeaderContext {
|
|
2087
3054
|
storageAvailable: boolean;
|
|
3055
|
+
retentionPolicy?: 'standard' | 'zero';
|
|
3056
|
+
ephemeral?: boolean;
|
|
3057
|
+
}
|
|
3058
|
+
declare class AssistantHistoryService {
|
|
3059
|
+
private readonly aiApi;
|
|
3060
|
+
private readonly storageAvailable;
|
|
3061
|
+
getContext(): AssistantHistoryContext;
|
|
3062
|
+
listSessions(context: AssistantHistoryContext, limit?: number): AssistantHistoryIndex['sessions'];
|
|
3063
|
+
getSession(sessionId: string, context?: AssistantHistoryContext): AssistantHistorySession | null;
|
|
3064
|
+
createSession(context: AssistantHistoryContext, componentId?: string | null, componentType?: string | null, title?: string): AssistantHistorySession | null;
|
|
3065
|
+
addMessage(context: AssistantHistoryContext, sessionId: string, role: AssistantMessageRole, text: string, meta?: AssistantHistoryMessage['context'], assistantContent?: Readonly<Record<string, unknown>> | null, attachments?: readonly PraxisAssistantAttachmentSummary[] | null): AssistantHistorySession | null;
|
|
3066
|
+
touchSession(context: AssistantHistoryContext, sessionId: string): void;
|
|
3067
|
+
updateServerSessionId(context: AssistantHistoryContext, sessionId: string, serverSessionId: string | null): AssistantHistorySession | null;
|
|
3068
|
+
deleteSession(context: AssistantHistoryContext, sessionId: string): boolean;
|
|
3069
|
+
restoreSession(context: AssistantHistoryContext, session: AssistantHistorySession, touchUpdatedAt?: boolean): AssistantHistorySession | null;
|
|
3070
|
+
clearHistory(context: AssistantHistoryContext): void;
|
|
3071
|
+
private saveSession;
|
|
3072
|
+
private ensureIndex;
|
|
3073
|
+
private pruneOldSessions;
|
|
3074
|
+
private purgeSession;
|
|
3075
|
+
private hasSensitiveDocumentEvidence;
|
|
3076
|
+
private sessionHasSensitiveDocumentEvidence;
|
|
3077
|
+
private matchesContext;
|
|
3078
|
+
private indexKey;
|
|
3079
|
+
private sessionKey;
|
|
3080
|
+
private normalizeTitle;
|
|
3081
|
+
private normalizeSummary;
|
|
3082
|
+
private sanitizeForStorage;
|
|
3083
|
+
private sanitizeSession;
|
|
3084
|
+
private sanitizeAssistantContentForStorage;
|
|
3085
|
+
private sanitizeOperationalBlock;
|
|
3086
|
+
private sanitizeAttachmentsForStorage;
|
|
3087
|
+
private sanitizeOperationalValue;
|
|
3088
|
+
private isValidMod11TaxDigits;
|
|
3089
|
+
private isValidMod11CnpjDigits;
|
|
3090
|
+
private sanitizeInlineSegmentForStorage;
|
|
3091
|
+
private sanitizeIndexTitles;
|
|
3092
|
+
private isDefaultTitle;
|
|
3093
|
+
private readJson;
|
|
3094
|
+
private writeJson;
|
|
3095
|
+
private removeItem;
|
|
3096
|
+
private checkStorage;
|
|
3097
|
+
private generateId;
|
|
3098
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AssistantHistoryService, never>;
|
|
3099
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AssistantHistoryService>;
|
|
2088
3100
|
}
|
|
2089
3101
|
|
|
2090
3102
|
type AssistantState = 'idle' | 'listening' | 'clarification' | 'processing' | 'review' | 'applying' | 'success' | 'error';
|
|
@@ -2480,10 +3492,277 @@ declare class PraxisAiAssistantComponent implements OnDestroy {
|
|
|
2480
3492
|
private shouldSubmitFromKeydown;
|
|
2481
3493
|
private restoreFocusToTrigger;
|
|
2482
3494
|
private normalizeError;
|
|
2483
|
-
static ɵfac:
|
|
2484
|
-
static ɵcmp:
|
|
3495
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAiAssistantComponent, never>;
|
|
3496
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAiAssistantComponent, "praxis-ai-assistant", never, { "adapter": { "alias": "adapter"; "required": true; }; "riskPolicy": { "alias": "riskPolicy"; "required": false; }; "allowManualPatchEdit": { "alias": "allowManualPatchEdit"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; }, {}, never, never, true, never>;
|
|
2485
3497
|
}
|
|
2486
3498
|
|
|
3499
|
+
declare const ASSISTANT_ATTACHMENTS_PT_BR: {
|
|
3500
|
+
readonly dropzoneTitle: "Solte os arquivos para anexar ao pedido";
|
|
3501
|
+
readonly dropzoneSubtitle: "PDF, DOCX, planilhas, JSON, Markdown ou imagens suportadas.";
|
|
3502
|
+
readonly attachmentStatusUploading: "Enviando {percent}%";
|
|
3503
|
+
readonly attachmentStatusUploadingIndeterminate: "Enviando...";
|
|
3504
|
+
readonly attachmentStatusScanning: "Enviado — verificando segurança...";
|
|
3505
|
+
readonly attachmentStatusReady: "Pronto";
|
|
3506
|
+
readonly attachmentStatusError: "Falha no envio";
|
|
3507
|
+
readonly attachmentRetry: "Tentar novamente";
|
|
3508
|
+
readonly attachmentPreview: "Visualizar arquivo com segurança";
|
|
3509
|
+
readonly attachmentRemoveLabel: "Remover anexo {name}";
|
|
3510
|
+
readonly attachmentsCountHeader: "Anexos selecionados ({count})";
|
|
3511
|
+
readonly threadAttachmentsLabel: "Anexos na conversa ({count})";
|
|
3512
|
+
readonly threadAttachmentDetach: "Desvincular {name} da conversa";
|
|
3513
|
+
readonly threadAttachmentTainted: "Conteúdo restrito";
|
|
3514
|
+
readonly retryTurnLabel: "Tentar novamente";
|
|
3515
|
+
readonly cancelTurnLabel: "Cancelar pedido";
|
|
3516
|
+
readonly endTurnLabel: "Encerrar pedido";
|
|
3517
|
+
readonly attachmentSubmitBlockedUploading: "Aguarde a conclusão do envio dos anexos antes de enviar.";
|
|
3518
|
+
readonly attachmentSubmitBlockedError: "Remova ou reenvie os anexos com falha antes de enviar.";
|
|
3519
|
+
readonly attachmentRejectedType: "Arquivo ignorado ({name}): tipo não aceito pela política de anexos.";
|
|
3520
|
+
readonly attachmentLiveAdded: "Anexo adicionado: {name}.";
|
|
3521
|
+
readonly attachmentLiveUploaded: "Anexo pronto: {name}.";
|
|
3522
|
+
readonly attachmentLiveFailed: "Falha ao enviar anexo {name}: {reason}";
|
|
3523
|
+
readonly attachmentLiveRemoved: "Anexo removido: {name}.";
|
|
3524
|
+
readonly messageAttachmentsLabel: "Arquivos anexados";
|
|
3525
|
+
readonly attachmentKindPdf: "PDF";
|
|
3526
|
+
readonly attachmentKindDocument: "DOC";
|
|
3527
|
+
readonly attachmentKindSpreadsheet: "Planilha";
|
|
3528
|
+
readonly attachmentKindJson: "JSON";
|
|
3529
|
+
readonly attachmentKindImage: "Imagem";
|
|
3530
|
+
readonly attachmentKindText: "Texto";
|
|
3531
|
+
readonly attachmentKindFile: "Arquivo";
|
|
3532
|
+
readonly processingStatusInitial: "Interpretando o pedido e organizando as informações da tela.";
|
|
3533
|
+
readonly processingStatus5s: "Consultando o domínio e conferindo o que pode ser criado com segurança.";
|
|
3534
|
+
readonly processingStatus12s: "Ainda preparando a resposta com as informações disponíveis.";
|
|
3535
|
+
readonly processingStatus30s: "Ainda preparando a resposta. Você pode cancelar e tentar novamente se precisar.";
|
|
3536
|
+
readonly primaryActionProcessing: "Interpretando...";
|
|
3537
|
+
readonly primaryActionClarification: "Responder";
|
|
3538
|
+
readonly primaryActionReview: "Refinar pedido";
|
|
3539
|
+
readonly primaryActionApplying: "Aplicando...";
|
|
3540
|
+
readonly primaryActionError: "Corrigir pedido";
|
|
3541
|
+
};
|
|
3542
|
+
type AssistantAttachmentI18nKey = keyof typeof ASSISTANT_ATTACHMENTS_PT_BR;
|
|
3543
|
+
declare const ASSISTANT_ATTACHMENTS_EN_US: Record<AssistantAttachmentI18nKey, string>;
|
|
3544
|
+
declare function resolveAssistantAttachmentText(i18n: PraxisI18nService | null | undefined, key: AssistantAttachmentI18nKey, params?: Readonly<Record<string, string | number>>): string;
|
|
3545
|
+
|
|
3546
|
+
declare const ASSISTANT_OPERATIONAL_PT_BR: {
|
|
3547
|
+
readonly alertsDefaultTitle: "Alertas operacionais";
|
|
3548
|
+
readonly actionsDefaultTitle: "Ações disponíveis";
|
|
3549
|
+
readonly collectionDefaultTitle: "Registros encontrados";
|
|
3550
|
+
readonly collectionEmpty: "Nenhum registro retornado para esta consulta.";
|
|
3551
|
+
readonly collectionShowingTopRows: "Exibindo {shown} de {total} registros";
|
|
3552
|
+
readonly openFullCollection: "Abrir listagem completa";
|
|
3553
|
+
readonly widgetUnavailable: "Conteúdo estruturado indisponível neste contexto.";
|
|
3554
|
+
readonly severityCritical: "Crítico";
|
|
3555
|
+
readonly severityError: "Alto";
|
|
3556
|
+
readonly severityWarning: "Alerta";
|
|
3557
|
+
readonly severityInfo: "Informativo";
|
|
3558
|
+
readonly disambiguationHint: "Selecionar registro";
|
|
3559
|
+
readonly calculationDefaultTitle: "Memória de cálculo";
|
|
3560
|
+
readonly calculationLegalBasisLabel: "Base legal";
|
|
3561
|
+
readonly calculationRuleLabel: "Regra";
|
|
3562
|
+
readonly calcResultDefaultLabel: "Resultado";
|
|
3563
|
+
readonly calculationEmpty: "Nenhuma trilha de cálculo disponível para este registro.";
|
|
3564
|
+
readonly citationsDefaultTitle: "Base normativa e regras aplicáveis";
|
|
3565
|
+
readonly citationOpenRoute: "Abrir consulta relacionada";
|
|
3566
|
+
readonly sourceKindStatute: "Norma / Estatuto";
|
|
3567
|
+
readonly sourceKindDomainRule: "Regra de Domínio";
|
|
3568
|
+
readonly sourceKindRuntimeRule: "Regra Executável";
|
|
3569
|
+
readonly sourceKindErrorCatalog: "Catálogo de Motivos";
|
|
3570
|
+
readonly chartDefaultTitle: "Gráfico analítico";
|
|
3571
|
+
readonly chartEmpty: "Sem pontos para exibir no gráfico.";
|
|
3572
|
+
readonly booleanYes: "Sim";
|
|
3573
|
+
readonly booleanNo: "Não";
|
|
3574
|
+
readonly simulationDefaultTitle: "Simulação prévia";
|
|
3575
|
+
readonly simulationBadge: "Simulação não persistida";
|
|
3576
|
+
readonly simulationIssuesTitle: "Pendências identificadas no rascunho";
|
|
3577
|
+
readonly proposalsDefaultTitle: "Propostas governadas aguardando confirmação";
|
|
3578
|
+
readonly proposalMissingFieldsLabel: "Campos obrigatórios pendentes";
|
|
3579
|
+
readonly proposalVersionLabel: "Versão capturada";
|
|
3580
|
+
readonly proposalStateLabel: "Situação atual";
|
|
3581
|
+
readonly proposalOrgPrefix: "Org {id}";
|
|
3582
|
+
readonly proposalExpiredNote: "O prazo de validade desta proposta expirou. Revalide com o estado atual antes de executar.";
|
|
3583
|
+
readonly proposalConfirmButton: "Confirmar execução";
|
|
3584
|
+
readonly proposalConfirmBusy: "Confirmando...";
|
|
3585
|
+
readonly proposalOpenFormButton: "Revisar no formulário";
|
|
3586
|
+
readonly proposalRejectButton: "Descartar";
|
|
3587
|
+
readonly proposalRevalidateButton: "Revalidar com estado atual";
|
|
3588
|
+
readonly proposalStatusPending: "Pendente de confirmação";
|
|
3589
|
+
readonly proposalStatusWaitingPrerequisite: "Aguardando etapa anterior";
|
|
3590
|
+
readonly proposalStatusExecuting: "Em execução";
|
|
3591
|
+
readonly proposalWaitingPrerequisiteNotice: "Aguardando confirmação da etapa prévia ({prerequisite}) para preencher {field}.";
|
|
3592
|
+
readonly proposalFourEyesBadge: "4-Olhos · 2º aprovador";
|
|
3593
|
+
readonly proposalStepOrderBadge: "Etapa {order}";
|
|
3594
|
+
readonly proposalFourEyesWaitingNote: "Aguardando aprovação de 2º usuário autorizado (4-Olhos). Use Atualizar status após a revisão.";
|
|
3595
|
+
readonly proposalRefreshStatusButton: "Atualizar status";
|
|
3596
|
+
readonly proposalResultingEntityLabel: "Registro gerado";
|
|
3597
|
+
readonly proposalRejectReasonLabel: "Motivo da recusa (opcional)";
|
|
3598
|
+
readonly proposalRejectReasonPlaceholder: "Informe justificativa para registro em auditoria...";
|
|
3599
|
+
readonly proposalRejectConfirmButton: "Confirmar descarte";
|
|
3600
|
+
readonly proposalRejectCancelButton: "Voltar";
|
|
3601
|
+
readonly proposalSourceAttachmentsLabel: "Anexos fonte";
|
|
3602
|
+
readonly documentEvidenceDefaultTitle: "Evidência documental";
|
|
3603
|
+
readonly documentEvidencePages: "{count} pág.";
|
|
3604
|
+
readonly documentEvidenceModeLabel: "Extração";
|
|
3605
|
+
readonly documentEvidenceModeDigitalText: "Texto digital";
|
|
3606
|
+
readonly documentEvidenceModeOcrStructured: "OCR estruturado";
|
|
3607
|
+
readonly documentEvidenceModeSpreadsheetTables: "Planilhas e tabelas";
|
|
3608
|
+
readonly documentEvidenceModePlainText: "Texto simples";
|
|
3609
|
+
readonly documentEvidenceModeVisualOnly: "Visão isolada";
|
|
3610
|
+
readonly documentEvidenceModeUnsupported: "Formato não suportado";
|
|
3611
|
+
readonly documentEvidenceModeText: "Texto estruturado";
|
|
3612
|
+
readonly documentEvidenceModeVisual: "Visão isolada";
|
|
3613
|
+
readonly documentEvidenceModeOcr: "OCR governado";
|
|
3614
|
+
readonly documentEvidenceModeHybrid: "Híbrido";
|
|
3615
|
+
readonly documentEvidenceClassPublicOfficial: "Ato oficial público";
|
|
3616
|
+
readonly documentEvidenceClassInternal: "Operacional interno";
|
|
3617
|
+
readonly documentEvidenceClassPersonalLgpd: "Dado pessoal (LGPD)";
|
|
3618
|
+
readonly documentEvidenceClassConfidentialFinancial: "Financeiro confidencial";
|
|
3619
|
+
readonly documentEvidenceClassSensitiveRestricted: "Sensível restrito";
|
|
3620
|
+
readonly documentEvidenceScannedBadge: "Digitalizado";
|
|
3621
|
+
readonly documentEvidenceSovereignBadge: "Somente provedor soberano";
|
|
3622
|
+
readonly documentEvidenceTaintedTitle: "Conteúdo não confiável detectado";
|
|
3623
|
+
readonly documentEvidenceTaintedBody: "Mutações automáticas estão restringidas neste turno até revisão humana explícita da evidência.";
|
|
3624
|
+
readonly documentEvidenceVisualPagesLabel: "Páginas inspecionadas visualmente";
|
|
3625
|
+
readonly documentEvidenceChecksumLabel: "Código de verificação";
|
|
3626
|
+
readonly documentEvidenceCopyChecksum: "Copiar código de verificação";
|
|
3627
|
+
readonly documentEvidenceChecksumCopied: "Código copiado";
|
|
3628
|
+
readonly documentEvidenceChecksumFailed: "Falha ao copiar código";
|
|
3629
|
+
readonly documentEvidencePreviewButton: "Visualizar documento";
|
|
3630
|
+
readonly documentEvidenceSignaturesLabel: "Indicadores de assinatura";
|
|
3631
|
+
readonly documentEvidenceWarningsLabel: "Alertas da evidência";
|
|
3632
|
+
readonly documentEvidenceStatusProcessed: "Processado";
|
|
3633
|
+
readonly documentEvidenceStatusVerified: "Verificado";
|
|
3634
|
+
readonly documentEvidenceStatusReviewRequired: "Revisão necessária";
|
|
3635
|
+
readonly documentEvidenceStatusBlocked: "Bloqueado por política";
|
|
3636
|
+
readonly documentEvidenceStatusQuarantined: "Em quarentena";
|
|
3637
|
+
readonly documentEvidenceAlertBlockedBody: "A análise deste documento foi bloqueada por política de governança ou segurança.";
|
|
3638
|
+
readonly documentEvidenceAlertQuarantinedBody: "Documento em quarentena; requer confirmação humana explícita antes de prosseguir.";
|
|
3639
|
+
readonly documentEvidenceAlertReviewRequiredBody: "Evidência requer revisão humana antes de confirmar ações dependentes.";
|
|
3640
|
+
readonly documentEvidenceVerificationVerified: "Verificado externamente";
|
|
3641
|
+
readonly documentEvidenceVerificationNotFound: "Não encontrado no registro oficial";
|
|
3642
|
+
readonly documentEvidenceVerificationMismatch: "Divergência no registro oficial";
|
|
3643
|
+
readonly documentEvidenceVerificationUnavailable: "Verificação indisponível · revisão humana";
|
|
3644
|
+
readonly documentEvidenceProtocolLabel: "Protocolo";
|
|
3645
|
+
readonly documentEvidenceCitedPagesLabel: "Páginas citadas";
|
|
3646
|
+
readonly proposalStatusBlocked: "Bloqueada";
|
|
3647
|
+
readonly proposalStatusConfirmed: "Confirmada";
|
|
3648
|
+
readonly proposalStatusStale: "Desatualizada";
|
|
3649
|
+
readonly proposalStatusExpired: "Expirada";
|
|
3650
|
+
readonly proposalStatusRejected: "Descartada";
|
|
3651
|
+
readonly proposalRiskLow: "Baixo risco";
|
|
3652
|
+
readonly proposalRiskMedium: "Risco moderado";
|
|
3653
|
+
readonly proposalRiskHigh: "Alto risco";
|
|
3654
|
+
readonly proposalRiskCritical: "Risco crítico";
|
|
3655
|
+
readonly proposalBulkBadge: "Lote";
|
|
3656
|
+
readonly proposalBulkModeUniform: "Edição uniforme";
|
|
3657
|
+
readonly proposalBulkModePerItem: "Edição por item";
|
|
3658
|
+
readonly proposalBulkModeCommand: "Comando coletivo";
|
|
3659
|
+
readonly proposalBulkTotalsTarget: "Alvos";
|
|
3660
|
+
readonly proposalBulkTotalsExecutable: "Elegíveis";
|
|
3661
|
+
readonly proposalBulkTotalsBlocked: "Impedidos";
|
|
3662
|
+
readonly proposalBulkSampleHeading: "Amostra da seleção";
|
|
3663
|
+
readonly proposalBulkReviewButton: "Revisar Lote no Modal";
|
|
3664
|
+
readonly proposalBulkFillAndReviewButton: "Preencher e Revisar Lote";
|
|
3665
|
+
readonly proposalBulkTrackButton: "Acompanhar Execução";
|
|
3666
|
+
readonly epistemicDefaultTitle: "Evidência analítica e escopo epistêmico";
|
|
3667
|
+
readonly epistemicKindDeterministicLaw: "Regra Determinística";
|
|
3668
|
+
readonly epistemicKindCalibratedProbability: "Probabilidade Calibrada";
|
|
3669
|
+
readonly epistemicKindStochasticSimulation: "Simulação de Cenários";
|
|
3670
|
+
readonly epistemicKindCausalHypothesis: "Hipótese Causal";
|
|
3671
|
+
readonly epistemicKindOptimizationResult: "Otimização Condicionada";
|
|
3672
|
+
readonly epistemicStateAvailable: "Disponível";
|
|
3673
|
+
readonly epistemicStateInsufficientSample: "Amostra Insuficiente";
|
|
3674
|
+
readonly epistemicStateKAnonymitySuppressed: "Protegido por Sigilo Estatístico";
|
|
3675
|
+
readonly epistemicStateEngineUnavailable: "Motor Indisponível";
|
|
3676
|
+
readonly epistemicStateDegraded: "Degradado";
|
|
3677
|
+
readonly epistemicNextStepLabel: "Próximo passo recomendado";
|
|
3678
|
+
readonly epistemicNextStepInsufficientSample: "Amplie o período, afrouxe filtros restritivos ou consulte a série agregada antes de tirar conclusões.";
|
|
3679
|
+
readonly epistemicNextStepKAnonymitySuppressed: "Agrupe em uma dimensão mais ampla para preservar o sigilo estatístico sem expor grupos pequenos.";
|
|
3680
|
+
readonly epistemicNextStepEngineUnavailable: "Tente novamente em instantes ou execute uma consulta analítica verificada enquanto o serviço estatístico é restabelecido.";
|
|
3681
|
+
readonly epistemicNextStepDegraded: "Resultados parciais ou degradados; valide os parâmetros aplicados antes de decisões operacionais.";
|
|
3682
|
+
readonly epistemicNextStepTaintedBlocked: "Bloqueio de segurança ativo: inicie um novo turno limpo com instrução direta ao registro confirmado antes de propor alterações.";
|
|
3683
|
+
readonly epistemicSuppressedCellsAlert: "Sigilo estatístico: {count} grupo(s) omitido(s) por conterem poucos registros.";
|
|
3684
|
+
readonly epistemicSampleSize: "Base analisada: {count}";
|
|
3685
|
+
readonly epistemicFdrQValue: "Índice de confiança {value}";
|
|
3686
|
+
readonly epistemicSignificantYes: "Estatisticamente relevante";
|
|
3687
|
+
readonly epistemicSignificantNo: "Sem relevância estatística";
|
|
3688
|
+
readonly epistemicRowsScanned: "Registros: {count}";
|
|
3689
|
+
readonly epistemicGroupsEvaluated: "Coortes: {count}";
|
|
3690
|
+
readonly epistemicFindings: "Achados: {count}";
|
|
3691
|
+
readonly epistemicCriticalFindings: "Críticos: {count}";
|
|
3692
|
+
readonly epistemicWarningFindings: "Alertas: {count}";
|
|
3693
|
+
readonly epistemicExposure: "Exposição: {amount}";
|
|
3694
|
+
readonly epistemicTruncatedNotice: "Varredura limitada ao teto máximo de achados configurados; refine os filtros para inspeção exaustiva.";
|
|
3695
|
+
readonly epistemicNigriniLabel: "Nigrini-Benford";
|
|
3696
|
+
readonly epistemicNigriniMadValue: "MAD {mad}";
|
|
3697
|
+
readonly epistemicNigriniCloseConformity: "Conformidade estreita";
|
|
3698
|
+
readonly epistemicNigriniAcceptableConformity: "Conformidade aceitável";
|
|
3699
|
+
readonly epistemicNigriniMarginalConformity: "Conformidade marginal";
|
|
3700
|
+
readonly epistemicNigriniNonConformity: "Não conformidade";
|
|
3701
|
+
readonly epistemicModelCard: "Modelo {id}";
|
|
3702
|
+
readonly epistemicProvenanceHash: "Código de verificação";
|
|
3703
|
+
readonly epistemicCopyHash: "Copiar código de verificação";
|
|
3704
|
+
readonly epistemicCopyHashDone: "Código copiado";
|
|
3705
|
+
readonly epistemicCopyHashFailed: "Falha ao copiar código";
|
|
3706
|
+
readonly epistemicErrorCodeLabel: "Código";
|
|
3707
|
+
readonly provenanceAccordionTitle: "Filtros travados, parâmetros e origem";
|
|
3708
|
+
readonly provenanceVerifiedBadge: "Consulta Verificada";
|
|
3709
|
+
readonly provenanceExploratoryBadge: "Análise Exploratória";
|
|
3710
|
+
readonly provenanceRecipeLabel: "Consulta";
|
|
3711
|
+
readonly provenanceVersionLabel: "Versão";
|
|
3712
|
+
readonly provenanceTierLabel: "Governança";
|
|
3713
|
+
readonly provenanceDigestLabel: "Código de verificação";
|
|
3714
|
+
readonly provenanceLockedFiltersTitle: "Filtros travados no servidor";
|
|
3715
|
+
readonly provenanceAppliedParamsTitle: "Parâmetros aplicados";
|
|
3716
|
+
readonly provenanceNoParams: "Sem parâmetros adicionais.";
|
|
3717
|
+
readonly provenanceCopyDigest: "Copiar código de verificação";
|
|
3718
|
+
readonly provenanceCopyDigestDone: "Código copiado";
|
|
3719
|
+
readonly provenanceCopyDigestFailed: "Falha ao copiar código";
|
|
3720
|
+
readonly provenanceEpistemicSectionTitle: "Envelope epistêmico do gráfico";
|
|
3721
|
+
readonly epistemicNextStepAnchorRevalidationDegraded: "Divergência detectada na revalidação das âncoras determinísticas: execute nova simulação após reconciliar os parâmetros base.";
|
|
3722
|
+
readonly epistemicNextStepDriftCircuitOpen: "Disjuntor de drift aberto: verifique mudanças recentes na distribuição ou recalibre o modelo antes de prosseguir.";
|
|
3723
|
+
readonly epistemicNextStepNonConvergentOptimizer: "O otimizador contrafactual não convergiu dentro das restrições atuais: amplie os limites permitidos das alavancas ou revise a meta.";
|
|
3724
|
+
readonly epistemicNextStepAllCandidatesRejected: "Nenhuma alternativa passou pelas regras determinísticas de validação: revise restrições normativas ou defina uma meta intermediária.";
|
|
3725
|
+
readonly epistemicNextStepDegradedInsufficientSample: "Amostra insuficiente para estabilidade confiável: amplie o recorte ou relaxe filtros antes de utilizar a projeção.";
|
|
3726
|
+
readonly epistemicScenarios: "{count} cenários";
|
|
3727
|
+
readonly epistemicHorizonPeriods: "Horizonte: {count} períodos";
|
|
3728
|
+
readonly epistemicAnchorsValidated: "Âncoras determinísticas validadas";
|
|
3729
|
+
readonly epistemicAnchorsDiverged: "Divergência nas âncoras determinísticas";
|
|
3730
|
+
readonly epistemicValidatedCandidates: "Validadas: {count}";
|
|
3731
|
+
readonly epistemicExcludedCandidates: "Excluídas por regras: {count}";
|
|
3732
|
+
readonly epistemicAdvisoryOnlyPill: "Somente recomendação · requer aprovação humana";
|
|
3733
|
+
readonly counterfactualDefaultTitle: "Alternativas Contrafactuais Governadas";
|
|
3734
|
+
readonly counterfactualGovernanceBanner: "Somente recomendação consultiva — requer aprovação humana explícita; nenhuma mutação automática é aplicada.";
|
|
3735
|
+
readonly counterfactualBaselineLabel: "Linha base";
|
|
3736
|
+
readonly counterfactualTargetLabel: "Meta";
|
|
3737
|
+
readonly counterfactualConverged: "Convergiu";
|
|
3738
|
+
readonly counterfactualNotConverged: "Não convergiu";
|
|
3739
|
+
readonly counterfactualValidatedBadge: "Validado pelo motor de regras";
|
|
3740
|
+
readonly counterfactualDirectionMaximize: "Maximizar";
|
|
3741
|
+
readonly counterfactualDirectionMinimize: "Minimizar";
|
|
3742
|
+
readonly counterfactualDirectionTarget: "Atingir meta";
|
|
3743
|
+
readonly counterfactualRankLabel: "Opção #{rank}";
|
|
3744
|
+
readonly counterfactualPredictedValue: "Resultado previsto";
|
|
3745
|
+
readonly counterfactualPredictedDelta: "Variação prevista";
|
|
3746
|
+
readonly counterfactualDistanceScore: "Distância";
|
|
3747
|
+
readonly counterfactualLeverChangesTitle: "Alavancas sugeridas";
|
|
3748
|
+
readonly counterfactualContributionLabel: "contribuição: {value}";
|
|
3749
|
+
readonly counterfactualRuleMessagesTitle: "Validações de regras determinísticas";
|
|
3750
|
+
readonly counterfactualSuggestedActionFallback: "Abrir revisão guiada";
|
|
3751
|
+
readonly counterfactualPrepareProposalButton: "Preparar proposta governada";
|
|
3752
|
+
readonly surfaceStatusLoading: "Atualizando ao vivo...";
|
|
3753
|
+
readonly surfaceStatusReady: "Pronto";
|
|
3754
|
+
readonly surfaceStatusDegraded: "Degradado";
|
|
3755
|
+
readonly surfaceStatusError: "Falha na geração";
|
|
3756
|
+
readonly surfaceStatusBlocked: "Bloqueado por segurança";
|
|
3757
|
+
readonly surfaceDefaultTitle: "Painel analítico";
|
|
3758
|
+
readonly surfaceScenariosHint: "{count} cenários";
|
|
3759
|
+
readonly surfaceHorizonHint: "Horizonte: {count} períodos";
|
|
3760
|
+
readonly surfaceErrorCodeHint: "Código: {code}";
|
|
3761
|
+
};
|
|
3762
|
+
type AssistantOperationalBlockI18nKey = keyof typeof ASSISTANT_OPERATIONAL_PT_BR;
|
|
3763
|
+
declare const ASSISTANT_OPERATIONAL_EN_US: Record<AssistantOperationalBlockI18nKey, string>;
|
|
3764
|
+
declare function resolveAssistantOperationalText(i18n: PraxisI18nService | null | undefined, key: AssistantOperationalBlockI18nKey, params?: Readonly<Record<string, string | number>>): string;
|
|
3765
|
+
|
|
2487
3766
|
type ResizeDirection = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
|
|
2488
3767
|
type QuickReplyPresentationItem = PraxisAssistantShellQuickReplyPresentationItem & {
|
|
2489
3768
|
key: 'bestFor' | 'returns' | 'nextStep' | string;
|
|
@@ -2509,15 +3788,62 @@ interface AssistantContentResource {
|
|
|
2509
3788
|
fields: readonly AssistantContentResourceField[];
|
|
2510
3789
|
evidence: readonly string[];
|
|
2511
3790
|
}
|
|
3791
|
+
interface RuntimeValueReviewItemView {
|
|
3792
|
+
fieldPath: string;
|
|
3793
|
+
label: string;
|
|
3794
|
+
proposedDisplay: string;
|
|
3795
|
+
currentDisplay: string;
|
|
3796
|
+
provenance: string;
|
|
3797
|
+
provenanceLabel: string;
|
|
3798
|
+
status: 'applicable' | 'preserved' | 'rejected';
|
|
3799
|
+
statusLabel: string;
|
|
3800
|
+
reasonMessage: string;
|
|
3801
|
+
selectable: boolean;
|
|
3802
|
+
selectedByDefault: boolean;
|
|
3803
|
+
}
|
|
3804
|
+
interface RuntimeValueReceiptItemView {
|
|
3805
|
+
fieldPath: string;
|
|
3806
|
+
label: string;
|
|
3807
|
+
reasonMessage: string;
|
|
3808
|
+
}
|
|
3809
|
+
interface RuntimeValueReceiptView {
|
|
3810
|
+
kind: 'apply' | 'undo';
|
|
3811
|
+
status: string;
|
|
3812
|
+
statusLabel: string;
|
|
3813
|
+
appliedOrRevertedLabel: string;
|
|
3814
|
+
appliedOrRevertedFields: readonly string[];
|
|
3815
|
+
preservedLabel: string;
|
|
3816
|
+
preservedItems: readonly RuntimeValueReceiptItemView[];
|
|
3817
|
+
rejectedItems: readonly RuntimeValueReceiptItemView[];
|
|
3818
|
+
}
|
|
2512
3819
|
declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
3820
|
+
private _mode;
|
|
3821
|
+
private _state;
|
|
3822
|
+
private _contextItems;
|
|
3823
|
+
private _attachments;
|
|
3824
|
+
private _threadAttachments;
|
|
3825
|
+
private _messages;
|
|
3826
|
+
private _quickReplies;
|
|
3827
|
+
private _recommendedIntents;
|
|
3828
|
+
private _secondaryActions;
|
|
3829
|
+
private _governanceActions;
|
|
2513
3830
|
labels: Partial<PraxisAssistantShellLabels> | null;
|
|
2514
|
-
mode: PraxisAssistantShellMode;
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
3831
|
+
get mode(): PraxisAssistantShellMode;
|
|
3832
|
+
set mode(value: PraxisAssistantShellMode | null | undefined);
|
|
3833
|
+
get state(): PraxisAssistantShellState;
|
|
3834
|
+
set state(value: PraxisAssistantShellState | null | undefined);
|
|
3835
|
+
get contextItems(): readonly PraxisAssistantShellContextItem[];
|
|
3836
|
+
set contextItems(value: readonly PraxisAssistantShellContextItem[] | null | undefined);
|
|
3837
|
+
get attachments(): readonly PraxisAssistantShellAttachment[];
|
|
3838
|
+
set attachments(value: readonly PraxisAssistantShellAttachment[] | null | undefined);
|
|
3839
|
+
get threadAttachments(): readonly OperationalAgentTurnAttachmentRef[];
|
|
3840
|
+
set threadAttachments(value: readonly OperationalAgentTurnAttachmentRef[] | null | undefined);
|
|
3841
|
+
get messages(): readonly PraxisAssistantShellMessage[];
|
|
3842
|
+
set messages(value: readonly PraxisAssistantShellMessage[] | null | undefined);
|
|
3843
|
+
get quickReplies(): readonly PraxisAssistantShellQuickReply[];
|
|
3844
|
+
set quickReplies(value: readonly PraxisAssistantShellQuickReply[] | null | undefined);
|
|
3845
|
+
get recommendedIntents(): readonly PraxisAssistantRecommendedIntent[];
|
|
3846
|
+
set recommendedIntents(value: readonly PraxisAssistantRecommendedIntent[] | null | undefined);
|
|
2521
3847
|
prompt: string;
|
|
2522
3848
|
statusText: string;
|
|
2523
3849
|
errorText: string;
|
|
@@ -2526,38 +3852,51 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2526
3852
|
submitTestId: string;
|
|
2527
3853
|
applyTestId: string;
|
|
2528
3854
|
primaryAction: PraxisAssistantShellAction | null;
|
|
2529
|
-
secondaryActions: readonly PraxisAssistantShellAction[];
|
|
2530
|
-
|
|
3855
|
+
get secondaryActions(): readonly PraxisAssistantShellAction[];
|
|
3856
|
+
set secondaryActions(value: readonly PraxisAssistantShellAction[] | null | undefined);
|
|
3857
|
+
get governanceActions(): readonly PraxisAssistantShellAction[];
|
|
3858
|
+
set governanceActions(value: readonly PraxisAssistantShellAction[] | null | undefined);
|
|
2531
3859
|
busy: boolean;
|
|
2532
3860
|
canSubmit: boolean;
|
|
2533
3861
|
canApply: boolean;
|
|
3862
|
+
preview: unknown;
|
|
2534
3863
|
submitOnEnter: boolean;
|
|
2535
3864
|
showAttachAction: boolean;
|
|
2536
|
-
enablePastedAttachments: boolean;
|
|
2537
3865
|
enableFileAttachments: boolean;
|
|
3866
|
+
enablePastedAttachments: boolean;
|
|
3867
|
+
allowAttachmentOnlySubmit: boolean;
|
|
3868
|
+
enableAuthenticatedPreview: boolean;
|
|
2538
3869
|
attachmentAccept: string;
|
|
2539
3870
|
attachmentMultiple: boolean;
|
|
3871
|
+
private readonly voiceI18n;
|
|
2540
3872
|
private readonly defaultVoiceInputMode;
|
|
2541
3873
|
private readonly defaultVoiceLanguage;
|
|
2542
3874
|
voiceInputMode: PraxisAssistantVoiceInputMode;
|
|
2543
3875
|
voiceLanguage: string;
|
|
2544
3876
|
draggable: boolean;
|
|
2545
3877
|
resizable: boolean;
|
|
3878
|
+
showMinimize: boolean;
|
|
2546
3879
|
minWidth: number;
|
|
2547
3880
|
minHeight: number;
|
|
2548
3881
|
margin: number;
|
|
2549
|
-
layout
|
|
3882
|
+
layout?: PraxisAssistantShellLayout;
|
|
2550
3883
|
promptChange: EventEmitter<string>;
|
|
2551
3884
|
submitPrompt: EventEmitter<string>;
|
|
2552
|
-
apply: EventEmitter<void
|
|
3885
|
+
apply: EventEmitter<void | Record<string, unknown>>;
|
|
2553
3886
|
retryTurn: EventEmitter<void>;
|
|
2554
3887
|
cancelTurn: EventEmitter<void>;
|
|
2555
3888
|
shellAction: EventEmitter<PraxisAssistantShellAction>;
|
|
3889
|
+
minimize: EventEmitter<void>;
|
|
2556
3890
|
close: EventEmitter<void>;
|
|
2557
3891
|
attach: EventEmitter<void>;
|
|
2558
3892
|
attachmentsPasted: EventEmitter<PraxisAssistantShellAttachment[]>;
|
|
2559
3893
|
attachmentsSelected: EventEmitter<PraxisAssistantShellAttachment[]>;
|
|
3894
|
+
attachmentsDropped: EventEmitter<PraxisAssistantShellAttachment[]>;
|
|
2560
3895
|
removeAttachment: EventEmitter<PraxisAssistantShellAttachment>;
|
|
3896
|
+
retryAttachment: EventEmitter<PraxisAssistantShellAttachment>;
|
|
3897
|
+
previewAttachment: EventEmitter<PraxisAssistantShellAttachment>;
|
|
3898
|
+
detachThreadAttachment: EventEmitter<string>;
|
|
3899
|
+
previewMessageAttachment: EventEmitter<PraxisAssistantAttachmentSummary>;
|
|
2561
3900
|
messageAction: EventEmitter<{
|
|
2562
3901
|
message: PraxisAssistantShellMessage;
|
|
2563
3902
|
action: PraxisAssistantShellMessageAction;
|
|
@@ -2566,47 +3905,92 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2566
3905
|
resendMessage: EventEmitter<PraxisAssistantShellMessage>;
|
|
2567
3906
|
quickReply: EventEmitter<PraxisAssistantShellQuickReply>;
|
|
2568
3907
|
recommendedIntent: EventEmitter<PraxisAssistantRecommendedIntent>;
|
|
3908
|
+
blockAction: EventEmitter<PraxisAssistantOperationalBlockActionEvent>;
|
|
2569
3909
|
layoutChange: EventEmitter<PraxisAssistantShellLayout>;
|
|
2570
3910
|
panel?: ElementRef<HTMLElement>;
|
|
2571
3911
|
conversation?: ElementRef<HTMLElement>;
|
|
2572
3912
|
promptInput?: ElementRef<HTMLTextAreaElement>;
|
|
3913
|
+
private contextToggle?;
|
|
3914
|
+
private contextPopover?;
|
|
2573
3915
|
private readonly cdr;
|
|
2574
3916
|
private readonly injector;
|
|
2575
3917
|
private readonly browserSpeech;
|
|
2576
3918
|
private readonly governedSpeech;
|
|
3919
|
+
private readonly voiceAuthority;
|
|
3920
|
+
private voiceAuthorityLease;
|
|
2577
3921
|
protected currentPrompt: string;
|
|
2578
3922
|
protected resolvedLabels: PraxisAssistantShellLabels;
|
|
2579
3923
|
protected voiceCaptureState: PraxisAssistantVoiceCaptureState;
|
|
2580
3924
|
protected voiceFeedbackText: string;
|
|
3925
|
+
protected contextOpen: boolean;
|
|
2581
3926
|
protected currentLayout: PraxisAssistantShellLayout;
|
|
3927
|
+
private layoutManuallyAdjusted;
|
|
3928
|
+
private lastEmittedLayout;
|
|
3929
|
+
protected dragActive: boolean;
|
|
3930
|
+
protected attachmentLiveText: string;
|
|
3931
|
+
protected attachmentRejectionNotice: string;
|
|
3932
|
+
private dragDepth;
|
|
3933
|
+
private attachmentRejectionTimer;
|
|
2582
3934
|
protected readonly resizeHandles: readonly ResizeDirection[];
|
|
2583
3935
|
private pointerSession;
|
|
2584
3936
|
private readonly ownedPreviewUrls;
|
|
3937
|
+
private readonly displayPreviewUrls;
|
|
2585
3938
|
private readonly submittedFeedbackObservationIds;
|
|
3939
|
+
private selectedRuntimeFieldPaths;
|
|
3940
|
+
private lastRuntimeProposalFingerprint;
|
|
2586
3941
|
private voiceCaptureSequence;
|
|
3942
|
+
private voiceRecordingStartedAt;
|
|
3943
|
+
private voiceRecordingTimer;
|
|
3944
|
+
protected voiceElapsedSeconds: number;
|
|
3945
|
+
private voiceAction?;
|
|
3946
|
+
private voiceCancel?;
|
|
2587
3947
|
private destroyed;
|
|
2588
3948
|
private processingStartedAt;
|
|
2589
3949
|
private processingElapsedSeconds;
|
|
2590
3950
|
private processingTimer;
|
|
2591
3951
|
private readonly onWindowPointerMove;
|
|
2592
3952
|
private readonly onWindowPointerUp;
|
|
3953
|
+
constructor();
|
|
2593
3954
|
ngAfterViewInit(): void;
|
|
2594
3955
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2595
3956
|
ngOnDestroy(): void;
|
|
3957
|
+
protected onWindowDragReset(): void;
|
|
2596
3958
|
protected onViewportResize(): void;
|
|
2597
3959
|
protected onPromptInput(value: string): void;
|
|
2598
3960
|
protected resizePromptToContent(): void;
|
|
2599
3961
|
protected onSubmit(): void;
|
|
3962
|
+
protected toggleContextPopover(): void;
|
|
3963
|
+
protected closeContextPopover(restoreFocus?: boolean, allowImplicitRestore?: boolean): void;
|
|
3964
|
+
protected getContextToggleLabel(): string;
|
|
3965
|
+
protected getCloseContextLabel(): string;
|
|
3966
|
+
protected getMinimizeLabel(): string;
|
|
3967
|
+
protected onContextPopoverFocusOut(event: FocusEvent): void;
|
|
3968
|
+
protected onDocumentPointerDown(event: Event): void;
|
|
3969
|
+
protected onVoiceKeydown(event: Event): void;
|
|
2600
3970
|
protected onPromptKeydown(event: KeyboardEvent): void;
|
|
2601
3971
|
protected onPromptPaste(event: ClipboardEvent): void;
|
|
3972
|
+
protected onPanelDragEnter(event: DragEvent): void;
|
|
3973
|
+
protected onPanelDragOver(event: DragEvent): void;
|
|
3974
|
+
protected onPanelDragLeave(event: DragEvent): void;
|
|
3975
|
+
protected onPanelDrop(event: DragEvent): void;
|
|
2602
3976
|
protected onVoiceInputClick(): void;
|
|
3977
|
+
private captureVoice;
|
|
2603
3978
|
protected shouldShowVoiceInput(): boolean;
|
|
2604
3979
|
protected isVoiceInputDisabled(): boolean;
|
|
2605
3980
|
protected isVoiceInputBusy(): boolean;
|
|
2606
3981
|
protected getVoiceActionLabel(): string;
|
|
2607
3982
|
protected shouldShowVoiceFeedback(): boolean;
|
|
3983
|
+
protected getVoiceFeedbackText(): string;
|
|
3984
|
+
protected onMinimize(): void;
|
|
3985
|
+
protected onClose(): void;
|
|
2608
3986
|
private canUseBrowserSpeech;
|
|
2609
3987
|
private cancelVoiceCapture;
|
|
3988
|
+
private updateVoiceFocus;
|
|
3989
|
+
protected onVoiceCancelClick(): void;
|
|
3990
|
+
protected getVoiceCancelLabel(): string;
|
|
3991
|
+
protected getVoiceElapsedTime(): string;
|
|
3992
|
+
private startVoiceRecordingTimer;
|
|
3993
|
+
private stopVoiceRecordingTimer;
|
|
2610
3994
|
private isCurrentVoiceCapture;
|
|
2611
3995
|
private activeVoiceService;
|
|
2612
3996
|
private applyVoiceTranscript;
|
|
@@ -2616,12 +4000,48 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2616
4000
|
protected onAttachClick(fileInput: HTMLInputElement): void;
|
|
2617
4001
|
protected onAttachmentFilesSelected(event: Event): void;
|
|
2618
4002
|
protected onApply(): void;
|
|
4003
|
+
protected hasEffectiveCanApply(): boolean;
|
|
4004
|
+
protected hasRuntimeValueReviewCard(): boolean;
|
|
4005
|
+
protected getRuntimeValueSyntheticNotice(): string;
|
|
4006
|
+
protected getRuntimeValueReviewItems(): readonly RuntimeValueReviewItemView[];
|
|
4007
|
+
protected isRuntimeFieldSelected(fieldPath: string): boolean;
|
|
4008
|
+
protected onRuntimeFieldSelectionChange(fieldPath: string, event: Event): void;
|
|
4009
|
+
protected getSelectedRuntimeFieldPaths(): string[];
|
|
4010
|
+
protected getSelectableRuntimeValueCount(): number;
|
|
4011
|
+
protected trackRuntimeValueReviewItem(_index: number, item: RuntimeValueReviewItemView): string;
|
|
4012
|
+
protected hasRuntimeValueReceiptCard(): boolean;
|
|
4013
|
+
protected getRuntimeValueReceiptView(): RuntimeValueReceiptView | null;
|
|
4014
|
+
private syncRuntimeValueSelectionFromPreview;
|
|
4015
|
+
private ensureRuntimeValueSelectionSynced;
|
|
4016
|
+
private extractRuntimeValueReviewItems;
|
|
4017
|
+
private mapPreviewEntryToView;
|
|
4018
|
+
private formatRuntimeDisplayValue;
|
|
4019
|
+
private formatProvenanceLabel;
|
|
4020
|
+
private formatReviewStatusLabel;
|
|
4021
|
+
private formatReceiptStatusLabel;
|
|
4022
|
+
private extractReceiptFieldNames;
|
|
4023
|
+
private extractReceiptReasonItems;
|
|
2619
4024
|
protected renderMessageText(text: string | null | undefined): string;
|
|
2620
4025
|
protected hasStructuredAssistantContent(message: PraxisAssistantShellMessage): boolean;
|
|
4026
|
+
protected hasStreamingSurfaces(message: PraxisAssistantShellMessage): boolean;
|
|
4027
|
+
protected getAssistantContentSurfaces(message: PraxisAssistantShellMessage): readonly PraxisAssistantSurfaceSummary[];
|
|
4028
|
+
protected getVisibleAssistantSurfaces(message: PraxisAssistantShellMessage): readonly PraxisAssistantSurfaceSummary[];
|
|
4029
|
+
protected hasParagraphBlock(message: PraxisAssistantShellMessage): boolean;
|
|
4030
|
+
protected resolveSurfaceStatusLabel(status: PraxisAssistantSurfaceStatus): string;
|
|
4031
|
+
protected resolveSurfaceStatusIcon(status: PraxisAssistantSurfaceStatus): string;
|
|
4032
|
+
protected resolveSurfaceStatusClass(status: string | null | undefined): string;
|
|
4033
|
+
private normalizeAssistantSurfaceStatus;
|
|
4034
|
+
protected getSurfaceMetaHints(surface: PraxisAssistantSurfaceSummary): readonly string[];
|
|
4035
|
+
protected trackAssistantSurface(_index: number, surface: PraxisAssistantSurfaceSummary): string;
|
|
4036
|
+
protected resolveOperationalTitleFallback(): string;
|
|
2621
4037
|
protected getAssistantContentBlocks(message: PraxisAssistantShellMessage): readonly AssistantContentBlock[];
|
|
2622
4038
|
protected getAssistantContentBlockType(block: AssistantContentBlock): string;
|
|
2623
4039
|
protected getAssistantContentBlockTitle(block: AssistantContentBlock, fallback?: string): string;
|
|
2624
4040
|
protected getAssistantContentBlockText(block: AssistantContentBlock): string;
|
|
4041
|
+
protected hasParagraphInlines(block: AssistantContentBlock): boolean;
|
|
4042
|
+
protected getParagraphInlines(block: AssistantContentBlock): readonly PraxisAssistantParagraphInline[];
|
|
4043
|
+
protected renderInlineSegmentText(text: string | null | undefined): string;
|
|
4044
|
+
protected trackParagraphInline(index: number, inline: PraxisAssistantParagraphInline): string;
|
|
2625
4045
|
protected getAssistantContentResources(block: AssistantContentBlock): readonly AssistantContentResource[];
|
|
2626
4046
|
protected getAssistantContentResourceFields(resource: Record<string, unknown>): readonly AssistantContentResourceField[];
|
|
2627
4047
|
protected getAssistantContentResourceMeta(resource: AssistantContentResource): readonly string[];
|
|
@@ -2639,6 +4059,10 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2639
4059
|
protected onShellAction(action: PraxisAssistantShellAction): void;
|
|
2640
4060
|
protected getPrimaryAction(): PraxisAssistantShellAction;
|
|
2641
4061
|
protected getSecondaryActions(): readonly PraxisAssistantShellAction[];
|
|
4062
|
+
protected getComposerUtilityActions(): readonly PraxisAssistantShellAction[];
|
|
4063
|
+
protected getDecisionBarActions(): readonly PraxisAssistantShellAction[];
|
|
4064
|
+
protected isMinimalPrimarySubmit(action: PraxisAssistantShellAction): boolean;
|
|
4065
|
+
protected getPrimaryActionDisplayIcon(action: PraxisAssistantShellAction): string;
|
|
2642
4066
|
protected getPrimaryActionTooltip(action: PraxisAssistantShellAction): string;
|
|
2643
4067
|
protected isShellActionDisabled(action: PraxisAssistantShellAction): boolean;
|
|
2644
4068
|
protected getShellActionTone(action: PraxisAssistantShellAction): string;
|
|
@@ -2661,6 +4085,7 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2661
4085
|
protected getRecommendedIntentTone(intent: PraxisAssistantRecommendedIntent): string;
|
|
2662
4086
|
protected getRecommendedIntentGroupLabel(intent: PraxisAssistantRecommendedIntent): string;
|
|
2663
4087
|
protected getQuickReplyAriaLabel(reply: PraxisAssistantShellQuickReply): string;
|
|
4088
|
+
protected visibleQuickReplies(): readonly PraxisAssistantShellQuickReply[];
|
|
2664
4089
|
protected getQuickReplyLabel(reply: PraxisAssistantShellQuickReply): string;
|
|
2665
4090
|
protected getQuickReplyTechnicalDetails(reply: PraxisAssistantShellQuickReply): string;
|
|
2666
4091
|
protected isRichQuickReply(reply: PraxisAssistantShellQuickReply): boolean;
|
|
@@ -2700,7 +4125,34 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2700
4125
|
protected getCloseIcon(): string;
|
|
2701
4126
|
protected getContextItemValue(item: PraxisAssistantShellContextItem): string;
|
|
2702
4127
|
private normalizeShellAction;
|
|
2703
|
-
protected onRemoveAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4128
|
+
protected onRemoveAttachment(attachment: PraxisAssistantShellAttachment, index?: number): void;
|
|
4129
|
+
protected onRetryAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4130
|
+
protected onPreviewAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4131
|
+
protected onPreviewMessageAttachment(attachment: PraxisAssistantAttachmentSummary): void;
|
|
4132
|
+
protected onDetachThreadAttachment(fileId: string, index?: number): void;
|
|
4133
|
+
protected isSafeThumbnailUrl(url?: string | null): boolean;
|
|
4134
|
+
protected getAttachmentThumbnailUrl(attachment: PraxisAssistantShellAttachment): string | null;
|
|
4135
|
+
protected isSafeEvidenceFileId(fileId?: string | null): boolean;
|
|
4136
|
+
protected resolveAttachmentLabel(key: AssistantAttachmentI18nKey, params?: Readonly<Record<string, string | number>>): string;
|
|
4137
|
+
protected getAttachmentVisualCategory(attachment: Pick<PraxisAssistantShellAttachment, 'mimeType' | 'name'> & {
|
|
4138
|
+
kind?: PraxisAssistantShellAttachment['kind'];
|
|
4139
|
+
}): 'image' | 'pdf' | 'spreadsheet' | 'document' | 'data' | 'file';
|
|
4140
|
+
protected getThreadAttachmentDescriptor(ref: OperationalAgentTurnAttachmentRef): Pick<PraxisAssistantShellAttachment, 'name' | 'mimeType'>;
|
|
4141
|
+
protected getTotalAttachmentsSizeLabel(): string;
|
|
4142
|
+
protected getAttachmentIcon(attachment: Pick<PraxisAssistantShellAttachment, 'mimeType' | 'name'> & {
|
|
4143
|
+
kind?: PraxisAssistantShellAttachment['kind'];
|
|
4144
|
+
}): string;
|
|
4145
|
+
protected getAttachmentKindLabel(attachment: Pick<PraxisAssistantShellAttachment, 'kind' | 'mimeType' | 'name'>): string;
|
|
4146
|
+
protected clampAttachmentProgress(value: number | undefined): number | null;
|
|
4147
|
+
protected getAttachmentStatusLabel(attachment: PraxisAssistantShellAttachment): string;
|
|
4148
|
+
protected getAttachmentRemoveAriaLabel(attachment: PraxisAssistantShellAttachment): string;
|
|
4149
|
+
protected formatAttachmentSize(sizeBytes: number | undefined): string;
|
|
4150
|
+
protected isSafeAttachmentPreviewHref(href: string | null | undefined): boolean;
|
|
4151
|
+
protected hasUploadingAttachments(): boolean;
|
|
4152
|
+
protected hasErroredAttachments(): boolean;
|
|
4153
|
+
protected hasReadyAttachments(): boolean;
|
|
4154
|
+
protected hasAttachmentSubmitBlocker(): boolean;
|
|
4155
|
+
protected getAttachmentSubmitBlockerText(): string;
|
|
2704
4156
|
protected onMessageAction(message: PraxisAssistantShellMessage, action: PraxisAssistantShellMessageAction): void;
|
|
2705
4157
|
protected canSendMessageFeedback(message: PraxisAssistantShellMessage): boolean;
|
|
2706
4158
|
protected isMessageFeedbackSubmitted(message: PraxisAssistantShellMessage): boolean;
|
|
@@ -2726,6 +4178,7 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2726
4178
|
private finishPointerSession;
|
|
2727
4179
|
private detachPointerListeners;
|
|
2728
4180
|
private resolveViewportBounds;
|
|
4181
|
+
private isSameLayout;
|
|
2729
4182
|
private normalizeLayout;
|
|
2730
4183
|
private clampLayout;
|
|
2731
4184
|
private clampToViewport;
|
|
@@ -2733,20 +4186,222 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2733
4186
|
private clamp;
|
|
2734
4187
|
private scheduleConversationScroll;
|
|
2735
4188
|
private fileAttachment;
|
|
4189
|
+
private canTriggerPromptSubmit;
|
|
4190
|
+
private hasFileTransfer;
|
|
4191
|
+
private matchesAcceptFilter;
|
|
4192
|
+
private announceAttachmentLifecycleChanges;
|
|
2736
4193
|
private createAttachmentId;
|
|
2737
4194
|
private attachmentKind;
|
|
2738
4195
|
private revokeDetachedPastedPreviewUrls;
|
|
2739
4196
|
private revokeAllOwnedPreviewUrls;
|
|
4197
|
+
private syncResolvedLabels;
|
|
2740
4198
|
private revokeOwnedPreviewUrl;
|
|
2741
|
-
|
|
2742
|
-
|
|
4199
|
+
private syncAttachmentDisplayPreviewUrls;
|
|
4200
|
+
private revokeDisplayPreviewUrl;
|
|
4201
|
+
private revokeAllDisplayPreviewUrls;
|
|
4202
|
+
private resetDragState;
|
|
4203
|
+
private clearAttachmentRejectionTimer;
|
|
4204
|
+
private clearAttachmentRejection;
|
|
4205
|
+
private setAttachmentRejection;
|
|
4206
|
+
private collectClipboardFiles;
|
|
4207
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAiAssistantShellComponent, never>;
|
|
4208
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAiAssistantShellComponent, "praxis-ai-assistant-shell", never, { "labels": { "alias": "labels"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "state": { "alias": "state"; "required": false; }; "contextItems": { "alias": "contextItems"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; "threadAttachments": { "alias": "threadAttachments"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; "quickReplies": { "alias": "quickReplies"; "required": false; }; "recommendedIntents": { "alias": "recommendedIntents"; "required": false; }; "prompt": { "alias": "prompt"; "required": false; }; "statusText": { "alias": "statusText"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "testIdPrefix": { "alias": "testIdPrefix"; "required": false; }; "panelTestId": { "alias": "panelTestId"; "required": false; }; "submitTestId": { "alias": "submitTestId"; "required": false; }; "applyTestId": { "alias": "applyTestId"; "required": false; }; "primaryAction": { "alias": "primaryAction"; "required": false; }; "secondaryActions": { "alias": "secondaryActions"; "required": false; }; "governanceActions": { "alias": "governanceActions"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "canSubmit": { "alias": "canSubmit"; "required": false; }; "canApply": { "alias": "canApply"; "required": false; }; "preview": { "alias": "preview"; "required": false; }; "submitOnEnter": { "alias": "submitOnEnter"; "required": false; }; "showAttachAction": { "alias": "showAttachAction"; "required": false; }; "enableFileAttachments": { "alias": "enableFileAttachments"; "required": false; }; "enablePastedAttachments": { "alias": "enablePastedAttachments"; "required": false; }; "allowAttachmentOnlySubmit": { "alias": "allowAttachmentOnlySubmit"; "required": false; }; "enableAuthenticatedPreview": { "alias": "enableAuthenticatedPreview"; "required": false; }; "attachmentAccept": { "alias": "attachmentAccept"; "required": false; }; "attachmentMultiple": { "alias": "attachmentMultiple"; "required": false; }; "voiceInputMode": { "alias": "voiceInputMode"; "required": false; }; "voiceLanguage": { "alias": "voiceLanguage"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "showMinimize": { "alias": "showMinimize"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, { "promptChange": "promptChange"; "submitPrompt": "submitPrompt"; "apply": "apply"; "retryTurn": "retryTurn"; "cancelTurn": "cancelTurn"; "shellAction": "shellAction"; "minimize": "minimize"; "close": "close"; "attach": "attach"; "attachmentsPasted": "attachmentsPasted"; "attachmentsSelected": "attachmentsSelected"; "attachmentsDropped": "attachmentsDropped"; "removeAttachment": "removeAttachment"; "retryAttachment": "retryAttachment"; "previewAttachment": "previewAttachment"; "detachThreadAttachment": "detachThreadAttachment"; "previewMessageAttachment": "previewMessageAttachment"; "messageAction": "messageAction"; "editMessage": "editMessage"; "resendMessage": "resendMessage"; "quickReply": "quickReply"; "recommendedIntent": "recommendedIntent"; "blockAction": "blockAction"; "layoutChange": "layoutChange"; }, never, never, true, never>;
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4211
|
+
interface FallbackRecordSummaryField {
|
|
4212
|
+
readonly id: string;
|
|
4213
|
+
readonly label: string;
|
|
4214
|
+
readonly value: string;
|
|
4215
|
+
}
|
|
4216
|
+
interface FallbackRecordSummaryView {
|
|
4217
|
+
readonly title: string;
|
|
4218
|
+
readonly subtitle: string;
|
|
4219
|
+
readonly meta: string;
|
|
4220
|
+
readonly fields: readonly FallbackRecordSummaryField[];
|
|
4221
|
+
}
|
|
4222
|
+
interface FallbackChartRowView {
|
|
4223
|
+
readonly label: string;
|
|
4224
|
+
readonly value: number;
|
|
4225
|
+
readonly percentWidth: number;
|
|
4226
|
+
}
|
|
4227
|
+
interface FallbackChartSummaryView {
|
|
4228
|
+
readonly title: string;
|
|
4229
|
+
readonly subtitle: string;
|
|
4230
|
+
readonly rows: readonly FallbackChartRowView[];
|
|
4231
|
+
}
|
|
4232
|
+
interface ProvenanceKeyValueEntry {
|
|
4233
|
+
readonly key: string;
|
|
4234
|
+
readonly label: string;
|
|
4235
|
+
readonly value: string;
|
|
4236
|
+
}
|
|
4237
|
+
declare class PraxisAssistantOperationalBlockComponent {
|
|
4238
|
+
private readonly i18n;
|
|
4239
|
+
private readonly cdr;
|
|
4240
|
+
private readonly metadataRegistry;
|
|
4241
|
+
private readonly destroyRef;
|
|
4242
|
+
private readonly hostElementRef;
|
|
4243
|
+
private readonly injector;
|
|
4244
|
+
readonly block: _angular_core.InputSignal<Readonly<Record<string, unknown>>>;
|
|
4245
|
+
readonly messageBlocks: _angular_core.InputSignal<readonly Readonly<Record<string, unknown>>[]>;
|
|
4246
|
+
readonly testIdPrefix: _angular_core.InputSignal<string>;
|
|
4247
|
+
readonly enableAuthenticatedPreview: _angular_core.InputSignal<boolean>;
|
|
4248
|
+
readonly shellBusy: _angular_core.InputSignal<boolean>;
|
|
4249
|
+
readonly blockAction: _angular_core.OutputEmitterRef<PraxisAssistantOperationalBlockActionEvent>;
|
|
4250
|
+
private readonly nowMs;
|
|
4251
|
+
private readonly inFlightProposalIds;
|
|
4252
|
+
protected readonly copiedHashKey: _angular_core.WritableSignal<string | null>;
|
|
4253
|
+
protected readonly copiedHashErrorKey: _angular_core.WritableSignal<string | null>;
|
|
4254
|
+
protected readonly rejectingProposalId: _angular_core.WritableSignal<string | null>;
|
|
4255
|
+
protected readonly rejectReasonDraft: _angular_core.WritableSignal<string>;
|
|
4256
|
+
private pendingFocusProposalId;
|
|
4257
|
+
private copyFeedbackTimer;
|
|
4258
|
+
constructor();
|
|
4259
|
+
protected readonly blockType: _angular_core.Signal<string>;
|
|
4260
|
+
protected readonly documentEvidenceBlock: _angular_core.Signal<PraxisAssistantDocumentEvidenceBlock | null>;
|
|
4261
|
+
protected readonly epistemicBadgeBlock: _angular_core.Signal<PraxisAssistantEpistemicBadgeBlock | null>;
|
|
4262
|
+
protected readonly alertListBlock: _angular_core.Signal<PraxisAssistantOperationalAlertListBlock | null>;
|
|
4263
|
+
protected readonly widgetBlock: _angular_core.Signal<PraxisAssistantOperationalWidgetBlock | null>;
|
|
4264
|
+
protected readonly widgetDefinition: _angular_core.Signal<WidgetDefinition | null>;
|
|
4265
|
+
protected readonly widgetProvenanceView: _angular_core.Signal<{
|
|
4266
|
+
readonly mode?: string;
|
|
4267
|
+
readonly recipeId?: string;
|
|
4268
|
+
readonly recipeTitle?: string;
|
|
4269
|
+
readonly recipeVersion?: string;
|
|
4270
|
+
readonly governanceTier?: string;
|
|
4271
|
+
readonly digest?: string;
|
|
4272
|
+
readonly lockedFilters: readonly ProvenanceKeyValueEntry[];
|
|
4273
|
+
readonly appliedParameters: readonly ProvenanceKeyValueEntry[];
|
|
4274
|
+
readonly epistemicMeta?: PraxisAssistantEpistemicMeta;
|
|
4275
|
+
readonly epistemicKind?: string;
|
|
4276
|
+
} | null>;
|
|
4277
|
+
protected readonly fallbackChartSummary: _angular_core.Signal<FallbackChartSummaryView | null>;
|
|
4278
|
+
protected readonly counterfactualRecourseBlock: _angular_core.Signal<PraxisAssistantCounterfactualRecourseBlock | null>;
|
|
4279
|
+
protected readonly calculationMemoryBlock: _angular_core.Signal<PraxisAssistantCalculationMemoryBlock | null>;
|
|
4280
|
+
protected readonly knowledgeCitationsBlock: _angular_core.Signal<PraxisAssistantKnowledgeCitationsBlock | null>;
|
|
4281
|
+
protected readonly fallbackSummary: _angular_core.Signal<FallbackRecordSummaryView | null>;
|
|
4282
|
+
protected readonly collectionBlock: _angular_core.Signal<PraxisAssistantOperationalCompactCollectionBlock | null>;
|
|
4283
|
+
protected readonly visibleColumns: _angular_core.Signal<readonly PraxisAssistantOperationalCollectionColumn[]>;
|
|
4284
|
+
protected readonly visibleRows: _angular_core.Signal<readonly Readonly<Record<string, unknown>>[]>;
|
|
4285
|
+
protected readonly shouldShowCollectionFooter: _angular_core.Signal<boolean>;
|
|
4286
|
+
protected readonly actionBarBlock: _angular_core.Signal<PraxisAssistantOperationalActionBarBlock | null>;
|
|
4287
|
+
protected readonly simulationPreviewBlock: _angular_core.Signal<PraxisAssistantSimulationPreviewBlock | null>;
|
|
4288
|
+
protected readonly actionProposalsBlock: _angular_core.Signal<PraxisAssistantActionProposalsBlock | null>;
|
|
4289
|
+
protected canLoadRegisteredWidget(widgetId: string): boolean;
|
|
4290
|
+
protected t(key: AssistantOperationalBlockI18nKey, params?: Readonly<Record<string, string | number>>): string;
|
|
4291
|
+
protected normalizeSeverity(severity?: string): 'critical' | 'warning' | 'info';
|
|
4292
|
+
protected severityIcon(severity?: string): string;
|
|
4293
|
+
protected severityLabel(severity?: string): string;
|
|
4294
|
+
protected stringValue(value: unknown): string;
|
|
4295
|
+
protected formatCellValue(value: unknown): string;
|
|
4296
|
+
protected onActionClick(action: PraxisAssistantOperationalActionAffordance): void;
|
|
4297
|
+
protected onAlertSuggestedAction(alert: PraxisAssistantOperationalAlertItem): void;
|
|
4298
|
+
protected onDisambiguationRowClick(row: Readonly<Record<string, unknown>>): void;
|
|
4299
|
+
protected onOpenCollectionResource(col: PraxisAssistantOperationalCompactCollectionBlock): void;
|
|
4300
|
+
protected trailHasResultStep(trail: PraxisAssistantCalculationTrail): boolean;
|
|
4301
|
+
protected calcSubtitle(calc: PraxisAssistantCalculationMemoryBlock): string;
|
|
4302
|
+
protected sourceKindLabel(sourceKind: string): string;
|
|
4303
|
+
protected onOpenCitationRoute(citation: PraxisAssistantKnowledgeCitationItem): void;
|
|
4304
|
+
protected effectiveProposalStatus(item: PraxisAssistantActionProposalItem): string;
|
|
4305
|
+
protected isProposalBusy(item: PraxisAssistantActionProposalItem): boolean;
|
|
4306
|
+
protected fieldLabel(item: PraxisAssistantActionProposalItem, fieldName?: string): string;
|
|
4307
|
+
protected canConfirmProposalDirectly(item: PraxisAssistantActionProposalItem): boolean;
|
|
4308
|
+
protected canOpenProposalForm(item: PraxisAssistantActionProposalItem): boolean;
|
|
4309
|
+
protected canReviewBulkProposal(item: PraxisAssistantActionProposalItem): boolean;
|
|
4310
|
+
protected canTrackBulkExecution(item: PraxisAssistantActionProposalItem): boolean;
|
|
4311
|
+
protected bulkReviewButtonLabel(item: PraxisAssistantActionProposalItem): string;
|
|
4312
|
+
protected bulkModeLabel(mode?: string): string;
|
|
4313
|
+
protected bulkVisibleSamples(bulk: PraxisAssistantBulkProposalDetails): readonly PraxisAssistantBulkProposalSampleTarget[];
|
|
4314
|
+
protected bulkHiddenSampleCount(bulk: PraxisAssistantBulkProposalDetails): number;
|
|
4315
|
+
protected onReviewBulkProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
4316
|
+
protected onTrackBulkExecution(proposal: PraxisAssistantActionProposalItem): void;
|
|
4317
|
+
private parseBulkProposalDetails;
|
|
4318
|
+
private markProposalInFlight;
|
|
4319
|
+
protected onConfirmActionProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
4320
|
+
protected onOpenProposalForm(proposal: PraxisAssistantActionProposalItem): void;
|
|
4321
|
+
protected onRejectButtonClick(proposal: PraxisAssistantActionProposalItem): void;
|
|
4322
|
+
protected onRejectReasonInput(event: Event): void;
|
|
4323
|
+
protected onRejectInputEscape(event: Event, proposalId: string): void;
|
|
4324
|
+
protected onConfirmRejectWithReason(proposal: PraxisAssistantActionProposalItem): void;
|
|
4325
|
+
protected onCancelRejectReason(proposalId?: string): void;
|
|
4326
|
+
protected onRejectActionProposal(proposal: PraxisAssistantActionProposalItem, reason?: string): void;
|
|
4327
|
+
protected onRefreshActionProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
4328
|
+
protected onPreviewDocumentEvidence(doc: PraxisAssistantDocumentEvidenceBlock): void;
|
|
4329
|
+
protected onPreviewSourceAttachment(fileId: string): void;
|
|
4330
|
+
protected normalizedDocumentEvidenceStatus(status?: string): string;
|
|
4331
|
+
protected resolveSourceAttachmentTitle(fileId: string): string;
|
|
4332
|
+
protected resolvePrerequisiteLabel(items: readonly PraxisAssistantActionProposalItem[], dependsOnProposalId?: string): string;
|
|
4333
|
+
protected isSafeEvidenceFileId(fileId?: string | null): boolean;
|
|
4334
|
+
private findSiblingDocumentEvidence;
|
|
4335
|
+
protected onRevalidateStaleProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
4336
|
+
protected proposalStatusLabel(status?: string): string;
|
|
4337
|
+
protected isFourEyesProposal(item: PraxisAssistantActionProposalItem): boolean;
|
|
4338
|
+
protected documentExtractionModeLabel(mode?: string): string;
|
|
4339
|
+
protected documentClassificationLabel(classification?: string): string;
|
|
4340
|
+
protected documentVerificationStatusLabel(status?: string): string;
|
|
4341
|
+
protected documentVerificationSeverity(status?: string): 'ok' | 'warn' | 'danger';
|
|
4342
|
+
protected shortChecksum(checksum?: string): string;
|
|
4343
|
+
protected proposalRiskLabel(risk?: string): string;
|
|
4344
|
+
protected shortVersionTag(tag?: string): string;
|
|
4345
|
+
protected prefillEntries(item: PraxisAssistantActionProposalItem): readonly {
|
|
4346
|
+
readonly key: string;
|
|
4347
|
+
readonly label: string;
|
|
4348
|
+
readonly value: string;
|
|
4349
|
+
}[];
|
|
4350
|
+
protected missingFieldLabels(item: PraxisAssistantActionProposalItem): readonly string[];
|
|
4351
|
+
protected fieldErrorEntries(item: PraxisAssistantActionProposalItem): readonly {
|
|
4352
|
+
readonly key: string;
|
|
4353
|
+
readonly label: string;
|
|
4354
|
+
readonly value: string;
|
|
4355
|
+
}[];
|
|
4356
|
+
protected normalizeEpistemicKind(kind?: string): string;
|
|
4357
|
+
protected normalizeAvailabilityState(state?: string): string;
|
|
4358
|
+
protected epistemicKindIcon(kind: string): string;
|
|
4359
|
+
protected epistemicKindLabel(kind: string): string;
|
|
4360
|
+
protected availabilityStateLabel(state: string): string;
|
|
4361
|
+
protected shouldShowEpistemicSignificance(badge: PraxisAssistantEpistemicBadgeBlock): boolean;
|
|
4362
|
+
protected epistemicNextStepText(badge: PraxisAssistantEpistemicBadgeBlock): string;
|
|
4363
|
+
protected formatQValue(qValue: number): string;
|
|
4364
|
+
protected formatCount(value: number): string;
|
|
4365
|
+
protected formatMad(mad: number): string;
|
|
4366
|
+
protected formatExposureAmount(value: number | string): string;
|
|
4367
|
+
protected formatNigriniConformity(value: string): string;
|
|
4368
|
+
protected copyHashToken(tokenKey: string, value?: string): Promise<void>;
|
|
4369
|
+
private fallbackLegacyCopy;
|
|
4370
|
+
private toProvenanceEntries;
|
|
4371
|
+
protected canPrepareCounterfactualProposal(block: PraxisAssistantCounterfactualRecourseBlock, candidate: PraxisAssistantCounterfactualCandidate): boolean;
|
|
4372
|
+
protected canTriggerCounterfactualAction(block: PraxisAssistantCounterfactualRecourseBlock, candidate: PraxisAssistantCounterfactualCandidate): boolean;
|
|
4373
|
+
protected counterfactualActionLabel(block: PraxisAssistantCounterfactualRecourseBlock, candidate: PraxisAssistantCounterfactualCandidate): string;
|
|
4374
|
+
protected onCounterfactualSuggestedAction(block: PraxisAssistantCounterfactualRecourseBlock, candidate: PraxisAssistantCounterfactualCandidate): void;
|
|
4375
|
+
protected counterfactualDirectionLabel(direction: string): string;
|
|
4376
|
+
protected formatCounterfactualNumber(value: number, maxDigits?: number): string;
|
|
4377
|
+
protected formatSignedCounterfactualNumber(value: number): string;
|
|
4378
|
+
private readFiniteNumber;
|
|
4379
|
+
private readNonNegativeInteger;
|
|
4380
|
+
private firstNonEmptyString;
|
|
4381
|
+
private normalizePrimitiveDeltaValue;
|
|
4382
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAssistantOperationalBlockComponent, never>;
|
|
4383
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAssistantOperationalBlockComponent, "praxis-ai-assistant-operational-block", never, { "block": { "alias": "block"; "required": true; "isSignal": true; }; "messageBlocks": { "alias": "messageBlocks"; "required": false; "isSignal": true; }; "testIdPrefix": { "alias": "testIdPrefix"; "required": false; "isSignal": true; }; "enableAuthenticatedPreview": { "alias": "enableAuthenticatedPreview"; "required": false; "isSignal": true; }; "shellBusy": { "alias": "shellBusy"; "required": false; "isSignal": true; }; }, { "blockAction": "blockAction"; }, never, never, true, never>;
|
|
2743
4384
|
}
|
|
2744
4385
|
|
|
4386
|
+
declare const DEFAULT_WORKSPACE_ASSISTANT_ATTACHMENT_ACCEPT = ".pdf,.docx,.xlsx,.csv,.json,.txt,.md,image/png,image/jpeg,image/webp,application/pdf";
|
|
4387
|
+
interface PraxisWorkspaceAssistantAttachmentsConfig {
|
|
4388
|
+
readonly enabled: boolean;
|
|
4389
|
+
readonly accept?: string;
|
|
4390
|
+
readonly multiple?: boolean;
|
|
4391
|
+
readonly maxAttachments?: number;
|
|
4392
|
+
readonly maxFileSizeBytes?: number;
|
|
4393
|
+
readonly filesBaseUrl?: string;
|
|
4394
|
+
readonly enablePastedAttachments?: boolean;
|
|
4395
|
+
readonly allowAttachmentOnlySubmit?: boolean;
|
|
4396
|
+
}
|
|
2745
4397
|
declare const PRAXIS_ASSISTANT_VOICE_INPUT_MODE: InjectionToken<PraxisAssistantVoiceInputMode>;
|
|
2746
4398
|
declare const PRAXIS_ASSISTANT_VOICE_LANGUAGE: InjectionToken<string>;
|
|
4399
|
+
declare const PRAXIS_WORKSPACE_ASSISTANT_ATTACHMENTS_CONFIG: InjectionToken<PraxisWorkspaceAssistantAttachmentsConfig>;
|
|
4400
|
+
declare function providePraxisWorkspaceAssistantAttachments(config?: Partial<PraxisWorkspaceAssistantAttachmentsConfig>): Provider;
|
|
2747
4401
|
|
|
2748
4402
|
type PraxisAssistantDockTone = 'ready' | 'working' | 'review' | 'governed' | 'error';
|
|
2749
4403
|
declare class PraxisAiAssistantDockComponent {
|
|
4404
|
+
private readonly i18n;
|
|
2750
4405
|
title: string;
|
|
2751
4406
|
summary: string;
|
|
2752
4407
|
badge: string;
|
|
@@ -2756,47 +4411,529 @@ declare class PraxisAiAssistantDockComponent {
|
|
|
2756
4411
|
ariaLabel: string;
|
|
2757
4412
|
openAriaLabel: string;
|
|
2758
4413
|
openTooltip: string;
|
|
4414
|
+
showClose: boolean;
|
|
4415
|
+
closeAriaLabel: string;
|
|
4416
|
+
closeTooltip: string;
|
|
2759
4417
|
testId: string;
|
|
2760
4418
|
openTestId: string;
|
|
4419
|
+
closeTestId: string;
|
|
2761
4420
|
open: EventEmitter<void>;
|
|
4421
|
+
close: EventEmitter<void>;
|
|
4422
|
+
onCloseClick(event: MouseEvent): void;
|
|
4423
|
+
resolvedTitle(): string;
|
|
4424
|
+
resolvedSummary(): string;
|
|
4425
|
+
resolvedAriaLabel(): string;
|
|
4426
|
+
resolvedOpenAriaLabel(): string;
|
|
4427
|
+
resolvedOpenTooltip(): string;
|
|
4428
|
+
resolvedCloseAriaLabel(): string;
|
|
4429
|
+
resolvedCloseTooltip(): string;
|
|
2762
4430
|
resolvedTone(): PraxisAssistantDockTone;
|
|
2763
4431
|
resolvedIcon(): string;
|
|
2764
4432
|
resolvedBadge(): string;
|
|
2765
|
-
|
|
2766
|
-
static
|
|
4433
|
+
private resolveText;
|
|
4434
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAiAssistantDockComponent, never>;
|
|
4435
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAiAssistantDockComponent, "praxis-ai-assistant-dock", never, { "title": { "alias": "title"; "required": false; }; "summary": { "alias": "summary"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "state": { "alias": "state"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "openAriaLabel": { "alias": "openAriaLabel"; "required": false; }; "openTooltip": { "alias": "openTooltip"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "closeAriaLabel": { "alias": "closeAriaLabel"; "required": false; }; "closeTooltip": { "alias": "closeTooltip"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "openTestId": { "alias": "openTestId"; "required": false; }; "closeTestId": { "alias": "closeTestId"; "required": false; }; }, { "open": "open"; "close": "close"; }, never, never, true, never>;
|
|
4436
|
+
static ngAcceptInputType_showClose: unknown;
|
|
2767
4437
|
}
|
|
2768
4438
|
|
|
2769
4439
|
declare class PraxisAiAssistantSessionHostComponent {
|
|
2770
4440
|
private readonly registry;
|
|
4441
|
+
private readonly i18n;
|
|
2771
4442
|
testId: string;
|
|
2772
4443
|
dockTestIdPrefix: string;
|
|
2773
4444
|
ariaLabel: string;
|
|
2774
4445
|
openAriaLabel: string;
|
|
2775
4446
|
openTooltip: string;
|
|
4447
|
+
closeAriaLabel: string;
|
|
4448
|
+
closeTooltip: string;
|
|
2776
4449
|
ownerType: string | null;
|
|
2777
4450
|
ownerId: string | null;
|
|
2778
4451
|
visibility: PraxisAssistantSessionVisibility | 'all';
|
|
2779
4452
|
includeOriginAnchored: boolean;
|
|
2780
4453
|
sessionOpen: EventEmitter<PraxisAssistantSessionSnapshot>;
|
|
4454
|
+
sessionClose: EventEmitter<PraxisAssistantSessionSnapshot>;
|
|
2781
4455
|
visibleSessions(): readonly PraxisAssistantSessionSnapshot[];
|
|
2782
4456
|
openSession(sessionId: string): void;
|
|
4457
|
+
closeSession(sessionId: string): void;
|
|
4458
|
+
resolvedAriaLabel(): string;
|
|
4459
|
+
resolvedOpenAriaLabel(): string;
|
|
4460
|
+
resolvedOpenTooltip(): string;
|
|
4461
|
+
resolvedCloseAriaLabel(): string;
|
|
4462
|
+
resolvedCloseTooltip(): string;
|
|
4463
|
+
private resolveText;
|
|
2783
4464
|
sessionAriaLabel(session: PraxisAssistantSessionSnapshot): string;
|
|
2784
4465
|
dockTestId(session: PraxisAssistantSessionSnapshot, first: boolean): string;
|
|
2785
4466
|
dockOpenTestId(session: PraxisAssistantSessionSnapshot, first: boolean): string;
|
|
4467
|
+
dockCloseTestId(session: PraxisAssistantSessionSnapshot, first: boolean): string;
|
|
2786
4468
|
trackSession(_index: number, session: PraxisAssistantSessionSnapshot): string;
|
|
2787
4469
|
private safeId;
|
|
2788
|
-
static ɵfac:
|
|
2789
|
-
static ɵcmp:
|
|
4470
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAiAssistantSessionHostComponent, never>;
|
|
4471
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAiAssistantSessionHostComponent, "praxis-ai-assistant-session-host", never, { "testId": { "alias": "testId"; "required": false; }; "dockTestIdPrefix": { "alias": "dockTestIdPrefix"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "openAriaLabel": { "alias": "openAriaLabel"; "required": false; }; "openTooltip": { "alias": "openTooltip"; "required": false; }; "closeAriaLabel": { "alias": "closeAriaLabel"; "required": false; }; "closeTooltip": { "alias": "closeTooltip"; "required": false; }; "ownerType": { "alias": "ownerType"; "required": false; }; "ownerId": { "alias": "ownerId"; "required": false; }; "visibility": { "alias": "visibility"; "required": false; }; "includeOriginAnchored": { "alias": "includeOriginAnchored"; "required": false; }; }, { "sessionOpen": "sessionOpen"; "sessionClose": "sessionClose"; }, never, never, true, never>;
|
|
2790
4472
|
static ngAcceptInputType_includeOriginAnchored: unknown;
|
|
2791
4473
|
}
|
|
2792
4474
|
|
|
4475
|
+
interface WorkspaceAssistantRouteContext {
|
|
4476
|
+
readonly resourcePath?: string | null;
|
|
4477
|
+
readonly topicKey?: string | null;
|
|
4478
|
+
readonly componentId?: string | null;
|
|
4479
|
+
readonly componentType?: string | null;
|
|
4480
|
+
readonly label?: string | null;
|
|
4481
|
+
}
|
|
4482
|
+
interface WorkspaceAssistantFocusedEntity {
|
|
4483
|
+
readonly entityKey: string;
|
|
4484
|
+
readonly entityId: string;
|
|
4485
|
+
readonly title?: string | null;
|
|
4486
|
+
readonly resourceKey?: string | null;
|
|
4487
|
+
readonly resourcePath?: string | null;
|
|
4488
|
+
}
|
|
4489
|
+
interface WorkspaceAssistantOpenSurfaceRequest {
|
|
4490
|
+
readonly surfaceId: string;
|
|
4491
|
+
readonly resourceKey?: string | null;
|
|
4492
|
+
readonly resourcePath?: string | null;
|
|
4493
|
+
readonly entityId?: string | null;
|
|
4494
|
+
readonly route?: string | null;
|
|
4495
|
+
readonly prefill?: Readonly<Record<string, unknown>>;
|
|
4496
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
4497
|
+
}
|
|
4498
|
+
interface WorkspaceAssistantApplyFilterRequest {
|
|
4499
|
+
readonly resourceKey?: string | null;
|
|
4500
|
+
readonly resourcePath?: string | null;
|
|
4501
|
+
readonly filters: Readonly<Record<string, unknown>>;
|
|
4502
|
+
readonly dimension?: PraxisContextDimension;
|
|
4503
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
4504
|
+
}
|
|
4505
|
+
interface WorkspaceAssistantRunActionRequest {
|
|
4506
|
+
readonly actionId: string;
|
|
4507
|
+
readonly operationKind: string;
|
|
4508
|
+
readonly label: string;
|
|
4509
|
+
readonly resourceKey?: string | null;
|
|
4510
|
+
readonly resourcePath?: string | null;
|
|
4511
|
+
readonly entityId?: string | null;
|
|
4512
|
+
readonly formMode?: string | null;
|
|
4513
|
+
readonly method?: string | null;
|
|
4514
|
+
readonly schemaUrl?: string | null;
|
|
4515
|
+
readonly submitUrl?: string | null;
|
|
4516
|
+
readonly prefill?: Readonly<Record<string, unknown>>;
|
|
4517
|
+
readonly proposalId?: string | null;
|
|
4518
|
+
readonly expectedVersionTag?: string | null;
|
|
4519
|
+
readonly overlayInitialValueOnEdit?: boolean;
|
|
4520
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
4521
|
+
}
|
|
4522
|
+
type WorkspaceAssistantDispatchedAction = {
|
|
4523
|
+
readonly kind: 'navigate';
|
|
4524
|
+
readonly route: string;
|
|
4525
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
4526
|
+
} | {
|
|
4527
|
+
readonly kind: 'open-surface';
|
|
4528
|
+
readonly request: WorkspaceAssistantOpenSurfaceRequest;
|
|
4529
|
+
} | {
|
|
4530
|
+
readonly kind: 'apply-filter';
|
|
4531
|
+
readonly request: WorkspaceAssistantApplyFilterRequest;
|
|
4532
|
+
} | {
|
|
4533
|
+
readonly kind: 'run-action';
|
|
4534
|
+
readonly request: WorkspaceAssistantRunActionRequest;
|
|
4535
|
+
} | {
|
|
4536
|
+
readonly kind: 'apply-host-scope';
|
|
4537
|
+
readonly prefill: Readonly<Record<string, unknown>>;
|
|
4538
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
4539
|
+
} | {
|
|
4540
|
+
readonly kind: 'disambiguate';
|
|
4541
|
+
readonly entityKey: string;
|
|
4542
|
+
readonly entityId: string;
|
|
4543
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
4544
|
+
} | {
|
|
4545
|
+
readonly kind: 'proposal-prepared';
|
|
4546
|
+
readonly proposal: PraxisAssistantActionProposalItem;
|
|
4547
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
4548
|
+
};
|
|
4549
|
+
interface WorkspaceAssistantRouterAdapter {
|
|
4550
|
+
readonly url?: string;
|
|
4551
|
+
readonly getUrl?: () => string;
|
|
4552
|
+
navigateByUrl(url: string): unknown;
|
|
4553
|
+
}
|
|
4554
|
+
declare const PRAXIS_WORKSPACE_ASSISTANT_ROUTER: InjectionToken<WorkspaceAssistantRouterAdapter>;
|
|
4555
|
+
interface PraxisWorkspaceAssistantOptions {
|
|
4556
|
+
readonly title?: string;
|
|
4557
|
+
readonly subtitle?: string;
|
|
4558
|
+
readonly placeholder?: string;
|
|
4559
|
+
readonly welcomeMessage?: string;
|
|
4560
|
+
readonly defaultQuickReplies?: readonly PraxisAssistantShellQuickReply[];
|
|
4561
|
+
readonly recommendedIntents?: readonly PraxisAssistantRecommendedIntent[];
|
|
4562
|
+
readonly provider?: string;
|
|
4563
|
+
readonly model?: string;
|
|
4564
|
+
readonly enableFileAttachments?: boolean;
|
|
4565
|
+
readonly enablePastedAttachments?: boolean;
|
|
4566
|
+
readonly allowAttachmentOnlySubmit?: boolean;
|
|
4567
|
+
readonly attachmentAccept?: string;
|
|
4568
|
+
readonly attachmentMultiple?: boolean;
|
|
4569
|
+
readonly maxAttachments?: number;
|
|
4570
|
+
readonly maxFileSizeBytes?: number;
|
|
4571
|
+
readonly filesBaseUrl?: string;
|
|
4572
|
+
readonly getCurrentUrl?: () => string;
|
|
4573
|
+
readonly resolveRouteContext?: (url: string) => WorkspaceAssistantRouteContext | null;
|
|
4574
|
+
readonly isReadyToSend?: () => boolean;
|
|
4575
|
+
readonly notReadyReason?: () => string;
|
|
4576
|
+
readonly onOpenSurface?: (request: WorkspaceAssistantOpenSurfaceRequest) => void | Promise<void>;
|
|
4577
|
+
readonly onApplyFilter?: (request: WorkspaceAssistantApplyFilterRequest) => void | Promise<void>;
|
|
4578
|
+
readonly onRunAction?: (request: WorkspaceAssistantRunActionRequest) => void | Promise<void>;
|
|
4579
|
+
readonly onOpenProposalForm?: (request: WorkspaceAssistantRunActionRequest) => void | Promise<void>;
|
|
4580
|
+
readonly onReviewBulkProposal?: (proposal: PraxisAssistantActionProposalItem) => Promise<PraxisBulkProposalHandoffResult | null> | PraxisBulkProposalHandoffResult | null;
|
|
4581
|
+
readonly onApplyHostScope?: (prefill: Readonly<Record<string, unknown>>, sourceEvent: PraxisAssistantOperationalBlockActionEvent) => void | Promise<void>;
|
|
4582
|
+
readonly onNavigate?: (route: string, sourceEvent: PraxisAssistantOperationalBlockActionEvent) => boolean | void | Promise<boolean | void>;
|
|
4583
|
+
}
|
|
4584
|
+
declare const PRAXIS_WORKSPACE_ASSISTANT_OPTIONS: InjectionToken<PraxisWorkspaceAssistantOptions>;
|
|
4585
|
+
/**
|
|
4586
|
+
* Validates and normalizes an internal application route path, rejecting external origins,
|
|
4587
|
+
* protocol-relative URLs, and javascript/data URIs.
|
|
4588
|
+
*/
|
|
4589
|
+
declare function normalizeSafeWorkspaceRoute(rawRoute: string | null | undefined): string | null;
|
|
4590
|
+
/**
|
|
4591
|
+
* Coordinates workspace-wide operational assistant turns, AI-context grounding,
|
|
4592
|
+
* active runtime observations, workspace query scope synchronization, and structured
|
|
4593
|
+
* block-action dispatching without local keyword/regex intent routing.
|
|
4594
|
+
*/
|
|
4595
|
+
declare class WorkspaceAssistantOrchestratorService implements PraxisOperationalAssistantLauncher {
|
|
4596
|
+
private readonly destroyRef;
|
|
4597
|
+
private readonly location;
|
|
4598
|
+
private readonly routerAdapter;
|
|
4599
|
+
private readonly aiBackendApi;
|
|
4600
|
+
private readonly turnClient;
|
|
4601
|
+
private readonly authoringTurnClient;
|
|
4602
|
+
private readonly runtimeContext;
|
|
4603
|
+
private readonly workspaceContext;
|
|
4604
|
+
private readonly observationRegistry;
|
|
4605
|
+
private readonly bulkProposalBridge;
|
|
4606
|
+
private readonly fileUploadPort;
|
|
4607
|
+
private readonly safeBlobPreview;
|
|
4608
|
+
private readonly attachmentsConfig;
|
|
4609
|
+
private readonly i18n;
|
|
4610
|
+
private readonly injectedOptions;
|
|
4611
|
+
private readonly optionsSignal;
|
|
4612
|
+
private readonly routeContextSignal;
|
|
4613
|
+
private readonly contextualFocusSignal;
|
|
4614
|
+
private contextualFocusRouteUrl;
|
|
4615
|
+
private contextualFocusedEntityRouteUrl;
|
|
4616
|
+
readonly activeContextualFocus: _angular_core.Signal<PraxisAssistantContextualLaunchRequest | null>;
|
|
4617
|
+
private readonly runtimeSnapshotTick;
|
|
4618
|
+
private readonly blockDispatchSubject;
|
|
4619
|
+
private readonly draftAttachmentsSignal;
|
|
4620
|
+
private readonly activeThreadAttachmentsSignal;
|
|
4621
|
+
private readonly pendingDetachedAttachmentIdsSignal;
|
|
4622
|
+
private readonly remoteFileConfigSignal;
|
|
4623
|
+
private readonly remoteFileConfigCache;
|
|
4624
|
+
private readonly remoteFileConfigInFlight;
|
|
4625
|
+
private readonly activeUploadSubscriptions;
|
|
4626
|
+
private readonly draftCapturedHeaders;
|
|
4627
|
+
private readonly ownedPreviewBlobUrls;
|
|
4628
|
+
private readonly previewBusyFileIds;
|
|
4629
|
+
private readonly liveSurfacesById;
|
|
4630
|
+
private readonly liveSurfacesSignal;
|
|
4631
|
+
private readonly seenSurfaceEventKeys;
|
|
4632
|
+
private readonly inFlightCounterfactualKeys;
|
|
4633
|
+
private readonly inFlightCounterfactualCount;
|
|
4634
|
+
private activeTurnSubscription;
|
|
4635
|
+
private activeStreamId;
|
|
4636
|
+
private activeTurnCapturedHeaders;
|
|
4637
|
+
private fallbackRouterAdapter;
|
|
4638
|
+
private activeStreamAccessToken;
|
|
4639
|
+
private activeStreamTurnId;
|
|
4640
|
+
private lastServerTurnId;
|
|
4641
|
+
private inFlightSubmitGeneration;
|
|
4642
|
+
private lastUserPrompt;
|
|
4643
|
+
private lastUserAttachmentRefs;
|
|
4644
|
+
private lastUserAttachmentSummaries;
|
|
4645
|
+
private inFlightTurnDrafts;
|
|
4646
|
+
private inFlightDetachedAttachmentIds;
|
|
4647
|
+
private inFlightUserMessageId;
|
|
4648
|
+
private inFlightAssistantMessageId;
|
|
4649
|
+
private inFlightFromComposer;
|
|
4650
|
+
private lastRuntimeIdentityKey;
|
|
4651
|
+
private lastNonNullRuntimeIdentityKey;
|
|
4652
|
+
private sessionEpoch;
|
|
4653
|
+
private activeTurnGeneration;
|
|
4654
|
+
private messageCounter;
|
|
4655
|
+
readonly open: _angular_core.WritableSignal<boolean>;
|
|
4656
|
+
readonly dockDismissed: _angular_core.WritableSignal<boolean>;
|
|
4657
|
+
readonly mode: _angular_core.WritableSignal<PraxisAssistantShellMode>;
|
|
4658
|
+
readonly state: _angular_core.WritableSignal<PraxisAssistantShellState>;
|
|
4659
|
+
readonly prompt: _angular_core.WritableSignal<string>;
|
|
4660
|
+
readonly statusText: _angular_core.WritableSignal<string>;
|
|
4661
|
+
readonly errorText: _angular_core.WritableSignal<string>;
|
|
4662
|
+
readonly sessionId: _angular_core.WritableSignal<string | null>;
|
|
4663
|
+
readonly messages: _angular_core.WritableSignal<readonly PraxisAssistantShellMessage[]>;
|
|
4664
|
+
readonly quickReplies: _angular_core.WritableSignal<readonly PraxisAssistantShellQuickReply[]>;
|
|
4665
|
+
readonly recommendedIntents: _angular_core.WritableSignal<readonly PraxisAssistantRecommendedIntent[]>;
|
|
4666
|
+
readonly lastFocusedEntity: _angular_core.WritableSignal<WorkspaceAssistantFocusedEntity | null>;
|
|
4667
|
+
readonly aiGrounding: _angular_core.WritableSignal<AiContextDTO | null>;
|
|
4668
|
+
readonly runtimeObservations: _angular_core.WritableSignal<readonly PraxisRuntimeComponentObservationEnvelope[]>;
|
|
4669
|
+
readonly draftAttachments: _angular_core.Signal<readonly PraxisAssistantShellAttachment[]>;
|
|
4670
|
+
readonly activeThreadAttachments: _angular_core.Signal<readonly OperationalAgentTurnAttachmentRef[]>;
|
|
4671
|
+
readonly pendingDetachedAttachmentIds: _angular_core.Signal<readonly string[]>;
|
|
4672
|
+
readonly activeTurnSurfaces: _angular_core.Signal<readonly PraxisAssistantSurfaceState[]>;
|
|
4673
|
+
readonly attachmentsEnabled: _angular_core.Signal<boolean>;
|
|
4674
|
+
readonly hasBlobPreviewSupport: _angular_core.Signal<boolean>;
|
|
4675
|
+
readonly attachmentAccept: _angular_core.Signal<string>;
|
|
4676
|
+
readonly attachmentMultiple: _angular_core.Signal<boolean>;
|
|
4677
|
+
readonly enablePastedAttachments: _angular_core.Signal<boolean>;
|
|
4678
|
+
readonly allowAttachmentOnlySubmit: _angular_core.Signal<boolean>;
|
|
4679
|
+
readonly hasUploadingAttachments: _angular_core.Signal<boolean>;
|
|
4680
|
+
readonly hasErroredAttachments: _angular_core.Signal<boolean>;
|
|
4681
|
+
readonly hasReadyAttachments: _angular_core.Signal<boolean>;
|
|
4682
|
+
readonly blockActionDispatched$: rxjs.Observable<WorkspaceAssistantDispatchedAction>;
|
|
4683
|
+
readonly canRunAuthoringTurns: _angular_core.Signal<boolean>;
|
|
4684
|
+
readonly busy: _angular_core.Signal<boolean>;
|
|
4685
|
+
readonly canSubmit: _angular_core.Signal<boolean>;
|
|
4686
|
+
readonly resolvedLabels: _angular_core.Signal<Partial<PraxisAssistantShellLabels>>;
|
|
4687
|
+
readonly dockTitle: _angular_core.Signal<string>;
|
|
4688
|
+
readonly dockSummary: _angular_core.Signal<string>;
|
|
4689
|
+
readonly dockBadge: _angular_core.Signal<string>;
|
|
4690
|
+
readonly secondaryActions: _angular_core.Signal<readonly PraxisAssistantShellAction[]>;
|
|
4691
|
+
readonly contextItems: _angular_core.Signal<readonly PraxisAssistantShellContextItem[]>;
|
|
4692
|
+
constructor();
|
|
4693
|
+
configureOptions(options: Partial<PraxisWorkspaceAssistantOptions>): void;
|
|
4694
|
+
configureDefaultOptions(defaults: Partial<PraxisWorkspaceAssistantOptions>): void;
|
|
4695
|
+
getOptions(): Readonly<PraxisWorkspaceAssistantOptions>;
|
|
4696
|
+
registerFallbackRouter(adapter: WorkspaceAssistantRouterAdapter): void;
|
|
4697
|
+
setRouteContext(context: WorkspaceAssistantRouteContext | null): void;
|
|
4698
|
+
openPanel(): void;
|
|
4699
|
+
minimizePanel(): void;
|
|
4700
|
+
closePanel(): void;
|
|
4701
|
+
togglePanel(): void;
|
|
4702
|
+
setOpen(nextOpen: boolean): void;
|
|
4703
|
+
setPrompt(value: string): void;
|
|
4704
|
+
openAssistant(initialPrompt?: string): void;
|
|
4705
|
+
launchContextual(request: PraxisAssistantContextualLaunchRequest): Promise<void>;
|
|
4706
|
+
resetConversation(): void;
|
|
4707
|
+
/**
|
|
4708
|
+
* Loads backend AI context grounding metadata from `/api/praxis/config/ai-context/{componentId}`
|
|
4709
|
+
* without leaking raw transport errors into the shell UI.
|
|
4710
|
+
*/
|
|
4711
|
+
refreshGrounding(componentId?: string | null, componentType?: string | null): Promise<AiContextDTO | null>;
|
|
4712
|
+
addDraftAttachments(incoming: readonly PraxisAssistantShellAttachment[]): void;
|
|
4713
|
+
retryDraftAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4714
|
+
removeDraftAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4715
|
+
detachThreadAttachment(fileId: string): void;
|
|
4716
|
+
previewDraftAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4717
|
+
previewEvidenceFile(fileId: string, displayName?: string, mimeTypeHint?: string): void;
|
|
4718
|
+
private previewFileById;
|
|
4719
|
+
private clearIdleDraftAttachments;
|
|
4720
|
+
abortAllUploadsAndCleanStagedDrafts(): void;
|
|
4721
|
+
submitPrompt(overridePrompt?: string, submitOptions?: {
|
|
4722
|
+
readonly includeComposerDrafts?: boolean;
|
|
4723
|
+
readonly fromComposer?: boolean;
|
|
4724
|
+
}): Promise<void>;
|
|
4725
|
+
private executeTurnSubmission;
|
|
4726
|
+
cancelActiveTurn(emitMessage?: boolean, restoreDrafts?: boolean): void;
|
|
4727
|
+
retryLastTurn(): Promise<void>;
|
|
4728
|
+
/**
|
|
4729
|
+
* Delegates agentic authoring turns through `AgenticAuthoringTurnClientService` while
|
|
4730
|
+
* automatically attaching sanitized runtime component observations.
|
|
4731
|
+
*/
|
|
4732
|
+
startAuthoringTurn(request: AgenticAuthoringTurnStreamRequest, options?: AgenticAuthoringTurnClientOptions): rxjs.Observable<_praxisui_ai.PraxisAssistantTurnResult>;
|
|
4733
|
+
handleQuickReply(reply: PraxisAssistantShellQuickReply): void;
|
|
4734
|
+
handleRecommendedIntent(intent: PraxisAssistantRecommendedIntent): void;
|
|
4735
|
+
handleShellAction(action: PraxisAssistantShellAction): void;
|
|
4736
|
+
handleBlockAction(event: PraxisAssistantOperationalBlockActionEvent): void;
|
|
4737
|
+
private reviewBulkProposal;
|
|
4738
|
+
completeProposalViaForm(proposalId: string, request?: OperationalAgentProposalExternalCompletionRequest): Promise<OperationalAgentProposalConfirmResponse | null>;
|
|
4739
|
+
refreshProposalStatus(proposalId: string): Promise<void>;
|
|
4740
|
+
private confirmProposal;
|
|
4741
|
+
private rejectProposal;
|
|
4742
|
+
private revalidateProposal;
|
|
4743
|
+
private applyProposalHttpError;
|
|
4744
|
+
private applyDependentUpdatesFromErrorBody;
|
|
4745
|
+
private updateProposalItem;
|
|
4746
|
+
private dispatchAlertSuggestedAction;
|
|
4747
|
+
private dispatchCounterfactualSuggestedAction;
|
|
4748
|
+
private prepareProposalFromCounterfactual;
|
|
4749
|
+
private mapProposalDetailToItem;
|
|
4750
|
+
private dispatchActionAffordance;
|
|
4751
|
+
private dispatchNavigate;
|
|
4752
|
+
private dispatchOpenSurface;
|
|
4753
|
+
private handleStreamEvent;
|
|
4754
|
+
private applyIncrementalSurfaceEvent;
|
|
4755
|
+
private clearLiveSurfaces;
|
|
4756
|
+
private syncInFlightCounterfactualCount;
|
|
4757
|
+
private normalizeFilterValue;
|
|
4758
|
+
private stampCounterfactualTurnId;
|
|
4759
|
+
private buildCancelledAssistantContent;
|
|
4760
|
+
private isMissingHintValue;
|
|
4761
|
+
private pickAllowlistedSurfaceHints;
|
|
4762
|
+
private finalizeResultAssistantContent;
|
|
4763
|
+
private updateFocusedEntityFromResult;
|
|
4764
|
+
private updateQuickRepliesFromResult;
|
|
4765
|
+
private buildTurnRequest;
|
|
4766
|
+
private buildScreenContext;
|
|
4767
|
+
private resolveFilesBaseUrl;
|
|
4768
|
+
private startUploadForDraft;
|
|
4769
|
+
private updateDraftAttachment;
|
|
4770
|
+
private revokePreviewBlobUrlForFileId;
|
|
4771
|
+
private revokeAllPreviewBlobUrls;
|
|
4772
|
+
private handleRuntimeIdentitySwitch;
|
|
4773
|
+
private clearInFlightDraftHeaders;
|
|
4774
|
+
private resolveNormalizedCurrentUrl;
|
|
4775
|
+
private syncContextualFocusWithCurrentRoute;
|
|
4776
|
+
private applyDependentProposalUpdates;
|
|
4777
|
+
private applySingleDependentProposalUpdate;
|
|
4778
|
+
private promoteDependentProposals;
|
|
4779
|
+
private cascadeBlockDependentProposals;
|
|
4780
|
+
private findProposalItem;
|
|
4781
|
+
private syncThreadAttachmentsFromPayload;
|
|
4782
|
+
private resolveEffectiveMaxFileSizeBytes;
|
|
4783
|
+
private ensureRemoteFileConfigLoaded;
|
|
4784
|
+
private captureCurrentContextHeaders;
|
|
4785
|
+
private resolveFileOperationOptions;
|
|
4786
|
+
private resolveDocumentStageStatusText;
|
|
4787
|
+
private resolveCurrentRouteContext;
|
|
4788
|
+
private collectRuntimeObservations;
|
|
4789
|
+
private applyScopePrefillToWorkspaceContext;
|
|
4790
|
+
private parseContextDimension;
|
|
4791
|
+
private updateMessage;
|
|
4792
|
+
private nextMessageId;
|
|
4793
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WorkspaceAssistantOrchestratorService, never>;
|
|
4794
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<WorkspaceAssistantOrchestratorService>;
|
|
4795
|
+
}
|
|
4796
|
+
declare function providePraxisWorkspaceAssistantLauncher(): Provider;
|
|
4797
|
+
|
|
4798
|
+
/**
|
|
4799
|
+
* Turnkey workspace dock + shell assistant component backed by
|
|
4800
|
+
* `WorkspaceAssistantOrchestratorService`, connecting `@praxisui/ai` streaming,
|
|
4801
|
+
* backend `/api/praxis/config/ai-context/**` grounding, and `@praxisui/core`
|
|
4802
|
+
* enterprise/query context without local keyword routing or `window` hooks.
|
|
4803
|
+
*/
|
|
4804
|
+
declare class PraxisWorkspaceAssistantComponent {
|
|
4805
|
+
readonly orchestrator: WorkspaceAssistantOrchestratorService;
|
|
4806
|
+
private readonly i18n;
|
|
4807
|
+
private readonly destroyRef;
|
|
4808
|
+
readonly showDock: _angular_core.InputSignal<boolean>;
|
|
4809
|
+
readonly allowDismissDock: _angular_core.InputSignal<boolean>;
|
|
4810
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
4811
|
+
readonly subtitle: _angular_core.InputSignal<string | undefined>;
|
|
4812
|
+
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
4813
|
+
readonly mode: _angular_core.InputSignal<PraxisAssistantShellMode | undefined>;
|
|
4814
|
+
readonly draggable: _angular_core.InputSignal<boolean>;
|
|
4815
|
+
readonly resizable: _angular_core.InputSignal<boolean>;
|
|
4816
|
+
readonly dockTestId: _angular_core.InputSignal<string>;
|
|
4817
|
+
readonly shellTestIdPrefix: _angular_core.InputSignal<string>;
|
|
4818
|
+
readonly routeContext: _angular_core.InputSignal<WorkspaceAssistantRouteContext | null | undefined>;
|
|
4819
|
+
readonly componentId: _angular_core.InputSignal<string | null | undefined>;
|
|
4820
|
+
readonly componentType: _angular_core.InputSignal<string | null | undefined>;
|
|
4821
|
+
readonly assistantOptions: _angular_core.InputSignal<Partial<PraxisWorkspaceAssistantOptions> | null | undefined>;
|
|
4822
|
+
readonly layout: _angular_core.InputSignal<PraxisAssistantShellLayout | undefined>;
|
|
4823
|
+
private readonly userLayout;
|
|
4824
|
+
private hasSeenInitialLayoutInput;
|
|
4825
|
+
private previousLayoutInput;
|
|
4826
|
+
readonly effectiveLayout: _angular_core.Signal<PraxisAssistantShellLayout | undefined>;
|
|
4827
|
+
readonly resolvedLayout: _angular_core.Signal<PraxisAssistantShellLayout>;
|
|
4828
|
+
readonly openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
4829
|
+
readonly blockActionDispatched: _angular_core.OutputEmitterRef<WorkspaceAssistantDispatchedAction>;
|
|
4830
|
+
readonly blockActionRaw: _angular_core.OutputEmitterRef<PraxisAssistantOperationalBlockActionEvent>;
|
|
4831
|
+
readonly openSurface: _angular_core.OutputEmitterRef<WorkspaceAssistantOpenSurfaceRequest>;
|
|
4832
|
+
readonly applyFilter: _angular_core.OutputEmitterRef<WorkspaceAssistantApplyFilterRequest>;
|
|
4833
|
+
readonly runAction: _angular_core.OutputEmitterRef<WorkspaceAssistantRunActionRequest>;
|
|
4834
|
+
readonly navigateRequested: _angular_core.OutputEmitterRef<string>;
|
|
4835
|
+
landmarkAriaLabel(): string;
|
|
4836
|
+
dockAriaLabel(): string;
|
|
4837
|
+
dockTooltip(): string;
|
|
4838
|
+
dockCloseAriaLabel(): string;
|
|
4839
|
+
dockCloseTooltip(): string;
|
|
4840
|
+
readonly resolvedMode: _angular_core.Signal<PraxisAssistantShellMode>;
|
|
4841
|
+
readonly dockTone: _angular_core.Signal<PraxisAssistantDockTone>;
|
|
4842
|
+
readonly mergedLabels: _angular_core.Signal<Partial<PraxisAssistantShellLabels>>;
|
|
4843
|
+
constructor();
|
|
4844
|
+
onLayoutChange(layout: PraxisAssistantShellLayout): void;
|
|
4845
|
+
onOpenPanel(): void;
|
|
4846
|
+
onMinimizePanel(): void;
|
|
4847
|
+
onClosePanel(): void;
|
|
4848
|
+
onShellAction(action: PraxisAssistantShellAction): void;
|
|
4849
|
+
onQuickReply(reply: PraxisAssistantShellQuickReply): void;
|
|
4850
|
+
onRecommendedIntent(intent: PraxisAssistantRecommendedIntent): void;
|
|
4851
|
+
onBlockAction(event: PraxisAssistantOperationalBlockActionEvent): void;
|
|
4852
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisWorkspaceAssistantComponent, never>;
|
|
4853
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisWorkspaceAssistantComponent, "praxis-workspace-assistant", never, { "showDock": { "alias": "showDock"; "required": false; "isSignal": true; }; "allowDismissDock": { "alias": "allowDismissDock"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "dockTestId": { "alias": "dockTestId"; "required": false; "isSignal": true; }; "shellTestIdPrefix": { "alias": "shellTestIdPrefix"; "required": false; "isSignal": true; }; "routeContext": { "alias": "routeContext"; "required": false; "isSignal": true; }; "componentId": { "alias": "componentId"; "required": false; "isSignal": true; }; "componentType": { "alias": "componentType"; "required": false; "isSignal": true; }; "assistantOptions": { "alias": "assistantOptions"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; "blockActionDispatched": "blockActionDispatched"; "blockActionRaw": "blockActionRaw"; "openSurface": "openSurface"; "applyFilter": "applyFilter"; "runAction": "runAction"; "navigateRequested": "navigateRequested"; }, never, never, true, never>;
|
|
4854
|
+
}
|
|
4855
|
+
|
|
4856
|
+
declare const WORKSPACE_ASSISTANT_PT_BR: {
|
|
4857
|
+
readonly landmarkAria: "Assistente operacional do workspace";
|
|
4858
|
+
readonly title: "Assistente Operacional";
|
|
4859
|
+
readonly subtitle: "Consultas ao catálogo de recursos, fluxos e ações governadas";
|
|
4860
|
+
readonly placeholder: "Pergunte sobre recursos, filtros, registros ou próximas ações...";
|
|
4861
|
+
readonly dockTitle: "Assistente do workspace ativo";
|
|
4862
|
+
readonly dockSummaryEmpty: "Pronto para consultas operacionais e ações guiadas.";
|
|
4863
|
+
readonly dockSummaryMessages: "Conversa preservada ({count} mensagens).";
|
|
4864
|
+
readonly dockBadgeIdle: "Copiloto";
|
|
4865
|
+
readonly dockBadgeBusy: "Processando";
|
|
4866
|
+
readonly dockBadgeError: "Atenção";
|
|
4867
|
+
readonly dockAria: "Abrir assistente operacional do workspace";
|
|
4868
|
+
readonly dockOpenTooltip: "Abrir painel do assistente operacional";
|
|
4869
|
+
readonly dockCloseAria: "Fechar assistente operacional";
|
|
4870
|
+
readonly dockCloseTooltip: "Fechar assistente";
|
|
4871
|
+
readonly resetAction: "Nova conversa";
|
|
4872
|
+
readonly clearFocusAction: "Limpar foco";
|
|
4873
|
+
readonly contextTenantLabel: "Órgão";
|
|
4874
|
+
readonly contextOrganizationLabel: "Organização";
|
|
4875
|
+
readonly contextResourceLabel: "Área";
|
|
4876
|
+
readonly contextFocusLabel: "Foco";
|
|
4877
|
+
readonly contextObservationsLabel: "Observações";
|
|
4878
|
+
readonly contextGroundingLabel: "Contexto IA";
|
|
4879
|
+
readonly statusConnecting: "Conectando ao agente operacional...";
|
|
4880
|
+
readonly statusCancelling: "Cancelando execução em andamento...";
|
|
4881
|
+
readonly statusCancelled: "Solicitação cancelada.";
|
|
4882
|
+
readonly statusNotReady: "Contexto de sessão ainda não confirmado para executar turnos.";
|
|
4883
|
+
readonly turnFailed: "Não foi possível concluir a solicitação operacional. Tente novamente.";
|
|
4884
|
+
readonly groundingUnavailable: "Contexto adicional indisponível neste momento.";
|
|
4885
|
+
readonly routeBlockedWarning: "Navegação bloqueada por política de segurança de rotas.";
|
|
4886
|
+
readonly attachmentOnlyPromptSummary: "Analisar arquivo(s) anexado(s)";
|
|
4887
|
+
readonly attachmentMaxCountExceeded: "Limite de {max} anexo(s) simultâneo(s) excedido.";
|
|
4888
|
+
readonly attachmentMaxSizeExceeded: "Arquivo {name} excede o tamanho máximo permitido ({maxMb} MB).";
|
|
4889
|
+
readonly attachmentUploadFailed: "Não foi possível enviar o arquivo {name}. Tente novamente.";
|
|
4890
|
+
readonly attachmentPreviewFailed: "Não foi possível abrir o preview seguro do arquivo {name}.";
|
|
4891
|
+
readonly attachmentPreviewDownloaded: "Arquivo \"{name}\" baixado com segurança para análise local.";
|
|
4892
|
+
readonly attachmentDetachedStatus: "Anexo removido do contexto contínuo da conversa.";
|
|
4893
|
+
readonly proposalFourEyesAwaitingSecondApprover: "Aguardando aprovação de 2º usuário (4-Olhos). Um segundo revisor autorizado pode concluir esta ação.";
|
|
4894
|
+
readonly proposalRevalidatingStatus: "Revalidando proposta na revisão mais recente...";
|
|
4895
|
+
readonly proposalRevalidatedStatus: "Proposta revalidada e pronta para confirmação.";
|
|
4896
|
+
readonly proposalRevalidateFailed: "Não foi possível revalidar a proposta neste momento.";
|
|
4897
|
+
readonly proposalRefreshingStatus: "Sincronizando status da aprovação...";
|
|
4898
|
+
readonly proposalRefreshedStatus: "Status da aprovação atualizado.";
|
|
4899
|
+
readonly proposalRefreshFailed: "Não foi possível consultar o status atualizado da proposta.";
|
|
4900
|
+
readonly proposalCascadeBlockedNote: "Bloqueada automaticamente porque a etapa pré-requisito foi rejeitada ou encerrada.";
|
|
4901
|
+
readonly uploadErrorVirus: "O arquivo \"{name}\" foi bloqueado pela inspeção de segurança e não pode ser anexado.";
|
|
4902
|
+
readonly uploadErrorScannerUnavailable: "A verificação antivírus está temporariamente indisponível para \"{name}\". Tente novamente em instantes.";
|
|
4903
|
+
readonly uploadErrorTooLarge: "O arquivo \"{name}\" excede o tamanho máximo aceito pela política do servidor.";
|
|
4904
|
+
readonly uploadErrorUnsupportedType: "O tipo ou assinatura interna de \"{name}\" não é permitido para upload nesta política.";
|
|
4905
|
+
readonly uploadErrorQuota: "Limite de armazenamento ou cota atingida ao tentar enviar \"{name}\".";
|
|
4906
|
+
readonly uploadErrorConflict: "Já existe um arquivo em conflito para \"{name}\". Escolha outro arquivo ou renomeie-o.";
|
|
4907
|
+
readonly uploadErrorRateLimit: "Limite temporário de envios atingido. Aguarde alguns instantes antes de reenviar \"{name}\".";
|
|
4908
|
+
readonly uploadErrorUnauthorized: "Sessão sem autorização para enviar anexos neste contexto organizacional.";
|
|
4909
|
+
readonly uploadErrorInvalid: "O arquivo \"{name}\" falhou na validação estrutural e não pôde ser aceito.";
|
|
4910
|
+
readonly uploadErrorNetwork: "Falha temporária de comunicação ao enviar \"{name}\". Tente novamente.";
|
|
4911
|
+
readonly stageAttachmentsInspecting: "Validando e extraindo evidências do(s) documento(s)...";
|
|
4912
|
+
readonly stageInspectDocumentStructure: "Analisando estrutura e informações do documento...";
|
|
4913
|
+
readonly stageReadDocumentPages: "Lendo páginas e trechos do documento anexado...";
|
|
4914
|
+
readonly stageInspectDocumentVisually: "Analisando visualmente página do documento em modo isolado...";
|
|
4915
|
+
readonly stageVerifyOfficialDocument: "Consultando verificação oficial externa do documento...";
|
|
4916
|
+
readonly stageDiscoverResources: "Consultando catálogo de recursos e regras...";
|
|
4917
|
+
readonly stageSearchEntities: "Localizando registros relacionados...";
|
|
4918
|
+
readonly stageAnalyzeData: "Analisando indicadores e registros...";
|
|
4919
|
+
readonly stageGenericTool: "Consultando dados e regras de negócio...";
|
|
4920
|
+
readonly counterfactualProposalPreparingStatus: "Preparando proposta governada a partir do contrafactual validado...";
|
|
4921
|
+
readonly counterfactualProposalPreparedStatus: "Proposta governada preparada. Revise os detalhes antes de confirmar.";
|
|
4922
|
+
readonly counterfactualProposalPreparedMessage: "Proposta governada preparada a partir da alternativa contrafactual validada. Revise os dados abaixo antes de confirmar.";
|
|
4923
|
+
readonly counterfactualProposalPrepareFailed: "Não foi possível preparar a proposta governada a partir deste contrafactual.";
|
|
4924
|
+
readonly counterfactualProposalRejectedNotValidated: "Apenas alternativas contrafactuais validadas pelo motor de regras podem gerar propostas governadas.";
|
|
4925
|
+
};
|
|
4926
|
+
type WorkspaceAssistantI18nKey = keyof typeof WORKSPACE_ASSISTANT_PT_BR;
|
|
4927
|
+
declare const WORKSPACE_ASSISTANT_EN_US: Record<WorkspaceAssistantI18nKey, string>;
|
|
4928
|
+
declare function resolveWorkspaceAssistantText(i18n: PraxisI18nService | null | undefined, key: WorkspaceAssistantI18nKey, params?: Readonly<Record<string, string | number>>): string;
|
|
4929
|
+
|
|
2793
4930
|
declare class AiContextBuilderService {
|
|
2794
4931
|
private schemaMinifier;
|
|
2795
4932
|
constructor(schemaMinifier: SchemaMinifierService);
|
|
2796
4933
|
/**
|
|
2797
4934
|
* Builds the complete context for the AI prompt
|
|
2798
4935
|
*/
|
|
2799
|
-
buildPromptContext(fieldSchemas: Record<string, FieldSchemaLike>, targetType: 'field' | 'section' | 'action' | 'row' | 'column' | 'visualBlock', propertySchema: RulePropertySchema): PromptContext;
|
|
4936
|
+
buildPromptContext(fieldSchemas: Record<string, FieldSchemaLike>, targetType: 'field' | 'section' | 'action' | 'row' | 'column' | 'visualBlock', propertySchema: RulePropertySchema, allowedOntologicalRoots?: string[]): PromptContext;
|
|
2800
4937
|
buildRulePrompt(userPrompt: string, context: PromptContext): string;
|
|
2801
4938
|
buildSuggestionPrompt(context: PromptContext): string;
|
|
2802
4939
|
/**
|
|
@@ -2807,14 +4944,15 @@ declare class AiContextBuilderService {
|
|
|
2807
4944
|
* Lists JSON Logic operators with examples
|
|
2808
4945
|
*/
|
|
2809
4946
|
private formatOperators;
|
|
2810
|
-
static ɵfac:
|
|
2811
|
-
static ɵprov:
|
|
4947
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiContextBuilderService, never>;
|
|
4948
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AiContextBuilderService>;
|
|
2812
4949
|
}
|
|
2813
4950
|
|
|
2814
4951
|
interface AiWizardData {
|
|
2815
4952
|
fieldSchemas: Record<string, FieldSchemaLike>;
|
|
2816
4953
|
targetSchemas?: any;
|
|
2817
4954
|
propertySchema: RulePropertySchema;
|
|
4955
|
+
allowedOntologicalRoots?: string[];
|
|
2818
4956
|
}
|
|
2819
4957
|
type WizardStep = 'prompt' | 'review';
|
|
2820
4958
|
declare class AiRuleWizardDialogComponent implements OnInit {
|
|
@@ -2857,9 +4995,9 @@ declare class AiRuleWizardDialogComponent implements OnInit {
|
|
|
2857
4995
|
value: any;
|
|
2858
4996
|
}[];
|
|
2859
4997
|
hasProps(obj: any): boolean;
|
|
2860
|
-
static ɵfac:
|
|
2861
|
-
static ɵcmp:
|
|
4998
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiRuleWizardDialogComponent, never>;
|
|
4999
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AiRuleWizardDialogComponent, "praxis-ai-rule-wizard-dialog", never, {}, {}, never, never, true, never>;
|
|
2862
5000
|
}
|
|
2863
5001
|
|
|
2864
|
-
export { AI_BACKEND_CONFIG_STORE, AI_BACKEND_ENDPOINTS, AI_BACKEND_STORAGE_OPTIONS, AI_CONTRACT_SCHEMA_HASH, AI_CONTRACT_VERSION, AI_INTENT_CONTRACT_SCHEMA_HASH, AI_INTENT_CONTRACT_VERSION, AI_STREAM_EVENT_SCHEMA_VERSION, AI_STREAM_EVENT_TYPES, AgenticAuthoringTurnClientService, AiBackendApiService, AiPatchStreamConnectionError, AiResponseValidatorService, AiRuleWizardDialogComponent, BaseAiAdapter, PRAXIS_ASSISTANT_CONTEXT_ATTACHMENT_LIMIT, PRAXIS_ASSISTANT_CONTEXT_ITEM_LIMIT, PRAXIS_ASSISTANT_CONTEXT_SCHEMA_FIELD_LIMIT, PRAXIS_ASSISTANT_CONTEXT_TEXT_LIMIT, PRAXIS_ASSISTANT_VOICE_INPUT_MODE, PRAXIS_ASSISTANT_VOICE_LANGUAGE, PRAXIS_AUTHORING_SCOPE_POLICY_KIND, PRAXIS_AUTHORING_SCOPE_POLICY_VERSION, PraxisAi, PraxisAiAssistantComponent, PraxisAiAssistantDockComponent, PraxisAiAssistantSessionHostComponent, PraxisAiAssistantShellComponent, PraxisAiService, PraxisAssistantSessionRegistryService, PraxisAssistantTurnController, PraxisAssistantTurnOrchestratorService, PraxisGovernedAudioTranscriptionService, SchemaMinifierService, createAuthoringScopePolicyContext, createAuthoringScopePolicySystemMessage, createComponentAuthoringContext, createPraxisAssistantViewportLayout, normalizeAuthoringPrompt, normalizePraxisAssistantAttachmentSummary, normalizePraxisAssistantContextSnapshot, sanitizePraxisAssistantText, shouldRoutePromptToGovernedDecision, submitPraxisAssistantQuickReply, toAiJsonObject, toPraxisAssistantClarificationOption, toPraxisAssistantConversationMessages, withAuthoringScopePolicy, withAuthoringScopePolicyContextHints, withAuthoringScopePolicyMessage };
|
|
2865
|
-
export type { AgenticAuthoringApplyRequestContract, AgenticAuthoringApplyResultContract, AgenticAuthoringApplyTargetContract, AgenticAuthoringAttachmentSummaryContract, AgenticAuthoringCandidateContract, AgenticAuthoringClientActionContract, AgenticAuthoringComponentCapabilitiesResultContract, AgenticAuthoringComponentCapabilityCatalogContract, AgenticAuthoringComponentCapabilityContract, AgenticAuthoringComponentCapabilityDiagnosticsContract, AgenticAuthoringComponentCapabilityExampleContract, AgenticAuthoringComponentFieldAliasContract, AgenticAuthoringConversationContextContract, AgenticAuthoringConversationMessageContract, AgenticAuthoringIntentResolutionRequestContract, AgenticAuthoringIntentResolutionResultContract, AgenticAuthoringManifestCompileResult, AgenticAuthoringManifestCompileResultContract, AgenticAuthoringManifestEditPlanRequest, AgenticAuthoringManifestEditPlanRequestContract, AgenticAuthoringManifestValidationResult, AgenticAuthoringManifestValidationResultContract, AgenticAuthoringPendingClarificationContract, AgenticAuthoringPlanRequestContract, AgenticAuthoringPreviewResultContract, AgenticAuthoringQuickReplyContract, AgenticAuthoringResolveTargetRequest, AgenticAuthoringResolveTargetRequestContract, AgenticAuthoringResolvedTarget, AgenticAuthoringResolvedTargetContract, AgenticAuthoringResourceCandidatesRequestContract, AgenticAuthoringResourceCandidatesResultContract, AgenticAuthoringSemanticDecisionContract, AgenticAuthoringTurnClientEvent, AgenticAuthoringTurnClientOptions, AgenticAuthoringTurnLifecycleEvent, AgenticAuthoringTurnStreamConnection, AgenticAuthoringTurnStreamConnectionOptions, AgenticAuthoringTurnStreamContextHintsContract, AgenticAuthoringTurnStreamEnvelope, AgenticAuthoringTurnStreamEnvelopeContract, AgenticAuthoringTurnStreamEnvelopeEvent, AgenticAuthoringTurnStreamLifecycle, AgenticAuthoringTurnStreamRequest, AgenticAuthoringTurnStreamRequestContract, AgenticAuthoringTurnStreamStartOptions, AgenticAuthoringTurnStreamStartResponse, AgenticAuthoringTurnStreamStartResponseContract, AgenticAuthoringTurnStreamStartedEvent, AiAssistantObservationFeedbackRating, AiAssistantObservationFeedbackRatingValue, AiAssistantObservationFeedbackRequest, AiAssistantObservationFeedbackRequestContract, AiAssistantObservationFeedbackResponse, AiAssistantObservationFeedbackResponseContract, AiAssistantObservationResponseContract, AiAssistantObservationSummaryResponseContract, AiAssistantObservationSummaryRowContract, AiAudioTranscriptionResponse, AiAuthoringResponseMode, AiAuthoringResponseModeKind, AiBackendConfigStore, AiBackendEndpoints, AiBackendStorageOptions, AiChatMessage, AiChatMessageContract, AiClarificationUiContract, AiComponentAuthoringContract, AiConfigAdapter, AiConsultativeAuthoringContext, AiContextDTO, AiContextHintsContract, AiContextTemplate, AiContextTemplateMeta, AiCurrentStateDigest, AiCurrentStateDigestContract, AiDomainCatalogContextHintContract, AiDomainCatalogContextHintIntent, AiDomainCatalogContextHintItemType, AiDomainCatalogRelationshipHintContract, AiExamplePair, AiGlobalConfigSnapshot, AiGovernedDecisionRoutingOptions, AiHeaderContext, AiIntegrationConfig, AiJsonArray, AiJsonObject, AiJsonPrimitive, AiJsonValue, AiMemoryInfoContract, AiModel, AiOptionContract, AiOrchestratorRequest, AiOrchestratorRequestContract, AiOrchestratorResponse, AiOrchestratorResponseContract, AiOrchestratorResponseType, AiPatchDiff, AiPatchDiffContract, AiPatchStreamCancelResponse, AiPatchStreamCancelResponseContract, AiPatchStreamConnection, AiPatchStreamConnectionErrorKind, AiPatchStreamEnvelope, AiPatchStreamEnvelopeContract, AiPatchStreamEventType, AiPatchStreamStartResponse, AiPatchStreamStartResponseContract, AiProviderCatalogItem, AiProviderCatalogResponse, AiProviderModelsRequest, AiProviderModelsResponse, AiProviderStatusResponse, AiProviderTestRequest, AiProviderTestResponse, AiResponseCompileResult, AiRuleResponse, AiSchemaContext, AiSchemaContextContract, AiSuggestion, AiSuggestionsRequest, AiSuggestionsResponse, AiTurnStreamEventType, AiUiContextRef, AiUiContextRefContract, AiValidationError, AiValidationResult, AiValidationWarning, AiWizardData, Capability, FieldSchemaLike, MinifiedField, PatchResult, PraxisAssistantActionContract, PraxisAssistantActionKind, PraxisAssistantAttachmentKind, PraxisAssistantAttachmentSummary, PraxisAssistantAuthoringManifestRef, PraxisAssistantCapabilityRef, PraxisAssistantClarificationOption, PraxisAssistantClarificationQuestion, PraxisAssistantClarificationQuestionType, PraxisAssistantComponentType, PraxisAssistantContextItem, PraxisAssistantContextMode, PraxisAssistantContextSessionDescriptor, PraxisAssistantContextSnapshot, PraxisAssistantConversationMessage, PraxisAssistantConversationMessageRole, PraxisAssistantDigest, PraxisAssistantDockTone, PraxisAssistantGovernanceHint, PraxisAssistantIdentity, PraxisAssistantOpenRequest, PraxisAssistantOpportunityCandidate, PraxisAssistantOpportunityCandidateStatus, PraxisAssistantOpportunityCatalog, PraxisAssistantOpportunityEvidence, PraxisAssistantOpportunityGroup, PraxisAssistantOpportunityMissingContext, PraxisAssistantOpportunitySafety, PraxisAssistantOpportunityTarget, PraxisAssistantOwnerType, PraxisAssistantPendingClarification, PraxisAssistantRecommendedIntent, PraxisAssistantRecommendedIntentAction, PraxisAssistantRecommendedIntentPresentation, PraxisAssistantRecommendedIntentTone, PraxisAssistantRiskLevel, PraxisAssistantSessionDescriptor, PraxisAssistantSessionIdentityRef, PraxisAssistantSessionPresence, PraxisAssistantSessionSnapshot, PraxisAssistantSessionVisibility, PraxisAssistantShellAction, PraxisAssistantShellActionTone, PraxisAssistantShellAttachment, PraxisAssistantShellContextItem, PraxisAssistantShellLabels, PraxisAssistantShellLayout, PraxisAssistantShellMessage, PraxisAssistantShellMessageAction, PraxisAssistantShellMessageRole, PraxisAssistantShellMode, PraxisAssistantShellQuickReply, PraxisAssistantShellQuickReplyEvidence, PraxisAssistantShellQuickReplyPresentation, PraxisAssistantShellQuickReplyPresentationItem, PraxisAssistantShellQuickReplyPresentationKind, PraxisAssistantShellState, PraxisAssistantTargetKind, PraxisAssistantTargetRef, PraxisAssistantTurnAction, PraxisAssistantTurnControllerOptions, PraxisAssistantTurnFlow, PraxisAssistantTurnPhase, PraxisAssistantTurnRequest, PraxisAssistantTurnResult, PraxisAssistantTurnViewState, PraxisAssistantViewportLayoutOptions, PraxisAssistantVoiceCaptureState, PraxisAssistantVoiceInputMode, PraxisAuthoringScopeChatMessage, PraxisAuthoringScopePolicyOptions, PraxisAuthoringScopePolicyRequest, ProblemResponseContract, PromptContext, RulePropertyDefinition, RulePropertySchema, RulePropertyType, ValidationContext, ValueKind };
|
|
5002
|
+
export { AI_BACKEND_CONFIG_STORE, AI_BACKEND_ENDPOINTS, AI_BACKEND_STORAGE_OPTIONS, AI_CONTRACT_SCHEMA_HASH, AI_CONTRACT_VERSION, AI_INTENT_CONTRACT_SCHEMA_HASH, AI_INTENT_CONTRACT_VERSION, AI_STREAM_EVENT_SCHEMA_VERSION, AI_STREAM_EVENT_TYPES, ASSISTANT_ATTACHMENTS_EN_US, ASSISTANT_ATTACHMENTS_PT_BR, ASSISTANT_OPERATIONAL_EN_US, ASSISTANT_OPERATIONAL_PT_BR, AgenticAuthoringTurnClientService, AiBackendApiService, AiPatchStreamConnectionError, AiResponseValidatorService, AiRuleWizardDialogComponent, AssistantHistoryService, BaseAiAdapter, DEFAULT_WORKSPACE_ASSISTANT_ATTACHMENT_ACCEPT, OperationalAgentTurnClientService, PRAXIS_ASSISTANT_CONTEXT_ATTACHMENT_LIMIT, PRAXIS_ASSISTANT_CONTEXT_ITEM_LIMIT, PRAXIS_ASSISTANT_CONTEXT_SCHEMA_FIELD_LIMIT, PRAXIS_ASSISTANT_CONTEXT_TEXT_LIMIT, PRAXIS_ASSISTANT_VOICE_INPUT_MODE, PRAXIS_ASSISTANT_VOICE_LANGUAGE, PRAXIS_AUTHORING_SCOPE_POLICY_KIND, PRAXIS_AUTHORING_SCOPE_POLICY_VERSION, PRAXIS_WORKSPACE_ASSISTANT_ATTACHMENTS_CONFIG, PRAXIS_WORKSPACE_ASSISTANT_OPTIONS, PRAXIS_WORKSPACE_ASSISTANT_ROUTER, PraxisAi, PraxisAiAssistantComponent, PraxisAiAssistantDockComponent, PraxisAiAssistantSessionHostComponent, PraxisAiAssistantShellComponent, PraxisAiService, PraxisAssistantOperationalBlockComponent, PraxisAssistantSessionRegistryService, PraxisAssistantTurnController, PraxisAssistantTurnOrchestratorService, PraxisGovernedAudioTranscriptionService, PraxisWorkspaceAssistantComponent, SchemaMinifierService, WORKSPACE_ASSISTANT_EN_US, WORKSPACE_ASSISTANT_PT_BR, WorkspaceAssistantOrchestratorService, createAuthoringScopePolicyContext, createAuthoringScopePolicySystemMessage, createComponentAuthoringContext, createPraxisAssistantViewportLayout, normalizeAuthoringPrompt, normalizePraxisAssistantAttachmentSummary, normalizePraxisAssistantContextSnapshot, normalizeSafeWorkspaceRoute, providePraxisWorkspaceAssistantAttachments, providePraxisWorkspaceAssistantLauncher, resolveAssistantAttachmentText, resolveAssistantOperationalText, resolveWorkspaceAssistantText, sanitizePraxisAssistantText, shouldRoutePromptToGovernedDecision, submitPraxisAssistantQuickReply, toAiJsonObject, toPraxisAssistantClarificationOption, toPraxisAssistantConversationMessages, withAuthoringScopePolicy, withAuthoringScopePolicyContextHints, withAuthoringScopePolicyMessage };
|
|
5003
|
+
export type { AgenticAuthoringApplyRequestContract, AgenticAuthoringApplyResultContract, AgenticAuthoringApplyTargetContract, AgenticAuthoringAttachmentSummaryContract, AgenticAuthoringCandidateContract, AgenticAuthoringClientActionContract, AgenticAuthoringComponentCapabilitiesResultContract, AgenticAuthoringComponentCapabilityCatalogContract, AgenticAuthoringComponentCapabilityContract, AgenticAuthoringComponentCapabilityDiagnosticsContract, AgenticAuthoringComponentCapabilityExampleContract, AgenticAuthoringComponentFieldAliasContract, AgenticAuthoringConversationContextContract, AgenticAuthoringConversationMessageContract, AgenticAuthoringIntentResolutionRequestContract, AgenticAuthoringIntentResolutionResultContract, AgenticAuthoringManifestCompileResult, AgenticAuthoringManifestCompileResultContract, AgenticAuthoringManifestEditPlanRequest, AgenticAuthoringManifestEditPlanRequestContract, AgenticAuthoringManifestValidationResult, AgenticAuthoringManifestValidationResultContract, AgenticAuthoringPendingClarificationContract, AgenticAuthoringPlanRequestContract, AgenticAuthoringPreviewResultContract, AgenticAuthoringQuickReplyContract, AgenticAuthoringResolveTargetRequest, AgenticAuthoringResolveTargetRequestContract, AgenticAuthoringResolvedTarget, AgenticAuthoringResolvedTargetContract, AgenticAuthoringResourceCandidatesRequestContract, AgenticAuthoringResourceCandidatesResultContract, AgenticAuthoringSemanticDecisionContract, AgenticAuthoringTurnClientEvent, AgenticAuthoringTurnClientOptions, AgenticAuthoringTurnLifecycleEvent, AgenticAuthoringTurnStreamConnection, AgenticAuthoringTurnStreamConnectionOptions, AgenticAuthoringTurnStreamContextHintsContract, AgenticAuthoringTurnStreamEnvelope, AgenticAuthoringTurnStreamEnvelopeContract, AgenticAuthoringTurnStreamEnvelopeEvent, AgenticAuthoringTurnStreamLifecycle, AgenticAuthoringTurnStreamRequest, AgenticAuthoringTurnStreamRequestContract, AgenticAuthoringTurnStreamStartOptions, AgenticAuthoringTurnStreamStartResponse, AgenticAuthoringTurnStreamStartResponseContract, AgenticAuthoringTurnStreamStartedEvent, AiAssistantObservationFeedbackRating, AiAssistantObservationFeedbackRatingValue, AiAssistantObservationFeedbackRequest, AiAssistantObservationFeedbackRequestContract, AiAssistantObservationFeedbackResponse, AiAssistantObservationFeedbackResponseContract, AiAssistantObservationResponseContract, AiAssistantObservationSummaryResponseContract, AiAssistantObservationSummaryRowContract, AiAudioTranscriptionResponse, AiAuthoringResponseMode, AiAuthoringResponseModeKind, AiBackendConfigStore, AiBackendEndpoints, AiBackendStorageOptions, AiChatMessage, AiChatMessageContract, AiClarificationUiContract, AiComponentAuthoringContract, AiConfigAdapter, AiConsultativeAuthoringContext, AiContextDTO, AiContextHintsContract, AiContextTemplate, AiContextTemplateMeta, AiCurrentStateDigest, AiCurrentStateDigestContract, AiDomainCatalogContextHintContract, AiDomainCatalogContextHintIntent, AiDomainCatalogContextHintItemType, AiDomainCatalogRelationshipHintContract, AiExamplePair, AiGlobalConfigSnapshot, AiGovernedDecisionRoutingOptions, AiHeaderContext, AiIntegrationConfig, AiJsonArray, AiJsonObject, AiJsonPrimitive, AiJsonValue, AiMemoryInfoContract, AiModel, AiOptionContract, AiOrchestratorRequest, AiOrchestratorRequestContract, AiOrchestratorResponse, AiOrchestratorResponseContract, AiOrchestratorResponseType, AiPatchDiff, AiPatchDiffContract, AiPatchStreamCancelResponse, AiPatchStreamCancelResponseContract, AiPatchStreamConnection, AiPatchStreamConnectionErrorKind, AiPatchStreamEnvelope, AiPatchStreamEnvelopeContract, AiPatchStreamEventType, AiPatchStreamStartResponse, AiPatchStreamStartResponseContract, AiProviderCatalogItem, AiProviderCatalogResponse, AiProviderModelsRequest, AiProviderModelsResponse, AiProviderStatusResponse, AiProviderTestRequest, AiProviderTestResponse, AiResponseCompileResult, AiRuleResponse, AiSchemaContext, AiSchemaContextContract, AiSuggestion, AiSuggestionsRequest, AiSuggestionsResponse, AiTurnStreamEventType, AiUiContextRef, AiUiContextRefContract, AiValidationError, AiValidationResult, AiValidationWarning, AiWizardData, AssistantAttachmentI18nKey, AssistantHistoryContext, AssistantHistoryIndex, AssistantHistoryMessage, AssistantHistorySession, AssistantMessageRole, AssistantOperationalBlockI18nKey, Capability, FieldSchemaLike, MinifiedField, OperationalAgentConversationHistoryEntry, OperationalAgentCounterfactualProposalRequest, OperationalAgentDependentProposalUpdate, OperationalAgentProposalConfirmRequest, OperationalAgentProposalConfirmResponse, OperationalAgentProposalDetailResponse, OperationalAgentProposalExternalCompletionRequest, OperationalAgentProposalListQuery, OperationalAgentProposalListResponse, OperationalAgentProposalRejectRequest, OperationalAgentProposalSummaryResponse, OperationalAgentScreenContext, OperationalAgentScreenWidgetObservation, OperationalAgentTurnAttachmentRef, OperationalAgentTurnClientEvent, OperationalAgentTurnClientOptions, OperationalAgentTurnLifecycleEvent, OperationalAgentTurnResultPayload, OperationalAgentTurnStreamEnvelope, OperationalAgentTurnStreamRequest, OperationalAgentTurnStreamStartResponse, PatchResult, PraxisAssistantActionContract, PraxisAssistantActionInputField, PraxisAssistantActionKind, PraxisAssistantActionProposalApprovalPolicy, PraxisAssistantActionProposalItem, PraxisAssistantActionProposalStatus, PraxisAssistantActionProposalsBlock, PraxisAssistantActionRuleViolation, PraxisAssistantAnalyticalProvenance, PraxisAssistantAttachmentKind, PraxisAssistantAttachmentSummary, PraxisAssistantAuthoringManifestRef, PraxisAssistantBulkProposalDetails, PraxisAssistantBulkProposalSampleTarget, PraxisAssistantCalculationMemoryBlock, PraxisAssistantCalculationStep, PraxisAssistantCalculationTrail, PraxisAssistantCapabilityRef, PraxisAssistantClarificationOption, PraxisAssistantClarificationQuestion, PraxisAssistantClarificationQuestionType, PraxisAssistantComponentType, PraxisAssistantContentEnvelope, PraxisAssistantContentVersion, PraxisAssistantContextItem, PraxisAssistantContextMode, PraxisAssistantContextSessionDescriptor, PraxisAssistantContextSnapshot, PraxisAssistantConversationMessage, PraxisAssistantConversationMessageRole, PraxisAssistantCounterfactualCandidate, PraxisAssistantCounterfactualLeverDelta, PraxisAssistantCounterfactualRecourseBlock, PraxisAssistantDigest, PraxisAssistantDockTone, PraxisAssistantDocumentClassification, PraxisAssistantDocumentEvidenceBlock, PraxisAssistantDocumentExtractionMode, PraxisAssistantEpistemicAvailabilityState, PraxisAssistantEpistemicBadgeBlock, PraxisAssistantEpistemicKind, PraxisAssistantEpistemicMeta, PraxisAssistantGovernanceHint, PraxisAssistantIdentity, PraxisAssistantKnowledgeCitationItem, PraxisAssistantKnowledgeCitationsBlock, PraxisAssistantOpenRequest, PraxisAssistantOperationalActionAffordance, PraxisAssistantOperationalActionBarBlock, PraxisAssistantOperationalAlertItem, PraxisAssistantOperationalAlertListBlock, PraxisAssistantOperationalBlock, PraxisAssistantOperationalBlockActionEvent, PraxisAssistantOperationalBlockActionKind, PraxisAssistantOperationalBlockType, PraxisAssistantOperationalCollectionColumn, PraxisAssistantOperationalCompactCollectionBlock, PraxisAssistantOperationalWidgetBlock, PraxisAssistantOperationalWidgetSpec, PraxisAssistantOpportunityCandidate, PraxisAssistantOpportunityCandidateStatus, PraxisAssistantOpportunityCatalog, PraxisAssistantOpportunityEvidence, PraxisAssistantOpportunityGroup, PraxisAssistantOpportunityMissingContext, PraxisAssistantOpportunitySafety, PraxisAssistantOpportunityTarget, PraxisAssistantOwnerType, PraxisAssistantParagraphInline, PraxisAssistantParagraphRecordReferenceInline, PraxisAssistantParagraphTextInline, PraxisAssistantPendingClarification, PraxisAssistantRecommendedIntent, PraxisAssistantRecommendedIntentAction, PraxisAssistantRecommendedIntentPresentation, PraxisAssistantRecommendedIntentTone, PraxisAssistantRiskLevel, PraxisAssistantSessionDescriptor, PraxisAssistantSessionDismissal, PraxisAssistantSessionIdentityRef, PraxisAssistantSessionPresence, PraxisAssistantSessionSnapshot, PraxisAssistantSessionVisibility, PraxisAssistantShellAction, PraxisAssistantShellActionTone, PraxisAssistantShellAttachment, PraxisAssistantShellContextItem, PraxisAssistantShellLabels, PraxisAssistantShellLayout, PraxisAssistantShellMessage, PraxisAssistantShellMessageAction, PraxisAssistantShellMessageRole, PraxisAssistantShellMode, PraxisAssistantShellQuickReply, PraxisAssistantShellQuickReplyEvidence, PraxisAssistantShellQuickReplyPresentation, PraxisAssistantShellQuickReplyPresentationItem, PraxisAssistantShellQuickReplyPresentationKind, PraxisAssistantShellState, PraxisAssistantSimulationPreviewBlock, PraxisAssistantSimulationPreviewField, PraxisAssistantSimulationValidationIssue, PraxisAssistantSurfaceComponentPatchOp, PraxisAssistantSurfaceCreatePayload, PraxisAssistantSurfacePatchComponentsPayload, PraxisAssistantSurfacePatchDataPayload, PraxisAssistantSurfaceProtocolVersion, PraxisAssistantSurfaceState, PraxisAssistantSurfaceStatus, PraxisAssistantSurfaceSummary, PraxisAssistantTargetKind, PraxisAssistantTargetRef, PraxisAssistantTurnAction, PraxisAssistantTurnControllerOptions, PraxisAssistantTurnFlow, PraxisAssistantTurnPhase, PraxisAssistantTurnRequest, PraxisAssistantTurnResult, PraxisAssistantTurnViewState, PraxisAssistantViewportLayoutOptions, PraxisAssistantVoiceCaptureState, PraxisAssistantVoiceInputMode, PraxisAuthoringScopeChatMessage, PraxisAuthoringScopePolicyOptions, PraxisAuthoringScopePolicyRequest, PraxisWorkspaceAssistantAttachmentsConfig, PraxisWorkspaceAssistantOptions, ProblemResponseContract, PromptContext, RulePropertyDefinition, RulePropertySchema, RulePropertyType, ValidationContext, ValueKind, WorkspaceAssistantApplyFilterRequest, WorkspaceAssistantDispatchedAction, WorkspaceAssistantFocusedEntity, WorkspaceAssistantI18nKey, WorkspaceAssistantOpenSurfaceRequest, WorkspaceAssistantRouteContext, WorkspaceAssistantRouterAdapter, WorkspaceAssistantRunActionRequest };
|