@sentry/junior 0.189.0 → 0.191.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-6QRYH6PX.js → agent-hooks-HIWWBBKO.js} +11 -11
- package/dist/api.js +27 -27
- package/dist/app.js +134 -152
- package/dist/{catalog-runtime-IETJLJFG.js → catalog-runtime-4OKH4265.js} +4 -4
- package/dist/chat/actor.d.ts +7 -2
- package/dist/chat/agent/resume.d.ts +0 -1
- package/dist/chat/agent/types.d.ts +0 -1
- package/dist/chat/agent-invocations/types.d.ts +44 -308
- package/dist/chat/event-tasks/tool-support.d.ts +1 -1
- package/dist/chat/providers/slack/runtime.d.ts +1 -2
- package/dist/chat/providers/slack/system-turn.d.ts +9 -4
- package/dist/chat/providers/slack/turn.d.ts +0 -1
- package/dist/chat/resource-events/actor.d.ts +2 -2
- package/dist/chat/services/turn-router.d.ts +1 -1
- package/dist/chat/slack/dispatch-turn.d.ts +0 -1
- package/dist/chat/slack/timestamp-param.d.ts +1 -1
- package/dist/chat/source.d.ts +3 -3
- package/dist/chat/task-execution/assistant-message.d.ts +7 -7
- package/dist/chat/task-execution/checkpoint.d.ts +0 -1
- package/dist/chat/task-execution/conversation-turn.d.ts +2 -2
- package/dist/chat/task-execution/mailbox-turn.d.ts +16 -6
- package/dist/chat/task-execution/state.d.ts +2 -5
- package/dist/chat/task-execution/store.d.ts +1 -2
- package/dist/chat/task-execution/turn-cursor.d.ts +10 -3
- package/dist/chat/task-execution/worker.d.ts +0 -1
- package/dist/chat/tools/types.d.ts +9 -2
- package/dist/{chunk-BYBSI5TI.js → chunk-2JAWOTUT.js} +2 -2
- package/dist/{chunk-WN6VLHOU.js → chunk-3PDR63SX.js} +30 -9
- package/dist/{chunk-SR6OMO5C.js → chunk-5IMKUVMS.js} +8 -11
- package/dist/{chunk-YYSEH2WC.js → chunk-6KISW5UY.js} +2 -2
- package/dist/{chunk-WDHPN2GH.js → chunk-7PYCRKQL.js} +3 -3
- package/dist/{chunk-YNZPOFF3.js → chunk-AWFSSFAX.js} +9 -11
- package/dist/{chunk-OEIITG5F.js → chunk-BVWC5DBM.js} +1 -1
- package/dist/{chunk-DYXVAO2E.js → chunk-BVYUIVXE.js} +1 -1
- package/dist/{chunk-WYDF6PGK.js → chunk-CCPOZMS4.js} +3 -3
- package/dist/{chunk-YYZNESC3.js → chunk-CECRMPXJ.js} +9 -8
- package/dist/{chunk-6AUR6PWR.js → chunk-CUUE5MGF.js} +3 -3
- package/dist/{chunk-MVPLEPSI.js → chunk-DP6H3U2X.js} +1 -1
- package/dist/{chunk-E3PDZPGV.js → chunk-EQZUBYRF.js} +1 -1
- package/dist/{chunk-PCPSX4ES.js → chunk-GQN4REF5.js} +14 -12
- package/dist/{chunk-AC7MDOJW.js → chunk-HNMRX2EN.js} +5 -5
- package/dist/{chunk-7R5JRPCY.js → chunk-K2NKG42A.js} +5 -5
- package/dist/{chunk-MFSET7Q7.js → chunk-KTW62MG5.js} +31 -13
- package/dist/{chunk-PY3EIEAF.js → chunk-L4JLLS6C.js} +1 -1
- package/dist/{chunk-CMWIMFM6.js → chunk-LOYTPSAK.js} +5 -5
- package/dist/{chunk-S3SGZUOI.js → chunk-MFZOIKET.js} +1 -1
- package/dist/{chunk-MI6ZBDTS.js → chunk-NK3UEKAW.js} +25 -10
- package/dist/{chunk-QNIOBNOY.js → chunk-NY5SJGJZ.js} +52 -46
- package/dist/{chunk-4RHJ3CXR.js → chunk-Q32BSFN4.js} +13 -12
- package/dist/{chunk-ZV6PFUA4.js → chunk-QRNJO7DZ.js} +1 -1
- package/dist/{chunk-KN32OWL2.js → chunk-RZS4F5K4.js} +3 -3
- package/dist/{chunk-CUYFCI4G.js → chunk-S7NSFCCW.js} +16 -13
- package/dist/{chunk-5VWAY27R.js → chunk-SEIZ2XLD.js} +1 -1
- package/dist/{chunk-MRXMFB4L.js → chunk-SGRL7NV6.js} +5 -5
- package/dist/{chunk-WWYUYKKV.js → chunk-TH6LMEOW.js} +1 -1
- package/dist/{chunk-WMUAKAIF.js → chunk-VGYZ3YZM.js} +85 -41
- package/dist/{chunk-ZUPDSJUE.js → chunk-WBNQYVCM.js} +2 -2
- package/dist/{chunk-GP32KD2J.js → chunk-WCSXTDOL.js} +1 -1
- package/dist/{chunk-O35GZCKL.js → chunk-WNIVCR74.js} +2 -2
- package/dist/{chunk-UCWO5MKP.js → chunk-X6PQKQTY.js} +5 -7
- package/dist/{chunk-5CXCGDIL.js → chunk-YNRLCUCB.js} +1 -1
- package/dist/{chunk-LHKZKAZ4.js → chunk-ZJRGWZZ2.js} +3 -3
- package/dist/{chunk-NY2F7BZA.js → chunk-ZNFNGDT7.js} +1 -1
- package/dist/{chunk-VKQWU4PO.js → chunk-ZRN3OS7M.js} +1 -1
- package/dist/cli/chat.js +33 -33
- package/dist/cli/check.js +5 -5
- package/dist/cli/plugins.js +12 -12
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +6 -6
- package/dist/db/schema/agent-invocations.d.ts +18 -6
- package/dist/db/schema.d.ts +18 -6
- package/dist/{db-LPJKR2EO.js → db-LG4ZEWA3.js} +6 -6
- package/dist/instrumentation.js +3 -3
- package/dist/nitro.js +6 -6
- package/dist/{oauth-callback-server-DMXF4TTQ.js → oauth-callback-server-KI7ZRTOG.js} +29 -29
- package/dist/{runner-L5DPVYCN.js → runner-K2EOSAZQ.js} +21 -21
- package/dist/{skills-NXG3LBCK.js → skills-JTRDFKMA.js} +5 -5
- package/dist/spawn-SRBETYCF.js +42 -0
- package/dist/task-runner-INQIQ4VF.js +36 -0
- package/dist/{validation-CH36LTOS.js → validation-NBWURHAP.js} +5 -5
- package/dist/version.js +1 -1
- package/dist/{work-HBC5Y5VZ.js → work-35TBEAUI.js} +21 -21
- package/dist/{worker-5RDZHLXH.js → worker-F762M6XM.js} +10 -10
- package/package.json +6 -6
- package/dist/spawn-VRUIGKWW.js +0 -42
- package/dist/task-runner-7YTBSPXW.js +0 -36
|
@@ -13,26 +13,26 @@ import {
|
|
|
13
13
|
getPlugins,
|
|
14
14
|
setPlugins,
|
|
15
15
|
validatePlugins
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NK3UEKAW.js";
|
|
17
17
|
import "./chunk-3Y47VMHV.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-S7NSFCCW.js";
|
|
19
|
+
import "./chunk-SEIZ2XLD.js";
|
|
20
|
+
import "./chunk-7PYCRKQL.js";
|
|
21
|
+
import "./chunk-YNRLCUCB.js";
|
|
22
22
|
import "./chunk-GFBR4S3Q.js";
|
|
23
23
|
import "./chunk-VFUK3X5B.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-2JAWOTUT.js";
|
|
25
25
|
import "./chunk-D4YV5TDV.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-BVYUIVXE.js";
|
|
27
|
+
import "./chunk-EQZUBYRF.js";
|
|
28
|
+
import "./chunk-QRNJO7DZ.js";
|
|
29
29
|
import "./chunk-CEMMLV5L.js";
|
|
30
30
|
import "./chunk-N7TMSOZH.js";
|
|
31
31
|
import "./chunk-DWPN6SCH.js";
|
|
32
32
|
import "./chunk-TXKUKMVO.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-L4JLLS6C.js";
|
|
34
34
|
import "./chunk-PEQXYSSE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-ZNFNGDT7.js";
|
|
36
36
|
export {
|
|
37
37
|
PluginHookDeniedError,
|
|
38
38
|
applyPluginFormatMarkdown,
|
package/dist/api.js
CHANGED
|
@@ -63,12 +63,12 @@ import {
|
|
|
63
63
|
resolveSlackConversationContextFromThreadId,
|
|
64
64
|
viewerConversationMembership,
|
|
65
65
|
webActorFromEmail
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-5IMKUVMS.js";
|
|
67
67
|
import {
|
|
68
68
|
buildSentryConversationUrl,
|
|
69
69
|
buildSentryEventUrl,
|
|
70
70
|
getWebAuthorization
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-ZRN3OS7M.js";
|
|
72
72
|
import {
|
|
73
73
|
readTaskExecutionByConversationId,
|
|
74
74
|
readTaskExecutionDays,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
readTaskExecutionSummaries,
|
|
77
77
|
readTaskExecutions,
|
|
78
78
|
readTaskRuns
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-ZJRGWZZ2.js";
|
|
80
80
|
import {
|
|
81
81
|
healthReportSchema,
|
|
82
82
|
pluginOperationalReportFeedSchema,
|
|
@@ -99,24 +99,24 @@ import {
|
|
|
99
99
|
readScheduledTask,
|
|
100
100
|
readStats,
|
|
101
101
|
saveScheduledTask
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-LOYTPSAK.js";
|
|
103
103
|
import {
|
|
104
104
|
parseSlackThreadId
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-DP6H3U2X.js";
|
|
106
106
|
import {
|
|
107
107
|
cancelHumanFacingPendingMessages,
|
|
108
108
|
getConversation
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-3PDR63SX.js";
|
|
110
110
|
import "./chunk-DA2KGZZI.js";
|
|
111
111
|
import {
|
|
112
112
|
agentTurnUsageSchema,
|
|
113
113
|
fallbackShortTitle,
|
|
114
114
|
hasAgentTurnUsage,
|
|
115
115
|
renderJuniorNativeConversationEvent
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-WNIVCR74.js";
|
|
117
117
|
import {
|
|
118
118
|
getCachedSnapshot
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-CUUE5MGF.js";
|
|
120
120
|
import "./chunk-PDO5BLNM.js";
|
|
121
121
|
import {
|
|
122
122
|
getVercelConversationWorkQueue
|
|
@@ -142,7 +142,7 @@ import {
|
|
|
142
142
|
updateWorkspace,
|
|
143
143
|
withSlackRetries,
|
|
144
144
|
workspaceRepoCheckoutPath
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-NK3UEKAW.js";
|
|
146
146
|
import "./chunk-3Y47VMHV.js";
|
|
147
147
|
import {
|
|
148
148
|
getConversationStore,
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
locationFromRow,
|
|
152
152
|
parseSessionSource,
|
|
153
153
|
resolveRootConversationId
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-S7NSFCCW.js";
|
|
155
155
|
import {
|
|
156
156
|
conversationReadColumns,
|
|
157
157
|
juniorApiTokens,
|
|
@@ -163,23 +163,23 @@ import {
|
|
|
163
163
|
juniorIdentities,
|
|
164
164
|
juniorSchedulerTasks,
|
|
165
165
|
juniorUsers
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-SEIZ2XLD.js";
|
|
167
167
|
import {
|
|
168
168
|
create,
|
|
169
169
|
hash
|
|
170
|
-
} from "./chunk-
|
|
171
|
-
import "./chunk-
|
|
170
|
+
} from "./chunk-7PYCRKQL.js";
|
|
171
|
+
import "./chunk-YNRLCUCB.js";
|
|
172
172
|
import {
|
|
173
173
|
decodeStoredConversationEvent
|
|
174
174
|
} from "./chunk-GFBR4S3Q.js";
|
|
175
175
|
import {
|
|
176
176
|
juniorDestinations
|
|
177
177
|
} from "./chunk-VFUK3X5B.js";
|
|
178
|
-
import "./chunk-
|
|
178
|
+
import "./chunk-2JAWOTUT.js";
|
|
179
179
|
import "./chunk-D4YV5TDV.js";
|
|
180
|
-
import "./chunk-
|
|
181
|
-
import "./chunk-
|
|
182
|
-
import "./chunk-
|
|
180
|
+
import "./chunk-BVYUIVXE.js";
|
|
181
|
+
import "./chunk-EQZUBYRF.js";
|
|
182
|
+
import "./chunk-QRNJO7DZ.js";
|
|
183
183
|
import "./chunk-CEMMLV5L.js";
|
|
184
184
|
import {
|
|
185
185
|
parseSlackChannelId,
|
|
@@ -191,9 +191,9 @@ import "./chunk-TXKUKMVO.js";
|
|
|
191
191
|
import {
|
|
192
192
|
logException,
|
|
193
193
|
logWarn
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-L4JLLS6C.js";
|
|
195
195
|
import "./chunk-PEQXYSSE.js";
|
|
196
|
-
import "./chunk-
|
|
196
|
+
import "./chunk-ZNFNGDT7.js";
|
|
197
197
|
|
|
198
198
|
// src/api.ts
|
|
199
199
|
import { Hono as Hono9 } from "hono";
|
|
@@ -1296,7 +1296,7 @@ function surfaceFromSource(source, conversationId) {
|
|
|
1296
1296
|
}
|
|
1297
1297
|
function sourceUrlFromConversation(args) {
|
|
1298
1298
|
const { conversation } = args;
|
|
1299
|
-
if (!args.canViewPrivateContent || conversation.sessionSource?.
|
|
1299
|
+
if (!args.canViewPrivateContent || conversation.sessionSource?.kind !== "slack") {
|
|
1300
1300
|
return void 0;
|
|
1301
1301
|
}
|
|
1302
1302
|
const teamDomain = args.teamDomainByTeamId?.get(
|
|
@@ -1971,7 +1971,7 @@ async function readConversationFeedFromSql(options = {}) {
|
|
|
1971
1971
|
readRootConversationMetricsFromSql(db, conversationIds),
|
|
1972
1972
|
resolveSlackTeamDomains(
|
|
1973
1973
|
conversations.flatMap(
|
|
1974
|
-
(conversation) => conversation.sessionSource?.
|
|
1974
|
+
(conversation) => conversation.sessionSource?.kind === "slack" ? [conversation.sessionSource.teamId] : []
|
|
1975
1975
|
)
|
|
1976
1976
|
),
|
|
1977
1977
|
listConversationWork(conversationIds),
|
|
@@ -2669,7 +2669,7 @@ async function readConversationDetailFromSql(conversationId, options) {
|
|
|
2669
2669
|
...options.viewer ? { viewer: options.viewer } : void 0
|
|
2670
2670
|
}),
|
|
2671
2671
|
resolveSlackTeamDomains(
|
|
2672
|
-
record.conversation.sessionSource?.
|
|
2672
|
+
record.conversation.sessionSource?.kind === "slack" ? [record.conversation.sessionSource.teamId] : []
|
|
2673
2673
|
)
|
|
2674
2674
|
]);
|
|
2675
2675
|
const access = accessByConversation.get(conversationId);
|
|
@@ -4585,7 +4585,7 @@ async function readPeoplePluginReports(args) {
|
|
|
4585
4585
|
source: "plugins"
|
|
4586
4586
|
});
|
|
4587
4587
|
}
|
|
4588
|
-
const { getPluginProfileReports } = await import("./agent-hooks-
|
|
4588
|
+
const { getPluginProfileReports } = await import("./agent-hooks-HIWWBBKO.js");
|
|
4589
4589
|
return pluginOperationalReportFeedSchema.parse({
|
|
4590
4590
|
generatedAt: new Date(nowMs).toISOString(),
|
|
4591
4591
|
reports: await getPluginProfileReports({
|
|
@@ -5389,7 +5389,7 @@ function readDescriptionText(home) {
|
|
|
5389
5389
|
}
|
|
5390
5390
|
}
|
|
5391
5391
|
async function readSkillReports() {
|
|
5392
|
-
const { discoverSkills } = await import("./skills-
|
|
5392
|
+
const { discoverSkills } = await import("./skills-JTRDFKMA.js");
|
|
5393
5393
|
const skills = await discoverSkills();
|
|
5394
5394
|
return skillReportsSchema.parse(
|
|
5395
5395
|
skills.map((skill) => ({
|
|
@@ -5399,7 +5399,7 @@ async function readSkillReports() {
|
|
|
5399
5399
|
);
|
|
5400
5400
|
}
|
|
5401
5401
|
async function readPlugins() {
|
|
5402
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
5402
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-4OKH4265.js");
|
|
5403
5403
|
return pluginsSchema.parse(
|
|
5404
5404
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
5405
5405
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
@@ -5412,7 +5412,7 @@ async function readPlugins() {
|
|
|
5412
5412
|
async function readRuntimeInfoReport() {
|
|
5413
5413
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
5414
5414
|
import("./discovery-DWVDM7UK.js"),
|
|
5415
|
-
import("./catalog-runtime-
|
|
5415
|
+
import("./catalog-runtime-4OKH4265.js"),
|
|
5416
5416
|
readPlugins(),
|
|
5417
5417
|
readSkillReports()
|
|
5418
5418
|
]);
|
|
@@ -5428,7 +5428,7 @@ async function readRuntimeInfoReport() {
|
|
|
5428
5428
|
}
|
|
5429
5429
|
async function readPluginOperationalReportFeed() {
|
|
5430
5430
|
const nowMs = Date.now();
|
|
5431
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
5431
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-HIWWBBKO.js");
|
|
5432
5432
|
return pluginOperationalReportFeedSchema.parse({
|
|
5433
5433
|
source: "plugins",
|
|
5434
5434
|
generatedAt: new Date(nowMs).toISOString(),
|