|
| 1 | +// Private runtime barrel for the bundled Google Chat extension. |
| 2 | +// Keep this curated to the symbols used by production code under extensions/googlechat/src. |
| 3 | + |
| 4 | +export { |
| 5 | + createActionGate, |
| 6 | + jsonResult, |
| 7 | + readNumberParam, |
| 8 | + readReactionParams, |
| 9 | + readStringParam, |
| 10 | +} from "../../src/agents/tools/common.js"; |
| 11 | +export { |
| 12 | + createScopedAccountConfigAccessors, |
| 13 | + createScopedChannelConfigBase, |
| 14 | + createScopedDmSecurityResolver, |
| 15 | +} from "../../src/plugin-sdk/channel-config-helpers.js"; |
| 16 | +export { |
| 17 | + buildOpenGroupPolicyConfigureRouteAllowlistWarning, |
| 18 | + collectAllowlistProviderGroupPolicyWarnings, |
| 19 | + resolveMentionGatingWithBypass, |
| 20 | +} from "../../src/channels/channel-policy.js"; |
| 21 | +export { formatNormalizedAllowFromEntries } from "../../src/channels/allow-from.js"; |
| 22 | +export { buildComputedAccountStatusSnapshot } from "../../src/plugin-sdk/status-helpers.js"; |
| 23 | +export { |
| 24 | + createAccountStatusSink, |
| 25 | + runPassiveAccountLifecycle, |
| 26 | +} from "../../src/plugin-sdk/channel-lifecycle.js"; |
| 27 | +export { buildChannelConfigSchema } from "../../src/channels/plugins/config-schema.js"; |
| 28 | +export { |
| 29 | + deleteAccountFromConfigSection, |
| 30 | + setAccountEnabledInConfigSection, |
| 31 | +} from "../../src/channels/plugins/config-helpers.js"; |
| 32 | +export { |
| 33 | + listDirectoryGroupEntriesFromMapKeys, |
| 34 | + listDirectoryUserEntriesFromAllowFrom, |
| 35 | +} from "../../src/channels/plugins/directory-config-helpers.js"; |
| 36 | +export { formatPairingApproveHint } from "../../src/channels/plugins/helpers.js"; |
| 37 | +export { resolveChannelMediaMaxBytes } from "../../src/channels/plugins/media-limits.js"; |
| 38 | +export { |
| 39 | + addWildcardAllowFrom, |
| 40 | + mergeAllowFromEntries, |
| 41 | + splitSetupEntries, |
| 42 | + setTopLevelChannelDmPolicyWithAllowFrom, |
| 43 | +} from "../../src/channels/plugins/setup-wizard-helpers.js"; |
| 44 | +export { PAIRING_APPROVED_MESSAGE } from "../../src/channels/plugins/pairing-message.js"; |
| 45 | +export { |
| 46 | + applyAccountNameToChannelSection, |
| 47 | + applySetupAccountConfigPatch, |
| 48 | + migrateBaseNameToDefaultAccount, |
| 49 | +} from "../../src/channels/plugins/setup-helpers.js"; |
| 50 | +export { createAccountListHelpers } from "../../src/channels/plugins/account-helpers.js"; |
| 51 | +export type { |
| 52 | + ChannelAccountSnapshot, |
| 53 | + ChannelMessageActionAdapter, |
| 54 | + ChannelMessageActionName, |
| 55 | + ChannelStatusIssue, |
| 56 | +} from "../../src/channels/plugins/types.js"; |
| 57 | +export type { ChannelPlugin } from "../../src/channels/plugins/types.plugin.js"; |
| 58 | +export { getChatChannelMeta } from "../../src/channels/registry.js"; |
| 59 | +export { createReplyPrefixOptions } from "../../src/channels/reply-prefix.js"; |
| 60 | +export type { OpenClawConfig } from "../../src/config/config.js"; |
| 61 | +export { isDangerousNameMatchingEnabled } from "../../src/config/dangerous-name-matching.js"; |
| 62 | +export { |
| 63 | + GROUP_POLICY_BLOCKED_LABEL, |
| 64 | + resolveAllowlistProviderRuntimeGroupPolicy, |
| 65 | + resolveDefaultGroupPolicy, |
| 66 | + warnMissingProviderGroupPolicyFallbackOnce, |
| 67 | +} from "../../src/config/runtime-group-policy.js"; |
| 68 | +export type { |
| 69 | + DmPolicy, |
| 70 | + GoogleChatAccountConfig, |
| 71 | + GoogleChatConfig, |
| 72 | +} from "../../src/config/types.js"; |
| 73 | +export { isSecretRef } from "../../src/config/types.secrets.js"; |
| 74 | +export { GoogleChatConfigSchema } from "../../src/config/zod-schema.providers-core.js"; |
| 75 | +export { fetchWithSsrFGuard } from "../../src/infra/net/fetch-guard.js"; |
| 76 | +export { missingTargetError } from "../../src/infra/outbound/target-errors.js"; |
| 77 | +export { emptyPluginConfigSchema } from "../../src/plugins/config-schema.js"; |
| 78 | +export type { PluginRuntime } from "../../src/plugins/runtime/types.js"; |
| 79 | +export type { OpenClawPluginApi } from "../../src/plugins/types.js"; |
| 80 | +export { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "../../src/routing/session-key.js"; |
| 81 | +export { resolveDmGroupAccessWithLists } from "../../src/security/dm-policy-shared.js"; |
| 82 | +export { formatDocsLink } from "../../src/terminal/links.js"; |
| 83 | +export type { WizardPrompter } from "../../src/wizard/prompts.js"; |
| 84 | +export { resolveInboundRouteEnvelopeBuilderWithRuntime } from "../../src/plugin-sdk/inbound-envelope.js"; |
| 85 | +export { createScopedPairingAccess } from "../../src/plugin-sdk/pairing-access.js"; |
| 86 | +export { issuePairingChallenge } from "../../src/pairing/pairing-challenge.js"; |
| 87 | +export { |
| 88 | + evaluateGroupRouteAccessForPolicy, |
| 89 | + resolveSenderScopedGroupPolicy, |
| 90 | +} from "./src/group-access.js"; |
| 91 | +export { extractToolSend } from "../../src/plugin-sdk/tool-send.js"; |
| 92 | +export { resolveWebhookPath } from "../../src/plugin-sdk/webhook-path.js"; |
| 93 | +export type { WebhookInFlightLimiter } from "../../src/plugin-sdk/webhook-request-guards.js"; |
| 94 | +export { |
| 95 | + beginWebhookRequestPipelineOrReject, |
| 96 | + createWebhookInFlightLimiter, |
| 97 | + readJsonWebhookBodyOrReject, |
| 98 | +} from "../../src/plugin-sdk/webhook-request-guards.js"; |
| 99 | +export { |
| 100 | + registerWebhookTargetWithPluginRoute, |
| 101 | + resolveWebhookTargets, |
| 102 | + resolveWebhookTargetWithAuthOrReject, |
| 103 | + withResolvedWebhookRequestPipeline, |
| 104 | +} from "../../src/plugin-sdk/webhook-targets.js"; |
0 commit comments