terse-sdk 0.1.0

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.
Files changed (45) hide show
  1. package/dist/index.d.ts +86 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +282 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/shared/ApiRoutes.d.ts +274 -0
  6. package/dist/shared/ApiRoutes.d.ts.map +1 -0
  7. package/dist/shared/ApiRoutes.js +269 -0
  8. package/dist/shared/ApiRoutes.js.map +1 -0
  9. package/dist/shared/Configs.d.ts +425 -0
  10. package/dist/shared/Configs.d.ts.map +1 -0
  11. package/dist/shared/Configs.js +703 -0
  12. package/dist/shared/Configs.js.map +1 -0
  13. package/dist/shared/Entities.d.ts +8 -0
  14. package/dist/shared/Entities.d.ts.map +1 -0
  15. package/dist/shared/Entities.js +9 -0
  16. package/dist/shared/Entities.js.map +1 -0
  17. package/dist/shared/Integrations.d.ts +218 -0
  18. package/dist/shared/Integrations.d.ts.map +1 -0
  19. package/dist/shared/Integrations.js +134 -0
  20. package/dist/shared/Integrations.js.map +1 -0
  21. package/dist/shared/ModelEvents.d.ts +166 -0
  22. package/dist/shared/ModelEvents.d.ts.map +1 -0
  23. package/dist/shared/ModelEvents.js +14 -0
  24. package/dist/shared/ModelEvents.js.map +1 -0
  25. package/dist/shared/RunHistoryTypes.d.ts +94 -0
  26. package/dist/shared/RunHistoryTypes.d.ts.map +1 -0
  27. package/dist/shared/RunHistoryTypes.js +10 -0
  28. package/dist/shared/RunHistoryTypes.js.map +1 -0
  29. package/dist/shared/Survey.d.ts +10 -0
  30. package/dist/shared/Survey.d.ts.map +1 -0
  31. package/dist/shared/Survey.js +2 -0
  32. package/dist/shared/Survey.js.map +1 -0
  33. package/dist/shared/TicketSystem.d.ts +154 -0
  34. package/dist/shared/TicketSystem.d.ts.map +1 -0
  35. package/dist/shared/TicketSystem.js +21 -0
  36. package/dist/shared/TicketSystem.js.map +1 -0
  37. package/dist/shared/types.d.ts +744 -0
  38. package/dist/shared/types.d.ts.map +1 -0
  39. package/dist/shared/types.js +16 -0
  40. package/dist/shared/types.js.map +1 -0
  41. package/dist/types.d.ts +20 -0
  42. package/dist/types.d.ts.map +1 -0
  43. package/dist/types.js +2 -0
  44. package/dist/types.js.map +1 -0
  45. package/package.json +18 -0
@@ -0,0 +1,744 @@
1
+ import { ConfigInstance, ConfigType } from "./Configs.js";
2
+ import { IntegrationType } from "./Integrations.js";
3
+ import { RunHistoryAction, RunHistoryActionType, RunHistoryRecordWithAgent } from "./RunHistoryTypes.js";
4
+ import { Project, Ticket } from "./TicketSystem.js";
5
+ export type Role = "admin" | "user";
6
+ export type User = {
7
+ id: string;
8
+ workosId: string;
9
+ organizationId: string;
10
+ organizationName: string;
11
+ email: string;
12
+ displayName: string;
13
+ firstName: string | null;
14
+ lastName: string | null;
15
+ displayPhotoUrl: string;
16
+ roles: Role[];
17
+ };
18
+ export type UserNoOrganization = Omit<User, "organizationId" | "organizationName" | "roles">;
19
+ export type SubActivity = {
20
+ summary: string;
21
+ commits: CommitAssociation[];
22
+ };
23
+ export type CommitAssociation = {
24
+ sha: string;
25
+ message: string;
26
+ url: string;
27
+ };
28
+ export type ActivityEvent = {
29
+ event_type: string;
30
+ title: string;
31
+ github_repository_owner_id: string;
32
+ github_repository_name: string;
33
+ created_at: Date;
34
+ sub_activities: SubActivity[];
35
+ };
36
+ export type TicketActivityEvent = {
37
+ ticket: Ticket;
38
+ event_type: string;
39
+ title: string;
40
+ };
41
+ export type ProjectActivityEvent = {
42
+ project: Project;
43
+ event_type: string;
44
+ title: string;
45
+ };
46
+ export type LinearTeam = {
47
+ id: string;
48
+ name: string;
49
+ key: string;
50
+ };
51
+ export type AttioObject = {
52
+ api_slug: string;
53
+ singular_noun: string;
54
+ plural_noun: string;
55
+ };
56
+ export type LinearWorkspace = {
57
+ id: string;
58
+ name: string;
59
+ };
60
+ export type JiraProject = {
61
+ id: string;
62
+ key: string;
63
+ name: string;
64
+ };
65
+ export type JiraCredentialsValidationResponse = {
66
+ valid: boolean;
67
+ projects?: JiraProject[];
68
+ error?: string;
69
+ };
70
+ export type NotionResourceType = "database" | "page";
71
+ export type NotionResource = {
72
+ id: string;
73
+ title: string;
74
+ url: string;
75
+ type: NotionResourceType;
76
+ };
77
+ export type NotionResourcesResponse = {
78
+ resources: NotionResource[];
79
+ };
80
+ export type PosthogProject = {
81
+ id: string;
82
+ name: string;
83
+ organization_id?: string;
84
+ };
85
+ export type PosthogProjectsResponse = {
86
+ projects: PosthogProject[];
87
+ };
88
+ export type LaunchDarklyProject = {
89
+ key: string;
90
+ name: string;
91
+ };
92
+ export type LaunchDarklyProjectsResponse = {
93
+ projects: LaunchDarklyProject[];
94
+ };
95
+ export type LaunchDarklyEnvironment = {
96
+ key: string;
97
+ name: string;
98
+ };
99
+ export type LaunchDarklyEnvironmentsResponse = {
100
+ environments: LaunchDarklyEnvironment[];
101
+ };
102
+ export type DatadogIndex = {
103
+ id: string;
104
+ name: string;
105
+ isEnabled: boolean;
106
+ dailyLimit?: number;
107
+ retentionDays?: number;
108
+ };
109
+ export type DatadogIndexesResponse = {
110
+ indexes: DatadogIndex[];
111
+ };
112
+ export type SlackChannel = {
113
+ id: string;
114
+ name: string;
115
+ isPrivate: boolean;
116
+ isArchived: boolean;
117
+ isMPIM: boolean;
118
+ };
119
+ export type SlackChannelsResponse = {
120
+ channels: SlackChannel[];
121
+ selectedChannelId: string | null;
122
+ };
123
+ export type SlackUserResponse = {
124
+ id: string;
125
+ name: string;
126
+ };
127
+ export type SlackUsersResponse = {
128
+ users: SlackUserResponse[];
129
+ };
130
+ /**
131
+ * Slack channel type enum
132
+ */
133
+ export declare enum SlackChannelType {
134
+ CHANNEL = "channel",
135
+ GROUP = "group",
136
+ MPIM = "mpim",
137
+ IM = "im"
138
+ }
139
+ export type ConfluencePage = {
140
+ id: string;
141
+ title: string;
142
+ spaceId: string;
143
+ spaceName: string;
144
+ url: string;
145
+ status: string;
146
+ version: number;
147
+ };
148
+ export type ConfluencePagesQuery = {
149
+ integrationId: string;
150
+ spaceId?: string;
151
+ spaceKey?: string;
152
+ };
153
+ export type ConfluencePagesResponse = {
154
+ pages: ConfluencePage[];
155
+ spaceId: string;
156
+ total: number;
157
+ };
158
+ export type ConfluenceResourcesResponse = {
159
+ resources: ConfluencePage[];
160
+ spaceId: string;
161
+ total: number;
162
+ };
163
+ export type JiraResourcesResponse = {
164
+ success: boolean;
165
+ resources: {
166
+ projects: Array<{
167
+ id: string;
168
+ key: string;
169
+ name: string;
170
+ projectTypeKey: string;
171
+ }>;
172
+ baseUrl: string;
173
+ cloudId: string;
174
+ };
175
+ };
176
+ export type UseConfluenceResourcesReturn<MutateType = any> = {
177
+ resources: ConfluencePage[];
178
+ response: ConfluenceResourcesResponse | undefined;
179
+ isLoading: boolean;
180
+ isError: boolean;
181
+ error: unknown;
182
+ isValidating: boolean;
183
+ mutate: MutateType;
184
+ };
185
+ export declare enum FigmaEventTypes {
186
+ FILE_COMMENT = "FILE_COMMENT"
187
+ }
188
+ /**
189
+ * Figma webhook event user object
190
+ */
191
+ export interface FigmaWebhookUser {
192
+ id: string;
193
+ handle: string;
194
+ email: string;
195
+ img_url: string;
196
+ }
197
+ /**
198
+ * Figma webhook comment object (from webhook payload)
199
+ */
200
+ export interface FigmaWebhookComment {
201
+ id: string;
202
+ message: string;
203
+ client_meta: FigmaClientMeta;
204
+ user: FigmaWebhookUser;
205
+ created_at: string;
206
+ resolved_at: string | null;
207
+ }
208
+ /**
209
+ * Figma comment image URLs
210
+ * Extracted images for visual context of comments
211
+ */
212
+ export interface FigmaCommentImageUrls {
213
+ nodeImage?: string;
214
+ fullFrame?: string;
215
+ }
216
+ /**
217
+ * Figma positioning data structures
218
+ * Represents the position and type of a comment in a Figma file
219
+ */
220
+ export type FigmaVectorData = {
221
+ x: number;
222
+ y: number;
223
+ };
224
+ export type FigmaFrameOffsetData = {
225
+ node_id: string;
226
+ node_offset: {
227
+ x: number;
228
+ y: number;
229
+ };
230
+ };
231
+ export type FigmaRegionData = {
232
+ x: number;
233
+ y: number;
234
+ width: number;
235
+ height: number;
236
+ };
237
+ export type FigmaFrameOffsetRegionData = {
238
+ node_id: string;
239
+ node_offset: {
240
+ x: number;
241
+ y: number;
242
+ };
243
+ x: number;
244
+ y: number;
245
+ width: number;
246
+ height: number;
247
+ };
248
+ export type FigmaPositioningData = {
249
+ type: "Vector";
250
+ data: FigmaVectorData;
251
+ } | {
252
+ type: "FrameOffset";
253
+ data: FigmaFrameOffsetData;
254
+ } | {
255
+ type: "Region";
256
+ data: FigmaRegionData;
257
+ } | {
258
+ type: "FrameOffsetRegion";
259
+ data: FigmaFrameOffsetRegionData;
260
+ };
261
+ /**
262
+ * Figma client_meta structure
263
+ * Represents the raw positioning metadata from Figma comment client_meta
264
+ * Can be one of several positioning formats
265
+ */
266
+ export type FigmaClientMeta = {
267
+ x: number;
268
+ y: number;
269
+ width: number;
270
+ height: number;
271
+ node_id: string;
272
+ node_offset: {
273
+ x: number;
274
+ y: number;
275
+ };
276
+ };
277
+ /**
278
+ * Figma API comment response structure
279
+ */
280
+ export interface FigmaApiComment {
281
+ id: string;
282
+ message: string;
283
+ client_meta: FigmaClientMeta | null;
284
+ user: FigmaWebhookUser;
285
+ created_at: string;
286
+ resolved_at: string | null;
287
+ parent_id?: string | null;
288
+ order_id?: string;
289
+ mentions?: unknown[];
290
+ reactions?: unknown[];
291
+ }
292
+ export interface FigmaCommentThreadEntry {
293
+ id: string;
294
+ message: string;
295
+ author: FigmaWebhookUser;
296
+ createdAt: string;
297
+ resolvedAt: string | null;
298
+ parentId: string | null;
299
+ orderId?: string;
300
+ isRoot?: boolean;
301
+ }
302
+ /**
303
+ * Figma comment event data
304
+ * Processed/enriched comment data used for automation events
305
+ * This combines data from webhook, API, and enriched context
306
+ */
307
+ export interface FigmaCommentEventData {
308
+ integrationId: string;
309
+ commentId: string;
310
+ fileKey: string;
311
+ fileUrl: string;
312
+ nodeId?: string;
313
+ message: string;
314
+ author: FigmaWebhookUser;
315
+ createdAt: string;
316
+ resolved?: boolean;
317
+ thread?: FigmaCommentThreadEntry[];
318
+ fileMetadata?: any;
319
+ positioningData?: FigmaPositioningData;
320
+ matchedNodeIds?: string[];
321
+ imageUrls?: FigmaCommentImageUrls;
322
+ }
323
+ export type ApiToken = {
324
+ id: string;
325
+ name: string;
326
+ tokenPrefix: string;
327
+ createdAt: string;
328
+ lastUsedAt: string | null;
329
+ };
330
+ export type ApiTokenCreateResponse = {
331
+ token: ApiToken;
332
+ rawToken: string;
333
+ };
334
+ export type AgentTrigger = {
335
+ id: string;
336
+ config: ConfigInstance;
337
+ };
338
+ export type AgentOutput = {
339
+ id: string;
340
+ config: ConfigInstance;
341
+ };
342
+ export type AgentPrompt = {
343
+ text: string;
344
+ };
345
+ export type TransientAgentTrigger = {
346
+ id: string;
347
+ config?: ConfigInstance;
348
+ configType: ConfigType;
349
+ };
350
+ export type TransientAgentOutput = {
351
+ id: string;
352
+ config?: ConfigInstance;
353
+ configType: ConfigType;
354
+ };
355
+ export type TemplateConfigRef = {
356
+ configType: ConfigType;
357
+ integrationType: IntegrationType;
358
+ };
359
+ export type TemplateTrigger = {
360
+ config: TemplateConfigRef;
361
+ };
362
+ export type TemplateOutput = {
363
+ config: TemplateConfigRef;
364
+ };
365
+ export type TemplateCategory = "ship" | "users" | "sync" | "track";
366
+ export type AgentTemplate = {
367
+ id: string;
368
+ category: TemplateCategory;
369
+ name: string;
370
+ description: string;
371
+ chatPrompt: string;
372
+ prompt: AgentPrompt;
373
+ triggers: TemplateTrigger[];
374
+ outputs: TemplateOutput[];
375
+ requireApproval: boolean;
376
+ isActive: boolean;
377
+ };
378
+ export type Agent = {
379
+ id: string;
380
+ name: string;
381
+ isActive: boolean;
382
+ requireApproval: boolean;
383
+ prompt: AgentPrompt;
384
+ triggers: AgentTrigger[];
385
+ outputs: AgentOutput[];
386
+ notificationSettings?: AgentNotificationSettings;
387
+ toolApprovals?: string[];
388
+ updatedAt?: string;
389
+ source?: "WEB_UI" | "SDK";
390
+ };
391
+ export type AgentNotificationSettings = {
392
+ enabled: boolean;
393
+ actionTypes: RunHistoryActionType[];
394
+ notifyOnRunFailure: boolean;
395
+ };
396
+ export type AgentUpdate = {
397
+ name?: string;
398
+ triggers?: AgentTrigger[];
399
+ outputs?: AgentOutput[];
400
+ prompt?: AgentPrompt;
401
+ isActive?: boolean;
402
+ requireApproval?: boolean;
403
+ notificationSettings?: AgentNotificationSettings;
404
+ toolApprovals?: string[];
405
+ };
406
+ export type AgentsResponse = {
407
+ agents: Agent[];
408
+ pagination: {
409
+ page: number;
410
+ limit: number;
411
+ total: number;
412
+ totalPages: number;
413
+ };
414
+ };
415
+ export type RecentAgent = Agent & {
416
+ updatedAt: string;
417
+ lastEventProcessedAt: string | null;
418
+ };
419
+ export type GithubAppInstallationCallbackRequest = {
420
+ name: string;
421
+ email: string;
422
+ username: string;
423
+ installationId: number;
424
+ accountName: string | null;
425
+ repositories: Repository[];
426
+ };
427
+ export type Repository = {
428
+ name: string;
429
+ owner: string;
430
+ id: number;
431
+ };
432
+ export type GetGithubRepositoriesForIntegrationRequest = {};
433
+ export type GetGithubRepositoriesForIntegrationResponse = {
434
+ repositories: Repository[];
435
+ };
436
+ export type OAuthInstallationDetails = {
437
+ oauthUrl: string;
438
+ };
439
+ export type StatsInterval = "1h" | "24h" | "7d" | "1mo" | "3mo" | "1y";
440
+ export interface DailyEventCount {
441
+ date: string;
442
+ events: number;
443
+ }
444
+ export interface RecentAction {
445
+ action: string;
446
+ integration: IntegrationType;
447
+ target: string;
448
+ details: string;
449
+ url?: string;
450
+ timestamp: string;
451
+ agentName: string;
452
+ type: RunHistoryActionType;
453
+ }
454
+ export interface AgentActivityItem {
455
+ agentId: string;
456
+ agentName: string;
457
+ runCount: number;
458
+ }
459
+ export interface CountByString {
460
+ label: string;
461
+ count: number;
462
+ }
463
+ export interface StatsResponse {
464
+ totalEventsProcessed: number;
465
+ totalEventsProcessedChange: string;
466
+ actionsTaken: number;
467
+ actionsTakenChange: string;
468
+ numberOfAgents: number;
469
+ numberOfAgentsChange: string;
470
+ dailyEvents: DailyEventCount[];
471
+ recentActions: RecentAction[];
472
+ recentRuns: RunHistoryRecordWithAgent[];
473
+ timezone: string;
474
+ agentActivity: AgentActivityItem[];
475
+ statusBreakdown: CountByString[];
476
+ triggerIntegrations: CountByString[];
477
+ actionIntegrations: CountByString[];
478
+ actionTypes: CountByString[];
479
+ }
480
+ export interface TriggerPayload {
481
+ integrationId: string;
482
+ integrationType: IntegrationType;
483
+ config: Record<string, unknown>;
484
+ }
485
+ export interface SerializedEvent {
486
+ integrationType: IntegrationType;
487
+ formattedContent: string;
488
+ debugLog: string;
489
+ }
490
+ export type SdkAgentRunEventPayload = {
491
+ integrationType: IntegrationType;
492
+ formattedContent: string;
493
+ debugLog: string;
494
+ };
495
+ export type SdkAgentSkillPayload = {
496
+ configType: ConfigType;
497
+ config: Record<string, unknown>;
498
+ };
499
+ export type SdkAgentRunOptionsPayload = {
500
+ maxTurns?: number;
501
+ requireApproval?: boolean;
502
+ };
503
+ export type SdkAgentRunRequestBody = {
504
+ prompt?: string;
505
+ event?: Partial<SdkAgentRunEventPayload>;
506
+ skills?: SdkAgentSkillPayload[];
507
+ options?: SdkAgentRunOptionsPayload;
508
+ };
509
+ export type SdkAgentRunResponseBody = {
510
+ success: boolean;
511
+ error?: string;
512
+ details?: string[];
513
+ contract?: {
514
+ responseMode: "streaming";
515
+ supportsInterruptions: boolean;
516
+ };
517
+ normalizedRequest?: {
518
+ prompt: string;
519
+ event: SdkAgentRunEventPayload;
520
+ skills: SdkAgentSkillPayload[];
521
+ options: {
522
+ maxTurns: number;
523
+ requireApproval: boolean;
524
+ };
525
+ };
526
+ };
527
+ export type SdkAgentStreamEvent = {
528
+ type: "text";
529
+ text: string;
530
+ } | {
531
+ type: "final_output";
532
+ finalOutput: string;
533
+ } | {
534
+ type: "tool_call_params";
535
+ toolCallParams: string;
536
+ } | {
537
+ type: "tool_call_started";
538
+ toolCallStarted: string;
539
+ } | {
540
+ type: "tool_call_completed";
541
+ toolCallCompleted: string;
542
+ } | {
543
+ type: "action";
544
+ action: RunHistoryAction;
545
+ } | {
546
+ type: "error";
547
+ message: string;
548
+ } | {
549
+ type: "done";
550
+ };
551
+ export type ToolOutputBase = {
552
+ success: boolean;
553
+ actions?: RunHistoryAction[];
554
+ };
555
+ export type ToolOutputByName = {
556
+ [toolName: string]: unknown;
557
+ slack_send_message: ToolOutputBase & {
558
+ message_ts: string | undefined;
559
+ channel: string;
560
+ thread_ts: string | undefined;
561
+ summary: string;
562
+ has_blocks: boolean;
563
+ };
564
+ slack_list_channels: ToolOutputBase & {
565
+ channels: Array<{
566
+ id?: string;
567
+ name: string;
568
+ isPrivate: boolean;
569
+ isIm: boolean;
570
+ isMpim: boolean;
571
+ }>;
572
+ count: number;
573
+ nextCursor: string | null;
574
+ hasMore: boolean;
575
+ };
576
+ slack_list_users: ToolOutputBase & {
577
+ users: Array<{
578
+ id: string;
579
+ name: string;
580
+ }>;
581
+ count: number;
582
+ };
583
+ slack_read_conversation: ToolOutputBase & {
584
+ channelId: string;
585
+ channelName?: string;
586
+ messages: Array<{
587
+ userId?: string;
588
+ userName?: string;
589
+ text: string;
590
+ timestamp?: string;
591
+ threadTs?: string;
592
+ }>;
593
+ count: number;
594
+ hasMore: boolean;
595
+ nextCursor: string | null;
596
+ };
597
+ searchGitHubCode: ToolOutputBase & {
598
+ totalCount: number;
599
+ resultsReturned: number;
600
+ query: string;
601
+ repositories: string[];
602
+ pagination: {
603
+ page: number;
604
+ perPage: number;
605
+ hasMore: boolean;
606
+ };
607
+ results: Array<{
608
+ index: number;
609
+ repository: string;
610
+ path: string;
611
+ url: string;
612
+ snippets: string;
613
+ }>;
614
+ message: string;
615
+ tip: string;
616
+ };
617
+ readGitHubFile: ToolOutputBase & {
618
+ repository: string;
619
+ path: string;
620
+ url: string;
621
+ totalLines: number;
622
+ displayedLines: string;
623
+ size: number;
624
+ content: string;
625
+ warning?: string;
626
+ };
627
+ listGitHubPullRequests: ToolOutputBase & {
628
+ repository: string;
629
+ timeWindow: string;
630
+ summary: {
631
+ total: number;
632
+ merged: number;
633
+ open: number;
634
+ closed: number;
635
+ };
636
+ pagination: {
637
+ page: number;
638
+ perPage: number;
639
+ hasMore: boolean;
640
+ };
641
+ pullRequests: Array<{
642
+ number: number;
643
+ title: string;
644
+ description: string;
645
+ author: string;
646
+ state: string;
647
+ merged: boolean;
648
+ mergedAt?: string;
649
+ createdAt: string;
650
+ closedAt?: string;
651
+ labels: string[];
652
+ baseBranch: string;
653
+ headBranch: string;
654
+ url: string;
655
+ }>;
656
+ message: string;
657
+ };
658
+ listGitHubDirectory: ToolOutputBase & {
659
+ repository: string;
660
+ path: string;
661
+ recursive: boolean;
662
+ totalItems: number;
663
+ directories: Array<{
664
+ name?: string;
665
+ path?: string;
666
+ type?: "directory";
667
+ } | string>;
668
+ files: Array<{
669
+ name?: string;
670
+ path: string;
671
+ type?: "file";
672
+ size?: number;
673
+ }>;
674
+ warning?: string;
675
+ tip?: string;
676
+ truncated?: boolean;
677
+ other?: Array<{
678
+ name: string;
679
+ type: string;
680
+ }>;
681
+ };
682
+ listGitHubCommits: ToolOutputBase & {
683
+ repository: string;
684
+ timeWindow: string;
685
+ filters: string;
686
+ summary: {
687
+ total: number;
688
+ byAuthor: Record<string, number>;
689
+ };
690
+ commits: Array<{
691
+ sha: string;
692
+ fullSha: string;
693
+ message: string;
694
+ fullMessage: string;
695
+ author: string;
696
+ date: string;
697
+ url: string;
698
+ }>;
699
+ message: string;
700
+ tip: string;
701
+ };
702
+ grepGitHubCode: ToolOutputBase & {
703
+ totalCount: number;
704
+ resultsReturned: number;
705
+ pattern: string;
706
+ query: string;
707
+ repositories: string[];
708
+ pagination: {
709
+ page: number;
710
+ perPage: number;
711
+ hasMore: boolean;
712
+ };
713
+ results: Array<{
714
+ index: number;
715
+ repository: string;
716
+ file: string;
717
+ url: string;
718
+ matches: string;
719
+ }>;
720
+ message: string;
721
+ tip: string;
722
+ };
723
+ summarizeGitHubPullRequestDiff: ToolOutputBase & {
724
+ repository: string;
725
+ pullRequest: {
726
+ number: number;
727
+ title: string;
728
+ state: string;
729
+ merged: boolean;
730
+ baseBranch: string;
731
+ headBranch: string;
732
+ url: string;
733
+ };
734
+ summary: Record<string, unknown>;
735
+ pagination: {
736
+ page: number;
737
+ perPage: number;
738
+ hasMore: boolean;
739
+ };
740
+ analysis: string;
741
+ message: string;
742
+ };
743
+ };
744
+ //# sourceMappingURL=types.d.ts.map