@sentry/junior 0.126.1 → 0.128.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.
- package/dist/{agent-hooks-U5YGLX6Y.js → agent-hooks-F75ANGBV.js} +9 -9
- package/dist/api/people/spend.d.ts +4 -0
- package/dist/api/people/spend.query.d.ts +3 -0
- package/dist/api/schema/person.d.ts +9 -0
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +3 -1
- package/dist/api.js +141 -40
- package/dist/app.js +289 -146
- package/dist/{catalog-runtime-OUPLWD7F.js → catalog-runtime-ZPSA5QM2.js} +6 -6
- package/dist/chat/agent-dispatch/context.d.ts +17 -0
- package/dist/chat/agent-dispatch/store.d.ts +1 -1
- package/dist/chat/agent-dispatch/work.d.ts +1 -1
- package/dist/chat/credentials/context.d.ts +27 -0
- package/dist/chat/credentials/subject.d.ts +15 -0
- package/dist/chat/event-tasks/ingest.d.ts +9 -0
- package/dist/chat/event-tasks/store.d.ts +15 -0
- package/dist/chat/event-tasks/tool-support.d.ts +140 -0
- package/dist/chat/event-tasks/types.d.ts +44 -0
- package/dist/chat/plugins/agent-hooks.d.ts +4 -2
- package/dist/chat/plugins/viewer.d.ts +16 -0
- package/dist/chat/resource-events/catalog.d.ts +21 -0
- package/dist/chat/resource-events/ingest.d.ts +2 -1
- package/dist/chat/resource-events/notification.d.ts +2 -2
- package/dist/chat/resource-events/store.d.ts +11 -9
- package/dist/chat/resource-events/tool-support.d.ts +10 -0
- package/dist/chat/resource-events/workspace.d.ts +4 -0
- package/dist/chat/sandbox/command-result.d.ts +3 -22
- package/dist/chat/sandbox/egress/schemas.d.ts +11 -0
- package/dist/chat/services/guardian-action-policy.d.ts +1 -1
- package/dist/chat/slack/dispatch-turn.d.ts +1 -1
- package/dist/chat/slack/tools/canvas/create.d.ts +0 -16
- package/dist/chat/slack/tools/canvas/edit.d.ts +0 -16
- package/dist/chat/slack/tools/canvas/read.d.ts +0 -16
- package/dist/chat/slack/tools/canvas/write.d.ts +0 -16
- package/dist/chat/slack/tools/channel-list-messages.d.ts +0 -16
- package/dist/chat/slack/tools/conversation-search.d.ts +0 -16
- package/dist/chat/slack/tools/list/add-items.d.ts +0 -16
- package/dist/chat/slack/tools/list/create.d.ts +0 -16
- package/dist/chat/slack/tools/list/get-items.d.ts +0 -16
- package/dist/chat/slack/tools/list/update-item.d.ts +0 -16
- package/dist/chat/slack/tools/message-add-reaction.d.ts +0 -16
- package/dist/chat/slack/tools/public-search.d.ts +0 -16
- package/dist/chat/slack/tools/send-files.d.ts +10 -28
- package/dist/chat/slack/tools/thread-read.d.ts +0 -16
- package/dist/chat/slack/tools/user-lookup.d.ts +0 -16
- package/dist/chat/task-execution/slack-work.d.ts +4 -4
- package/dist/chat/tool-support/action-review.d.ts +1 -1
- package/dist/chat/tool-support/structured-result.d.ts +17 -46
- package/dist/chat/tool-support/text-range-result.d.ts +8 -32
- package/dist/chat/tool-support/zod-tool.d.ts +6 -7
- package/dist/chat/tools/create-event-task.d.ts +65 -0
- package/dist/chat/tools/definition.d.ts +4 -0
- package/dist/chat/tools/delete-event-task.d.ts +57 -0
- package/dist/chat/tools/event-tasks.d.ts +5 -0
- package/dist/chat/tools/handoff/tool.d.ts +0 -16
- package/dist/chat/tools/list-event-tasks.d.ts +55 -0
- package/dist/chat/tools/list-resource-event-subscriptions.d.ts +42 -0
- package/dist/chat/tools/query-conversation-events.d.ts +0 -16
- package/dist/chat/tools/resource-events.d.ts +2 -1
- package/dist/chat/tools/runtime/report-progress.d.ts +0 -16
- package/dist/chat/tools/sandbox/edit-file.d.ts +0 -23
- package/dist/chat/tools/sandbox/file-utils.d.ts +2 -17
- package/dist/chat/tools/sandbox/find-files.d.ts +5 -8
- package/dist/chat/tools/sandbox/grep.d.ts +1 -4
- package/dist/chat/tools/sandbox/list-dir.d.ts +1 -4
- package/dist/chat/tools/search-resource-event-types.d.ts +44 -0
- package/dist/chat/tools/search-tools.d.ts +0 -16
- package/dist/chat/tools/skill/load-skill.d.ts +0 -20
- package/dist/chat/tools/skill/search-mcp-tools.d.ts +0 -16
- package/dist/chat/tools/stop-watching-resources.d.ts +28 -0
- package/dist/chat/tools/system-time.d.ts +0 -16
- package/dist/chat/tools/types.d.ts +8 -4
- package/dist/chat/tools/update-event-task.d.ts +66 -0
- package/dist/chat/tools/watch-resource-events.d.ts +59 -0
- package/dist/chat/tools/web/fetch-content.d.ts +0 -2
- package/dist/chat/tools/web/fetch-tool.d.ts +0 -16
- package/dist/chat/tools/web/image-generate.d.ts +0 -16
- package/dist/chat/tools/web/search.d.ts +0 -16
- package/dist/{chunk-QVSYR5CV.js → chunk-2HTHX6XV.js} +4 -4
- package/dist/{chunk-Y2QRKPI7.js → chunk-3PKF6YNU.js} +1 -1
- package/dist/{chunk-GLNB2R42.js → chunk-5KKIBIIP.js} +12 -12
- package/dist/{chunk-W3U3YQYI.js → chunk-77VDLF3Z.js} +18 -1
- package/dist/{chunk-YZHA2L7P.js → chunk-A76LKS5W.js} +230 -102
- package/dist/{chunk-6ZBSTNYN.js → chunk-AFJF3RGU.js} +9 -0
- package/dist/{chunk-PD6J33TO.js → chunk-B6E3YA2H.js} +1 -1
- package/dist/{chunk-S4LM6UB7.js → chunk-B7FPRGUJ.js} +3 -3
- package/dist/{chunk-R3GXQJEE.js → chunk-BY43CEXN.js} +2 -2
- package/dist/{chunk-HDSDCEPK.js → chunk-EPBBYMNE.js} +1 -1
- package/dist/{chunk-YFE6VNHU.js → chunk-FJEIX3AH.js} +2 -2
- package/dist/{chunk-F2ARYRKC.js → chunk-G6XQODHM.js} +1 -1
- package/dist/{chunk-KBW6J5GA.js → chunk-HBFQLSGV.js} +4 -4
- package/dist/{chunk-YUPNY2HZ.js → chunk-JDCPDJ54.js} +2 -2
- package/dist/{chunk-WIIPHGJY.js → chunk-K5ZB3WWH.js} +2 -2
- package/dist/{chunk-OG6E44DH.js → chunk-KNRODVH2.js} +6 -6
- package/dist/{chunk-W3JHZHAN.js → chunk-KTGJAWRO.js} +1 -1
- package/dist/{chunk-7VF3JAVF.js → chunk-NHWE6Y7G.js} +7 -7
- package/dist/{chunk-HXWOZ4HG.js → chunk-OLGB5Y7R.js} +2 -2
- package/dist/{chunk-QMK2VF6K.js → chunk-PBWUUVVG.js} +1 -1
- package/dist/{chunk-7ZMY4GCG.js → chunk-RYWMDDWK.js} +1 -1
- package/dist/{chunk-S4PUICSB.js → chunk-SHMHHXD5.js} +34 -5
- package/dist/{chunk-JKV244BI.js → chunk-WZ365SQC.js} +1 -1
- package/dist/{chunk-SD2VFSN6.js → chunk-YY6CVET7.js} +1428 -1116
- package/dist/{chunk-U36WL4OL.js → chunk-Z4KTQMWW.js} +1 -1
- package/dist/cli/chat.js +27 -27
- package/dist/cli/check.js +7 -7
- package/dist/cli/plugins.js +13 -13
- package/dist/cli/snapshot-create.js +10 -10
- package/dist/cli/upgrade.js +8 -8
- package/dist/db/schema/event-tasks.d.ts +161 -0
- package/dist/db/schema.d.ts +163 -1
- package/dist/{db-FQID26JW.js → db-FYJYPAKG.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-Z5MHHKFD.js → oauth-callback-server-W3PPIHCS.js} +18 -18
- package/dist/{runner-PGPGKYSF.js → runner-5NOFUYKR.js} +11 -11
- package/dist/{sandbox-egress-signals-CDFAP67O.js → sandbox-egress-signals-A5HWIQH4.js} +2 -2
- package/dist/{skills-BCQHR636.js → skills-ENIBKF5V.js} +7 -7
- package/dist/{validation-QP3FYBLZ.js → validation-BHLBOO6K.js} +7 -7
- package/dist/version.js +1 -1
- package/migrations/0015_magical_ezekiel_stane.sql +11 -0
- package/migrations/meta/0015_snapshot.json +1360 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +5 -5
- package/dist/chat/plugins/viewer-actors.d.ts +0 -6
|
@@ -11,20 +11,12 @@ export declare function createSlackCanvasEditTool(state: ToolState): Omit<import
|
|
|
11
11
|
}[];
|
|
12
12
|
};
|
|
13
13
|
execute?: ((input: unknown, options: import("../../../tools/definition").ToolExecuteOptions) => {
|
|
14
|
-
ok: boolean;
|
|
15
|
-
status: "error" | "success";
|
|
16
14
|
target?: string | undefined;
|
|
17
|
-
data?: unknown;
|
|
18
15
|
truncated?: boolean | undefined;
|
|
19
16
|
continuation?: {
|
|
20
17
|
arguments: Record<string, unknown>;
|
|
21
18
|
reason?: string | undefined;
|
|
22
19
|
} | undefined;
|
|
23
|
-
error?: string | {
|
|
24
|
-
kind: string;
|
|
25
|
-
message: string;
|
|
26
|
-
retryable?: boolean | undefined;
|
|
27
|
-
} | undefined;
|
|
28
20
|
canvas_id?: string | undefined;
|
|
29
21
|
title?: string | undefined;
|
|
30
22
|
permalink?: string | undefined;
|
|
@@ -35,20 +27,12 @@ export declare function createSlackCanvasEditTool(state: ToolState): Omit<import
|
|
|
35
27
|
summary?: string | undefined;
|
|
36
28
|
deduplicated?: boolean | undefined;
|
|
37
29
|
} | Promise<{
|
|
38
|
-
ok: boolean;
|
|
39
|
-
status: "error" | "success";
|
|
40
30
|
target?: string | undefined;
|
|
41
|
-
data?: unknown;
|
|
42
31
|
truncated?: boolean | undefined;
|
|
43
32
|
continuation?: {
|
|
44
33
|
arguments: Record<string, unknown>;
|
|
45
34
|
reason?: string | undefined;
|
|
46
35
|
} | undefined;
|
|
47
|
-
error?: string | {
|
|
48
|
-
kind: string;
|
|
49
|
-
message: string;
|
|
50
|
-
retryable?: boolean | undefined;
|
|
51
|
-
} | undefined;
|
|
52
36
|
canvas_id?: string | undefined;
|
|
53
37
|
title?: string | undefined;
|
|
54
38
|
permalink?: string | undefined;
|
|
@@ -12,20 +12,12 @@ export declare function createSlackCanvasReadTool(): Omit<import("../../../tools
|
|
|
12
12
|
limit?: number | undefined;
|
|
13
13
|
};
|
|
14
14
|
execute?: ((input: unknown, options: import("../../../tools/definition").ToolExecuteOptions) => {
|
|
15
|
-
ok: boolean;
|
|
16
|
-
status: "error" | "success";
|
|
17
15
|
target?: string | undefined;
|
|
18
|
-
data?: unknown;
|
|
19
16
|
truncated?: boolean | undefined;
|
|
20
17
|
continuation?: {
|
|
21
18
|
arguments: Record<string, unknown>;
|
|
22
19
|
reason?: string | undefined;
|
|
23
20
|
} | undefined;
|
|
24
|
-
error?: string | {
|
|
25
|
-
kind: string;
|
|
26
|
-
message: string;
|
|
27
|
-
retryable?: boolean | undefined;
|
|
28
|
-
} | undefined;
|
|
29
21
|
canvas_id?: string | undefined;
|
|
30
22
|
title?: string | undefined;
|
|
31
23
|
permalink?: string | undefined;
|
|
@@ -37,20 +29,12 @@ export declare function createSlackCanvasReadTool(): Omit<import("../../../tools
|
|
|
37
29
|
end_line?: number | undefined;
|
|
38
30
|
total_lines?: number | undefined;
|
|
39
31
|
} | Promise<{
|
|
40
|
-
ok: boolean;
|
|
41
|
-
status: "error" | "success";
|
|
42
32
|
target?: string | undefined;
|
|
43
|
-
data?: unknown;
|
|
44
33
|
truncated?: boolean | undefined;
|
|
45
34
|
continuation?: {
|
|
46
35
|
arguments: Record<string, unknown>;
|
|
47
36
|
reason?: string | undefined;
|
|
48
37
|
} | undefined;
|
|
49
|
-
error?: string | {
|
|
50
|
-
kind: string;
|
|
51
|
-
message: string;
|
|
52
|
-
retryable?: boolean | undefined;
|
|
53
|
-
} | undefined;
|
|
54
38
|
canvas_id?: string | undefined;
|
|
55
39
|
title?: string | undefined;
|
|
56
40
|
permalink?: string | undefined;
|
|
@@ -9,35 +9,19 @@ export declare function createSlackCanvasWriteTool(state: ToolState): Omit<impor
|
|
|
9
9
|
};
|
|
10
10
|
execute?: ((input: unknown, options: import("../../../tools/definition").ToolExecuteOptions) => {
|
|
11
11
|
[x: string]: unknown;
|
|
12
|
-
ok: boolean;
|
|
13
|
-
status: "error" | "success";
|
|
14
12
|
target?: string | undefined;
|
|
15
|
-
data?: unknown;
|
|
16
13
|
truncated?: boolean | undefined;
|
|
17
14
|
continuation?: {
|
|
18
15
|
arguments: Record<string, unknown>;
|
|
19
16
|
reason?: string | undefined;
|
|
20
17
|
} | undefined;
|
|
21
|
-
error?: string | {
|
|
22
|
-
kind: string;
|
|
23
|
-
message: string;
|
|
24
|
-
retryable?: boolean | undefined;
|
|
25
|
-
} | undefined;
|
|
26
18
|
} | Promise<{
|
|
27
19
|
[x: string]: unknown;
|
|
28
|
-
ok: boolean;
|
|
29
|
-
status: "error" | "success";
|
|
30
20
|
target?: string | undefined;
|
|
31
|
-
data?: unknown;
|
|
32
21
|
truncated?: boolean | undefined;
|
|
33
22
|
continuation?: {
|
|
34
23
|
arguments: Record<string, unknown>;
|
|
35
24
|
reason?: string | undefined;
|
|
36
25
|
} | undefined;
|
|
37
|
-
error?: string | {
|
|
38
|
-
kind: string;
|
|
39
|
-
message: string;
|
|
40
|
-
retryable?: boolean | undefined;
|
|
41
|
-
} | undefined;
|
|
42
26
|
}>) | undefined;
|
|
43
27
|
};
|
|
@@ -13,35 +13,19 @@ export declare function createSlackChannelListMessagesTool(context: SlackToolCon
|
|
|
13
13
|
};
|
|
14
14
|
execute?: ((input: unknown, options: import("../../tools/definition").ToolExecuteOptions) => {
|
|
15
15
|
[x: string]: unknown;
|
|
16
|
-
ok: boolean;
|
|
17
|
-
status: "error" | "success";
|
|
18
16
|
target?: string | undefined;
|
|
19
|
-
data?: unknown;
|
|
20
17
|
truncated?: boolean | undefined;
|
|
21
18
|
continuation?: {
|
|
22
19
|
arguments: Record<string, unknown>;
|
|
23
20
|
reason?: string | undefined;
|
|
24
21
|
} | undefined;
|
|
25
|
-
error?: string | {
|
|
26
|
-
kind: string;
|
|
27
|
-
message: string;
|
|
28
|
-
retryable?: boolean | undefined;
|
|
29
|
-
} | undefined;
|
|
30
22
|
} | Promise<{
|
|
31
23
|
[x: string]: unknown;
|
|
32
|
-
ok: boolean;
|
|
33
|
-
status: "error" | "success";
|
|
34
24
|
target?: string | undefined;
|
|
35
|
-
data?: unknown;
|
|
36
25
|
truncated?: boolean | undefined;
|
|
37
26
|
continuation?: {
|
|
38
27
|
arguments: Record<string, unknown>;
|
|
39
28
|
reason?: string | undefined;
|
|
40
29
|
} | undefined;
|
|
41
|
-
error?: string | {
|
|
42
|
-
kind: string;
|
|
43
|
-
message: string;
|
|
44
|
-
retryable?: boolean | undefined;
|
|
45
|
-
} | undefined;
|
|
46
30
|
}>) | undefined;
|
|
47
31
|
};
|
|
@@ -14,8 +14,6 @@ export declare function createSlackConversationSearchTool(scope: ConversationSea
|
|
|
14
14
|
};
|
|
15
15
|
execute?: ((input: unknown, options: import("../../tools/definition").ToolExecuteOptions) => {
|
|
16
16
|
[x: string]: unknown;
|
|
17
|
-
ok: boolean;
|
|
18
|
-
status: "error" | "success";
|
|
19
17
|
query: string;
|
|
20
18
|
count: number;
|
|
21
19
|
threads: {
|
|
@@ -28,21 +26,13 @@ export declare function createSlackConversationSearchTool(scope: ConversationSea
|
|
|
28
26
|
permalink?: string | undefined;
|
|
29
27
|
}[];
|
|
30
28
|
target?: string | undefined;
|
|
31
|
-
data?: unknown;
|
|
32
29
|
truncated?: boolean | undefined;
|
|
33
30
|
continuation?: {
|
|
34
31
|
arguments: Record<string, unknown>;
|
|
35
32
|
reason?: string | undefined;
|
|
36
33
|
} | undefined;
|
|
37
|
-
error?: string | {
|
|
38
|
-
kind: string;
|
|
39
|
-
message: string;
|
|
40
|
-
retryable?: boolean | undefined;
|
|
41
|
-
} | undefined;
|
|
42
34
|
} | Promise<{
|
|
43
35
|
[x: string]: unknown;
|
|
44
|
-
ok: boolean;
|
|
45
|
-
status: "error" | "success";
|
|
46
36
|
query: string;
|
|
47
37
|
count: number;
|
|
48
38
|
threads: {
|
|
@@ -55,17 +45,11 @@ export declare function createSlackConversationSearchTool(scope: ConversationSea
|
|
|
55
45
|
permalink?: string | undefined;
|
|
56
46
|
}[];
|
|
57
47
|
target?: string | undefined;
|
|
58
|
-
data?: unknown;
|
|
59
48
|
truncated?: boolean | undefined;
|
|
60
49
|
continuation?: {
|
|
61
50
|
arguments: Record<string, unknown>;
|
|
62
51
|
reason?: string | undefined;
|
|
63
52
|
} | undefined;
|
|
64
|
-
error?: string | {
|
|
65
|
-
kind: string;
|
|
66
|
-
message: string;
|
|
67
|
-
retryable?: boolean | undefined;
|
|
68
|
-
} | undefined;
|
|
69
53
|
}>) | undefined;
|
|
70
54
|
};
|
|
71
55
|
export {};
|
|
@@ -10,35 +10,19 @@ export declare function createSlackListAddItemsTool(state: ToolState): Omit<impo
|
|
|
10
10
|
};
|
|
11
11
|
execute?: ((input: unknown, options: import("../../../tools/definition").ToolExecuteOptions) => {
|
|
12
12
|
[x: string]: unknown;
|
|
13
|
-
ok: boolean;
|
|
14
|
-
status: "error" | "success";
|
|
15
13
|
target?: string | undefined;
|
|
16
|
-
data?: unknown;
|
|
17
14
|
truncated?: boolean | undefined;
|
|
18
15
|
continuation?: {
|
|
19
16
|
arguments: Record<string, unknown>;
|
|
20
17
|
reason?: string | undefined;
|
|
21
18
|
} | undefined;
|
|
22
|
-
error?: string | {
|
|
23
|
-
kind: string;
|
|
24
|
-
message: string;
|
|
25
|
-
retryable?: boolean | undefined;
|
|
26
|
-
} | undefined;
|
|
27
19
|
} | Promise<{
|
|
28
20
|
[x: string]: unknown;
|
|
29
|
-
ok: boolean;
|
|
30
|
-
status: "error" | "success";
|
|
31
21
|
target?: string | undefined;
|
|
32
|
-
data?: unknown;
|
|
33
22
|
truncated?: boolean | undefined;
|
|
34
23
|
continuation?: {
|
|
35
24
|
arguments: Record<string, unknown>;
|
|
36
25
|
reason?: string | undefined;
|
|
37
26
|
} | undefined;
|
|
38
|
-
error?: string | {
|
|
39
|
-
kind: string;
|
|
40
|
-
message: string;
|
|
41
|
-
retryable?: boolean | undefined;
|
|
42
|
-
} | undefined;
|
|
43
27
|
}>) | undefined;
|
|
44
28
|
};
|
|
@@ -8,35 +8,19 @@ export declare function createSlackListCreateTool(state: ToolState): Omit<import
|
|
|
8
8
|
};
|
|
9
9
|
execute?: ((input: unknown, options: import("../../../tools/definition").ToolExecuteOptions) => {
|
|
10
10
|
[x: string]: unknown;
|
|
11
|
-
ok: boolean;
|
|
12
|
-
status: "error" | "success";
|
|
13
11
|
target?: string | undefined;
|
|
14
|
-
data?: unknown;
|
|
15
12
|
truncated?: boolean | undefined;
|
|
16
13
|
continuation?: {
|
|
17
14
|
arguments: Record<string, unknown>;
|
|
18
15
|
reason?: string | undefined;
|
|
19
16
|
} | undefined;
|
|
20
|
-
error?: string | {
|
|
21
|
-
kind: string;
|
|
22
|
-
message: string;
|
|
23
|
-
retryable?: boolean | undefined;
|
|
24
|
-
} | undefined;
|
|
25
17
|
} | Promise<{
|
|
26
18
|
[x: string]: unknown;
|
|
27
|
-
ok: boolean;
|
|
28
|
-
status: "error" | "success";
|
|
29
19
|
target?: string | undefined;
|
|
30
|
-
data?: unknown;
|
|
31
20
|
truncated?: boolean | undefined;
|
|
32
21
|
continuation?: {
|
|
33
22
|
arguments: Record<string, unknown>;
|
|
34
23
|
reason?: string | undefined;
|
|
35
24
|
} | undefined;
|
|
36
|
-
error?: string | {
|
|
37
|
-
kind: string;
|
|
38
|
-
message: string;
|
|
39
|
-
retryable?: boolean | undefined;
|
|
40
|
-
} | undefined;
|
|
41
25
|
}>) | undefined;
|
|
42
26
|
};
|
|
@@ -8,35 +8,19 @@ export declare function createSlackListGetItemsTool(state: ToolState): Omit<impo
|
|
|
8
8
|
};
|
|
9
9
|
execute?: ((input: unknown, options: import("../../../tools/definition").ToolExecuteOptions) => {
|
|
10
10
|
[x: string]: unknown;
|
|
11
|
-
ok: boolean;
|
|
12
|
-
status: "error" | "success";
|
|
13
11
|
target?: string | undefined;
|
|
14
|
-
data?: unknown;
|
|
15
12
|
truncated?: boolean | undefined;
|
|
16
13
|
continuation?: {
|
|
17
14
|
arguments: Record<string, unknown>;
|
|
18
15
|
reason?: string | undefined;
|
|
19
16
|
} | undefined;
|
|
20
|
-
error?: string | {
|
|
21
|
-
kind: string;
|
|
22
|
-
message: string;
|
|
23
|
-
retryable?: boolean | undefined;
|
|
24
|
-
} | undefined;
|
|
25
17
|
} | Promise<{
|
|
26
18
|
[x: string]: unknown;
|
|
27
|
-
ok: boolean;
|
|
28
|
-
status: "error" | "success";
|
|
29
19
|
target?: string | undefined;
|
|
30
|
-
data?: unknown;
|
|
31
20
|
truncated?: boolean | undefined;
|
|
32
21
|
continuation?: {
|
|
33
22
|
arguments: Record<string, unknown>;
|
|
34
23
|
reason?: string | undefined;
|
|
35
24
|
} | undefined;
|
|
36
|
-
error?: string | {
|
|
37
|
-
kind: string;
|
|
38
|
-
message: string;
|
|
39
|
-
retryable?: boolean | undefined;
|
|
40
|
-
} | undefined;
|
|
41
25
|
}>) | undefined;
|
|
42
26
|
};
|
|
@@ -14,35 +14,19 @@ export declare function createSlackListUpdateItemTool(state: ToolState): Omit<im
|
|
|
14
14
|
};
|
|
15
15
|
execute?: ((input: unknown, options: import("../../../tools/definition").ToolExecuteOptions) => {
|
|
16
16
|
[x: string]: unknown;
|
|
17
|
-
ok: boolean;
|
|
18
|
-
status: "error" | "success";
|
|
19
17
|
target?: string | undefined;
|
|
20
|
-
data?: unknown;
|
|
21
18
|
truncated?: boolean | undefined;
|
|
22
19
|
continuation?: {
|
|
23
20
|
arguments: Record<string, unknown>;
|
|
24
21
|
reason?: string | undefined;
|
|
25
22
|
} | undefined;
|
|
26
|
-
error?: string | {
|
|
27
|
-
kind: string;
|
|
28
|
-
message: string;
|
|
29
|
-
retryable?: boolean | undefined;
|
|
30
|
-
} | undefined;
|
|
31
23
|
} | Promise<{
|
|
32
24
|
[x: string]: unknown;
|
|
33
|
-
ok: boolean;
|
|
34
|
-
status: "error" | "success";
|
|
35
25
|
target?: string | undefined;
|
|
36
|
-
data?: unknown;
|
|
37
26
|
truncated?: boolean | undefined;
|
|
38
27
|
continuation?: {
|
|
39
28
|
arguments: Record<string, unknown>;
|
|
40
29
|
reason?: string | undefined;
|
|
41
30
|
} | undefined;
|
|
42
|
-
error?: string | {
|
|
43
|
-
kind: string;
|
|
44
|
-
message: string;
|
|
45
|
-
retryable?: boolean | undefined;
|
|
46
|
-
} | undefined;
|
|
47
31
|
}>) | undefined;
|
|
48
32
|
};
|
|
@@ -9,35 +9,19 @@ export declare function createSlackMessageAddReactionTool(context: SlackToolCont
|
|
|
9
9
|
};
|
|
10
10
|
execute?: ((input: unknown, options: import("../../tools/definition").ToolExecuteOptions) => {
|
|
11
11
|
[x: string]: unknown;
|
|
12
|
-
ok: boolean;
|
|
13
|
-
status: "error" | "success";
|
|
14
12
|
target?: string | undefined;
|
|
15
|
-
data?: unknown;
|
|
16
13
|
truncated?: boolean | undefined;
|
|
17
14
|
continuation?: {
|
|
18
15
|
arguments: Record<string, unknown>;
|
|
19
16
|
reason?: string | undefined;
|
|
20
17
|
} | undefined;
|
|
21
|
-
error?: string | {
|
|
22
|
-
kind: string;
|
|
23
|
-
message: string;
|
|
24
|
-
retryable?: boolean | undefined;
|
|
25
|
-
} | undefined;
|
|
26
18
|
} | Promise<{
|
|
27
19
|
[x: string]: unknown;
|
|
28
|
-
ok: boolean;
|
|
29
|
-
status: "error" | "success";
|
|
30
20
|
target?: string | undefined;
|
|
31
|
-
data?: unknown;
|
|
32
21
|
truncated?: boolean | undefined;
|
|
33
22
|
continuation?: {
|
|
34
23
|
arguments: Record<string, unknown>;
|
|
35
24
|
reason?: string | undefined;
|
|
36
25
|
} | undefined;
|
|
37
|
-
error?: string | {
|
|
38
|
-
kind: string;
|
|
39
|
-
message: string;
|
|
40
|
-
retryable?: boolean | undefined;
|
|
41
|
-
} | undefined;
|
|
42
26
|
}>) | undefined;
|
|
43
27
|
};
|
|
@@ -14,8 +14,6 @@ export declare function createSlackPublicSearchTool(actionToken: SlackActionToke
|
|
|
14
14
|
};
|
|
15
15
|
execute?: ((input: unknown, options: import("../../tools/definition").ToolExecuteOptions) => {
|
|
16
16
|
[x: string]: unknown;
|
|
17
|
-
ok: boolean;
|
|
18
|
-
status: "error" | "success";
|
|
19
17
|
query: string;
|
|
20
18
|
count: number;
|
|
21
19
|
messages: {
|
|
@@ -29,22 +27,14 @@ export declare function createSlackPublicSearchTool(actionToken: SlackActionToke
|
|
|
29
27
|
is_author_bot?: boolean | undefined;
|
|
30
28
|
}[];
|
|
31
29
|
target?: string | undefined;
|
|
32
|
-
data?: unknown;
|
|
33
30
|
truncated?: boolean | undefined;
|
|
34
31
|
continuation?: {
|
|
35
32
|
arguments: Record<string, unknown>;
|
|
36
33
|
reason?: string | undefined;
|
|
37
34
|
} | undefined;
|
|
38
|
-
error?: string | {
|
|
39
|
-
kind: string;
|
|
40
|
-
message: string;
|
|
41
|
-
retryable?: boolean | undefined;
|
|
42
|
-
} | undefined;
|
|
43
35
|
next_cursor?: string | undefined;
|
|
44
36
|
} | Promise<{
|
|
45
37
|
[x: string]: unknown;
|
|
46
|
-
ok: boolean;
|
|
47
|
-
status: "error" | "success";
|
|
48
38
|
query: string;
|
|
49
39
|
count: number;
|
|
50
40
|
messages: {
|
|
@@ -58,17 +48,11 @@ export declare function createSlackPublicSearchTool(actionToken: SlackActionToke
|
|
|
58
48
|
is_author_bot?: boolean | undefined;
|
|
59
49
|
}[];
|
|
60
50
|
target?: string | undefined;
|
|
61
|
-
data?: unknown;
|
|
62
51
|
truncated?: boolean | undefined;
|
|
63
52
|
continuation?: {
|
|
64
53
|
arguments: Record<string, unknown>;
|
|
65
54
|
reason?: string | undefined;
|
|
66
55
|
} | undefined;
|
|
67
|
-
error?: string | {
|
|
68
|
-
kind: string;
|
|
69
|
-
message: string;
|
|
70
|
-
retryable?: boolean | undefined;
|
|
71
|
-
} | undefined;
|
|
72
56
|
next_cursor?: string | undefined;
|
|
73
57
|
}>) | undefined;
|
|
74
58
|
};
|
|
@@ -17,47 +17,29 @@ export declare function createSendFilesTool(context: SlackToolContext, state: To
|
|
|
17
17
|
};
|
|
18
18
|
execute?: ((input: unknown, options: import("../../tools/definition").ToolExecuteOptions) => {
|
|
19
19
|
[x: string]: unknown;
|
|
20
|
-
ok: true;
|
|
21
|
-
status: "success";
|
|
22
20
|
target: string;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
thread_ts: string;
|
|
27
|
-
deduplicated?: boolean | undefined;
|
|
28
|
-
file_ids?: string[] | undefined;
|
|
29
|
-
};
|
|
21
|
+
channel_id: string;
|
|
22
|
+
file_count: number;
|
|
23
|
+
thread_ts: string;
|
|
30
24
|
truncated?: boolean | undefined;
|
|
31
25
|
continuation?: {
|
|
32
26
|
arguments: Record<string, unknown>;
|
|
33
27
|
reason?: string | undefined;
|
|
34
28
|
} | undefined;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
message: string;
|
|
38
|
-
retryable?: boolean | undefined;
|
|
39
|
-
} | undefined;
|
|
29
|
+
deduplicated?: boolean | undefined;
|
|
30
|
+
file_ids?: string[] | undefined;
|
|
40
31
|
} | Promise<{
|
|
41
32
|
[x: string]: unknown;
|
|
42
|
-
ok: true;
|
|
43
|
-
status: "success";
|
|
44
33
|
target: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
thread_ts: string;
|
|
49
|
-
deduplicated?: boolean | undefined;
|
|
50
|
-
file_ids?: string[] | undefined;
|
|
51
|
-
};
|
|
34
|
+
channel_id: string;
|
|
35
|
+
file_count: number;
|
|
36
|
+
thread_ts: string;
|
|
52
37
|
truncated?: boolean | undefined;
|
|
53
38
|
continuation?: {
|
|
54
39
|
arguments: Record<string, unknown>;
|
|
55
40
|
reason?: string | undefined;
|
|
56
41
|
} | undefined;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
message: string;
|
|
60
|
-
retryable?: boolean | undefined;
|
|
61
|
-
} | undefined;
|
|
42
|
+
deduplicated?: boolean | undefined;
|
|
43
|
+
file_ids?: string[] | undefined;
|
|
62
44
|
}>) | undefined;
|
|
63
45
|
};
|
|
@@ -15,35 +15,19 @@ export declare function createSlackThreadReadTool(context: SlackToolContext, dep
|
|
|
15
15
|
};
|
|
16
16
|
execute?: ((input: unknown, options: import("../../tools/definition").ToolExecuteOptions) => {
|
|
17
17
|
[x: string]: unknown;
|
|
18
|
-
ok: boolean;
|
|
19
|
-
status: "error" | "success";
|
|
20
18
|
target?: string | undefined;
|
|
21
|
-
data?: unknown;
|
|
22
19
|
truncated?: boolean | undefined;
|
|
23
20
|
continuation?: {
|
|
24
21
|
arguments: Record<string, unknown>;
|
|
25
22
|
reason?: string | undefined;
|
|
26
23
|
} | undefined;
|
|
27
|
-
error?: string | {
|
|
28
|
-
kind: string;
|
|
29
|
-
message: string;
|
|
30
|
-
retryable?: boolean | undefined;
|
|
31
|
-
} | undefined;
|
|
32
24
|
} | Promise<{
|
|
33
25
|
[x: string]: unknown;
|
|
34
|
-
ok: boolean;
|
|
35
|
-
status: "error" | "success";
|
|
36
26
|
target?: string | undefined;
|
|
37
|
-
data?: unknown;
|
|
38
27
|
truncated?: boolean | undefined;
|
|
39
28
|
continuation?: {
|
|
40
29
|
arguments: Record<string, unknown>;
|
|
41
30
|
reason?: string | undefined;
|
|
42
31
|
} | undefined;
|
|
43
|
-
error?: string | {
|
|
44
|
-
kind: string;
|
|
45
|
-
message: string;
|
|
46
|
-
retryable?: boolean | undefined;
|
|
47
|
-
} | undefined;
|
|
48
32
|
}>) | undefined;
|
|
49
33
|
};
|
|
@@ -12,35 +12,19 @@ export declare function createSlackUserLookupTool(): Omit<import("../../tools/de
|
|
|
12
12
|
};
|
|
13
13
|
execute?: ((input: unknown, options: import("../../tools/definition").ToolExecuteOptions) => {
|
|
14
14
|
[x: string]: unknown;
|
|
15
|
-
ok: boolean;
|
|
16
|
-
status: "error" | "success";
|
|
17
15
|
target?: string | undefined;
|
|
18
|
-
data?: unknown;
|
|
19
16
|
truncated?: boolean | undefined;
|
|
20
17
|
continuation?: {
|
|
21
18
|
arguments: Record<string, unknown>;
|
|
22
19
|
reason?: string | undefined;
|
|
23
20
|
} | undefined;
|
|
24
|
-
error?: string | {
|
|
25
|
-
kind: string;
|
|
26
|
-
message: string;
|
|
27
|
-
retryable?: boolean | undefined;
|
|
28
|
-
} | undefined;
|
|
29
21
|
} | Promise<{
|
|
30
22
|
[x: string]: unknown;
|
|
31
|
-
ok: boolean;
|
|
32
|
-
status: "error" | "success";
|
|
33
23
|
target?: string | undefined;
|
|
34
|
-
data?: unknown;
|
|
35
24
|
truncated?: boolean | undefined;
|
|
36
25
|
continuation?: {
|
|
37
26
|
arguments: Record<string, unknown>;
|
|
38
27
|
reason?: string | undefined;
|
|
39
28
|
} | undefined;
|
|
40
|
-
error?: string | {
|
|
41
|
-
kind: string;
|
|
42
|
-
message: string;
|
|
43
|
-
retryable?: boolean | undefined;
|
|
44
|
-
} | undefined;
|
|
45
29
|
}>) | undefined;
|
|
46
30
|
};
|
|
@@ -237,8 +237,8 @@ declare const slackConversationMessageMetadataSchema: z.ZodUnion<readonly [z.Zod
|
|
|
237
237
|
resourceEvent: z.ZodObject<{
|
|
238
238
|
eventKey: z.ZodString;
|
|
239
239
|
eventType: z.ZodString;
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
namespace: z.ZodString;
|
|
241
|
+
identifier: z.ZodString;
|
|
242
242
|
subscriptionId: z.ZodString;
|
|
243
243
|
}, z.core.$strict>;
|
|
244
244
|
}, z.core.$strict>]>;
|
|
@@ -256,8 +256,8 @@ interface SlackResourceEventInboundInput {
|
|
|
256
256
|
eventKey: string;
|
|
257
257
|
eventType: string;
|
|
258
258
|
occurredAtMs: number;
|
|
259
|
-
|
|
260
|
-
|
|
259
|
+
namespace: string;
|
|
260
|
+
identifier: string;
|
|
261
261
|
};
|
|
262
262
|
subscription: {
|
|
263
263
|
conversationId: string;
|
|
@@ -49,7 +49,7 @@ export interface ToolActionProposal {
|
|
|
49
49
|
name: string;
|
|
50
50
|
};
|
|
51
51
|
subject?: {
|
|
52
|
-
allowedWhen: "private-direct-conversation" | "scheduled-task";
|
|
52
|
+
allowedWhen: "private-direct-conversation" | "scheduled-task" | "event-task";
|
|
53
53
|
taskId?: string;
|
|
54
54
|
type: "user";
|
|
55
55
|
userId: string;
|