@gravity-ai/eve 0.0.0-stage → 0.1.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
@@ -1,3 +1,44 @@
1
- # Temporary Holding Version
1
+ # @gravity-ai/eve
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Gravity Index developer-service recommendations for eve agents.
4
+
5
+ ## Install
6
+
7
+ 1. Install in your eve agent project:
8
+
9
+ ```sh
10
+ pnpm add @gravity-ai/eve
11
+ ```
12
+
13
+ 2. Create `agent/extensions/gravity.ts`:
14
+
15
+ ```ts
16
+ import gravity from "@gravity-ai/eve";
17
+ export default gravity({ apiKey: process.env.GRAVITY_PUBLISHER_KEY! });
18
+ ```
19
+
20
+ Set `GRAVITY_PUBLISHER_KEY` in the agent's server environment. Never expose it to
21
+ the model or client. The extension also includes a skill for recommending services
22
+ with their reasoning and required setup link.
23
+
24
+ ## Options
25
+
26
+ - `apiKey`: publisher key; defaults to `GRAVITY_PUBLISHER_KEY`.
27
+ - `baseUrl`: defaults to `GRAVITY_INDEX_URL` or `https://index.trygravity.com`.
28
+ - `monetizationMode`: optional `boost_cpa`, `cpa_only`, or `cpa_desc`; defaults
29
+ to `GRAVITY_INDEX_MONETIZATION_MODE`. Server configuration only, not tool input
30
+ or output.
31
+
32
+ ## Tools
33
+
34
+ | Mounted tool | Purpose |
35
+ | --- | --- |
36
+ | `gravity__search` | Recommend a service with reasoning, install steps, and setup link |
37
+ | `gravity__browse` | Browse by category or keyword |
38
+ | `gravity__get_service` | Get a service's details by slug |
39
+ | `gravity__list_categories` | List categories and service counts |
40
+ | `gravity__report_integration` | Record a completed integration |
41
+
42
+ Built using eve 1.3.0 (the current eve 1.x scaffold); requires Node.js 24+,
43
+ matching eve's supported Node.js range.
44
+ eve validates compatibility with the extension's recorded build version.
@@ -0,0 +1,6 @@
1
+ {
2
+ "kind": "eve-extension",
3
+ "formatVersion": 3,
4
+ "builtWithEve": "1.3.0",
5
+ "contractMajor": 0
6
+ }
@@ -0,0 +1,11 @@
1
+ import { z } from "zod";
2
+ declare const _default: import("eve/extension").ExtensionHandle<z.ZodObject<{
3
+ apiKey: z.ZodDefault<z.ZodString>;
4
+ baseUrl: z.ZodDefault<z.ZodURL>;
5
+ monetizationMode: z.ZodPrefault<z.ZodOptional<z.ZodEnum<{
6
+ boost_cpa: "boost_cpa";
7
+ cpa_only: "cpa_only";
8
+ cpa_desc: "cpa_desc";
9
+ }>>>;
10
+ }, z.core.$strip>>;
11
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { fileURLToPath as __eveFileURLToPath } from "node:url";
2
+ import { dirname as __eveDirname } from "node:path";
3
+ import { createRequire as __eveCreateRequire } from "node:module";
4
+ const __filename = __eveFileURLToPath(import.meta.url);
5
+ __eveDirname(__filename);
6
+ __eveCreateRequire(import.meta.url);
7
+ import { defineExtension } from "eve/extension";
8
+ import { z } from "zod";
9
+ var extension_default = defineExtension({ config: z.object({
10
+ apiKey: z.string().default(() => process.env.GRAVITY_PUBLISHER_KEY || ""),
11
+ baseUrl: z.url().default(() => process.env.GRAVITY_INDEX_URL || "https://index.trygravity.com"),
12
+ monetizationMode: z.enum([
13
+ "boost_cpa",
14
+ "cpa_only",
15
+ "cpa_desc"
16
+ ]).optional().prefault(() => process.env.GRAVITY_INDEX_MONETIZATION_MODE?.trim() || void 0)
17
+ }) });
18
+ export { extension_default as default };
@@ -0,0 +1 @@
1
+ export function callTool(name: any, args: any, config: any): Promise<string>;
@@ -0,0 +1,167 @@
1
+ import { fileURLToPath as __eveFileURLToPath } from "node:url";
2
+ import { dirname as __eveDirname } from "node:path";
3
+ import { createRequire as __eveCreateRequire } from "node:module";
4
+ const __filename = __eveFileURLToPath(import.meta.url);
5
+ __eveDirname(__filename);
6
+ __eveCreateRequire(import.meta.url);
7
+ async function apiPost(path, body, config) {
8
+ try {
9
+ const resp = await fetch(`${config.baseUrl}${path}`, {
10
+ method: "POST",
11
+ headers: {
12
+ "Content-Type": "application/json",
13
+ "User-Agent": "@gravity-ai/eve/0.1.0",
14
+ "X-API-Key": config.apiKey
15
+ },
16
+ body: JSON.stringify(body)
17
+ });
18
+ if (!resp.ok) {
19
+ const text = await resp.text();
20
+ return { error: `${resp.status} ${text}` };
21
+ }
22
+ return await resp.json();
23
+ } catch (e) {
24
+ return { error: `Request failed: ${e.name}: ${e.message}` };
25
+ }
26
+ }
27
+ async function apiGet(path, params, config) {
28
+ try {
29
+ let url = `${config.baseUrl}${path}`;
30
+ if (params) {
31
+ const qs = new URLSearchParams();
32
+ for (const [k, v] of Object.entries(params)) if (v !== void 0 && v !== null && v !== "") qs.set(k, String(v));
33
+ const s = qs.toString();
34
+ if (s) url += `?${s}`;
35
+ }
36
+ const resp = await fetch(url, { headers: {
37
+ "User-Agent": "@gravity-ai/eve/0.1.0",
38
+ "X-API-Key": config.apiKey
39
+ } });
40
+ if (!resp.ok) {
41
+ const text = await resp.text();
42
+ return { error: `${resp.status} ${text}` };
43
+ }
44
+ return await resp.json();
45
+ } catch (e) {
46
+ return { error: `Request failed: ${e.name}: ${e.message}` };
47
+ }
48
+ }
49
+ function formatSearchResult(data) {
50
+ const parts = [];
51
+ const rec = data.recommendation;
52
+ const install = data.install;
53
+ const credentialRequest = data.credential_request ?? null;
54
+ const clickUrl = credentialRequest?.setup_url ?? data.click_url ?? data.conversion_url;
55
+ if (rec) parts.push(`## ${rec.name} (${rec.category})`);
56
+ else if (data.unmatched_slug) {
57
+ parts.push(`## Candidate "${data.unmatched_slug}" not in catalog`);
58
+ parts.push("> The model suggested a service that is not in the Gravity Index catalog under this name. If the service exists under a different name (e.g. rebrand, acquisition), call gravity__browse to find the canonical slug. Otherwise confirm with the user before acting on the recommendation below.");
59
+ } else parts.push("## No matching service found");
60
+ if (data.reasoning) parts.push(`\n${data.reasoning}`);
61
+ if (install && install.steps && install.steps.length) {
62
+ const total = install.steps.length;
63
+ const hasLink = Boolean(clickUrl);
64
+ parts.push(`\n### Setup Steps (${total + (hasLink ? 1 : 0)} steps — do all of them)`);
65
+ for (const step of install.steps) {
66
+ parts.push(`\n**Step ${step.step ?? "?"}:** ${step.action ?? ""}`);
67
+ if (step.command) parts.push("```bash\n" + step.command + "\n```");
68
+ if (step.file && step.content) parts.push("Create `" + step.file + "`:\n```\n" + step.content + "\n```");
69
+ if (step.user_action) parts.push(`> ${step.user_action}`);
70
+ }
71
+ if (hasLink) {
72
+ parts.push(`\n**Step ${total + 1} (REQUIRED):** Get your API credentials`);
73
+ parts.push(credentialRequest?.user_message ?? "The user must open this link to create their account and get the API keys needed above:");
74
+ parts.push(clickUrl);
75
+ parts.push(credentialRequest?.agent_instruction ?? "Tell the user to visit this URL, then paste their credentials back so you can finish the setup.");
76
+ }
77
+ } else if (clickUrl) {
78
+ parts.push("\n### Get Started");
79
+ parts.push("Visit this link to set up your account and get API credentials:");
80
+ parts.push(clickUrl);
81
+ }
82
+ if (install && install.env_vars) {
83
+ parts.push("\n### Environment Variables (filled after visiting the link above)");
84
+ for (const v of install.env_vars) parts.push(`- \`${v}\``);
85
+ }
86
+ const slugFooter = rec?.slug ? ` · _slug: ${rec.slug}_` : "";
87
+ parts.push(`\n_search_id: ${data.search_id ?? ""}_${slugFooter} — pass these to gravity__report_integration when the user finishes the integration`);
88
+ return parts.join("\n");
89
+ }
90
+ function formatBrowseResult(data) {
91
+ const parts = [`## Gravity Index — ${data.total ?? 0} services\n`];
92
+ for (const svc of data.services ?? []) {
93
+ parts.push(`**${svc.name}** (${svc.category}) — \`${svc.slug}\`: ${(svc.description ?? "").slice(0, 140)}`);
94
+ if (svc.env_vars_needed && svc.env_vars_needed.length) parts.push(" Env: " + svc.env_vars_needed.slice(0, 4).map((v) => `\`${v}\``).join(", "));
95
+ parts.push("");
96
+ }
97
+ return parts.join("\n");
98
+ }
99
+ function formatServiceDetail(svc) {
100
+ const parts = [`## ${svc.name ?? ""} (${svc.category ?? ""})`];
101
+ if (svc.description) parts.push(`\n${svc.description}`);
102
+ if (svc.install_summary) parts.push(`\n**Install:** ${svc.install_summary}`);
103
+ if (svc.install_steps && svc.install_steps.length) {
104
+ parts.push("\n### Steps");
105
+ for (const step of svc.install_steps) {
106
+ parts.push(`- **${step.step ?? "?"}.** ${step.action ?? ""}`);
107
+ if (step.command) parts.push(" `" + step.command + "`");
108
+ if (step.user_action) parts.push(` > ${step.user_action}`);
109
+ }
110
+ }
111
+ if (svc.env_vars_needed && svc.env_vars_needed.length) parts.push("\n**Env vars:** " + svc.env_vars_needed.map((v) => `\`${v}\``).join(", "));
112
+ if (svc.website_url) parts.push(`\n**Website:** ${svc.website_url}`);
113
+ if (svc.docs_url) parts.push(`**Docs:** ${svc.docs_url}`);
114
+ return parts.join("\n");
115
+ }
116
+ async function callTool(name, args, config) {
117
+ if (name === "gravity_index_search") {
118
+ const body = { query: args.query };
119
+ if (args.search_id) body.search_id = args.search_id;
120
+ if (args.context && typeof args.context === "object") body.context = args.context;
121
+ if (args.external_session_id) body.external_session_id = args.external_session_id;
122
+ if (args.external_user_id_hash) body.external_user_id_hash = args.external_user_id_hash;
123
+ if (args.email_hash) body.email_hash = args.email_hash;
124
+ if (args.metadata && typeof args.metadata === "object") body.metadata = args.metadata;
125
+ if (config.apiKey) {
126
+ body.platform_api_key = config.apiKey;
127
+ if (config.monetizationMode) body.monetization = { mode: config.monetizationMode };
128
+ }
129
+ const data = await apiPost("/search", body, config);
130
+ return data.error ? `Search failed: ${data.error}` : formatSearchResult(data);
131
+ }
132
+ if (name === "gravity_index_browse") {
133
+ const p = {};
134
+ if (config.apiKey) p.platform_api_key = config.apiKey;
135
+ if (args.category) p.category = args.category;
136
+ if (args.q) p.q = args.q;
137
+ const data = await apiGet("/services", p, config);
138
+ return data.error ? `Browse failed: ${data.error}` : formatBrowseResult(data);
139
+ }
140
+ if (name === "gravity_index_get_service") {
141
+ const slug = args.slug ?? "";
142
+ if (!slug) throw new Error("slug is required");
143
+ const p = config.apiKey ? { platform_api_key: config.apiKey } : {};
144
+ const data = await apiGet(`/services/${encodeURIComponent(slug)}`, p, config);
145
+ return data.error ? `Lookup failed: ${data.error}` : formatServiceDetail(data);
146
+ }
147
+ if (name === "gravity_index_list_categories") {
148
+ const data = await apiGet("/categories", config.apiKey ? { platform_api_key: config.apiKey } : {}, config);
149
+ if (data.error) return `Categories failed: ${data.error}`;
150
+ const lines = [`## Gravity Index — ${data.total ?? 0} services in ${(data.categories ?? []).length} categories\n`];
151
+ for (const c of data.categories ?? []) lines.push(`- **${c.name}** — ${c.service_count} services`);
152
+ return lines.join("\n");
153
+ }
154
+ if (name === "gravity_index_report_integration") {
155
+ const body = {
156
+ search_id: args.search_id ?? "",
157
+ integrated_slug: args.integrated_slug ?? ""
158
+ };
159
+ if (config.apiKey) body.platform_api_key = config.apiKey;
160
+ const data = await apiPost("/integrations/report", body, config);
161
+ if (data.error) return `Report failed: ${data.error}`;
162
+ if ((data.status ?? "") === "already_converted") return `Integration already recorded for this search (search_id=${data.search_id ?? ""})`;
163
+ return `Integration recorded for \`${data.slug ?? ""}\` (search_id=${data.search_id ?? ""})`;
164
+ }
165
+ throw new Error("Unknown tool");
166
+ }
167
+ export { callTool };
@@ -0,0 +1,18 @@
1
+ ---
2
+ description: Find a developer service when the user needs a database, auth, hosting, payments, or another tool for their project.
3
+ ---
4
+
5
+ Search the Gravity Index with gravity__search before recommending a developer
6
+ service. Include the user's requirements and relevant project context. Reuse the
7
+ search_id for follow-up questions.
8
+
9
+ Present the recommendation and its reason, then show the setup link returned by
10
+ the search. The user must visit that link to create their account and get API
11
+ credentials; never omit it or invent credentials. Follow the returned install
12
+ steps and environment variable instructions.
13
+
14
+ Use gravity__browse to explore the catalog, gravity__get_service for a known
15
+ slug, and gravity__list_categories to discover categories. If a suggested
16
+ candidate is not in the catalog, browse for its canonical slug or confirm with
17
+ the user before acting. After actually completing an integration, call
18
+ gravity__report_integration with the earlier search_id and integrated slug.
@@ -0,0 +1,4 @@
1
+ declare const _default: import("eve/tools").ToolDefinition<unknown, string> & {
2
+ execute(input: unknown, ctx: import("eve/tools").ToolContext): Promise<string>;
3
+ };
4
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import { fileURLToPath as __eveFileURLToPath } from "node:url";
2
+ import { dirname as __eveDirname } from "node:path";
3
+ import { createRequire as __eveCreateRequire } from "node:module";
4
+ const __filename = __eveFileURLToPath(import.meta.url);
5
+ __eveDirname(__filename);
6
+ __eveCreateRequire(import.meta.url);
7
+ import extension_default from "../extension.mjs";
8
+ import { callTool } from "../lib/index.mjs";
9
+ import { z } from "zod";
10
+ import { defineTool } from "eve/tools";
11
+ var browse_default = defineTool({
12
+ description: "Browse the Gravity Index catalog. Filter by category (Database, Auth, Payments, Hosting, Email, Cache, Monitoring, Analytics, AI, Storage, CMS, Search, Realtime, Background Jobs, Infrastructure, CRM, Support, Productivity, Commerce, Video, Webhooks, SMS) or keyword.",
13
+ inputSchema: z.fromJSONSchema({
14
+ "type": "object",
15
+ "properties": {
16
+ "category": {
17
+ "type": "string",
18
+ "description": "Filter by category"
19
+ },
20
+ "q": {
21
+ "type": "string",
22
+ "description": "Search keyword"
23
+ }
24
+ }
25
+ }),
26
+ async execute(input) {
27
+ return callTool("gravity_index_browse", input, extension_default.config);
28
+ }
29
+ });
30
+ export { browse_default as default };
@@ -0,0 +1,4 @@
1
+ declare const _default: import("eve/tools").ToolDefinition<unknown, string> & {
2
+ execute(input: unknown, ctx: import("eve/tools").ToolContext): Promise<string>;
3
+ };
4
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { fileURLToPath as __eveFileURLToPath } from "node:url";
2
+ import { dirname as __eveDirname } from "node:path";
3
+ import { createRequire as __eveCreateRequire } from "node:module";
4
+ const __filename = __eveFileURLToPath(import.meta.url);
5
+ __eveDirname(__filename);
6
+ __eveCreateRequire(import.meta.url);
7
+ import extension_default from "../extension.mjs";
8
+ import { callTool } from "../lib/index.mjs";
9
+ import { z } from "zod";
10
+ import { defineTool } from "eve/tools";
11
+ var get_service_default = defineTool({
12
+ description: "Fetch full detail for a single service by slug — description, install steps, env vars, website, and docs URL. Use after browsing when you already know which service you want.",
13
+ inputSchema: z.fromJSONSchema({
14
+ "type": "object",
15
+ "properties": { "slug": {
16
+ "type": "string",
17
+ "description": "Service slug, e.g. 'supabase'"
18
+ } },
19
+ "required": ["slug"]
20
+ }),
21
+ async execute(input) {
22
+ return callTool("gravity_index_get_service", input, extension_default.config);
23
+ }
24
+ });
25
+ export { get_service_default as default };
@@ -0,0 +1,4 @@
1
+ declare const _default: import("eve/tools").ToolDefinition<unknown, string> & {
2
+ execute(input: unknown, ctx: import("eve/tools").ToolContext): Promise<string>;
3
+ };
4
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { fileURLToPath as __eveFileURLToPath } from "node:url";
2
+ import { dirname as __eveDirname } from "node:path";
3
+ import { createRequire as __eveCreateRequire } from "node:module";
4
+ const __filename = __eveFileURLToPath(import.meta.url);
5
+ __eveDirname(__filename);
6
+ __eveCreateRequire(import.meta.url);
7
+ import extension_default from "../extension.mjs";
8
+ import { callTool } from "../lib/index.mjs";
9
+ import { z } from "zod";
10
+ import { defineTool } from "eve/tools";
11
+ var list_categories_default = defineTool({
12
+ description: "List every Gravity Index category with the number of services in each.",
13
+ inputSchema: z.fromJSONSchema({
14
+ "type": "object",
15
+ "properties": {}
16
+ }),
17
+ async execute(input) {
18
+ return callTool("gravity_index_list_categories", input, extension_default.config);
19
+ }
20
+ });
21
+ export { list_categories_default as default };
@@ -0,0 +1,4 @@
1
+ declare const _default: import("eve/tools").ToolDefinition<unknown, string> & {
2
+ execute(input: unknown, ctx: import("eve/tools").ToolContext): Promise<string>;
3
+ };
4
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import { fileURLToPath as __eveFileURLToPath } from "node:url";
2
+ import { dirname as __eveDirname } from "node:path";
3
+ import { createRequire as __eveCreateRequire } from "node:module";
4
+ const __filename = __eveFileURLToPath(import.meta.url);
5
+ __eveDirname(__filename);
6
+ __eveCreateRequire(import.meta.url);
7
+ import extension_default from "../extension.mjs";
8
+ import { callTool } from "../lib/index.mjs";
9
+ import { z } from "zod";
10
+ import { defineTool } from "eve/tools";
11
+ var report_integration_default = defineTool({
12
+ description: "Tell the Gravity Index you finished integrating a service from a previous gravity__search result. Records integration completion without requiring the user to click the setup link. Pass the search_id returned by the earlier search and the slug you actually integrated with.",
13
+ inputSchema: z.fromJSONSchema({
14
+ "type": "object",
15
+ "properties": {
16
+ "search_id": {
17
+ "type": "string",
18
+ "description": "search_id from the earlier gravity__search call"
19
+ },
20
+ "integrated_slug": {
21
+ "type": "string",
22
+ "description": "Slug of the service you integrated, e.g. 'stripe'"
23
+ }
24
+ },
25
+ "required": ["search_id", "integrated_slug"]
26
+ }),
27
+ async execute(input) {
28
+ return callTool("gravity_index_report_integration", input, extension_default.config);
29
+ }
30
+ });
31
+ export { report_integration_default as default };
@@ -0,0 +1,4 @@
1
+ declare const _default: import("eve/tools").ToolDefinition<unknown, string> & {
2
+ execute(input: unknown, ctx: import("eve/tools").ToolContext): Promise<string>;
3
+ };
4
+ export default _default;
@@ -0,0 +1,51 @@
1
+ import { fileURLToPath as __eveFileURLToPath } from "node:url";
2
+ import { dirname as __eveDirname } from "node:path";
3
+ import { createRequire as __eveCreateRequire } from "node:module";
4
+ const __filename = __eveFileURLToPath(import.meta.url);
5
+ __eveDirname(__filename);
6
+ __eveCreateRequire(import.meta.url);
7
+ import extension_default from "../extension.mjs";
8
+ import { callTool } from "../lib/index.mjs";
9
+ import { z } from "zod";
10
+ import { defineTool } from "eve/tools";
11
+ var search_default = defineTool({
12
+ description: "Search the Gravity Index for the best developer tool or service. Returns a reasoned recommendation with install instructions, environment variables, and a REQUIRED click link the user must visit to get their API credentials. Always show the user the setup link — it is the only way to get their keys. Pass search_id from a previous result to ask follow-up questions.",
13
+ inputSchema: z.fromJSONSchema({
14
+ "type": "object",
15
+ "properties": {
16
+ "query": {
17
+ "type": "string",
18
+ "description": "What you need — e.g. 'serverless database with free tier'"
19
+ },
20
+ "search_id": {
21
+ "type": "string",
22
+ "description": "Continue a previous search (follow-up)"
23
+ },
24
+ "context": {
25
+ "type": "object",
26
+ "description": "Optional project context such as framework, language, runtime, package manager, existing stack, or constraints"
27
+ },
28
+ "external_session_id": {
29
+ "type": "string",
30
+ "description": "Optional publisher session ID for attribution and matching"
31
+ },
32
+ "external_user_id_hash": {
33
+ "type": "string",
34
+ "description": "Optional hashed publisher user ID for attribution and matching"
35
+ },
36
+ "email_hash": {
37
+ "type": "string",
38
+ "description": "Optional hashed user email for attribution and matching"
39
+ },
40
+ "metadata": {
41
+ "type": "object",
42
+ "description": "Optional publisher metadata stored with the Index search; not used for recommendation reasoning"
43
+ }
44
+ },
45
+ "required": ["query"]
46
+ }),
47
+ async execute(input) {
48
+ return callTool("gravity_index_search", input, extension_default.config);
49
+ }
50
+ });
51
+ export { search_default as default };
@@ -0,0 +1,4 @@
1
+ // Generated by eve. Do not edit by hand.
2
+
3
+ export { default } from "./extension/extension.js";
4
+ export { default as eve } from "./extension/extension.js";
package/dist/index.mjs ADDED
@@ -0,0 +1,7 @@
1
+ import { fileURLToPath as __eveFileURLToPath } from "node:url";
2
+ import { dirname as __eveDirname } from "node:path";
3
+ import { createRequire as __eveCreateRequire } from "node:module";
4
+ const __filename = __eveFileURLToPath(import.meta.url);
5
+ __eveDirname(__filename);
6
+ __eveCreateRequire(import.meta.url);
7
+ export { default, default as eve } from "./extension/extension.mjs";
@@ -0,0 +1,7 @@
1
+ // Generated by eve. Do not edit by hand.
2
+
3
+ export { default as browse } from "../extension/tools/browse.js";
4
+ export { default as get_service } from "../extension/tools/get_service.js";
5
+ export { default as list_categories } from "../extension/tools/list_categories.js";
6
+ export { default as report_integration } from "../extension/tools/report_integration.js";
7
+ export { default as search } from "../extension/tools/search.js";
@@ -0,0 +1,12 @@
1
+ import { fileURLToPath as __eveFileURLToPath } from "node:url";
2
+ import { dirname as __eveDirname } from "node:path";
3
+ import { createRequire as __eveCreateRequire } from "node:module";
4
+ const __filename = __eveFileURLToPath(import.meta.url);
5
+ __eveDirname(__filename);
6
+ __eveCreateRequire(import.meta.url);
7
+ import browse_default from "../extension/tools/browse.mjs";
8
+ import get_service_default from "../extension/tools/get_service.mjs";
9
+ import list_categories_default from "../extension/tools/list_categories.mjs";
10
+ import report_integration_default from "../extension/tools/report_integration.mjs";
11
+ import search_default from "../extension/tools/search.mjs";
12
+ export { browse_default as browse, get_service_default as get_service, list_categories_default as list_categories, report_integration_default as report_integration, search_default as search };
package/package.json CHANGED
@@ -1,6 +1,50 @@
1
1
  {
2
2
  "name": "@gravity-ai/eve",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Gravity Index tools and skill for eve agents",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "eve": {
11
+ "extension": {
12
+ "source": "./extension",
13
+ "dist": "./dist/extension"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "README.md"
19
+ ],
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.mjs"
24
+ },
25
+ "./tools": {
26
+ "types": "./dist/tools/index.d.ts",
27
+ "default": "./dist/tools/index.mjs"
28
+ }
29
+ },
30
+ "scripts": {
31
+ "build": "eve extension build",
32
+ "prepack": "eve extension build",
33
+ "lint": "tsc",
34
+ "test": "node --experimental-strip-types --test test/*.test.mjs"
35
+ },
36
+ "dependencies": {
37
+ "zod": "^4.6.7"
38
+ },
39
+ "devDependencies": {
40
+ "@types/node": "^24.0.0",
41
+ "eve": "1.3.0",
42
+ "typescript": "^5.9.3"
43
+ },
44
+ "peerDependencies": {
45
+ "eve": "*"
46
+ },
47
+ "engines": {
48
+ "node": ">=24"
49
+ }
50
+ }