@yadsh/dsh-qa-surface 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -2
- package/lib/account-remotes.js +9 -0
- package/lib/account-remotes.js.map +1 -1
- package/lib/accounts/database.js +34 -3
- package/lib/accounts/database.js.map +1 -1
- package/lib/accounts/store.js +20 -0
- package/lib/accounts/store.js.map +1 -1
- package/lib/chat-sharing/native-fence.js +11 -2
- package/lib/chat-sharing/native-fence.js.map +1 -1
- package/lib/chat-sharing/store.js +9 -3
- package/lib/chat-sharing/store.js.map +1 -1
- package/lib/chat-sharing/transport.js +66 -11
- package/lib/chat-sharing/transport.js.map +1 -1
- package/lib/client/QaAccountsController.js +18 -0
- package/lib/client/QaAccountsController.js.map +1 -1
- package/lib/client/QaSessionController.js +12 -3
- package/lib/client/QaSessionController.js.map +1 -1
- package/lib/client/QaSurface.js +49 -8
- package/lib/client/QaSurface.js.map +1 -1
- package/lib/client/QaTranscriptAdapter.js +15 -2
- package/lib/client/QaTranscriptAdapter.js.map +1 -1
- package/lib/client/answer-review.js +89 -0
- package/lib/client/answer-review.js.map +1 -0
- package/lib/client/chat-artifacts.js +1 -0
- package/lib/client/chat-artifacts.js.map +1 -1
- package/lib/client/components/QaAnswerReviewStatus.js +45 -0
- package/lib/client/components/QaAnswerReviewStatus.js.map +1 -0
- package/lib/client/components/QaChangelog.js +35 -0
- package/lib/client/components/QaChangelog.js.map +1 -1
- package/lib/client/components/QaChatActions.js +52 -0
- package/lib/client/components/QaChatActions.js.map +1 -0
- package/lib/client/components/QaChatSharing.js +22 -19
- package/lib/client/components/QaChatSharing.js.map +1 -1
- package/lib/client/components/QaMarkdownPreview.js +86 -0
- package/lib/client/components/QaMarkdownPreview.js.map +1 -0
- package/lib/client/components/QaMessage.js +8 -2
- package/lib/client/components/QaMessage.js.map +1 -1
- package/lib/client/components/QaModal.js +17 -0
- package/lib/client/components/QaModal.js.map +1 -1
- package/lib/client/components/QaRightRail.js +6 -4
- package/lib/client/components/QaRightRail.js.map +1 -1
- package/lib/client/components/QaRightRailResize.js +129 -0
- package/lib/client/components/QaRightRailResize.js.map +1 -0
- package/lib/client/components/QaSidebar.js +10 -1
- package/lib/client/components/QaSidebar.js.map +1 -1
- package/lib/client/components/QaSourceFilters.js +22 -0
- package/lib/client/components/QaSourceFilters.js.map +1 -0
- package/lib/client/components/QaSourcesPanel.js +57 -13
- package/lib/client/components/QaSourcesPanel.js.map +1 -1
- package/lib/client/components/QaSpreadsheetPreview.js +56 -0
- package/lib/client/components/QaSpreadsheetPreview.js.map +1 -0
- package/lib/client/components/QaWelcomeNotice.js +2 -2
- package/lib/client/components/QaWelcomeNotice.js.map +1 -1
- package/lib/client/components/QaWorkspaceBrowser.js +22 -9
- package/lib/client/components/QaWorkspaceBrowser.js.map +1 -1
- package/lib/client/components/QaZoomImage.js +56 -0
- package/lib/client/components/QaZoomImage.js.map +1 -0
- package/lib/client/components/source-refs.js +18 -4
- package/lib/client/components/source-refs.js.map +1 -1
- package/lib/client/index.js +16 -2
- package/lib/client/index.js.map +1 -1
- package/lib/client/markdown/SourceImage.js +52 -0
- package/lib/client/markdown/SourceImage.js.map +1 -0
- package/lib/client/markdown/blocks.js +150 -115
- package/lib/client/markdown/blocks.js.map +1 -1
- package/lib/client/markdown/render.js +23 -5
- package/lib/client/markdown/render.js.map +1 -1
- package/lib/client/markdown/source-chip.js +2 -1
- package/lib/client/markdown/source-chip.js.map +1 -1
- package/lib/client/settings/sections/sources.js +1 -1
- package/lib/client/settings/sections/sources.js.map +1 -1
- package/lib/client/settings/styles.js +18 -28
- package/lib/client/settings/styles.js.map +1 -1
- package/lib/client/source-filters-styles.js +11 -0
- package/lib/client/source-filters-styles.js.map +1 -0
- package/lib/client/styles.js +53 -2
- package/lib/client/styles.js.map +1 -1
- package/lib/client/types.js.map +1 -1
- package/lib/client/use-right-rail.js +1 -1
- package/lib/client/use-right-rail.js.map +1 -1
- package/lib/client/user-settings/IntegrationTokensPage.js +30 -6
- package/lib/client/user-settings/IntegrationTokensPage.js.map +1 -1
- package/lib/client.js +2820 -955
- package/lib/client.js.map +1 -1
- package/lib/config-resolvers/defaults.js +4 -3
- package/lib/config-resolvers/defaults.js.map +1 -1
- package/lib/config-resolvers/sources.js +2 -0
- package/lib/config-resolvers/sources.js.map +1 -1
- package/lib/config.js +3 -0
- package/lib/config.js.map +1 -1
- package/lib/index.js +50 -3
- package/lib/index.js.map +1 -1
- package/lib/integration/host-runner.js +1 -0
- package/lib/integration/host-runner.js.map +1 -1
- package/lib/integration/question-policy.js +126 -0
- package/lib/integration/question-policy.js.map +1 -0
- package/lib/integration/service.js +2 -0
- package/lib/integration/service.js.map +1 -1
- package/lib/llm-identity.js +27 -0
- package/lib/llm-identity.js.map +1 -0
- package/lib/markdown-frontmatter.js +47 -0
- package/lib/markdown-frontmatter.js.map +1 -0
- package/lib/markdown-images.js +33 -0
- package/lib/markdown-images.js.map +1 -0
- package/lib/prompt-notes.js +1 -1
- package/lib/prompt-notes.js.map +1 -1
- package/lib/provenance/collector.js +2 -0
- package/lib/provenance/collector.js.map +1 -1
- package/lib/provenance/connectors.js +25 -19
- package/lib/provenance/connectors.js.map +1 -1
- package/lib/provenance/dedupe.js +17 -0
- package/lib/provenance/dedupe.js.map +1 -1
- package/lib/provenance/document-preview.js +12 -2
- package/lib/provenance/document-preview.js.map +1 -1
- package/lib/provenance/extractors.js +23 -5
- package/lib/provenance/extractors.js.map +1 -1
- package/lib/provenance/file-preview.js +9 -2
- package/lib/provenance/file-preview.js.map +1 -1
- package/lib/provenance/integration-extractor.js +5 -6
- package/lib/provenance/integration-extractor.js.map +1 -1
- package/lib/provenance/snapshot-store.js +2 -0
- package/lib/provenance/snapshot-store.js.map +1 -1
- package/lib/provenance/source-content.js +103 -0
- package/lib/provenance/source-content.js.map +1 -0
- package/lib/provenance/source-image.js +57 -0
- package/lib/provenance/source-image.js.map +1 -0
- package/lib/provenance/spreadsheet-preview.js +52 -0
- package/lib/provenance/spreadsheet-preview.js.map +1 -0
- package/lib/questions.js +6 -1
- package/lib/questions.js.map +1 -1
- package/lib/shared/documents.js +12 -0
- package/lib/shared/documents.js.map +1 -1
- package/lib/typert.host.js +419 -110
- package/lib/typert.remote-client.d.ts +9 -5
- package/lib/typert.remote-client.js +383 -102
- package/lib/types/account-remotes.d.ts +3 -0
- package/lib/types/accounts/database.d.ts +5 -0
- package/lib/types/accounts/store.d.ts +6 -1
- package/lib/types/answer-review.js +2 -0
- package/lib/types/answer-review.js.map +1 -0
- package/lib/types/chat-sharing/store.d.ts +1 -0
- package/lib/types/chat-sharing/transport.d.ts +1 -0
- package/lib/types/client/QaAccountsController.d.ts +1 -0
- package/lib/types/client/answer-review.d.ts +16 -0
- package/lib/types/client/components/QaAnswerReviewStatus.d.ts +8 -0
- package/lib/types/client/components/QaChatActions.d.ts +7 -0
- package/lib/types/client/components/QaChatSharing.d.ts +4 -2
- package/lib/types/client/components/QaMarkdownPreview.d.ts +13 -0
- package/lib/types/client/components/QaModal.d.ts +9 -0
- package/lib/types/client/components/QaRightRail.d.ts +3 -2
- package/lib/types/client/components/QaRightRailResize.d.ts +9 -0
- package/lib/types/client/components/QaSidebar.d.ts +2 -0
- package/lib/types/client/components/QaSourceFilters.d.ts +12 -0
- package/lib/types/client/components/QaSpreadsheetPreview.d.ts +8 -0
- package/lib/types/client/components/QaWelcomeNotice.d.ts +1 -1
- package/lib/types/client/components/QaZoomImage.d.ts +38 -0
- package/lib/types/client/markdown/SourceImage.d.ts +7 -0
- package/lib/types/client/markdown/blocks.d.ts +8 -1
- package/lib/types/client/markdown/render.d.ts +5 -1
- package/lib/types/client/markdown/source-chip.d.ts +1 -0
- package/lib/types/client/settings/styles.d.ts +2 -5
- package/lib/types/client/source-filters-styles.d.ts +2 -0
- package/lib/types/client/types.d.ts +11 -5
- package/lib/types/index.d.ts +8 -3
- package/lib/types/integration/contract.d.ts +1 -0
- package/lib/types/integration/question-policy.d.ts +20 -0
- package/lib/types/integration/service.d.ts +1 -0
- package/lib/types/llm-identity.d.ts +20 -0
- package/lib/types/markdown-frontmatter.d.ts +10 -0
- package/lib/types/markdown-images.d.ts +3 -0
- package/lib/types/prompt-notes.d.ts +1 -1
- package/lib/types/provenance/document-preview.d.ts +3 -2
- package/lib/types/provenance/file-preview.d.ts +2 -1
- package/lib/types/provenance/source-content.d.ts +19 -0
- package/lib/types/provenance/source-image.d.ts +4 -0
- package/lib/types/provenance/spreadsheet-preview.d.ts +5 -0
- package/lib/types/provenance/types.d.ts +3 -0
- package/lib/types/questions.d.ts +2 -1
- package/lib/types/shared/documents.d.ts +2 -0
- package/lib/types/types/accounts.d.ts +5 -1
- package/lib/types/types/answer-review.d.ts +11 -0
- package/lib/types/types/config.d.ts +3 -0
- package/lib/types/types/session.d.ts +18 -3
- package/lib/types/types.d.ts +1 -0
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@ import type {
|
|
|
4
4
|
RemoteStreamHandle,
|
|
5
5
|
TypertRemoteContribution,
|
|
6
6
|
} from '@deepseek-ai/dsh-typert-protocol'
|
|
7
|
-
import type { QaAccessAdminSnapshot, QaAccountNotificationsInput, QaAccountProfileInput, QaAccountSession, QaAccountStartersInput, QaAccountUserPublic, QaAdminAuditEvent, QaAdminOverview, QaAdminPage, QaAdminSkillScope, QaAdminSkillsView, QaAdminUserDetail, QaAdminUserRow, QaAdminUserUpdate, QaApprovalDecision, QaAuditQuery, QaCapabilitySelection, QaChatAccess, QaChatAuthor, QaChatGrant, QaChatJson, QaChatMode, QaClaimResult, QaConversationDeletion, QaConversationDetail, QaConversationQuery, QaConversationReview, QaConversationReviewInput, QaConversationSummary, QaCurrentAccess, QaDocumentPreview, QaDocumentWorkflowStatus, QaExpertMemoryDraft, QaExpertMemoryPage, QaExpertMemoryRecord, QaExpertMemoryScope, QaFeedbackHarvestEntry, QaFeedbackHarvestResult, QaFeedbackQuery, QaFeedbackRow, QaIssuedServiceToken, QaLockdownProof, QaMessageFeedback, QaMessageFeedbackInput, QaModelCatalogEntry, QaOwnershipEntry, QaPasswordResetRequest, QaPendingApproval, QaPendingQuestion, QaQualityMetrics, QaQuestionAnswerItem, QaQueueStatus, QaReviewQueueItem, QaReviewQueueRow, QaServiceTokenCreateInput, QaServiceTokenSummary, QaSessionAccess, QaSkillActivationRecord, QaSkillAssignmentOverride, QaSkillDocument, QaSkillDraftInput, QaSkillRemoval, QaSkillSummary, QaSkillToolDescriptor, QaSkillValidation, QaSlashCatalog, QaSlashExecution, QaSlashSubmitAttachment, QaSourceFilePreview, QaSubrole, QaTurnSources, QaUserAccess, QaUserQuery, QaWhoamiResult, QaWorkspaceFile, QaWorkspaceFileChunk, QaWorkspaceListing, ResolvedQaSurfaceConfig } from '@yadsh/dsh-qa-surface/types'
|
|
7
|
+
import type { QaAccessAdminSnapshot, QaAccountNotificationsInput, QaAccountProfileInput, QaAccountSession, QaAccountStartersInput, QaAccountUserPublic, QaAdminAuditEvent, QaAdminOverview, QaAdminPage, QaAdminSkillScope, QaAdminSkillsView, QaAdminUserDetail, QaAdminUserRow, QaAdminUserUpdate, QaApprovalDecision, QaAuditQuery, QaCapabilitySelection, QaChatAccess, QaChatAuthor, QaChatGrant, QaChatJson, QaChatMode, QaClaimResult, QaConversationDeletion, QaConversationDetail, QaConversationQuery, QaConversationReview, QaConversationReviewInput, QaConversationSummary, QaCurrentAccess, QaDocumentPreview, QaDocumentWorkflowStatus, QaExpertMemoryDraft, QaExpertMemoryPage, QaExpertMemoryRecord, QaExpertMemoryScope, QaFeedbackHarvestEntry, QaFeedbackHarvestResult, QaFeedbackQuery, QaFeedbackRow, QaIssuedServiceToken, QaLockdownProof, QaMessageFeedback, QaMessageFeedbackInput, QaModelCatalogEntry, QaOwnershipEntry, QaPasswordResetRequest, QaPendingApproval, QaPendingQuestion, QaQualityMetrics, QaQuestionAnswerItem, QaQueueStatus, QaReviewQueueItem, QaReviewQueueRow, QaServiceTokenCreateInput, QaServiceTokenSummary, QaSessionAccess, QaSkillActivationRecord, QaSkillAssignmentOverride, QaSkillDocument, QaSkillDraftInput, QaSkillRemoval, QaSkillSummary, QaSkillToolDescriptor, QaSkillValidation, QaSlashCatalog, QaSlashExecution, QaSlashSubmitAttachment, QaSourceFilePreview, QaSpreadsheetPreviewSelection, QaSubrole, QaTurnSources, QaUserAccess, QaUserQuery, QaWhoamiResult, QaWorkspaceFile, QaWorkspaceFileChunk, QaWorkspaceListing, ResolvedQaSurfaceConfig } from '@yadsh/dsh-qa-surface/types'
|
|
8
8
|
|
|
9
9
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
10
10
|
interface TypertRemoteNamespace$716153757266616365 {
|
|
@@ -29,6 +29,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
29
29
|
accountsRegister: (email: string, password: string) => Promise<RemoteResult<QaAccountSession>>
|
|
30
30
|
accountsRequestPasswordReset: (email: string) => Promise<RemoteResult<{ readonly accepted: true; }>>
|
|
31
31
|
accountsRevokeServiceToken: (token: string, tokenId: string) => Promise<RemoteResult<{ readonly revoked: boolean; }>>
|
|
32
|
+
accountsSetServiceTokenClarifications: (token: string, tokenId: string, allowed: boolean) => Promise<RemoteResult<{ readonly updated: boolean; }>>
|
|
32
33
|
accountsUpdateNotifications: (token: string, input: QaAccountNotificationsInput) => Promise<RemoteResult<QaAccountUserPublic>>
|
|
33
34
|
accountsUpdateProfile: (token: string, input: QaAccountProfileInput) => Promise<RemoteResult<QaAccountUserPublic>>
|
|
34
35
|
accountsUpdateStarters: (token: string, input: QaAccountStartersInput) => Promise<RemoteResult<QaAccountUserPublic>>
|
|
@@ -91,9 +92,10 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
91
92
|
listWorkspaceFiles: (token: string, sessionId: string, path: string) => Promise<RemoteResult<QaWorkspaceListing>>
|
|
92
93
|
pendingApprovals: (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingApproval[]>>
|
|
93
94
|
pendingQuestions: (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingQuestion[]>>
|
|
94
|
-
previewWorkspaceDocument: (token: string, sessionId: string, path: string) => Promise<RemoteResult<QaDocumentPreview>>
|
|
95
|
+
previewWorkspaceDocument: (token: string, sessionId: string, path: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaDocumentPreview>>
|
|
95
96
|
queueStatus: () => Promise<RemoteResult<QaQueueStatus>>
|
|
96
|
-
readSourceFile: (token: string, sessionId: string, sourcePath: string) => Promise<RemoteResult<QaSourceFilePreview>>
|
|
97
|
+
readSourceFile: (token: string, sessionId: string, sourcePath: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaSourceFilePreview>>
|
|
98
|
+
readSourceImage: (token: string, sessionId: string, sourcePath: string, imagePath: string) => Promise<RemoteResult<string>>
|
|
97
99
|
readWorkspaceFile: (token: string, sessionId: string, path: string) => Promise<RemoteResult<QaWorkspaceFile>>
|
|
98
100
|
readWorkspaceFileChunk: (token: string, sessionId: string, path: string, offset: number, version: string | null) => Promise<RemoteResult<QaWorkspaceFileChunk>>
|
|
99
101
|
secureSession: (token: string, sessionId: string) => Promise<RemoteResult<QaLockdownProof>>
|
|
@@ -130,6 +132,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
130
132
|
'qaSurface/accountsRegister': (email: string, password: string) => Promise<RemoteResult<QaAccountSession>>
|
|
131
133
|
'qaSurface/accountsRequestPasswordReset': (email: string) => Promise<RemoteResult<{ readonly accepted: true; }>>
|
|
132
134
|
'qaSurface/accountsRevokeServiceToken': (token: string, tokenId: string) => Promise<RemoteResult<{ readonly revoked: boolean; }>>
|
|
135
|
+
'qaSurface/accountsSetServiceTokenClarifications': (token: string, tokenId: string, allowed: boolean) => Promise<RemoteResult<{ readonly updated: boolean; }>>
|
|
133
136
|
'qaSurface/accountsUpdateNotifications': (token: string, input: QaAccountNotificationsInput) => Promise<RemoteResult<QaAccountUserPublic>>
|
|
134
137
|
'qaSurface/accountsUpdateProfile': (token: string, input: QaAccountProfileInput) => Promise<RemoteResult<QaAccountUserPublic>>
|
|
135
138
|
'qaSurface/accountsUpdateStarters': (token: string, input: QaAccountStartersInput) => Promise<RemoteResult<QaAccountUserPublic>>
|
|
@@ -192,9 +195,10 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
192
195
|
'qaSurface/listWorkspaceFiles': (token: string, sessionId: string, path: string) => Promise<RemoteResult<QaWorkspaceListing>>
|
|
193
196
|
'qaSurface/pendingApprovals': (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingApproval[]>>
|
|
194
197
|
'qaSurface/pendingQuestions': (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingQuestion[]>>
|
|
195
|
-
'qaSurface/previewWorkspaceDocument': (token: string, sessionId: string, path: string) => Promise<RemoteResult<QaDocumentPreview>>
|
|
198
|
+
'qaSurface/previewWorkspaceDocument': (token: string, sessionId: string, path: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaDocumentPreview>>
|
|
196
199
|
'qaSurface/queueStatus': () => Promise<RemoteResult<QaQueueStatus>>
|
|
197
|
-
'qaSurface/readSourceFile': (token: string, sessionId: string, sourcePath: string) => Promise<RemoteResult<QaSourceFilePreview>>
|
|
200
|
+
'qaSurface/readSourceFile': (token: string, sessionId: string, sourcePath: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaSourceFilePreview>>
|
|
201
|
+
'qaSurface/readSourceImage': (token: string, sessionId: string, sourcePath: string, imagePath: string) => Promise<RemoteResult<string>>
|
|
198
202
|
'qaSurface/readWorkspaceFile': (token: string, sessionId: string, path: string) => Promise<RemoteResult<QaWorkspaceFile>>
|
|
199
203
|
'qaSurface/readWorkspaceFileChunk': (token: string, sessionId: string, path: string, offset: number, version: string | null) => Promise<RemoteResult<QaWorkspaceFileChunk>>
|
|
200
204
|
'qaSurface/secureSession': (token: string, sessionId: string) => Promise<RemoteResult<QaLockdownProof>>
|