@awiki/dsh-plugin 0.3.10 → 0.3.11-rc.2
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 +14 -5
- package/README.zh.md +11 -4
- package/lib/client.js +2067 -272
- package/lib/client.js.map +1 -1
- package/lib/index.js +536 -167
- package/lib/model-proxy-contract.js +8 -8
- package/lib/provider.js +32 -2
- package/lib/{sdk-adapter-CYcJH7sM.mjs → sdk-adapter-DpqT2en9.mjs} +17 -7
- package/lib/typert.host.js +181 -117
- package/lib/typert.remote-client.d.ts +3 -1
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +181 -117
- package/lib/types/base64.d.ts +4 -0
- package/lib/types/base64.d.ts.map +1 -0
- package/lib/types/base64.js +28 -0
- package/lib/types/base64.js.map +1 -0
- package/lib/types/client/AwikiIdentityAccess.d.ts +6 -4
- package/lib/types/client/AwikiIdentityAccess.d.ts.map +1 -1
- package/lib/types/client/AwikiIdentityAccess.js +147 -58
- package/lib/types/client/AwikiIdentityAccess.js.map +1 -1
- package/lib/types/client/AwikiMail.d.ts +1 -1
- package/lib/types/client/AwikiMail.d.ts.map +1 -1
- package/lib/types/client/AwikiMail.js +139 -6
- package/lib/types/client/AwikiMail.js.map +1 -1
- package/lib/types/client/AwikiOverlay.js +2 -2
- package/lib/types/client/AwikiOverlay.js.map +1 -1
- package/lib/types/client/AwikiRecoveryForm.d.ts +1 -0
- package/lib/types/client/AwikiRecoveryForm.d.ts.map +1 -1
- package/lib/types/client/AwikiRecoveryForm.js +3 -2
- package/lib/types/client/AwikiRecoveryForm.js.map +1 -1
- package/lib/types/client/AwikiSettingsSection.d.ts +1 -1
- package/lib/types/client/AwikiSettingsSection.d.ts.map +1 -1
- package/lib/types/client/awiki-client-bridge.d.ts +1 -1
- package/lib/types/client/awiki-client-bridge.d.ts.map +1 -1
- package/lib/types/client/awiki-client-bridge.js +1 -1
- package/lib/types/client/awiki-client-bridge.js.map +1 -1
- package/lib/types/client/controller.d.ts +15 -1
- package/lib/types/client/controller.d.ts.map +1 -1
- package/lib/types/client/controller.js +303 -54
- package/lib/types/client/controller.js.map +1 -1
- package/lib/types/client/index.d.ts +1 -1
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/index.js +4 -1
- package/lib/types/client/index.js.map +1 -1
- package/lib/types/client/mail-attachment.d.ts +40 -0
- package/lib/types/client/mail-attachment.d.ts.map +1 -0
- package/lib/types/client/mail-attachment.js +187 -0
- package/lib/types/client/mail-attachment.js.map +1 -0
- package/lib/types/client/otp-cooldown.d.ts +1 -0
- package/lib/types/client/otp-cooldown.d.ts.map +1 -1
- package/lib/types/client/otp-cooldown.js +12 -1
- package/lib/types/client/otp-cooldown.js.map +1 -1
- package/lib/types/client/settings-controller.d.ts +4 -2
- package/lib/types/client/settings-controller.d.ts.map +1 -1
- package/lib/types/client/settings-controller.js +24 -8
- package/lib/types/client/settings-controller.js.map +1 -1
- package/lib/types/client/slots.d.ts +6 -1
- package/lib/types/client/slots.d.ts.map +1 -1
- package/lib/types/client/store.d.ts +1 -1
- package/lib/types/client/store.d.ts.map +1 -1
- package/lib/types/client/store.js +1 -1
- package/lib/types/client/store.js.map +1 -1
- package/lib/types/external-http-auth.d.ts +3 -1
- package/lib/types/external-http-auth.d.ts.map +1 -1
- package/lib/types/external-http-auth.js +2 -2
- package/lib/types/external-http-auth.js.map +1 -1
- package/lib/types/identity-handle.d.ts +5 -0
- package/lib/types/identity-handle.d.ts.map +1 -0
- package/lib/types/identity-handle.js +33 -0
- package/lib/types/identity-handle.js.map +1 -0
- package/lib/types/index.d.ts +11 -2
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +101 -20
- package/lib/types/index.js.map +1 -1
- package/lib/types/listener.d.ts.map +1 -1
- package/lib/types/listener.js +2 -1
- package/lib/types/listener.js.map +1 -1
- package/lib/types/mail-attachment-client.d.ts +14 -0
- package/lib/types/mail-attachment-client.d.ts.map +1 -0
- package/lib/types/mail-attachment-client.js +173 -0
- package/lib/types/mail-attachment-client.js.map +1 -0
- package/lib/types/mail.d.ts +28 -2
- package/lib/types/mail.d.ts.map +1 -1
- package/lib/types/mail.js +79 -2
- package/lib/types/mail.js.map +1 -1
- package/lib/types/model-proxy-contract.d.ts +8 -8
- package/lib/types/model-proxy-contract.d.ts.map +1 -1
- package/lib/types/model-proxy-contract.js +8 -8
- package/lib/types/model-proxy-contract.js.map +1 -1
- package/lib/types/package-version.generated.d.ts +2 -2
- package/lib/types/package-version.generated.d.ts.map +1 -1
- package/lib/types/package-version.generated.js +2 -2
- package/lib/types/package-version.generated.js.map +1 -1
- package/lib/types/provider.d.ts +1 -1
- package/lib/types/provider.d.ts.map +1 -1
- package/lib/types/provider.js +12 -1
- package/lib/types/provider.js.map +1 -1
- package/lib/types/registration-policy.d.ts +5 -0
- package/lib/types/registration-policy.d.ts.map +1 -0
- package/lib/types/registration-policy.js +13 -0
- package/lib/types/registration-policy.js.map +1 -0
- package/lib/types/sdk-adapter.d.ts +2 -1
- package/lib/types/sdk-adapter.d.ts.map +1 -1
- package/lib/types/sdk-adapter.js +13 -4
- package/lib/types/sdk-adapter.js.map +1 -1
- package/lib/types/settings-rpc-contract.d.ts +14 -14
- package/lib/types/settings-rpc-contract.d.ts.map +1 -1
- package/lib/types/settings-rpc-contract.js +14 -14
- package/lib/types/settings-rpc-contract.js.map +1 -1
- package/lib/types/settings-rpc.d.ts.map +1 -1
- package/lib/types/settings-rpc.js +2 -2
- package/lib/types/settings-rpc.js.map +1 -1
- package/lib/types/settings-transport.d.ts +7 -0
- package/lib/types/settings-transport.d.ts.map +1 -0
- package/lib/types/settings-transport.js +52 -0
- package/lib/types/settings-transport.js.map +1 -0
- package/lib/types/tools.d.ts +1 -1
- package/lib/types/tools.d.ts.map +1 -1
- package/lib/types/tools.js +20 -4
- package/lib/types/tools.js.map +1 -1
- package/lib/types/types.d.ts +39 -2
- package/lib/types/types.d.ts.map +1 -1
- package/lib/types/types.js.map +1 -1
- package/lib/types/update-policy.d.ts +2 -2
- package/lib/types/update-policy.d.ts.map +1 -1
- package/package.json +84 -75
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
RemoteResult,
|
|
4
4
|
TypertRemoteContribution,
|
|
5
5
|
} from '@deepseek-ai/dsh-typert-protocol'
|
|
6
|
-
import type { AwikiAddGroupMemberRequest, AwikiAdminJoinProgress, AwikiApproveDeviceJoinRequest, AwikiClearLocalDataRequest, AwikiClearLocalDataResult, AwikiCompletion, AwikiConfirmRootTransferRequest, AwikiConversation, AwikiConversationPreferenceMutation, AwikiConversationPreferences, AwikiConversationSummary, AwikiCreateGroupRequest, AwikiCreateGroupResult, AwikiCreateIntegrationRequest, AwikiDeviceJoinProgress, AwikiDeviceManagementSnapshot, AwikiDid, AwikiDisplayProfile, AwikiDownloadAttachmentRequest, AwikiDownloadedAttachment, AwikiGroupMember, AwikiGroupMemberPage, AwikiGroupMembersRequest, AwikiGroupRequest, AwikiGroupSnapshot, AwikiHistoryRequest, AwikiIdentity, AwikiIdentityAccessInspection, AwikiIdentityAccessInspectionRequest, AwikiIdentityAccessResult, AwikiIdentityAccessState, AwikiIntegrationResult, AwikiIntegrationRevisionRequest, AwikiIntegrationView, AwikiLogoutRequest, AwikiMailAccount, AwikiMailInboxPage, AwikiMailInboxRequest, AwikiMailMarkReadRequest, AwikiMailMarkReadResult, AwikiMailMessage, AwikiMailReadRequest, AwikiMailSendRequest, AwikiMailSendResult, AwikiMarkConversationReadRequest, AwikiMessage, AwikiPage, AwikiPageRequest, AwikiPrepareRootTransferRequest, AwikiProfile, AwikiRecoveryOperationRequest, AwikiRecoveryOtpRequest, AwikiRecoveryOtpResult, AwikiRecoveryPrepareRequest, AwikiRecoveryProgress, AwikiRegistrationOtpRequest, AwikiRegistrationOtpResult, AwikiRegistrationRequest, AwikiRejectDeviceJoinRequest, AwikiRemoveGroupMemberRequest, AwikiReopenIntegrationRequest, AwikiRequestRefInput, AwikiResolvedPeer, AwikiResolvePeerRequest, AwikiResult, AwikiRevokeDeviceRequest, AwikiRootTransferPreparation, AwikiRootTransferReceipt, AwikiRuntimeConfig, AwikiSendAttachmentRequest, AwikiSendTextRequest, AwikiSession, AwikiSummarizeConversationRequest, AwikiUpdateDisplayNameRequest, AwikiUpdateIntegrationRequest, AwikiUpdateProfileRequest } from '@awiki/dsh-plugin/types'
|
|
6
|
+
import type { AwikiAddGroupMemberRequest, AwikiAdminJoinProgress, AwikiApproveDeviceJoinRequest, AwikiClearLocalDataRequest, AwikiClearLocalDataResult, AwikiCompletion, AwikiConfirmRootTransferRequest, AwikiConversation, AwikiConversationPreferenceMutation, AwikiConversationPreferences, AwikiConversationSummary, AwikiCreateGroupRequest, AwikiCreateGroupResult, AwikiCreateIntegrationRequest, AwikiDeviceJoinProgress, AwikiDeviceManagementSnapshot, AwikiDid, AwikiDisplayProfile, AwikiDownloadAttachmentRequest, AwikiDownloadedAttachment, AwikiDownloadedMailAttachment, AwikiGroupMember, AwikiGroupMemberPage, AwikiGroupMembersRequest, AwikiGroupRequest, AwikiGroupSnapshot, AwikiHistoryRequest, AwikiIdentity, AwikiIdentityAccessInspection, AwikiIdentityAccessInspectionRequest, AwikiIdentityAccessResult, AwikiIdentityAccessState, AwikiIntegrationResult, AwikiIntegrationRevisionRequest, AwikiIntegrationView, AwikiLogoutRequest, AwikiMailAccount, AwikiMailAttachmentDownloadRequest, AwikiMailInboxPage, AwikiMailInboxRequest, AwikiMailMarkReadRequest, AwikiMailMarkReadResult, AwikiMailMessage, AwikiMailReadRequest, AwikiMailSendRequest, AwikiMailSendResult, AwikiMarkConversationReadRequest, AwikiMessage, AwikiPage, AwikiPageRequest, AwikiPrepareRootTransferRequest, AwikiProfile, AwikiRecoveryOperationRequest, AwikiRecoveryOtpRequest, AwikiRecoveryOtpResult, AwikiRecoveryPrepareRequest, AwikiRecoveryProgress, AwikiRegistrationOtpRequest, AwikiRegistrationOtpResult, AwikiRegistrationRequest, AwikiRejectDeviceJoinRequest, AwikiRemoveGroupMemberRequest, AwikiReopenIntegrationRequest, AwikiRequestRefInput, AwikiResolvedPeer, AwikiResolvePeerRequest, AwikiResult, AwikiRevokeDeviceRequest, AwikiRootTransferPreparation, AwikiRootTransferReceipt, AwikiRuntimeConfig, AwikiSendAttachmentRequest, AwikiSendTextRequest, AwikiSession, AwikiSummarizeConversationRequest, AwikiUpdateDisplayNameRequest, AwikiUpdateIntegrationRequest, AwikiUpdateProfileRequest } from '@awiki/dsh-plugin/types'
|
|
7
7
|
|
|
8
8
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
9
9
|
interface TypertRemoteNamespace$6177696b69 {
|
|
@@ -19,6 +19,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
19
19
|
createIntegration: (request: AwikiCreateIntegrationRequest) => Promise<RemoteResult<AwikiIntegrationResult<AwikiIntegrationView>>>
|
|
20
20
|
discardRecovery: (request: AwikiRecoveryOperationRequest) => Promise<RemoteResult<AwikiResult<AwikiCompletion>>>
|
|
21
21
|
downloadAttachment: (request: AwikiDownloadAttachmentRequest) => Promise<RemoteResult<AwikiResult<AwikiDownloadedAttachment>>>
|
|
22
|
+
downloadMailAttachment: (request: AwikiMailAttachmentDownloadRequest) => Promise<RemoteResult<AwikiResult<AwikiDownloadedMailAttachment>>>
|
|
22
23
|
enterRecoveredSession: (request: AwikiRecoveryOperationRequest) => Promise<RemoteResult<AwikiResult<AwikiRecoveryProgress>>>
|
|
23
24
|
getConfig: () => Promise<RemoteResult<AwikiResult<AwikiRuntimeConfig>>>
|
|
24
25
|
getConversationPreferences: () => Promise<RemoteResult<AwikiResult<AwikiConversationPreferences>>>
|
|
@@ -82,6 +83,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
82
83
|
'awiki/createIntegration': (request: AwikiCreateIntegrationRequest) => Promise<RemoteResult<AwikiIntegrationResult<AwikiIntegrationView>>>
|
|
83
84
|
'awiki/discardRecovery': (request: AwikiRecoveryOperationRequest) => Promise<RemoteResult<AwikiResult<AwikiCompletion>>>
|
|
84
85
|
'awiki/downloadAttachment': (request: AwikiDownloadAttachmentRequest) => Promise<RemoteResult<AwikiResult<AwikiDownloadedAttachment>>>
|
|
86
|
+
'awiki/downloadMailAttachment': (request: AwikiMailAttachmentDownloadRequest) => Promise<RemoteResult<AwikiResult<AwikiDownloadedMailAttachment>>>
|
|
85
87
|
'awiki/enterRecoveredSession': (request: AwikiRecoveryOperationRequest) => Promise<RemoteResult<AwikiResult<AwikiRecoveryProgress>>>
|
|
86
88
|
'awiki/getConfig': () => Promise<RemoteResult<AwikiResult<AwikiRuntimeConfig>>>
|
|
87
89
|
'awiki/getConversationPreferences': () => Promise<RemoteResult<AwikiResult<AwikiConversationPreferences>>>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typert.remote-client.d.ts","names":["activateRecovery","addGroupMember","approveDeviceJoin","beginDeviceJoin","cancelDeviceJoin","clearLocalData","closeIntegration","confirmRootTransfer","createGroup","createIntegration","discardRecovery","downloadAttachment","enterRecoveredSession","getConfig","getConversationPreferences","getDeviceJoinStatus","getDisplayProfiles","getGroup","getHistory","getIdentity","getIdentityAccessState","getIntegration","getLocalHistory","getMailAccount","getProfile","getRecoveryStatus","getSession","inspectIdentityAccess","joinGroup","leaveGroup","listConversations","listGroupMembers","listMailInbox","login","logout","markConversationRead","markMailRead","prepareRecovery","prepareRootTransfer","readMail","refreshDeviceManagement","registerIdentity","rejectDeviceJoin","removeGroupMember","reopenIntegration","resolvePeer","resumeRecovery","retireDeviceIdentityForRejoin","revokeDevice","rotateIntegrationId","sendAttachment","sendMail","sendRecoveryOtp","sendRegistrationOtp","sendText","startDeviceJoinVerification","summarizeConversation","updateConversationPreference","updateDisplayName","updateIntegration","updateProfile"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"typert.remote-client.d.ts","names":["activateRecovery","addGroupMember","approveDeviceJoin","beginDeviceJoin","cancelDeviceJoin","clearLocalData","closeIntegration","confirmRootTransfer","createGroup","createIntegration","discardRecovery","downloadAttachment","downloadMailAttachment","enterRecoveredSession","getConfig","getConversationPreferences","getDeviceJoinStatus","getDisplayProfiles","getGroup","getHistory","getIdentity","getIdentityAccessState","getIntegration","getLocalHistory","getMailAccount","getProfile","getRecoveryStatus","getSession","inspectIdentityAccess","joinGroup","leaveGroup","listConversations","listGroupMembers","listMailInbox","login","logout","markConversationRead","markMailRead","prepareRecovery","prepareRootTransfer","readMail","refreshDeviceManagement","registerIdentity","rejectDeviceJoin","removeGroupMember","reopenIntegration","resolvePeer","resumeRecovery","retireDeviceIdentityForRejoin","revokeDevice","rotateIntegrationId","sendAttachment","sendMail","sendRecoveryOtp","sendRegistrationOtp","sendText","startDeviceJoinVerification","summarizeConversation","updateConversationPreference","updateDisplayName","updateIntegration","updateProfile"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;IA6MQA,gB;IAoCNC,c;IA5EMC,iB;IApBAC,e;IASAC,gB;IAmJNC,c;IA5LAC,gB;IAwEMC,mB;IAsCAC,W;IAvHNC,iB;IAiHMC,e;IA6DAC,kB;IAkBAC,sB;IAlFAC,qB;IApHAC,S;IAqJNC,0B;IAhGMC,mB;IAoFNC,kB;IATAC,Q;IAgCAC,U;IA3IMC,W;IA6BNC,sB;IA/CAC,c;IAgKAC,e;IAoBAC,c;IAxFAC,U;IAeMC,iB;IAtFAC,U;IASAC,qB;IAkGNC,S;IAGMC,U;IAuBNC,iB;IAjBAC,gB;IA8CMC,a;IA5JNC,K;IAHAC,M;IAgJAC,oB;IAqBAC,Y;IAxFAC,e;IAtBMC,mB;IA2GAC,Q;IAlINC,uB;IAlBMC,gB;IA+BAC,gB;IA0ENC,iB;IAhIAC,iB;IAwGAC,W;IATMC,c;IArENC,6B;IAiCMC,Y;IAjENC,mB;IAqKMC,c;IAkBAC,Q;IA9FNC,e;IA/DMC,mB;IAwINC,Q;IAhHMC,2B;IAwGAC,qB;IAdNC,4B;IA5DMC,iB;IAnFNC,iB;IAyFAC,a;;;IASM7D,wB;IAoCNC,sB;IA5EMC,yB;IApBAC,uB;IASAC,wB;IAmJNC,sB;IA5LAC,wB;IAwEMC,2B;IAsCAC,mB;IAvHNC,yB;IAiHMC,uB;IA6DAC,0B;IAkBAC,8B;IAlFAC,6B;IApHAC,iB;IAqJNC,kC;IAhGMC,2B;IAoFNC,0B;IATAC,gB;IAgCAC,kB;IA3IMC,mB;IA6BNC,8B;IA/CAC,sB;IAgKAC,uB;IAoBAC,sB;IAxFAC,kB;IAeMC,yB;IAtFAC,kB;IASAC,6B;IAkGNC,iB;IAGMC,kB;IAuBNC,yB;IAjBAC,wB;IA8CMC,qB;IA5JNC,a;IAHAC,c;IAgJAC,4B;IAqBAC,oB;IAxFAC,uB;IAtBMC,2B;IA2GAC,gB;IAlINC,+B;IAlBMC,wB;IA+BAC,wB;IA0ENC,yB;IAhIAC,yB;IAwGAC,mB;IATMC,sB;IArENC,qC;IAiCMC,oB;IAjENC,2B;IAqKMC,sB;IAkBAC,gB;IA9FNC,uB;IA/DMC,2B;IAwINC,gB;IAhHMC,mC;IAwGAC,6B;IAdNC,oC;IA5DMC,yB;IAnFNC,yB;IAyFAC,qB","ignoreList":[]}
|