@github-tools/sdk 1.20.0 → 1.22.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.
Files changed (66) hide show
  1. package/README.md +50 -17
  2. package/dist/{approval-policy--kByBqhT.mjs → approval-policy-C2rcAY77.mjs} +3 -4
  3. package/dist/{approval-policy--kByBqhT.mjs.map → approval-policy-C2rcAY77.mjs.map} +1 -1
  4. package/dist/connect/eve.d.mts +2 -4
  5. package/dist/connect/eve.d.mts.map +1 -1
  6. package/dist/connect/eve.mjs +3 -4
  7. package/dist/connect/eve.mjs.map +1 -1
  8. package/dist/connect.d.mts +5 -11
  9. package/dist/connect.d.mts.map +1 -1
  10. package/dist/connect.mjs +3 -4
  11. package/dist/{cores-FLzAv2tu.mjs → cores-CMUr_SEv.mjs} +21 -4
  12. package/dist/cores-CMUr_SEv.mjs.map +1 -0
  13. package/dist/{tool-types-OFyE3z0C.d.mts → dry-run-BAbes7Mv.d.mts} +168 -40
  14. package/dist/dry-run-BAbes7Mv.d.mts.map +1 -0
  15. package/dist/{evaluation-BtoHbxuQ.mjs → evaluation-DskA4Lzk.mjs} +4 -6
  16. package/dist/{evaluation-BtoHbxuQ.mjs.map → evaluation-DskA4Lzk.mjs.map} +1 -1
  17. package/dist/eve-runtime-Bmdw1C-K.d.mts +127 -0
  18. package/dist/eve-runtime-Bmdw1C-K.d.mts.map +1 -0
  19. package/dist/{eve-runtime-C-0doyHq.mjs → eve-runtime-DM9yjOsG.mjs} +193 -22
  20. package/dist/eve-runtime-DM9yjOsG.mjs.map +1 -0
  21. package/dist/eve-runtime.d.mts +5 -5
  22. package/dist/eve-runtime.mjs +4 -4
  23. package/dist/eve.d.mts +103 -63
  24. package/dist/eve.d.mts.map +1 -1
  25. package/dist/eve.mjs +104 -63
  26. package/dist/eve.mjs.map +1 -1
  27. package/dist/{index-C3wlz660.d.mts → index-DgCZi9Ns.d.mts} +52 -56
  28. package/dist/index-DgCZi9Ns.d.mts.map +1 -0
  29. package/dist/index.d.mts +3 -3
  30. package/dist/index.mjs +4 -4
  31. package/dist/{interrupts-BSDPwdJ2.d.mts → interrupts-MwQ_v_PF.d.mts} +1 -3
  32. package/dist/interrupts-MwQ_v_PF.d.mts.map +1 -0
  33. package/dist/rolldown-runtime-D8jQpDG7.mjs +12 -0
  34. package/dist/{src-DyiAVHKl.mjs → src-Djn_FFj1.mjs} +183 -55
  35. package/dist/src-Djn_FFj1.mjs.map +1 -0
  36. package/dist/tanstack/interrupts.d.mts +1 -1
  37. package/dist/tanstack/interrupts.mjs +1 -2
  38. package/dist/tanstack.d.mts +534 -208
  39. package/dist/tanstack.d.mts.map +1 -1
  40. package/dist/tanstack.mjs +37 -21
  41. package/dist/tanstack.mjs.map +1 -1
  42. package/dist/{token-DIwB-wtp.mjs → token-HpJhSRkl.mjs} +7 -10
  43. package/dist/token-HpJhSRkl.mjs.map +1 -0
  44. package/dist/{types-CJqhvQwi.d.mts → types-8KtcPTao.d.mts} +3 -7
  45. package/dist/types-8KtcPTao.d.mts.map +1 -0
  46. package/dist/{types-ITYfXMtY.d.mts → types-C-BIKmas.d.mts} +14 -4
  47. package/dist/types-C-BIKmas.d.mts.map +1 -0
  48. package/dist/workflow.d.mts +9 -4
  49. package/dist/workflow.d.mts.map +1 -1
  50. package/dist/workflow.mjs +7 -6
  51. package/dist/workflow.mjs.map +1 -1
  52. package/dist/{write-tools-DnGZw-RD.mjs → write-tools-BR29EOoM.mjs} +483 -113
  53. package/dist/write-tools-BR29EOoM.mjs.map +1 -0
  54. package/package.json +1 -1
  55. package/dist/cores-FLzAv2tu.mjs.map +0 -1
  56. package/dist/eve-runtime-C-0doyHq.mjs.map +0 -1
  57. package/dist/eve-runtime-CflZNuXD.d.mts +0 -85
  58. package/dist/eve-runtime-CflZNuXD.d.mts.map +0 -1
  59. package/dist/index-C3wlz660.d.mts.map +0 -1
  60. package/dist/interrupts-BSDPwdJ2.d.mts.map +0 -1
  61. package/dist/src-DyiAVHKl.mjs.map +0 -1
  62. package/dist/token-DIwB-wtp.mjs.map +0 -1
  63. package/dist/tool-types-OFyE3z0C.d.mts.map +0 -1
  64. package/dist/types-CJqhvQwi.d.mts.map +0 -1
  65. package/dist/types-ITYfXMtY.d.mts.map +0 -1
  66. package/dist/write-tools-DnGZw-RD.mjs.map +0 -1
package/dist/eve.mjs.map CHANGED
@@ -1 +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 resolveEveToolApproval,\n isEveApprovalDisabled,\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 * Edit files in one commit, by exact text replacement or whole contents, on a new or existing branch, and optionally open 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 editFiles = factory('editFiles')\n/**\n * List the required checks, required reviews and other rules that protect a 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 getBranchRules = factory('getBranchRules')\n/**\n * List code scanning alerts for 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 listCodeScanningAlerts = factory('listCodeScanningAlerts')\n/**\n * List Dependabot alerts for vulnerable dependencies.\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 listDependabotAlerts = factory('listDependabotAlerts')\n/**\n * List secret scanning alerts, without the secrets.\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 listSecretScanningAlerts = factory('listSecretScanningAlerts')\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 * Merge a pull request once its required checks and reviews pass. 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 enablePullRequestAutoMerge = factory('enablePullRequestAutoMerge')\n/**\n * Cancel a pending auto-merge. 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 disablePullRequestAutoMerge = factory('disablePullRequestAutoMerge')\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 * List comments on a GitHub issue. Prefer getIssueContext for the first page when triaging.\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 listIssueComments = factory('listIssueComments')\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 * Create a label 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 createLabel = factory('createLabel')\n/**\n * Update a label 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 updateLabel = factory('updateLabel')\n/**\n * Delete a label from a GitHub repository 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 deleteLabel = factory('deleteLabel')\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":"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"}
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 resolveEveToolApproval,\n isEveApprovalDisabled,\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\n */\nexport const createOrUpdateFile = factory('createOrUpdateFile')\n/**\n * Edit files in one commit, by exact text replacement or whole contents, on a new or existing branch, and optionally open 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/integrations/eve.\n */\nexport const editFiles = factory('editFiles')\n/**\n * List the required checks, required reviews and other rules that protect a branch.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/integrations/eve.\n */\nexport const getBranchRules = factory('getBranchRules')\n/**\n * Get a user's permission and role on a repository, to check whether they may trigger the bot or approve an action.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/integrations/eve.\n */\nexport const getCollaboratorPermission = factory('getCollaboratorPermission')\n/**\n * List code scanning alerts for 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/integrations/eve.\n */\nexport const listCodeScanningAlerts = factory('listCodeScanningAlerts')\n/**\n * List Dependabot alerts for vulnerable dependencies.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/integrations/eve.\n */\nexport const listDependabotAlerts = factory('listDependabotAlerts')\n/**\n * List secret scanning alerts, without the secrets.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/integrations/eve.\n */\nexport const listSecretScanningAlerts = factory('listSecretScanningAlerts')\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\n */\nexport const mergePullRequest = factory('mergePullRequest')\n/**\n * Merge a pull request once its required checks and reviews pass. 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/integrations/eve.\n */\nexport const enablePullRequestAutoMerge = factory('enablePullRequestAutoMerge')\n/**\n * Cancel a pending auto-merge. 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/integrations/eve.\n */\nexport const disablePullRequestAutoMerge = factory('disablePullRequestAutoMerge')\n/**\n * Bring a pull request branch up to date by merging its base branch into it. 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/integrations/eve.\n */\nexport const updatePullRequestBranch = factory('updatePullRequestBranch')\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\n */\nexport const getIssue = factory('getIssue')\n/**\n * List comments on a GitHub issue. Prefer getIssueContext for the first page when triaging.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/integrations/eve.\n */\nexport const listIssueComments = factory('listIssueComments')\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\n */\nexport const closeIssue = factory('closeIssue')\n/**\n * List milestones in a GitHub repository with their due dates and issue counts.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/integrations/eve.\n */\nexport const listMilestones = factory('listMilestones')\n/**\n * List the sub-issues of an issue.\n *\n * @deprecated Cherry-picking eve tool factories directly is deprecated — mount `@github-tools/eve-extension`\n * instead. See https://github-tools.com/integrations/eve.\n */\nexport const listSubIssues = factory('listSubIssues')\n/**\n * Add an existing issue as a sub-issue of another 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/integrations/eve.\n */\nexport const addSubIssue = factory('addSubIssue')\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\n */\nexport const removeLabel = factory('removeLabel')\n/**\n * Create a label 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/integrations/eve.\n */\nexport const createLabel = factory('createLabel')\n/**\n * Update a label 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/integrations/eve.\n */\nexport const updateLabel = factory('updateLabel')\n/**\n * Delete a label from a GitHub repository 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/integrations/eve.\n */\nexport const deleteLabel = factory('deleteLabel')\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\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/integrations/eve.\n */\nexport const rerunWorkflowRun = factory('rerunWorkflowRun')\n/**\n * Report a result on a commit as a commit status. 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/integrations/eve.\n */\nexport const createCommitStatus = factory('createCommitStatus')\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/integrations/eve.\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/integrations/eve.\n */\nexport const getReleaseContext = factory('getReleaseContext')\n"],"mappings":"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"}
@@ -1,8 +1,7 @@
1
- import { B as GithubToolName, F as GithubToolPreset, L as PresetToolName, P as CombinedPresetToolNames, a as GithubToolsContext, c as GithubTool, j as GithubTokenInput, n as GithubToolsBaseOptions, o as CommitIdentity, s as CommitToolOptions, t as AllGithubTools, u as ToolOptions } from "./tool-types-OFyE3z0C.mjs";
1
+ import { B as GithubToolPreset, G as GithubToolName, H as PresetToolName, L as GithubGuardrails, N as GithubTokenInput, c as CommitIdentity, f as ToolOptions, i as GithubToolsBaseOptions, l as CommitToolOptions, r as AllGithubTools, s as GithubToolsContext, u as GithubTool, z as CombinedPresetToolNames } from "./dry-run-BAbes7Mv.mjs";
2
2
  import { ToolLoopAgent, ToolLoopAgentSettings, ToolSet } from "ai";
3
3
  import { Octokit } from "octokit";
4
4
  import "evlog";
5
- //#region src/core/instructions.d.ts
6
5
  /**
7
6
  * Guidance for using the GitHub tools, for an agent that has its own system prompt, such as an eve
8
7
  * agent mounting the GitHub extension. Unlike {@link resolveInstructions}, it leaves out the
@@ -13,8 +12,6 @@ declare function resolveToolGuidance(options: {
13
12
  preset?: GithubToolPreset | GithubToolPreset[];
14
13
  context?: GithubToolsContext;
15
14
  }): string;
16
- //#endregion
17
- //#region src/agents.d.ts
18
15
  /** Name of the tool `preset: 'auto'` adds so the model can call GitHub tools that were not picked. */
19
16
  declare const CALL_GITHUB_TOOL = "callGithubTool";
20
17
  type AgentOptions = Omit<ToolLoopAgentSettings<ToolSet>, 'model' | 'tools' | 'instructions'>;
@@ -57,11 +54,7 @@ declare function createGithubAgent<P extends GithubToolPreset>(options: CreateGi
57
54
  declare function createGithubAgent<P extends readonly GithubToolPreset[]>(options: CreateGithubAgentOptions & {
58
55
  preset: P;
59
56
  }): ToolLoopAgent<never, Pick<AllGithubTools, CombinedPresetToolNames<P>>>;
60
- //#endregion
61
- //#region src/client.d.ts
62
57
  declare function createOctokit(token: string): Octokit;
63
- //#endregion
64
- //#region src/tools/repository.d.ts
65
58
  /** Get information about a GitHub repository including description, stars, forks, language, and default branch. */
66
59
  declare const getRepository: (token: GithubTokenInput) => GithubTool;
67
60
  /** List branches in a GitHub repository. */
@@ -84,10 +77,16 @@ declare const createOrUpdateFile: (token: GithubTokenInput, { needsApproval, aut
84
77
  declare const editFiles: (token: GithubTokenInput, { needsApproval, author, committer, coAuthors }?: CommitToolOptions) => GithubTool;
85
78
  /** List the required checks, required reviews and other rules that protect a branch. */
86
79
  declare const getBranchRules: (token: GithubTokenInput) => GithubTool;
87
- //#endregion
88
- //#region src/tools/pull-requests.d.ts
80
+ /** Get a user's permission and role on a repository. */
81
+ declare const getCollaboratorPermission: (token: GithubTokenInput) => GithubTool;
89
82
  type MergeToolOptions = ToolOptions & {
90
83
  coAuthors?: CommitIdentity[];
84
+ /** Base branches the pull request may be merged into, as in `guardrails.branches`. */
85
+ branches?: string[];
86
+ };
87
+ type UpdateBranchToolOptions = ToolOptions & {
88
+ /** Repositories and branches the pull request's head must match, as in `guardrails`. */
89
+ guardrails?: Pick<GithubGuardrails, 'repositories' | 'branches'>;
91
90
  };
92
91
  /** List pull requests for a GitHub repository. */
93
92
  declare const listPullRequests: (token: GithubTokenInput) => GithubTool;
@@ -96,7 +95,7 @@ declare const getPullRequest: (token: GithubTokenInput) => GithubTool;
96
95
  /** Create a new pull request in a GitHub repository. Requires approval by default. */
97
96
  declare const createPullRequest: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
98
97
  /** Merge a pull request. Requires approval by default. */
99
- declare const mergePullRequest: (token: GithubTokenInput, { needsApproval, coAuthors }?: MergeToolOptions) => GithubTool;
98
+ declare const mergePullRequest: (token: GithubTokenInput, { needsApproval, coAuthors, branches }?: MergeToolOptions) => GithubTool;
100
99
  /** Update a pull request — title, body, state, base branch, or draft status. Requires approval by default. */
101
100
  declare const updatePullRequest: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
102
101
  /** Add a comment to a pull request. Requires approval by default. */
@@ -120,11 +119,11 @@ declare const resolveReviewThread: (token: GithubTokenInput, { needsApproval }?:
120
119
  /** Request reviews from users or teams on a pull request. Requires approval by default. */
121
120
  declare const requestReviewers: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
122
121
  /** Merge a pull request automatically once its required checks and reviews pass. Requires approval by default. */
123
- declare const enablePullRequestAutoMerge: (token: GithubTokenInput, { needsApproval, coAuthors }?: MergeToolOptions) => GithubTool;
122
+ declare const enablePullRequestAutoMerge: (token: GithubTokenInput, { needsApproval, coAuthors, branches }?: MergeToolOptions) => GithubTool;
124
123
  /** Cancel a pending auto-merge. Requires approval by default. */
125
124
  declare const disablePullRequestAutoMerge: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
126
- //#endregion
127
- //#region src/tools/issues.d.ts
125
+ /** Merge a pull request's base branch into its head branch. Requires approval by default. */
126
+ declare const updatePullRequestBranch: (token: GithubTokenInput, { needsApproval, guardrails }?: UpdateBranchToolOptions) => GithubTool;
128
127
  /** List issues for a GitHub repository (excludes pull requests). */
129
128
  declare const listIssues: (token: GithubTokenInput) => GithubTool;
130
129
  /** Get detailed information about a specific issue. */
@@ -159,8 +158,12 @@ declare const deleteLabel: (token: GithubTokenInput, { needsApproval }?: ToolOpt
159
158
  declare const addAssignees: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
160
159
  /** Remove assignees from an issue or pull request. Requires approval by default. */
161
160
  declare const removeAssignees: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
162
- //#endregion
163
- //#region src/tools/reactions.d.ts
161
+ /** List milestones in a GitHub repository with their due dates and issue counts. */
162
+ declare const listMilestones: (token: GithubTokenInput) => GithubTool;
163
+ /** List the sub-issues of an issue. */
164
+ declare const listSubIssues: (token: GithubTokenInput) => GithubTool;
165
+ /** Add an existing issue as a sub-issue of another issue. Requires approval by default. */
166
+ declare const addSubIssue: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
164
167
  /** List reactions on an issue or pull request conversation. */
165
168
  declare const listIssueReactions: (token: GithubTokenInput) => GithubTool;
166
169
  /** React to an issue or pull request with an emoji. Requires approval by default. */
@@ -169,30 +172,22 @@ declare const addIssueReaction: (token: GithubTokenInput, { needsApproval }?: To
169
172
  declare const listCommentReactions: (token: GithubTokenInput) => GithubTool;
170
173
  /** React to an issue or pull request comment with an emoji. Requires approval by default. */
171
174
  declare const addCommentReaction: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
172
- //#endregion
173
- //#region src/tools/discussions.d.ts
174
175
  /** List discussions in a repository, optionally filtered by category. */
175
176
  declare const listDiscussions: (token: GithubTokenInput) => GithubTool;
176
177
  /** Get a discussion by number. */
177
178
  declare const getDiscussion: (token: GithubTokenInput) => GithubTool;
178
179
  /** Add a comment to a discussion. Requires approval by default. */
179
180
  declare const addDiscussionComment: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
180
- //#endregion
181
- //#region src/tools/notifications.d.ts
182
181
  /** List notification threads for the authenticated user. */
183
182
  declare const listNotifications: (token: GithubTokenInput) => GithubTool;
184
183
  /** Mark a notification thread as read. Requires approval by default. */
185
184
  declare const markNotificationRead: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
186
- //#endregion
187
- //#region src/tools/search.d.ts
188
185
  /** Search for code in GitHub repositories. Use qualifiers like "repo:owner/name" to scope the search. Results include matching text snippets when GitHub returns them. */
189
186
  declare const searchCode: (token: GithubTokenInput) => GithubTool;
190
187
  /** Search for GitHub repositories by keyword, topic, language, or other qualifiers. */
191
188
  declare const searchRepositories: (token: GithubTokenInput) => GithubTool;
192
189
  /** Search for issues and pull requests across GitHub using search qualifiers like "repo:owner/name is:open". */
193
190
  declare const searchIssues: (token: GithubTokenInput) => GithubTool;
194
- //#endregion
195
- //#region src/tools/commits.d.ts
196
191
  /** List commits for a GitHub repository. Filter by file path to see commits that touched a file. */
197
192
  declare const listCommits: (token: GithubTokenInput) => GithubTool;
198
193
  /** Get detailed information about a specific commit. Patches omitted by default. */
@@ -201,8 +196,6 @@ declare const getCommit: (token: GithubTokenInput) => GithubTool;
201
196
  declare const getBlame: (token: GithubTokenInput) => GithubTool;
202
197
  /** Compare two branches, tags, or commits. Patches omitted by default. */
203
198
  declare const compareCommits: (token: GithubTokenInput) => GithubTool;
204
- //#endregion
205
- //#region src/tools/gists.d.ts
206
199
  /** List gists for the authenticated user or a specific user. */
207
200
  declare const listGists: (token: GithubTokenInput) => GithubTool;
208
201
  /** Get a gist by ID, including file contents. */
@@ -217,8 +210,6 @@ declare const updateGist: (token: GithubTokenInput, { needsApproval }?: ToolOpti
217
210
  declare const deleteGist: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
218
211
  /** Add a comment to a gist. Requires approval by default. */
219
212
  declare const createGistComment: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
220
- //#endregion
221
- //#region src/tools/workflows.d.ts
222
213
  /** List GitHub Actions workflows in a repository. */
223
214
  declare const listWorkflows: (token: GithubTokenInput) => GithubTool;
224
215
  /** List workflow runs for a repository, optionally filtered by workflow, branch, status, or event. */
@@ -235,22 +226,18 @@ declare const triggerWorkflow: (token: GithubTokenInput, { needsApproval }?: Too
235
226
  declare const cancelWorkflowRun: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
236
227
  /** Re-run a workflow run, optionally only the failed jobs. Requires approval by default. */
237
228
  declare const rerunWorkflowRun: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
238
- //#endregion
239
- //#region src/tools/checks.d.ts
240
229
  /** List check runs (Checks API — GitHub Actions and other CI providers) for a commit, branch, or tag. */
241
230
  declare const listCheckRuns: (token: GithubTokenInput) => GithubTool;
242
231
  /** Get the combined commit status (Statuses API — legacy CI integrations) for a commit, branch, or tag. */
243
232
  declare const getCombinedStatus: (token: GithubTokenInput) => GithubTool;
244
- //#endregion
245
- //#region src/tools/security.d.ts
233
+ /** Report a result on a commit as a commit status. Requires approval by default. */
234
+ declare const createCommitStatus: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
246
235
  /** List code scanning alerts for a repository, with the rule, severity and location. */
247
236
  declare const listCodeScanningAlerts: (token: GithubTokenInput) => GithubTool;
248
237
  /** List Dependabot alerts for vulnerable dependencies, with the advisory and the first patched version. */
249
238
  declare const listDependabotAlerts: (token: GithubTokenInput) => GithubTool;
250
239
  /** List secret scanning alerts for a repository. The secret itself is never returned. */
251
240
  declare const listSecretScanningAlerts: (token: GithubTokenInput) => GithubTool;
252
- //#endregion
253
- //#region src/tools/releases.d.ts
254
241
  /** List releases for a GitHub repository, newest first (includes drafts and prereleases). */
255
242
  declare const listReleases: (token: GithubTokenInput) => GithubTool;
256
243
  /** Get the latest published release for a GitHub repository (excludes drafts and prereleases). */
@@ -263,8 +250,6 @@ declare const createRelease: (token: GithubTokenInput, { needsApproval }?: ToolO
263
250
  declare const updateRelease: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
264
251
  /** Delete a release permanently. Requires approval by default. */
265
252
  declare const deleteRelease: (token: GithubTokenInput, { needsApproval }?: ToolOptions) => GithubTool;
266
- //#endregion
267
- //#region src/tools/bundles.d.ts
268
253
  /** Fetch pull request details plus files, reviews, and optional CI checks in one call. */
269
254
  declare const getPullRequestContext: (token: GithubTokenInput) => GithubTool;
270
255
  /** Fetch an issue plus available label names and recent comments in one call. */
@@ -273,8 +258,6 @@ declare const getIssueContext: (token: GithubTokenInput) => GithubTool;
273
258
  declare const getReleaseContext: (token: GithubTokenInput) => GithubTool;
274
259
  /** Diagnose CI failures for a ref — combined status, failing checks, and failed workflow jobs. */
275
260
  declare const getCiFailureContext: (token: GithubTokenInput) => GithubTool;
276
- //#endregion
277
- //#region src/core/rate-limit.d.ts
278
261
  /**
279
262
  * GitHub REST/GraphQL rate-limit snapshot from the last request in a tool call.
280
263
  * Present on object-shaped execute results; stripped before the model sees the output.
@@ -286,8 +269,6 @@ type GithubRateLimit = {
286
269
  resource?: string;
287
270
  retryAfter?: number;
288
271
  };
289
- //#endregion
290
- //#region src/core/errors.d.ts
291
272
  /**
292
273
  * Structured error catalog for every failure the SDK can surface to a model
293
274
  * or a consumer. Each entry carries `why` (technical cause) and `fix`
@@ -301,7 +282,7 @@ declare const githubToolsErrors: import("evlog").ErrorCatalog<"github_tools", {
301
282
  readonly message: "GitHub token is required. Pass it as `token` or set the GITHUB_TOKEN environment variable.";
302
283
  readonly why: "No token string, async token provider, or GITHUB_TOKEN environment variable was available when the tool resolved its GitHub credentials.";
303
284
  readonly fix: "Pass `token` (a PAT string or async provider) when creating the tools, set GITHUB_TOKEN, or configure a Vercel Connect `connector`.";
304
- readonly link: "https://github-tools.com/guide/tokens-and-auth";
285
+ readonly link: "https://github-tools.com/auth";
305
286
  };
306
287
  readonly OIDC_TOKEN_EXPIRED: {
307
288
  readonly status: 401;
@@ -310,7 +291,7 @@ declare const githubToolsErrors: import("evlog").ErrorCatalog<"github_tools", {
310
291
  }) => string;
311
292
  readonly why: "The SDK pins the VERCEL_OIDC_TOKEN environment token when it is set (skipping @vercel/oidc's project-root walk, which fails inside eve/workflow snapshots), so an expired env token is never refreshed automatically.";
312
293
  readonly fix: "Locally: run `vercel env pull` to refresh .env.local. On Vercel: deployments inject a fresh token — check nothing overrides VERCEL_OIDC_TOKEN with a stale value.";
313
- readonly link: "https://github-tools.com/guide/vercel-connect#eve-agent";
294
+ readonly link: "https://github-tools.com/auth#expired-oidc-tokens";
314
295
  };
315
296
  readonly CONNECT_NOT_AUTHORIZED: {
316
297
  readonly status: 403;
@@ -319,7 +300,7 @@ declare const githubToolsErrors: import("evlog").ErrorCatalog<"github_tools", {
319
300
  }) => string;
320
301
  readonly why: "Connect rejected the identity of the calling process (the Vercel OIDC token), not the GitHub permissions — the request never reached GitHub.";
321
302
  readonly fix: "Refresh the OIDC token (`vercel env pull` locally) and check the connector is linked to the Vercel project this code runs in.";
322
- readonly link: "https://github-tools.com/guide/vercel-connect#setup-checklist";
303
+ readonly link: "https://github-tools.com/auth#create-a-github-connector";
323
304
  };
324
305
  readonly CONNECT_USER_NOT_CONNECTED: {
325
306
  readonly status: 401;
@@ -328,7 +309,7 @@ declare const githubToolsErrors: import("evlog").ErrorCatalog<"github_tools", {
328
309
  }) => string;
329
310
  readonly why: "The Connect token was requested with a user subject, but that user has not connected their GitHub account to this connector (or revoked the authorization).";
330
311
  readonly fix: "Have the user connect their GitHub account (e.g. from the integrations panel), then retry.";
331
- readonly link: "https://github-tools.com/guide/vercel-connect#per-user-tokens";
312
+ readonly link: "https://github-tools.com/auth#per-user-tokens";
332
313
  };
333
314
  readonly CONNECT_INSTALLATION_REQUIRED: {
334
315
  readonly status: 401;
@@ -338,35 +319,53 @@ declare const githubToolsErrors: import("evlog").ErrorCatalog<"github_tools", {
338
319
  }) => string;
339
320
  readonly why: "The connector exists but its GitHub App is not installed on the target org or user account, so Connect cannot mint a token for it.";
340
321
  readonly fix: "Install the connector's GitHub App on the org or account named in the message (from the Vercel Connect dashboard), or target a repository on an account where it is installed.";
341
- readonly link: "https://github-tools.com/guide/vercel-connect#create-a-github-connector";
322
+ readonly link: "https://github-tools.com/auth#create-a-github-connector";
342
323
  };
343
324
  readonly SUBJECT_CONTEXT_REQUIRED: {
344
325
  readonly status: 500;
345
326
  readonly message: "A `connect` or `connect.subject` resolver needs the tool execution context — it is only available while a tool call executes.";
346
327
  readonly why: "A per-call Connect resolver was invoked without an eve ToolContext and tool call, which only exist during tool execution.";
347
328
  readonly fix: "Keep Connect resolver calls on the tool execute path; use static `connect` params when no execution context is available.";
348
- readonly link: "https://github-tools.com/frameworks/eve-extension#per-user-tokens";
329
+ readonly link: "https://github-tools.com/integrations/eve#per-user-tokens";
349
330
  };
350
331
  readonly SESSION_SCOPE_NEEDS_TOOL_SELECTION: {
351
332
  readonly status: 500;
352
333
  readonly message: "`evaluation.scope: 'session'` on `createGithubAgent` does not work with `evaluation.selection: 'presets'`.";
353
334
  readonly why: "With presets, a request later in the conversation could need a tool outside the presets picked for the first request, and the agent would have no way to reach it. Tool selection adds `callGithubTool` for that.";
354
335
  readonly fix: "Remove `selection: 'presets'` to pick single tools, the default, or remove `scope: 'session'` to route presets for each request. The eve extension accepts both together, because it defers unlisted tools.";
355
- readonly link: "https://github-tools.com/guide/presets#keep-the-prompt-cache-across-requests";
336
+ readonly link: "https://github-tools.com/presets#keep-the-prompt-cache-across-requests";
356
337
  };
357
338
  readonly DURABLE_GENERATE_UNAVAILABLE: {
358
339
  readonly status: 500;
359
340
  readonly message: "`createDurableGithubAgent(...).generate()` needs `WorkflowAgent.generate()` from `@ai-sdk/workflow` 2.0.59 or later.";
360
341
  readonly why: "The installed `@ai-sdk/workflow` has no non-streaming `WorkflowAgent.generate()`.";
361
342
  readonly fix: "Upgrade `@ai-sdk/workflow` to 2.0.59 or later, or call `.stream()` instead.";
362
- readonly link: "https://github-tools.com/frameworks/vercel-workflow#non-streaming-bot-background-job";
343
+ readonly link: "https://github-tools.com/integrations/workflow#non-streaming";
344
+ };
345
+ readonly GUARDRAIL_BLOCKED: {
346
+ readonly status: 403;
347
+ readonly message: ({ reason }: {
348
+ reason: string;
349
+ }) => string;
350
+ readonly why: "The call targets a repository or branch outside the `guardrails` these tools were created with. Guardrails apply whoever approves the call.";
351
+ readonly fix: "Act on a repository and branch the guardrails allow, such as a branch matching the allowed patterns, or ask the user to change `guardrails`.";
352
+ readonly link: "https://github-tools.com/approval#guardrails";
353
+ };
354
+ readonly CALLER_FORBIDDEN: {
355
+ readonly status: 403;
356
+ readonly message: ({ reason }: {
357
+ reason: string;
358
+ }) => string;
359
+ readonly why: "The tools run with a GitHub App's token for a person who has no token of their own, so each call is limited to what that person may do on the target repository.";
360
+ readonly fix: "Tell the person which access they are missing. Do not retry the call or reach the same result another way.";
361
+ readonly link: "https://github-tools.com/integrations/eve#per-user-tokens";
363
362
  };
364
363
  readonly EVALUATION_UNAVAILABLE: {
365
364
  readonly status: 500;
366
365
  readonly message: "`requireApproval: 'auto'` and `preset: 'auto'` need `experimental_decide` (or `experimental_evaluate`) from `ai` 7.0.105 or later.";
367
366
  readonly why: "The installed `ai` package exports neither `experimental_decide` nor `experimental_evaluate`, which run the decision model behind the `'auto'` options.";
368
367
  readonly fix: "Upgrade `ai` to 7.0.105 or later, or replace `'auto'` with `true` / `false` or an explicit preset.";
369
- readonly link: "https://github-tools.com/guide/approval-control#auto-approval";
368
+ readonly link: "https://github-tools.com/approval#let-a-model-decide";
370
369
  };
371
370
  readonly EVALUATION_FAILED: {
372
371
  readonly status: 502;
@@ -377,7 +376,7 @@ declare const githubToolsErrors: import("evlog").ErrorCatalog<"github_tools", {
377
376
  }) => string;
378
377
  readonly why: "The `experimental_decide` call behind `requireApproval: 'auto'` or `preset: 'auto'` threw — typically the model is not enabled for the AI Gateway project, the team has no credits, or the gateway is rate limiting or unavailable.";
379
378
  readonly fix: "Check the evaluation model is available to the project on AI Gateway and has credits, or set `evaluation.model` to one that is. The agent keeps running on the fallback until then.";
380
- readonly link: "https://github-tools.com/guide/approval-control#auto-approval";
379
+ readonly link: "https://github-tools.com/approval#let-a-model-decide";
381
380
  };
382
381
  readonly UNAUTHORIZED: {
383
382
  readonly status: 401;
@@ -395,7 +394,7 @@ declare const githubToolsErrors: import("evlog").ErrorCatalog<"github_tools", {
395
394
  }) => string;
396
395
  readonly why: "The token authenticated but lacks permission: a missing scope on this resource, SAML SSO enforcement, or an API that only accepts user access tokens (gists, notifications) called with an installation token.";
397
396
  readonly fix: "Grant the missing permission on the PAT or GitHub App installation; authorize the token for SAML if the org enforces it; use a user access token for gist and notification tools.";
398
- readonly link: "https://github-tools.com/guide/tokens-and-auth#map-permissions-to-presets";
397
+ readonly link: "https://github-tools.com/auth#permissions-per-preset";
399
398
  };
400
399
  readonly RATE_LIMITED: {
401
400
  readonly status: 429;
@@ -430,8 +429,6 @@ declare module 'evlog' {
430
429
  github_tools: typeof githubToolsErrors;
431
430
  }
432
431
  }
433
- //#endregion
434
- //#region src/index.d.ts
435
432
  type GithubToolsOptions = GithubToolsBaseOptions & {
436
433
  /**
437
434
  * Restrict the returned tools to a predefined preset.
@@ -464,6 +461,5 @@ declare function createGithubTools<P extends readonly GithubToolPreset[]>(option
464
461
  }): Pick<AllGithubTools, CombinedPresetToolNames<P>>;
465
462
  declare function createGithubTools(options?: GithubToolsOptions): AllGithubTools | Pick<AllGithubTools, GithubToolName>;
466
463
  type GithubTools = AllGithubTools & ToolSet;
467
- //#endregion
468
- export { addIssueComment as $, createGistComment as A, updatePullRequest as At, searchCode as B, getRepository as Bt, getWorkflowRun as C, listPullRequestReviewThreads as Ct, rerunWorkflowRun as D, replyToReviewComment as Dt, listWorkflows as E, mergePullRequest as Et, updateGist as F, deleteBranch as Ft, addDiscussionComment as G, CreateGithubAgentOptions as Gt, searchRepositories as H, listBranches as Ht, compareCommits as I, editFiles as It, addCommentReaction as J, getDiscussion as K, createGithubAgent as Kt, getBlame as L, forkRepository as Lt, getGist as M, createBranch as Mt, listGistComments as N, createOrUpdateFile as Nt, triggerWorkflow as O, requestReviewers as Ot, listGists as P, createRepository as Pt, addAssignees as Q, getCommit as R, getBranchRules as Rt, getWorkflowJobLogs as S, listPullRequestFiles as St, listWorkflowRuns as T, listPullRequests as Tt, listNotifications as U, createOctokit as Ut, searchIssues as V, getRepositoryTree as Vt, markNotificationRead as W, CALL_GITHUB_TOOL as Wt, listCommentReactions as X, addIssueReaction as Y, listIssueReactions as Z, listDependabotAlerts as _, createPullRequestReview as _t, GithubRateLimit as a, deleteLabel as at, listCheckRuns as b, enablePullRequestAutoMerge as bt, getPullRequestContext as c, listIssues as ct, deleteRelease as d, removeLabel as dt, addLabels as et, getLatestRelease as f, updateIssue as ft, listCodeScanningAlerts as g, createPullRequest as gt, updateRelease as h, addPullRequestComment as ht, githubToolsErrors as i, deleteIssueComment as it, deleteGist as j, updatePullRequestComment as jt, createGist as k, resolveReviewThread as kt, getReleaseContext as l, listLabels as lt, listReleases as m, updateLabel as mt, GithubToolsOptions as n, createIssue as nt, getCiFailureContext as o, getIssue as ot, getRelease as p, updateIssueComment as pt, listDiscussions as q, resolveToolGuidance as qt, createGithubTools as r, createLabel as rt, getIssueContext as s, listIssueComments as st, GithubTools as t, closeIssue as tt, createRelease as u, removeAssignees as ut, listSecretScanningAlerts as v, deletePullRequestComment as vt, listWorkflowJobs as w, listPullRequestReviews as wt, cancelWorkflowRun as x, getPullRequest as xt, getCombinedStatus as y, disablePullRequestAutoMerge as yt, listCommits as z, getFileContent as zt };
469
- //# sourceMappingURL=index-C3wlz660.d.mts.map
464
+ export { addAssignees as $, resolveToolGuidance as $t, createGist as A, mergePullRequest as At, listCommits as B, deleteBranch as Bt, getWorkflowJobLogs as C, disablePullRequestAutoMerge as Ct, listWorkflows as D, listPullRequestReviewThreads as Dt, listWorkflowRuns as E, listPullRequestFiles as Et, listGists as F, updatePullRequestBranch as Ft, markNotificationRead as G, getFileContent as Gt, searchIssues as H, forkRepository as Ht, updateGist as I, updatePullRequestComment as It, listDiscussions as J, listBranches as Jt, addDiscussionComment as K, getRepository as Kt, compareCommits as L, createBranch as Lt, deleteGist as M, requestReviewers as Mt, getGist as N, resolveReviewThread as Nt, rerunWorkflowRun as O, listPullRequestReviews as Ot, listGistComments as P, updatePullRequest as Pt, listIssueReactions as Q, createGithubAgent as Qt, getBlame as R, createOrUpdateFile as Rt, cancelWorkflowRun as S, deletePullRequestComment as St, listWorkflowJobs as T, getPullRequest as Tt, searchRepositories as U, getBranchRules as Ut, searchCode as V, editFiles as Vt, listNotifications as W, getCollaboratorPermission as Wt, addIssueReaction as X, CALL_GITHUB_TOOL as Xt, addCommentReaction as Y, createOctokit as Yt, listCommentReactions as Z, CreateGithubAgentOptions as Zt, listDependabotAlerts as _, updateIssueComment as _t, GithubRateLimit as a, createLabel as at, getCombinedStatus as b, createPullRequest as bt, getPullRequestContext as c, getIssue as ct, deleteRelease as d, listLabels as dt, addIssueComment as et, getLatestRelease as f, listMilestones as ft, listCodeScanningAlerts as g, updateIssue as gt, updateRelease as h, removeLabel as ht, githubToolsErrors as i, createIssue as it, createGistComment as j, replyToReviewComment as jt, triggerWorkflow as k, listPullRequests as kt, getReleaseContext as l, listIssueComments as lt, listReleases as m, removeAssignees as mt, GithubToolsOptions as n, addSubIssue as nt, getCiFailureContext as o, deleteIssueComment as ot, getRelease as p, listSubIssues as pt, getDiscussion as q, getRepositoryTree as qt, createGithubTools as r, closeIssue as rt, getIssueContext as s, deleteLabel as st, GithubTools as t, addLabels as tt, createRelease as u, listIssues as ut, listSecretScanningAlerts as v, updateLabel as vt, getWorkflowRun as w, enablePullRequestAutoMerge as wt, listCheckRuns as x, createPullRequestReview as xt, createCommitStatus as y, addPullRequestComment as yt, getCommit as z, createRepository as zt };
465
+ //# sourceMappingURL=index-DgCZi9Ns.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-DgCZi9Ns.d.mts","names":[],"sources":["../src/core/instructions.ts","../src/agents.ts","../src/client.ts","../src/tools/repository.ts","../src/tools/pull-requests.ts","../src/tools/issues.ts","../src/tools/reactions.ts","../src/tools/discussions.ts","../src/tools/notifications.ts","../src/tools/search.ts","../src/tools/commits.ts","../src/tools/gists.ts","../src/tools/workflows.ts","../src/tools/checks.ts","../src/tools/security.ts","../src/tools/releases.ts","../src/tools/bundles.ts","../src/core/rate-limit.ts","../src/core/errors.ts","../src/index.ts"],"mappings":"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"}
package/dist/index.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { A as GithubTokenCall, B as GithubToolName, D as AUTO_APPROVAL_TOOLS, E as GITHUB_WRITE_TOOLS, F as GithubToolPreset, I as PRESET_TOOLS, L as PresetToolName, M as resolveGithubToken, N as CORE_READ_TOOLS, O as DEFAULT_EVALUATION_MODEL, P as CombinedPresetToolNames, R as GITHUB_TOOL_NAMES, T as selectTools, V as GithubWriteToolName, a as GithubToolsContext, c as GithubTool, d as ToolOverrides, f as ApprovalConfig, g as GithubEvaluationOptions, i as PickGithubTools, j as GithubTokenInput, l as Octokit, m as ToolApprovalMode, o as CommitIdentity, p as StaticApprovalConfig, r as GithubToolsForPreset, s as CommitToolOptions, t as AllGithubTools, u as ToolOptions, w as selectPresets } from "./tool-types-OFyE3z0C.mjs";
2
- import { $ as addIssueComment, A as createGistComment, At as updatePullRequest, B as searchCode, Bt as getRepository, C as getWorkflowRun, Ct as listPullRequestReviewThreads, D as rerunWorkflowRun, Dt as replyToReviewComment, E as listWorkflows, Et as mergePullRequest, F as updateGist, Ft as deleteBranch, G as addDiscussionComment, Gt as CreateGithubAgentOptions, H as searchRepositories, Ht as listBranches, I as compareCommits, It as editFiles, J as addCommentReaction, K as getDiscussion, Kt as createGithubAgent, L as getBlame, Lt as forkRepository, M as getGist, Mt as createBranch, N as listGistComments, Nt as createOrUpdateFile, O as triggerWorkflow, Ot as requestReviewers, P as listGists, Pt as createRepository, Q as addAssignees, R as getCommit, Rt as getBranchRules, S as getWorkflowJobLogs, St as listPullRequestFiles, T as listWorkflowRuns, Tt as listPullRequests, U as listNotifications, Ut as createOctokit, V as searchIssues, Vt as getRepositoryTree, W as markNotificationRead, Wt as CALL_GITHUB_TOOL, X as listCommentReactions, Y as addIssueReaction, Z as listIssueReactions, _ as listDependabotAlerts, _t as createPullRequestReview, a as GithubRateLimit, at as deleteLabel, b as listCheckRuns, bt as enablePullRequestAutoMerge, c as getPullRequestContext, ct as listIssues, d as deleteRelease, dt as removeLabel, et as addLabels, f as getLatestRelease, ft as updateIssue, g as listCodeScanningAlerts, gt as createPullRequest, h as updateRelease, ht as addPullRequestComment, i as githubToolsErrors, it as deleteIssueComment, j as deleteGist, jt as updatePullRequestComment, k as createGist, kt as resolveReviewThread, l as getReleaseContext, lt as listLabels, m as listReleases, mt as updateLabel, n as GithubToolsOptions, nt as createIssue, o as getCiFailureContext, ot as getIssue, p as getRelease, pt as updateIssueComment, q as listDiscussions, r as createGithubTools, rt as createLabel, s as getIssueContext, st as listIssueComments, t as GithubTools, tt as closeIssue, u as createRelease, ut as removeAssignees, v as listSecretScanningAlerts, vt as deletePullRequestComment, w as listWorkflowJobs, wt as listPullRequestReviews, x as cancelWorkflowRun, xt as getPullRequest, y as getCombinedStatus, yt as disablePullRequestAutoMerge, z as listCommits, zt as getFileContent } from "./index-C3wlz660.mjs";
3
- export { AUTO_APPROVAL_TOOLS, type AllGithubTools, type ApprovalConfig, CALL_GITHUB_TOOL, CORE_READ_TOOLS, type CombinedPresetToolNames, type CommitIdentity, type CommitToolOptions, type CreateGithubAgentOptions, DEFAULT_EVALUATION_MODEL, GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, type GithubEvaluationOptions, type GithubRateLimit, type GithubTokenCall, type GithubTokenInput, type GithubTool, type GithubToolName, type GithubToolPreset, GithubTools, type GithubToolsContext, type GithubToolsForPreset, GithubToolsOptions, type GithubWriteToolName, type Octokit, PRESET_TOOLS, type PickGithubTools, type PresetToolName, type StaticApprovalConfig, type ToolApprovalMode, type ToolOptions, type ToolOverrides, addAssignees, addCommentReaction, addDiscussionComment, addIssueComment, addIssueReaction, addLabels, addPullRequestComment, cancelWorkflowRun, closeIssue, compareCommits, createBranch, createGist, createGistComment, createGithubAgent, createGithubTools, createIssue, createLabel, createOctokit, createOrUpdateFile, createPullRequest, createPullRequestReview, createRelease, createRepository, deleteBranch, deleteGist, deleteIssueComment, deleteLabel, deletePullRequestComment, deleteRelease, disablePullRequestAutoMerge, editFiles, enablePullRequestAutoMerge, forkRepository, getBlame, getBranchRules, getCiFailureContext, getCombinedStatus, getCommit, getDiscussion, getFileContent, getGist, getIssue, getIssueContext, getLatestRelease, getPullRequest, getPullRequestContext, getRelease, getReleaseContext, getRepository, getRepositoryTree, getWorkflowJobLogs, getWorkflowRun, githubToolsErrors, listBranches, listCheckRuns, listCodeScanningAlerts, listCommentReactions, listCommits, listDependabotAlerts, listDiscussions, listGistComments, listGists, listIssueComments, listIssueReactions, listIssues, listLabels, listNotifications, listPullRequestFiles, listPullRequestReviewThreads, listPullRequestReviews, listPullRequests, listReleases, listSecretScanningAlerts, listWorkflowJobs, listWorkflowRuns, listWorkflows, markNotificationRead, mergePullRequest, removeAssignees, removeLabel, replyToReviewComment, requestReviewers, rerunWorkflowRun, resolveGithubToken, resolveReviewThread, searchCode, searchIssues, searchRepositories, selectPresets, selectTools, triggerWorkflow, updateGist, updateIssue, updateIssueComment, updateLabel, updatePullRequest, updatePullRequestComment, updateRelease };
1
+ import { A as DEFAULT_EVALUATION_MODEL, B as GithubToolPreset, D as selectTools, E as selectPresets, F as resolveGithubToken, G as GithubToolName, H as PresetToolName, I as withGithubGuardrails, K as GithubWriteToolName, L as GithubGuardrails, M as GithubTokenCall, N as GithubTokenInput, O as GITHUB_WRITE_TOOLS, R as CORE_READ_TOOLS, U as GITHUB_TOOL_NAMES, V as PRESET_TOOLS, a as GithubToolsForPreset, c as CommitIdentity, d as Octokit, f as ToolOptions, g as ToolApprovalMode, h as StaticApprovalConfig, k as AUTO_APPROVAL_TOOLS, l as CommitToolOptions, m as ApprovalConfig, n as GithubDryRunResult, o as PickGithubTools, p as ToolOverrides, r as AllGithubTools, s as GithubToolsContext, t as GithubDryRunApproval, u as GithubTool, v as GithubEvaluationOptions, z as CombinedPresetToolNames } from "./dry-run-BAbes7Mv.mjs";
2
+ import { $ as addAssignees, A as createGist, At as mergePullRequest, B as listCommits, Bt as deleteBranch, C as getWorkflowJobLogs, Ct as disablePullRequestAutoMerge, D as listWorkflows, Dt as listPullRequestReviewThreads, E as listWorkflowRuns, Et as listPullRequestFiles, F as listGists, Ft as updatePullRequestBranch, G as markNotificationRead, Gt as getFileContent, H as searchIssues, Ht as forkRepository, I as updateGist, It as updatePullRequestComment, J as listDiscussions, Jt as listBranches, K as addDiscussionComment, Kt as getRepository, L as compareCommits, Lt as createBranch, M as deleteGist, Mt as requestReviewers, N as getGist, Nt as resolveReviewThread, O as rerunWorkflowRun, Ot as listPullRequestReviews, P as listGistComments, Pt as updatePullRequest, Q as listIssueReactions, Qt as createGithubAgent, R as getBlame, Rt as createOrUpdateFile, S as cancelWorkflowRun, St as deletePullRequestComment, T as listWorkflowJobs, Tt as getPullRequest, U as searchRepositories, Ut as getBranchRules, V as searchCode, Vt as editFiles, W as listNotifications, Wt as getCollaboratorPermission, X as addIssueReaction, Xt as CALL_GITHUB_TOOL, Y as addCommentReaction, Yt as createOctokit, Z as listCommentReactions, Zt as CreateGithubAgentOptions, _ as listDependabotAlerts, _t as updateIssueComment, a as GithubRateLimit, at as createLabel, b as getCombinedStatus, bt as createPullRequest, c as getPullRequestContext, ct as getIssue, d as deleteRelease, dt as listLabels, et as addIssueComment, f as getLatestRelease, ft as listMilestones, g as listCodeScanningAlerts, gt as updateIssue, h as updateRelease, ht as removeLabel, i as githubToolsErrors, it as createIssue, j as createGistComment, jt as replyToReviewComment, k as triggerWorkflow, kt as listPullRequests, l as getReleaseContext, lt as listIssueComments, m as listReleases, mt as removeAssignees, n as GithubToolsOptions, nt as addSubIssue, o as getCiFailureContext, ot as deleteIssueComment, p as getRelease, pt as listSubIssues, q as getDiscussion, qt as getRepositoryTree, r as createGithubTools, rt as closeIssue, s as getIssueContext, st as deleteLabel, t as GithubTools, tt as addLabels, u as createRelease, ut as listIssues, v as listSecretScanningAlerts, vt as updateLabel, w as getWorkflowRun, wt as enablePullRequestAutoMerge, x as listCheckRuns, xt as createPullRequestReview, y as createCommitStatus, yt as addPullRequestComment, z as getCommit, zt as createRepository } from "./index-DgCZi9Ns.mjs";
3
+ export { AUTO_APPROVAL_TOOLS, type AllGithubTools, type ApprovalConfig, CALL_GITHUB_TOOL, CORE_READ_TOOLS, type CombinedPresetToolNames, type CommitIdentity, type CommitToolOptions, type CreateGithubAgentOptions, DEFAULT_EVALUATION_MODEL, GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, type GithubDryRunApproval, type GithubDryRunResult, type GithubEvaluationOptions, type GithubGuardrails, type GithubRateLimit, type GithubTokenCall, type GithubTokenInput, type GithubTool, type GithubToolName, type GithubToolPreset, GithubTools, type GithubToolsContext, type GithubToolsForPreset, GithubToolsOptions, type GithubWriteToolName, type Octokit, PRESET_TOOLS, type PickGithubTools, type PresetToolName, type StaticApprovalConfig, type ToolApprovalMode, type ToolOptions, type ToolOverrides, addAssignees, addCommentReaction, addDiscussionComment, addIssueComment, addIssueReaction, addLabels, addPullRequestComment, addSubIssue, cancelWorkflowRun, closeIssue, compareCommits, createBranch, createCommitStatus, createGist, createGistComment, createGithubAgent, createGithubTools, createIssue, createLabel, createOctokit, createOrUpdateFile, createPullRequest, createPullRequestReview, createRelease, createRepository, deleteBranch, deleteGist, deleteIssueComment, deleteLabel, deletePullRequestComment, deleteRelease, disablePullRequestAutoMerge, editFiles, enablePullRequestAutoMerge, forkRepository, getBlame, getBranchRules, getCiFailureContext, getCollaboratorPermission, getCombinedStatus, getCommit, getDiscussion, getFileContent, getGist, getIssue, getIssueContext, getLatestRelease, getPullRequest, getPullRequestContext, getRelease, getReleaseContext, getRepository, getRepositoryTree, getWorkflowJobLogs, getWorkflowRun, githubToolsErrors, listBranches, listCheckRuns, listCodeScanningAlerts, listCommentReactions, listCommits, listDependabotAlerts, listDiscussions, listGistComments, listGists, listIssueComments, listIssueReactions, listIssues, listLabels, listMilestones, listNotifications, listPullRequestFiles, listPullRequestReviewThreads, listPullRequestReviews, listPullRequests, listReleases, listSecretScanningAlerts, listSubIssues, listWorkflowJobs, listWorkflowRuns, listWorkflows, markNotificationRead, mergePullRequest, removeAssignees, removeLabel, replyToReviewComment, requestReviewers, rerunWorkflowRun, resolveGithubToken, resolveReviewThread, searchCode, searchIssues, searchRepositories, selectPresets, selectTools, triggerWorkflow, updateGist, updateIssue, updateIssueComment, updateLabel, updatePullRequest, updatePullRequestBranch, updatePullRequestComment, updateRelease, withGithubGuardrails };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { Aa as githubToolsErrors, Oa as createOctokit, _ as PRESET_TOOLS, c as DEFAULT_EVALUATION_MODEL, g as CORE_READ_TOOLS, h as GITHUB_TOOL_NAMES, s as AUTO_APPROVAL_TOOLS, t as GITHUB_WRITE_TOOLS, x as resolveGithubToken } from "./write-tools-DnGZw-RD.mjs";
2
- import { d as selectTools, u as selectPresets } from "./evaluation-BtoHbxuQ.mjs";
3
- import { $ as closeIssue, A as getGist, At as createBranch, B as searchRepositories, Bt as listBranches, C as listWorkflowRuns, Ct as listPullRequests, D as createGist, Dt as resolveReviewThread, E as triggerWorkflow, Et as requestReviewers, F as getBlame, Ft as forkRepository, G as listDiscussions, H as markNotificationRead, I as getCommit, It as getBranchRules, J as listCommentReactions, K as addCommentReaction, L as listCommits, Lt as getFileContent, M as listGists, Mt as createRepository, N as updateGist, Nt as deleteBranch, O as createGistComment, Ot as updatePullRequest, P as compareCommits, Pt as editFiles, Q as addLabels, R as searchCode, Rt as getRepository, S as listWorkflowJobs, St as listPullRequestReviews, T as rerunWorkflowRun, Tt as replyToReviewComment, U as addDiscussionComment, V as listNotifications, W as getDiscussion, X as addAssignees, Y as listIssueReactions, Z as addIssueComment, _ as getCombinedStatus, _t as disablePullRequestAutoMerge, a as getIssueContext, at as listIssueComments, b as getWorkflowJobLogs, bt as listPullRequestFiles, c as createRelease, ct as removeAssignees, d as getRelease, dt as updateIssueComment, et as createIssue, f as listReleases, ft as updateLabel, g as listSecretScanningAlerts, gt as deletePullRequestComment, h as listDependabotAlerts, ht as createPullRequestReview, i as getCiFailureContext, it as getIssue, j as listGistComments, jt as createOrUpdateFile, k as deleteGist, kt as updatePullRequestComment, l as deleteRelease, lt as removeLabel, m as listCodeScanningAlerts, mt as createPullRequest, n as CALL_GITHUB_TOOL, nt as deleteIssueComment, o as getPullRequestContext, ot as listIssues, p as updateRelease, pt as addPullRequestComment, q as addIssueReaction, r as createGithubAgent, rt as deleteLabel, s as getReleaseContext, st as listLabels, t as createGithubTools, tt as createLabel, u as getLatestRelease, ut as updateIssue, v as listCheckRuns, vt as enablePullRequestAutoMerge, w as listWorkflows, wt as mergePullRequest, x as getWorkflowRun, xt as listPullRequestReviewThreads, y as cancelWorkflowRun, yt as getPullRequest, z as searchIssues, zt as getRepositoryTree } from "./src-DyiAVHKl.mjs";
4
- export { AUTO_APPROVAL_TOOLS, CALL_GITHUB_TOOL, CORE_READ_TOOLS, DEFAULT_EVALUATION_MODEL, GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, PRESET_TOOLS, addAssignees, addCommentReaction, addDiscussionComment, addIssueComment, addIssueReaction, addLabels, addPullRequestComment, cancelWorkflowRun, closeIssue, compareCommits, createBranch, createGist, createGistComment, createGithubAgent, createGithubTools, createIssue, createLabel, createOctokit, createOrUpdateFile, createPullRequest, createPullRequestReview, createRelease, createRepository, deleteBranch, deleteGist, deleteIssueComment, deleteLabel, deletePullRequestComment, deleteRelease, disablePullRequestAutoMerge, editFiles, enablePullRequestAutoMerge, forkRepository, getBlame, getBranchRules, getCiFailureContext, getCombinedStatus, getCommit, getDiscussion, getFileContent, getGist, getIssue, getIssueContext, getLatestRelease, getPullRequest, getPullRequestContext, getRelease, getReleaseContext, getRepository, getRepositoryTree, getWorkflowJobLogs, getWorkflowRun, githubToolsErrors, listBranches, listCheckRuns, listCodeScanningAlerts, listCommentReactions, listCommits, listDependabotAlerts, listDiscussions, listGistComments, listGists, listIssueComments, listIssueReactions, listIssues, listLabels, listNotifications, listPullRequestFiles, listPullRequestReviewThreads, listPullRequestReviews, listPullRequests, listReleases, listSecretScanningAlerts, listWorkflowJobs, listWorkflowRuns, listWorkflows, markNotificationRead, mergePullRequest, removeAssignees, removeLabel, replyToReviewComment, requestReviewers, rerunWorkflowRun, resolveGithubToken, resolveReviewThread, searchCode, searchIssues, searchRepositories, selectPresets, selectTools, triggerWorkflow, updateGist, updateIssue, updateIssueComment, updateLabel, updatePullRequest, updatePullRequestComment, updateRelease };
1
+ import { C as withGithubGuardrails, S as resolveGithubToken, Ya as createOctokit, Za as githubToolsErrors, _ as CORE_READ_TOOLS, c as AUTO_APPROVAL_TOOLS, g as GITHUB_TOOL_NAMES, l as DEFAULT_EVALUATION_MODEL, t as GITHUB_WRITE_TOOLS, v as PRESET_TOOLS } from "./write-tools-BR29EOoM.mjs";
2
+ import { d as selectTools, u as selectPresets } from "./evaluation-DskA4Lzk.mjs";
3
+ import { $ as addLabels, A as deleteGist, At as requestReviewers, B as searchIssues, Bt as forkRepository, C as listWorkflowJobs, Ct as getPullRequest, D as triggerWorkflow, Dt as listPullRequests, E as rerunWorkflowRun, Et as listPullRequestReviews, F as compareCommits, Ft as createBranch, G as getDiscussion, Gt as getRepositoryTree, H as listNotifications, Ht as getCollaboratorPermission, I as getBlame, It as createOrUpdateFile, J as addIssueReaction, K as listDiscussions, Kt as listBranches, L as getCommit, Lt as createRepository, M as listGistComments, Mt as updatePullRequest, N as listGists, Nt as updatePullRequestBranch, O as createGist, Ot as mergePullRequest, P as updateGist, Pt as updatePullRequestComment, Q as addIssueComment, R as listCommits, Rt as deleteBranch, S as getWorkflowRun, St as enablePullRequestAutoMerge, T as listWorkflows, Tt as listPullRequestReviewThreads, U as markNotificationRead, Ut as getFileContent, V as searchRepositories, Vt as getBranchRules, W as addDiscussionComment, Wt as getRepository, X as listIssueReactions, Y as listCommentReactions, Z as addAssignees, _ as createCommitStatus, _t as addPullRequestComment, a as getIssueContext, at as deleteLabel, b as cancelWorkflowRun, bt as deletePullRequestComment, c as createRelease, ct as listIssues, d as getRelease, dt as listSubIssues, et as addSubIssue, f as listReleases, ft as removeAssignees, g as listSecretScanningAlerts, gt as updateLabel, h as listDependabotAlerts, ht as updateIssueComment, i as getCiFailureContext, it as deleteIssueComment, j as getGist, jt as resolveReviewThread, k as createGistComment, kt as replyToReviewComment, l as deleteRelease, lt as listLabels, m as listCodeScanningAlerts, mt as updateIssue, n as CALL_GITHUB_TOOL, nt as createIssue, o as getPullRequestContext, ot as getIssue, p as updateRelease, pt as removeLabel, q as addCommentReaction, r as createGithubAgent, rt as createLabel, s as getReleaseContext, st as listIssueComments, t as createGithubTools, tt as closeIssue, u as getLatestRelease, ut as listMilestones, v as getCombinedStatus, vt as createPullRequest, w as listWorkflowRuns, wt as listPullRequestFiles, x as getWorkflowJobLogs, xt as disablePullRequestAutoMerge, y as listCheckRuns, yt as createPullRequestReview, z as searchCode, zt as editFiles } from "./src-Djn_FFj1.mjs";
4
+ export { AUTO_APPROVAL_TOOLS, CALL_GITHUB_TOOL, CORE_READ_TOOLS, DEFAULT_EVALUATION_MODEL, GITHUB_TOOL_NAMES, GITHUB_WRITE_TOOLS, PRESET_TOOLS, addAssignees, addCommentReaction, addDiscussionComment, addIssueComment, addIssueReaction, addLabels, addPullRequestComment, addSubIssue, cancelWorkflowRun, closeIssue, compareCommits, createBranch, createCommitStatus, createGist, createGistComment, createGithubAgent, createGithubTools, createIssue, createLabel, createOctokit, createOrUpdateFile, createPullRequest, createPullRequestReview, createRelease, createRepository, deleteBranch, deleteGist, deleteIssueComment, deleteLabel, deletePullRequestComment, deleteRelease, disablePullRequestAutoMerge, editFiles, enablePullRequestAutoMerge, forkRepository, getBlame, getBranchRules, getCiFailureContext, getCollaboratorPermission, getCombinedStatus, getCommit, getDiscussion, getFileContent, getGist, getIssue, getIssueContext, getLatestRelease, getPullRequest, getPullRequestContext, getRelease, getReleaseContext, getRepository, getRepositoryTree, getWorkflowJobLogs, getWorkflowRun, githubToolsErrors, listBranches, listCheckRuns, listCodeScanningAlerts, listCommentReactions, listCommits, listDependabotAlerts, listDiscussions, listGistComments, listGists, listIssueComments, listIssueReactions, listIssues, listLabels, listMilestones, listNotifications, listPullRequestFiles, listPullRequestReviewThreads, listPullRequestReviews, listPullRequests, listReleases, listSecretScanningAlerts, listSubIssues, listWorkflowJobs, listWorkflowRuns, listWorkflows, markNotificationRead, mergePullRequest, removeAssignees, removeLabel, replyToReviewComment, requestReviewers, rerunWorkflowRun, resolveGithubToken, resolveReviewThread, searchCode, searchIssues, searchRepositories, selectPresets, selectTools, triggerWorkflow, updateGist, updateIssue, updateIssueComment, updateLabel, updatePullRequest, updatePullRequestBranch, updatePullRequestComment, updateRelease, withGithubGuardrails };
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod";
2
- //#region src/tanstack/interrupts.d.ts
3
2
  /** Register on the server and client when using GitHub automatic approval. */
4
3
  declare const githubToolApproval: Omit<import("@tanstack/ai").InterruptDefinition<"github-tools.approval", z.ZodObject<{
5
4
  toolCallId: z.ZodString;
@@ -55,6 +54,5 @@ declare const githubToolApproval: Omit<import("@tanstack/ai").InterruptDefinitio
55
54
  } | undefined;
56
55
  };
57
56
  };
58
- //#endregion
59
57
  export { githubToolApproval as t };
60
- //# sourceMappingURL=interrupts-BSDPwdJ2.d.mts.map
58
+ //# sourceMappingURL=interrupts-MwQ_v_PF.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interrupts-MwQ_v_PF.d.mts","names":[],"sources":["../src/tanstack/interrupts.ts"],"mappings":";;cAIa,oBAAkB,4BAAA,6CAAA,EAAA"}
@@ -0,0 +1,12 @@
1
+ // \0rolldown/runtime.js
2
+ var __defProp = Object.defineProperty;
3
+ var __exportAll = (all, no_symbols) => {
4
+ let target = {};
5
+ for (var name in all) __defProp(target, name, {
6
+ get: all[name],
7
+ enumerable: true
8
+ });
9
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
+ return target;
11
+ };
12
+ export { __exportAll as t };