@sentry/junior 0.10.0 → 0.10.2
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/{chunk-7RM2Y52T.js → chunk-BID5VOWA.js} +4 -4
- package/dist/{chunk-BJ4EBVQK.js → chunk-FESDWP3I.js} +1 -1
- package/dist/{chunk-WM66QDLA.js → chunk-GTJP3RVX.js} +1 -1
- package/dist/{chunk-MY7JNCS2.js → chunk-LSXXIMX3.js} +7 -7
- package/dist/cli/check.js +2 -2
- package/dist/cli/snapshot-warmup.js +2 -2
- package/dist/handlers/router.js +4 -4
- package/dist/handlers/webhooks.js +4 -4
- package/package.json +5 -5
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
logCapabilityCatalogLoadedOnce,
|
|
8
8
|
parseSkillInvocation,
|
|
9
9
|
stripFrontmatter
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GTJP3RVX.js";
|
|
11
11
|
import {
|
|
12
12
|
SANDBOX_SKILLS_ROOT,
|
|
13
13
|
SANDBOX_WORKSPACE_ROOT,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
runNonInteractiveCommand,
|
|
28
28
|
sandboxSkillDir,
|
|
29
29
|
toOptionalTrimmed
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FESDWP3I.js";
|
|
31
31
|
import {
|
|
32
32
|
CredentialUnavailableError,
|
|
33
33
|
createPluginBroker,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
toOptionalString,
|
|
52
52
|
withContext,
|
|
53
53
|
withSpan
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-LSXXIMX3.js";
|
|
55
55
|
import {
|
|
56
56
|
aboutPathCandidates,
|
|
57
57
|
homeDir,
|
|
@@ -10568,7 +10568,7 @@ function createProgressReporter(args) {
|
|
|
10568
10568
|
}
|
|
10569
10569
|
currentStatus = text;
|
|
10570
10570
|
lastStatusAt = now();
|
|
10571
|
-
const suggestions = text ? [text] :
|
|
10571
|
+
const suggestions = text ? [text] : void 0;
|
|
10572
10572
|
const previous = inflightStatusUpdate;
|
|
10573
10573
|
const request = (async () => {
|
|
10574
10574
|
await previous;
|
|
@@ -54,7 +54,7 @@ var ANSI = {
|
|
|
54
54
|
gray: "\x1B[90m"
|
|
55
55
|
};
|
|
56
56
|
var CONSOLE_PRIORITY_KEYS = [
|
|
57
|
-
"
|
|
57
|
+
"gen_ai.conversation.id",
|
|
58
58
|
"app.turn.id",
|
|
59
59
|
"event.name",
|
|
60
60
|
"error.message",
|
|
@@ -71,7 +71,7 @@ var CONSOLE_PRIORITY_INDEX = new Map(
|
|
|
71
71
|
CONSOLE_PRIORITY_KEYS.map((key, index) => [key, index])
|
|
72
72
|
);
|
|
73
73
|
var CONSOLE_ALWAYS_HIDDEN_KEYS = /* @__PURE__ */ new Set([
|
|
74
|
-
"
|
|
74
|
+
"gen_ai.agent.name",
|
|
75
75
|
"app.platform",
|
|
76
76
|
"enduser.id",
|
|
77
77
|
"enduser.pseudo_id",
|
|
@@ -95,8 +95,8 @@ var CONSOLE_PREVIEW_KEYS = /* @__PURE__ */ new Set([
|
|
|
95
95
|
function getSentryEnvironment() {
|
|
96
96
|
return (process.env.SENTRY_ENVIRONMENT ?? process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT ?? process.env.VERCEL_ENV ?? process.env.NODE_ENV ?? "").trim().toLowerCase();
|
|
97
97
|
}
|
|
98
|
-
function shouldSuppressInfoLog(
|
|
99
|
-
return
|
|
98
|
+
function shouldSuppressInfoLog(level) {
|
|
99
|
+
return level === "info";
|
|
100
100
|
}
|
|
101
101
|
function shouldEmitConsole(level) {
|
|
102
102
|
if (process.env.NODE_ENV === "test") {
|
|
@@ -237,7 +237,7 @@ function sanitizeValue(value) {
|
|
|
237
237
|
}
|
|
238
238
|
function contextToAttributes(context) {
|
|
239
239
|
const attributes = {
|
|
240
|
-
"
|
|
240
|
+
"gen_ai.conversation.id": context.conversationId,
|
|
241
241
|
"app.turn.id": context.turnId,
|
|
242
242
|
"app.agent.id": context.agentId,
|
|
243
243
|
"app.platform": context.platform,
|
|
@@ -248,7 +248,7 @@ function contextToAttributes(context) {
|
|
|
248
248
|
"enduser.id": context.slackUserId,
|
|
249
249
|
"enduser.pseudo_id": context.slackUserName,
|
|
250
250
|
"app.run.id": context.runId,
|
|
251
|
-
"
|
|
251
|
+
"gen_ai.agent.name": context.assistantUserName,
|
|
252
252
|
"gen_ai.request.model": context.modelId,
|
|
253
253
|
"app.skill.name": context.skillName,
|
|
254
254
|
"http.request.method": context.httpMethod,
|
|
@@ -368,7 +368,7 @@ function shouldHideConsoleAttribute(level, eventName, key, attributes) {
|
|
|
368
368
|
if (key === "app.agent.id" && attributes[key] === attributes["app.turn.id"]) {
|
|
369
369
|
return true;
|
|
370
370
|
}
|
|
371
|
-
if (key === "messaging.message.conversation_id" && attributes[key] === attributes["
|
|
371
|
+
if (key === "messaging.message.conversation_id" && attributes[key] === attributes["gen_ai.conversation.id"]) {
|
|
372
372
|
return true;
|
|
373
373
|
}
|
|
374
374
|
if (key === "app.message.id" && attributes[key] === attributes["messaging.message.id"]) {
|
package/dist/cli/check.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
disconnectStateAdapter,
|
|
3
3
|
resolveRuntimeDependencySnapshot
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-FESDWP3I.js";
|
|
5
5
|
import {
|
|
6
6
|
getPluginProviders,
|
|
7
7
|
getPluginRuntimeDependencies,
|
|
8
8
|
getPluginRuntimePostinstall
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-LSXXIMX3.js";
|
|
10
10
|
import "../chunk-KCLEEKYX.js";
|
|
11
11
|
|
|
12
12
|
// src/cli/snapshot-warmup.ts
|
package/dist/handlers/router.js
CHANGED
|
@@ -28,15 +28,15 @@ import {
|
|
|
28
28
|
updateConversationStats,
|
|
29
29
|
uploadFilesToThread,
|
|
30
30
|
upsertConversationMessage
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-BID5VOWA.js";
|
|
32
32
|
import {
|
|
33
33
|
GET
|
|
34
34
|
} from "../chunk-4RBEYCOG.js";
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-GTJP3RVX.js";
|
|
36
36
|
import {
|
|
37
37
|
botConfig,
|
|
38
38
|
getStateAdapter
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-FESDWP3I.js";
|
|
40
40
|
import {
|
|
41
41
|
buildOAuthTokenRequest,
|
|
42
42
|
getPluginOAuthConfig,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
logInfo,
|
|
45
45
|
logWarn,
|
|
46
46
|
parseOAuthTokenResponse
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-LSXXIMX3.js";
|
|
48
48
|
import "../chunk-KCLEEKYX.js";
|
|
49
49
|
|
|
50
50
|
// src/handlers/mcp-oauth-callback.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
POST,
|
|
3
3
|
maxDuration
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-BID5VOWA.js";
|
|
5
|
+
import "../chunk-GTJP3RVX.js";
|
|
6
|
+
import "../chunk-FESDWP3I.js";
|
|
7
|
+
import "../chunk-LSXXIMX3.js";
|
|
8
8
|
import "../chunk-KCLEEKYX.js";
|
|
9
9
|
export {
|
|
10
10
|
POST,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"bin"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@ai-sdk/gateway": "^3.0.
|
|
25
|
+
"@ai-sdk/gateway": "^3.0.83",
|
|
26
26
|
"@chat-adapter/slack": "4.22.0",
|
|
27
27
|
"@chat-adapter/state-memory": "4.22.0",
|
|
28
28
|
"@chat-adapter/state-redis": "4.22.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@sinclair/typebox": "^0.34.48",
|
|
33
33
|
"@slack/web-api": "^7.15.0",
|
|
34
34
|
"@vercel/sandbox": "^1.9.0",
|
|
35
|
-
"ai": "^6.0.
|
|
35
|
+
"ai": "^6.0.141",
|
|
36
36
|
"bash-tool": "^1.3.15",
|
|
37
37
|
"chat": "4.22.0",
|
|
38
38
|
"just-bash": "^2.14.0",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"react-dom": "^19.2.4",
|
|
58
58
|
"tsup": "^8.5.1",
|
|
59
59
|
"typescript": "^5.9.3",
|
|
60
|
-
"vercel": "^50.37.
|
|
61
|
-
"vitest": "^4.1.
|
|
60
|
+
"vercel": "^50.37.2",
|
|
61
|
+
"vitest": "^4.1.2"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "tsup",
|