@sentry/junior 0.107.0 → 0.108.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-ICPIJAFY.js → agent-hooks-NU5HK3PS.js} +4 -4
- package/dist/api/conversations/list.d.ts +1 -0
- package/dist/api.js +11 -8
- package/dist/app.js +270 -48
- package/dist/chat/conversations/history.d.ts +16 -5
- package/dist/chat/conversations/message-projection.d.ts +3 -5
- package/dist/chat/resource-events/store.d.ts +6 -0
- package/dist/chat/runtime/slack-runtime.d.ts +3 -0
- package/dist/chat/task-execution/slack-work.d.ts +237 -10
- package/dist/chat/tool-support/turn-deadline-result.d.ts +3 -0
- package/dist/{chunk-YFQ7CQDE.js → chunk-3RGQLX2F.js} +10 -16
- package/dist/{chunk-CQ7KSO2B.js → chunk-A5CO2EHL.js} +6 -6
- package/dist/{chunk-AUUOHQAT.js → chunk-AHJR2IFF.js} +1 -1
- package/dist/{chunk-SPUAJVVH.js → chunk-B5I5LMSP.js} +1 -1
- package/dist/{chunk-B2Z2H66D.js → chunk-H3QYZL7K.js} +32 -2
- package/dist/{chunk-4YF7Z6IA.js → chunk-J3B3FPP2.js} +2 -2
- package/dist/{chunk-EDLNHZH3.js → chunk-KPMPQ6AA.js} +143 -98
- package/dist/{chunk-NVOTGWYX.js → chunk-TE4QHJH4.js} +25 -10
- package/dist/{chunk-YNP2ATQX.js → chunk-TWINAEZQ.js} +6 -5
- package/dist/{chunk-RMVOAJRL.js → chunk-UD6THJ2I.js} +2 -2
- package/dist/{chunk-IGHMVDWI.js → chunk-XKB7LGIW.js} +1 -1
- package/dist/cli/chat.js +11 -11
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-warmup.js +2 -2
- package/dist/cli/upgrade.js +6 -11
- package/dist/{db-DIGO4TGW.js → db-AMRBAT5D.js} +1 -1
- package/dist/{runner-ACR2HAIC.js → runner-TQH5GAJ4.js} +7 -7
- package/package.json +7 -7
package/dist/cli/upgrade.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
recordConversationActivity,
|
|
5
5
|
recordConversationExecution,
|
|
6
6
|
requestConversationWork
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-TWINAEZQ.js";
|
|
8
8
|
import {
|
|
9
9
|
defineJuniorPlugins,
|
|
10
10
|
pluginCatalogConfigFromEnv,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
coerceThreadConversationState,
|
|
20
20
|
listAgentTurnSessionSummariesForConversations,
|
|
21
21
|
piMessageSchema
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-J3B3FPP2.js";
|
|
23
23
|
import {
|
|
24
24
|
addAgentTurnUsage
|
|
25
25
|
} from "../chunk-MU6HHZEN.js";
|
|
@@ -30,12 +30,12 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
createPluginLogger,
|
|
32
32
|
createPluginState
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-AHJR2IFF.js";
|
|
34
34
|
import {
|
|
35
35
|
disconnectStateAdapter,
|
|
36
36
|
getConnectedStateContext,
|
|
37
37
|
getStateAdapter
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-H3QYZL7K.js";
|
|
39
39
|
import {
|
|
40
40
|
contextProvenance,
|
|
41
41
|
conversationEventDataSchema,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
newConversationEventSchema,
|
|
50
50
|
sanitizePostgresJson,
|
|
51
51
|
withConversationEventLock
|
|
52
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-TE4QHJH4.js";
|
|
53
53
|
import {
|
|
54
54
|
COMPACTION_SUMMARY_PREFIX,
|
|
55
55
|
getChatConfig,
|
|
@@ -3392,12 +3392,7 @@ async function normalizeConversation(args) {
|
|
|
3392
3392
|
replacementCount = matchingMessagePrefix(previous, current);
|
|
3393
3393
|
} else {
|
|
3394
3394
|
const end = checkpointEnd(current);
|
|
3395
|
-
|
|
3396
|
-
throw new Error(
|
|
3397
|
-
`Cannot find ${reason} summary at event ${marker.seq} during upgrade`
|
|
3398
|
-
);
|
|
3399
|
-
}
|
|
3400
|
-
replacementCount = end + 1;
|
|
3395
|
+
replacementCount = end < 0 ? current.length : end + 1;
|
|
3401
3396
|
}
|
|
3402
3397
|
const replacementRows = current.slice(0, replacementCount);
|
|
3403
3398
|
replacementHistory = replacementRows.map(
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
finalizeFailedTurnReplyWithEvent,
|
|
5
5
|
processPluginTask,
|
|
6
6
|
scheduleSessionCompletedPluginTasks
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-A5CO2EHL.js";
|
|
8
8
|
import "./chunk-KNFROR7R.js";
|
|
9
9
|
import {
|
|
10
10
|
buildConversationContext,
|
|
@@ -23,21 +23,21 @@ import {
|
|
|
23
23
|
startActiveTurn,
|
|
24
24
|
updateConversationStats,
|
|
25
25
|
upsertConversationMessage
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3RGQLX2F.js";
|
|
27
27
|
import {
|
|
28
28
|
coerceThreadConversationState,
|
|
29
29
|
loadProjection
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-J3B3FPP2.js";
|
|
31
31
|
import "./chunk-MU6HHZEN.js";
|
|
32
32
|
import "./chunk-PDO5BLNM.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-UD6THJ2I.js";
|
|
34
|
+
import "./chunk-AHJR2IFF.js";
|
|
35
35
|
import "./chunk-G3E7SCME.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-H3QYZL7K.js";
|
|
37
37
|
import "./chunk-VH6KWKG2.js";
|
|
38
38
|
import {
|
|
39
39
|
getConversationEventStore
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TE4QHJH4.js";
|
|
41
41
|
import "./chunk-4ZNGQH7C.js";
|
|
42
42
|
import {
|
|
43
43
|
stripRuntimeTurnContext,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.108.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@slack/web-api": "^7.16.0",
|
|
62
62
|
"@vercel/functions": "^3.6.0",
|
|
63
63
|
"@vercel/queue": "^0.2.0",
|
|
64
|
-
"@vercel/sandbox": "2.
|
|
64
|
+
"@vercel/sandbox": "2.8.0",
|
|
65
65
|
"ai": "^6.0.190",
|
|
66
66
|
"bash-tool": "^1.3.16",
|
|
67
67
|
"chat": "4.29.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"pg": "^8.16.3",
|
|
76
76
|
"yaml": "^2.9.0",
|
|
77
77
|
"zod": "^4.4.3",
|
|
78
|
-
"@sentry/junior-plugin-api": "0.
|
|
78
|
+
"@sentry/junior-plugin-api": "0.108.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@emnapi/core": "^1.10.0",
|
|
@@ -92,10 +92,10 @@
|
|
|
92
92
|
"typescript": "^6.0.3",
|
|
93
93
|
"vercel": "^54.4.0",
|
|
94
94
|
"vitest": "^4.1.7",
|
|
95
|
-
"@sentry/junior-
|
|
96
|
-
"@sentry/junior-memory": "0.
|
|
97
|
-
"@sentry/junior-
|
|
98
|
-
"@sentry/junior-
|
|
95
|
+
"@sentry/junior-scheduler": "0.108.0",
|
|
96
|
+
"@sentry/junior-memory": "0.108.0",
|
|
97
|
+
"@sentry/junior-testing": "0.0.0",
|
|
98
|
+
"@sentry/junior-github": "0.108.0"
|
|
99
99
|
},
|
|
100
100
|
"scripts": {
|
|
101
101
|
"build": "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
|