@sentry/junior 0.159.0 → 0.161.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-IAD3AANZ.js → agent-hooks-O75UJNC6.js} +13 -10
- package/dist/api/conversations/events.d.ts +1 -1
- package/dist/api/locations/detail.d.ts +17 -0
- package/dist/api/people/plugin-reports.d.ts +7 -0
- package/dist/api/schema/conversation.d.ts +109 -8
- package/dist/api/schema/location.d.ts +29 -0
- package/dist/api/schema/person.d.ts +29 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +137 -27
- package/dist/app.js +73 -42
- package/dist/{catalog-runtime-6VANKLH5.js → catalog-runtime-Z3FHU4ZY.js} +5 -5
- package/dist/chat/artifacts/store.d.ts +42 -0
- package/dist/chat/conversations/history.d.ts +31 -1
- package/dist/chat/conversations/projection.d.ts +13 -0
- package/dist/chat/plugins/agent-hooks.d.ts +9 -1
- package/dist/chat/plugins/annotations.d.ts +3 -0
- package/dist/chat/plugins/conversation-sidebar.d.ts +3 -0
- package/dist/chat/plugins/viewer.d.ts +4 -0
- package/dist/chat/slack/mrkdwn.d.ts +3 -4
- package/dist/chat/slack/tools/send-files.d.ts +2 -2
- package/dist/chat/tool-support/action-review.d.ts +5 -4
- package/dist/chat/tools/publish-image.d.ts +44 -0
- package/dist/chat/tools/search-conversation-events.d.ts +1 -1
- package/dist/chat/tools/unpublish-image.d.ts +35 -0
- package/dist/{chunk-YSMAMSOU.js → chunk-4WAZ6DGX.js} +10 -10
- package/dist/{chunk-AIQKUJKK.js → chunk-6ILVZOF6.js} +4 -4
- package/dist/{chunk-YCBZ47LC.js → chunk-6WTDZKFR.js} +1 -1
- package/dist/{chunk-CNHELV2P.js → chunk-CGAIDDLD.js} +1 -1
- package/dist/{chunk-U7D4VLUF.js → chunk-DGKLYDX7.js} +2 -2
- package/dist/{chunk-TD7ZQZ5W.js → chunk-DNSIU27S.js} +1 -1
- package/dist/{chunk-PT7B6A3O.js → chunk-EAIQBR66.js} +1 -1
- package/dist/{chunk-O2DZWUPQ.js → chunk-FLMD25Y5.js} +239 -199
- package/dist/{chunk-FWDN67U3.js → chunk-G35DUPNB.js} +4 -4
- package/dist/{chunk-UG673UVL.js → chunk-HSFYTIS2.js} +1 -1
- package/dist/{chunk-WTQ3CKC3.js → chunk-IRHX2S46.js} +1 -1
- package/dist/{chunk-DXSZJAVZ.js → chunk-IW7C5C7E.js} +19 -21
- package/dist/{chunk-Q5X37U6G.js → chunk-IYFKONIL.js} +1 -1
- package/dist/{chunk-EBP6IS66.js → chunk-MNY5M7RB.js} +537 -27
- package/dist/{chunk-6IADZQJR.js → chunk-MVG5UPLM.js} +1 -1
- package/dist/{chunk-27UQ7UB3.js → chunk-O7JTSJPU.js} +6 -6
- package/dist/{chunk-NCJV265M.js → chunk-OPIJ6HY3.js} +9 -9
- package/dist/{chunk-X7AIXRVJ.js → chunk-OY2DBUV4.js} +5 -5
- package/dist/{chunk-SQOVZSWF.js → chunk-OYQEO72I.js} +480 -125
- package/dist/{chunk-UP6KQVF5.js → chunk-QHXT7LLF.js} +1 -1
- package/dist/{chunk-UKKOKMRE.js → chunk-QQ7SY5IZ.js} +5 -5
- package/dist/{chunk-PQWWCKNB.js → chunk-RULQD7OX.js} +4 -4
- package/dist/{chunk-L2PEQ2PY.js → chunk-RVENVPNO.js} +2 -2
- package/dist/{chunk-EQXVKNLM.js → chunk-SA6BEEAB.js} +27 -9
- package/dist/{chunk-54O6IKUS.js → chunk-STZVUVMS.js} +40 -4
- package/dist/{chunk-QODFNKQS.js → chunk-U2XOBFDK.js} +17 -3
- package/dist/{chunk-AZW5HKC5.js → chunk-V67ORYKQ.js} +8 -10
- package/dist/{chunk-DJZPA72K.js → chunk-VXFDVY4C.js} +8 -36
- package/dist/{chunk-LUIKMY35.js → chunk-WKN4ZQTZ.js} +1 -1
- package/dist/{chunk-OGMHLKNO.js → chunk-WVSQ2SCS.js} +1 -1
- package/dist/{chunk-IJ6KWS3V.js → chunk-YSWHAOPQ.js} +1 -1
- package/dist/{chunk-NT6V5WEE.js → chunk-ZBCLWBMV.js} +5 -5
- package/dist/cli/chat.js +29 -30
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +12 -13
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +7 -7
- package/dist/db/schema/artifacts.d.ts +178 -0
- package/dist/db/schema.d.ts +179 -1
- package/dist/{db-BIIMAPFB.js → db-KKOZRE62.js} +7 -7
- package/dist/handlers/artifacts.d.ts +8 -0
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-4BENCPP3.js → oauth-callback-server-5AUZDWXA.js} +22 -23
- package/dist/{runner-TUBJLEYO.js → runner-K5H5NDEC.js} +12 -13
- package/dist/{skills-MBRLNBRV.js → skills-OZGPB6G4.js} +6 -6
- package/dist/spawn-RCQSC2L5.js +37 -0
- package/dist/{validation-YTJGRJYT.js → validation-TVHCNCYL.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-5MRHKA54.js → work-DXCQMJ5U.js} +17 -17
- package/dist/worker-24HZ5HRI.js +24 -0
- package/migrations/0028_artifacts.sql +16 -0
- package/migrations/meta/0028_snapshot.json +2685 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +4 -4
- package/dist/chunk-K2LAI7RW.js +0 -441
- package/dist/spawn-ZWIXA46E.js +0 -37
- package/dist/worker-S2V7HZJ4.js +0 -24
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
appendAndEnqueueInboundMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G35DUPNB.js";
|
|
4
4
|
import {
|
|
5
5
|
ConversationTurnLifecycleService,
|
|
6
6
|
getPersistedSandboxState,
|
|
7
7
|
getPersistedThreadState,
|
|
8
8
|
persistThreadStateById
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QQ7SY5IZ.js";
|
|
10
10
|
import {
|
|
11
11
|
AgentInvocationBusyError,
|
|
12
12
|
AgentInvocationLimitError,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
agentBindingSchema,
|
|
16
16
|
agentInvocationSchema,
|
|
17
17
|
createAgentInvocationSchema
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OY2DBUV4.js";
|
|
19
19
|
import {
|
|
20
20
|
TurnInputCommitLostError,
|
|
21
21
|
failTurnRecord,
|
|
@@ -26,16 +26,16 @@ import {
|
|
|
26
26
|
isTurnInputCommitLostError,
|
|
27
27
|
openConversationProjection,
|
|
28
28
|
saveTurnCheckpoint
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-STZVUVMS.js";
|
|
30
30
|
import {
|
|
31
31
|
getConversationEventStore,
|
|
32
32
|
getConversationStore,
|
|
33
33
|
getSqlExecutor
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-U2XOBFDK.js";
|
|
35
35
|
import {
|
|
36
36
|
juniorAgentBindings,
|
|
37
37
|
juniorAgentInvocations
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FLMD25Y5.js";
|
|
39
39
|
|
|
40
40
|
// src/chat/agent-invocations/work.ts
|
|
41
41
|
import { z } from "zod";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
coerceThreadConversationState,
|
|
3
3
|
getPersistedThreadState,
|
|
4
4
|
persistThreadStateById
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QQ7SY5IZ.js";
|
|
6
6
|
import {
|
|
7
7
|
pluginTaskId,
|
|
8
8
|
pluginTaskParamsSchema,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
markTurnCompleted,
|
|
23
23
|
normalizeToolNameFromResult,
|
|
24
24
|
stripRuntimeTurnContext
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-STZVUVMS.js";
|
|
26
26
|
import {
|
|
27
27
|
JUNIOR_THREAD_STATE_TTL_MS
|
|
28
28
|
} from "./chunk-3Y47VMHV.js";
|
|
@@ -33,25 +33,25 @@ import {
|
|
|
33
33
|
createPluginModel,
|
|
34
34
|
createPluginState,
|
|
35
35
|
getPlugins
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-MNY5M7RB.js";
|
|
37
37
|
import {
|
|
38
38
|
getConversationStore,
|
|
39
39
|
getDb,
|
|
40
40
|
sameActorIdentity
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-U2XOBFDK.js";
|
|
42
42
|
import {
|
|
43
43
|
juniorConversations,
|
|
44
44
|
juniorTaskExecutions
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FLMD25Y5.js";
|
|
46
46
|
import {
|
|
47
47
|
getStateAdapter
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IYFKONIL.js";
|
|
49
49
|
import {
|
|
50
50
|
ProviderError,
|
|
51
51
|
findProviderError,
|
|
52
52
|
getProviderErrorAttributes,
|
|
53
53
|
getProviderErrorUserMessage
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-RVENVPNO.js";
|
|
55
55
|
import {
|
|
56
56
|
credentialSubjectSchema
|
|
57
57
|
} from "./chunk-BDUENQD3.js";
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
import {
|
|
62
62
|
buildTurnFailureResponse,
|
|
63
63
|
logWarn
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-DNSIU27S.js";
|
|
65
65
|
|
|
66
66
|
// src/chat/runtime/delivered-turn-state.ts
|
|
67
67
|
function buildDeliveredTurnStatePatch(args) {
|
|
@@ -87,7 +87,7 @@ import { pluginRunContextSchema } from "@sentry/junior-plugin-api";
|
|
|
87
87
|
|
|
88
88
|
// src/chat/services/turn-session-routing.ts
|
|
89
89
|
async function resolveTurnSessionRouting(args) {
|
|
90
|
-
const conversationStore = args.conversationStore ?? (await import("./db-
|
|
90
|
+
const conversationStore = args.conversationStore ?? (await import("./db-KKOZRE62.js")).getConversationStore();
|
|
91
91
|
const conversation = await conversationStore.get({
|
|
92
92
|
conversationId: args.conversationId
|
|
93
93
|
});
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
formatProviderLabel,
|
|
6
6
|
startOAuthFlow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VXFDVY4C.js";
|
|
8
8
|
import {
|
|
9
9
|
parseSandboxEgressAuthRequiredSignal
|
|
10
10
|
} from "./chunk-7MA4HV4W.js";
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
abandonReplacedPendingAuth,
|
|
13
13
|
canReusePendingAuthLink,
|
|
14
14
|
recordAuthorizationRequested
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-STZVUVMS.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENT_INVOCATION_MAILBOX_STATUSES
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FLMD25Y5.js";
|
|
19
19
|
import {
|
|
20
20
|
TURN_REASONING_LEVELS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RVENVPNO.js";
|
|
22
22
|
import {
|
|
23
23
|
pluginCatalogRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CGAIDDLD.js";
|
|
25
25
|
import {
|
|
26
26
|
credentialContextSchema
|
|
27
27
|
} from "./chunk-BDUENQD3.js";
|