Skip to content

Commit cc4bda7

Browse files
committed
chore(search): regenerate Mothership tool contracts after rebasing
1 parent e6276b4 commit cc4bda7

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

‎apps/sim/lib/mothership/generated/sim-assistant-tools.generated.ts‎

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -547,24 +547,29 @@ export const searchPeopleInputSchema = z
547547
)
548548

549549
/**
550-
* The caller's own questions to Sim over a window, oldest first. The 92-day window and the page
551-
* bounds are literals so the worker's generated copy stays standalone.
550+
* The caller's own questions to Sim over a window, newest first by default. The 92-day window
551+
* and the page bounds are literals so the worker's generated copy stays standalone.
552552
*/
553553
export const listMyChatHistoryInputSchema = z
554554
.object({
555555
startDate: z
556556
.string()
557557
.datetime({ offset: true })
558+
.optional()
558559
.describe(
559-
'Inclusive lower bound on when you asked, as an ISO datetime with your timezone offset. For whole days, use local midnight on the first day.'
560+
'Inclusive start of the window, an ISO datetime with your timezone offset. Defaults to 7 days before endDate; the window spans at most 92 days.'
560561
),
561562
endDate: z
562563
.string()
563564
.datetime({ offset: true })
564565
.optional()
565566
.describe(
566-
'Exclusive upper bound, at most 92 days after startDate; defaults to now. For whole days, use local midnight after the final day.'
567+
'Exclusive end of the window, an ISO datetime with your timezone offset. Defaults to now; a later time reads up to now. For whole days, use local midnight after the final day.'
567568
),
569+
sortBy: z
570+
.enum(['newest', 'oldest'])
571+
.optional()
572+
.describe('newest (the default) or oldest first.'),
568573
topK: z
569574
.number()
570575
.int()
@@ -577,7 +582,7 @@ export const listMyChatHistoryInputSchema = z
577582
.min(1)
578583
.max(1024)
579584
.optional()
580-
.describe('nextCursor from the previous page of the same window.'),
585+
.describe('nextCursor from the previous page of the same window and order.'),
581586
includeAnswers: z
582587
.boolean()
583588
.optional()
@@ -662,7 +667,7 @@ export const assistantToolContracts = [
662667
id: 'list_my_chat_history',
663668
route: 'sim',
664669
description:
665-
'List the questions you asked Sim (the Assistant, agent chats, the Slack app and Search MCP chat) in a time window, oldest first, each with a link to its conversation. Covers only your own conversations that still exist.',
670+
'List the questions you asked Sim (the Assistant, agent chats, the Slack app and Search MCP chat) in a time window, newest first, each with a link to its conversation. Covers only your own conversations that still exist.',
666671
inputSchema: listMyChatHistoryInputSchema,
667672
},
668673
{

‎apps/sim/lib/mothership/generated/tool-catalog-v1.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface ToolCatalogEntry {
1212
| 'List accessible Projects within this conversation, with visible environments and current capabilities. Follow nextCursor for more results; discovery does not grant file write access.'
1313
| 'List currently accessible workspaces with roles and explicit capability restrictions. Bulk results report copilotAllowed and deniedCapabilities; exact workspaceId returns the full capability map. Omitted restrictions never authorize an operation.'
1414
| 'List the questions you asked Sim (the Assistant, agent chats, the Slack app and Search MCP chat) in a time window, newest first, each with a link to its conversation. Covers only your own conversations that still exist.'
15-
| 'List what you did across your connected sources in a date window, newest first: messages and mail you sent or replied to, meetings you attended, Jira issues you created or are assigned, Confluence pages you created or edited and comments you wrote. Each item has a documentId for read_document. Follow nextCursor for more. sources reports each source: not_connected and reconnect carry the provider to connect with oauth_get_auth_link.'
15+
| '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.'
1616
| 'Look up people in this organization’s directory by name, email, title, department, or location, with query across all of them or a filter per field; managerPersonId lists someone’s direct reports. Returns each person’s title, department, location, email, start date, time zone, Slack user ID, manager, and direct report count. When exactly one person matches, or with a personId, returns that person with managerChain (direct manager first) and directReports. Covers only this organization’s people; use search_workspace for customers, vendors, and other outside contacts.'
1717
| 'Publish and edit the selected workspace’s changelog. publish takes a title, a markdown body, the changes (one line each, with the workflowId, deploymentVersionId, and chatId they came from when known), and bump: major, minor, or patch for how significant the release is, with a one-line bumpReason. The server computes the version from the workspace’s highest one; never write a version number on publish. It returns the release with its revision and changelog/<id>.md, the body file: edit the body there with the file tools, for example to add impact charts once there is data. update changes the title, bumpReason, version label, or the whole change list, and requires expectedRevision from get, list, or publish so a concurrent edit is never overwritten. A deployment ships in one release: a deploymentVersionId already in another release is rejected. list pages newest first; get returns one release with its revision and its changelog/<id>.md path.'
1818
| 'Read and manage account, organization, and workspace settings. list finds sections; get returns current values, updateSchema and operation names; describe returns one operation’s exact input schema; update changes narrow preferences; execute performs a listed operation; open returns the existing user setup flow. When user setup is needed, put the returned setupUrl in a clickable Markdown link at the end of the reply. Workspace resources retain their CLI commands. Account is the acting user; organization is the conversation’s organization. Every operation checks current permissions and entitlements.'
@@ -7887,7 +7887,7 @@ export const ListMyChatHistory: ToolCatalogEntry = {
78877887
export const ListMyActivity: ToolCatalogEntry = {
78887888
id: 'list_my_activity',
78897889
description:
7890-
'List what you did across your connected sources in a date window, newest first: messages and mail you sent or replied to, meetings you attended, Jira issues you created or are assigned, Confluence pages you created or edited and comments you wrote. Each item has a documentId for read_document. Follow nextCursor for more. sources reports each source: not_connected and reconnect carry the provider to connect with oauth_get_auth_link.',
7890+
'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.',
78917891
route: 'sim',
78927892
parameters: {
78937893
$schema: 'http://json-schema.org/draft-07/schema#',
@@ -7944,7 +7944,7 @@ export const ListMyActivity: ToolCatalogEntry = {
79447944
},
79457945
cursor: {
79467946
description:
7947-
'nextCursor from the previous page, with the same startDate, endDate, source and topK. Pages continue newest first without gaps.',
7947+
'nextCursor from the previous page, with the same startDate, endDate and source; topK may change. Pages continue newest first without gaps.',
79487948
type: 'string',
79497949
minLength: 1,
79507950
maxLength: 40000,

0 commit comments

Comments
 (0)