@praxisui/ai 10.0.0-rc.71 → 10.0.0-rc.73
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 +19 -12
- package/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-ai.mjs +6030 -504
- package/package.json +2 -2
- package/types/praxisui-ai.d.ts +956 -183
package/types/praxisui-ai.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
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 { ResourceQuickViewBinding, PraxisRuntimeFormValueProposal, PraxisRuntimeFormValueApplyReceipt, PraxisRuntimeComponentObservationEnvelope, PraxisEpistemicAvailabilityState, PraxisEpistemicKind, PraxisEpistemicMeta, PraxisRuntimeComponentObservationRegistryService, WidgetDefinition, PraxisContextDimension, PraxisBulkProposalHandoffResult, PraxisOperationalAssistantLauncher, PraxisAssistantContextualLaunchRequest
|
|
5
|
+
import { ResourceQuickViewBinding, PraxisRuntimeFormValueProposal, PraxisRuntimeFormValueApplyReceipt, PraxisRuntimeComponentObservationEnvelope, PraxisEpistemicAvailabilityState, PraxisEpistemicKind, PraxisEpistemicMeta, PraxisRuntimeComponentObservationRegistryService, PraxisI18nService, WidgetDefinition, PraxisContextDimension, PraxisBulkProposalHandoffResult, PraxisOperationalAssistantLauncher, PraxisAssistantContextualLaunchRequest } from '@praxisui/core';
|
|
6
6
|
import { Schema } from '@google/generative-ai';
|
|
7
7
|
import { ConnectedPosition, CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
8
8
|
import * as _praxisui_ai from '@praxisui/ai';
|
|
@@ -897,6 +897,7 @@ interface PraxisAssistantAttachmentSummary {
|
|
|
897
897
|
id: string;
|
|
898
898
|
name: string;
|
|
899
899
|
kind: PraxisAssistantAttachmentKind | string;
|
|
900
|
+
fileId?: string;
|
|
900
901
|
mimeType?: string;
|
|
901
902
|
sizeBytes?: number;
|
|
902
903
|
source?: string;
|
|
@@ -970,6 +971,7 @@ interface PraxisAssistantShellMessage {
|
|
|
970
971
|
editable?: boolean;
|
|
971
972
|
resendable?: boolean;
|
|
972
973
|
observationId?: string | null;
|
|
974
|
+
attachments?: readonly PraxisAssistantAttachmentSummary[];
|
|
973
975
|
actions?: readonly PraxisAssistantShellMessageAction[];
|
|
974
976
|
}
|
|
975
977
|
interface PraxisAssistantShellQuickReply {
|
|
@@ -1145,12 +1147,18 @@ interface PraxisAssistantShellContextItem {
|
|
|
1145
1147
|
interface PraxisAssistantShellAttachment {
|
|
1146
1148
|
id: string;
|
|
1147
1149
|
name: string;
|
|
1148
|
-
kind: 'image' | 'file' | 'json' | 'schema' | 'text' | string;
|
|
1150
|
+
kind: 'image' | 'pdf' | 'file' | 'json' | 'schema' | 'text' | string;
|
|
1149
1151
|
mimeType?: string;
|
|
1150
1152
|
sizeBytes?: number;
|
|
1151
1153
|
file?: File;
|
|
1154
|
+
fileId?: string;
|
|
1155
|
+
checksumSha256?: string;
|
|
1156
|
+
uploadProgress?: number;
|
|
1157
|
+
lifecycleStatus?: 'STAGED' | 'PENDING_APPROVAL' | 'ACTIVE' | 'DELETED' | 'UNKNOWN';
|
|
1158
|
+
retryable?: boolean;
|
|
1152
1159
|
previewUrl?: string;
|
|
1153
|
-
|
|
1160
|
+
previewHref?: string;
|
|
1161
|
+
source?: 'paste' | 'file-picker' | 'drop' | 'host' | string;
|
|
1154
1162
|
status?: 'ready' | 'uploading' | 'error';
|
|
1155
1163
|
error?: string;
|
|
1156
1164
|
}
|
|
@@ -1170,12 +1178,16 @@ declare function createPraxisAssistantViewportLayout(options?: PraxisAssistantVi
|
|
|
1170
1178
|
interface PraxisAssistantShellLabels {
|
|
1171
1179
|
title: string;
|
|
1172
1180
|
subtitle?: string;
|
|
1181
|
+
minimize?: string;
|
|
1173
1182
|
close: string;
|
|
1174
1183
|
prompt: string;
|
|
1175
1184
|
promptPlaceholder: string;
|
|
1176
1185
|
emptyConversation: string;
|
|
1177
1186
|
submit: string;
|
|
1178
1187
|
apply: string;
|
|
1188
|
+
retryTurn?: string;
|
|
1189
|
+
cancelTurn?: string;
|
|
1190
|
+
endTurn?: string;
|
|
1179
1191
|
conversationAria: string;
|
|
1180
1192
|
quickRepliesAria: string;
|
|
1181
1193
|
quickReplyDetails?: string;
|
|
@@ -1188,9 +1200,14 @@ interface PraxisAssistantShellLabels {
|
|
|
1188
1200
|
resizeHandleAria: string;
|
|
1189
1201
|
resetLayout?: string;
|
|
1190
1202
|
contextAria: string;
|
|
1203
|
+
closeContext?: string;
|
|
1191
1204
|
attachmentsAria: string;
|
|
1192
1205
|
attach: string;
|
|
1193
1206
|
removeAttachment: string;
|
|
1207
|
+
retryAttachment?: string;
|
|
1208
|
+
previewAttachment?: string;
|
|
1209
|
+
dropzoneTitle?: string;
|
|
1210
|
+
dropzoneSubtitle?: string;
|
|
1194
1211
|
editMessage: string;
|
|
1195
1212
|
resendMessage: string;
|
|
1196
1213
|
feedbackPositive: string;
|
|
@@ -1352,7 +1369,82 @@ interface PraxisAssistantTurnFlow {
|
|
|
1352
1369
|
retry?(request: PraxisAssistantTurnRequest): Promise<PraxisAssistantTurnResult> | rxjs.Observable<PraxisAssistantTurnResult>;
|
|
1353
1370
|
}
|
|
1354
1371
|
|
|
1355
|
-
type PraxisAssistantOperationalBlockType = 'epistemic-badge' | 'alert-list' | 'widget-block' | 'simulation-preview' | 'action-proposals' | 'calculation-memory' | 'knowledge-citations' | 'compact-collection' | 'action-bar' | 'counterfactual-recourse';
|
|
1372
|
+
type PraxisAssistantOperationalBlockType = 'epistemic-badge' | 'alert-list' | 'widget-block' | 'simulation-preview' | 'action-proposals' | 'calculation-memory' | 'knowledge-citations' | 'compact-collection' | 'action-bar' | 'counterfactual-recourse' | 'document-evidence';
|
|
1373
|
+
type PraxisAssistantDocumentExtractionMode = 'DIGITAL_TEXT' | 'OCR_STRUCTURED' | 'SPREADSHEET_TABLES' | 'PLAIN_TEXT' | 'VISUAL_ONLY' | 'UNSUPPORTED' | (string & {});
|
|
1374
|
+
type PraxisAssistantDocumentClassification = 'PUBLIC_OFFICIAL_ACT' | 'INTERNAL_OPERATIONAL' | 'PERSONAL_LGPD' | 'CONFIDENTIAL_FINANCIAL' | 'SENSITIVE_RESTRICTED' | (string & {});
|
|
1375
|
+
type PraxisAssistantSurfaceProtocolVersion = 'praxis.assistant-surface/v1' | (string & {});
|
|
1376
|
+
type PraxisAssistantContentVersion = 'praxis.assistant-content/v2' | 'praxis.assistant-content/v2.1' | (string & {});
|
|
1377
|
+
type PraxisAssistantSurfaceStatus = 'loading' | 'ready' | 'degraded' | 'error' | 'blocked' | (string & {});
|
|
1378
|
+
interface PraxisAssistantSurfaceComponentPatchOp {
|
|
1379
|
+
readonly op: 'upsert' | 'remove';
|
|
1380
|
+
readonly componentId: string;
|
|
1381
|
+
readonly component?: Readonly<Record<string, unknown>>;
|
|
1382
|
+
}
|
|
1383
|
+
interface PraxisAssistantSurfaceCreatePayload {
|
|
1384
|
+
readonly protocolVersion?: PraxisAssistantSurfaceProtocolVersion;
|
|
1385
|
+
readonly surfaceId: string;
|
|
1386
|
+
readonly surfaceKind: string;
|
|
1387
|
+
readonly title?: string;
|
|
1388
|
+
readonly status?: PraxisAssistantSurfaceStatus;
|
|
1389
|
+
readonly revision?: number;
|
|
1390
|
+
readonly components?: readonly Readonly<Record<string, unknown>>[];
|
|
1391
|
+
readonly dataModel?: Readonly<Record<string, unknown>>;
|
|
1392
|
+
}
|
|
1393
|
+
interface PraxisAssistantSurfacePatchComponentsPayload {
|
|
1394
|
+
readonly protocolVersion?: PraxisAssistantSurfaceProtocolVersion;
|
|
1395
|
+
readonly surfaceId: string;
|
|
1396
|
+
readonly status?: PraxisAssistantSurfaceStatus;
|
|
1397
|
+
readonly revision?: number;
|
|
1398
|
+
readonly operations: readonly PraxisAssistantSurfaceComponentPatchOp[];
|
|
1399
|
+
}
|
|
1400
|
+
interface PraxisAssistantSurfacePatchDataPayload {
|
|
1401
|
+
readonly protocolVersion?: PraxisAssistantSurfaceProtocolVersion;
|
|
1402
|
+
readonly surfaceId: string;
|
|
1403
|
+
readonly status?: PraxisAssistantSurfaceStatus;
|
|
1404
|
+
readonly revision?: number;
|
|
1405
|
+
readonly dataPatch: Readonly<Record<string, unknown>>;
|
|
1406
|
+
}
|
|
1407
|
+
interface PraxisAssistantSurfaceSummary {
|
|
1408
|
+
readonly surfaceId: string;
|
|
1409
|
+
readonly surfaceKind: string;
|
|
1410
|
+
readonly title?: string;
|
|
1411
|
+
readonly status: PraxisAssistantSurfaceStatus;
|
|
1412
|
+
readonly revision: number;
|
|
1413
|
+
readonly dataModel?: Readonly<Record<string, unknown>>;
|
|
1414
|
+
}
|
|
1415
|
+
interface PraxisAssistantSurfaceState extends PraxisAssistantSurfaceSummary {
|
|
1416
|
+
readonly components: readonly Readonly<Record<string, unknown>>[];
|
|
1417
|
+
readonly dataModel: Readonly<Record<string, unknown>>;
|
|
1418
|
+
}
|
|
1419
|
+
interface PraxisAssistantContentEnvelope {
|
|
1420
|
+
readonly version?: PraxisAssistantContentVersion;
|
|
1421
|
+
readonly blocks: readonly Readonly<Record<string, unknown>>[];
|
|
1422
|
+
readonly surfaces?: readonly PraxisAssistantSurfaceSummary[];
|
|
1423
|
+
}
|
|
1424
|
+
interface PraxisAssistantDocumentEvidenceBlock {
|
|
1425
|
+
readonly type: 'document-evidence';
|
|
1426
|
+
readonly surfaceId?: string;
|
|
1427
|
+
readonly blockId?: string;
|
|
1428
|
+
readonly fileId?: string;
|
|
1429
|
+
readonly documentTitle?: string;
|
|
1430
|
+
readonly detectedMimeType?: string;
|
|
1431
|
+
readonly checksumSha256?: string;
|
|
1432
|
+
readonly pageCount?: number;
|
|
1433
|
+
readonly extractionMode?: PraxisAssistantDocumentExtractionMode;
|
|
1434
|
+
readonly scannedLikely?: boolean;
|
|
1435
|
+
readonly dataClassification?: PraxisAssistantDocumentClassification;
|
|
1436
|
+
readonly sovereignOnly?: boolean;
|
|
1437
|
+
readonly visualPagesInspected?: number;
|
|
1438
|
+
readonly tainted?: boolean;
|
|
1439
|
+
readonly evidenceStatus?: 'PROCESSED' | 'BLOCKED' | 'QUARANTINED' | 'REVIEW_REQUIRED' | 'VERIFIED' | (string & {});
|
|
1440
|
+
readonly blockedCode?: string;
|
|
1441
|
+
readonly verificationStatus?: 'VERIFIED_EXTERNAL' | 'NOT_FOUND_EXTERNAL' | 'MISMATCH_EXTERNAL' | 'UNAVAILABLE_HUMAN_REVIEW_REQUIRED' | (string & {});
|
|
1442
|
+
readonly verificationNote?: string;
|
|
1443
|
+
readonly protocolRef?: string;
|
|
1444
|
+
readonly citedPages?: readonly number[];
|
|
1445
|
+
readonly signatureIndicators?: readonly string[];
|
|
1446
|
+
readonly evidenceWarnings?: readonly string[];
|
|
1447
|
+
}
|
|
1356
1448
|
type PraxisAssistantEpistemicKind = PraxisEpistemicKind | (string & {});
|
|
1357
1449
|
type PraxisAssistantEpistemicAvailabilityState = PraxisEpistemicAvailabilityState | (string & {});
|
|
1358
1450
|
interface PraxisAssistantEpistemicMeta extends Omit<PraxisEpistemicMeta, 'kind' | 'availabilityState'> {
|
|
@@ -1381,6 +1473,8 @@ interface PraxisAssistantAnalyticalProvenance {
|
|
|
1381
1473
|
}
|
|
1382
1474
|
interface PraxisAssistantEpistemicBadgeBlock {
|
|
1383
1475
|
readonly type: 'epistemic-badge';
|
|
1476
|
+
readonly surfaceId?: string;
|
|
1477
|
+
readonly blockId?: string;
|
|
1384
1478
|
readonly title?: string;
|
|
1385
1479
|
readonly analysisKind?: string;
|
|
1386
1480
|
readonly entityKey?: string;
|
|
@@ -1427,6 +1521,8 @@ interface PraxisAssistantOperationalAlertItem {
|
|
|
1427
1521
|
}
|
|
1428
1522
|
interface PraxisAssistantOperationalAlertListBlock {
|
|
1429
1523
|
readonly type: 'alert-list';
|
|
1524
|
+
readonly surfaceId?: string;
|
|
1525
|
+
readonly blockId?: string;
|
|
1430
1526
|
readonly title?: string;
|
|
1431
1527
|
readonly items: readonly PraxisAssistantOperationalAlertItem[];
|
|
1432
1528
|
}
|
|
@@ -1436,6 +1532,8 @@ interface PraxisAssistantOperationalWidgetSpec {
|
|
|
1436
1532
|
}
|
|
1437
1533
|
interface PraxisAssistantOperationalWidgetBlock {
|
|
1438
1534
|
readonly type: 'widget-block';
|
|
1535
|
+
readonly surfaceId?: string;
|
|
1536
|
+
readonly blockId?: string;
|
|
1439
1537
|
readonly widgetType?: string;
|
|
1440
1538
|
readonly title?: string;
|
|
1441
1539
|
readonly subtitle?: string;
|
|
@@ -1458,6 +1556,7 @@ interface PraxisAssistantOperationalCompactCollectionBlock {
|
|
|
1458
1556
|
readonly title?: string;
|
|
1459
1557
|
readonly subtitle?: string;
|
|
1460
1558
|
readonly surfaceId?: string;
|
|
1559
|
+
readonly blockId?: string;
|
|
1461
1560
|
readonly entityKey?: string;
|
|
1462
1561
|
readonly resourceKey?: string;
|
|
1463
1562
|
readonly resourcePath?: string;
|
|
@@ -1510,6 +1609,8 @@ interface PraxisAssistantCalculationTrail {
|
|
|
1510
1609
|
}
|
|
1511
1610
|
interface PraxisAssistantCalculationMemoryBlock {
|
|
1512
1611
|
readonly type: 'calculation-memory';
|
|
1612
|
+
readonly surfaceId?: string;
|
|
1613
|
+
readonly blockId?: string;
|
|
1513
1614
|
readonly title?: string;
|
|
1514
1615
|
readonly subtitle?: string;
|
|
1515
1616
|
readonly icon?: string;
|
|
@@ -1534,11 +1635,15 @@ interface PraxisAssistantKnowledgeCitationItem {
|
|
|
1534
1635
|
}
|
|
1535
1636
|
interface PraxisAssistantKnowledgeCitationsBlock {
|
|
1536
1637
|
readonly type: 'knowledge-citations';
|
|
1638
|
+
readonly surfaceId?: string;
|
|
1639
|
+
readonly blockId?: string;
|
|
1537
1640
|
readonly title?: string;
|
|
1538
1641
|
readonly items: readonly PraxisAssistantKnowledgeCitationItem[];
|
|
1539
1642
|
}
|
|
1540
1643
|
interface PraxisAssistantOperationalActionBarBlock {
|
|
1541
1644
|
readonly type: 'action-bar';
|
|
1645
|
+
readonly surfaceId?: string;
|
|
1646
|
+
readonly blockId?: string;
|
|
1542
1647
|
readonly title?: string;
|
|
1543
1648
|
readonly items: readonly PraxisAssistantOperationalActionAffordance[];
|
|
1544
1649
|
}
|
|
@@ -1553,6 +1658,8 @@ interface PraxisAssistantSimulationValidationIssue {
|
|
|
1553
1658
|
}
|
|
1554
1659
|
interface PraxisAssistantSimulationPreviewBlock {
|
|
1555
1660
|
readonly type: 'simulation-preview';
|
|
1661
|
+
readonly surfaceId?: string;
|
|
1662
|
+
readonly blockId?: string;
|
|
1556
1663
|
readonly title?: string;
|
|
1557
1664
|
readonly subtitle?: string;
|
|
1558
1665
|
readonly description?: string;
|
|
@@ -1577,7 +1684,7 @@ interface PraxisAssistantActionRuleViolation {
|
|
|
1577
1684
|
readonly issueNote?: string;
|
|
1578
1685
|
readonly category?: string;
|
|
1579
1686
|
}
|
|
1580
|
-
type PraxisAssistantActionProposalStatus = 'PENDING' | 'BLOCKED' | 'CONFIRMED' | 'STALE' | 'EXPIRED' | 'REJECTED' | string;
|
|
1687
|
+
type PraxisAssistantActionProposalStatus = 'PENDING' | 'WAITING_PREREQUISITE' | 'EXECUTING' | 'BLOCKED' | 'CONFIRMED' | 'STALE' | 'EXPIRED' | 'REJECTED' | string;
|
|
1581
1688
|
interface PraxisAssistantBulkProposalSampleTarget {
|
|
1582
1689
|
readonly id?: string | number;
|
|
1583
1690
|
readonly title?: string;
|
|
@@ -1610,10 +1717,25 @@ interface PraxisAssistantBulkProposalDetails {
|
|
|
1610
1717
|
readonly executionId?: string;
|
|
1611
1718
|
readonly executionStatus?: string;
|
|
1612
1719
|
}
|
|
1720
|
+
type PraxisAssistantActionProposalApprovalPolicy = 'SINGLE_OWNER' | 'FOUR_EYES' | (string & {});
|
|
1613
1721
|
interface PraxisAssistantActionProposalItem {
|
|
1614
1722
|
readonly proposalId: string;
|
|
1615
1723
|
readonly proposalStatus: PraxisAssistantActionProposalStatus;
|
|
1616
1724
|
readonly expiresAt?: string;
|
|
1725
|
+
readonly dependsOnProposalId?: string;
|
|
1726
|
+
readonly prerequisiteOutputTargetField?: string;
|
|
1727
|
+
readonly sequenceOrder?: number;
|
|
1728
|
+
readonly sequenceGroupId?: string;
|
|
1729
|
+
readonly approvalPolicy?: PraxisAssistantActionProposalApprovalPolicy;
|
|
1730
|
+
readonly awaitingSecondApprover?: boolean;
|
|
1731
|
+
readonly createdByUserId?: string;
|
|
1732
|
+
readonly approverUserId?: string;
|
|
1733
|
+
readonly approvedAt?: string;
|
|
1734
|
+
readonly resolvedAt?: string;
|
|
1735
|
+
readonly rejectionReason?: string;
|
|
1736
|
+
readonly canConfirm?: boolean;
|
|
1737
|
+
readonly canReject?: boolean;
|
|
1738
|
+
readonly sourceAttachmentFileIds?: readonly string[];
|
|
1617
1739
|
readonly actionId: string;
|
|
1618
1740
|
readonly label: string;
|
|
1619
1741
|
readonly description?: string;
|
|
@@ -1645,6 +1767,7 @@ interface PraxisAssistantActionProposalItem {
|
|
|
1645
1767
|
readonly statusNote?: string;
|
|
1646
1768
|
readonly updatedLifecycleState?: string;
|
|
1647
1769
|
readonly updatedVersionTag?: string;
|
|
1770
|
+
readonly resultingEntityId?: string | null;
|
|
1648
1771
|
readonly ruleViolations?: readonly PraxisAssistantActionRuleViolation[];
|
|
1649
1772
|
readonly fieldErrors?: Readonly<Record<string, string>>;
|
|
1650
1773
|
readonly refreshedSnapshot?: Readonly<Record<string, unknown>>;
|
|
@@ -1652,6 +1775,8 @@ interface PraxisAssistantActionProposalItem {
|
|
|
1652
1775
|
}
|
|
1653
1776
|
interface PraxisAssistantActionProposalsBlock {
|
|
1654
1777
|
readonly type: 'action-proposals';
|
|
1778
|
+
readonly surfaceId?: string;
|
|
1779
|
+
readonly blockId?: string;
|
|
1655
1780
|
readonly title?: string;
|
|
1656
1781
|
readonly items: readonly PraxisAssistantActionProposalItem[];
|
|
1657
1782
|
}
|
|
@@ -1673,11 +1798,22 @@ interface PraxisAssistantCounterfactualCandidate {
|
|
|
1673
1798
|
readonly leverDeltas: readonly PraxisAssistantCounterfactualLeverDelta[];
|
|
1674
1799
|
readonly suggestedActionId?: string;
|
|
1675
1800
|
readonly suggestedActionLabel?: string;
|
|
1801
|
+
readonly suggestedOperationKind?: 'ACTION' | 'BULK' | (string & {});
|
|
1802
|
+
readonly suggestedBulkMode?: string;
|
|
1803
|
+
readonly suggestedSelectionMode?: string;
|
|
1804
|
+
readonly suggestedTargetIds?: readonly string[];
|
|
1805
|
+
readonly suggestedFilters?: Readonly<Record<string, unknown>>;
|
|
1806
|
+
readonly suggestedInputs?: Readonly<Record<string, unknown>>;
|
|
1807
|
+
readonly provenanceHash?: string;
|
|
1808
|
+
readonly modelCardId?: string;
|
|
1676
1809
|
}
|
|
1677
1810
|
interface PraxisAssistantCounterfactualRecourseBlock {
|
|
1678
1811
|
readonly type: 'counterfactual-recourse';
|
|
1812
|
+
readonly surfaceId?: string;
|
|
1813
|
+
readonly blockId?: string;
|
|
1679
1814
|
readonly title?: string;
|
|
1680
1815
|
readonly entityKey?: string;
|
|
1816
|
+
readonly entityId?: string;
|
|
1681
1817
|
readonly resourceKey?: string;
|
|
1682
1818
|
readonly resourcePath?: string;
|
|
1683
1819
|
readonly targetMetricKey?: string;
|
|
@@ -1690,17 +1826,47 @@ interface PraxisAssistantCounterfactualRecourseBlock {
|
|
|
1690
1826
|
readonly validatedCandidateCount?: number;
|
|
1691
1827
|
readonly excludedCandidateCount?: number;
|
|
1692
1828
|
readonly governanceNextStep?: string;
|
|
1829
|
+
readonly provenanceHash?: string;
|
|
1830
|
+
readonly modelCardId?: string;
|
|
1693
1831
|
readonly epistemicMeta?: Record<string, unknown>;
|
|
1694
1832
|
readonly candidates: readonly PraxisAssistantCounterfactualCandidate[];
|
|
1695
1833
|
}
|
|
1696
|
-
|
|
1697
|
-
|
|
1834
|
+
interface OperationalAgentCounterfactualProposalRequest {
|
|
1835
|
+
readonly entityKey: string;
|
|
1836
|
+
readonly entityId?: string | null;
|
|
1837
|
+
readonly actionId?: string | null;
|
|
1838
|
+
readonly bulkMode?: string | null;
|
|
1839
|
+
readonly selectionMode?: string | null;
|
|
1840
|
+
readonly filters?: Readonly<Record<string, unknown>> | null;
|
|
1841
|
+
readonly targetIds?: readonly string[] | null;
|
|
1842
|
+
readonly excludedIds?: readonly string[] | null;
|
|
1843
|
+
readonly changes?: readonly Readonly<Record<string, unknown>>[] | null;
|
|
1844
|
+
readonly items?: readonly Readonly<Record<string, unknown>>[] | null;
|
|
1845
|
+
readonly proposedInputs?: Readonly<Record<string, unknown>> | null;
|
|
1846
|
+
readonly parameters?: Readonly<Record<string, unknown>> | null;
|
|
1847
|
+
readonly rationale?: string | null;
|
|
1848
|
+
readonly threadId?: string | null;
|
|
1849
|
+
readonly turnId?: string | null;
|
|
1850
|
+
readonly candidateId: string;
|
|
1851
|
+
readonly provenanceHash: string;
|
|
1852
|
+
readonly modelCardId?: string | null;
|
|
1853
|
+
readonly feasibilityStatus?: string | null;
|
|
1854
|
+
readonly targetMetricKey?: string | null;
|
|
1855
|
+
readonly leverDeltas?: readonly PraxisAssistantCounterfactualLeverDelta[] | null;
|
|
1856
|
+
readonly approvalPolicy?: string | null;
|
|
1857
|
+
}
|
|
1858
|
+
type PraxisAssistantOperationalBlock = PraxisAssistantEpistemicBadgeBlock | PraxisAssistantOperationalAlertListBlock | PraxisAssistantOperationalWidgetBlock | PraxisAssistantSimulationPreviewBlock | PraxisAssistantActionProposalsBlock | PraxisAssistantCalculationMemoryBlock | PraxisAssistantKnowledgeCitationsBlock | PraxisAssistantOperationalCompactCollectionBlock | PraxisAssistantOperationalActionBarBlock | PraxisAssistantCounterfactualRecourseBlock | PraxisAssistantDocumentEvidenceBlock;
|
|
1859
|
+
type PraxisAssistantOperationalBlockActionKind = 'action-affordance' | 'alert-suggested-action' | 'counterfactual-suggested-action' | 'prepare-counterfactual-proposal' | 'open-collection-resource' | 'select-disambiguation-row' | 'open-citation-route' | 'confirm-action-proposal' | 'open-proposal-form' | 'review-bulk-proposal' | 'track-bulk-execution' | 'reject-action-proposal' | 'revalidate-stale-proposal' | 'refresh-action-proposal' | 'preview-document-evidence';
|
|
1698
1860
|
interface PraxisAssistantOperationalBlockActionEvent {
|
|
1699
1861
|
readonly kind: PraxisAssistantOperationalBlockActionKind;
|
|
1700
1862
|
readonly action?: PraxisAssistantOperationalActionAffordance;
|
|
1701
1863
|
readonly alert?: PraxisAssistantOperationalAlertItem;
|
|
1702
1864
|
readonly citation?: PraxisAssistantKnowledgeCitationItem;
|
|
1703
1865
|
readonly proposal?: PraxisAssistantActionProposalItem;
|
|
1866
|
+
readonly reason?: string;
|
|
1867
|
+
readonly fileId?: string;
|
|
1868
|
+
readonly documentTitle?: string;
|
|
1869
|
+
readonly mimeType?: string;
|
|
1704
1870
|
readonly counterfactualCandidate?: PraxisAssistantCounterfactualCandidate;
|
|
1705
1871
|
readonly counterfactualBlock?: PraxisAssistantCounterfactualRecourseBlock;
|
|
1706
1872
|
readonly targetRoute?: string;
|
|
@@ -1725,6 +1891,22 @@ interface OperationalAgentProposalExternalCompletionRequest {
|
|
|
1725
1891
|
readonly confirmedCount?: number | null;
|
|
1726
1892
|
readonly unchangedCount?: number | null;
|
|
1727
1893
|
readonly failedCount?: number | null;
|
|
1894
|
+
readonly resultingEntityId?: string | null;
|
|
1895
|
+
}
|
|
1896
|
+
interface OperationalAgentProposalRejectRequest {
|
|
1897
|
+
readonly reason?: string | null;
|
|
1898
|
+
}
|
|
1899
|
+
interface OperationalAgentDependentProposalUpdate {
|
|
1900
|
+
readonly proposalId: string;
|
|
1901
|
+
readonly previousStatus?: string | null;
|
|
1902
|
+
readonly status: PraxisAssistantActionProposalStatus;
|
|
1903
|
+
readonly updatedVersionTag?: string | null;
|
|
1904
|
+
readonly resultingEntityId?: string | null;
|
|
1905
|
+
readonly approvalPolicy?: PraxisAssistantActionProposalApprovalPolicy | null;
|
|
1906
|
+
readonly outcomeCode?: string | null;
|
|
1907
|
+
readonly canConfirm?: boolean | null;
|
|
1908
|
+
readonly awaitingSecondApprover?: boolean | null;
|
|
1909
|
+
readonly statusNote?: string | null;
|
|
1728
1910
|
}
|
|
1729
1911
|
interface OperationalAgentProposalConfirmResponse {
|
|
1730
1912
|
readonly proposalId: string;
|
|
@@ -1734,6 +1916,8 @@ interface OperationalAgentProposalConfirmResponse {
|
|
|
1734
1916
|
readonly statusNote?: string;
|
|
1735
1917
|
readonly updatedVersionTag?: string;
|
|
1736
1918
|
readonly updatedLifecycleState?: string;
|
|
1919
|
+
readonly resultingEntityId?: string | null;
|
|
1920
|
+
readonly dependentProposalUpdates?: readonly OperationalAgentDependentProposalUpdate[];
|
|
1737
1921
|
readonly uiResult?: Readonly<Record<string, unknown>>;
|
|
1738
1922
|
readonly ruleViolations?: readonly PraxisAssistantActionRuleViolation[];
|
|
1739
1923
|
readonly fieldErrors?: Readonly<Record<string, string>>;
|
|
@@ -1744,8 +1928,16 @@ interface OperationalAgentConversationHistoryEntry {
|
|
|
1744
1928
|
readonly role: 'user' | 'assistant' | string;
|
|
1745
1929
|
readonly text: string;
|
|
1746
1930
|
}
|
|
1931
|
+
interface OperationalAgentTurnAttachmentRef {
|
|
1932
|
+
readonly fileId: string;
|
|
1933
|
+
readonly displayNameHint?: string | null;
|
|
1934
|
+
readonly mimeTypeHint?: string | null;
|
|
1935
|
+
readonly sizeBytesHint?: number | null;
|
|
1936
|
+
readonly scope?: 'turn' | 'thread' | (string & {});
|
|
1937
|
+
readonly tainted?: boolean;
|
|
1938
|
+
}
|
|
1747
1939
|
interface OperationalAgentTurnStreamRequest {
|
|
1748
|
-
readonly userPrompt
|
|
1940
|
+
readonly userPrompt?: string;
|
|
1749
1941
|
readonly sessionId?: string | null;
|
|
1750
1942
|
readonly clientTurnId?: string | null;
|
|
1751
1943
|
readonly activeScreenResourcePath?: string | null;
|
|
@@ -1758,6 +1950,8 @@ interface OperationalAgentTurnStreamRequest {
|
|
|
1758
1950
|
readonly contextHints?: Readonly<Record<string, unknown>> | null;
|
|
1759
1951
|
readonly authoringWorkspaceRoute?: string | null;
|
|
1760
1952
|
readonly authoringWorkspaceLabel?: string | null;
|
|
1953
|
+
readonly attachments?: readonly OperationalAgentTurnAttachmentRef[];
|
|
1954
|
+
readonly detachedAttachmentIds?: readonly string[];
|
|
1761
1955
|
}
|
|
1762
1956
|
interface OperationalAgentTurnStreamStartResponse {
|
|
1763
1957
|
readonly streamId: string;
|
|
@@ -1778,7 +1972,7 @@ interface OperationalAgentTurnStreamEnvelope {
|
|
|
1778
1972
|
readonly seq: number;
|
|
1779
1973
|
readonly eventSchemaVersion: string;
|
|
1780
1974
|
readonly timestamp: string;
|
|
1781
|
-
readonly type: 'status' | 'progress' | 'result' | 'error' | 'cancelled' | 'heartbeat' | string;
|
|
1975
|
+
readonly type: 'status' | 'progress' | 'thought.step' | 'surface.create' | 'surface.patch-components' | 'surface.patch-data' | 'result' | 'error' | 'cancelled' | 'heartbeat' | string;
|
|
1782
1976
|
readonly payload: Readonly<Record<string, unknown>>;
|
|
1783
1977
|
}
|
|
1784
1978
|
interface OperationalAgentTurnResultPayload {
|
|
@@ -1786,6 +1980,7 @@ interface OperationalAgentTurnResultPayload {
|
|
|
1786
1980
|
readonly sessionId?: string;
|
|
1787
1981
|
readonly clientTurnId?: string;
|
|
1788
1982
|
readonly activeScreenResourcePath?: string;
|
|
1983
|
+
readonly attachmentRefs?: readonly OperationalAgentTurnAttachmentRef[];
|
|
1789
1984
|
readonly provider?: string;
|
|
1790
1985
|
readonly model?: string;
|
|
1791
1986
|
readonly roundsExecuted?: number;
|
|
@@ -1797,10 +1992,123 @@ interface OperationalAgentTurnResultPayload {
|
|
|
1797
1992
|
readonly outputTokens?: number;
|
|
1798
1993
|
readonly totalTokens?: number;
|
|
1799
1994
|
}
|
|
1995
|
+
interface OperationalAgentProposalDetailResponse {
|
|
1996
|
+
readonly proposalId: string;
|
|
1997
|
+
readonly status?: PraxisAssistantActionProposalStatus;
|
|
1998
|
+
readonly proposalStatus?: PraxisAssistantActionProposalStatus;
|
|
1999
|
+
readonly approvalPolicy?: PraxisAssistantActionProposalApprovalPolicy | null;
|
|
2000
|
+
readonly createdByUserId?: string | null;
|
|
2001
|
+
readonly approverUserId?: string | null;
|
|
2002
|
+
readonly approvedAt?: string | null;
|
|
2003
|
+
readonly rejectionReason?: string | null;
|
|
2004
|
+
readonly entityKey?: string | null;
|
|
2005
|
+
readonly resourceKey?: string | null;
|
|
2006
|
+
readonly resourcePath?: string | null;
|
|
2007
|
+
readonly entityId?: string | null;
|
|
2008
|
+
readonly resultingEntityId?: string | null;
|
|
2009
|
+
readonly actionId?: string;
|
|
2010
|
+
readonly actionTitle?: string | null;
|
|
2011
|
+
readonly actionDescription?: string | null;
|
|
2012
|
+
readonly label?: string | null;
|
|
2013
|
+
readonly description?: string | null;
|
|
2014
|
+
readonly operationKind?: string | null;
|
|
2015
|
+
readonly formMode?: string | null;
|
|
2016
|
+
readonly httpMethod?: string | null;
|
|
2017
|
+
readonly method?: string | null;
|
|
2018
|
+
readonly submitUrl?: string | null;
|
|
2019
|
+
readonly schemaUrl?: string | null;
|
|
2020
|
+
readonly riskLevel?: string | null;
|
|
2021
|
+
readonly organizationId?: string | null;
|
|
2022
|
+
readonly organizationLabel?: string | null;
|
|
2023
|
+
readonly recordTitle?: string | null;
|
|
2024
|
+
readonly recordSubtitle?: string | null;
|
|
2025
|
+
readonly recordLifecycleState?: string | null;
|
|
2026
|
+
readonly expectedVersionTag?: string | null;
|
|
2027
|
+
readonly updatedVersionTag?: string | null;
|
|
2028
|
+
readonly blockedCode?: string | null;
|
|
2029
|
+
readonly impedimentNote?: string | null;
|
|
2030
|
+
readonly threadId?: string | null;
|
|
2031
|
+
readonly turnId?: string | null;
|
|
2032
|
+
readonly dependsOnProposalId?: string | null;
|
|
2033
|
+
readonly prerequisiteOutputTargetField?: string | null;
|
|
2034
|
+
readonly sequenceOrder?: number | null;
|
|
2035
|
+
readonly sequenceGroupId?: string | null;
|
|
2036
|
+
readonly needsRevalidation?: boolean;
|
|
2037
|
+
readonly prefill?: Readonly<Record<string, unknown>> | null;
|
|
2038
|
+
readonly inputFields?: readonly PraxisAssistantActionInputField[] | null;
|
|
2039
|
+
readonly missingRequiredFields?: readonly string[] | null;
|
|
2040
|
+
readonly sourceAttachmentFileIds?: readonly string[] | null;
|
|
2041
|
+
readonly documentEvidence?: Readonly<Record<string, unknown>> | null;
|
|
2042
|
+
readonly bulkMode?: string | null;
|
|
2043
|
+
readonly bulkProposalId?: string | null;
|
|
2044
|
+
readonly bulkOperationId?: string | null;
|
|
2045
|
+
readonly bulkTotals?: Readonly<Record<string, unknown>> | null;
|
|
2046
|
+
readonly bulkDetails?: Readonly<Record<string, unknown>> | null;
|
|
2047
|
+
readonly createdAt?: string | null;
|
|
2048
|
+
readonly expiresAt?: string | null;
|
|
2049
|
+
readonly resolvedAt?: string | null;
|
|
2050
|
+
readonly canConfirm?: boolean;
|
|
2051
|
+
readonly canReject?: boolean;
|
|
2052
|
+
readonly awaitingSecondApprover?: boolean;
|
|
2053
|
+
}
|
|
2054
|
+
interface OperationalAgentProposalSummaryResponse {
|
|
2055
|
+
readonly proposalId: string;
|
|
2056
|
+
readonly status?: PraxisAssistantActionProposalStatus;
|
|
2057
|
+
readonly proposalStatus?: PraxisAssistantActionProposalStatus;
|
|
2058
|
+
readonly approvalPolicy?: PraxisAssistantActionProposalApprovalPolicy | null;
|
|
2059
|
+
readonly createdByUserId?: string | null;
|
|
2060
|
+
readonly approverUserId?: string | null;
|
|
2061
|
+
readonly entityKey?: string | null;
|
|
2062
|
+
readonly resourceKey?: string | null;
|
|
2063
|
+
readonly resourcePath?: string | null;
|
|
2064
|
+
readonly entityId?: string | null;
|
|
2065
|
+
readonly resultingEntityId?: string | null;
|
|
2066
|
+
readonly actionId?: string;
|
|
2067
|
+
readonly actionTitle?: string | null;
|
|
2068
|
+
readonly label?: string | null;
|
|
2069
|
+
readonly operationKind?: string | null;
|
|
2070
|
+
readonly riskLevel?: string | null;
|
|
2071
|
+
readonly organizationId?: string | null;
|
|
2072
|
+
readonly organizationLabel?: string | null;
|
|
2073
|
+
readonly recordTitle?: string | null;
|
|
2074
|
+
readonly recordSubtitle?: string | null;
|
|
2075
|
+
readonly threadId?: string | null;
|
|
2076
|
+
readonly dependsOnProposalId?: string | null;
|
|
2077
|
+
readonly sequenceOrder?: number | null;
|
|
2078
|
+
readonly sequenceGroupId?: string | null;
|
|
2079
|
+
readonly sourceAttachmentFileIds?: readonly string[] | null;
|
|
2080
|
+
readonly bulkMode?: string | null;
|
|
2081
|
+
readonly createdAt?: string | null;
|
|
2082
|
+
readonly expiresAt?: string | null;
|
|
2083
|
+
readonly resolvedAt?: string | null;
|
|
2084
|
+
readonly awaitingSecondApprover?: boolean;
|
|
2085
|
+
}
|
|
2086
|
+
interface OperationalAgentProposalListQuery {
|
|
2087
|
+
readonly scope?: 'MINE' | 'PENDING_REVIEW' | (string & {});
|
|
2088
|
+
readonly status?: PraxisAssistantActionProposalStatus;
|
|
2089
|
+
readonly approvalPolicy?: PraxisAssistantActionProposalApprovalPolicy;
|
|
2090
|
+
readonly threadId?: string;
|
|
2091
|
+
readonly organizationId?: string;
|
|
2092
|
+
readonly page?: number;
|
|
2093
|
+
readonly size?: number;
|
|
2094
|
+
}
|
|
2095
|
+
interface OperationalAgentProposalListResponse {
|
|
2096
|
+
readonly items?: readonly OperationalAgentProposalSummaryResponse[];
|
|
2097
|
+
readonly page?: number;
|
|
2098
|
+
readonly size?: number;
|
|
2099
|
+
readonly totalElements?: number;
|
|
2100
|
+
readonly totalPages?: number;
|
|
2101
|
+
readonly hasMore?: boolean;
|
|
2102
|
+
readonly proposals?: readonly PraxisAssistantActionProposalItem[];
|
|
2103
|
+
readonly threadId?: string;
|
|
2104
|
+
}
|
|
1800
2105
|
interface OperationalAgentTurnClientOptions {
|
|
1801
2106
|
readonly baseUrl?: string;
|
|
1802
2107
|
readonly headers?: Record<string, string | undefined>;
|
|
2108
|
+
readonly preserveExplicitContextHeaders?: boolean;
|
|
1803
2109
|
readonly streamTimeoutMs?: number;
|
|
2110
|
+
readonly idleTimeoutMs?: number;
|
|
2111
|
+
readonly maxTurnTimeoutMs?: number;
|
|
1804
2112
|
readonly onLifecycle?: (event: OperationalAgentTurnLifecycleEvent) => void;
|
|
1805
2113
|
}
|
|
1806
2114
|
interface OperationalAgentTurnLifecycleEvent {
|
|
@@ -2453,14 +2761,19 @@ declare class OperationalAgentTurnClientService {
|
|
|
2453
2761
|
private readonly storageOpts;
|
|
2454
2762
|
private readonly endpointOpts;
|
|
2455
2763
|
private readonly apiUrlConfig;
|
|
2764
|
+
private readonly runtimeContext;
|
|
2456
2765
|
private readonly fallbackAgentBaseUrl;
|
|
2457
2766
|
startTurnStream(request: OperationalAgentTurnStreamRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentTurnStreamStartResponse>;
|
|
2767
|
+
listProposals(queryOrThreadId?: string | OperationalAgentProposalListQuery, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalListResponse>;
|
|
2768
|
+
getProposal(proposalId: string, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalDetailResponse>;
|
|
2458
2769
|
confirmActionProposal(proposalId: string, request?: OperationalAgentProposalConfirmRequest, options?: OperationalAgentTurnClientOptions & {
|
|
2459
2770
|
readonly ifMatch?: string;
|
|
2460
2771
|
readonly idempotencyKey?: string;
|
|
2461
2772
|
}): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2462
2773
|
completeProposalViaForm(proposalId: string, request?: OperationalAgentProposalExternalCompletionRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2463
2774
|
rejectActionProposal(proposalId: string, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2775
|
+
rejectActionProposal(proposalId: string, request: OperationalAgentProposalRejectRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalConfirmResponse>;
|
|
2776
|
+
prepareProposalFromCounterfactual(request: OperationalAgentCounterfactualProposalRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentProposalDetailResponse>;
|
|
2464
2777
|
connectTurnStream(streamId: string, lastEventId?: string, accessToken?: string, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentTurnStreamEnvelope>;
|
|
2465
2778
|
streamTurn(request: OperationalAgentTurnStreamRequest, options?: OperationalAgentTurnClientOptions): Observable<OperationalAgentTurnClientEvent>;
|
|
2466
2779
|
cancelTurnStream(streamId: string, accessToken?: string, options?: OperationalAgentTurnClientOptions): Observable<{
|
|
@@ -2620,13 +2933,24 @@ interface PraxisAssistantSessionSnapshot {
|
|
|
2620
2933
|
createdAt: string;
|
|
2621
2934
|
updatedAt: string;
|
|
2622
2935
|
}
|
|
2936
|
+
interface PraxisAssistantSessionDismissal {
|
|
2937
|
+
readonly id: string;
|
|
2938
|
+
readonly ownerId: string;
|
|
2939
|
+
readonly ownerType: string;
|
|
2940
|
+
readonly seq: number;
|
|
2941
|
+
}
|
|
2623
2942
|
type PraxisAssistantSessionIdentityRef = string | PraxisAssistantIdentity | PraxisAssistantContextSnapshot;
|
|
2624
2943
|
type PraxisAssistantContextSessionDescriptor = Omit<PraxisAssistantSessionDescriptor, 'id' | 'ownerId' | 'ownerType' | 'title' | 'contextSnapshot'> & {
|
|
2625
2944
|
title?: string;
|
|
2626
2945
|
};
|
|
2627
2946
|
declare class PraxisAssistantSessionRegistryService {
|
|
2947
|
+
private dismissalSeq;
|
|
2628
2948
|
private readonly sessionsState;
|
|
2949
|
+
private readonly lastDismissedSessionState;
|
|
2950
|
+
private readonly dismissedSessionSeqsState;
|
|
2629
2951
|
readonly sessions: _angular_core.Signal<PraxisAssistantSessionSnapshot[]>;
|
|
2952
|
+
readonly lastDismissedSession: _angular_core.Signal<PraxisAssistantSessionDismissal | null>;
|
|
2953
|
+
readonly dismissedSessionSeqs: _angular_core.Signal<Readonly<Record<string, number>>>;
|
|
2630
2954
|
readonly activeSession: _angular_core.Signal<PraxisAssistantSessionSnapshot | null>;
|
|
2631
2955
|
readonly minimizedSessions: _angular_core.Signal<PraxisAssistantSessionSnapshot[]>;
|
|
2632
2956
|
upsertSession(descriptor: PraxisAssistantSessionDescriptor): PraxisAssistantSessionSnapshot;
|
|
@@ -2636,6 +2960,9 @@ declare class PraxisAssistantSessionRegistryService {
|
|
|
2636
2960
|
minimizeSession(sessionId: string): PraxisAssistantSessionSnapshot | null;
|
|
2637
2961
|
minimizeContextSession(identity: PraxisAssistantSessionIdentityRef): PraxisAssistantSessionSnapshot | null;
|
|
2638
2962
|
removeSession(sessionId: string): void;
|
|
2963
|
+
dismissSession(sessionId: string): PraxisAssistantSessionSnapshot | null;
|
|
2964
|
+
dismissContextSession(identity: PraxisAssistantSessionIdentityRef): PraxisAssistantSessionSnapshot | null;
|
|
2965
|
+
getSessionDismissalSeq(sessionId: string): number;
|
|
2639
2966
|
removeContextSession(identity: PraxisAssistantSessionIdentityRef): void;
|
|
2640
2967
|
getSession(sessionId: string): PraxisAssistantSessionSnapshot | null;
|
|
2641
2968
|
getContextSession(identity: PraxisAssistantSessionIdentityRef): PraxisAssistantSessionSnapshot | null;
|
|
@@ -2655,6 +2982,7 @@ interface AssistantHistoryMessage {
|
|
|
2655
2982
|
id: string;
|
|
2656
2983
|
role: AssistantMessageRole;
|
|
2657
2984
|
text: string;
|
|
2985
|
+
attachments?: readonly PraxisAssistantAttachmentSummary[];
|
|
2658
2986
|
assistantContent?: Readonly<Record<string, unknown>> | null;
|
|
2659
2987
|
createdAt: string;
|
|
2660
2988
|
context?: {
|
|
@@ -2706,9 +3034,9 @@ declare class AssistantHistoryService {
|
|
|
2706
3034
|
private readonly storageAvailable;
|
|
2707
3035
|
getContext(): AssistantHistoryContext;
|
|
2708
3036
|
listSessions(context: AssistantHistoryContext, limit?: number): AssistantHistoryIndex['sessions'];
|
|
2709
|
-
getSession(sessionId: string): AssistantHistorySession | null;
|
|
3037
|
+
getSession(sessionId: string, context?: AssistantHistoryContext): AssistantHistorySession | null;
|
|
2710
3038
|
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;
|
|
3039
|
+
addMessage(context: AssistantHistoryContext, sessionId: string, role: AssistantMessageRole, text: string, meta?: AssistantHistoryMessage['context'], assistantContent?: Readonly<Record<string, unknown>> | null, attachments?: readonly PraxisAssistantAttachmentSummary[] | null): AssistantHistorySession | null;
|
|
2712
3040
|
touchSession(context: AssistantHistoryContext, sessionId: string): void;
|
|
2713
3041
|
updateServerSessionId(context: AssistantHistoryContext, sessionId: string, serverSessionId: string | null): AssistantHistorySession | null;
|
|
2714
3042
|
deleteSession(context: AssistantHistoryContext, sessionId: string): boolean;
|
|
@@ -2717,6 +3045,9 @@ declare class AssistantHistoryService {
|
|
|
2717
3045
|
private saveSession;
|
|
2718
3046
|
private ensureIndex;
|
|
2719
3047
|
private pruneOldSessions;
|
|
3048
|
+
private purgeSession;
|
|
3049
|
+
private hasSensitiveDocumentEvidence;
|
|
3050
|
+
private sessionHasSensitiveDocumentEvidence;
|
|
2720
3051
|
private matchesContext;
|
|
2721
3052
|
private indexKey;
|
|
2722
3053
|
private sessionKey;
|
|
@@ -2726,8 +3057,10 @@ declare class AssistantHistoryService {
|
|
|
2726
3057
|
private sanitizeSession;
|
|
2727
3058
|
private sanitizeAssistantContentForStorage;
|
|
2728
3059
|
private sanitizeOperationalBlock;
|
|
3060
|
+
private sanitizeAttachmentsForStorage;
|
|
2729
3061
|
private sanitizeOperationalValue;
|
|
2730
3062
|
private isValidMod11TaxDigits;
|
|
3063
|
+
private isValidMod11CnpjDigits;
|
|
2731
3064
|
private sanitizeInlineSegmentForStorage;
|
|
2732
3065
|
private sanitizeIndexTitles;
|
|
2733
3066
|
private isDefaultTitle;
|
|
@@ -3137,6 +3470,271 @@ declare class PraxisAiAssistantComponent implements OnDestroy {
|
|
|
3137
3470
|
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>;
|
|
3138
3471
|
}
|
|
3139
3472
|
|
|
3473
|
+
declare const ASSISTANT_ATTACHMENTS_PT_BR: {
|
|
3474
|
+
readonly dropzoneTitle: "Solte os arquivos para anexar ao pedido";
|
|
3475
|
+
readonly dropzoneSubtitle: "PDF, DOCX, planilhas, JSON, Markdown ou imagens suportadas.";
|
|
3476
|
+
readonly attachmentStatusUploading: "Enviando {percent}%";
|
|
3477
|
+
readonly attachmentStatusUploadingIndeterminate: "Enviando...";
|
|
3478
|
+
readonly attachmentStatusScanning: "Enviado — verificando segurança...";
|
|
3479
|
+
readonly attachmentStatusReady: "Pronto";
|
|
3480
|
+
readonly attachmentStatusError: "Falha no envio";
|
|
3481
|
+
readonly attachmentRetry: "Tentar novamente";
|
|
3482
|
+
readonly attachmentPreview: "Visualizar arquivo com segurança";
|
|
3483
|
+
readonly attachmentRemoveLabel: "Remover anexo {name}";
|
|
3484
|
+
readonly attachmentsCountHeader: "Anexos selecionados ({count})";
|
|
3485
|
+
readonly threadAttachmentsLabel: "Anexos na conversa ({count})";
|
|
3486
|
+
readonly threadAttachmentDetach: "Desvincular {name} da conversa";
|
|
3487
|
+
readonly threadAttachmentTainted: "Conteúdo restrito";
|
|
3488
|
+
readonly retryTurnLabel: "Tentar novamente";
|
|
3489
|
+
readonly cancelTurnLabel: "Cancelar pedido";
|
|
3490
|
+
readonly endTurnLabel: "Encerrar pedido";
|
|
3491
|
+
readonly attachmentSubmitBlockedUploading: "Aguarde a conclusão do envio dos anexos antes de enviar.";
|
|
3492
|
+
readonly attachmentSubmitBlockedError: "Remova ou reenvie os anexos com falha antes de enviar.";
|
|
3493
|
+
readonly attachmentRejectedType: "Arquivo ignorado ({name}): tipo não aceito pela política de anexos.";
|
|
3494
|
+
readonly attachmentLiveAdded: "Anexo adicionado: {name}.";
|
|
3495
|
+
readonly attachmentLiveUploaded: "Anexo pronto: {name}.";
|
|
3496
|
+
readonly attachmentLiveFailed: "Falha ao enviar anexo {name}: {reason}";
|
|
3497
|
+
readonly attachmentLiveRemoved: "Anexo removido: {name}.";
|
|
3498
|
+
readonly messageAttachmentsLabel: "Arquivos anexados";
|
|
3499
|
+
readonly attachmentKindPdf: "PDF";
|
|
3500
|
+
readonly attachmentKindDocument: "DOC";
|
|
3501
|
+
readonly attachmentKindSpreadsheet: "Planilha";
|
|
3502
|
+
readonly attachmentKindJson: "JSON";
|
|
3503
|
+
readonly attachmentKindImage: "Imagem";
|
|
3504
|
+
readonly attachmentKindText: "Texto";
|
|
3505
|
+
readonly attachmentKindFile: "Arquivo";
|
|
3506
|
+
readonly processingStatusInitial: "Interpretando o pedido e organizando as informações da tela.";
|
|
3507
|
+
readonly processingStatus5s: "Consultando o domínio e conferindo o que pode ser criado com segurança.";
|
|
3508
|
+
readonly processingStatus12s: "Ainda preparando a resposta com as informações disponíveis.";
|
|
3509
|
+
readonly processingStatus30s: "Ainda preparando a resposta. Você pode cancelar e tentar novamente se precisar.";
|
|
3510
|
+
readonly primaryActionProcessing: "Interpretando...";
|
|
3511
|
+
readonly primaryActionClarification: "Responder";
|
|
3512
|
+
readonly primaryActionReview: "Refinar pedido";
|
|
3513
|
+
readonly primaryActionApplying: "Aplicando...";
|
|
3514
|
+
readonly primaryActionError: "Corrigir pedido";
|
|
3515
|
+
};
|
|
3516
|
+
type AssistantAttachmentI18nKey = keyof typeof ASSISTANT_ATTACHMENTS_PT_BR;
|
|
3517
|
+
declare const ASSISTANT_ATTACHMENTS_EN_US: Record<AssistantAttachmentI18nKey, string>;
|
|
3518
|
+
declare function resolveAssistantAttachmentText(i18n: PraxisI18nService | null | undefined, key: AssistantAttachmentI18nKey, params?: Readonly<Record<string, string | number>>): string;
|
|
3519
|
+
|
|
3520
|
+
declare const ASSISTANT_OPERATIONAL_PT_BR: {
|
|
3521
|
+
readonly alertsDefaultTitle: "Alertas operacionais";
|
|
3522
|
+
readonly actionsDefaultTitle: "Ações disponíveis";
|
|
3523
|
+
readonly collectionDefaultTitle: "Registros encontrados";
|
|
3524
|
+
readonly collectionEmpty: "Nenhum registro retornado para esta consulta.";
|
|
3525
|
+
readonly collectionShowingTopRows: "Exibindo {shown} de {total} registros";
|
|
3526
|
+
readonly openFullCollection: "Abrir listagem completa";
|
|
3527
|
+
readonly widgetUnavailable: "Conteúdo estruturado indisponível neste contexto.";
|
|
3528
|
+
readonly severityCritical: "Crítico";
|
|
3529
|
+
readonly severityError: "Alto";
|
|
3530
|
+
readonly severityWarning: "Alerta";
|
|
3531
|
+
readonly severityInfo: "Informativo";
|
|
3532
|
+
readonly disambiguationHint: "Selecionar registro";
|
|
3533
|
+
readonly calculationDefaultTitle: "Memória de cálculo";
|
|
3534
|
+
readonly calculationLegalBasisLabel: "Base legal";
|
|
3535
|
+
readonly calculationRuleLabel: "Regra";
|
|
3536
|
+
readonly calcResultDefaultLabel: "Resultado";
|
|
3537
|
+
readonly calculationEmpty: "Nenhuma trilha de cálculo disponível para este registro.";
|
|
3538
|
+
readonly citationsDefaultTitle: "Base normativa e regras aplicáveis";
|
|
3539
|
+
readonly citationOpenRoute: "Abrir consulta relacionada";
|
|
3540
|
+
readonly sourceKindStatute: "Norma / Estatuto";
|
|
3541
|
+
readonly sourceKindDomainRule: "Regra de Domínio";
|
|
3542
|
+
readonly sourceKindRuntimeRule: "Regra Executável";
|
|
3543
|
+
readonly sourceKindErrorCatalog: "Catálogo de Motivos";
|
|
3544
|
+
readonly chartDefaultTitle: "Gráfico analítico";
|
|
3545
|
+
readonly chartEmpty: "Sem pontos para exibir no gráfico.";
|
|
3546
|
+
readonly booleanYes: "Sim";
|
|
3547
|
+
readonly booleanNo: "Não";
|
|
3548
|
+
readonly simulationDefaultTitle: "Simulação prévia";
|
|
3549
|
+
readonly simulationBadge: "Simulação não persistida";
|
|
3550
|
+
readonly simulationIssuesTitle: "Pendências identificadas no rascunho";
|
|
3551
|
+
readonly proposalsDefaultTitle: "Propostas governadas aguardando confirmação";
|
|
3552
|
+
readonly proposalMissingFieldsLabel: "Campos obrigatórios pendentes";
|
|
3553
|
+
readonly proposalVersionLabel: "Versão capturada";
|
|
3554
|
+
readonly proposalStateLabel: "Situação atual";
|
|
3555
|
+
readonly proposalOrgPrefix: "Org {id}";
|
|
3556
|
+
readonly proposalExpiredNote: "O prazo de validade desta proposta expirou. Revalide com o estado atual antes de executar.";
|
|
3557
|
+
readonly proposalConfirmButton: "Confirmar execução";
|
|
3558
|
+
readonly proposalConfirmBusy: "Confirmando...";
|
|
3559
|
+
readonly proposalOpenFormButton: "Revisar no formulário";
|
|
3560
|
+
readonly proposalRejectButton: "Descartar";
|
|
3561
|
+
readonly proposalRevalidateButton: "Revalidar com estado atual";
|
|
3562
|
+
readonly proposalStatusPending: "Pendente de confirmação";
|
|
3563
|
+
readonly proposalStatusWaitingPrerequisite: "Aguardando etapa anterior";
|
|
3564
|
+
readonly proposalStatusExecuting: "Em execução";
|
|
3565
|
+
readonly proposalWaitingPrerequisiteNotice: "Aguardando confirmação da etapa prévia ({prerequisite}) para preencher {field}.";
|
|
3566
|
+
readonly proposalFourEyesBadge: "4-Olhos · 2º aprovador";
|
|
3567
|
+
readonly proposalStepOrderBadge: "Etapa {order}";
|
|
3568
|
+
readonly proposalFourEyesWaitingNote: "Aguardando aprovação de 2º usuário autorizado (4-Olhos). Use Atualizar status após a revisão.";
|
|
3569
|
+
readonly proposalRefreshStatusButton: "Atualizar status";
|
|
3570
|
+
readonly proposalResultingEntityLabel: "Registro gerado";
|
|
3571
|
+
readonly proposalRejectReasonLabel: "Motivo da recusa (opcional)";
|
|
3572
|
+
readonly proposalRejectReasonPlaceholder: "Informe justificativa para registro em auditoria...";
|
|
3573
|
+
readonly proposalRejectConfirmButton: "Confirmar descarte";
|
|
3574
|
+
readonly proposalRejectCancelButton: "Voltar";
|
|
3575
|
+
readonly proposalSourceAttachmentsLabel: "Anexos fonte";
|
|
3576
|
+
readonly documentEvidenceDefaultTitle: "Evidência documental";
|
|
3577
|
+
readonly documentEvidencePages: "{count} pág.";
|
|
3578
|
+
readonly documentEvidenceModeLabel: "Extração";
|
|
3579
|
+
readonly documentEvidenceModeDigitalText: "Texto digital";
|
|
3580
|
+
readonly documentEvidenceModeOcrStructured: "OCR estruturado";
|
|
3581
|
+
readonly documentEvidenceModeSpreadsheetTables: "Planilhas e tabelas";
|
|
3582
|
+
readonly documentEvidenceModePlainText: "Texto simples";
|
|
3583
|
+
readonly documentEvidenceModeVisualOnly: "Visão isolada";
|
|
3584
|
+
readonly documentEvidenceModeUnsupported: "Formato não suportado";
|
|
3585
|
+
readonly documentEvidenceModeText: "Texto estruturado";
|
|
3586
|
+
readonly documentEvidenceModeVisual: "Visão isolada";
|
|
3587
|
+
readonly documentEvidenceModeOcr: "OCR governado";
|
|
3588
|
+
readonly documentEvidenceModeHybrid: "Híbrido";
|
|
3589
|
+
readonly documentEvidenceClassPublicOfficial: "Ato oficial público";
|
|
3590
|
+
readonly documentEvidenceClassInternal: "Operacional interno";
|
|
3591
|
+
readonly documentEvidenceClassPersonalLgpd: "Dado pessoal (LGPD)";
|
|
3592
|
+
readonly documentEvidenceClassConfidentialFinancial: "Financeiro confidencial";
|
|
3593
|
+
readonly documentEvidenceClassSensitiveRestricted: "Sensível restrito";
|
|
3594
|
+
readonly documentEvidenceScannedBadge: "Digitalizado";
|
|
3595
|
+
readonly documentEvidenceSovereignBadge: "Somente provedor soberano";
|
|
3596
|
+
readonly documentEvidenceTaintedTitle: "Conteúdo não confiável detectado";
|
|
3597
|
+
readonly documentEvidenceTaintedBody: "Mutações automáticas estão restringidas neste turno até revisão humana explícita da evidência.";
|
|
3598
|
+
readonly documentEvidenceVisualPagesLabel: "Páginas inspecionadas visualmente";
|
|
3599
|
+
readonly documentEvidenceChecksumLabel: "SHA-256";
|
|
3600
|
+
readonly documentEvidenceCopyChecksum: "Copiar SHA-256 do documento";
|
|
3601
|
+
readonly documentEvidenceChecksumCopied: "SHA-256 copiado";
|
|
3602
|
+
readonly documentEvidenceChecksumFailed: "Falha ao copiar SHA-256";
|
|
3603
|
+
readonly documentEvidencePreviewButton: "Visualizar documento";
|
|
3604
|
+
readonly documentEvidenceSignaturesLabel: "Indicadores de assinatura";
|
|
3605
|
+
readonly documentEvidenceWarningsLabel: "Alertas da evidência";
|
|
3606
|
+
readonly documentEvidenceStatusProcessed: "Processado";
|
|
3607
|
+
readonly documentEvidenceStatusVerified: "Verificado";
|
|
3608
|
+
readonly documentEvidenceStatusReviewRequired: "Revisão necessária";
|
|
3609
|
+
readonly documentEvidenceStatusBlocked: "Bloqueado por política";
|
|
3610
|
+
readonly documentEvidenceStatusQuarantined: "Em quarentena";
|
|
3611
|
+
readonly documentEvidenceAlertBlockedBody: "A análise deste documento foi bloqueada por política de governança ou segurança.";
|
|
3612
|
+
readonly documentEvidenceAlertQuarantinedBody: "Documento em quarentena; requer confirmação humana explícita antes de prosseguir.";
|
|
3613
|
+
readonly documentEvidenceAlertReviewRequiredBody: "Evidência requer revisão humana antes de confirmar ações dependentes.";
|
|
3614
|
+
readonly documentEvidenceVerificationVerified: "Verificado externamente";
|
|
3615
|
+
readonly documentEvidenceVerificationNotFound: "Não encontrado no registro oficial";
|
|
3616
|
+
readonly documentEvidenceVerificationMismatch: "Divergência no registro oficial";
|
|
3617
|
+
readonly documentEvidenceVerificationUnavailable: "Verificação indisponível · revisão humana";
|
|
3618
|
+
readonly documentEvidenceProtocolLabel: "Protocolo";
|
|
3619
|
+
readonly documentEvidenceCitedPagesLabel: "Páginas citadas";
|
|
3620
|
+
readonly proposalStatusBlocked: "Bloqueada";
|
|
3621
|
+
readonly proposalStatusConfirmed: "Confirmada";
|
|
3622
|
+
readonly proposalStatusStale: "Desatualizada (412)";
|
|
3623
|
+
readonly proposalStatusExpired: "Expirada";
|
|
3624
|
+
readonly proposalStatusRejected: "Descartada";
|
|
3625
|
+
readonly proposalRiskLow: "Baixo risco";
|
|
3626
|
+
readonly proposalRiskMedium: "Risco moderado";
|
|
3627
|
+
readonly proposalRiskHigh: "Alto risco";
|
|
3628
|
+
readonly proposalRiskCritical: "Risco crítico";
|
|
3629
|
+
readonly proposalBulkBadge: "Lote";
|
|
3630
|
+
readonly proposalBulkModeUniform: "Edição uniforme";
|
|
3631
|
+
readonly proposalBulkModePerItem: "Edição por item";
|
|
3632
|
+
readonly proposalBulkModeCommand: "Comando coletivo";
|
|
3633
|
+
readonly proposalBulkTotalsTarget: "Alvos";
|
|
3634
|
+
readonly proposalBulkTotalsExecutable: "Elegíveis";
|
|
3635
|
+
readonly proposalBulkTotalsBlocked: "Impedidos";
|
|
3636
|
+
readonly proposalBulkSampleHeading: "Amostra da seleção";
|
|
3637
|
+
readonly proposalBulkReviewButton: "Revisar Lote no Modal";
|
|
3638
|
+
readonly proposalBulkFillAndReviewButton: "Preencher e Revisar Lote";
|
|
3639
|
+
readonly proposalBulkTrackButton: "Acompanhar Execução";
|
|
3640
|
+
readonly epistemicDefaultTitle: "Evidência analítica e escopo epistêmico";
|
|
3641
|
+
readonly epistemicKindDeterministicLaw: "Regra Determinística";
|
|
3642
|
+
readonly epistemicKindCalibratedProbability: "Probabilidade Calibrada";
|
|
3643
|
+
readonly epistemicKindStochasticSimulation: "Simulação Estocástica";
|
|
3644
|
+
readonly epistemicKindCausalHypothesis: "Hipótese Causal";
|
|
3645
|
+
readonly epistemicKindOptimizationResult: "Otimização Condicionada";
|
|
3646
|
+
readonly epistemicStateAvailable: "Disponível";
|
|
3647
|
+
readonly epistemicStateInsufficientSample: "Amostra Insuficiente";
|
|
3648
|
+
readonly epistemicStateKAnonymitySuppressed: "Suprimido por k-Anonimato";
|
|
3649
|
+
readonly epistemicStateEngineUnavailable: "Motor Indisponível";
|
|
3650
|
+
readonly epistemicStateDegraded: "Degradado";
|
|
3651
|
+
readonly epistemicNextStepLabel: "Próximo passo recomendado";
|
|
3652
|
+
readonly epistemicNextStepInsufficientSample: "Amplie o período, afrouxe filtros restritivos ou consulte a série agregada antes de tirar conclusões.";
|
|
3653
|
+
readonly epistemicNextStepKAnonymitySuppressed: "Agrupe em uma dimensão mais ampla para atingir o piso mínimo de k-anonimato sem expor grupos pequenos.";
|
|
3654
|
+
readonly epistemicNextStepEngineUnavailable: "Tente novamente em instantes ou execute uma receita analítica verificada (/stats/recipes) enquanto o motor estatístico é restabelecido.";
|
|
3655
|
+
readonly epistemicNextStepDegraded: "Resultados parciais ou degradados; valide os parâmetros aplicados antes de decisões operacionais.";
|
|
3656
|
+
readonly epistemicNextStepTaintedBlocked: "Bloqueio de segurança ativo: inicie um novo turno limpo com instrução direta ao registro confirmado antes de propor alterações.";
|
|
3657
|
+
readonly epistemicSuppressedCellsAlert: "Privacidade (k-anonimato): {count} célula(s)/coorte(s) foram suprimidas e omitidas por conterem poucos registros.";
|
|
3658
|
+
readonly epistemicSampleSize: "Amostra n={count}";
|
|
3659
|
+
readonly epistemicFdrQValue: "q-FDR {value}";
|
|
3660
|
+
readonly epistemicSignificantYes: "Significativo (FDR)";
|
|
3661
|
+
readonly epistemicSignificantNo: "Não significativo (FDR)";
|
|
3662
|
+
readonly epistemicRowsScanned: "Registros: {count}";
|
|
3663
|
+
readonly epistemicGroupsEvaluated: "Coortes: {count}";
|
|
3664
|
+
readonly epistemicFindings: "Achados: {count}";
|
|
3665
|
+
readonly epistemicCriticalFindings: "Críticos: {count}";
|
|
3666
|
+
readonly epistemicWarningFindings: "Alertas: {count}";
|
|
3667
|
+
readonly epistemicExposure: "Exposição: {amount}";
|
|
3668
|
+
readonly epistemicTruncatedNotice: "Varredura limitada ao teto máximo de achados configurados; refine os filtros para inspeção exaustiva.";
|
|
3669
|
+
readonly epistemicNigriniLabel: "Nigrini-Benford";
|
|
3670
|
+
readonly epistemicNigriniMadValue: "MAD {mad}";
|
|
3671
|
+
readonly epistemicNigriniCloseConformity: "Conformidade estreita";
|
|
3672
|
+
readonly epistemicNigriniAcceptableConformity: "Conformidade aceitável";
|
|
3673
|
+
readonly epistemicNigriniMarginalConformity: "Conformidade marginal";
|
|
3674
|
+
readonly epistemicNigriniNonConformity: "Não conformidade";
|
|
3675
|
+
readonly epistemicModelCard: "Modelo {id}";
|
|
3676
|
+
readonly epistemicProvenanceHash: "Hash de proveniência";
|
|
3677
|
+
readonly epistemicCopyHash: "Copiar hash de proveniência";
|
|
3678
|
+
readonly epistemicCopyHashDone: "Hash copiado";
|
|
3679
|
+
readonly epistemicErrorCodeLabel: "Código";
|
|
3680
|
+
readonly provenanceAccordionTitle: "Filtros travados, parâmetros e proveniência";
|
|
3681
|
+
readonly provenanceVerifiedBadge: "Receita Verificada";
|
|
3682
|
+
readonly provenanceExploratoryBadge: "Exploratório Não Verificado";
|
|
3683
|
+
readonly provenanceRecipeLabel: "Receita";
|
|
3684
|
+
readonly provenanceVersionLabel: "Versão";
|
|
3685
|
+
readonly provenanceTierLabel: "Governança";
|
|
3686
|
+
readonly provenanceDigestLabel: "Digest / Hash";
|
|
3687
|
+
readonly provenanceLockedFiltersTitle: "Filtros travados no servidor";
|
|
3688
|
+
readonly provenanceAppliedParamsTitle: "Parâmetros aplicados";
|
|
3689
|
+
readonly provenanceNoParams: "Sem parâmetros adicionais.";
|
|
3690
|
+
readonly provenanceCopyDigest: "Copiar digest de proveniência";
|
|
3691
|
+
readonly provenanceCopyDigestDone: "Digest copiado";
|
|
3692
|
+
readonly provenanceEpistemicSectionTitle: "Envelope epistêmico do gráfico";
|
|
3693
|
+
readonly epistemicNextStepAnchorRevalidationDegraded: "Divergência detectada na revalidação das âncoras determinísticas: execute nova simulação após reconciliar os parâmetros base.";
|
|
3694
|
+
readonly epistemicNextStepDriftCircuitOpen: "Disjuntor de drift aberto: verifique mudanças recentes na distribuição ou recalibre o modelo antes de prosseguir.";
|
|
3695
|
+
readonly epistemicNextStepNonConvergentOptimizer: "O otimizador contrafactual não convergiu dentro das restrições atuais: amplie os limites permitidos das alavancas ou revise a meta.";
|
|
3696
|
+
readonly epistemicNextStepAllCandidatesRejected: "Nenhuma alternativa passou pelas regras determinísticas de validação: revise restrições normativas ou defina uma meta intermediária.";
|
|
3697
|
+
readonly epistemicNextStepDegradedInsufficientSample: "Amostra insuficiente para estabilidade confiável: amplie o recorte ou relaxe filtros antes de utilizar a projeção.";
|
|
3698
|
+
readonly epistemicScenarios: "{count} cenários";
|
|
3699
|
+
readonly epistemicHorizonPeriods: "Horizonte: {count} períodos";
|
|
3700
|
+
readonly epistemicAnchorsValidated: "Âncoras determinísticas validadas";
|
|
3701
|
+
readonly epistemicAnchorsDiverged: "Divergência nas âncoras determinísticas";
|
|
3702
|
+
readonly epistemicValidatedCandidates: "Validadas: {count}";
|
|
3703
|
+
readonly epistemicExcludedCandidates: "Excluídas por regras: {count}";
|
|
3704
|
+
readonly epistemicAdvisoryOnlyPill: "Somente recomendação · requer aprovação humana";
|
|
3705
|
+
readonly counterfactualDefaultTitle: "Alternativas Contrafactuais Governadas";
|
|
3706
|
+
readonly counterfactualGovernanceBanner: "Somente recomendação consultiva — requer aprovação humana explícita; nenhuma mutação automática é aplicada.";
|
|
3707
|
+
readonly counterfactualBaselineLabel: "Linha base";
|
|
3708
|
+
readonly counterfactualTargetLabel: "Meta";
|
|
3709
|
+
readonly counterfactualConverged: "Convergiu";
|
|
3710
|
+
readonly counterfactualNotConverged: "Não convergiu";
|
|
3711
|
+
readonly counterfactualValidatedBadge: "Validado pelo motor de regras";
|
|
3712
|
+
readonly counterfactualDirectionMaximize: "Maximizar";
|
|
3713
|
+
readonly counterfactualDirectionMinimize: "Minimizar";
|
|
3714
|
+
readonly counterfactualDirectionTarget: "Atingir meta";
|
|
3715
|
+
readonly counterfactualRankLabel: "Opção #{rank}";
|
|
3716
|
+
readonly counterfactualPredictedValue: "Resultado previsto";
|
|
3717
|
+
readonly counterfactualPredictedDelta: "Variação prevista";
|
|
3718
|
+
readonly counterfactualDistanceScore: "Distância";
|
|
3719
|
+
readonly counterfactualLeverChangesTitle: "Alavancas sugeridas";
|
|
3720
|
+
readonly counterfactualContributionLabel: "contribuição: {value}";
|
|
3721
|
+
readonly counterfactualRuleMessagesTitle: "Validações de regras determinísticas";
|
|
3722
|
+
readonly counterfactualSuggestedActionFallback: "Abrir revisão guiada";
|
|
3723
|
+
readonly counterfactualPrepareProposalButton: "Preparar proposta governada";
|
|
3724
|
+
readonly surfaceStatusLoading: "Atualizando ao vivo...";
|
|
3725
|
+
readonly surfaceStatusReady: "Pronto";
|
|
3726
|
+
readonly surfaceStatusDegraded: "Degradado";
|
|
3727
|
+
readonly surfaceStatusError: "Falha na geração";
|
|
3728
|
+
readonly surfaceStatusBlocked: "Bloqueado por segurança";
|
|
3729
|
+
readonly surfaceDefaultTitle: "Superfície analítica";
|
|
3730
|
+
readonly surfaceScenariosHint: "{count} cenários";
|
|
3731
|
+
readonly surfaceHorizonHint: "Horizonte: {count} períodos";
|
|
3732
|
+
readonly surfaceErrorCodeHint: "Código: {code}";
|
|
3733
|
+
};
|
|
3734
|
+
type AssistantOperationalBlockI18nKey = keyof typeof ASSISTANT_OPERATIONAL_PT_BR;
|
|
3735
|
+
declare const ASSISTANT_OPERATIONAL_EN_US: Record<AssistantOperationalBlockI18nKey, string>;
|
|
3736
|
+
declare function resolveAssistantOperationalText(i18n: PraxisI18nService | null | undefined, key: AssistantOperationalBlockI18nKey, params?: Readonly<Record<string, string | number>>): string;
|
|
3737
|
+
|
|
3140
3738
|
type ResizeDirection = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
|
|
3141
3739
|
type QuickReplyPresentationItem = PraxisAssistantShellQuickReplyPresentationItem & {
|
|
3142
3740
|
key: 'bestFor' | 'returns' | 'nextStep' | string;
|
|
@@ -3191,14 +3789,33 @@ interface RuntimeValueReceiptView {
|
|
|
3191
3789
|
rejectedItems: readonly RuntimeValueReceiptItemView[];
|
|
3192
3790
|
}
|
|
3193
3791
|
declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
3792
|
+
private _mode;
|
|
3793
|
+
private _state;
|
|
3794
|
+
private _contextItems;
|
|
3795
|
+
private _attachments;
|
|
3796
|
+
private _threadAttachments;
|
|
3797
|
+
private _messages;
|
|
3798
|
+
private _quickReplies;
|
|
3799
|
+
private _recommendedIntents;
|
|
3800
|
+
private _secondaryActions;
|
|
3801
|
+
private _governanceActions;
|
|
3194
3802
|
labels: Partial<PraxisAssistantShellLabels> | null;
|
|
3195
|
-
mode: PraxisAssistantShellMode;
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3803
|
+
get mode(): PraxisAssistantShellMode;
|
|
3804
|
+
set mode(value: PraxisAssistantShellMode | null | undefined);
|
|
3805
|
+
get state(): PraxisAssistantShellState;
|
|
3806
|
+
set state(value: PraxisAssistantShellState | null | undefined);
|
|
3807
|
+
get contextItems(): readonly PraxisAssistantShellContextItem[];
|
|
3808
|
+
set contextItems(value: readonly PraxisAssistantShellContextItem[] | null | undefined);
|
|
3809
|
+
get attachments(): readonly PraxisAssistantShellAttachment[];
|
|
3810
|
+
set attachments(value: readonly PraxisAssistantShellAttachment[] | null | undefined);
|
|
3811
|
+
get threadAttachments(): readonly OperationalAgentTurnAttachmentRef[];
|
|
3812
|
+
set threadAttachments(value: readonly OperationalAgentTurnAttachmentRef[] | null | undefined);
|
|
3813
|
+
get messages(): readonly PraxisAssistantShellMessage[];
|
|
3814
|
+
set messages(value: readonly PraxisAssistantShellMessage[] | null | undefined);
|
|
3815
|
+
get quickReplies(): readonly PraxisAssistantShellQuickReply[];
|
|
3816
|
+
set quickReplies(value: readonly PraxisAssistantShellQuickReply[] | null | undefined);
|
|
3817
|
+
get recommendedIntents(): readonly PraxisAssistantRecommendedIntent[];
|
|
3818
|
+
set recommendedIntents(value: readonly PraxisAssistantRecommendedIntent[] | null | undefined);
|
|
3202
3819
|
prompt: string;
|
|
3203
3820
|
statusText: string;
|
|
3204
3821
|
errorText: string;
|
|
@@ -3207,16 +3824,20 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3207
3824
|
submitTestId: string;
|
|
3208
3825
|
applyTestId: string;
|
|
3209
3826
|
primaryAction: PraxisAssistantShellAction | null;
|
|
3210
|
-
secondaryActions: readonly PraxisAssistantShellAction[];
|
|
3211
|
-
|
|
3827
|
+
get secondaryActions(): readonly PraxisAssistantShellAction[];
|
|
3828
|
+
set secondaryActions(value: readonly PraxisAssistantShellAction[] | null | undefined);
|
|
3829
|
+
get governanceActions(): readonly PraxisAssistantShellAction[];
|
|
3830
|
+
set governanceActions(value: readonly PraxisAssistantShellAction[] | null | undefined);
|
|
3212
3831
|
busy: boolean;
|
|
3213
3832
|
canSubmit: boolean;
|
|
3214
3833
|
canApply: boolean;
|
|
3215
3834
|
preview: unknown;
|
|
3216
3835
|
submitOnEnter: boolean;
|
|
3217
3836
|
showAttachAction: boolean;
|
|
3218
|
-
enablePastedAttachments: boolean;
|
|
3219
3837
|
enableFileAttachments: boolean;
|
|
3838
|
+
enablePastedAttachments: boolean;
|
|
3839
|
+
allowAttachmentOnlySubmit: boolean;
|
|
3840
|
+
enableAuthenticatedPreview: boolean;
|
|
3220
3841
|
attachmentAccept: string;
|
|
3221
3842
|
attachmentMultiple: boolean;
|
|
3222
3843
|
private readonly voiceI18n;
|
|
@@ -3226,21 +3847,28 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3226
3847
|
voiceLanguage: string;
|
|
3227
3848
|
draggable: boolean;
|
|
3228
3849
|
resizable: boolean;
|
|
3850
|
+
showMinimize: boolean;
|
|
3229
3851
|
minWidth: number;
|
|
3230
3852
|
minHeight: number;
|
|
3231
3853
|
margin: number;
|
|
3232
|
-
layout
|
|
3854
|
+
layout?: PraxisAssistantShellLayout;
|
|
3233
3855
|
promptChange: EventEmitter<string>;
|
|
3234
3856
|
submitPrompt: EventEmitter<string>;
|
|
3235
3857
|
apply: EventEmitter<void | Record<string, unknown>>;
|
|
3236
3858
|
retryTurn: EventEmitter<void>;
|
|
3237
3859
|
cancelTurn: EventEmitter<void>;
|
|
3238
3860
|
shellAction: EventEmitter<PraxisAssistantShellAction>;
|
|
3861
|
+
minimize: EventEmitter<void>;
|
|
3239
3862
|
close: EventEmitter<void>;
|
|
3240
3863
|
attach: EventEmitter<void>;
|
|
3241
3864
|
attachmentsPasted: EventEmitter<PraxisAssistantShellAttachment[]>;
|
|
3242
3865
|
attachmentsSelected: EventEmitter<PraxisAssistantShellAttachment[]>;
|
|
3866
|
+
attachmentsDropped: EventEmitter<PraxisAssistantShellAttachment[]>;
|
|
3243
3867
|
removeAttachment: EventEmitter<PraxisAssistantShellAttachment>;
|
|
3868
|
+
retryAttachment: EventEmitter<PraxisAssistantShellAttachment>;
|
|
3869
|
+
previewAttachment: EventEmitter<PraxisAssistantShellAttachment>;
|
|
3870
|
+
detachThreadAttachment: EventEmitter<string>;
|
|
3871
|
+
previewMessageAttachment: EventEmitter<PraxisAssistantAttachmentSummary>;
|
|
3244
3872
|
messageAction: EventEmitter<{
|
|
3245
3873
|
message: PraxisAssistantShellMessage;
|
|
3246
3874
|
action: PraxisAssistantShellMessageAction;
|
|
@@ -3254,6 +3882,8 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3254
3882
|
panel?: ElementRef<HTMLElement>;
|
|
3255
3883
|
conversation?: ElementRef<HTMLElement>;
|
|
3256
3884
|
promptInput?: ElementRef<HTMLTextAreaElement>;
|
|
3885
|
+
private contextToggle?;
|
|
3886
|
+
private contextPopover?;
|
|
3257
3887
|
private readonly cdr;
|
|
3258
3888
|
private readonly injector;
|
|
3259
3889
|
private readonly browserSpeech;
|
|
@@ -3264,10 +3894,19 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3264
3894
|
protected resolvedLabels: PraxisAssistantShellLabels;
|
|
3265
3895
|
protected voiceCaptureState: PraxisAssistantVoiceCaptureState;
|
|
3266
3896
|
protected voiceFeedbackText: string;
|
|
3897
|
+
protected contextOpen: boolean;
|
|
3267
3898
|
protected currentLayout: PraxisAssistantShellLayout;
|
|
3899
|
+
private layoutManuallyAdjusted;
|
|
3900
|
+
private lastEmittedLayout;
|
|
3901
|
+
protected dragActive: boolean;
|
|
3902
|
+
protected attachmentLiveText: string;
|
|
3903
|
+
protected attachmentRejectionNotice: string;
|
|
3904
|
+
private dragDepth;
|
|
3905
|
+
private attachmentRejectionTimer;
|
|
3268
3906
|
protected readonly resizeHandles: readonly ResizeDirection[];
|
|
3269
3907
|
private pointerSession;
|
|
3270
3908
|
private readonly ownedPreviewUrls;
|
|
3909
|
+
private readonly displayPreviewUrls;
|
|
3271
3910
|
private readonly submittedFeedbackObservationIds;
|
|
3272
3911
|
private selectedRuntimeFieldPaths;
|
|
3273
3912
|
private lastRuntimeProposalFingerprint;
|
|
@@ -3283,16 +3922,29 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3283
3922
|
private processingTimer;
|
|
3284
3923
|
private readonly onWindowPointerMove;
|
|
3285
3924
|
private readonly onWindowPointerUp;
|
|
3925
|
+
constructor();
|
|
3286
3926
|
ngAfterViewInit(): void;
|
|
3287
3927
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3288
3928
|
ngOnDestroy(): void;
|
|
3929
|
+
protected onWindowDragReset(): void;
|
|
3289
3930
|
protected onViewportResize(): void;
|
|
3290
3931
|
protected onPromptInput(value: string): void;
|
|
3291
3932
|
protected resizePromptToContent(): void;
|
|
3292
3933
|
protected onSubmit(): void;
|
|
3934
|
+
protected toggleContextPopover(): void;
|
|
3935
|
+
protected closeContextPopover(restoreFocus?: boolean, allowImplicitRestore?: boolean): void;
|
|
3936
|
+
protected getContextToggleLabel(): string;
|
|
3937
|
+
protected getCloseContextLabel(): string;
|
|
3938
|
+
protected getMinimizeLabel(): string;
|
|
3939
|
+
protected onContextPopoverFocusOut(event: FocusEvent): void;
|
|
3940
|
+
protected onDocumentPointerDown(event: Event): void;
|
|
3293
3941
|
protected onVoiceKeydown(event: Event): void;
|
|
3294
3942
|
protected onPromptKeydown(event: KeyboardEvent): void;
|
|
3295
3943
|
protected onPromptPaste(event: ClipboardEvent): void;
|
|
3944
|
+
protected onPanelDragEnter(event: DragEvent): void;
|
|
3945
|
+
protected onPanelDragOver(event: DragEvent): void;
|
|
3946
|
+
protected onPanelDragLeave(event: DragEvent): void;
|
|
3947
|
+
protected onPanelDrop(event: DragEvent): void;
|
|
3296
3948
|
protected onVoiceInputClick(): void;
|
|
3297
3949
|
private captureVoice;
|
|
3298
3950
|
protected shouldShowVoiceInput(): boolean;
|
|
@@ -3301,6 +3953,7 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3301
3953
|
protected getVoiceActionLabel(): string;
|
|
3302
3954
|
protected shouldShowVoiceFeedback(): boolean;
|
|
3303
3955
|
protected getVoiceFeedbackText(): string;
|
|
3956
|
+
protected onMinimize(): void;
|
|
3304
3957
|
protected onClose(): void;
|
|
3305
3958
|
private canUseBrowserSpeech;
|
|
3306
3959
|
private cancelVoiceCapture;
|
|
@@ -3342,6 +3995,17 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3342
3995
|
private extractReceiptReasonItems;
|
|
3343
3996
|
protected renderMessageText(text: string | null | undefined): string;
|
|
3344
3997
|
protected hasStructuredAssistantContent(message: PraxisAssistantShellMessage): boolean;
|
|
3998
|
+
protected hasStreamingSurfaces(message: PraxisAssistantShellMessage): boolean;
|
|
3999
|
+
protected getAssistantContentSurfaces(message: PraxisAssistantShellMessage): readonly PraxisAssistantSurfaceSummary[];
|
|
4000
|
+
protected getVisibleAssistantSurfaces(message: PraxisAssistantShellMessage): readonly PraxisAssistantSurfaceSummary[];
|
|
4001
|
+
protected hasParagraphBlock(message: PraxisAssistantShellMessage): boolean;
|
|
4002
|
+
protected resolveSurfaceStatusLabel(status: PraxisAssistantSurfaceStatus): string;
|
|
4003
|
+
protected resolveSurfaceStatusIcon(status: PraxisAssistantSurfaceStatus): string;
|
|
4004
|
+
protected resolveSurfaceStatusClass(status: string | null | undefined): string;
|
|
4005
|
+
private normalizeAssistantSurfaceStatus;
|
|
4006
|
+
protected getSurfaceMetaHints(surface: PraxisAssistantSurfaceSummary): readonly string[];
|
|
4007
|
+
protected trackAssistantSurface(_index: number, surface: PraxisAssistantSurfaceSummary): string;
|
|
4008
|
+
protected resolveOperationalTitleFallback(): string;
|
|
3345
4009
|
protected getAssistantContentBlocks(message: PraxisAssistantShellMessage): readonly AssistantContentBlock[];
|
|
3346
4010
|
protected getAssistantContentBlockType(block: AssistantContentBlock): string;
|
|
3347
4011
|
protected getAssistantContentBlockTitle(block: AssistantContentBlock, fallback?: string): string;
|
|
@@ -3367,6 +4031,10 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3367
4031
|
protected onShellAction(action: PraxisAssistantShellAction): void;
|
|
3368
4032
|
protected getPrimaryAction(): PraxisAssistantShellAction;
|
|
3369
4033
|
protected getSecondaryActions(): readonly PraxisAssistantShellAction[];
|
|
4034
|
+
protected getComposerUtilityActions(): readonly PraxisAssistantShellAction[];
|
|
4035
|
+
protected getDecisionBarActions(): readonly PraxisAssistantShellAction[];
|
|
4036
|
+
protected isMinimalPrimarySubmit(action: PraxisAssistantShellAction): boolean;
|
|
4037
|
+
protected getPrimaryActionDisplayIcon(action: PraxisAssistantShellAction): string;
|
|
3370
4038
|
protected getPrimaryActionTooltip(action: PraxisAssistantShellAction): string;
|
|
3371
4039
|
protected isShellActionDisabled(action: PraxisAssistantShellAction): boolean;
|
|
3372
4040
|
protected getShellActionTone(action: PraxisAssistantShellAction): string;
|
|
@@ -3429,7 +4097,34 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3429
4097
|
protected getCloseIcon(): string;
|
|
3430
4098
|
protected getContextItemValue(item: PraxisAssistantShellContextItem): string;
|
|
3431
4099
|
private normalizeShellAction;
|
|
3432
|
-
protected onRemoveAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4100
|
+
protected onRemoveAttachment(attachment: PraxisAssistantShellAttachment, index?: number): void;
|
|
4101
|
+
protected onRetryAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4102
|
+
protected onPreviewAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4103
|
+
protected onPreviewMessageAttachment(attachment: PraxisAssistantAttachmentSummary): void;
|
|
4104
|
+
protected onDetachThreadAttachment(fileId: string, index?: number): void;
|
|
4105
|
+
protected isSafeThumbnailUrl(url?: string | null): boolean;
|
|
4106
|
+
protected getAttachmentThumbnailUrl(attachment: PraxisAssistantShellAttachment): string | null;
|
|
4107
|
+
protected isSafeEvidenceFileId(fileId?: string | null): boolean;
|
|
4108
|
+
protected resolveAttachmentLabel(key: AssistantAttachmentI18nKey, params?: Readonly<Record<string, string | number>>): string;
|
|
4109
|
+
protected getAttachmentVisualCategory(attachment: Pick<PraxisAssistantShellAttachment, 'mimeType' | 'name'> & {
|
|
4110
|
+
kind?: PraxisAssistantShellAttachment['kind'];
|
|
4111
|
+
}): 'image' | 'pdf' | 'spreadsheet' | 'document' | 'data' | 'file';
|
|
4112
|
+
protected getThreadAttachmentDescriptor(ref: OperationalAgentTurnAttachmentRef): Pick<PraxisAssistantShellAttachment, 'name' | 'mimeType'>;
|
|
4113
|
+
protected getTotalAttachmentsSizeLabel(): string;
|
|
4114
|
+
protected getAttachmentIcon(attachment: Pick<PraxisAssistantShellAttachment, 'mimeType' | 'name'> & {
|
|
4115
|
+
kind?: PraxisAssistantShellAttachment['kind'];
|
|
4116
|
+
}): string;
|
|
4117
|
+
protected getAttachmentKindLabel(attachment: Pick<PraxisAssistantShellAttachment, 'kind' | 'mimeType' | 'name'>): string;
|
|
4118
|
+
protected clampAttachmentProgress(value: number | undefined): number | null;
|
|
4119
|
+
protected getAttachmentStatusLabel(attachment: PraxisAssistantShellAttachment): string;
|
|
4120
|
+
protected getAttachmentRemoveAriaLabel(attachment: PraxisAssistantShellAttachment): string;
|
|
4121
|
+
protected formatAttachmentSize(sizeBytes: number | undefined): string;
|
|
4122
|
+
protected isSafeAttachmentPreviewHref(href: string | null | undefined): boolean;
|
|
4123
|
+
protected hasUploadingAttachments(): boolean;
|
|
4124
|
+
protected hasErroredAttachments(): boolean;
|
|
4125
|
+
protected hasReadyAttachments(): boolean;
|
|
4126
|
+
protected hasAttachmentSubmitBlocker(): boolean;
|
|
4127
|
+
protected getAttachmentSubmitBlockerText(): string;
|
|
3433
4128
|
protected onMessageAction(message: PraxisAssistantShellMessage, action: PraxisAssistantShellMessageAction): void;
|
|
3434
4129
|
protected canSendMessageFeedback(message: PraxisAssistantShellMessage): boolean;
|
|
3435
4130
|
protected isMessageFeedbackSubmitted(message: PraxisAssistantShellMessage): boolean;
|
|
@@ -3455,6 +4150,7 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3455
4150
|
private finishPointerSession;
|
|
3456
4151
|
private detachPointerListeners;
|
|
3457
4152
|
private resolveViewportBounds;
|
|
4153
|
+
private isSameLayout;
|
|
3458
4154
|
private normalizeLayout;
|
|
3459
4155
|
private clampLayout;
|
|
3460
4156
|
private clampToViewport;
|
|
@@ -3462,164 +4158,28 @@ declare class PraxisAiAssistantShellComponent implements AfterViewInit, OnChange
|
|
|
3462
4158
|
private clamp;
|
|
3463
4159
|
private scheduleConversationScroll;
|
|
3464
4160
|
private fileAttachment;
|
|
4161
|
+
private canTriggerPromptSubmit;
|
|
4162
|
+
private hasFileTransfer;
|
|
4163
|
+
private matchesAcceptFilter;
|
|
4164
|
+
private announceAttachmentLifecycleChanges;
|
|
3465
4165
|
private createAttachmentId;
|
|
3466
4166
|
private attachmentKind;
|
|
3467
4167
|
private revokeDetachedPastedPreviewUrls;
|
|
3468
4168
|
private revokeAllOwnedPreviewUrls;
|
|
4169
|
+
private syncResolvedLabels;
|
|
3469
4170
|
private revokeOwnedPreviewUrl;
|
|
4171
|
+
private syncAttachmentDisplayPreviewUrls;
|
|
4172
|
+
private revokeDisplayPreviewUrl;
|
|
4173
|
+
private revokeAllDisplayPreviewUrls;
|
|
4174
|
+
private resetDragState;
|
|
4175
|
+
private clearAttachmentRejectionTimer;
|
|
4176
|
+
private clearAttachmentRejection;
|
|
4177
|
+
private setAttachmentRejection;
|
|
4178
|
+
private collectClipboardFiles;
|
|
3470
4179
|
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; }; "
|
|
4180
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAiAssistantShellComponent, "praxis-ai-assistant-shell", never, { "labels": { "alias": "labels"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "state": { "alias": "state"; "required": false; }; "contextItems": { "alias": "contextItems"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; "threadAttachments": { "alias": "threadAttachments"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; "quickReplies": { "alias": "quickReplies"; "required": false; }; "recommendedIntents": { "alias": "recommendedIntents"; "required": false; }; "prompt": { "alias": "prompt"; "required": false; }; "statusText": { "alias": "statusText"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "testIdPrefix": { "alias": "testIdPrefix"; "required": false; }; "panelTestId": { "alias": "panelTestId"; "required": false; }; "submitTestId": { "alias": "submitTestId"; "required": false; }; "applyTestId": { "alias": "applyTestId"; "required": false; }; "primaryAction": { "alias": "primaryAction"; "required": false; }; "secondaryActions": { "alias": "secondaryActions"; "required": false; }; "governanceActions": { "alias": "governanceActions"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "canSubmit": { "alias": "canSubmit"; "required": false; }; "canApply": { "alias": "canApply"; "required": false; }; "preview": { "alias": "preview"; "required": false; }; "submitOnEnter": { "alias": "submitOnEnter"; "required": false; }; "showAttachAction": { "alias": "showAttachAction"; "required": false; }; "enableFileAttachments": { "alias": "enableFileAttachments"; "required": false; }; "enablePastedAttachments": { "alias": "enablePastedAttachments"; "required": false; }; "allowAttachmentOnlySubmit": { "alias": "allowAttachmentOnlySubmit"; "required": false; }; "enableAuthenticatedPreview": { "alias": "enableAuthenticatedPreview"; "required": false; }; "attachmentAccept": { "alias": "attachmentAccept"; "required": false; }; "attachmentMultiple": { "alias": "attachmentMultiple"; "required": false; }; "voiceInputMode": { "alias": "voiceInputMode"; "required": false; }; "voiceLanguage": { "alias": "voiceLanguage"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "showMinimize": { "alias": "showMinimize"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, { "promptChange": "promptChange"; "submitPrompt": "submitPrompt"; "apply": "apply"; "retryTurn": "retryTurn"; "cancelTurn": "cancelTurn"; "shellAction": "shellAction"; "minimize": "minimize"; "close": "close"; "attach": "attach"; "attachmentsPasted": "attachmentsPasted"; "attachmentsSelected": "attachmentsSelected"; "attachmentsDropped": "attachmentsDropped"; "removeAttachment": "removeAttachment"; "retryAttachment": "retryAttachment"; "previewAttachment": "previewAttachment"; "detachThreadAttachment": "detachThreadAttachment"; "previewMessageAttachment": "previewMessageAttachment"; "messageAction": "messageAction"; "editMessage": "editMessage"; "resendMessage": "resendMessage"; "quickReply": "quickReply"; "recommendedIntent": "recommendedIntent"; "blockAction": "blockAction"; "layoutChange": "layoutChange"; }, never, never, true, never>;
|
|
3472
4181
|
}
|
|
3473
4182
|
|
|
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
4183
|
interface FallbackRecordSummaryField {
|
|
3624
4184
|
readonly id: string;
|
|
3625
4185
|
readonly label: string;
|
|
@@ -3648,19 +4208,28 @@ interface ProvenanceKeyValueEntry {
|
|
|
3648
4208
|
}
|
|
3649
4209
|
declare class PraxisAssistantOperationalBlockComponent {
|
|
3650
4210
|
private readonly i18n;
|
|
4211
|
+
private readonly cdr;
|
|
3651
4212
|
private readonly metadataRegistry;
|
|
3652
4213
|
private readonly destroyRef;
|
|
3653
4214
|
private readonly hostElementRef;
|
|
4215
|
+
private readonly injector;
|
|
3654
4216
|
readonly block: _angular_core.InputSignal<Readonly<Record<string, unknown>>>;
|
|
4217
|
+
readonly messageBlocks: _angular_core.InputSignal<readonly Readonly<Record<string, unknown>>[]>;
|
|
3655
4218
|
readonly testIdPrefix: _angular_core.InputSignal<string>;
|
|
4219
|
+
readonly enableAuthenticatedPreview: _angular_core.InputSignal<boolean>;
|
|
4220
|
+
readonly shellBusy: _angular_core.InputSignal<boolean>;
|
|
3656
4221
|
readonly blockAction: _angular_core.OutputEmitterRef<PraxisAssistantOperationalBlockActionEvent>;
|
|
3657
4222
|
private readonly nowMs;
|
|
3658
4223
|
private readonly inFlightProposalIds;
|
|
3659
4224
|
protected readonly copiedHashKey: _angular_core.WritableSignal<string | null>;
|
|
4225
|
+
protected readonly copiedHashErrorKey: _angular_core.WritableSignal<string | null>;
|
|
4226
|
+
protected readonly rejectingProposalId: _angular_core.WritableSignal<string | null>;
|
|
4227
|
+
protected readonly rejectReasonDraft: _angular_core.WritableSignal<string>;
|
|
3660
4228
|
private pendingFocusProposalId;
|
|
3661
4229
|
private copyFeedbackTimer;
|
|
3662
4230
|
constructor();
|
|
3663
4231
|
protected readonly blockType: _angular_core.Signal<string>;
|
|
4232
|
+
protected readonly documentEvidenceBlock: _angular_core.Signal<PraxisAssistantDocumentEvidenceBlock | null>;
|
|
3664
4233
|
protected readonly epistemicBadgeBlock: _angular_core.Signal<PraxisAssistantEpistemicBadgeBlock | null>;
|
|
3665
4234
|
protected readonly alertListBlock: _angular_core.Signal<PraxisAssistantOperationalAlertListBlock | null>;
|
|
3666
4235
|
protected readonly widgetBlock: _angular_core.Signal<PraxisAssistantOperationalWidgetBlock | null>;
|
|
@@ -3721,9 +4290,28 @@ declare class PraxisAssistantOperationalBlockComponent {
|
|
|
3721
4290
|
private markProposalInFlight;
|
|
3722
4291
|
protected onConfirmActionProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
3723
4292
|
protected onOpenProposalForm(proposal: PraxisAssistantActionProposalItem): void;
|
|
3724
|
-
protected
|
|
4293
|
+
protected onRejectButtonClick(proposal: PraxisAssistantActionProposalItem): void;
|
|
4294
|
+
protected onRejectReasonInput(event: Event): void;
|
|
4295
|
+
protected onRejectInputEscape(event: Event, proposalId: string): void;
|
|
4296
|
+
protected onConfirmRejectWithReason(proposal: PraxisAssistantActionProposalItem): void;
|
|
4297
|
+
protected onCancelRejectReason(proposalId?: string): void;
|
|
4298
|
+
protected onRejectActionProposal(proposal: PraxisAssistantActionProposalItem, reason?: string): void;
|
|
4299
|
+
protected onRefreshActionProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
4300
|
+
protected onPreviewDocumentEvidence(doc: PraxisAssistantDocumentEvidenceBlock): void;
|
|
4301
|
+
protected onPreviewSourceAttachment(fileId: string): void;
|
|
4302
|
+
protected normalizedDocumentEvidenceStatus(status?: string): string;
|
|
4303
|
+
protected resolveSourceAttachmentTitle(fileId: string): string;
|
|
4304
|
+
protected resolvePrerequisiteLabel(items: readonly PraxisAssistantActionProposalItem[], dependsOnProposalId?: string): string;
|
|
4305
|
+
protected isSafeEvidenceFileId(fileId?: string | null): boolean;
|
|
4306
|
+
private findSiblingDocumentEvidence;
|
|
3725
4307
|
protected onRevalidateStaleProposal(proposal: PraxisAssistantActionProposalItem): void;
|
|
3726
4308
|
protected proposalStatusLabel(status?: string): string;
|
|
4309
|
+
protected isFourEyesProposal(item: PraxisAssistantActionProposalItem): boolean;
|
|
4310
|
+
protected documentExtractionModeLabel(mode?: string): string;
|
|
4311
|
+
protected documentClassificationLabel(classification?: string): string;
|
|
4312
|
+
protected documentVerificationStatusLabel(status?: string): string;
|
|
4313
|
+
protected documentVerificationSeverity(status?: string): 'ok' | 'warn' | 'danger';
|
|
4314
|
+
protected shortChecksum(checksum?: string): string;
|
|
3727
4315
|
protected proposalRiskLabel(risk?: string): string;
|
|
3728
4316
|
protected shortVersionTag(tag?: string): string;
|
|
3729
4317
|
protected prefillEntries(item: PraxisAssistantActionProposalItem): readonly {
|
|
@@ -3749,9 +4337,12 @@ declare class PraxisAssistantOperationalBlockComponent {
|
|
|
3749
4337
|
protected formatMad(mad: number): string;
|
|
3750
4338
|
protected formatExposureAmount(value: number | string): string;
|
|
3751
4339
|
protected formatNigriniConformity(value: string): string;
|
|
3752
|
-
protected copyHashToken(tokenKey: string, value?: string): void
|
|
4340
|
+
protected copyHashToken(tokenKey: string, value?: string): Promise<void>;
|
|
3753
4341
|
private fallbackLegacyCopy;
|
|
3754
4342
|
private toProvenanceEntries;
|
|
4343
|
+
protected canPrepareCounterfactualProposal(block: PraxisAssistantCounterfactualRecourseBlock, candidate: PraxisAssistantCounterfactualCandidate): boolean;
|
|
4344
|
+
protected canTriggerCounterfactualAction(block: PraxisAssistantCounterfactualRecourseBlock, candidate: PraxisAssistantCounterfactualCandidate): boolean;
|
|
4345
|
+
protected counterfactualActionLabel(block: PraxisAssistantCounterfactualRecourseBlock, candidate: PraxisAssistantCounterfactualCandidate): string;
|
|
3755
4346
|
protected onCounterfactualSuggestedAction(block: PraxisAssistantCounterfactualRecourseBlock, candidate: PraxisAssistantCounterfactualCandidate): void;
|
|
3756
4347
|
protected counterfactualDirectionLabel(direction: string): string;
|
|
3757
4348
|
protected formatCounterfactualNumber(value: number, maxDigits?: number): string;
|
|
@@ -3761,14 +4352,28 @@ declare class PraxisAssistantOperationalBlockComponent {
|
|
|
3761
4352
|
private firstNonEmptyString;
|
|
3762
4353
|
private normalizePrimitiveDeltaValue;
|
|
3763
4354
|
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>;
|
|
4355
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAssistantOperationalBlockComponent, "praxis-ai-assistant-operational-block", never, { "block": { "alias": "block"; "required": true; "isSignal": true; }; "messageBlocks": { "alias": "messageBlocks"; "required": false; "isSignal": true; }; "testIdPrefix": { "alias": "testIdPrefix"; "required": false; "isSignal": true; }; "enableAuthenticatedPreview": { "alias": "enableAuthenticatedPreview"; "required": false; "isSignal": true; }; "shellBusy": { "alias": "shellBusy"; "required": false; "isSignal": true; }; }, { "blockAction": "blockAction"; }, never, never, true, never>;
|
|
3765
4356
|
}
|
|
3766
4357
|
|
|
4358
|
+
declare const DEFAULT_WORKSPACE_ASSISTANT_ATTACHMENT_ACCEPT = ".pdf,.docx,.xlsx,.csv,.json,.txt,.md,image/png,image/jpeg,image/webp,application/pdf";
|
|
4359
|
+
interface PraxisWorkspaceAssistantAttachmentsConfig {
|
|
4360
|
+
readonly enabled: boolean;
|
|
4361
|
+
readonly accept?: string;
|
|
4362
|
+
readonly multiple?: boolean;
|
|
4363
|
+
readonly maxAttachments?: number;
|
|
4364
|
+
readonly maxFileSizeBytes?: number;
|
|
4365
|
+
readonly filesBaseUrl?: string;
|
|
4366
|
+
readonly enablePastedAttachments?: boolean;
|
|
4367
|
+
readonly allowAttachmentOnlySubmit?: boolean;
|
|
4368
|
+
}
|
|
3767
4369
|
declare const PRAXIS_ASSISTANT_VOICE_INPUT_MODE: InjectionToken<PraxisAssistantVoiceInputMode>;
|
|
3768
4370
|
declare const PRAXIS_ASSISTANT_VOICE_LANGUAGE: InjectionToken<string>;
|
|
4371
|
+
declare const PRAXIS_WORKSPACE_ASSISTANT_ATTACHMENTS_CONFIG: InjectionToken<PraxisWorkspaceAssistantAttachmentsConfig>;
|
|
4372
|
+
declare function providePraxisWorkspaceAssistantAttachments(config?: Partial<PraxisWorkspaceAssistantAttachmentsConfig>): Provider;
|
|
3769
4373
|
|
|
3770
4374
|
type PraxisAssistantDockTone = 'ready' | 'working' | 'review' | 'governed' | 'error';
|
|
3771
4375
|
declare class PraxisAiAssistantDockComponent {
|
|
4376
|
+
private readonly i18n;
|
|
3772
4377
|
title: string;
|
|
3773
4378
|
summary: string;
|
|
3774
4379
|
badge: string;
|
|
@@ -3778,37 +4383,64 @@ declare class PraxisAiAssistantDockComponent {
|
|
|
3778
4383
|
ariaLabel: string;
|
|
3779
4384
|
openAriaLabel: string;
|
|
3780
4385
|
openTooltip: string;
|
|
4386
|
+
showClose: boolean;
|
|
4387
|
+
closeAriaLabel: string;
|
|
4388
|
+
closeTooltip: string;
|
|
3781
4389
|
testId: string;
|
|
3782
4390
|
openTestId: string;
|
|
4391
|
+
closeTestId: string;
|
|
3783
4392
|
open: EventEmitter<void>;
|
|
4393
|
+
close: EventEmitter<void>;
|
|
4394
|
+
onCloseClick(event: MouseEvent): void;
|
|
4395
|
+
resolvedTitle(): string;
|
|
4396
|
+
resolvedSummary(): string;
|
|
4397
|
+
resolvedAriaLabel(): string;
|
|
4398
|
+
resolvedOpenAriaLabel(): string;
|
|
4399
|
+
resolvedOpenTooltip(): string;
|
|
4400
|
+
resolvedCloseAriaLabel(): string;
|
|
4401
|
+
resolvedCloseTooltip(): string;
|
|
3784
4402
|
resolvedTone(): PraxisAssistantDockTone;
|
|
3785
4403
|
resolvedIcon(): string;
|
|
3786
4404
|
resolvedBadge(): string;
|
|
4405
|
+
private resolveText;
|
|
3787
4406
|
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>;
|
|
4407
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAiAssistantDockComponent, "praxis-ai-assistant-dock", never, { "title": { "alias": "title"; "required": false; }; "summary": { "alias": "summary"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "state": { "alias": "state"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "openAriaLabel": { "alias": "openAriaLabel"; "required": false; }; "openTooltip": { "alias": "openTooltip"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "closeAriaLabel": { "alias": "closeAriaLabel"; "required": false; }; "closeTooltip": { "alias": "closeTooltip"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "openTestId": { "alias": "openTestId"; "required": false; }; "closeTestId": { "alias": "closeTestId"; "required": false; }; }, { "open": "open"; "close": "close"; }, never, never, true, never>;
|
|
4408
|
+
static ngAcceptInputType_showClose: unknown;
|
|
3789
4409
|
}
|
|
3790
4410
|
|
|
3791
4411
|
declare class PraxisAiAssistantSessionHostComponent {
|
|
3792
4412
|
private readonly registry;
|
|
4413
|
+
private readonly i18n;
|
|
3793
4414
|
testId: string;
|
|
3794
4415
|
dockTestIdPrefix: string;
|
|
3795
4416
|
ariaLabel: string;
|
|
3796
4417
|
openAriaLabel: string;
|
|
3797
4418
|
openTooltip: string;
|
|
4419
|
+
closeAriaLabel: string;
|
|
4420
|
+
closeTooltip: string;
|
|
3798
4421
|
ownerType: string | null;
|
|
3799
4422
|
ownerId: string | null;
|
|
3800
4423
|
visibility: PraxisAssistantSessionVisibility | 'all';
|
|
3801
4424
|
includeOriginAnchored: boolean;
|
|
3802
4425
|
sessionOpen: EventEmitter<PraxisAssistantSessionSnapshot>;
|
|
4426
|
+
sessionClose: EventEmitter<PraxisAssistantSessionSnapshot>;
|
|
3803
4427
|
visibleSessions(): readonly PraxisAssistantSessionSnapshot[];
|
|
3804
4428
|
openSession(sessionId: string): void;
|
|
4429
|
+
closeSession(sessionId: string): void;
|
|
4430
|
+
resolvedAriaLabel(): string;
|
|
4431
|
+
resolvedOpenAriaLabel(): string;
|
|
4432
|
+
resolvedOpenTooltip(): string;
|
|
4433
|
+
resolvedCloseAriaLabel(): string;
|
|
4434
|
+
resolvedCloseTooltip(): string;
|
|
4435
|
+
private resolveText;
|
|
3805
4436
|
sessionAriaLabel(session: PraxisAssistantSessionSnapshot): string;
|
|
3806
4437
|
dockTestId(session: PraxisAssistantSessionSnapshot, first: boolean): string;
|
|
3807
4438
|
dockOpenTestId(session: PraxisAssistantSessionSnapshot, first: boolean): string;
|
|
4439
|
+
dockCloseTestId(session: PraxisAssistantSessionSnapshot, first: boolean): string;
|
|
3808
4440
|
trackSession(_index: number, session: PraxisAssistantSessionSnapshot): string;
|
|
3809
4441
|
private safeId;
|
|
3810
4442
|
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>;
|
|
4443
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAiAssistantSessionHostComponent, "praxis-ai-assistant-session-host", never, { "testId": { "alias": "testId"; "required": false; }; "dockTestIdPrefix": { "alias": "dockTestIdPrefix"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "openAriaLabel": { "alias": "openAriaLabel"; "required": false; }; "openTooltip": { "alias": "openTooltip"; "required": false; }; "closeAriaLabel": { "alias": "closeAriaLabel"; "required": false; }; "closeTooltip": { "alias": "closeTooltip"; "required": false; }; "ownerType": { "alias": "ownerType"; "required": false; }; "ownerId": { "alias": "ownerId"; "required": false; }; "visibility": { "alias": "visibility"; "required": false; }; "includeOriginAnchored": { "alias": "includeOriginAnchored"; "required": false; }; }, { "sessionOpen": "sessionOpen"; "sessionClose": "sessionClose"; }, never, never, true, never>;
|
|
3812
4444
|
static ngAcceptInputType_includeOriginAnchored: unknown;
|
|
3813
4445
|
}
|
|
3814
4446
|
|
|
@@ -3881,6 +4513,10 @@ type WorkspaceAssistantDispatchedAction = {
|
|
|
3881
4513
|
readonly entityKey: string;
|
|
3882
4514
|
readonly entityId: string;
|
|
3883
4515
|
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
4516
|
+
} | {
|
|
4517
|
+
readonly kind: 'proposal-prepared';
|
|
4518
|
+
readonly proposal: PraxisAssistantActionProposalItem;
|
|
4519
|
+
readonly sourceEvent: PraxisAssistantOperationalBlockActionEvent;
|
|
3884
4520
|
};
|
|
3885
4521
|
interface WorkspaceAssistantRouterAdapter {
|
|
3886
4522
|
readonly url?: string;
|
|
@@ -3897,6 +4533,14 @@ interface PraxisWorkspaceAssistantOptions {
|
|
|
3897
4533
|
readonly recommendedIntents?: readonly PraxisAssistantRecommendedIntent[];
|
|
3898
4534
|
readonly provider?: string;
|
|
3899
4535
|
readonly model?: string;
|
|
4536
|
+
readonly enableFileAttachments?: boolean;
|
|
4537
|
+
readonly enablePastedAttachments?: boolean;
|
|
4538
|
+
readonly allowAttachmentOnlySubmit?: boolean;
|
|
4539
|
+
readonly attachmentAccept?: string;
|
|
4540
|
+
readonly attachmentMultiple?: boolean;
|
|
4541
|
+
readonly maxAttachments?: number;
|
|
4542
|
+
readonly maxFileSizeBytes?: number;
|
|
4543
|
+
readonly filesBaseUrl?: string;
|
|
3900
4544
|
readonly getCurrentUrl?: () => string;
|
|
3901
4545
|
readonly resolveRouteContext?: (url: string) => WorkspaceAssistantRouteContext | null;
|
|
3902
4546
|
readonly isReadyToSend?: () => boolean;
|
|
@@ -3931,6 +4575,9 @@ declare class WorkspaceAssistantOrchestratorService implements PraxisOperational
|
|
|
3931
4575
|
private readonly workspaceContext;
|
|
3932
4576
|
private readonly observationRegistry;
|
|
3933
4577
|
private readonly bulkProposalBridge;
|
|
4578
|
+
private readonly fileUploadPort;
|
|
4579
|
+
private readonly safeBlobPreview;
|
|
4580
|
+
private readonly attachmentsConfig;
|
|
3934
4581
|
private readonly i18n;
|
|
3935
4582
|
private readonly injectedOptions;
|
|
3936
4583
|
private readonly optionsSignal;
|
|
@@ -3939,13 +4586,40 @@ declare class WorkspaceAssistantOrchestratorService implements PraxisOperational
|
|
|
3939
4586
|
readonly activeContextualFocus: _angular_core.Signal<PraxisAssistantContextualLaunchRequest | null>;
|
|
3940
4587
|
private readonly runtimeSnapshotTick;
|
|
3941
4588
|
private readonly blockDispatchSubject;
|
|
4589
|
+
private readonly draftAttachmentsSignal;
|
|
4590
|
+
private readonly activeThreadAttachmentsSignal;
|
|
4591
|
+
private readonly pendingDetachedAttachmentIdsSignal;
|
|
4592
|
+
private readonly remoteFileConfigSignal;
|
|
4593
|
+
private readonly remoteFileConfigCache;
|
|
4594
|
+
private readonly remoteFileConfigInFlight;
|
|
4595
|
+
private readonly activeUploadSubscriptions;
|
|
4596
|
+
private readonly draftCapturedHeaders;
|
|
4597
|
+
private readonly ownedPreviewBlobUrls;
|
|
4598
|
+
private readonly previewBusyFileIds;
|
|
4599
|
+
private readonly liveSurfacesById;
|
|
4600
|
+
private readonly liveSurfacesSignal;
|
|
4601
|
+
private readonly inFlightCounterfactualKeys;
|
|
3942
4602
|
private activeTurnSubscription;
|
|
3943
4603
|
private activeStreamId;
|
|
4604
|
+
private activeTurnCapturedHeaders;
|
|
3944
4605
|
private fallbackRouterAdapter;
|
|
3945
4606
|
private activeStreamAccessToken;
|
|
4607
|
+
private lastServerTurnId;
|
|
3946
4608
|
private lastUserPrompt;
|
|
4609
|
+
private lastUserAttachmentRefs;
|
|
4610
|
+
private lastUserAttachmentSummaries;
|
|
4611
|
+
private inFlightTurnDrafts;
|
|
4612
|
+
private inFlightDetachedAttachmentIds;
|
|
4613
|
+
private inFlightUserMessageId;
|
|
4614
|
+
private inFlightAssistantMessageId;
|
|
4615
|
+
private inFlightFromComposer;
|
|
4616
|
+
private lastRuntimeIdentityKey;
|
|
4617
|
+
private lastNonNullRuntimeIdentityKey;
|
|
4618
|
+
private sessionEpoch;
|
|
4619
|
+
private activeTurnGeneration;
|
|
3947
4620
|
private messageCounter;
|
|
3948
4621
|
readonly open: _angular_core.WritableSignal<boolean>;
|
|
4622
|
+
readonly dockDismissed: _angular_core.WritableSignal<boolean>;
|
|
3949
4623
|
readonly mode: _angular_core.WritableSignal<PraxisAssistantShellMode>;
|
|
3950
4624
|
readonly state: _angular_core.WritableSignal<PraxisAssistantShellState>;
|
|
3951
4625
|
readonly prompt: _angular_core.WritableSignal<string>;
|
|
@@ -3958,6 +4632,19 @@ declare class WorkspaceAssistantOrchestratorService implements PraxisOperational
|
|
|
3958
4632
|
readonly lastFocusedEntity: _angular_core.WritableSignal<WorkspaceAssistantFocusedEntity | null>;
|
|
3959
4633
|
readonly aiGrounding: _angular_core.WritableSignal<AiContextDTO | null>;
|
|
3960
4634
|
readonly runtimeObservations: _angular_core.WritableSignal<readonly PraxisRuntimeComponentObservationEnvelope[]>;
|
|
4635
|
+
readonly draftAttachments: _angular_core.Signal<readonly PraxisAssistantShellAttachment[]>;
|
|
4636
|
+
readonly activeThreadAttachments: _angular_core.Signal<readonly OperationalAgentTurnAttachmentRef[]>;
|
|
4637
|
+
readonly pendingDetachedAttachmentIds: _angular_core.Signal<readonly string[]>;
|
|
4638
|
+
readonly activeTurnSurfaces: _angular_core.Signal<readonly PraxisAssistantSurfaceState[]>;
|
|
4639
|
+
readonly attachmentsEnabled: _angular_core.Signal<boolean>;
|
|
4640
|
+
readonly hasBlobPreviewSupport: _angular_core.Signal<boolean>;
|
|
4641
|
+
readonly attachmentAccept: _angular_core.Signal<string>;
|
|
4642
|
+
readonly attachmentMultiple: _angular_core.Signal<boolean>;
|
|
4643
|
+
readonly enablePastedAttachments: _angular_core.Signal<boolean>;
|
|
4644
|
+
readonly allowAttachmentOnlySubmit: _angular_core.Signal<boolean>;
|
|
4645
|
+
readonly hasUploadingAttachments: _angular_core.Signal<boolean>;
|
|
4646
|
+
readonly hasErroredAttachments: _angular_core.Signal<boolean>;
|
|
4647
|
+
readonly hasReadyAttachments: _angular_core.Signal<boolean>;
|
|
3961
4648
|
readonly blockActionDispatched$: rxjs.Observable<WorkspaceAssistantDispatchedAction>;
|
|
3962
4649
|
readonly canRunAuthoringTurns: _angular_core.Signal<boolean>;
|
|
3963
4650
|
readonly busy: _angular_core.Signal<boolean>;
|
|
@@ -3975,6 +4662,7 @@ declare class WorkspaceAssistantOrchestratorService implements PraxisOperational
|
|
|
3975
4662
|
registerFallbackRouter(adapter: WorkspaceAssistantRouterAdapter): void;
|
|
3976
4663
|
setRouteContext(context: WorkspaceAssistantRouteContext | null): void;
|
|
3977
4664
|
openPanel(): void;
|
|
4665
|
+
minimizePanel(): void;
|
|
3978
4666
|
closePanel(): void;
|
|
3979
4667
|
togglePanel(): void;
|
|
3980
4668
|
setOpen(nextOpen: boolean): void;
|
|
@@ -3987,8 +4675,21 @@ declare class WorkspaceAssistantOrchestratorService implements PraxisOperational
|
|
|
3987
4675
|
* without leaking raw transport errors into the shell UI.
|
|
3988
4676
|
*/
|
|
3989
4677
|
refreshGrounding(componentId?: string | null, componentType?: string | null): Promise<AiContextDTO | null>;
|
|
3990
|
-
|
|
3991
|
-
|
|
4678
|
+
addDraftAttachments(incoming: readonly PraxisAssistantShellAttachment[]): void;
|
|
4679
|
+
retryDraftAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4680
|
+
removeDraftAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4681
|
+
detachThreadAttachment(fileId: string): void;
|
|
4682
|
+
previewDraftAttachment(attachment: PraxisAssistantShellAttachment): void;
|
|
4683
|
+
previewEvidenceFile(fileId: string, displayName?: string, mimeTypeHint?: string): void;
|
|
4684
|
+
private previewFileById;
|
|
4685
|
+
private clearIdleDraftAttachments;
|
|
4686
|
+
abortAllUploadsAndCleanStagedDrafts(): void;
|
|
4687
|
+
submitPrompt(overridePrompt?: string, submitOptions?: {
|
|
4688
|
+
readonly includeComposerDrafts?: boolean;
|
|
4689
|
+
readonly fromComposer?: boolean;
|
|
4690
|
+
}): Promise<void>;
|
|
4691
|
+
private executeTurnSubmission;
|
|
4692
|
+
cancelActiveTurn(emitMessage?: boolean, restoreDrafts?: boolean): void;
|
|
3992
4693
|
retryLastTurn(): Promise<void>;
|
|
3993
4694
|
/**
|
|
3994
4695
|
* Delegates agentic authoring turns through `AgenticAuthoringTurnClientService` while
|
|
@@ -4001,20 +4702,44 @@ declare class WorkspaceAssistantOrchestratorService implements PraxisOperational
|
|
|
4001
4702
|
handleBlockAction(event: PraxisAssistantOperationalBlockActionEvent): void;
|
|
4002
4703
|
private reviewBulkProposal;
|
|
4003
4704
|
completeProposalViaForm(proposalId: string, request?: OperationalAgentProposalExternalCompletionRequest): Promise<OperationalAgentProposalConfirmResponse | null>;
|
|
4705
|
+
refreshProposalStatus(proposalId: string): Promise<void>;
|
|
4004
4706
|
private confirmProposal;
|
|
4005
4707
|
private rejectProposal;
|
|
4006
4708
|
private revalidateProposal;
|
|
4007
4709
|
private applyProposalHttpError;
|
|
4710
|
+
private applyDependentUpdatesFromErrorBody;
|
|
4008
4711
|
private updateProposalItem;
|
|
4009
4712
|
private dispatchAlertSuggestedAction;
|
|
4010
4713
|
private dispatchCounterfactualSuggestedAction;
|
|
4714
|
+
private prepareProposalFromCounterfactual;
|
|
4715
|
+
private mapProposalDetailToItem;
|
|
4011
4716
|
private dispatchActionAffordance;
|
|
4012
4717
|
private dispatchNavigate;
|
|
4013
4718
|
private dispatchOpenSurface;
|
|
4014
4719
|
private handleStreamEvent;
|
|
4720
|
+
private applyIncrementalSurfaceEvent;
|
|
4721
|
+
private clearLiveSurfaces;
|
|
4015
4722
|
private updateFocusedEntityFromResult;
|
|
4016
4723
|
private updateQuickRepliesFromResult;
|
|
4017
4724
|
private buildTurnRequest;
|
|
4725
|
+
private resolveFilesBaseUrl;
|
|
4726
|
+
private startUploadForDraft;
|
|
4727
|
+
private updateDraftAttachment;
|
|
4728
|
+
private revokePreviewBlobUrlForFileId;
|
|
4729
|
+
private revokeAllPreviewBlobUrls;
|
|
4730
|
+
private handleRuntimeIdentitySwitch;
|
|
4731
|
+
private clearInFlightDraftHeaders;
|
|
4732
|
+
private applyDependentProposalUpdates;
|
|
4733
|
+
private applySingleDependentProposalUpdate;
|
|
4734
|
+
private promoteDependentProposals;
|
|
4735
|
+
private cascadeBlockDependentProposals;
|
|
4736
|
+
private findProposalItem;
|
|
4737
|
+
private syncThreadAttachmentsFromPayload;
|
|
4738
|
+
private resolveEffectiveMaxFileSizeBytes;
|
|
4739
|
+
private ensureRemoteFileConfigLoaded;
|
|
4740
|
+
private captureCurrentContextHeaders;
|
|
4741
|
+
private resolveFileOperationOptions;
|
|
4742
|
+
private resolveDocumentStageStatusText;
|
|
4018
4743
|
private resolveCurrentRouteContext;
|
|
4019
4744
|
private collectRuntimeObservations;
|
|
4020
4745
|
private applyScopePrefillToWorkspaceContext;
|
|
@@ -4037,6 +4762,7 @@ declare class PraxisWorkspaceAssistantComponent {
|
|
|
4037
4762
|
private readonly i18n;
|
|
4038
4763
|
private readonly destroyRef;
|
|
4039
4764
|
readonly showDock: _angular_core.InputSignal<boolean>;
|
|
4765
|
+
readonly allowDismissDock: _angular_core.InputSignal<boolean>;
|
|
4040
4766
|
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
4041
4767
|
readonly subtitle: _angular_core.InputSignal<string | undefined>;
|
|
4042
4768
|
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
@@ -4049,6 +4775,12 @@ declare class PraxisWorkspaceAssistantComponent {
|
|
|
4049
4775
|
readonly componentId: _angular_core.InputSignal<string | null | undefined>;
|
|
4050
4776
|
readonly componentType: _angular_core.InputSignal<string | null | undefined>;
|
|
4051
4777
|
readonly assistantOptions: _angular_core.InputSignal<Partial<PraxisWorkspaceAssistantOptions> | null | undefined>;
|
|
4778
|
+
readonly layout: _angular_core.InputSignal<PraxisAssistantShellLayout | undefined>;
|
|
4779
|
+
private readonly userLayout;
|
|
4780
|
+
private hasSeenInitialLayoutInput;
|
|
4781
|
+
private previousLayoutInput;
|
|
4782
|
+
readonly effectiveLayout: _angular_core.Signal<PraxisAssistantShellLayout | undefined>;
|
|
4783
|
+
readonly resolvedLayout: _angular_core.Signal<PraxisAssistantShellLayout>;
|
|
4052
4784
|
readonly openChange: _angular_core.OutputEmitterRef<boolean>;
|
|
4053
4785
|
readonly blockActionDispatched: _angular_core.OutputEmitterRef<WorkspaceAssistantDispatchedAction>;
|
|
4054
4786
|
readonly blockActionRaw: _angular_core.OutputEmitterRef<PraxisAssistantOperationalBlockActionEvent>;
|
|
@@ -4059,18 +4791,22 @@ declare class PraxisWorkspaceAssistantComponent {
|
|
|
4059
4791
|
landmarkAriaLabel(): string;
|
|
4060
4792
|
dockAriaLabel(): string;
|
|
4061
4793
|
dockTooltip(): string;
|
|
4794
|
+
dockCloseAriaLabel(): string;
|
|
4795
|
+
dockCloseTooltip(): string;
|
|
4062
4796
|
readonly resolvedMode: _angular_core.Signal<PraxisAssistantShellMode>;
|
|
4063
4797
|
readonly dockTone: _angular_core.Signal<PraxisAssistantDockTone>;
|
|
4064
4798
|
readonly mergedLabels: _angular_core.Signal<Partial<PraxisAssistantShellLabels>>;
|
|
4065
4799
|
constructor();
|
|
4800
|
+
onLayoutChange(layout: PraxisAssistantShellLayout): void;
|
|
4066
4801
|
onOpenPanel(): void;
|
|
4802
|
+
onMinimizePanel(): void;
|
|
4067
4803
|
onClosePanel(): void;
|
|
4068
4804
|
onShellAction(action: PraxisAssistantShellAction): void;
|
|
4069
4805
|
onQuickReply(reply: PraxisAssistantShellQuickReply): void;
|
|
4070
4806
|
onRecommendedIntent(intent: PraxisAssistantRecommendedIntent): void;
|
|
4071
4807
|
onBlockAction(event: PraxisAssistantOperationalBlockActionEvent): void;
|
|
4072
4808
|
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>;
|
|
4809
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisWorkspaceAssistantComponent, "praxis-workspace-assistant", never, { "showDock": { "alias": "showDock"; "required": false; "isSignal": true; }; "allowDismissDock": { "alias": "allowDismissDock"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "dockTestId": { "alias": "dockTestId"; "required": false; "isSignal": true; }; "shellTestIdPrefix": { "alias": "shellTestIdPrefix"; "required": false; "isSignal": true; }; "routeContext": { "alias": "routeContext"; "required": false; "isSignal": true; }; "componentId": { "alias": "componentId"; "required": false; "isSignal": true; }; "componentType": { "alias": "componentType"; "required": false; "isSignal": true; }; "assistantOptions": { "alias": "assistantOptions"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; "blockActionDispatched": "blockActionDispatched"; "blockActionRaw": "blockActionRaw"; "openSurface": "openSurface"; "applyFilter": "applyFilter"; "runAction": "runAction"; "navigateRequested": "navigateRequested"; }, never, never, true, never>;
|
|
4074
4810
|
}
|
|
4075
4811
|
|
|
4076
4812
|
declare const WORKSPACE_ASSISTANT_PT_BR: {
|
|
@@ -4086,6 +4822,8 @@ declare const WORKSPACE_ASSISTANT_PT_BR: {
|
|
|
4086
4822
|
readonly dockBadgeError: "Atenção";
|
|
4087
4823
|
readonly dockAria: "Abrir assistente operacional do workspace";
|
|
4088
4824
|
readonly dockOpenTooltip: "Abrir painel do assistente operacional";
|
|
4825
|
+
readonly dockCloseAria: "Fechar assistente operacional";
|
|
4826
|
+
readonly dockCloseTooltip: "Fechar assistente";
|
|
4089
4827
|
readonly resetAction: "Nova conversa";
|
|
4090
4828
|
readonly clearFocusAction: "Limpar foco";
|
|
4091
4829
|
readonly contextTenantLabel: "Tenant";
|
|
@@ -4101,6 +4839,41 @@ declare const WORKSPACE_ASSISTANT_PT_BR: {
|
|
|
4101
4839
|
readonly turnFailed: "Não foi possível concluir a solicitação operacional. Tente novamente.";
|
|
4102
4840
|
readonly groundingUnavailable: "Contexto semântico adicional indisponível neste momento.";
|
|
4103
4841
|
readonly routeBlockedWarning: "Navegação bloqueada por política de segurança de rotas.";
|
|
4842
|
+
readonly attachmentOnlyPromptSummary: "Analisar arquivo(s) anexado(s)";
|
|
4843
|
+
readonly attachmentMaxCountExceeded: "Limite de {max} anexo(s) simultâneo(s) excedido.";
|
|
4844
|
+
readonly attachmentMaxSizeExceeded: "Arquivo {name} excede o tamanho máximo permitido ({maxMb} MB).";
|
|
4845
|
+
readonly attachmentUploadFailed: "Não foi possível enviar o arquivo {name}. Tente novamente.";
|
|
4846
|
+
readonly attachmentPreviewFailed: "Não foi possível abrir o preview seguro do arquivo {name}.";
|
|
4847
|
+
readonly attachmentPreviewDownloaded: "Arquivo \"{name}\" baixado com segurança para análise local.";
|
|
4848
|
+
readonly attachmentDetachedStatus: "Anexo removido do contexto contínuo da conversa.";
|
|
4849
|
+
readonly proposalFourEyesAwaitingSecondApprover: "Aguardando aprovação de 2º usuário (4-Olhos). Um segundo revisor autorizado pode concluir esta ação.";
|
|
4850
|
+
readonly proposalRevalidatingStatus: "Revalidando proposta na revisão mais recente...";
|
|
4851
|
+
readonly proposalRevalidatedStatus: "Proposta revalidada e pronta para confirmação.";
|
|
4852
|
+
readonly proposalRevalidateFailed: "Não foi possível revalidar a proposta neste momento.";
|
|
4853
|
+
readonly proposalRefreshingStatus: "Sincronizando status da aprovação...";
|
|
4854
|
+
readonly proposalRefreshedStatus: "Status da aprovação atualizado.";
|
|
4855
|
+
readonly proposalRefreshFailed: "Não foi possível consultar o status atualizado da proposta.";
|
|
4856
|
+
readonly proposalCascadeBlockedNote: "Bloqueada automaticamente porque a etapa pré-requisito foi rejeitada ou encerrada.";
|
|
4857
|
+
readonly uploadErrorVirus: "O arquivo \"{name}\" foi bloqueado pela inspeção de segurança e não pode ser anexado.";
|
|
4858
|
+
readonly uploadErrorScannerUnavailable: "A verificação antivírus está temporariamente indisponível para \"{name}\". Tente novamente em instantes.";
|
|
4859
|
+
readonly uploadErrorTooLarge: "O arquivo \"{name}\" excede o tamanho máximo aceito pela política do servidor.";
|
|
4860
|
+
readonly uploadErrorUnsupportedType: "O tipo ou assinatura interna de \"{name}\" não é permitido para upload nesta política.";
|
|
4861
|
+
readonly uploadErrorQuota: "Limite de armazenamento ou cota atingida ao tentar enviar \"{name}\".";
|
|
4862
|
+
readonly uploadErrorConflict: "Já existe um arquivo em conflito para \"{name}\". Escolha outro arquivo ou renomeie-o.";
|
|
4863
|
+
readonly uploadErrorRateLimit: "Limite temporário de envios atingido. Aguarde alguns instantes antes de reenviar \"{name}\".";
|
|
4864
|
+
readonly uploadErrorUnauthorized: "Sessão sem autorização para enviar anexos neste contexto organizacional.";
|
|
4865
|
+
readonly uploadErrorInvalid: "O arquivo \"{name}\" falhou na validação estrutural e não pôde ser aceito.";
|
|
4866
|
+
readonly uploadErrorNetwork: "Falha temporária de comunicação ao enviar \"{name}\". Tente novamente.";
|
|
4867
|
+
readonly stageAttachmentsInspecting: "Validando e extraindo evidências do(s) documento(s)...";
|
|
4868
|
+
readonly stageInspectDocumentStructure: "Inspecionando estrutura e metadados do documento...";
|
|
4869
|
+
readonly stageReadDocumentPages: "Lendo páginas e trechos do documento anexado...";
|
|
4870
|
+
readonly stageInspectDocumentVisually: "Analisando visualmente página do documento em modo isolado...";
|
|
4871
|
+
readonly stageVerifyOfficialDocument: "Consultando verificação oficial externa do documento...";
|
|
4872
|
+
readonly counterfactualProposalPreparingStatus: "Preparando proposta governada a partir do contrafactual validado...";
|
|
4873
|
+
readonly counterfactualProposalPreparedStatus: "Proposta governada preparada. Revise os detalhes antes de confirmar.";
|
|
4874
|
+
readonly counterfactualProposalPreparedMessage: "Proposta governada preparada a partir da alternativa contrafactual validada. Revise os dados abaixo antes de confirmar.";
|
|
4875
|
+
readonly counterfactualProposalPrepareFailed: "Não foi possível preparar a proposta governada a partir deste contrafactual.";
|
|
4876
|
+
readonly counterfactualProposalRejectedNotValidated: "Apenas alternativas contrafactuais validadas pelo motor de regras podem gerar propostas governadas.";
|
|
4104
4877
|
};
|
|
4105
4878
|
type WorkspaceAssistantI18nKey = keyof typeof WORKSPACE_ASSISTANT_PT_BR;
|
|
4106
4879
|
declare const WORKSPACE_ASSISTANT_EN_US: Record<WorkspaceAssistantI18nKey, string>;
|
|
@@ -4178,5 +4951,5 @@ declare class AiRuleWizardDialogComponent implements OnInit {
|
|
|
4178
4951
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AiRuleWizardDialogComponent, "praxis-ai-rule-wizard-dialog", never, {}, {}, never, never, true, never>;
|
|
4179
4952
|
}
|
|
4180
4953
|
|
|
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 };
|
|
4954
|
+
export { AI_BACKEND_CONFIG_STORE, AI_BACKEND_ENDPOINTS, AI_BACKEND_STORAGE_OPTIONS, AI_CONTRACT_SCHEMA_HASH, AI_CONTRACT_VERSION, AI_INTENT_CONTRACT_SCHEMA_HASH, AI_INTENT_CONTRACT_VERSION, AI_STREAM_EVENT_SCHEMA_VERSION, AI_STREAM_EVENT_TYPES, ASSISTANT_ATTACHMENTS_EN_US, ASSISTANT_ATTACHMENTS_PT_BR, ASSISTANT_OPERATIONAL_EN_US, ASSISTANT_OPERATIONAL_PT_BR, AgenticAuthoringTurnClientService, AiBackendApiService, AiPatchStreamConnectionError, AiResponseValidatorService, AiRuleWizardDialogComponent, AssistantHistoryService, BaseAiAdapter, DEFAULT_WORKSPACE_ASSISTANT_ATTACHMENT_ACCEPT, OperationalAgentTurnClientService, PRAXIS_ASSISTANT_CONTEXT_ATTACHMENT_LIMIT, PRAXIS_ASSISTANT_CONTEXT_ITEM_LIMIT, PRAXIS_ASSISTANT_CONTEXT_SCHEMA_FIELD_LIMIT, PRAXIS_ASSISTANT_CONTEXT_TEXT_LIMIT, PRAXIS_ASSISTANT_VOICE_INPUT_MODE, PRAXIS_ASSISTANT_VOICE_LANGUAGE, PRAXIS_AUTHORING_SCOPE_POLICY_KIND, PRAXIS_AUTHORING_SCOPE_POLICY_VERSION, PRAXIS_WORKSPACE_ASSISTANT_ATTACHMENTS_CONFIG, PRAXIS_WORKSPACE_ASSISTANT_OPTIONS, PRAXIS_WORKSPACE_ASSISTANT_ROUTER, PraxisAi, PraxisAiAssistantComponent, PraxisAiAssistantDockComponent, PraxisAiAssistantSessionHostComponent, PraxisAiAssistantShellComponent, PraxisAiService, PraxisAssistantOperationalBlockComponent, PraxisAssistantSessionRegistryService, PraxisAssistantTurnController, PraxisAssistantTurnOrchestratorService, PraxisGovernedAudioTranscriptionService, PraxisWorkspaceAssistantComponent, SchemaMinifierService, WORKSPACE_ASSISTANT_EN_US, WORKSPACE_ASSISTANT_PT_BR, WorkspaceAssistantOrchestratorService, createAuthoringScopePolicyContext, createAuthoringScopePolicySystemMessage, createComponentAuthoringContext, createPraxisAssistantViewportLayout, normalizeAuthoringPrompt, normalizePraxisAssistantAttachmentSummary, normalizePraxisAssistantContextSnapshot, normalizeSafeWorkspaceRoute, providePraxisWorkspaceAssistantAttachments, providePraxisWorkspaceAssistantLauncher, resolveAssistantAttachmentText, resolveAssistantOperationalText, resolveWorkspaceAssistantText, sanitizePraxisAssistantText, shouldRoutePromptToGovernedDecision, submitPraxisAssistantQuickReply, toAiJsonObject, toPraxisAssistantClarificationOption, toPraxisAssistantConversationMessages, withAuthoringScopePolicy, withAuthoringScopePolicyContextHints, withAuthoringScopePolicyMessage };
|
|
4955
|
+
export type { AgenticAuthoringApplyRequestContract, AgenticAuthoringApplyResultContract, AgenticAuthoringApplyTargetContract, AgenticAuthoringAttachmentSummaryContract, AgenticAuthoringCandidateContract, AgenticAuthoringClientActionContract, AgenticAuthoringComponentCapabilitiesResultContract, AgenticAuthoringComponentCapabilityCatalogContract, AgenticAuthoringComponentCapabilityContract, AgenticAuthoringComponentCapabilityDiagnosticsContract, AgenticAuthoringComponentCapabilityExampleContract, AgenticAuthoringComponentFieldAliasContract, AgenticAuthoringConversationContextContract, AgenticAuthoringConversationMessageContract, AgenticAuthoringIntentResolutionRequestContract, AgenticAuthoringIntentResolutionResultContract, AgenticAuthoringManifestCompileResult, AgenticAuthoringManifestCompileResultContract, AgenticAuthoringManifestEditPlanRequest, AgenticAuthoringManifestEditPlanRequestContract, AgenticAuthoringManifestValidationResult, AgenticAuthoringManifestValidationResultContract, AgenticAuthoringPendingClarificationContract, AgenticAuthoringPlanRequestContract, AgenticAuthoringPreviewResultContract, AgenticAuthoringQuickReplyContract, AgenticAuthoringResolveTargetRequest, AgenticAuthoringResolveTargetRequestContract, AgenticAuthoringResolvedTarget, AgenticAuthoringResolvedTargetContract, AgenticAuthoringResourceCandidatesRequestContract, AgenticAuthoringResourceCandidatesResultContract, AgenticAuthoringSemanticDecisionContract, AgenticAuthoringTurnClientEvent, AgenticAuthoringTurnClientOptions, AgenticAuthoringTurnLifecycleEvent, AgenticAuthoringTurnStreamConnection, AgenticAuthoringTurnStreamConnectionOptions, AgenticAuthoringTurnStreamContextHintsContract, AgenticAuthoringTurnStreamEnvelope, AgenticAuthoringTurnStreamEnvelopeContract, AgenticAuthoringTurnStreamEnvelopeEvent, AgenticAuthoringTurnStreamLifecycle, AgenticAuthoringTurnStreamRequest, AgenticAuthoringTurnStreamRequestContract, AgenticAuthoringTurnStreamStartOptions, AgenticAuthoringTurnStreamStartResponse, AgenticAuthoringTurnStreamStartResponseContract, AgenticAuthoringTurnStreamStartedEvent, AiAssistantObservationFeedbackRating, AiAssistantObservationFeedbackRatingValue, AiAssistantObservationFeedbackRequest, AiAssistantObservationFeedbackRequestContract, AiAssistantObservationFeedbackResponse, AiAssistantObservationFeedbackResponseContract, AiAssistantObservationResponseContract, AiAssistantObservationSummaryResponseContract, AiAssistantObservationSummaryRowContract, AiAudioTranscriptionResponse, AiAuthoringResponseMode, AiAuthoringResponseModeKind, AiBackendConfigStore, AiBackendEndpoints, AiBackendStorageOptions, AiChatMessage, AiChatMessageContract, AiClarificationUiContract, AiComponentAuthoringContract, AiConfigAdapter, AiConsultativeAuthoringContext, AiContextDTO, AiContextHintsContract, AiContextTemplate, AiContextTemplateMeta, AiCurrentStateDigest, AiCurrentStateDigestContract, AiDomainCatalogContextHintContract, AiDomainCatalogContextHintIntent, AiDomainCatalogContextHintItemType, AiDomainCatalogRelationshipHintContract, AiExamplePair, AiGlobalConfigSnapshot, AiGovernedDecisionRoutingOptions, AiHeaderContext, AiIntegrationConfig, AiJsonArray, AiJsonObject, AiJsonPrimitive, AiJsonValue, AiMemoryInfoContract, AiModel, AiOptionContract, AiOrchestratorRequest, AiOrchestratorRequestContract, AiOrchestratorResponse, AiOrchestratorResponseContract, AiOrchestratorResponseType, AiPatchDiff, AiPatchDiffContract, AiPatchStreamCancelResponse, AiPatchStreamCancelResponseContract, AiPatchStreamConnection, AiPatchStreamConnectionErrorKind, AiPatchStreamEnvelope, AiPatchStreamEnvelopeContract, AiPatchStreamEventType, AiPatchStreamStartResponse, AiPatchStreamStartResponseContract, AiProviderCatalogItem, AiProviderCatalogResponse, AiProviderModelsRequest, AiProviderModelsResponse, AiProviderStatusResponse, AiProviderTestRequest, AiProviderTestResponse, AiResponseCompileResult, AiRuleResponse, AiSchemaContext, AiSchemaContextContract, AiSuggestion, AiSuggestionsRequest, AiSuggestionsResponse, AiTurnStreamEventType, AiUiContextRef, AiUiContextRefContract, AiValidationError, AiValidationResult, AiValidationWarning, AiWizardData, AssistantAttachmentI18nKey, AssistantHistoryContext, AssistantHistoryIndex, AssistantHistoryMessage, AssistantHistorySession, AssistantMessageRole, AssistantOperationalBlockI18nKey, Capability, FieldSchemaLike, MinifiedField, OperationalAgentConversationHistoryEntry, OperationalAgentCounterfactualProposalRequest, OperationalAgentDependentProposalUpdate, OperationalAgentProposalConfirmRequest, OperationalAgentProposalConfirmResponse, OperationalAgentProposalDetailResponse, OperationalAgentProposalExternalCompletionRequest, OperationalAgentProposalListQuery, OperationalAgentProposalListResponse, OperationalAgentProposalRejectRequest, OperationalAgentProposalSummaryResponse, OperationalAgentTurnAttachmentRef, OperationalAgentTurnClientEvent, OperationalAgentTurnClientOptions, OperationalAgentTurnLifecycleEvent, OperationalAgentTurnResultPayload, OperationalAgentTurnStreamEnvelope, OperationalAgentTurnStreamRequest, OperationalAgentTurnStreamStartResponse, PatchResult, PraxisAssistantActionContract, PraxisAssistantActionInputField, PraxisAssistantActionKind, PraxisAssistantActionProposalApprovalPolicy, PraxisAssistantActionProposalItem, PraxisAssistantActionProposalStatus, PraxisAssistantActionProposalsBlock, PraxisAssistantActionRuleViolation, PraxisAssistantAnalyticalProvenance, PraxisAssistantAttachmentKind, PraxisAssistantAttachmentSummary, PraxisAssistantAuthoringManifestRef, PraxisAssistantBulkProposalDetails, PraxisAssistantBulkProposalSampleTarget, PraxisAssistantCalculationMemoryBlock, PraxisAssistantCalculationStep, PraxisAssistantCalculationTrail, PraxisAssistantCapabilityRef, PraxisAssistantClarificationOption, PraxisAssistantClarificationQuestion, PraxisAssistantClarificationQuestionType, PraxisAssistantComponentType, PraxisAssistantContentEnvelope, PraxisAssistantContentVersion, PraxisAssistantContextItem, PraxisAssistantContextMode, PraxisAssistantContextSessionDescriptor, PraxisAssistantContextSnapshot, PraxisAssistantConversationMessage, PraxisAssistantConversationMessageRole, PraxisAssistantCounterfactualCandidate, PraxisAssistantCounterfactualLeverDelta, PraxisAssistantCounterfactualRecourseBlock, PraxisAssistantDigest, PraxisAssistantDockTone, PraxisAssistantDocumentClassification, PraxisAssistantDocumentEvidenceBlock, PraxisAssistantDocumentExtractionMode, PraxisAssistantEpistemicAvailabilityState, PraxisAssistantEpistemicBadgeBlock, PraxisAssistantEpistemicKind, PraxisAssistantEpistemicMeta, PraxisAssistantGovernanceHint, PraxisAssistantIdentity, PraxisAssistantKnowledgeCitationItem, PraxisAssistantKnowledgeCitationsBlock, PraxisAssistantOpenRequest, PraxisAssistantOperationalActionAffordance, PraxisAssistantOperationalActionBarBlock, PraxisAssistantOperationalAlertItem, PraxisAssistantOperationalAlertListBlock, PraxisAssistantOperationalBlock, PraxisAssistantOperationalBlockActionEvent, PraxisAssistantOperationalBlockActionKind, PraxisAssistantOperationalBlockType, PraxisAssistantOperationalCollectionColumn, PraxisAssistantOperationalCompactCollectionBlock, PraxisAssistantOperationalWidgetBlock, PraxisAssistantOperationalWidgetSpec, PraxisAssistantOpportunityCandidate, PraxisAssistantOpportunityCandidateStatus, PraxisAssistantOpportunityCatalog, PraxisAssistantOpportunityEvidence, PraxisAssistantOpportunityGroup, PraxisAssistantOpportunityMissingContext, PraxisAssistantOpportunitySafety, PraxisAssistantOpportunityTarget, PraxisAssistantOwnerType, PraxisAssistantParagraphInline, PraxisAssistantParagraphRecordReferenceInline, PraxisAssistantParagraphTextInline, PraxisAssistantPendingClarification, PraxisAssistantRecommendedIntent, PraxisAssistantRecommendedIntentAction, PraxisAssistantRecommendedIntentPresentation, PraxisAssistantRecommendedIntentTone, PraxisAssistantRiskLevel, PraxisAssistantSessionDescriptor, PraxisAssistantSessionDismissal, PraxisAssistantSessionIdentityRef, PraxisAssistantSessionPresence, PraxisAssistantSessionSnapshot, PraxisAssistantSessionVisibility, PraxisAssistantShellAction, PraxisAssistantShellActionTone, PraxisAssistantShellAttachment, PraxisAssistantShellContextItem, PraxisAssistantShellLabels, PraxisAssistantShellLayout, PraxisAssistantShellMessage, PraxisAssistantShellMessageAction, PraxisAssistantShellMessageRole, PraxisAssistantShellMode, PraxisAssistantShellQuickReply, PraxisAssistantShellQuickReplyEvidence, PraxisAssistantShellQuickReplyPresentation, PraxisAssistantShellQuickReplyPresentationItem, PraxisAssistantShellQuickReplyPresentationKind, PraxisAssistantShellState, PraxisAssistantSimulationPreviewBlock, PraxisAssistantSimulationPreviewField, PraxisAssistantSimulationValidationIssue, PraxisAssistantSurfaceComponentPatchOp, PraxisAssistantSurfaceCreatePayload, PraxisAssistantSurfacePatchComponentsPayload, PraxisAssistantSurfacePatchDataPayload, PraxisAssistantSurfaceProtocolVersion, PraxisAssistantSurfaceState, PraxisAssistantSurfaceStatus, PraxisAssistantSurfaceSummary, PraxisAssistantTargetKind, PraxisAssistantTargetRef, PraxisAssistantTurnAction, PraxisAssistantTurnControllerOptions, PraxisAssistantTurnFlow, PraxisAssistantTurnPhase, PraxisAssistantTurnRequest, PraxisAssistantTurnResult, PraxisAssistantTurnViewState, PraxisAssistantViewportLayoutOptions, PraxisAssistantVoiceCaptureState, PraxisAssistantVoiceInputMode, PraxisAuthoringScopeChatMessage, PraxisAuthoringScopePolicyOptions, PraxisAuthoringScopePolicyRequest, PraxisWorkspaceAssistantAttachmentsConfig, PraxisWorkspaceAssistantOptions, ProblemResponseContract, PromptContext, RulePropertyDefinition, RulePropertySchema, RulePropertyType, ValidationContext, ValueKind, WorkspaceAssistantApplyFilterRequest, WorkspaceAssistantDispatchedAction, WorkspaceAssistantFocusedEntity, WorkspaceAssistantI18nKey, WorkspaceAssistantOpenSurfaceRequest, WorkspaceAssistantRouteContext, WorkspaceAssistantRouterAdapter, WorkspaceAssistantRunActionRequest };
|