@github-tools/sdk 1.8.2 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +247 -78
- package/dist/connect/eve.d.mts +18 -7
- package/dist/connect/eve.d.mts.map +1 -1
- package/dist/connect/eve.mjs +17 -4
- package/dist/connect/eve.mjs.map +1 -1
- package/dist/connect.d.mts +31 -11
- package/dist/connect.d.mts.map +1 -1
- package/dist/connect.mjs +6 -3
- package/dist/connect.mjs.map +1 -1
- package/dist/eve-runtime-CI4dR_hI.d.mts +54 -0
- package/dist/eve-runtime-CI4dR_hI.d.mts.map +1 -0
- package/dist/eve-runtime-CIcrt7MD.mjs +674 -0
- package/dist/eve-runtime-CIcrt7MD.mjs.map +1 -0
- package/dist/eve-runtime.d.mts +4 -0
- package/dist/eve-runtime.mjs +3 -0
- package/dist/eve.d.mts +331 -112
- package/dist/eve.d.mts.map +1 -1
- package/dist/eve.mjs +356 -3
- package/dist/eve.mjs.map +1 -0
- package/dist/index-B0nL0C00.d.mts +746 -0
- package/dist/index-B0nL0C00.d.mts.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/src-v-LjzPpR.mjs +1371 -0
- package/dist/src-v-LjzPpR.mjs.map +1 -0
- package/dist/{token-CW8lQBND.mjs → token-DDMlEkK-.mjs} +74 -7
- package/dist/token-DDMlEkK-.mjs.map +1 -0
- package/dist/types-VW0m0Uxl.d.mts +39 -0
- package/dist/types-VW0m0Uxl.d.mts.map +1 -0
- package/dist/{types-B0mvQgJf.d.mts → types-Ygt1pw1N.d.mts} +30 -9
- package/dist/types-Ygt1pw1N.d.mts.map +1 -0
- package/dist/workflow.d.mts +7 -7
- package/dist/workflow.d.mts.map +1 -1
- package/dist/workflow.mjs +6 -4
- package/dist/workflow.mjs.map +1 -1
- package/dist/write-tools-uIVfURVp.mjs +3509 -0
- package/dist/write-tools-uIVfURVp.mjs.map +1 -0
- package/package.json +17 -13
- package/dist/eve-UPaHEGVi.mjs +0 -512
- package/dist/eve-UPaHEGVi.mjs.map +0 -1
- package/dist/index-Cs1Kebmt.d.mts +0 -463
- package/dist/index-Cs1Kebmt.d.mts.map +0 -1
- package/dist/src-CfzZfU82.mjs +0 -812
- package/dist/src-CfzZfU82.mjs.map +0 -1
- package/dist/token-CW8lQBND.mjs.map +0 -1
- package/dist/types-B0mvQgJf.d.mts.map +0 -1
- package/dist/types-DwHrGKWO.d.mts +0 -27
- package/dist/types-DwHrGKWO.d.mts.map +0 -1
- package/dist/write-tools-Dx9LfYlU.mjs +0 -1840
- package/dist/write-tools-Dx9LfYlU.mjs.map +0 -1
package/dist/connect/eve.mjs
CHANGED
|
@@ -1,14 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as connectGithubToken } from "../token-
|
|
1
|
+
import { createGithubTools } from "../eve.mjs";
|
|
2
|
+
import { t as connectGithubToken } from "../token-DDMlEkK-.mjs";
|
|
3
3
|
//#region src/connect/eve.ts
|
|
4
4
|
/**
|
|
5
5
|
* Register eve GitHub tools backed by a Vercel Connect connector.
|
|
6
6
|
* Scopes are derived from `preset` unless overridden in `connect.scopes`.
|
|
7
7
|
*
|
|
8
|
+
* `connector` may be a static name or a resolver function — e.g. to pick a
|
|
9
|
+
* different connector per environment (production vs. preview) or tenant.
|
|
10
|
+
*
|
|
11
|
+
* @deprecated Use the mountable `@github-tools/eve-extension` instead and pass `connector`
|
|
12
|
+
* directly to `githubExtension(...)` — no separate Connect import is needed. This direct
|
|
13
|
+
* import is also **not durable** under multi-turn eve Workflow replay (`defineTool` inside
|
|
14
|
+
* `node_modules` is not hoisted); mount `@github-tools/eve-extension` instead
|
|
15
|
+
* (see https://github.com/vercel-labs/github-tools/issues/51 and
|
|
16
|
+
* https://github-tools.com/frameworks/eve-extension).
|
|
17
|
+
*
|
|
18
|
+
* Shared runtime helpers used by the extension are on `@github-tools/sdk/eve-runtime`
|
|
19
|
+
* (not deprecated).
|
|
20
|
+
*
|
|
8
21
|
* TODO(eve-connect-bundle): eve's authored-module bundler inlines workspace-linked
|
|
9
22
|
* SDK code and code-splits `@vercel/connect` unless the agent sets
|
|
10
|
-
* `build.externalDependencies: ['@vercel/connect']` in `agent.ts`.
|
|
11
|
-
*
|
|
23
|
+
* `build.externalDependencies: ['@vercel/connect']` in `agent.ts`. Prefer the
|
|
24
|
+
* eve extension (pre-built) so that workaround is unnecessary.
|
|
12
25
|
*/
|
|
13
26
|
function connectGithubTools(connector, options = {}) {
|
|
14
27
|
const { connect, preset, ...rest } = options;
|
package/dist/connect/eve.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eve.mjs","names":["createEveGithubTools"],"sources":["../../src/connect/eve.ts"],"sourcesContent":["import { createGithubTools as createEveGithubTools } from '../eve'\nimport { connectGithubToken } from './token'\nimport type { ConnectGithubEveToolsOptions } from './types'\n\n/**\n * Register eve GitHub tools backed by a Vercel Connect connector.\n * Scopes are derived from `preset` unless overridden in `connect.scopes`.\n *\n * TODO(eve-connect-bundle): eve's authored-module bundler inlines workspace-linked\n * SDK code and code-splits `@vercel/connect` unless the agent sets\n * `build.externalDependencies: ['@vercel/connect']` in `agent.ts`.
|
|
1
|
+
{"version":3,"file":"eve.mjs","names":["createEveGithubTools"],"sources":["../../src/connect/eve.ts"],"sourcesContent":["import { createGithubTools as createEveGithubTools } from '../eve'\nimport type { GithubConnectorInput } from './connector'\nimport { connectGithubToken } from './token'\nimport type { ConnectGithubEveToolsOptions } from './types'\n\n/**\n * Register eve GitHub tools backed by a Vercel Connect connector.\n * Scopes are derived from `preset` unless overridden in `connect.scopes`.\n *\n * `connector` may be a static name or a resolver function — e.g. to pick a\n * different connector per environment (production vs. preview) or tenant.\n *\n * @deprecated Use the mountable `@github-tools/eve-extension` instead and pass `connector`\n * directly to `githubExtension(...)` — no separate Connect import is needed. This direct\n * import is also **not durable** under multi-turn eve Workflow replay (`defineTool` inside\n * `node_modules` is not hoisted); mount `@github-tools/eve-extension` instead\n * (see https://github.com/vercel-labs/github-tools/issues/51 and\n * https://github-tools.com/frameworks/eve-extension).\n *\n * Shared runtime helpers used by the extension are on `@github-tools/sdk/eve-runtime`\n * (not deprecated).\n *\n * TODO(eve-connect-bundle): eve's authored-module bundler inlines workspace-linked\n * SDK code and code-splits `@vercel/connect` unless the agent sets\n * `build.externalDependencies: ['@vercel/connect']` in `agent.ts`. Prefer the\n * eve extension (pre-built) so that workaround is unnecessary.\n */\nexport function connectGithubTools(\n connector: GithubConnectorInput,\n options: ConnectGithubEveToolsOptions = {},\n) {\n const { connect, preset, ...rest } = options\n\n return createEveGithubTools({\n ...rest,\n preset,\n token: connectGithubToken(connector, { preset, params: connect }),\n })\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,SAAgB,mBACd,WACA,UAAwC,CAAC,GACzC;CACA,MAAM,EAAE,SAAS,QAAQ,GAAG,SAAS;CAErC,OAAOA,kBAAqB;EAC1B,GAAG;EACH;EACA,OAAO,mBAAmB,WAAW;GAAE;GAAQ,QAAQ;EAAQ,CAAC;CAClE,CAAC;AACH"}
|
package/dist/connect.d.mts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as GithubConnectParams, n as ConnectGithubTokenOptions, r as ConnectGithubToolsOptions, t as ConnectGithubEveToolsOptions } from "./types-
|
|
1
|
+
import { Gt as GithubToolPreset, Mt as GithubTokenInput, Ot as AllGithubTools, Yt as GithubToolName } from "./index-B0nL0C00.mjs";
|
|
2
|
+
import { a as GithubConnectorInput, i as GithubConnectParams, n as ConnectGithubTokenOptions, o as resolveGithubConnector, r as ConnectGithubToolsOptions, t as ConnectGithubEveToolsOptions } from "./types-VW0m0Uxl.mjs";
|
|
3
|
+
import "@vercel/connect";
|
|
3
4
|
//#region src/connect/scopes.d.ts
|
|
4
5
|
/**
|
|
5
6
|
* Vercel Connect scope strings mapped to each {@link GithubToolPreset}.
|
|
6
7
|
*
|
|
7
8
|
* Scopes mirror GitHub App permissions (`contents`, `pull_requests`, `issues`,
|
|
8
|
-
* `actions`, `administration`, `metadata`)
|
|
9
|
-
* family a preset's tools touch, not just its
|
|
9
|
+
* `discussions`, `actions`, `checks`, `statuses`, `administration`, `metadata`)
|
|
10
|
+
* and must cover every read/write family a preset's tools touch, not just its
|
|
11
|
+
* primary domain. Release tools fall under the `contents` permission on GitHub
|
|
12
|
+
* Apps, and reaction tools under `issues`, so neither needs a scope of its own.
|
|
10
13
|
*
|
|
11
14
|
* Gist tools in `repo-explorer` and `maintainer` are intentionally left
|
|
12
15
|
* unscoped: the Gists API only accepts GitHub App *user* access tokens, never
|
|
@@ -14,13 +17,23 @@ import { i as GithubConnectParams, n as ConnectGithubTokenOptions, r as ConnectG
|
|
|
14
17
|
* installation tokens. Gist calls made with a Connect-derived token 403
|
|
15
18
|
* regardless of requested scopes — use a fine-grained PAT with the "Gists"
|
|
16
19
|
* account permission for those tools instead.
|
|
20
|
+
*
|
|
21
|
+
* Notification tools in `maintainer` and `notification-inbox` are unscoped for
|
|
22
|
+
* the same reason: `notifications` is an account-level GitHub App permission
|
|
23
|
+
* that only applies to user access tokens, so `listNotifications` /
|
|
24
|
+
* `markNotificationRead` need a PAT with the "Notifications" account permission.
|
|
17
25
|
*/
|
|
18
26
|
declare const PRESET_CONNECT_SCOPES: {
|
|
19
|
-
readonly 'repo-explorer': readonly ["contents:read", "metadata:read", "pull_requests:read", "issues:read", "actions:read"];
|
|
20
|
-
readonly 'code-review': readonly ["contents:read", "metadata:read", "pull_requests:read", "pull_requests:write"];
|
|
27
|
+
readonly 'repo-explorer': readonly ["contents:read", "metadata:read", "pull_requests:read", "issues:read", "discussions:read", "actions:read", "checks:read", "statuses:read"];
|
|
28
|
+
readonly 'code-review': readonly ["contents:read", "metadata:read", "pull_requests:read", "pull_requests:write", "checks:read", "statuses:read"];
|
|
21
29
|
readonly 'issue-triage': readonly ["contents:read", "metadata:read", "issues:read", "issues:write"];
|
|
22
|
-
readonly 'ci-ops': readonly ["contents:read", "metadata:read", "actions:read", "actions:write"];
|
|
23
|
-
readonly
|
|
30
|
+
readonly 'ci-ops': readonly ["contents:read", "metadata:read", "actions:read", "actions:write", "checks:read", "statuses:read"];
|
|
31
|
+
readonly 'security-audit': readonly ["contents:read", "metadata:read", "pull_requests:read", "issues:read", "issues:write", "actions:read", "checks:read", "statuses:read"];
|
|
32
|
+
readonly 'release-manager': readonly ["contents:read", "contents:write", "metadata:read", "pull_requests:read", "actions:read", "actions:write"];
|
|
33
|
+
readonly 'discussion-moderator': readonly ["contents:read", "metadata:read", "issues:read", "issues:write", "discussions:read", "discussions:write"];
|
|
34
|
+
readonly 'notification-inbox': readonly ["contents:read", "metadata:read", "pull_requests:read", "issues:read"];
|
|
35
|
+
readonly 'pr-author': readonly ["contents:read", "contents:write", "metadata:read", "pull_requests:read", "pull_requests:write"];
|
|
36
|
+
readonly maintainer: readonly ["contents:read", "contents:write", "metadata:read", "pull_requests:read", "pull_requests:write", "issues:read", "issues:write", "discussions:read", "discussions:write", "actions:read", "actions:write", "checks:read", "statuses:read", "administration:read", "administration:write"];
|
|
24
37
|
};
|
|
25
38
|
/**
|
|
26
39
|
* Returns Vercel Connect scopes for a preset or combined presets.
|
|
@@ -32,15 +45,22 @@ declare function connectGithubScopesForPreset(preset?: GithubToolPreset | Github
|
|
|
32
45
|
/**
|
|
33
46
|
* Returns a lazy GitHub token provider backed by a Vercel Connect connector.
|
|
34
47
|
* Scopes are derived from `preset` unless overridden in `params.scopes`.
|
|
48
|
+
*
|
|
49
|
+
* `connector` may be a static name or a resolver function — e.g. to pick a
|
|
50
|
+
* different connector per environment (production vs. preview) or tenant.
|
|
51
|
+
* It's re-resolved on every call, alongside the token itself.
|
|
35
52
|
*/
|
|
36
|
-
declare function connectGithubToken(connector:
|
|
53
|
+
declare function connectGithubToken(connector: GithubConnectorInput, options?: ConnectGithubTokenOptions): GithubTokenInput;
|
|
37
54
|
//#endregion
|
|
38
55
|
//#region src/connect/tools.d.ts
|
|
39
56
|
/**
|
|
40
57
|
* Create GitHub tools backed by a Vercel Connect connector.
|
|
41
58
|
* Scopes are derived from `preset` unless overridden in `connect.scopes`.
|
|
59
|
+
*
|
|
60
|
+
* `connector` may be a static name or a resolver function — e.g. to pick a
|
|
61
|
+
* different connector per environment (production vs. preview) or tenant.
|
|
42
62
|
*/
|
|
43
|
-
declare function connectGithubTools(connector:
|
|
63
|
+
declare function connectGithubTools(connector: GithubConnectorInput, options?: ConnectGithubToolsOptions): AllGithubTools | Pick<AllGithubTools, GithubToolName>;
|
|
44
64
|
//#endregion
|
|
45
|
-
export { type ConnectGithubEveToolsOptions, type ConnectGithubTokenOptions, type ConnectGithubToolsOptions, type GithubConnectParams, PRESET_CONNECT_SCOPES, connectGithubScopesForPreset, connectGithubToken, connectGithubTools };
|
|
65
|
+
export { type ConnectGithubEveToolsOptions, type ConnectGithubTokenOptions, type ConnectGithubToolsOptions, type GithubConnectParams, type GithubConnectorInput, PRESET_CONNECT_SCOPES, connectGithubScopesForPreset, connectGithubToken, connectGithubTools, resolveGithubConnector };
|
|
46
66
|
//# sourceMappingURL=connect.d.mts.map
|
package/dist/connect.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.mts","names":[],"sources":["../src/connect/scopes.ts","../src/connect/token.ts","../src/connect/tools.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"connect.d.mts","names":[],"sources":["../src/connect/scopes.ts","../src/connect/token.ts","../src/connect/tools.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;cAuBa;;;;;;;;;;;;;;;;iBAoGG,6BACd,SAAS,mBAAmB;;;;;;;;;;;iBC9Gd,mBACd,WAAW,sBACX,UAAS,4BACR;;;;;;;;;;iBCLa,mBACd,WAAW,sBACX,UAAS,4BAAA,iBAA8B,KAAA,gBAAA"}
|
package/dist/connect.mjs
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { t as createGithubTools } from "./src-
|
|
2
|
-
import { n as PRESET_CONNECT_SCOPES, r as connectGithubScopesForPreset, t as connectGithubToken } from "./token-
|
|
1
|
+
import { t as createGithubTools } from "./src-v-LjzPpR.mjs";
|
|
2
|
+
import { i as resolveGithubConnector, n as PRESET_CONNECT_SCOPES, r as connectGithubScopesForPreset, t as connectGithubToken } from "./token-DDMlEkK-.mjs";
|
|
3
3
|
//#region src/connect/tools.ts
|
|
4
4
|
/**
|
|
5
5
|
* Create GitHub tools backed by a Vercel Connect connector.
|
|
6
6
|
* Scopes are derived from `preset` unless overridden in `connect.scopes`.
|
|
7
|
+
*
|
|
8
|
+
* `connector` may be a static name or a resolver function — e.g. to pick a
|
|
9
|
+
* different connector per environment (production vs. preview) or tenant.
|
|
7
10
|
*/
|
|
8
11
|
function connectGithubTools(connector, options = {}) {
|
|
9
12
|
const { connect, preset, ...rest } = options;
|
|
@@ -17,6 +20,6 @@ function connectGithubTools(connector, options = {}) {
|
|
|
17
20
|
});
|
|
18
21
|
}
|
|
19
22
|
//#endregion
|
|
20
|
-
export { PRESET_CONNECT_SCOPES, connectGithubScopesForPreset, connectGithubToken, connectGithubTools };
|
|
23
|
+
export { PRESET_CONNECT_SCOPES, connectGithubScopesForPreset, connectGithubToken, connectGithubTools, resolveGithubConnector };
|
|
21
24
|
|
|
22
25
|
//# sourceMappingURL=connect.mjs.map
|
package/dist/connect.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.mjs","names":[],"sources":["../src/connect/tools.ts"],"sourcesContent":["import { createGithubTools } from '../index'\nimport { connectGithubToken } from './token'\nimport type { ConnectGithubToolsOptions } from './types'\n\n/**\n * Create GitHub tools backed by a Vercel Connect connector.\n * Scopes are derived from `preset` unless overridden in `connect.scopes`.\n */\nexport function connectGithubTools(\n connector:
|
|
1
|
+
{"version":3,"file":"connect.mjs","names":[],"sources":["../src/connect/tools.ts"],"sourcesContent":["import { createGithubTools } from '../index'\nimport type { GithubConnectorInput } from './connector'\nimport { connectGithubToken } from './token'\nimport type { ConnectGithubToolsOptions } from './types'\n\n/**\n * Create GitHub tools backed by a Vercel Connect connector.\n * Scopes are derived from `preset` unless overridden in `connect.scopes`.\n *\n * `connector` may be a static name or a resolver function — e.g. to pick a\n * different connector per environment (production vs. preview) or tenant.\n */\nexport function connectGithubTools(\n connector: GithubConnectorInput,\n options: ConnectGithubToolsOptions = {},\n) {\n const { connect, preset, ...rest } = options\n\n return createGithubTools({\n ...rest,\n preset,\n token: connectGithubToken(connector, { preset, params: connect }),\n })\n}\n"],"mappings":";;;;;;;;;;AAYA,SAAgB,mBACd,WACA,UAAqC,CAAC,GACtC;CACA,MAAM,EAAE,SAAS,QAAQ,GAAG,SAAS;CAErC,OAAO,kBAAkB;EACvB,GAAG;EACH;EACA,OAAO,mBAAmB,WAAW;GAAE;GAAQ,QAAQ;EAAQ,CAAC;CAClE,CAAC;AACH"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Gt as GithubToolPreset, Ut as GithubWriteToolName, Wt as CombinedPresetToolNames, Yt as GithubToolName, qt as PresetToolName } from "./index-B0nL0C00.mjs";
|
|
2
|
+
import { i as EveToolFactoryOptions, n as EveApprovalValue, r as EveGithubToolsOptions, t as EveApprovalConfig } from "./types-Ygt1pw1N.mjs";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import { Approval, ToolDefinition, ToolModelOutput } from "eve/tools";
|
|
5
|
+
//#region src/eve/build.d.ts
|
|
6
|
+
type BuildOptions = EveGithubToolsOptions | (EveToolFactoryOptions & {
|
|
7
|
+
preset?: EveGithubToolsOptions['preset'];
|
|
8
|
+
});
|
|
9
|
+
type EveToolMap = Partial<Record<GithubToolName, ToolDefinition>>;
|
|
10
|
+
declare function buildEveToolDefinition(name: GithubToolName, options?: BuildOptions): ToolDefinition;
|
|
11
|
+
declare function buildEveToolMap(options?: EveGithubToolsOptions): EveToolMap;
|
|
12
|
+
declare function createEveGithubToolsDynamic(options?: EveGithubToolsOptions): import("eve/tools").DynamicSentinel<Partial<Record<GithubToolName, ToolDefinition<unknown, unknown>>>>;
|
|
13
|
+
declare function listResolvedEveToolNames(options?: {
|
|
14
|
+
preset?: undefined;
|
|
15
|
+
include?: undefined;
|
|
16
|
+
exclude?: undefined;
|
|
17
|
+
}): GithubToolName[];
|
|
18
|
+
declare function listResolvedEveToolNames<P extends GithubToolPreset>(options: {
|
|
19
|
+
preset: P;
|
|
20
|
+
include?: undefined;
|
|
21
|
+
exclude?: undefined;
|
|
22
|
+
}): PresetToolName<P>[];
|
|
23
|
+
declare function listResolvedEveToolNames<P extends readonly GithubToolPreset[]>(options: {
|
|
24
|
+
preset: P;
|
|
25
|
+
include?: undefined;
|
|
26
|
+
exclude?: undefined;
|
|
27
|
+
}): CombinedPresetToolNames<P>[];
|
|
28
|
+
declare function listResolvedEveToolNames(options: Pick<EveGithubToolsOptions, 'preset' | 'include' | 'exclude'>): GithubToolName[];
|
|
29
|
+
/**
|
|
30
|
+
* Tool descriptors (no `execute`) for authored eve `defineTool` loops.
|
|
31
|
+
* Prefer this when registering tools outside the SDK package so durable transforms can hoist inline execute.
|
|
32
|
+
*/
|
|
33
|
+
declare function listEveToolDescriptors(options?: EveGithubToolsOptions): {
|
|
34
|
+
name: GithubToolName;
|
|
35
|
+
description: string;
|
|
36
|
+
inputSchema: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
|
|
37
|
+
writeTool: GithubWriteToolName | undefined;
|
|
38
|
+
toModelOutput: ((output: unknown) => import("eve/tools").ToolModelOutput) | undefined;
|
|
39
|
+
}[];
|
|
40
|
+
/**
|
|
41
|
+
* Execute a GitHub tool by name with the given eve options (token/context/attribution).
|
|
42
|
+
* Used by `@github-tools/eve-extension` so `execute` only closes over a serializable tool name.
|
|
43
|
+
*/
|
|
44
|
+
declare function executeGithubEveTool(name: GithubToolName, input: Record<string, unknown>, options?: EveGithubToolsOptions): Promise<unknown>;
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/eve/approval.d.ts
|
|
47
|
+
declare function mapEveApprovalValue(value: EveApprovalValue): Approval;
|
|
48
|
+
declare function resolveEveApproval(toolName: GithubWriteToolName, config: EveApprovalConfig | undefined): Approval | undefined;
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region src/eve/load-eve.d.ts
|
|
51
|
+
declare const MISSING_EVE_MESSAGE = "The \"eve\" package is required to use @github-tools/sdk/eve. Install it with: pnpm add eve";
|
|
52
|
+
//#endregion
|
|
53
|
+
export { buildEveToolMap as a, listEveToolDescriptors as c, buildEveToolDefinition as i, listResolvedEveToolNames as l, mapEveApprovalValue as n, createEveGithubToolsDynamic as o, resolveEveApproval as r, executeGithubEveTool as s, MISSING_EVE_MESSAGE as t };
|
|
54
|
+
//# sourceMappingURL=eve-runtime-CI4dR_hI.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eve-runtime-CI4dR_hI.d.mts","names":[],"sources":["../src/eve/build.ts","../src/eve/approval.ts","../src/eve/load-eve.ts"],"mappings":";;;;;KASK,eAAe,yBAAyB;EAA0B,SAAS;;KAC3E,aAAa,QAAQ,OAAO,gBAAgB;iBAkCjC,uBACd,MAAM,gBACN,UAAS,eACR;iBA4Ba,gBAAgB,UAAS,wBAA6B;iBAiCtD,4BAA4B,UAAS,4CAA0B,gBAAA,QAAA,OAAA,gBAAA;iBAY/D,yBAAyB;EAAY;EAAoB;EAAqB;IAAwB;iBACtG,yBAAyB,UAAU,kBAAkB;EAAW,QAAQ;EAAG;EAAqB;IAAwB,eAAe;iBACvI,yBAAyB,mBAAmB,oBAAoB;EAAW,QAAQ;EAAG;EAAqB;IAAwB,wBAAwB;iBAC3J,yBAAyB,SAAS,KAAK,2DAA2D;;;;;iBAUlG,uBAAuB,UAAS;;;;;;;;;;;iBAyB1B,qBACpB,MAAM,gBACN,OAAO,yBACP,UAAS,wBAA0B;;;iBC5JrB,oBAAoB,OAAO,mBAAmB;iBAY9C,mBACd,UAAU,qBACV,QAAQ,gCACP;;;cCTU"}
|