eve-hub 0.5.2 → 0.5.3

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 (48) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +2 -2
  3. package/artifacts/types/explainer-assets.gen.mjs +1 -1
  4. package/channels/eve-roster-user.d.ts +1 -1
  5. package/connections/vercel-kit.d.ts +1 -1
  6. package/hooks/mention-gate.d.ts +1 -1
  7. package/hooks/sandbox.d.ts +1 -1
  8. package/host-sandbox.d.ts +16 -4
  9. package/instructions/main.d.ts +3 -1
  10. package/instructions/protocol.d.ts +3 -1
  11. package/memory/bot.d.ts +16 -1
  12. package/memory/workspace.d.ts +16 -1
  13. package/package.json +2 -2
  14. package/schedules/classify.d.ts +4 -1
  15. package/schedules/compact.d.ts +4 -1
  16. package/schedules/dash.d.ts +4 -1
  17. package/schedules/hub.d.mts +26 -0
  18. package/schedules/hub.mjs +2 -2
  19. package/schedules/prune.d.ts +4 -1
  20. package/schedules/tracks.d.ts +4 -1
  21. package/tools/agent_send.d.ts +15 -1
  22. package/tools/apply_tags.d.ts +41 -1
  23. package/tools/archive_thread.d.ts +25 -1
  24. package/tools/artifact_list.d.ts +27 -1
  25. package/tools/artifact_publish.d.ts +17 -1
  26. package/tools/artifact_status.d.ts +25 -1
  27. package/tools/attach_image.d.ts +15 -1
  28. package/tools/bash.d.ts +16 -1
  29. package/tools/browser.d.ts +17 -1
  30. package/tools/create_agent.d.ts +25 -1
  31. package/tools/create_thread.d.ts +29 -1
  32. package/tools/dash_update.d.ts +29 -1
  33. package/tools/disabled.d.ts +1 -1
  34. package/tools/list_agents.d.ts +59 -1
  35. package/tools/list_threads.d.ts +23 -1
  36. package/tools/move_path.d.ts +9 -1
  37. package/tools/post_message.d.ts +33 -1
  38. package/tools/react.d.ts +13 -1
  39. package/tools/read_thread.d.ts +14 -2
  40. package/tools/remove_agent.d.ts +13 -1
  41. package/tools/rename_thread.d.ts +21 -1
  42. package/tools/restart_agent.d.ts +11 -1
  43. package/tools/restart_hub.d.ts +9 -1
  44. package/tools/set_summary.d.ts +9 -1
  45. package/tools/show.d.ts +17 -1
  46. package/tools/tag_threads.d.ts +45 -1
  47. package/tools/unarchive_thread.d.ts +15 -1
  48. package/tools/view_image.d.ts +42 -2
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/channels/eve").EveChannel;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve").DynamicSentinel<import("eve/connections").DynamicConnectionResult>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/hooks").HookDefinition<"message.received">;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/hooks").HookDefinition<"turn.started">;
2
2
  export default _default;
package/host-sandbox.d.ts CHANGED
@@ -33,7 +33,11 @@ export declare function hostEnvironment(options?: HostOptions): {
33
33
  session: SessionRef;
34
34
  }, _open: unknown, artifact: HostArtifact): Promise<{
35
35
  handle: {
36
- sandbox: any;
36
+ sandbox: SandboxSession & {
37
+ description: string;
38
+ root: string;
39
+ worktree?: SessionWorktree;
40
+ };
37
41
  onRuntimeShutdown: () => Promise<void>;
38
42
  onSessionStop: () => Promise<void>;
39
43
  onSessionDelete: () => Promise<void>;
@@ -43,15 +47,23 @@ export declare function hostEnvironment(options?: HostOptions): {
43
47
  resume(ctx: {
44
48
  session: SessionRef;
45
49
  }, _artifact: unknown, state: HostState): Promise<{
46
- sandbox: any;
50
+ sandbox: SandboxSession & {
51
+ description: string;
52
+ root: string;
53
+ worktree?: SessionWorktree;
54
+ };
47
55
  onRuntimeShutdown: () => Promise<void>;
48
56
  onSessionStop: () => Promise<void>;
49
57
  onSessionDelete: () => Promise<void>;
50
58
  }>;
51
59
  };
52
- export declare const HostSandbox: any;
60
+ export declare const HostSandbox: import("eve/sandbox/provider").SandboxProvider<HostOptions, undefined, SandboxSession>;
53
61
  export declare function hostHandle(rootOrState: string | HostState, sessionId: string): {
54
- sandbox: any;
62
+ sandbox: SandboxSession & {
63
+ description: string;
64
+ root: string;
65
+ worktree?: SessionWorktree;
66
+ };
55
67
  onRuntimeShutdown: () => Promise<void>;
56
68
  onSessionStop: () => Promise<void>;
57
69
  onSessionDelete: () => Promise<void>;
@@ -1,2 +1,4 @@
1
- declare const _default: any;
1
+ declare const _default: {
2
+ content: any;
3
+ };
2
4
  export default _default;
@@ -1,2 +1,4 @@
1
- declare const _default: any;
1
+ declare const _default: {
2
+ content: any;
3
+ };
2
4
  export default _default;
package/memory/bot.d.ts CHANGED
@@ -1,2 +1,17 @@
1
- declare const _default: any;
1
+ declare const recall: ({ messages }: {
2
+ messages: readonly unknown[];
3
+ }) => {
4
+ messages: any;
5
+ };
6
+ declare const _default: import("eve/memory").DefinedMemory<{
7
+ readonly description: "Standing decisions for this bot only, from its agents/<bot>/memory/ directory.";
8
+ readonly namespace: "hub-bot-memory";
9
+ readonly scope: () => any;
10
+ readonly provider: {
11
+ readonly recall: {
12
+ "turn.started": typeof recall;
13
+ "compaction.completed": typeof recall;
14
+ };
15
+ };
16
+ }>;
2
17
  export default _default;
@@ -1,2 +1,17 @@
1
- declare const _default: any;
1
+ declare const recall: ({ messages }: {
2
+ messages: readonly unknown[];
3
+ }) => {
4
+ messages: any;
5
+ };
6
+ declare const _default: import("eve/memory").DefinedMemory<{
7
+ readonly description: "The human's standing decisions for this workspace, from its memory/ directory.";
8
+ readonly namespace: "hub-workspace-memory";
9
+ readonly scope: "workspace";
10
+ readonly provider: {
11
+ readonly recall: {
12
+ "turn.started": typeof recall;
13
+ "compaction.completed": typeof recall;
14
+ };
15
+ };
16
+ }>;
2
17
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eve-hub",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Bot-side code shared by every hub agent: registry tools, the roster hook, the eve channel, the host sandbox and browser, and model helpers.",
6
6
  "type": "module",
@@ -32,4 +32,4 @@
32
32
  "@vercel/connect": "^2.4.1",
33
33
  "@vercel/oidc": "4.0.0"
34
34
  }
35
- }
35
+ }
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: {
2
+ cron: string;
3
+ run(): Promise<void>;
4
+ };
2
5
  export default _default;
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: {
2
+ cron: string;
3
+ run(): Promise<void>;
4
+ };
2
5
  export default _default;
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: {
2
+ cron: string;
3
+ run(): Promise<void>;
4
+ };
2
5
  export default _default;
@@ -0,0 +1,26 @@
1
+ // Types for hub.mjs: main's schedules' client of the hub's HTTP API. Bodies
2
+ // the schedules only pass through are `unknown`.
3
+ import type { DashEntries } from '../../../registry/dash.mjs';
4
+
5
+ type Notice = { schedule: string; text: string; clientId?: string };
6
+ type Post = { text: string; clientId?: string };
7
+ type Ok = { ok: true };
8
+ export type Hub = {
9
+ snapshot(): Promise<Record<string, unknown>>;
10
+ roster(): Promise<unknown>;
11
+ load(id: string): Promise<unknown>;
12
+ loadVersioned(id: string): Promise<{ state: unknown; savedAt: string | null }>;
13
+ save(id: string, state: unknown): Promise<unknown>;
14
+ commit(id: string, withState: { state?: unknown }, posts: Post[]): Promise<unknown>;
15
+ post(id: string, text: string, key?: string): Promise<unknown>;
16
+ compact(threadId: string, bot: string, by: string, report?: { trigger?: string; reportTo?: string }): Promise<{ status: number; ok: boolean; body: unknown }>;
17
+ dashChecked(): Promise<Ok & { checkedAt: string }>;
18
+ dashClassified(): Promise<Ok & { classifiedAt: string }>;
19
+ fileThread(threadId: string, path: string): Promise<unknown>;
20
+ dashEntries(entries: object[], remove?: string[], notice?: Notice | null): Promise<Ok & { entries: DashEntries }>;
21
+ };
22
+ export function createHub(options?: { base?: string; agent?: string; fetchImpl?: typeof fetch }): Hub;
23
+ export const POST_MAX_BYTES: number;
24
+ export const POSTS_PER_COMMIT: number;
25
+ export function toPosts(notices: string[]): string[];
26
+ export function runOnce(hub: Hub, id: string, decide: (snap: Record<string, unknown> | null, saved: unknown, now: number) => unknown, options?: { now?: number; snapshot?: boolean }): Promise<{ posts: Post[]; state: unknown }>;
package/schedules/hub.mjs CHANGED
@@ -43,9 +43,9 @@ export function createHub({ base = registryBase(), agent = "main", fetchImpl = f
43
43
  // this compaction's report lines into that schedule's thread itself.
44
44
  compact: (threadId, bot, by, report = {}) => call(`/api/threads/${encodeURIComponent(threadId)}/compact`, { method: "POST", body: JSON.stringify({ agent: bot, by, ...report }) }),
45
45
  // The Dash was scanned now (registry/dash.mjs checkedAt), changed or not.
46
- dashChecked: () => must("/api/dash/checked", { method: "POST", body: "{}" }),
46
+ dashChecked: () => must("/api/dash/checked", { method: "POST", body: JSON.stringify({ by: agent }) }),
47
47
  // A classifier pass finished (registry/dash.mjs classifiedAt).
48
- dashClassified: () => must("/api/dash/classified", { method: "POST", body: "{}" }),
48
+ dashClassified: () => must("/api/dash/classified", { method: "POST", body: JSON.stringify({ by: agent }) }),
49
49
  // Dash entries from the classifier (registry/dash.mjs), merged per field.
50
50
  // File an unfiled thread into a track (the classifier's pick), as a bot:
51
51
  // the hub refuses a thread that's already filed and doesn't lock it.
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: {
2
+ cron: string;
3
+ run(): Promise<void>;
4
+ };
2
5
  export default _default;
@@ -1,2 +1,5 @@
1
- declare const _default: any;
1
+ declare const _default: {
2
+ cron: string;
3
+ run(): Promise<void>;
4
+ };
2
5
  export default _default;
@@ -1,2 +1,16 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ agent: string;
3
+ threadId?: string | undefined;
4
+ input?: string | undefined;
5
+ policy?: "abort" | "queue" | "steer" | undefined;
6
+ why?: string | undefined;
7
+ }, any> & {
8
+ execute(input: {
9
+ agent: string;
10
+ threadId?: string | undefined;
11
+ input?: string | undefined;
12
+ policy?: "abort" | "queue" | "steer" | undefined;
13
+ why?: string | undefined;
14
+ }, ctx: import("eve/tools").ToolContext): Promise<any>;
15
+ };
2
16
  export default _default;
@@ -1,2 +1,42 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ proposalId?: string | undefined;
3
+ note?: string | undefined;
4
+ assignments?: {
5
+ threadId: string;
6
+ path?: string | undefined;
7
+ project?: string | undefined;
8
+ domain?: string | undefined;
9
+ }[] | undefined;
10
+ merges?: {
11
+ field: "domain";
12
+ from: string[];
13
+ to: string;
14
+ }[] | undefined;
15
+ labels?: {
16
+ field: "domain" | "path" | "project";
17
+ tag: string;
18
+ label: string | null;
19
+ }[] | undefined;
20
+ }, any> & {
21
+ execute(input: {
22
+ proposalId?: string | undefined;
23
+ note?: string | undefined;
24
+ assignments?: {
25
+ threadId: string;
26
+ path?: string | undefined;
27
+ project?: string | undefined;
28
+ domain?: string | undefined;
29
+ }[] | undefined;
30
+ merges?: {
31
+ field: "domain";
32
+ from: string[];
33
+ to: string;
34
+ }[] | undefined;
35
+ labels?: {
36
+ field: "domain" | "path" | "project";
37
+ tag: string;
38
+ label: string | null;
39
+ }[] | undefined;
40
+ }, ctx: import("eve/tools").ToolContext): Promise<any>;
41
+ };
2
42
  export default _default;
@@ -1,2 +1,26 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ threadId: string;
3
+ reason?: string | undefined;
4
+ }, {
5
+ threadId: string;
6
+ title: string;
7
+ archived: {
8
+ at: string;
9
+ by: string;
10
+ reason: string | null;
11
+ };
12
+ }> & {
13
+ execute(input: {
14
+ threadId: string;
15
+ reason?: string | undefined;
16
+ }, ctx: import("eve/tools").ToolContext): Promise<{
17
+ threadId: string;
18
+ title: string;
19
+ archived: {
20
+ at: string;
21
+ by: string;
22
+ reason: string | null;
23
+ };
24
+ }>;
25
+ };
2
26
  export default _default;
@@ -1,2 +1,28 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ all?: boolean | undefined;
3
+ }, {
4
+ artifacts: {
5
+ id: any;
6
+ version: any;
7
+ status: any;
8
+ title: any;
9
+ alias: any;
10
+ updatedAt: any;
11
+ owner?: any;
12
+ }[];
13
+ }> & {
14
+ execute(input: {
15
+ all?: boolean | undefined;
16
+ }, ctx: import("eve/tools").ToolContext): Promise<{
17
+ artifacts: {
18
+ id: any;
19
+ version: any;
20
+ status: any;
21
+ title: any;
22
+ alias: any;
23
+ updatedAt: any;
24
+ owner?: any;
25
+ }[];
26
+ }>;
27
+ };
2
28
  export default _default;
@@ -1,2 +1,18 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ type: string;
3
+ key: string;
4
+ source: Record<string, unknown>;
5
+ }, {
6
+ artifact: any;
7
+ note: string;
8
+ }> & {
9
+ execute(input: {
10
+ type: string;
11
+ key: string;
12
+ source: Record<string, unknown>;
13
+ }, ctx: import("eve/tools").ToolContext): Promise<{
14
+ artifact: any;
15
+ note: string;
16
+ }>;
17
+ };
2
18
  export default _default;
@@ -1,2 +1,26 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ id: string;
3
+ }, {
4
+ artifact: {
5
+ id: any;
6
+ version: any;
7
+ status: any;
8
+ checkedAt: string;
9
+ };
10
+ status: any;
11
+ reasons: any;
12
+ }> & {
13
+ execute(input: {
14
+ id: string;
15
+ }, ctx: import("eve/tools").ToolContext): Promise<{
16
+ artifact: {
17
+ id: any;
18
+ version: any;
19
+ status: any;
20
+ checkedAt: string;
21
+ };
22
+ status: any;
23
+ reasons: any;
24
+ }>;
25
+ };
2
26
  export default _default;
@@ -1,2 +1,16 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ path?: string | undefined;
3
+ screenshot?: boolean | undefined;
4
+ }, {
5
+ attachment: any;
6
+ note: string;
7
+ }> & {
8
+ execute(input: {
9
+ path?: string | undefined;
10
+ screenshot?: boolean | undefined;
11
+ }, ctx: import("eve/tools").ToolContext): Promise<{
12
+ attachment: any;
13
+ note: string;
14
+ }>;
15
+ };
2
16
  export default _default;
package/tools/bash.d.ts CHANGED
@@ -1,2 +1,17 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ command: string;
3
+ timeoutSeconds?: number | undefined;
4
+ }, {
5
+ exitCode: number;
6
+ stdout: string;
7
+ stderr: string;
8
+ truncated: boolean;
9
+ timedOut?: boolean | undefined;
10
+ timeoutSeconds?: number | undefined;
11
+ }> & {
12
+ execute(input: {
13
+ command: string;
14
+ timeoutSeconds?: number | undefined;
15
+ }, ctx: import("eve/tools").ToolContext): Promise<any>;
16
+ };
2
17
  export default _default;
@@ -1,2 +1,18 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ action: "click" | "open" | "read" | "scroll" | "type";
3
+ url?: string | undefined;
4
+ selector?: string | undefined;
5
+ text?: string | undefined;
6
+ submit?: boolean | undefined;
7
+ dy?: number | undefined;
8
+ }, import("../host-browser.js").PageState> & {
9
+ execute(input: {
10
+ action: "click" | "open" | "read" | "scroll" | "type";
11
+ url?: string | undefined;
12
+ selector?: string | undefined;
13
+ text?: string | undefined;
14
+ submit?: boolean | undefined;
15
+ dy?: number | undefined;
16
+ }, ctx: import("eve/tools").ToolContext): Promise<import("../host-browser.js").PageState>;
17
+ };
2
18
  export default _default;
@@ -1,2 +1,26 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ name: string;
3
+ model: string;
4
+ reasoning?: "high" | "low" | "medium" | "xhigh" | undefined;
5
+ role: string;
6
+ instructions?: string | undefined;
7
+ preset?: "builder" | "read-only" | undefined;
8
+ }, {
9
+ name: string;
10
+ port: number;
11
+ status: string;
12
+ }> & {
13
+ execute(input: {
14
+ name: string;
15
+ model: string;
16
+ reasoning?: "high" | "low" | "medium" | "xhigh" | undefined;
17
+ role: string;
18
+ instructions?: string | undefined;
19
+ preset?: "builder" | "read-only" | undefined;
20
+ }, ctx: import("eve/tools").ToolContext): Promise<{
21
+ name: string;
22
+ port: number;
23
+ status: string;
24
+ }>;
25
+ };
2
26
  export default _default;
@@ -1,2 +1,30 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ title: string;
3
+ message: string;
4
+ project?: string | undefined;
5
+ domain?: string | undefined;
6
+ projectLabel?: string | undefined;
7
+ domainLabel?: string | undefined;
8
+ path?: string | undefined;
9
+ pathLabel?: string | undefined;
10
+ focus?: boolean | undefined;
11
+ }, {
12
+ threadId: string;
13
+ title: string;
14
+ }> & {
15
+ execute(input: {
16
+ title: string;
17
+ message: string;
18
+ project?: string | undefined;
19
+ domain?: string | undefined;
20
+ projectLabel?: string | undefined;
21
+ domainLabel?: string | undefined;
22
+ path?: string | undefined;
23
+ pathLabel?: string | undefined;
24
+ focus?: boolean | undefined;
25
+ }, ctx: import("eve/tools").ToolContext): Promise<{
26
+ threadId: string;
27
+ title: string;
28
+ }>;
29
+ };
2
30
  export default _default;
@@ -1,2 +1,30 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ entries: {
3
+ threadId: string;
4
+ importance?: "high" | "low" | "normal" | undefined;
5
+ delay?: "blocking" | "fyi" | "land" | undefined;
6
+ reason?: string | null | undefined;
7
+ deferred?: boolean | undefined;
8
+ }[];
9
+ remove?: string[] | undefined;
10
+ }, {
11
+ ok: boolean;
12
+ blocking: number;
13
+ total: number;
14
+ }> & {
15
+ execute(input: {
16
+ entries: {
17
+ threadId: string;
18
+ importance?: "high" | "low" | "normal" | undefined;
19
+ delay?: "blocking" | "fyi" | "land" | undefined;
20
+ reason?: string | null | undefined;
21
+ deferred?: boolean | undefined;
22
+ }[];
23
+ remove?: string[] | undefined;
24
+ }, ctx: import("eve/tools").ToolContext): Promise<{
25
+ ok: boolean;
26
+ blocking: number;
27
+ total: number;
28
+ }>;
29
+ };
2
30
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").DisabledToolSentinel;
2
2
  export default _default;
@@ -1,2 +1,60 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<Record<string, never>, {
2
+ name: string;
3
+ role: string;
4
+ model: string;
5
+ subagentCap: string;
6
+ subagents: Array<{
7
+ name: string;
8
+ model: string;
9
+ clamped?: string[];
10
+ }>;
11
+ agentCopies: {
12
+ model: string;
13
+ clamped?: string[];
14
+ };
15
+ status: string;
16
+ busyIn: string[];
17
+ process?: {
18
+ status: string;
19
+ pid: number | null;
20
+ rssMb?: number;
21
+ uptimeS?: number;
22
+ [key: string]: unknown;
23
+ };
24
+ restart?: {
25
+ state: string;
26
+ recycle?: string;
27
+ [key: string]: unknown;
28
+ };
29
+ }[]> & {
30
+ execute(input: Record<string, never>, ctx: import("eve/tools").ToolContext): Promise<{
31
+ name: string;
32
+ role: string;
33
+ model: string;
34
+ subagentCap: string;
35
+ subagents: Array<{
36
+ name: string;
37
+ model: string;
38
+ clamped?: string[];
39
+ }>;
40
+ agentCopies: {
41
+ model: string;
42
+ clamped?: string[];
43
+ };
44
+ status: string;
45
+ busyIn: string[];
46
+ process?: {
47
+ status: string;
48
+ pid: number | null;
49
+ rssMb?: number;
50
+ uptimeS?: number;
51
+ [key: string]: unknown;
52
+ };
53
+ restart?: {
54
+ state: string;
55
+ recycle?: string;
56
+ [key: string]: unknown;
57
+ };
58
+ }[]>;
59
+ };
2
60
  export default _default;
@@ -1,2 +1,24 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ query?: string | undefined;
3
+ archived?: "exclude" | "include" | "only" | undefined;
4
+ kind?: "all" | "dm" | "thread" | undefined;
5
+ participant?: string | undefined;
6
+ busy?: string | undefined;
7
+ project?: string | undefined;
8
+ path?: string | undefined;
9
+ domain?: string | undefined;
10
+ limit?: number | undefined;
11
+ }, any> & {
12
+ execute(input: {
13
+ query?: string | undefined;
14
+ archived?: "exclude" | "include" | "only" | undefined;
15
+ kind?: "all" | "dm" | "thread" | undefined;
16
+ participant?: string | undefined;
17
+ busy?: string | undefined;
18
+ project?: string | undefined;
19
+ path?: string | undefined;
20
+ domain?: string | undefined;
21
+ limit?: number | undefined;
22
+ }, ctx: import("eve/tools").ToolContext): Promise<any>;
23
+ };
2
24
  export default _default;
@@ -1,2 +1,10 @@
1
- declare const _default: any;
1
+ declare const _default: import("eve/tools").ToolDefinition<{
2
+ from: string;
3
+ to: string;
4
+ }, any> & {
5
+ execute(input: {
6
+ from: string;
7
+ to: string;
8
+ }, ctx: import("eve/tools").ToolContext): Promise<any>;
9
+ };
2
10
  export default _default;