Skip to content

Export channel helper APIs for tool authors #351

Description

@natemcgrady

Vector is trying to reduce project-local duplication by using Eve's built-in channel helpers where possible. A few useful helpers exist internally / in generated declarations, but are not currently available from public package exports.

Requested public exports:

  • defaultInputRequestedHandler from eve/channels/slack
    • Lets apps wrap the stock Slack HITL renderer instead of copying the Block Kit rendering logic just to add small app-specific context.
  • callSlackApi and resolveSlackBotToken via eve/channels/slack or a supported eve/channels/slack/api subpath
    • Lets tools share Eve's form-encoded Slack Web API transport and token materialization outside channel event contexts.
  • callGitHubApi via eve/channels/github or a supported eve/channels/github/api subpath
    • Lets tools share Eve's REST transport instead of maintaining parallel wrappers.
  • verifyLinearRequest from eve/channels/linear
    • signLinearWebhookBody is already exported; exposing the verifier would let apps reuse Eve's webhook verification while keeping app-specific filtering and state handling.

Use case: Vector has security-specific logic that should stay custom, but the transport and default HITL rendering pieces can be delegated to Eve once these helpers are stable public APIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions