UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

22 lines (21 loc) • 893 B
/** * GitHub API integration for comments, outputs, and job summary * @module action/githubIntegration */ import type { ActionInputs, ActionExecutionResult, ActionCommentResult, ActionOutput } from "../types/index.js"; /** * Post result as comment on PR or issue */ export declare function postResultComment(inputs: ActionInputs, result: ActionExecutionResult): Promise<ActionCommentResult>; /** * Write job summary */ export declare function writeJobSummary(inputs: ActionInputs, result: ActionExecutionResult): Promise<void>; /** * Set all action outputs */ export declare function setActionOutputs(result: ActionExecutionResult, commentResult?: ActionCommentResult): void; /** * Get all outputs as typed object (snake_case to match action.yml outputs) */ export declare function getActionOutputs(result: ActionExecutionResult, commentResult?: ActionCommentResult): ActionOutput;