@sentry/junior 0.162.0 → 0.163.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/README.md +2 -0
- package/dist/{agent-hooks-TL2SGC5W.js → agent-hooks-6IX5CV7G.js} +10 -10
- package/dist/api/acp/route.d.ts +13 -0
- package/dist/api.js +204 -403
- package/dist/app.d.ts +2 -2
- package/dist/app.js +480 -38
- package/dist/{catalog-runtime-IGSMIADJ.js → catalog-runtime-NEPZNTOM.js} +5 -5
- package/dist/chat/agent/sandbox.d.ts +4 -0
- package/dist/chat/api-turns/cancellation.d.ts +27 -0
- package/dist/chat/api-turns/routing.d.ts +31 -0
- package/dist/chat/api-turns/work.d.ts +12 -29
- package/dist/chat/app/conversation-work.d.ts +6 -1
- package/dist/chat/app/production.d.ts +2 -2
- package/dist/chat/conversations/history.d.ts +3 -0
- package/dist/chat/conversations/turn-lifecycle.d.ts +1 -1
- package/dist/chat/experimental.d.ts +1 -1
- package/dist/chat/plugins/agent-hooks.d.ts +4 -0
- package/dist/chat/repository-instructions.d.ts +1 -1
- package/dist/chat/sandbox/paths.d.ts +1 -0
- package/dist/chat/sandbox/prepare-workspace.d.ts +11 -0
- package/dist/chat/sandbox/ref.d.ts +1 -0
- package/dist/chat/sandbox/sandbox.d.ts +4 -0
- package/dist/chat/sandbox/session.d.ts +4 -0
- package/dist/chat/sandbox/snapshot/profile.d.ts +4 -3
- package/dist/chat/sandbox/snapshot/resolve.d.ts +4 -0
- package/dist/chat/sandbox/workspace.d.ts +4 -0
- package/dist/chat/tools/types.d.ts +5 -0
- package/dist/chat/workspaces/checkout-path.d.ts +4 -0
- package/dist/chat/workspaces/store.d.ts +8 -0
- package/dist/chat/workspaces/tools.d.ts +4 -0
- package/dist/chat/workspaces/types.d.ts +13 -0
- package/dist/{chunk-BPZQWAZJ.js → chunk-2FBPN2Y4.js} +4 -1
- package/dist/{chunk-H2KW7AZC.js → chunk-2HBJQEBE.js} +1 -1
- package/dist/{chunk-O6P7DZ6O.js → chunk-3OZNFCPR.js} +6 -6
- package/dist/{chunk-7DTPFFQX.js → chunk-3T7RJVDJ.js} +1 -1
- package/dist/{chunk-FEWT5KPP.js → chunk-4P2XNVTO.js} +2 -2
- package/dist/{chunk-CZ6EHOU5.js → chunk-ATWHPSMF.js} +40 -2
- package/dist/{chunk-MMBMDSRK.js → chunk-BLZUFHM7.js} +1 -1
- package/dist/chunk-BVREIWBD.js +131 -0
- package/dist/{chunk-OPNJRQDP.js → chunk-EKGJVUVS.js} +9 -6
- package/dist/{chunk-4WYGQ47U.js → chunk-FEIHINKR.js} +5 -5
- package/dist/{chunk-JJ3VXFDI.js → chunk-GCLHNRMU.js} +1 -1
- package/dist/{chunk-WHAJ3QVY.js → chunk-ICJ3KCA2.js} +1 -1
- package/dist/{chunk-5NEBOHRG.js → chunk-IIT23D3M.js} +4 -4
- package/dist/{chunk-EHQLTK3X.js → chunk-IX4XI42N.js} +376 -128
- package/dist/{chunk-DDQ43S5Q.js → chunk-JI5EPI3O.js} +4 -4
- package/dist/{chunk-C3KUKA27.js → chunk-KD3ROG6P.js} +17 -17
- package/dist/{chunk-JRVURR3H.js → chunk-MWVQ35U6.js} +543 -164
- package/dist/{chunk-V7QL4QMW.js → chunk-MXFL7LNZ.js} +12 -7
- package/dist/{chunk-RDV4BQRZ.js → chunk-NL53P7PS.js} +1 -1
- package/dist/{chunk-EBEHJPFF.js → chunk-O4IK4O7C.js} +1 -1
- package/dist/{chunk-KQSO4DJ4.js → chunk-O5ZZL7IR.js} +9 -9
- package/dist/{chunk-FESUWAYU.js → chunk-RK7KPI6G.js} +1 -1
- package/dist/{chunk-OBFRMQBY.js → chunk-RTPJRLOP.js} +9 -9
- package/dist/{chunk-HW4BW3PC.js → chunk-SR6WRBJW.js} +4 -4
- package/dist/{chunk-6BJFIWEV.js → chunk-THS4CKN4.js} +46 -87
- package/dist/{chunk-DZC3F2UI.js → chunk-TPDNZCZU.js} +1 -1
- package/dist/{chunk-Y75ZDQB5.js → chunk-TPT6EF7K.js} +1 -1
- package/dist/{chunk-5IDFPCON.js → chunk-VRS6WDK5.js} +1 -1
- package/dist/{chunk-AJ7J2HWY.js → chunk-WPGYWDJR.js} +6 -6
- package/dist/{chunk-K7IV6UV3.js → chunk-XY2IVIAY.js} +5 -5
- package/dist/{chunk-MNCEGXEH.js → chunk-YAUQXZVT.js} +2 -2
- package/dist/{chunk-THXMSSFZ.js → chunk-ZDKTZG3G.js} +1 -1
- package/dist/{chunk-QHCIZLIX.js → chunk-ZF6IC27P.js} +87 -10
- 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 +10 -10
- package/dist/cli/upgrade.js +7 -7
- package/dist/db/schema/workspaces.d.ts +169 -0
- package/dist/db/schema.d.ts +169 -1
- package/dist/{db-66XZ4HHQ.js → db-6VBMHVW2.js} +7 -7
- package/dist/{experimental-HH6OM6UH.js → experimental-XVDOSRBS.js} +1 -1
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-FMLKDUUF.js → oauth-callback-server-5NCCUIM2.js} +24 -24
- package/dist/{runner-YZONUMNY.js → runner-6ONEB6TQ.js} +13 -13
- package/dist/{skills-3UDJJXSO.js → skills-Y5R36UH4.js} +6 -6
- package/dist/spawn-RFMBQ6B3.js +37 -0
- package/dist/{validation-3HTDBONC.js → validation-HLHEQDEK.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-O4YTIS54.js → work-VIEFYTFG.js} +18 -18
- package/dist/worker-MRSKPKQZ.js +24 -0
- package/migrations/0029_dizzy_barracuda.sql +19 -0
- package/migrations/meta/0029_snapshot.json +2709 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +8 -5
- package/dist/chunk-EM225ITJ.js +0 -56
- package/dist/spawn-TBPVA5S2.js +0 -37
- package/dist/worker-WHURUEYX.js +0 -24
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
juniorConversations,
|
|
8
8
|
juniorIdentities,
|
|
9
9
|
juniorUsers
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ATWHPSMF.js";
|
|
11
11
|
import {
|
|
12
12
|
TURN_REASONING_LEVELS,
|
|
13
13
|
getChatConfig,
|
|
14
14
|
modelProfileSchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YAUQXZVT.js";
|
|
16
16
|
import {
|
|
17
17
|
juniorDestinations
|
|
18
18
|
} from "./chunk-VFUK3X5B.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-V7YE4WCP.js";
|
|
24
24
|
import {
|
|
25
25
|
normalizeIdentityEmail
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TPT6EF7K.js";
|
|
27
27
|
|
|
28
28
|
// src/chat/conversations/sql/store.ts
|
|
29
29
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
@@ -1282,7 +1282,7 @@ var attachmentsDeliveredEventDataSchema = z3.object({
|
|
|
1282
1282
|
var turnCompletedEventDataSchema = z3.object({
|
|
1283
1283
|
type: z3.literal("turn_completed"),
|
|
1284
1284
|
turnId: z3.string().min(1),
|
|
1285
|
-
outcome: z3.enum(["success", "no_reply"])
|
|
1285
|
+
outcome: z3.enum(["success", "no_reply", "cancelled"])
|
|
1286
1286
|
}).strict();
|
|
1287
1287
|
var turnFailedEventDataSchema = z3.object({
|
|
1288
1288
|
type: z3.literal("turn_failed"),
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-FA6POGLH.js";
|
|
4
4
|
import {
|
|
5
5
|
getTurnRequestDeadline
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BLZUFHM7.js";
|
|
7
7
|
import {
|
|
8
8
|
buildSentryConversationUrl,
|
|
9
9
|
deleteWebAuthorization
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NL53P7PS.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureConversationWake,
|
|
13
13
|
requestConversationWork
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IIT23D3M.js";
|
|
15
15
|
import {
|
|
16
16
|
buildDeliveredTurnStatePatch,
|
|
17
17
|
finalizeFailedTurnReplyWithEvent,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
requireTurnFailureEventId,
|
|
25
25
|
resolveTurnSessionRouting,
|
|
26
26
|
scheduleSessionCompletedPluginTasks
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-O5ZZL7IR.js";
|
|
28
28
|
import {
|
|
29
29
|
ConversationTurnLifecycleService,
|
|
30
30
|
coerceThreadConversationState,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
getPersistedSandboxState,
|
|
34
34
|
getPersistedThreadState,
|
|
35
35
|
persistThreadStateById
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-EKGJVUVS.js";
|
|
37
37
|
import {
|
|
38
38
|
getVercelConversationWorkQueue
|
|
39
39
|
} from "./chunk-WR76IVA5.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
lookupSlackUserProfile,
|
|
48
48
|
resolvePluginOAuthAccount,
|
|
49
49
|
runAgentWithTimeout
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-RTPJRLOP.js";
|
|
51
51
|
import {
|
|
52
52
|
RetryableDeliveryError
|
|
53
53
|
} from "./chunk-RF6J3DIO.js";
|
|
@@ -63,13 +63,13 @@ import {
|
|
|
63
63
|
removeReactionFromMessage,
|
|
64
64
|
resolveBaseUrl,
|
|
65
65
|
truncateStatusText
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-3OZNFCPR.js";
|
|
67
67
|
import {
|
|
68
68
|
parseSlackThreadId,
|
|
69
69
|
readSlackRawMessageContext,
|
|
70
70
|
resolveSlackChannelIdFromMessage,
|
|
71
71
|
resolveSlackChannelIdFromThreadId
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-ICJ3KCA2.js";
|
|
73
73
|
import {
|
|
74
74
|
CooperativeTurnYieldError,
|
|
75
75
|
TurnSliceLimitExceededError,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
recordTurnSummary,
|
|
97
97
|
saveTurnCheckpoint,
|
|
98
98
|
turnHasReply
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-MXFL7LNZ.js";
|
|
100
100
|
import {
|
|
101
101
|
SlackActionError,
|
|
102
102
|
getDashboardConversationLink,
|
|
@@ -105,18 +105,18 @@ import {
|
|
|
105
105
|
getSlackClient,
|
|
106
106
|
isDmChannel,
|
|
107
107
|
normalizeSlackConversationId
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-ZF6IC27P.js";
|
|
109
109
|
import {
|
|
110
110
|
getConversationEventStore,
|
|
111
111
|
getSqlExecutor,
|
|
112
112
|
requireSlackDestination,
|
|
113
113
|
upsertIdentity,
|
|
114
114
|
upsertLinkedIdentity
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-JI5EPI3O.js";
|
|
116
116
|
import {
|
|
117
117
|
acquireActiveLock,
|
|
118
118
|
getStateAdapter
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-TPDNZCZU.js";
|
|
120
120
|
import {
|
|
121
121
|
botConfig,
|
|
122
122
|
escapeXml,
|
|
@@ -124,18 +124,18 @@ import {
|
|
|
124
124
|
getRuntimeMetadata,
|
|
125
125
|
normalizeSlackEmojiName,
|
|
126
126
|
standardModelId
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-YAUQXZVT.js";
|
|
128
128
|
import {
|
|
129
129
|
discoverSkills
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-4P2XNVTO.js";
|
|
131
131
|
import {
|
|
132
132
|
pluginCatalogRuntime
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-RK7KPI6G.js";
|
|
134
134
|
import {
|
|
135
135
|
buildOAuthTokenRequest,
|
|
136
136
|
hasRequiredOAuthScope,
|
|
137
137
|
parseOAuthTokenResponse
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-O4IK4O7C.js";
|
|
139
139
|
import {
|
|
140
140
|
createSlackResumeActor,
|
|
141
141
|
isUserActor,
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
setTags,
|
|
152
152
|
toOptionalString,
|
|
153
153
|
withLogContext
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-TPT6EF7K.js";
|
|
155
155
|
import {
|
|
156
156
|
homeDir
|
|
157
157
|
} from "./chunk-H4HBKISO.js";
|