@yadsh/dsh-qa-surface 0.15.5 → 0.15.6
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/lib/access/model-policy.js +124 -0
- package/lib/access/model-policy.js.map +1 -0
- package/lib/access/model.js +5 -0
- package/lib/access/model.js.map +1 -1
- package/lib/access/service.js +77 -3
- package/lib/access/service.js.map +1 -1
- package/lib/admin/service.js +6 -0
- package/lib/admin/service.js.map +1 -1
- package/lib/client/admin/ModelPolicyEditor.js +52 -0
- package/lib/client/admin/ModelPolicyEditor.js.map +1 -0
- package/lib/client/admin/QaAdmin.js +4 -2
- package/lib/client/admin/QaAdmin.js.map +1 -1
- package/lib/client/admin/pages/Users.js +18 -2
- package/lib/client/admin/pages/Users.js.map +1 -1
- package/lib/client/admin/shared.js +3 -0
- package/lib/client/admin/shared.js.map +1 -1
- package/lib/client/components/QaChangelog.js +13 -0
- package/lib/client/components/QaChangelog.js.map +1 -1
- package/lib/client/index.js +1 -0
- package/lib/client/index.js.map +1 -1
- package/lib/client/settings/sections/session.js +2 -2
- package/lib/client/settings/sections/session.js.map +1 -1
- package/lib/client/types.js.map +1 -1
- package/lib/client.js +358 -92
- package/lib/client.js.map +1 -1
- package/lib/index.js +32 -17
- package/lib/index.js.map +1 -1
- package/lib/integration/host-runner.js +2 -10
- package/lib/integration/host-runner.js.map +1 -1
- package/lib/secure-session.js +16 -7
- package/lib/secure-session.js.map +1 -1
- package/lib/session-model.js +40 -0
- package/lib/session-model.js.map +1 -0
- package/lib/typert.host.js +211 -80
- package/lib/typert.remote-client.d.ts +3 -1
- package/lib/typert.remote-client.js +184 -75
- package/lib/types/access/model-policy.d.ts +95 -0
- package/lib/types/access/service.d.ts +41 -4
- package/lib/types/client/admin/ModelPolicyEditor.d.ts +23 -0
- package/lib/types/client/types.d.ts +3 -1
- package/lib/types/index.d.ts +20 -4
- package/lib/types/secure-session.d.ts +14 -1
- package/lib/types/session-model.d.ts +24 -0
- package/lib/types/types.d.ts +35 -0
- package/package.json +4 -4
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
RemoteResult,
|
|
4
4
|
TypertRemoteContribution,
|
|
5
5
|
} from '@deepseek-ai/dsh-typert-protocol'
|
|
6
|
-
import type { QaAccessAdminSnapshot, QaAccountNotificationsInput, QaAccountProfileInput, QaAccountSession, QaAccountStartersInput, QaAccountUserPublic, QaAdminAuditEvent, QaAdminOverview, QaAdminPage, QaAdminSkillScope, QaAdminSkillsView, QaAdminUserDetail, QaAdminUserRow, QaAdminUserUpdate, QaApprovalDecision, QaAuditQuery, QaCapabilitySelection, QaClaimResult, QaConversationDeletion, QaConversationDetail, QaConversationQuery, QaConversationReview, QaConversationReviewInput, QaConversationSummary, QaCurrentAccess, QaDocumentPreview, QaExpertMemoryDraft, QaExpertMemoryPage, QaExpertMemoryRecord, QaExpertMemoryScope, QaFeedbackHarvestEntry, QaFeedbackHarvestResult, QaFeedbackQuery, QaFeedbackRow, QaIssuedServiceToken, QaLockdownProof, QaMessageFeedback, QaMessageFeedbackInput, 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, QaWorkspaceListing, ResolvedQaSurfaceConfig } from '@yadsh/dsh-qa-surface/types'
|
|
6
|
+
import type { QaAccessAdminSnapshot, QaAccountNotificationsInput, QaAccountProfileInput, QaAccountSession, QaAccountStartersInput, QaAccountUserPublic, QaAdminAuditEvent, QaAdminOverview, QaAdminPage, QaAdminSkillScope, QaAdminSkillsView, QaAdminUserDetail, QaAdminUserRow, QaAdminUserUpdate, QaApprovalDecision, QaAuditQuery, QaCapabilitySelection, QaClaimResult, QaConversationDeletion, QaConversationDetail, QaConversationQuery, QaConversationReview, QaConversationReviewInput, QaConversationSummary, QaCurrentAccess, QaDocumentPreview, 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, QaWorkspaceListing, ResolvedQaSurfaceConfig } from '@yadsh/dsh-qa-surface/types'
|
|
7
7
|
|
|
8
8
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
9
9
|
interface TypertRemoteNamespace$716153757266616365 {
|
|
@@ -11,6 +11,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
11
11
|
accessCreateSubrole: (token: string, input: QaSubrole) => Promise<RemoteResult<QaSubrole>>
|
|
12
12
|
accessCurrent: (token: string) => Promise<RemoteResult<QaCurrentAccess>>
|
|
13
13
|
accessDeleteSubrole: (token: string, id: string, replacementId: string | null) => Promise<RemoteResult<{ readonly deleted: boolean; }>>
|
|
14
|
+
accessModelCatalog: (token: string) => Promise<RemoteResult<readonly QaModelCatalogEntry[]>>
|
|
14
15
|
accessSession: (token: string, sessionId: string) => Promise<RemoteResult<QaSessionAccess>>
|
|
15
16
|
accessSkillActivations: (token: string, sessionId: string) => Promise<RemoteResult<readonly QaSkillActivationRecord[]>>
|
|
16
17
|
accessUpdateAssignment: (token: string, userId: string, input: QaUserAccess) => Promise<RemoteResult<QaUserAccess>>
|
|
@@ -88,6 +89,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
88
89
|
'qaSurface/accessCreateSubrole': (token: string, input: QaSubrole) => Promise<RemoteResult<QaSubrole>>
|
|
89
90
|
'qaSurface/accessCurrent': (token: string) => Promise<RemoteResult<QaCurrentAccess>>
|
|
90
91
|
'qaSurface/accessDeleteSubrole': (token: string, id: string, replacementId: string | null) => Promise<RemoteResult<{ readonly deleted: boolean; }>>
|
|
92
|
+
'qaSurface/accessModelCatalog': (token: string) => Promise<RemoteResult<readonly QaModelCatalogEntry[]>>
|
|
91
93
|
'qaSurface/accessSession': (token: string, sessionId: string) => Promise<RemoteResult<QaSessionAccess>>
|
|
92
94
|
'qaSurface/accessSkillActivations': (token: string, sessionId: string) => Promise<RemoteResult<readonly QaSkillActivationRecord[]>>
|
|
93
95
|
'qaSurface/accessUpdateAssignment': (token: string, userId: string, input: QaUserAccess) => Promise<RemoteResult<QaUserAccess>>
|