terse-types 0.0.3 → 0.0.5

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.
@@ -17,11 +17,13 @@ export const changedItemSchema = z.object({
17
17
  change_event_type: changeEventTypeSchema
18
18
  });
19
19
  export const runErrorSchema = z.object({
20
+ type: z.literal("RunError"),
20
21
  error: z.string(),
21
22
  code: z.string().optional(),
22
23
  timestamp: z.number()
23
24
  });
24
25
  export const cancelledSchema = z.object({
26
+ type: z.literal("Cancelled"),
25
27
  reason: z.string().optional(),
26
28
  timestamp: z.number()
27
29
  });
@@ -32,9 +34,11 @@ export const functionCallSchema = z.object({
32
34
  });
33
35
  export const naturalStopSchema = z.object({
34
36
  step_id: z.string(),
37
+ type: z.literal("NaturalStop"),
35
38
  timestamp: z.number()
36
39
  });
37
40
  export const sendModelRequestSchema = z.object({
41
+ type: z.literal("SendModelRequest"),
38
42
  user_message: z.string(),
39
43
  timezone: z.string(),
40
44
  ui_state: z.string().optional(),
@@ -43,12 +47,14 @@ export const sendModelRequestSchema = z.object({
43
47
  });
44
48
  export const toolApprovalResponseSchema = z.object({
45
49
  step_id: z.string(),
50
+ type: z.literal("ToolApprovalResponse"),
46
51
  approved: z.boolean(),
47
52
  rejection_reason: z.string().optional(),
48
53
  timestamp: z.number()
49
54
  });
50
55
  export const toolApprovalRequestSchema = z.object({
51
56
  step_id: z.string(),
57
+ type: z.literal("ToolApprovalRequest"),
52
58
  name: z.string(),
53
59
  arguments: z.string(),
54
60
  timestamp: z.number()
@@ -56,22 +62,26 @@ export const toolApprovalRequestSchema = z.object({
56
62
  export const textDeltaSchema = z.object({
57
63
  delta: z.string(),
58
64
  step_id: z.string(),
65
+ type: z.literal("TextDelta"),
59
66
  timestamp: z.number()
60
67
  });
61
68
  export const toolCallGeneratingSchema = z.object({
62
69
  tool_name: z.string(),
63
70
  step_id: z.string(),
71
+ type: z.literal("ToolCallGenerating"),
64
72
  timestamp: z.number()
65
73
  });
66
74
  export const toolCallSchema = z.object({
67
75
  summary: z.string(),
68
76
  step_id: z.string(),
77
+ type: z.literal("ToolCall"),
69
78
  parameters: z.string(),
70
79
  integration: z.string(),
71
80
  timestamp: z.number()
72
81
  });
73
82
  export const thinkingSchema = z.object({
74
83
  step_id: z.string(),
84
+ type: z.literal("Thinking"),
75
85
  timestamp: z.number()
76
86
  });
77
87
  export var ToolCallExecutionStatus;
@@ -87,6 +97,7 @@ export const toolCallCompleteSchema = z.object({
87
97
  timestamp: z.number(),
88
98
  status: toolCallExecutionStatusSchema,
89
99
  step_id: z.string(),
100
+ type: z.literal("ToolCallComplete"),
90
101
  changed_items: z.array(changedItemSchema),
91
102
  integration: z.string(),
92
103
  url: z.string().optional(),
@@ -98,6 +109,7 @@ export const filterResultSchema = z.object({
98
109
  reason: z.string(),
99
110
  confidence: z.number(),
100
111
  step_id: z.string(),
112
+ type: z.literal("FilterResult"),
101
113
  timestamp: z.number()
102
114
  });
103
115
  export var SandboxStage;
@@ -117,6 +129,7 @@ export const SANDBOX_STAGE_LABELS = {
117
129
  [SandboxStage.RUNNING]: "Running agent"
118
130
  };
119
131
  export const userMessageSchema = z.object({
132
+ type: z.literal("UserMessage"),
120
133
  message: z.string(),
121
134
  step_id: z.string(),
122
135
  client_turn_id: z.string(),
@@ -126,87 +139,63 @@ export const multipleChoiceOptionSchema = z.object({
126
139
  label: z.string(),
127
140
  value: z.string()
128
141
  });
129
- export const snippetVariantSchema = z.discriminatedUnion("type", [
130
- z.object({
131
- type: z.literal("button"),
132
- label: z.string(),
133
- url: z.string()
134
- }),
135
- z.object({
136
- type: z.literal("integration_prompt"),
137
- integration: z.string(),
138
- message: z.string(),
139
- stateToken: z.string().optional()
140
- }),
141
- z.object({
142
- type: z.literal("navigate"),
143
- path: z.string()
144
- }),
145
- z.object({
146
- type: z.literal("multiple_choice"),
147
- questionId: z.string(),
148
- question: z.string(),
149
- options: z.array(multipleChoiceOptionSchema),
150
- allowMultiple: z.boolean().optional()
151
- }),
152
- z.object({
153
- type: z.literal("image"),
154
- url: z.string()
155
- })
156
- ]);
157
- export const chatSnippetSchema = z.intersection(z.object({
142
+ export const buttonSchema = z.object({
143
+ type: z.literal("button"),
144
+ label: z.string(),
145
+ url: z.string()
146
+ });
147
+ export const integrationPromptSchema = z.object({
148
+ type: z.literal("integration_prompt"),
149
+ integration: z.string(),
150
+ message: z.string(),
151
+ stateToken: z.string().optional()
152
+ });
153
+ export const navigateSchema = z.object({
154
+ type: z.literal("navigate"),
155
+ path: z.string()
156
+ });
157
+ export const multipleChoiceSchema = z.object({
158
+ type: z.literal("multiple_choice"),
159
+ questionId: z.string(),
160
+ question: z.string(),
161
+ options: z.array(multipleChoiceOptionSchema),
162
+ allowMultiple: z.boolean().optional()
163
+ });
164
+ export const imageSchema = z.object({
165
+ type: z.literal("image"),
166
+ url: z.string()
167
+ });
168
+ export const snippetVariantSchema = z.discriminatedUnion("type", [buttonSchema, integrationPromptSchema, navigateSchema, multipleChoiceSchema, imageSchema]);
169
+ const chatSnippetMetadataSchema = {
158
170
  id: z.string().optional(),
159
171
  step_id: z.string().optional(),
160
172
  selectedValue: z.string().optional()
161
- }), snippetVariantSchema);
162
- export const modelEventSchema = z.discriminatedUnion("type", [
163
- toolApprovalResponseSchema.extend({
164
- type: z.literal("ToolApprovalResponse")
165
- }),
166
- toolApprovalRequestSchema.extend({
167
- type: z.literal("ToolApprovalRequest")
168
- }),
169
- toolCallGeneratingSchema.extend({
170
- type: z.literal("ToolCallGenerating")
171
- }),
172
- toolCallSchema.extend({
173
- type: z.literal("ToolCall")
174
- }),
175
- toolCallCompleteSchema.extend({
176
- type: z.literal("ToolCallComplete")
177
- }),
178
- textDeltaSchema.extend({
179
- type: z.literal("TextDelta")
180
- }),
181
- runErrorSchema.extend({
182
- type: z.literal("RunError")
183
- }),
184
- cancelledSchema.extend({
185
- type: z.literal("Cancelled")
186
- }),
187
- naturalStopSchema.extend({
188
- type: z.literal("NaturalStop")
189
- }),
190
- filterResultSchema.extend({
191
- type: z.literal("FilterResult")
192
- }),
193
- userMessageSchema.extend({
194
- type: z.literal("UserMessage")
195
- }),
196
- thinkingSchema.extend({
197
- type: z.literal("Thinking")
198
- }),
199
- z.object({
200
- type: z.literal("Snippet"),
201
- timestamp: z.number(),
202
- snippet: chatSnippetSchema
203
- })
173
+ };
174
+ export const chatSnippetSchema = z.discriminatedUnion("type", [
175
+ buttonSchema.extend(chatSnippetMetadataSchema),
176
+ integrationPromptSchema.extend(chatSnippetMetadataSchema),
177
+ navigateSchema.extend(chatSnippetMetadataSchema),
178
+ multipleChoiceSchema.extend(chatSnippetMetadataSchema),
179
+ imageSchema.extend(chatSnippetMetadataSchema)
204
180
  ]);
205
- export const modelRequestSchema = z.discriminatedUnion("type", [
206
- sendModelRequestSchema.extend({
207
- type: z.literal("SendModelRequest")
208
- }),
209
- toolApprovalResponseSchema.extend({
210
- type: z.literal("ToolApprovalResponse")
211
- })
181
+ export const modelEventChatSnippetSchema = z.object({
182
+ type: z.literal("Snippet"),
183
+ timestamp: z.number(),
184
+ snippet: chatSnippetSchema
185
+ });
186
+ export const modelEventSchema = z.discriminatedUnion("type", [
187
+ toolApprovalResponseSchema,
188
+ toolApprovalRequestSchema,
189
+ toolCallGeneratingSchema,
190
+ toolCallSchema,
191
+ toolCallCompleteSchema,
192
+ textDeltaSchema,
193
+ runErrorSchema,
194
+ cancelledSchema,
195
+ naturalStopSchema,
196
+ filterResultSchema,
197
+ userMessageSchema,
198
+ thinkingSchema,
199
+ modelEventChatSnippetSchema
212
200
  ]);
201
+ export const modelRequestSchema = z.discriminatedUnion("type", [sendModelRequestSchema, toolApprovalResponseSchema]);
@@ -15,16 +15,21 @@ export interface UpdateNotificationSettingsRequest {
15
15
  weeklyAgentImprovements: boolean;
16
16
  applyToAllAgents?: boolean;
17
17
  }
18
- export declare enum NotificationDestinationType {
19
- EMAIL = "email",
20
- SLACK = "slack"
21
- }
18
+ export declare const NotificationDestinationType: {
19
+ readonly EMAIL: "email";
20
+ readonly SLACK: "slack";
21
+ };
22
+ export declare const notificationDestinationTypeSchema: z.ZodEnum<{
23
+ readonly EMAIL: "email";
24
+ readonly SLACK: "slack";
25
+ }>;
26
+ export type NotificationDestinationType = z.infer<typeof notificationDestinationTypeSchema>;
22
27
  export interface EmailNotificationDestination extends NotificationDestination {
23
- type: NotificationDestinationType.EMAIL;
28
+ type: "email";
24
29
  email: string;
25
30
  }
26
31
  export interface SlackNotificationDestination extends NotificationDestination {
27
- type: NotificationDestinationType.SLACK;
32
+ type: "slack";
28
33
  integrationId: string;
29
34
  slackChannelId?: string;
30
35
  slackChannelName?: string;
@@ -32,7 +37,10 @@ export interface SlackNotificationDestination extends NotificationDestination {
32
37
  slackUserName?: string;
33
38
  }
34
39
  export declare const createNotificationDestinationRequestSchema: z.ZodObject<{
35
- type: z.ZodEnum<typeof NotificationDestinationType>;
40
+ type: z.ZodEnum<{
41
+ readonly EMAIL: "email";
42
+ readonly SLACK: "slack";
43
+ }>;
36
44
  email: z.ZodOptional<z.ZodEmail>;
37
45
  integrationId: z.ZodOptional<z.ZodString>;
38
46
  slackChannelId: z.ZodOptional<z.ZodString>;
@@ -43,7 +51,10 @@ export declare const createNotificationDestinationRequestSchema: z.ZodObject<{
43
51
  }, z.core.$strip>;
44
52
  export type CreateNotificationDestinationRequest = z.infer<typeof createNotificationDestinationRequestSchema>;
45
53
  export declare const updateNotificationDestinationRequestSchema: z.ZodObject<{
46
- type: z.ZodOptional<z.ZodEnum<typeof NotificationDestinationType>>;
54
+ type: z.ZodOptional<z.ZodEnum<{
55
+ readonly EMAIL: "email";
56
+ readonly SLACK: "slack";
57
+ }>>;
47
58
  email: z.ZodOptional<z.ZodOptional<z.ZodEmail>>;
48
59
  integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
49
60
  slackChannelId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1,11 +1,11 @@
1
1
  import { z } from "zod";
2
- export var NotificationDestinationType;
3
- (function (NotificationDestinationType) {
4
- NotificationDestinationType["EMAIL"] = "email";
5
- NotificationDestinationType["SLACK"] = "slack";
6
- })(NotificationDestinationType || (NotificationDestinationType = {}));
2
+ export const NotificationDestinationType = {
3
+ EMAIL: "email",
4
+ SLACK: "slack"
5
+ };
6
+ export const notificationDestinationTypeSchema = z.enum(NotificationDestinationType);
7
7
  export const createNotificationDestinationRequestSchema = z.object({
8
- type: z.enum(NotificationDestinationType),
8
+ type: notificationDestinationTypeSchema,
9
9
  email: z.email().optional(),
10
10
  integrationId: z.string().optional(),
11
11
  slackChannelId: z.string().optional(),
@@ -1,18 +1,38 @@
1
1
  import * as z from "zod";
2
- import { IntegrationType } from "./Integrations.js";
3
2
  import type { ModelEvent } from "./ModelEvents.js";
4
- import type { User } from "./types.js";
5
- export declare enum RunHistoryStatus {
6
- SUCCESS = "success",
7
- FAILED = "failed",
8
- CANCELLED = "cancelled",
9
- SKIPPED = "skipped",
10
- IN_PROGRESS = "in_progress",
11
- AWAITING_APPROVAL = "awaiting_approval"
12
- }
13
- export type RunHistoryDecisionAction = "processed" | "skipped";
3
+ import type { RunHistoryRecord, RunHistoryRecordWithAgent, User } from "./types.js";
4
+ export declare const RunHistoryStatus: {
5
+ readonly SUCCESS: "success";
6
+ readonly FAILED: "failed";
7
+ readonly CANCELLED: "cancelled";
8
+ readonly SKIPPED: "skipped";
9
+ readonly IN_PROGRESS: "in_progress";
10
+ readonly AWAITING_APPROVAL: "awaiting_approval";
11
+ };
12
+ export declare const runHistoryStatusSchema: z.ZodEnum<{
13
+ readonly SUCCESS: "success";
14
+ readonly FAILED: "failed";
15
+ readonly CANCELLED: "cancelled";
16
+ readonly SKIPPED: "skipped";
17
+ readonly IN_PROGRESS: "in_progress";
18
+ readonly AWAITING_APPROVAL: "awaiting_approval";
19
+ }>;
20
+ export type RunHistoryStatus = z.infer<typeof runHistoryStatusSchema>;
21
+ export declare const runHistoryDecisionActionSchema: z.ZodEnum<{
22
+ processed: "processed";
23
+ skipped: "skipped";
24
+ }>;
25
+ export type RunHistoryDecisionAction = z.infer<typeof runHistoryDecisionActionSchema>;
14
26
  export declare const RUN_HISTORY_ACTION_TYPES: readonly ["create", "update", "delete", "read", "approve", "error"];
15
- export type RunHistoryActionType = (typeof RUN_HISTORY_ACTION_TYPES)[number];
27
+ export declare const runHistoryActionTypeSchema: z.ZodEnum<{
28
+ error: "error";
29
+ create: "create";
30
+ update: "update";
31
+ delete: "delete";
32
+ read: "read";
33
+ approve: "approve";
34
+ }>;
35
+ export type RunHistoryActionType = z.infer<typeof runHistoryActionTypeSchema>;
16
36
  export declare const outputItemSchema: z.ZodObject<{
17
37
  output_item_id: z.ZodString;
18
38
  output_item_type: z.ZodEnum<typeof import("./Configs.js").ConfigType>;
@@ -20,7 +40,7 @@ export declare const outputItemSchema: z.ZodObject<{
20
40
  export type OutputItem = z.infer<typeof outputItemSchema>;
21
41
  export declare const runHistoryActionBaseSchema: z.ZodObject<{
22
42
  action: z.ZodString;
23
- integration: z.ZodEnum<typeof IntegrationType>;
43
+ integration: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
24
44
  target: z.ZodString;
25
45
  details: z.ZodString;
26
46
  url: z.ZodOptional<z.ZodString>;
@@ -43,29 +63,7 @@ export type RunHistoryAction = z.infer<typeof runHistoryActionBaseSchema>;
43
63
  export type RunHistoryActionWithId = RunHistoryAction & {
44
64
  id: string;
45
65
  };
46
- export type RunHistoryTrigger = {
47
- event: string;
48
- integration: IntegrationType;
49
- source: string;
50
- title?: string;
51
- subheader?: string;
52
- url?: string;
53
- };
54
- export type RunHistoryDecision = {
55
- action: RunHistoryDecisionAction;
56
- reasoning: string;
57
- };
58
- export type RunHistoryRecord = {
59
- id: string;
60
- agentId: string;
61
- timestamp: string;
62
- trigger: RunHistoryTrigger;
63
- filtered: boolean;
64
- decision: RunHistoryDecision;
65
- actions?: RunHistoryAction[];
66
- status: RunHistoryStatus;
67
- isManuallyTriggered: boolean;
68
- };
66
+ export type { RunHistoryTrigger, RunHistoryDecision, RunHistoryRecord, RunHistoryRecordWithAgent } from "./types.js";
69
67
  export type GetRunHistoryParamsRequest = {
70
68
  agentId: string;
71
69
  };
@@ -83,9 +81,6 @@ export type GetRunHistoryResponse = {
83
81
  pageSize: number;
84
82
  total: number;
85
83
  };
86
- export type RunHistoryRecordWithAgent = RunHistoryRecord & {
87
- agentName: string;
88
- };
89
84
  export type GetAllRunHistoryResponse = {
90
85
  items: RunHistoryRecordWithAgent[];
91
86
  page: number;
@@ -1,16 +1,18 @@
1
1
  import * as z from "zod";
2
2
  import { configTypeEnum } from "./Configs.js";
3
3
  import { integrationTypeEnum } from "./Integrations.js";
4
- export var RunHistoryStatus;
5
- (function (RunHistoryStatus) {
6
- RunHistoryStatus["SUCCESS"] = "success";
7
- RunHistoryStatus["FAILED"] = "failed";
8
- RunHistoryStatus["CANCELLED"] = "cancelled";
9
- RunHistoryStatus["SKIPPED"] = "skipped";
10
- RunHistoryStatus["IN_PROGRESS"] = "in_progress";
11
- RunHistoryStatus["AWAITING_APPROVAL"] = "awaiting_approval";
12
- })(RunHistoryStatus || (RunHistoryStatus = {}));
4
+ export const RunHistoryStatus = {
5
+ SUCCESS: "success",
6
+ FAILED: "failed",
7
+ CANCELLED: "cancelled",
8
+ SKIPPED: "skipped",
9
+ IN_PROGRESS: "in_progress",
10
+ AWAITING_APPROVAL: "awaiting_approval"
11
+ };
12
+ export const runHistoryStatusSchema = z.enum(RunHistoryStatus);
13
+ export const runHistoryDecisionActionSchema = z.enum(["processed", "skipped"]);
13
14
  export const RUN_HISTORY_ACTION_TYPES = ["create", "update", "delete", "read", "approve", "error"];
15
+ export const runHistoryActionTypeSchema = z.enum(RUN_HISTORY_ACTION_TYPES);
14
16
  export const outputItemSchema = z.object({
15
17
  output_item_id: z.string(),
16
18
  output_item_type: configTypeEnum
@@ -22,7 +24,7 @@ export const runHistoryActionBaseSchema = z.object({
22
24
  details: z.string(),
23
25
  url: z.string().optional(),
24
26
  step_id: z.string().optional(),
25
- type: z.enum(RUN_HISTORY_ACTION_TYPES),
27
+ type: runHistoryActionTypeSchema,
26
28
  isReadOnly: z.boolean().optional(),
27
29
  output_items: z.array(outputItemSchema).optional()
28
30
  });
@@ -0,0 +1,23 @@
1
+ import type { ConversationsHistoryResponse } from "@slack/web-api";
2
+ import type { ConversationsInfoResponse } from "@slack/web-api";
3
+ import type { UsersInfoResponse } from "@slack/web-api";
4
+ import * as z from "zod";
5
+ export declare enum SlackChannelType {
6
+ CHANNEL = "channel",
7
+ GROUP = "group",
8
+ MPIM = "mpim",
9
+ IM = "im"
10
+ }
11
+ export declare const slackChannelTypeSchema: z.ZodEnum<typeof SlackChannelType>;
12
+ export type SlackUser = UsersInfoResponse["user"];
13
+ export type SlackChannelResp = ConversationsInfoResponse["channel"];
14
+ export type SlackMessages = NonNullable<ConversationsHistoryResponse["messages"]>;
15
+ export type SlackMessage = SlackMessages[number];
16
+ export type SlackFiles = NonNullable<SlackMessage["files"]>;
17
+ export type SlackFile = SlackFiles[number];
18
+ export type SlackReactions = NonNullable<SlackMessage["reactions"]>;
19
+ export type SlackReaction = SlackReactions[number];
20
+ export type SlackAttachments = NonNullable<SlackMessage["attachments"]>;
21
+ export type SlackAttachment = SlackAttachments[number];
22
+ export type SlackBlocks = NonNullable<SlackMessage["blocks"]>;
23
+ export type SlackBlock = SlackBlocks[number];
@@ -0,0 +1,9 @@
1
+ import * as z from "zod";
2
+ export var SlackChannelType;
3
+ (function (SlackChannelType) {
4
+ SlackChannelType["CHANNEL"] = "channel";
5
+ SlackChannelType["GROUP"] = "group";
6
+ SlackChannelType["MPIM"] = "mpim";
7
+ SlackChannelType["IM"] = "im";
8
+ })(SlackChannelType || (SlackChannelType = {}));
9
+ export const slackChannelTypeSchema = z.enum(SlackChannelType);
@@ -1,5 +1,4 @@
1
1
  export declare enum TicketSystemType {
2
- Jira = "jira",
3
2
  Linear = "linear"
4
3
  }
5
4
  /**
@@ -1,6 +1,5 @@
1
1
  export var TicketSystemType;
2
2
  (function (TicketSystemType) {
3
- TicketSystemType["Jira"] = "jira";
4
3
  TicketSystemType["Linear"] = "linear";
5
4
  // Future ticket systems can be added here
6
5
  })(TicketSystemType || (TicketSystemType = {}));
@@ -341,64 +341,6 @@ const TOOL_DISPLAY_CONFIG = {
341
341
  }
342
342
  },
343
343
  // ===================
344
- // Jira Tools
345
- // ===================
346
- jira_create_ticket: {
347
- preparing: "Getting a task ready",
348
- executing: params => {
349
- const title = params?.title;
350
- return title ? `Creating task: "${truncate(title)}"` : "Creating task";
351
- },
352
- complete: (params, result) => {
353
- const parsed = safeParseResult(result);
354
- const issue = parsed?.issue;
355
- const key = issue?.key;
356
- const title = params?.title || issue?.title;
357
- if (key && title)
358
- return `Created task ${key}: "${truncate(title, 30)}"`;
359
- if (key)
360
- return `Created task ${key}`;
361
- if (title)
362
- return `Created task "${truncate(title)}"`;
363
- return "Task created";
364
- },
365
- approval: params => {
366
- const title = params?.title;
367
- return title ? `Create Jira ticket: "${truncate(title)}"?` : "Create this Jira ticket?";
368
- }
369
- },
370
- jira_update_ticket: {
371
- preparing: "Getting your updates ready",
372
- executing: params => {
373
- const issueKey = params?.issueKey;
374
- return issueKey ? `Updating task ${issueKey}` : "Updating task";
375
- },
376
- complete: params => {
377
- const issueKey = params?.issueKey;
378
- return issueKey ? `Updated task ${issueKey}` : "Task updated";
379
- },
380
- approval: () => "Update this task?"
381
- },
382
- jira_search_ticket: {
383
- preparing: "Looking for tasks",
384
- executing: params => {
385
- const text = params?.text;
386
- return text ? `Looking for tasks about "${truncate(text)}"` : "Looking for tasks";
387
- },
388
- complete: (params, result) => {
389
- const parsed = safeParseResult(result);
390
- const count = parsed?.count;
391
- const text = params?.text;
392
- if (count !== undefined && text)
393
- return `Found ${count} task${count !== 1 ? "s" : ""} about "${truncate(text, 25)}"`;
394
- if (count !== undefined)
395
- return `Found ${count} task${count !== 1 ? "s" : ""}`;
396
- if (text)
397
- return `Looked for "${truncate(text)}"`;
398
- return "Search complete";
399
- }
400
- },
401
- // ===================
402
344
  // Notion Tools
403
345
  // ===================
404
346
  notion_create_or_update_database_row: {
@@ -576,24 +518,6 @@ const TOOL_DISPLAY_CONFIG = {
576
518
  }
577
519
  },
578
520
  // ===================
579
- // Confluence Tools
580
- // ===================
581
- confluence_query_page: {
582
- preparing: "Finding page",
583
- executing: () => "Loading page",
584
- complete: (_params, result) => {
585
- const parsed = safeParseResult(result);
586
- const title = parsed?.title;
587
- return title ? `Opened "${truncate(title)}"` : "Page loaded";
588
- }
589
- },
590
- confluence_add_comment: {
591
- preparing: "Getting your note ready",
592
- executing: () => "Adding your note",
593
- complete: () => "Note added",
594
- approval: () => "Add this comment?"
595
- },
596
- // ===================
597
521
  // GitHub Tools
598
522
  // ===================
599
523
  searchGitHubCode: {