happy2 0.0.5 → 0.0.11
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 +117 -63
- package/package.json +44 -22
- package/packages/happy2-server/PLUGINS.md +330 -0
- package/packages/happy2-server/README.md +190 -19
- package/packages/happy2-server/dist/cli.js +12 -5
- package/packages/happy2-server/dist/cli.js.map +1 -1
- package/packages/happy2-server/dist/index.d.ts +18 -8
- package/packages/happy2-server/dist/index.d.ts.map +1 -1
- package/packages/happy2-server/dist/index.js +14 -7
- package/packages/happy2-server/dist/index.js.map +1 -1
- package/packages/happy2-server/dist/modules/agent/agentChatBind.d.ts +19 -0
- package/packages/happy2-server/dist/modules/agent/agentChatBind.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentChatBind.js +48 -0
- package/packages/happy2-server/dist/modules/agent/agentChatBind.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentChatGetContext.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentChatGetContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentChatGetContext.js +89 -0
- package/packages/happy2-server/dist/modules/agent/agentChatGetContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentChatListUnfinishedIds.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentChatListUnfinishedIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentChatListUnfinishedIds.js +17 -0
- package/packages/happy2-server/dist/modules/agent/agentChatListUnfinishedIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentConversationCreate.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentConversationCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentConversationCreate.js +61 -0
- package/packages/happy2-server/dist/modules/agent/agentConversationCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentCreate.d.ts +21 -0
- package/packages/happy2-server/dist/modules/agent/agentCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentCreate.js +96 -0
- package/packages/happy2-server/dist/modules/agent/agentCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultConversationEnsure.d.ts +10 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultConversationEnsure.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultConversationEnsure.js +57 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultConversationEnsure.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultCreate.d.ts +17 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultCreate.js +67 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRepair.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRepair.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRepair.js +42 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRepair.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRequire.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRequire.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRequire.js +19 -0
- package/packages/happy2-server/dist/modules/agent/agentDefaultRequire.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortBindingList.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortBindingList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortBindingList.js +29 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortBindingList.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortGetContext.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortGetContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortGetContext.js +11 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortGetContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortInitialize.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortInitialize.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortInitialize.js +39 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortInitialize.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortUpdate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortUpdate.js +68 -0
- package/packages/happy2-server/dist/modules/agent/agentEffortUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCommitChange.d.ts +24 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCommitChange.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCommitChange.js +127 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCommitChange.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCompleteBuild.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCompleteBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCompleteBuild.js +41 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCompleteBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCreate.d.ts +17 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCreate.js +68 -0
- package/packages/happy2-server/dist/modules/agent/agentImageCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageEnsureDefinitions.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentImageEnsureDefinitions.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageEnsureDefinitions.js +25 -0
- package/packages/happy2-server/dist/modules/agent/agentImageEnsureDefinitions.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFailBuild.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFailBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFailBuild.js +40 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFailBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFindDefinition.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFindDefinition.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFindDefinition.js +19 -0
- package/packages/happy2-server/dist/modules/agent/agentImageFindDefinition.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGet.js +23 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetChangeContext.d.ts +26 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetChangeContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetChangeContext.js +74 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetChangeContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetReadyDefault.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetReadyDefault.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetReadyDefault.js +28 -0
- package/packages/happy2-server/dist/modules/agent/agentImageGetReadyDefault.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageList.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentImageList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageList.js +36 -0
- package/packages/happy2-server/dist/modules/agent/agentImageList.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageListRequestedBuildIds.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentImageListRequestedBuildIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageListRequestedBuildIds.js +18 -0
- package/packages/happy2-server/dist/modules/agent/agentImageListRequestedBuildIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRecordBuildOutput.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRecordBuildOutput.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRecordBuildOutput.js +45 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRecordBuildOutput.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageReleaseBuildLeases.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentImageReleaseBuildLeases.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageReleaseBuildLeases.js +33 -0
- package/packages/happy2-server/dist/modules/agent/agentImageReleaseBuildLeases.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRenewBuildLease.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRenewBuildLease.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRenewBuildLease.js +21 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRenewBuildLease.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRequestBuild.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRequestBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRequestBuild.js +73 -0
- package/packages/happy2-server/dist/modules/agent/agentImageRequestBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageSetDefault.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentImageSetDefault.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageSetDefault.js +55 -0
- package/packages/happy2-server/dist/modules/agent/agentImageSetDefault.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageTakeBuild.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentImageTakeBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentImageTakeBuild.js +77 -0
- package/packages/happy2-server/dist/modules/agent/agentImageTakeBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentRunAttach.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentRunAttach.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentRunAttach.js +31 -0
- package/packages/happy2-server/dist/modules/agent/agentRunAttach.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentDelete.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentDelete.js +39 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentList.js +46 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAssignmentList.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToAgent.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToAgent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToAgent.js +58 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToAgent.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToChannel.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToChannel.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToChannel.js +59 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAttachToChannel.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAuthorizeManagement.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAuthorizeManagement.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAuthorizeManagement.js +10 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretAuthorizeManagement.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretBindingList.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretBindingList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretBindingList.js +69 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretBindingList.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromAgent.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromAgent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromAgent.js +44 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromAgent.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromChannel.d.ts +12 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromChannel.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromChannel.js +45 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretDetachFromChannel.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretRecordRegistration.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretRecordRegistration.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretRecordRegistration.js +31 -0
- package/packages/happy2-server/dist/modules/agent/agentSecretRecordRegistration.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnCheckpoint.d.ts +14 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnCheckpoint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnCheckpoint.js +35 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnCheckpoint.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnComplete.d.ts +18 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnComplete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnComplete.js +15 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnComplete.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnFail.d.ts +18 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnFail.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnFail.js +21 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnFail.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnGetRunning.d.ts +21 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnGetRunning.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnGetRunning.js +21 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnGetRunning.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasRunnable.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasRunnable.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasRunnable.js +27 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasRunnable.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasUnfinished.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasUnfinished.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasUnfinished.js +18 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnHasUnfinished.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnPromptBuild.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnPromptBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnPromptBuild.js +10 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnPromptBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnReleaseLeases.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnReleaseLeases.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnReleaseLeases.js +18 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnReleaseLeases.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnRenewLease.d.ts +11 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnRenewLease.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnRenewLease.js +21 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnRenewLease.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnStreamReply.d.ts +22 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnStreamReply.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnStreamReply.js +107 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnStreamReply.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnTakeNext.d.ts +21 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnTakeNext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnTakeNext.js +80 -0
- package/packages/happy2-server/dist/modules/agent/agentTurnTakeNext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentUsernameIsAvailable.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/agentUsernameIsAvailable.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/agentUsernameIsAvailable.js +18 -0
- package/packages/happy2-server/dist/modules/agent/agentUsernameIsAvailable.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentChatContext.d.ts +18 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentChatContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentChatContext.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentChatContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContext.d.ts +6 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContext.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContextDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContextDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContextDb.js +52 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentEffortContextDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentExecutionImage.d.ts +6 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentExecutionImage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentExecutionImage.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentExecutionImage.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageBuild.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageBuild.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageDetailsSelection.d.ts +396 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageDetailsSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageDetailsSelection.js +9 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageDetailsSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageSelection.d.ts +341 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageSelection.js +22 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentImageSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentReplyMutationId.d.ts +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentReplyMutationId.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentReplyMutationId.js +4 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentReplyMutationId.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretAssignment.d.ts +6 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretAssignment.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretAssignment.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretAssignment.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretBinding.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretBinding.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretBinding.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentSecretBinding.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnPrompt.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnPrompt.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnPrompt.js +173 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnPrompt.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWork.d.ts +30 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWork.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWork.js +38 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWork.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWorkSelection.d.ts +248 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWorkSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWorkSelection.js +17 -0
- package/packages/happy2-server/dist/modules/agent/impl/agentTurnWorkSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImage.d.ts +3 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImage.js +32 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImage.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImageDetails.d.ts +3 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImageDetails.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImageDetails.js +13 -0
- package/packages/happy2-server/dist/modules/agent/impl/asAgentImageDetails.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asRigEventCheckpoint.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/impl/asRigEventCheckpoint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/asRigEventCheckpoint.js +18 -0
- package/packages/happy2-server/dist/modules/agent/impl/asRigEventCheckpoint.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/ensureDefaultAgentChannelsDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/agent/impl/ensureDefaultAgentChannelsDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/ensureDefaultAgentChannelsDb.js +178 -0
- package/packages/happy2-server/dist/modules/agent/impl/ensureDefaultAgentChannelsDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/finishAgentTurn.d.ts +21 -0
- package/packages/happy2-server/dist/modules/agent/impl/finishAgentTurn.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/finishAgentTurn.js +123 -0
- package/packages/happy2-server/dist/modules/agent/impl/finishAgentTurn.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/maxAgentImageBuildLogCharacters.d.ts +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/maxAgentImageBuildLogCharacters.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/impl/maxAgentImageBuildLogCharacters.js +2 -0
- package/packages/happy2-server/dist/modules/agent/impl/maxAgentImageBuildLogCharacters.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventCheckpoint.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/rigEventCheckpoint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventCheckpoint.js +27 -0
- package/packages/happy2-server/dist/modules/agent/rigEventCheckpoint.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventGetCheckpoint.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/rigEventGetCheckpoint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventGetCheckpoint.js +23 -0
- package/packages/happy2-server/dist/modules/agent/rigEventGetCheckpoint.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventMarkTrimmed.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/rigEventMarkTrimmed.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/rigEventMarkTrimmed.js +24 -0
- package/packages/happy2-server/dist/modules/agent/rigEventMarkTrimmed.js.map +1 -0
- package/packages/happy2-server/dist/modules/agent/types.d.ts +8 -0
- package/packages/happy2-server/dist/modules/agent/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/agent/types.js +2 -0
- package/packages/happy2-server/dist/modules/agent/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/agents/daemon.d.ts +23 -12
- package/packages/happy2-server/dist/modules/agents/daemon.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/agents/daemon.js +38 -7
- package/packages/happy2-server/dist/modules/agents/daemon.js.map +1 -1
- package/packages/happy2-server/dist/modules/agents/index.d.ts +0 -2
- package/packages/happy2-server/dist/modules/agents/index.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/agents/index.js +0 -1
- package/packages/happy2-server/dist/modules/agents/index.js.map +1 -1
- package/packages/happy2-server/dist/modules/agents/service.d.ts +98 -15
- package/packages/happy2-server/dist/modules/agents/service.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/agents/service.js +759 -125
- package/packages/happy2-server/dist/modules/agents/service.js.map +1 -1
- package/packages/happy2-server/dist/modules/audit/auditLogList.d.ts +16 -0
- package/packages/happy2-server/dist/modules/audit/auditLogList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/audit/auditLogList.js +37 -0
- package/packages/happy2-server/dist/modules/audit/auditLogList.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountCreatePassword.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/accountCreatePassword.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountCreatePassword.js +23 -0
- package/packages/happy2-server/dist/modules/auth/accountCreatePassword.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOidc.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOidc.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOidc.js +20 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOidc.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOrCreateOidc.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOrCreateOidc.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOrCreateOidc.js +44 -0
- package/packages/happy2-server/dist/modules/auth/accountFindOrCreateOidc.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindPassword.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/accountFindPassword.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountFindPassword.js +14 -0
- package/packages/happy2-server/dist/modules/auth/accountFindPassword.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountRegisterPassword.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/accountRegisterPassword.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/accountRegisterPassword.js +39 -0
- package/packages/happy2-server/dist/modules/auth/accountRegisterPassword.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/errors.d.ts +7 -0
- package/packages/happy2-server/dist/modules/auth/errors.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/errors.js +13 -0
- package/packages/happy2-server/dist/modules/auth/errors.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.d.ts +6 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.js +17 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.test.js +18 -0
- package/packages/happy2-server/dist/modules/auth/impl/accessTouchThrottle.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accountRow.d.ts +3 -0
- package/packages/happy2-server/dist/modules/auth/impl/accountRow.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/accountRow.js +2 -0
- package/packages/happy2-server/dist/modules/auth/impl/accountRow.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/asAccount.d.ts +4 -0
- package/packages/happy2-server/dist/modules/auth/impl/asAccount.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/asAccount.js +13 -0
- package/packages/happy2-server/dist/modules/auth/impl/asAccount.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/asSession.d.ts +7 -0
- package/packages/happy2-server/dist/modules/auth/impl/asSession.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/asSession.js +9 -0
- package/packages/happy2-server/dist/modules/auth/impl/asSession.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/authorizeNewRegistrationDb.d.ts +4 -0
- package/packages/happy2-server/dist/modules/auth/impl/authorizeNewRegistrationDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/authorizeNewRegistrationDb.js +42 -0
- package/packages/happy2-server/dist/modules/auth/impl/authorizeNewRegistrationDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/recordSessionEvent.d.ts +4 -0
- package/packages/happy2-server/dist/modules/auth/impl/recordSessionEvent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/recordSessionEvent.js +16 -0
- package/packages/happy2-server/dist/modules/auth/impl/recordSessionEvent.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/requireNewRegistrationRequestAllowedDb.d.ts +4 -0
- package/packages/happy2-server/dist/modules/auth/impl/requireNewRegistrationRequestAllowedDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/requireNewRegistrationRequestAllowedDb.js +28 -0
- package/packages/happy2-server/dist/modules/auth/impl/requireNewRegistrationRequestAllowedDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/tokenHash.d.ts +2 -0
- package/packages/happy2-server/dist/modules/auth/impl/tokenHash.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/impl/tokenHash.js +5 -0
- package/packages/happy2-server/dist/modules/auth/impl/tokenHash.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkConsume.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkConsume.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkConsume.js +50 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkConsume.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkCreate.d.ts +7 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkCreate.js +36 -0
- package/packages/happy2-server/dist/modules/auth/magicLinkCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/metadata.d.ts +1 -1
- package/packages/happy2-server/dist/modules/auth/metadata.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/auth/methods.d.ts +0 -1
- package/packages/happy2-server/dist/modules/auth/methods.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/auth/methods.js +1 -5
- package/packages/happy2-server/dist/modules/auth/methods.js.map +1 -1
- package/packages/happy2-server/dist/modules/auth/methods.test.js +0 -1
- package/packages/happy2-server/dist/modules/auth/methods.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/auth/oidcStateConsume.d.ts +12 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateConsume.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateConsume.js +20 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateConsume.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateCreate.d.ts +7 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateCreate.js +17 -0
- package/packages/happy2-server/dist/modules/auth/oidcStateCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/service.d.ts +11 -7
- package/packages/happy2-server/dist/modules/auth/service.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/auth/service.js +101 -27
- package/packages/happy2-server/dist/modules/auth/service.js.map +1 -1
- package/packages/happy2-server/dist/modules/auth/sessionCreate.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/sessionCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionCreate.js +35 -0
- package/packages/happy2-server/dist/modules/auth/sessionCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionFindActive.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/sessionFindActive.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionFindActive.js +22 -0
- package/packages/happy2-server/dist/modules/auth/sessionFindActive.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionRefresh.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/sessionRefresh.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionRefresh.js +37 -0
- package/packages/happy2-server/dist/modules/auth/sessionRefresh.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionRevoke.d.ts +8 -0
- package/packages/happy2-server/dist/modules/auth/sessionRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/sessionRevoke.js +25 -0
- package/packages/happy2-server/dist/modules/auth/sessionRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/auth/types.d.ts +22 -0
- package/packages/happy2-server/dist/modules/auth/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/auth/types.js +2 -0
- package/packages/happy2-server/dist/modules/auth/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationCreate.d.ts +24 -0
- package/packages/happy2-server/dist/modules/automation/automationCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationCreate.js +84 -0
- package/packages/happy2-server/dist/modules/automation/automationCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationDelete.d.ts +8 -0
- package/packages/happy2-server/dist/modules/automation/automationDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationDelete.js +41 -0
- package/packages/happy2-server/dist/modules/automation/automationDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/automation/automationList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationList.js +19 -0
- package/packages/happy2-server/dist/modules/automation/automationList.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunDue.d.ts +9 -0
- package/packages/happy2-server/dist/modules/automation/automationRunDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunDue.js +37 -0
- package/packages/happy2-server/dist/modules/automation/automationRunDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunEvent.d.ts +9 -0
- package/packages/happy2-server/dist/modules/automation/automationRunEvent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunEvent.js +68 -0
- package/packages/happy2-server/dist/modules/automation/automationRunEvent.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunNow.d.ts +12 -0
- package/packages/happy2-server/dist/modules/automation/automationRunNow.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunNow.js +15 -0
- package/packages/happy2-server/dist/modules/automation/automationRunNow.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunPendingEvents.d.ts +9 -0
- package/packages/happy2-server/dist/modules/automation/automationRunPendingEvents.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunPendingEvents.js +40 -0
- package/packages/happy2-server/dist/modules/automation/automationRunPendingEvents.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunWebhook.d.ts +12 -0
- package/packages/happy2-server/dist/modules/automation/automationRunWebhook.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationRunWebhook.js +40 -0
- package/packages/happy2-server/dist/modules/automation/automationRunWebhook.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationUpdate.d.ts +20 -0
- package/packages/happy2-server/dist/modules/automation/automationUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/automationUpdate.js +90 -0
- package/packages/happy2-server/dist/modules/automation/automationUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/appendAudit.d.ts +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/appendAudit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/appendAudit.js +17 -0
- package/packages/happy2-server/dist/modules/automation/impl/appendAudit.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/asAutomation.d.ts +4 -0
- package/packages/happy2-server/dist/modules/automation/impl/asAutomation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/asAutomation.js +25 -0
- package/packages/happy2-server/dist/modules/automation/impl/asAutomation.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationRow.d.ts +3 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationRow.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationRow.js +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationRow.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationSummary.d.ts +18 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationSummary.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationSummary.js +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/automationSummary.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/botExists.d.ts +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/botExists.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/botExists.js +17 -0
- package/packages/happy2-server/dist/modules/automation/impl/botExists.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/chatExists.d.ts +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/chatExists.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/chatExists.js +17 -0
- package/packages/happy2-server/dist/modules/automation/impl/chatExists.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/eventKinds.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/eventKinds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/eventKinds.js +12 -0
- package/packages/happy2-server/dist/modules/automation/impl/eventKinds.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/executeAutomation.d.ts +12 -0
- package/packages/happy2-server/dist/modules/automation/impl/executeAutomation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/executeAutomation.js +181 -0
- package/packages/happy2-server/dist/modules/automation/impl/executeAutomation.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/getAutomation.d.ts +4 -0
- package/packages/happy2-server/dist/modules/automation/impl/getAutomation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/getAutomation.js +12 -0
- package/packages/happy2-server/dist/modules/automation/impl/getAutomation.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/hashesEqual.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/hashesEqual.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/hashesEqual.js +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/hashesEqual.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/jsonObject.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/jsonObject.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/jsonObject.js +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/jsonObject.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/matchesEvent.d.ts +6 -0
- package/packages/happy2-server/dist/modules/automation/impl/matchesEvent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/matchesEvent.js +10 -0
- package/packages/happy2-server/dist/modules/automation/impl/matchesEvent.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationAction.d.ts +3 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationAction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationAction.js +17 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationAction.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationActionType.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationActionType.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationActionType.js +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/moderationActionType.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalObject.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalObject.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalObject.js +9 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalObject.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalString.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalString.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalString.js +9 -0
- package/packages/happy2-server/dist/modules/automation/impl/optionalString.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/positiveNumber.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/positiveNumber.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/positiveNumber.js +4 -0
- package/packages/happy2-server/dist/modules/automation/impl/positiveNumber.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/requireAdmin.d.ts +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/requireAdmin.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/requireAdmin.js +20 -0
- package/packages/happy2-server/dist/modules/automation/impl/requireAdmin.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/requiredString.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/requiredString.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/requiredString.js +7 -0
- package/packages/happy2-server/dist/modules/automation/impl/requiredString.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/secretHash.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/secretHash.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/secretHash.js +5 -0
- package/packages/happy2-server/dist/modules/automation/impl/secretHash.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/stringArray.d.ts +2 -0
- package/packages/happy2-server/dist/modules/automation/impl/stringArray.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/stringArray.js +9 -0
- package/packages/happy2-server/dist/modules/automation/impl/stringArray.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateAction.d.ts +3 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateAction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateAction.js +20 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateAction.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateTrigger.d.ts +3 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateTrigger.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateTrigger.js +18 -0
- package/packages/happy2-server/dist/modules/automation/impl/validateTrigger.js.map +1 -0
- package/packages/happy2-server/dist/modules/automation/types.d.ts +15 -0
- package/packages/happy2-server/dist/modules/automation/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/automation/types.js +2 -0
- package/packages/happy2-server/dist/modules/automation/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupCreate.d.ts +16 -0
- package/packages/happy2-server/dist/modules/backup/backupCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupCreate.js +48 -0
- package/packages/happy2-server/dist/modules/backup/backupCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupList.d.ts +13 -0
- package/packages/happy2-server/dist/modules/backup/backupList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupList.js +31 -0
- package/packages/happy2-server/dist/modules/backup/backupList.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupUpdate.d.ts +19 -0
- package/packages/happy2-server/dist/modules/backup/backupUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/backupUpdate.js +55 -0
- package/packages/happy2-server/dist/modules/backup/backupUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/asBackup.d.ts +3 -0
- package/packages/happy2-server/dist/modules/backup/impl/asBackup.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/asBackup.js +22 -0
- package/packages/happy2-server/dist/modules/backup/impl/asBackup.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/assertBackupTransition.d.ts +3 -0
- package/packages/happy2-server/dist/modules/backup/impl/assertBackupTransition.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/assertBackupTransition.js +13 -0
- package/packages/happy2-server/dist/modules/backup/impl/assertBackupTransition.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupDb.js +21 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupSelection.d.ts +229 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupSelection.js +16 -0
- package/packages/happy2-server/dist/modules/backup/impl/backupSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/isUniqueConstraint.d.ts +2 -0
- package/packages/happy2-server/dist/modules/backup/impl/isUniqueConstraint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/isUniqueConstraint.js +12 -0
- package/packages/happy2-server/dist/modules/backup/impl/isUniqueConstraint.js.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/optionalNumber.d.ts +2 -0
- package/packages/happy2-server/dist/modules/backup/impl/optionalNumber.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/backup/impl/optionalNumber.js +5 -0
- package/packages/happy2-server/dist/modules/backup/impl/optionalNumber.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botCreate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/bot/botCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botCreate.js +59 -0
- package/packages/happy2-server/dist/modules/bot/botCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/bot/botGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botGet.js +20 -0
- package/packages/happy2-server/dist/modules/bot/botGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/bot/botList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botList.js +29 -0
- package/packages/happy2-server/dist/modules/bot/botList.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botRevoke.d.ts +8 -0
- package/packages/happy2-server/dist/modules/bot/botRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botRevoke.js +53 -0
- package/packages/happy2-server/dist/modules/bot/botRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botUpdate.d.ts +16 -0
- package/packages/happy2-server/dist/modules/bot/botUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/botUpdate.js +88 -0
- package/packages/happy2-server/dist/modules/bot/botUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/asBot.d.ts +3 -0
- package/packages/happy2-server/dist/modules/bot/impl/asBot.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/asBot.js +18 -0
- package/packages/happy2-server/dist/modules/bot/impl/asBot.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/botSelection.d.ts +191 -0
- package/packages/happy2-server/dist/modules/bot/impl/botSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/botSelection.js +14 -0
- package/packages/happy2-server/dist/modules/bot/impl/botSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/normalizedUsername.d.ts +2 -0
- package/packages/happy2-server/dist/modules/bot/impl/normalizedUsername.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/normalizedUsername.js +8 -0
- package/packages/happy2-server/dist/modules/bot/impl/normalizedUsername.js.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/requireFileDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/bot/impl/requireFileDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/bot/impl/requireFileDb.js +19 -0
- package/packages/happy2-server/dist/modules/bot/impl/requireFileDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callCanSignal.d.ts +12 -0
- package/packages/happy2-server/dist/modules/call/callCanSignal.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callCanSignal.js +28 -0
- package/packages/happy2-server/dist/modules/call/callCanSignal.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callCreate.d.ts +17 -0
- package/packages/happy2-server/dist/modules/call/callCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callCreate.js +130 -0
- package/packages/happy2-server/dist/modules/call/callCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callEnd.d.ts +15 -0
- package/packages/happy2-server/dist/modules/call/callEnd.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callEnd.js +70 -0
- package/packages/happy2-server/dist/modules/call/callEnd.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/call/callGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callGet.js +14 -0
- package/packages/happy2-server/dist/modules/call/callGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callList.d.ts +12 -0
- package/packages/happy2-server/dist/modules/call/callList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callList.js +36 -0
- package/packages/happy2-server/dist/modules/call/callList.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/callParticipationUpdate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/call/callParticipationUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/callParticipationUpdate.js +93 -0
- package/packages/happy2-server/dist/modules/call/callParticipationUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/call/impl/getCallProjectionDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/call/impl/getCallProjectionDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/call/impl/getCallProjectionDb.js +67 -0
- package/packages/happy2-server/dist/modules/call/impl/getCallProjectionDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/actions.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/chat/actions.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/{collaboration/repository.test.js → chat/actions.test.js} +316 -155
- package/packages/happy2-server/dist/modules/chat/actions.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/areaHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/areaHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/areaHint.js +9 -0
- package/packages/happy2-server/dist/modules/chat/areaHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asFile.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/asFile.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asFile.js +21 -0
- package/packages/happy2-server/dist/modules/chat/asFile.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asServiceMessage.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/asServiceMessage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asServiceMessage.js +19 -0
- package/packages/happy2-server/dist/modules/chat/asServiceMessage.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asUser.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/asUser.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/asUser.js +22 -0
- package/packages/happy2-server/dist/modules/chat/asUser.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelAdvance.d.ts +18 -0
- package/packages/happy2-server/dist/modules/chat/channelAdvance.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelAdvance.js +38 -0
- package/packages/happy2-server/dist/modules/chat/channelAdvance.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelCreate.d.ts +18 -0
- package/packages/happy2-server/dist/modules/chat/channelCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelCreate.js +78 -0
- package/packages/happy2-server/dist/modules/chat/channelCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDefaultAgentUpdate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/channelDefaultAgentUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDefaultAgentUpdate.js +66 -0
- package/packages/happy2-server/dist/modules/chat/channelDefaultAgentUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDelete.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/channelDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDelete.js +67 -0
- package/packages/happy2-server/dist/modules/chat/channelDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDirectoryList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/channelDirectoryList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelDirectoryList.js +21 -0
- package/packages/happy2-server/dist/modules/chat/channelDirectoryList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelJoinPublic.d.ts +11 -0
- package/packages/happy2-server/dist/modules/chat/channelJoinPublic.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelJoinPublic.js +68 -0
- package/packages/happy2-server/dist/modules/chat/channelJoinPublic.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelLeave.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/channelLeave.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelLeave.js +67 -0
- package/packages/happy2-server/dist/modules/chat/channelLeave.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberAdd.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberAdd.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberAdd.js +79 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberAdd.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberRemove.d.ts +14 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberRemove.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberRemove.js +109 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberRemove.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberSetRole.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberSetRole.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberSetRole.js +107 -0
- package/packages/happy2-server/dist/modules/chat/channelMemberSetRole.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelPolicyUpdate.d.ts +19 -0
- package/packages/happy2-server/dist/modules/chat/channelPolicyUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelPolicyUpdate.js +66 -0
- package/packages/happy2-server/dist/modules/chat/channelPolicyUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelSetArchived.d.ts +16 -0
- package/packages/happy2-server/dist/modules/chat/channelSetArchived.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelSetArchived.js +41 -0
- package/packages/happy2-server/dist/modules/chat/channelSetArchived.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelTopicUpdate.d.ts +11 -0
- package/packages/happy2-server/dist/modules/chat/channelTopicUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelTopicUpdate.js +32 -0
- package/packages/happy2-server/dist/modules/chat/channelTopicUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdate.d.ts +21 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdate.js +99 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdateInsert.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdateInsert.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdateInsert.js +33 -0
- package/packages/happy2-server/dist/modules/chat/channelUpdateInsert.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAccess.d.ts +5 -0
- package/packages/happy2-server/dist/modules/chat/chatAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAccess.js +2 -0
- package/packages/happy2-server/dist/modules/chat/chatAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAdvanceWithSequence.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/chatAdvanceWithSequence.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAdvanceWithSequence.js +43 -0
- package/packages/happy2-server/dist/modules/chat/chatAdvanceWithSequence.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAppendAudit.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/chatAppendAudit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatAppendAudit.js +20 -0
- package/packages/happy2-server/dist/modules/chat/chatAppendAudit.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkCreate.d.ts +20 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkCreate.js +68 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkDelete.d.ts +14 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkDelete.js +42 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkList.js +46 -0
- package/packages/happy2-server/dist/modules/chat/chatBookmarkList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatCanAccess.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/chatCanAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatCanAccess.js +10 -0
- package/packages/happy2-server/dist/modules/chat/chatCanAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatCanPost.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/chatCanPost.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatCanPost.js +12 -0
- package/packages/happy2-server/dist/modules/chat/chatCanPost.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatGet.js +14 -0
- package/packages/happy2-server/dist/modules/chat/chatGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatGetAccess.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatGetAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatGetAccess.js +53 -0
- package/packages/happy2-server/dist/modules/chat/chatGetAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/chatHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatHint.js +14 -0
- package/packages/happy2-server/dist/modules/chat/chatHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatIsPostingRestricted.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/chatIsPostingRestricted.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatIsPostingRestricted.js +18 -0
- package/packages/happy2-server/dist/modules/chat/chatIsPostingRestricted.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatList.js +21 -0
- package/packages/happy2-server/dist/modules/chat/chatList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMarkRead.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/chatMarkRead.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMarkRead.js +122 -0
- package/packages/happy2-server/dist/modules/chat/chatMarkRead.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMemberList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatMemberList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMemberList.js +36 -0
- package/packages/happy2-server/dist/modules/chat/chatMemberList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMembershipList.d.ts +12 -0
- package/packages/happy2-server/dist/modules/chat/chatMembershipList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatMembershipList.js +32 -0
- package/packages/happy2-server/dist/modules/chat/chatMembershipList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatPinList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatPinList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatPinList.js +41 -0
- package/packages/happy2-server/dist/modules/chat/chatPinList.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatRequireManager.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatRequireManager.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatRequireManager.js +47 -0
- package/packages/happy2-server/dist/modules/chat/chatRequireManager.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatStarReorder.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/chatStarReorder.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatStarReorder.js +49 -0
- package/packages/happy2-server/dist/modules/chat/chatStarReorder.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatStarSet.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/chatStarSet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatStarSet.js +61 -0
- package/packages/happy2-server/dist/modules/chat/chatStarSet.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatUpdateInsert.d.ts +15 -0
- package/packages/happy2-server/dist/modules/chat/chatUpdateInsert.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatUpdateInsert.js +35 -0
- package/packages/happy2-server/dist/modules/chat/chatUpdateInsert.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceCanAccess.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceCanAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceCanAccess.js +25 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceCanAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceGetTarget.d.ts +8 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceGetTarget.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceGetTarget.js +36 -0
- package/packages/happy2-server/dist/modules/chat/chatWorkspaceGetTarget.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreate.d.ts +11 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreate.js +78 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreateGroup.d.ts +16 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreateGroup.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreateGroup.js +84 -0
- package/packages/happy2-server/dist/modules/chat/directMessageCreateGroup.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/fileCanAccessWith.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/fileCanAccessWith.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/fileCanAccessWith.js +18 -0
- package/packages/happy2-server/dist/modules/chat/fileCanAccessWith.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/fileSelection.d.ts +204 -0
- package/packages/happy2-server/dist/modules/chat/fileSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/fileSelection.js +15 -0
- package/packages/happy2-server/dist/modules/chat/fileSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/advanceChat.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/impl/advanceChat.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/advanceChat.js +13 -0
- package/packages/happy2-server/dist/modules/chat/impl/advanceChat.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/asChat.d.ts +3 -0
- package/packages/happy2-server/dist/modules/chat/impl/asChat.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/asChat.js +49 -0
- package/packages/happy2-server/dist/modules/chat/impl/asChat.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantIds.d.ts +4 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantIds.js +27 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantMembershipSync.d.ts +13 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantMembershipSync.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantMembershipSync.js +70 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatDescendantMembershipSync.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatMutation.d.ts +6 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatMutation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatMutation.js +2 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatMutation.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatSelection.d.ts +559 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatSelection.js +41 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatWorkspaceTarget.d.ts +9 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatWorkspaceTarget.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatWorkspaceTarget.js +2 -0
- package/packages/happy2-server/dist/modules/chat/impl/chatWorkspaceTarget.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/createUserAddedServiceMessageDb.d.ts +16 -0
- package/packages/happy2-server/dist/modules/chat/impl/createUserAddedServiceMessageDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/createUserAddedServiceMessageDb.js +54 -0
- package/packages/happy2-server/dist/modules/chat/impl/createUserAddedServiceMessageDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/requireActiveIdentityDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/impl/requireActiveIdentityDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/impl/requireActiveIdentityDb.js +22 -0
- package/packages/happy2-server/dist/modules/chat/impl/requireActiveIdentityDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/isUniqueConstraint.d.ts +2 -0
- package/packages/happy2-server/dist/modules/chat/isUniqueConstraint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/isUniqueConstraint.js +10 -0
- package/packages/happy2-server/dist/modules/chat/isUniqueConstraint.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/messageRequireInChat.d.ts +10 -0
- package/packages/happy2-server/dist/modules/chat/messageRequireInChat.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/messageRequireInChat.js +22 -0
- package/packages/happy2-server/dist/modules/chat/messageRequireInChat.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/number.d.ts +2 -0
- package/packages/happy2-server/dist/modules/chat/number.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/number.js +12 -0
- package/packages/happy2-server/dist/modules/chat/number.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/optionalText.d.ts +2 -0
- package/packages/happy2-server/dist/modules/chat/optionalText.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/optionalText.js +5 -0
- package/packages/happy2-server/dist/modules/chat/optionalText.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/text.d.ts +2 -0
- package/packages/happy2-server/dist/modules/chat/text.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/text.js +10 -0
- package/packages/happy2-server/dist/modules/chat/text.js.map +1 -0
- package/packages/happy2-server/dist/modules/{collaboration → chat}/types.d.ts +18 -15
- package/packages/happy2-server/dist/modules/chat/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userRequireActive.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/userRequireActive.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userRequireActive.js +21 -0
- package/packages/happy2-server/dist/modules/chat/userRequireActive.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userRequireServerAdmin.d.ts +7 -0
- package/packages/happy2-server/dist/modules/chat/userRequireServerAdmin.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userRequireServerAdmin.js +21 -0
- package/packages/happy2-server/dist/modules/chat/userRequireServerAdmin.js.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userSelection.d.ts +231 -0
- package/packages/happy2-server/dist/modules/chat/userSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/chat/userSelection.js +16 -0
- package/packages/happy2-server/dist/modules/chat/userSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/config/defaults.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/config/defaults.js +4 -1
- package/packages/happy2-server/dist/modules/config/defaults.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/defaults.test.js +1 -1
- package/packages/happy2-server/dist/modules/config/defaults.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/loader.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/config/loader.js +4 -1
- package/packages/happy2-server/dist/modules/config/loader.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/paths.d.ts +1 -0
- package/packages/happy2-server/dist/modules/config/paths.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/config/paths.js +1 -0
- package/packages/happy2-server/dist/modules/config/paths.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/paths.test.js +1 -0
- package/packages/happy2-server/dist/modules/config/paths.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/config/type.d.ts +3 -1
- package/packages/happy2-server/dist/modules/config/type.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/data-export/dataExportBuildArtifact.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportBuildArtifact.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportBuildArtifact.js +148 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportBuildArtifact.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCanAccessChat.d.ts +7 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCanAccessChat.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCanAccessChat.js +19 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCanAccessChat.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCancel.d.ts +13 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCancel.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCancel.js +41 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCancel.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportClaimPending.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportClaimPending.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportClaimPending.js +53 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportClaimPending.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCompleteClaim.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCompleteClaim.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCompleteClaim.js +63 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportCompleteClaim.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportFailClaim.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportFailClaim.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportFailClaim.js +24 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportFailClaim.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportGet.js +16 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportList.d.ts +15 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportList.js +37 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportList.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequest.d.ts +16 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequest.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequest.js +61 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequest.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequireExistingUser.d.ts +7 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequireExistingUser.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequireExistingUser.js +19 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRequireExistingUser.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRunDue.d.ts +11 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRunDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRunDue.js +46 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportRunDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportUpdate.d.ts +17 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportUpdate.js +87 -0
- package/packages/happy2-server/dist/modules/data-export/dataExportUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/asExport.d.ts +3 -0
- package/packages/happy2-server/dist/modules/data-export/impl/asExport.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/asExport.js +21 -0
- package/packages/happy2-server/dist/modules/data-export/impl/asExport.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/assertExportTransition.d.ts +3 -0
- package/packages/happy2-server/dist/modules/data-export/impl/assertExportTransition.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/assertExportTransition.js +14 -0
- package/packages/happy2-server/dist/modules/data-export/impl/assertExportTransition.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/claimedDataExport.d.ts +5 -0
- package/packages/happy2-server/dist/modules/data-export/impl/claimedDataExport.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/claimedDataExport.js +2 -0
- package/packages/happy2-server/dist/modules/data-export/impl/claimedDataExport.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/dataExportRemoveUnclaimedArtifact.d.ts +6 -0
- package/packages/happy2-server/dist/modules/data-export/impl/dataExportRemoveUnclaimedArtifact.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/dataExportRemoveUnclaimedArtifact.js +9 -0
- package/packages/happy2-server/dist/modules/data-export/impl/dataExportRemoveUnclaimedArtifact.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportJobDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportJobDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportJobDb.js +21 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportJobDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportSelection.d.ts +231 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportSelection.js +16 -0
- package/packages/happy2-server/dist/modules/data-export/impl/exportSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/objectValue.d.ts +2 -0
- package/packages/happy2-server/dist/modules/data-export/impl/objectValue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/data-export/impl/objectValue.js +6 -0
- package/packages/happy2-server/dist/modules/data-export/impl/objectValue.js.map +1 -0
- package/packages/happy2-server/dist/modules/drizzle.d.ts +2 -0
- package/packages/happy2-server/dist/modules/drizzle.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/drizzle.js +16 -0
- package/packages/happy2-server/dist/modules/drizzle.js.map +1 -1
- package/packages/happy2-server/dist/modules/drizzle.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/drizzle.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/drizzle.test.js +49 -0
- package/packages/happy2-server/dist/modules/drizzle.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiCreate.d.ts +20 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiCreate.js +69 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiDelete.d.ts +10 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiDelete.js +78 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiList.d.ts +13 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiList.js +31 -0
- package/packages/happy2-server/dist/modules/emoji/customEmojiList.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileCanAccess.d.ts +7 -0
- package/packages/happy2-server/dist/modules/file/fileCanAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileCanAccess.js +10 -0
- package/packages/happy2-server/dist/modules/file/fileCanAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileCreate.d.ts +11 -0
- package/packages/happy2-server/dist/modules/file/fileCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileCreate.js +41 -0
- package/packages/happy2-server/dist/modules/file/fileCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileDeleteOwnedUnreferenced.d.ts +7 -0
- package/packages/happy2-server/dist/modules/file/fileDeleteOwnedUnreferenced.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileDeleteOwnedUnreferenced.js +32 -0
- package/packages/happy2-server/dist/modules/file/fileDeleteOwnedUnreferenced.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileFind.d.ts +8 -0
- package/packages/happy2-server/dist/modules/file/fileFind.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileFind.js +17 -0
- package/packages/happy2-server/dist/modules/file/fileFind.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileFindUploadedBy.d.ts +8 -0
- package/packages/happy2-server/dist/modules/file/fileFindUploadedBy.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileFindUploadedBy.js +17 -0
- package/packages/happy2-server/dist/modules/file/fileFindUploadedBy.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileList.d.ts +17 -0
- package/packages/happy2-server/dist/modules/file/fileList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileList.js +53 -0
- package/packages/happy2-server/dist/modules/file/fileList.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileListStored.d.ts +8 -0
- package/packages/happy2-server/dist/modules/file/fileListStored.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/fileListStored.js +18 -0
- package/packages/happy2-server/dist/modules/file/fileListStored.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/asFile.d.ts +4 -0
- package/packages/happy2-server/dist/modules/file/impl/asFile.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/asFile.js +22 -0
- package/packages/happy2-server/dist/modules/file/impl/asFile.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/fileRow.d.ts +3 -0
- package/packages/happy2-server/dist/modules/file/impl/fileRow.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/fileRow.js +2 -0
- package/packages/happy2-server/dist/modules/file/impl/fileRow.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/hasFileReference.d.ts +4 -0
- package/packages/happy2-server/dist/modules/file/impl/hasFileReference.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/impl/hasFileReference.js +112 -0
- package/packages/happy2-server/dist/modules/file/impl/hasFileReference.js.map +1 -0
- package/packages/happy2-server/dist/modules/file/types.d.ts +17 -0
- package/packages/happy2-server/dist/modules/file/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/file/types.js +2 -0
- package/packages/happy2-server/dist/modules/file/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/files/routes.test.js +93 -16
- package/packages/happy2-server/dist/modules/files/routes.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/files/storage.d.ts +13 -4
- package/packages/happy2-server/dist/modules/files/storage.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/files/storage.js +224 -54
- package/packages/happy2-server/dist/modules/files/storage.js.map +1 -1
- package/packages/happy2-server/dist/modules/files/storage.test.js +80 -29
- package/packages/happy2-server/dist/modules/files/storage.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/integration/apiCredentialAuthenticate.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialAuthenticate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialAuthenticate.js +54 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialAuthenticate.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialCreate.d.ts +14 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialCreate.js +56 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialList.js +23 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialList.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialRevoke.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialRevoke.js +28 -0
- package/packages/happy2-server/dist/modules/integration/apiCredentialRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/asDelivery.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/asDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/asDelivery.js +16 -0
- package/packages/happy2-server/dist/modules/integration/asDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/botRequire.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/botRequire.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/botRequire.js +10 -0
- package/packages/happy2-server/dist/modules/integration/botRequire.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/claimedDelivery.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/claimedDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/claimedDelivery.js +2 -0
- package/packages/happy2-server/dist/modules/integration/claimedDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/constraintConflict.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/constraintConflict.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/constraintConflict.js +6 -0
- package/packages/happy2-server/dist/modules/integration/constraintConflict.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/deliverySelection.d.ts +153 -0
- package/packages/happy2-server/dist/modules/integration/deliverySelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/deliverySelection.js +12 -0
- package/packages/happy2-server/dist/modules/integration/deliverySelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asCredential.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/impl/asCredential.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asCredential.js +18 -0
- package/packages/happy2-server/dist/modules/integration/impl/asCredential.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asIntegration.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/impl/asIntegration.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asIntegration.js +19 -0
- package/packages/happy2-server/dist/modules/integration/impl/asIntegration.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asSlashCommand.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/impl/asSlashCommand.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/asSlashCommand.js +17 -0
- package/packages/happy2-server/dist/modules/integration/impl/asSlashCommand.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/createIntegrationRecord.d.ts +15 -0
- package/packages/happy2-server/dist/modules/integration/impl/createIntegrationRecord.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/createIntegrationRecord.js +25 -0
- package/packages/happy2-server/dist/modules/integration/impl/createIntegrationRecord.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/credentialSelection.d.ts +174 -0
- package/packages/happy2-server/dist/modules/integration/impl/credentialSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/credentialSelection.js +13 -0
- package/packages/happy2-server/dist/modules/integration/impl/credentialSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/findSlashSubscriptionDb.d.ts +11 -0
- package/packages/happy2-server/dist/modules/integration/impl/findSlashSubscriptionDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/findSlashSubscriptionDb.js +22 -0
- package/packages/happy2-server/dist/modules/integration/impl/findSlashSubscriptionDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/futureDate.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/futureDate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/futureDate.js +8 -0
- package/packages/happy2-server/dist/modules/integration/impl/futureDate.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/getSlashCommandDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/impl/getSlashCommandDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/getSlashCommandDb.js +20 -0
- package/packages/happy2-server/dist/modules/integration/impl/getSlashCommandDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/integrationSelection.d.ts +172 -0
- package/packages/happy2-server/dist/modules/integration/impl/integrationSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/integrationSelection.js +13 -0
- package/packages/happy2-server/dist/modules/integration/impl/integrationSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/maxEventPayload.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/maxEventPayload.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/maxEventPayload.js +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/maxEventPayload.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizeScopes.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizeScopes.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizeScopes.js +8 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizeScopes.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizedCommand.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizedCommand.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizedCommand.js +8 -0
- package/packages/happy2-server/dist/modules/integration/impl/normalizedCommand.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/optionalTextBody.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/optionalTextBody.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/optionalTextBody.js +9 -0
- package/packages/happy2-server/dist/modules/integration/impl/optionalTextBody.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireChatMemberDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireChatMemberDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireChatMemberDb.js +22 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireChatMemberDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireScopeSubset.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireScopeSubset.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireScopeSubset.js +6 -0
- package/packages/happy2-server/dist/modules/integration/impl/requireScopeSubset.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashCommandSelection.d.ts +153 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashCommandSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashCommandSelection.js +12 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashCommandSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashEventType.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashEventType.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashEventType.js +4 -0
- package/packages/happy2-server/dist/modules/integration/impl/slashEventType.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationAppendAudit.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/integrationAppendAudit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationAppendAudit.js +18 -0
- package/packages/happy2-server/dist/modules/integration/integrationAppendAudit.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationCreate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/integration/integrationCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationCreate.js +11 -0
- package/packages/happy2-server/dist/modules/integration/integrationCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationFinishChange.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationFinishChange.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationFinishChange.js +22 -0
- package/packages/happy2-server/dist/modules/integration/integrationFinishChange.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationGet.js +20 -0
- package/packages/happy2-server/dist/modules/integration/integrationGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationInsert.d.ts +17 -0
- package/packages/happy2-server/dist/modules/integration/integrationInsert.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationInsert.js +29 -0
- package/packages/happy2-server/dist/modules/integration/integrationInsert.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationList.js +20 -0
- package/packages/happy2-server/dist/modules/integration/integrationList.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRecordChange.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationRecordChange.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRecordChange.js +33 -0
- package/packages/happy2-server/dist/modules/integration/integrationRecordChange.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRequire.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationRequire.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRequire.js +14 -0
- package/packages/happy2-server/dist/modules/integration/integrationRequire.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRevoke.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/integrationRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/integrationRevoke.js +53 -0
- package/packages/happy2-server/dist/modules/integration/integrationRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/number.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/number.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/number.js +10 -0
- package/packages/happy2-server/dist/modules/integration/number.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/optionalText.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/optionalText.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/optionalText.js +5 -0
- package/packages/happy2-server/dist/modules/integration/optionalText.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/optionalTrimmed.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/optionalTrimmed.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/optionalTrimmed.js +10 -0
- package/packages/happy2-server/dist/modules/integration/optionalTrimmed.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/parseScopes.d.ts +3 -0
- package/packages/happy2-server/dist/modules/integration/parseScopes.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/parseScopes.js +9 -0
- package/packages/happy2-server/dist/modules/integration/parseScopes.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/requiredTrimmed.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/requiredTrimmed.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/requiredTrimmed.js +8 -0
- package/packages/happy2-server/dist/modules/integration/requiredTrimmed.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/serializedPayload.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/serializedPayload.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/serializedPayload.js +15 -0
- package/packages/happy2-server/dist/modules/integration/serializedPayload.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandCreate.d.ts +18 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandCreate.js +71 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandInvoke.d.ts +13 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandInvoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandInvoke.js +58 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandInvoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandList.js +22 -0
- package/packages/happy2-server/dist/modules/integration/slashCommandList.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/stringArray.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/stringArray.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/stringArray.js +8 -0
- package/packages/happy2-server/dist/modules/integration/stringArray.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/text.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integration/text.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/text.js +8 -0
- package/packages/happy2-server/dist/modules/integration/text.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationActive.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationActive.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationActive.js +20 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationActive.js.map +1 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationAdmin.d.ts +7 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationAdmin.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationAdmin.js +20 -0
- package/packages/happy2-server/dist/modules/integration/userRequireIntegrationAdmin.js.map +1 -0
- package/packages/happy2-server/dist/modules/integrations/actions.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integrations/actions.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/integrations/{repository.test.js → actions.test.js} +159 -79
- package/packages/happy2-server/dist/modules/integrations/actions.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/integrations/routes.test.js +43 -38
- package/packages/happy2-server/dist/modules/integrations/routes.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/integrations/transport.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/integrations/transport.js +8 -1
- package/packages/happy2-server/dist/modules/integrations/transport.js.map +1 -1
- package/packages/happy2-server/dist/modules/integrations/types.d.ts +2 -0
- package/packages/happy2-server/dist/modules/integrations/types.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/integrations/types.js.map +1 -1
- package/packages/happy2-server/dist/modules/message/impl/dueMessages.d.ts +88 -0
- package/packages/happy2-server/dist/modules/message/impl/dueMessages.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/dueMessages.js +17 -0
- package/packages/happy2-server/dist/modules/message/impl/dueMessages.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/earliestDate.d.ts +2 -0
- package/packages/happy2-server/dist/modules/message/impl/earliestDate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/earliestDate.js +8 -0
- package/packages/happy2-server/dist/modules/message/impl/earliestDate.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/findClientMutationDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/message/impl/findClientMutationDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/findClientMutationDb.js +26 -0
- package/packages/happy2-server/dist/modules/message/impl/findClientMutationDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/messageSendInput.d.ts +22 -0
- package/packages/happy2-server/dist/modules/message/impl/messageSendInput.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/messageSendInput.js +2 -0
- package/packages/happy2-server/dist/modules/message/impl/messageSendInput.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/sendMessageDbInput.d.ts +5 -0
- package/packages/happy2-server/dist/modules/message/impl/sendMessageDbInput.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/sendMessageDbInput.js +2 -0
- package/packages/happy2-server/dist/modules/message/impl/sendMessageDbInput.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/storeClientMutationDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/message/impl/storeClientMutationDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/impl/storeClientMutationDb.js +25 -0
- package/packages/happy2-server/dist/modules/message/impl/storeClientMutationDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageDelete.d.ts +11 -0
- package/packages/happy2-server/dist/modules/message/messageDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageDelete.js +62 -0
- package/packages/happy2-server/dist/modules/message/messageDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageEdit.d.ts +17 -0
- package/packages/happy2-server/dist/modules/message/messageEdit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageEdit.js +98 -0
- package/packages/happy2-server/dist/modules/message/messageEdit.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageExpireDue.d.ts +8 -0
- package/packages/happy2-server/dist/modules/message/messageExpireDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageExpireDue.js +56 -0
- package/packages/happy2-server/dist/modules/message/messageExpireDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageForward.d.ts +16 -0
- package/packages/happy2-server/dist/modules/message/messageForward.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageForward.js +159 -0
- package/packages/happy2-server/dist/modules/message/messageForward.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/message/messageGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageGet.js +14 -0
- package/packages/happy2-server/dist/modules/message/messageGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageGetProjection.d.ts +8 -0
- package/packages/happy2-server/dist/modules/message/messageGetProjection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageGetProjection.js +229 -0
- package/packages/happy2-server/dist/modules/message/messageGetProjection.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageIndexForSearch.d.ts +7 -0
- package/packages/happy2-server/dist/modules/message/messageIndexForSearch.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageIndexForSearch.js +41 -0
- package/packages/happy2-server/dist/modules/message/messageIndexForSearch.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageIsPast.d.ts +2 -0
- package/packages/happy2-server/dist/modules/message/messageIsPast.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageIsPast.js +4 -0
- package/packages/happy2-server/dist/modules/message/messageIsPast.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageList.d.ts +18 -0
- package/packages/happy2-server/dist/modules/message/messageList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageList.js +47 -0
- package/packages/happy2-server/dist/modules/message/messageList.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messagePinSet.d.ts +14 -0
- package/packages/happy2-server/dist/modules/message/messagePinSet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messagePinSet.js +62 -0
- package/packages/happy2-server/dist/modules/message/messagePinSet.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageReactionSet.d.ts +17 -0
- package/packages/happy2-server/dist/modules/message/messageReactionSet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageReactionSet.js +119 -0
- package/packages/happy2-server/dist/modules/message/messageReactionSet.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageRecordDelivery.d.ts +18 -0
- package/packages/happy2-server/dist/modules/message/messageRecordDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageRecordDelivery.js +116 -0
- package/packages/happy2-server/dist/modules/message/messageRecordDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageReplaceMentions.d.ts +10 -0
- package/packages/happy2-server/dist/modules/message/messageReplaceMentions.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageReplaceMentions.js +63 -0
- package/packages/happy2-server/dist/modules/message/messageReplaceMentions.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageRevisionList.d.ts +13 -0
- package/packages/happy2-server/dist/modules/message/messageRevisionList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageRevisionList.js +36 -0
- package/packages/happy2-server/dist/modules/message/messageRevisionList.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSend.d.ts +12 -0
- package/packages/happy2-server/dist/modules/message/messageSend.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSend.js +12 -0
- package/packages/happy2-server/dist/modules/message/messageSend.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSendAutomated.d.ts +18 -0
- package/packages/happy2-server/dist/modules/message/messageSendAutomated.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSendAutomated.js +32 -0
- package/packages/happy2-server/dist/modules/message/messageSendAutomated.js.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSendInTransaction.d.ts +12 -0
- package/packages/happy2-server/dist/modules/message/messageSendInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/message/messageSendInTransaction.js +260 -0
- package/packages/happy2-server/dist/modules/message/messageSendInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanApply.d.ts +15 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanApply.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanApply.js +73 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanApply.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanExpireDue.d.ts +11 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanExpireDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanExpireDue.js +85 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanExpireDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanList.d.ts +14 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanList.js +42 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanList.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanRevoke.d.ts +14 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanRevoke.js +62 -0
- package/packages/happy2-server/dist/modules/moderation/accountBanRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTarget.d.ts +10 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTarget.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTarget.js +2 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTarget.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetDb.js +36 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetState.d.ts +3 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetState.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetState.js +11 -0
- package/packages/happy2-server/dist/modules/moderation/impl/accountTargetState.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/advanceChatMutation.d.ts +13 -0
- package/packages/happy2-server/dist/modules/moderation/impl/advanceChatMutation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/advanceChatMutation.js +38 -0
- package/packages/happy2-server/dist/modules/moderation/impl/advanceChatMutation.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/applyBanInTransaction.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/applyBanInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/applyBanInTransaction.js +44 -0
- package/packages/happy2-server/dist/modules/moderation/impl/applyBanInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asBan.d.ts +3 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asBan.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asBan.js +26 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asBan.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asModerationAction.d.ts +3 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asModerationAction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asModerationAction.js +22 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asModerationAction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asReport.d.ts +3 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asReport.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asReport.js +22 -0
- package/packages/happy2-server/dist/modules/moderation/impl/asReport.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banDb.js +22 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banSelection.d.ts +212 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banSelection.js +15 -0
- package/packages/happy2-server/dist/modules/moderation/impl/banSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/closeElapsedBan.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/closeElapsedBan.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/closeElapsedBan.js +30 -0
- package/packages/happy2-server/dist/modules/moderation/impl/closeElapsedBan.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/createModerationNotification.d.ts +17 -0
- package/packages/happy2-server/dist/modules/moderation/impl/createModerationNotification.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/createModerationNotification.js +44 -0
- package/packages/happy2-server/dist/modules/moderation/impl/createModerationNotification.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/deleteUserInTransaction.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/deleteUserInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/deleteUserInTransaction.js +164 -0
- package/packages/happy2-server/dist/modules/moderation/impl/deleteUserInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/mergeContext.d.ts +3 -0
- package/packages/happy2-server/dist/modules/moderation/impl/mergeContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/mergeContext.js +11 -0
- package/packages/happy2-server/dist/modules/moderation/impl/mergeContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionDb.js +21 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionSelection.d.ts +250 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionSelection.js +17 -0
- package/packages/happy2-server/dist/modules/moderation/impl/moderationActionSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeFileInTransaction.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeFileInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeFileInTransaction.js +73 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeFileInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeMessageInTransaction.d.ts +11 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeMessageInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeMessageInTransaction.js +62 -0
- package/packages/happy2-server/dist/modules/moderation/impl/removeMessageInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportDb.js +21 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportSelection.d.ts +269 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportSelection.js +18 -0
- package/packages/happy2-server/dist/modules/moderation/impl/reportSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/requireReportTargetAccess.d.ts +13 -0
- package/packages/happy2-server/dist/modules/moderation/impl/requireReportTargetAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/requireReportTargetAccess.js +56 -0
- package/packages/happy2-server/dist/modules/moderation/impl/requireReportTargetAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/revokeBanInTransaction.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/revokeBanInTransaction.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/revokeBanInTransaction.js +34 -0
- package/packages/happy2-server/dist/modules/moderation/impl/revokeBanInTransaction.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/syncUserMutation.d.ts +8 -0
- package/packages/happy2-server/dist/modules/moderation/impl/syncUserMutation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/impl/syncUserMutation.js +31 -0
- package/packages/happy2-server/dist/modules/moderation/impl/syncUserMutation.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionRevoke.d.ts +17 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionRevoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionRevoke.js +59 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionRevoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionTake.d.ts +22 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionTake.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionTake.js +133 -0
- package/packages/happy2-server/dist/modules/moderation/moderationActionTake.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportCreate.d.ts +18 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportCreate.js +44 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportList.d.ts +14 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportList.js +33 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportList.js.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportUpdate.d.ts +16 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportUpdate.js +52 -0
- package/packages/happy2-server/dist/modules/moderation/moderationReportUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/chatNotificationPreferenceSet.d.ts +18 -0
- package/packages/happy2-server/dist/modules/notification/chatNotificationPreferenceSet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/chatNotificationPreferenceSet.js +72 -0
- package/packages/happy2-server/dist/modules/notification/chatNotificationPreferenceSet.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/impl/asNotification.d.ts +3 -0
- package/packages/happy2-server/dist/modules/notification/impl/asNotification.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/impl/asNotification.js +15 -0
- package/packages/happy2-server/dist/modules/notification/impl/asNotification.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationList.d.ts +16 -0
- package/packages/happy2-server/dist/modules/notification/notificationList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationList.js +50 -0
- package/packages/happy2-server/dist/modules/notification/notificationList.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationMarkRead.d.ts +14 -0
- package/packages/happy2-server/dist/modules/notification/notificationMarkRead.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationMarkRead.js +41 -0
- package/packages/happy2-server/dist/modules/notification/notificationMarkRead.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceGet.d.ts +19 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceGet.js +48 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceUpdate.d.ts +24 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceUpdate.js +95 -0
- package/packages/happy2-server/dist/modules/notification/notificationPreferenceUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/actions.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/actions.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/{repository.test.js → actions.test.js} +264 -159
- package/packages/happy2-server/dist/modules/operations/actions.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/asAudit.d.ts +3 -0
- package/packages/happy2-server/dist/modules/operations/asAudit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/asAudit.js +24 -0
- package/packages/happy2-server/dist/modules/operations/asAudit.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditAppend.d.ts +17 -0
- package/packages/happy2-server/dist/modules/operations/auditAppend.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditAppend.js +41 -0
- package/packages/happy2-server/dist/modules/operations/auditAppend.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditContext.d.ts +6 -0
- package/packages/happy2-server/dist/modules/operations/auditContext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditContext.js +2 -0
- package/packages/happy2-server/dist/modules/operations/auditContext.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditSelection.d.ts +288 -0
- package/packages/happy2-server/dist/modules/operations/auditSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/auditSelection.js +19 -0
- package/packages/happy2-server/dist/modules/operations/auditSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/cursorCondition.d.ts +5 -0
- package/packages/happy2-server/dist/modules/operations/cursorCondition.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/cursorCondition.js +7 -0
- package/packages/happy2-server/dist/modules/operations/cursorCondition.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/decodeCursor.d.ts +3 -0
- package/packages/happy2-server/dist/modules/operations/decodeCursor.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/decodeCursor.js +24 -0
- package/packages/happy2-server/dist/modules/operations/decodeCursor.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/futureTimestamp.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/futureTimestamp.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/futureTimestamp.js +10 -0
- package/packages/happy2-server/dist/modules/operations/futureTimestamp.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/impl/cursor.d.ts +6 -0
- package/packages/happy2-server/dist/modules/operations/impl/cursor.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/impl/cursor.js +2 -0
- package/packages/happy2-server/dist/modules/operations/impl/cursor.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/impl/encodeCursor.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/impl/encodeCursor.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/impl/encodeCursor.js +7 -0
- package/packages/happy2-server/dist/modules/operations/impl/encodeCursor.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/json.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/json.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/json.js +4 -0
- package/packages/happy2-server/dist/modules/operations/json.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/number.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/number.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/number.js +12 -0
- package/packages/happy2-server/dist/modules/operations/number.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/optionalText.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/optionalText.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/optionalText.js +5 -0
- package/packages/happy2-server/dist/modules/operations/optionalText.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/page.d.ts +3 -0
- package/packages/happy2-server/dist/modules/operations/page.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/page.js +12 -0
- package/packages/happy2-server/dist/modules/operations/page.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/parseJson.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/parseJson.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/parseJson.js +13 -0
- package/packages/happy2-server/dist/modules/operations/parseJson.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/text.d.ts +2 -0
- package/packages/happy2-server/dist/modules/operations/text.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/text.js +8 -0
- package/packages/happy2-server/dist/modules/operations/text.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/types.d.ts +3 -0
- package/packages/happy2-server/dist/modules/operations/types.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsActive.d.ts +10 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsActive.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsActive.js +22 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsActive.js.map +1 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsAdmin.d.ts +7 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsAdmin.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsAdmin.js +13 -0
- package/packages/happy2-server/dist/modules/operations/userRequireOperationsAdmin.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.d.ts +13 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.js +359 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.test.js +139 -0
- package/packages/happy2-server/dist/modules/plugin/catalog.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/functions.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/functions.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/functions.test.js +123 -0
- package/packages/happy2-server/dist/modules/plugin/functions.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/httpBridge.d.ts +19 -0
- package/packages/happy2-server/dist/modules/plugin/httpBridge.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/httpBridge.js +206 -0
- package/packages/happy2-server/dist/modules/plugin/httpBridge.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asInstallation.d.ts +3 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asInstallation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asInstallation.js +47 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asInstallation.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asPlugin.d.ts +3 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asPlugin.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asPlugin.js +69 -0
- package/packages/happy2-server/dist/modules/plugin/impl/asPlugin.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installationSelection.d.ts +288 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installationSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installationSelection.js +19 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installationSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.d.ts +3 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.js +52 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.test.js +17 -0
- package/packages/happy2-server/dist/modules/plugin/impl/installedManifest.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginFunctionResult.d.ts +3 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginFunctionResult.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginFunctionResult.js +16 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginFunctionResult.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginSelection.d.ts +339 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginSelection.js +22 -0
- package/packages/happy2-server/dist/modules/plugin/impl/pluginSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/index.d.ts +3 -0
- package/packages/happy2-server/dist/modules/plugin/index.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/index.js +3 -0
- package/packages/happy2-server/dist/modules/plugin/index.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/packageStore.d.ts +15 -0
- package/packages/happy2-server/dist/modules/plugin/packageStore.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/packageStore.js +90 -0
- package/packages/happy2-server/dist/modules/plugin/packageStore.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginAuthorizeManagement.d.ts +7 -0
- package/packages/happy2-server/dist/modules/plugin/pluginAuthorizeManagement.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginAuthorizeManagement.js +9 -0
- package/packages/happy2-server/dist/modules/plugin/pluginAuthorizeManagement.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginCatalogList.d.ts +9 -0
- package/packages/happy2-server/dist/modules/plugin/pluginCatalogList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginCatalogList.js +50 -0
- package/packages/happy2-server/dist/modules/plugin/pluginCatalogList.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFindBySource.d.ts +9 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFindBySource.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFindBySource.js +15 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFindBySource.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultAcquire.d.ts +23 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultAcquire.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultAcquire.js +54 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultAcquire.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultComplete.d.ts +13 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultComplete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultComplete.js +37 -0
- package/packages/happy2-server/dist/modules/plugin/pluginFunctionResultComplete.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginGetImage.d.ts +17 -0
- package/packages/happy2-server/dist/modules/plugin/pluginGetImage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginGetImage.js +29 -0
- package/packages/happy2-server/dist/modules/plugin/pluginGetImage.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstall.d.ts +27 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstall.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstall.js +175 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstall.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetRuntimeConfiguration.d.ts +9 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetRuntimeConfiguration.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetRuntimeConfiguration.js +111 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetRuntimeConfiguration.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetStatus.d.ts +11 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetStatus.js +18 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationGetStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationList.js +19 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationList.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListIds.d.ts +7 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListIds.js +13 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListReadyMcpIds.d.ts +7 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListReadyMcpIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListReadyMcpIds.js +16 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationListReadyMcpIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationUpdateStatus.d.ts +15 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationUpdateStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationUpdateStatus.js +37 -0
- package/packages/happy2-server/dist/modules/plugin/pluginInstallationUpdateStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/plugin/pluginList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginList.js +17 -0
- package/packages/happy2-server/dist/modules/plugin/pluginList.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginRemoveMissingBuiltins.d.ts +14 -0
- package/packages/happy2-server/dist/modules/plugin/pluginRemoveMissingBuiltins.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/pluginRemoveMissingBuiltins.js +51 -0
- package/packages/happy2-server/dist/modules/plugin/pluginRemoveMissingBuiltins.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/runtime.d.ts +37 -0
- package/packages/happy2-server/dist/modules/plugin/runtime.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/runtime.js +62 -0
- package/packages/happy2-server/dist/modules/plugin/runtime.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.d.ts +17 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.js +56 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.test.js +14 -0
- package/packages/happy2-server/dist/modules/plugin/secrets.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/service.d.ts +52 -0
- package/packages/happy2-server/dist/modules/plugin/service.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/service.js +538 -0
- package/packages/happy2-server/dist/modules/plugin/service.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/types.d.ts +157 -0
- package/packages/happy2-server/dist/modules/plugin/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/types.js +9 -0
- package/packages/happy2-server/dist/modules/plugin/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.d.ts +19 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.js +97 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.test.js +74 -0
- package/packages/happy2-server/dist/modules/plugin/utils/ndjsonStreamTransport.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.d.ts +29 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.js +126 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.js.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.test.js +75 -0
- package/packages/happy2-server/dist/modules/plugin/utils/remoteMcpTransport.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/presence/impl/listPresenceSettingsWithDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/presence/impl/listPresenceSettingsWithDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/presence/impl/listPresenceSettingsWithDb.js +41 -0
- package/packages/happy2-server/dist/modules/presence/impl/listPresenceSettingsWithDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingList.js +41 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingList.js.map +1 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingUpdate.d.ts +18 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingUpdate.js +76 -0
- package/packages/happy2-server/dist/modules/presence/presenceSettingUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/realtime/events.d.ts +29 -4
- package/packages/happy2-server/dist/modules/realtime/events.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/events.js +41 -4
- package/packages/happy2-server/dist/modules/realtime/events.js.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/local.d.ts +5 -0
- package/packages/happy2-server/dist/modules/realtime/local.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/local.js +68 -14
- package/packages/happy2-server/dist/modules/realtime/local.js.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/local.test.js +108 -11
- package/packages/happy2-server/dist/modules/realtime/local.test.js.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/pubsub.d.ts +0 -1
- package/packages/happy2-server/dist/modules/realtime/pubsub.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/realtime/pubsub.js.map +1 -1
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseAcquire.d.ts +8 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseAcquire.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseAcquire.js +59 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseAcquire.js.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseComplete.d.ts +8 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseComplete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseComplete.js +30 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseComplete.js.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseRelease.d.ts +7 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseRelease.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseRelease.js +23 -0
- package/packages/happy2-server/dist/modules/request/idempotencyLeaseRelease.js.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyRecordPurgeExpired.d.ts +7 -0
- package/packages/happy2-server/dist/modules/request/idempotencyRecordPurgeExpired.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/request/idempotencyRecordPurgeExpired.js +25 -0
- package/packages/happy2-server/dist/modules/request/idempotencyRecordPurgeExpired.js.map +1 -0
- package/packages/happy2-server/dist/modules/request/impl/idempotencyKey.d.ts +8 -0
- package/packages/happy2-server/dist/modules/request/impl/idempotencyKey.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/request/impl/idempotencyKey.js +27 -0
- package/packages/happy2-server/dist/modules/request/impl/idempotencyKey.js.map +1 -0
- package/packages/happy2-server/dist/modules/request/index.d.ts +4 -1
- package/packages/happy2-server/dist/modules/request/index.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/request/index.js +4 -1
- package/packages/happy2-server/dist/modules/request/index.js.map +1 -1
- package/packages/happy2-server/dist/modules/retention/impl/asRetention.d.ts +3 -0
- package/packages/happy2-server/dist/modules/retention/impl/asRetention.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/impl/asRetention.js +19 -0
- package/packages/happy2-server/dist/modules/retention/impl/asRetention.js.map +1 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionRunDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionRunDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionRunDb.js +21 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionRunDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionSelection.d.ts +170 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionSelection.js +13 -0
- package/packages/happy2-server/dist/modules/retention/impl/retentionSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunFinish.d.ts +18 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunFinish.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunFinish.js +48 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunFinish.js.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunList.d.ts +13 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunList.js +31 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunList.js.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunStart.d.ts +14 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunStart.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunStart.js +45 -0
- package/packages/happy2-server/dist/modules/retention/retentionRunStart.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/catalog.d.ts +15 -0
- package/packages/happy2-server/dist/modules/sandbox/catalog.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/catalog.js +31 -0
- package/packages/happy2-server/dist/modules/sandbox/catalog.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/index.d.ts +4 -0
- package/packages/happy2-server/dist/modules/sandbox/index.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/index.js +3 -0
- package/packages/happy2-server/dist/modules/sandbox/index.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.d.ts +35 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.js +529 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.test.d.ts +2 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.test.js +322 -0
- package/packages/happy2-server/dist/modules/sandbox/localOciSandboxProvider.test.js.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/types.d.ts +97 -0
- package/packages/happy2-server/dist/modules/sandbox/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sandbox/types.js +2 -0
- package/packages/happy2-server/dist/modules/sandbox/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/areaHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/scheduled-message/areaHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/areaHint.js +9 -0
- package/packages/happy2-server/dist/modules/scheduled-message/areaHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/errorMessage.d.ts +2 -0
- package/packages/happy2-server/dist/modules/scheduled-message/errorMessage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/errorMessage.js +4 -0
- package/packages/happy2-server/dist/modules/scheduled-message/errorMessage.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/getScheduledMessageWith.d.ts +8 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/getScheduledMessageWith.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/getScheduledMessageWith.js +38 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/getScheduledMessageWith.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/scheduledMessageSummary.d.ts +14 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/scheduledMessageSummary.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/scheduledMessageSummary.js +2 -0
- package/packages/happy2-server/dist/modules/scheduled-message/impl/scheduledMessageSummary.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageCancel.d.ts +8 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageCancel.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageCancel.js +38 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageCancel.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageList.js +23 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageList.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessagePublishDue.d.ts +8 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessagePublishDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessagePublishDue.js +106 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessagePublishDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageSchedule.d.ts +21 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageSchedule.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageSchedule.js +72 -0
- package/packages/happy2-server/dist/modules/scheduled-message/scheduledMessageSchedule.js.map +1 -0
- package/packages/happy2-server/dist/modules/schema.d.ts +8313 -6153
- package/packages/happy2-server/dist/modules/schema.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/schema.js +136 -47
- package/packages/happy2-server/dist/modules/schema.js.map +1 -1
- package/packages/happy2-server/dist/modules/search/impl/decodeSearchCursor.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/impl/decodeSearchCursor.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/decodeSearchCursor.js +19 -0
- package/packages/happy2-server/dist/modules/search/impl/decodeSearchCursor.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/encodeSearchCursor.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/impl/encodeSearchCursor.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/encodeSearchCursor.js +7 -0
- package/packages/happy2-server/dist/modules/search/impl/encodeSearchCursor.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/fuzzyScore.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/impl/fuzzyScore.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/fuzzyScore.js +23 -0
- package/packages/happy2-server/dist/modules/search/impl/fuzzyScore.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/levenshtein.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/impl/levenshtein.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/levenshtein.js +16 -0
- package/packages/happy2-server/dist/modules/search/impl/levenshtein.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/resultId.d.ts +12 -0
- package/packages/happy2-server/dist/modules/search/impl/resultId.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/impl/resultId.js +9 -0
- package/packages/happy2-server/dist/modules/search/impl/resultId.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/normalizeSearch.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/normalizeSearch.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/normalizeSearch.js +4 -0
- package/packages/happy2-server/dist/modules/search/normalizeSearch.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchGrams.d.ts +2 -0
- package/packages/happy2-server/dist/modules/search/searchGrams.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchGrams.js +11 -0
- package/packages/happy2-server/dist/modules/search/searchGrams.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchPageGet.d.ts +28 -0
- package/packages/happy2-server/dist/modules/search/searchPageGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchPageGet.js +100 -0
- package/packages/happy2-server/dist/modules/search/searchPageGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchRun.d.ts +20 -0
- package/packages/happy2-server/dist/modules/search/searchRun.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/search/searchRun.js +15 -0
- package/packages/happy2-server/dist/modules/search/searchRun.js.map +1 -0
- package/packages/happy2-server/dist/modules/server/serverSchemaMigrate.d.ts +7 -0
- package/packages/happy2-server/dist/modules/server/serverSchemaMigrate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/server/serverSchemaMigrate.js +24 -0
- package/packages/happy2-server/dist/modules/server/serverSchemaMigrate.js.map +1 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileGet.d.ts +14 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileGet.js +36 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileUpdate.d.ts +19 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileUpdate.js +99 -0
- package/packages/happy2-server/dist/modules/server-profile/serverProfileUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/allowedServerTransition.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/allowedServerTransition.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/allowedServerTransition.js +11 -0
- package/packages/happy2-server/dist/modules/setup/impl/allowedServerTransition.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImagePresentation.d.ts +13 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImagePresentation.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImagePresentation.js +20 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImagePresentation.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSelectedId.d.ts +2 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSelectedId.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSelectedId.js +6 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSelectedId.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSyncHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSyncHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSyncHint.js +8 -0
- package/packages/happy2-server/dist/modules/setup/impl/baseImageSyncHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/completeRegistrationPolicyDb.d.ts +4 -0
- package/packages/happy2-server/dist/modules/setup/impl/completeRegistrationPolicyDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/completeRegistrationPolicyDb.js +60 -0
- package/packages/happy2-server/dist/modules/setup/impl/completeRegistrationPolicyDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/emptyUserSteps.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/emptyUserSteps.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/emptyUserSteps.js +15 -0
- package/packages/happy2-server/dist/modules/setup/impl/emptyUserSteps.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/encodedMetadata.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/encodedMetadata.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/encodedMetadata.js +22 -0
- package/packages/happy2-server/dist/modules/setup/impl/encodedMetadata.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/publicStatus.d.ts +9 -0
- package/packages/happy2-server/dist/modules/setup/impl/publicStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/publicStatus.js +23 -0
- package/packages/happy2-server/dist/modules/setup/impl/publicStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/readServerSnapshot.d.ts +11 -0
- package/packages/happy2-server/dist/modules/setup/impl/readServerSnapshot.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/readServerSnapshot.js +39 -0
- package/packages/happy2-server/dist/modules/setup/impl/readServerSnapshot.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/readUserSteps.d.ts +5 -0
- package/packages/happy2-server/dist/modules/setup/impl/readUserSteps.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/readUserSteps.js +23 -0
- package/packages/happy2-server/dist/modules/setup/impl/readUserSteps.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/redactServerSteps.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/redactServerSteps.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/redactServerSteps.js +21 -0
- package/packages/happy2-server/dist/modules/setup/impl/redactServerSteps.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/requireActiveAdministratorDb.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/requireActiveAdministratorDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/requireActiveAdministratorDb.js +16 -0
- package/packages/happy2-server/dist/modules/setup/impl/requireActiveAdministratorDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/requirePrerequisitesDb.d.ts +4 -0
- package/packages/happy2-server/dist/modules/setup/impl/requirePrerequisitesDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/requirePrerequisitesDb.js +21 -0
- package/packages/happy2-server/dist/modules/setup/impl/requirePrerequisitesDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/safeMetadata.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/safeMetadata.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/safeMetadata.js +25 -0
- package/packages/happy2-server/dist/modules/setup/impl/safeMetadata.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepDb.d.ts +9 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepDb.js +24 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepRecord.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepRecord.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepRecord.js +2 -0
- package/packages/happy2-server/dist/modules/setup/impl/serverStepRecord.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/setupHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/setupHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/setupHint.js +9 -0
- package/packages/happy2-server/dist/modules/setup/impl/setupHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepPrerequisites.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepPrerequisites.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepPrerequisites.js +13 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepPrerequisites.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepStatus.d.ts +10 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepStatus.js +30 -0
- package/packages/happy2-server/dist/modules/setup/impl/stepStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/userStepRecord.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/userStepRecord.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/userStepRecord.js +2 -0
- package/packages/happy2-server/dist/modules/setup/impl/userStepRecord.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/validatedLastError.d.ts +3 -0
- package/packages/happy2-server/dist/modules/setup/impl/validatedLastError.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/impl/validatedLastError.js +12 -0
- package/packages/happy2-server/dist/modules/setup/impl/validatedLastError.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/index.d.ts +16 -0
- package/packages/happy2-server/dist/modules/setup/index.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/index.js +16 -0
- package/packages/happy2-server/dist/modules/setup/index.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageCompleteBuild.d.ts +12 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageCompleteBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageCompleteBuild.js +67 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageCompleteBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageFailBuild.d.ts +12 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageFailBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageFailBuild.js +49 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageFailBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageGetStatus.d.ts +13 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageGetStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageGetStatus.js +31 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageGetStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageRetryBuild.d.ts +11 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageRetryBuild.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageRetryBuild.js +60 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageRetryBuild.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageSelect.d.ts +22 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageSelect.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageSelect.js +144 -0
- package/packages/happy2-server/dist/modules/setup/setupBaseImageSelect.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupChooseRegistrationPolicy.d.ts +8 -0
- package/packages/happy2-server/dist/modules/setup/setupChooseRegistrationPolicy.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupChooseRegistrationPolicy.js +38 -0
- package/packages/happy2-server/dist/modules/setup/setupChooseRegistrationPolicy.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupCreateDefaultAgent.d.ts +20 -0
- package/packages/happy2-server/dist/modules/setup/setupCreateDefaultAgent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupCreateDefaultAgent.js +97 -0
- package/packages/happy2-server/dist/modules/setup/setupCreateDefaultAgent.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCombinedStatus.d.ts +8 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCombinedStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCombinedStatus.js +73 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCombinedStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCurrentSyncHint.d.ts +11 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCurrentSyncHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCurrentSyncHint.js +23 -0
- package/packages/happy2-server/dist/modules/setup/setupGetCurrentSyncHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetPublicStatus.d.ts +8 -0
- package/packages/happy2-server/dist/modules/setup/setupGetPublicStatus.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetPublicStatus.js +13 -0
- package/packages/happy2-server/dist/modules/setup/setupGetPublicStatus.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetRegistrationAvailability.d.ts +8 -0
- package/packages/happy2-server/dist/modules/setup/setupGetRegistrationAvailability.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupGetRegistrationAvailability.js +11 -0
- package/packages/happy2-server/dist/modules/setup/setupGetRegistrationAvailability.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupRecordOperationalStep.d.ts +14 -0
- package/packages/happy2-server/dist/modules/setup/setupRecordOperationalStep.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupRecordOperationalStep.js +55 -0
- package/packages/happy2-server/dist/modules/setup/setupRecordOperationalStep.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderGetSelected.d.ts +10 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderGetSelected.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderGetSelected.js +35 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderGetSelected.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderSelect.d.ts +11 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderSelect.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderSelect.js +72 -0
- package/packages/happy2-server/dist/modules/setup/setupSandboxProviderSelect.js.map +1 -0
- package/packages/happy2-server/dist/modules/setup/types.d.ts +70 -0
- package/packages/happy2-server/dist/modules/setup/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/setup/types.js +29 -0
- package/packages/happy2-server/dist/modules/setup/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/chatSyncGetDifference.d.ts +33 -0
- package/packages/happy2-server/dist/modules/sync/chatSyncGetDifference.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/chatSyncGetDifference.js +103 -0
- package/packages/happy2-server/dist/modules/sync/chatSyncGetDifference.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/impl/stateAt.d.ts +3 -0
- package/packages/happy2-server/dist/modules/sync/impl/stateAt.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/impl/stateAt.js +9 -0
- package/packages/happy2-server/dist/modules/sync/impl/stateAt.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/impl/syncState.d.ts +3 -0
- package/packages/happy2-server/dist/modules/sync/impl/syncState.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/impl/syncState.js +8 -0
- package/packages/happy2-server/dist/modules/sync/impl/syncState.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncCompact.d.ts +12 -0
- package/packages/happy2-server/dist/modules/sync/syncCompact.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncCompact.js +141 -0
- package/packages/happy2-server/dist/modules/sync/syncCompact.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncConsumerAcknowledge.d.ts +12 -0
- package/packages/happy2-server/dist/modules/sync/syncConsumerAcknowledge.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncConsumerAcknowledge.js +49 -0
- package/packages/happy2-server/dist/modules/sync/syncConsumerAcknowledge.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncEventInsert.d.ts +15 -0
- package/packages/happy2-server/dist/modules/sync/syncEventInsert.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncEventInsert.js +18 -0
- package/packages/happy2-server/dist/modules/sync/syncEventInsert.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncGetDifference.d.ts +21 -0
- package/packages/happy2-server/dist/modules/sync/syncGetDifference.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncGetDifference.js +177 -0
- package/packages/happy2-server/dist/modules/sync/syncGetDifference.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncGetState.d.ts +8 -0
- package/packages/happy2-server/dist/modules/sync/syncGetState.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncGetState.js +22 -0
- package/packages/happy2-server/dist/modules/sync/syncGetState.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncInitialize.d.ts +7 -0
- package/packages/happy2-server/dist/modules/sync/syncInitialize.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncInitialize.js +24 -0
- package/packages/happy2-server/dist/modules/sync/syncInitialize.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNext.d.ts +7 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNext.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNext.js +22 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNext.js.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNextWithTimestamp.d.ts +7 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNextWithTimestamp.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNextWithTimestamp.js +23 -0
- package/packages/happy2-server/dist/modules/sync/syncSequenceNextWithTimestamp.js.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadCreate.d.ts +15 -0
- package/packages/happy2-server/dist/modules/thread/threadCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadCreate.js +143 -0
- package/packages/happy2-server/dist/modules/thread/threadCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadFollowSet.d.ts +14 -0
- package/packages/happy2-server/dist/modules/thread/threadFollowSet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadFollowSet.js +46 -0
- package/packages/happy2-server/dist/modules/thread/threadFollowSet.js.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadGet.d.ts +8 -0
- package/packages/happy2-server/dist/modules/thread/threadGet.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadGet.js +20 -0
- package/packages/happy2-server/dist/modules/thread/threadGet.js.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadListMine.d.ts +16 -0
- package/packages/happy2-server/dist/modules/thread/threadListMine.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/thread/threadListMine.js +49 -0
- package/packages/happy2-server/dist/modules/thread/threadListMine.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/contactList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/user/contactList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/contactList.js +23 -0
- package/packages/happy2-server/dist/modules/user/contactList.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/asAccess.d.ts +3 -0
- package/packages/happy2-server/dist/modules/user/impl/asAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/asAccess.js +23 -0
- package/packages/happy2-server/dist/modules/user/impl/asAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/asUser.d.ts +4 -0
- package/packages/happy2-server/dist/modules/user/impl/asUser.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/asUser.js +21 -0
- package/packages/happy2-server/dist/modules/user/impl/asUser.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/userHint.d.ts +3 -0
- package/packages/happy2-server/dist/modules/user/impl/userHint.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/userHint.js +9 -0
- package/packages/happy2-server/dist/modules/user/impl/userHint.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/userRow.d.ts +3 -0
- package/packages/happy2-server/dist/modules/user/impl/userRow.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/impl/userRow.js +2 -0
- package/packages/happy2-server/dist/modules/user/impl/userRow.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/types.d.ts +24 -0
- package/packages/happy2-server/dist/modules/user/types.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/types.js +2 -0
- package/packages/happy2-server/dist/modules/user/types.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAccessList.d.ts +12 -0
- package/packages/happy2-server/dist/modules/user/userAccessList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAccessList.js +56 -0
- package/packages/happy2-server/dist/modules/user/userAccessList.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationList.d.ts +13 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationList.js +39 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationList.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationUpdate.d.ts +16 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationUpdate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationUpdate.js +65 -0
- package/packages/happy2-server/dist/modules/user/userAdministrationUpdate.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAnnounceJoinedServer.d.ts +10 -0
- package/packages/happy2-server/dist/modules/user/userAnnounceJoinedServer.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userAnnounceJoinedServer.js +46 -0
- package/packages/happy2-server/dist/modules/user/userAnnounceJoinedServer.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userCreateProfile.d.ts +10 -0
- package/packages/happy2-server/dist/modules/user/userCreateProfile.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userCreateProfile.js +195 -0
- package/packages/happy2-server/dist/modules/user/userCreateProfile.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userDelete.d.ts +13 -0
- package/packages/happy2-server/dist/modules/user/userDelete.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userDelete.js +159 -0
- package/packages/happy2-server/dist/modules/user/userDelete.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userFindActive.d.ts +8 -0
- package/packages/happy2-server/dist/modules/user/userFindActive.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userFindActive.js +20 -0
- package/packages/happy2-server/dist/modules/user/userFindActive.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userFindActiveByAccount.d.ts +8 -0
- package/packages/happy2-server/dist/modules/user/userFindActiveByAccount.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userFindActiveByAccount.js +20 -0
- package/packages/happy2-server/dist/modules/user/userFindActiveByAccount.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userJoinAutoChannels.d.ts +10 -0
- package/packages/happy2-server/dist/modules/user/userJoinAutoChannels.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userJoinAutoChannels.js +90 -0
- package/packages/happy2-server/dist/modules/user/userJoinAutoChannels.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenFinalize.d.ts +9 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenFinalize.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenFinalize.js +34 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenFinalize.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenTouch.d.ts +8 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenTouch.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenTouch.js +28 -0
- package/packages/happy2-server/dist/modules/user/userLastSeenTouch.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userOnboardingUpdateStep.d.ts +12 -0
- package/packages/happy2-server/dist/modules/user/userOnboardingUpdateStep.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userOnboardingUpdateStep.js +68 -0
- package/packages/happy2-server/dist/modules/user/userOnboardingUpdateStep.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userSetBanned.d.ts +14 -0
- package/packages/happy2-server/dist/modules/user/userSetBanned.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userSetBanned.js +98 -0
- package/packages/happy2-server/dist/modules/user/userSetBanned.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userSetPhoto.d.ts +7 -0
- package/packages/happy2-server/dist/modules/user/userSetPhoto.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userSetPhoto.js +43 -0
- package/packages/happy2-server/dist/modules/user/userSetPhoto.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userTouchAccess.d.ts +7 -0
- package/packages/happy2-server/dist/modules/user/userTouchAccess.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userTouchAccess.js +41 -0
- package/packages/happy2-server/dist/modules/user/userTouchAccess.js.map +1 -0
- package/packages/happy2-server/dist/modules/user/userUpdateProfile.d.ts +8 -0
- package/packages/happy2-server/dist/modules/user/userUpdateProfile.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/user/userUpdateProfile.js +46 -0
- package/packages/happy2-server/dist/modules/user/userUpdateProfile.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asClaimedDelivery.d.ts +3 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asClaimedDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asClaimedDelivery.js +12 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asClaimedDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asSubscription.d.ts +3 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asSubscription.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asSubscription.js +19 -0
- package/packages/happy2-server/dist/modules/webhook/impl/asSubscription.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/boundedIdentifier.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/boundedIdentifier.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/boundedIdentifier.js +6 -0
- package/packages/happy2-server/dist/modules/webhook/impl/boundedIdentifier.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/claimDueDeliveries.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/claimDueDeliveries.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/claimDueDeliveries.js +70 -0
- package/packages/happy2-server/dist/modules/webhook/impl/claimDueDeliveries.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/completeDelivery.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/completeDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/completeDelivery.js +23 -0
- package/packages/happy2-server/dist/modules/webhook/impl/completeDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/deliveryHttpError.d.ts +6 -0
- package/packages/happy2-server/dist/modules/webhook/impl/deliveryHttpError.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/deliveryHttpError.js +10 -0
- package/packages/happy2-server/dist/modules/webhook/impl/deliveryHttpError.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/errorMessage.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/errorMessage.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/errorMessage.js +4 -0
- package/packages/happy2-server/dist/modules/webhook/impl/errorMessage.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/failDelivery.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/failDelivery.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/failDelivery.js +31 -0
- package/packages/happy2-server/dist/modules/webhook/impl/failDelivery.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/getSubscriptionDb.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/getSubscriptionDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/getSubscriptionDb.js +20 -0
- package/packages/happy2-server/dist/modules/webhook/impl/getSubscriptionDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryAttempts.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryAttempts.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryAttempts.js +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryAttempts.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryResponse.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryResponse.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryResponse.js +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/maxDeliveryResponse.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizeEventTypes.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizeEventTypes.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizeEventTypes.js +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizeEventTypes.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizedEventType.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizedEventType.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizedEventType.js +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/normalizedEventType.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/outgoingSubscriptionIds.d.ts +47 -0
- package/packages/happy2-server/dist/modules/webhook/impl/outgoingSubscriptionIds.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/outgoingSubscriptionIds.js +14 -0
- package/packages/happy2-server/dist/modules/webhook/impl/outgoingSubscriptionIds.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/positiveLimit.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/positiveLimit.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/positiveLimit.js +7 -0
- package/packages/happy2-server/dist/modules/webhook/impl/positiveLimit.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requireChatDb.d.ts +7 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requireChatDb.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requireChatDb.js +19 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requireChatDb.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requiredText.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requiredText.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requiredText.js +7 -0
- package/packages/happy2-server/dist/modules/webhook/impl/requiredText.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/retryDelay.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/retryDelay.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/retryDelay.js +8 -0
- package/packages/happy2-server/dist/modules/webhook/impl/retryDelay.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/subscriptionSelection.d.ts +172 -0
- package/packages/happy2-server/dist/modules/webhook/impl/subscriptionSelection.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/subscriptionSelection.js +13 -0
- package/packages/happy2-server/dist/modules/webhook/impl/subscriptionSelection.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/truncate.d.ts +2 -0
- package/packages/happy2-server/dist/modules/webhook/impl/truncate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/impl/truncate.js +4 -0
- package/packages/happy2-server/dist/modules/webhook/impl/truncate.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookCreate.d.ts +14 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookCreate.js +51 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookInvoke.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookInvoke.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookInvoke.js +56 -0
- package/packages/happy2-server/dist/modules/webhook/incomingWebhookInvoke.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/outgoingWebhookCreate.d.ts +17 -0
- package/packages/happy2-server/dist/modules/webhook/outgoingWebhookCreate.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/outgoingWebhookCreate.js +55 -0
- package/packages/happy2-server/dist/modules/webhook/outgoingWebhookCreate.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryDispatchDue.d.ts +17 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryDispatchDue.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryDispatchDue.js +58 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryDispatchDue.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueOutgoingEvent.d.ts +13 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueOutgoingEvent.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueOutgoingEvent.js +54 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueOutgoingEvent.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueuePendingSyncEvents.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueuePendingSyncEvents.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueuePendingSyncEvents.js +42 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueuePendingSyncEvents.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueSyncSequence.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueSyncSequence.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueSyncSequence.js +38 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryEnqueueSyncSequence.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryList.js +27 -0
- package/packages/happy2-server/dist/modules/webhook/webhookDeliveryList.js.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookSubscriptionList.d.ts +8 -0
- package/packages/happy2-server/dist/modules/webhook/webhookSubscriptionList.d.ts.map +1 -0
- package/packages/happy2-server/dist/modules/webhook/webhookSubscriptionList.js +23 -0
- package/packages/happy2-server/dist/modules/webhook/webhookSubscriptionList.js.map +1 -0
- package/packages/happy2-server/dist/modules/workspace/service.d.ts +4 -3
- package/packages/happy2-server/dist/modules/workspace/service.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/workspace/service.js +72 -24
- package/packages/happy2-server/dist/modules/workspace/service.js.map +1 -1
- package/packages/happy2-server/dist/modules/workspace/types.d.ts +8 -0
- package/packages/happy2-server/dist/modules/workspace/types.d.ts.map +1 -1
- package/packages/happy2-server/dist/modules/workspace/types.js.map +1 -1
- package/packages/happy2-server/dist/routes/agents.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/agents.js +25 -1
- package/packages/happy2-server/dist/routes/agents.js.map +1 -1
- package/packages/happy2-server/dist/routes/auth.d.ts +4 -2
- package/packages/happy2-server/dist/routes/auth.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/auth.js +23 -7
- package/packages/happy2-server/dist/routes/auth.js.map +1 -1
- package/packages/happy2-server/dist/routes/automation.d.ts +3 -2
- package/packages/happy2-server/dist/routes/automation.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/automation.js +20 -13
- package/packages/happy2-server/dist/routes/automation.js.map +1 -1
- package/packages/happy2-server/dist/routes/collaboration.d.ts +2 -2
- package/packages/happy2-server/dist/routes/collaboration.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/collaboration.js +453 -222
- package/packages/happy2-server/dist/routes/collaboration.js.map +1 -1
- package/packages/happy2-server/dist/routes/files.d.ts +2 -3
- package/packages/happy2-server/dist/routes/files.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/files.js +283 -96
- package/packages/happy2-server/dist/routes/files.js.map +1 -1
- package/packages/happy2-server/dist/routes/integrations.d.ts +4 -2
- package/packages/happy2-server/dist/routes/integrations.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/integrations.js +39 -20
- package/packages/happy2-server/dist/routes/integrations.js.map +1 -1
- package/packages/happy2-server/dist/routes/operations.d.ts +2 -2
- package/packages/happy2-server/dist/routes/operations.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/operations.js +112 -44
- package/packages/happy2-server/dist/routes/operations.js.map +1 -1
- package/packages/happy2-server/dist/routes/operations.test.js +58 -24
- package/packages/happy2-server/dist/routes/operations.test.js.map +1 -1
- package/packages/happy2-server/dist/routes/plugins.d.ts +8 -0
- package/packages/happy2-server/dist/routes/plugins.d.ts.map +1 -0
- package/packages/happy2-server/dist/routes/plugins.js +186 -0
- package/packages/happy2-server/dist/routes/plugins.js.map +1 -0
- package/packages/happy2-server/dist/routes/setup.d.ts +8 -0
- package/packages/happy2-server/dist/routes/setup.d.ts.map +1 -0
- package/packages/happy2-server/dist/routes/setup.js +283 -0
- package/packages/happy2-server/dist/routes/setup.js.map +1 -0
- package/packages/happy2-server/dist/routes/sync.d.ts +2 -2
- package/packages/happy2-server/dist/routes/sync.d.ts.map +1 -1
- package/packages/happy2-server/dist/routes/sync.js +102 -41
- package/packages/happy2-server/dist/routes/sync.js.map +1 -1
- package/packages/happy2-server/dist/routes/workspace.js +1 -1
- package/packages/happy2-server/dist/routes/workspace.js.map +1 -1
- package/packages/happy2-server/dist/runner.js +45 -19
- package/packages/happy2-server/dist/runner.js.map +1 -1
- package/packages/happy2-server/dist/server.d.ts +17 -12
- package/packages/happy2-server/dist/server.d.ts.map +1 -1
- package/packages/happy2-server/dist/server.js +182 -91
- package/packages/happy2-server/dist/server.js.map +1 -1
- package/packages/happy2-server/dist/standalone.d.ts.map +1 -1
- package/packages/happy2-server/dist/standalone.js +12 -6
- package/packages/happy2-server/dist/standalone.js.map +1 -1
- package/packages/happy2-server/dist/systemService.d.ts +48 -0
- package/packages/happy2-server/dist/systemService.d.ts.map +1 -0
- package/packages/happy2-server/dist/systemService.js +308 -0
- package/packages/happy2-server/dist/systemService.js.map +1 -0
- package/packages/happy2-server/dist/systemService.test.d.ts +2 -0
- package/packages/happy2-server/dist/systemService.test.d.ts.map +1 -0
- package/packages/happy2-server/dist/systemService.test.js +266 -0
- package/packages/happy2-server/dist/systemService.test.js.map +1 -0
- package/packages/happy2-server/dist/web/assets/index-9SGCQLg7.js +46 -0
- package/packages/happy2-server/dist/web/assets/index-DWXBQDJB.css +2 -0
- package/packages/happy2-server/dist/web/index.html +11 -2
- package/packages/happy2-server/drizzle/0011_agent_image_changes.sql +51 -0
- package/packages/happy2-server/drizzle/0012_agent_effort.sql +1 -0
- package/packages/happy2-server/drizzle/0013_agent_turn_started_at.sql +1 -0
- package/packages/happy2-server/drizzle/0014_main_channels.sql +14 -0
- package/packages/happy2-server/drizzle/0015_durable_server_and_user_onboarding.sql +70 -0
- package/packages/happy2-server/drizzle/0016_default_agent.sql +27 -0
- package/packages/happy2-server/drizzle/0017_user_product_last_seen.sql +1 -0
- package/packages/happy2-server/drizzle/0018_threads_are_chats.sql +23 -0
- package/packages/happy2-server/drizzle/0019_channel_agent_audiences.sql +16 -0
- package/packages/happy2-server/drizzle/0020_plugins.sql +61 -0
- package/packages/happy2-server/drizzle/0021_plugin_function_results.sql +11 -0
- package/packages/happy2-server/drizzle/meta/_journal.json +77 -0
- package/packages/happy2-server/happy2.example.toml +5 -2
- package/packages/happy2-server/plugins/README.md +7 -0
- package/packages/happy2-server/plugins/hello/container/Dockerfile +6 -0
- package/packages/happy2-server/plugins/hello/plugin.json +16 -0
- package/packages/happy2-server/plugins/hello/plugin.png +0 -0
- package/packages/happy2-server/plugins/hello/server.mjs +75 -0
- package/packages/happy2-server/plugins/hello/skills/hello/SKILL.md +11 -0
- package/packages/happy2-server/dist/modules/agents/docker.d.ts +0 -51
- package/packages/happy2-server/dist/modules/agents/docker.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/agents/docker.js +0 -256
- package/packages/happy2-server/dist/modules/agents/docker.js.map +0 -1
- package/packages/happy2-server/dist/modules/agents/docker.test.d.ts +0 -2
- package/packages/happy2-server/dist/modules/agents/docker.test.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/agents/docker.test.js +0 -155
- package/packages/happy2-server/dist/modules/agents/docker.test.js.map +0 -1
- package/packages/happy2-server/dist/modules/automation/repository.d.ts +0 -127
- package/packages/happy2-server/dist/modules/automation/repository.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/automation/repository.js +0 -821
- package/packages/happy2-server/dist/modules/automation/repository.js.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/repository.d.ts +0 -839
- package/packages/happy2-server/dist/modules/collaboration/repository.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/repository.js +0 -5795
- package/packages/happy2-server/dist/modules/collaboration/repository.js.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/repository.test.d.ts +0 -2
- package/packages/happy2-server/dist/modules/collaboration/repository.test.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/repository.test.js.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/types.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/collaboration/types.js.map +0 -1
- package/packages/happy2-server/dist/modules/database.d.ts +0 -105
- package/packages/happy2-server/dist/modules/database.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/database.js +0 -583
- package/packages/happy2-server/dist/modules/database.js.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/index.d.ts +0 -6
- package/packages/happy2-server/dist/modules/integrations/index.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/index.js +0 -6
- package/packages/happy2-server/dist/modules/integrations/index.js.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/repository.d.ts +0 -136
- package/packages/happy2-server/dist/modules/integrations/repository.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/repository.js +0 -1229
- package/packages/happy2-server/dist/modules/integrations/repository.js.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/repository.test.d.ts +0 -2
- package/packages/happy2-server/dist/modules/integrations/repository.test.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/integrations/repository.test.js.map +0 -1
- package/packages/happy2-server/dist/modules/operations/export-worker.d.ts +0 -16
- package/packages/happy2-server/dist/modules/operations/export-worker.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/operations/export-worker.js +0 -56
- package/packages/happy2-server/dist/modules/operations/export-worker.js.map +0 -1
- package/packages/happy2-server/dist/modules/operations/repository.d.ts +0 -215
- package/packages/happy2-server/dist/modules/operations/repository.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/operations/repository.js +0 -2011
- package/packages/happy2-server/dist/modules/operations/repository.js.map +0 -1
- package/packages/happy2-server/dist/modules/operations/repository.test.d.ts +0 -2
- package/packages/happy2-server/dist/modules/operations/repository.test.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/operations/repository.test.js.map +0 -1
- package/packages/happy2-server/dist/modules/request/database-idempotency.d.ts +0 -15
- package/packages/happy2-server/dist/modules/request/database-idempotency.d.ts.map +0 -1
- package/packages/happy2-server/dist/modules/request/database-idempotency.js +0 -141
- package/packages/happy2-server/dist/modules/request/database-idempotency.js.map +0 -1
- package/packages/happy2-server/dist/web/assets/index-COvbX8JP.css +0 -2
- package/packages/happy2-server/dist/web/assets/index-DdpugxMO.js +0 -57
- /package/packages/happy2-server/dist/modules/{collaboration → chat}/types.js +0 -0
|
@@ -1,15 +1,71 @@
|
|
|
1
|
+
import { rigEventMarkTrimmed } from "../agent/rigEventMarkTrimmed.js";
|
|
2
|
+
import { rigEventGetCheckpoint } from "../agent/rigEventGetCheckpoint.js";
|
|
3
|
+
import { rigEventCheckpoint } from "../agent/rigEventCheckpoint.js";
|
|
4
|
+
import { agentUsernameIsAvailable } from "../agent/agentUsernameIsAvailable.js";
|
|
5
|
+
import { agentTurnTakeNext } from "../agent/agentTurnTakeNext.js";
|
|
6
|
+
import { agentTurnStreamReply } from "../agent/agentTurnStreamReply.js";
|
|
7
|
+
import { agentTurnRenewLease } from "../agent/agentTurnRenewLease.js";
|
|
8
|
+
import { agentTurnReleaseLeases } from "../agent/agentTurnReleaseLeases.js";
|
|
9
|
+
import { agentTurnHasRunnable } from "../agent/agentTurnHasRunnable.js";
|
|
10
|
+
import { agentTurnGetRunning } from "../agent/agentTurnGetRunning.js";
|
|
11
|
+
import { agentTurnFail } from "../agent/agentTurnFail.js";
|
|
12
|
+
import { agentTurnComplete } from "../agent/agentTurnComplete.js";
|
|
13
|
+
import { agentTurnCheckpoint } from "../agent/agentTurnCheckpoint.js";
|
|
14
|
+
import { agentSecretRecordRegistration } from "../agent/agentSecretRecordRegistration.js";
|
|
15
|
+
import { agentSecretDetachFromChannel } from "../agent/agentSecretDetachFromChannel.js";
|
|
16
|
+
import { agentSecretDetachFromAgent } from "../agent/agentSecretDetachFromAgent.js";
|
|
17
|
+
import { agentSecretBindingList } from "../agent/agentSecretBindingList.js";
|
|
18
|
+
import { agentSecretAuthorizeManagement } from "../agent/agentSecretAuthorizeManagement.js";
|
|
19
|
+
import { agentSecretAttachToChannel } from "../agent/agentSecretAttachToChannel.js";
|
|
20
|
+
import { agentSecretAttachToAgent } from "../agent/agentSecretAttachToAgent.js";
|
|
21
|
+
import { agentSecretAssignmentList } from "../agent/agentSecretAssignmentList.js";
|
|
22
|
+
import { agentSecretAssignmentDelete } from "../agent/agentSecretAssignmentDelete.js";
|
|
23
|
+
import { agentRunAttach } from "../agent/agentRunAttach.js";
|
|
24
|
+
import { agentImageTakeBuild } from "../agent/agentImageTakeBuild.js";
|
|
25
|
+
import { agentImageSetDefault } from "../agent/agentImageSetDefault.js";
|
|
26
|
+
import { agentImageRequestBuild } from "../agent/agentImageRequestBuild.js";
|
|
27
|
+
import { agentImageRenewBuildLease } from "../agent/agentImageRenewBuildLease.js";
|
|
28
|
+
import { agentImageReleaseBuildLeases } from "../agent/agentImageReleaseBuildLeases.js";
|
|
29
|
+
import { agentImageRecordBuildOutput } from "../agent/agentImageRecordBuildOutput.js";
|
|
30
|
+
import { agentImageListRequestedBuildIds } from "../agent/agentImageListRequestedBuildIds.js";
|
|
31
|
+
import { agentImageList } from "../agent/agentImageList.js";
|
|
32
|
+
import { agentImageGetReadyDefault } from "../agent/agentImageGetReadyDefault.js";
|
|
33
|
+
import { agentImageGetChangeContext } from "../agent/agentImageGetChangeContext.js";
|
|
34
|
+
import { agentImageGet } from "../agent/agentImageGet.js";
|
|
35
|
+
import { agentImageEnsureDefinitions } from "../agent/agentImageEnsureDefinitions.js";
|
|
36
|
+
import { agentImageCreate } from "../agent/agentImageCreate.js";
|
|
37
|
+
import { agentImageCommitChange } from "../agent/agentImageCommitChange.js";
|
|
38
|
+
import { agentEffortUpdate } from "../agent/agentEffortUpdate.js";
|
|
39
|
+
import { agentEffortInitialize } from "../agent/agentEffortInitialize.js";
|
|
40
|
+
import { agentEffortGetContext } from "../agent/agentEffortGetContext.js";
|
|
41
|
+
import { agentEffortBindingList } from "../agent/agentEffortBindingList.js";
|
|
42
|
+
import { agentCreate } from "../agent/agentCreate.js";
|
|
43
|
+
import { agentConversationCreate } from "../agent/agentConversationCreate.js";
|
|
44
|
+
import { agentDefaultRepair } from "../agent/agentDefaultRepair.js";
|
|
45
|
+
import { agentChatListUnfinishedIds } from "../agent/agentChatListUnfinishedIds.js";
|
|
46
|
+
import { agentChatGetContext } from "../agent/agentChatGetContext.js";
|
|
47
|
+
import { agentChatBind } from "../agent/agentChatBind.js";
|
|
48
|
+
import {} from "../drizzle.js";
|
|
49
|
+
import { chatGetAccess } from "../chat/chatGetAccess.js";
|
|
1
50
|
import { createId } from "@paralleldrive/cuid2";
|
|
2
51
|
import { createHash } from "node:crypto";
|
|
3
52
|
import { mkdir } from "node:fs/promises";
|
|
4
53
|
import { join } from "node:path";
|
|
5
|
-
import { CollaborationError, } from "../
|
|
54
|
+
import { CollaborationError, } from "../chat/types.js";
|
|
6
55
|
import { realtimeTopics } from "../realtime/index.js";
|
|
7
56
|
import { isRetryableRigError, RigDaemonClient, } from "./daemon.js";
|
|
8
57
|
import { BUILTIN_AGENT_IMAGES } from "./builtin-images.js";
|
|
58
|
+
import { pluginFunctionResultAcquire } from "../plugin/pluginFunctionResultAcquire.js";
|
|
59
|
+
import { pluginFunctionResultComplete } from "../plugin/pluginFunctionResultComplete.js";
|
|
60
|
+
import { setupBaseImageCompleteBuild, setupBaseImageFailBuild, setupBaseImageGetStatus, setupBaseImageRetryBuild, setupBaseImageSelect, } from "../setup/index.js";
|
|
9
61
|
const IGNORED_EVENT_CHECKPOINT_INTERVAL = 100;
|
|
10
62
|
const EVENT_RETRY_INTERVAL_MS = 100;
|
|
63
|
+
const PLUGIN_FUNCTION_LEASE_MS = 45_000;
|
|
64
|
+
const PLUGIN_FUNCTION_WAIT_INTERVAL_MS = 1_000;
|
|
11
65
|
const TYPING_TTL_MS = 30_000;
|
|
12
66
|
const TYPING_RENEW_INTERVAL_MS = 20_000;
|
|
67
|
+
const AGENT_ACTIVITY_TTL_MS = 10_000;
|
|
68
|
+
const AGENT_ACTIVITY_RENEW_INTERVAL_MS = 3_000;
|
|
13
69
|
const TRIM_EVENT_INTERVAL = 1_000;
|
|
14
70
|
const TRIM_TIME_INTERVAL_MS = 24 * 60 * 60_000;
|
|
15
71
|
const IMAGE_BUILD_LEASE_RENEW_INTERVAL_MS = 20_000;
|
|
@@ -24,53 +80,78 @@ const AGENT_CONTAINER_SECURITY = {
|
|
|
24
80
|
readonlyRootFilesystem: true,
|
|
25
81
|
sharedMemoryBytes: 1024 * 1024 * 1024,
|
|
26
82
|
tmpfs: [
|
|
27
|
-
{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
83
|
+
{
|
|
84
|
+
target: "/tmp",
|
|
85
|
+
mode: 0o1777,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
target: "/run",
|
|
89
|
+
mode: 0o755,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
target: "/var/tmp",
|
|
93
|
+
mode: 0o1777,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
target: "/var/run",
|
|
97
|
+
mode: 0o755,
|
|
98
|
+
},
|
|
31
99
|
],
|
|
32
100
|
};
|
|
33
101
|
export class AgentService {
|
|
34
|
-
|
|
102
|
+
executor;
|
|
35
103
|
pubsub;
|
|
36
104
|
daemon;
|
|
37
|
-
|
|
105
|
+
sandboxRuntime;
|
|
38
106
|
defaultCwd;
|
|
107
|
+
pluginFunctions;
|
|
39
108
|
onError;
|
|
40
109
|
workerId = createId();
|
|
41
110
|
bindingCreations = new Map();
|
|
42
111
|
imageBuilds = new Map();
|
|
112
|
+
imageBuildRetries = new Map();
|
|
113
|
+
imageMutations = new Map();
|
|
43
114
|
pendingImageBuilds = new Set();
|
|
115
|
+
agentConfigurationMutations = new Map();
|
|
44
116
|
secretMutations = new Map();
|
|
45
117
|
activeImageBuilds = 0;
|
|
46
118
|
drains = new Map();
|
|
47
119
|
turnStreams = new Map();
|
|
48
120
|
typingRenewals = new Map();
|
|
121
|
+
agentActivities = new Map();
|
|
49
122
|
shutdown = new AbortController();
|
|
50
123
|
queueTask;
|
|
51
124
|
stopping = false;
|
|
52
|
-
constructor(
|
|
53
|
-
this.
|
|
125
|
+
constructor(executor, pubsub, daemon, sandboxRuntime, defaultCwd, pluginFunctions, onError = () => undefined) {
|
|
126
|
+
this.executor = executor;
|
|
54
127
|
this.pubsub = pubsub;
|
|
55
128
|
this.daemon = daemon;
|
|
56
|
-
this.
|
|
129
|
+
this.sandboxRuntime = sandboxRuntime;
|
|
57
130
|
this.defaultCwd = defaultCwd;
|
|
131
|
+
this.pluginFunctions = pluginFunctions;
|
|
58
132
|
this.onError = onError;
|
|
59
133
|
}
|
|
60
134
|
async createAgent(input) {
|
|
61
|
-
if (!(await this.
|
|
135
|
+
if (!(await agentUsernameIsAvailable(this.executor, input.username)))
|
|
62
136
|
throw new CollaborationError("conflict", "Agent username is already taken");
|
|
63
|
-
const image = await this.
|
|
137
|
+
const image = await agentImageGetReadyDefault(this.executor);
|
|
64
138
|
if (!image)
|
|
65
139
|
throw new CollaborationError("conflict", "A ready default agent image must be configured before creating agents");
|
|
66
140
|
const agentUserId = createId();
|
|
67
|
-
const sandbox = sandboxDirectories(this.defaultCwd, agentUserId, input.actorUserId);
|
|
141
|
+
const sandbox = sandboxDirectories(this.defaultCwd, agentUserId, "users", input.actorUserId);
|
|
68
142
|
await Promise.all([
|
|
69
|
-
mkdir(sandbox.home, {
|
|
70
|
-
|
|
143
|
+
mkdir(sandbox.home, {
|
|
144
|
+
recursive: true,
|
|
145
|
+
mode: 0o700,
|
|
146
|
+
}),
|
|
147
|
+
mkdir(sandbox.workspace, {
|
|
148
|
+
recursive: true,
|
|
149
|
+
mode: 0o700,
|
|
150
|
+
}),
|
|
71
151
|
]);
|
|
72
152
|
const containerName = agentContainerName();
|
|
73
|
-
await this.
|
|
153
|
+
const runtime = await this.sandboxRuntime();
|
|
154
|
+
await runtime.createSandbox({
|
|
74
155
|
agentUserId,
|
|
75
156
|
containerName,
|
|
76
157
|
homeDirectory: sandbox.home,
|
|
@@ -80,10 +161,11 @@ export class AgentService {
|
|
|
80
161
|
workspaceDirectory: sandbox.workspace,
|
|
81
162
|
}, this.shutdown.signal);
|
|
82
163
|
try {
|
|
83
|
-
const session = await this.daemon.createSession(sandbox.workspace, containerName, this.shutdown.signal);
|
|
84
|
-
return await this.
|
|
164
|
+
const session = await this.daemon.createSession(sandbox.workspace, containerName, undefined, this.shutdown.signal);
|
|
165
|
+
return await agentCreate(this.executor, {
|
|
85
166
|
...input,
|
|
86
167
|
agentUserId,
|
|
168
|
+
agentEffort: session.effort,
|
|
87
169
|
containerName,
|
|
88
170
|
cwd: sandbox.workspace,
|
|
89
171
|
imageId: image.id,
|
|
@@ -91,12 +173,15 @@ export class AgentService {
|
|
|
91
173
|
});
|
|
92
174
|
}
|
|
93
175
|
catch (error) {
|
|
94
|
-
await
|
|
176
|
+
await runtime.removeSandbox(containerName);
|
|
95
177
|
throw error;
|
|
96
178
|
}
|
|
97
179
|
}
|
|
180
|
+
async createAgentConversation(input) {
|
|
181
|
+
return agentConversationCreate(this.executor, input);
|
|
182
|
+
}
|
|
98
183
|
async start() {
|
|
99
|
-
await this.
|
|
184
|
+
await agentImageEnsureDefinitions(this.executor, BUILTIN_AGENT_IMAGES.map((definition) => {
|
|
100
185
|
const definitionHash = agentImageDefinitionHash(definition.dockerfile, definition.buildContext);
|
|
101
186
|
return {
|
|
102
187
|
...definition,
|
|
@@ -104,39 +189,103 @@ export class AgentService {
|
|
|
104
189
|
dockerTag: agentImageTag(definitionHash),
|
|
105
190
|
};
|
|
106
191
|
}));
|
|
107
|
-
|
|
192
|
+
const defaultAgentRepaired = await agentDefaultRepair(this.executor);
|
|
193
|
+
if (defaultAgentRepaired)
|
|
194
|
+
await this.publishAgentHint(defaultAgentRepaired);
|
|
195
|
+
for (const imageId of await agentImageListRequestedBuildIds(this.executor))
|
|
108
196
|
this.queueImageBuild(imageId);
|
|
109
197
|
await this.daemon.ensureGlobalEventQueue(this.shutdown.signal);
|
|
198
|
+
await this.reconcileFunctionPermissions();
|
|
199
|
+
await this.reconcileAgentEfforts();
|
|
110
200
|
await this.reconcileSecretBindings();
|
|
111
201
|
this.queueTask = this.trackGlobalEvents().catch((error) => {
|
|
112
202
|
if (!this.shutdown.signal.aborted)
|
|
113
203
|
this.onError(error);
|
|
114
204
|
});
|
|
115
|
-
const chatIds = await this.
|
|
205
|
+
const chatIds = await agentChatListUnfinishedIds(this.executor);
|
|
116
206
|
for (const chatId of chatIds)
|
|
117
207
|
this.startDrain(chatId);
|
|
118
208
|
}
|
|
119
|
-
async
|
|
120
|
-
const
|
|
121
|
-
if (!
|
|
122
|
-
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
209
|
+
async prepareTurns(input) {
|
|
210
|
+
const access = await chatGetAccess(this.executor, input.actorUserId, input.chatId, true);
|
|
211
|
+
if (!access)
|
|
212
|
+
throw new CollaborationError("not_found", "Chat was not found");
|
|
213
|
+
const requested = [...new Set(input.agentUserIds)];
|
|
214
|
+
let agentUserIds;
|
|
215
|
+
if (access.kind === "dm") {
|
|
216
|
+
const direct = await agentChatGetContext(this.executor, input.actorUserId, input.chatId);
|
|
217
|
+
if (!direct)
|
|
218
|
+
throw new CollaborationError("invalid", "This direct message has no executable agent");
|
|
219
|
+
if (requested.some((agentUserId) => agentUserId !== direct.agentUserId))
|
|
220
|
+
throw new CollaborationError("invalid", "A direct message can only address its member agent");
|
|
221
|
+
agentUserIds = [direct.agentUserId];
|
|
222
|
+
}
|
|
223
|
+
else {
|
|
224
|
+
agentUserIds = [
|
|
225
|
+
...(access.defaultAgentUserId ? [access.defaultAgentUserId] : []),
|
|
226
|
+
...requested,
|
|
227
|
+
].filter((agentUserId, index, all) => all.indexOf(agentUserId) === index);
|
|
228
|
+
if (!agentUserIds.length)
|
|
229
|
+
throw new CollaborationError("conflict", "The channel needs a default agent before sending to agents");
|
|
230
|
+
}
|
|
231
|
+
const contexts = await Promise.all(agentUserIds.map((agentUserId) => agentChatGetContext(this.executor, input.actorUserId, input.chatId, agentUserId)));
|
|
232
|
+
if (contexts.some((context) => !context))
|
|
233
|
+
throw new CollaborationError("invalid", "Every addressed agent must be a ready executable chat member");
|
|
234
|
+
const turns = [];
|
|
235
|
+
for (const context of contexts) {
|
|
236
|
+
const binding = await this.ensureAgentBinding(input.actorUserId, input.chatId, context.agentUserId);
|
|
237
|
+
if (!binding)
|
|
238
|
+
throw new CollaborationError("conflict", "Agent conversation is not ready");
|
|
239
|
+
turns.push({
|
|
240
|
+
agentUserId: context.agentUserId,
|
|
241
|
+
sessionId: binding.sessionId,
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
return turns;
|
|
127
245
|
}
|
|
128
246
|
startTurn(chatId) {
|
|
129
247
|
this.startDrain(chatId);
|
|
130
248
|
}
|
|
249
|
+
async getAgentEffort(input) {
|
|
250
|
+
const context = await agentEffortGetContext(this.executor, input.actorUserId, input.agentUserId);
|
|
251
|
+
return this.agentEffortConfiguration(context);
|
|
252
|
+
}
|
|
253
|
+
async changeAgentEffort(input) {
|
|
254
|
+
return this.serializeAgentConfiguration(input.agentUserId, async () => {
|
|
255
|
+
const context = await agentEffortGetContext(this.executor, input.actorUserId, input.agentUserId, true);
|
|
256
|
+
const configuration = await this.agentEffortConfiguration(context);
|
|
257
|
+
if (!configuration.options.includes(input.effort))
|
|
258
|
+
throw new CollaborationError("invalid", `Effort must be one of: ${configuration.options.join(", ")}`);
|
|
259
|
+
const result = await agentEffortUpdate(this.executor, input);
|
|
260
|
+
try {
|
|
261
|
+
await Promise.all(context.sessionIds.map((sessionId) => this.reconcileSessionEffort(sessionId, input.effort)));
|
|
262
|
+
}
|
|
263
|
+
finally {
|
|
264
|
+
if (result.hint)
|
|
265
|
+
await this.publishAgentHint(result.hint);
|
|
266
|
+
}
|
|
267
|
+
return {
|
|
268
|
+
agent: result.user,
|
|
269
|
+
agentUserId: input.agentUserId,
|
|
270
|
+
effort: input.effort,
|
|
271
|
+
options: configuration.options,
|
|
272
|
+
...(result.hint
|
|
273
|
+
? {
|
|
274
|
+
sync: result.hint,
|
|
275
|
+
}
|
|
276
|
+
: {}),
|
|
277
|
+
};
|
|
278
|
+
});
|
|
279
|
+
}
|
|
131
280
|
listAgentImages(actorUserId) {
|
|
132
|
-
return this.
|
|
281
|
+
return agentImageList(this.executor, actorUserId);
|
|
133
282
|
}
|
|
134
283
|
getAgentImage(actorUserId, imageId) {
|
|
135
|
-
return this.
|
|
284
|
+
return agentImageGet(this.executor, actorUserId, imageId);
|
|
136
285
|
}
|
|
137
286
|
async createAgentImage(input) {
|
|
138
287
|
const definitionHash = agentImageDefinitionHash(input.dockerfile);
|
|
139
|
-
const result = await this.
|
|
288
|
+
const result = await agentImageCreate(this.executor, {
|
|
140
289
|
...input,
|
|
141
290
|
definitionHash,
|
|
142
291
|
dockerTag: agentImageTag(definitionHash),
|
|
@@ -146,18 +295,129 @@ export class AgentService {
|
|
|
146
295
|
return result.image;
|
|
147
296
|
}
|
|
148
297
|
async requestAgentImageBuild(input) {
|
|
149
|
-
const result = await this.
|
|
298
|
+
const result = await agentImageRequestBuild(this.executor, input);
|
|
150
299
|
await this.publishAgentImageHint(result.hint);
|
|
151
300
|
this.queueImageBuild(result.image.id);
|
|
152
301
|
return result.image;
|
|
153
302
|
}
|
|
154
303
|
async setDefaultAgentImage(input) {
|
|
155
|
-
const result = await this.
|
|
304
|
+
const result = await agentImageSetDefault(this.executor, input);
|
|
156
305
|
await this.publishAgentImageHint(result.hint);
|
|
157
306
|
return result.image;
|
|
158
307
|
}
|
|
308
|
+
getSetupBaseImages(actorUserId) {
|
|
309
|
+
return setupBaseImageGetStatus(this.executor, actorUserId);
|
|
310
|
+
}
|
|
311
|
+
async selectSetupBaseImage(input) {
|
|
312
|
+
const selection = input.selection.kind === "builtin"
|
|
313
|
+
? input.selection
|
|
314
|
+
: (() => {
|
|
315
|
+
const definitionHash = agentImageDefinitionHash(input.selection.dockerfile);
|
|
316
|
+
return {
|
|
317
|
+
...input.selection,
|
|
318
|
+
definitionHash,
|
|
319
|
+
dockerTag: agentImageTag(definitionHash),
|
|
320
|
+
};
|
|
321
|
+
})();
|
|
322
|
+
const result = await setupBaseImageSelect(this.executor, input.actorUserId, selection);
|
|
323
|
+
if (result.hint)
|
|
324
|
+
await this.publishAgentImageHint(result.hint);
|
|
325
|
+
if (result.queueBuild)
|
|
326
|
+
this.queueImageBuild(result.imageId);
|
|
327
|
+
return result;
|
|
328
|
+
}
|
|
329
|
+
async retrySetupBaseImage(actorUserId) {
|
|
330
|
+
const result = await setupBaseImageRetryBuild(this.executor, actorUserId);
|
|
331
|
+
await this.publishAgentImageHint(result.hint);
|
|
332
|
+
this.queueImageBuild(result.imageId);
|
|
333
|
+
return result;
|
|
334
|
+
}
|
|
335
|
+
async changeAgentImage(input) {
|
|
336
|
+
const previous = this.imageMutations.get(input.agentUserId) ?? Promise.resolve();
|
|
337
|
+
const mutation = previous
|
|
338
|
+
.catch(() => undefined)
|
|
339
|
+
.then(() => this.changeAgentImageMutation(input));
|
|
340
|
+
this.imageMutations.set(input.agentUserId, mutation);
|
|
341
|
+
try {
|
|
342
|
+
return await mutation;
|
|
343
|
+
}
|
|
344
|
+
finally {
|
|
345
|
+
if (this.imageMutations.get(input.agentUserId) === mutation)
|
|
346
|
+
this.imageMutations.delete(input.agentUserId);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
async changeAgentImageMutation(input) {
|
|
350
|
+
const context = await agentImageGetChangeContext(this.executor, input);
|
|
351
|
+
if (context.currentImageId === context.image.id)
|
|
352
|
+
return {
|
|
353
|
+
user: context.user,
|
|
354
|
+
};
|
|
355
|
+
const replacements = [];
|
|
356
|
+
let committed = false;
|
|
357
|
+
const runtime = await this.sandboxRuntime();
|
|
358
|
+
try {
|
|
359
|
+
for (const binding of context.bindings) {
|
|
360
|
+
const containerName = agentContainerName();
|
|
361
|
+
await runtime.createSandbox({
|
|
362
|
+
agentUserId: input.agentUserId,
|
|
363
|
+
containerName,
|
|
364
|
+
homeDirectory: join(binding.cwd, "..", "home"),
|
|
365
|
+
imageId: context.image.id,
|
|
366
|
+
imageTag: context.image.dockerTag,
|
|
367
|
+
security: AGENT_CONTAINER_SECURITY,
|
|
368
|
+
workspaceDirectory: binding.cwd,
|
|
369
|
+
}, this.shutdown.signal);
|
|
370
|
+
try {
|
|
371
|
+
const session = await this.daemon.createSession(binding.cwd, containerName, context.user.agentEffort, this.shutdown.signal);
|
|
372
|
+
replacements.push({
|
|
373
|
+
chatId: binding.chatId,
|
|
374
|
+
containerName,
|
|
375
|
+
cwd: binding.cwd,
|
|
376
|
+
previousContainerName: binding.containerName,
|
|
377
|
+
previousSessionId: binding.sessionId,
|
|
378
|
+
sessionId: session.id,
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
catch (error) {
|
|
382
|
+
await runtime.removeSandbox(containerName);
|
|
383
|
+
throw error;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
const result = await agentImageCommitChange(this.executor, {
|
|
387
|
+
...input,
|
|
388
|
+
expectedImageId: context.currentImageId,
|
|
389
|
+
replacements,
|
|
390
|
+
});
|
|
391
|
+
if (!result.sync) {
|
|
392
|
+
await Promise.all(replacements.map(({ containerName }) => runtime.removeSandbox(containerName)));
|
|
393
|
+
return {
|
|
394
|
+
user: result.user,
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
committed = true;
|
|
398
|
+
await Promise.allSettled(replacements.map(({ previousContainerName }) => runtime.removeSandbox(previousContainerName))).then((results) => {
|
|
399
|
+
for (const result of results)
|
|
400
|
+
if (result.status === "rejected")
|
|
401
|
+
this.onError(result.reason);
|
|
402
|
+
});
|
|
403
|
+
await this.reconcileSecretBindings({
|
|
404
|
+
agentUserId: input.agentUserId,
|
|
405
|
+
}).catch(this.onError);
|
|
406
|
+
await this.publishAgentHint(result.sync);
|
|
407
|
+
return result;
|
|
408
|
+
}
|
|
409
|
+
catch (error) {
|
|
410
|
+
if (!committed)
|
|
411
|
+
await Promise.allSettled(replacements.map(({ containerName }) => runtime.removeSandbox(containerName))).then((results) => {
|
|
412
|
+
for (const result of results)
|
|
413
|
+
if (result.status === "rejected")
|
|
414
|
+
this.onError(result.reason);
|
|
415
|
+
});
|
|
416
|
+
throw error;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
159
419
|
async listAgentSecrets(actorUserId) {
|
|
160
|
-
const assignments = await this.
|
|
420
|
+
const assignments = await agentSecretAssignmentList(this.executor, actorUserId);
|
|
161
421
|
const assignmentById = new Map(assignments.map((assignment) => [assignment.secretId, assignment]));
|
|
162
422
|
const secrets = await this.daemon.listSecrets(this.shutdown.signal);
|
|
163
423
|
return {
|
|
@@ -175,18 +435,18 @@ export class AgentService {
|
|
|
175
435
|
return this.serializeAgentSecret(input.id, () => this.createAgentSecretMutation(input));
|
|
176
436
|
}
|
|
177
437
|
async createAgentSecretMutation(input) {
|
|
178
|
-
await this.
|
|
438
|
+
await agentSecretAuthorizeManagement(this.executor, input.actorUserId);
|
|
179
439
|
const secret = await this.daemon.registerSecret({
|
|
180
440
|
id: input.id,
|
|
181
441
|
description: input.description,
|
|
182
442
|
environment: input.environment,
|
|
183
443
|
}, this.shutdown.signal);
|
|
184
|
-
const sync = await this.
|
|
444
|
+
const sync = await agentSecretRecordRegistration(this.executor, {
|
|
185
445
|
actorUserId: input.actorUserId,
|
|
186
446
|
secretId: input.id,
|
|
187
447
|
});
|
|
188
448
|
await this.publishAgentHint(sync);
|
|
189
|
-
const assignments = await this.
|
|
449
|
+
const assignments = await agentSecretAssignmentList(this.executor, input.actorUserId);
|
|
190
450
|
const assignment = assignments.find((candidate) => candidate.secretId === secret.id);
|
|
191
451
|
return {
|
|
192
452
|
secret: {
|
|
@@ -201,8 +461,8 @@ export class AgentService {
|
|
|
201
461
|
return this.serializeAgentSecret(input.secretId, () => this.deleteAgentSecretMutation(input));
|
|
202
462
|
}
|
|
203
463
|
async deleteAgentSecretMutation(input) {
|
|
204
|
-
await this.
|
|
205
|
-
const sync = await this.
|
|
464
|
+
await agentSecretAuthorizeManagement(this.executor, input.actorUserId);
|
|
465
|
+
const sync = await agentSecretAssignmentDelete(this.executor, input);
|
|
206
466
|
let removed;
|
|
207
467
|
try {
|
|
208
468
|
removed = await this.daemon.unregisterSecret(input.secretId, this.shutdown.signal);
|
|
@@ -212,20 +472,29 @@ export class AgentService {
|
|
|
212
472
|
throw error;
|
|
213
473
|
}
|
|
214
474
|
await this.publishAgentHint(sync);
|
|
215
|
-
return {
|
|
475
|
+
return {
|
|
476
|
+
removed,
|
|
477
|
+
sync,
|
|
478
|
+
};
|
|
216
479
|
}
|
|
217
480
|
async attachAgentSecretToAgent(input) {
|
|
218
481
|
return this.serializeAgentSecret(input.secretId, () => this.attachAgentSecretToAgentMutation(input));
|
|
219
482
|
}
|
|
220
483
|
async attachAgentSecretToAgentMutation(input) {
|
|
221
484
|
await this.requireAgentSecret(input.actorUserId, input.secretId);
|
|
222
|
-
const sync = await this.
|
|
223
|
-
await this.reconcileSecretBindings({
|
|
485
|
+
const sync = await agentSecretAttachToAgent(this.executor, input);
|
|
486
|
+
await this.reconcileSecretBindings({
|
|
487
|
+
agentUserId: input.agentUserId,
|
|
488
|
+
});
|
|
224
489
|
if (sync)
|
|
225
490
|
await this.publishAgentHint(sync);
|
|
226
491
|
return {
|
|
227
492
|
secret: await this.agentSecret(input.actorUserId, input.secretId),
|
|
228
|
-
...(sync
|
|
493
|
+
...(sync
|
|
494
|
+
? {
|
|
495
|
+
sync,
|
|
496
|
+
}
|
|
497
|
+
: {}),
|
|
229
498
|
};
|
|
230
499
|
}
|
|
231
500
|
async detachAgentSecretFromAgent(input) {
|
|
@@ -233,13 +502,19 @@ export class AgentService {
|
|
|
233
502
|
}
|
|
234
503
|
async detachAgentSecretFromAgentMutation(input) {
|
|
235
504
|
await this.requireAgentSecret(input.actorUserId, input.secretId);
|
|
236
|
-
const sync = await this.
|
|
237
|
-
await this.reconcileSecretBindings({
|
|
505
|
+
const sync = await agentSecretDetachFromAgent(this.executor, input);
|
|
506
|
+
await this.reconcileSecretBindings({
|
|
507
|
+
agentUserId: input.agentUserId,
|
|
508
|
+
});
|
|
238
509
|
if (sync)
|
|
239
510
|
await this.publishAgentHint(sync);
|
|
240
511
|
return {
|
|
241
512
|
secret: await this.agentSecret(input.actorUserId, input.secretId),
|
|
242
|
-
...(sync
|
|
513
|
+
...(sync
|
|
514
|
+
? {
|
|
515
|
+
sync,
|
|
516
|
+
}
|
|
517
|
+
: {}),
|
|
243
518
|
};
|
|
244
519
|
}
|
|
245
520
|
async attachAgentSecretToChannel(input) {
|
|
@@ -247,13 +522,19 @@ export class AgentService {
|
|
|
247
522
|
}
|
|
248
523
|
async attachAgentSecretToChannelMutation(input) {
|
|
249
524
|
await this.requireAgentSecret(input.actorUserId, input.secretId);
|
|
250
|
-
const sync = await this.
|
|
251
|
-
await this.reconcileSecretBindings({
|
|
525
|
+
const sync = await agentSecretAttachToChannel(this.executor, input);
|
|
526
|
+
await this.reconcileSecretBindings({
|
|
527
|
+
chatId: input.channelId,
|
|
528
|
+
});
|
|
252
529
|
if (sync)
|
|
253
530
|
await this.publishAgentHint(sync);
|
|
254
531
|
return {
|
|
255
532
|
secret: await this.agentSecret(input.actorUserId, input.secretId),
|
|
256
|
-
...(sync
|
|
533
|
+
...(sync
|
|
534
|
+
? {
|
|
535
|
+
sync,
|
|
536
|
+
}
|
|
537
|
+
: {}),
|
|
257
538
|
};
|
|
258
539
|
}
|
|
259
540
|
async detachAgentSecretFromChannel(input) {
|
|
@@ -261,15 +542,33 @@ export class AgentService {
|
|
|
261
542
|
}
|
|
262
543
|
async detachAgentSecretFromChannelMutation(input) {
|
|
263
544
|
await this.requireAgentSecret(input.actorUserId, input.secretId);
|
|
264
|
-
const sync = await this.
|
|
265
|
-
await this.reconcileSecretBindings({
|
|
545
|
+
const sync = await agentSecretDetachFromChannel(this.executor, input);
|
|
546
|
+
await this.reconcileSecretBindings({
|
|
547
|
+
chatId: input.channelId,
|
|
548
|
+
});
|
|
266
549
|
if (sync)
|
|
267
550
|
await this.publishAgentHint(sync);
|
|
268
551
|
return {
|
|
269
552
|
secret: await this.agentSecret(input.actorUserId, input.secretId),
|
|
270
|
-
...(sync
|
|
553
|
+
...(sync
|
|
554
|
+
? {
|
|
555
|
+
sync,
|
|
556
|
+
}
|
|
557
|
+
: {}),
|
|
271
558
|
};
|
|
272
559
|
}
|
|
560
|
+
async serializeAgentConfiguration(agentUserId, action) {
|
|
561
|
+
const previous = this.agentConfigurationMutations.get(agentUserId) ?? Promise.resolve();
|
|
562
|
+
const mutation = previous.catch(() => undefined).then(action);
|
|
563
|
+
this.agentConfigurationMutations.set(agentUserId, mutation);
|
|
564
|
+
try {
|
|
565
|
+
return await mutation;
|
|
566
|
+
}
|
|
567
|
+
finally {
|
|
568
|
+
if (this.agentConfigurationMutations.get(agentUserId) === mutation)
|
|
569
|
+
this.agentConfigurationMutations.delete(agentUserId);
|
|
570
|
+
}
|
|
571
|
+
}
|
|
273
572
|
async serializeAgentSecret(secretId, action) {
|
|
274
573
|
const previous = this.secretMutations.get(secretId) ?? Promise.resolve();
|
|
275
574
|
const mutation = previous.catch(() => undefined).then(action);
|
|
@@ -282,13 +581,15 @@ export class AgentService {
|
|
|
282
581
|
this.secretMutations.delete(secretId);
|
|
283
582
|
}
|
|
284
583
|
}
|
|
285
|
-
async ensureAgentBinding(actorUserId, chatId) {
|
|
584
|
+
async ensureAgentBinding(actorUserId, chatId, agentUserId) {
|
|
286
585
|
if (this.stopping)
|
|
287
586
|
return undefined;
|
|
288
|
-
const context = await this.
|
|
587
|
+
const context = await agentChatGetContext(this.executor, actorUserId, chatId, agentUserId);
|
|
289
588
|
if (!context)
|
|
290
589
|
return undefined;
|
|
291
590
|
if (context.binding) {
|
|
591
|
+
if (context.agentEffort)
|
|
592
|
+
await this.reconcileSessionEffort(context.binding.sessionId, context.agentEffort);
|
|
292
593
|
await this.reconcileSecretBindings({
|
|
293
594
|
agentUserId: context.agentUserId,
|
|
294
595
|
chatId,
|
|
@@ -299,46 +600,61 @@ export class AgentService {
|
|
|
299
600
|
const pending = this.bindingCreations.get(key);
|
|
300
601
|
if (pending)
|
|
301
602
|
return pending;
|
|
302
|
-
const creation = (async () => {
|
|
303
|
-
const
|
|
603
|
+
const creation = this.serializeAgentConfiguration(context.agentUserId, async () => {
|
|
604
|
+
const latest = await agentChatGetContext(this.executor, actorUserId, chatId, agentUserId);
|
|
605
|
+
if (!latest)
|
|
606
|
+
throw new CollaborationError("not_found", "Agent conversation was not found");
|
|
607
|
+
if (latest.binding) {
|
|
608
|
+
if (latest.agentEffort)
|
|
609
|
+
await this.reconcileSessionEffort(latest.binding.sessionId, latest.agentEffort);
|
|
610
|
+
return latest.binding;
|
|
611
|
+
}
|
|
612
|
+
const sandbox = sandboxDirectories(this.defaultCwd, latest.agentUserId, latest.sandboxScope.kind, latest.sandboxScope.id, latest.sandboxScope.conversationId);
|
|
304
613
|
await Promise.all([
|
|
305
|
-
mkdir(sandbox.home, {
|
|
306
|
-
|
|
614
|
+
mkdir(sandbox.home, {
|
|
615
|
+
recursive: true,
|
|
616
|
+
mode: 0o700,
|
|
617
|
+
}),
|
|
618
|
+
mkdir(sandbox.workspace, {
|
|
619
|
+
recursive: true,
|
|
620
|
+
mode: 0o700,
|
|
621
|
+
}),
|
|
307
622
|
]);
|
|
308
623
|
const containerName = agentContainerName();
|
|
309
|
-
await this.
|
|
310
|
-
|
|
624
|
+
const runtime = await this.sandboxRuntime();
|
|
625
|
+
await runtime.createSandbox({
|
|
626
|
+
agentUserId: latest.agentUserId,
|
|
311
627
|
containerName,
|
|
312
628
|
homeDirectory: sandbox.home,
|
|
313
|
-
imageId:
|
|
314
|
-
imageTag:
|
|
629
|
+
imageId: latest.image.id,
|
|
630
|
+
imageTag: latest.image.dockerTag,
|
|
315
631
|
security: AGENT_CONTAINER_SECURITY,
|
|
316
632
|
workspaceDirectory: sandbox.workspace,
|
|
317
633
|
}, this.shutdown.signal);
|
|
318
634
|
try {
|
|
319
|
-
const session = await this.daemon.createSession(sandbox.workspace, containerName, this.shutdown.signal);
|
|
320
|
-
const binding = await this.
|
|
635
|
+
const session = await this.daemon.createSession(sandbox.workspace, containerName, latest.agentEffort, this.shutdown.signal);
|
|
636
|
+
const binding = await agentChatBind(this.executor, {
|
|
321
637
|
actorUserId,
|
|
322
|
-
agentUserId:
|
|
638
|
+
agentUserId: latest.agentUserId,
|
|
323
639
|
chatId,
|
|
324
640
|
containerName,
|
|
325
641
|
cwd: sandbox.workspace,
|
|
326
|
-
imageId:
|
|
642
|
+
imageId: latest.image.id,
|
|
327
643
|
sessionId: session.id,
|
|
328
644
|
});
|
|
329
645
|
if (binding.containerName !== containerName)
|
|
330
|
-
await
|
|
646
|
+
await runtime.removeSandbox(containerName);
|
|
331
647
|
await this.reconcileSecretBindings({
|
|
332
|
-
agentUserId:
|
|
648
|
+
agentUserId: latest.agentUserId,
|
|
333
649
|
chatId,
|
|
334
650
|
});
|
|
335
651
|
return binding;
|
|
336
652
|
}
|
|
337
653
|
catch (error) {
|
|
338
|
-
await
|
|
654
|
+
await runtime.removeSandbox(containerName);
|
|
339
655
|
throw error;
|
|
340
656
|
}
|
|
341
|
-
})
|
|
657
|
+
});
|
|
342
658
|
this.bindingCreations.set(key, creation);
|
|
343
659
|
try {
|
|
344
660
|
return await creation;
|
|
@@ -351,6 +667,9 @@ export class AgentService {
|
|
|
351
667
|
this.stopping = true;
|
|
352
668
|
this.shutdown.abort();
|
|
353
669
|
this.pendingImageBuilds.clear();
|
|
670
|
+
for (const timer of this.imageBuildRetries.values())
|
|
671
|
+
clearTimeout(timer);
|
|
672
|
+
this.imageBuildRetries.clear();
|
|
354
673
|
for (const stream of this.turnStreams.values()) {
|
|
355
674
|
stream.controller.abort();
|
|
356
675
|
stream.output.close();
|
|
@@ -358,9 +677,13 @@ export class AgentService {
|
|
|
358
677
|
for (const renewal of this.typingRenewals.values())
|
|
359
678
|
clearInterval(renewal.timer);
|
|
360
679
|
this.typingRenewals.clear();
|
|
680
|
+
for (const activity of this.agentActivities.values())
|
|
681
|
+
clearInterval(activity.timer);
|
|
682
|
+
this.agentActivities.clear();
|
|
361
683
|
await Promise.race([
|
|
362
684
|
Promise.allSettled([
|
|
363
685
|
...this.bindingCreations.values(),
|
|
686
|
+
...this.imageMutations.values(),
|
|
364
687
|
...this.drains.values(),
|
|
365
688
|
...this.imageBuilds.values(),
|
|
366
689
|
...Array.from(this.turnStreams.values(), (stream) => stream.task),
|
|
@@ -369,8 +692,8 @@ export class AgentService {
|
|
|
369
692
|
shutdownDeadline(),
|
|
370
693
|
]);
|
|
371
694
|
await Promise.all([
|
|
372
|
-
this.
|
|
373
|
-
this.
|
|
695
|
+
agentTurnReleaseLeases(this.executor, this.workerId),
|
|
696
|
+
agentImageReleaseBuildLeases(this.executor, this.workerId),
|
|
374
697
|
]);
|
|
375
698
|
}
|
|
376
699
|
queueImageBuild(imageId) {
|
|
@@ -400,18 +723,26 @@ export class AgentService {
|
|
|
400
723
|
this.imageBuilds.set(imageId, task);
|
|
401
724
|
}
|
|
402
725
|
async buildImage(imageId) {
|
|
403
|
-
const claimed = await this.
|
|
726
|
+
const claimed = await agentImageTakeBuild(this.executor, imageId, this.workerId);
|
|
404
727
|
if (!claimed)
|
|
405
728
|
return;
|
|
729
|
+
if ("retryAt" in claimed) {
|
|
730
|
+
this.scheduleImageBuildRetry(imageId, claimed.retryAt);
|
|
731
|
+
return;
|
|
732
|
+
}
|
|
406
733
|
const build = claimed.build;
|
|
407
734
|
await this.publishAgentImageHint(claimed.hint);
|
|
408
735
|
const output = new AgentImageBuildOutput(async ({ lastBuildLogLine, logChunk, progress }) => {
|
|
409
|
-
const hint = await this.
|
|
736
|
+
const hint = await agentImageRecordBuildOutput(this.executor, {
|
|
410
737
|
imageId,
|
|
411
738
|
logChunk,
|
|
412
739
|
progress,
|
|
413
740
|
workerId: this.workerId,
|
|
414
|
-
...(lastBuildLogLine === undefined
|
|
741
|
+
...(lastBuildLogLine === undefined
|
|
742
|
+
? {}
|
|
743
|
+
: {
|
|
744
|
+
lastBuildLogLine,
|
|
745
|
+
}),
|
|
415
746
|
});
|
|
416
747
|
if (hint)
|
|
417
748
|
await this.publishAgentImageHint(hint);
|
|
@@ -423,8 +754,7 @@ export class AgentService {
|
|
|
423
754
|
if (renewalRunning || this.shutdown.signal.aborted)
|
|
424
755
|
return;
|
|
425
756
|
renewalRunning = true;
|
|
426
|
-
void this.
|
|
427
|
-
.renewAgentImageBuildLease(imageId, this.workerId)
|
|
757
|
+
void agentImageRenewBuildLease(this.executor, imageId, this.workerId)
|
|
428
758
|
.catch(this.onError)
|
|
429
759
|
.finally(() => {
|
|
430
760
|
renewalRunning = false;
|
|
@@ -432,8 +762,13 @@ export class AgentService {
|
|
|
432
762
|
}, IMAGE_BUILD_LEASE_RENEW_INTERVAL_MS);
|
|
433
763
|
renewal.unref();
|
|
434
764
|
try {
|
|
435
|
-
const
|
|
436
|
-
|
|
765
|
+
const runtime = await this.sandboxRuntime();
|
|
766
|
+
const result = await runtime.buildImage({
|
|
767
|
+
...(build.buildContext
|
|
768
|
+
? {
|
|
769
|
+
buildContext: build.buildContext,
|
|
770
|
+
}
|
|
771
|
+
: {}),
|
|
437
772
|
dockerfile: build.dockerfile,
|
|
438
773
|
tag: build.dockerTag,
|
|
439
774
|
}, {
|
|
@@ -441,13 +776,14 @@ export class AgentService {
|
|
|
441
776
|
signal: this.shutdown.signal,
|
|
442
777
|
});
|
|
443
778
|
await output.finish();
|
|
444
|
-
const completed = await this.
|
|
779
|
+
const completed = await setupBaseImageCompleteBuild(this.executor, {
|
|
445
780
|
dockerImageId: result.imageId,
|
|
446
781
|
imageId,
|
|
447
782
|
workerId: this.workerId,
|
|
448
783
|
});
|
|
449
|
-
if (completed)
|
|
784
|
+
if (completed) {
|
|
450
785
|
await this.publishAgentImageHint(completed);
|
|
786
|
+
}
|
|
451
787
|
else if (!this.shutdown.signal.aborted)
|
|
452
788
|
throw new Error(`Agent image ${imageId} build lease was lost before completion.`);
|
|
453
789
|
}
|
|
@@ -462,7 +798,7 @@ export class AgentService {
|
|
|
462
798
|
progress: output.currentProgress,
|
|
463
799
|
});
|
|
464
800
|
await output.finish().catch(this.onError);
|
|
465
|
-
const failed = await this.
|
|
801
|
+
const failed = await setupBaseImageFailBuild(this.executor, {
|
|
466
802
|
error: message,
|
|
467
803
|
imageId,
|
|
468
804
|
workerId: this.workerId,
|
|
@@ -475,19 +811,79 @@ export class AgentService {
|
|
|
475
811
|
output.close();
|
|
476
812
|
}
|
|
477
813
|
}
|
|
814
|
+
scheduleImageBuildRetry(imageId, retryAt) {
|
|
815
|
+
if (this.stopping || this.imageBuildRetries.has(imageId))
|
|
816
|
+
return;
|
|
817
|
+
const delay = Math.max(Date.parse(retryAt) - Date.now(), 0) + 10;
|
|
818
|
+
const timer = setTimeout(() => {
|
|
819
|
+
this.imageBuildRetries.delete(imageId);
|
|
820
|
+
this.queueImageBuild(imageId);
|
|
821
|
+
}, delay);
|
|
822
|
+
timer.unref();
|
|
823
|
+
this.imageBuildRetries.set(imageId, timer);
|
|
824
|
+
}
|
|
478
825
|
async publishAgentImageHint(hint) {
|
|
479
826
|
await this.publishAgentHint(hint);
|
|
480
827
|
}
|
|
481
828
|
async publishAgentHint(hint) {
|
|
482
829
|
try {
|
|
483
|
-
await this.pubsub.publish(realtimeTopics.server, {
|
|
830
|
+
await this.pubsub.publish(realtimeTopics.server, {
|
|
831
|
+
type: "sync",
|
|
832
|
+
...hint,
|
|
833
|
+
});
|
|
484
834
|
}
|
|
485
835
|
catch (error) {
|
|
486
836
|
this.onError(error);
|
|
487
837
|
}
|
|
488
838
|
}
|
|
839
|
+
async agentEffortConfiguration(context) {
|
|
840
|
+
if (!context.sessionIds.length)
|
|
841
|
+
throw new CollaborationError("conflict", "Agent has no active Rig session");
|
|
842
|
+
const configurations = await Promise.all(context.sessionIds.map((sessionId) => this.daemon.effortConfiguration(sessionId, this.shutdown.signal)));
|
|
843
|
+
const options = configurations[0].options.filter((option) => configurations.every((configuration) => configuration.options.includes(option)));
|
|
844
|
+
const effort = context.effort ?? configurations[0].effort;
|
|
845
|
+
return {
|
|
846
|
+
agentUserId: context.agentUserId,
|
|
847
|
+
effort,
|
|
848
|
+
options,
|
|
849
|
+
};
|
|
850
|
+
}
|
|
851
|
+
async reconcileAgentEfforts() {
|
|
852
|
+
const bindings = await agentEffortBindingList(this.executor);
|
|
853
|
+
const byAgent = new Map();
|
|
854
|
+
for (const binding of bindings) {
|
|
855
|
+
const group = byAgent.get(binding.agentUserId) ?? [];
|
|
856
|
+
group.push(binding);
|
|
857
|
+
byAgent.set(binding.agentUserId, group);
|
|
858
|
+
}
|
|
859
|
+
for (const [agentUserId, agentBindings] of byAgent) {
|
|
860
|
+
const configured = agentBindings.find((binding) => binding.effort)?.effort;
|
|
861
|
+
const effort = configured ??
|
|
862
|
+
(await this.daemon.effortConfiguration(agentBindings[0].sessionId, this.shutdown.signal)).effort;
|
|
863
|
+
if (!configured) {
|
|
864
|
+
const hint = await agentEffortInitialize(this.executor, agentUserId, effort);
|
|
865
|
+
if (hint)
|
|
866
|
+
await this.publishAgentHint(hint);
|
|
867
|
+
}
|
|
868
|
+
await Promise.all(agentBindings.map((binding) => this.reconcileSessionEffort(binding.sessionId, effort)));
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
async reconcileFunctionPermissions() {
|
|
872
|
+
const sessionIds = [
|
|
873
|
+
...new Set((await agentEffortBindingList(this.executor)).map(({ sessionId }) => sessionId)),
|
|
874
|
+
];
|
|
875
|
+
await Promise.all(sessionIds.map((sessionId) => this.daemon.ensureFunctionPermission(sessionId, this.shutdown.signal)));
|
|
876
|
+
}
|
|
877
|
+
async reconcileSessionEffort(sessionId, effort) {
|
|
878
|
+
const current = await this.daemon.effortConfiguration(sessionId, this.shutdown.signal);
|
|
879
|
+
if (current.effort === effort)
|
|
880
|
+
return;
|
|
881
|
+
if (!current.options.includes(effort))
|
|
882
|
+
throw new CollaborationError("conflict", `Rig session does not support the agent's '${effort}' effort setting`);
|
|
883
|
+
await this.daemon.changeEffort(sessionId, effort, this.shutdown.signal);
|
|
884
|
+
}
|
|
489
885
|
async requireAgentSecret(actorUserId, secretId) {
|
|
490
|
-
await this.
|
|
886
|
+
await agentSecretAuthorizeManagement(this.executor, actorUserId);
|
|
491
887
|
const secrets = await this.daemon.listSecrets(this.shutdown.signal);
|
|
492
888
|
if (!secrets.some((secret) => secret.id === secretId))
|
|
493
889
|
throw new CollaborationError("not_found", "Agent secret was not found");
|
|
@@ -500,11 +896,11 @@ export class AgentService {
|
|
|
500
896
|
return secret;
|
|
501
897
|
}
|
|
502
898
|
async reconcileSecretBindings(input = {}) {
|
|
503
|
-
const bindings = await this.
|
|
899
|
+
const bindings = await agentSecretBindingList(this.executor, input);
|
|
504
900
|
await Promise.all(bindings.map((binding) => this.daemon.reconcileSessionSecrets(binding.sessionId, async () => {
|
|
505
901
|
const [secrets, latestBindings] = await Promise.all([
|
|
506
902
|
this.daemon.listSecrets(this.shutdown.signal),
|
|
507
|
-
this.
|
|
903
|
+
agentSecretBindingList(this.executor, {
|
|
508
904
|
agentUserId: binding.agentUserId,
|
|
509
905
|
chatId: binding.chatId,
|
|
510
906
|
}),
|
|
@@ -519,7 +915,7 @@ export class AgentService {
|
|
|
519
915
|
}, this.shutdown.signal)));
|
|
520
916
|
}
|
|
521
917
|
async trackGlobalEvents() {
|
|
522
|
-
let checkpoint = await this.
|
|
918
|
+
let checkpoint = await rigEventGetCheckpoint(this.executor);
|
|
523
919
|
let reportedFailure = false;
|
|
524
920
|
while (!this.stopping) {
|
|
525
921
|
try {
|
|
@@ -527,7 +923,7 @@ export class AgentService {
|
|
|
527
923
|
await this.daemon.watchGlobalEvents(checkpoint.cursor, async (entry) => {
|
|
528
924
|
if (isRelevantRigEvent(entry.event)) {
|
|
529
925
|
await this.applyGlobalEvent(entry);
|
|
530
|
-
checkpoint = await this.
|
|
926
|
+
checkpoint = await rigEventCheckpoint(this.executor, entry.cursor, ignoredSinceCheckpoint + 1);
|
|
531
927
|
ignoredSinceCheckpoint = 0;
|
|
532
928
|
checkpoint = await this.trimGlobalEventsIfDue(checkpoint);
|
|
533
929
|
return;
|
|
@@ -535,7 +931,7 @@ export class AgentService {
|
|
|
535
931
|
ignoredSinceCheckpoint += 1;
|
|
536
932
|
if (ignoredSinceCheckpoint < IGNORED_EVENT_CHECKPOINT_INTERVAL)
|
|
537
933
|
return;
|
|
538
|
-
checkpoint = await this.
|
|
934
|
+
checkpoint = await rigEventCheckpoint(this.executor, entry.cursor, ignoredSinceCheckpoint);
|
|
539
935
|
ignoredSinceCheckpoint = 0;
|
|
540
936
|
checkpoint = await this.trimGlobalEventsIfDue(checkpoint);
|
|
541
937
|
}, this.shutdown.signal);
|
|
@@ -559,15 +955,21 @@ export class AgentService {
|
|
|
559
955
|
if (!trimDueByCount && !trimDueByTime)
|
|
560
956
|
return checkpoint;
|
|
561
957
|
await this.daemon.trimGlobalEvents(checkpoint.cursor, this.shutdown.signal);
|
|
562
|
-
return this.
|
|
958
|
+
return rigEventMarkTrimmed(this.executor, checkpoint.cursor);
|
|
563
959
|
}
|
|
564
960
|
async applyGlobalEvent(entry) {
|
|
565
961
|
const event = entry.event;
|
|
962
|
+
if (event.type === "external_tool_call_requested" && event.data.call) {
|
|
963
|
+
const call = event.data.call;
|
|
964
|
+
const result = await this.executePluginFunctionCall(event.sessionId, call.id, call.definition.name, call.arguments);
|
|
965
|
+
await this.daemon.resolveExternalToolCall(event.sessionId, call.id, result, this.shutdown.signal);
|
|
966
|
+
return;
|
|
967
|
+
}
|
|
566
968
|
const runId = event.data.runId;
|
|
567
969
|
if (event.type === "message_submitted" && runId) {
|
|
568
970
|
const text = messageText(event.data.message);
|
|
569
971
|
if (text)
|
|
570
|
-
await this.
|
|
972
|
+
await agentRunAttach(this.executor, {
|
|
571
973
|
runId,
|
|
572
974
|
sessionId: event.sessionId,
|
|
573
975
|
text,
|
|
@@ -576,13 +978,13 @@ export class AgentService {
|
|
|
576
978
|
}
|
|
577
979
|
if (!runId || (event.type !== "run_finished" && event.type !== "run_error"))
|
|
578
980
|
return;
|
|
579
|
-
let turn = await this.
|
|
981
|
+
let turn = await agentTurnGetRunning(this.executor, event.sessionId, runId);
|
|
580
982
|
if (!turn)
|
|
581
983
|
return;
|
|
582
984
|
if (turn.runId === undefined || turn.baselineMessageCount === undefined) {
|
|
583
985
|
const baselineMessageCount = turn.baselineMessageCount ??
|
|
584
986
|
(await this.daemon.submittedTurnBaseline(turn.sessionId, turn.text, this.shutdown.signal));
|
|
585
|
-
const checkpointed = await this.
|
|
987
|
+
const checkpointed = await agentTurnCheckpoint(this.executor, {
|
|
586
988
|
agentUserId: turn.agentUserId,
|
|
587
989
|
baselineMessageCount,
|
|
588
990
|
runId,
|
|
@@ -591,7 +993,11 @@ export class AgentService {
|
|
|
591
993
|
});
|
|
592
994
|
if (!checkpointed)
|
|
593
995
|
return;
|
|
594
|
-
turn = {
|
|
996
|
+
turn = {
|
|
997
|
+
...turn,
|
|
998
|
+
baselineMessageCount,
|
|
999
|
+
runId,
|
|
1000
|
+
};
|
|
595
1001
|
}
|
|
596
1002
|
if (event.type === "run_error") {
|
|
597
1003
|
await this.failTurn(turn, event.data.errorMessage ?? "Rig run failed.");
|
|
@@ -608,6 +1014,41 @@ export class AgentService {
|
|
|
608
1014
|
}
|
|
609
1015
|
throw new Error(`Rig run ${runId} finished before its session snapshot was complete.`);
|
|
610
1016
|
}
|
|
1017
|
+
async executePluginFunctionCall(sessionId, callId, functionName, args) {
|
|
1018
|
+
const leaseToken = createId();
|
|
1019
|
+
for (;;) {
|
|
1020
|
+
this.shutdown.signal.throwIfAborted();
|
|
1021
|
+
const now = Date.now();
|
|
1022
|
+
const claim = await pluginFunctionResultAcquire(this.executor, {
|
|
1023
|
+
callId,
|
|
1024
|
+
leaseExpiresAt: now + PLUGIN_FUNCTION_LEASE_MS,
|
|
1025
|
+
leaseToken,
|
|
1026
|
+
now,
|
|
1027
|
+
sessionId,
|
|
1028
|
+
});
|
|
1029
|
+
if (claim.kind === "replay")
|
|
1030
|
+
return claim.result;
|
|
1031
|
+
if (claim.kind === "in_progress") {
|
|
1032
|
+
await delay(Math.min(Math.max(claim.retryAt - now, EVENT_RETRY_INTERVAL_MS), PLUGIN_FUNCTION_WAIT_INTERVAL_MS), this.shutdown.signal);
|
|
1033
|
+
continue;
|
|
1034
|
+
}
|
|
1035
|
+
const result = this.pluginFunctions
|
|
1036
|
+
? await this.pluginFunctions.callFunction(functionName, args, this.shutdown.signal)
|
|
1037
|
+
: {
|
|
1038
|
+
status: "failed",
|
|
1039
|
+
error: {
|
|
1040
|
+
code: "plugin_functions_unavailable",
|
|
1041
|
+
message: "Plugin functions are unavailable on this server",
|
|
1042
|
+
},
|
|
1043
|
+
};
|
|
1044
|
+
return pluginFunctionResultComplete(this.executor, {
|
|
1045
|
+
callId,
|
|
1046
|
+
leaseToken,
|
|
1047
|
+
result,
|
|
1048
|
+
sessionId,
|
|
1049
|
+
});
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
611
1052
|
startDrain(chatId) {
|
|
612
1053
|
if (this.stopping || this.drains.has(chatId))
|
|
613
1054
|
return;
|
|
@@ -618,7 +1059,7 @@ export class AgentService {
|
|
|
618
1059
|
if (this.stopping)
|
|
619
1060
|
return;
|
|
620
1061
|
try {
|
|
621
|
-
if (await this.
|
|
1062
|
+
if (await agentTurnHasRunnable(this.executor, chatId))
|
|
622
1063
|
this.startDrain(chatId);
|
|
623
1064
|
}
|
|
624
1065
|
catch (error) {
|
|
@@ -631,15 +1072,14 @@ export class AgentService {
|
|
|
631
1072
|
for (;;) {
|
|
632
1073
|
if (this.stopping)
|
|
633
1074
|
return;
|
|
634
|
-
const input = await this.
|
|
635
|
-
.takeNextAgentTurn(chatId, this.workerId)
|
|
636
|
-
.catch((error) => {
|
|
1075
|
+
const input = await agentTurnTakeNext(this.executor, chatId, this.workerId).catch((error) => {
|
|
637
1076
|
this.onError(error);
|
|
638
1077
|
return undefined;
|
|
639
1078
|
});
|
|
640
1079
|
if (!input)
|
|
641
1080
|
return;
|
|
642
1081
|
try {
|
|
1082
|
+
await this.startAgentActivity(input);
|
|
643
1083
|
await this.startTyping(input);
|
|
644
1084
|
const submission = await this.ensureTurnSubmitted(input);
|
|
645
1085
|
const inspection = submission.inspection;
|
|
@@ -680,7 +1120,7 @@ export class AgentService {
|
|
|
680
1120
|
baselineMessageCount = checkpoint.messageCount;
|
|
681
1121
|
lastSessionEventId = checkpoint.lastEventId;
|
|
682
1122
|
}
|
|
683
|
-
const checkpointed = await this.
|
|
1123
|
+
const checkpointed = await agentTurnCheckpoint(this.executor, {
|
|
684
1124
|
agentUserId: input.agentUserId,
|
|
685
1125
|
baselineMessageCount,
|
|
686
1126
|
lastSessionEventId,
|
|
@@ -695,13 +1135,22 @@ export class AgentService {
|
|
|
695
1135
|
if (runId || existing.kind !== "not_submitted")
|
|
696
1136
|
return {
|
|
697
1137
|
inspection: existing,
|
|
698
|
-
...(lastSessionEventId === undefined
|
|
699
|
-
|
|
1138
|
+
...(lastSessionEventId === undefined
|
|
1139
|
+
? {}
|
|
1140
|
+
: {
|
|
1141
|
+
lastSessionEventId,
|
|
1142
|
+
}),
|
|
1143
|
+
...(runId === undefined
|
|
1144
|
+
? {}
|
|
1145
|
+
: {
|
|
1146
|
+
runId,
|
|
1147
|
+
}),
|
|
700
1148
|
};
|
|
1149
|
+
const externalTools = (await this.pluginFunctions?.listFunctions(this.shutdown.signal)) ?? [];
|
|
701
1150
|
for (;;) {
|
|
702
1151
|
let submitted;
|
|
703
1152
|
try {
|
|
704
|
-
submitted = await this.daemon.submitTurn(input.sessionId, input.text, this.shutdown.signal);
|
|
1153
|
+
submitted = await this.daemon.submitTurn(input.sessionId, input.text, externalTools, this.shutdown.signal);
|
|
705
1154
|
}
|
|
706
1155
|
catch (error) {
|
|
707
1156
|
if (this.shutdown.signal.aborted)
|
|
@@ -710,8 +1159,16 @@ export class AgentService {
|
|
|
710
1159
|
if (recovered.kind !== "not_submitted")
|
|
711
1160
|
return {
|
|
712
1161
|
inspection: recovered,
|
|
713
|
-
...(lastSessionEventId === undefined
|
|
714
|
-
|
|
1162
|
+
...(lastSessionEventId === undefined
|
|
1163
|
+
? {}
|
|
1164
|
+
: {
|
|
1165
|
+
lastSessionEventId,
|
|
1166
|
+
}),
|
|
1167
|
+
...(runId === undefined
|
|
1168
|
+
? {}
|
|
1169
|
+
: {
|
|
1170
|
+
runId,
|
|
1171
|
+
}),
|
|
715
1172
|
};
|
|
716
1173
|
if (!isRetryableRigError(error))
|
|
717
1174
|
throw error;
|
|
@@ -720,7 +1177,7 @@ export class AgentService {
|
|
|
720
1177
|
}
|
|
721
1178
|
runId = submitted.runId;
|
|
722
1179
|
lastSessionEventId = submitted.eventId;
|
|
723
|
-
const checkpointed = await this.
|
|
1180
|
+
const checkpointed = await agentTurnCheckpoint(this.executor, {
|
|
724
1181
|
agentUserId: input.agentUserId,
|
|
725
1182
|
baselineMessageCount,
|
|
726
1183
|
lastSessionEventId,
|
|
@@ -731,7 +1188,9 @@ export class AgentService {
|
|
|
731
1188
|
if (!checkpointed)
|
|
732
1189
|
throw new AgentTurnStreamStopped(`Agent turn ${input.userMessageId} lease was lost after submission.`);
|
|
733
1190
|
return {
|
|
734
|
-
inspection: {
|
|
1191
|
+
inspection: {
|
|
1192
|
+
kind: "running",
|
|
1193
|
+
},
|
|
735
1194
|
lastSessionEventId,
|
|
736
1195
|
runId,
|
|
737
1196
|
};
|
|
@@ -753,7 +1212,7 @@ export class AgentService {
|
|
|
753
1212
|
}
|
|
754
1213
|
};
|
|
755
1214
|
const output = new AgentReplyStreamOutput(submission.lastSessionEventId, async (update) => {
|
|
756
|
-
const result = await this.
|
|
1215
|
+
const result = await agentTurnStreamReply(this.executor, {
|
|
757
1216
|
agentUserId: input.agentUserId,
|
|
758
1217
|
actorUserId: input.actorUserId,
|
|
759
1218
|
eventId: update.eventId,
|
|
@@ -791,11 +1250,16 @@ export class AgentService {
|
|
|
791
1250
|
}
|
|
792
1251
|
catch (error) {
|
|
793
1252
|
this.clearTypingRenewal(input.chatId, input.userMessageId);
|
|
1253
|
+
this.clearAgentActivity(input.userMessageId);
|
|
794
1254
|
this.onError(error);
|
|
795
1255
|
}
|
|
796
1256
|
}
|
|
797
1257
|
});
|
|
798
|
-
this.turnStreams.set(input.userMessageId, {
|
|
1258
|
+
this.turnStreams.set(input.userMessageId, {
|
|
1259
|
+
controller,
|
|
1260
|
+
output,
|
|
1261
|
+
task,
|
|
1262
|
+
});
|
|
799
1263
|
}
|
|
800
1264
|
async consumeTurnStream(input, submission, output, signal) {
|
|
801
1265
|
let committedText = input.streamCommittedText;
|
|
@@ -812,7 +1276,7 @@ export class AgentService {
|
|
|
812
1276
|
const submittedText = messageText(event.data.message);
|
|
813
1277
|
if (event.data.runId && submittedText === input.text) {
|
|
814
1278
|
runId = event.data.runId;
|
|
815
|
-
await this.
|
|
1279
|
+
await agentRunAttach(this.executor, {
|
|
816
1280
|
runId,
|
|
817
1281
|
sessionId: input.sessionId,
|
|
818
1282
|
text: input.text,
|
|
@@ -821,6 +1285,7 @@ export class AgentService {
|
|
|
821
1285
|
}
|
|
822
1286
|
}
|
|
823
1287
|
if (runId && event.data.runId === runId) {
|
|
1288
|
+
await this.updateAgentActivity(input, event);
|
|
824
1289
|
if (event.type === "agent_event") {
|
|
825
1290
|
const nextPartial = agentLoopText(event);
|
|
826
1291
|
if (nextPartial !== undefined) {
|
|
@@ -865,7 +1330,10 @@ export class AgentService {
|
|
|
865
1330
|
await stream.task;
|
|
866
1331
|
}
|
|
867
1332
|
async publishAgentReplyHint(chatId, hint) {
|
|
868
|
-
const event = {
|
|
1333
|
+
const event = {
|
|
1334
|
+
type: "sync",
|
|
1335
|
+
...hint,
|
|
1336
|
+
};
|
|
869
1337
|
try {
|
|
870
1338
|
await Promise.all([
|
|
871
1339
|
this.pubsub.publish(realtimeTopics.server, event),
|
|
@@ -890,7 +1358,7 @@ export class AgentService {
|
|
|
890
1358
|
}
|
|
891
1359
|
async completeTurn(input, text) {
|
|
892
1360
|
await this.stopTurnStream(input);
|
|
893
|
-
const result = await this.
|
|
1361
|
+
const result = await agentTurnComplete(this.executor, {
|
|
894
1362
|
agentUserId: input.agentUserId,
|
|
895
1363
|
actorUserId: input.actorUserId,
|
|
896
1364
|
sessionId: input.sessionId,
|
|
@@ -900,15 +1368,17 @@ export class AgentService {
|
|
|
900
1368
|
});
|
|
901
1369
|
if (!result) {
|
|
902
1370
|
this.clearTypingRenewal(input.chatId, input.userMessageId);
|
|
1371
|
+
this.clearAgentActivity(input.userMessageId);
|
|
903
1372
|
return;
|
|
904
1373
|
}
|
|
905
1374
|
await this.publishAgentReplyHint(input.chatId, result.hint);
|
|
1375
|
+
await this.stopAgentActivity(input);
|
|
906
1376
|
await this.stopTyping(input);
|
|
907
1377
|
this.startDrain(input.chatId);
|
|
908
1378
|
}
|
|
909
1379
|
async failTurn(input, error) {
|
|
910
1380
|
await this.stopTurnStream(input);
|
|
911
|
-
const result = await this.
|
|
1381
|
+
const result = await agentTurnFail(this.executor, {
|
|
912
1382
|
agentUserId: input.agentUserId,
|
|
913
1383
|
actorUserId: input.actorUserId,
|
|
914
1384
|
error,
|
|
@@ -918,12 +1388,103 @@ export class AgentService {
|
|
|
918
1388
|
});
|
|
919
1389
|
if (!result) {
|
|
920
1390
|
this.clearTypingRenewal(input.chatId, input.userMessageId);
|
|
1391
|
+
this.clearAgentActivity(input.userMessageId);
|
|
921
1392
|
return;
|
|
922
1393
|
}
|
|
923
1394
|
await this.publishAgentReplyHint(input.chatId, result.hint);
|
|
1395
|
+
await this.stopAgentActivity(input);
|
|
924
1396
|
await this.stopTyping(input);
|
|
925
1397
|
this.startDrain(input.chatId);
|
|
926
1398
|
}
|
|
1399
|
+
async startAgentActivity(input) {
|
|
1400
|
+
if (this.agentActivities.has(input.userMessageId))
|
|
1401
|
+
return;
|
|
1402
|
+
let activity;
|
|
1403
|
+
const timer = setInterval(() => {
|
|
1404
|
+
if (this.agentActivities.get(input.userMessageId) !== activity)
|
|
1405
|
+
return;
|
|
1406
|
+
void this.publishAgentActivity(input, activity, true).catch(this.onError);
|
|
1407
|
+
}, AGENT_ACTIVITY_RENEW_INTERVAL_MS);
|
|
1408
|
+
timer.unref();
|
|
1409
|
+
activity = {
|
|
1410
|
+
lastOccurredAt: 0,
|
|
1411
|
+
phase: "thinking",
|
|
1412
|
+
startedAt: sqliteTimestamp(input.startedAt),
|
|
1413
|
+
timer,
|
|
1414
|
+
tokenCounts: new Map(),
|
|
1415
|
+
userMessageId: input.userMessageId,
|
|
1416
|
+
};
|
|
1417
|
+
this.agentActivities.set(input.userMessageId, activity);
|
|
1418
|
+
try {
|
|
1419
|
+
await this.publishAgentActivity(input, activity, true);
|
|
1420
|
+
}
|
|
1421
|
+
catch (error) {
|
|
1422
|
+
this.onError(error);
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
async updateAgentActivity(input, event) {
|
|
1426
|
+
const activity = this.agentActivities.get(input.userMessageId);
|
|
1427
|
+
if (!activity)
|
|
1428
|
+
return;
|
|
1429
|
+
if (event.type === "run_started" &&
|
|
1430
|
+
Number.isSafeInteger(event.createdAt) &&
|
|
1431
|
+
event.createdAt >= 0)
|
|
1432
|
+
activity.startedAt = Math.min(activity.startedAt, event.createdAt);
|
|
1433
|
+
const phase = agentActivityPhase(event);
|
|
1434
|
+
const phaseChanged = phase !== undefined && phase !== activity.phase;
|
|
1435
|
+
if (phase !== undefined)
|
|
1436
|
+
activity.phase = phase;
|
|
1437
|
+
const usage = agentEventTokenCount(event);
|
|
1438
|
+
if (usage)
|
|
1439
|
+
activity.tokenCounts.set(usage.messageId, usage.tokenCount);
|
|
1440
|
+
if (!phaseChanged)
|
|
1441
|
+
return;
|
|
1442
|
+
try {
|
|
1443
|
+
await this.publishAgentActivity(input, activity, true);
|
|
1444
|
+
}
|
|
1445
|
+
catch (error) {
|
|
1446
|
+
this.onError(error);
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
async stopAgentActivity(input) {
|
|
1450
|
+
const activity = this.agentActivities.get(input.userMessageId);
|
|
1451
|
+
this.clearAgentActivity(input.userMessageId);
|
|
1452
|
+
if (!activity)
|
|
1453
|
+
return;
|
|
1454
|
+
try {
|
|
1455
|
+
await this.publishAgentActivity(input, activity, false);
|
|
1456
|
+
}
|
|
1457
|
+
catch (error) {
|
|
1458
|
+
this.onError(error);
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
clearAgentActivity(userMessageId) {
|
|
1462
|
+
const activity = this.agentActivities.get(userMessageId);
|
|
1463
|
+
if (activity)
|
|
1464
|
+
clearInterval(activity.timer);
|
|
1465
|
+
this.agentActivities.delete(userMessageId);
|
|
1466
|
+
}
|
|
1467
|
+
publishAgentActivity(input, activity, active) {
|
|
1468
|
+
const occurredAt = Math.max(Date.now(), activity.lastOccurredAt + 1);
|
|
1469
|
+
activity.lastOccurredAt = occurredAt;
|
|
1470
|
+
const tokenCount = [...activity.tokenCounts.values()].reduce((total, count) => total + count, 0);
|
|
1471
|
+
return this.pubsub.publish(realtimeTopics.chat(input.chatId), {
|
|
1472
|
+
type: "agent.activity",
|
|
1473
|
+
chatId: input.chatId,
|
|
1474
|
+
agentUserId: input.agentUserId,
|
|
1475
|
+
turnId: input.userMessageId,
|
|
1476
|
+
active,
|
|
1477
|
+
phase: activity.phase,
|
|
1478
|
+
tokenCount,
|
|
1479
|
+
startedAt: activity.startedAt,
|
|
1480
|
+
occurredAt,
|
|
1481
|
+
...(active
|
|
1482
|
+
? {
|
|
1483
|
+
expiresAt: occurredAt + AGENT_ACTIVITY_TTL_MS,
|
|
1484
|
+
}
|
|
1485
|
+
: {}),
|
|
1486
|
+
});
|
|
1487
|
+
}
|
|
927
1488
|
async startTyping(input) {
|
|
928
1489
|
if (this.typingRenewals.has(input.chatId))
|
|
929
1490
|
return;
|
|
@@ -935,8 +1496,7 @@ export class AgentService {
|
|
|
935
1496
|
}
|
|
936
1497
|
let renewal;
|
|
937
1498
|
const timer = setInterval(() => {
|
|
938
|
-
void this.
|
|
939
|
-
.renewAgentTurnLease({
|
|
1499
|
+
void agentTurnRenewLease(this.executor, {
|
|
940
1500
|
agentUserId: input.agentUserId,
|
|
941
1501
|
userMessageId: input.userMessageId,
|
|
942
1502
|
workerId: input.workerId,
|
|
@@ -946,6 +1506,7 @@ export class AgentService {
|
|
|
946
1506
|
return;
|
|
947
1507
|
if (!renewed) {
|
|
948
1508
|
this.clearTypingRenewal(input.chatId, input.userMessageId);
|
|
1509
|
+
this.clearAgentActivity(input.userMessageId);
|
|
949
1510
|
this.turnStreams.get(input.userMessageId)?.controller.abort();
|
|
950
1511
|
return;
|
|
951
1512
|
}
|
|
@@ -954,7 +1515,10 @@ export class AgentService {
|
|
|
954
1515
|
.catch(this.onError);
|
|
955
1516
|
}, TYPING_RENEW_INTERVAL_MS);
|
|
956
1517
|
timer.unref();
|
|
957
|
-
renewal = {
|
|
1518
|
+
renewal = {
|
|
1519
|
+
timer,
|
|
1520
|
+
userMessageId: input.userMessageId,
|
|
1521
|
+
};
|
|
958
1522
|
this.typingRenewals.set(input.chatId, renewal);
|
|
959
1523
|
}
|
|
960
1524
|
async stopTyping(input) {
|
|
@@ -982,7 +1546,11 @@ export class AgentService {
|
|
|
982
1546
|
userId: input.agentUserId,
|
|
983
1547
|
active,
|
|
984
1548
|
occurredAt,
|
|
985
|
-
...(active
|
|
1549
|
+
...(active
|
|
1550
|
+
? {
|
|
1551
|
+
expiresAt: occurredAt + TYPING_TTL_MS,
|
|
1552
|
+
}
|
|
1553
|
+
: {}),
|
|
986
1554
|
});
|
|
987
1555
|
}
|
|
988
1556
|
}
|
|
@@ -1065,7 +1633,11 @@ class AgentReplyStreamOutput {
|
|
|
1065
1633
|
const expectedEventId = this.persistedEventId;
|
|
1066
1634
|
const task = this.persist({
|
|
1067
1635
|
...update,
|
|
1068
|
-
...(expectedEventId === undefined
|
|
1636
|
+
...(expectedEventId === undefined
|
|
1637
|
+
? {}
|
|
1638
|
+
: {
|
|
1639
|
+
expectedEventId,
|
|
1640
|
+
}),
|
|
1069
1641
|
})
|
|
1070
1642
|
.then(() => {
|
|
1071
1643
|
this.persistedEventId = update.eventId;
|
|
@@ -1169,7 +1741,9 @@ class AgentImageBuildOutput {
|
|
|
1169
1741
|
progress: this.progress,
|
|
1170
1742
|
...(this.lastBuildLogLine === undefined
|
|
1171
1743
|
? {}
|
|
1172
|
-
: {
|
|
1744
|
+
: {
|
|
1745
|
+
lastBuildLogLine: this.lastBuildLogLine,
|
|
1746
|
+
}),
|
|
1173
1747
|
};
|
|
1174
1748
|
this.buffer = "";
|
|
1175
1749
|
this.dirty = false;
|
|
@@ -1199,6 +1773,8 @@ class AgentImageBuildOutput {
|
|
|
1199
1773
|
}
|
|
1200
1774
|
}
|
|
1201
1775
|
function isRelevantRigEvent(event) {
|
|
1776
|
+
if (event.type === "external_tool_call_requested" && event.data.call)
|
|
1777
|
+
return true;
|
|
1202
1778
|
if (!event.data.runId)
|
|
1203
1779
|
return false;
|
|
1204
1780
|
return (event.type === "message_submitted" ||
|
|
@@ -1224,6 +1800,42 @@ function agentLoopText(event) {
|
|
|
1224
1800
|
return undefined;
|
|
1225
1801
|
return textBlocks.map((block) => block.text ?? "").join("");
|
|
1226
1802
|
}
|
|
1803
|
+
function agentActivityPhase(event) {
|
|
1804
|
+
if (event.type === "run_started")
|
|
1805
|
+
return "thinking";
|
|
1806
|
+
if (event.type === "agent_message")
|
|
1807
|
+
return messageText(event.data.message) ? "typing" : "thinking";
|
|
1808
|
+
if (event.type !== "agent_event")
|
|
1809
|
+
return undefined;
|
|
1810
|
+
const type = event.data.event?.type;
|
|
1811
|
+
if (type?.startsWith("text_"))
|
|
1812
|
+
return "typing";
|
|
1813
|
+
if (type?.startsWith("thinking_") ||
|
|
1814
|
+
type?.startsWith("toolcall_") ||
|
|
1815
|
+
type?.startsWith("tool_") ||
|
|
1816
|
+
type === "inference_iteration_start" ||
|
|
1817
|
+
type === "inference_retry" ||
|
|
1818
|
+
type === "context_compacted" ||
|
|
1819
|
+
type === "permission_review")
|
|
1820
|
+
return "thinking";
|
|
1821
|
+
return undefined;
|
|
1822
|
+
}
|
|
1823
|
+
function agentEventTokenCount(event) {
|
|
1824
|
+
const message = event.type === "agent_message"
|
|
1825
|
+
? event.data.message
|
|
1826
|
+
: event.type === "agent_event"
|
|
1827
|
+
? (event.data.event?.partial ?? event.data.event?.message ?? event.data.event?.error)
|
|
1828
|
+
: undefined;
|
|
1829
|
+
if (!message)
|
|
1830
|
+
return undefined;
|
|
1831
|
+
const tokenCount = message.usage?.totalTokens;
|
|
1832
|
+
if (typeof tokenCount !== "number" || !Number.isSafeInteger(tokenCount) || tokenCount < 0)
|
|
1833
|
+
return undefined;
|
|
1834
|
+
return {
|
|
1835
|
+
messageId: message.id ?? "active-inference",
|
|
1836
|
+
tokenCount,
|
|
1837
|
+
};
|
|
1838
|
+
}
|
|
1227
1839
|
function appendAgentText(committedText, nextText) {
|
|
1228
1840
|
if (!nextText)
|
|
1229
1841
|
return committedText;
|
|
@@ -1247,14 +1859,34 @@ function agentImageTag(definitionHash) {
|
|
|
1247
1859
|
function agentContainerName() {
|
|
1248
1860
|
return `happy2-agent-${createId()}`;
|
|
1249
1861
|
}
|
|
1250
|
-
function sandboxDirectories(root, agentUserId,
|
|
1251
|
-
const
|
|
1252
|
-
|
|
1862
|
+
function sandboxDirectories(root, agentUserId, scopeKind, scopeId, conversationId) {
|
|
1863
|
+
const scope = join(root, "agents", agentUserId, scopeKind, scopeId);
|
|
1864
|
+
const sandbox = conversationId ? join(scope, "conversations", conversationId) : scope;
|
|
1865
|
+
return {
|
|
1866
|
+
home: join(sandbox, "home"),
|
|
1867
|
+
workspace: join(sandbox, "workspace"),
|
|
1868
|
+
};
|
|
1253
1869
|
}
|
|
1254
1870
|
function agentImageBuildError(error) {
|
|
1255
|
-
const message =
|
|
1871
|
+
const message = deepestErrorMessage(error);
|
|
1256
1872
|
return message.slice(0, 16_000) || "Agent image build failed";
|
|
1257
1873
|
}
|
|
1874
|
+
function deepestErrorMessage(error, seen = new Set()) {
|
|
1875
|
+
if (error === null || error === undefined)
|
|
1876
|
+
return "";
|
|
1877
|
+
if (typeof error !== "object")
|
|
1878
|
+
return String(error);
|
|
1879
|
+
if (seen.has(error))
|
|
1880
|
+
return "";
|
|
1881
|
+
seen.add(error);
|
|
1882
|
+
const candidate = error;
|
|
1883
|
+
if (candidate.cause !== undefined) {
|
|
1884
|
+
const cause = deepestErrorMessage(candidate.cause, seen);
|
|
1885
|
+
if (cause)
|
|
1886
|
+
return cause;
|
|
1887
|
+
}
|
|
1888
|
+
return typeof candidate.message === "string" ? candidate.message : "";
|
|
1889
|
+
}
|
|
1258
1890
|
function agentTurnStreamError(error) {
|
|
1259
1891
|
const message = error instanceof Error ? error.message : String(error);
|
|
1260
1892
|
return message.slice(0, 16_000) || "Agent reply stream failed";
|
|
@@ -1277,7 +1909,9 @@ function delay(milliseconds, signal) {
|
|
|
1277
1909
|
signal.removeEventListener("abort", abort);
|
|
1278
1910
|
resolve();
|
|
1279
1911
|
}, milliseconds);
|
|
1280
|
-
signal.addEventListener("abort", abort, {
|
|
1912
|
+
signal.addEventListener("abort", abort, {
|
|
1913
|
+
once: true,
|
|
1914
|
+
});
|
|
1281
1915
|
});
|
|
1282
1916
|
}
|
|
1283
1917
|
//# sourceMappingURL=service.js.map
|