/** * The first-party primitive namespaces. * * Every provider an agent project can select is reached the same way — * `.(...)` — so the primitive is obvious at the call site * and providers can be added without growing the barrel: * * ```ts * channels.slack({ name: "Support Bot" }); * connectors.mcp({ mcpServers: { docs: { transport: "http", url: "https://docs.example.com/mcp" } } }); * defineSandbox({ defaultTimeout: 600 }); * auth.supabase({ projectRef: "abc" }); * ``` * * These are the only primitives the managed runtime will mount. A project * cannot contribute its own — `defineExtension` stays internal. */ import { mcpConnector } from "./connectors/mcp/index.js"; import { slackChannel } from "./channels/slack/index.js"; export { auth } from "./identity/index.js"; /** * Integrations: tools, HTTP routes, sandbox provisioning, inbound events, and * named messaging. Exported from `connectors/*`. * * Connector catalogs are MCP-only. Slack Events ingress lives on * {@link channels}. * * Docs live on this interface (not the value) so IDE hover on `connectors.` * stays useful — TypeScript surfaces property docs from the annotation. */ export interface Connectors { /** * Declare remote MCP servers (HTTP/SSE) whose tools load at agent-graph * construction. Stdio servers are not supported. * * @example * ```ts * export const connector = connectors.mcp({ * mcpServers: { * docs: { transport: "http", url: "https://docs.example.com/mcp" }, * }, * }); * ``` * * @see {@link mcpConnector} */ mcp: typeof mcpConnector; } /** * Integrations: tools, HTTP routes, sandbox provisioning, inbound events, and * named messaging. Exported from `connectors/*`. * * Factories are assigned by reference (same pattern as the Python namespace) so * signatures stay in step with the connector modules. Hover docs come from * {@link Connectors}. */ export declare const connectors: Connectors; /** * Inbound messaging surfaces. Exported from `channels/*`. Slack-only for now. * * Docs live on this interface so IDE hover on `channels.` stays useful. */ export interface Channels { /** * Slack ingress through Trigger Server and deploy requirements. * * Mounts public Events at `/v1/channels/{name}/events`. * * @example * ```ts * export const channel = channels.slack({ * name: "Support Bot", * description: "Answers support questions", * }); * ``` * * @see {@link slackChannel} */ slack: typeof slackChannel; } /** * Inbound messaging surfaces. Factories are assigned by reference so signatures * stay in step with the channel modules. Hover docs come from {@link Channels}. */ export declare const channels: Channels; //# sourceMappingURL=namespaces.d.ts.map