@sentry/junior 0.71.3 → 0.72.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/bin/junior.mjs +10 -0
- package/dist/api-reference.d.ts +2 -0
- package/dist/app.d.ts +5 -5
- package/dist/app.js +1039 -1971
- package/dist/chat/agent-dispatch/heartbeat.d.ts +0 -6
- package/dist/chat/mcp/errors.d.ts +3 -0
- package/dist/chat/mcp/tool-manager.d.ts +5 -1
- package/dist/chat/plugins/agent-hooks.d.ts +3 -2
- package/dist/chat/requester.d.ts +60 -0
- package/dist/chat/respond.d.ts +2 -6
- package/dist/chat/runtime/agent-continue-runner.d.ts +25 -0
- package/dist/chat/runtime/reply-executor.d.ts +4 -4
- package/dist/chat/runtime/turn.d.ts +2 -2
- package/dist/chat/services/agent-continue.d.ts +27 -0
- package/dist/chat/services/message-actor-identity.d.ts +12 -4
- package/dist/chat/services/turn-session-record.d.ts +10 -7
- package/dist/chat/slack/user.d.ts +4 -4
- package/dist/chat/state/adapter.d.ts +2 -0
- package/dist/chat/state/conversation-details.d.ts +4 -3
- package/dist/chat/state/session-log.d.ts +43 -0
- package/dist/chat/state/turn-session.d.ts +7 -10
- package/dist/chat/task-execution/slack-work.d.ts +5 -5
- package/dist/chat/task-execution/store.d.ts +83 -48
- package/dist/chat/task-execution/worker.d.ts +3 -3
- package/dist/chat/tools/definition.d.ts +3 -0
- package/dist/chat/tools/execution/tool-error-handler.d.ts +2 -1
- package/dist/chat/tools/types.d.ts +2 -5
- package/dist/{chunk-R62YWUNO.js → chunk-3FYPXHPL.js} +10 -28
- package/dist/chunk-4JXCSGSA.js +212 -0
- package/dist/{chunk-GT67ZWZQ.js → chunk-55XEZFGD.js} +5 -3
- package/dist/{chunk-BBXYXOJW.js → chunk-6GEYPE6T.js} +18 -523
- package/dist/chunk-G3E7SCME.js +28 -0
- package/dist/{chunk-UXG6TU2U.js → chunk-GB3AL54K.js} +8 -93
- package/dist/chunk-HNMUVGSR.js +1119 -0
- package/dist/{chunk-XE2VFQQN.js → chunk-ICKIDP7G.js} +1 -1
- package/dist/chunk-KVZL5NZS.js +519 -0
- package/dist/chunk-PP7AGSBU.js +185 -0
- package/dist/{chunk-B5HKWWQB.js → chunk-VLIO6RQR.js} +8 -6
- package/dist/{chunk-HOGQL2H6.js → chunk-VSNA5KAB.js} +177 -101
- package/dist/{chunk-76YMBKW7.js → chunk-XC33FJZN.js} +4 -12
- package/dist/{chunk-JS4HURDT.js → chunk-ZJQPA67D.js} +25 -25
- package/dist/cli/check.js +10 -8
- package/dist/cli/run.js +9 -1
- package/dist/cli/snapshot-warmup.js +10 -7
- package/dist/cli/upgrade.js +599 -0
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +5 -4
- package/dist/plugins.d.ts +1 -1
- package/dist/reporting/conversations.d.ts +116 -0
- package/dist/reporting.d.ts +24 -129
- package/dist/reporting.js +310 -158
- package/package.json +3 -3
- package/dist/chat/runtime/timeout-resume-runner.d.ts +0 -19
- package/dist/chat/services/requester-identity.d.ts +0 -19
- package/dist/chat/services/timeout-resume.d.ts +0 -23
- package/dist/handlers/turn-resume.d.ts +0 -4
package/bin/junior.mjs
CHANGED
|
@@ -62,6 +62,15 @@ async function runCheck(dir) {
|
|
|
62
62
|
await runCheckFn(dir);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
async function runUpgrade() {
|
|
66
|
+
const runUpgradeFn = await loadCliFunction(
|
|
67
|
+
"upgrade",
|
|
68
|
+
"runUpgrade",
|
|
69
|
+
"Upgrade module is unavailable; reinstall @sentry/junior and retry.",
|
|
70
|
+
);
|
|
71
|
+
await runUpgradeFn();
|
|
72
|
+
}
|
|
73
|
+
|
|
65
74
|
async function main() {
|
|
66
75
|
await loadCliEnvFiles();
|
|
67
76
|
const runCli = await loadCliFunction(
|
|
@@ -73,6 +82,7 @@ async function main() {
|
|
|
73
82
|
runInit,
|
|
74
83
|
runSnapshotCreate,
|
|
75
84
|
runCheck,
|
|
85
|
+
runUpgrade,
|
|
76
86
|
});
|
|
77
87
|
if (exitCode !== 0) {
|
|
78
88
|
process.exit(exitCode);
|
package/dist/api-reference.d.ts
CHANGED
|
@@ -5,5 +5,7 @@ export { juniorNitro } from "./nitro";
|
|
|
5
5
|
export type { JuniorNitroOptions } from "./nitro";
|
|
6
6
|
export { defineJuniorPlugins } from "./plugins";
|
|
7
7
|
export type { JuniorPluginInput, JuniorPluginSet, JuniorPluginSetOptions, } from "./plugins";
|
|
8
|
+
export { createJuniorReporting } from "./reporting";
|
|
9
|
+
export type { ConversationFeed, ConversationReport, ConversationReportStatus, ConversationRunReport, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, HealthReport, JuniorReporting, PluginOperationalReport, PluginOperationalReportFeed, PluginPackageContentItemReport, PluginPackageContentReport, PluginReport, RequesterIdentity, RuntimeInfoReport, SkillReport, TranscriptMessage, TranscriptPart, TranscriptPartType, TranscriptRole, } from "./reporting";
|
|
8
10
|
export { juniorVercelConfig } from "./vercel";
|
|
9
11
|
export type { JuniorVercelConfigOptions } from "./vercel";
|
package/dist/app.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
-
import { type JuniorPluginSet } from "
|
|
3
|
-
import { type VercelConversationWorkCallbackOptions } from "
|
|
4
|
-
import type { WaitUntilFn } from "
|
|
5
|
-
export { defineJuniorPlugins } from "
|
|
6
|
-
export type { JuniorPluginInput, JuniorPluginSet, JuniorPluginSetOptions, } from "
|
|
2
|
+
import { type JuniorPluginSet } from "./plugins";
|
|
3
|
+
import { type VercelConversationWorkCallbackOptions } from "./chat/task-execution/vercel-callback";
|
|
4
|
+
import type { WaitUntilFn } from "./handlers/types";
|
|
5
|
+
export { defineJuniorPlugins } from "./plugins";
|
|
6
|
+
export type { JuniorPluginInput, JuniorPluginSet, JuniorPluginSetOptions, } from "./plugins";
|
|
7
7
|
export interface JuniorAppOptions {
|
|
8
8
|
/** Slack-specific overrides applied after env parsing. */
|
|
9
9
|
slack?: {
|