@agenticmail/enterprise 0.5.76 → 0.5.77
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/dist/chunk-2HOTPWQ6.js +2191 -0
- package/dist/chunk-7S5VMGP7.js +898 -0
- package/dist/chunk-T36SA4K3.js +15035 -0
- package/dist/cli.js +1 -1
- package/dist/index.js +3 -3
- package/dist/runtime-LFPQKGMJ.js +47 -0
- package/dist/server-EZOBWT7K.js +12 -0
- package/dist/setup-42DBT5CL.js +20 -0
- package/package.json +1 -1
- package/src/agent-tools/index.ts +1 -1
- package/src/agent-tools/tools/google/gmail.ts +696 -0
- package/src/agent-tools/tools/google/index.ts +7 -0
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Requires agent to have Google OAuth configured with appropriate scopes.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
export { createGmailTools } from './gmail.js';
|
|
8
9
|
export { createGoogleCalendarTools } from './calendar.js';
|
|
9
10
|
export { createGoogleDriveTools } from './drive.js';
|
|
10
11
|
export { createGoogleSheetsTools } from './sheets.js';
|
|
@@ -13,6 +14,7 @@ export { createGoogleContactsTools } from './contacts.js';
|
|
|
13
14
|
|
|
14
15
|
import type { AnyAgentTool, ToolCreationOptions } from '../../types.js';
|
|
15
16
|
import type { TokenProvider } from '../oauth-token-provider.js';
|
|
17
|
+
import { createGmailTools } from './gmail.js';
|
|
16
18
|
import { createGoogleCalendarTools } from './calendar.js';
|
|
17
19
|
import { createGoogleDriveTools } from './drive.js';
|
|
18
20
|
import { createGoogleSheetsTools } from './sheets.js';
|
|
@@ -27,8 +29,13 @@ export interface GoogleToolsConfig {
|
|
|
27
29
|
* Create all Google Workspace tools for an agent.
|
|
28
30
|
* Returns ~30 tools covering Calendar, Drive, Sheets, Docs, and Contacts.
|
|
29
31
|
*/
|
|
32
|
+
/**
|
|
33
|
+
* Create all Google Workspace tools for an agent.
|
|
34
|
+
* Returns ~40 tools covering Gmail, Calendar, Drive, Sheets, Docs, and Contacts.
|
|
35
|
+
*/
|
|
30
36
|
export function createAllGoogleTools(config: GoogleToolsConfig, options?: ToolCreationOptions): AnyAgentTool[] {
|
|
31
37
|
return [
|
|
38
|
+
...createGmailTools(config, options),
|
|
32
39
|
...createGoogleCalendarTools(config, options),
|
|
33
40
|
...createGoogleDriveTools(config, options),
|
|
34
41
|
...createGoogleSheetsTools(config, options),
|