@praxisui/ai 10.0.0-rc.7 → 10.0.0-rc.71
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 +34 -2
- package/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-ai.mjs +10151 -2274
- package/package.json +2 -2
- package/types/praxisui-ai.d.ts +1371 -54
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, WidgetDefinition, PraxisContextDimension, PraxisBulkProposalHandoffResult, PraxisOperationalAssistantLauncher, PraxisAssistantContextualLaunchRequest, PraxisI18nService } 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
|
|
@@ -893,10 +946,21 @@ declare function normalizePraxisAssistantAttachmentSummary(attachment: unknown):
|
|
|
893
946
|
declare function normalizePraxisAssistantContextSnapshot(value: unknown): PraxisAssistantContextSnapshot;
|
|
894
947
|
|
|
895
948
|
type PraxisAssistantShellMessageRole = 'user' | 'assistant' | 'system' | 'status' | 'error';
|
|
949
|
+
type PraxisAssistantParagraphTextInline = {
|
|
950
|
+
type: 'text';
|
|
951
|
+
text: string;
|
|
952
|
+
};
|
|
953
|
+
type PraxisAssistantParagraphRecordReferenceInline = {
|
|
954
|
+
type: 'record-reference';
|
|
955
|
+
label: string;
|
|
956
|
+
quickView: ResourceQuickViewBinding;
|
|
957
|
+
identityContext: Readonly<Record<string, string | number>>;
|
|
958
|
+
};
|
|
959
|
+
type PraxisAssistantParagraphInline = PraxisAssistantParagraphTextInline | PraxisAssistantParagraphRecordReferenceInline;
|
|
896
960
|
type PraxisAssistantShellMode = 'config' | 'agentic-authoring' | 'chat' | 'diagnostic' | 'review' | 'inline-help';
|
|
897
961
|
type PraxisAssistantShellState = 'idle' | 'listening' | 'processing' | 'clarification' | 'review' | 'applying' | 'success' | 'error';
|
|
898
962
|
type PraxisAssistantVoiceInputMode = 'disabled' | 'browser-speech' | 'governed-transcription';
|
|
899
|
-
type PraxisAssistantVoiceCaptureState = 'unsupported' | 'idle' | 'listening' | 'stopping' | 'error';
|
|
963
|
+
type PraxisAssistantVoiceCaptureState = 'checking' | 'permission' | 'unsupported' | 'idle' | 'listening' | 'stopping' | 'error';
|
|
900
964
|
interface PraxisAssistantShellMessage {
|
|
901
965
|
id: string;
|
|
902
966
|
role: PraxisAssistantShellMessageRole;
|
|
@@ -1132,6 +1196,11 @@ interface PraxisAssistantShellLabels {
|
|
|
1132
1196
|
feedbackPositive: string;
|
|
1133
1197
|
feedbackNegative: string;
|
|
1134
1198
|
feedbackSubmitted: string;
|
|
1199
|
+
voiceChecking?: string;
|
|
1200
|
+
voicePermission?: string;
|
|
1201
|
+
voiceTranscribing?: string;
|
|
1202
|
+
voiceUnavailable?: string;
|
|
1203
|
+
voiceCancel?: string;
|
|
1135
1204
|
voiceStart?: string;
|
|
1136
1205
|
voiceStop?: string;
|
|
1137
1206
|
voiceListening?: string;
|
|
@@ -1221,6 +1290,8 @@ interface PraxisAssistantTurnRequest {
|
|
|
1221
1290
|
activeSemanticDecision?: Record<string, unknown>;
|
|
1222
1291
|
preview?: unknown;
|
|
1223
1292
|
pendingPatch?: unknown;
|
|
1293
|
+
runtimeValueProposal?: PraxisRuntimeFormValueProposal | null;
|
|
1294
|
+
runtimeValueReceipt?: PraxisRuntimeFormValueApplyReceipt | null;
|
|
1224
1295
|
pendingClarification?: PraxisAssistantPendingClarification;
|
|
1225
1296
|
diagnostics?: Record<string, unknown>;
|
|
1226
1297
|
observationId?: string | null;
|
|
@@ -1241,6 +1312,9 @@ interface PraxisAssistantTurnResult {
|
|
|
1241
1312
|
errorText?: string;
|
|
1242
1313
|
preview?: unknown;
|
|
1243
1314
|
pendingPatch?: unknown;
|
|
1315
|
+
runtimeValueProposal?: PraxisRuntimeFormValueProposal | null;
|
|
1316
|
+
runtimeValueReceipt?: PraxisRuntimeFormValueApplyReceipt | null;
|
|
1317
|
+
retentionPolicy?: 'standard' | 'zero';
|
|
1244
1318
|
pendingClarification?: PraxisAssistantPendingClarification | null;
|
|
1245
1319
|
sessionId?: string;
|
|
1246
1320
|
clientTurnId?: string;
|
|
@@ -1263,6 +1337,9 @@ interface PraxisAssistantTurnViewState {
|
|
|
1263
1337
|
errorText: string;
|
|
1264
1338
|
preview?: unknown;
|
|
1265
1339
|
pendingPatch?: unknown;
|
|
1340
|
+
runtimeValueProposal?: PraxisRuntimeFormValueProposal | null;
|
|
1341
|
+
runtimeValueReceipt?: PraxisRuntimeFormValueApplyReceipt | null;
|
|
1342
|
+
retentionPolicy?: 'standard' | 'zero';
|
|
1266
1343
|
pendingClarification?: PraxisAssistantPendingClarification;
|
|
1267
1344
|
diagnostics?: Record<string, unknown>;
|
|
1268
1345
|
observationId?: string | null;
|
|
@@ -1275,6 +1352,476 @@ interface PraxisAssistantTurnFlow {
|
|
|
1275
1352
|
retry?(request: PraxisAssistantTurnRequest): Promise<PraxisAssistantTurnResult> | rxjs.Observable<PraxisAssistantTurnResult>;
|
|
1276
1353
|
}
|
|
1277
1354
|
|
|
1355
|
+
type PraxisAssistantOperationalBlockType = 'epistemic-badge' | 'alert-list' | 'widget-block' | 'simulation-preview' | 'action-proposals' | 'calculation-memory' | 'knowledge-citations' | 'compact-collection' | 'action-bar' | 'counterfactual-recourse';
|
|
1356
|
+
type PraxisAssistantEpistemicKind = PraxisEpistemicKind | (string & {});
|
|
1357
|
+
type PraxisAssistantEpistemicAvailabilityState = PraxisEpistemicAvailabilityState | (string & {});
|
|
1358
|
+
interface PraxisAssistantEpistemicMeta extends Omit<PraxisEpistemicMeta, 'kind' | 'availabilityState'> {
|
|
1359
|
+
readonly kind?: PraxisAssistantEpistemicKind;
|
|
1360
|
+
readonly availabilityState?: PraxisAssistantEpistemicAvailabilityState;
|
|
1361
|
+
readonly statisticallySignificant?: boolean;
|
|
1362
|
+
readonly qValueFdr?: number | null;
|
|
1363
|
+
readonly sampleSize?: number | null;
|
|
1364
|
+
readonly suppressedCellCount?: number | null;
|
|
1365
|
+
readonly modelCardId?: string | null;
|
|
1366
|
+
readonly provenanceHash?: string | null;
|
|
1367
|
+
readonly datasetKey?: string | null;
|
|
1368
|
+
readonly methodologyNote?: string | null;
|
|
1369
|
+
readonly nigriniMad?: number | null;
|
|
1370
|
+
readonly nigriniConformity?: PraxisEpistemicMeta['nigriniConformity'];
|
|
1371
|
+
}
|
|
1372
|
+
interface PraxisAssistantAnalyticalProvenance {
|
|
1373
|
+
readonly mode?: 'VERIFIED_RECIPE' | 'EXPLORATORY_UNVERIFIED' | string;
|
|
1374
|
+
readonly recipeId?: string;
|
|
1375
|
+
readonly recipeTitle?: string;
|
|
1376
|
+
readonly recipeVersion?: string;
|
|
1377
|
+
readonly governanceTier?: string;
|
|
1378
|
+
readonly provenanceDigest?: string;
|
|
1379
|
+
readonly lockedFilters?: Readonly<Record<string, unknown>>;
|
|
1380
|
+
readonly appliedParameters?: Readonly<Record<string, unknown>>;
|
|
1381
|
+
}
|
|
1382
|
+
interface PraxisAssistantEpistemicBadgeBlock {
|
|
1383
|
+
readonly type: 'epistemic-badge';
|
|
1384
|
+
readonly title?: string;
|
|
1385
|
+
readonly analysisKind?: string;
|
|
1386
|
+
readonly entityKey?: string;
|
|
1387
|
+
readonly resourceKey?: string;
|
|
1388
|
+
readonly resourcePath?: string;
|
|
1389
|
+
readonly datasetKey?: string;
|
|
1390
|
+
readonly epistemicKind?: PraxisAssistantEpistemicKind;
|
|
1391
|
+
readonly availabilityState?: PraxisAssistantEpistemicAvailabilityState;
|
|
1392
|
+
readonly statisticallySignificant?: boolean;
|
|
1393
|
+
readonly qValueFdr?: number;
|
|
1394
|
+
readonly sampleSize?: number;
|
|
1395
|
+
readonly suppressedCellCount?: number;
|
|
1396
|
+
readonly provenanceHash?: string;
|
|
1397
|
+
readonly modelCardId?: string;
|
|
1398
|
+
readonly methodologyNote?: string;
|
|
1399
|
+
readonly rowsScanned?: number;
|
|
1400
|
+
readonly groupsEvaluated?: number;
|
|
1401
|
+
readonly findingsCount?: number;
|
|
1402
|
+
readonly criticalCount?: number;
|
|
1403
|
+
readonly warningCount?: number;
|
|
1404
|
+
readonly totalFinancialExposure?: number | string;
|
|
1405
|
+
readonly truncated?: boolean;
|
|
1406
|
+
readonly failClosedNote?: string;
|
|
1407
|
+
readonly errorCode?: string;
|
|
1408
|
+
readonly nigriniMad?: number;
|
|
1409
|
+
readonly nigriniConformity?: string;
|
|
1410
|
+
readonly scenarioCount?: number;
|
|
1411
|
+
readonly horizonPeriods?: number;
|
|
1412
|
+
readonly allAnchorsWithinTolerance?: boolean;
|
|
1413
|
+
readonly validatedCandidateCount?: number;
|
|
1414
|
+
readonly excludedCandidateCount?: number;
|
|
1415
|
+
readonly advisoryOnly?: boolean;
|
|
1416
|
+
}
|
|
1417
|
+
interface PraxisAssistantOperationalAlertItem {
|
|
1418
|
+
readonly code?: string;
|
|
1419
|
+
readonly severity?: 'critical' | 'error' | 'warning' | 'info' | string;
|
|
1420
|
+
readonly title?: string;
|
|
1421
|
+
readonly description?: string;
|
|
1422
|
+
readonly entityKey?: string;
|
|
1423
|
+
readonly resourcePath?: string;
|
|
1424
|
+
readonly entityId?: string;
|
|
1425
|
+
readonly suggestedActionId?: string;
|
|
1426
|
+
readonly suggestedActionLabel?: string;
|
|
1427
|
+
}
|
|
1428
|
+
interface PraxisAssistantOperationalAlertListBlock {
|
|
1429
|
+
readonly type: 'alert-list';
|
|
1430
|
+
readonly title?: string;
|
|
1431
|
+
readonly items: readonly PraxisAssistantOperationalAlertItem[];
|
|
1432
|
+
}
|
|
1433
|
+
interface PraxisAssistantOperationalWidgetSpec {
|
|
1434
|
+
readonly id: string;
|
|
1435
|
+
readonly inputs?: Readonly<Record<string, unknown>>;
|
|
1436
|
+
}
|
|
1437
|
+
interface PraxisAssistantOperationalWidgetBlock {
|
|
1438
|
+
readonly type: 'widget-block';
|
|
1439
|
+
readonly widgetType?: string;
|
|
1440
|
+
readonly title?: string;
|
|
1441
|
+
readonly subtitle?: string;
|
|
1442
|
+
readonly entityKey?: string;
|
|
1443
|
+
readonly resourceKey?: string;
|
|
1444
|
+
readonly resourcePath?: string;
|
|
1445
|
+
readonly entityId?: string;
|
|
1446
|
+
readonly analyticalProvenance?: PraxisAssistantAnalyticalProvenance;
|
|
1447
|
+
readonly epistemicMeta?: PraxisAssistantEpistemicMeta;
|
|
1448
|
+
readonly document?: Readonly<Record<string, unknown>>;
|
|
1449
|
+
readonly widget?: PraxisAssistantOperationalWidgetSpec;
|
|
1450
|
+
}
|
|
1451
|
+
interface PraxisAssistantOperationalCollectionColumn {
|
|
1452
|
+
readonly key: string;
|
|
1453
|
+
readonly label: string;
|
|
1454
|
+
}
|
|
1455
|
+
interface PraxisAssistantOperationalCompactCollectionBlock {
|
|
1456
|
+
readonly type: 'compact-collection';
|
|
1457
|
+
readonly variant?: 'disambiguation' | 'related-dataset' | 'records' | string;
|
|
1458
|
+
readonly title?: string;
|
|
1459
|
+
readonly subtitle?: string;
|
|
1460
|
+
readonly surfaceId?: string;
|
|
1461
|
+
readonly entityKey?: string;
|
|
1462
|
+
readonly resourceKey?: string;
|
|
1463
|
+
readonly resourcePath?: string;
|
|
1464
|
+
readonly totalCount?: number;
|
|
1465
|
+
readonly columns: readonly PraxisAssistantOperationalCollectionColumn[];
|
|
1466
|
+
readonly rows: readonly Readonly<Record<string, unknown>>[];
|
|
1467
|
+
}
|
|
1468
|
+
interface PraxisAssistantOperationalActionAffordance {
|
|
1469
|
+
readonly actionId: string;
|
|
1470
|
+
readonly label: string;
|
|
1471
|
+
readonly description?: string;
|
|
1472
|
+
readonly icon?: string;
|
|
1473
|
+
readonly tone?: 'primary' | 'accent' | 'warning' | 'danger' | 'neutral' | string;
|
|
1474
|
+
readonly resourceKey?: string;
|
|
1475
|
+
readonly resourcePath?: string;
|
|
1476
|
+
readonly entityId?: string;
|
|
1477
|
+
readonly operationKind?: string;
|
|
1478
|
+
readonly formMode?: string;
|
|
1479
|
+
readonly method?: string;
|
|
1480
|
+
readonly submitUrl?: string;
|
|
1481
|
+
readonly schemaUrl?: string;
|
|
1482
|
+
readonly route?: string;
|
|
1483
|
+
readonly queryParams?: Readonly<Record<string, unknown>>;
|
|
1484
|
+
readonly prefill?: Readonly<Record<string, unknown>>;
|
|
1485
|
+
readonly confirmRequired?: boolean;
|
|
1486
|
+
readonly disabled?: boolean;
|
|
1487
|
+
readonly unavailableNote?: string;
|
|
1488
|
+
}
|
|
1489
|
+
interface PraxisAssistantCalculationStep {
|
|
1490
|
+
readonly role?: string;
|
|
1491
|
+
readonly label: string;
|
|
1492
|
+
readonly operator?: string;
|
|
1493
|
+
readonly formattedValue: string;
|
|
1494
|
+
readonly format?: string;
|
|
1495
|
+
readonly hint?: string;
|
|
1496
|
+
readonly legalBasis?: string;
|
|
1497
|
+
}
|
|
1498
|
+
interface PraxisAssistantCalculationTrail {
|
|
1499
|
+
readonly id?: string;
|
|
1500
|
+
readonly title: string;
|
|
1501
|
+
readonly ruleCode?: string;
|
|
1502
|
+
readonly formula?: string;
|
|
1503
|
+
readonly legalBasis?: string;
|
|
1504
|
+
readonly legalPurpose?: string;
|
|
1505
|
+
readonly resultLabel?: string;
|
|
1506
|
+
readonly resultFormatted?: string;
|
|
1507
|
+
readonly resultTone?: string;
|
|
1508
|
+
readonly resultHint?: string;
|
|
1509
|
+
readonly steps: readonly PraxisAssistantCalculationStep[];
|
|
1510
|
+
}
|
|
1511
|
+
interface PraxisAssistantCalculationMemoryBlock {
|
|
1512
|
+
readonly type: 'calculation-memory';
|
|
1513
|
+
readonly title?: string;
|
|
1514
|
+
readonly subtitle?: string;
|
|
1515
|
+
readonly icon?: string;
|
|
1516
|
+
readonly legalBasis?: string;
|
|
1517
|
+
readonly emptyText?: string;
|
|
1518
|
+
readonly recordTitle?: string;
|
|
1519
|
+
readonly entityKey?: string;
|
|
1520
|
+
readonly resourceKey?: string;
|
|
1521
|
+
readonly resourcePath?: string;
|
|
1522
|
+
readonly entityId?: string;
|
|
1523
|
+
readonly trails: readonly PraxisAssistantCalculationTrail[];
|
|
1524
|
+
}
|
|
1525
|
+
interface PraxisAssistantKnowledgeCitationItem {
|
|
1526
|
+
readonly docId: string;
|
|
1527
|
+
readonly sourceKind?: string;
|
|
1528
|
+
readonly title: string;
|
|
1529
|
+
readonly normRef?: string;
|
|
1530
|
+
readonly scopeLabel?: string;
|
|
1531
|
+
readonly excerpt?: string;
|
|
1532
|
+
readonly targetRoute?: string;
|
|
1533
|
+
readonly tags?: readonly string[];
|
|
1534
|
+
}
|
|
1535
|
+
interface PraxisAssistantKnowledgeCitationsBlock {
|
|
1536
|
+
readonly type: 'knowledge-citations';
|
|
1537
|
+
readonly title?: string;
|
|
1538
|
+
readonly items: readonly PraxisAssistantKnowledgeCitationItem[];
|
|
1539
|
+
}
|
|
1540
|
+
interface PraxisAssistantOperationalActionBarBlock {
|
|
1541
|
+
readonly type: 'action-bar';
|
|
1542
|
+
readonly title?: string;
|
|
1543
|
+
readonly items: readonly PraxisAssistantOperationalActionAffordance[];
|
|
1544
|
+
}
|
|
1545
|
+
interface PraxisAssistantSimulationPreviewField {
|
|
1546
|
+
readonly id: string;
|
|
1547
|
+
readonly label: string;
|
|
1548
|
+
readonly value: string;
|
|
1549
|
+
}
|
|
1550
|
+
interface PraxisAssistantSimulationValidationIssue {
|
|
1551
|
+
readonly field?: string;
|
|
1552
|
+
readonly issueNote: string;
|
|
1553
|
+
}
|
|
1554
|
+
interface PraxisAssistantSimulationPreviewBlock {
|
|
1555
|
+
readonly type: 'simulation-preview';
|
|
1556
|
+
readonly title?: string;
|
|
1557
|
+
readonly subtitle?: string;
|
|
1558
|
+
readonly description?: string;
|
|
1559
|
+
readonly entityKey?: string;
|
|
1560
|
+
readonly resourceKey?: string;
|
|
1561
|
+
readonly resourcePath?: string;
|
|
1562
|
+
readonly determinationId?: string;
|
|
1563
|
+
readonly nonPersistent?: boolean;
|
|
1564
|
+
readonly fields: readonly PraxisAssistantSimulationPreviewField[];
|
|
1565
|
+
readonly validationIssues?: readonly PraxisAssistantSimulationValidationIssue[];
|
|
1566
|
+
}
|
|
1567
|
+
interface PraxisAssistantActionInputField {
|
|
1568
|
+
readonly name: string;
|
|
1569
|
+
readonly label: string;
|
|
1570
|
+
readonly controlType?: string;
|
|
1571
|
+
readonly required?: boolean;
|
|
1572
|
+
}
|
|
1573
|
+
interface PraxisAssistantActionRuleViolation {
|
|
1574
|
+
readonly code?: string;
|
|
1575
|
+
readonly slotKey?: string;
|
|
1576
|
+
readonly targetField?: string;
|
|
1577
|
+
readonly issueNote?: string;
|
|
1578
|
+
readonly category?: string;
|
|
1579
|
+
}
|
|
1580
|
+
type PraxisAssistantActionProposalStatus = 'PENDING' | 'BLOCKED' | 'CONFIRMED' | 'STALE' | 'EXPIRED' | 'REJECTED' | string;
|
|
1581
|
+
interface PraxisAssistantBulkProposalSampleTarget {
|
|
1582
|
+
readonly id?: string | number;
|
|
1583
|
+
readonly title?: string;
|
|
1584
|
+
readonly subtitle?: string;
|
|
1585
|
+
readonly decision?: 'EXECUTABLE' | 'BLOCKED' | string;
|
|
1586
|
+
readonly diagnostics?: readonly Readonly<Record<string, unknown>>[];
|
|
1587
|
+
}
|
|
1588
|
+
interface PraxisAssistantBulkProposalDetails {
|
|
1589
|
+
readonly domainProposalId?: string;
|
|
1590
|
+
readonly bulkOperationId?: string;
|
|
1591
|
+
readonly bulkMode: string;
|
|
1592
|
+
readonly atomicity?: string;
|
|
1593
|
+
readonly selectionMode?: string;
|
|
1594
|
+
readonly domainProposalStatus?: string;
|
|
1595
|
+
readonly totals?: {
|
|
1596
|
+
readonly targetCount: number;
|
|
1597
|
+
readonly evaluated: number;
|
|
1598
|
+
readonly executable: number;
|
|
1599
|
+
readonly blocked: number;
|
|
1600
|
+
};
|
|
1601
|
+
readonly filterLabel?: string;
|
|
1602
|
+
readonly statusNote?: string;
|
|
1603
|
+
readonly diagnosticText?: string;
|
|
1604
|
+
readonly selectionPayload?: Readonly<Record<string, unknown>>;
|
|
1605
|
+
readonly changes?: readonly Readonly<Record<string, unknown>>[];
|
|
1606
|
+
readonly itemChanges?: readonly Readonly<Record<string, unknown>>[];
|
|
1607
|
+
readonly sampleTargets?: readonly PraxisAssistantBulkProposalSampleTarget[];
|
|
1608
|
+
readonly blockedItems?: readonly Readonly<Record<string, unknown>>[];
|
|
1609
|
+
readonly bulkContract?: Readonly<Record<string, unknown>>;
|
|
1610
|
+
readonly executionId?: string;
|
|
1611
|
+
readonly executionStatus?: string;
|
|
1612
|
+
}
|
|
1613
|
+
interface PraxisAssistantActionProposalItem {
|
|
1614
|
+
readonly proposalId: string;
|
|
1615
|
+
readonly proposalStatus: PraxisAssistantActionProposalStatus;
|
|
1616
|
+
readonly expiresAt?: string;
|
|
1617
|
+
readonly actionId: string;
|
|
1618
|
+
readonly label: string;
|
|
1619
|
+
readonly description?: string;
|
|
1620
|
+
readonly entityKey?: string;
|
|
1621
|
+
readonly resourceKey?: string;
|
|
1622
|
+
readonly resourcePath?: string;
|
|
1623
|
+
readonly entityId?: string;
|
|
1624
|
+
readonly recordTitle?: string;
|
|
1625
|
+
readonly recordSubtitle?: string;
|
|
1626
|
+
readonly operationKind?: string;
|
|
1627
|
+
readonly formMode?: string;
|
|
1628
|
+
readonly method?: string;
|
|
1629
|
+
readonly submitUrl?: string;
|
|
1630
|
+
readonly schemaUrl?: string;
|
|
1631
|
+
readonly riskLevel?: 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL' | string;
|
|
1632
|
+
readonly confirmationRequired?: boolean;
|
|
1633
|
+
readonly hasInputForm?: boolean;
|
|
1634
|
+
readonly organizationId?: string;
|
|
1635
|
+
readonly organizationLabel?: string;
|
|
1636
|
+
readonly recordLifecycleState?: string;
|
|
1637
|
+
readonly expectedVersionTag?: string;
|
|
1638
|
+
readonly allowed?: boolean;
|
|
1639
|
+
readonly blockedCode?: string;
|
|
1640
|
+
readonly impedimentNote?: string;
|
|
1641
|
+
readonly prefill?: Readonly<Record<string, unknown>>;
|
|
1642
|
+
readonly missingRequiredFields?: readonly string[];
|
|
1643
|
+
readonly inputFields?: readonly PraxisAssistantActionInputField[];
|
|
1644
|
+
readonly confirmBusy?: boolean;
|
|
1645
|
+
readonly statusNote?: string;
|
|
1646
|
+
readonly updatedLifecycleState?: string;
|
|
1647
|
+
readonly updatedVersionTag?: string;
|
|
1648
|
+
readonly ruleViolations?: readonly PraxisAssistantActionRuleViolation[];
|
|
1649
|
+
readonly fieldErrors?: Readonly<Record<string, string>>;
|
|
1650
|
+
readonly refreshedSnapshot?: Readonly<Record<string, unknown>>;
|
|
1651
|
+
readonly bulk?: PraxisAssistantBulkProposalDetails;
|
|
1652
|
+
}
|
|
1653
|
+
interface PraxisAssistantActionProposalsBlock {
|
|
1654
|
+
readonly type: 'action-proposals';
|
|
1655
|
+
readonly title?: string;
|
|
1656
|
+
readonly items: readonly PraxisAssistantActionProposalItem[];
|
|
1657
|
+
}
|
|
1658
|
+
interface PraxisAssistantCounterfactualLeverDelta {
|
|
1659
|
+
readonly leverKey: string;
|
|
1660
|
+
readonly fromValue?: string | number | boolean | null;
|
|
1661
|
+
readonly toValue?: string | number | boolean | null;
|
|
1662
|
+
readonly relativeChange?: number;
|
|
1663
|
+
readonly estimatedContribution?: number;
|
|
1664
|
+
}
|
|
1665
|
+
interface PraxisAssistantCounterfactualCandidate {
|
|
1666
|
+
readonly candidateId: string;
|
|
1667
|
+
readonly rank: number;
|
|
1668
|
+
readonly predictedValue?: number;
|
|
1669
|
+
readonly predictedDelta?: number;
|
|
1670
|
+
readonly distanceScore?: number;
|
|
1671
|
+
readonly feasibilityStatus: string;
|
|
1672
|
+
readonly ruleValidationMessages?: readonly string[];
|
|
1673
|
+
readonly leverDeltas: readonly PraxisAssistantCounterfactualLeverDelta[];
|
|
1674
|
+
readonly suggestedActionId?: string;
|
|
1675
|
+
readonly suggestedActionLabel?: string;
|
|
1676
|
+
}
|
|
1677
|
+
interface PraxisAssistantCounterfactualRecourseBlock {
|
|
1678
|
+
readonly type: 'counterfactual-recourse';
|
|
1679
|
+
readonly title?: string;
|
|
1680
|
+
readonly entityKey?: string;
|
|
1681
|
+
readonly resourceKey?: string;
|
|
1682
|
+
readonly resourcePath?: string;
|
|
1683
|
+
readonly targetMetricKey?: string;
|
|
1684
|
+
readonly direction?: string;
|
|
1685
|
+
readonly baselineValue?: number;
|
|
1686
|
+
readonly targetValue?: number;
|
|
1687
|
+
readonly converged?: boolean;
|
|
1688
|
+
readonly advisoryOnly?: boolean;
|
|
1689
|
+
readonly requiresHumanGovernanceApproval?: boolean;
|
|
1690
|
+
readonly validatedCandidateCount?: number;
|
|
1691
|
+
readonly excludedCandidateCount?: number;
|
|
1692
|
+
readonly governanceNextStep?: string;
|
|
1693
|
+
readonly epistemicMeta?: Record<string, unknown>;
|
|
1694
|
+
readonly candidates: readonly PraxisAssistantCounterfactualCandidate[];
|
|
1695
|
+
}
|
|
1696
|
+
type PraxisAssistantOperationalBlock = PraxisAssistantEpistemicBadgeBlock | PraxisAssistantOperationalAlertListBlock | PraxisAssistantOperationalWidgetBlock | PraxisAssistantSimulationPreviewBlock | PraxisAssistantActionProposalsBlock | PraxisAssistantCalculationMemoryBlock | PraxisAssistantKnowledgeCitationsBlock | PraxisAssistantOperationalCompactCollectionBlock | PraxisAssistantOperationalActionBarBlock | PraxisAssistantCounterfactualRecourseBlock;
|
|
1697
|
+
type PraxisAssistantOperationalBlockActionKind = 'action-affordance' | 'alert-suggested-action' | 'counterfactual-suggested-action' | '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';
|
|
1698
|
+
interface PraxisAssistantOperationalBlockActionEvent {
|
|
1699
|
+
readonly kind: PraxisAssistantOperationalBlockActionKind;
|
|
1700
|
+
readonly action?: PraxisAssistantOperationalActionAffordance;
|
|
1701
|
+
readonly alert?: PraxisAssistantOperationalAlertItem;
|
|
1702
|
+
readonly citation?: PraxisAssistantKnowledgeCitationItem;
|
|
1703
|
+
readonly proposal?: PraxisAssistantActionProposalItem;
|
|
1704
|
+
readonly counterfactualCandidate?: PraxisAssistantCounterfactualCandidate;
|
|
1705
|
+
readonly counterfactualBlock?: PraxisAssistantCounterfactualRecourseBlock;
|
|
1706
|
+
readonly targetRoute?: string;
|
|
1707
|
+
readonly resourceKey?: string;
|
|
1708
|
+
readonly resourcePath?: string;
|
|
1709
|
+
readonly entityKey?: string;
|
|
1710
|
+
readonly entityId?: string;
|
|
1711
|
+
readonly row?: Readonly<Record<string, unknown>>;
|
|
1712
|
+
}
|
|
1713
|
+
interface OperationalAgentProposalConfirmRequest {
|
|
1714
|
+
readonly inputs?: Readonly<Record<string, unknown>>;
|
|
1715
|
+
readonly ifMatch?: string;
|
|
1716
|
+
readonly idempotencyKey?: string;
|
|
1717
|
+
}
|
|
1718
|
+
interface OperationalAgentProposalExternalCompletionRequest {
|
|
1719
|
+
readonly updatedVersionTag?: string | null;
|
|
1720
|
+
readonly updatedLifecycleState?: string | null;
|
|
1721
|
+
readonly idempotencyKey?: string | null;
|
|
1722
|
+
readonly domainProposalId?: string | null;
|
|
1723
|
+
readonly bulkExecutionId?: string | null;
|
|
1724
|
+
readonly bulkExecutionStatus?: string | null;
|
|
1725
|
+
readonly confirmedCount?: number | null;
|
|
1726
|
+
readonly unchangedCount?: number | null;
|
|
1727
|
+
readonly failedCount?: number | null;
|
|
1728
|
+
}
|
|
1729
|
+
interface OperationalAgentProposalConfirmResponse {
|
|
1730
|
+
readonly proposalId: string;
|
|
1731
|
+
readonly status: PraxisAssistantActionProposalStatus;
|
|
1732
|
+
readonly succeeded: boolean;
|
|
1733
|
+
readonly outcomeCode?: string;
|
|
1734
|
+
readonly statusNote?: string;
|
|
1735
|
+
readonly updatedVersionTag?: string;
|
|
1736
|
+
readonly updatedLifecycleState?: string;
|
|
1737
|
+
readonly uiResult?: Readonly<Record<string, unknown>>;
|
|
1738
|
+
readonly ruleViolations?: readonly PraxisAssistantActionRuleViolation[];
|
|
1739
|
+
readonly fieldErrors?: Readonly<Record<string, string>>;
|
|
1740
|
+
readonly refreshedSnapshot?: Readonly<Record<string, unknown>>;
|
|
1741
|
+
readonly bulk?: PraxisAssistantBulkProposalDetails;
|
|
1742
|
+
}
|
|
1743
|
+
interface OperationalAgentConversationHistoryEntry {
|
|
1744
|
+
readonly role: 'user' | 'assistant' | string;
|
|
1745
|
+
readonly text: string;
|
|
1746
|
+
}
|
|
1747
|
+
interface OperationalAgentTurnStreamRequest {
|
|
1748
|
+
readonly userPrompt: string;
|
|
1749
|
+
readonly sessionId?: string | null;
|
|
1750
|
+
readonly clientTurnId?: string | null;
|
|
1751
|
+
readonly activeScreenResourcePath?: string | null;
|
|
1752
|
+
readonly activeTopicKey?: string | null;
|
|
1753
|
+
readonly activeSelectionHints?: Readonly<Record<string, unknown>> | null;
|
|
1754
|
+
readonly conversationMessages?: readonly OperationalAgentConversationHistoryEntry[];
|
|
1755
|
+
readonly provider?: string | null;
|
|
1756
|
+
readonly model?: string | null;
|
|
1757
|
+
readonly apiKey?: string | null;
|
|
1758
|
+
readonly contextHints?: Readonly<Record<string, unknown>> | null;
|
|
1759
|
+
readonly authoringWorkspaceRoute?: string | null;
|
|
1760
|
+
readonly authoringWorkspaceLabel?: string | null;
|
|
1761
|
+
}
|
|
1762
|
+
interface OperationalAgentTurnStreamStartResponse {
|
|
1763
|
+
readonly streamId: string;
|
|
1764
|
+
readonly observationId?: string | null;
|
|
1765
|
+
readonly threadId: string;
|
|
1766
|
+
readonly turnId: string;
|
|
1767
|
+
readonly eventSchemaVersion: string;
|
|
1768
|
+
readonly streamAuthMode?: string | null;
|
|
1769
|
+
readonly streamAccessToken?: string | null;
|
|
1770
|
+
readonly expiresAt?: string | null;
|
|
1771
|
+
readonly fallbackAuthoringUrl?: string | null;
|
|
1772
|
+
}
|
|
1773
|
+
interface OperationalAgentTurnStreamEnvelope {
|
|
1774
|
+
readonly eventId?: string | null;
|
|
1775
|
+
readonly streamId: string;
|
|
1776
|
+
readonly threadId: string;
|
|
1777
|
+
readonly turnId: string;
|
|
1778
|
+
readonly seq: number;
|
|
1779
|
+
readonly eventSchemaVersion: string;
|
|
1780
|
+
readonly timestamp: string;
|
|
1781
|
+
readonly type: 'status' | 'progress' | 'result' | 'error' | 'cancelled' | 'heartbeat' | string;
|
|
1782
|
+
readonly payload: Readonly<Record<string, unknown>>;
|
|
1783
|
+
}
|
|
1784
|
+
interface OperationalAgentTurnResultPayload {
|
|
1785
|
+
readonly state?: string;
|
|
1786
|
+
readonly sessionId?: string;
|
|
1787
|
+
readonly clientTurnId?: string;
|
|
1788
|
+
readonly activeScreenResourcePath?: string;
|
|
1789
|
+
readonly provider?: string;
|
|
1790
|
+
readonly model?: string;
|
|
1791
|
+
readonly roundsExecuted?: number;
|
|
1792
|
+
readonly assistantMessage?: string;
|
|
1793
|
+
readonly assistantContent?: Readonly<Record<string, unknown>> | null;
|
|
1794
|
+
readonly quickReplies?: readonly Readonly<Record<string, unknown>>[];
|
|
1795
|
+
readonly traces?: readonly Readonly<Record<string, unknown>>[];
|
|
1796
|
+
readonly inputTokens?: number;
|
|
1797
|
+
readonly outputTokens?: number;
|
|
1798
|
+
readonly totalTokens?: number;
|
|
1799
|
+
}
|
|
1800
|
+
interface OperationalAgentTurnClientOptions {
|
|
1801
|
+
readonly baseUrl?: string;
|
|
1802
|
+
readonly headers?: Record<string, string | undefined>;
|
|
1803
|
+
readonly streamTimeoutMs?: number;
|
|
1804
|
+
readonly onLifecycle?: (event: OperationalAgentTurnLifecycleEvent) => void;
|
|
1805
|
+
}
|
|
1806
|
+
interface OperationalAgentTurnLifecycleEvent {
|
|
1807
|
+
readonly phase: string;
|
|
1808
|
+
readonly transport?: 'event-source' | 'fetch' | string;
|
|
1809
|
+
readonly connectElapsedMs?: number;
|
|
1810
|
+
readonly firstEventSeq?: number | null;
|
|
1811
|
+
readonly firstEventType?: string | null;
|
|
1812
|
+
}
|
|
1813
|
+
type OperationalAgentTurnClientEvent = {
|
|
1814
|
+
readonly kind: 'stream-started';
|
|
1815
|
+
readonly start: OperationalAgentTurnStreamStartResponse;
|
|
1816
|
+
} | {
|
|
1817
|
+
readonly kind: 'stream-lifecycle';
|
|
1818
|
+
readonly start: OperationalAgentTurnStreamStartResponse;
|
|
1819
|
+
readonly lifecycle: OperationalAgentTurnLifecycleEvent;
|
|
1820
|
+
} | {
|
|
1821
|
+
readonly kind: 'stream-event';
|
|
1822
|
+
readonly event: OperationalAgentTurnStreamEnvelope;
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1278
1825
|
interface PatchResult {
|
|
1279
1826
|
success: boolean;
|
|
1280
1827
|
warnings?: string[];
|
|
@@ -1508,8 +2055,8 @@ declare class SchemaMinifierService {
|
|
|
1508
2055
|
*/
|
|
1509
2056
|
toGeminiSchema(fields: Record<string, FieldSchemaLike>): Schema;
|
|
1510
2057
|
private mapTypeToGemini;
|
|
1511
|
-
static ɵfac:
|
|
1512
|
-
static ɵprov:
|
|
2058
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SchemaMinifierService, never>;
|
|
2059
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SchemaMinifierService>;
|
|
1513
2060
|
}
|
|
1514
2061
|
|
|
1515
2062
|
interface PraxisAiConfigSource {
|
|
@@ -1534,12 +2081,12 @@ declare class PraxisAiService {
|
|
|
1534
2081
|
testConnection(apiKey?: string, model?: string): Observable<boolean>;
|
|
1535
2082
|
private resolveProvider;
|
|
1536
2083
|
private isGeminiProvider;
|
|
1537
|
-
static ɵfac:
|
|
1538
|
-
static ɵprov:
|
|
2084
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAiService, [{ optional: true; }]>;
|
|
2085
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PraxisAiService>;
|
|
1539
2086
|
}
|
|
1540
2087
|
|
|
1541
2088
|
declare const AI_INTENT_CONTRACT_VERSION: "v1.1";
|
|
1542
|
-
declare const AI_INTENT_CONTRACT_SCHEMA_HASH: "
|
|
2089
|
+
declare const AI_INTENT_CONTRACT_SCHEMA_HASH: "73cafc059598b3ab8cd508217f80e636fa0293f250fd36fb7bbf3d74ee753559";
|
|
1543
2090
|
type AiSchemaContext = AiSchemaContextContract;
|
|
1544
2091
|
interface AiSuggestionsRequest {
|
|
1545
2092
|
componentId: string;
|
|
@@ -1611,7 +2158,7 @@ interface AgenticAuthoringTurnStreamStartOptions {
|
|
|
1611
2158
|
baseUrl?: string;
|
|
1612
2159
|
headers?: Record<string, string | undefined>;
|
|
1613
2160
|
}
|
|
1614
|
-
type AiPatchStreamConnectionErrorKind = 'unsupported' | 'http_status' | 'transport' | 'parse' | 'schema';
|
|
2161
|
+
type AiPatchStreamConnectionErrorKind = 'unsupported' | 'http_status' | 'transport' | 'timeout' | 'parse' | 'schema';
|
|
1615
2162
|
declare class AiPatchStreamConnectionError extends Error {
|
|
1616
2163
|
readonly kind: AiPatchStreamConnectionErrorKind;
|
|
1617
2164
|
readonly status?: number | undefined;
|
|
@@ -1731,12 +2278,14 @@ declare const AI_BACKEND_STORAGE_OPTIONS: InjectionToken<AiBackendStorageOptions
|
|
|
1731
2278
|
declare const AI_BACKEND_ENDPOINTS: InjectionToken<AiBackendEndpoints>;
|
|
1732
2279
|
declare class AiBackendApiService {
|
|
1733
2280
|
private readonly http;
|
|
2281
|
+
private readonly enterpriseContext;
|
|
1734
2282
|
private readonly globalConfigStore;
|
|
1735
2283
|
private readonly storageOpts;
|
|
1736
2284
|
private readonly endpointOpts;
|
|
1737
2285
|
private readonly apiUrlConfig;
|
|
1738
2286
|
private readonly fallbackAiBaseUrl;
|
|
1739
2287
|
private readonly fallbackAiContextBaseUrl;
|
|
2288
|
+
constructor();
|
|
1740
2289
|
getSuggestions(request: AiSuggestionsRequest): Observable<AiSuggestionsResponse>;
|
|
1741
2290
|
getPatch(request: AiOrchestratorRequest): Observable<AiOrchestratorResponse>;
|
|
1742
2291
|
startPatchStream(request: AiOrchestratorRequest): Observable<AiPatchStreamStartResponse>;
|
|
@@ -1750,6 +2299,9 @@ declare class AiBackendApiService {
|
|
|
1750
2299
|
listProviderCatalog(): Observable<AiProviderCatalogResponse>;
|
|
1751
2300
|
testProvider(request: AiProviderTestRequest): Observable<AiProviderTestResponse>;
|
|
1752
2301
|
getAiStatus(): Observable<AiProviderStatusResponse>;
|
|
2302
|
+
getAudioTranscriptionCapabilities(): Observable<{
|
|
2303
|
+
available: boolean;
|
|
2304
|
+
}>;
|
|
1753
2305
|
transcribeAudio(audio: Blob, fileName: string, language?: string | null): Observable<AiAudioTranscriptionResponse>;
|
|
1754
2306
|
getAiContext(componentId: string, componentType: string): Observable<AiContextDTO>;
|
|
1755
2307
|
getAgenticAuthoringManifest(componentId: string): Observable<AiJsonObject>;
|
|
@@ -1788,8 +2340,8 @@ declare class AiBackendApiService {
|
|
|
1788
2340
|
private probePatchStreamEndpoint;
|
|
1789
2341
|
private buildFetchHeaders;
|
|
1790
2342
|
private hasExplicitHeaders;
|
|
1791
|
-
static ɵfac:
|
|
1792
|
-
static ɵprov:
|
|
2343
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiBackendApiService, never>;
|
|
2344
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AiBackendApiService>;
|
|
1793
2345
|
}
|
|
1794
2346
|
|
|
1795
2347
|
interface PraxisBrowserSpeechTranscriptionOptions {
|
|
@@ -1802,18 +2354,22 @@ interface PraxisBrowserSpeechTranscriptionResult {
|
|
|
1802
2354
|
|
|
1803
2355
|
declare class PraxisGovernedAudioTranscriptionService {
|
|
1804
2356
|
private readonly backend;
|
|
1805
|
-
private
|
|
1806
|
-
private
|
|
1807
|
-
private cancelled;
|
|
2357
|
+
private readonly authority;
|
|
2358
|
+
private activeSession;
|
|
1808
2359
|
isSupported(): boolean;
|
|
1809
|
-
transcribe(options?: PraxisBrowserSpeechTranscriptionOptions): Promise<PraxisBrowserSpeechTranscriptionResult>;
|
|
2360
|
+
transcribe(options?: PraxisBrowserSpeechTranscriptionOptions, onRecording?: () => void): Promise<PraxisBrowserSpeechTranscriptionResult>;
|
|
1810
2361
|
stop(): void;
|
|
1811
2362
|
cancel(): void;
|
|
2363
|
+
private capture;
|
|
2364
|
+
private upload;
|
|
1812
2365
|
private resolveMimeType;
|
|
1813
|
-
private
|
|
2366
|
+
private fail;
|
|
2367
|
+
private abort;
|
|
2368
|
+
private finish;
|
|
2369
|
+
private releaseCapture;
|
|
1814
2370
|
private stopTracks;
|
|
1815
|
-
static ɵfac:
|
|
1816
|
-
static ɵprov:
|
|
2371
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisGovernedAudioTranscriptionService, never>;
|
|
2372
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PraxisGovernedAudioTranscriptionService>;
|
|
1817
2373
|
}
|
|
1818
2374
|
|
|
1819
2375
|
interface AgenticAuthoringTurnClientOptions {
|
|
@@ -1853,8 +2409,15 @@ declare class AgenticAuthoringTurnClientService {
|
|
|
1853
2409
|
private startAuthoringTurnStream;
|
|
1854
2410
|
private isPromiseLike;
|
|
1855
2411
|
private toResultTurn;
|
|
2412
|
+
private toRuntimeValueProposal;
|
|
2413
|
+
private isBlockedOrClarificationTurn;
|
|
2414
|
+
private sanitizeBlockedAssistantMessage;
|
|
2415
|
+
private isFalseExecutionPromiseSentence;
|
|
2416
|
+
private hasBlockedOrReviewExplanation;
|
|
2417
|
+
private toInlineClarificationQuestions;
|
|
1856
2418
|
private isConsultativeCatalogAnswer;
|
|
1857
2419
|
private toShellQuickReplies;
|
|
2420
|
+
private isUnexecutableConfirmationQuickReply;
|
|
1858
2421
|
private toPendingClarification;
|
|
1859
2422
|
private phaseForPayload;
|
|
1860
2423
|
private statusForPayload;
|
|
@@ -1881,14 +2444,46 @@ declare class AgenticAuthoringTurnClientService {
|
|
|
1881
2444
|
private isRedactedDisplayText;
|
|
1882
2445
|
private toJsonObject;
|
|
1883
2446
|
private isRecord;
|
|
1884
|
-
static ɵfac:
|
|
1885
|
-
static ɵprov:
|
|
2447
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AgenticAuthoringTurnClientService, never>;
|
|
2448
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AgenticAuthoringTurnClientService>;
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
declare class OperationalAgentTurnClientService {
|
|
2452
|
+
private readonly http;
|
|
2453
|
+
private readonly storageOpts;
|
|
2454
|
+
private readonly endpointOpts;
|
|
2455
|
+
private readonly apiUrlConfig;
|
|
2456
|
+
private readonly fallbackAgentBaseUrl;
|
|
2457
|
+
startTurnStream(request: OperationalAgentTurnStreamRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentTurnStreamStartResponse>;
|
|
2458
|
+
confirmActionProposal(proposalId: string, request?: OperationalAgentProposalConfirmRequest, options?: OperationalAgentTurnClientOptions & {
|
|
2459
|
+
readonly ifMatch?: string;
|
|
2460
|
+
readonly idempotencyKey?: string;
|
|
2461
|
+
}): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2462
|
+
completeProposalViaForm(proposalId: string, request?: OperationalAgentProposalExternalCompletionRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2463
|
+
rejectActionProposal(proposalId: string, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2464
|
+
connectTurnStream(streamId: string, lastEventId?: string, accessToken?: string, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentTurnStreamEnvelope>;
|
|
2465
|
+
streamTurn(request: OperationalAgentTurnStreamRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentTurnClientEvent>;
|
|
2466
|
+
cancelTurnStream(streamId: string, accessToken?: string, options?: OperationalAgentTurnClientOptions): Observable<{
|
|
2467
|
+
terminalState?: string;
|
|
2468
|
+
message?: string;
|
|
2469
|
+
}>;
|
|
2470
|
+
private consumeFetchSse;
|
|
2471
|
+
private flushBufferedSseFrames;
|
|
2472
|
+
private resolveAgentBaseUrl;
|
|
2473
|
+
private resolveApiBaseUrl;
|
|
2474
|
+
private buildHttpHeaders;
|
|
2475
|
+
private resolveHeaderMap;
|
|
2476
|
+
private hasExplicitHeaders;
|
|
2477
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OperationalAgentTurnClientService, never>;
|
|
2478
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<OperationalAgentTurnClientService>;
|
|
1886
2479
|
}
|
|
1887
2480
|
|
|
1888
2481
|
interface ValidationContext {
|
|
1889
2482
|
fieldSchemas: Record<string, FieldSchemaLike>;
|
|
1890
2483
|
targetSchemas?: any;
|
|
1891
2484
|
propertySchema: RulePropertySchema;
|
|
2485
|
+
/** Raízes ontológicas permitidas para o recurso (ex.: ['draft', 'current', 'vinculo', 'neighborhood', 'context']) */
|
|
2486
|
+
allowedOntologicalRoots?: string[];
|
|
1892
2487
|
}
|
|
1893
2488
|
declare class AiResponseValidatorService {
|
|
1894
2489
|
/**
|
|
@@ -1908,8 +2503,8 @@ declare class AiResponseValidatorService {
|
|
|
1908
2503
|
private calculateSimilarity;
|
|
1909
2504
|
private levenshteinDistance;
|
|
1910
2505
|
private validatePropertyType;
|
|
1911
|
-
static ɵfac:
|
|
1912
|
-
static ɵprov:
|
|
2506
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiResponseValidatorService, never>;
|
|
2507
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AiResponseValidatorService>;
|
|
1913
2508
|
}
|
|
1914
2509
|
|
|
1915
2510
|
interface PraxisAssistantTurnControllerOptions {
|
|
@@ -1927,8 +2522,8 @@ interface PraxisAssistantTurnControllerOptions {
|
|
|
1927
2522
|
declare class PraxisAssistantTurnOrchestratorService {
|
|
1928
2523
|
private readonly runtimeObservationRegistry;
|
|
1929
2524
|
createController(flow: PraxisAssistantTurnFlow, options?: PraxisAssistantTurnControllerOptions): PraxisAssistantTurnController;
|
|
1930
|
-
static ɵfac:
|
|
1931
|
-
static ɵprov:
|
|
2525
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAssistantTurnOrchestratorService, never>;
|
|
2526
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PraxisAssistantTurnOrchestratorService>;
|
|
1932
2527
|
}
|
|
1933
2528
|
declare class PraxisAssistantTurnController {
|
|
1934
2529
|
private readonly flow;
|
|
@@ -1951,7 +2546,7 @@ declare class PraxisAssistantTurnController {
|
|
|
1951
2546
|
submitPrompt(prompt: string, action?: PraxisAssistantTurnAction): Observable<PraxisAssistantTurnViewState>;
|
|
1952
2547
|
answerClarification(option: PraxisAssistantClarificationOption | string): Observable<PraxisAssistantTurnViewState>;
|
|
1953
2548
|
private semanticClarificationContextHints;
|
|
1954
|
-
apply(): Observable<PraxisAssistantTurnViewState>;
|
|
2549
|
+
apply(contextHints?: Record<string, unknown>): Observable<PraxisAssistantTurnViewState>;
|
|
1955
2550
|
retry(): Observable<PraxisAssistantTurnViewState>;
|
|
1956
2551
|
cancel(): Observable<PraxisAssistantTurnViewState>;
|
|
1957
2552
|
private runFlow;
|
|
@@ -2031,9 +2626,9 @@ type PraxisAssistantContextSessionDescriptor = Omit<PraxisAssistantSessionDescri
|
|
|
2031
2626
|
};
|
|
2032
2627
|
declare class PraxisAssistantSessionRegistryService {
|
|
2033
2628
|
private readonly sessionsState;
|
|
2034
|
-
readonly sessions:
|
|
2035
|
-
readonly activeSession:
|
|
2036
|
-
readonly minimizedSessions:
|
|
2629
|
+
readonly sessions: _angular_core.Signal<PraxisAssistantSessionSnapshot[]>;
|
|
2630
|
+
readonly activeSession: _angular_core.Signal<PraxisAssistantSessionSnapshot | null>;
|
|
2631
|
+
readonly minimizedSessions: _angular_core.Signal<PraxisAssistantSessionSnapshot[]>;
|
|
2037
2632
|
upsertSession(descriptor: PraxisAssistantSessionDescriptor): PraxisAssistantSessionSnapshot;
|
|
2038
2633
|
upsertContextSession(contextSnapshot: PraxisAssistantContextSnapshot, descriptor?: PraxisAssistantContextSessionDescriptor): PraxisAssistantSessionSnapshot;
|
|
2039
2634
|
openSession(sessionId: string): PraxisAssistantSessionSnapshot | null;
|
|
@@ -2051,8 +2646,8 @@ declare class PraxisAssistantSessionRegistryService {
|
|
|
2051
2646
|
private assertContextIdentity;
|
|
2052
2647
|
private toShellContextItems;
|
|
2053
2648
|
private sortSessions;
|
|
2054
|
-
static ɵfac:
|
|
2055
|
-
static ɵprov:
|
|
2649
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAssistantSessionRegistryService, never>;
|
|
2650
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PraxisAssistantSessionRegistryService>;
|
|
2056
2651
|
}
|
|
2057
2652
|
|
|
2058
2653
|
type AssistantMessageRole = 'user' | 'assistant' | 'system';
|
|
@@ -2060,6 +2655,7 @@ interface AssistantHistoryMessage {
|
|
|
2060
2655
|
id: string;
|
|
2061
2656
|
role: AssistantMessageRole;
|
|
2062
2657
|
text: string;
|
|
2658
|
+
assistantContent?: Readonly<Record<string, unknown>> | null;
|
|
2063
2659
|
createdAt: string;
|
|
2064
2660
|
context?: {
|
|
2065
2661
|
componentId?: string;
|
|
@@ -2067,6 +2663,8 @@ interface AssistantHistoryMessage {
|
|
|
2067
2663
|
variantId?: string;
|
|
2068
2664
|
suggestionId?: string;
|
|
2069
2665
|
usedRag?: boolean;
|
|
2666
|
+
retentionPolicy?: 'standard' | 'zero';
|
|
2667
|
+
ephemeral?: boolean;
|
|
2070
2668
|
};
|
|
2071
2669
|
}
|
|
2072
2670
|
interface AssistantHistorySession {
|
|
@@ -2082,9 +2680,64 @@ interface AssistantHistorySession {
|
|
|
2082
2680
|
updatedAt: string;
|
|
2083
2681
|
messages: AssistantHistoryMessage[];
|
|
2084
2682
|
summary?: string;
|
|
2683
|
+
retentionPolicy?: 'standard' | 'zero';
|
|
2684
|
+
ephemeral?: boolean;
|
|
2685
|
+
}
|
|
2686
|
+
interface AssistantHistoryIndex {
|
|
2687
|
+
version: 1;
|
|
2688
|
+
tenantId: string;
|
|
2689
|
+
env: string;
|
|
2690
|
+
userId: string;
|
|
2691
|
+
sessions: Array<{
|
|
2692
|
+
id: string;
|
|
2693
|
+
title: string;
|
|
2694
|
+
updatedAt: string;
|
|
2695
|
+
componentId?: string;
|
|
2696
|
+
componentType?: string;
|
|
2697
|
+
}>;
|
|
2085
2698
|
}
|
|
2086
2699
|
interface AssistantHistoryContext extends AiHeaderContext {
|
|
2087
2700
|
storageAvailable: boolean;
|
|
2701
|
+
retentionPolicy?: 'standard' | 'zero';
|
|
2702
|
+
ephemeral?: boolean;
|
|
2703
|
+
}
|
|
2704
|
+
declare class AssistantHistoryService {
|
|
2705
|
+
private readonly aiApi;
|
|
2706
|
+
private readonly storageAvailable;
|
|
2707
|
+
getContext(): AssistantHistoryContext;
|
|
2708
|
+
listSessions(context: AssistantHistoryContext, limit?: number): AssistantHistoryIndex['sessions'];
|
|
2709
|
+
getSession(sessionId: string): AssistantHistorySession | null;
|
|
2710
|
+
createSession(context: AssistantHistoryContext, componentId?: string | null, componentType?: string | null, title?: string): AssistantHistorySession | null;
|
|
2711
|
+
addMessage(context: AssistantHistoryContext, sessionId: string, role: AssistantMessageRole, text: string, meta?: AssistantHistoryMessage['context'], assistantContent?: Readonly<Record<string, unknown>> | null): AssistantHistorySession | null;
|
|
2712
|
+
touchSession(context: AssistantHistoryContext, sessionId: string): void;
|
|
2713
|
+
updateServerSessionId(context: AssistantHistoryContext, sessionId: string, serverSessionId: string | null): AssistantHistorySession | null;
|
|
2714
|
+
deleteSession(context: AssistantHistoryContext, sessionId: string): boolean;
|
|
2715
|
+
restoreSession(context: AssistantHistoryContext, session: AssistantHistorySession, touchUpdatedAt?: boolean): AssistantHistorySession | null;
|
|
2716
|
+
clearHistory(context: AssistantHistoryContext): void;
|
|
2717
|
+
private saveSession;
|
|
2718
|
+
private ensureIndex;
|
|
2719
|
+
private pruneOldSessions;
|
|
2720
|
+
private matchesContext;
|
|
2721
|
+
private indexKey;
|
|
2722
|
+
private sessionKey;
|
|
2723
|
+
private normalizeTitle;
|
|
2724
|
+
private normalizeSummary;
|
|
2725
|
+
private sanitizeForStorage;
|
|
2726
|
+
private sanitizeSession;
|
|
2727
|
+
private sanitizeAssistantContentForStorage;
|
|
2728
|
+
private sanitizeOperationalBlock;
|
|
2729
|
+
private sanitizeOperationalValue;
|
|
2730
|
+
private isValidMod11TaxDigits;
|
|
2731
|
+
private sanitizeInlineSegmentForStorage;
|
|
2732
|
+
private sanitizeIndexTitles;
|
|
2733
|
+
private isDefaultTitle;
|
|
2734
|
+
private readJson;
|
|
2735
|
+
private writeJson;
|
|
2736
|
+
private removeItem;
|
|
2737
|
+
private checkStorage;
|
|
2738
|
+
private generateId;
|
|
2739
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AssistantHistoryService, never>;
|
|
2740
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AssistantHistoryService>;
|
|
2088
2741
|
}
|
|
2089
2742
|
|
|
2090
2743
|
type AssistantState = 'idle' | 'listening' | 'clarification' | 'processing' | 'review' | 'applying' | 'success' | 'error';
|
|
@@ -2480,8 +3133,8 @@ declare class PraxisAiAssistantComponent implements OnDestroy {
|
|
|
2480
3133
|
private shouldSubmitFromKeydown;
|
|
2481
3134
|
private restoreFocusToTrigger;
|
|
2482
3135
|
private normalizeError;
|
|
2483
|
-
static ɵfac:
|
|
2484
|
-
static ɵcmp:
|
|
3136
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAiAssistantComponent, never>;
|
|
3137
|
+
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
3138
|
}
|
|
2486
3139
|
|
|
2487
3140
|
type ResizeDirection = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
|
|
@@ -2509,6 +3162,34 @@ interface AssistantContentResource {
|
|
|
2509
3162
|
fields: readonly AssistantContentResourceField[];
|
|
2510
3163
|
evidence: readonly string[];
|
|
2511
3164
|
}
|
|
3165
|
+
interface RuntimeValueReviewItemView {
|
|
3166
|
+
fieldPath: string;
|
|
3167
|
+
label: string;
|
|
3168
|
+
proposedDisplay: string;
|
|
3169
|
+
currentDisplay: string;
|
|
3170
|
+
provenance: string;
|
|
3171
|
+
provenanceLabel: string;
|
|
3172
|
+
status: 'applicable' | 'preserved' | 'rejected';
|
|
3173
|
+
statusLabel: string;
|
|
3174
|
+
reasonMessage: string;
|
|
3175
|
+
selectable: boolean;
|
|
3176
|
+
selectedByDefault: boolean;
|
|
3177
|
+
}
|
|
3178
|
+
interface RuntimeValueReceiptItemView {
|
|
3179
|
+
fieldPath: string;
|
|
3180
|
+
label: string;
|
|
3181
|
+
reasonMessage: string;
|
|
3182
|
+
}
|
|
3183
|
+
interface RuntimeValueReceiptView {
|
|
3184
|
+
kind: 'apply' | 'undo';
|
|
3185
|
+
status: string;
|
|
3186
|
+
statusLabel: string;
|
|
3187
|
+
appliedOrRevertedLabel: string;
|
|
3188
|
+
appliedOrRevertedFields: readonly string[];
|
|
3189
|
+
preservedLabel: string;
|
|
3190
|
+
preservedItems: readonly RuntimeValueReceiptItemView[];
|
|
3191
|
+
rejectedItems: readonly RuntimeValueReceiptItemView[];
|
|
3192
|
+
}
|
|
2512
3193
|
declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
2513
3194
|
labels: Partial<PraxisAssistantShellLabels> | null;
|
|
2514
3195
|
mode: PraxisAssistantShellMode;
|
|
@@ -2531,12 +3212,14 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2531
3212
|
busy: boolean;
|
|
2532
3213
|
canSubmit: boolean;
|
|
2533
3214
|
canApply: boolean;
|
|
3215
|
+
preview: unknown;
|
|
2534
3216
|
submitOnEnter: boolean;
|
|
2535
3217
|
showAttachAction: boolean;
|
|
2536
3218
|
enablePastedAttachments: boolean;
|
|
2537
3219
|
enableFileAttachments: boolean;
|
|
2538
3220
|
attachmentAccept: string;
|
|
2539
3221
|
attachmentMultiple: boolean;
|
|
3222
|
+
private readonly voiceI18n;
|
|
2540
3223
|
private readonly defaultVoiceInputMode;
|
|
2541
3224
|
private readonly defaultVoiceLanguage;
|
|
2542
3225
|
voiceInputMode: PraxisAssistantVoiceInputMode;
|
|
@@ -2549,7 +3232,7 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2549
3232
|
layout: PraxisAssistantShellLayout;
|
|
2550
3233
|
promptChange: EventEmitter<string>;
|
|
2551
3234
|
submitPrompt: EventEmitter<string>;
|
|
2552
|
-
apply: EventEmitter<void
|
|
3235
|
+
apply: EventEmitter<void | Record<string, unknown>>;
|
|
2553
3236
|
retryTurn: EventEmitter<void>;
|
|
2554
3237
|
cancelTurn: EventEmitter<void>;
|
|
2555
3238
|
shellAction: EventEmitter<PraxisAssistantShellAction>;
|
|
@@ -2566,6 +3249,7 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2566
3249
|
resendMessage: EventEmitter<PraxisAssistantShellMessage>;
|
|
2567
3250
|
quickReply: EventEmitter<PraxisAssistantShellQuickReply>;
|
|
2568
3251
|
recommendedIntent: EventEmitter<PraxisAssistantRecommendedIntent>;
|
|
3252
|
+
blockAction: EventEmitter<PraxisAssistantOperationalBlockActionEvent>;
|
|
2569
3253
|
layoutChange: EventEmitter<PraxisAssistantShellLayout>;
|
|
2570
3254
|
panel?: ElementRef<HTMLElement>;
|
|
2571
3255
|
conversation?: ElementRef<HTMLElement>;
|
|
@@ -2574,6 +3258,8 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2574
3258
|
private readonly injector;
|
|
2575
3259
|
private readonly browserSpeech;
|
|
2576
3260
|
private readonly governedSpeech;
|
|
3261
|
+
private readonly voiceAuthority;
|
|
3262
|
+
private voiceAuthorityLease;
|
|
2577
3263
|
protected currentPrompt: string;
|
|
2578
3264
|
protected resolvedLabels: PraxisAssistantShellLabels;
|
|
2579
3265
|
protected voiceCaptureState: PraxisAssistantVoiceCaptureState;
|
|
@@ -2583,7 +3269,14 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2583
3269
|
private pointerSession;
|
|
2584
3270
|
private readonly ownedPreviewUrls;
|
|
2585
3271
|
private readonly submittedFeedbackObservationIds;
|
|
3272
|
+
private selectedRuntimeFieldPaths;
|
|
3273
|
+
private lastRuntimeProposalFingerprint;
|
|
2586
3274
|
private voiceCaptureSequence;
|
|
3275
|
+
private voiceRecordingStartedAt;
|
|
3276
|
+
private voiceRecordingTimer;
|
|
3277
|
+
protected voiceElapsedSeconds: number;
|
|
3278
|
+
private voiceAction?;
|
|
3279
|
+
private voiceCancel?;
|
|
2587
3280
|
private destroyed;
|
|
2588
3281
|
private processingStartedAt;
|
|
2589
3282
|
private processingElapsedSeconds;
|
|
@@ -2597,16 +3290,26 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2597
3290
|
protected onPromptInput(value: string): void;
|
|
2598
3291
|
protected resizePromptToContent(): void;
|
|
2599
3292
|
protected onSubmit(): void;
|
|
3293
|
+
protected onVoiceKeydown(event: Event): void;
|
|
2600
3294
|
protected onPromptKeydown(event: KeyboardEvent): void;
|
|
2601
3295
|
protected onPromptPaste(event: ClipboardEvent): void;
|
|
2602
3296
|
protected onVoiceInputClick(): void;
|
|
3297
|
+
private captureVoice;
|
|
2603
3298
|
protected shouldShowVoiceInput(): boolean;
|
|
2604
3299
|
protected isVoiceInputDisabled(): boolean;
|
|
2605
3300
|
protected isVoiceInputBusy(): boolean;
|
|
2606
3301
|
protected getVoiceActionLabel(): string;
|
|
2607
3302
|
protected shouldShowVoiceFeedback(): boolean;
|
|
3303
|
+
protected getVoiceFeedbackText(): string;
|
|
3304
|
+
protected onClose(): void;
|
|
2608
3305
|
private canUseBrowserSpeech;
|
|
2609
3306
|
private cancelVoiceCapture;
|
|
3307
|
+
private updateVoiceFocus;
|
|
3308
|
+
protected onVoiceCancelClick(): void;
|
|
3309
|
+
protected getVoiceCancelLabel(): string;
|
|
3310
|
+
protected getVoiceElapsedTime(): string;
|
|
3311
|
+
private startVoiceRecordingTimer;
|
|
3312
|
+
private stopVoiceRecordingTimer;
|
|
2610
3313
|
private isCurrentVoiceCapture;
|
|
2611
3314
|
private activeVoiceService;
|
|
2612
3315
|
private applyVoiceTranscript;
|
|
@@ -2616,12 +3319,37 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2616
3319
|
protected onAttachClick(fileInput: HTMLInputElement): void;
|
|
2617
3320
|
protected onAttachmentFilesSelected(event: Event): void;
|
|
2618
3321
|
protected onApply(): void;
|
|
3322
|
+
protected hasEffectiveCanApply(): boolean;
|
|
3323
|
+
protected hasRuntimeValueReviewCard(): boolean;
|
|
3324
|
+
protected getRuntimeValueSyntheticNotice(): string;
|
|
3325
|
+
protected getRuntimeValueReviewItems(): readonly RuntimeValueReviewItemView[];
|
|
3326
|
+
protected isRuntimeFieldSelected(fieldPath: string): boolean;
|
|
3327
|
+
protected onRuntimeFieldSelectionChange(fieldPath: string, event: Event): void;
|
|
3328
|
+
protected getSelectedRuntimeFieldPaths(): string[];
|
|
3329
|
+
protected getSelectableRuntimeValueCount(): number;
|
|
3330
|
+
protected trackRuntimeValueReviewItem(_index: number, item: RuntimeValueReviewItemView): string;
|
|
3331
|
+
protected hasRuntimeValueReceiptCard(): boolean;
|
|
3332
|
+
protected getRuntimeValueReceiptView(): RuntimeValueReceiptView | null;
|
|
3333
|
+
private syncRuntimeValueSelectionFromPreview;
|
|
3334
|
+
private ensureRuntimeValueSelectionSynced;
|
|
3335
|
+
private extractRuntimeValueReviewItems;
|
|
3336
|
+
private mapPreviewEntryToView;
|
|
3337
|
+
private formatRuntimeDisplayValue;
|
|
3338
|
+
private formatProvenanceLabel;
|
|
3339
|
+
private formatReviewStatusLabel;
|
|
3340
|
+
private formatReceiptStatusLabel;
|
|
3341
|
+
private extractReceiptFieldNames;
|
|
3342
|
+
private extractReceiptReasonItems;
|
|
2619
3343
|
protected renderMessageText(text: string | null | undefined): string;
|
|
2620
3344
|
protected hasStructuredAssistantContent(message: PraxisAssistantShellMessage): boolean;
|
|
2621
3345
|
protected getAssistantContentBlocks(message: PraxisAssistantShellMessage): readonly AssistantContentBlock[];
|
|
2622
3346
|
protected getAssistantContentBlockType(block: AssistantContentBlock): string;
|
|
2623
3347
|
protected getAssistantContentBlockTitle(block: AssistantContentBlock, fallback?: string): string;
|
|
2624
3348
|
protected getAssistantContentBlockText(block: AssistantContentBlock): string;
|
|
3349
|
+
protected hasParagraphInlines(block: AssistantContentBlock): boolean;
|
|
3350
|
+
protected getParagraphInlines(block: AssistantContentBlock): readonly PraxisAssistantParagraphInline[];
|
|
3351
|
+
protected renderInlineSegmentText(text: string | null | undefined): string;
|
|
3352
|
+
protected trackParagraphInline(index: number, inline: PraxisAssistantParagraphInline): string;
|
|
2625
3353
|
protected getAssistantContentResources(block: AssistantContentBlock): readonly AssistantContentResource[];
|
|
2626
3354
|
protected getAssistantContentResourceFields(resource: Record<string, unknown>): readonly AssistantContentResourceField[];
|
|
2627
3355
|
protected getAssistantContentResourceMeta(resource: AssistantContentResource): readonly string[];
|
|
@@ -2661,6 +3389,7 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2661
3389
|
protected getRecommendedIntentTone(intent: PraxisAssistantRecommendedIntent): string;
|
|
2662
3390
|
protected getRecommendedIntentGroupLabel(intent: PraxisAssistantRecommendedIntent): string;
|
|
2663
3391
|
protected getQuickReplyAriaLabel(reply: PraxisAssistantShellQuickReply): string;
|
|
3392
|
+
protected visibleQuickReplies(): readonly PraxisAssistantShellQuickReply[];
|
|
2664
3393
|
protected getQuickReplyLabel(reply: PraxisAssistantShellQuickReply): string;
|
|
2665
3394
|
protected getQuickReplyTechnicalDetails(reply: PraxisAssistantShellQuickReply): string;
|
|
2666
3395
|
protected isRichQuickReply(reply: PraxisAssistantShellQuickReply): boolean;
|
|
@@ -2738,8 +3467,301 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
2738
3467
|
private revokeDetachedPastedPreviewUrls;
|
|
2739
3468
|
private revokeAllOwnedPreviewUrls;
|
|
2740
3469
|
private revokeOwnedPreviewUrl;
|
|
2741
|
-
static ɵfac:
|
|
2742
|
-
static ɵcmp:
|
|
3470
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAiAssistantShellComponent, never>;
|
|
3471
|
+
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; }; "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; }; "enablePastedAttachments": { "alias": "enablePastedAttachments"; "required": false; }; "enableFileAttachments": { "alias": "enableFileAttachments"; "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; }; "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"; "close": "close"; "attach": "attach"; "attachmentsPasted": "attachmentsPasted"; "attachmentsSelected": "attachmentsSelected"; "removeAttachment": "removeAttachment"; "messageAction": "messageAction"; "editMessage": "editMessage"; "resendMessage": "resendMessage"; "quickReply": "quickReply"; "recommendedIntent": "recommendedIntent"; "blockAction": "blockAction"; "layoutChange": "layoutChange"; }, never, never, true, never>;
|
|
3472
|
+
}
|
|
3473
|
+
|
|
3474
|
+
declare const ASSISTANT_OPERATIONAL_PT_BR: {
|
|
3475
|
+
readonly alertsDefaultTitle: "Alertas operacionais";
|
|
3476
|
+
readonly actionsDefaultTitle: "Ações disponíveis";
|
|
3477
|
+
readonly collectionDefaultTitle: "Registros encontrados";
|
|
3478
|
+
readonly collectionEmpty: "Nenhum registro retornado para esta consulta.";
|
|
3479
|
+
readonly collectionShowingTopRows: "Exibindo {shown} de {total} registros";
|
|
3480
|
+
readonly openFullCollection: "Abrir listagem completa";
|
|
3481
|
+
readonly widgetUnavailable: "Conteúdo estruturado indisponível neste contexto.";
|
|
3482
|
+
readonly severityCritical: "Crítico";
|
|
3483
|
+
readonly severityError: "Alto";
|
|
3484
|
+
readonly severityWarning: "Alerta";
|
|
3485
|
+
readonly severityInfo: "Informativo";
|
|
3486
|
+
readonly disambiguationHint: "Selecionar registro";
|
|
3487
|
+
readonly calculationDefaultTitle: "Memória de cálculo";
|
|
3488
|
+
readonly calculationLegalBasisLabel: "Base legal";
|
|
3489
|
+
readonly calculationRuleLabel: "Regra";
|
|
3490
|
+
readonly calcResultDefaultLabel: "Resultado";
|
|
3491
|
+
readonly calculationEmpty: "Nenhuma trilha de cálculo disponível para este registro.";
|
|
3492
|
+
readonly citationsDefaultTitle: "Base normativa e regras aplicáveis";
|
|
3493
|
+
readonly citationOpenRoute: "Abrir consulta relacionada";
|
|
3494
|
+
readonly sourceKindStatute: "Norma / Estatuto";
|
|
3495
|
+
readonly sourceKindDomainRule: "Regra de Domínio";
|
|
3496
|
+
readonly sourceKindRuntimeRule: "Regra Executável";
|
|
3497
|
+
readonly sourceKindErrorCatalog: "Catálogo de Motivos";
|
|
3498
|
+
readonly chartDefaultTitle: "Gráfico analítico";
|
|
3499
|
+
readonly chartEmpty: "Sem pontos para exibir no gráfico.";
|
|
3500
|
+
readonly booleanYes: "Sim";
|
|
3501
|
+
readonly booleanNo: "Não";
|
|
3502
|
+
readonly simulationDefaultTitle: "Simulação prévia";
|
|
3503
|
+
readonly simulationBadge: "Simulação não persistida";
|
|
3504
|
+
readonly simulationIssuesTitle: "Pendências identificadas no rascunho";
|
|
3505
|
+
readonly proposalsDefaultTitle: "Propostas governadas aguardando confirmação";
|
|
3506
|
+
readonly proposalMissingFieldsLabel: "Campos obrigatórios pendentes";
|
|
3507
|
+
readonly proposalVersionLabel: "Versão capturada";
|
|
3508
|
+
readonly proposalStateLabel: "Situação atual";
|
|
3509
|
+
readonly proposalOrgPrefix: "Org {id}";
|
|
3510
|
+
readonly proposalExpiredNote: "O prazo de validade desta proposta expirou. Revalide com o estado atual antes de executar.";
|
|
3511
|
+
readonly proposalConfirmButton: "Confirmar execução";
|
|
3512
|
+
readonly proposalConfirmBusy: "Confirmando...";
|
|
3513
|
+
readonly proposalOpenFormButton: "Revisar no formulário";
|
|
3514
|
+
readonly proposalRejectButton: "Descartar";
|
|
3515
|
+
readonly proposalRevalidateButton: "Revalidar com estado atual";
|
|
3516
|
+
readonly proposalStatusPending: "Pendente de confirmação";
|
|
3517
|
+
readonly proposalStatusBlocked: "Bloqueada";
|
|
3518
|
+
readonly proposalStatusConfirmed: "Confirmada";
|
|
3519
|
+
readonly proposalStatusStale: "Desatualizada (412)";
|
|
3520
|
+
readonly proposalStatusExpired: "Expirada";
|
|
3521
|
+
readonly proposalStatusRejected: "Descartada";
|
|
3522
|
+
readonly proposalRiskLow: "Baixo risco";
|
|
3523
|
+
readonly proposalRiskMedium: "Risco moderado";
|
|
3524
|
+
readonly proposalRiskHigh: "Alto risco";
|
|
3525
|
+
readonly proposalRiskCritical: "Risco crítico";
|
|
3526
|
+
readonly proposalBulkBadge: "Lote";
|
|
3527
|
+
readonly proposalBulkModeUniform: "Edição uniforme";
|
|
3528
|
+
readonly proposalBulkModePerItem: "Edição por item";
|
|
3529
|
+
readonly proposalBulkModeCommand: "Comando coletivo";
|
|
3530
|
+
readonly proposalBulkTotalsTarget: "Alvos";
|
|
3531
|
+
readonly proposalBulkTotalsExecutable: "Elegíveis";
|
|
3532
|
+
readonly proposalBulkTotalsBlocked: "Impedidos";
|
|
3533
|
+
readonly proposalBulkSampleHeading: "Amostra da seleção";
|
|
3534
|
+
readonly proposalBulkReviewButton: "Revisar Lote no Modal";
|
|
3535
|
+
readonly proposalBulkFillAndReviewButton: "Preencher e Revisar Lote";
|
|
3536
|
+
readonly proposalBulkTrackButton: "Acompanhar Execução";
|
|
3537
|
+
readonly epistemicDefaultTitle: "Evidência analítica e escopo epistêmico";
|
|
3538
|
+
readonly epistemicKindDeterministicLaw: "Regra Determinística";
|
|
3539
|
+
readonly epistemicKindCalibratedProbability: "Probabilidade Calibrada";
|
|
3540
|
+
readonly epistemicKindStochasticSimulation: "Simulação Estocástica";
|
|
3541
|
+
readonly epistemicKindCausalHypothesis: "Hipótese Causal";
|
|
3542
|
+
readonly epistemicKindOptimizationResult: "Otimização Condicionada";
|
|
3543
|
+
readonly epistemicStateAvailable: "Disponível";
|
|
3544
|
+
readonly epistemicStateInsufficientSample: "Amostra Insuficiente";
|
|
3545
|
+
readonly epistemicStateKAnonymitySuppressed: "Suprimido por k-Anonimato";
|
|
3546
|
+
readonly epistemicStateEngineUnavailable: "Motor Indisponível";
|
|
3547
|
+
readonly epistemicStateDegraded: "Degradado";
|
|
3548
|
+
readonly epistemicNextStepLabel: "Próximo passo recomendado";
|
|
3549
|
+
readonly epistemicNextStepInsufficientSample: "Amplie o período, afrouxe filtros restritivos ou consulte a série agregada antes de tirar conclusões.";
|
|
3550
|
+
readonly epistemicNextStepKAnonymitySuppressed: "Agrupe em uma dimensão mais ampla para atingir o piso mínimo de k-anonimato sem expor grupos pequenos.";
|
|
3551
|
+
readonly epistemicNextStepEngineUnavailable: "Tente novamente em instantes ou execute uma receita analítica verificada (/stats/recipes) enquanto o motor estatístico é restabelecido.";
|
|
3552
|
+
readonly epistemicNextStepDegraded: "Resultados parciais ou degradados; valide os parâmetros aplicados antes de decisões operacionais.";
|
|
3553
|
+
readonly epistemicNextStepTaintedBlocked: "Bloqueio de segurança ativo: inicie um novo turno limpo com instrução direta ao registro confirmado antes de propor alterações.";
|
|
3554
|
+
readonly epistemicSuppressedCellsAlert: "Privacidade (k-anonimato): {count} célula(s)/coorte(s) foram suprimidas e omitidas por conterem poucos registros.";
|
|
3555
|
+
readonly epistemicSampleSize: "Amostra n={count}";
|
|
3556
|
+
readonly epistemicFdrQValue: "q-FDR {value}";
|
|
3557
|
+
readonly epistemicSignificantYes: "Significativo (FDR)";
|
|
3558
|
+
readonly epistemicSignificantNo: "Não significativo (FDR)";
|
|
3559
|
+
readonly epistemicRowsScanned: "Registros: {count}";
|
|
3560
|
+
readonly epistemicGroupsEvaluated: "Coortes: {count}";
|
|
3561
|
+
readonly epistemicFindings: "Achados: {count}";
|
|
3562
|
+
readonly epistemicCriticalFindings: "Críticos: {count}";
|
|
3563
|
+
readonly epistemicWarningFindings: "Alertas: {count}";
|
|
3564
|
+
readonly epistemicExposure: "Exposição: {amount}";
|
|
3565
|
+
readonly epistemicTruncatedNotice: "Varredura limitada ao teto máximo de achados configurados; refine os filtros para inspeção exaustiva.";
|
|
3566
|
+
readonly epistemicNigriniLabel: "Nigrini-Benford";
|
|
3567
|
+
readonly epistemicNigriniMadValue: "MAD {mad}";
|
|
3568
|
+
readonly epistemicNigriniCloseConformity: "Conformidade estreita";
|
|
3569
|
+
readonly epistemicNigriniAcceptableConformity: "Conformidade aceitável";
|
|
3570
|
+
readonly epistemicNigriniMarginalConformity: "Conformidade marginal";
|
|
3571
|
+
readonly epistemicNigriniNonConformity: "Não conformidade";
|
|
3572
|
+
readonly epistemicModelCard: "Modelo {id}";
|
|
3573
|
+
readonly epistemicProvenanceHash: "Hash de proveniência";
|
|
3574
|
+
readonly epistemicCopyHash: "Copiar hash de proveniência";
|
|
3575
|
+
readonly epistemicCopyHashDone: "Hash copiado";
|
|
3576
|
+
readonly epistemicErrorCodeLabel: "Código";
|
|
3577
|
+
readonly provenanceAccordionTitle: "Filtros travados, parâmetros e proveniência";
|
|
3578
|
+
readonly provenanceVerifiedBadge: "Receita Verificada";
|
|
3579
|
+
readonly provenanceExploratoryBadge: "Exploratório Não Verificado";
|
|
3580
|
+
readonly provenanceRecipeLabel: "Receita";
|
|
3581
|
+
readonly provenanceVersionLabel: "Versão";
|
|
3582
|
+
readonly provenanceTierLabel: "Governança";
|
|
3583
|
+
readonly provenanceDigestLabel: "Digest / Hash";
|
|
3584
|
+
readonly provenanceLockedFiltersTitle: "Filtros travados no servidor";
|
|
3585
|
+
readonly provenanceAppliedParamsTitle: "Parâmetros aplicados";
|
|
3586
|
+
readonly provenanceNoParams: "Sem parâmetros adicionais.";
|
|
3587
|
+
readonly provenanceCopyDigest: "Copiar digest de proveniência";
|
|
3588
|
+
readonly provenanceCopyDigestDone: "Digest copiado";
|
|
3589
|
+
readonly provenanceEpistemicSectionTitle: "Envelope epistêmico do gráfico";
|
|
3590
|
+
readonly epistemicNextStepAnchorRevalidationDegraded: "Divergência detectada na revalidação das âncoras determinísticas: execute nova simulação após reconciliar os parâmetros base.";
|
|
3591
|
+
readonly epistemicNextStepDriftCircuitOpen: "Disjuntor de drift aberto: verifique mudanças recentes na distribuição ou recalibre o modelo antes de prosseguir.";
|
|
3592
|
+
readonly epistemicNextStepNonConvergentOptimizer: "O otimizador contrafactual não convergiu dentro das restrições atuais: amplie os limites permitidos das alavancas ou revise a meta.";
|
|
3593
|
+
readonly epistemicNextStepAllCandidatesRejected: "Nenhuma alternativa passou pelas regras determinísticas de validação: revise restrições normativas ou defina uma meta intermediária.";
|
|
3594
|
+
readonly epistemicNextStepDegradedInsufficientSample: "Amostra insuficiente para estabilidade confiável: amplie o recorte ou relaxe filtros antes de utilizar a projeção.";
|
|
3595
|
+
readonly epistemicScenarios: "{count} cenários";
|
|
3596
|
+
readonly epistemicHorizonPeriods: "Horizonte: {count} períodos";
|
|
3597
|
+
readonly epistemicAnchorsValidated: "Âncoras determinísticas validadas";
|
|
3598
|
+
readonly epistemicAnchorsDiverged: "Divergência nas âncoras determinísticas";
|
|
3599
|
+
readonly epistemicValidatedCandidates: "Validadas: {count}";
|
|
3600
|
+
readonly epistemicExcludedCandidates: "Excluídas por regras: {count}";
|
|
3601
|
+
readonly epistemicAdvisoryOnlyPill: "Somente recomendação · requer aprovação humana";
|
|
3602
|
+
readonly counterfactualDefaultTitle: "Alternativas Contrafactuais Governadas";
|
|
3603
|
+
readonly counterfactualGovernanceBanner: "Somente recomendação consultiva — requer aprovação humana explícita; nenhuma mutação automática é aplicada.";
|
|
3604
|
+
readonly counterfactualBaselineLabel: "Linha base";
|
|
3605
|
+
readonly counterfactualTargetLabel: "Meta";
|
|
3606
|
+
readonly counterfactualConverged: "Convergiu";
|
|
3607
|
+
readonly counterfactualNotConverged: "Não convergiu";
|
|
3608
|
+
readonly counterfactualValidatedBadge: "Validado pelo motor de regras";
|
|
3609
|
+
readonly counterfactualDirectionMaximize: "Maximizar";
|
|
3610
|
+
readonly counterfactualDirectionMinimize: "Minimizar";
|
|
3611
|
+
readonly counterfactualDirectionTarget: "Atingir meta";
|
|
3612
|
+
readonly counterfactualRankLabel: "Opção #{rank}";
|
|
3613
|
+
readonly counterfactualPredictedValue: "Resultado previsto";
|
|
3614
|
+
readonly counterfactualPredictedDelta: "Variação prevista";
|
|
3615
|
+
readonly counterfactualDistanceScore: "Distância";
|
|
3616
|
+
readonly counterfactualLeverChangesTitle: "Alavancas sugeridas";
|
|
3617
|
+
readonly counterfactualContributionLabel: "contribuição: {value}";
|
|
3618
|
+
readonly counterfactualRuleMessagesTitle: "Validações de regras determinísticas";
|
|
3619
|
+
readonly counterfactualSuggestedActionFallback: "Abrir revisão guiada";
|
|
3620
|
+
};
|
|
3621
|
+
type AssistantOperationalBlockI18nKey = keyof typeof ASSISTANT_OPERATIONAL_PT_BR;
|
|
3622
|
+
|
|
3623
|
+
interface FallbackRecordSummaryField {
|
|
3624
|
+
readonly id: string;
|
|
3625
|
+
readonly label: string;
|
|
3626
|
+
readonly value: string;
|
|
3627
|
+
}
|
|
3628
|
+
interface FallbackRecordSummaryView {
|
|
3629
|
+
readonly title: string;
|
|
3630
|
+
readonly subtitle: string;
|
|
3631
|
+
readonly meta: string;
|
|
3632
|
+
readonly fields: readonly FallbackRecordSummaryField[];
|
|
3633
|
+
}
|
|
3634
|
+
interface FallbackChartRowView {
|
|
3635
|
+
readonly label: string;
|
|
3636
|
+
readonly value: number;
|
|
3637
|
+
readonly percentWidth: number;
|
|
3638
|
+
}
|
|
3639
|
+
interface FallbackChartSummaryView {
|
|
3640
|
+
readonly title: string;
|
|
3641
|
+
readonly subtitle: string;
|
|
3642
|
+
readonly rows: readonly FallbackChartRowView[];
|
|
3643
|
+
}
|
|
3644
|
+
interface ProvenanceKeyValueEntry {
|
|
3645
|
+
readonly key: string;
|
|
3646
|
+
readonly label: string;
|
|
3647
|
+
readonly value: string;
|
|
3648
|
+
}
|
|
3649
|
+
declare class PraxisAssistantOperationalBlockComponent {
|
|
3650
|
+
private readonly i18n;
|
|
3651
|
+
private readonly metadataRegistry;
|
|
3652
|
+
private readonly destroyRef;
|
|
3653
|
+
private readonly hostElementRef;
|
|
3654
|
+
readonly block: _angular_core.InputSignal<Readonly<Record<string, unknown>>>;
|
|
3655
|
+
readonly testIdPrefix: _angular_core.InputSignal<string>;
|
|
3656
|
+
readonly blockAction: _angular_core.OutputEmitterRef<PraxisAssistantOperationalBlockActionEvent>;
|
|
3657
|
+
private readonly nowMs;
|
|
3658
|
+
private readonly inFlightProposalIds;
|
|
3659
|
+
protected readonly copiedHashKey: _angular_core.WritableSignal<string | null>;
|
|
3660
|
+
private pendingFocusProposalId;
|
|
3661
|
+
private copyFeedbackTimer;
|
|
3662
|
+
constructor();
|
|
3663
|
+
protected readonly blockType: _angular_core.Signal<string>;
|
|
3664
|
+
protected readonly epistemicBadgeBlock: _angular_core.Signal<PraxisAssistantEpistemicBadgeBlock | null>;
|
|
3665
|
+
protected readonly alertListBlock: _angular_core.Signal<PraxisAssistantOperationalAlertListBlock | null>;
|
|
3666
|
+
protected readonly widgetBlock: _angular_core.Signal<PraxisAssistantOperationalWidgetBlock | null>;
|
|
3667
|
+
protected readonly widgetDefinition: _angular_core.Signal<WidgetDefinition | null>;
|
|
3668
|
+
protected readonly widgetProvenanceView: _angular_core.Signal<{
|
|
3669
|
+
readonly mode?: string;
|
|
3670
|
+
readonly recipeId?: string;
|
|
3671
|
+
readonly recipeTitle?: string;
|
|
3672
|
+
readonly recipeVersion?: string;
|
|
3673
|
+
readonly governanceTier?: string;
|
|
3674
|
+
readonly digest?: string;
|
|
3675
|
+
readonly lockedFilters: readonly ProvenanceKeyValueEntry[];
|
|
3676
|
+
readonly appliedParameters: readonly ProvenanceKeyValueEntry[];
|
|
3677
|
+
readonly epistemicMeta?: PraxisAssistantEpistemicMeta;
|
|
3678
|
+
readonly epistemicKind?: string;
|
|
3679
|
+
} | null>;
|
|
3680
|
+
protected readonly fallbackChartSummary: _angular_core.Signal<FallbackChartSummaryView | null>;
|
|
3681
|
+
protected readonly counterfactualRecourseBlock: _angular_core.Signal<PraxisAssistantCounterfactualRecourseBlock | null>;
|
|
3682
|
+
protected readonly calculationMemoryBlock: _angular_core.Signal<PraxisAssistantCalculationMemoryBlock | null>;
|
|
3683
|
+
protected readonly knowledgeCitationsBlock: _angular_core.Signal<PraxisAssistantKnowledgeCitationsBlock | null>;
|
|
3684
|
+
protected readonly fallbackSummary: _angular_core.Signal<FallbackRecordSummaryView | null>;
|
|
3685
|
+
protected readonly collectionBlock: _angular_core.Signal<PraxisAssistantOperationalCompactCollectionBlock | null>;
|
|
3686
|
+
protected readonly visibleColumns: _angular_core.Signal<readonly PraxisAssistantOperationalCollectionColumn[]>;
|
|
3687
|
+
protected readonly visibleRows: _angular_core.Signal<readonly Readonly<Record<string, unknown>>[]>;
|
|
3688
|
+
protected readonly shouldShowCollectionFooter: _angular_core.Signal<boolean>;
|
|
3689
|
+
protected readonly actionBarBlock: _angular_core.Signal<PraxisAssistantOperationalActionBarBlock | null>;
|
|
3690
|
+
protected readonly simulationPreviewBlock: _angular_core.Signal<PraxisAssistantSimulationPreviewBlock | null>;
|
|
3691
|
+
protected readonly actionProposalsBlock: _angular_core.Signal<PraxisAssistantActionProposalsBlock | null>;
|
|
3692
|
+
protected canLoadRegisteredWidget(widgetId: string): boolean;
|
|
3693
|
+
protected t(key: AssistantOperationalBlockI18nKey, params?: Readonly<Record<string, string | number>>): string;
|
|
3694
|
+
protected normalizeSeverity(severity?: string): 'critical' | 'warning' | 'info';
|
|
3695
|
+
protected severityIcon(severity?: string): string;
|
|
3696
|
+
protected severityLabel(severity?: string): string;
|
|
3697
|
+
protected stringValue(value: unknown): string;
|
|
3698
|
+
protected formatCellValue(value: unknown): string;
|
|
3699
|
+
protected onActionClick(action: PraxisAssistantOperationalActionAffordance): void;
|
|
3700
|
+
protected onAlertSuggestedAction(alert: PraxisAssistantOperationalAlertItem): void;
|
|
3701
|
+
protected onDisambiguationRowClick(row: Readonly<Record<string, unknown>>): void;
|
|
3702
|
+
protected onOpenCollectionResource(col: PraxisAssistantOperationalCompactCollectionBlock): void;
|
|
3703
|
+
protected trailHasResultStep(trail: PraxisAssistantCalculationTrail): boolean;
|
|
3704
|
+
protected calcSubtitle(calc: PraxisAssistantCalculationMemoryBlock): string;
|
|
3705
|
+
protected sourceKindLabel(sourceKind: string): string;
|
|
3706
|
+
protected onOpenCitationRoute(citation: PraxisAssistantKnowledgeCitationItem): void;
|
|
3707
|
+
protected effectiveProposalStatus(item: PraxisAssistantActionProposalItem): string;
|
|
3708
|
+
protected isProposalBusy(item: PraxisAssistantActionProposalItem): boolean;
|
|
3709
|
+
protected fieldLabel(item: PraxisAssistantActionProposalItem, fieldName?: string): string;
|
|
3710
|
+
protected canConfirmProposalDirectly(item: PraxisAssistantActionProposalItem): boolean;
|
|
3711
|
+
protected canOpenProposalForm(item: PraxisAssistantActionProposalItem): boolean;
|
|
3712
|
+
protected canReviewBulkProposal(item: PraxisAssistantActionProposalItem): boolean;
|
|
3713
|
+
protected canTrackBulkExecution(item: PraxisAssistantActionProposalItem): boolean;
|
|
3714
|
+
protected bulkReviewButtonLabel(item: PraxisAssistantActionProposalItem): string;
|
|
3715
|
+
protected bulkModeLabel(mode?: string): string;
|
|
3716
|
+
protected bulkVisibleSamples(bulk: PraxisAssistantBulkProposalDetails): readonly PraxisAssistantBulkProposalSampleTarget[];
|
|
3717
|
+
protected bulkHiddenSampleCount(bulk: PraxisAssistantBulkProposalDetails): number;
|
|
3718
|
+
protected onReviewBulkProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
3719
|
+
protected onTrackBulkExecution(proposal: PraxisAssistantActionProposalItem): void;
|
|
3720
|
+
private parseBulkProposalDetails;
|
|
3721
|
+
private markProposalInFlight;
|
|
3722
|
+
protected onConfirmActionProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
3723
|
+
protected onOpenProposalForm(proposal: PraxisAssistantActionProposalItem): void;
|
|
3724
|
+
protected onRejectActionProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
3725
|
+
protected onRevalidateStaleProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
3726
|
+
protected proposalStatusLabel(status?: string): string;
|
|
3727
|
+
protected proposalRiskLabel(risk?: string): string;
|
|
3728
|
+
protected shortVersionTag(tag?: string): string;
|
|
3729
|
+
protected prefillEntries(item: PraxisAssistantActionProposalItem): readonly {
|
|
3730
|
+
readonly key: string;
|
|
3731
|
+
readonly label: string;
|
|
3732
|
+
readonly value: string;
|
|
3733
|
+
}[];
|
|
3734
|
+
protected missingFieldLabels(item: PraxisAssistantActionProposalItem): readonly string[];
|
|
3735
|
+
protected fieldErrorEntries(item: PraxisAssistantActionProposalItem): readonly {
|
|
3736
|
+
readonly key: string;
|
|
3737
|
+
readonly label: string;
|
|
3738
|
+
readonly value: string;
|
|
3739
|
+
}[];
|
|
3740
|
+
protected normalizeEpistemicKind(kind?: string): string;
|
|
3741
|
+
protected normalizeAvailabilityState(state?: string): string;
|
|
3742
|
+
protected epistemicKindIcon(kind: string): string;
|
|
3743
|
+
protected epistemicKindLabel(kind: string): string;
|
|
3744
|
+
protected availabilityStateLabel(state: string): string;
|
|
3745
|
+
protected shouldShowEpistemicSignificance(badge: PraxisAssistantEpistemicBadgeBlock): boolean;
|
|
3746
|
+
protected epistemicNextStepText(badge: PraxisAssistantEpistemicBadgeBlock): string;
|
|
3747
|
+
protected formatQValue(qValue: number): string;
|
|
3748
|
+
protected formatCount(value: number): string;
|
|
3749
|
+
protected formatMad(mad: number): string;
|
|
3750
|
+
protected formatExposureAmount(value: number | string): string;
|
|
3751
|
+
protected formatNigriniConformity(value: string): string;
|
|
3752
|
+
protected copyHashToken(tokenKey: string, value?: string): void;
|
|
3753
|
+
private fallbackLegacyCopy;
|
|
3754
|
+
private toProvenanceEntries;
|
|
3755
|
+
protected onCounterfactualSuggestedAction(block: PraxisAssistantCounterfactualRecourseBlock, candidate: PraxisAssistantCounterfactualCandidate): void;
|
|
3756
|
+
protected counterfactualDirectionLabel(direction: string): string;
|
|
3757
|
+
protected formatCounterfactualNumber(value: number, maxDigits?: number): string;
|
|
3758
|
+
protected formatSignedCounterfactualNumber(value: number): string;
|
|
3759
|
+
private readFiniteNumber;
|
|
3760
|
+
private readNonNegativeInteger;
|
|
3761
|
+
private firstNonEmptyString;
|
|
3762
|
+
private normalizePrimitiveDeltaValue;
|
|
3763
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAssistantOperationalBlockComponent, never>;
|
|
3764
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAssistantOperationalBlockComponent, "praxis-ai-assistant-operational-block", never, { "block": { "alias": "block"; "required": true; "isSignal": true; }; "testIdPrefix": { "alias": "testIdPrefix"; "required": false; "isSignal": true; }; }, { "blockAction": "blockAction"; }, never, never, true, never>;
|
|
2743
3765
|
}
|
|
2744
3766
|
|
|
2745
3767
|
declare const PRAXIS_ASSISTANT_VOICE_INPUT_MODE: InjectionToken<PraxisAssistantVoiceInputMode>;
|
|
@@ -2762,8 +3784,8 @@ declare class PraxisAiAssistantDockComponent {
|
|
|
2762
3784
|
resolvedTone(): PraxisAssistantDockTone;
|
|
2763
3785
|
resolvedIcon(): string;
|
|
2764
3786
|
resolvedBadge(): string;
|
|
2765
|
-
static ɵfac:
|
|
2766
|
-
static ɵcmp:
|
|
3787
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAiAssistantDockComponent, never>;
|
|
3788
|
+
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; }; "testId": { "alias": "testId"; "required": false; }; "openTestId": { "alias": "openTestId"; "required": false; }; }, { "open": "open"; }, never, never, true, never>;
|
|
2767
3789
|
}
|
|
2768
3790
|
|
|
2769
3791
|
declare class PraxisAiAssistantSessionHostComponent {
|
|
@@ -2785,18 +3807,312 @@ declare class PraxisAiAssistantSessionHostComponent {
|
|
|
2785
3807
|
dockOpenTestId(session: PraxisAssistantSessionSnapshot, first: boolean): string;
|
|
2786
3808
|
trackSession(_index: number, session: PraxisAssistantSessionSnapshot): string;
|
|
2787
3809
|
private safeId;
|
|
2788
|
-
static ɵfac:
|
|
2789
|
-
static ɵcmp:
|
|
3810
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAiAssistantSessionHostComponent, never>;
|
|
3811
|
+
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; }; "ownerType": { "alias": "ownerType"; "required": false; }; "ownerId": { "alias": "ownerId"; "required": false; }; "visibility": { "alias": "visibility"; "required": false; }; "includeOriginAnchored": { "alias": "includeOriginAnchored"; "required": false; }; }, { "sessionOpen": "sessionOpen"; }, never, never, true, never>;
|
|
2790
3812
|
static ngAcceptInputType_includeOriginAnchored: unknown;
|
|
2791
3813
|
}
|
|
2792
3814
|
|
|
3815
|
+
interface WorkspaceAssistantRouteContext {
|
|
3816
|
+
readonly resourcePath?: string | null;
|
|
3817
|
+
readonly topicKey?: string | null;
|
|
3818
|
+
readonly componentId?: string | null;
|
|
3819
|
+
readonly componentType?: string | null;
|
|
3820
|
+
readonly label?: string | null;
|
|
3821
|
+
}
|
|
3822
|
+
interface WorkspaceAssistantFocusedEntity {
|
|
3823
|
+
readonly entityKey: string;
|
|
3824
|
+
readonly entityId: string;
|
|
3825
|
+
readonly title?: string | null;
|
|
3826
|
+
readonly resourceKey?: string | null;
|
|
3827
|
+
readonly resourcePath?: string | null;
|
|
3828
|
+
}
|
|
3829
|
+
interface WorkspaceAssistantOpenSurfaceRequest {
|
|
3830
|
+
readonly surfaceId: string;
|
|
3831
|
+
readonly resourceKey?: string | null;
|
|
3832
|
+
readonly resourcePath?: string | null;
|
|
3833
|
+
readonly entityId?: string | null;
|
|
3834
|
+
readonly route?: string | null;
|
|
3835
|
+
readonly prefill?: Readonly<Record<string, unknown>>;
|
|
3836
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
3837
|
+
}
|
|
3838
|
+
interface WorkspaceAssistantApplyFilterRequest {
|
|
3839
|
+
readonly resourceKey?: string | null;
|
|
3840
|
+
readonly resourcePath?: string | null;
|
|
3841
|
+
readonly filters: Readonly<Record<string, unknown>>;
|
|
3842
|
+
readonly dimension?: PraxisContextDimension;
|
|
3843
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
3844
|
+
}
|
|
3845
|
+
interface WorkspaceAssistantRunActionRequest {
|
|
3846
|
+
readonly actionId: string;
|
|
3847
|
+
readonly operationKind: string;
|
|
3848
|
+
readonly label: string;
|
|
3849
|
+
readonly resourceKey?: string | null;
|
|
3850
|
+
readonly resourcePath?: string | null;
|
|
3851
|
+
readonly entityId?: string | null;
|
|
3852
|
+
readonly formMode?: string | null;
|
|
3853
|
+
readonly method?: string | null;
|
|
3854
|
+
readonly schemaUrl?: string | null;
|
|
3855
|
+
readonly submitUrl?: string | null;
|
|
3856
|
+
readonly prefill?: Readonly<Record<string, unknown>>;
|
|
3857
|
+
readonly proposalId?: string | null;
|
|
3858
|
+
readonly expectedVersionTag?: string | null;
|
|
3859
|
+
readonly overlayInitialValueOnEdit?: boolean;
|
|
3860
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
3861
|
+
}
|
|
3862
|
+
type WorkspaceAssistantDispatchedAction = {
|
|
3863
|
+
readonly kind: 'navigate';
|
|
3864
|
+
readonly route: string;
|
|
3865
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
3866
|
+
} | {
|
|
3867
|
+
readonly kind: 'open-surface';
|
|
3868
|
+
readonly request: WorkspaceAssistantOpenSurfaceRequest;
|
|
3869
|
+
} | {
|
|
3870
|
+
readonly kind: 'apply-filter';
|
|
3871
|
+
readonly request: WorkspaceAssistantApplyFilterRequest;
|
|
3872
|
+
} | {
|
|
3873
|
+
readonly kind: 'run-action';
|
|
3874
|
+
readonly request: WorkspaceAssistantRunActionRequest;
|
|
3875
|
+
} | {
|
|
3876
|
+
readonly kind: 'apply-host-scope';
|
|
3877
|
+
readonly prefill: Readonly<Record<string, unknown>>;
|
|
3878
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
3879
|
+
} | {
|
|
3880
|
+
readonly kind: 'disambiguate';
|
|
3881
|
+
readonly entityKey: string;
|
|
3882
|
+
readonly entityId: string;
|
|
3883
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
3884
|
+
};
|
|
3885
|
+
interface WorkspaceAssistantRouterAdapter {
|
|
3886
|
+
readonly url?: string;
|
|
3887
|
+
readonly getUrl?: () => string;
|
|
3888
|
+
navigateByUrl(url: string): unknown;
|
|
3889
|
+
}
|
|
3890
|
+
declare const PRAXIS_WORKSPACE_ASSISTANT_ROUTER: InjectionToken<WorkspaceAssistantRouterAdapter>;
|
|
3891
|
+
interface PraxisWorkspaceAssistantOptions {
|
|
3892
|
+
readonly title?: string;
|
|
3893
|
+
readonly subtitle?: string;
|
|
3894
|
+
readonly placeholder?: string;
|
|
3895
|
+
readonly welcomeMessage?: string;
|
|
3896
|
+
readonly defaultQuickReplies?: readonly PraxisAssistantShellQuickReply[];
|
|
3897
|
+
readonly recommendedIntents?: readonly PraxisAssistantRecommendedIntent[];
|
|
3898
|
+
readonly provider?: string;
|
|
3899
|
+
readonly model?: string;
|
|
3900
|
+
readonly getCurrentUrl?: () => string;
|
|
3901
|
+
readonly resolveRouteContext?: (url: string) => WorkspaceAssistantRouteContext | null;
|
|
3902
|
+
readonly isReadyToSend?: () => boolean;
|
|
3903
|
+
readonly notReadyReason?: () => string;
|
|
3904
|
+
readonly onOpenSurface?: (request: WorkspaceAssistantOpenSurfaceRequest) => void | Promise<void>;
|
|
3905
|
+
readonly onApplyFilter?: (request: WorkspaceAssistantApplyFilterRequest) => void | Promise<void>;
|
|
3906
|
+
readonly onRunAction?: (request: WorkspaceAssistantRunActionRequest) => void | Promise<void>;
|
|
3907
|
+
readonly onOpenProposalForm?: (request: WorkspaceAssistantRunActionRequest) => void | Promise<void>;
|
|
3908
|
+
readonly onReviewBulkProposal?: (proposal: PraxisAssistantActionProposalItem) => Promise<PraxisBulkProposalHandoffResult | null> | PraxisBulkProposalHandoffResult | null;
|
|
3909
|
+
readonly onApplyHostScope?: (prefill: Readonly<Record<string, unknown>>, sourceEvent: PraxisAssistantOperationalBlockActionEvent) => void | Promise<void>;
|
|
3910
|
+
readonly onNavigate?: (route: string, sourceEvent: PraxisAssistantOperationalBlockActionEvent) => boolean | void | Promise<boolean | void>;
|
|
3911
|
+
}
|
|
3912
|
+
declare const PRAXIS_WORKSPACE_ASSISTANT_OPTIONS: InjectionToken<PraxisWorkspaceAssistantOptions>;
|
|
3913
|
+
/**
|
|
3914
|
+
* Validates and normalizes an internal application route path, rejecting external origins,
|
|
3915
|
+
* protocol-relative URLs, and javascript/data URIs.
|
|
3916
|
+
*/
|
|
3917
|
+
declare function normalizeSafeWorkspaceRoute(rawRoute: string | null | undefined): string | null;
|
|
3918
|
+
/**
|
|
3919
|
+
* Coordinates workspace-wide operational assistant turns, AI-context grounding,
|
|
3920
|
+
* active runtime observations, workspace query scope synchronization, and structured
|
|
3921
|
+
* block-action dispatching without local keyword/regex intent routing.
|
|
3922
|
+
*/
|
|
3923
|
+
declare class WorkspaceAssistantOrchestratorService implements PraxisOperationalAssistantLauncher {
|
|
3924
|
+
private readonly destroyRef;
|
|
3925
|
+
private readonly location;
|
|
3926
|
+
private readonly routerAdapter;
|
|
3927
|
+
private readonly aiBackendApi;
|
|
3928
|
+
private readonly turnClient;
|
|
3929
|
+
private readonly authoringTurnClient;
|
|
3930
|
+
private readonly runtimeContext;
|
|
3931
|
+
private readonly workspaceContext;
|
|
3932
|
+
private readonly observationRegistry;
|
|
3933
|
+
private readonly bulkProposalBridge;
|
|
3934
|
+
private readonly i18n;
|
|
3935
|
+
private readonly injectedOptions;
|
|
3936
|
+
private readonly optionsSignal;
|
|
3937
|
+
private readonly routeContextSignal;
|
|
3938
|
+
private readonly contextualFocusSignal;
|
|
3939
|
+
readonly activeContextualFocus: _angular_core.Signal<PraxisAssistantContextualLaunchRequest | null>;
|
|
3940
|
+
private readonly runtimeSnapshotTick;
|
|
3941
|
+
private readonly blockDispatchSubject;
|
|
3942
|
+
private activeTurnSubscription;
|
|
3943
|
+
private activeStreamId;
|
|
3944
|
+
private fallbackRouterAdapter;
|
|
3945
|
+
private activeStreamAccessToken;
|
|
3946
|
+
private lastUserPrompt;
|
|
3947
|
+
private messageCounter;
|
|
3948
|
+
readonly open: _angular_core.WritableSignal<boolean>;
|
|
3949
|
+
readonly mode: _angular_core.WritableSignal<PraxisAssistantShellMode>;
|
|
3950
|
+
readonly state: _angular_core.WritableSignal<PraxisAssistantShellState>;
|
|
3951
|
+
readonly prompt: _angular_core.WritableSignal<string>;
|
|
3952
|
+
readonly statusText: _angular_core.WritableSignal<string>;
|
|
3953
|
+
readonly errorText: _angular_core.WritableSignal<string>;
|
|
3954
|
+
readonly sessionId: _angular_core.WritableSignal<string | null>;
|
|
3955
|
+
readonly messages: _angular_core.WritableSignal<readonly PraxisAssistantShellMessage[]>;
|
|
3956
|
+
readonly quickReplies: _angular_core.WritableSignal<readonly PraxisAssistantShellQuickReply[]>;
|
|
3957
|
+
readonly recommendedIntents: _angular_core.WritableSignal<readonly PraxisAssistantRecommendedIntent[]>;
|
|
3958
|
+
readonly lastFocusedEntity: _angular_core.WritableSignal<WorkspaceAssistantFocusedEntity | null>;
|
|
3959
|
+
readonly aiGrounding: _angular_core.WritableSignal<AiContextDTO | null>;
|
|
3960
|
+
readonly runtimeObservations: _angular_core.WritableSignal<readonly PraxisRuntimeComponentObservationEnvelope[]>;
|
|
3961
|
+
readonly blockActionDispatched$: rxjs.Observable<WorkspaceAssistantDispatchedAction>;
|
|
3962
|
+
readonly canRunAuthoringTurns: _angular_core.Signal<boolean>;
|
|
3963
|
+
readonly busy: _angular_core.Signal<boolean>;
|
|
3964
|
+
readonly canSubmit: _angular_core.Signal<boolean>;
|
|
3965
|
+
readonly resolvedLabels: _angular_core.Signal<Partial<PraxisAssistantShellLabels>>;
|
|
3966
|
+
readonly dockTitle: _angular_core.Signal<string>;
|
|
3967
|
+
readonly dockSummary: _angular_core.Signal<string>;
|
|
3968
|
+
readonly dockBadge: _angular_core.Signal<string>;
|
|
3969
|
+
readonly secondaryActions: _angular_core.Signal<readonly PraxisAssistantShellAction[]>;
|
|
3970
|
+
readonly contextItems: _angular_core.Signal<readonly PraxisAssistantShellContextItem[]>;
|
|
3971
|
+
constructor();
|
|
3972
|
+
configureOptions(options: Partial<PraxisWorkspaceAssistantOptions>): void;
|
|
3973
|
+
configureDefaultOptions(defaults: Partial<PraxisWorkspaceAssistantOptions>): void;
|
|
3974
|
+
getOptions(): Readonly<PraxisWorkspaceAssistantOptions>;
|
|
3975
|
+
registerFallbackRouter(adapter: WorkspaceAssistantRouterAdapter): void;
|
|
3976
|
+
setRouteContext(context: WorkspaceAssistantRouteContext | null): void;
|
|
3977
|
+
openPanel(): void;
|
|
3978
|
+
closePanel(): void;
|
|
3979
|
+
togglePanel(): void;
|
|
3980
|
+
setOpen(nextOpen: boolean): void;
|
|
3981
|
+
setPrompt(value: string): void;
|
|
3982
|
+
openAssistant(initialPrompt?: string): void;
|
|
3983
|
+
launchContextual(request: PraxisAssistantContextualLaunchRequest): Promise<void>;
|
|
3984
|
+
resetConversation(): void;
|
|
3985
|
+
/**
|
|
3986
|
+
* Loads backend AI context grounding metadata from `/api/praxis/config/ai-context/{componentId}`
|
|
3987
|
+
* without leaking raw transport errors into the shell UI.
|
|
3988
|
+
*/
|
|
3989
|
+
refreshGrounding(componentId?: string | null, componentType?: string | null): Promise<AiContextDTO | null>;
|
|
3990
|
+
submitPrompt(overridePrompt?: string): Promise<void>;
|
|
3991
|
+
cancelActiveTurn(emitMessage?: boolean): void;
|
|
3992
|
+
retryLastTurn(): Promise<void>;
|
|
3993
|
+
/**
|
|
3994
|
+
* Delegates agentic authoring turns through `AgenticAuthoringTurnClientService` while
|
|
3995
|
+
* automatically attaching sanitized runtime component observations.
|
|
3996
|
+
*/
|
|
3997
|
+
startAuthoringTurn(request: AgenticAuthoringTurnStreamRequest, options?: AgenticAuthoringTurnClientOptions): rxjs.Observable<_praxisui_ai.PraxisAssistantTurnResult>;
|
|
3998
|
+
handleQuickReply(reply: PraxisAssistantShellQuickReply): void;
|
|
3999
|
+
handleRecommendedIntent(intent: PraxisAssistantRecommendedIntent): void;
|
|
4000
|
+
handleShellAction(action: PraxisAssistantShellAction): void;
|
|
4001
|
+
handleBlockAction(event: PraxisAssistantOperationalBlockActionEvent): void;
|
|
4002
|
+
private reviewBulkProposal;
|
|
4003
|
+
completeProposalViaForm(proposalId: string, request?: OperationalAgentProposalExternalCompletionRequest): Promise<OperationalAgentProposalConfirmResponse | null>;
|
|
4004
|
+
private confirmProposal;
|
|
4005
|
+
private rejectProposal;
|
|
4006
|
+
private revalidateProposal;
|
|
4007
|
+
private applyProposalHttpError;
|
|
4008
|
+
private updateProposalItem;
|
|
4009
|
+
private dispatchAlertSuggestedAction;
|
|
4010
|
+
private dispatchCounterfactualSuggestedAction;
|
|
4011
|
+
private dispatchActionAffordance;
|
|
4012
|
+
private dispatchNavigate;
|
|
4013
|
+
private dispatchOpenSurface;
|
|
4014
|
+
private handleStreamEvent;
|
|
4015
|
+
private updateFocusedEntityFromResult;
|
|
4016
|
+
private updateQuickRepliesFromResult;
|
|
4017
|
+
private buildTurnRequest;
|
|
4018
|
+
private resolveCurrentRouteContext;
|
|
4019
|
+
private collectRuntimeObservations;
|
|
4020
|
+
private applyScopePrefillToWorkspaceContext;
|
|
4021
|
+
private parseContextDimension;
|
|
4022
|
+
private updateMessage;
|
|
4023
|
+
private nextMessageId;
|
|
4024
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WorkspaceAssistantOrchestratorService, never>;
|
|
4025
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<WorkspaceAssistantOrchestratorService>;
|
|
4026
|
+
}
|
|
4027
|
+
declare function providePraxisWorkspaceAssistantLauncher(): Provider;
|
|
4028
|
+
|
|
4029
|
+
/**
|
|
4030
|
+
* Turnkey workspace dock + shell assistant component backed by
|
|
4031
|
+
* `WorkspaceAssistantOrchestratorService`, connecting `@praxisui/ai` streaming,
|
|
4032
|
+
* backend `/api/praxis/config/ai-context/**` grounding, and `@praxisui/core`
|
|
4033
|
+
* enterprise/query context without local keyword routing or `window` hooks.
|
|
4034
|
+
*/
|
|
4035
|
+
declare class PraxisWorkspaceAssistantComponent {
|
|
4036
|
+
readonly orchestrator: WorkspaceAssistantOrchestratorService;
|
|
4037
|
+
private readonly i18n;
|
|
4038
|
+
private readonly destroyRef;
|
|
4039
|
+
readonly showDock: _angular_core.InputSignal<boolean>;
|
|
4040
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
4041
|
+
readonly subtitle: _angular_core.InputSignal<string | undefined>;
|
|
4042
|
+
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
4043
|
+
readonly mode: _angular_core.InputSignal<PraxisAssistantShellMode | undefined>;
|
|
4044
|
+
readonly draggable: _angular_core.InputSignal<boolean>;
|
|
4045
|
+
readonly resizable: _angular_core.InputSignal<boolean>;
|
|
4046
|
+
readonly dockTestId: _angular_core.InputSignal<string>;
|
|
4047
|
+
readonly shellTestIdPrefix: _angular_core.InputSignal<string>;
|
|
4048
|
+
readonly routeContext: _angular_core.InputSignal<WorkspaceAssistantRouteContext | null | undefined>;
|
|
4049
|
+
readonly componentId: _angular_core.InputSignal<string | null | undefined>;
|
|
4050
|
+
readonly componentType: _angular_core.InputSignal<string | null | undefined>;
|
|
4051
|
+
readonly assistantOptions: _angular_core.InputSignal<Partial<PraxisWorkspaceAssistantOptions> | null | undefined>;
|
|
4052
|
+
readonly openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
4053
|
+
readonly blockActionDispatched: _angular_core.OutputEmitterRef<WorkspaceAssistantDispatchedAction>;
|
|
4054
|
+
readonly blockActionRaw: _angular_core.OutputEmitterRef<PraxisAssistantOperationalBlockActionEvent>;
|
|
4055
|
+
readonly openSurface: _angular_core.OutputEmitterRef<WorkspaceAssistantOpenSurfaceRequest>;
|
|
4056
|
+
readonly applyFilter: _angular_core.OutputEmitterRef<WorkspaceAssistantApplyFilterRequest>;
|
|
4057
|
+
readonly runAction: _angular_core.OutputEmitterRef<WorkspaceAssistantRunActionRequest>;
|
|
4058
|
+
readonly navigateRequested: _angular_core.OutputEmitterRef<string>;
|
|
4059
|
+
landmarkAriaLabel(): string;
|
|
4060
|
+
dockAriaLabel(): string;
|
|
4061
|
+
dockTooltip(): string;
|
|
4062
|
+
readonly resolvedMode: _angular_core.Signal<PraxisAssistantShellMode>;
|
|
4063
|
+
readonly dockTone: _angular_core.Signal<PraxisAssistantDockTone>;
|
|
4064
|
+
readonly mergedLabels: _angular_core.Signal<Partial<PraxisAssistantShellLabels>>;
|
|
4065
|
+
constructor();
|
|
4066
|
+
onOpenPanel(): void;
|
|
4067
|
+
onClosePanel(): void;
|
|
4068
|
+
onShellAction(action: PraxisAssistantShellAction): void;
|
|
4069
|
+
onQuickReply(reply: PraxisAssistantShellQuickReply): void;
|
|
4070
|
+
onRecommendedIntent(intent: PraxisAssistantRecommendedIntent): void;
|
|
4071
|
+
onBlockAction(event: PraxisAssistantOperationalBlockActionEvent): void;
|
|
4072
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisWorkspaceAssistantComponent, never>;
|
|
4073
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisWorkspaceAssistantComponent, "praxis-workspace-assistant", never, { "showDock": { "alias": "showDock"; "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; }; }, { "openChange": "openChange"; "blockActionDispatched": "blockActionDispatched"; "blockActionRaw": "blockActionRaw"; "openSurface": "openSurface"; "applyFilter": "applyFilter"; "runAction": "runAction"; "navigateRequested": "navigateRequested"; }, never, never, true, never>;
|
|
4074
|
+
}
|
|
4075
|
+
|
|
4076
|
+
declare const WORKSPACE_ASSISTANT_PT_BR: {
|
|
4077
|
+
readonly landmarkAria: "Assistente operacional do workspace";
|
|
4078
|
+
readonly title: "Assistente Operacional";
|
|
4079
|
+
readonly subtitle: "Consultas ao catálogo de recursos, fluxos e ações governadas";
|
|
4080
|
+
readonly placeholder: "Pergunte sobre recursos, filtros, registros ou próximas ações...";
|
|
4081
|
+
readonly dockTitle: "Assistente do workspace ativo";
|
|
4082
|
+
readonly dockSummaryEmpty: "Pronto para consultas operacionais e ações guiadas.";
|
|
4083
|
+
readonly dockSummaryMessages: "Conversa preservada ({count} mensagens).";
|
|
4084
|
+
readonly dockBadgeIdle: "Copiloto";
|
|
4085
|
+
readonly dockBadgeBusy: "Processando";
|
|
4086
|
+
readonly dockBadgeError: "Atenção";
|
|
4087
|
+
readonly dockAria: "Abrir assistente operacional do workspace";
|
|
4088
|
+
readonly dockOpenTooltip: "Abrir painel do assistente operacional";
|
|
4089
|
+
readonly resetAction: "Nova conversa";
|
|
4090
|
+
readonly clearFocusAction: "Limpar foco";
|
|
4091
|
+
readonly contextTenantLabel: "Tenant";
|
|
4092
|
+
readonly contextOrganizationLabel: "Organização";
|
|
4093
|
+
readonly contextResourceLabel: "Recurso";
|
|
4094
|
+
readonly contextFocusLabel: "Foco";
|
|
4095
|
+
readonly contextObservationsLabel: "Observações";
|
|
4096
|
+
readonly contextGroundingLabel: "Contexto IA";
|
|
4097
|
+
readonly statusConnecting: "Conectando ao agente operacional...";
|
|
4098
|
+
readonly statusCancelling: "Cancelando execução em andamento...";
|
|
4099
|
+
readonly statusCancelled: "Solicitação cancelada.";
|
|
4100
|
+
readonly statusNotReady: "Contexto de sessão ainda não confirmado para executar turnos.";
|
|
4101
|
+
readonly turnFailed: "Não foi possível concluir a solicitação operacional. Tente novamente.";
|
|
4102
|
+
readonly groundingUnavailable: "Contexto semântico adicional indisponível neste momento.";
|
|
4103
|
+
readonly routeBlockedWarning: "Navegação bloqueada por política de segurança de rotas.";
|
|
4104
|
+
};
|
|
4105
|
+
type WorkspaceAssistantI18nKey = keyof typeof WORKSPACE_ASSISTANT_PT_BR;
|
|
4106
|
+
declare const WORKSPACE_ASSISTANT_EN_US: Record<WorkspaceAssistantI18nKey, string>;
|
|
4107
|
+
declare function resolveWorkspaceAssistantText(i18n: PraxisI18nService | null | undefined, key: WorkspaceAssistantI18nKey, params?: Readonly<Record<string, string | number>>): string;
|
|
4108
|
+
|
|
2793
4109
|
declare class AiContextBuilderService {
|
|
2794
4110
|
private schemaMinifier;
|
|
2795
4111
|
constructor(schemaMinifier: SchemaMinifierService);
|
|
2796
4112
|
/**
|
|
2797
4113
|
* Builds the complete context for the AI prompt
|
|
2798
4114
|
*/
|
|
2799
|
-
buildPromptContext(fieldSchemas: Record<string, FieldSchemaLike>, targetType: 'field' | 'section' | 'action' | 'row' | 'column' | 'visualBlock', propertySchema: RulePropertySchema): PromptContext;
|
|
4115
|
+
buildPromptContext(fieldSchemas: Record<string, FieldSchemaLike>, targetType: 'field' | 'section' | 'action' | 'row' | 'column' | 'visualBlock', propertySchema: RulePropertySchema, allowedOntologicalRoots?: string[]): PromptContext;
|
|
2800
4116
|
buildRulePrompt(userPrompt: string, context: PromptContext): string;
|
|
2801
4117
|
buildSuggestionPrompt(context: PromptContext): string;
|
|
2802
4118
|
/**
|
|
@@ -2807,14 +4123,15 @@ declare class AiContextBuilderService {
|
|
|
2807
4123
|
* Lists JSON Logic operators with examples
|
|
2808
4124
|
*/
|
|
2809
4125
|
private formatOperators;
|
|
2810
|
-
static ɵfac:
|
|
2811
|
-
static ɵprov:
|
|
4126
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiContextBuilderService, never>;
|
|
4127
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AiContextBuilderService>;
|
|
2812
4128
|
}
|
|
2813
4129
|
|
|
2814
4130
|
interface AiWizardData {
|
|
2815
4131
|
fieldSchemas: Record<string, FieldSchemaLike>;
|
|
2816
4132
|
targetSchemas?: any;
|
|
2817
4133
|
propertySchema: RulePropertySchema;
|
|
4134
|
+
allowedOntologicalRoots?: string[];
|
|
2818
4135
|
}
|
|
2819
4136
|
type WizardStep = 'prompt' | 'review';
|
|
2820
4137
|
declare class AiRuleWizardDialogComponent implements OnInit {
|
|
@@ -2857,9 +4174,9 @@ declare class AiRuleWizardDialogComponent implements OnInit {
|
|
|
2857
4174
|
value: any;
|
|
2858
4175
|
}[];
|
|
2859
4176
|
hasProps(obj: any): boolean;
|
|
2860
|
-
static ɵfac:
|
|
2861
|
-
static ɵcmp:
|
|
4177
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiRuleWizardDialogComponent, never>;
|
|
4178
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AiRuleWizardDialogComponent, "praxis-ai-rule-wizard-dialog", never, {}, {}, never, never, true, never>;
|
|
2862
4179
|
}
|
|
2863
4180
|
|
|
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 };
|
|
4181
|
+
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, AssistantHistoryService, BaseAiAdapter, 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_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, providePraxisWorkspaceAssistantLauncher, resolveWorkspaceAssistantText, sanitizePraxisAssistantText, shouldRoutePromptToGovernedDecision, submitPraxisAssistantQuickReply, toAiJsonObject, toPraxisAssistantClarificationOption, toPraxisAssistantConversationMessages, withAuthoringScopePolicy, withAuthoringScopePolicyContextHints, withAuthoringScopePolicyMessage };
|
|
4182
|
+
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, AssistantHistoryContext, AssistantHistoryIndex, AssistantHistoryMessage, AssistantHistorySession, AssistantMessageRole, Capability, FieldSchemaLike, MinifiedField, OperationalAgentConversationHistoryEntry, OperationalAgentProposalConfirmRequest, OperationalAgentProposalConfirmResponse, OperationalAgentProposalExternalCompletionRequest, OperationalAgentTurnClientEvent, OperationalAgentTurnClientOptions, OperationalAgentTurnLifecycleEvent, OperationalAgentTurnResultPayload, OperationalAgentTurnStreamEnvelope, OperationalAgentTurnStreamRequest, OperationalAgentTurnStreamStartResponse, PatchResult, PraxisAssistantActionContract, PraxisAssistantActionInputField, PraxisAssistantActionKind, PraxisAssistantActionProposalItem, PraxisAssistantActionProposalStatus, PraxisAssistantActionProposalsBlock, PraxisAssistantActionRuleViolation, PraxisAssistantAnalyticalProvenance, PraxisAssistantAttachmentKind, PraxisAssistantAttachmentSummary, PraxisAssistantAuthoringManifestRef, PraxisAssistantBulkProposalDetails, PraxisAssistantBulkProposalSampleTarget, PraxisAssistantCalculationMemoryBlock, PraxisAssistantCalculationStep, PraxisAssistantCalculationTrail, PraxisAssistantCapabilityRef, PraxisAssistantClarificationOption, PraxisAssistantClarificationQuestion, PraxisAssistantClarificationQuestionType, PraxisAssistantComponentType, PraxisAssistantContextItem, PraxisAssistantContextMode, PraxisAssistantContextSessionDescriptor, PraxisAssistantContextSnapshot, PraxisAssistantConversationMessage, PraxisAssistantConversationMessageRole, PraxisAssistantCounterfactualCandidate, PraxisAssistantCounterfactualLeverDelta, PraxisAssistantCounterfactualRecourseBlock, PraxisAssistantDigest, PraxisAssistantDockTone, 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, PraxisAssistantSessionIdentityRef, PraxisAssistantSessionPresence, PraxisAssistantSessionSnapshot, PraxisAssistantSessionVisibility, PraxisAssistantShellAction, PraxisAssistantShellActionTone, PraxisAssistantShellAttachment, PraxisAssistantShellContextItem, PraxisAssistantShellLabels, PraxisAssistantShellLayout, PraxisAssistantShellMessage, PraxisAssistantShellMessageAction, PraxisAssistantShellMessageRole, PraxisAssistantShellMode, PraxisAssistantShellQuickReply, PraxisAssistantShellQuickReplyEvidence, PraxisAssistantShellQuickReplyPresentation, PraxisAssistantShellQuickReplyPresentationItem, PraxisAssistantShellQuickReplyPresentationKind, PraxisAssistantShellState, PraxisAssistantSimulationPreviewBlock, PraxisAssistantSimulationPreviewField, PraxisAssistantSimulationValidationIssue, PraxisAssistantTargetKind, PraxisAssistantTargetRef, PraxisAssistantTurnAction, PraxisAssistantTurnControllerOptions, PraxisAssistantTurnFlow, PraxisAssistantTurnPhase, PraxisAssistantTurnRequest, PraxisAssistantTurnResult, PraxisAssistantTurnViewState, PraxisAssistantViewportLayoutOptions, PraxisAssistantVoiceCaptureState, PraxisAssistantVoiceInputMode, PraxisAuthoringScopeChatMessage, PraxisAuthoringScopePolicyOptions, PraxisAuthoringScopePolicyRequest, PraxisWorkspaceAssistantOptions, ProblemResponseContract, PromptContext, RulePropertyDefinition, RulePropertySchema, RulePropertyType, ValidationContext, ValueKind, WorkspaceAssistantApplyFilterRequest, WorkspaceAssistantDispatchedAction, WorkspaceAssistantFocusedEntity, WorkspaceAssistantI18nKey, WorkspaceAssistantOpenSurfaceRequest, WorkspaceAssistantRouteContext, WorkspaceAssistantRouterAdapter, WorkspaceAssistantRunActionRequest };
|