@agenticmail/enterprise 0.5.326 → 0.5.328
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/dashboard/app.js +1 -1
- package/dist/dashboard/pages/cluster.js +1 -1
- package/logs/cloudflared-error.log +6 -0
- package/logs/enterprise-out.log +2 -0
- package/package.json +1 -1
- package/god_is_great.html +0 -35
- package/src/admin/page-registry.ts +0 -290
- package/src/admin/routes.ts +0 -2968
- package/src/agent-tools/common.ts +0 -260
- package/src/agent-tools/index.ts +0 -542
- package/src/agent-tools/merge.ts +0 -62
- package/src/agent-tools/middleware.ts +0 -436
- package/src/agent-tools/schema/typebox.ts +0 -25
- package/src/agent-tools/security.ts +0 -352
- package/src/agent-tools/tool-resolver.ts +0 -1018
- package/src/agent-tools/tools/agenticmail.ts +0 -1017
- package/src/agent-tools/tools/bash.ts +0 -179
- package/src/agent-tools/tools/browser-tool.schema.ts +0 -112
- package/src/agent-tools/tools/browser-tool.ts +0 -388
- package/src/agent-tools/tools/browser.ts +0 -764
- package/src/agent-tools/tools/edit.ts +0 -100
- package/src/agent-tools/tools/enterprise-code-sandbox.ts +0 -395
- package/src/agent-tools/tools/enterprise-database.ts +0 -377
- package/src/agent-tools/tools/enterprise-diff.ts +0 -580
- package/src/agent-tools/tools/enterprise-documents.ts +0 -896
- package/src/agent-tools/tools/enterprise-http.ts +0 -485
- package/src/agent-tools/tools/enterprise-security-scan.ts +0 -528
- package/src/agent-tools/tools/enterprise-spreadsheet.ts +0 -825
- package/src/agent-tools/tools/glob.ts +0 -129
- package/src/agent-tools/tools/google/calendar.ts +0 -230
- package/src/agent-tools/tools/google/chat.ts +0 -725
- package/src/agent-tools/tools/google/contacts.ts +0 -209
- package/src/agent-tools/tools/google/docs.ts +0 -162
- package/src/agent-tools/tools/google/drive.ts +0 -392
- package/src/agent-tools/tools/google/forms.ts +0 -367
- package/src/agent-tools/tools/google/gmail.ts +0 -897
- package/src/agent-tools/tools/google/index.ts +0 -86
- package/src/agent-tools/tools/google/maps.ts +0 -543
- package/src/agent-tools/tools/google/meeting-voice.ts +0 -885
- package/src/agent-tools/tools/google/meetings.ts +0 -1094
- package/src/agent-tools/tools/google/sheets.ts +0 -215
- package/src/agent-tools/tools/google/slides.ts +0 -559
- package/src/agent-tools/tools/google/tasks.ts +0 -200
- package/src/agent-tools/tools/grep.ts +0 -178
- package/src/agent-tools/tools/integrations/_factory.ts +0 -102
- package/src/agent-tools/tools/integrations/activecampaign.ts +0 -14
- package/src/agent-tools/tools/integrations/adobe-sign.ts +0 -14
- package/src/agent-tools/tools/integrations/adp.ts +0 -14
- package/src/agent-tools/tools/integrations/airtable.ts +0 -14
- package/src/agent-tools/tools/integrations/apollo.ts +0 -14
- package/src/agent-tools/tools/integrations/asana.ts +0 -14
- package/src/agent-tools/tools/integrations/auth0.ts +0 -14
- package/src/agent-tools/tools/integrations/aws.ts +0 -14
- package/src/agent-tools/tools/integrations/azure-devops.ts +0 -14
- package/src/agent-tools/tools/integrations/bamboohr.ts +0 -14
- package/src/agent-tools/tools/integrations/basecamp.ts +0 -14
- package/src/agent-tools/tools/integrations/bigcommerce.ts +0 -14
- package/src/agent-tools/tools/integrations/bitbucket.ts +0 -14
- package/src/agent-tools/tools/integrations/box.ts +0 -14
- package/src/agent-tools/tools/integrations/brex.ts +0 -14
- package/src/agent-tools/tools/integrations/buffer.ts +0 -14
- package/src/agent-tools/tools/integrations/calendly.ts +0 -14
- package/src/agent-tools/tools/integrations/canva.ts +0 -14
- package/src/agent-tools/tools/integrations/chargebee.ts +0 -14
- package/src/agent-tools/tools/integrations/circleci.ts +0 -14
- package/src/agent-tools/tools/integrations/clickup.ts +0 -14
- package/src/agent-tools/tools/integrations/close.ts +0 -14
- package/src/agent-tools/tools/integrations/cloudflare.ts +0 -14
- package/src/agent-tools/tools/integrations/confluence.ts +0 -14
- package/src/agent-tools/tools/integrations/contentful.ts +0 -14
- package/src/agent-tools/tools/integrations/copper.ts +0 -14
- package/src/agent-tools/tools/integrations/crisp.ts +0 -14
- package/src/agent-tools/tools/integrations/crowdstrike.ts +0 -14
- package/src/agent-tools/tools/integrations/datadog.ts +0 -14
- package/src/agent-tools/tools/integrations/digitalocean.ts +0 -14
- package/src/agent-tools/tools/integrations/discord.ts +0 -14
- package/src/agent-tools/tools/integrations/docker.ts +0 -14
- package/src/agent-tools/tools/integrations/docusign.ts +0 -14
- package/src/agent-tools/tools/integrations/drift.ts +0 -14
- package/src/agent-tools/tools/integrations/dropbox.ts +0 -14
- package/src/agent-tools/tools/integrations/figma.ts +0 -14
- package/src/agent-tools/tools/integrations/firebase.ts +0 -14
- package/src/agent-tools/tools/integrations/flyio.ts +0 -14
- package/src/agent-tools/tools/integrations/freshbooks.ts +0 -14
- package/src/agent-tools/tools/integrations/freshdesk.ts +0 -14
- package/src/agent-tools/tools/integrations/freshsales.ts +0 -14
- package/src/agent-tools/tools/integrations/freshservice.ts +0 -14
- package/src/agent-tools/tools/integrations/front.ts +0 -14
- package/src/agent-tools/tools/integrations/github-actions.ts +0 -14
- package/src/agent-tools/tools/integrations/github.ts +0 -14
- package/src/agent-tools/tools/integrations/gitlab.ts +0 -14
- package/src/agent-tools/tools/integrations/gong.ts +0 -14
- package/src/agent-tools/tools/integrations/google-ads.ts +0 -14
- package/src/agent-tools/tools/integrations/google-analytics.ts +0 -14
- package/src/agent-tools/tools/integrations/google-cloud.ts +0 -14
- package/src/agent-tools/tools/integrations/gotomeeting.ts +0 -14
- package/src/agent-tools/tools/integrations/grafana.ts +0 -14
- package/src/agent-tools/tools/integrations/greenhouse.ts +0 -14
- package/src/agent-tools/tools/integrations/gusto.ts +0 -14
- package/src/agent-tools/tools/integrations/hashicorp-vault.ts +0 -14
- package/src/agent-tools/tools/integrations/heroku.ts +0 -14
- package/src/agent-tools/tools/integrations/hibob.ts +0 -14
- package/src/agent-tools/tools/integrations/hootsuite.ts +0 -14
- package/src/agent-tools/tools/integrations/hubspot.ts +0 -14
- package/src/agent-tools/tools/integrations/huggingface.ts +0 -14
- package/src/agent-tools/tools/integrations/index.ts +0 -474
- package/src/agent-tools/tools/integrations/intercom.ts +0 -14
- package/src/agent-tools/tools/integrations/jira.ts +0 -14
- package/src/agent-tools/tools/integrations/klaviyo.ts +0 -14
- package/src/agent-tools/tools/integrations/kubernetes.ts +0 -14
- package/src/agent-tools/tools/integrations/lattice.ts +0 -14
- package/src/agent-tools/tools/integrations/launchdarkly.ts +0 -14
- package/src/agent-tools/tools/integrations/lever.ts +0 -14
- package/src/agent-tools/tools/integrations/linear.ts +0 -14
- package/src/agent-tools/tools/integrations/linkedin.ts +0 -14
- package/src/agent-tools/tools/integrations/livechat.ts +0 -14
- package/src/agent-tools/tools/integrations/loom.ts +0 -14
- package/src/agent-tools/tools/integrations/mailchimp.ts +0 -14
- package/src/agent-tools/tools/integrations/mailgun.ts +0 -14
- package/src/agent-tools/tools/integrations/miro.ts +0 -14
- package/src/agent-tools/tools/integrations/mixpanel.ts +0 -14
- package/src/agent-tools/tools/integrations/monday.ts +0 -14
- package/src/agent-tools/tools/integrations/mongodb-atlas.ts +0 -14
- package/src/agent-tools/tools/integrations/neon.ts +0 -14
- package/src/agent-tools/tools/integrations/netlify.ts +0 -14
- package/src/agent-tools/tools/integrations/netsuite.ts +0 -14
- package/src/agent-tools/tools/integrations/newrelic.ts +0 -14
- package/src/agent-tools/tools/integrations/notion.ts +0 -14
- package/src/agent-tools/tools/integrations/okta.ts +0 -14
- package/src/agent-tools/tools/integrations/openai.ts +0 -14
- package/src/agent-tools/tools/integrations/opsgenie.ts +0 -14
- package/src/agent-tools/tools/integrations/outreach.ts +0 -14
- package/src/agent-tools/tools/integrations/paddle.ts +0 -14
- package/src/agent-tools/tools/integrations/pagerduty.ts +0 -14
- package/src/agent-tools/tools/integrations/pandadoc.ts +0 -14
- package/src/agent-tools/tools/integrations/paypal.ts +0 -14
- package/src/agent-tools/tools/integrations/personio.ts +0 -14
- package/src/agent-tools/tools/integrations/pinecone.ts +0 -14
- package/src/agent-tools/tools/integrations/pipedrive.ts +0 -14
- package/src/agent-tools/tools/integrations/plaid.ts +0 -14
- package/src/agent-tools/tools/integrations/postmark.ts +0 -14
- package/src/agent-tools/tools/integrations/power-automate.ts +0 -14
- package/src/agent-tools/tools/integrations/quickbooks.ts +0 -14
- package/src/agent-tools/tools/integrations/recurly.ts +0 -14
- package/src/agent-tools/tools/integrations/reddit.ts +0 -14
- package/src/agent-tools/tools/integrations/render.ts +0 -14
- package/src/agent-tools/tools/integrations/ringcentral.ts +0 -14
- package/src/agent-tools/tools/integrations/rippling.ts +0 -14
- package/src/agent-tools/tools/integrations/salesforce.ts +0 -14
- package/src/agent-tools/tools/integrations/salesloft.ts +0 -14
- package/src/agent-tools/tools/integrations/sanity.ts +0 -14
- package/src/agent-tools/tools/integrations/sap.ts +0 -14
- package/src/agent-tools/tools/integrations/segment.ts +0 -14
- package/src/agent-tools/tools/integrations/sendgrid.ts +0 -14
- package/src/agent-tools/tools/integrations/sentry.ts +0 -14
- package/src/agent-tools/tools/integrations/servicenow.ts +0 -14
- package/src/agent-tools/tools/integrations/shopify.ts +0 -14
- package/src/agent-tools/tools/integrations/shortcut.ts +0 -14
- package/src/agent-tools/tools/integrations/slack.ts +0 -14
- package/src/agent-tools/tools/integrations/smartsheet.ts +0 -14
- package/src/agent-tools/tools/integrations/snowflake.ts +0 -14
- package/src/agent-tools/tools/integrations/snyk.ts +0 -14
- package/src/agent-tools/tools/integrations/splunk.ts +0 -14
- package/src/agent-tools/tools/integrations/square.ts +0 -14
- package/src/agent-tools/tools/integrations/statuspage.ts +0 -14
- package/src/agent-tools/tools/integrations/stripe.ts +0 -14
- package/src/agent-tools/tools/integrations/supabase.ts +0 -14
- package/src/agent-tools/tools/integrations/teamwork.ts +0 -14
- package/src/agent-tools/tools/integrations/telegram.ts +0 -14
- package/src/agent-tools/tools/integrations/terraform.ts +0 -14
- package/src/agent-tools/tools/integrations/todoist.ts +0 -14
- package/src/agent-tools/tools/integrations/trello.ts +0 -14
- package/src/agent-tools/tools/integrations/twilio.ts +0 -14
- package/src/agent-tools/tools/integrations/twitter.ts +0 -14
- package/src/agent-tools/tools/integrations/vercel.ts +0 -14
- package/src/agent-tools/tools/integrations/weaviate.ts +0 -14
- package/src/agent-tools/tools/integrations/webex.ts +0 -14
- package/src/agent-tools/tools/integrations/webflow.ts +0 -14
- package/src/agent-tools/tools/integrations/whatsapp.ts +0 -14
- package/src/agent-tools/tools/integrations/whereby.ts +0 -14
- package/src/agent-tools/tools/integrations/woocommerce.ts +0 -14
- package/src/agent-tools/tools/integrations/wordpress.ts +0 -14
- package/src/agent-tools/tools/integrations/workday.ts +0 -14
- package/src/agent-tools/tools/integrations/wrike.ts +0 -14
- package/src/agent-tools/tools/integrations/xero.ts +0 -14
- package/src/agent-tools/tools/integrations/youtube.ts +0 -14
- package/src/agent-tools/tools/integrations/zendesk.ts +0 -14
- package/src/agent-tools/tools/integrations/zoho-crm.ts +0 -14
- package/src/agent-tools/tools/integrations/zoom.ts +0 -14
- package/src/agent-tools/tools/integrations/zuora.ts +0 -14
- package/src/agent-tools/tools/knowledge-search.ts +0 -318
- package/src/agent-tools/tools/local/coding.ts +0 -626
- package/src/agent-tools/tools/local/dependency-manager.ts +0 -647
- package/src/agent-tools/tools/local/file-edit.ts +0 -31
- package/src/agent-tools/tools/local/file-list.ts +0 -39
- package/src/agent-tools/tools/local/file-ops.ts +0 -48
- package/src/agent-tools/tools/local/file-read.ts +0 -39
- package/src/agent-tools/tools/local/file-search.ts +0 -46
- package/src/agent-tools/tools/local/file-write.ts +0 -28
- package/src/agent-tools/tools/local/filesystem.ts +0 -5
- package/src/agent-tools/tools/local/index.ts +0 -55
- package/src/agent-tools/tools/local/resolve-path.ts +0 -18
- package/src/agent-tools/tools/local/shell.ts +0 -277
- package/src/agent-tools/tools/local/system-info.ts +0 -29
- package/src/agent-tools/tools/management.ts +0 -425
- package/src/agent-tools/tools/mcp-bridge.ts +0 -142
- package/src/agent-tools/tools/mcp-server-tools.ts +0 -91
- package/src/agent-tools/tools/meeting-lifecycle.ts +0 -438
- package/src/agent-tools/tools/memory.ts +0 -509
- package/src/agent-tools/tools/messaging/index.ts +0 -6
- package/src/agent-tools/tools/messaging/telegram.ts +0 -167
- package/src/agent-tools/tools/messaging/whatsapp.ts +0 -651
- package/src/agent-tools/tools/microsoft/contacts.ts +0 -176
- package/src/agent-tools/tools/microsoft/excel-vba.ts +0 -331
- package/src/agent-tools/tools/microsoft/excel.ts +0 -261
- package/src/agent-tools/tools/microsoft/graph-api.ts +0 -161
- package/src/agent-tools/tools/microsoft/index.ts +0 -95
- package/src/agent-tools/tools/microsoft/onedrive.ts +0 -429
- package/src/agent-tools/tools/microsoft/onenote.ts +0 -186
- package/src/agent-tools/tools/microsoft/outlook-calendar.ts +0 -286
- package/src/agent-tools/tools/microsoft/outlook-mail.ts +0 -723
- package/src/agent-tools/tools/microsoft/planner.ts +0 -200
- package/src/agent-tools/tools/microsoft/powerbi.ts +0 -266
- package/src/agent-tools/tools/microsoft/powerpoint.ts +0 -186
- package/src/agent-tools/tools/microsoft/sharepoint.ts +0 -328
- package/src/agent-tools/tools/microsoft/teams.ts +0 -463
- package/src/agent-tools/tools/microsoft/todo.ts +0 -181
- package/src/agent-tools/tools/oauth-token-provider.ts +0 -101
- package/src/agent-tools/tools/read.ts +0 -160
- package/src/agent-tools/tools/visual-memory/capture.ts +0 -217
- package/src/agent-tools/tools/visual-memory/diff.ts +0 -283
- package/src/agent-tools/tools/visual-memory/index.ts +0 -698
- package/src/agent-tools/tools/visual-memory/phash.ts +0 -120
- package/src/agent-tools/tools/visual-memory/similarity.ts +0 -354
- package/src/agent-tools/tools/visual-memory/storage.ts +0 -534
- package/src/agent-tools/tools/visual-memory/types.ts +0 -100
- package/src/agent-tools/tools/web-fetch-utils.ts +0 -202
- package/src/agent-tools/tools/web-fetch.ts +0 -464
- package/src/agent-tools/tools/web-search.ts +0 -480
- package/src/agent-tools/tools/web-shared.ts +0 -232
- package/src/agent-tools/tools/write.ts +0 -68
- package/src/agent-tools/types.ts +0 -214
- package/src/agenticmail/index.ts +0 -34
- package/src/agenticmail/manager.ts +0 -253
- package/src/agenticmail/providers/google.ts +0 -391
- package/src/agenticmail/providers/imap.ts +0 -454
- package/src/agenticmail/providers/index.ts +0 -28
- package/src/agenticmail/providers/microsoft.ts +0 -260
- package/src/agenticmail/types.ts +0 -173
- package/src/auth/routes.ts +0 -1589
- package/src/browser/bridge-auth-registry.ts +0 -34
- package/src/browser/bridge-server.ts +0 -93
- package/src/browser/cdp.helpers.ts +0 -180
- package/src/browser/cdp.ts +0 -466
- package/src/browser/chrome.executables.ts +0 -625
- package/src/browser/chrome.profile-decoration.ts +0 -198
- package/src/browser/chrome.ts +0 -349
- package/src/browser/client-actions-core.ts +0 -259
- package/src/browser/client-actions-observe.ts +0 -184
- package/src/browser/client-actions-state.ts +0 -284
- package/src/browser/client-actions-types.ts +0 -16
- package/src/browser/client-actions-url.ts +0 -11
- package/src/browser/client-actions.ts +0 -4
- package/src/browser/client-fetch.ts +0 -253
- package/src/browser/client.ts +0 -337
- package/src/browser/config.ts +0 -301
- package/src/browser/constants.ts +0 -8
- package/src/browser/control-auth.ts +0 -94
- package/src/browser/control-service.ts +0 -81
- package/src/browser/csrf.ts +0 -87
- package/src/browser/enterprise-compat.ts +0 -562
- package/src/browser/extension-relay.ts +0 -834
- package/src/browser/http-auth.ts +0 -63
- package/src/browser/navigation-guard.ts +0 -50
- package/src/browser/paths.ts +0 -49
- package/src/browser/playwright.d.ts +0 -12
- package/src/browser/profiles-service.ts +0 -187
- package/src/browser/profiles.ts +0 -114
- package/src/browser/proxy-files.ts +0 -41
- package/src/browser/pw-ai-module.ts +0 -52
- package/src/browser/pw-ai-state.ts +0 -9
- package/src/browser/pw-ai.ts +0 -65
- package/src/browser/pw-role-snapshot.ts +0 -434
- package/src/browser/pw-session.ts +0 -810
- package/src/browser/pw-tools-core.activity.ts +0 -68
- package/src/browser/pw-tools-core.downloads.ts +0 -281
- package/src/browser/pw-tools-core.interactions.ts +0 -646
- package/src/browser/pw-tools-core.responses.ts +0 -124
- package/src/browser/pw-tools-core.shared.ts +0 -70
- package/src/browser/pw-tools-core.snapshot.ts +0 -213
- package/src/browser/pw-tools-core.state.ts +0 -209
- package/src/browser/pw-tools-core.storage.ts +0 -128
- package/src/browser/pw-tools-core.trace.ts +0 -37
- package/src/browser/pw-tools-core.ts +0 -8
- package/src/browser/resolved-config-refresh.ts +0 -59
- package/src/browser/routes/agent.act.shared.ts +0 -52
- package/src/browser/routes/agent.act.ts +0 -575
- package/src/browser/routes/agent.debug.ts +0 -149
- package/src/browser/routes/agent.shared.ts +0 -143
- package/src/browser/routes/agent.snapshot.ts +0 -333
- package/src/browser/routes/agent.storage.ts +0 -451
- package/src/browser/routes/agent.ts +0 -13
- package/src/browser/routes/basic.ts +0 -202
- package/src/browser/routes/dispatcher.ts +0 -126
- package/src/browser/routes/index.ts +0 -11
- package/src/browser/routes/path-output.ts +0 -1
- package/src/browser/routes/tabs.ts +0 -217
- package/src/browser/routes/types.ts +0 -26
- package/src/browser/routes/utils.ts +0 -73
- package/src/browser/screenshot.ts +0 -54
- package/src/browser/server-context.ts +0 -688
- package/src/browser/server-context.types.ts +0 -65
- package/src/browser/server-lifecycle.ts +0 -48
- package/src/browser/server-middleware.ts +0 -37
- package/src/browser/server.ts +0 -110
- package/src/browser/target-id.ts +0 -30
- package/src/browser/trash.ts +0 -21
- package/src/cli-agent.ts +0 -2452
- package/src/cli-reset-password.ts +0 -138
- package/src/cli-serve.ts +0 -314
- package/src/cli.ts +0 -103
- package/src/dashboard/HELP-TOOLTIPS-GUIDE.md +0 -45
- package/src/dashboard/app.js +0 -579
- package/src/dashboard/assets/brand-logos.js +0 -350
- package/src/dashboard/assets/icons/emoji-icons.js +0 -893
- package/src/dashboard/assets/logo.png +0 -0
- package/src/dashboard/assets/provider-logos.js +0 -139
- package/src/dashboard/components/error-boundary.js +0 -21
- package/src/dashboard/components/help-button.js +0 -65
- package/src/dashboard/components/icons.js +0 -64
- package/src/dashboard/components/knowledge-link.js +0 -79
- package/src/dashboard/components/modal.js +0 -125
- package/src/dashboard/components/org-switcher.js +0 -156
- package/src/dashboard/components/persona-fields.js +0 -460
- package/src/dashboard/components/settings-help.js +0 -193
- package/src/dashboard/components/tag-input.js +0 -96
- package/src/dashboard/components/timezones.js +0 -352
- package/src/dashboard/components/transport-encryption.js +0 -288
- package/src/dashboard/components/utils.js +0 -205
- package/src/dashboard/data/countries.js +0 -255
- package/src/dashboard/docs/activity.html +0 -253
- package/src/dashboard/docs/agent-activity.html +0 -199
- package/src/dashboard/docs/agent-autonomy.html +0 -161
- package/src/dashboard/docs/agent-budget.html +0 -190
- package/src/dashboard/docs/agent-channels.html +0 -189
- package/src/dashboard/docs/agent-communication.html +0 -171
- package/src/dashboard/docs/agent-configuration.html +0 -194
- package/src/dashboard/docs/agent-deployment.html +0 -323
- package/src/dashboard/docs/agent-email.html +0 -184
- package/src/dashboard/docs/agent-guardrails.html +0 -206
- package/src/dashboard/docs/agent-manager.html +0 -226
- package/src/dashboard/docs/agent-memory.html +0 -215
- package/src/dashboard/docs/agent-overview.html +0 -226
- package/src/dashboard/docs/agent-permissions.html +0 -305
- package/src/dashboard/docs/agent-personal.html +0 -155
- package/src/dashboard/docs/agent-security.html +0 -188
- package/src/dashboard/docs/agent-skills.html +0 -224
- package/src/dashboard/docs/agent-tool-security.html +0 -205
- package/src/dashboard/docs/agent-tools.html +0 -238
- package/src/dashboard/docs/agent-whatsapp.html +0 -210
- package/src/dashboard/docs/agent-workforce.html +0 -199
- package/src/dashboard/docs/agents.html +0 -258
- package/src/dashboard/docs/approvals.html +0 -200
- package/src/dashboard/docs/audit.html +0 -206
- package/src/dashboard/docs/browser-providers.html +0 -313
- package/src/dashboard/docs/cluster.html +0 -285
- package/src/dashboard/docs/community-skills.html +0 -253
- package/src/dashboard/docs/compliance.html +0 -221
- package/src/dashboard/docs/dashboard.html +0 -84
- package/src/dashboard/docs/database-access.html +0 -322
- package/src/dashboard/docs/dlp.html +0 -268
- package/src/dashboard/docs/docs-style.css +0 -26
- package/src/dashboard/docs/domain-status.html +0 -294
- package/src/dashboard/docs/guardrails.html +0 -265
- package/src/dashboard/docs/journal.html +0 -197
- package/src/dashboard/docs/knowledge-contributions.html +0 -286
- package/src/dashboard/docs/knowledge.html +0 -268
- package/src/dashboard/docs/memory-transfer.html +0 -311
- package/src/dashboard/docs/messages.html +0 -217
- package/src/dashboard/docs/multi-tenant.html +0 -311
- package/src/dashboard/docs/org-chart.html +0 -239
- package/src/dashboard/docs/organizations.html +0 -182
- package/src/dashboard/docs/roles.html +0 -195
- package/src/dashboard/docs/settings-network.html +0 -321
- package/src/dashboard/docs/settings-security.html +0 -347
- package/src/dashboard/docs/settings-tool-security.html +0 -176
- package/src/dashboard/docs/settings.html +0 -280
- package/src/dashboard/docs/skill-connections.html +0 -270
- package/src/dashboard/docs/skills.html +0 -206
- package/src/dashboard/docs/task-pipeline.html +0 -261
- package/src/dashboard/docs/transport-encryption.html +0 -359
- package/src/dashboard/docs/users.html +0 -225
- package/src/dashboard/docs/vault.html +0 -260
- package/src/dashboard/docs/workforce.html +0 -245
- package/src/dashboard/index.html +0 -444
- package/src/dashboard/pages/activity.js +0 -379
- package/src/dashboard/pages/agent-detail/activity.js +0 -277
- package/src/dashboard/pages/agent-detail/autonomy.js +0 -244
- package/src/dashboard/pages/agent-detail/budget.js +0 -269
- package/src/dashboard/pages/agent-detail/channels.js +0 -494
- package/src/dashboard/pages/agent-detail/communication.js +0 -296
- package/src/dashboard/pages/agent-detail/configuration.js +0 -882
- package/src/dashboard/pages/agent-detail/deployment.js +0 -958
- package/src/dashboard/pages/agent-detail/email.js +0 -674
- package/src/dashboard/pages/agent-detail/guardrails.js +0 -521
- package/src/dashboard/pages/agent-detail/index.js +0 -261
- package/src/dashboard/pages/agent-detail/manager.js +0 -357
- package/src/dashboard/pages/agent-detail/meeting-browser.js +0 -933
- package/src/dashboard/pages/agent-detail/memory.js +0 -368
- package/src/dashboard/pages/agent-detail/overview.js +0 -844
- package/src/dashboard/pages/agent-detail/permissions.js +0 -1163
- package/src/dashboard/pages/agent-detail/personal-details.js +0 -404
- package/src/dashboard/pages/agent-detail/security.js +0 -409
- package/src/dashboard/pages/agent-detail/shared.js +0 -85
- package/src/dashboard/pages/agent-detail/skills-section.js +0 -183
- package/src/dashboard/pages/agent-detail/tool-security.js +0 -380
- package/src/dashboard/pages/agent-detail/tools.js +0 -322
- package/src/dashboard/pages/agent-detail/whatsapp.js +0 -824
- package/src/dashboard/pages/agent-detail/workforce.js +0 -683
- package/src/dashboard/pages/agents.js +0 -1242
- package/src/dashboard/pages/approvals.js +0 -100
- package/src/dashboard/pages/audit.js +0 -198
- package/src/dashboard/pages/cluster.js +0 -512
- package/src/dashboard/pages/community-skills.js +0 -1219
- package/src/dashboard/pages/compliance.js +0 -475
- package/src/dashboard/pages/dashboard.js +0 -180
- package/src/dashboard/pages/database-access.js +0 -812
- package/src/dashboard/pages/dlp.js +0 -293
- package/src/dashboard/pages/domain-status.js +0 -951
- package/src/dashboard/pages/guardrails.js +0 -1035
- package/src/dashboard/pages/journal.js +0 -172
- package/src/dashboard/pages/knowledge-contributions.js +0 -1682
- package/src/dashboard/pages/knowledge-import.js +0 -455
- package/src/dashboard/pages/knowledge.js +0 -582
- package/src/dashboard/pages/login.js +0 -1056
- package/src/dashboard/pages/memory-transfer.js +0 -631
- package/src/dashboard/pages/messages.js +0 -303
- package/src/dashboard/pages/org-chart.js +0 -349
- package/src/dashboard/pages/organizations.js +0 -1081
- package/src/dashboard/pages/roles.js +0 -780
- package/src/dashboard/pages/settings.js +0 -3790
- package/src/dashboard/pages/skill-connections.js +0 -982
- package/src/dashboard/pages/skills.js +0 -879
- package/src/dashboard/pages/task-pipeline.js +0 -684
- package/src/dashboard/pages/users.js +0 -867
- package/src/dashboard/pages/vault.js +0 -791
- package/src/dashboard/pages/workforce.js +0 -851
- package/src/dashboard/vendor/react-dom.development.js +0 -29924
- package/src/dashboard/vendor/react-dom.production.min.js +0 -267
- package/src/dashboard/vendor/react.development.js +0 -3343
- package/src/dashboard/vendor/react.production.min.js +0 -31
- package/src/database-access/agent-tools.ts +0 -193
- package/src/database-access/connection-manager.ts +0 -1341
- package/src/database-access/index.ts +0 -21
- package/src/database-access/query-sanitizer.ts +0 -220
- package/src/database-access/routes.ts +0 -226
- package/src/database-access/types.ts +0 -226
- package/src/db/adapter.ts +0 -510
- package/src/db/dynamodb.ts +0 -454
- package/src/db/factory.ts +0 -129
- package/src/db/mongodb.ts +0 -360
- package/src/db/mysql.ts +0 -531
- package/src/db/postgres.ts +0 -863
- package/src/db/proxy.ts +0 -39
- package/src/db/resolve-driver.ts +0 -29
- package/src/db/sql-schema.ts +0 -124
- package/src/db/sqlite.ts +0 -493
- package/src/db/turso.ts +0 -470
- package/src/deploy/fly.ts +0 -368
- package/src/deploy/managed.ts +0 -235
- package/src/domain-lock/cli-recover.ts +0 -591
- package/src/domain-lock/cli-verify.ts +0 -190
- package/src/domain-lock/index.ts +0 -220
- package/src/engine/activity-routes.ts +0 -154
- package/src/engine/activity.ts +0 -568
- package/src/engine/agent-autonomy.ts +0 -974
- package/src/engine/agent-config.ts +0 -646
- package/src/engine/agent-heartbeat.ts +0 -720
- package/src/engine/agent-hierarchy.ts +0 -1064
- package/src/engine/agent-memory.ts +0 -806
- package/src/engine/agent-notify.ts +0 -50
- package/src/engine/agent-routes.ts +0 -2583
- package/src/engine/agent-status.ts +0 -311
- package/src/engine/ambient-memory.ts +0 -401
- package/src/engine/approvals.ts +0 -615
- package/src/engine/assets/thinking-hum.mp3 +0 -0
- package/src/engine/catalog-routes.ts +0 -232
- package/src/engine/chat-poller.ts +0 -913
- package/src/engine/chat-webhook-routes.ts +0 -304
- package/src/engine/cli-build-skill.ts +0 -285
- package/src/engine/cli-submit-skill.ts +0 -200
- package/src/engine/cli-validate.ts +0 -188
- package/src/engine/cluster.ts +0 -278
- package/src/engine/communication-routes.ts +0 -139
- package/src/engine/communication.ts +0 -765
- package/src/engine/community-registry.ts +0 -1529
- package/src/engine/community-routes.ts +0 -260
- package/src/engine/compliance-routes.ts +0 -133
- package/src/engine/compliance.ts +0 -1679
- package/src/engine/config-bus.ts +0 -103
- package/src/engine/db-adapter.ts +0 -1156
- package/src/engine/db-schema.ts +0 -1945
- package/src/engine/deploy-schema-routes.ts +0 -176
- package/src/engine/deployer.ts +0 -957
- package/src/engine/dlp-routes.ts +0 -101
- package/src/engine/dlp.ts +0 -410
- package/src/engine/email-poller.ts +0 -855
- package/src/engine/emoji.ts +0 -106
- package/src/engine/guardrail-routes.ts +0 -125
- package/src/engine/guardrails.ts +0 -465
- package/src/engine/index.ts +0 -255
- package/src/engine/journal-routes.ts +0 -56
- package/src/engine/journal.ts +0 -249
- package/src/engine/knowledge-contribution-routes.ts +0 -633
- package/src/engine/knowledge-contribution.ts +0 -1386
- package/src/engine/knowledge-import/chunker.ts +0 -241
- package/src/engine/knowledge-import/import-manager.ts +0 -416
- package/src/engine/knowledge-import/index.ts +0 -27
- package/src/engine/knowledge-import/processors/clean.ts +0 -149
- package/src/engine/knowledge-import/processors/extract-gdrive.ts +0 -102
- package/src/engine/knowledge-import/processors/extract-github.ts +0 -74
- package/src/engine/knowledge-import/processors/extract-sharepoint.ts +0 -69
- package/src/engine/knowledge-import/processors/extract-web.ts +0 -275
- package/src/engine/knowledge-import/processors/index.ts +0 -18
- package/src/engine/knowledge-import/processors/pipeline.ts +0 -171
- package/src/engine/knowledge-import/processors/types.ts +0 -78
- package/src/engine/knowledge-import/processors/validate.ts +0 -150
- package/src/engine/knowledge-import/provider-file-upload.ts +0 -95
- package/src/engine/knowledge-import/provider-github.ts +0 -144
- package/src/engine/knowledge-import/provider-google-sites.ts +0 -323
- package/src/engine/knowledge-import/provider-sharepoint.ts +0 -276
- package/src/engine/knowledge-import/provider-url.ts +0 -218
- package/src/engine/knowledge-import/routes.ts +0 -94
- package/src/engine/knowledge-import/types.ts +0 -92
- package/src/engine/knowledge-routes.ts +0 -231
- package/src/engine/knowledge.ts +0 -587
- package/src/engine/lifecycle.ts +0 -1420
- package/src/engine/mcp-process-manager.ts +0 -573
- package/src/engine/meeting-monitor.ts +0 -483
- package/src/engine/meeting-voice-intelligence.ts +0 -340
- package/src/engine/memory-routes.ts +0 -142
- package/src/engine/memory-transfer-routes.ts +0 -339
- package/src/engine/messaging-history.ts +0 -177
- package/src/engine/messaging-poller.ts +0 -786
- package/src/engine/model-fallback.ts +0 -141
- package/src/engine/oauth-connect-routes.ts +0 -603
- package/src/engine/oauth-connect.ts +0 -304
- package/src/engine/onboarding-routes.ts +0 -148
- package/src/engine/onboarding.ts +0 -574
- package/src/engine/org-approval-routes.ts +0 -146
- package/src/engine/org-integration-routes.ts +0 -399
- package/src/engine/org-integrations.ts +0 -608
- package/src/engine/org-policies.ts +0 -502
- package/src/engine/policy-import-routes.ts +0 -125
- package/src/engine/policy-import.ts +0 -1186
- package/src/engine/policy-routes.ts +0 -163
- package/src/engine/routes.ts +0 -1236
- package/src/engine/screen-unlock.ts +0 -136
- package/src/engine/session-router.ts +0 -212
- package/src/engine/skill-updater-routes.ts +0 -132
- package/src/engine/skill-updater.ts +0 -480
- package/src/engine/skill-validator.ts +0 -331
- package/src/engine/skills/agent-management.ts +0 -119
- package/src/engine/skills/agent-memory.ts +0 -19
- package/src/engine/skills/agenticmail.ts +0 -116
- package/src/engine/skills/core-tools.ts +0 -25
- package/src/engine/skills/database-access.ts +0 -78
- package/src/engine/skills/enterprise-code-sandbox.ts +0 -113
- package/src/engine/skills/enterprise-database.ts +0 -123
- package/src/engine/skills/enterprise-diff.ts +0 -95
- package/src/engine/skills/enterprise-documents.ts +0 -162
- package/src/engine/skills/enterprise-http.ts +0 -99
- package/src/engine/skills/enterprise-security-scan.ts +0 -125
- package/src/engine/skills/enterprise-spreadsheet.ts +0 -171
- package/src/engine/skills/gws-admin.ts +0 -18
- package/src/engine/skills/gws-calendar.ts +0 -21
- package/src/engine/skills/gws-chat.ts +0 -29
- package/src/engine/skills/gws-contacts.ts +0 -20
- package/src/engine/skills/gws-docs.ts +0 -18
- package/src/engine/skills/gws-drive.ts +0 -23
- package/src/engine/skills/gws-forms.ts +0 -23
- package/src/engine/skills/gws-gmail.ts +0 -30
- package/src/engine/skills/gws-groups.ts +0 -17
- package/src/engine/skills/gws-keep.ts +0 -17
- package/src/engine/skills/gws-maps.ts +0 -25
- package/src/engine/skills/gws-meet.ts +0 -23
- package/src/engine/skills/gws-sheets.ts +0 -22
- package/src/engine/skills/gws-sites.ts +0 -16
- package/src/engine/skills/gws-slides.ts +0 -27
- package/src/engine/skills/gws-tasks.ts +0 -22
- package/src/engine/skills/gws-vault.ts +0 -17
- package/src/engine/skills/index.ts +0 -159
- package/src/engine/skills/knowledge-search.ts +0 -18
- package/src/engine/skills/local-system.ts +0 -61
- package/src/engine/skills/m365-admin.ts +0 -18
- package/src/engine/skills/m365-bookings.ts +0 -17
- package/src/engine/skills/m365-copilot.ts +0 -17
- package/src/engine/skills/m365-excel.ts +0 -60
- package/src/engine/skills/m365-forms.ts +0 -17
- package/src/engine/skills/m365-onedrive.ts +0 -60
- package/src/engine/skills/m365-onenote.ts +0 -17
- package/src/engine/skills/m365-outlook.ts +0 -27
- package/src/engine/skills/m365-planner.ts +0 -18
- package/src/engine/skills/m365-power-automate.ts +0 -18
- package/src/engine/skills/m365-power-bi.ts +0 -19
- package/src/engine/skills/m365-powerpoint.ts +0 -33
- package/src/engine/skills/m365-sharepoint.ts +0 -20
- package/src/engine/skills/m365-teams.ts +0 -21
- package/src/engine/skills/m365-todo.ts +0 -17
- package/src/engine/skills/m365-whiteboard.ts +0 -16
- package/src/engine/skills/m365-word.ts +0 -42
- package/src/engine/skills/mcp-bridge.ts +0 -45
- package/src/engine/skills/meeting-lifecycle.ts +0 -20
- package/src/engine/skills/messaging.ts +0 -46
- package/src/engine/skills/visual-memory.ts +0 -25
- package/src/engine/skills.ts +0 -688
- package/src/engine/soul-library.ts +0 -142
- package/src/engine/soul-templates.json +0 -1525
- package/src/engine/storage-manager.ts +0 -252
- package/src/engine/storage-routes.ts +0 -113
- package/src/engine/storage.ts +0 -528
- package/src/engine/task-poller.ts +0 -394
- package/src/engine/task-queue-after-spawn.ts +0 -66
- package/src/engine/task-queue-before-spawn.ts +0 -113
- package/src/engine/task-queue-routes.ts +0 -161
- package/src/engine/task-queue.ts +0 -664
- package/src/engine/tenant.ts +0 -409
- package/src/engine/tool-catalog.ts +0 -354
- package/src/engine/vault-routes.ts +0 -134
- package/src/engine/vault.ts +0 -601
- package/src/engine/workforce-routes.ts +0 -331
- package/src/engine/workforce.ts +0 -1161
- package/src/index.ts +0 -77
- package/src/lib/cidr.ts +0 -122
- package/src/lib/config-store.ts +0 -86
- package/src/lib/resilience.ts +0 -326
- package/src/lib/text-search.ts +0 -358
- package/src/mcp/adapters/activecampaign.adapter.ts +0 -391
- package/src/mcp/adapters/adobe-sign.adapter.ts +0 -469
- package/src/mcp/adapters/adp.adapter.ts +0 -358
- package/src/mcp/adapters/airtable.adapter.ts +0 -273
- package/src/mcp/adapters/apollo.adapter.ts +0 -420
- package/src/mcp/adapters/asana.adapter.ts +0 -315
- package/src/mcp/adapters/auth0.adapter.ts +0 -386
- package/src/mcp/adapters/aws.adapter.ts +0 -345
- package/src/mcp/adapters/azure-devops.adapter.ts +0 -389
- package/src/mcp/adapters/bamboohr.adapter.ts +0 -376
- package/src/mcp/adapters/basecamp.adapter.ts +0 -366
- package/src/mcp/adapters/bigcommerce.adapter.ts +0 -429
- package/src/mcp/adapters/bitbucket.adapter.ts +0 -260
- package/src/mcp/adapters/box.adapter.ts +0 -350
- package/src/mcp/adapters/brex.adapter.ts +0 -367
- package/src/mcp/adapters/buffer.adapter.ts +0 -303
- package/src/mcp/adapters/calendly.adapter.ts +0 -262
- package/src/mcp/adapters/canva.adapter.ts +0 -256
- package/src/mcp/adapters/chargebee.adapter.ts +0 -448
- package/src/mcp/adapters/circleci.adapter.ts +0 -216
- package/src/mcp/adapters/clickup.adapter.ts +0 -335
- package/src/mcp/adapters/close.adapter.ts +0 -390
- package/src/mcp/adapters/cloudflare.adapter.ts +0 -378
- package/src/mcp/adapters/confluence.adapter.ts +0 -301
- package/src/mcp/adapters/contentful.adapter.ts +0 -355
- package/src/mcp/adapters/copper.adapter.ts +0 -468
- package/src/mcp/adapters/crisp.adapter.ts +0 -415
- package/src/mcp/adapters/crowdstrike.adapter.ts +0 -413
- package/src/mcp/adapters/datadog.adapter.ts +0 -373
- package/src/mcp/adapters/digitalocean.adapter.ts +0 -336
- package/src/mcp/adapters/discord.adapter.ts +0 -248
- package/src/mcp/adapters/docker.adapter.ts +0 -238
- package/src/mcp/adapters/docusign.adapter.ts +0 -431
- package/src/mcp/adapters/drift.adapter.ts +0 -386
- package/src/mcp/adapters/dropbox.adapter.ts +0 -315
- package/src/mcp/adapters/figma.adapter.ts +0 -302
- package/src/mcp/adapters/firebase.adapter.ts +0 -446
- package/src/mcp/adapters/flyio.adapter.ts +0 -302
- package/src/mcp/adapters/freshbooks.adapter.ts +0 -474
- package/src/mcp/adapters/freshdesk.adapter.ts +0 -441
- package/src/mcp/adapters/freshsales.adapter.ts +0 -457
- package/src/mcp/adapters/freshservice.adapter.ts +0 -481
- package/src/mcp/adapters/front.adapter.ts +0 -357
- package/src/mcp/adapters/github-actions.adapter.ts +0 -329
- package/src/mcp/adapters/github.adapter.ts +0 -387
- package/src/mcp/adapters/gitlab.adapter.ts +0 -368
- package/src/mcp/adapters/gong.adapter.ts +0 -386
- package/src/mcp/adapters/google-ads.adapter.ts +0 -363
- package/src/mcp/adapters/google-analytics.adapter.ts +0 -316
- package/src/mcp/adapters/google-cloud.adapter.ts +0 -312
- package/src/mcp/adapters/gotomeeting.adapter.ts +0 -255
- package/src/mcp/adapters/grafana.adapter.ts +0 -361
- package/src/mcp/adapters/greenhouse.adapter.ts +0 -354
- package/src/mcp/adapters/gusto.adapter.ts +0 -329
- package/src/mcp/adapters/hashicorp-vault.adapter.ts +0 -355
- package/src/mcp/adapters/heroku.adapter.ts +0 -291
- package/src/mcp/adapters/hibob.adapter.ts +0 -334
- package/src/mcp/adapters/hootsuite.adapter.ts +0 -322
- package/src/mcp/adapters/hubspot.adapter.ts +0 -400
- package/src/mcp/adapters/huggingface.adapter.ts +0 -349
- package/src/mcp/adapters/index.ts +0 -524
- package/src/mcp/adapters/intercom.adapter.ts +0 -269
- package/src/mcp/adapters/jira.adapter.ts +0 -482
- package/src/mcp/adapters/klaviyo.adapter.ts +0 -353
- package/src/mcp/adapters/kubernetes.adapter.ts +0 -431
- package/src/mcp/adapters/lattice.adapter.ts +0 -339
- package/src/mcp/adapters/launchdarkly.adapter.ts +0 -368
- package/src/mcp/adapters/lever.adapter.ts +0 -347
- package/src/mcp/adapters/linear.adapter.ts +0 -300
- package/src/mcp/adapters/linkedin.adapter.ts +0 -331
- package/src/mcp/adapters/livechat.adapter.ts +0 -259
- package/src/mcp/adapters/loom.adapter.ts +0 -230
- package/src/mcp/adapters/mailchimp.adapter.ts +0 -394
- package/src/mcp/adapters/mailgun.adapter.ts +0 -425
- package/src/mcp/adapters/miro.adapter.ts +0 -274
- package/src/mcp/adapters/mixpanel.adapter.ts +0 -324
- package/src/mcp/adapters/monday.adapter.ts +0 -308
- package/src/mcp/adapters/mongodb-atlas.adapter.ts +0 -345
- package/src/mcp/adapters/neon.adapter.ts +0 -312
- package/src/mcp/adapters/netlify.adapter.ts +0 -324
- package/src/mcp/adapters/netsuite.adapter.ts +0 -411
- package/src/mcp/adapters/newrelic.adapter.ts +0 -339
- package/src/mcp/adapters/notion.adapter.ts +0 -338
- package/src/mcp/adapters/okta.adapter.ts +0 -394
- package/src/mcp/adapters/openai.adapter.ts +0 -315
- package/src/mcp/adapters/opsgenie.adapter.ts +0 -375
- package/src/mcp/adapters/outreach.adapter.ts +0 -372
- package/src/mcp/adapters/paddle.adapter.ts +0 -467
- package/src/mcp/adapters/pagerduty.adapter.ts +0 -412
- package/src/mcp/adapters/pandadoc.adapter.ts +0 -389
- package/src/mcp/adapters/paypal.adapter.ts +0 -465
- package/src/mcp/adapters/personio.adapter.ts +0 -401
- package/src/mcp/adapters/pinecone.adapter.ts +0 -340
- package/src/mcp/adapters/pipedrive.adapter.ts +0 -324
- package/src/mcp/adapters/plaid.adapter.ts +0 -444
- package/src/mcp/adapters/postmark.adapter.ts +0 -387
- package/src/mcp/adapters/power-automate.adapter.ts +0 -388
- package/src/mcp/adapters/quickbooks.adapter.ts +0 -431
- package/src/mcp/adapters/recurly.adapter.ts +0 -433
- package/src/mcp/adapters/reddit.adapter.ts +0 -371
- package/src/mcp/adapters/render.adapter.ts +0 -332
- package/src/mcp/adapters/ringcentral.adapter.ts +0 -281
- package/src/mcp/adapters/rippling.adapter.ts +0 -287
- package/src/mcp/adapters/salesforce.adapter.ts +0 -321
- package/src/mcp/adapters/salesloft.adapter.ts +0 -413
- package/src/mcp/adapters/sanity.adapter.ts +0 -363
- package/src/mcp/adapters/sap.adapter.ts +0 -483
- package/src/mcp/adapters/segment.adapter.ts +0 -260
- package/src/mcp/adapters/sendgrid.adapter.ts +0 -265
- package/src/mcp/adapters/sentry.adapter.ts +0 -331
- package/src/mcp/adapters/servicenow.adapter.ts +0 -468
- package/src/mcp/adapters/shopify.adapter.ts +0 -451
- package/src/mcp/adapters/shortcut.adapter.ts +0 -290
- package/src/mcp/adapters/slack.adapter.ts +0 -380
- package/src/mcp/adapters/smartsheet.adapter.ts +0 -326
- package/src/mcp/adapters/snowflake.adapter.ts +0 -347
- package/src/mcp/adapters/snyk.adapter.ts +0 -394
- package/src/mcp/adapters/splunk.adapter.ts +0 -403
- package/src/mcp/adapters/square.adapter.ts +0 -467
- package/src/mcp/adapters/statuspage.adapter.ts +0 -401
- package/src/mcp/adapters/stripe.adapter.ts +0 -380
- package/src/mcp/adapters/supabase.adapter.ts +0 -334
- package/src/mcp/adapters/teamwork.adapter.ts +0 -404
- package/src/mcp/adapters/telegram.adapter.ts +0 -299
- package/src/mcp/adapters/terraform.adapter.ts +0 -300
- package/src/mcp/adapters/todoist.adapter.ts +0 -239
- package/src/mcp/adapters/trello.adapter.ts +0 -316
- package/src/mcp/adapters/twilio.adapter.ts +0 -233
- package/src/mcp/adapters/twitter.adapter.ts +0 -348
- package/src/mcp/adapters/vercel.adapter.ts +0 -219
- package/src/mcp/adapters/weaviate.adapter.ts +0 -371
- package/src/mcp/adapters/webex.adapter.ts +0 -237
- package/src/mcp/adapters/webflow.adapter.ts +0 -287
- package/src/mcp/adapters/whatsapp.adapter.ts +0 -273
- package/src/mcp/adapters/whereby.adapter.ts +0 -240
- package/src/mcp/adapters/woocommerce.adapter.ts +0 -454
- package/src/mcp/adapters/wordpress.adapter.ts +0 -455
- package/src/mcp/adapters/workday.adapter.ts +0 -354
- package/src/mcp/adapters/wrike.adapter.ts +0 -349
- package/src/mcp/adapters/xero.adapter.ts +0 -472
- package/src/mcp/adapters/youtube.adapter.ts +0 -401
- package/src/mcp/adapters/zendesk.adapter.ts +0 -399
- package/src/mcp/adapters/zoho-crm.adapter.ts +0 -410
- package/src/mcp/adapters/zoom.adapter.ts +0 -241
- package/src/mcp/adapters/zuora.adapter.ts +0 -476
- package/src/mcp/framework/api-executor.ts +0 -192
- package/src/mcp/framework/aws-sigv4.ts +0 -216
- package/src/mcp/framework/credential-resolver.ts +0 -128
- package/src/mcp/framework/oauth-token-manager.ts +0 -22
- package/src/mcp/framework/skill-mcp-framework.ts +0 -226
- package/src/mcp/framework/types.ts +0 -130
- package/src/mcp/index.ts +0 -124
- package/src/mcp/integration-catalog.ts +0 -178
- package/src/middleware/dns-rebinding.ts +0 -44
- package/src/middleware/egress-filter.ts +0 -104
- package/src/middleware/firewall.ts +0 -192
- package/src/middleware/geo-ip.ts +0 -156
- package/src/middleware/index.ts +0 -390
- package/src/middleware/network-config.ts +0 -90
- package/src/middleware/proxy-config.ts +0 -71
- package/src/middleware/request-limits.ts +0 -59
- package/src/middleware/transport-encryption.ts +0 -398
- package/src/registry/cli.ts +0 -63
- package/src/registry/server.ts +0 -504
- package/src/runtime/agent-loop.ts +0 -779
- package/src/runtime/compaction.ts +0 -638
- package/src/runtime/email-channel.ts +0 -120
- package/src/runtime/environment.ts +0 -300
- package/src/runtime/followup.ts +0 -211
- package/src/runtime/gateway.ts +0 -260
- package/src/runtime/hooks.ts +0 -564
- package/src/runtime/index.ts +0 -1110
- package/src/runtime/llm-client.ts +0 -1056
- package/src/runtime/model-router.ts +0 -97
- package/src/runtime/providers.ts +0 -228
- package/src/runtime/session-manager.ts +0 -345
- package/src/runtime/subagent.ts +0 -153
- package/src/runtime/tool-executor.ts +0 -208
- package/src/runtime/types.ts +0 -255
- package/src/security/brute-force.ts +0 -423
- package/src/security/config.ts +0 -159
- package/src/security/csp.ts +0 -407
- package/src/security/external-content.ts +0 -299
- package/src/security/index.ts +0 -557
- package/src/security/input-sanitizer.ts +0 -452
- package/src/security/output-filter.ts +0 -575
- package/src/security/port-scanner.ts +0 -342
- package/src/security/prompt-guard.ts +0 -387
- package/src/security/sql-guard.ts +0 -338
- package/src/security/threat-logger.ts +0 -484
- package/src/server.ts +0 -828
- package/src/setup/company.ts +0 -183
- package/src/setup/database.ts +0 -153
- package/src/setup/deployment.ts +0 -561
- package/src/setup/domain.ts +0 -112
- package/src/setup/index.ts +0 -171
- package/src/setup/provision.ts +0 -532
- package/src/setup/registration.ts +0 -302
- package/src/system-prompts/catchup.ts +0 -48
- package/src/system-prompts/google/calendar.ts +0 -37
- package/src/system-prompts/google/chat.ts +0 -92
- package/src/system-prompts/google/contacts.ts +0 -25
- package/src/system-prompts/google/docs.ts +0 -29
- package/src/system-prompts/google/drive.ts +0 -34
- package/src/system-prompts/google/forms.ts +0 -25
- package/src/system-prompts/google/gmail.ts +0 -50
- package/src/system-prompts/google/index.ts +0 -23
- package/src/system-prompts/google/maps.ts +0 -20
- package/src/system-prompts/google/meet.ts +0 -130
- package/src/system-prompts/google/sheets.ts +0 -32
- package/src/system-prompts/google/slides.ts +0 -26
- package/src/system-prompts/google/tasks.ts +0 -27
- package/src/system-prompts/index.ts +0 -88
- package/src/system-prompts/microsoft/contacts.ts +0 -34
- package/src/system-prompts/microsoft/excel.ts +0 -52
- package/src/system-prompts/microsoft/index.ts +0 -31
- package/src/system-prompts/microsoft/onedrive.ts +0 -41
- package/src/system-prompts/microsoft/onenote.ts +0 -36
- package/src/system-prompts/microsoft/outlook-calendar.ts +0 -37
- package/src/system-prompts/microsoft/outlook-mail.ts +0 -46
- package/src/system-prompts/microsoft/planner.ts +0 -37
- package/src/system-prompts/microsoft/powerbi.ts +0 -38
- package/src/system-prompts/microsoft/powerpoint.ts +0 -35
- package/src/system-prompts/microsoft/sharepoint.ts +0 -44
- package/src/system-prompts/microsoft/teams.ts +0 -49
- package/src/system-prompts/microsoft/todo.ts +0 -37
- package/src/system-prompts/shared-blocks.ts +0 -87
- package/src/system-prompts/task.ts +0 -21
- package/src/system-prompts/triage.ts +0 -34
- package/src/types/hono-env.ts +0 -18
- package/src/types/optional-deps.d.ts +0 -10
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Google Maps — system prompt guidance.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export const MAPS_PROMPT = `
|
|
6
|
-
## Google Maps
|
|
7
|
-
You have full access to Google Maps. Use it naturally like a human would:
|
|
8
|
-
- **Find places:** google_maps_search("coffee shops near me"), google_maps_nearby(location, type)
|
|
9
|
-
- **Get directions:** google_maps_directions(origin, destination, mode) — supports driving, walking, transit, bicycling
|
|
10
|
-
- **Compare distances:** google_maps_distance(origins, destinations) — multiple at once
|
|
11
|
-
- **Place details:** google_maps_place_details(placeId) — hours, reviews, phone, website
|
|
12
|
-
- **Resolve addresses:** google_maps_geocode(address) or reverse with latlng
|
|
13
|
-
- **Autocomplete:** google_maps_autocomplete(input) — resolve partial names
|
|
14
|
-
|
|
15
|
-
Tips:
|
|
16
|
-
- Always geocode an address first if you need coordinates for nearby search
|
|
17
|
-
- Use distance matrix to compare "which is closest?" questions efficiently
|
|
18
|
-
- Include departure_time="now" for real-time traffic estimates
|
|
19
|
-
- Place IDs from search results can be passed to place_details for full info
|
|
20
|
-
`;
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Google Meet — system prompts for meeting joining and participation.
|
|
3
|
-
*
|
|
4
|
-
* Key design: MeetingMonitor streams captions/chat to the agent automatically.
|
|
5
|
-
* The agent no longer needs to manually poll read_captions in a loop.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import type { PromptContext } from '../index.js';
|
|
9
|
-
|
|
10
|
-
export interface MeetJoinContext extends PromptContext {
|
|
11
|
-
meetingUrl: string;
|
|
12
|
-
meetingTitle?: string;
|
|
13
|
-
startTime?: string;
|
|
14
|
-
organizer?: string;
|
|
15
|
-
attendees?: string[];
|
|
16
|
-
isHost?: boolean;
|
|
17
|
-
minutesUntilStart?: number;
|
|
18
|
-
description?: string;
|
|
19
|
-
/** True if the organizer is from outside the agent's email domain */
|
|
20
|
-
isExternal?: boolean;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Prompt for auto-joining a Google Meet from calendar poll.
|
|
25
|
-
*
|
|
26
|
-
* After meeting_join, a MeetingMonitor is started that pushes
|
|
27
|
-
* caption/chat updates to the session automatically.
|
|
28
|
-
*/
|
|
29
|
-
export function buildMeetJoinPrompt(ctx: MeetJoinContext): string {
|
|
30
|
-
const attendeeList = ctx.attendees?.length
|
|
31
|
-
? `- Attendees: ${ctx.attendees.join(', ')}`
|
|
32
|
-
: '';
|
|
33
|
-
|
|
34
|
-
return `You are ${ctx.agent.name}, a ${ctx.agent.role}.${ctx.agent.personality ? ' ' + ctx.agent.personality : ''}
|
|
35
|
-
|
|
36
|
-
## Meeting to Join NOW
|
|
37
|
-
- URL: ${ctx.meetingUrl}
|
|
38
|
-
${ctx.meetingTitle ? `- Title: ${ctx.meetingTitle}` : ''}
|
|
39
|
-
${ctx.startTime ? `- Start: ${ctx.startTime}` : ''}
|
|
40
|
-
${ctx.organizer ? `- Organizer: ${ctx.organizer}` : ''}
|
|
41
|
-
${attendeeList}
|
|
42
|
-
${ctx.description ? `- Description: ${ctx.description.slice(0, 300)}` : ''}
|
|
43
|
-
${ctx.isHost ? '- You are the HOST — join immediately so attendees can be admitted.' : ''}
|
|
44
|
-
${ctx.isExternal ? '- ⚠️ EXTERNAL MEETING — organizer is from outside your organization' : ''}
|
|
45
|
-
|
|
46
|
-
## Meeting Authorization
|
|
47
|
-
**Before joining ANY meeting**, you MUST verify authorization:
|
|
48
|
-
${ctx.isExternal
|
|
49
|
-
? `⚠️ This is an EXTERNAL meeting (organizer: ${ctx.organizer}). You MUST:
|
|
50
|
-
1. **DO NOT join immediately** — email your manager (${ctx.managerEmail || 'your manager'}) first
|
|
51
|
-
2. Explain the meeting details (title, organizer, time, attendees)
|
|
52
|
-
3. Ask for explicit authorization to join
|
|
53
|
-
4. ONLY join after receiving approval
|
|
54
|
-
5. If no response within 5 minutes of the meeting start, DO NOT join`
|
|
55
|
-
: `This meeting is from within your organization. You may join, but still exercise caution:
|
|
56
|
-
- If the meeting seems unusual or you were not explicitly invited, notify your manager
|
|
57
|
-
- Always be careful about what you share in meetings`}
|
|
58
|
-
|
|
59
|
-
## Step 1: ${ctx.isExternal ? 'Request Authorization (then Join)' : 'Join'}
|
|
60
|
-
${ctx.isExternal ? 'Email your manager for approval first. Once approved:' : ''}
|
|
61
|
-
Call meeting_join(url: "${ctx.meetingUrl}")${ctx.isExternal ? ' — ONLY after manager approval.' : ' right now.'}
|
|
62
|
-
|
|
63
|
-
## Step 2: Real-time Monitoring (automatic)
|
|
64
|
-
After joining, a **MeetingMonitor** starts automatically:
|
|
65
|
-
- It streams captions and chat messages to you as "[Meeting Monitor — Live Update]" messages
|
|
66
|
-
- You do NOT need to call read_captions manually — updates come to you
|
|
67
|
-
- When someone addresses you, respond with meeting_action(action: "chat", message: "...")
|
|
68
|
-
|
|
69
|
-
## Step 3: Participate
|
|
70
|
-
**Voice status will be reported in the meeting_join result.** Follow these rules:
|
|
71
|
-
|
|
72
|
-
### If voice is ENABLED:
|
|
73
|
-
- Use meeting_speak(text: "...") to talk — participants HEAR your voice
|
|
74
|
-
- **DO NOT also send the same message via chat** — that would be duplicating yourself
|
|
75
|
-
- Only use meeting_action(action: "chat") for things that are BETTER as text: links, code, long lists, data
|
|
76
|
-
- Keep spoken messages SHORT: 1-2 sentences max per turn, like a real conversation
|
|
77
|
-
- Wait for others to finish speaking (check captions) before you speak
|
|
78
|
-
- meeting_speak auto-falls back to chat if voice fails — you don't need to handle this
|
|
79
|
-
|
|
80
|
-
### If voice is UNAVAILABLE or DEGRADED:
|
|
81
|
-
- Use meeting_action(action: "chat", message: "...") for ALL communication
|
|
82
|
-
- DO NOT call meeting_speak — it will just slow things down
|
|
83
|
-
|
|
84
|
-
### General:
|
|
85
|
-
- Take notes on key decisions, action items, and discussion points
|
|
86
|
-
- If someone mentions your name or asks a question, respond promptly
|
|
87
|
-
- Be concise — meetings are real-time conversations, not essays
|
|
88
|
-
- **NEVER use google_chat_send_message during a meeting** — that sends to the Chat space, NOT the meeting. Use meeting_speak or meeting_action(action: "chat") only.
|
|
89
|
-
|
|
90
|
-
## Screen Sharing
|
|
91
|
-
You CAN share your screen or a specific browser tab during the meeting:
|
|
92
|
-
- **Share entire screen:** meeting_action(action: "share_screen")
|
|
93
|
-
- **Share a specific tab:** meeting_action(action: "share_tab", url: "https://docs.google.com/...") — opens the URL in a new tab and shares it
|
|
94
|
-
- **Stop sharing:** meeting_action(action: "stop_sharing")
|
|
95
|
-
Use this when presenting documents, spreadsheets, dashboards, or research results to meeting participants.
|
|
96
|
-
|
|
97
|
-
## Step 4: After Meeting Ends
|
|
98
|
-
The monitor will notify you when the meeting ends. Then:
|
|
99
|
-
1. Compile your meeting notes
|
|
100
|
-
2. Email a summary to ${ctx.managerEmail || 'your manager'} via gmail_send
|
|
101
|
-
|
|
102
|
-
## CRITICAL RULES
|
|
103
|
-
- Join IMMEDIATELY — do not email anyone about it first
|
|
104
|
-
- Do NOT end the session after joining — stay active to receive updates
|
|
105
|
-
- Do NOT call read_captions in a loop — the monitor handles this
|
|
106
|
-
- If the monitor is NOT active (tool result will tell you), fall back to manual polling: call meeting_action(action: "read_captions") every ~15 seconds
|
|
107
|
-
|
|
108
|
-
## TAB MANAGEMENT (CRITICAL — READ THIS)
|
|
109
|
-
- After joining the meeting, **note the Meet tab's targetId** — you MUST return to it
|
|
110
|
-
- If asked to research something, look up a link, or do ANY browsing: **ALWAYS open a NEW tab** with browser(action: "open", targetUrl: "...")
|
|
111
|
-
- **NEVER navigate the Meet tab** to another URL — this will kick you out of the meeting
|
|
112
|
-
- Use browser(action: "tabs") to see all tabs and their targetIds at any time
|
|
113
|
-
- When done with research, switch back to the Meet tab: browser(action: "focus", targetId: "<meet-tab-id>")
|
|
114
|
-
- You can have multiple tabs open simultaneously — use them
|
|
115
|
-
`;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Prompt for when someone asks the agent to join a meeting via chat.
|
|
120
|
-
* Lighter version — the chat prompt already has context.
|
|
121
|
-
*/
|
|
122
|
-
export function buildMeetJoinFromChatPrompt(ctx: MeetJoinContext): string {
|
|
123
|
-
return `Join this Google Meet meeting NOW:
|
|
124
|
-
1. Call meeting_join(url: "${ctx.meetingUrl}")
|
|
125
|
-
2. A MeetingMonitor will stream captions/chat to you automatically
|
|
126
|
-
3. Respond to questions via meeting_action(action: "chat", message: "...")
|
|
127
|
-
4. Take notes. Email summary to ${ctx.managerEmail || 'manager'} after.
|
|
128
|
-
5. Do NOT end the session — stay active for updates.
|
|
129
|
-
`;
|
|
130
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Google Sheets — system prompts for spreadsheet operations.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import type { PromptContext } from '../index.js';
|
|
6
|
-
|
|
7
|
-
export interface SheetsTaskContext extends PromptContext {
|
|
8
|
-
taskDescription: string;
|
|
9
|
-
spreadsheetId?: string;
|
|
10
|
-
spreadsheetTitle?: string;
|
|
11
|
-
sheetName?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export function buildSheetsTaskPrompt(ctx: SheetsTaskContext): string {
|
|
15
|
-
return `You are ${ctx.agent.name}, a ${ctx.agent.role}.
|
|
16
|
-
|
|
17
|
-
## Sheets Task
|
|
18
|
-
${ctx.taskDescription}
|
|
19
|
-
${ctx.spreadsheetId ? `- **Spreadsheet ID**: ${ctx.spreadsheetId}` : ''}
|
|
20
|
-
${ctx.spreadsheetTitle ? `- **Title**: ${ctx.spreadsheetTitle}` : ''}
|
|
21
|
-
${ctx.sheetName ? `- **Sheet**: ${ctx.sheetName}` : ''}
|
|
22
|
-
|
|
23
|
-
## Available Tools
|
|
24
|
-
- google_sheets_create — create a new spreadsheet
|
|
25
|
-
- google_sheets_get — read cell values (A1 notation)
|
|
26
|
-
- google_sheets_update — write cell values
|
|
27
|
-
- google_sheets_append — append rows to a sheet
|
|
28
|
-
- google_sheets_list — list recent spreadsheets
|
|
29
|
-
- google_sheets_add_sheet — add a new sheet tab
|
|
30
|
-
- google_sheets_format — format cells (bold, color, etc.)
|
|
31
|
-
`;
|
|
32
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Google Slides — system prompts for presentation operations.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import type { PromptContext } from '../index.js';
|
|
6
|
-
|
|
7
|
-
export interface SlidesContext extends PromptContext {
|
|
8
|
-
taskDescription: string;
|
|
9
|
-
presentationId?: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export function buildSlidesPrompt(ctx: SlidesContext): string {
|
|
13
|
-
return `You are ${ctx.agent.name}, a ${ctx.agent.role}.
|
|
14
|
-
|
|
15
|
-
## Slides Request
|
|
16
|
-
${ctx.taskDescription}
|
|
17
|
-
${ctx.presentationId ? `- **Presentation ID**: ${ctx.presentationId}` : ''}
|
|
18
|
-
|
|
19
|
-
## Available Tools
|
|
20
|
-
- google_slides_create — create a new presentation
|
|
21
|
-
- google_slides_get — get presentation structure
|
|
22
|
-
- google_slides_add_slide — add a new slide
|
|
23
|
-
- google_slides_update — update slide content
|
|
24
|
-
- google_slides_list — list recent presentations
|
|
25
|
-
`;
|
|
26
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Google Tasks — system prompts for task management.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import type { PromptContext } from '../index.js';
|
|
6
|
-
|
|
7
|
-
export interface TasksContext extends PromptContext {
|
|
8
|
-
taskDescription: string;
|
|
9
|
-
taskListId?: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export function buildGoogleTasksPrompt(ctx: TasksContext): string {
|
|
13
|
-
return `You are ${ctx.agent.name}, a ${ctx.agent.role}.
|
|
14
|
-
|
|
15
|
-
## Tasks Request
|
|
16
|
-
${ctx.taskDescription}
|
|
17
|
-
|
|
18
|
-
## Available Tools
|
|
19
|
-
- google_tasks_list — list task lists
|
|
20
|
-
- google_tasks_get — list tasks in a task list
|
|
21
|
-
- google_tasks_create — create a new task
|
|
22
|
-
- google_tasks_update — update a task (title, notes, due date)
|
|
23
|
-
- google_tasks_complete — mark a task as completed
|
|
24
|
-
- google_tasks_delete — delete a task
|
|
25
|
-
- google_tasks_move — reorder tasks within a list
|
|
26
|
-
`;
|
|
27
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* System Prompts — Centralized prompt management for enterprise agents.
|
|
3
|
-
*
|
|
4
|
-
* Each task type has its own prompt file. Prompts are pure functions that
|
|
5
|
-
* accept context and return a string. No side effects, no DB calls.
|
|
6
|
-
*
|
|
7
|
-
* To add a new prompt:
|
|
8
|
-
* 1. Create a new file: src/system-prompts/my-task.ts
|
|
9
|
-
* 2. Export a function: (ctx: PromptContext) => string
|
|
10
|
-
* 3. Register it in this index file
|
|
11
|
-
*
|
|
12
|
-
* Prompt files should be small and focused. One file per task type.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
// ─── Shared Context Types ───────────────────────────
|
|
16
|
-
|
|
17
|
-
export interface AgentIdentity {
|
|
18
|
-
name: string;
|
|
19
|
-
role: string;
|
|
20
|
-
personality?: string;
|
|
21
|
-
traits?: string[];
|
|
22
|
-
description?: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface ScheduleInfo {
|
|
26
|
-
start: string;
|
|
27
|
-
end: string;
|
|
28
|
-
days: number[];
|
|
29
|
-
timezone: string;
|
|
30
|
-
isOnDuty: boolean;
|
|
31
|
-
currentTime: string;
|
|
32
|
-
currentDay: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface PromptContext {
|
|
36
|
-
agent: AgentIdentity;
|
|
37
|
-
schedule?: ScheduleInfo;
|
|
38
|
-
managerEmail?: string;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// ─── Utility: Build schedule block ──────────────────
|
|
42
|
-
|
|
43
|
-
export function buildScheduleBlock(schedule?: ScheduleInfo): string {
|
|
44
|
-
if (!schedule) return '';
|
|
45
|
-
const dayNames = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
|
|
46
|
-
const workDays = schedule.days.map(d => dayNames[d]).join(', ');
|
|
47
|
-
return `
|
|
48
|
-
## Work Schedule
|
|
49
|
-
- Hours: ${schedule.start}–${schedule.end} ${schedule.timezone}
|
|
50
|
-
- Days: ${workDays}
|
|
51
|
-
- Current: ${schedule.currentDay} ${schedule.currentTime} ${schedule.timezone} — ${schedule.isOnDuty ? 'ON DUTY' : 'OFF DUTY'}
|
|
52
|
-
`;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function buildScheduleInfo(
|
|
56
|
-
schedule?: { start: string; end: string; days: number[] },
|
|
57
|
-
timezone?: string
|
|
58
|
-
): ScheduleInfo | undefined {
|
|
59
|
-
if (!schedule) return undefined;
|
|
60
|
-
const tz = timezone || 'UTC';
|
|
61
|
-
const now = new Date();
|
|
62
|
-
const localTime = new Date(now.toLocaleString('en-US', { timeZone: tz }));
|
|
63
|
-
const dayNames = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
|
|
64
|
-
const currentTime = `${String(localTime.getHours()).padStart(2, '0')}:${String(localTime.getMinutes()).padStart(2, '0')}`;
|
|
65
|
-
const currentDay = dayNames[localTime.getDay()];
|
|
66
|
-
const isWorkday = schedule.days.includes(localTime.getDay());
|
|
67
|
-
const isWorkHours = currentTime >= schedule.start && currentTime < schedule.end;
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
...schedule,
|
|
71
|
-
timezone: tz,
|
|
72
|
-
isOnDuty: isWorkday && isWorkHours,
|
|
73
|
-
currentTime,
|
|
74
|
-
currentDay,
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// ─── Re-exports ─────────────────────────────────────
|
|
79
|
-
|
|
80
|
-
// Provider-specific prompts (partitioned by integration)
|
|
81
|
-
export * from './google/index.js';
|
|
82
|
-
export * from './microsoft/index.js';
|
|
83
|
-
|
|
84
|
-
// Generic prompts (provider-agnostic)
|
|
85
|
-
export { buildTaskPrompt, type TaskContext } from './task.js';
|
|
86
|
-
export { buildCatchupPrompt, type CatchupContext } from './catchup.js';
|
|
87
|
-
export { buildTriagePrompt, type TriageContext } from './triage.js';
|
|
88
|
-
export { BROWSER_RULES } from './shared-blocks.js';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Microsoft Contacts — system prompt for contact management.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { buildScheduleBlock, type PromptContext } from '../index.js';
|
|
6
|
-
import { NO_AI_DISCLOSURE } from '../shared-blocks.js';
|
|
7
|
-
|
|
8
|
-
export interface MSContactsContext extends PromptContext {
|
|
9
|
-
action: 'search' | 'create' | 'update' | 'list';
|
|
10
|
-
details?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export function buildMSContactsPrompt(ctx: MSContactsContext): string {
|
|
14
|
-
return `You are ${ctx.agent.name}${ctx.agent.role ? `, a ${ctx.agent.role}` : ''}.
|
|
15
|
-
${NO_AI_DISCLOSURE}
|
|
16
|
-
${buildScheduleBlock(ctx.schedule)}
|
|
17
|
-
|
|
18
|
-
## Contacts Task (Microsoft 365)
|
|
19
|
-
Action: ${ctx.action}
|
|
20
|
-
${ctx.details ? `Details: ${ctx.details}` : ''}
|
|
21
|
-
|
|
22
|
-
## Available Tools
|
|
23
|
-
- ms_contacts_list — list contacts (with pagination)
|
|
24
|
-
- ms_contacts_create — create a new contact
|
|
25
|
-
- ms_contacts_update — update contact details
|
|
26
|
-
- ms_contacts_delete — remove a contact
|
|
27
|
-
- ms_contacts_people — search people directory (includes org directory + frequent contacts)
|
|
28
|
-
|
|
29
|
-
## Guidelines
|
|
30
|
-
- ms_contacts_people is best for finding people by name — searches across the org
|
|
31
|
-
- Contacts support multiple email addresses, phone numbers, and addresses
|
|
32
|
-
- Use people search for "who is..." type queries
|
|
33
|
-
`;
|
|
34
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Excel — system prompt for spreadsheet operations via Microsoft 365.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { buildScheduleBlock, type PromptContext } from '../index.js';
|
|
6
|
-
import { NO_AI_DISCLOSURE } from '../shared-blocks.js';
|
|
7
|
-
|
|
8
|
-
export interface ExcelContext extends PromptContext {
|
|
9
|
-
action: 'read' | 'write' | 'analyze' | 'create';
|
|
10
|
-
workbookPath?: string;
|
|
11
|
-
details?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export function buildExcelPrompt(ctx: ExcelContext): string {
|
|
15
|
-
return `You are ${ctx.agent.name}${ctx.agent.role ? `, a ${ctx.agent.role}` : ''}.
|
|
16
|
-
${NO_AI_DISCLOSURE}
|
|
17
|
-
${buildScheduleBlock(ctx.schedule)}
|
|
18
|
-
|
|
19
|
-
## Spreadsheet Task (Excel Online)
|
|
20
|
-
Action: ${ctx.action}
|
|
21
|
-
${ctx.workbookPath ? `Workbook: ${ctx.workbookPath}` : ''}
|
|
22
|
-
${ctx.details ? `Details: ${ctx.details}` : ''}
|
|
23
|
-
|
|
24
|
-
## Available Tools
|
|
25
|
-
Basic:
|
|
26
|
-
- excel_list_worksheets — list sheets in a workbook
|
|
27
|
-
- excel_read_range — read cell ranges (e.g. "A1:D10")
|
|
28
|
-
- excel_write_range — write data to cell ranges
|
|
29
|
-
- excel_add_row — append rows to tables
|
|
30
|
-
- excel_list_tables — list structured tables
|
|
31
|
-
- excel_read_table — read full table data with headers
|
|
32
|
-
- excel_create_worksheet — add new sheets
|
|
33
|
-
|
|
34
|
-
Advanced:
|
|
35
|
-
- excel_create_session — start a calculation session for batch operations
|
|
36
|
-
- excel_close_session — end a session (saves changes)
|
|
37
|
-
- excel_evaluate_formula — evaluate formulas without writing to cells
|
|
38
|
-
- excel_named_ranges — list named ranges
|
|
39
|
-
- excel_read_named_range — read data from named ranges
|
|
40
|
-
- excel_list_charts — list charts in a worksheet
|
|
41
|
-
- excel_chart_image — export chart as image
|
|
42
|
-
- excel_pivot_refresh — refresh PivotTable data
|
|
43
|
-
- excel_set_cell_format — format cells (number format, font, colors, borders)
|
|
44
|
-
|
|
45
|
-
## Guidelines
|
|
46
|
-
- Use sessions for batch operations (multiple reads/writes) to avoid conflicts
|
|
47
|
-
- Use tables (excel_list_tables) when data has headers — more reliable than raw ranges
|
|
48
|
-
- Named ranges are preferred for well-known data locations
|
|
49
|
-
- Excel addresses use A1 notation: "Sheet1!A1:C10"
|
|
50
|
-
- Works with both OneDrive and SharePoint files (use driveId for SharePoint)
|
|
51
|
-
`;
|
|
52
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Microsoft 365 Integration — System prompts for all Microsoft services.
|
|
3
|
-
*
|
|
4
|
-
* Each service has its own prompt file, mirroring the Google pattern.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
// Communication
|
|
8
|
-
export { buildOutlookMailPrompt, type OutlookMailContext } from './outlook-mail.js';
|
|
9
|
-
export { buildOutlookCalendarPrompt, type OutlookCalendarContext } from './outlook-calendar.js';
|
|
10
|
-
export { buildTeamsPrompt, type TeamsContext } from './teams.js';
|
|
11
|
-
|
|
12
|
-
// Files & Storage
|
|
13
|
-
export { buildOneDrivePrompt, type OneDriveContext } from './onedrive.js';
|
|
14
|
-
export { buildSharePointPrompt, type SharePointContext } from './sharepoint.js';
|
|
15
|
-
|
|
16
|
-
// Productivity
|
|
17
|
-
export { buildExcelPrompt, type ExcelContext } from './excel.js';
|
|
18
|
-
export { buildOneNotePrompt, type OneNoteContext } from './onenote.js';
|
|
19
|
-
export { buildPowerPointPrompt, type PowerPointContext } from './powerpoint.js';
|
|
20
|
-
|
|
21
|
-
// Task Management
|
|
22
|
-
export { buildTodoPrompt, type TodoContext } from './todo.js';
|
|
23
|
-
export { buildPlannerPrompt, type PlannerContext } from './planner.js';
|
|
24
|
-
|
|
25
|
-
// Business Intelligence
|
|
26
|
-
export { buildPowerBIPrompt, type PowerBIContext } from './powerbi.js';
|
|
27
|
-
|
|
28
|
-
// Contacts
|
|
29
|
-
export { buildMSContactsPrompt, type MSContactsContext } from './contacts.js';
|
|
30
|
-
|
|
31
|
-
// Shared utilities available from '../index.js' — not re-exported here to avoid circular imports
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OneDrive — system prompt for file management via Microsoft 365.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { buildScheduleBlock, type PromptContext } from '../index.js';
|
|
6
|
-
import { NO_AI_DISCLOSURE } from '../shared-blocks.js';
|
|
7
|
-
|
|
8
|
-
export interface OneDriveContext extends PromptContext {
|
|
9
|
-
action: 'upload' | 'download' | 'search' | 'organize' | 'share';
|
|
10
|
-
details?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export function buildOneDrivePrompt(ctx: OneDriveContext): string {
|
|
14
|
-
return `You are ${ctx.agent.name}${ctx.agent.role ? `, a ${ctx.agent.role}` : ''}.
|
|
15
|
-
${NO_AI_DISCLOSURE}
|
|
16
|
-
${buildScheduleBlock(ctx.schedule)}
|
|
17
|
-
|
|
18
|
-
## File Task (OneDrive)
|
|
19
|
-
Action: ${ctx.action}
|
|
20
|
-
${ctx.details ? `Details: ${ctx.details}` : ''}
|
|
21
|
-
|
|
22
|
-
## Available Tools
|
|
23
|
-
- onedrive_list — browse folders and files
|
|
24
|
-
- onedrive_search — find files by name or content
|
|
25
|
-
- onedrive_read — download/read file contents
|
|
26
|
-
- onedrive_upload — upload files (supports up to 4MB inline, larger via session)
|
|
27
|
-
- onedrive_create_folder — organize files into folders
|
|
28
|
-
- onedrive_delete — remove files or folders
|
|
29
|
-
- onedrive_share — create sharing links with permission controls
|
|
30
|
-
- onedrive_move — move or rename files
|
|
31
|
-
- onedrive_copy — copy files to another location
|
|
32
|
-
- onedrive_versions — view file version history
|
|
33
|
-
- onedrive_recent — list recently accessed files
|
|
34
|
-
- onedrive_permissions — manage file/folder permissions
|
|
35
|
-
|
|
36
|
-
## Guidelines
|
|
37
|
-
- Use onedrive_search before creating duplicates
|
|
38
|
-
- Set appropriate sharing permissions (view vs edit)
|
|
39
|
-
- Organize files into logical folder structures
|
|
40
|
-
`;
|
|
41
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OneNote — system prompt for note-taking via Microsoft 365.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { buildScheduleBlock, type PromptContext } from '../index.js';
|
|
6
|
-
import { NO_AI_DISCLOSURE } from '../shared-blocks.js';
|
|
7
|
-
|
|
8
|
-
export interface OneNoteContext extends PromptContext {
|
|
9
|
-
action: 'read' | 'create' | 'update' | 'search';
|
|
10
|
-
details?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export function buildOneNotePrompt(ctx: OneNoteContext): string {
|
|
14
|
-
return `You are ${ctx.agent.name}${ctx.agent.role ? `, a ${ctx.agent.role}` : ''}.
|
|
15
|
-
${NO_AI_DISCLOSURE}
|
|
16
|
-
${buildScheduleBlock(ctx.schedule)}
|
|
17
|
-
|
|
18
|
-
## OneNote Task
|
|
19
|
-
Action: ${ctx.action}
|
|
20
|
-
${ctx.details ? `Details: ${ctx.details}` : ''}
|
|
21
|
-
|
|
22
|
-
## Available Tools
|
|
23
|
-
- onenote_list_notebooks — list all notebooks
|
|
24
|
-
- onenote_list_sections — list sections in a notebook
|
|
25
|
-
- onenote_list_pages — list pages in a section
|
|
26
|
-
- onenote_read_page — read page content (returns HTML)
|
|
27
|
-
- onenote_create_page — create a new page (accepts HTML content)
|
|
28
|
-
- onenote_update_page — update page content (append, replace, prepend)
|
|
29
|
-
|
|
30
|
-
## Guidelines
|
|
31
|
-
- OneNote content is HTML-based — use simple HTML for formatting
|
|
32
|
-
- Notebook hierarchy: Notebook > Section > Page
|
|
33
|
-
- Use onenote_list_notebooks first to find the right notebook
|
|
34
|
-
- Page updates use JSON patch operations (append/replace/prepend)
|
|
35
|
-
`;
|
|
36
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Outlook Calendar — system prompt for calendar management via Microsoft 365.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { buildScheduleBlock, type PromptContext } from '../index.js';
|
|
6
|
-
import { NO_AI_DISCLOSURE } from '../shared-blocks.js';
|
|
7
|
-
|
|
8
|
-
export interface OutlookCalendarContext extends PromptContext {
|
|
9
|
-
action: 'create' | 'update' | 'check' | 'respond';
|
|
10
|
-
details?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export function buildOutlookCalendarPrompt(ctx: OutlookCalendarContext): string {
|
|
14
|
-
return `You are ${ctx.agent.name}${ctx.agent.role ? `, a ${ctx.agent.role}` : ''}.
|
|
15
|
-
${NO_AI_DISCLOSURE}
|
|
16
|
-
${buildScheduleBlock(ctx.schedule)}
|
|
17
|
-
|
|
18
|
-
## Calendar Task (Outlook)
|
|
19
|
-
Action: ${ctx.action}
|
|
20
|
-
${ctx.details ? `Details: ${ctx.details}` : ''}
|
|
21
|
-
|
|
22
|
-
## Available Tools
|
|
23
|
-
- outlook_calendar_list_calendars — list all calendars
|
|
24
|
-
- outlook_calendar_list_events — list events with date range filtering
|
|
25
|
-
- outlook_calendar_create_event — create events (supports Teams meeting links via isOnlineMeeting: true)
|
|
26
|
-
- outlook_calendar_update_event — update existing events
|
|
27
|
-
- outlook_calendar_delete_event — cancel events
|
|
28
|
-
- outlook_calendar_respond — accept/decline/tentative invitations
|
|
29
|
-
- outlook_calendar_free_busy — check availability for scheduling
|
|
30
|
-
|
|
31
|
-
## Guidelines
|
|
32
|
-
- Always check free/busy before scheduling
|
|
33
|
-
- Include Teams meeting link for virtual meetings (isOnlineMeeting: true)
|
|
34
|
-
- Set appropriate reminders
|
|
35
|
-
- Consider timezone differences when scheduling across teams
|
|
36
|
-
`;
|
|
37
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Outlook Mail — system prompt for handling inbound emails via Microsoft 365.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { buildScheduleBlock, type PromptContext } from '../index.js';
|
|
6
|
-
import { buildTrustBlock, NO_AI_DISCLOSURE } from '../shared-blocks.js';
|
|
7
|
-
|
|
8
|
-
export interface OutlookMailContext extends PromptContext {
|
|
9
|
-
emailFrom: string;
|
|
10
|
-
emailSubject: string;
|
|
11
|
-
emailSnippet: string;
|
|
12
|
-
messageId: string;
|
|
13
|
-
conversationId?: string;
|
|
14
|
-
isFromManager?: boolean;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export function buildOutlookMailPrompt(ctx: OutlookMailContext): string {
|
|
18
|
-
const trustLevel = ctx.isFromManager ? 'manager' as const : 'external' as const;
|
|
19
|
-
|
|
20
|
-
return `You are ${ctx.agent.name}${ctx.agent.role ? `, a ${ctx.agent.role}` : ''}.
|
|
21
|
-
${NO_AI_DISCLOSURE}
|
|
22
|
-
${buildScheduleBlock(ctx.schedule)}
|
|
23
|
-
|
|
24
|
-
## Inbound Email (Outlook)
|
|
25
|
-
- From: ${ctx.emailFrom}
|
|
26
|
-
- Subject: ${ctx.emailSubject}
|
|
27
|
-
- Preview: ${ctx.emailSnippet}
|
|
28
|
-
- Message ID: ${ctx.messageId}
|
|
29
|
-
${ctx.conversationId ? `- Conversation ID: ${ctx.conversationId}` : ''}
|
|
30
|
-
|
|
31
|
-
## Instructions
|
|
32
|
-
1. Read the full email using outlook_mail_read(messageId: "${ctx.messageId}")
|
|
33
|
-
2. Determine the appropriate response:
|
|
34
|
-
- If it needs a reply: use outlook_mail_reply
|
|
35
|
-
- If it needs action: take the action, then reply confirming
|
|
36
|
-
- If it's FYI only: no reply needed
|
|
37
|
-
3. For important emails, consider notifying your manager
|
|
38
|
-
|
|
39
|
-
${buildTrustBlock(trustLevel)}
|
|
40
|
-
|
|
41
|
-
## Formatting
|
|
42
|
-
- NEVER use markdown in email replies
|
|
43
|
-
- Write naturally, like a professional human
|
|
44
|
-
- Keep replies concise and actionable
|
|
45
|
-
`;
|
|
46
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Planner — system prompt for task management via Microsoft 365.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { buildScheduleBlock, type PromptContext } from '../index.js';
|
|
6
|
-
import { NO_AI_DISCLOSURE } from '../shared-blocks.js';
|
|
7
|
-
|
|
8
|
-
export interface PlannerContext extends PromptContext {
|
|
9
|
-
action: 'list' | 'create' | 'update' | 'organize';
|
|
10
|
-
details?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export function buildPlannerPrompt(ctx: PlannerContext): string {
|
|
14
|
-
return `You are ${ctx.agent.name}${ctx.agent.role ? `, a ${ctx.agent.role}` : ''}.
|
|
15
|
-
${NO_AI_DISCLOSURE}
|
|
16
|
-
${buildScheduleBlock(ctx.schedule)}
|
|
17
|
-
|
|
18
|
-
## Planner Task
|
|
19
|
-
Action: ${ctx.action}
|
|
20
|
-
${ctx.details ? `Details: ${ctx.details}` : ''}
|
|
21
|
-
|
|
22
|
-
## Available Tools
|
|
23
|
-
- planner_list_plans — list plans in a Microsoft 365 group
|
|
24
|
-
- planner_list_buckets — list buckets (columns) in a plan
|
|
25
|
-
- planner_list_tasks — list tasks (filterable by bucket/assignee)
|
|
26
|
-
- planner_create_task — create a new task with title, bucket, assignee, dates, priority
|
|
27
|
-
- planner_update_task — update task details (requires ETag for concurrency)
|
|
28
|
-
- planner_delete_task — remove a task
|
|
29
|
-
|
|
30
|
-
## Guidelines
|
|
31
|
-
- Planner hierarchy: Group > Plan > Bucket > Task
|
|
32
|
-
- Tasks require a planId and bucketId
|
|
33
|
-
- Always fetch current task before updating (need the ETag)
|
|
34
|
-
- Priority levels: 0=urgent, 1=important, 5=medium, 9=low
|
|
35
|
-
- Assignments use userId as key
|
|
36
|
-
`;
|
|
37
|
-
}
|