UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

15 lines (14 loc) 948 B
import type { LinearAgentActivityRecord } from "#public/channels/linear/api.js"; import type { InputRequest, InputResponse } from "#runtime/input/types.js"; /** Hidden marker embedded in eve-created Linear elicitation bodies. */ export declare const LINEAR_HITL_MARKER_PREFIX = "<!-- eve-input:"; export declare const LINEAR_HITL_MARKER_SUFFIX = " -->"; /** Renders eve input requests as one Linear elicitation body. */ export declare function renderLinearInputRequests(requests: readonly InputRequest[]): string; /** Resolves a Linear user prompt against the latest eve-created elicitation marker. */ export declare function resolveLinearPromptInputResponses(input: { readonly activities: readonly LinearAgentActivityRecord[]; readonly body: string; }): readonly InputResponse[]; /** Strips eve's hidden HITL marker from a body before user-facing assertions/logging. */ export declare function stripLinearHitlMarker(body: string): string;