@github-tools/sdk 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -27
- package/dist/connect/eve.d.mts +14 -9
- package/dist/connect/eve.d.mts.map +1 -1
- package/dist/connect/eve.mjs +14 -9
- package/dist/connect/eve.mjs.map +1 -1
- package/dist/connect.d.mts +16 -8
- package/dist/connect.d.mts.map +1 -1
- package/dist/connect.mjs +2 -2
- package/dist/eve-runtime-CI4dR_hI.d.mts +54 -0
- package/dist/eve-runtime-CI4dR_hI.d.mts.map +1 -0
- package/dist/eve-runtime-CIcrt7MD.mjs +674 -0
- package/dist/eve-runtime-CIcrt7MD.mjs.map +1 -0
- package/dist/eve-runtime.d.mts +4 -0
- package/dist/eve-runtime.mjs +3 -0
- package/dist/eve.d.mts +5 -34
- package/dist/eve.d.mts.map +1 -1
- package/dist/eve.mjs +356 -3
- package/dist/eve.mjs.map +1 -0
- package/dist/{index-CtID5dUi.d.mts → index-B0nL0C00.d.mts} +159 -19
- package/dist/index-B0nL0C00.d.mts.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/{src-D6vC3V8r.mjs → src-v-LjzPpR.mjs} +354 -68
- package/dist/src-v-LjzPpR.mjs.map +1 -0
- package/dist/{token-sbepWIkd.mjs → token-DDMlEkK-.mjs} +34 -5
- package/dist/token-DDMlEkK-.mjs.map +1 -0
- package/dist/{types-BVLof-5R.d.mts → types-VW0m0Uxl.d.mts} +3 -3
- package/dist/{types-BVLof-5R.d.mts.map → types-VW0m0Uxl.d.mts.map} +1 -1
- package/dist/{types-BOnJ0Rou.d.mts → types-Ygt1pw1N.d.mts} +4 -3
- package/dist/types-Ygt1pw1N.d.mts.map +1 -0
- package/dist/workflow.d.mts +1 -1
- package/dist/workflow.mjs +2 -2
- package/dist/{write-tools-cg_ialNd.mjs → write-tools-uIVfURVp.mjs} +792 -25
- package/dist/write-tools-uIVfURVp.mjs.map +1 -0
- package/package.json +5 -1
- package/dist/eve-DmiXBuli.mjs +0 -864
- package/dist/eve-DmiXBuli.mjs.map +0 -1
- package/dist/index-CtID5dUi.d.mts.map +0 -1
- package/dist/src-D6vC3V8r.mjs.map +0 -1
- package/dist/token-sbepWIkd.mjs.map +0 -1
- package/dist/types-BOnJ0Rou.d.mts.map +0 -1
- package/dist/write-tools-cg_ialNd.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eve-runtime-CIcrt7MD.mjs","names":["repository.getRepositoryDescription","repository.getRepositoryInputSchema","repository.getRepositoryCore","repository.listBranchesDescription","repository.listBranchesInputSchema","repository.listBranchesCore","repository.getFileContentDescription","repository.getFileContentInputSchema","repository.getFileContentCore","repository.getRepositoryTreeDescription","repository.getRepositoryTreeInputSchema","repository.getRepositoryTreeCore","repository.createBranchDescription","repository.createBranchInputSchema","repository.createBranchCore","repository.forkRepositoryDescription","repository.forkRepositoryInputSchema","repository.forkRepositoryCore","repository.createRepositoryDescription","repository.createRepositoryInputSchema","repository.createRepositoryCore","repository.createOrUpdateFileDescription","repository.createOrUpdateFileInputSchema","repository.createOrUpdateFileCore","pullRequests.listPullRequestsDescription","pullRequests.listPullRequestsInputSchema","pullRequests.listPullRequestsCore","pullRequests.getPullRequestDescription","pullRequests.getPullRequestInputSchema","pullRequests.getPullRequestCore","pullRequests.createPullRequestDescription","pullRequests.createPullRequestInputSchema","pullRequests.createPullRequestCore","pullRequests.mergePullRequestDescription","pullRequests.mergePullRequestInputSchema","pullRequests.mergePullRequestCore","pullRequests.updatePullRequestDescription","pullRequests.updatePullRequestInputSchema","pullRequests.updatePullRequestCore","pullRequests.addPullRequestCommentDescription","pullRequests.addPullRequestCommentInputSchema","pullRequests.addPullRequestCommentCore","pullRequests.updatePullRequestCommentDescription","pullRequests.updatePullRequestCommentInputSchema","pullRequests.updatePullRequestCommentCore","pullRequests.deletePullRequestCommentDescription","pullRequests.deletePullRequestCommentInputSchema","pullRequests.deletePullRequestCommentCore","pullRequests.listPullRequestFilesDescription","pullRequests.listPullRequestFilesInputSchema","pullRequests.listPullRequestFilesCore","pullRequests.listPullRequestReviewsDescription","pullRequests.listPullRequestReviewsInputSchema","pullRequests.listPullRequestReviewsCore","pullRequests.createPullRequestReviewDescription","pullRequests.createPullRequestReviewInputSchema","pullRequests.createPullRequestReviewCore","pullRequests.requestReviewersDescription","pullRequests.requestReviewersInputSchema","pullRequests.requestReviewersCore","bundles.getPullRequestContextDescription","bundles.getPullRequestContextInputSchema","bundles.getPullRequestContextCore","bundles.getIssueContextDescription","bundles.getIssueContextInputSchema","bundles.getIssueContextCore","issues.listIssuesDescription","issues.listIssuesInputSchema","issues.listIssuesCore","issues.getIssueDescription","issues.getIssueInputSchema","issues.getIssueCore","issues.createIssueDescription","issues.createIssueInputSchema","issues.createIssueCore","issues.addIssueCommentDescription","issues.addIssueCommentInputSchema","issues.addIssueCommentCore","issues.updateIssueCommentDescription","issues.updateIssueCommentInputSchema","issues.updateIssueCommentCore","issues.deleteIssueCommentDescription","issues.deleteIssueCommentInputSchema","issues.deleteIssueCommentCore","issues.closeIssueDescription","issues.closeIssueInputSchema","issues.closeIssueCore","issues.updateIssueDescription","issues.updateIssueInputSchema","issues.updateIssueCore","issues.listLabelsDescription","issues.listLabelsInputSchema","issues.listLabelsCore","issues.addLabelsDescription","issues.addLabelsInputSchema","issues.addLabelsCore","issues.removeLabelDescription","issues.removeLabelInputSchema","issues.removeLabelCore","issues.addAssigneesDescription","issues.addAssigneesInputSchema","issues.addAssigneesCore","issues.removeAssigneesDescription","issues.removeAssigneesInputSchema","issues.removeAssigneesCore","reactions.listIssueReactionsDescription","reactions.listIssueReactionsInputSchema","reactions.listIssueReactionsCore","reactions.addIssueReactionDescription","reactions.addIssueReactionInputSchema","reactions.addIssueReactionCore","reactions.listCommentReactionsDescription","reactions.listCommentReactionsInputSchema","reactions.listCommentReactionsCore","reactions.addCommentReactionDescription","reactions.addCommentReactionInputSchema","reactions.addCommentReactionCore","discussions.listDiscussionsDescription","discussions.listDiscussionsInputSchema","discussions.listDiscussionsCore","discussions.getDiscussionDescription","discussions.getDiscussionInputSchema","discussions.getDiscussionCore","discussions.addDiscussionCommentDescription","discussions.addDiscussionCommentInputSchema","discussions.addDiscussionCommentCore","notifications.listNotificationsDescription","notifications.listNotificationsInputSchema","notifications.listNotificationsCore","notifications.markNotificationReadDescription","notifications.markNotificationReadInputSchema","notifications.markNotificationReadCore","search.searchCodeDescription","search.searchCodeInputSchema","search.searchCodeCore","search.searchRepositoriesDescription","search.searchRepositoriesInputSchema","search.searchRepositoriesCore","search.searchIssuesDescription","search.searchIssuesInputSchema","search.searchIssuesCore","commits.listCommitsDescription","commits.listCommitsInputSchema","commits.listCommitsCore","commits.getCommitDescription","commits.getCommitInputSchema","commits.getCommitCore","commits.getBlameDescription","commits.getBlameInputSchema","commits.getBlameCore","commits.compareCommitsDescription","commits.compareCommitsInputSchema","commits.compareCommitsCore","gists.listGistsDescription","gists.listGistsInputSchema","gists.listGistsCore","gists.getGistDescription","gists.getGistInputSchema","gists.getGistCore","gists.listGistCommentsDescription","gists.listGistCommentsInputSchema","gists.listGistCommentsCore","gists.createGistDescription","gists.createGistInputSchema","gists.createGistCore","gists.updateGistDescription","gists.updateGistInputSchema","gists.updateGistCore","gists.deleteGistDescription","gists.deleteGistInputSchema","gists.deleteGistCore","gists.createGistCommentDescription","gists.createGistCommentInputSchema","gists.createGistCommentCore","workflows.listWorkflowsDescription","workflows.listWorkflowsInputSchema","workflows.listWorkflowsCore","workflows.listWorkflowRunsDescription","workflows.listWorkflowRunsInputSchema","workflows.listWorkflowRunsCore","workflows.getWorkflowRunDescription","workflows.getWorkflowRunInputSchema","workflows.getWorkflowRunCore","workflows.listWorkflowJobsDescription","workflows.listWorkflowJobsInputSchema","workflows.listWorkflowJobsCore","workflows.triggerWorkflowDescription","workflows.triggerWorkflowInputSchema","workflows.triggerWorkflowCore","workflows.cancelWorkflowRunDescription","workflows.cancelWorkflowRunInputSchema","workflows.cancelWorkflowRunCore","workflows.rerunWorkflowRunDescription","workflows.rerunWorkflowRunInputSchema","workflows.rerunWorkflowRunCore","checks.listCheckRunsDescription","checks.listCheckRunsInputSchema","checks.listCheckRunsCore","checks.getCombinedStatusDescription","checks.getCombinedStatusInputSchema","checks.getCombinedStatusCore","bundles.getCiFailureContextDescription","bundles.getCiFailureContextInputSchema","bundles.getCiFailureContextCore","releases.listReleasesDescription","releases.listReleasesInputSchema","releases.listReleasesCore","releases.getLatestReleaseDescription","releases.getLatestReleaseInputSchema","releases.getLatestReleaseCore","releases.getReleaseDescription","releases.getReleaseInputSchema","releases.getReleaseCore","bundles.getReleaseContextDescription","bundles.getReleaseContextInputSchema","bundles.getReleaseContextCore","releases.createReleaseDescription","releases.createReleaseInputSchema","releases.createReleaseCore","releases.updateReleaseDescription","releases.updateReleaseInputSchema","releases.updateReleaseCore","releases.deleteReleaseDescription","releases.deleteReleaseInputSchema","releases.deleteReleaseCore"],"sources":["../src/eve/load-eve.ts","../src/eve/approval.ts","../src/eve/registry.ts","../src/eve/steps.ts","../src/eve/build.ts"],"sourcesContent":["import * as eveTools from 'eve/tools'\nimport * as eveApproval from 'eve/tools/approval'\n\n/**\n * Static ESM imports so bundlers (eve/Nitro/Vercel) can resolve `eve` when it is\n * compiled into the output rather than left as `node_modules/eve` at runtime.\n * Runtime `createRequire(\"eve/tools\")` fails in those targets.\n */\nexport type EveToolsModule = typeof import('eve/tools')\nexport type EveApprovalModule = typeof import('eve/tools/approval')\n\nexport const MISSING_EVE_MESSAGE =\n 'The \"eve\" package is required to use @github-tools/sdk/eve. Install it with: pnpm add eve'\n\nexport function getEveTools(): EveToolsModule {\n return eveTools\n}\n\nexport function getEveApprovalHelpers(): EveApprovalModule {\n return eveApproval\n}\n","import type { Approval } from 'eve/tools'\nimport type { GithubWriteToolName } from '../core/write-tools'\nimport { getEveApprovalHelpers } from './load-eve'\nimport type { EveApprovalConfig, EveApprovalValue } from './types'\n\nexport function mapEveApprovalValue(value: EveApprovalValue): Approval {\n if (typeof value === 'function') return value\n\n const { always, never, once } = getEveApprovalHelpers()\n\n if (value === true || value === 'always') return always()\n if (value === false || value === 'never') return never()\n if (value === 'once') return once()\n\n return always()\n}\n\nexport function resolveEveApproval(\n toolName: GithubWriteToolName,\n config: EveApprovalConfig | undefined,\n): Approval | undefined {\n if (config === undefined) return getEveApprovalHelpers().always()\n if (config === true) return getEveApprovalHelpers().always()\n if (config === false) return getEveApprovalHelpers().never()\n\n const value = config[toolName]\n if (value === undefined) return getEveApprovalHelpers().always()\n\n return mapEveApprovalValue(value)\n}\n","import type { ToolModelOutput } from 'eve/tools'\nimport type { z } from 'zod'\nimport type { CommitIdentity } from '../types'\nimport * as bundles from '../core/bundles'\nimport * as checks from '../core/checks'\nimport * as commits from '../core/commits'\nimport { mergeContextArgs, softenContextSchema, type GithubToolsContext } from '../core/context'\nimport * as discussions from '../core/discussions'\nimport * as gists from '../core/gists'\nimport * as issues from '../core/issues'\nimport * as notifications from '../core/notifications'\nimport {\n compareCommitsToModelOutput,\n getCommitToModelOutput,\n getFileContentToModelOutput,\n getPullRequestContextToModelOutput,\n listPullRequestFilesToModelOutput,\n} from '../core/model-output'\nimport * as pullRequests from '../core/pull-requests'\nimport * as reactions from '../core/reactions'\nimport * as releases from '../core/releases'\nimport * as repository from '../core/repository'\nimport * as search from '../core/search'\nimport * as workflows from '../core/workflows'\nimport { resolveGithubToken, type GithubTokenInput } from '../core/token'\nimport type { GithubWriteToolName } from '../core/write-tools'\nimport type { GithubToolName } from '../core/tool-names'\nexport type { GithubToolName } from '../core/tool-names'\nexport { ALL_GITHUB_TOOL_NAMES } from '../core/tool-names'\n\nexport type ToolBuildContext = {\n token: GithubTokenInput\n context?: GithubToolsContext\n author?: CommitIdentity\n committer?: CommitIdentity\n coAuthors?: CommitIdentity[]\n}\n\ntype ToolRegistryEntry = {\n name: GithubToolName\n writeTool?: GithubWriteToolName\n description: string\n inputSchema: z.ZodType\n execute: (args: Record<string, unknown>) => Promise<unknown>\n toModelOutput?: (output: unknown) => ToolModelOutput\n}\n\nfunction withToken<T extends Record<string, unknown>>(\n core: (args: T & { token: string }) => Promise<unknown>,\n ctx: ToolBuildContext,\n extra?: Record<string, unknown>,\n) {\n return async (input: Record<string, unknown>) =>\n core({\n token: await resolveGithubToken(ctx.token),\n ...extra,\n ...mergeContextArgs(input, ctx.context ?? {}),\n } as T & { token: string })\n}\n\nfunction modelOutputAdapter(\n fn: (options: { toolCallId: string, input: unknown, output: unknown }) => { type: 'json' | 'text', value: unknown },\n) {\n return (output: unknown) => fn({ toolCallId: '', input: {}, output }) as ToolModelOutput\n}\n\nexport function createToolRegistry(ctx: ToolBuildContext): ToolRegistryEntry[] {\n const entries: ToolRegistryEntry[] = [\n {\n name: 'getRepository',\n description: repository.getRepositoryDescription,\n inputSchema: repository.getRepositoryInputSchema,\n execute: withToken(repository.getRepositoryCore, ctx),\n },\n {\n name: 'listBranches',\n description: repository.listBranchesDescription,\n inputSchema: repository.listBranchesInputSchema,\n execute: withToken(repository.listBranchesCore, ctx),\n },\n {\n name: 'getFileContent',\n description: repository.getFileContentDescription,\n inputSchema: repository.getFileContentInputSchema,\n execute: withToken(repository.getFileContentCore, ctx),\n toModelOutput: modelOutputAdapter(getFileContentToModelOutput),\n },\n {\n name: 'getRepositoryTree',\n description: repository.getRepositoryTreeDescription,\n inputSchema: repository.getRepositoryTreeInputSchema,\n execute: withToken(repository.getRepositoryTreeCore, ctx),\n },\n {\n name: 'createBranch',\n writeTool: 'createBranch',\n description: repository.createBranchDescription,\n inputSchema: repository.createBranchInputSchema,\n execute: withToken(repository.createBranchCore, ctx),\n },\n {\n name: 'forkRepository',\n writeTool: 'forkRepository',\n description: repository.forkRepositoryDescription,\n inputSchema: repository.forkRepositoryInputSchema,\n execute: withToken(repository.forkRepositoryCore, ctx),\n },\n {\n name: 'createRepository',\n writeTool: 'createRepository',\n description: repository.createRepositoryDescription,\n inputSchema: repository.createRepositoryInputSchema,\n execute: withToken(repository.createRepositoryCore, ctx),\n },\n {\n name: 'createOrUpdateFile',\n writeTool: 'createOrUpdateFile',\n description: repository.createOrUpdateFileDescription,\n inputSchema: repository.createOrUpdateFileInputSchema,\n execute: withToken(repository.createOrUpdateFileCore, ctx, {\n author: ctx.author,\n committer: ctx.committer,\n coAuthors: ctx.coAuthors,\n }),\n },\n {\n name: 'listPullRequests',\n description: pullRequests.listPullRequestsDescription,\n inputSchema: pullRequests.listPullRequestsInputSchema,\n execute: withToken(pullRequests.listPullRequestsCore, ctx),\n },\n {\n name: 'getPullRequest',\n description: pullRequests.getPullRequestDescription,\n inputSchema: pullRequests.getPullRequestInputSchema,\n execute: withToken(pullRequests.getPullRequestCore, ctx),\n },\n {\n name: 'createPullRequest',\n writeTool: 'createPullRequest',\n description: pullRequests.createPullRequestDescription,\n inputSchema: pullRequests.createPullRequestInputSchema,\n execute: withToken(pullRequests.createPullRequestCore, ctx),\n },\n {\n name: 'mergePullRequest',\n writeTool: 'mergePullRequest',\n description: pullRequests.mergePullRequestDescription,\n inputSchema: pullRequests.mergePullRequestInputSchema,\n execute: withToken(pullRequests.mergePullRequestCore, ctx, { coAuthors: ctx.coAuthors }),\n },\n {\n name: 'updatePullRequest',\n writeTool: 'updatePullRequest',\n description: pullRequests.updatePullRequestDescription,\n inputSchema: pullRequests.updatePullRequestInputSchema,\n execute: withToken(pullRequests.updatePullRequestCore, ctx),\n },\n {\n name: 'addPullRequestComment',\n writeTool: 'addPullRequestComment',\n description: pullRequests.addPullRequestCommentDescription,\n inputSchema: pullRequests.addPullRequestCommentInputSchema,\n execute: withToken(pullRequests.addPullRequestCommentCore, ctx),\n },\n {\n name: 'updatePullRequestComment',\n writeTool: 'updatePullRequestComment',\n description: pullRequests.updatePullRequestCommentDescription,\n inputSchema: pullRequests.updatePullRequestCommentInputSchema,\n execute: withToken(pullRequests.updatePullRequestCommentCore, ctx),\n },\n {\n name: 'deletePullRequestComment',\n writeTool: 'deletePullRequestComment',\n description: pullRequests.deletePullRequestCommentDescription,\n inputSchema: pullRequests.deletePullRequestCommentInputSchema,\n execute: withToken(pullRequests.deletePullRequestCommentCore, ctx),\n },\n {\n name: 'listPullRequestFiles',\n description: pullRequests.listPullRequestFilesDescription,\n inputSchema: pullRequests.listPullRequestFilesInputSchema,\n execute: withToken(pullRequests.listPullRequestFilesCore, ctx),\n toModelOutput: modelOutputAdapter(listPullRequestFilesToModelOutput),\n },\n {\n name: 'listPullRequestReviews',\n description: pullRequests.listPullRequestReviewsDescription,\n inputSchema: pullRequests.listPullRequestReviewsInputSchema,\n execute: withToken(pullRequests.listPullRequestReviewsCore, ctx),\n },\n {\n name: 'createPullRequestReview',\n writeTool: 'createPullRequestReview',\n description: pullRequests.createPullRequestReviewDescription,\n inputSchema: pullRequests.createPullRequestReviewInputSchema,\n execute: withToken(pullRequests.createPullRequestReviewCore, ctx),\n },\n {\n name: 'requestReviewers',\n writeTool: 'requestReviewers',\n description: pullRequests.requestReviewersDescription,\n inputSchema: pullRequests.requestReviewersInputSchema,\n execute: withToken(pullRequests.requestReviewersCore, ctx),\n },\n {\n name: 'getPullRequestContext',\n description: bundles.getPullRequestContextDescription,\n inputSchema: bundles.getPullRequestContextInputSchema,\n execute: withToken(bundles.getPullRequestContextCore, ctx),\n toModelOutput: modelOutputAdapter(getPullRequestContextToModelOutput),\n },\n {\n name: 'getIssueContext',\n description: bundles.getIssueContextDescription,\n inputSchema: bundles.getIssueContextInputSchema,\n execute: withToken(bundles.getIssueContextCore, ctx),\n },\n {\n name: 'listIssues',\n description: issues.listIssuesDescription,\n inputSchema: issues.listIssuesInputSchema,\n execute: withToken(issues.listIssuesCore, ctx),\n },\n {\n name: 'getIssue',\n description: issues.getIssueDescription,\n inputSchema: issues.getIssueInputSchema,\n execute: withToken(issues.getIssueCore, ctx),\n },\n {\n name: 'createIssue',\n writeTool: 'createIssue',\n description: issues.createIssueDescription,\n inputSchema: issues.createIssueInputSchema,\n execute: withToken(issues.createIssueCore, ctx),\n },\n {\n name: 'addIssueComment',\n writeTool: 'addIssueComment',\n description: issues.addIssueCommentDescription,\n inputSchema: issues.addIssueCommentInputSchema,\n execute: withToken(issues.addIssueCommentCore, ctx),\n },\n {\n name: 'updateIssueComment',\n writeTool: 'updateIssueComment',\n description: issues.updateIssueCommentDescription,\n inputSchema: issues.updateIssueCommentInputSchema,\n execute: withToken(issues.updateIssueCommentCore, ctx),\n },\n {\n name: 'deleteIssueComment',\n writeTool: 'deleteIssueComment',\n description: issues.deleteIssueCommentDescription,\n inputSchema: issues.deleteIssueCommentInputSchema,\n execute: withToken(issues.deleteIssueCommentCore, ctx),\n },\n {\n name: 'closeIssue',\n writeTool: 'closeIssue',\n description: issues.closeIssueDescription,\n inputSchema: issues.closeIssueInputSchema,\n execute: withToken(issues.closeIssueCore, ctx),\n },\n {\n name: 'updateIssue',\n writeTool: 'updateIssue',\n description: issues.updateIssueDescription,\n inputSchema: issues.updateIssueInputSchema,\n execute: withToken(issues.updateIssueCore, ctx),\n },\n {\n name: 'listLabels',\n description: issues.listLabelsDescription,\n inputSchema: issues.listLabelsInputSchema,\n execute: withToken(issues.listLabelsCore, ctx),\n },\n {\n name: 'addLabels',\n writeTool: 'addLabels',\n description: issues.addLabelsDescription,\n inputSchema: issues.addLabelsInputSchema,\n execute: withToken(issues.addLabelsCore, ctx),\n },\n {\n name: 'removeLabel',\n writeTool: 'removeLabel',\n description: issues.removeLabelDescription,\n inputSchema: issues.removeLabelInputSchema,\n execute: withToken(issues.removeLabelCore, ctx),\n },\n {\n name: 'addAssignees',\n writeTool: 'addAssignees',\n description: issues.addAssigneesDescription,\n inputSchema: issues.addAssigneesInputSchema,\n execute: withToken(issues.addAssigneesCore, ctx),\n },\n {\n name: 'removeAssignees',\n writeTool: 'removeAssignees',\n description: issues.removeAssigneesDescription,\n inputSchema: issues.removeAssigneesInputSchema,\n execute: withToken(issues.removeAssigneesCore, ctx),\n },\n {\n name: 'listIssueReactions',\n description: reactions.listIssueReactionsDescription,\n inputSchema: reactions.listIssueReactionsInputSchema,\n execute: withToken(reactions.listIssueReactionsCore, ctx),\n },\n {\n name: 'addIssueReaction',\n writeTool: 'addIssueReaction',\n description: reactions.addIssueReactionDescription,\n inputSchema: reactions.addIssueReactionInputSchema,\n execute: withToken(reactions.addIssueReactionCore, ctx),\n },\n {\n name: 'listCommentReactions',\n description: reactions.listCommentReactionsDescription,\n inputSchema: reactions.listCommentReactionsInputSchema,\n execute: withToken(reactions.listCommentReactionsCore, ctx),\n },\n {\n name: 'addCommentReaction',\n writeTool: 'addCommentReaction',\n description: reactions.addCommentReactionDescription,\n inputSchema: reactions.addCommentReactionInputSchema,\n execute: withToken(reactions.addCommentReactionCore, ctx),\n },\n {\n name: 'listDiscussions',\n description: discussions.listDiscussionsDescription,\n inputSchema: discussions.listDiscussionsInputSchema,\n execute: withToken(discussions.listDiscussionsCore, ctx),\n },\n {\n name: 'getDiscussion',\n description: discussions.getDiscussionDescription,\n inputSchema: discussions.getDiscussionInputSchema,\n execute: withToken(discussions.getDiscussionCore, ctx),\n },\n {\n name: 'addDiscussionComment',\n writeTool: 'addDiscussionComment',\n description: discussions.addDiscussionCommentDescription,\n inputSchema: discussions.addDiscussionCommentInputSchema,\n execute: withToken(discussions.addDiscussionCommentCore, ctx),\n },\n {\n name: 'listNotifications',\n description: notifications.listNotificationsDescription,\n inputSchema: notifications.listNotificationsInputSchema,\n execute: withToken(notifications.listNotificationsCore, ctx),\n },\n {\n name: 'markNotificationRead',\n writeTool: 'markNotificationRead',\n description: notifications.markNotificationReadDescription,\n inputSchema: notifications.markNotificationReadInputSchema,\n execute: withToken(notifications.markNotificationReadCore, ctx),\n },\n {\n name: 'searchCode',\n description: search.searchCodeDescription,\n inputSchema: search.searchCodeInputSchema,\n execute: withToken(search.searchCodeCore, ctx),\n },\n {\n name: 'searchRepositories',\n description: search.searchRepositoriesDescription,\n inputSchema: search.searchRepositoriesInputSchema,\n execute: withToken(search.searchRepositoriesCore, ctx),\n },\n {\n name: 'searchIssues',\n description: search.searchIssuesDescription,\n inputSchema: search.searchIssuesInputSchema,\n execute: withToken(search.searchIssuesCore, ctx),\n },\n {\n name: 'listCommits',\n description: commits.listCommitsDescription,\n inputSchema: commits.listCommitsInputSchema,\n execute: withToken(commits.listCommitsCore, ctx),\n },\n {\n name: 'getCommit',\n description: commits.getCommitDescription,\n inputSchema: commits.getCommitInputSchema,\n execute: withToken(commits.getCommitCore, ctx),\n toModelOutput: modelOutputAdapter(getCommitToModelOutput),\n },\n {\n name: 'getBlame',\n description: commits.getBlameDescription,\n inputSchema: commits.getBlameInputSchema,\n execute: withToken(commits.getBlameCore, ctx),\n },\n {\n name: 'compareCommits',\n description: commits.compareCommitsDescription,\n inputSchema: commits.compareCommitsInputSchema,\n execute: withToken(commits.compareCommitsCore, ctx),\n toModelOutput: modelOutputAdapter(compareCommitsToModelOutput),\n },\n {\n name: 'listGists',\n description: gists.listGistsDescription,\n inputSchema: gists.listGistsInputSchema,\n execute: withToken(gists.listGistsCore, ctx),\n },\n {\n name: 'getGist',\n description: gists.getGistDescription,\n inputSchema: gists.getGistInputSchema,\n execute: withToken(gists.getGistCore, ctx),\n },\n {\n name: 'listGistComments',\n description: gists.listGistCommentsDescription,\n inputSchema: gists.listGistCommentsInputSchema,\n execute: withToken(gists.listGistCommentsCore, ctx),\n },\n {\n name: 'createGist',\n writeTool: 'createGist',\n description: gists.createGistDescription,\n inputSchema: gists.createGistInputSchema,\n execute: withToken(gists.createGistCore, ctx),\n },\n {\n name: 'updateGist',\n writeTool: 'updateGist',\n description: gists.updateGistDescription,\n inputSchema: gists.updateGistInputSchema,\n execute: withToken(gists.updateGistCore, ctx),\n },\n {\n name: 'deleteGist',\n writeTool: 'deleteGist',\n description: gists.deleteGistDescription,\n inputSchema: gists.deleteGistInputSchema,\n execute: withToken(gists.deleteGistCore, ctx),\n },\n {\n name: 'createGistComment',\n writeTool: 'createGistComment',\n description: gists.createGistCommentDescription,\n inputSchema: gists.createGistCommentInputSchema,\n execute: withToken(gists.createGistCommentCore, ctx),\n },\n {\n name: 'listWorkflows',\n description: workflows.listWorkflowsDescription,\n inputSchema: workflows.listWorkflowsInputSchema,\n execute: withToken(workflows.listWorkflowsCore, ctx),\n },\n {\n name: 'listWorkflowRuns',\n description: workflows.listWorkflowRunsDescription,\n inputSchema: workflows.listWorkflowRunsInputSchema,\n execute: withToken(workflows.listWorkflowRunsCore, ctx),\n },\n {\n name: 'getWorkflowRun',\n description: workflows.getWorkflowRunDescription,\n inputSchema: workflows.getWorkflowRunInputSchema,\n execute: withToken(workflows.getWorkflowRunCore, ctx),\n },\n {\n name: 'listWorkflowJobs',\n description: workflows.listWorkflowJobsDescription,\n inputSchema: workflows.listWorkflowJobsInputSchema,\n execute: withToken(workflows.listWorkflowJobsCore, ctx),\n },\n {\n name: 'triggerWorkflow',\n writeTool: 'triggerWorkflow',\n description: workflows.triggerWorkflowDescription,\n inputSchema: workflows.triggerWorkflowInputSchema,\n execute: withToken(workflows.triggerWorkflowCore, ctx),\n },\n {\n name: 'cancelWorkflowRun',\n writeTool: 'cancelWorkflowRun',\n description: workflows.cancelWorkflowRunDescription,\n inputSchema: workflows.cancelWorkflowRunInputSchema,\n execute: withToken(workflows.cancelWorkflowRunCore, ctx),\n },\n {\n name: 'rerunWorkflowRun',\n writeTool: 'rerunWorkflowRun',\n description: workflows.rerunWorkflowRunDescription,\n inputSchema: workflows.rerunWorkflowRunInputSchema,\n execute: withToken(workflows.rerunWorkflowRunCore, ctx),\n },\n {\n name: 'listCheckRuns',\n description: checks.listCheckRunsDescription,\n inputSchema: checks.listCheckRunsInputSchema,\n execute: withToken(checks.listCheckRunsCore, ctx),\n },\n {\n name: 'getCombinedStatus',\n description: checks.getCombinedStatusDescription,\n inputSchema: checks.getCombinedStatusInputSchema,\n execute: withToken(checks.getCombinedStatusCore, ctx),\n },\n {\n name: 'getCiFailureContext',\n description: bundles.getCiFailureContextDescription,\n inputSchema: bundles.getCiFailureContextInputSchema,\n execute: withToken(bundles.getCiFailureContextCore, ctx),\n },\n {\n name: 'listReleases',\n description: releases.listReleasesDescription,\n inputSchema: releases.listReleasesInputSchema,\n execute: withToken(releases.listReleasesCore, ctx),\n },\n {\n name: 'getLatestRelease',\n description: releases.getLatestReleaseDescription,\n inputSchema: releases.getLatestReleaseInputSchema,\n execute: withToken(releases.getLatestReleaseCore, ctx),\n },\n {\n name: 'getRelease',\n description: releases.getReleaseDescription,\n inputSchema: releases.getReleaseInputSchema,\n execute: withToken(releases.getReleaseCore, ctx),\n },\n {\n name: 'getReleaseContext',\n description: bundles.getReleaseContextDescription,\n inputSchema: bundles.getReleaseContextInputSchema,\n execute: withToken(bundles.getReleaseContextCore, ctx),\n },\n {\n name: 'createRelease',\n writeTool: 'createRelease',\n description: releases.createReleaseDescription,\n inputSchema: releases.createReleaseInputSchema,\n execute: withToken(releases.createReleaseCore, ctx),\n },\n {\n name: 'updateRelease',\n writeTool: 'updateRelease',\n description: releases.updateReleaseDescription,\n inputSchema: releases.updateReleaseInputSchema,\n execute: withToken(releases.updateReleaseCore, ctx),\n },\n {\n name: 'deleteRelease',\n writeTool: 'deleteRelease',\n description: releases.deleteReleaseDescription,\n inputSchema: releases.deleteReleaseInputSchema,\n execute: withToken(releases.deleteReleaseCore, ctx),\n },\n ]\n\n if (!ctx.context) return entries\n\n return entries.map(entry => ({\n ...entry,\n inputSchema: softenContextSchema(entry.inputSchema, ctx.context!),\n }))\n}\n","import { resolveGithubToken } from '../core/token'\nimport { createToolRegistry, type GithubToolName, type ToolBuildContext } from './registry'\n\nasync function executeGithubToolStep(\n name: GithubToolName,\n input: Record<string, unknown>,\n ctx: ToolBuildContext,\n) {\n 'use step'\n const entry = createToolRegistry(ctx).find(tool => tool.name === name)\n if (!entry) {\n throw new Error(`Unknown GitHub tool: ${name}`)\n }\n return entry.execute(input)\n}\n\nexport async function runGithubToolStep(\n name: GithubToolName,\n input: Record<string, unknown>,\n ctx: ToolBuildContext,\n) {\n // Resolve the token before entering the step so only a serializable string crosses the boundary.\n const token = await resolveGithubToken(ctx.token)\n return executeGithubToolStep(name, input, { ...ctx, token })\n}\n","import type { ToolDefinition } from 'eve/tools'\nimport { resolvePresetTools, type CombinedPresetToolNames, type GithubToolPreset, type PresetToolName } from '../core/presets'\nimport { createGithubTokenResolver } from '../core/token'\nimport { mapEveApprovalValue, resolveEveApproval } from './approval'\nimport { getEveTools } from './load-eve'\nimport { ALL_GITHUB_TOOL_NAMES, createToolRegistry, type GithubToolName, type ToolBuildContext } from './registry'\nimport { runGithubToolStep } from './steps'\nimport type { EveGithubToolsOptions, EveToolFactoryOptions, EveToolOverrides } from './types'\n\ntype BuildOptions = EveGithubToolsOptions | (EveToolFactoryOptions & { preset?: EveGithubToolsOptions['preset'] })\ntype EveToolMap = Partial<Record<GithubToolName, ToolDefinition>>\n\nfunction resolveAllowedToolNames(\n options: Pick<EveGithubToolsOptions, 'preset' | 'include' | 'exclude'>,\n): (name: GithubToolName) => boolean {\n const presetAllowed = options.preset ? resolvePresetTools(options.preset) : null\n const includeAllowed = options.include ? new Set(options.include) : null\n const excluded = options.exclude ? new Set(options.exclude) : null\n\n // `preset` and `include` compose as a union (add tools a preset is missing);\n // `exclude` always subtracts from that combined set afterward.\n const allowed = presetAllowed && includeAllowed\n ? new Set([...presetAllowed, ...includeAllowed])\n : presetAllowed ?? includeAllowed\n\n return name => (!allowed || allowed.has(name)) && !excluded?.has(name)\n}\n\nfunction applyOverrides<T extends ToolDefinition>(\n tool: T,\n name: GithubToolName,\n overrides?: EveToolOverrides,\n): T {\n const override = overrides?.[name]\n if (!override) return tool\n return {\n ...tool,\n ...override.description !== undefined && { description: override.description },\n ...override.approval !== undefined && { approval: mapEveApprovalValue(override.approval) },\n ...override.toModelOutput !== undefined && { toModelOutput: override.toModelOutput },\n ...override.outputSchema !== undefined && { outputSchema: override.outputSchema },\n }\n}\n\nexport function buildEveToolDefinition(\n name: GithubToolName,\n options: BuildOptions = {},\n): ToolDefinition {\n const { defineTool } = getEveTools()\n const ctx: ToolBuildContext = {\n token: createGithubTokenResolver(options.token),\n context: options.context,\n author: options.author,\n committer: options.committer,\n coAuthors: options.coAuthors,\n }\n\n const entry = createToolRegistry(ctx).find(tool => tool.name === name)\n if (!entry) {\n throw new Error(`Unknown GitHub tool: ${name}`)\n }\n\n const tool = defineTool({\n description: entry.description,\n inputSchema: entry.inputSchema,\n ...(entry.writeTool && {\n approval: resolveEveApproval(entry.writeTool, options.requireApproval),\n }),\n ...(entry.toModelOutput && { toModelOutput: entry.toModelOutput }),\n execute: async (input) => runGithubToolStep(name, input as Record<string, unknown>, ctx),\n })\n\n return applyOverrides(tool, name, options.overrides)\n}\n\nexport function buildEveToolMap(options: EveGithubToolsOptions = {}): EveToolMap {\n const { defineTool } = getEveTools()\n const ctx: ToolBuildContext = {\n token: createGithubTokenResolver(options.token),\n context: options.context,\n author: options.author,\n committer: options.committer,\n coAuthors: options.coAuthors,\n }\n\n const isAllowed = resolveAllowedToolNames(options)\n const registry = createToolRegistry(ctx)\n const tools = {} as EveToolMap\n\n for (const entry of registry) {\n if (!isAllowed(entry.name)) continue\n\n const tool = defineTool({\n description: entry.description,\n inputSchema: entry.inputSchema,\n ...(entry.writeTool && {\n approval: resolveEveApproval(entry.writeTool, options.requireApproval),\n }),\n ...(entry.toModelOutput && { toModelOutput: entry.toModelOutput }),\n execute: async (input) => runGithubToolStep(entry.name, input as Record<string, unknown>, ctx),\n })\n\n tools[entry.name] = applyOverrides(tool, entry.name, options.overrides)\n }\n\n return tools\n}\n\nexport function createEveGithubToolsDynamic(options: EveGithubToolsOptions = {}) {\n const { defineDynamic } = getEveTools()\n\n // TODO(eve-auth): resolve token from ctx.getToken('github') when eve-managed auth lands.\n // Deferred — eve does not yet expose managed GitHub tokens on the session context.\n return defineDynamic({\n events: {\n 'session.started': async () => buildEveToolMap(options),\n },\n })\n}\n\nexport function listResolvedEveToolNames(options?: { preset?: undefined, include?: undefined, exclude?: undefined }): GithubToolName[]\nexport function listResolvedEveToolNames<P extends GithubToolPreset>(options: { preset: P, include?: undefined, exclude?: undefined }): PresetToolName<P>[]\nexport function listResolvedEveToolNames<P extends readonly GithubToolPreset[]>(options: { preset: P, include?: undefined, exclude?: undefined }): CombinedPresetToolNames<P>[]\nexport function listResolvedEveToolNames(options: Pick<EveGithubToolsOptions, 'preset' | 'include' | 'exclude'>): GithubToolName[]\nexport function listResolvedEveToolNames(options: Pick<EveGithubToolsOptions, 'preset' | 'include' | 'exclude'> = {}): GithubToolName[] {\n const isAllowed = resolveAllowedToolNames(options)\n return ALL_GITHUB_TOOL_NAMES.filter(isAllowed)\n}\n\n/**\n * Tool descriptors (no `execute`) for authored eve `defineTool` loops.\n * Prefer this when registering tools outside the SDK package so durable transforms can hoist inline execute.\n */\nexport function listEveToolDescriptors(options: EveGithubToolsOptions = {}) {\n const ctx: ToolBuildContext = {\n token: createGithubTokenResolver(options.token),\n context: options.context,\n author: options.author,\n committer: options.committer,\n coAuthors: options.coAuthors,\n }\n\n const isAllowed = resolveAllowedToolNames(options)\n return createToolRegistry(ctx)\n .filter(entry => isAllowed(entry.name))\n .map(entry => ({\n name: entry.name,\n description: entry.description,\n inputSchema: entry.inputSchema,\n writeTool: entry.writeTool,\n toModelOutput: entry.toModelOutput,\n }))\n}\n\n/**\n * Execute a GitHub tool by name with the given eve options (token/context/attribution).\n * Used by `@github-tools/eve-extension` so `execute` only closes over a serializable tool name.\n */\nexport async function executeGithubEveTool(\n name: GithubToolName,\n input: Record<string, unknown>,\n options: EveGithubToolsOptions = {},\n) {\n const ctx: ToolBuildContext = {\n token: createGithubTokenResolver(options.token),\n context: options.context,\n author: options.author,\n committer: options.committer,\n coAuthors: options.coAuthors,\n }\n return runGithubToolStep(name, input, ctx)\n}\n"],"mappings":";;;;AAWA,MAAa,sBACX;AAEF,SAAgB,cAA8B;CAC5C,OAAO;AACT;AAEA,SAAgB,wBAA2C;CACzD,OAAO;AACT;;;ACfA,SAAgB,oBAAoB,OAAmC;CACrE,IAAI,OAAO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t as GITHUB_TOOL_NAMES, Kt as PRESET_TOOLS, Ot as AllGithubTools, Ut as GithubWriteToolName, Wt as CombinedPresetToolNames, Yt as GithubToolName, jt as PickGithubTools, qt as PresetToolName } from "./index-B0nL0C00.mjs";
|
|
2
|
+
import { a as EveToolOverrides, i as EveToolFactoryOptions, n as EveApprovalValue, r as EveGithubToolsOptions, t as EveApprovalConfig } from "./types-Ygt1pw1N.mjs";
|
|
3
|
+
import { a as buildEveToolMap, c as listEveToolDescriptors, i as buildEveToolDefinition, l as listResolvedEveToolNames, n as mapEveApprovalValue, o as createEveGithubToolsDynamic, r as resolveEveApproval, s as executeGithubEveTool, t as MISSING_EVE_MESSAGE } from "./eve-runtime-CI4dR_hI.mjs";
|
|
4
|
+
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, listEveToolDescriptors, listResolvedEveToolNames, mapEveApprovalValue, resolveEveApproval };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { i as PRESET_TOOLS, r as GITHUB_TOOL_NAMES, t as GITHUB_WRITE_TOOLS } from "./write-tools-uIVfURVp.mjs";
|
|
2
|
+
import { a as listEveToolDescriptors, c as resolveEveApproval, i as executeGithubEveTool, l as MISSING_EVE_MESSAGE, n as buildEveToolMap, o as listResolvedEveToolNames, r as createEveGithubToolsDynamic, s as mapEveApprovalValue, t as buildEveToolDefinition } from "./eve-runtime-CIcrt7MD.mjs";
|
|
3
|
+
export { GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, MISSING_EVE_MESSAGE, PRESET_TOOLS, buildEveToolDefinition, buildEveToolMap, createEveGithubToolsDynamic, executeGithubEveTool, listEveToolDescriptors, listResolvedEveToolNames, mapEveApprovalValue, resolveEveApproval };
|
package/dist/eve.d.mts
CHANGED
|
@@ -1,35 +1,6 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { a as EveToolOverrides, i as EveToolFactoryOptions, n as EveApprovalValue, r as EveGithubToolsOptions, t as EveApprovalConfig } from "./types-
|
|
3
|
-
import {
|
|
4
|
-
import { ToolDefinition, ToolModelOutput } from "eve/tools";
|
|
5
|
-
//#region src/eve/build.d.ts
|
|
6
|
-
type BuildOptions = EveGithubToolsOptions | (EveToolFactoryOptions & {
|
|
7
|
-
preset?: EveGithubToolsOptions['preset'];
|
|
8
|
-
});
|
|
9
|
-
type EveToolMap = Partial<Record<GithubToolName, ToolDefinition>>;
|
|
10
|
-
declare function buildEveToolDefinition(name: GithubToolName, options?: BuildOptions): ToolDefinition;
|
|
11
|
-
declare function buildEveToolMap(options?: EveGithubToolsOptions): EveToolMap;
|
|
12
|
-
declare function createEveGithubToolsDynamic(options?: EveGithubToolsOptions): import("eve/tools").DynamicSentinel<Partial<Record<GithubToolName, ToolDefinition<unknown, unknown>>>>;
|
|
13
|
-
declare function listResolvedEveToolNames(options?: {
|
|
14
|
-
preset?: undefined;
|
|
15
|
-
include?: undefined;
|
|
16
|
-
exclude?: undefined;
|
|
17
|
-
}): GithubToolName[];
|
|
18
|
-
declare function listResolvedEveToolNames<P extends GithubToolPreset>(options: {
|
|
19
|
-
preset: P;
|
|
20
|
-
include?: undefined;
|
|
21
|
-
exclude?: undefined;
|
|
22
|
-
}): PresetToolName<P>[];
|
|
23
|
-
declare function listResolvedEveToolNames<P extends readonly GithubToolPreset[]>(options: {
|
|
24
|
-
preset: P;
|
|
25
|
-
include?: undefined;
|
|
26
|
-
exclude?: undefined;
|
|
27
|
-
}): CombinedPresetToolNames<P>[];
|
|
28
|
-
declare function listResolvedEveToolNames(options: Pick<EveGithubToolsOptions, 'preset' | 'include' | 'exclude'>): GithubToolName[];
|
|
29
|
-
//#endregion
|
|
30
|
-
//#region src/eve/load-eve.d.ts
|
|
31
|
-
declare const MISSING_EVE_MESSAGE = "The \"eve\" package is required to use @github-tools/sdk/eve. Install it with: pnpm add eve";
|
|
32
|
-
//#endregion
|
|
1
|
+
import { At as GithubToolsForPreset, Ft as CommitIdentity, Gt as GithubToolPreset, Ht as GITHUB_WRITE_TOOLS, Jt as GITHUB_TOOL_NAMES, Kt as PRESET_TOOLS, Ot as AllGithubTools, Ut as GithubWriteToolName, Wt as CombinedPresetToolNames, Yt as GithubToolName, jt as PickGithubTools, qt as PresetToolName } from "./index-B0nL0C00.mjs";
|
|
2
|
+
import { a as EveToolOverrides, i as EveToolFactoryOptions, n as EveApprovalValue, r as EveGithubToolsOptions, t as EveApprovalConfig } from "./types-Ygt1pw1N.mjs";
|
|
3
|
+
import { a as buildEveToolMap, c as listEveToolDescriptors, i as buildEveToolDefinition, l as listResolvedEveToolNames, n as mapEveApprovalValue, o as createEveGithubToolsDynamic, r as resolveEveApproval, s as executeGithubEveTool, t as MISSING_EVE_MESSAGE } from "./eve-runtime-CI4dR_hI.mjs";
|
|
33
4
|
//#region src/eve.d.ts
|
|
34
5
|
/**
|
|
35
6
|
* Register all GitHub tools (or a preset subset) as eve dynamic capabilities.
|
|
@@ -159,7 +130,7 @@ declare const createPullRequestReview: (options?: EveToolFactoryOptions) => impo
|
|
|
159
130
|
*/
|
|
160
131
|
declare const getPullRequestContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
|
|
161
132
|
/**
|
|
162
|
-
* Fetch an issue plus available
|
|
133
|
+
* Fetch an issue plus available label names and recent comments in one call.
|
|
163
134
|
*
|
|
164
135
|
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
165
136
|
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
@@ -369,5 +340,5 @@ declare const getCiFailureContext: (options?: EveToolFactoryOptions) => import("
|
|
|
369
340
|
*/
|
|
370
341
|
declare const getReleaseContext: (options?: EveToolFactoryOptions) => import("eve/tools").ToolDefinition<unknown, unknown>;
|
|
371
342
|
//#endregion
|
|
372
|
-
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, addIssueComment, addLabels, addPullRequestComment, buildEveToolDefinition, buildEveToolMap, cancelWorkflowRun, closeIssue, createBranch, createEveGithubToolsDynamic, createGist, createGistComment, createGithubTools, createIssue, createOrUpdateFile, createPullRequest, createPullRequestReview, createRepository, deleteGist, forkRepository, getBlame, getCiFailureContext, getCommit, getFileContent, getGist, getIssue, getIssueContext, getPullRequest, getPullRequestContext, getReleaseContext, getRepository, getWorkflowRun, listBranches, listCommits, listGistComments, listGists, listIssues, listLabels, listPullRequestFiles, listPullRequestReviews, listPullRequests, listResolvedEveToolNames, listWorkflowJobs, listWorkflowRuns, listWorkflows, mergePullRequest, removeLabel, rerunWorkflowRun, searchCode, searchRepositories, triggerWorkflow, updateGist };
|
|
343
|
+
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, addIssueComment, addLabels, addPullRequestComment, buildEveToolDefinition, buildEveToolMap, cancelWorkflowRun, closeIssue, createBranch, createEveGithubToolsDynamic, createGist, createGistComment, createGithubTools, createIssue, createOrUpdateFile, createPullRequest, createPullRequestReview, createRepository, deleteGist, executeGithubEveTool, forkRepository, getBlame, getCiFailureContext, getCommit, getFileContent, getGist, getIssue, getIssueContext, getPullRequest, getPullRequestContext, getReleaseContext, getRepository, getWorkflowRun, listBranches, listCommits, listEveToolDescriptors, listGistComments, listGists, listIssues, listLabels, listPullRequestFiles, listPullRequestReviews, listPullRequests, listResolvedEveToolNames, listWorkflowJobs, listWorkflowRuns, listWorkflows, mapEveApprovalValue, mergePullRequest, removeLabel, rerunWorkflowRun, resolveEveApproval, searchCode, searchRepositories, triggerWorkflow, updateGist };
|
|
373
344
|
//# sourceMappingURL=eve.d.mts.map
|
package/dist/eve.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eve.d.mts","names":[],"sources":["../src/eve
|
|
1
|
+
{"version":3,"file":"eve.d.mts","names":[],"sources":["../src/eve.ts"],"mappings":";;;;;;;;;;;;;;;;;;iBAwDgB,kBAAkB,UAAlB,4CAAuE,gBAAA,QAAA,OAArB,oCAAqB;;;;;;;cAc1E,gBAAa,UATN,8CAAqB;;;;;;;cAgB5B,eAAY,UAhBL,8CAAqB;;;;;;;cAuB5B,iBAAc,UAvBP,8CAAqB;;;;;;;cA8B5B,eAAY,UA9BL,8CAAqB;;;;;;;cAqC5B,iBAAc,UArCP,8CAAqB;;;;;;;cA4C5B,mBAAgB,UA5CT,8CAAqB;;;;;;;cAmD5B,qBAAkB,UAnDX,8CAAqB;;;;;;;cA0D5B,mBAAgB,UA1DT,8CAAqB;;;;;;;cAiE5B,iBAAc,UAjEP,8CAAqB;;;;;;;cAwE5B,oBAAiB,UAxEV,8CAAqB;;;;;;;cA+E5B,mBAAgB,UA/ET,8CAAqB;;;;;;;cAsF5B,wBAAqB,UAtFd,8CAAqB;;;;;;;cA6F5B,uBAAoB,UA7Fb,8CAAqB;;;;;;;cAoG5B,yBAAsB,UApGf,8CAAqB;;;;;;;cA2G5B,0BAAuB,UA3GhB,8CAAqB;;;;;;;cAkH5B,wBAA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{ i as PRESET_TOOLS, r as GITHUB_TOOL_NAMES, t as GITHUB_WRITE_TOOLS } from "./write-tools-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { i as PRESET_TOOLS, r as GITHUB_TOOL_NAMES, t as GITHUB_WRITE_TOOLS } from "./write-tools-uIVfURVp.mjs";
|
|
2
|
+
import { a as listEveToolDescriptors, c as resolveEveApproval, i as executeGithubEveTool, l as MISSING_EVE_MESSAGE, n as buildEveToolMap, o as listResolvedEveToolNames, r as createEveGithubToolsDynamic, s as mapEveApprovalValue, t as buildEveToolDefinition } from "./eve-runtime-CIcrt7MD.mjs";
|
|
3
|
+
//#region src/eve.ts
|
|
4
|
+
/**
|
|
5
|
+
* Legacy eve registration for `agent/tools/` (direct import).
|
|
6
|
+
*
|
|
7
|
+
* Prefer `@github-tools/eve-extension` for new agents. Shared runtime helpers
|
|
8
|
+
* used by the extension live on `@github-tools/sdk/eve-runtime` — import those
|
|
9
|
+
* from there rather than this subpath.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Register all GitHub tools (or a preset subset) as eve dynamic capabilities.
|
|
13
|
+
*
|
|
14
|
+
* Export as the default from `agent/tools/github.ts`:
|
|
15
|
+
*
|
|
16
|
+
* ```ts
|
|
17
|
+
* import { createGithubTools } from '@github-tools/sdk/eve'
|
|
18
|
+
* export default createGithubTools({ preset: 'code-review' })
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @deprecated Use the mountable `@github-tools/eve-extension` (`githubExtension`) instead — it is now the
|
|
22
|
+
* recommended way to add GitHub tools to an eve agent. This direct import keeps working but is no longer
|
|
23
|
+
* the recommended path. See https://github-tools.com/frameworks/eve-extension.
|
|
24
|
+
*/
|
|
25
|
+
function createGithubTools(options) {
|
|
26
|
+
return createEveGithubToolsDynamic(options ?? {});
|
|
27
|
+
}
|
|
28
|
+
function factory(name) {
|
|
29
|
+
return (options) => buildEveToolDefinition(name, options);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get information about a GitHub repository including description, stars, forks, language, and default branch.
|
|
33
|
+
*
|
|
34
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
35
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
36
|
+
*/
|
|
37
|
+
const getRepository = factory("getRepository");
|
|
38
|
+
/**
|
|
39
|
+
* List branches in a GitHub repository.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
42
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
43
|
+
*/
|
|
44
|
+
const listBranches = factory("listBranches");
|
|
45
|
+
/**
|
|
46
|
+
* Get the content of a file from a GitHub repository.
|
|
47
|
+
*
|
|
48
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
49
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
50
|
+
*/
|
|
51
|
+
const getFileContent = factory("getFileContent");
|
|
52
|
+
/**
|
|
53
|
+
* Create a new branch in a GitHub repository from an existing branch or commit SHA. Requires approval by default.
|
|
54
|
+
*
|
|
55
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
56
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
57
|
+
*/
|
|
58
|
+
const createBranch = factory("createBranch");
|
|
59
|
+
/**
|
|
60
|
+
* Fork a GitHub repository to the authenticated user account or a specified organization. Requires approval by default.
|
|
61
|
+
*
|
|
62
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
63
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
64
|
+
*/
|
|
65
|
+
const forkRepository = factory("forkRepository");
|
|
66
|
+
/**
|
|
67
|
+
* Create a new GitHub repository for the authenticated user or a specified organization. Requires approval by default.
|
|
68
|
+
*
|
|
69
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
70
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
71
|
+
*/
|
|
72
|
+
const createRepository = factory("createRepository");
|
|
73
|
+
/**
|
|
74
|
+
* Create or update a file in a GitHub repository. Provide the SHA when updating an existing file. Requires approval by default.
|
|
75
|
+
*
|
|
76
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
77
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
78
|
+
*/
|
|
79
|
+
const createOrUpdateFile = factory("createOrUpdateFile");
|
|
80
|
+
/**
|
|
81
|
+
* List pull requests for a GitHub repository.
|
|
82
|
+
*
|
|
83
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
84
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
85
|
+
*/
|
|
86
|
+
const listPullRequests = factory("listPullRequests");
|
|
87
|
+
/**
|
|
88
|
+
* Get detailed information about a specific pull request.
|
|
89
|
+
*
|
|
90
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
91
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
92
|
+
*/
|
|
93
|
+
const getPullRequest = factory("getPullRequest");
|
|
94
|
+
/**
|
|
95
|
+
* Create a new pull request in a GitHub repository. Requires approval by default.
|
|
96
|
+
*
|
|
97
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
98
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
99
|
+
*/
|
|
100
|
+
const createPullRequest = factory("createPullRequest");
|
|
101
|
+
/**
|
|
102
|
+
* Merge a pull request. Requires approval by default.
|
|
103
|
+
*
|
|
104
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
105
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
106
|
+
*/
|
|
107
|
+
const mergePullRequest = factory("mergePullRequest");
|
|
108
|
+
/**
|
|
109
|
+
* Add a comment to a pull request. Requires approval by default.
|
|
110
|
+
*
|
|
111
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
112
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
113
|
+
*/
|
|
114
|
+
const addPullRequestComment = factory("addPullRequestComment");
|
|
115
|
+
/**
|
|
116
|
+
* List files changed in a pull request, including diff status and patch content.
|
|
117
|
+
*
|
|
118
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
119
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
120
|
+
*/
|
|
121
|
+
const listPullRequestFiles = factory("listPullRequestFiles");
|
|
122
|
+
/**
|
|
123
|
+
* List reviews on a pull request (approvals, change requests, and comments).
|
|
124
|
+
*
|
|
125
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
126
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
127
|
+
*/
|
|
128
|
+
const listPullRequestReviews = factory("listPullRequestReviews");
|
|
129
|
+
/**
|
|
130
|
+
* Submit a pull request review with optional inline comments. Requires approval by default.
|
|
131
|
+
*
|
|
132
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
133
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
134
|
+
*/
|
|
135
|
+
const createPullRequestReview = factory("createPullRequestReview");
|
|
136
|
+
/**
|
|
137
|
+
* Fetch pull request details plus files, reviews, and optional CI checks in one call.
|
|
138
|
+
*
|
|
139
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
140
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
141
|
+
*/
|
|
142
|
+
const getPullRequestContext = factory("getPullRequestContext");
|
|
143
|
+
/**
|
|
144
|
+
* Fetch an issue plus available label names and recent comments in one call.
|
|
145
|
+
*
|
|
146
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
147
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
148
|
+
*/
|
|
149
|
+
const getIssueContext = factory("getIssueContext");
|
|
150
|
+
/**
|
|
151
|
+
* List issues for a GitHub repository (excludes pull requests).
|
|
152
|
+
*
|
|
153
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
154
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
155
|
+
*/
|
|
156
|
+
const listIssues = factory("listIssues");
|
|
157
|
+
/**
|
|
158
|
+
* Get detailed information about a specific issue.
|
|
159
|
+
*
|
|
160
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
161
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
162
|
+
*/
|
|
163
|
+
const getIssue = factory("getIssue");
|
|
164
|
+
/**
|
|
165
|
+
* Create a new issue in a GitHub repository. Requires approval by default.
|
|
166
|
+
*
|
|
167
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
168
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
169
|
+
*/
|
|
170
|
+
const createIssue = factory("createIssue");
|
|
171
|
+
/**
|
|
172
|
+
* Add a comment to a GitHub issue. Requires approval by default.
|
|
173
|
+
*
|
|
174
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
175
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
176
|
+
*/
|
|
177
|
+
const addIssueComment = factory("addIssueComment");
|
|
178
|
+
/**
|
|
179
|
+
* Close an open GitHub issue. Requires approval by default.
|
|
180
|
+
*
|
|
181
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
182
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
183
|
+
*/
|
|
184
|
+
const closeIssue = factory("closeIssue");
|
|
185
|
+
/**
|
|
186
|
+
* List labels available in a GitHub repository.
|
|
187
|
+
*
|
|
188
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
189
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
190
|
+
*/
|
|
191
|
+
const listLabels = factory("listLabels");
|
|
192
|
+
/**
|
|
193
|
+
* Add labels to an issue or pull request. Requires approval by default.
|
|
194
|
+
*
|
|
195
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
196
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
197
|
+
*/
|
|
198
|
+
const addLabels = factory("addLabels");
|
|
199
|
+
/**
|
|
200
|
+
* Remove a label from an issue or pull request. Requires approval by default.
|
|
201
|
+
*
|
|
202
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
203
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
204
|
+
*/
|
|
205
|
+
const removeLabel = factory("removeLabel");
|
|
206
|
+
/**
|
|
207
|
+
* Search for code in GitHub repositories. Use qualifiers like "repo:owner/name" to scope the search.
|
|
208
|
+
*
|
|
209
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
210
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
211
|
+
*/
|
|
212
|
+
const searchCode = factory("searchCode");
|
|
213
|
+
/**
|
|
214
|
+
* Search for GitHub repositories by keyword, topic, language, or other qualifiers.
|
|
215
|
+
*
|
|
216
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
217
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
218
|
+
*/
|
|
219
|
+
const searchRepositories = factory("searchRepositories");
|
|
220
|
+
/**
|
|
221
|
+
* List commits for a GitHub repository. Filter by file path to see commits that touched a file.
|
|
222
|
+
*
|
|
223
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
224
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
225
|
+
*/
|
|
226
|
+
const listCommits = factory("listCommits");
|
|
227
|
+
/**
|
|
228
|
+
* Get detailed information about a specific commit, including files changed with additions and deletions.
|
|
229
|
+
*
|
|
230
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
231
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
232
|
+
*/
|
|
233
|
+
const getCommit = factory("getCommit");
|
|
234
|
+
/**
|
|
235
|
+
* Line-level git blame for a file at a commit-like ref (branch, tag, or SHA).
|
|
236
|
+
*
|
|
237
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
238
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
239
|
+
*/
|
|
240
|
+
const getBlame = factory("getBlame");
|
|
241
|
+
/**
|
|
242
|
+
* List gists for the authenticated user or a specific user.
|
|
243
|
+
*
|
|
244
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
245
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
246
|
+
*/
|
|
247
|
+
const listGists = factory("listGists");
|
|
248
|
+
/**
|
|
249
|
+
* Get a gist by ID, including file contents.
|
|
250
|
+
*
|
|
251
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
252
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
253
|
+
*/
|
|
254
|
+
const getGist = factory("getGist");
|
|
255
|
+
/**
|
|
256
|
+
* List comments on a gist.
|
|
257
|
+
*
|
|
258
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
259
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
260
|
+
*/
|
|
261
|
+
const listGistComments = factory("listGistComments");
|
|
262
|
+
/**
|
|
263
|
+
* Create a new gist with one or more files. Requires approval by default.
|
|
264
|
+
*
|
|
265
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
266
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
267
|
+
*/
|
|
268
|
+
const createGist = factory("createGist");
|
|
269
|
+
/**
|
|
270
|
+
* Update an existing gist. Requires approval by default.
|
|
271
|
+
*
|
|
272
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
273
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
274
|
+
*/
|
|
275
|
+
const updateGist = factory("updateGist");
|
|
276
|
+
/**
|
|
277
|
+
* Delete a gist permanently. Requires approval by default.
|
|
278
|
+
*
|
|
279
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
280
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
281
|
+
*/
|
|
282
|
+
const deleteGist = factory("deleteGist");
|
|
283
|
+
/**
|
|
284
|
+
* Add a comment to a gist. Requires approval by default.
|
|
285
|
+
*
|
|
286
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
287
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
288
|
+
*/
|
|
289
|
+
const createGistComment = factory("createGistComment");
|
|
290
|
+
/**
|
|
291
|
+
* List GitHub Actions workflows in a repository.
|
|
292
|
+
*
|
|
293
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
294
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
295
|
+
*/
|
|
296
|
+
const listWorkflows = factory("listWorkflows");
|
|
297
|
+
/**
|
|
298
|
+
* List workflow runs for a repository, optionally filtered by workflow, branch, status, or event.
|
|
299
|
+
*
|
|
300
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
301
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
302
|
+
*/
|
|
303
|
+
const listWorkflowRuns = factory("listWorkflowRuns");
|
|
304
|
+
/**
|
|
305
|
+
* Get details of a specific workflow run including status, timing, and trigger info.
|
|
306
|
+
*
|
|
307
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
308
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
309
|
+
*/
|
|
310
|
+
const getWorkflowRun = factory("getWorkflowRun");
|
|
311
|
+
/**
|
|
312
|
+
* List jobs for a workflow run, including step-level status and timing.
|
|
313
|
+
*
|
|
314
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
315
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
316
|
+
*/
|
|
317
|
+
const listWorkflowJobs = factory("listWorkflowJobs");
|
|
318
|
+
/**
|
|
319
|
+
* Trigger a workflow via workflow_dispatch event. Requires approval by default.
|
|
320
|
+
*
|
|
321
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
322
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
323
|
+
*/
|
|
324
|
+
const triggerWorkflow = factory("triggerWorkflow");
|
|
325
|
+
/**
|
|
326
|
+
* Cancel an in-progress workflow run. Requires approval by default.
|
|
327
|
+
*
|
|
328
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
329
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
330
|
+
*/
|
|
331
|
+
const cancelWorkflowRun = factory("cancelWorkflowRun");
|
|
332
|
+
/**
|
|
333
|
+
* Re-run a workflow run, optionally only the failed jobs. Requires approval by default.
|
|
334
|
+
*
|
|
335
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
336
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
337
|
+
*/
|
|
338
|
+
const rerunWorkflowRun = factory("rerunWorkflowRun");
|
|
339
|
+
/**
|
|
340
|
+
* Diagnose CI failures for a ref — combined status, failing checks, and failed workflow jobs in one call.
|
|
341
|
+
*
|
|
342
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
343
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
344
|
+
*/
|
|
345
|
+
const getCiFailureContext = factory("getCiFailureContext");
|
|
346
|
+
/**
|
|
347
|
+
* Fetch a release plus the previous release and tag comparison in one call.
|
|
348
|
+
*
|
|
349
|
+
* @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`
|
|
350
|
+
* instead. See https://github-tools.com/frameworks/eve-extension.
|
|
351
|
+
*/
|
|
352
|
+
const getReleaseContext = factory("getReleaseContext");
|
|
353
|
+
//#endregion
|
|
354
|
+
export { GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, MISSING_EVE_MESSAGE, PRESET_TOOLS, addIssueComment, addLabels, addPullRequestComment, buildEveToolDefinition, buildEveToolMap, cancelWorkflowRun, closeIssue, createBranch, createEveGithubToolsDynamic, createGist, createGistComment, createGithubTools, createIssue, createOrUpdateFile, createPullRequest, createPullRequestReview, createRepository, deleteGist, executeGithubEveTool, forkRepository, getBlame, getCiFailureContext, getCommit, getFileContent, getGist, getIssue, getIssueContext, getPullRequest, getPullRequestContext, getReleaseContext, getRepository, getWorkflowRun, listBranches, listCommits, listEveToolDescriptors, listGistComments, listGists, listIssues, listLabels, listPullRequestFiles, listPullRequestReviews, listPullRequests, listResolvedEveToolNames, listWorkflowJobs, listWorkflowRuns, listWorkflows, mapEveApprovalValue, mergePullRequest, removeLabel, rerunWorkflowRun, resolveEveApproval, searchCode, searchRepositories, triggerWorkflow, updateGist };
|
|
355
|
+
|
|
356
|
+
//# sourceMappingURL=eve.mjs.map
|
package/dist/eve.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eve.mjs","names":[],"sources":["../src/eve.ts"],"sourcesContent":["/**\n * Legacy eve registration for `agent/tools/` (direct import).\n *\n * Prefer `@github-tools/eve-extension` for new agents. Shared runtime helpers\n * used by the extension live on `@github-tools/sdk/eve-runtime` — import those\n * from there rather than this subpath.\n */\n\nimport { buildEveToolDefinition, createEveGithubToolsDynamic } from './eve/build'\nimport type { EveToolFactoryOptions } from './eve/types'\n\nexport {\n buildEveToolDefinition,\n buildEveToolMap,\n createEveGithubToolsDynamic,\n listResolvedEveToolNames,\n listEveToolDescriptors,\n executeGithubEveTool,\n mapEveApprovalValue,\n resolveEveApproval,\n PRESET_TOOLS,\n GITHUB_TOOL_NAMES,\n GITHUB_WRITE_TOOLS,\n MISSING_EVE_MESSAGE,\n} from './eve-runtime'\nexport type {\n EveApprovalConfig,\n EveApprovalValue,\n EveGithubToolsOptions,\n EveToolFactoryOptions,\n EveToolOverrides,\n GithubToolPreset,\n PresetToolName,\n CombinedPresetToolNames,\n GithubToolName,\n GithubWriteToolName,\n AllGithubTools,\n GithubToolsForPreset,\n PickGithubTools,\n CommitIdentity,\n} from './eve-runtime'\n\n/**\n * Register all GitHub tools (or a preset subset) as eve dynamic capabilities.\n *\n * Export as the default from `agent/tools/github.ts`:\n *\n * ```ts\n * import { createGithubTools } from '@github-tools/sdk/eve'\n * export default createGithubTools({ preset: 'code-review' })\n * ```\n *\n * @deprecated Use the mountable `@github-tools/eve-extension` (`githubExtension`) instead — it is now the\n * recommended way to add GitHub tools to an eve agent. This direct import keeps working but is no longer\n * the recommended path. See https://github-tools.com/frameworks/eve-extension.\n */\nexport function createGithubTools(options?: import('./eve/types').EveGithubToolsOptions) {\n return createEveGithubToolsDynamic(options ?? {})\n}\n\nfunction factory(name: Parameters<typeof buildEveToolDefinition>[0]) {\n return (options?: EveToolFactoryOptions) => buildEveToolDefinition(name, options)\n}\n\n/**\n * Get information about a GitHub repository including description, stars, forks, language, and default branch.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getRepository = factory('getRepository')\n/**\n * List branches in a GitHub repository.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listBranches = factory('listBranches')\n/**\n * Get the content of a file from a GitHub repository.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getFileContent = factory('getFileContent')\n/**\n * Create a new branch in a GitHub repository from an existing branch or commit SHA. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const createBranch = factory('createBranch')\n/**\n * Fork a GitHub repository to the authenticated user account or a specified organization. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const forkRepository = factory('forkRepository')\n/**\n * Create a new GitHub repository for the authenticated user or a specified organization. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const createRepository = factory('createRepository')\n/**\n * Create or update a file in a GitHub repository. Provide the SHA when updating an existing file. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const createOrUpdateFile = factory('createOrUpdateFile')\n/**\n * List pull requests for a GitHub repository.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listPullRequests = factory('listPullRequests')\n/**\n * Get detailed information about a specific pull request.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getPullRequest = factory('getPullRequest')\n/**\n * Create a new pull request in a GitHub repository. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const createPullRequest = factory('createPullRequest')\n/**\n * Merge a pull request. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const mergePullRequest = factory('mergePullRequest')\n/**\n * Add a comment to a pull request. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const addPullRequestComment = factory('addPullRequestComment')\n/**\n * List files changed in a pull request, including diff status and patch content.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listPullRequestFiles = factory('listPullRequestFiles')\n/**\n * List reviews on a pull request (approvals, change requests, and comments).\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listPullRequestReviews = factory('listPullRequestReviews')\n/**\n * Submit a pull request review with optional inline comments. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const createPullRequestReview = factory('createPullRequestReview')\n/**\n * Fetch pull request details plus files, reviews, and optional CI checks in one call.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getPullRequestContext = factory('getPullRequestContext')\n/**\n * Fetch an issue plus available label names and recent comments in one call.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getIssueContext = factory('getIssueContext')\n/**\n * List issues for a GitHub repository (excludes pull requests).\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listIssues = factory('listIssues')\n/**\n * Get detailed information about a specific issue.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getIssue = factory('getIssue')\n/**\n * Create a new issue in a GitHub repository. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const createIssue = factory('createIssue')\n/**\n * Add a comment to a GitHub issue. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const addIssueComment = factory('addIssueComment')\n/**\n * Close an open GitHub issue. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const closeIssue = factory('closeIssue')\n/**\n * List labels available in a GitHub repository.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listLabels = factory('listLabels')\n/**\n * Add labels to an issue or pull request. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const addLabels = factory('addLabels')\n/**\n * Remove a label from an issue or pull request. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const removeLabel = factory('removeLabel')\n/**\n * Search for code in GitHub repositories. Use qualifiers like \"repo:owner/name\" to scope the search.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const searchCode = factory('searchCode')\n/**\n * Search for GitHub repositories by keyword, topic, language, or other qualifiers.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const searchRepositories = factory('searchRepositories')\n/**\n * List commits for a GitHub repository. Filter by file path to see commits that touched a file.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listCommits = factory('listCommits')\n/**\n * Get detailed information about a specific commit, including files changed with additions and deletions.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getCommit = factory('getCommit')\n/**\n * Line-level git blame for a file at a commit-like ref (branch, tag, or SHA).\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getBlame = factory('getBlame')\n/**\n * List gists for the authenticated user or a specific user.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listGists = factory('listGists')\n/**\n * Get a gist by ID, including file contents.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getGist = factory('getGist')\n/**\n * List comments on a gist.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listGistComments = factory('listGistComments')\n/**\n * Create a new gist with one or more files. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const createGist = factory('createGist')\n/**\n * Update an existing gist. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const updateGist = factory('updateGist')\n/**\n * Delete a gist permanently. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const deleteGist = factory('deleteGist')\n/**\n * Add a comment to a gist. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const createGistComment = factory('createGistComment')\n/**\n * List GitHub Actions workflows in a repository.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listWorkflows = factory('listWorkflows')\n/**\n * List workflow runs for a repository, optionally filtered by workflow, branch, status, or event.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listWorkflowRuns = factory('listWorkflowRuns')\n/**\n * Get details of a specific workflow run including status, timing, and trigger info.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getWorkflowRun = factory('getWorkflowRun')\n/**\n * List jobs for a workflow run, including step-level status and timing.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const listWorkflowJobs = factory('listWorkflowJobs')\n/**\n * Trigger a workflow via workflow_dispatch event. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const triggerWorkflow = factory('triggerWorkflow')\n/**\n * Cancel an in-progress workflow run. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const cancelWorkflowRun = factory('cancelWorkflowRun')\n/**\n * Re-run a workflow run, optionally only the failed jobs. Requires approval by default.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const rerunWorkflowRun = factory('rerunWorkflowRun')\n/**\n * Diagnose CI failures for a ref — combined status, failing checks, and failed workflow jobs in one call.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getCiFailureContext = factory('getCiFailureContext')\n/**\n * Fetch a release plus the previous release and tag comparison in one call.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/frameworks/eve-extension.\n */\nexport const getReleaseContext = factory('getReleaseContext')\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAwDA,SAAgB,kBAAkB,SAAuD;CACvF,OAAO,4BAA4B,WAAW,CAAC,CAAC;AAClD;AAEA,SAAS,QAAQ,MAAoD;CACnE,QAAQ,YAAoC,uBAAuB,MAAM,OAAO;AAClF;;;;;;;AAQA,MAAa,gBAAgB,QAAQ,eAAe;;;;;;;AAOpD,MA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