@yadsh/dsh-qa-surface 0.18.0 → 0.19.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 (65) hide show
  1. package/README.md +20 -22
  2. package/lib/attachment-access.js +147 -0
  3. package/lib/attachment-access.js.map +1 -0
  4. package/lib/chat-sharing/search.js +89 -0
  5. package/lib/chat-sharing/search.js.map +1 -0
  6. package/lib/chat-sharing/transport.js +2 -7
  7. package/lib/chat-sharing/transport.js.map +1 -1
  8. package/lib/client/QaSessionController.js +51 -9
  9. package/lib/client/QaSessionController.js.map +1 -1
  10. package/lib/client/QaSurface.js +4 -3
  11. package/lib/client/QaSurface.js.map +1 -1
  12. package/lib/client/components/QaChangelog.js +27 -0
  13. package/lib/client/components/QaChangelog.js.map +1 -1
  14. package/lib/client/components/QaRequestWait.js +15 -0
  15. package/lib/client/components/QaRequestWait.js.map +1 -0
  16. package/lib/client/index.js +3 -1
  17. package/lib/client/index.js.map +1 -1
  18. package/lib/client/project-session-state.js.map +1 -1
  19. package/lib/client/request-wait-styles.js +7 -0
  20. package/lib/client/request-wait-styles.js.map +1 -0
  21. package/lib/client/styles.js +2 -0
  22. package/lib/client/styles.js.map +1 -1
  23. package/lib/client/types.js.map +1 -1
  24. package/lib/client.js +14 -8
  25. package/lib/client.js.map +1 -1
  26. package/lib/filesystem-intent.js +39 -0
  27. package/lib/filesystem-intent.js.map +1 -0
  28. package/lib/forms/attachments.js +18 -2
  29. package/lib/forms/attachments.js.map +1 -1
  30. package/lib/index.js +46 -80
  31. package/lib/index.js.map +1 -1
  32. package/lib/qa-tools/catalog.js.map +1 -1
  33. package/lib/qa-tools/index.js.map +1 -1
  34. package/lib/qa-tools/request-user-form.js +1 -1
  35. package/lib/qa-tools/request-user-form.js.map +1 -1
  36. package/lib/request-scheduler.js +235 -0
  37. package/lib/request-scheduler.js.map +1 -0
  38. package/lib/secure-session.js +46 -52
  39. package/lib/secure-session.js.map +1 -1
  40. package/lib/session-create.js +125 -0
  41. package/lib/session-create.js.map +1 -0
  42. package/lib/typert.host.js +163 -116
  43. package/lib/typert.remote-client.d.ts +3 -3
  44. package/lib/typert.remote-client.js +159 -112
  45. package/lib/types/attachment-access.d.ts +29 -0
  46. package/lib/types/chat-sharing/search.d.ts +5 -0
  47. package/lib/types/client/QaSessionController.d.ts +12 -9
  48. package/lib/types/client/components/QaRequestWait.d.ts +6 -0
  49. package/lib/types/client/project-session-state.d.ts +2 -4
  50. package/lib/types/client/request-wait-styles.d.ts +2 -0
  51. package/lib/types/client/types.d.ts +3 -3
  52. package/lib/types/filesystem-intent.d.ts +12 -0
  53. package/lib/types/forms/attachments.d.ts +5 -2
  54. package/lib/types/index.d.ts +6 -13
  55. package/lib/types/qa-tools/catalog.d.ts +1 -1
  56. package/lib/types/qa-tools/index.d.ts +1 -1
  57. package/lib/types/qa-tools/request-user-form.d.ts +1 -1
  58. package/lib/types/request-scheduler.d.ts +28 -0
  59. package/lib/types/secure-session.d.ts +12 -26
  60. package/lib/types/session-create.d.ts +29 -0
  61. package/lib/types/types/session.d.ts +8 -0
  62. package/lib/types/user-workspace.d.ts +4 -6
  63. package/lib/user-workspace.js +13 -67
  64. package/lib/user-workspace.js.map +1 -1
  65. package/package.json +11 -9
@@ -101,7 +101,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
101
101
  pendingApprovals: (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingApproval[]>>
102
102
  pendingQuestions: (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingQuestion[]>>
103
103
  previewWorkspaceDocument: (token: string, sessionId: string, path: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaDocumentPreview>>
104
- queueStatus: () => Promise<RemoteResult<QaQueueStatus>>
104
+ queueStatus: (token?: string, sessionId?: string) => Promise<RemoteResult<QaQueueStatus>>
105
105
  readFormAttachment: (token: string, sessionId: string, formId: string, resourceId: string) => Promise<RemoteResult<QaFormResult<{ name: string; media_type: string; data: string; }>>>
106
106
  readSourceFile: (token: string, sessionId: string, sourcePath: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaSourceFilePreview>>
107
107
  readSourceImage: (token: string, sessionId: string, sourcePath: string, imagePath: string) => Promise<RemoteResult<string>>
@@ -213,7 +213,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
213
213
  'qaSurface/pendingApprovals': (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingApproval[]>>
214
214
  'qaSurface/pendingQuestions': (token: string, sessionId: string) => Promise<RemoteResult<readonly QaPendingQuestion[]>>
215
215
  'qaSurface/previewWorkspaceDocument': (token: string, sessionId: string, path: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaDocumentPreview>>
216
- 'qaSurface/queueStatus': () => Promise<RemoteResult<QaQueueStatus>>
216
+ 'qaSurface/queueStatus': (token?: string, sessionId?: string) => Promise<RemoteResult<QaQueueStatus>>
217
217
  'qaSurface/readFormAttachment': (token: string, sessionId: string, formId: string, resourceId: string) => Promise<RemoteResult<QaFormResult<{ name: string; media_type: string; data: string; }>>>
218
218
  'qaSurface/readSourceFile': (token: string, sessionId: string, sourcePath: string, selection?: QaSpreadsheetPreviewSelection) => Promise<RemoteResult<QaSourceFilePreview>>
219
219
  'qaSurface/readSourceImage': (token: string, sessionId: string, sourcePath: string, imagePath: string) => Promise<RemoteResult<string>>
@@ -330,7 +330,7 @@ export declare const TYPERT_REMOTE: TypertRemoteInfo<{
330
330
  readonly 'qaSurface/pendingApprovals': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string }, readonly QaPendingApproval[]>
331
331
  readonly 'qaSurface/pendingQuestions': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string }, readonly QaPendingQuestion[]>
332
332
  readonly 'qaSurface/previewWorkspaceDocument': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'path': string; readonly 'selection'?: QaSpreadsheetPreviewSelection }, QaDocumentPreview>
333
- readonly 'qaSurface/queueStatus': TypertRemoteMethod<{ }, QaQueueStatus>
333
+ readonly 'qaSurface/queueStatus': TypertRemoteMethod<{ readonly 'token'?: string; readonly 'sessionId'?: string }, QaQueueStatus>
334
334
  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
335
  readonly 'qaSurface/readSourceFile': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'sourcePath': string; readonly 'selection'?: QaSpreadsheetPreviewSelection }, QaSourceFilePreview>
336
336
  readonly 'qaSurface/readSourceImage': TypertRemoteMethod<{ readonly 'token': string; readonly 'sessionId': string; readonly 'sourcePath': string; readonly 'imagePath': string }, string>