@yadsh/dsh-qa-surface 0.18.0 → 0.20.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.
Files changed (243) hide show
  1. package/README.md +201 -22
  2. package/lib/access/model-choices.js +103 -0
  3. package/lib/access/model-choices.js.map +1 -0
  4. package/lib/access/model-policy.js +79 -7
  5. package/lib/access/model-policy.js.map +1 -1
  6. package/lib/access/model.js +29 -1
  7. package/lib/access/model.js.map +1 -1
  8. package/lib/access/queue-policy.js +36 -0
  9. package/lib/access/queue-policy.js.map +1 -0
  10. package/lib/access/service.js +124 -7
  11. package/lib/access/service.js.map +1 -1
  12. package/lib/account-remotes.js +10 -1
  13. package/lib/account-remotes.js.map +1 -1
  14. package/lib/accounts/database.js +44 -3
  15. package/lib/accounts/database.js.map +1 -1
  16. package/lib/accounts/store.js +28 -0
  17. package/lib/accounts/store.js.map +1 -1
  18. package/lib/admin/service.js +6 -1
  19. package/lib/admin/service.js.map +1 -1
  20. package/lib/attachment-access.js +147 -0
  21. package/lib/attachment-access.js.map +1 -0
  22. package/lib/chat-sharing/search.js +89 -0
  23. package/lib/chat-sharing/search.js.map +1 -0
  24. package/lib/chat-sharing/transport.js +8 -9
  25. package/lib/chat-sharing/transport.js.map +1 -1
  26. package/lib/client/QaAccountsController.js +43 -8
  27. package/lib/client/QaAccountsController.js.map +1 -1
  28. package/lib/client/QaSessionController.js +106 -32
  29. package/lib/client/QaSessionController.js.map +1 -1
  30. package/lib/client/QaSurface.js +64 -5
  31. package/lib/client/QaSurface.js.map +1 -1
  32. package/lib/client/admin/ModelPolicyEditor.js +28 -2
  33. package/lib/client/admin/ModelPolicyEditor.js.map +1 -1
  34. package/lib/client/admin/RoleEditor.js +18 -1
  35. package/lib/client/admin/RoleEditor.js.map +1 -1
  36. package/lib/client/admin/pages/SkillFiles.js +1 -1
  37. package/lib/client/admin/pages/SkillFiles.js.map +1 -1
  38. package/lib/client/admin/pages/Users.js +36 -16
  39. package/lib/client/admin/pages/Users.js.map +1 -1
  40. package/lib/client/admin/styles.js +3 -0
  41. package/lib/client/admin/styles.js.map +1 -1
  42. package/lib/client/code-source-styles.js +12 -0
  43. package/lib/client/code-source-styles.js.map +1 -0
  44. package/lib/client/components/QaChangelog.js +96 -0
  45. package/lib/client/components/QaChangelog.js.map +1 -1
  46. package/lib/client/components/QaChatActions.js +36 -14
  47. package/lib/client/components/QaChatActions.js.map +1 -1
  48. package/lib/client/components/QaCodeSourcePicker.js +18 -0
  49. package/lib/client/components/QaCodeSourcePicker.js.map +1 -0
  50. package/lib/client/components/QaComposer.js +11 -12
  51. package/lib/client/components/QaComposer.js.map +1 -1
  52. package/lib/client/components/QaComposerSettings.js +202 -0
  53. package/lib/client/components/QaComposerSettings.js.map +1 -0
  54. package/lib/client/components/QaFormItem.js +74 -38
  55. package/lib/client/components/QaFormItem.js.map +1 -1
  56. package/lib/client/components/QaHistoryCatalog.js +261 -0
  57. package/lib/client/components/QaHistoryCatalog.js.map +1 -0
  58. package/lib/client/components/QaInputForm.js +115 -32
  59. package/lib/client/components/QaInputForm.js.map +1 -1
  60. package/lib/client/components/QaModelSelector.js +21 -0
  61. package/lib/client/components/QaModelSelector.js.map +1 -0
  62. package/lib/client/components/QaRequestWait.js +15 -0
  63. package/lib/client/components/QaRequestWait.js.map +1 -0
  64. package/lib/client/components/QaSidebar.js +25 -24
  65. package/lib/client/components/QaSidebar.js.map +1 -1
  66. package/lib/client/composer-settings-styles.js +21 -0
  67. package/lib/client/composer-settings-styles.js.map +1 -0
  68. package/lib/client/forms-styles.js +35 -11
  69. package/lib/client/forms-styles.js.map +1 -1
  70. package/lib/client/history-organization-styles.js +31 -0
  71. package/lib/client/history-organization-styles.js.map +1 -0
  72. package/lib/client/history-organization.js +155 -0
  73. package/lib/client/history-organization.js.map +1 -0
  74. package/lib/client/index.js +13 -2
  75. package/lib/client/index.js.map +1 -1
  76. package/lib/client/project-session-state.js.map +1 -1
  77. package/lib/client/request-wait-styles.js +7 -0
  78. package/lib/client/request-wait-styles.js.map +1 -0
  79. package/lib/client/settings/sections/attachments.js +7 -1
  80. package/lib/client/settings/sections/attachments.js.map +1 -1
  81. package/lib/client/settings/sections/session.js +1 -1
  82. package/lib/client/settings/sections/session.js.map +1 -1
  83. package/lib/client/styles.js +20 -1
  84. package/lib/client/styles.js.map +1 -1
  85. package/lib/client/types.js.map +1 -1
  86. package/lib/client/use-chat-code-source.js +156 -0
  87. package/lib/client/use-chat-code-source.js.map +1 -0
  88. package/lib/client/use-history-organization.js +48 -0
  89. package/lib/client/use-history-organization.js.map +1 -0
  90. package/lib/client/use-model-selection.js +96 -0
  91. package/lib/client/use-model-selection.js.map +1 -0
  92. package/lib/client/use-qa-file-drop.js +81 -0
  93. package/lib/client/use-qa-file-drop.js.map +1 -0
  94. package/lib/client/user-settings/IntegrationTokensPage.js +42 -6
  95. package/lib/client/user-settings/IntegrationTokensPage.js.map +1 -1
  96. package/lib/client/user-settings/UserSettingsDialog.js +1 -1
  97. package/lib/client/user-settings/UserSettingsDialog.js.map +1 -1
  98. package/lib/client.js +131 -27
  99. package/lib/client.js.map +1 -1
  100. package/lib/code-source-selection.js +102 -0
  101. package/lib/code-source-selection.js.map +1 -0
  102. package/lib/config-resolvers/accounts.js +26 -1
  103. package/lib/config-resolvers/accounts.js.map +1 -1
  104. package/lib/config-resolvers/defaults.js +5 -0
  105. package/lib/config-resolvers/defaults.js.map +1 -1
  106. package/lib/config-resolvers/integration.js +8 -1
  107. package/lib/config-resolvers/integration.js.map +1 -1
  108. package/lib/config-resolvers/session.js +2 -0
  109. package/lib/config-resolvers/session.js.map +1 -1
  110. package/lib/config.js +51 -3
  111. package/lib/config.js.map +1 -1
  112. package/lib/enforcement/skill-policy.js +37 -2
  113. package/lib/enforcement/skill-policy.js.map +1 -1
  114. package/lib/filesystem-intent.js +39 -0
  115. package/lib/filesystem-intent.js.map +1 -0
  116. package/lib/forms/attachments.js +18 -2
  117. package/lib/forms/attachments.js.map +1 -1
  118. package/lib/forms/errors.js +6 -1
  119. package/lib/forms/errors.js.map +1 -1
  120. package/lib/forms/gate.js +28 -2
  121. package/lib/forms/gate.js.map +1 -1
  122. package/lib/forms/schema-errors.js +47 -0
  123. package/lib/forms/schema-errors.js.map +1 -0
  124. package/lib/forms/schema.js +29 -20
  125. package/lib/forms/schema.js.map +1 -1
  126. package/lib/index.js +189 -84
  127. package/lib/index.js.map +1 -1
  128. package/lib/integration/http.js +9 -10
  129. package/lib/integration/http.js.map +1 -1
  130. package/lib/integration/service.js +9 -0
  131. package/lib/integration/service.js.map +1 -1
  132. package/lib/personal-skills/provider.js +9 -1
  133. package/lib/personal-skills/provider.js.map +1 -1
  134. package/lib/personal-skills/service.js +4 -0
  135. package/lib/personal-skills/service.js.map +1 -1
  136. package/lib/personal-skills/shared-seed.js +65 -0
  137. package/lib/personal-skills/shared-seed.js.map +1 -0
  138. package/lib/prompt-notes.js +19 -1
  139. package/lib/prompt-notes.js.map +1 -1
  140. package/lib/provenance/collector.js +1 -0
  141. package/lib/provenance/collector.js.map +1 -1
  142. package/lib/provenance/extractors.js +6 -1
  143. package/lib/provenance/extractors.js.map +1 -1
  144. package/lib/qa-tools/catalog.js +18 -1
  145. package/lib/qa-tools/catalog.js.map +1 -1
  146. package/lib/qa-tools/code-files.js +207 -0
  147. package/lib/qa-tools/code-files.js.map +1 -0
  148. package/lib/qa-tools/code-tools.js +158 -0
  149. package/lib/qa-tools/code-tools.js.map +1 -0
  150. package/lib/qa-tools/docs-tools.js +49 -12
  151. package/lib/qa-tools/docs-tools.js.map +1 -1
  152. package/lib/qa-tools/index.js +4 -0
  153. package/lib/qa-tools/index.js.map +1 -1
  154. package/lib/qa-tools/request-user-form.js +27 -7
  155. package/lib/qa-tools/request-user-form.js.map +1 -1
  156. package/lib/request-scheduler.js +262 -0
  157. package/lib/request-scheduler.js.map +1 -0
  158. package/lib/resolve-config.js +9 -1
  159. package/lib/resolve-config.js.map +1 -1
  160. package/lib/secure-session.js +62 -56
  161. package/lib/secure-session.js.map +1 -1
  162. package/lib/session-create.js +125 -0
  163. package/lib/session-create.js.map +1 -0
  164. package/lib/session-model.js +43 -1
  165. package/lib/session-model.js.map +1 -1
  166. package/lib/shared/history-folder.js +18 -0
  167. package/lib/shared/history-folder.js.map +1 -0
  168. package/lib/typert.host.js +793 -159
  169. package/lib/typert.remote-client.d.ts +19 -7
  170. package/lib/typert.remote-client.js +726 -148
  171. package/lib/types/access/model-choices.d.ts +16 -0
  172. package/lib/types/access/model-policy.d.ts +13 -7
  173. package/lib/types/access/model.d.ts +9 -0
  174. package/lib/types/access/queue-policy.d.ts +30 -0
  175. package/lib/types/access/service.d.ts +27 -0
  176. package/lib/types/account-remotes.d.ts +5 -4
  177. package/lib/types/accounts/database.d.ts +5 -0
  178. package/lib/types/accounts/store.d.ts +6 -0
  179. package/lib/types/attachment-access.d.ts +29 -0
  180. package/lib/types/chat-sharing/search.d.ts +5 -0
  181. package/lib/types/chat-sharing/transport.d.ts +1 -1
  182. package/lib/types/client/QaAccountsController.d.ts +3 -1
  183. package/lib/types/client/QaSessionController.d.ts +31 -14
  184. package/lib/types/client/QaSurface.d.ts +2 -0
  185. package/lib/types/client/admin/ModelPolicyEditor.d.ts +2 -0
  186. package/lib/types/client/code-source-styles.d.ts +2 -0
  187. package/lib/types/client/components/QaChatActions.d.ts +3 -1
  188. package/lib/types/client/components/QaCodeSourcePicker.d.ts +9 -0
  189. package/lib/types/client/components/QaComposer.d.ts +2 -0
  190. package/lib/types/client/components/QaComposerSettings.d.ts +16 -0
  191. package/lib/types/client/components/QaFormItem.d.ts +4 -2
  192. package/lib/types/client/components/QaHistoryCatalog.d.ts +19 -0
  193. package/lib/types/client/components/QaInputForm.d.ts +3 -2
  194. package/lib/types/client/components/QaModelSelector.d.ts +4 -0
  195. package/lib/types/client/components/QaRequestWait.d.ts +6 -0
  196. package/lib/types/client/components/QaSidebar.d.ts +3 -0
  197. package/lib/types/client/composer-settings-styles.d.ts +2 -0
  198. package/lib/types/client/forms-styles.d.ts +1 -1
  199. package/lib/types/client/history-organization-styles.d.ts +3 -0
  200. package/lib/types/client/history-organization.d.ts +38 -0
  201. package/lib/types/client/project-session-state.d.ts +2 -4
  202. package/lib/types/client/request-wait-styles.d.ts +2 -0
  203. package/lib/types/client/types.d.ts +15 -7
  204. package/lib/types/client/use-chat-code-source.d.ts +20 -0
  205. package/lib/types/client/use-history-organization.d.ts +8 -0
  206. package/lib/types/client/use-model-selection.d.ts +24 -0
  207. package/lib/types/client/use-qa-file-drop.d.ts +12 -0
  208. package/lib/types/code-source-selection.d.ts +28 -0
  209. package/lib/types/code-sources.js +2 -0
  210. package/lib/types/code-sources.js.map +1 -0
  211. package/lib/types/config-resolvers/integration.d.ts +7 -1
  212. package/lib/types/filesystem-intent.d.ts +12 -0
  213. package/lib/types/forms/attachments.d.ts +5 -2
  214. package/lib/types/forms/errors.d.ts +3 -2
  215. package/lib/types/forms/gate.d.ts +4 -2
  216. package/lib/types/forms/schema-errors.d.ts +7 -0
  217. package/lib/types/forms/types.d.ts +14 -0
  218. package/lib/types/index.d.ts +41 -15
  219. package/lib/types/integration/http.d.ts +1 -3
  220. package/lib/types/integration/service.d.ts +2 -0
  221. package/lib/types/personal-skills/shared-seed.d.ts +12 -0
  222. package/lib/types/prompt-notes.d.ts +5 -1
  223. package/lib/types/qa-tools/catalog.d.ts +4 -3
  224. package/lib/types/qa-tools/code-files.d.ts +59 -0
  225. package/lib/types/qa-tools/code-tools.d.ts +7 -0
  226. package/lib/types/qa-tools/docs-tools.d.ts +4 -0
  227. package/lib/types/qa-tools/index.d.ts +3 -1
  228. package/lib/types/qa-tools/request-user-form.d.ts +1 -1
  229. package/lib/types/request-scheduler.d.ts +47 -0
  230. package/lib/types/secure-session.d.ts +12 -26
  231. package/lib/types/session-create.d.ts +29 -0
  232. package/lib/types/session-model.d.ts +11 -2
  233. package/lib/types/shared/history-folder.d.ts +4 -0
  234. package/lib/types/types/accounts.d.ts +11 -0
  235. package/lib/types/types/capability.d.ts +31 -4
  236. package/lib/types/types/code-sources.d.ts +12 -0
  237. package/lib/types/types/config.d.ts +20 -0
  238. package/lib/types/types/session.d.ts +8 -0
  239. package/lib/types/types.d.ts +1 -0
  240. package/lib/types/user-workspace.d.ts +4 -6
  241. package/lib/user-workspace.js +20 -71
  242. package/lib/user-workspace.js.map +1 -1
  243. package/package.json +13 -10
@@ -5,7 +5,7 @@ import type {
5
5
  TypertRemoteInfo,
6
6
  TypertRemoteMethod,
7
7
  } from '@deepseek-ai/dsh-typert-protocol'
8
- 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, QaFormCommand, QaFormResult, QaFormView, QaIssuedServiceToken, QaLockdownProof, QaMessageFeedback, QaMessageFeedbackInput, QaModelCatalogEntry, QaOidcStart, 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
+ import type { QaAccessAdminSnapshot, QaAccountNotificationsInput, QaAccountProfileInput, QaAccountSession, QaAccountStartersInput, QaAccountUserPublic, QaAdminAuditEvent, QaAdminOverview, QaAdminPage, QaAdminSkillScope, QaAdminSkillsView, QaAdminUserDetail, QaAdminUserRow, QaAdminUserUpdate, QaApprovalDecision, QaAuditQuery, QaCapabilitySelection, QaChatAccess, QaChatAuthor, QaChatCodeSources, QaChatGrant, QaChatJson, QaChatMode, QaClaimResult, QaConversationDeletion, QaConversationDetail, QaConversationQuery, QaConversationReview, QaConversationReviewInput, QaConversationSummary, QaCurrentAccess, QaDocumentPreview, QaDocumentWorkflowStatus, QaExpertMemoryDraft, QaExpertMemoryPage, QaExpertMemoryRecord, QaExpertMemoryScope, QaFeedbackHarvestEntry, QaFeedbackHarvestResult, QaFeedbackQuery, QaFeedbackRow, QaFormCommand, QaFormResult, QaFormView, QaHistoryFolderTarget, QaIssuedServiceToken, QaLockdownProof, QaMessageFeedback, QaMessageFeedbackInput, QaModelCatalogEntry, QaModelOptions, QaOidcStart, QaOwnedSessionsResult, 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'
9
9
 
10
10
  declare module '@deepseek-ai/dsh-typert-protocol' {
11
11
  interface TypertRemoteNamespace$716153757266616365 {
@@ -20,6 +20,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
20
20
  accessUpdateCommon: (token: string, input: QaCapabilitySelection) => Promise<RemoteResult<QaCapabilitySelection>>
21
21
  accessUpdateSkillOverride: (token: string, input: QaSkillAssignmentOverride) => Promise<RemoteResult<readonly QaSkillAssignmentOverride[]>>
22
22
  accessUpdateSubrole: (token: string, id: string, input: QaSubrole) => Promise<RemoteResult<QaSubrole>>
23
+ accessUserModels: (token: string, sessionId: string | null, subroleId: string | null, adminPreview: boolean) => Promise<RemoteResult<QaModelOptions>>
23
24
  accountsChangePassword: (token: string, currentPassword: string, nextPassword: string) => Promise<RemoteResult<QaAccountSession>>
24
25
  accountsClaimSessions: (token: string, sessionIds: readonly string[]) => Promise<RemoteResult<QaClaimResult>>
25
26
  accountsCreateServiceToken: (token: string, input: QaServiceTokenCreateInput) => Promise<RemoteResult<QaIssuedServiceToken>>
@@ -29,11 +30,12 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
29
30
  accountsOidcComplete: (handoff: string, completionKey: string) => Promise<RemoteResult<QaAccountSession>>
30
31
  accountsOidcLogout: (token: string) => Promise<RemoteResult<string | null>>
31
32
  accountsOidcStart: () => Promise<RemoteResult<import('./types.js').QaOidcStart>>
32
- accountsOwnedSessions: (token: string) => Promise<RemoteResult<{ readonly ids: readonly string[]; }>>
33
+ accountsOwnedSessions: (token: string) => Promise<RemoteResult<QaOwnedSessionsResult>>
33
34
  accountsRegister: (email: string, password: string) => Promise<RemoteResult<QaAccountSession>>
34
35
  accountsRequestPasswordReset: (email: string) => Promise<RemoteResult<{ readonly accepted: true; }>>
35
36
  accountsRevokeServiceToken: (token: string, tokenId: string) => Promise<RemoteResult<{ readonly revoked: boolean; }>>
36
37
  accountsSetServiceTokenClarifications: (token: string, tokenId: string, allowed: boolean) => Promise<RemoteResult<{ readonly updated: boolean; }>>
38
+ accountsSetServiceTokenHistoryFolder: (token: string, tokenId: string, folder: QaHistoryFolderTarget | null) => Promise<RemoteResult<{ readonly updated: boolean; }>>
37
39
  accountsUpdateNotifications: (token: string, input: QaAccountNotificationsInput) => Promise<RemoteResult<QaAccountUserPublic>>
38
40
  accountsUpdateProfile: (token: string, input: QaAccountProfileInput) => Promise<RemoteResult<QaAccountUserPublic>>
39
41
  accountsUpdateStarters: (token: string, input: QaAccountStartersInput) => Promise<RemoteResult<QaAccountUserPublic>>
@@ -76,6 +78,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
76
78
  chatAudit: (token: string, sessionId: string, full: boolean) => Promise<RemoteResult<QaChatJson>>
77
79
  chatAuthors: (token: string, sessionId: string) => Promise<RemoteResult<readonly QaChatAuthor[]>>
78
80
  chatCancel: (token: string, sessionId: string) => Promise<RemoteResult<SessionCancelValue>>
81
+ chatCodeSources: (token: string, sessionId: string) => Promise<RemoteResult<QaChatCodeSources>>
79
82
  chatControl: (token: string, signal?: AbortSignal) => RemoteStreamHandle<QaChatJson, never>
80
83
  chatFollow: (token: string, request: SessionFollowRequest, signal?: AbortSignal) => RemoteStreamHandle<QaChatJson, never>
81
84
  chatGrants: (token: string, sessionId: string) => Promise<RemoteResult<readonly QaChatGrant[]>>
@@ -85,6 +88,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
85
88
  chatPrompt: (token: string, request: SessionPromptRequest, signal?: AbortSignal) => Promise<RemoteResult<SessionPromptValue>>
86
89
  chatRename: (token: string, request: SessionRenameRequest) => Promise<RemoteResult<SessionRenameValue>>
87
90
  chatSearch: (token: string, request: SessionSearchRequest, signal?: AbortSignal) => Promise<RemoteResult<QaChatJson>>
91
+ chatSelectCodeSource: (token: string, sessionId: string, source: string | null) => Promise<RemoteResult<QaChatCodeSources>>
88
92
  chatSelectModel: (token: string, request: SessionSelectModelRequest) => Promise<RemoteResult<SessionSelectModelValue>>
89
93
  chatSetGrant: (token: string, sessionId: string, email: string, mode: QaChatMode | null) => Promise<RemoteResult<readonly QaChatGrant[]>>
90
94
  chatUpdateQueue: (token: string, request: SessionUpdateQueueRequest) => Promise<RemoteResult<SessionUpdateQueueValue>>
@@ -101,7 +105,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
101
105
  pendingApprovals: (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingApproval[]>>
102
106
  pendingQuestions: (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingQuestion[]>>
103
107
  previewWorkspaceDocument: (token: string, sessionId: string, path: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaDocumentPreview>>
104
- queueStatus: () => Promise<RemoteResult<QaQueueStatus>>
108
+ queueStatus: (token: string, sessionId: string) => Promise<RemoteResult<QaQueueStatus>>
105
109
  readFormAttachment: (token: string, sessionId: string, formId: string, resourceId: string) => Promise<RemoteResult<QaFormResult<{ name: string; media_type: string; data: string; }>>>
106
110
  readSourceFile: (token: string, sessionId: string, sourcePath: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaSourceFilePreview>>
107
111
  readSourceImage: (token: string, sessionId: string, sourcePath: string, imagePath: string) => Promise<RemoteResult<string>>
@@ -132,6 +136,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
132
136
  'qaSurface/accessUpdateCommon': (token: string, input: QaCapabilitySelection) => Promise<RemoteResult<QaCapabilitySelection>>
133
137
  'qaSurface/accessUpdateSkillOverride': (token: string, input: QaSkillAssignmentOverride) => Promise<RemoteResult<readonly QaSkillAssignmentOverride[]>>
134
138
  'qaSurface/accessUpdateSubrole': (token: string, id: string, input: QaSubrole) => Promise<RemoteResult<QaSubrole>>
139
+ 'qaSurface/accessUserModels': (token: string, sessionId: string | null, subroleId: string | null, adminPreview: boolean) => Promise<RemoteResult<QaModelOptions>>
135
140
  'qaSurface/accountsChangePassword': (token: string, currentPassword: string, nextPassword: string) => Promise<RemoteResult<QaAccountSession>>
136
141
  'qaSurface/accountsClaimSessions': (token: string, sessionIds: readonly string[]) => Promise<RemoteResult<QaClaimResult>>
137
142
  'qaSurface/accountsCreateServiceToken': (token: string, input: QaServiceTokenCreateInput) => Promise<RemoteResult<QaIssuedServiceToken>>
@@ -141,11 +146,12 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
141
146
  'qaSurface/accountsOidcComplete': (handoff: string, completionKey: string) => Promise<RemoteResult<QaAccountSession>>
142
147
  'qaSurface/accountsOidcLogout': (token: string) => Promise<RemoteResult<string | null>>
143
148
  'qaSurface/accountsOidcStart': () => Promise<RemoteResult<import('./types.js').QaOidcStart>>
144
- 'qaSurface/accountsOwnedSessions': (token: string) => Promise<RemoteResult<{ readonly ids: readonly string[]; }>>
149
+ 'qaSurface/accountsOwnedSessions': (token: string) => Promise<RemoteResult<QaOwnedSessionsResult>>
145
150
  'qaSurface/accountsRegister': (email: string, password: string) => Promise<RemoteResult<QaAccountSession>>
146
151
  'qaSurface/accountsRequestPasswordReset': (email: string) => Promise<RemoteResult<{ readonly accepted: true; }>>
147
152
  'qaSurface/accountsRevokeServiceToken': (token: string, tokenId: string) => Promise<RemoteResult<{ readonly revoked: boolean; }>>
148
153
  'qaSurface/accountsSetServiceTokenClarifications': (token: string, tokenId: string, allowed: boolean) => Promise<RemoteResult<{ readonly updated: boolean; }>>
154
+ 'qaSurface/accountsSetServiceTokenHistoryFolder': (token: string, tokenId: string, folder: QaHistoryFolderTarget | null) => Promise<RemoteResult<{ readonly updated: boolean; }>>
149
155
  'qaSurface/accountsUpdateNotifications': (token: string, input: QaAccountNotificationsInput) => Promise<RemoteResult<QaAccountUserPublic>>
150
156
  'qaSurface/accountsUpdateProfile': (token: string, input: QaAccountProfileInput) => Promise<RemoteResult<QaAccountUserPublic>>
151
157
  'qaSurface/accountsUpdateStarters': (token: string, input: QaAccountStartersInput) => Promise<RemoteResult<QaAccountUserPublic>>
@@ -188,6 +194,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
188
194
  'qaSurface/chatAudit': (token: string, sessionId: string, full: boolean) => Promise<RemoteResult<QaChatJson>>
189
195
  'qaSurface/chatAuthors': (token: string, sessionId: string) => Promise<RemoteResult<readonly QaChatAuthor[]>>
190
196
  'qaSurface/chatCancel': (token: string, sessionId: string) => Promise<RemoteResult<SessionCancelValue>>
197
+ 'qaSurface/chatCodeSources': (token: string, sessionId: string) => Promise<RemoteResult<QaChatCodeSources>>
191
198
  'qaSurface/chatControl': (token: string, signal?: AbortSignal) => RemoteStreamHandle<QaChatJson, never>
192
199
  'qaSurface/chatFollow': (token: string, request: SessionFollowRequest, signal?: AbortSignal) => RemoteStreamHandle<QaChatJson, never>
193
200
  'qaSurface/chatGrants': (token: string, sessionId: string) => Promise<RemoteResult<readonly QaChatGrant[]>>
@@ -197,6 +204,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
197
204
  'qaSurface/chatPrompt': (token: string, request: SessionPromptRequest, signal?: AbortSignal) => Promise<RemoteResult<SessionPromptValue>>
198
205
  'qaSurface/chatRename': (token: string, request: SessionRenameRequest) => Promise<RemoteResult<SessionRenameValue>>
199
206
  'qaSurface/chatSearch': (token: string, request: SessionSearchRequest, signal?: AbortSignal) => Promise<RemoteResult<QaChatJson>>
207
+ 'qaSurface/chatSelectCodeSource': (token: string, sessionId: string, source: string | null) => Promise<RemoteResult<QaChatCodeSources>>
200
208
  'qaSurface/chatSelectModel': (token: string, request: SessionSelectModelRequest) => Promise<RemoteResult<SessionSelectModelValue>>
201
209
  'qaSurface/chatSetGrant': (token: string, sessionId: string, email: string, mode: QaChatMode | null) => Promise<RemoteResult<readonly QaChatGrant[]>>
202
210
  'qaSurface/chatUpdateQueue': (token: string, request: SessionUpdateQueueRequest) => Promise<RemoteResult<SessionUpdateQueueValue>>
@@ -213,7 +221,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
213
221
  'qaSurface/pendingApprovals': (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingApproval[]>>
214
222
  'qaSurface/pendingQuestions': (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingQuestion[]>>
215
223
  'qaSurface/previewWorkspaceDocument': (token: string, sessionId: string, path: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaDocumentPreview>>
216
- 'qaSurface/queueStatus': () => Promise<RemoteResult<QaQueueStatus>>
224
+ 'qaSurface/queueStatus': (token: string, sessionId: string) => Promise<RemoteResult<QaQueueStatus>>
217
225
  'qaSurface/readFormAttachment': (token: string, sessionId: string, formId: string, resourceId: string) => Promise<RemoteResult<QaFormResult<{ name: string; media_type: string; data: string; }>>>
218
226
  'qaSurface/readSourceFile': (token: string, sessionId: string, sourcePath: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaSourceFilePreview>>
219
227
  'qaSurface/readSourceImage': (token: string, sessionId: string, sourcePath: string, imagePath: string) => Promise<RemoteResult<string>>
@@ -249,6 +257,7 @@ export declare const TYPERT_REMOTE: TypertRemoteInfo<{
249
257
  readonly 'qaSurface/accessUpdateCommon': TypertRemoteMethod<{ readonly 'token': string; readonly 'input': QaCapabilitySelection }, QaCapabilitySelection>
250
258
  readonly 'qaSurface/accessUpdateSkillOverride': TypertRemoteMethod<{ readonly 'token': string; readonly 'input': QaSkillAssignmentOverride }, readonly QaSkillAssignmentOverride[]>
251
259
  readonly 'qaSurface/accessUpdateSubrole': TypertRemoteMethod<{ readonly 'token': string; readonly 'id': string; readonly 'input': QaSubrole }, QaSubrole>
260
+ readonly 'qaSurface/accessUserModels': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string | null; readonly 'subroleId': string | null; readonly 'adminPreview': boolean }, QaModelOptions>
252
261
  readonly 'qaSurface/accountsChangePassword': TypertRemoteMethod<{ readonly 'token': string; readonly 'currentPassword': string; readonly 'nextPassword': string }, QaAccountSession>
253
262
  readonly 'qaSurface/accountsClaimSessions': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionIds': readonly string[] }, QaClaimResult>
254
263
  readonly 'qaSurface/accountsCreateServiceToken': TypertRemoteMethod<{ readonly 'token': string; readonly 'input': QaServiceTokenCreateInput }, QaIssuedServiceToken>
@@ -258,11 +267,12 @@ export declare const TYPERT_REMOTE: TypertRemoteInfo<{
258
267
  readonly 'qaSurface/accountsOidcComplete': TypertRemoteMethod<{ readonly 'handoff': string; readonly 'completionKey': string }, QaAccountSession>
259
268
  readonly 'qaSurface/accountsOidcLogout': TypertRemoteMethod<{ readonly 'token': string }, string | null>
260
269
  readonly 'qaSurface/accountsOidcStart': TypertRemoteMethod<{ }, import('./types.js').QaOidcStart>
261
- readonly 'qaSurface/accountsOwnedSessions': TypertRemoteMethod<{ readonly 'token': string }, { readonly ids: readonly string[]; }>
270
+ readonly 'qaSurface/accountsOwnedSessions': TypertRemoteMethod<{ readonly 'token': string }, QaOwnedSessionsResult>
262
271
  readonly 'qaSurface/accountsRegister': TypertRemoteMethod<{ readonly 'email': string; readonly 'password': string }, QaAccountSession>
263
272
  readonly 'qaSurface/accountsRequestPasswordReset': TypertRemoteMethod<{ readonly 'email': string }, { readonly accepted: true; }>
264
273
  readonly 'qaSurface/accountsRevokeServiceToken': TypertRemoteMethod<{ readonly 'token': string; readonly 'tokenId': string }, { readonly revoked: boolean; }>
265
274
  readonly 'qaSurface/accountsSetServiceTokenClarifications': TypertRemoteMethod<{ readonly 'token': string; readonly 'tokenId': string; readonly 'allowed': boolean }, { readonly updated: boolean; }>
275
+ readonly 'qaSurface/accountsSetServiceTokenHistoryFolder': TypertRemoteMethod<{ readonly 'token': string; readonly 'tokenId': string; readonly 'folder': QaHistoryFolderTarget | null }, { readonly updated: boolean; }>
266
276
  readonly 'qaSurface/accountsUpdateNotifications': TypertRemoteMethod<{ readonly 'token': string; readonly 'input': QaAccountNotificationsInput }, QaAccountUserPublic>
267
277
  readonly 'qaSurface/accountsUpdateProfile': TypertRemoteMethod<{ readonly 'token': string; readonly 'input': QaAccountProfileInput }, QaAccountUserPublic>
268
278
  readonly 'qaSurface/accountsUpdateStarters': TypertRemoteMethod<{ readonly 'token': string; readonly 'input': QaAccountStartersInput }, QaAccountUserPublic>
@@ -305,6 +315,7 @@ export declare const TYPERT_REMOTE: TypertRemoteInfo<{
305
315
  readonly 'qaSurface/chatAudit': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'full': boolean }, QaChatJson>
306
316
  readonly 'qaSurface/chatAuthors': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string }, readonly QaChatAuthor[]>
307
317
  readonly 'qaSurface/chatCancel': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string }, SessionCancelValue>
318
+ readonly 'qaSurface/chatCodeSources': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string }, QaChatCodeSources>
308
319
  readonly 'qaSurface/chatControl': TypertRemoteMethod<{ readonly 'token': string }, QaChatJson, 'stream'>
309
320
  readonly 'qaSurface/chatFollow': TypertRemoteMethod<{ readonly 'token': string; readonly 'request': SessionFollowRequest }, QaChatJson, 'stream'>
310
321
  readonly 'qaSurface/chatGrants': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string }, readonly QaChatGrant[]>
@@ -314,6 +325,7 @@ export declare const TYPERT_REMOTE: TypertRemoteInfo<{
314
325
  readonly 'qaSurface/chatPrompt': TypertRemoteMethod<{ readonly 'token': string; readonly 'request': SessionPromptRequest }, SessionPromptValue>
315
326
  readonly 'qaSurface/chatRename': TypertRemoteMethod<{ readonly 'token': string; readonly 'request': SessionRenameRequest }, SessionRenameValue>
316
327
  readonly 'qaSurface/chatSearch': TypertRemoteMethod<{ readonly 'token': string; readonly 'request': SessionSearchRequest }, QaChatJson>
328
+ readonly 'qaSurface/chatSelectCodeSource': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'source': string | null }, QaChatCodeSources>
317
329
  readonly 'qaSurface/chatSelectModel': TypertRemoteMethod<{ readonly 'token': string; readonly 'request': SessionSelectModelRequest }, SessionSelectModelValue>
318
330
  readonly 'qaSurface/chatSetGrant': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'email': string; readonly 'mode': QaChatMode | null }, readonly QaChatGrant[]>
319
331
  readonly 'qaSurface/chatUpdateQueue': TypertRemoteMethod<{ readonly 'token': string; readonly 'request': SessionUpdateQueueRequest }, SessionUpdateQueueValue>
@@ -330,7 +342,7 @@ export declare const TYPERT_REMOTE: TypertRemoteInfo<{
330
342
  readonly 'qaSurface/pendingApprovals': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string }, readonly QaPendingApproval[]>
331
343
  readonly 'qaSurface/pendingQuestions': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string }, readonly QaPendingQuestion[]>
332
344
  readonly 'qaSurface/previewWorkspaceDocument': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'path': string; readonly 'selection'?: QaSpreadsheetPreviewSelection }, QaDocumentPreview>
333
- readonly 'qaSurface/queueStatus': TypertRemoteMethod<{ }, QaQueueStatus>
345
+ readonly 'qaSurface/queueStatus': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string }, QaQueueStatus>
334
346
  readonly 'qaSurface/readFormAttachment': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'formId': string; readonly 'resourceId': string }, QaFormResult<{ name: string; media_type: string; data: string; }>>
335
347
  readonly 'qaSurface/readSourceFile': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'sourcePath': string; readonly 'selection'?: QaSpreadsheetPreviewSelection }, QaSourceFilePreview>
336
348
  readonly 'qaSurface/readSourceImage': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'sourcePath': string; readonly 'imagePath': string }, string>