You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9256559
Browse filesBrowse the repository at this point in the historyBrowse files
'Only this source, such as jira, confluence, google_drive, slack, gitlab or github.'
611
+
),
612
+
startDate: z.iso
613
+
.datetime({offset: true})
614
+
.optional()
615
+
.describe(
616
+
`Inclusive start of the activity window, an ISO datetime with offset. With endDate, at most ${MAX_ACTIVITY_WINDOW_DAYS} days; without either, all time, with recent work weighted higher.`
617
+
),
618
+
endDate: z.iso
619
+
.datetime({offset: true})
620
+
.optional()
621
+
.describe('Exclusive end of the activity window, an ISO datetime with offset.'),
622
+
department: peopleFieldFilter('Only experts whose directory department contains this text.'),
623
+
location: peopleFieldFilter('Only experts whose directory location contains this text.'),
624
+
topK: z.number().int().min(1).max(25).default(10).describe('Maximum experts to return.'),
625
+
})
626
+
.strict()
627
+
.superRefine(refineActivityWindow)
628
+
629
+
exportconstSEARCH_EXPERTS_DESCRIPTION=
630
+
'Find who in this organization knows a topic: people ranked by what they did on matching items you can read (Jira issues assigned or reported, Confluence pages written or edited, Drive files owned or edited, Slack messages, GitLab and GitHub merge and pull requests, Linear issues). Each expert comes with a score, their directory profile when they are in it, what they did by source, and evidence links to the items. Only items your own access returns count. Narrow with source, a date window, department or location.'
631
+
600
632
/** Connection requests name a provider and optionally an owned account to repair. */
'List what you did across your connected sources in a date window, newest first: Slack messages and Gmail mail you sent (replied when the message answers another), Google Calendar meetings you organized or accepted, Jira issues you created or that were assigned to you, Confluence pages you created or edited and comments you wrote. Each item has a documentId for read_document. Follow nextCursor for more; a source that failed and recovers on a later page can return entries older than that page. sources reports each source: not_connected and reconnect carry the provider to connect with oauth_get_auth_link.',
0 commit comments