@sentry/junior 0.110.0 → 0.112.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-ELT4ODFF.js → agent-hooks-6MVTPKP4.js} +8 -8
- package/dist/api/people/profile.d.ts +1 -0
- package/dist/api/schema/person.d.ts +2 -0
- package/dist/api/schema.js +1 -1
- package/dist/api.js +13 -12
- package/dist/app.js +551 -401
- package/dist/build/virtual-config.d.ts +2 -0
- package/dist/{catalog-runtime-4GI22PXK.js → catalog-runtime-UEO25P2J.js} +5 -5
- package/dist/chat/agent/request.d.ts +3 -6
- package/dist/chat/agent/sandbox.d.ts +36 -11
- package/dist/chat/agent/tools.d.ts +5 -8
- package/dist/chat/config.d.ts +8 -1
- package/dist/chat/pi/sdk.d.ts +1 -1
- package/dist/chat/plugins/agent-hooks.d.ts +2 -2
- package/dist/chat/runtime/agent-continue-runner.d.ts +7 -3
- package/dist/chat/runtime/agent-run-outcome.d.ts +1 -0
- package/dist/chat/runtime/slack-runtime.d.ts +1 -2
- package/dist/chat/runtime/thread-state.d.ts +3 -7
- package/dist/chat/runtime/turn-preparation.d.ts +2 -2
- package/dist/chat/sandbox/command-result.d.ts +91 -0
- package/dist/chat/sandbox/errors.d.ts +3 -1
- package/dist/chat/sandbox/ref.d.ts +5 -0
- package/dist/chat/sandbox/sandbox.d.ts +19 -46
- package/dist/chat/sandbox/session.d.ts +16 -20
- package/dist/chat/sandbox/skill-sync.d.ts +2 -2
- package/dist/chat/sandbox/workspace.d.ts +14 -12
- package/dist/chat/services/auth-pause-response.d.ts +1 -1
- package/dist/chat/services/auth-pause.d.ts +2 -1
- package/dist/chat/services/mcp-auth-orchestration.d.ts +1 -1
- package/dist/chat/services/plugin-auth-orchestration.d.ts +2 -1
- package/dist/chat/services/turn-result.d.ts +3 -4
- package/dist/chat/task-execution/slack-work.d.ts +3 -1
- package/dist/chat/task-execution/state.d.ts +75 -22
- package/dist/chat/task-execution/store.d.ts +34 -3
- package/dist/chat/task-execution/worker.d.ts +0 -1
- package/dist/chat/tool-support/normalize-result.d.ts +2 -2
- package/dist/chat/tool-support/pi-tool-adapter.d.ts +2 -2
- package/dist/chat/tool-support/structured-result.d.ts +1 -2
- package/dist/chat/tools/resource-events.d.ts +3 -129
- package/dist/chat/tools/sandbox/file-uploads.d.ts +1 -1
- package/dist/chat/{runtime → tools/sandbox}/generated-artifacts.d.ts +3 -3
- package/dist/chat/tools/types.d.ts +1 -1
- package/dist/chat/tools/web/fetch-content.d.ts +5 -0
- package/dist/chat/tools/web/image-generate.d.ts +2 -1
- package/dist/chat/tools/web/search.d.ts +1 -1
- package/dist/{chunk-3S7YYHBI.js → chunk-2FJ6WEYV.js} +1 -1
- package/dist/{chunk-Y5FK3CNG.js → chunk-4EJO4HIC.js} +1 -1
- package/dist/{chunk-W6RJZG7F.js → chunk-66IP6WED.js} +306 -31
- package/dist/{chunk-W75ZPAGG.js → chunk-AU2JVUDF.js} +1 -1
- package/dist/{chunk-3UBQI73J.js → chunk-AWNDKI5K.js} +7 -8
- package/dist/{chunk-IYKPU7H6.js → chunk-CSS7JHEM.js} +1 -1
- package/dist/{chunk-SBOBTS27.js → chunk-GJG67YFS.js} +2 -2
- package/dist/{chunk-RHHRKSPI.js → chunk-GR4IB6OQ.js} +8729 -9024
- package/dist/{chunk-ZKIOWEFL.js → chunk-IV2O4HQJ.js} +1 -1
- package/dist/{chunk-FPK7XY3F.js → chunk-JE23YR3X.js} +1 -0
- package/dist/{chunk-L5XQPJ7T.js → chunk-NDQL4ESR.js} +2 -2
- package/dist/{chunk-WNOVRQ67.js → chunk-PK4ETCUQ.js} +46 -18
- package/dist/{chunk-4QU44P7Q.js → chunk-QIALGHRN.js} +2 -2
- package/dist/{chunk-C5XAFTHY.js → chunk-SKEMI4IF.js} +16 -13
- package/dist/{chunk-Y3H2DN6F.js → chunk-TZU3R5OC.js} +1 -1
- package/dist/{chunk-2T7TIEXI.js → chunk-VBSVNOLA.js} +11 -15
- package/dist/{chunk-GK47NBDE.js → chunk-X3SP5RDW.js} +1 -1
- package/dist/{chunk-3TV7OEHL.js → chunk-ZHP4KNF7.js} +1 -1
- package/dist/cli/chat.js +19 -19
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +11 -11
- package/dist/cli/snapshot-warmup.js +8 -8
- package/dist/cli/upgrade.js +5 -5
- package/dist/{db-Y6W6CWWW.js → db-P5H5RVQV.js} +5 -5
- package/dist/instrumentation.js +2 -2
- package/dist/nitro.js +14 -8
- package/dist/{runner-BBFV5GLR.js → runner-B4ZDUO3R.js} +19 -28
- package/dist/{skills-AR4AF32L.js → skills-GWTOZ3XV.js} +6 -6
- package/dist/{validation-FBIEPTC2.js → validation-QFIC6XH6.js} +6 -6
- package/dist/version.js +1 -1
- package/package.json +5 -5
|
@@ -11,21 +11,21 @@ import {
|
|
|
11
11
|
getPlugins,
|
|
12
12
|
setPlugins,
|
|
13
13
|
validatePlugins
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VBSVNOLA.js";
|
|
15
|
+
import "./chunk-X3SP5RDW.js";
|
|
16
|
+
import "./chunk-NDQL4ESR.js";
|
|
17
|
+
import "./chunk-QIALGHRN.js";
|
|
18
18
|
import "./chunk-JQFJO5WH.js";
|
|
19
19
|
import "./chunk-4ZNGQH7C.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-PK4ETCUQ.js";
|
|
21
21
|
import "./chunk-VFUK3X5B.js";
|
|
22
22
|
import "./chunk-6Y5L4BOM.js";
|
|
23
23
|
import "./chunk-C4MZ3GP5.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CSS7JHEM.js";
|
|
25
25
|
import "./chunk-42WRQLJ6.js";
|
|
26
26
|
import "./chunk-6GWA276C.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-AU2JVUDF.js";
|
|
28
|
+
import "./chunk-IV2O4HQJ.js";
|
|
29
29
|
import "./chunk-MLKGABMK.js";
|
|
30
30
|
export {
|
|
31
31
|
PluginHookDeniedError,
|
|
@@ -8,6 +8,7 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
8
8
|
activityDays: import("zod").ZodArray<import("zod").ZodObject<{
|
|
9
9
|
active: import("zod").ZodNumber;
|
|
10
10
|
conversations: import("zod").ZodNumber;
|
|
11
|
+
costUsd: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
11
12
|
date: import("zod").ZodString;
|
|
12
13
|
durationMs: import("zod").ZodNumber;
|
|
13
14
|
failed: import("zod").ZodNumber;
|
|
@@ -14,6 +14,7 @@ export declare const peopleConversationStatsItemSchema: z.ZodObject<{
|
|
|
14
14
|
export declare const actorActivityDayReportSchema: z.ZodObject<{
|
|
15
15
|
active: z.ZodNumber;
|
|
16
16
|
conversations: z.ZodNumber;
|
|
17
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
17
18
|
date: z.ZodString;
|
|
18
19
|
durationMs: z.ZodNumber;
|
|
19
20
|
failed: z.ZodNumber;
|
|
@@ -85,6 +86,7 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
85
86
|
activityDays: z.ZodArray<z.ZodObject<{
|
|
86
87
|
active: z.ZodNumber;
|
|
87
88
|
conversations: z.ZodNumber;
|
|
89
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
88
90
|
date: z.ZodString;
|
|
89
91
|
durationMs: z.ZodNumber;
|
|
90
92
|
failed: z.ZodNumber;
|
package/dist/api/schema.js
CHANGED
package/dist/api.js
CHANGED
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
locationDirectoryReportSchema,
|
|
16
16
|
locationParamsSchema,
|
|
17
17
|
personParamsSchema
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JE23YR3X.js";
|
|
19
19
|
import {
|
|
20
20
|
buildSentryConversationUrl,
|
|
21
21
|
formatSlackConversationRedactedLabel,
|
|
22
22
|
readHealthReport,
|
|
23
23
|
resolveSlackConversationContextFromThreadId
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2FJ6WEYV.js";
|
|
25
25
|
import {
|
|
26
26
|
healthReportSchema,
|
|
27
27
|
pluginOperationalReportFeedSchema,
|
|
@@ -34,12 +34,12 @@ import {
|
|
|
34
34
|
hasAgentTurnUsage
|
|
35
35
|
} from "./chunk-MU6HHZEN.js";
|
|
36
36
|
import "./chunk-PDO5BLNM.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-NDQL4ESR.js";
|
|
38
38
|
import {
|
|
39
39
|
decodeStoredConversationEvent,
|
|
40
40
|
getDb,
|
|
41
41
|
getSqlExecutor
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-QIALGHRN.js";
|
|
43
43
|
import {
|
|
44
44
|
juniorConversationEvents,
|
|
45
45
|
juniorConversations,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
juniorUsers
|
|
48
48
|
} from "./chunk-JQFJO5WH.js";
|
|
49
49
|
import "./chunk-4ZNGQH7C.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-PK4ETCUQ.js";
|
|
51
51
|
import {
|
|
52
52
|
juniorDestinations
|
|
53
53
|
} from "./chunk-VFUK3X5B.js";
|
|
@@ -55,11 +55,11 @@ import {
|
|
|
55
55
|
canExposeConversationPayload,
|
|
56
56
|
parseSlackThreadId
|
|
57
57
|
} from "./chunk-6Y5L4BOM.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-CSS7JHEM.js";
|
|
59
59
|
import "./chunk-42WRQLJ6.js";
|
|
60
60
|
import "./chunk-6GWA276C.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-AU2JVUDF.js";
|
|
62
|
+
import "./chunk-IV2O4HQJ.js";
|
|
63
63
|
import "./chunk-MLKGABMK.js";
|
|
64
64
|
|
|
65
65
|
// src/api.ts
|
|
@@ -2163,6 +2163,7 @@ async function readPeopleProfileFromSql(email, options = {}) {
|
|
|
2163
2163
|
days.set(row.date, {
|
|
2164
2164
|
active: row.active,
|
|
2165
2165
|
conversations: row.conversations,
|
|
2166
|
+
...row.costUsd !== null ? { costUsd: row.costUsd } : {},
|
|
2166
2167
|
date: row.date,
|
|
2167
2168
|
durationMs: row.durationMs,
|
|
2168
2169
|
failed: row.failed,
|
|
@@ -2256,7 +2257,7 @@ function readDescriptionText(home) {
|
|
|
2256
2257
|
}
|
|
2257
2258
|
}
|
|
2258
2259
|
async function readSkillReports() {
|
|
2259
|
-
const { discoverSkills } = await import("./skills-
|
|
2260
|
+
const { discoverSkills } = await import("./skills-GWTOZ3XV.js");
|
|
2260
2261
|
const skills = await discoverSkills();
|
|
2261
2262
|
return skillReportsSchema.parse(
|
|
2262
2263
|
skills.map((skill) => ({
|
|
@@ -2266,7 +2267,7 @@ async function readSkillReports() {
|
|
|
2266
2267
|
);
|
|
2267
2268
|
}
|
|
2268
2269
|
async function readPluginReports() {
|
|
2269
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
2270
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-UEO25P2J.js");
|
|
2270
2271
|
return pluginReportsSchema.parse(
|
|
2271
2272
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
2272
2273
|
name: plugin.manifest.name
|
|
@@ -2276,7 +2277,7 @@ async function readPluginReports() {
|
|
|
2276
2277
|
async function readRuntimeInfoReport() {
|
|
2277
2278
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
2278
2279
|
import("./discovery-RMHYSRL7.js"),
|
|
2279
|
-
import("./catalog-runtime-
|
|
2280
|
+
import("./catalog-runtime-UEO25P2J.js"),
|
|
2280
2281
|
readPluginReports(),
|
|
2281
2282
|
readSkillReports()
|
|
2282
2283
|
]);
|
|
@@ -2292,7 +2293,7 @@ async function readRuntimeInfoReport() {
|
|
|
2292
2293
|
}
|
|
2293
2294
|
async function readPluginOperationalReportFeed() {
|
|
2294
2295
|
const nowMs = Date.now();
|
|
2295
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
2296
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-6MVTPKP4.js");
|
|
2296
2297
|
return pluginOperationalReportFeedSchema.parse({
|
|
2297
2298
|
source: "plugins",
|
|
2298
2299
|
generatedAt: new Date(nowMs).toISOString(),
|