@sentry/junior 0.144.0 → 0.146.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-GCUTGKY3.js → agent-hooks-SLJADYE5.js} +10 -10
- package/dist/api/conversations/detail.d.ts +1 -0
- package/dist/api/schema/conversation.d.ts +2 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +40 -22
- package/dist/app.js +400 -461
- package/dist/{catalog-runtime-DWVYKDC6.js → catalog-runtime-RQIMSDPR.js} +5 -5
- package/dist/chat/agent/request.d.ts +1 -1
- package/dist/chat/agent/resume.d.ts +6 -18
- package/dist/chat/agent/skills.d.ts +0 -1
- package/dist/chat/agent/tools.d.ts +1 -2
- package/dist/chat/agent-dispatch/types.d.ts +1 -1
- package/dist/chat/app/conversation-work.d.ts +24 -0
- package/dist/chat/conversations/message-search.d.ts +32 -0
- package/dist/chat/conversations/projection.d.ts +11 -3
- package/dist/chat/conversations/sql/message-search.d.ts +4 -0
- package/dist/chat/conversations/store.d.ts +1 -1
- package/dist/chat/conversations/tool-source.d.ts +5 -0
- package/dist/chat/db.d.ts +2 -2
- package/dist/chat/runtime/agent-run-outcome.d.ts +1 -1
- package/dist/chat/runtime/reply-executor.d.ts +5 -5
- package/dist/chat/runtime/slack-resume.d.ts +12 -4
- package/dist/chat/slack/message/attachments.d.ts +2 -0
- package/dist/chat/slack/message/blocks.d.ts +2 -0
- package/dist/chat/slack/message/content.d.ts +18 -0
- package/dist/chat/slack/message/identity.d.ts +7 -0
- package/dist/chat/slack/tools/{conversation-search.d.ts → conversation-message-search.d.ts} +21 -14
- package/dist/chat/slack/tools/user-lookup.d.ts +2 -1
- package/dist/chat/state/locks.d.ts +28 -0
- package/dist/chat/task-execution/checkpoint.d.ts +84 -0
- package/dist/chat/task-execution/paused-turn.d.ts +29 -0
- package/dist/chat/task-execution/queue-signing.d.ts +1 -0
- package/dist/chat/task-execution/queue.d.ts +7 -1
- package/dist/chat/task-execution/slack-work.d.ts +1 -1
- package/dist/chat/task-execution/state.d.ts +4 -4
- package/dist/chat/task-execution/store.d.ts +2 -2
- package/dist/chat/task-execution/turn-cursor-keys.d.ts +6 -0
- package/dist/chat/{state/turn-session.d.ts → task-execution/turn-cursor.d.ts} +52 -51
- package/dist/chat/task-execution/turn-wake.d.ts +29 -0
- package/dist/chat/tools/{query-conversation-events.d.ts → search-conversation-events.d.ts} +3 -3
- package/dist/chat/tools/types.d.ts +1 -1
- package/dist/{chunk-SBZP2J5Q.js → chunk-37EVZP66.js} +48 -35
- package/dist/{chunk-A67GZN73.js → chunk-37JJDS4H.js} +1 -1
- package/dist/{chunk-BBCWYXHB.js → chunk-47OSH2ZO.js} +7 -7
- package/dist/{chunk-4X5KM7Z6.js → chunk-AISNSNDV.js} +14 -14
- package/dist/{chunk-RIFJUJSI.js → chunk-B63BF443.js} +1 -1
- package/dist/{chunk-SSDTQDYQ.js → chunk-BLETMLRX.js} +566 -268
- package/dist/{chunk-I44JB7HQ.js → chunk-F7REGDKO.js} +1 -1
- package/dist/{chunk-DVO5VKYQ.js → chunk-FEKQHPVA.js} +5 -5
- package/dist/{chunk-SUK7NC5A.js → chunk-FGHADGIC.js} +2 -2
- package/dist/{chunk-7KAW7UF4.js → chunk-FXDDDSPL.js} +4 -4
- package/dist/{chunk-BEGGFVFR.js → chunk-GDQEU4I7.js} +414 -542
- package/dist/{chunk-UDQMY6RS.js → chunk-GYEKOX7N.js} +43 -1
- package/dist/{chunk-W7JFV5SB.js → chunk-H6U2U3EP.js} +14 -17
- package/dist/{chunk-WTX2RFJG.js → chunk-HQE6EJS5.js} +1 -1
- package/dist/{chunk-IUFM5JWV.js → chunk-JAL3CH4G.js} +3 -0
- package/dist/{chunk-E7HCWOHG.js → chunk-JLMVCNXL.js} +2 -1
- package/dist/{chunk-PELZ2ZSY.js → chunk-JUA6VU2Z.js} +33 -63
- package/dist/{chunk-SHEEZSLY.js → chunk-LVW7BLLT.js} +2 -2
- package/dist/{chunk-GKA74DRA.js → chunk-M6ZWP4RI.js} +1 -1
- package/dist/{chunk-HNO2E5WB.js → chunk-MCFIXAV5.js} +1 -1
- package/dist/{chunk-3GU4PWA3.js → chunk-MKRIZ4VG.js} +29 -30
- package/dist/{chunk-QUZJDAQQ.js → chunk-OFPYOC3M.js} +93 -90
- package/dist/{chunk-ZF3N3JD6.js → chunk-PB222GIA.js} +1 -1
- package/dist/{chunk-PKH6762I.js → chunk-PH4Q3A6W.js} +1 -1
- package/dist/{chunk-STFCL3K4.js → chunk-QG7OOKIN.js} +1 -1
- package/dist/{chunk-WSOLZJJS.js → chunk-QSXZ42KX.js} +3 -3
- package/dist/{chunk-44RJWAND.js → chunk-SCGVWUZX.js} +6 -6
- package/dist/{chunk-CNTWB2SM.js → chunk-T5GXFFLA.js} +1 -1
- package/dist/{chunk-LDWNYCZ6.js → chunk-TCEJ7XXM.js} +1 -1
- package/dist/{chunk-QE3TICD4.js → chunk-V6SRLKUB.js} +2 -2
- package/dist/{chunk-54JMYQYS.js → chunk-W65V465O.js} +2 -2
- package/dist/{chunk-KCBZSJRU.js → chunk-WR76IVA5.js} +5 -2
- package/dist/{chunk-ZZCTGAIT.js → chunk-X22KCSCO.js} +4 -4
- package/dist/{chunk-HD6BHR25.js → chunk-X2WMBTS3.js} +32 -34
- package/dist/{chunk-KQBXT5B7.js → chunk-ZDGHGY74.js} +6 -6
- package/dist/cli/chat.js +32 -32
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +13 -13
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +7 -7
- package/dist/{db-EFLHTBU6.js → db-WWOMXWTT.js} +9 -9
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +4 -4
- package/dist/{oauth-callback-server-RO3IQKWM.js → oauth-callback-server-A6ZZX74U.js} +25 -25
- package/dist/{runner-LOWW7JKA.js → runner-KSGB2UAV.js} +19 -20
- package/dist/{skills-ZLMUG7AE.js → skills-26QPWKVS.js} +6 -6
- package/dist/spawn-5LAJXZ2P.js +39 -0
- package/dist/{validation-MAKEZNTS.js → validation-OPSRGFGH.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-5OAGC3I4.js → work-VMSW7STJ.js} +17 -16
- package/dist/worker-2JNFB7C7.js +24 -0
- package/package.json +5 -5
- package/dist/chat/agent/session.d.ts +0 -19
- package/dist/chat/conversations/search.d.ts +0 -24
- package/dist/chat/conversations/sql/search.d.ts +0 -4
- package/dist/chat/runtime/agent-continue-runner.d.ts +0 -37
- package/dist/chat/services/agent-continue.d.ts +0 -29
- package/dist/chat/services/turn-session-record.d.ts +0 -164
- package/dist/chat/slack/legacy-attachments.d.ts +0 -4
- package/dist/chat/slack/message.d.ts +0 -12
- package/dist/chat/state/turn-session-keys.d.ts +0 -6
- package/dist/spawn-R3LUV6RF.js +0 -38
- package/dist/worker-KTGGRTTP.js +0 -24
|
@@ -11,21 +11,21 @@ import {
|
|
|
11
11
|
getPlugins,
|
|
12
12
|
setPlugins,
|
|
13
13
|
validatePlugins
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-SCGVWUZX.js";
|
|
15
|
+
import "./chunk-V6SRLKUB.js";
|
|
16
|
+
import "./chunk-37EVZP66.js";
|
|
17
|
+
import "./chunk-MCFIXAV5.js";
|
|
18
18
|
import "./chunk-EM225ITJ.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-GYEKOX7N.js";
|
|
20
|
+
import "./chunk-MKRIZ4VG.js";
|
|
21
21
|
import "./chunk-VFUK3X5B.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-QG7OOKIN.js";
|
|
23
23
|
import "./chunk-HZF5P5UN.js";
|
|
24
24
|
import "./chunk-F3B2YJ76.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-B63BF443.js";
|
|
26
26
|
import "./chunk-6GWA276C.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-HQE6EJS5.js";
|
|
28
|
+
import "./chunk-F7REGDKO.js";
|
|
29
29
|
import "./chunk-MLKGABMK.js";
|
|
30
30
|
export {
|
|
31
31
|
PluginHookDeniedError,
|
|
@@ -294,6 +294,7 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
294
294
|
event: "event";
|
|
295
295
|
}>;
|
|
296
296
|
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
297
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
297
298
|
}, import("zod/v4/core").$strict>>;
|
|
298
299
|
}, import("zod/v4/core").$strict>>;
|
|
299
300
|
export default _default;
|
|
@@ -75,6 +75,7 @@ export declare const conversationSourceTaskSchema: z.ZodObject<{
|
|
|
75
75
|
event: "event";
|
|
76
76
|
}>;
|
|
77
77
|
label: z.ZodOptional<z.ZodString>;
|
|
78
|
+
title: z.ZodOptional<z.ZodString>;
|
|
78
79
|
}, z.core.$strict>;
|
|
79
80
|
export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
80
81
|
displayTitle: z.ZodString;
|
|
@@ -803,6 +804,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
803
804
|
event: "event";
|
|
804
805
|
}>;
|
|
805
806
|
label: z.ZodOptional<z.ZodString>;
|
|
807
|
+
title: z.ZodOptional<z.ZodString>;
|
|
806
808
|
}, z.core.$strict>>;
|
|
807
809
|
}, z.core.$strict>;
|
|
808
810
|
export declare const conversationEventPageSchema: z.ZodObject<{
|
package/dist/api/schema.js
CHANGED
package/dist/api.js
CHANGED
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
taskListSchema,
|
|
30
30
|
taskParamsSchema,
|
|
31
31
|
taskRunListSchema
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JLMVCNXL.js";
|
|
33
33
|
import {
|
|
34
34
|
formatSlackConversationRedactedLabel,
|
|
35
35
|
readHealthReport,
|
|
36
36
|
resolveSlackConversationContextFromThreadId
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-LVW7BLLT.js";
|
|
38
38
|
import {
|
|
39
39
|
buildSentryConversationUrl
|
|
40
40
|
} from "./chunk-4CODA7P5.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
readTaskExecutionSummaries,
|
|
46
46
|
readTaskExecutions,
|
|
47
47
|
readTaskRuns
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-QSXZ42KX.js";
|
|
49
49
|
import {
|
|
50
50
|
healthReportSchema,
|
|
51
51
|
pluginOperationalReportFeedSchema,
|
|
@@ -64,13 +64,13 @@ import {
|
|
|
64
64
|
listPublicEventTasksForTeams,
|
|
65
65
|
listPublicScheduledTasksForTeams,
|
|
66
66
|
readStats
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-X22KCSCO.js";
|
|
68
68
|
import {
|
|
69
69
|
parseSlackThreadId
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-PH4Q3A6W.js";
|
|
71
71
|
import {
|
|
72
72
|
fallbackShortTitle
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-W65V465O.js";
|
|
74
74
|
import {
|
|
75
75
|
agentTurnUsageSchema,
|
|
76
76
|
hasAgentTurnUsage,
|
|
@@ -83,44 +83,44 @@ import {
|
|
|
83
83
|
listConversationAnnotations,
|
|
84
84
|
renderPluginConversationEvent,
|
|
85
85
|
resolveViewerUser
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-SCGVWUZX.js";
|
|
87
87
|
import {
|
|
88
88
|
getSlackClient,
|
|
89
89
|
withSlackRetries
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-V6SRLKUB.js";
|
|
91
91
|
import {
|
|
92
92
|
decodeStoredConversationEvent,
|
|
93
93
|
getDb,
|
|
94
94
|
getSqlExecutor,
|
|
95
95
|
locationFromRow,
|
|
96
96
|
parseSessionSource
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-37EVZP66.js";
|
|
98
98
|
import {
|
|
99
99
|
juniorApiTokens,
|
|
100
100
|
juniorConversationEvents,
|
|
101
101
|
juniorConversations,
|
|
102
102
|
juniorIdentities,
|
|
103
103
|
juniorUsers
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-MCFIXAV5.js";
|
|
105
105
|
import "./chunk-EM225ITJ.js";
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-GYEKOX7N.js";
|
|
107
|
+
import "./chunk-MKRIZ4VG.js";
|
|
108
108
|
import {
|
|
109
109
|
juniorDestinations
|
|
110
110
|
} from "./chunk-VFUK3X5B.js";
|
|
111
111
|
import {
|
|
112
112
|
canExposeConversationPayload
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-QG7OOKIN.js";
|
|
114
114
|
import "./chunk-HZF5P5UN.js";
|
|
115
115
|
import {
|
|
116
116
|
parseSlackChannelId,
|
|
117
117
|
parseSlackMessageTs,
|
|
118
118
|
parseSlackTeamId
|
|
119
119
|
} from "./chunk-F3B2YJ76.js";
|
|
120
|
-
import "./chunk-
|
|
120
|
+
import "./chunk-B63BF443.js";
|
|
121
121
|
import "./chunk-6GWA276C.js";
|
|
122
|
-
import "./chunk-
|
|
123
|
-
import "./chunk-
|
|
122
|
+
import "./chunk-HQE6EJS5.js";
|
|
123
|
+
import "./chunk-F7REGDKO.js";
|
|
124
124
|
import "./chunk-MLKGABMK.js";
|
|
125
125
|
|
|
126
126
|
// src/api.ts
|
|
@@ -2093,16 +2093,34 @@ async function readConversationSourceTask(args) {
|
|
|
2093
2093
|
);
|
|
2094
2094
|
if (!candidate) return { kind: execution.kind };
|
|
2095
2095
|
if (candidate.kind === "scheduled") {
|
|
2096
|
+
const instruction2 = displayText(
|
|
2097
|
+
candidate.task.task.text,
|
|
2098
|
+
"Untitled scheduled task"
|
|
2099
|
+
);
|
|
2096
2100
|
return {
|
|
2097
2101
|
id: candidate.task.id,
|
|
2098
2102
|
kind: "scheduled",
|
|
2099
|
-
label:
|
|
2103
|
+
label: instruction2,
|
|
2104
|
+
title: taskDisplayTitle(
|
|
2105
|
+
candidate.task.title,
|
|
2106
|
+
instruction2,
|
|
2107
|
+
"Untitled scheduled task"
|
|
2108
|
+
)
|
|
2100
2109
|
};
|
|
2101
2110
|
}
|
|
2111
|
+
const instruction = displayText(
|
|
2112
|
+
candidate.task.task.text,
|
|
2113
|
+
"Untitled event task"
|
|
2114
|
+
);
|
|
2102
2115
|
return {
|
|
2103
2116
|
id: candidate.task.id,
|
|
2104
2117
|
kind: "event",
|
|
2105
|
-
label:
|
|
2118
|
+
label: instruction,
|
|
2119
|
+
title: taskDisplayTitle(
|
|
2120
|
+
candidate.task.title,
|
|
2121
|
+
instruction,
|
|
2122
|
+
"Untitled event task"
|
|
2123
|
+
)
|
|
2106
2124
|
};
|
|
2107
2125
|
}
|
|
2108
2126
|
async function deleteViewerTask(user, kind, id) {
|
|
@@ -2699,7 +2717,7 @@ function readDescriptionText(home) {
|
|
|
2699
2717
|
}
|
|
2700
2718
|
}
|
|
2701
2719
|
async function readSkillReports() {
|
|
2702
|
-
const { discoverSkills } = await import("./skills-
|
|
2720
|
+
const { discoverSkills } = await import("./skills-26QPWKVS.js");
|
|
2703
2721
|
const skills = await discoverSkills();
|
|
2704
2722
|
return skillReportsSchema.parse(
|
|
2705
2723
|
skills.map((skill) => ({
|
|
@@ -2709,7 +2727,7 @@ async function readSkillReports() {
|
|
|
2709
2727
|
);
|
|
2710
2728
|
}
|
|
2711
2729
|
async function readPlugins() {
|
|
2712
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
2730
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-RQIMSDPR.js");
|
|
2713
2731
|
return pluginsSchema.parse(
|
|
2714
2732
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
2715
2733
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
@@ -2722,7 +2740,7 @@ async function readPlugins() {
|
|
|
2722
2740
|
async function readRuntimeInfoReport() {
|
|
2723
2741
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
2724
2742
|
import("./discovery-GUFTFBTL.js"),
|
|
2725
|
-
import("./catalog-runtime-
|
|
2743
|
+
import("./catalog-runtime-RQIMSDPR.js"),
|
|
2726
2744
|
readPlugins(),
|
|
2727
2745
|
readSkillReports()
|
|
2728
2746
|
]);
|
|
@@ -2738,7 +2756,7 @@ async function readRuntimeInfoReport() {
|
|
|
2738
2756
|
}
|
|
2739
2757
|
async function readPluginOperationalReportFeed() {
|
|
2740
2758
|
const nowMs = Date.now();
|
|
2741
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
2759
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-SLJADYE5.js");
|
|
2742
2760
|
return pluginOperationalReportFeedSchema.parse({
|
|
2743
2761
|
source: "plugins",
|
|
2744
2762
|
generatedAt: new Date(nowMs).toISOString(),
|