@shadowob/sdk 1.1.17 → 1.1.18
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/dist/bridge.d.cts +2 -2
- package/dist/bridge.d.ts +2 -2
- package/dist/index.cjs +3 -0
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +3 -0
- package/dist/{server-app-qqsBtGmE.d.cts → server-app-g8yUH9V3.d.cts} +17 -1
- package/dist/{server-app-qqsBtGmE.d.ts → server-app-g8yUH9V3.d.ts} +17 -1
- package/dist/server-app.d.cts +1 -1
- package/dist/server-app.d.ts +1 -1
- package/package.json +2 -2
package/dist/bridge.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { ca as ShadowServerAppInboxDelivery, cb as ShadowServerAppInboxDeliveryError, bL as ShadowServerAppChannelMessageDelivery, bM as ShadowServerAppChannelMessageDeliveryError, cd as ShadowServerAppInboxTarget, ce as ShadowServerAppInboxTaskOutbox } from './server-app-g8yUH9V3.cjs';
|
|
2
|
+
export { b8 as SHADOW_SERVER_APP_COMMAND_COMPLETED_EVENT, b9 as SHADOW_SERVER_APP_COMMAND_EVENTS, ba as SHADOW_SERVER_APP_COMMAND_FAILED_EVENT, bN as ShadowServerAppChannelMessageOutbox, bT as ShadowServerAppCommandEventType, c8 as ShadowServerAppHostAppRef, c9 as ShadowServerAppHostInboxTaskRequestInput, cc as ShadowServerAppInboxDeliveryFromMessageInput, cm as ShadowServerAppResolvedInboxTaskRequest, cn as ShadowServerAppResultShadow, cy as buildShadowServerAppInboxDelivery, cz as buildShadowServerAppInboxTaskRequest, cD as getShadowServerAppChannelMessageDeliveries, cE as getShadowServerAppChannelMessageErrors, cF as getShadowServerAppTaskCardId, cN as shadowServerAppInboxTaskEndpoint } from './server-app-g8yUH9V3.cjs';
|
|
3
3
|
import '@shadowob/shared';
|
|
4
4
|
|
|
5
5
|
type ShadowBridgeCommandSpec<TInput = unknown, TResult = unknown> = {
|
package/dist/bridge.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { ca as ShadowServerAppInboxDelivery, cb as ShadowServerAppInboxDeliveryError, bL as ShadowServerAppChannelMessageDelivery, bM as ShadowServerAppChannelMessageDeliveryError, cd as ShadowServerAppInboxTarget, ce as ShadowServerAppInboxTaskOutbox } from './server-app-g8yUH9V3.js';
|
|
2
|
+
export { b8 as SHADOW_SERVER_APP_COMMAND_COMPLETED_EVENT, b9 as SHADOW_SERVER_APP_COMMAND_EVENTS, ba as SHADOW_SERVER_APP_COMMAND_FAILED_EVENT, bN as ShadowServerAppChannelMessageOutbox, bT as ShadowServerAppCommandEventType, c8 as ShadowServerAppHostAppRef, c9 as ShadowServerAppHostInboxTaskRequestInput, cc as ShadowServerAppInboxDeliveryFromMessageInput, cm as ShadowServerAppResolvedInboxTaskRequest, cn as ShadowServerAppResultShadow, cy as buildShadowServerAppInboxDelivery, cz as buildShadowServerAppInboxTaskRequest, cD as getShadowServerAppChannelMessageDeliveries, cE as getShadowServerAppChannelMessageErrors, cF as getShadowServerAppTaskCardId, cN as shadowServerAppInboxTaskEndpoint } from './server-app-g8yUH9V3.js';
|
|
3
3
|
import '@shadowob/shared';
|
|
4
4
|
|
|
5
5
|
type ShadowBridgeCommandSpec<TInput = unknown, TResult = unknown> = {
|
package/dist/index.cjs
CHANGED
|
@@ -1082,6 +1082,9 @@ var ShadowClient = class {
|
|
|
1082
1082
|
async listServerApps(serverIdOrSlug) {
|
|
1083
1083
|
return this.request(`/api/servers/${serverIdOrSlug}/apps`);
|
|
1084
1084
|
}
|
|
1085
|
+
async listServerAppSummaries(serverIdOrSlug) {
|
|
1086
|
+
return this.request(`/api/servers/${serverIdOrSlug}/apps?summary=1`);
|
|
1087
|
+
}
|
|
1085
1088
|
async listServerAppCatalog(serverIdOrSlug) {
|
|
1086
1089
|
return this.request(`/api/servers/${serverIdOrSlug}/apps/catalog`);
|
|
1087
1090
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ShadowBridge, ShadowBridgeBuddyInbox, ShadowBridgeCommandMap, ShadowBridgeCommandSpec, ShadowBridgeEnqueueInboxTaskInput, ShadowBridgeOptions } from './bridge.cjs';
|
|
2
|
-
import { S as ShadowAuthResponse, a as ShadowUser, b as ShadowMembership, c as ShadowPlayLaunchResult, d as ShadowHomePlayCatalogItem, e as ShadowModelProxyModelsResponse, f as ShadowModelProxyBilling, g as ShadowModelProxyChatCompletionRequest, h as ShadowModelProxyChatCompletionResponse, i as ShadowConnectorComputer, j as ShadowConnectorBootstrapResult, k as ShadowAgentUsageSnapshotInput, l as ShadowRemoteConfig, m as ShadowSlashCommand, n as ShadowChannelSlashCommand, o as ShadowServer, p as ShadowServerAccess, q as ShadowServerAppIntegration, r as
|
|
3
|
-
export {
|
|
2
|
+
import { S as ShadowAuthResponse, a as ShadowUser, b as ShadowMembership, c as ShadowPlayLaunchResult, d as ShadowHomePlayCatalogItem, e as ShadowModelProxyModelsResponse, f as ShadowModelProxyBilling, g as ShadowModelProxyChatCompletionRequest, h as ShadowModelProxyChatCompletionResponse, i as ShadowConnectorComputer, j as ShadowConnectorBootstrapResult, k as ShadowAgentUsageSnapshotInput, l as ShadowRemoteConfig, m as ShadowSlashCommand, n as ShadowChannelSlashCommand, o as ShadowServer, p as ShadowServerAccess, q as ShadowServerAppIntegration, r as ShadowServerAppSummary, s as ShadowServerAppCatalogEntry, t as ShadowServerAppManifest, u as ShadowServerAppDiscovery, v as ShadowServerAppApprovalMode, w as ShadowServerAppCommandConsent, x as ShadowServerAppSkillDocument, y as ShadowServerAppLaunchContext, z as ShadowServerAppTokenIntrospection, A as ShadowServerJoinRequestResult, B as ShadowServerJoinRequestStatus, C as ShadowMember, D as ShadowAddAgentsToServerResult, E as ShadowChannel, F as ShadowChannelBootstrap, G as ShadowChannelAccess, H as ShadowChannelJoinRequestResult, I as ShadowChannelJoinRequestStatus, J as ShadowVoiceState, K as ShadowVoiceJoinResult, L as ShadowVoiceRenewResult, M as ShadowVoiceLeaveResult, N as ShadowVoicePolicy, O as ShadowMessageMention, P as ShadowMessage, Q as ShadowMentionSuggestionTrigger, R as ShadowMentionSuggestion, T as ShadowBuddyInboxSummary, U as ShadowEnsureBuddyInboxResult, V as ShadowBuddyInboxAdmissionPolicyResult, W as ShadowBuddyInboxAdmissionPolicy, X as ShadowBuddyInboxAdmissionPendingResult, Y as ShadowBuddyInboxAdmissionPendingActionResult, Z as ShadowInboxTaskInput, _ as ShadowMessageCard, $ as ShadowInteractiveActionInput, a0 as ShadowInteractiveActionResult, a1 as ShadowInteractiveState, a2 as ShadowThread, a3 as ShadowNotification, a4 as ShadowInviteCode, a5 as ShadowAttachment, a6 as ShadowMediaVariant, a7 as ShadowSignedMediaUrl, a8 as ShadowFriendship, a9 as ShadowScopedUnread, aa as ShadowNotificationPreferences, ab as ShadowOAuthApp, ac as ShadowOAuthToken, ad as ShadowOAuthConsent, ae as ShadowOAuthLinkCard, af as ShadowListing, ag as ShadowContract, ah as ShadowShop, ai as ShadowProduct, aj as ShadowCommerceProductContext, ak as ShadowEntitlementPurchaseResult, al as ShadowCommerceCheckoutPreview, am as ShadowCommunityAssetDefinition, an as ShadowCommerceProductPickerResponse, ao as ShadowPaidFileOpenResult, ap as ShadowCategory, aq as ShadowCartItem, ar as ShadowOrder, as as ShadowReview, at as ShadowWallet, au as ShadowTransaction, av as ShadowCommunityAsset, aw as ShadowCommunityAssetGrant, ax as ShadowEconomyTip, ay as ShadowEconomyGift, az as ShadowSettlementLine, aA as ShadowDiyCloudGenerateInput, aB as ShadowDiyCloudRunStatus, aC as ShadowDiyCloudRun, aD as ShadowDiyCloudRunEvent, aE as ShadowCloudDeploymentManifest, aF as ShadowCloudDeploymentTemplateSyncResult, aG as ShadowCloudDeploymentRuntimeResponse, aH as ShadowCloudDeploymentBackup, aI as ShadowCloudProviderCatalog, aJ as ShadowCloudProviderProfile, aK as ShadowCloudProviderModel, aL as ShadowRechargeConfig, aM as ShadowRechargeIntent, aN as ShadowRechargeHistory, aO as ShadowPaymentOrder, aP as ShadowEntitlement, aQ as ShadowOAuthCommerceEntitlementAccess, aR as ShadowOAuthCommerceEntitlementRedeemInput, aS as ShadowOAuthCommerceEntitlementRedeemResult, aT as ShadowEntitlementProvisioning, aU as ShadowTask, aV as ShadowMarketplaceProductsResponse, aW as ShadowMarketplaceCategoriesResponse, aX as ServerEventMap } from './server-app-g8yUH9V3.cjs';
|
|
3
|
+
export { aY as ChannelCreatedPayload, aZ as ChannelMemberAddedPayload, a_ as ChannelMemberRemovedPayload, a$ as ClientEventMap, b0 as JsonSchemaToType, b1 as MemberJoinPayload, b2 as MemberLeavePayload, b3 as MessageDeletedPayload, b4 as PolicyChangedPayload, b5 as PresenceActivityPayload, b6 as PresenceChangePayload, b7 as ReactionPayload, b8 as SHADOW_SERVER_APP_COMMAND_COMPLETED_EVENT, b9 as SHADOW_SERVER_APP_COMMAND_EVENTS, ba as SHADOW_SERVER_APP_COMMAND_FAILED_EVENT, bb as SHADOW_SERVER_APP_PROTOCOL, bc as ServerJoinedPayload, bd as ShadowBuddyInboxAdmissionMode, be as ShadowBuddyInboxAdmissionPendingDelivery, bf as ShadowBuddyInboxAdmissionRule, bg as ShadowBuddyInboxAdmissionSubjectKind, bh as ShadowChannelPolicy, bi as ShadowCloudDeploymentStatus, bj as ShadowCloudProviderEnvVar, bk as ShadowCommerceProductCard, bl as ShadowCommerceProductPickerGroup, bm as ShadowConnectorRuntimeInfo, bn as ShadowInteractiveBlock, bo as ShadowInteractiveResponse, bp as ShadowInteractiveSubmissionPending, bq as ShadowMarketplaceCategory, br as ShadowMarketplaceProduct, bs as ShadowMessageCardSource, bt as ShadowModelProxyModel, bu as ShadowOAuthCommerceEntitlementRedemption, bv as ShadowOAuthCommerceEntitlementSummary, bw as ShadowProductEntitlementConfig, bx as ShadowProductMedia, by as ShadowProductSku, bz as ShadowRemoteChannel, bA as ShadowRemoteServer, bB as ShadowServerAppActorProfile, bC as ShadowServerAppActorRef, bD as ShadowServerAppBridgeCommandRequest, bE as ShadowServerAppBridgeEnqueueInboxTaskRequest, bF as ShadowServerAppBridgeFailureResponse, bG as ShadowServerAppBridgeInboxesRequest, bH as ShadowServerAppBridgeRequest, bI as ShadowServerAppBridgeResponse, bJ as ShadowServerAppBridgeResponseType, bK as ShadowServerAppBridgeSuccessResponse, bL as ShadowServerAppChannelMessageDelivery, bM as ShadowServerAppChannelMessageDeliveryError, bN as ShadowServerAppChannelMessageOutbox, bO as ShadowServerAppCommand, bP as ShadowServerAppCommandApproval, bQ as ShadowServerAppCommandContext, bR as ShadowServerAppCommandEnvelope, bS as ShadowServerAppCommandError, bT as ShadowServerAppCommandEventType, bU as ShadowServerAppCommandFailureResponse, bV as ShadowServerAppCommandHandler, bW as ShadowServerAppCommandHandlerContext, bX as ShadowServerAppCommandHandlers, bY as ShadowServerAppCommandInput, bZ as ShadowServerAppCommandName, b_ as ShadowServerAppCommandParseError, b$ as ShadowServerAppCommandParseResult, c0 as ShadowServerAppCommandParseSuccess, c1 as ShadowServerAppCommandRequestInput, c2 as ShadowServerAppCommandResponse, c3 as ShadowServerAppCommandSuccessResponse, c4 as ShadowServerAppExecutionFailure, c5 as ShadowServerAppExecutionResult, c6 as ShadowServerAppExecutionSuccess, c7 as ShadowServerAppFetch, c8 as ShadowServerAppHostAppRef, c9 as ShadowServerAppHostInboxTaskRequestInput, ca as ShadowServerAppInboxDelivery, cb as ShadowServerAppInboxDeliveryError, cc as ShadowServerAppInboxDeliveryFromMessageInput, cd as ShadowServerAppInboxTarget, ce as ShadowServerAppInboxTaskOutbox, cf as ShadowServerAppInboxTaskPriority, cg as ShadowServerAppInboxTaskResource, ch as ShadowServerAppIntrospectionInput, ci as ShadowServerAppManifestOptions, cj as ShadowServerAppOutbox, ck as ShadowServerAppOutboxPayload, cl as ShadowServerAppRealtimeSpec, cm as ShadowServerAppResolvedInboxTaskRequest, cn as ShadowServerAppResultShadow, co as ShadowServerAppResultWithShadow, cp as ShadowServerAppRuntime, cq as ShadowServerAppRuntimeOptions, cr as ShadowServerAppValidationIssue, cs as ShadowUsageProviderSnapshot, ct as ShadowVoiceCredentials, cu as ShadowVoiceParticipant, cv as TypingPayload, cw as VoiceParticipantPayload, cx as VoicePolicyUpdatedPayload, cy as buildShadowServerAppInboxDelivery, cz as buildShadowServerAppInboxTaskRequest, cA as createShadowServerAppManifest, cB as defineShadowServerApp, cC as extractShadowServerAppBearerToken, cD as getShadowServerAppChannelMessageDeliveries, cE as getShadowServerAppChannelMessageErrors, cF as getShadowServerAppTaskCardId, cG as introspectShadowServerAppToken, cH as normalizeShadowServerAppCommandInput, cI as parseShadowServerAppCommandRequest, cJ as shadowServerAppActorAvatarUrl, cK as shadowServerAppActorDisplayName, cL as shadowServerAppActorRef, cM as shadowServerAppError, cN as shadowServerAppInboxTaskEndpoint, cO as validateShadowServerAppJsonSchema } from './server-app-g8yUH9V3.cjs';
|
|
4
4
|
import { Socket } from 'socket.io-client';
|
|
5
5
|
import { IRemoteAudioTrack, IRemoteVideoTrack } from 'agora-rtc-sdk-ng';
|
|
6
6
|
export { CLIENT_EVENTS, ClientEvent, SERVER_EVENTS, ServerEvent } from '@shadowob/shared';
|
|
@@ -230,6 +230,7 @@ declare class ShadowClient {
|
|
|
230
230
|
getServer(serverIdOrSlug: string): Promise<ShadowServer>;
|
|
231
231
|
getServerAccess(serverIdOrSlug: string): Promise<ShadowServerAccess>;
|
|
232
232
|
listServerApps(serverIdOrSlug: string): Promise<ShadowServerAppIntegration[]>;
|
|
233
|
+
listServerAppSummaries(serverIdOrSlug: string): Promise<ShadowServerAppSummary[]>;
|
|
233
234
|
listServerAppCatalog(serverIdOrSlug: string): Promise<ShadowServerAppCatalogEntry[]>;
|
|
234
235
|
discoverServerApp(serverIdOrSlug: string, data: {
|
|
235
236
|
manifestUrl?: string;
|
|
@@ -1537,4 +1538,4 @@ declare class ShadowVoiceConsumer {
|
|
|
1537
1538
|
private renewTokens;
|
|
1538
1539
|
}
|
|
1539
1540
|
|
|
1540
|
-
export { ServerEventMap, ShadowAddAgentsToServerResult, ShadowAgentUsageSnapshotInput, ShadowAttachment, ShadowBuddyInboxAdmissionPendingActionResult, ShadowBuddyInboxAdmissionPendingResult, ShadowBuddyInboxAdmissionPolicy, ShadowBuddyInboxAdmissionPolicyResult, ShadowBuddyInboxSummary, ShadowCartItem, ShadowCategory, ShadowChannel, ShadowChannelAccess, ShadowChannelBootstrap, ShadowChannelJoinRequestResult, ShadowChannelJoinRequestStatus, ShadowChannelSlashCommand, ShadowClient, ShadowCloudDeploymentBackup, ShadowCloudDeploymentRuntimeResponse, ShadowCloudProviderCatalog, ShadowCloudProviderModel, ShadowCloudProviderProfile, ShadowCommerceCheckoutPreview, ShadowCommerceProductContext, ShadowCommerceProductPickerResponse, ShadowCommunityAsset, ShadowCommunityAssetDefinition, ShadowCommunityAssetGrant, ShadowConnectorBootstrapResult, ShadowConnectorComputer, ShadowContract, ShadowDiyCloudRun, ShadowDiyCloudRunEvent, ShadowDiyCloudRunStatus, ShadowEnsureBuddyInboxResult, ShadowFriendship, ShadowInboxTaskInput, ShadowInteractiveActionInput, ShadowInteractiveActionResult, ShadowInteractiveState, ShadowInviteCode, ShadowListing, ShadowMarketplaceCategoriesResponse, ShadowMarketplaceProductsResponse, ShadowMediaVariant, ShadowMember, ShadowMentionSuggestion, ShadowMentionSuggestionTrigger, ShadowMessage, ShadowMessageCard, ShadowMessageMention, ShadowModelProxyBilling, ShadowModelProxyChatCompletionRequest, ShadowModelProxyChatCompletionResponse, ShadowModelProxyModelsResponse, ShadowNotification, ShadowNotificationPreferences, ShadowOAuthApp, ShadowOAuthCommerceEntitlementAccess, ShadowOAuthCommerceEntitlementRedeemInput, ShadowOAuthCommerceEntitlementRedeemResult, ShadowOAuthConsent, ShadowOAuthToken, ShadowOrder, ShadowPaidFileOpenResult, ShadowProduct, ShadowRemoteConfig, ShadowReview, ShadowServer, ShadowServerAccess, ShadowServerAppApprovalMode, ShadowServerAppCatalogEntry, ShadowServerAppCommandConsent, ShadowServerAppDiscovery, ShadowServerAppIntegration, ShadowServerAppLaunchContext, ShadowServerAppManifest, ShadowServerAppSkillDocument, ShadowServerAppTokenIntrospection, ShadowServerJoinRequestResult, ShadowServerJoinRequestStatus, ShadowSettlementLine, ShadowShop, ShadowSlashCommand, ShadowSocket, type ShadowSocketOptions, ShadowTask, ShadowThread, ShadowTransaction, ShadowUser, ShadowVoiceConsumer, type ShadowVoiceConsumerOptions, ShadowVoiceJoinResult, ShadowVoiceLeaveResult, ShadowVoicePolicy, ShadowVoiceState, ShadowWallet, channelRoom, threadRoom, userRoom };
|
|
1541
|
+
export { ServerEventMap, ShadowAddAgentsToServerResult, ShadowAgentUsageSnapshotInput, ShadowAttachment, ShadowBuddyInboxAdmissionPendingActionResult, ShadowBuddyInboxAdmissionPendingResult, ShadowBuddyInboxAdmissionPolicy, ShadowBuddyInboxAdmissionPolicyResult, ShadowBuddyInboxSummary, ShadowCartItem, ShadowCategory, ShadowChannel, ShadowChannelAccess, ShadowChannelBootstrap, ShadowChannelJoinRequestResult, ShadowChannelJoinRequestStatus, ShadowChannelSlashCommand, ShadowClient, ShadowCloudDeploymentBackup, ShadowCloudDeploymentRuntimeResponse, ShadowCloudProviderCatalog, ShadowCloudProviderModel, ShadowCloudProviderProfile, ShadowCommerceCheckoutPreview, ShadowCommerceProductContext, ShadowCommerceProductPickerResponse, ShadowCommunityAsset, ShadowCommunityAssetDefinition, ShadowCommunityAssetGrant, ShadowConnectorBootstrapResult, ShadowConnectorComputer, ShadowContract, ShadowDiyCloudRun, ShadowDiyCloudRunEvent, ShadowDiyCloudRunStatus, ShadowEnsureBuddyInboxResult, ShadowFriendship, ShadowInboxTaskInput, ShadowInteractiveActionInput, ShadowInteractiveActionResult, ShadowInteractiveState, ShadowInviteCode, ShadowListing, ShadowMarketplaceCategoriesResponse, ShadowMarketplaceProductsResponse, ShadowMediaVariant, ShadowMember, ShadowMentionSuggestion, ShadowMentionSuggestionTrigger, ShadowMessage, ShadowMessageCard, ShadowMessageMention, ShadowModelProxyBilling, ShadowModelProxyChatCompletionRequest, ShadowModelProxyChatCompletionResponse, ShadowModelProxyModelsResponse, ShadowNotification, ShadowNotificationPreferences, ShadowOAuthApp, ShadowOAuthCommerceEntitlementAccess, ShadowOAuthCommerceEntitlementRedeemInput, ShadowOAuthCommerceEntitlementRedeemResult, ShadowOAuthConsent, ShadowOAuthToken, ShadowOrder, ShadowPaidFileOpenResult, ShadowProduct, ShadowRemoteConfig, ShadowReview, ShadowServer, ShadowServerAccess, ShadowServerAppApprovalMode, ShadowServerAppCatalogEntry, ShadowServerAppCommandConsent, ShadowServerAppDiscovery, ShadowServerAppIntegration, ShadowServerAppLaunchContext, ShadowServerAppManifest, ShadowServerAppSkillDocument, ShadowServerAppSummary, ShadowServerAppTokenIntrospection, ShadowServerJoinRequestResult, ShadowServerJoinRequestStatus, ShadowSettlementLine, ShadowShop, ShadowSlashCommand, ShadowSocket, type ShadowSocketOptions, ShadowTask, ShadowThread, ShadowTransaction, ShadowUser, ShadowVoiceConsumer, type ShadowVoiceConsumerOptions, ShadowVoiceJoinResult, ShadowVoiceLeaveResult, ShadowVoicePolicy, ShadowVoiceState, ShadowWallet, channelRoom, threadRoom, userRoom };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ShadowBridge, ShadowBridgeBuddyInbox, ShadowBridgeCommandMap, ShadowBridgeCommandSpec, ShadowBridgeEnqueueInboxTaskInput, ShadowBridgeOptions } from './bridge.js';
|
|
2
|
-
import { S as ShadowAuthResponse, a as ShadowUser, b as ShadowMembership, c as ShadowPlayLaunchResult, d as ShadowHomePlayCatalogItem, e as ShadowModelProxyModelsResponse, f as ShadowModelProxyBilling, g as ShadowModelProxyChatCompletionRequest, h as ShadowModelProxyChatCompletionResponse, i as ShadowConnectorComputer, j as ShadowConnectorBootstrapResult, k as ShadowAgentUsageSnapshotInput, l as ShadowRemoteConfig, m as ShadowSlashCommand, n as ShadowChannelSlashCommand, o as ShadowServer, p as ShadowServerAccess, q as ShadowServerAppIntegration, r as
|
|
3
|
-
export {
|
|
2
|
+
import { S as ShadowAuthResponse, a as ShadowUser, b as ShadowMembership, c as ShadowPlayLaunchResult, d as ShadowHomePlayCatalogItem, e as ShadowModelProxyModelsResponse, f as ShadowModelProxyBilling, g as ShadowModelProxyChatCompletionRequest, h as ShadowModelProxyChatCompletionResponse, i as ShadowConnectorComputer, j as ShadowConnectorBootstrapResult, k as ShadowAgentUsageSnapshotInput, l as ShadowRemoteConfig, m as ShadowSlashCommand, n as ShadowChannelSlashCommand, o as ShadowServer, p as ShadowServerAccess, q as ShadowServerAppIntegration, r as ShadowServerAppSummary, s as ShadowServerAppCatalogEntry, t as ShadowServerAppManifest, u as ShadowServerAppDiscovery, v as ShadowServerAppApprovalMode, w as ShadowServerAppCommandConsent, x as ShadowServerAppSkillDocument, y as ShadowServerAppLaunchContext, z as ShadowServerAppTokenIntrospection, A as ShadowServerJoinRequestResult, B as ShadowServerJoinRequestStatus, C as ShadowMember, D as ShadowAddAgentsToServerResult, E as ShadowChannel, F as ShadowChannelBootstrap, G as ShadowChannelAccess, H as ShadowChannelJoinRequestResult, I as ShadowChannelJoinRequestStatus, J as ShadowVoiceState, K as ShadowVoiceJoinResult, L as ShadowVoiceRenewResult, M as ShadowVoiceLeaveResult, N as ShadowVoicePolicy, O as ShadowMessageMention, P as ShadowMessage, Q as ShadowMentionSuggestionTrigger, R as ShadowMentionSuggestion, T as ShadowBuddyInboxSummary, U as ShadowEnsureBuddyInboxResult, V as ShadowBuddyInboxAdmissionPolicyResult, W as ShadowBuddyInboxAdmissionPolicy, X as ShadowBuddyInboxAdmissionPendingResult, Y as ShadowBuddyInboxAdmissionPendingActionResult, Z as ShadowInboxTaskInput, _ as ShadowMessageCard, $ as ShadowInteractiveActionInput, a0 as ShadowInteractiveActionResult, a1 as ShadowInteractiveState, a2 as ShadowThread, a3 as ShadowNotification, a4 as ShadowInviteCode, a5 as ShadowAttachment, a6 as ShadowMediaVariant, a7 as ShadowSignedMediaUrl, a8 as ShadowFriendship, a9 as ShadowScopedUnread, aa as ShadowNotificationPreferences, ab as ShadowOAuthApp, ac as ShadowOAuthToken, ad as ShadowOAuthConsent, ae as ShadowOAuthLinkCard, af as ShadowListing, ag as ShadowContract, ah as ShadowShop, ai as ShadowProduct, aj as ShadowCommerceProductContext, ak as ShadowEntitlementPurchaseResult, al as ShadowCommerceCheckoutPreview, am as ShadowCommunityAssetDefinition, an as ShadowCommerceProductPickerResponse, ao as ShadowPaidFileOpenResult, ap as ShadowCategory, aq as ShadowCartItem, ar as ShadowOrder, as as ShadowReview, at as ShadowWallet, au as ShadowTransaction, av as ShadowCommunityAsset, aw as ShadowCommunityAssetGrant, ax as ShadowEconomyTip, ay as ShadowEconomyGift, az as ShadowSettlementLine, aA as ShadowDiyCloudGenerateInput, aB as ShadowDiyCloudRunStatus, aC as ShadowDiyCloudRun, aD as ShadowDiyCloudRunEvent, aE as ShadowCloudDeploymentManifest, aF as ShadowCloudDeploymentTemplateSyncResult, aG as ShadowCloudDeploymentRuntimeResponse, aH as ShadowCloudDeploymentBackup, aI as ShadowCloudProviderCatalog, aJ as ShadowCloudProviderProfile, aK as ShadowCloudProviderModel, aL as ShadowRechargeConfig, aM as ShadowRechargeIntent, aN as ShadowRechargeHistory, aO as ShadowPaymentOrder, aP as ShadowEntitlement, aQ as ShadowOAuthCommerceEntitlementAccess, aR as ShadowOAuthCommerceEntitlementRedeemInput, aS as ShadowOAuthCommerceEntitlementRedeemResult, aT as ShadowEntitlementProvisioning, aU as ShadowTask, aV as ShadowMarketplaceProductsResponse, aW as ShadowMarketplaceCategoriesResponse, aX as ServerEventMap } from './server-app-g8yUH9V3.js';
|
|
3
|
+
export { aY as ChannelCreatedPayload, aZ as ChannelMemberAddedPayload, a_ as ChannelMemberRemovedPayload, a$ as ClientEventMap, b0 as JsonSchemaToType, b1 as MemberJoinPayload, b2 as MemberLeavePayload, b3 as MessageDeletedPayload, b4 as PolicyChangedPayload, b5 as PresenceActivityPayload, b6 as PresenceChangePayload, b7 as ReactionPayload, b8 as SHADOW_SERVER_APP_COMMAND_COMPLETED_EVENT, b9 as SHADOW_SERVER_APP_COMMAND_EVENTS, ba as SHADOW_SERVER_APP_COMMAND_FAILED_EVENT, bb as SHADOW_SERVER_APP_PROTOCOL, bc as ServerJoinedPayload, bd as ShadowBuddyInboxAdmissionMode, be as ShadowBuddyInboxAdmissionPendingDelivery, bf as ShadowBuddyInboxAdmissionRule, bg as ShadowBuddyInboxAdmissionSubjectKind, bh as ShadowChannelPolicy, bi as ShadowCloudDeploymentStatus, bj as ShadowCloudProviderEnvVar, bk as ShadowCommerceProductCard, bl as ShadowCommerceProductPickerGroup, bm as ShadowConnectorRuntimeInfo, bn as ShadowInteractiveBlock, bo as ShadowInteractiveResponse, bp as ShadowInteractiveSubmissionPending, bq as ShadowMarketplaceCategory, br as ShadowMarketplaceProduct, bs as ShadowMessageCardSource, bt as ShadowModelProxyModel, bu as ShadowOAuthCommerceEntitlementRedemption, bv as ShadowOAuthCommerceEntitlementSummary, bw as ShadowProductEntitlementConfig, bx as ShadowProductMedia, by as ShadowProductSku, bz as ShadowRemoteChannel, bA as ShadowRemoteServer, bB as ShadowServerAppActorProfile, bC as ShadowServerAppActorRef, bD as ShadowServerAppBridgeCommandRequest, bE as ShadowServerAppBridgeEnqueueInboxTaskRequest, bF as ShadowServerAppBridgeFailureResponse, bG as ShadowServerAppBridgeInboxesRequest, bH as ShadowServerAppBridgeRequest, bI as ShadowServerAppBridgeResponse, bJ as ShadowServerAppBridgeResponseType, bK as ShadowServerAppBridgeSuccessResponse, bL as ShadowServerAppChannelMessageDelivery, bM as ShadowServerAppChannelMessageDeliveryError, bN as ShadowServerAppChannelMessageOutbox, bO as ShadowServerAppCommand, bP as ShadowServerAppCommandApproval, bQ as ShadowServerAppCommandContext, bR as ShadowServerAppCommandEnvelope, bS as ShadowServerAppCommandError, bT as ShadowServerAppCommandEventType, bU as ShadowServerAppCommandFailureResponse, bV as ShadowServerAppCommandHandler, bW as ShadowServerAppCommandHandlerContext, bX as ShadowServerAppCommandHandlers, bY as ShadowServerAppCommandInput, bZ as ShadowServerAppCommandName, b_ as ShadowServerAppCommandParseError, b$ as ShadowServerAppCommandParseResult, c0 as ShadowServerAppCommandParseSuccess, c1 as ShadowServerAppCommandRequestInput, c2 as ShadowServerAppCommandResponse, c3 as ShadowServerAppCommandSuccessResponse, c4 as ShadowServerAppExecutionFailure, c5 as ShadowServerAppExecutionResult, c6 as ShadowServerAppExecutionSuccess, c7 as ShadowServerAppFetch, c8 as ShadowServerAppHostAppRef, c9 as ShadowServerAppHostInboxTaskRequestInput, ca as ShadowServerAppInboxDelivery, cb as ShadowServerAppInboxDeliveryError, cc as ShadowServerAppInboxDeliveryFromMessageInput, cd as ShadowServerAppInboxTarget, ce as ShadowServerAppInboxTaskOutbox, cf as ShadowServerAppInboxTaskPriority, cg as ShadowServerAppInboxTaskResource, ch as ShadowServerAppIntrospectionInput, ci as ShadowServerAppManifestOptions, cj as ShadowServerAppOutbox, ck as ShadowServerAppOutboxPayload, cl as ShadowServerAppRealtimeSpec, cm as ShadowServerAppResolvedInboxTaskRequest, cn as ShadowServerAppResultShadow, co as ShadowServerAppResultWithShadow, cp as ShadowServerAppRuntime, cq as ShadowServerAppRuntimeOptions, cr as ShadowServerAppValidationIssue, cs as ShadowUsageProviderSnapshot, ct as ShadowVoiceCredentials, cu as ShadowVoiceParticipant, cv as TypingPayload, cw as VoiceParticipantPayload, cx as VoicePolicyUpdatedPayload, cy as buildShadowServerAppInboxDelivery, cz as buildShadowServerAppInboxTaskRequest, cA as createShadowServerAppManifest, cB as defineShadowServerApp, cC as extractShadowServerAppBearerToken, cD as getShadowServerAppChannelMessageDeliveries, cE as getShadowServerAppChannelMessageErrors, cF as getShadowServerAppTaskCardId, cG as introspectShadowServerAppToken, cH as normalizeShadowServerAppCommandInput, cI as parseShadowServerAppCommandRequest, cJ as shadowServerAppActorAvatarUrl, cK as shadowServerAppActorDisplayName, cL as shadowServerAppActorRef, cM as shadowServerAppError, cN as shadowServerAppInboxTaskEndpoint, cO as validateShadowServerAppJsonSchema } from './server-app-g8yUH9V3.js';
|
|
4
4
|
import { Socket } from 'socket.io-client';
|
|
5
5
|
import { IRemoteAudioTrack, IRemoteVideoTrack } from 'agora-rtc-sdk-ng';
|
|
6
6
|
export { CLIENT_EVENTS, ClientEvent, SERVER_EVENTS, ServerEvent } from '@shadowob/shared';
|
|
@@ -230,6 +230,7 @@ declare class ShadowClient {
|
|
|
230
230
|
getServer(serverIdOrSlug: string): Promise<ShadowServer>;
|
|
231
231
|
getServerAccess(serverIdOrSlug: string): Promise<ShadowServerAccess>;
|
|
232
232
|
listServerApps(serverIdOrSlug: string): Promise<ShadowServerAppIntegration[]>;
|
|
233
|
+
listServerAppSummaries(serverIdOrSlug: string): Promise<ShadowServerAppSummary[]>;
|
|
233
234
|
listServerAppCatalog(serverIdOrSlug: string): Promise<ShadowServerAppCatalogEntry[]>;
|
|
234
235
|
discoverServerApp(serverIdOrSlug: string, data: {
|
|
235
236
|
manifestUrl?: string;
|
|
@@ -1537,4 +1538,4 @@ declare class ShadowVoiceConsumer {
|
|
|
1537
1538
|
private renewTokens;
|
|
1538
1539
|
}
|
|
1539
1540
|
|
|
1540
|
-
export { ServerEventMap, ShadowAddAgentsToServerResult, ShadowAgentUsageSnapshotInput, ShadowAttachment, ShadowBuddyInboxAdmissionPendingActionResult, ShadowBuddyInboxAdmissionPendingResult, ShadowBuddyInboxAdmissionPolicy, ShadowBuddyInboxAdmissionPolicyResult, ShadowBuddyInboxSummary, ShadowCartItem, ShadowCategory, ShadowChannel, ShadowChannelAccess, ShadowChannelBootstrap, ShadowChannelJoinRequestResult, ShadowChannelJoinRequestStatus, ShadowChannelSlashCommand, ShadowClient, ShadowCloudDeploymentBackup, ShadowCloudDeploymentRuntimeResponse, ShadowCloudProviderCatalog, ShadowCloudProviderModel, ShadowCloudProviderProfile, ShadowCommerceCheckoutPreview, ShadowCommerceProductContext, ShadowCommerceProductPickerResponse, ShadowCommunityAsset, ShadowCommunityAssetDefinition, ShadowCommunityAssetGrant, ShadowConnectorBootstrapResult, ShadowConnectorComputer, ShadowContract, ShadowDiyCloudRun, ShadowDiyCloudRunEvent, ShadowDiyCloudRunStatus, ShadowEnsureBuddyInboxResult, ShadowFriendship, ShadowInboxTaskInput, ShadowInteractiveActionInput, ShadowInteractiveActionResult, ShadowInteractiveState, ShadowInviteCode, ShadowListing, ShadowMarketplaceCategoriesResponse, ShadowMarketplaceProductsResponse, ShadowMediaVariant, ShadowMember, ShadowMentionSuggestion, ShadowMentionSuggestionTrigger, ShadowMessage, ShadowMessageCard, ShadowMessageMention, ShadowModelProxyBilling, ShadowModelProxyChatCompletionRequest, ShadowModelProxyChatCompletionResponse, ShadowModelProxyModelsResponse, ShadowNotification, ShadowNotificationPreferences, ShadowOAuthApp, ShadowOAuthCommerceEntitlementAccess, ShadowOAuthCommerceEntitlementRedeemInput, ShadowOAuthCommerceEntitlementRedeemResult, ShadowOAuthConsent, ShadowOAuthToken, ShadowOrder, ShadowPaidFileOpenResult, ShadowProduct, ShadowRemoteConfig, ShadowReview, ShadowServer, ShadowServerAccess, ShadowServerAppApprovalMode, ShadowServerAppCatalogEntry, ShadowServerAppCommandConsent, ShadowServerAppDiscovery, ShadowServerAppIntegration, ShadowServerAppLaunchContext, ShadowServerAppManifest, ShadowServerAppSkillDocument, ShadowServerAppTokenIntrospection, ShadowServerJoinRequestResult, ShadowServerJoinRequestStatus, ShadowSettlementLine, ShadowShop, ShadowSlashCommand, ShadowSocket, type ShadowSocketOptions, ShadowTask, ShadowThread, ShadowTransaction, ShadowUser, ShadowVoiceConsumer, type ShadowVoiceConsumerOptions, ShadowVoiceJoinResult, ShadowVoiceLeaveResult, ShadowVoicePolicy, ShadowVoiceState, ShadowWallet, channelRoom, threadRoom, userRoom };
|
|
1541
|
+
export { ServerEventMap, ShadowAddAgentsToServerResult, ShadowAgentUsageSnapshotInput, ShadowAttachment, ShadowBuddyInboxAdmissionPendingActionResult, ShadowBuddyInboxAdmissionPendingResult, ShadowBuddyInboxAdmissionPolicy, ShadowBuddyInboxAdmissionPolicyResult, ShadowBuddyInboxSummary, ShadowCartItem, ShadowCategory, ShadowChannel, ShadowChannelAccess, ShadowChannelBootstrap, ShadowChannelJoinRequestResult, ShadowChannelJoinRequestStatus, ShadowChannelSlashCommand, ShadowClient, ShadowCloudDeploymentBackup, ShadowCloudDeploymentRuntimeResponse, ShadowCloudProviderCatalog, ShadowCloudProviderModel, ShadowCloudProviderProfile, ShadowCommerceCheckoutPreview, ShadowCommerceProductContext, ShadowCommerceProductPickerResponse, ShadowCommunityAsset, ShadowCommunityAssetDefinition, ShadowCommunityAssetGrant, ShadowConnectorBootstrapResult, ShadowConnectorComputer, ShadowContract, ShadowDiyCloudRun, ShadowDiyCloudRunEvent, ShadowDiyCloudRunStatus, ShadowEnsureBuddyInboxResult, ShadowFriendship, ShadowInboxTaskInput, ShadowInteractiveActionInput, ShadowInteractiveActionResult, ShadowInteractiveState, ShadowInviteCode, ShadowListing, ShadowMarketplaceCategoriesResponse, ShadowMarketplaceProductsResponse, ShadowMediaVariant, ShadowMember, ShadowMentionSuggestion, ShadowMentionSuggestionTrigger, ShadowMessage, ShadowMessageCard, ShadowMessageMention, ShadowModelProxyBilling, ShadowModelProxyChatCompletionRequest, ShadowModelProxyChatCompletionResponse, ShadowModelProxyModelsResponse, ShadowNotification, ShadowNotificationPreferences, ShadowOAuthApp, ShadowOAuthCommerceEntitlementAccess, ShadowOAuthCommerceEntitlementRedeemInput, ShadowOAuthCommerceEntitlementRedeemResult, ShadowOAuthConsent, ShadowOAuthToken, ShadowOrder, ShadowPaidFileOpenResult, ShadowProduct, ShadowRemoteConfig, ShadowReview, ShadowServer, ShadowServerAccess, ShadowServerAppApprovalMode, ShadowServerAppCatalogEntry, ShadowServerAppCommandConsent, ShadowServerAppDiscovery, ShadowServerAppIntegration, ShadowServerAppLaunchContext, ShadowServerAppManifest, ShadowServerAppSkillDocument, ShadowServerAppSummary, ShadowServerAppTokenIntrospection, ShadowServerJoinRequestResult, ShadowServerJoinRequestStatus, ShadowSettlementLine, ShadowShop, ShadowSlashCommand, ShadowSocket, type ShadowSocketOptions, ShadowTask, ShadowThread, ShadowTransaction, ShadowUser, ShadowVoiceConsumer, type ShadowVoiceConsumerOptions, ShadowVoiceJoinResult, ShadowVoiceLeaveResult, ShadowVoicePolicy, ShadowVoiceState, ShadowWallet, channelRoom, threadRoom, userRoom };
|
package/dist/index.js
CHANGED
|
@@ -367,6 +367,9 @@ var ShadowClient = class {
|
|
|
367
367
|
async listServerApps(serverIdOrSlug) {
|
|
368
368
|
return this.request(`/api/servers/${serverIdOrSlug}/apps`);
|
|
369
369
|
}
|
|
370
|
+
async listServerAppSummaries(serverIdOrSlug) {
|
|
371
|
+
return this.request(`/api/servers/${serverIdOrSlug}/apps?summary=1`);
|
|
372
|
+
}
|
|
370
373
|
async listServerAppCatalog(serverIdOrSlug) {
|
|
371
374
|
return this.request(`/api/servers/${serverIdOrSlug}/apps/catalog`);
|
|
372
375
|
}
|
|
@@ -307,6 +307,14 @@ interface ShadowServerAppIntegration {
|
|
|
307
307
|
createdAt: string;
|
|
308
308
|
updatedAt: string;
|
|
309
309
|
}
|
|
310
|
+
interface ShadowServerAppSummary {
|
|
311
|
+
id: string;
|
|
312
|
+
serverId: string;
|
|
313
|
+
appKey: string;
|
|
314
|
+
name: string;
|
|
315
|
+
iconUrl?: string | null;
|
|
316
|
+
status: string;
|
|
317
|
+
}
|
|
310
318
|
interface ShadowServerAppDiscovery {
|
|
311
319
|
manifest: ShadowServerAppManifest;
|
|
312
320
|
installed: ShadowServerAppIntegration | null;
|
|
@@ -771,6 +779,8 @@ interface ShadowChannelBootstrap {
|
|
|
771
779
|
channel: ShadowChannel;
|
|
772
780
|
server: ShadowServer | null;
|
|
773
781
|
channels: ShadowChannel[];
|
|
782
|
+
buddyInboxes?: ShadowBuddyInboxSummary[];
|
|
783
|
+
appSummaries?: ShadowServerAppSummary[];
|
|
774
784
|
members: ShadowMember[];
|
|
775
785
|
messages: {
|
|
776
786
|
messages: ShadowMessage[];
|
|
@@ -834,6 +844,10 @@ interface ShadowConnectorRuntimeInfo {
|
|
|
834
844
|
status: 'available' | 'missing';
|
|
835
845
|
version?: string | null;
|
|
836
846
|
command?: string | null;
|
|
847
|
+
iconId?: string | null;
|
|
848
|
+
installCommand?: string | null;
|
|
849
|
+
installCommands?: string[];
|
|
850
|
+
helpUrl?: string | null;
|
|
837
851
|
detectedAt?: string | null;
|
|
838
852
|
}
|
|
839
853
|
interface ShadowConnectorComputer {
|
|
@@ -1166,6 +1180,7 @@ interface ShadowEntitlement {
|
|
|
1166
1180
|
basePrice: number;
|
|
1167
1181
|
currency: string;
|
|
1168
1182
|
billingMode: 'one_time' | 'fixed_duration' | 'subscription' | string;
|
|
1183
|
+
tags?: string[];
|
|
1169
1184
|
entitlementConfig?: Record<string, unknown> | Record<string, unknown>[] | null;
|
|
1170
1185
|
} | null;
|
|
1171
1186
|
offer?: {
|
|
@@ -1407,6 +1422,7 @@ interface ShadowPaidFileOpenResult {
|
|
|
1407
1422
|
status: string;
|
|
1408
1423
|
expiresAt: string;
|
|
1409
1424
|
};
|
|
1425
|
+
grantToken?: string;
|
|
1410
1426
|
viewerUrl: string;
|
|
1411
1427
|
}
|
|
1412
1428
|
interface ShadowCategory {
|
|
@@ -2442,4 +2458,4 @@ declare function shadowServerAppActorDisplayName(envelopeOrContext: ShadowServer
|
|
|
2442
2458
|
declare function shadowServerAppActorAvatarUrl(envelopeOrContext: ShadowServerAppCommandEnvelope | ShadowServerAppCommandContext): string | null;
|
|
2443
2459
|
declare function shadowServerAppActorRef(envelopeOrContext: ShadowServerAppCommandEnvelope | ShadowServerAppCommandContext): ShadowServerAppActorRef;
|
|
2444
2460
|
|
|
2445
|
-
export { type
|
|
2461
|
+
export { type ShadowInteractiveActionInput as $, type ShadowServerJoinRequestResult as A, type ShadowServerJoinRequestStatus as B, type ShadowMember as C, type ShadowAddAgentsToServerResult as D, type ShadowChannel as E, type ShadowChannelBootstrap as F, type ShadowChannelAccess as G, type ShadowChannelJoinRequestResult as H, type ShadowChannelJoinRequestStatus as I, type ShadowVoiceState as J, type ShadowVoiceJoinResult as K, type ShadowVoiceRenewResult as L, type ShadowVoiceLeaveResult as M, type ShadowVoicePolicy as N, type ShadowMessageMention as O, type ShadowMessage as P, type ShadowMentionSuggestionTrigger as Q, type ShadowMentionSuggestion as R, type ShadowAuthResponse as S, type ShadowBuddyInboxSummary as T, type ShadowEnsureBuddyInboxResult as U, type ShadowBuddyInboxAdmissionPolicyResult as V, type ShadowBuddyInboxAdmissionPolicy as W, type ShadowBuddyInboxAdmissionPendingResult as X, type ShadowBuddyInboxAdmissionPendingActionResult as Y, type ShadowInboxTaskInput as Z, type ShadowMessageCard as _, type ShadowUser as a, type ClientEventMap as a$, type ShadowInteractiveActionResult as a0, type ShadowInteractiveState as a1, type ShadowThread as a2, type ShadowNotification as a3, type ShadowInviteCode as a4, type ShadowAttachment as a5, type ShadowMediaVariant as a6, type ShadowSignedMediaUrl as a7, type ShadowFriendship as a8, type ShadowScopedUnread as a9, type ShadowDiyCloudGenerateInput as aA, type ShadowDiyCloudRunStatus as aB, type ShadowDiyCloudRun as aC, type ShadowDiyCloudRunEvent as aD, type ShadowCloudDeploymentManifest as aE, type ShadowCloudDeploymentTemplateSyncResult as aF, type ShadowCloudDeploymentRuntimeResponse as aG, type ShadowCloudDeploymentBackup as aH, type ShadowCloudProviderCatalog as aI, type ShadowCloudProviderProfile as aJ, type ShadowCloudProviderModel as aK, type ShadowRechargeConfig as aL, type ShadowRechargeIntent as aM, type ShadowRechargeHistory as aN, type ShadowPaymentOrder as aO, type ShadowEntitlement as aP, type ShadowOAuthCommerceEntitlementAccess as aQ, type ShadowOAuthCommerceEntitlementRedeemInput as aR, type ShadowOAuthCommerceEntitlementRedeemResult as aS, type ShadowEntitlementProvisioning as aT, type ShadowTask as aU, type ShadowMarketplaceProductsResponse as aV, type ShadowMarketplaceCategoriesResponse as aW, type ServerEventMap as aX, type ChannelCreatedPayload as aY, type ChannelMemberAddedPayload as aZ, type ChannelMemberRemovedPayload as a_, type ShadowNotificationPreferences as aa, type ShadowOAuthApp as ab, type ShadowOAuthToken as ac, type ShadowOAuthConsent as ad, type ShadowOAuthLinkCard as ae, type ShadowListing as af, type ShadowContract as ag, type ShadowShop as ah, type ShadowProduct as ai, type ShadowCommerceProductContext as aj, type ShadowEntitlementPurchaseResult as ak, type ShadowCommerceCheckoutPreview as al, type ShadowCommunityAssetDefinition as am, type ShadowCommerceProductPickerResponse as an, type ShadowPaidFileOpenResult as ao, type ShadowCategory as ap, type ShadowCartItem as aq, type ShadowOrder as ar, type ShadowReview as as, type ShadowWallet as at, type ShadowTransaction as au, type ShadowCommunityAsset as av, type ShadowCommunityAssetGrant as aw, type ShadowEconomyTip as ax, type ShadowEconomyGift as ay, type ShadowSettlementLine as az, type ShadowMembership as b, type ShadowServerAppCommandParseResult as b$, type JsonSchemaToType as b0, type MemberJoinPayload as b1, type MemberLeavePayload as b2, type MessageDeletedPayload as b3, type PolicyChangedPayload as b4, type PresenceActivityPayload as b5, type PresenceChangePayload as b6, type ReactionPayload as b7, SHADOW_SERVER_APP_COMMAND_COMPLETED_EVENT as b8, SHADOW_SERVER_APP_COMMAND_EVENTS as b9, type ShadowRemoteServer as bA, type ShadowServerAppActorProfile as bB, type ShadowServerAppActorRef as bC, type ShadowServerAppBridgeCommandRequest as bD, type ShadowServerAppBridgeEnqueueInboxTaskRequest as bE, type ShadowServerAppBridgeFailureResponse as bF, type ShadowServerAppBridgeInboxesRequest as bG, type ShadowServerAppBridgeRequest as bH, type ShadowServerAppBridgeResponse as bI, type ShadowServerAppBridgeResponseType as bJ, type ShadowServerAppBridgeSuccessResponse as bK, type ShadowServerAppChannelMessageDelivery as bL, type ShadowServerAppChannelMessageDeliveryError as bM, type ShadowServerAppChannelMessageOutbox as bN, type ShadowServerAppCommand as bO, type ShadowServerAppCommandApproval as bP, type ShadowServerAppCommandContext as bQ, type ShadowServerAppCommandEnvelope as bR, ShadowServerAppCommandError as bS, type ShadowServerAppCommandEventType as bT, type ShadowServerAppCommandFailureResponse as bU, type ShadowServerAppCommandHandler as bV, type ShadowServerAppCommandHandlerContext as bW, type ShadowServerAppCommandHandlers as bX, type ShadowServerAppCommandInput as bY, type ShadowServerAppCommandName as bZ, type ShadowServerAppCommandParseError as b_, SHADOW_SERVER_APP_COMMAND_FAILED_EVENT as ba, SHADOW_SERVER_APP_PROTOCOL as bb, type ServerJoinedPayload as bc, type ShadowBuddyInboxAdmissionMode as bd, type ShadowBuddyInboxAdmissionPendingDelivery as be, type ShadowBuddyInboxAdmissionRule as bf, type ShadowBuddyInboxAdmissionSubjectKind as bg, type ShadowChannelPolicy as bh, type ShadowCloudDeploymentStatus as bi, type ShadowCloudProviderEnvVar as bj, type ShadowCommerceProductCard as bk, type ShadowCommerceProductPickerGroup as bl, type ShadowConnectorRuntimeInfo as bm, type ShadowInteractiveBlock as bn, type ShadowInteractiveResponse as bo, type ShadowInteractiveSubmissionPending as bp, type ShadowMarketplaceCategory as bq, type ShadowMarketplaceProduct as br, type ShadowMessageCardSource as bs, type ShadowModelProxyModel as bt, type ShadowOAuthCommerceEntitlementRedemption as bu, type ShadowOAuthCommerceEntitlementSummary as bv, type ShadowProductEntitlementConfig as bw, type ShadowProductMedia as bx, type ShadowProductSku as by, type ShadowRemoteChannel as bz, type ShadowPlayLaunchResult as c, type ShadowServerAppCommandParseSuccess as c0, type ShadowServerAppCommandRequestInput as c1, type ShadowServerAppCommandResponse as c2, type ShadowServerAppCommandSuccessResponse as c3, type ShadowServerAppExecutionFailure as c4, type ShadowServerAppExecutionResult as c5, type ShadowServerAppExecutionSuccess as c6, type ShadowServerAppFetch as c7, type ShadowServerAppHostAppRef as c8, type ShadowServerAppHostInboxTaskRequestInput as c9, createShadowServerAppManifest as cA, defineShadowServerApp as cB, extractShadowServerAppBearerToken as cC, getShadowServerAppChannelMessageDeliveries as cD, getShadowServerAppChannelMessageErrors as cE, getShadowServerAppTaskCardId as cF, introspectShadowServerAppToken as cG, normalizeShadowServerAppCommandInput as cH, parseShadowServerAppCommandRequest as cI, shadowServerAppActorAvatarUrl as cJ, shadowServerAppActorDisplayName as cK, shadowServerAppActorRef as cL, shadowServerAppError as cM, shadowServerAppInboxTaskEndpoint as cN, validateShadowServerAppJsonSchema as cO, type ShadowServerAppCommandRuntimeRequest as cP, getShadowServerAppInboxDeliveries as cQ, getShadowServerAppInboxErrors as cR, unwrapShadowServerAppCommandPayload as cS, type ShadowServerAppInboxDelivery as ca, type ShadowServerAppInboxDeliveryError as cb, type ShadowServerAppInboxDeliveryFromMessageInput as cc, type ShadowServerAppInboxTarget as cd, type ShadowServerAppInboxTaskOutbox as ce, type ShadowServerAppInboxTaskPriority as cf, type ShadowServerAppInboxTaskResource as cg, type ShadowServerAppIntrospectionInput as ch, type ShadowServerAppManifestOptions as ci, ShadowServerAppOutbox as cj, type ShadowServerAppOutboxPayload as ck, type ShadowServerAppRealtimeSpec as cl, type ShadowServerAppResolvedInboxTaskRequest as cm, type ShadowServerAppResultShadow as cn, type ShadowServerAppResultWithShadow as co, ShadowServerAppRuntime as cp, type ShadowServerAppRuntimeOptions as cq, type ShadowServerAppValidationIssue as cr, type ShadowUsageProviderSnapshot as cs, type ShadowVoiceCredentials as ct, type ShadowVoiceParticipant as cu, type TypingPayload as cv, type VoiceParticipantPayload as cw, type VoicePolicyUpdatedPayload as cx, buildShadowServerAppInboxDelivery as cy, buildShadowServerAppInboxTaskRequest as cz, type ShadowHomePlayCatalogItem as d, type ShadowModelProxyModelsResponse as e, type ShadowModelProxyBilling as f, type ShadowModelProxyChatCompletionRequest as g, type ShadowModelProxyChatCompletionResponse as h, type ShadowConnectorComputer as i, type ShadowConnectorBootstrapResult as j, type ShadowAgentUsageSnapshotInput as k, type ShadowRemoteConfig as l, type ShadowSlashCommand as m, type ShadowChannelSlashCommand as n, type ShadowServer as o, type ShadowServerAccess as p, type ShadowServerAppIntegration as q, type ShadowServerAppSummary as r, type ShadowServerAppCatalogEntry as s, type ShadowServerAppManifest as t, type ShadowServerAppDiscovery as u, type ShadowServerAppApprovalMode as v, type ShadowServerAppCommandConsent as w, type ShadowServerAppSkillDocument as x, type ShadowServerAppLaunchContext as y, type ShadowServerAppTokenIntrospection as z };
|
|
@@ -307,6 +307,14 @@ interface ShadowServerAppIntegration {
|
|
|
307
307
|
createdAt: string;
|
|
308
308
|
updatedAt: string;
|
|
309
309
|
}
|
|
310
|
+
interface ShadowServerAppSummary {
|
|
311
|
+
id: string;
|
|
312
|
+
serverId: string;
|
|
313
|
+
appKey: string;
|
|
314
|
+
name: string;
|
|
315
|
+
iconUrl?: string | null;
|
|
316
|
+
status: string;
|
|
317
|
+
}
|
|
310
318
|
interface ShadowServerAppDiscovery {
|
|
311
319
|
manifest: ShadowServerAppManifest;
|
|
312
320
|
installed: ShadowServerAppIntegration | null;
|
|
@@ -771,6 +779,8 @@ interface ShadowChannelBootstrap {
|
|
|
771
779
|
channel: ShadowChannel;
|
|
772
780
|
server: ShadowServer | null;
|
|
773
781
|
channels: ShadowChannel[];
|
|
782
|
+
buddyInboxes?: ShadowBuddyInboxSummary[];
|
|
783
|
+
appSummaries?: ShadowServerAppSummary[];
|
|
774
784
|
members: ShadowMember[];
|
|
775
785
|
messages: {
|
|
776
786
|
messages: ShadowMessage[];
|
|
@@ -834,6 +844,10 @@ interface ShadowConnectorRuntimeInfo {
|
|
|
834
844
|
status: 'available' | 'missing';
|
|
835
845
|
version?: string | null;
|
|
836
846
|
command?: string | null;
|
|
847
|
+
iconId?: string | null;
|
|
848
|
+
installCommand?: string | null;
|
|
849
|
+
installCommands?: string[];
|
|
850
|
+
helpUrl?: string | null;
|
|
837
851
|
detectedAt?: string | null;
|
|
838
852
|
}
|
|
839
853
|
interface ShadowConnectorComputer {
|
|
@@ -1166,6 +1180,7 @@ interface ShadowEntitlement {
|
|
|
1166
1180
|
basePrice: number;
|
|
1167
1181
|
currency: string;
|
|
1168
1182
|
billingMode: 'one_time' | 'fixed_duration' | 'subscription' | string;
|
|
1183
|
+
tags?: string[];
|
|
1169
1184
|
entitlementConfig?: Record<string, unknown> | Record<string, unknown>[] | null;
|
|
1170
1185
|
} | null;
|
|
1171
1186
|
offer?: {
|
|
@@ -1407,6 +1422,7 @@ interface ShadowPaidFileOpenResult {
|
|
|
1407
1422
|
status: string;
|
|
1408
1423
|
expiresAt: string;
|
|
1409
1424
|
};
|
|
1425
|
+
grantToken?: string;
|
|
1410
1426
|
viewerUrl: string;
|
|
1411
1427
|
}
|
|
1412
1428
|
interface ShadowCategory {
|
|
@@ -2442,4 +2458,4 @@ declare function shadowServerAppActorDisplayName(envelopeOrContext: ShadowServer
|
|
|
2442
2458
|
declare function shadowServerAppActorAvatarUrl(envelopeOrContext: ShadowServerAppCommandEnvelope | ShadowServerAppCommandContext): string | null;
|
|
2443
2459
|
declare function shadowServerAppActorRef(envelopeOrContext: ShadowServerAppCommandEnvelope | ShadowServerAppCommandContext): ShadowServerAppActorRef;
|
|
2444
2460
|
|
|
2445
|
-
export { type
|
|
2461
|
+
export { type ShadowInteractiveActionInput as $, type ShadowServerJoinRequestResult as A, type ShadowServerJoinRequestStatus as B, type ShadowMember as C, type ShadowAddAgentsToServerResult as D, type ShadowChannel as E, type ShadowChannelBootstrap as F, type ShadowChannelAccess as G, type ShadowChannelJoinRequestResult as H, type ShadowChannelJoinRequestStatus as I, type ShadowVoiceState as J, type ShadowVoiceJoinResult as K, type ShadowVoiceRenewResult as L, type ShadowVoiceLeaveResult as M, type ShadowVoicePolicy as N, type ShadowMessageMention as O, type ShadowMessage as P, type ShadowMentionSuggestionTrigger as Q, type ShadowMentionSuggestion as R, type ShadowAuthResponse as S, type ShadowBuddyInboxSummary as T, type ShadowEnsureBuddyInboxResult as U, type ShadowBuddyInboxAdmissionPolicyResult as V, type ShadowBuddyInboxAdmissionPolicy as W, type ShadowBuddyInboxAdmissionPendingResult as X, type ShadowBuddyInboxAdmissionPendingActionResult as Y, type ShadowInboxTaskInput as Z, type ShadowMessageCard as _, type ShadowUser as a, type ClientEventMap as a$, type ShadowInteractiveActionResult as a0, type ShadowInteractiveState as a1, type ShadowThread as a2, type ShadowNotification as a3, type ShadowInviteCode as a4, type ShadowAttachment as a5, type ShadowMediaVariant as a6, type ShadowSignedMediaUrl as a7, type ShadowFriendship as a8, type ShadowScopedUnread as a9, type ShadowDiyCloudGenerateInput as aA, type ShadowDiyCloudRunStatus as aB, type ShadowDiyCloudRun as aC, type ShadowDiyCloudRunEvent as aD, type ShadowCloudDeploymentManifest as aE, type ShadowCloudDeploymentTemplateSyncResult as aF, type ShadowCloudDeploymentRuntimeResponse as aG, type ShadowCloudDeploymentBackup as aH, type ShadowCloudProviderCatalog as aI, type ShadowCloudProviderProfile as aJ, type ShadowCloudProviderModel as aK, type ShadowRechargeConfig as aL, type ShadowRechargeIntent as aM, type ShadowRechargeHistory as aN, type ShadowPaymentOrder as aO, type ShadowEntitlement as aP, type ShadowOAuthCommerceEntitlementAccess as aQ, type ShadowOAuthCommerceEntitlementRedeemInput as aR, type ShadowOAuthCommerceEntitlementRedeemResult as aS, type ShadowEntitlementProvisioning as aT, type ShadowTask as aU, type ShadowMarketplaceProductsResponse as aV, type ShadowMarketplaceCategoriesResponse as aW, type ServerEventMap as aX, type ChannelCreatedPayload as aY, type ChannelMemberAddedPayload as aZ, type ChannelMemberRemovedPayload as a_, type ShadowNotificationPreferences as aa, type ShadowOAuthApp as ab, type ShadowOAuthToken as ac, type ShadowOAuthConsent as ad, type ShadowOAuthLinkCard as ae, type ShadowListing as af, type ShadowContract as ag, type ShadowShop as ah, type ShadowProduct as ai, type ShadowCommerceProductContext as aj, type ShadowEntitlementPurchaseResult as ak, type ShadowCommerceCheckoutPreview as al, type ShadowCommunityAssetDefinition as am, type ShadowCommerceProductPickerResponse as an, type ShadowPaidFileOpenResult as ao, type ShadowCategory as ap, type ShadowCartItem as aq, type ShadowOrder as ar, type ShadowReview as as, type ShadowWallet as at, type ShadowTransaction as au, type ShadowCommunityAsset as av, type ShadowCommunityAssetGrant as aw, type ShadowEconomyTip as ax, type ShadowEconomyGift as ay, type ShadowSettlementLine as az, type ShadowMembership as b, type ShadowServerAppCommandParseResult as b$, type JsonSchemaToType as b0, type MemberJoinPayload as b1, type MemberLeavePayload as b2, type MessageDeletedPayload as b3, type PolicyChangedPayload as b4, type PresenceActivityPayload as b5, type PresenceChangePayload as b6, type ReactionPayload as b7, SHADOW_SERVER_APP_COMMAND_COMPLETED_EVENT as b8, SHADOW_SERVER_APP_COMMAND_EVENTS as b9, type ShadowRemoteServer as bA, type ShadowServerAppActorProfile as bB, type ShadowServerAppActorRef as bC, type ShadowServerAppBridgeCommandRequest as bD, type ShadowServerAppBridgeEnqueueInboxTaskRequest as bE, type ShadowServerAppBridgeFailureResponse as bF, type ShadowServerAppBridgeInboxesRequest as bG, type ShadowServerAppBridgeRequest as bH, type ShadowServerAppBridgeResponse as bI, type ShadowServerAppBridgeResponseType as bJ, type ShadowServerAppBridgeSuccessResponse as bK, type ShadowServerAppChannelMessageDelivery as bL, type ShadowServerAppChannelMessageDeliveryError as bM, type ShadowServerAppChannelMessageOutbox as bN, type ShadowServerAppCommand as bO, type ShadowServerAppCommandApproval as bP, type ShadowServerAppCommandContext as bQ, type ShadowServerAppCommandEnvelope as bR, ShadowServerAppCommandError as bS, type ShadowServerAppCommandEventType as bT, type ShadowServerAppCommandFailureResponse as bU, type ShadowServerAppCommandHandler as bV, type ShadowServerAppCommandHandlerContext as bW, type ShadowServerAppCommandHandlers as bX, type ShadowServerAppCommandInput as bY, type ShadowServerAppCommandName as bZ, type ShadowServerAppCommandParseError as b_, SHADOW_SERVER_APP_COMMAND_FAILED_EVENT as ba, SHADOW_SERVER_APP_PROTOCOL as bb, type ServerJoinedPayload as bc, type ShadowBuddyInboxAdmissionMode as bd, type ShadowBuddyInboxAdmissionPendingDelivery as be, type ShadowBuddyInboxAdmissionRule as bf, type ShadowBuddyInboxAdmissionSubjectKind as bg, type ShadowChannelPolicy as bh, type ShadowCloudDeploymentStatus as bi, type ShadowCloudProviderEnvVar as bj, type ShadowCommerceProductCard as bk, type ShadowCommerceProductPickerGroup as bl, type ShadowConnectorRuntimeInfo as bm, type ShadowInteractiveBlock as bn, type ShadowInteractiveResponse as bo, type ShadowInteractiveSubmissionPending as bp, type ShadowMarketplaceCategory as bq, type ShadowMarketplaceProduct as br, type ShadowMessageCardSource as bs, type ShadowModelProxyModel as bt, type ShadowOAuthCommerceEntitlementRedemption as bu, type ShadowOAuthCommerceEntitlementSummary as bv, type ShadowProductEntitlementConfig as bw, type ShadowProductMedia as bx, type ShadowProductSku as by, type ShadowRemoteChannel as bz, type ShadowPlayLaunchResult as c, type ShadowServerAppCommandParseSuccess as c0, type ShadowServerAppCommandRequestInput as c1, type ShadowServerAppCommandResponse as c2, type ShadowServerAppCommandSuccessResponse as c3, type ShadowServerAppExecutionFailure as c4, type ShadowServerAppExecutionResult as c5, type ShadowServerAppExecutionSuccess as c6, type ShadowServerAppFetch as c7, type ShadowServerAppHostAppRef as c8, type ShadowServerAppHostInboxTaskRequestInput as c9, createShadowServerAppManifest as cA, defineShadowServerApp as cB, extractShadowServerAppBearerToken as cC, getShadowServerAppChannelMessageDeliveries as cD, getShadowServerAppChannelMessageErrors as cE, getShadowServerAppTaskCardId as cF, introspectShadowServerAppToken as cG, normalizeShadowServerAppCommandInput as cH, parseShadowServerAppCommandRequest as cI, shadowServerAppActorAvatarUrl as cJ, shadowServerAppActorDisplayName as cK, shadowServerAppActorRef as cL, shadowServerAppError as cM, shadowServerAppInboxTaskEndpoint as cN, validateShadowServerAppJsonSchema as cO, type ShadowServerAppCommandRuntimeRequest as cP, getShadowServerAppInboxDeliveries as cQ, getShadowServerAppInboxErrors as cR, unwrapShadowServerAppCommandPayload as cS, type ShadowServerAppInboxDelivery as ca, type ShadowServerAppInboxDeliveryError as cb, type ShadowServerAppInboxDeliveryFromMessageInput as cc, type ShadowServerAppInboxTarget as cd, type ShadowServerAppInboxTaskOutbox as ce, type ShadowServerAppInboxTaskPriority as cf, type ShadowServerAppInboxTaskResource as cg, type ShadowServerAppIntrospectionInput as ch, type ShadowServerAppManifestOptions as ci, ShadowServerAppOutbox as cj, type ShadowServerAppOutboxPayload as ck, type ShadowServerAppRealtimeSpec as cl, type ShadowServerAppResolvedInboxTaskRequest as cm, type ShadowServerAppResultShadow as cn, type ShadowServerAppResultWithShadow as co, ShadowServerAppRuntime as cp, type ShadowServerAppRuntimeOptions as cq, type ShadowServerAppValidationIssue as cr, type ShadowUsageProviderSnapshot as cs, type ShadowVoiceCredentials as ct, type ShadowVoiceParticipant as cu, type TypingPayload as cv, type VoiceParticipantPayload as cw, type VoicePolicyUpdatedPayload as cx, buildShadowServerAppInboxDelivery as cy, buildShadowServerAppInboxTaskRequest as cz, type ShadowHomePlayCatalogItem as d, type ShadowModelProxyModelsResponse as e, type ShadowModelProxyBilling as f, type ShadowModelProxyChatCompletionRequest as g, type ShadowModelProxyChatCompletionResponse as h, type ShadowConnectorComputer as i, type ShadowConnectorBootstrapResult as j, type ShadowAgentUsageSnapshotInput as k, type ShadowRemoteConfig as l, type ShadowSlashCommand as m, type ShadowChannelSlashCommand as n, type ShadowServer as o, type ShadowServerAccess as p, type ShadowServerAppIntegration as q, type ShadowServerAppSummary as r, type ShadowServerAppCatalogEntry as s, type ShadowServerAppManifest as t, type ShadowServerAppDiscovery as u, type ShadowServerAppApprovalMode as v, type ShadowServerAppCommandConsent as w, type ShadowServerAppSkillDocument as x, type ShadowServerAppLaunchContext as y, type ShadowServerAppTokenIntrospection as z };
|
package/dist/server-app.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b0 as JsonSchemaToType, b8 as SHADOW_SERVER_APP_COMMAND_COMPLETED_EVENT, b9 as SHADOW_SERVER_APP_COMMAND_EVENTS, ba as SHADOW_SERVER_APP_COMMAND_FAILED_EVENT, bb as SHADOW_SERVER_APP_PROTOCOL, bC as ShadowServerAppActorRef, bD as ShadowServerAppBridgeCommandRequest, bE as ShadowServerAppBridgeEnqueueInboxTaskRequest, bF as ShadowServerAppBridgeFailureResponse, bG as ShadowServerAppBridgeInboxesRequest, bH as ShadowServerAppBridgeRequest, bI as ShadowServerAppBridgeResponse, bJ as ShadowServerAppBridgeResponseType, bK as ShadowServerAppBridgeSuccessResponse, bL as ShadowServerAppChannelMessageDelivery, bM as ShadowServerAppChannelMessageDeliveryError, bN as ShadowServerAppChannelMessageOutbox, bQ as ShadowServerAppCommandContext, bR as ShadowServerAppCommandEnvelope, bS as ShadowServerAppCommandError, bT as ShadowServerAppCommandEventType, bU as ShadowServerAppCommandFailureResponse, bV as ShadowServerAppCommandHandler, bW as ShadowServerAppCommandHandlerContext, bX as ShadowServerAppCommandHandlers, bY as ShadowServerAppCommandInput, bZ as ShadowServerAppCommandName, b_ as ShadowServerAppCommandParseError, b$ as ShadowServerAppCommandParseResult, c0 as ShadowServerAppCommandParseSuccess, c1 as ShadowServerAppCommandRequestInput, c2 as ShadowServerAppCommandResponse, cP as ShadowServerAppCommandRuntimeRequest, c3 as ShadowServerAppCommandSuccessResponse, c4 as ShadowServerAppExecutionFailure, c5 as ShadowServerAppExecutionResult, c6 as ShadowServerAppExecutionSuccess, c7 as ShadowServerAppFetch, c8 as ShadowServerAppHostAppRef, c9 as ShadowServerAppHostInboxTaskRequestInput, ca as ShadowServerAppInboxDelivery, cb as ShadowServerAppInboxDeliveryError, cc as ShadowServerAppInboxDeliveryFromMessageInput, cd as ShadowServerAppInboxTarget, ce as ShadowServerAppInboxTaskOutbox, cf as ShadowServerAppInboxTaskPriority, cg as ShadowServerAppInboxTaskResource, ch as ShadowServerAppIntrospectionInput, ci as ShadowServerAppManifestOptions, cj as ShadowServerAppOutbox, ck as ShadowServerAppOutboxPayload, cm as ShadowServerAppResolvedInboxTaskRequest, cn as ShadowServerAppResultShadow, co as ShadowServerAppResultWithShadow, cp as ShadowServerAppRuntime, cq as ShadowServerAppRuntimeOptions, cr as ShadowServerAppValidationIssue, cy as buildShadowServerAppInboxDelivery, cz as buildShadowServerAppInboxTaskRequest, cA as createShadowServerAppManifest, cB as defineShadowServerApp, cC as extractShadowServerAppBearerToken, cD as getShadowServerAppChannelMessageDeliveries, cE as getShadowServerAppChannelMessageErrors, cQ as getShadowServerAppInboxDeliveries, cR as getShadowServerAppInboxErrors, cF as getShadowServerAppTaskCardId, cG as introspectShadowServerAppToken, cH as normalizeShadowServerAppCommandInput, cI as parseShadowServerAppCommandRequest, cJ as shadowServerAppActorAvatarUrl, cK as shadowServerAppActorDisplayName, cL as shadowServerAppActorRef, cM as shadowServerAppError, cN as shadowServerAppInboxTaskEndpoint, cS as unwrapShadowServerAppCommandPayload, cO as validateShadowServerAppJsonSchema } from './server-app-g8yUH9V3.cjs';
|
|
2
2
|
import '@shadowob/shared';
|
package/dist/server-app.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b0 as JsonSchemaToType, b8 as SHADOW_SERVER_APP_COMMAND_COMPLETED_EVENT, b9 as SHADOW_SERVER_APP_COMMAND_EVENTS, ba as SHADOW_SERVER_APP_COMMAND_FAILED_EVENT, bb as SHADOW_SERVER_APP_PROTOCOL, bC as ShadowServerAppActorRef, bD as ShadowServerAppBridgeCommandRequest, bE as ShadowServerAppBridgeEnqueueInboxTaskRequest, bF as ShadowServerAppBridgeFailureResponse, bG as ShadowServerAppBridgeInboxesRequest, bH as ShadowServerAppBridgeRequest, bI as ShadowServerAppBridgeResponse, bJ as ShadowServerAppBridgeResponseType, bK as ShadowServerAppBridgeSuccessResponse, bL as ShadowServerAppChannelMessageDelivery, bM as ShadowServerAppChannelMessageDeliveryError, bN as ShadowServerAppChannelMessageOutbox, bQ as ShadowServerAppCommandContext, bR as ShadowServerAppCommandEnvelope, bS as ShadowServerAppCommandError, bT as ShadowServerAppCommandEventType, bU as ShadowServerAppCommandFailureResponse, bV as ShadowServerAppCommandHandler, bW as ShadowServerAppCommandHandlerContext, bX as ShadowServerAppCommandHandlers, bY as ShadowServerAppCommandInput, bZ as ShadowServerAppCommandName, b_ as ShadowServerAppCommandParseError, b$ as ShadowServerAppCommandParseResult, c0 as ShadowServerAppCommandParseSuccess, c1 as ShadowServerAppCommandRequestInput, c2 as ShadowServerAppCommandResponse, cP as ShadowServerAppCommandRuntimeRequest, c3 as ShadowServerAppCommandSuccessResponse, c4 as ShadowServerAppExecutionFailure, c5 as ShadowServerAppExecutionResult, c6 as ShadowServerAppExecutionSuccess, c7 as ShadowServerAppFetch, c8 as ShadowServerAppHostAppRef, c9 as ShadowServerAppHostInboxTaskRequestInput, ca as ShadowServerAppInboxDelivery, cb as ShadowServerAppInboxDeliveryError, cc as ShadowServerAppInboxDeliveryFromMessageInput, cd as ShadowServerAppInboxTarget, ce as ShadowServerAppInboxTaskOutbox, cf as ShadowServerAppInboxTaskPriority, cg as ShadowServerAppInboxTaskResource, ch as ShadowServerAppIntrospectionInput, ci as ShadowServerAppManifestOptions, cj as ShadowServerAppOutbox, ck as ShadowServerAppOutboxPayload, cm as ShadowServerAppResolvedInboxTaskRequest, cn as ShadowServerAppResultShadow, co as ShadowServerAppResultWithShadow, cp as ShadowServerAppRuntime, cq as ShadowServerAppRuntimeOptions, cr as ShadowServerAppValidationIssue, cy as buildShadowServerAppInboxDelivery, cz as buildShadowServerAppInboxTaskRequest, cA as createShadowServerAppManifest, cB as defineShadowServerApp, cC as extractShadowServerAppBearerToken, cD as getShadowServerAppChannelMessageDeliveries, cE as getShadowServerAppChannelMessageErrors, cQ as getShadowServerAppInboxDeliveries, cR as getShadowServerAppInboxErrors, cF as getShadowServerAppTaskCardId, cG as introspectShadowServerAppToken, cH as normalizeShadowServerAppCommandInput, cI as parseShadowServerAppCommandRequest, cJ as shadowServerAppActorAvatarUrl, cK as shadowServerAppActorDisplayName, cL as shadowServerAppActorRef, cM as shadowServerAppError, cN as shadowServerAppInboxTaskEndpoint, cS as unwrapShadowServerAppCommandPayload, cO as validateShadowServerAppJsonSchema } from './server-app-g8yUH9V3.js';
|
|
2
2
|
import '@shadowob/shared';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shadowob/sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"description": "Shadow SDK — typed REST client and real-time Socket.IO event listener for Shadow servers",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"socket.io-client": "^4.8.1",
|
|
51
|
-
"@shadowob/shared": "1.1.
|
|
51
|
+
"@shadowob/shared": "1.1.18"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"agora-rtc-sdk-ng": "^4.24.3"
|