import { _ as CommitIdentity, d as GithubToolPreset, f as PRESET_TOOLS, g as GithubWriteToolName, h as GithubToolName, i as PickGithubTools, l as GITHUB_WRITE_TOOLS, m as GITHUB_TOOL_NAMES, p as PresetToolName, r as GithubToolsForPreset, t as AllGithubTools, u as CombinedPresetToolNames } from "./tool-types-BsfalcyC.mjs"; import { a as EveToolOverrides, i as EveToolFactoryOptions, n as EveApprovalValue, r as EveGithubToolsOptions, t as EveApprovalConfig } from "./types-BKXTeCqT.mjs"; import { a as resolveEveToolApproval, c as createEveGithubToolsDynamic, d as listResolvedEveToolNames, i as resolveEveApproval, l as executeGithubEveTool, n as isEveApprovalDisabled, o as buildEveToolDefinition, r as mapEveApprovalValue, s as buildEveToolMap, t as MISSING_EVE_MESSAGE, u as listEveToolDescriptors } from "./eve-runtime-BnWUzXdV.mjs"; //#region src/eve.d.ts /** * Register all GitHub tools (or a preset subset) as eve dynamic capabilities. * * Export as the default from `agent/tools/github.ts`: * * ```ts * import { createGithubTools } from '@github-tools/sdk/eve' * export default createGithubTools({ preset: 'code-review' }) * ``` * * @deprecated Use the mountable `@github-tools/eve-extension` (`githubExtension`) instead — it is now the * recommended way to add GitHub tools to an eve agent. This direct import keeps working but is no longer * the recommended path. See https://github-tools.com/frameworks/eve-extension. */ export declare function createGithubTools(options?: EveGithubToolsOptions): import("eve/tools").DynamicSentinel>>>; /** * Get information about a GitHub repository including description, stars, forks, language, and default branch. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getRepository: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List branches in a GitHub repository. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listBranches: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Get the content of a file from a GitHub repository. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getFileContent: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Create a new branch in a GitHub repository from an existing branch or commit SHA. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const createBranch: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Fork a GitHub repository to the authenticated user account or a specified organization. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const forkRepository: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Create a new GitHub repository for the authenticated user or a specified organization. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const createRepository: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Create or update a file in a GitHub repository. Provide the SHA when updating an existing file. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const createOrUpdateFile: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List pull requests for a GitHub repository. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listPullRequests: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Get detailed information about a specific pull request. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getPullRequest: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Create a new pull request in a GitHub repository. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const createPullRequest: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Merge a pull request. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const mergePullRequest: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Add a comment to a pull request. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const addPullRequestComment: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List files changed in a pull request, including diff status and patch content. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listPullRequestFiles: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List reviews on a pull request (approvals, change requests, and comments). * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listPullRequestReviews: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Submit a pull request review with optional inline comments. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const createPullRequestReview: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Fetch pull request details plus files, reviews, and optional CI checks in one call. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getPullRequestContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Fetch an issue plus available label names and recent comments in one call. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getIssueContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List issues for a GitHub repository (excludes pull requests). * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listIssues: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Get detailed information about a specific issue. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getIssue: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List comments on a GitHub issue. Prefer getIssueContext for the first page when triaging. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listIssueComments: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Create a new issue in a GitHub repository. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const createIssue: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Add a comment to a GitHub issue. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const addIssueComment: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Close an open GitHub issue. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const closeIssue: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List labels available in a GitHub repository. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listLabels: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Add labels to an issue or pull request. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const addLabels: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Remove a label from an issue or pull request. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const removeLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Create a label in a GitHub repository. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const createLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Update a label in a GitHub repository. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const updateLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Delete a label from a GitHub repository permanently. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const deleteLabel: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Search for code in GitHub repositories. Use qualifiers like "repo:owner/name" to scope the search. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const searchCode: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Search for GitHub repositories by keyword, topic, language, or other qualifiers. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const searchRepositories: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List commits for a GitHub repository. Filter by file path to see commits that touched a file. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listCommits: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Get detailed information about a specific commit, including files changed with additions and deletions. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getCommit: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Line-level git blame for a file at a commit-like ref (branch, tag, or SHA). * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getBlame: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List gists for the authenticated user or a specific user. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listGists: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Get a gist by ID, including file contents. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List comments on a gist. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listGistComments: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Create a new gist with one or more files. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const createGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Update an existing gist. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const updateGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Delete a gist permanently. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const deleteGist: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Add a comment to a gist. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const createGistComment: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List GitHub Actions workflows in a repository. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listWorkflows: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List workflow runs for a repository, optionally filtered by workflow, branch, status, or event. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listWorkflowRuns: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Get details of a specific workflow run including status, timing, and trigger info. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getWorkflowRun: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * List jobs for a workflow run, including step-level status and timing. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const listWorkflowJobs: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Trigger a workflow via workflow_dispatch event. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const triggerWorkflow: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Cancel an in-progress workflow run. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const cancelWorkflowRun: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Re-run a workflow run, optionally only the failed jobs. Requires approval by default. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const rerunWorkflowRun: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Diagnose CI failures for a ref — combined status, failing checks, and failed workflow jobs in one call. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getCiFailureContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; /** * Fetch a release plus the previous release and tag comparison in one call. * * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension` * instead. See https://github-tools.com/frameworks/eve-extension. */ export declare const getReleaseContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition; //#endregion export { type AllGithubTools, type CombinedPresetToolNames, type CommitIdentity, type EveApprovalConfig, type EveApprovalValue, type EveGithubToolsOptions, type EveToolFactoryOptions, type EveToolOverrides, GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, type GithubToolName, type GithubToolPreset, type GithubToolsForPreset, type GithubWriteToolName, MISSING_EVE_MESSAGE, PRESET_TOOLS, type PickGithubTools, type PresetToolName, buildEveToolDefinition, buildEveToolMap, createEveGithubToolsDynamic, executeGithubEveTool, isEveApprovalDisabled, listEveToolDescriptors, listResolvedEveToolNames, mapEveApprovalValue, resolveEveApproval, resolveEveToolApproval }; //# sourceMappingURL=eve.d.mts.map