@credal/actions 0.2.174 → 0.2.177
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/actions/actionMapper.d.ts +2 -0
- package/dist/actions/actionMapper.js +125 -7
- package/dist/actions/autogen/templates.d.ts +1 -1
- package/dist/actions/autogen/templates.js +94 -238
- package/dist/actions/autogen/types.d.ts +214 -447
- package/dist/actions/autogen/types.js +10 -64
- package/dist/actions/groups.js +11 -1
- package/dist/actions/providers/confluence/updatePage.d.ts +3 -0
- package/dist/actions/providers/confluence/updatePage.js +47 -0
- package/dist/actions/providers/credal/callCopilot.d.ts +3 -0
- package/dist/actions/providers/credal/callCopilot.js +36 -0
- package/dist/actions/providers/jamf/types.d.ts +8 -0
- package/dist/actions/providers/jamf/types.js +7 -0
- package/dist/actions/providers/math/index.d.ts +1 -0
- package/dist/actions/providers/math/index.js +37 -0
- package/dist/actions/providers/slack/getChannelMembers.d.ts +3 -0
- package/dist/actions/providers/slack/getChannelMembers.js +67 -0
- package/dist/actions/providers/slack/index.d.ts +1 -0
- package/dist/actions/providers/slack/index.js +37 -0
- package/dist/actions/providers/slack/listConversations.d.ts +3 -0
- package/dist/actions/providers/slack/listConversations.js +41 -0
- package/package.json +1 -1
- package/dist/actions/providers/github/fetchFile.d.ts +0 -3
- package/dist/actions/providers/github/fetchFile.js +0 -131
- package/dist/actions/providers/github/getContents.d.ts +0 -3
- package/dist/actions/providers/github/getContents.js +0 -41
|
@@ -11,6 +11,7 @@ export declare const slackSendDmFromBotDefinition: ActionTemplate;
|
|
|
11
11
|
export declare const slackCreateChannelDefinition: ActionTemplate;
|
|
12
12
|
export declare const slackSendMessageDefinition: ActionTemplate;
|
|
13
13
|
export declare const slackGetChannelMessagesDefinition: ActionTemplate;
|
|
14
|
+
export declare const slackGetChannelMembersDefinition: ActionTemplate;
|
|
14
15
|
export declare const slackUserSearchSlackDefinition: ActionTemplate;
|
|
15
16
|
export declare const mathAddDefinition: ActionTemplate;
|
|
16
17
|
export declare const confluenceOverwritePageDefinition: ActionTemplate;
|
|
@@ -126,7 +127,6 @@ export declare const githubListPullRequestsDefinition: ActionTemplate;
|
|
|
126
127
|
export declare const githubGetPullRequestDetailsDefinition: ActionTemplate;
|
|
127
128
|
export declare const githubGetFileContentDefinition: ActionTemplate;
|
|
128
129
|
export declare const githubListDirectoryDefinition: ActionTemplate;
|
|
129
|
-
export declare const githubSearchRepositoryDefinition: ActionTemplate;
|
|
130
130
|
export declare const githubSearchOrganizationDefinition: ActionTemplate;
|
|
131
131
|
export declare const githubGetBranchDefinition: ActionTemplate;
|
|
132
132
|
export declare const githubListCommitsDefinition: ActionTemplate;
|
|
@@ -329,6 +329,7 @@ export const asanaCreateTaskDefinition = {
|
|
|
329
329
|
projectId: {
|
|
330
330
|
type: "string",
|
|
331
331
|
description: "Project gid the task belongs to",
|
|
332
|
+
tags: ["recommend-predefined"],
|
|
332
333
|
},
|
|
333
334
|
name: {
|
|
334
335
|
type: "string",
|
|
@@ -802,6 +803,56 @@ export const slackGetChannelMessagesDefinition = {
|
|
|
802
803
|
name: "getChannelMessages",
|
|
803
804
|
provider: "slack",
|
|
804
805
|
};
|
|
806
|
+
export const slackGetChannelMembersDefinition = {
|
|
807
|
+
description: "Gets the members of a Slack channel",
|
|
808
|
+
scopes: ["channels:read"],
|
|
809
|
+
tags: [],
|
|
810
|
+
parameters: {
|
|
811
|
+
type: "object",
|
|
812
|
+
properties: {
|
|
813
|
+
channelId: {
|
|
814
|
+
type: "string",
|
|
815
|
+
description: "The ID of the channel to get members from",
|
|
816
|
+
},
|
|
817
|
+
channelName: {
|
|
818
|
+
type: "string",
|
|
819
|
+
description: "The name of the channel to get members from",
|
|
820
|
+
},
|
|
821
|
+
},
|
|
822
|
+
},
|
|
823
|
+
output: {
|
|
824
|
+
type: "object",
|
|
825
|
+
required: ["success", "members"],
|
|
826
|
+
properties: {
|
|
827
|
+
success: {
|
|
828
|
+
type: "boolean",
|
|
829
|
+
description: "Whether the members were retrieved successfully",
|
|
830
|
+
},
|
|
831
|
+
members: {
|
|
832
|
+
type: "array",
|
|
833
|
+
description: "The members of the channel",
|
|
834
|
+
items: {
|
|
835
|
+
type: "object",
|
|
836
|
+
description: "A member of the channel",
|
|
837
|
+
required: ["id", "name", "email"],
|
|
838
|
+
properties: {
|
|
839
|
+
id: {
|
|
840
|
+
type: "string",
|
|
841
|
+
},
|
|
842
|
+
name: {
|
|
843
|
+
type: "string",
|
|
844
|
+
},
|
|
845
|
+
email: {
|
|
846
|
+
type: "string",
|
|
847
|
+
},
|
|
848
|
+
},
|
|
849
|
+
},
|
|
850
|
+
},
|
|
851
|
+
},
|
|
852
|
+
},
|
|
853
|
+
name: "getChannelMembers",
|
|
854
|
+
provider: "slack",
|
|
855
|
+
};
|
|
805
856
|
export const slackUserSearchSlackDefinition = {
|
|
806
857
|
description: "Search Slack (DM/MPIM by emails or channel) with optional topic/time filter. Automatically hydrates each hit (full thread if threaded, otherwise a small surrounding context).",
|
|
807
858
|
scopes: [
|
|
@@ -1118,6 +1169,7 @@ export const jiraAssignJiraTicketDefinition = {
|
|
|
1118
1169
|
projectKey: {
|
|
1119
1170
|
type: "string",
|
|
1120
1171
|
description: "The key for the project you want to add it to",
|
|
1172
|
+
tags: ["recommend-predefined"],
|
|
1121
1173
|
},
|
|
1122
1174
|
assignee: {
|
|
1123
1175
|
type: "string",
|
|
@@ -1200,6 +1252,7 @@ export const jiraCommentJiraTicketDefinition = {
|
|
|
1200
1252
|
projectKey: {
|
|
1201
1253
|
type: "string",
|
|
1202
1254
|
description: "The key for the project",
|
|
1255
|
+
tags: ["recommend-predefined"],
|
|
1203
1256
|
},
|
|
1204
1257
|
issueId: {
|
|
1205
1258
|
type: "string",
|
|
@@ -1243,6 +1296,7 @@ export const jiraCreateJiraTicketDefinition = {
|
|
|
1243
1296
|
projectKey: {
|
|
1244
1297
|
type: "string",
|
|
1245
1298
|
description: "The key for the project you want to add it to",
|
|
1299
|
+
tags: ["recommend-predefined"],
|
|
1246
1300
|
},
|
|
1247
1301
|
summary: {
|
|
1248
1302
|
type: "string",
|
|
@@ -1460,6 +1514,7 @@ export const jiraGetJiraTicketDetailsDefinition = {
|
|
|
1460
1514
|
projectKey: {
|
|
1461
1515
|
type: "string",
|
|
1462
1516
|
description: "The key for the project",
|
|
1517
|
+
tags: ["recommend-predefined"],
|
|
1463
1518
|
},
|
|
1464
1519
|
issueId: {
|
|
1465
1520
|
type: "string",
|
|
@@ -1517,6 +1572,7 @@ export const jiraGetJiraTicketHistoryDefinition = {
|
|
|
1517
1572
|
projectKey: {
|
|
1518
1573
|
type: "string",
|
|
1519
1574
|
description: "The key for the project",
|
|
1575
|
+
tags: ["recommend-predefined"],
|
|
1520
1576
|
},
|
|
1521
1577
|
issueId: {
|
|
1522
1578
|
type: "string",
|
|
@@ -1556,6 +1612,7 @@ export const jiraUpdateJiraTicketDetailsDefinition = {
|
|
|
1556
1612
|
projectKey: {
|
|
1557
1613
|
type: "string",
|
|
1558
1614
|
description: "The key for the project you want to add it to",
|
|
1615
|
+
tags: ["recommend-predefined"],
|
|
1559
1616
|
},
|
|
1560
1617
|
issueId: {
|
|
1561
1618
|
type: "string",
|
|
@@ -1616,6 +1673,7 @@ export const jiraUpdateJiraTicketStatusDefinition = {
|
|
|
1616
1673
|
projectKey: {
|
|
1617
1674
|
type: "string",
|
|
1618
1675
|
description: "The key for the project you want to add it to",
|
|
1676
|
+
tags: ["recommend-predefined"],
|
|
1619
1677
|
},
|
|
1620
1678
|
issueId: {
|
|
1621
1679
|
type: "string",
|
|
@@ -1858,6 +1916,7 @@ export const jiraOrgAssignJiraTicketDefinition = {
|
|
|
1858
1916
|
projectKey: {
|
|
1859
1917
|
type: "string",
|
|
1860
1918
|
description: "The key for the project you want to add it to",
|
|
1919
|
+
tags: ["recommend-predefined"],
|
|
1861
1920
|
},
|
|
1862
1921
|
assignee: {
|
|
1863
1922
|
type: "string",
|
|
@@ -1940,6 +1999,7 @@ export const jiraOrgCommentJiraTicketDefinition = {
|
|
|
1940
1999
|
projectKey: {
|
|
1941
2000
|
type: "string",
|
|
1942
2001
|
description: "The key for the project",
|
|
2002
|
+
tags: ["recommend-predefined"],
|
|
1943
2003
|
},
|
|
1944
2004
|
issueId: {
|
|
1945
2005
|
type: "string",
|
|
@@ -1983,6 +2043,7 @@ export const jiraOrgCreateJiraTicketDefinition = {
|
|
|
1983
2043
|
projectKey: {
|
|
1984
2044
|
type: "string",
|
|
1985
2045
|
description: "The key for the project you want to add it to",
|
|
2046
|
+
tags: ["recommend-predefined"],
|
|
1986
2047
|
},
|
|
1987
2048
|
summary: {
|
|
1988
2049
|
type: "string",
|
|
@@ -2200,6 +2261,7 @@ export const jiraOrgGetJiraTicketDetailsDefinition = {
|
|
|
2200
2261
|
projectKey: {
|
|
2201
2262
|
type: "string",
|
|
2202
2263
|
description: "The key for the project",
|
|
2264
|
+
tags: ["recommend-predefined"],
|
|
2203
2265
|
},
|
|
2204
2266
|
issueId: {
|
|
2205
2267
|
type: "string",
|
|
@@ -2257,6 +2319,7 @@ export const jiraOrgGetJiraTicketHistoryDefinition = {
|
|
|
2257
2319
|
projectKey: {
|
|
2258
2320
|
type: "string",
|
|
2259
2321
|
description: "The key for the project",
|
|
2322
|
+
tags: ["recommend-predefined"],
|
|
2260
2323
|
},
|
|
2261
2324
|
issueId: {
|
|
2262
2325
|
type: "string",
|
|
@@ -2296,6 +2359,7 @@ export const jiraOrgUpdateJiraTicketDetailsDefinition = {
|
|
|
2296
2359
|
projectKey: {
|
|
2297
2360
|
type: "string",
|
|
2298
2361
|
description: "The key for the project you want to add it to",
|
|
2362
|
+
tags: ["recommend-predefined"],
|
|
2299
2363
|
},
|
|
2300
2364
|
issueId: {
|
|
2301
2365
|
type: "string",
|
|
@@ -2356,6 +2420,7 @@ export const jiraOrgUpdateJiraTicketStatusDefinition = {
|
|
|
2356
2420
|
projectKey: {
|
|
2357
2421
|
type: "string",
|
|
2358
2422
|
description: "The key for the project you want to add it to",
|
|
2423
|
+
tags: ["recommend-predefined"],
|
|
2359
2424
|
},
|
|
2360
2425
|
issueId: {
|
|
2361
2426
|
type: "string",
|
|
@@ -2598,6 +2663,7 @@ export const jiraDataCenterAssignJiraTicketDefinition = {
|
|
|
2598
2663
|
projectKey: {
|
|
2599
2664
|
type: "string",
|
|
2600
2665
|
description: "The key for the project you want to add it to",
|
|
2666
|
+
tags: ["recommend-predefined"],
|
|
2601
2667
|
},
|
|
2602
2668
|
assignee: {
|
|
2603
2669
|
type: "string",
|
|
@@ -2680,6 +2746,7 @@ export const jiraDataCenterCommentJiraTicketDefinition = {
|
|
|
2680
2746
|
projectKey: {
|
|
2681
2747
|
type: "string",
|
|
2682
2748
|
description: "The key for the project",
|
|
2749
|
+
tags: ["recommend-predefined"],
|
|
2683
2750
|
},
|
|
2684
2751
|
issueId: {
|
|
2685
2752
|
type: "string",
|
|
@@ -2723,6 +2790,7 @@ export const jiraDataCenterCreateJiraTicketDefinition = {
|
|
|
2723
2790
|
projectKey: {
|
|
2724
2791
|
type: "string",
|
|
2725
2792
|
description: "The key for the project you want to add it to",
|
|
2793
|
+
tags: ["recommend-predefined"],
|
|
2726
2794
|
},
|
|
2727
2795
|
summary: {
|
|
2728
2796
|
type: "string",
|
|
@@ -2940,6 +3008,7 @@ export const jiraDataCenterGetJiraTicketDetailsDefinition = {
|
|
|
2940
3008
|
projectKey: {
|
|
2941
3009
|
type: "string",
|
|
2942
3010
|
description: "The key for the project",
|
|
3011
|
+
tags: ["recommend-predefined"],
|
|
2943
3012
|
},
|
|
2944
3013
|
issueId: {
|
|
2945
3014
|
type: "string",
|
|
@@ -2997,6 +3066,7 @@ export const jiraDataCenterGetJiraTicketHistoryDefinition = {
|
|
|
2997
3066
|
projectKey: {
|
|
2998
3067
|
type: "string",
|
|
2999
3068
|
description: "The key for the project",
|
|
3069
|
+
tags: ["recommend-predefined"],
|
|
3000
3070
|
},
|
|
3001
3071
|
issueId: {
|
|
3002
3072
|
type: "string",
|
|
@@ -3036,6 +3106,7 @@ export const jiraDataCenterUpdateJiraTicketDetailsDefinition = {
|
|
|
3036
3106
|
projectKey: {
|
|
3037
3107
|
type: "string",
|
|
3038
3108
|
description: "The key for the project you want to add it to",
|
|
3109
|
+
tags: ["recommend-predefined"],
|
|
3039
3110
|
},
|
|
3040
3111
|
issueId: {
|
|
3041
3112
|
type: "string",
|
|
@@ -3096,6 +3167,7 @@ export const jiraDataCenterUpdateJiraTicketStatusDefinition = {
|
|
|
3096
3167
|
projectKey: {
|
|
3097
3168
|
type: "string",
|
|
3098
3169
|
description: "The key for the project you want to add it to",
|
|
3170
|
+
tags: ["recommend-predefined"],
|
|
3099
3171
|
},
|
|
3100
3172
|
issueId: {
|
|
3101
3173
|
type: "string",
|
|
@@ -3630,6 +3702,7 @@ export const zendeskCreateZendeskTicketDefinition = {
|
|
|
3630
3702
|
subdomain: {
|
|
3631
3703
|
type: "string",
|
|
3632
3704
|
description: "The subdomain of the Zendesk account",
|
|
3705
|
+
tags: ["recommend-predefined"],
|
|
3633
3706
|
},
|
|
3634
3707
|
groupId: {
|
|
3635
3708
|
type: "number",
|
|
@@ -3665,6 +3738,7 @@ export const zendeskListZendeskTicketsDefinition = {
|
|
|
3665
3738
|
subdomain: {
|
|
3666
3739
|
type: "string",
|
|
3667
3740
|
description: "The subdomain of the Zendesk account",
|
|
3741
|
+
tags: ["recommend-predefined"],
|
|
3668
3742
|
},
|
|
3669
3743
|
status: {
|
|
3670
3744
|
type: "string",
|
|
@@ -3707,6 +3781,7 @@ export const zendeskGetTicketDetailsDefinition = {
|
|
|
3707
3781
|
subdomain: {
|
|
3708
3782
|
type: "string",
|
|
3709
3783
|
description: "The subdomain of the Zendesk account",
|
|
3784
|
+
tags: ["recommend-predefined"],
|
|
3710
3785
|
},
|
|
3711
3786
|
},
|
|
3712
3787
|
},
|
|
@@ -3738,6 +3813,7 @@ export const zendeskUpdateTicketStatusDefinition = {
|
|
|
3738
3813
|
subdomain: {
|
|
3739
3814
|
type: "string",
|
|
3740
3815
|
description: "The subdomain of the Zendesk account",
|
|
3816
|
+
tags: ["recommend-predefined"],
|
|
3741
3817
|
},
|
|
3742
3818
|
status: {
|
|
3743
3819
|
type: "string",
|
|
@@ -3763,6 +3839,7 @@ export const zendeskAddCommentToTicketDefinition = {
|
|
|
3763
3839
|
subdomain: {
|
|
3764
3840
|
type: "string",
|
|
3765
3841
|
description: "The subdomain of the Zendesk account",
|
|
3842
|
+
tags: ["recommend-predefined"],
|
|
3766
3843
|
},
|
|
3767
3844
|
body: {
|
|
3768
3845
|
type: "string",
|
|
@@ -3806,6 +3883,7 @@ export const zendeskAssignTicketDefinition = {
|
|
|
3806
3883
|
subdomain: {
|
|
3807
3884
|
type: "string",
|
|
3808
3885
|
description: "The subdomain of the Zendesk account",
|
|
3886
|
+
tags: ["recommend-predefined"],
|
|
3809
3887
|
},
|
|
3810
3888
|
assigneeEmail: {
|
|
3811
3889
|
type: "string",
|
|
@@ -3827,6 +3905,7 @@ export const zendeskSearchZendeskByQueryDefinition = {
|
|
|
3827
3905
|
subdomain: {
|
|
3828
3906
|
type: "string",
|
|
3829
3907
|
description: "The subdomain of the Zendesk account",
|
|
3908
|
+
tags: ["recommend-predefined"],
|
|
3830
3909
|
},
|
|
3831
3910
|
query: {
|
|
3832
3911
|
type: "string",
|
|
@@ -5702,6 +5781,7 @@ export const googleOauthScheduleCalendarMeetingDefinition = {
|
|
|
5702
5781
|
calendarId: {
|
|
5703
5782
|
type: "string",
|
|
5704
5783
|
description: "The ID of the calendar to schedule the meeting on",
|
|
5784
|
+
tags: ["recommend-predefined"],
|
|
5705
5785
|
},
|
|
5706
5786
|
name: {
|
|
5707
5787
|
type: "string",
|
|
@@ -5868,6 +5948,7 @@ export const googleOauthListCalendarEventsDefinition = {
|
|
|
5868
5948
|
calendarId: {
|
|
5869
5949
|
type: "string",
|
|
5870
5950
|
description: "The ID of the calendar to list events from",
|
|
5951
|
+
tags: ["recommend-predefined"],
|
|
5871
5952
|
},
|
|
5872
5953
|
query: {
|
|
5873
5954
|
type: "string",
|
|
@@ -6016,6 +6097,7 @@ export const googleOauthUpdateCalendarEventDefinition = {
|
|
|
6016
6097
|
calendarId: {
|
|
6017
6098
|
type: "string",
|
|
6018
6099
|
description: "The ID of the calendar containing the event",
|
|
6100
|
+
tags: ["recommend-predefined"],
|
|
6019
6101
|
},
|
|
6020
6102
|
eventId: {
|
|
6021
6103
|
type: "string",
|
|
@@ -6115,6 +6197,7 @@ export const googleOauthEditAGoogleCalendarEventDefinition = {
|
|
|
6115
6197
|
calendarId: {
|
|
6116
6198
|
type: "string",
|
|
6117
6199
|
description: "The ID of the calendar containing the event",
|
|
6200
|
+
tags: ["recommend-predefined"],
|
|
6118
6201
|
},
|
|
6119
6202
|
eventId: {
|
|
6120
6203
|
type: "string",
|
|
@@ -6212,6 +6295,7 @@ export const googleOauthDeleteCalendarEventDefinition = {
|
|
|
6212
6295
|
calendarId: {
|
|
6213
6296
|
type: "string",
|
|
6214
6297
|
description: "The ID of the calendar containing the event",
|
|
6298
|
+
tags: ["recommend-predefined"],
|
|
6215
6299
|
},
|
|
6216
6300
|
eventId: {
|
|
6217
6301
|
type: "string",
|
|
@@ -8323,6 +8407,7 @@ export const googleOauthSearchDriveByKeywordsAndGetFileContentDefinition = {
|
|
|
8323
8407
|
searchDriveByDrive: {
|
|
8324
8408
|
type: "boolean",
|
|
8325
8409
|
description: "Search drive by drive or run a general search",
|
|
8410
|
+
tags: ["recommend-predefined"],
|
|
8326
8411
|
},
|
|
8327
8412
|
orderByQuery: {
|
|
8328
8413
|
type: "string",
|
|
@@ -8331,6 +8416,7 @@ export const googleOauthSearchDriveByKeywordsAndGetFileContentDefinition = {
|
|
|
8331
8416
|
includeTrashed: {
|
|
8332
8417
|
type: "boolean",
|
|
8333
8418
|
description: "Whether to include trashed files in the search results",
|
|
8419
|
+
tags: ["recommend-predefined"],
|
|
8334
8420
|
},
|
|
8335
8421
|
},
|
|
8336
8422
|
},
|
|
@@ -8419,6 +8505,7 @@ export const googleOauthSearchDriveByQueryAndGetFileContentDefinition = {
|
|
|
8419
8505
|
searchDriveByDrive: {
|
|
8420
8506
|
type: "boolean",
|
|
8421
8507
|
description: "Search drive by drive or run a general search",
|
|
8508
|
+
tags: ["recommend-predefined"],
|
|
8422
8509
|
},
|
|
8423
8510
|
orderByQuery: {
|
|
8424
8511
|
type: "string",
|
|
@@ -8427,6 +8514,7 @@ export const googleOauthSearchDriveByQueryAndGetFileContentDefinition = {
|
|
|
8427
8514
|
includeTrashed: {
|
|
8428
8515
|
type: "boolean",
|
|
8429
8516
|
description: "Whether to include trashed files in the search results",
|
|
8517
|
+
tags: ["recommend-predefined"],
|
|
8430
8518
|
},
|
|
8431
8519
|
},
|
|
8432
8520
|
},
|
|
@@ -10997,244 +11085,6 @@ export const githubListDirectoryDefinition = {
|
|
|
10997
11085
|
name: "listDirectory",
|
|
10998
11086
|
provider: "github",
|
|
10999
11087
|
};
|
|
11000
|
-
export const githubSearchRepositoryDefinition = {
|
|
11001
|
-
description: "Search for code, issues and pull requests within a repository in a GitHub organization",
|
|
11002
|
-
scopes: [],
|
|
11003
|
-
tags: [],
|
|
11004
|
-
parameters: {
|
|
11005
|
-
type: "object",
|
|
11006
|
-
required: ["organization", "repository", "query"],
|
|
11007
|
-
properties: {
|
|
11008
|
-
organization: {
|
|
11009
|
-
type: "string",
|
|
11010
|
-
description: "The organization to search for data in",
|
|
11011
|
-
tags: ["recommend-predefined"],
|
|
11012
|
-
},
|
|
11013
|
-
repository: {
|
|
11014
|
-
type: "string",
|
|
11015
|
-
description: "The repository to search for data in",
|
|
11016
|
-
tags: ["recommend-predefined"],
|
|
11017
|
-
},
|
|
11018
|
-
query: {
|
|
11019
|
-
type: "string",
|
|
11020
|
-
description: "The query to search for in the repository",
|
|
11021
|
-
},
|
|
11022
|
-
},
|
|
11023
|
-
},
|
|
11024
|
-
output: {
|
|
11025
|
-
type: "object",
|
|
11026
|
-
required: ["code", "commits", "issuesAndPullRequests"],
|
|
11027
|
-
properties: {
|
|
11028
|
-
code: {
|
|
11029
|
-
type: "array",
|
|
11030
|
-
description: "A list of code results that match the query",
|
|
11031
|
-
items: {
|
|
11032
|
-
type: "object",
|
|
11033
|
-
required: ["name", "path", "sha", "url", "score", "textMatches"],
|
|
11034
|
-
properties: {
|
|
11035
|
-
name: {
|
|
11036
|
-
type: "string",
|
|
11037
|
-
description: "The name of the file that had a match",
|
|
11038
|
-
},
|
|
11039
|
-
path: {
|
|
11040
|
-
type: "string",
|
|
11041
|
-
description: "The path of the file that had a match",
|
|
11042
|
-
},
|
|
11043
|
-
sha: {
|
|
11044
|
-
type: "string",
|
|
11045
|
-
description: "The SHA of the commit that had a match",
|
|
11046
|
-
},
|
|
11047
|
-
url: {
|
|
11048
|
-
type: "string",
|
|
11049
|
-
description: "The URL of the file that had a match",
|
|
11050
|
-
},
|
|
11051
|
-
score: {
|
|
11052
|
-
type: "number",
|
|
11053
|
-
description: "The similarity score of the match",
|
|
11054
|
-
},
|
|
11055
|
-
textMatches: {
|
|
11056
|
-
type: "array",
|
|
11057
|
-
description: "A list of text matches that match the query",
|
|
11058
|
-
items: {
|
|
11059
|
-
type: "object",
|
|
11060
|
-
required: ["matches"],
|
|
11061
|
-
properties: {
|
|
11062
|
-
object_url: {
|
|
11063
|
-
type: "string",
|
|
11064
|
-
description: "The URL of the object that had a match",
|
|
11065
|
-
},
|
|
11066
|
-
object_type: {
|
|
11067
|
-
type: "string",
|
|
11068
|
-
description: "The type of the object that had a match",
|
|
11069
|
-
},
|
|
11070
|
-
fragment: {
|
|
11071
|
-
type: "string",
|
|
11072
|
-
description: "The fragment of the text that had a match",
|
|
11073
|
-
},
|
|
11074
|
-
matches: {
|
|
11075
|
-
type: "array",
|
|
11076
|
-
description: "A list of matches that match the query",
|
|
11077
|
-
items: {
|
|
11078
|
-
type: "object",
|
|
11079
|
-
properties: {
|
|
11080
|
-
text: {
|
|
11081
|
-
type: "string",
|
|
11082
|
-
description: "The text that had a match",
|
|
11083
|
-
},
|
|
11084
|
-
indices: {
|
|
11085
|
-
type: "array",
|
|
11086
|
-
description: "The indices of the text that had a match",
|
|
11087
|
-
items: {
|
|
11088
|
-
type: "number",
|
|
11089
|
-
},
|
|
11090
|
-
},
|
|
11091
|
-
},
|
|
11092
|
-
},
|
|
11093
|
-
},
|
|
11094
|
-
},
|
|
11095
|
-
},
|
|
11096
|
-
},
|
|
11097
|
-
},
|
|
11098
|
-
},
|
|
11099
|
-
},
|
|
11100
|
-
commits: {
|
|
11101
|
-
type: "array",
|
|
11102
|
-
description: "A list of commits that match the query",
|
|
11103
|
-
items: {
|
|
11104
|
-
type: "object",
|
|
11105
|
-
required: ["sha", "url", "message", "author", "committer", "parents", "tree", "commitDate"],
|
|
11106
|
-
properties: {
|
|
11107
|
-
sha: {
|
|
11108
|
-
type: "string",
|
|
11109
|
-
description: "The SHA of the commit that had a match",
|
|
11110
|
-
},
|
|
11111
|
-
url: {
|
|
11112
|
-
type: "string",
|
|
11113
|
-
description: "The URL of the commit that had a match",
|
|
11114
|
-
},
|
|
11115
|
-
commit: {
|
|
11116
|
-
type: "object",
|
|
11117
|
-
required: ["message", "author", "score", "files"],
|
|
11118
|
-
properties: {
|
|
11119
|
-
author: {
|
|
11120
|
-
type: "object",
|
|
11121
|
-
required: ["name", "email", "date"],
|
|
11122
|
-
properties: {
|
|
11123
|
-
name: {
|
|
11124
|
-
type: "string",
|
|
11125
|
-
description: "The name of the author",
|
|
11126
|
-
},
|
|
11127
|
-
email: {
|
|
11128
|
-
type: "string",
|
|
11129
|
-
description: "The email of the author",
|
|
11130
|
-
},
|
|
11131
|
-
date: {
|
|
11132
|
-
type: "string",
|
|
11133
|
-
description: "The date of the commit",
|
|
11134
|
-
},
|
|
11135
|
-
},
|
|
11136
|
-
},
|
|
11137
|
-
message: {
|
|
11138
|
-
type: "string",
|
|
11139
|
-
description: "The message of the commit",
|
|
11140
|
-
},
|
|
11141
|
-
},
|
|
11142
|
-
score: {
|
|
11143
|
-
type: "number",
|
|
11144
|
-
description: "The score of the commit",
|
|
11145
|
-
},
|
|
11146
|
-
files: {
|
|
11147
|
-
type: "array",
|
|
11148
|
-
description: "A list of files that match the query",
|
|
11149
|
-
items: {
|
|
11150
|
-
type: "object",
|
|
11151
|
-
required: ["filename", "status", "patch"],
|
|
11152
|
-
properties: {
|
|
11153
|
-
filename: {
|
|
11154
|
-
type: "string",
|
|
11155
|
-
description: "The filename of the file",
|
|
11156
|
-
},
|
|
11157
|
-
status: {
|
|
11158
|
-
type: "string",
|
|
11159
|
-
description: "The status of the file",
|
|
11160
|
-
},
|
|
11161
|
-
patch: {
|
|
11162
|
-
type: "string",
|
|
11163
|
-
description: "The patch of the file",
|
|
11164
|
-
},
|
|
11165
|
-
},
|
|
11166
|
-
},
|
|
11167
|
-
},
|
|
11168
|
-
},
|
|
11169
|
-
},
|
|
11170
|
-
},
|
|
11171
|
-
},
|
|
11172
|
-
issuesAndPullRequests: {
|
|
11173
|
-
type: "array",
|
|
11174
|
-
description: "A list of issues and pull requests that match the query",
|
|
11175
|
-
items: {
|
|
11176
|
-
type: "object",
|
|
11177
|
-
required: ["title", "url", "state", "createdAt", "updatedAt", "user"],
|
|
11178
|
-
properties: {
|
|
11179
|
-
number: {
|
|
11180
|
-
type: "number",
|
|
11181
|
-
description: "The number of the issue or pull request",
|
|
11182
|
-
},
|
|
11183
|
-
title: {
|
|
11184
|
-
type: "string",
|
|
11185
|
-
description: "The title of the issue or pull request",
|
|
11186
|
-
},
|
|
11187
|
-
html_url: {
|
|
11188
|
-
type: "string",
|
|
11189
|
-
description: "The URL of the issue or pull request",
|
|
11190
|
-
},
|
|
11191
|
-
state: {
|
|
11192
|
-
type: "string",
|
|
11193
|
-
description: "The state of the issue or pull request",
|
|
11194
|
-
enum: ["open", "closed"],
|
|
11195
|
-
},
|
|
11196
|
-
isPullRequest: {
|
|
11197
|
-
type: "boolean",
|
|
11198
|
-
description: "Whether the issue or pull request is a pull request",
|
|
11199
|
-
},
|
|
11200
|
-
body: {
|
|
11201
|
-
type: "string",
|
|
11202
|
-
description: "The body of the issue or pull request",
|
|
11203
|
-
},
|
|
11204
|
-
score: {
|
|
11205
|
-
type: "number",
|
|
11206
|
-
description: "The score of the issue or pull request",
|
|
11207
|
-
},
|
|
11208
|
-
files: {
|
|
11209
|
-
type: "array",
|
|
11210
|
-
description: "A list of files that match the query",
|
|
11211
|
-
items: {
|
|
11212
|
-
type: "object",
|
|
11213
|
-
required: ["filename", "status"],
|
|
11214
|
-
properties: {
|
|
11215
|
-
filename: {
|
|
11216
|
-
type: "string",
|
|
11217
|
-
description: "The filename of the file",
|
|
11218
|
-
},
|
|
11219
|
-
status: {
|
|
11220
|
-
type: "string",
|
|
11221
|
-
description: "The status of the file",
|
|
11222
|
-
},
|
|
11223
|
-
patch: {
|
|
11224
|
-
type: "string",
|
|
11225
|
-
description: "The patch of the file",
|
|
11226
|
-
},
|
|
11227
|
-
},
|
|
11228
|
-
},
|
|
11229
|
-
},
|
|
11230
|
-
},
|
|
11231
|
-
},
|
|
11232
|
-
},
|
|
11233
|
-
},
|
|
11234
|
-
},
|
|
11235
|
-
name: "searchRepository",
|
|
11236
|
-
provider: "github",
|
|
11237
|
-
};
|
|
11238
11088
|
export const githubSearchOrganizationDefinition = {
|
|
11239
11089
|
description: "Search for code, issues and pull requests within a GitHub organization",
|
|
11240
11090
|
scopes: [],
|
|
@@ -12042,10 +11892,12 @@ export const gitlabSearchGroupDefinition = {
|
|
|
12042
11892
|
groupId: {
|
|
12043
11893
|
type: "string",
|
|
12044
11894
|
description: "The group ID of the project to search in",
|
|
11895
|
+
tags: ["recommend-predefined"],
|
|
12045
11896
|
},
|
|
12046
11897
|
project: {
|
|
12047
11898
|
type: "string",
|
|
12048
11899
|
description: "The name of the project to search in",
|
|
11900
|
+
tags: ["recommend-predefined"],
|
|
12049
11901
|
},
|
|
12050
11902
|
},
|
|
12051
11903
|
},
|
|
@@ -12324,6 +12176,7 @@ export const gitlabGetFileContentDefinition = {
|
|
|
12324
12176
|
project_id: {
|
|
12325
12177
|
type: "number",
|
|
12326
12178
|
description: "Numeric project ID in GitLab (unique per project)",
|
|
12179
|
+
tags: ["recommend-predefined"],
|
|
12327
12180
|
},
|
|
12328
12181
|
path: {
|
|
12329
12182
|
type: "string",
|
|
@@ -12403,6 +12256,7 @@ export const gitlabGetMergeRequestDefinition = {
|
|
|
12403
12256
|
project_id: {
|
|
12404
12257
|
type: "number",
|
|
12405
12258
|
description: "Numeric project ID in GitLab (unique per project). Either this or the project path is required.",
|
|
12259
|
+
tags: ["recommend-predefined"],
|
|
12406
12260
|
},
|
|
12407
12261
|
project_path: {
|
|
12408
12262
|
type: "string",
|
|
@@ -12625,10 +12479,12 @@ export const gitlabListDirectoryDefinition = {
|
|
|
12625
12479
|
group: {
|
|
12626
12480
|
type: "string",
|
|
12627
12481
|
description: 'The group or namespace that owns the project (e.g., "my-group" or "org/subgroup")',
|
|
12482
|
+
tags: ["recommend-predefined"],
|
|
12628
12483
|
},
|
|
12629
12484
|
project: {
|
|
12630
12485
|
type: "string",
|
|
12631
12486
|
description: 'The name of the GitLab project (e.g., "my-repo")',
|
|
12487
|
+
tags: ["recommend-predefined"],
|
|
12632
12488
|
},
|
|
12633
12489
|
path: {
|
|
12634
12490
|
type: "string",
|