@github-tools/eve-extension 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,11 +7,11 @@
7
7
  [![TypeScript](https://img.shields.io/badge/TypeScript-black?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
8
8
  [![license](https://img.shields.io/github/license/vercel-labs/github-tools?color=black)](https://github.com/vercel-labs/github-tools/blob/main/LICENSE)
9
9
 
10
- GitHub tools for [eve](https://eve.dev), packaged as a mountable [eve extension](https://eve.dev/docs/extensions): a single `pnpm add` and a one-line mount, with no CLI setup. Built on top of [`@github-tools/sdk/eve`](../github-tools#eve).
10
+ GitHub tools for [eve](https://eve.dev), packaged as a mountable [eve extension](https://eve.dev/docs/extensions): a single `pnpm add` and a one-line mount, with no CLI setup. Built on [`@github-tools/sdk/eve-runtime`](../github-tools) (shared descriptors, execution, and approval helpers).
11
11
 
12
12
  Docs: **[github-tools.com/frameworks/eve-extension](https://github-tools.com/frameworks/eve-extension)**
13
13
 
14
- This is **the recommended way** to add GitHub tools to an eve agent. The direct [`@github-tools/sdk/eve`](../github-tools#eve) import is **deprecated** in its favor. It keeps working for agents that already import tools directly into `agent/tools/`, but new agents should mount this extension instead.
14
+ This is **the recommended way** to add GitHub tools to an eve agent. The legacy [`createGithubTools`](../github-tools) / per-tool factories from `@github-tools/sdk/eve` (direct `agent/tools/` registration) are **deprecated** in its favor. They keep working for existing agents, but new agents should mount this extension instead.
15
15
 
16
16
  ## Installation
17
17
 
@@ -34,6 +34,7 @@ import githubExtension from '@github-tools/eve-extension'
34
34
  export default githubExtension({
35
35
  connector: 'github/my-connector', // or token: process.env.GITHUB_TOKEN
36
36
  preset: 'code-review',
37
+ context: { owner: 'vercel-labs', repo: 'github-tools' },
37
38
  requireApproval: {
38
39
  addPullRequestComment: ({ toolInput }) => toolInput?.owner !== 'vercel-labs',
39
40
  },
@@ -42,6 +43,8 @@ export default githubExtension({
42
43
 
43
44
  > `code-review` pairs cleanly with a Connect `connector`. `maintainer` and `repo-explorer` include gist tools, and GitHub only grants gist access to user access tokens, never the installation tokens Connect mints, so gist calls 403 over Connect. Write tools already require approval via `always()` by default, so a plain `{ someTool: true }` is a no-op, use a predicate (as above) when you actually want to narrow or loosen the default.
44
45
 
46
+ Tools are registered with **inline** `execute` handlers in the extension package so they survive multi-turn durable eve Workflow replay (see [#51](https://github.com/vercel-labs/github-tools/issues/51)). Do not use the deprecated `@github-tools/sdk/connect/eve` one-liner for durable Slack/multi-turn agents.
47
+
45
48
  `connector` also accepts a `() => string | Promise<string>` resolver, so the same config can pick a connector dynamically (e.g. by environment):
46
49
 
47
50
  ```ts
@@ -88,9 +91,10 @@ extension/
88
91
  | `token` | `string?` | Falls back to `GITHUB_TOKEN` when omitted and `connector` is not set |
89
92
  | `connector` | `string \| (() => string \| Promise<string>)` (optional) | Vercel Connect connector name, or a resolver to pick one dynamically (e.g. per environment/tenant); takes priority over `token` |
90
93
  | `connect` | `record?` | Passed through to `getToken` when `connector` is set |
91
- | `preset` | preset name or array | `code-review`, `issue-triage`, `ci-ops`, `repo-explorer`, `security-audit`, `release-manager`, `maintainer` |
94
+ | `preset` | preset name or array | `code-review`, `issue-triage`, `ci-ops`, `repo-explorer`, `security-audit`, `release-manager`, `discussion-moderator`, `notification-inbox`, `pr-author`, `maintainer` |
92
95
  | `include` | `string[]?` | Tool names to add on top of `preset` (union), or the full set standalone |
93
96
  | `exclude` | `string[]?` | Tool names to remove from the resolved `preset` + `include` set |
97
+ | `context` | `{ owner?, repo?, pullNumber?, issueNumber?, ref? }?` | Default working context for tool inputs and schemas |
94
98
  | `requireApproval` | `boolean \| record` | Global or per-tool; per-tool values may be predicate functions |
95
99
  | `overrides` | `record` | Per-tool `description` / `approval` / `toModelOutput` / `outputSchema` |
96
100
  | `author` / `committer` / `coAuthors` | commit identity | Attribution for commit-creating tools |
@@ -1,158 +1,65 @@
1
1
  import type { GithubConnectorInput } from '@github-tools/sdk/connect';
2
+ import { type CommitIdentity, type EveApprovalConfig, type EveToolOverrides, type GithubToolName, type GithubToolPreset } from '@github-tools/sdk/eve-runtime';
2
3
  import { z } from 'zod';
3
- declare const _default: import("eve/extension").ExtensionHandle<z.ZodObject<{
4
- token: z.ZodOptional<z.ZodString>;
5
- connector: z.ZodOptional<z.ZodCustom<GithubConnectorInput, GithubConnectorInput>>;
6
- connect: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
- preset: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
8
- "code-review": "code-review";
9
- "issue-triage": "issue-triage";
10
- "ci-ops": "ci-ops";
11
- "repo-explorer": "repo-explorer";
12
- "security-audit": "security-audit";
13
- "release-manager": "release-manager";
14
- maintainer: "maintainer";
15
- }>, z.ZodArray<z.ZodEnum<{
16
- "code-review": "code-review";
17
- "issue-triage": "issue-triage";
18
- "ci-ops": "ci-ops";
19
- "repo-explorer": "repo-explorer";
20
- "security-audit": "security-audit";
21
- "release-manager": "release-manager";
22
- maintainer: "maintainer";
23
- }>>]>>;
24
- include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
25
- getRepository: "getRepository";
26
- listBranches: "listBranches";
27
- getFileContent: "getFileContent";
28
- getRepositoryTree: "getRepositoryTree";
29
- createBranch: "createBranch";
30
- forkRepository: "forkRepository";
31
- createRepository: "createRepository";
32
- createOrUpdateFile: "createOrUpdateFile";
33
- listPullRequests: "listPullRequests";
34
- getPullRequest: "getPullRequest";
35
- createPullRequest: "createPullRequest";
36
- mergePullRequest: "mergePullRequest";
37
- addPullRequestComment: "addPullRequestComment";
38
- listPullRequestFiles: "listPullRequestFiles";
39
- listPullRequestReviews: "listPullRequestReviews";
40
- createPullRequestReview: "createPullRequestReview";
41
- requestReviewers: "requestReviewers";
42
- getPullRequestContext: "getPullRequestContext";
43
- listIssues: "listIssues";
44
- getIssue: "getIssue";
45
- getIssueContext: "getIssueContext";
46
- createIssue: "createIssue";
47
- addIssueComment: "addIssueComment";
48
- closeIssue: "closeIssue";
49
- listLabels: "listLabels";
50
- addLabels: "addLabels";
51
- removeLabel: "removeLabel";
52
- addAssignees: "addAssignees";
53
- removeAssignees: "removeAssignees";
54
- searchCode: "searchCode";
55
- searchRepositories: "searchRepositories";
56
- listCommits: "listCommits";
57
- getCommit: "getCommit";
58
- getBlame: "getBlame";
59
- compareCommits: "compareCommits";
60
- listGists: "listGists";
61
- getGist: "getGist";
62
- listGistComments: "listGistComments";
63
- createGist: "createGist";
64
- updateGist: "updateGist";
65
- deleteGist: "deleteGist";
66
- createGistComment: "createGistComment";
67
- listWorkflows: "listWorkflows";
68
- listWorkflowRuns: "listWorkflowRuns";
69
- getWorkflowRun: "getWorkflowRun";
70
- listWorkflowJobs: "listWorkflowJobs";
71
- triggerWorkflow: "triggerWorkflow";
72
- cancelWorkflowRun: "cancelWorkflowRun";
73
- rerunWorkflowRun: "rerunWorkflowRun";
74
- listCheckRuns: "listCheckRuns";
75
- getCombinedStatus: "getCombinedStatus";
76
- getCiFailureContext: "getCiFailureContext";
77
- listReleases: "listReleases";
78
- getLatestRelease: "getLatestRelease";
79
- getRelease: "getRelease";
80
- getReleaseContext: "getReleaseContext";
81
- createRelease: "createRelease";
82
- }>>>;
83
- exclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
84
- getRepository: "getRepository";
85
- listBranches: "listBranches";
86
- getFileContent: "getFileContent";
87
- getRepositoryTree: "getRepositoryTree";
88
- createBranch: "createBranch";
89
- forkRepository: "forkRepository";
90
- createRepository: "createRepository";
91
- createOrUpdateFile: "createOrUpdateFile";
92
- listPullRequests: "listPullRequests";
93
- getPullRequest: "getPullRequest";
94
- createPullRequest: "createPullRequest";
95
- mergePullRequest: "mergePullRequest";
96
- addPullRequestComment: "addPullRequestComment";
97
- listPullRequestFiles: "listPullRequestFiles";
98
- listPullRequestReviews: "listPullRequestReviews";
99
- createPullRequestReview: "createPullRequestReview";
100
- requestReviewers: "requestReviewers";
101
- getPullRequestContext: "getPullRequestContext";
102
- listIssues: "listIssues";
103
- getIssue: "getIssue";
104
- getIssueContext: "getIssueContext";
105
- createIssue: "createIssue";
106
- addIssueComment: "addIssueComment";
107
- closeIssue: "closeIssue";
108
- listLabels: "listLabels";
109
- addLabels: "addLabels";
110
- removeLabel: "removeLabel";
111
- addAssignees: "addAssignees";
112
- removeAssignees: "removeAssignees";
113
- searchCode: "searchCode";
114
- searchRepositories: "searchRepositories";
115
- listCommits: "listCommits";
116
- getCommit: "getCommit";
117
- getBlame: "getBlame";
118
- compareCommits: "compareCommits";
119
- listGists: "listGists";
120
- getGist: "getGist";
121
- listGistComments: "listGistComments";
122
- createGist: "createGist";
123
- updateGist: "updateGist";
124
- deleteGist: "deleteGist";
125
- createGistComment: "createGistComment";
126
- listWorkflows: "listWorkflows";
127
- listWorkflowRuns: "listWorkflowRuns";
128
- getWorkflowRun: "getWorkflowRun";
129
- listWorkflowJobs: "listWorkflowJobs";
130
- triggerWorkflow: "triggerWorkflow";
131
- cancelWorkflowRun: "cancelWorkflowRun";
132
- rerunWorkflowRun: "rerunWorkflowRun";
133
- listCheckRuns: "listCheckRuns";
134
- getCombinedStatus: "getCombinedStatus";
135
- getCiFailureContext: "getCiFailureContext";
136
- listReleases: "listReleases";
137
- getLatestRelease: "getLatestRelease";
138
- getRelease: "getRelease";
139
- getReleaseContext: "getReleaseContext";
140
- createRelease: "createRelease";
141
- }>>>;
142
- requireApproval: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
143
- overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
144
- author: z.ZodOptional<z.ZodObject<{
145
- name: z.ZodString;
146
- email: z.ZodString;
147
- }, z.core.$strip>>;
148
- committer: z.ZodOptional<z.ZodObject<{
149
- name: z.ZodString;
150
- email: z.ZodString;
151
- }, z.core.$strip>>;
152
- coAuthors: z.ZodOptional<z.ZodArray<z.ZodObject<{
153
- name: z.ZodString;
154
- email: z.ZodString;
155
- }, z.core.$strip>>>;
156
- }, z.core.$strip>>;
4
+ /**
5
+ * Default owner / repo / PR / issue / ref for tool inputs.
6
+ * Matching fields become optional and fill from this context when omitted.
7
+ */
8
+ export interface GithubExtensionContext {
9
+ /** Repository owner (org or user login). */
10
+ owner?: string;
11
+ /** Repository name. */
12
+ repo?: string;
13
+ /** Default pull request number for PR tools. */
14
+ pullNumber?: number;
15
+ /** Default issue number for issue tools. */
16
+ issueNumber?: number;
17
+ /** Default git ref (branch, tag, or SHA). */
18
+ ref?: string;
19
+ }
20
+ /**
21
+ * Config passed to `githubExtension({ ... })` at the agent mount site.
22
+ * Declared as an interface (not only a Zod schema) so IDE hovers show JSDoc.
23
+ */
24
+ export interface GithubExtensionConfig {
25
+ /** GitHub PAT. Falls back to `GITHUB_TOKEN` when omitted and `connector` is not set. */
26
+ token?: string;
27
+ /**
28
+ * Vercel Connect connector name (e.g. `github/my-connector`), or a
29
+ * `() => string | Promise<string>` resolver for picking one dynamically
30
+ * (e.g. per environment or tenant). Takes priority over `token`.
31
+ */
32
+ connector?: GithubConnectorInput;
33
+ /** Vercel Connect token params passed through to `getToken` when `connector` is set. */
34
+ connect?: Record<string, unknown>;
35
+ /** Restrict tools to a preset (or array of presets). Prefer a focused preset; omit or use `maintainer` for the full catalog. */
36
+ preset?: GithubToolPreset | GithubToolPreset[];
37
+ /**
38
+ * Hand-pick tool names to add on top of `preset` (or standalone, without `preset`).
39
+ * When combined with `preset`, the effective set is the union of both.
40
+ */
41
+ include?: GithubToolName[];
42
+ /** Remove specific tool names from the resolved set, applied after `preset` + `include`. */
43
+ exclude?: GithubToolName[];
44
+ /**
45
+ * Default owner / repo / pullNumber / issueNumber / ref for tool inputs
46
+ * (matching fields become optional and fill from context when omitted).
47
+ */
48
+ context?: GithubExtensionContext;
49
+ /**
50
+ * Global boolean or per-tool approval config.
51
+ * Per-tool values may be `'once'`, `'always'`, `'never'`, or predicate functions.
52
+ */
53
+ requireApproval?: EveApprovalConfig;
54
+ /** Per-tool overrides (`description`, `approval`, `toModelOutput`, `outputSchema`). */
55
+ overrides?: EveToolOverrides;
56
+ /** Default author for commit-creating tools. */
57
+ author?: CommitIdentity;
58
+ /** Default committer for commit-creating tools. */
59
+ committer?: CommitIdentity;
60
+ /** Co-authors to attribute on commits created by tools. */
61
+ coAuthors?: CommitIdentity[];
62
+ }
63
+ declare const _default: import("eve/extension").ExtensionHandle<z.ZodType<GithubExtensionConfig, GithubExtensionConfig, z.core.$ZodTypeInternals<GithubExtensionConfig, GithubExtensionConfig>>>;
157
64
  export default _default;
158
65
  //# sourceMappingURL=extension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../extension/extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAGrE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUvB,wBA+BE"}
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../extension/extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uBAAuB;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,6CAA6C;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,wFAAwF;IACxF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,oBAAoB,CAAA;IAChC,wFAAwF;IACxF,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,gIAAgI;IAChI,MAAM,CAAC,EAAE,gBAAgB,GAAG,gBAAgB,EAAE,CAAA;IAC9C;;;OAGG;IACH,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B,4FAA4F;IAC5F,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;IAC1B;;;OAGG;IACH,OAAO,CAAC,EAAE,sBAAsB,CAAA;IAChC;;;OAGG;IACH,eAAe,CAAC,EAAE,iBAAiB,CAAA;IACnC,uFAAuF;IACvF,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,gDAAgD;IAChD,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,mDAAmD;IACnD,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,2DAA2D;IAC3D,SAAS,CAAC,EAAE,cAAc,EAAE,CAAA;CAC7B;;AA4CD,wBAEE"}
@@ -3,7 +3,7 @@ import { dirname as __eveDirname } from "node:path";
3
3
  import { createRequire as __eveCreateRequire } from "node:module";
4
4
  __eveDirname(__eveFileURLToPath(import.meta.url));
5
5
  __eveCreateRequire(import.meta.url);
6
- import { GITHUB_TOOL_NAMES } from "@github-tools/sdk/eve";
6
+ import { GITHUB_TOOL_NAMES } from "@github-tools/sdk/eve-runtime";
7
7
  import { defineExtension } from "eve/extension";
8
8
  import { z } from "zod";
9
9
  const presetNameSchema = z.enum([
@@ -13,6 +13,9 @@ const presetNameSchema = z.enum([
13
13
  "repo-explorer",
14
14
  "security-audit",
15
15
  "release-manager",
16
+ "discussion-moderator",
17
+ "notification-inbox",
18
+ "pr-author",
16
19
  "maintainer"
17
20
  ]);
18
21
  const toolNameSchema = z.enum(Object.values(GITHUB_TOOL_NAMES));
@@ -27,6 +30,13 @@ var extension_default = defineExtension({ config: z.object({
27
30
  preset: z.union([presetNameSchema, z.array(presetNameSchema)]).optional(),
28
31
  include: z.array(toolNameSchema).optional(),
29
32
  exclude: z.array(toolNameSchema).optional(),
33
+ context: z.object({
34
+ owner: z.string().optional(),
35
+ repo: z.string().optional(),
36
+ pullNumber: z.number().optional(),
37
+ issueNumber: z.number().optional(),
38
+ ref: z.string().optional()
39
+ }).optional(),
30
40
  requireApproval: z.union([z.boolean(), z.record(z.string(), z.unknown())]).optional(),
31
41
  overrides: z.record(z.string(), z.unknown()).optional(),
32
42
  author: commitIdentitySchema.optional(),
@@ -1,4 +1,4 @@
1
- import { type GithubToolName } from '@github-tools/sdk/eve';
2
- declare const _default: import("eve/tools").DynamicSentinel<Partial<Record<GithubToolName, import("eve/tools").ToolDefinition<unknown, unknown>>>>;
1
+ import { type ToolDefinition } from 'eve/tools';
2
+ declare const _default: import("eve/tools").DynamicSentinel<Record<string, ToolDefinition<unknown, unknown>>>;
3
3
  export default _default;
4
4
  //# sourceMappingURL=github.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../../extension/tools/github.ts"],"names":[],"mappings":"AACA,OAAO,EAAkE,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAA;;AAI3H,wBAsBE"}
1
+ {"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../../extension/tools/github.ts"],"names":[],"mappings":"AAWA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,WAAW,CAAA;;AAa1E,wBAiEE"}
@@ -4,12 +4,16 @@ import { createRequire as __eveCreateRequire } from "node:module";
4
4
  __eveDirname(__eveFileURLToPath(import.meta.url));
5
5
  __eveCreateRequire(import.meta.url);
6
6
  import extension_default from "../extension.mjs";
7
- import { buildEveToolMap } from "@github-tools/sdk/eve";
7
+ import { executeGithubEveTool, listEveToolDescriptors, mapEveApprovalValue, resolveEveApproval } from "@github-tools/sdk/eve-runtime";
8
8
  import { connectGithubToken } from "@github-tools/sdk/connect";
9
- import { defineDynamic } from "eve/tools";
9
+ import { defineDynamic, defineTool } from "eve/tools";
10
+ let sessionOptions = {};
11
+ async function runGithubEveTool(name, input) {
12
+ return executeGithubEveTool(name, input, sessionOptions);
13
+ }
10
14
  var github_default = defineDynamic({ events: { "session.started": async () => {
11
- const { token, connector, connect, preset, include, exclude, requireApproval, overrides, author, committer, coAuthors } = extension_default.config;
12
- return buildEveToolMap({
15
+ const { token, connector, connect, preset, include, exclude, requireApproval, overrides, context, author, committer, coAuthors } = extension_default.config;
16
+ sessionOptions = {
13
17
  token: connector ? connectGithubToken(connector, {
14
18
  preset,
15
19
  params: connect
@@ -19,9 +23,27 @@ var github_default = defineDynamic({ events: { "session.started": async () => {
19
23
  exclude,
20
24
  requireApproval,
21
25
  overrides,
26
+ context,
22
27
  author,
23
28
  committer,
24
29
  coAuthors
25
- });
30
+ };
31
+ const descriptors = listEveToolDescriptors(sessionOptions);
32
+ const tools = {};
33
+ const toolOverrides = sessionOptions.overrides;
34
+ for (const entry of descriptors) {
35
+ const name = entry.name;
36
+ const override = toolOverrides?.[name];
37
+ tools[name] = defineTool({
38
+ description: override?.description ?? entry.description,
39
+ inputSchema: entry.inputSchema,
40
+ ...entry.writeTool && { approval: resolveEveApproval(entry.writeTool, sessionOptions.requireApproval) },
41
+ ...override?.approval !== void 0 && { approval: mapEveApprovalValue(override.approval) },
42
+ ...override?.toModelOutput !== void 0 ? { toModelOutput: override.toModelOutput } : entry.toModelOutput ? { toModelOutput: entry.toModelOutput } : {},
43
+ ...override?.outputSchema !== void 0 && { outputSchema: override.outputSchema },
44
+ execute: async (input) => runGithubEveTool(name, input)
45
+ });
46
+ }
47
+ return tools;
26
48
  } } });
27
49
  export { github_default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@github-tools/eve-extension",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "GitHub tools for eve, distributed as a mountable eve extension (https://eve.dev/docs/extensions)",
5
5
  "author": "HugoRCD <hugo.richard@vercel.com>",
6
6
  "repository": {
@@ -46,7 +46,7 @@
46
46
  "license": "MIT",
47
47
  "dependencies": {
48
48
  "zod": "^4.3.6",
49
- "@github-tools/sdk": "1.9.0"
49
+ "@github-tools/sdk": "1.10.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@vercel/connect": ">=0.3.2",