@sentry/junior 0.195.0 → 0.197.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-VIBTIP5F.js → agent-hooks-CM4EKXL4.js} +13 -13
- package/dist/api/schema.js +3 -3
- package/dist/api.js +27 -27
- package/dist/app.d.ts +8 -2
- package/dist/app.js +102 -108
- package/dist/{catalog-runtime-6E6SGRZK.js → catalog-runtime-V7WGCXUD.js} +4 -4
- package/dist/chat/agent/handoff.d.ts +73 -0
- package/dist/chat/config.d.ts +2 -2
- package/dist/chat/model-profile.d.ts +12 -0
- package/dist/chat/no-reply.d.ts +4 -3
- package/dist/chat/services/automated-turn-limit.d.ts +13 -34
- package/dist/chat/services/subscribed-decision.d.ts +8 -0
- package/dist/chat/slack/automated-turn-limit-notice.d.ts +2 -24
- package/dist/chat/tools/types.d.ts +6 -2
- package/dist/{chunk-RKA22BQP.js → chunk-2K26W3FP.js} +1 -1
- package/dist/{chunk-FE3Y4KES.js → chunk-4USCVHQZ.js} +5 -5
- package/dist/{chunk-PFQRZ4IB.js → chunk-4UUKQB6I.js} +7 -7
- package/dist/{chunk-KQ3GZGBK.js → chunk-5GWV7SXF.js} +4 -11
- package/dist/{chunk-7PQMTME5.js → chunk-5MMQLB2B.js} +1 -1
- package/dist/{chunk-FPQPYJEG.js → chunk-6ZQ3CE6X.js} +1 -1
- package/dist/{chunk-HUQOXMDG.js → chunk-7ENMKNEK.js} +1 -1
- package/dist/{chunk-GFBR4S3Q.js → chunk-7NL7T6VU.js} +1 -1
- package/dist/{chunk-I4RH3KLJ.js → chunk-BGSAFVJO.js} +1 -1
- package/dist/{chunk-3VWIZVK7.js → chunk-BQ7UXCUO.js} +1 -1
- package/dist/{chunk-LMYRF6HX.js → chunk-BR5GNDPS.js} +85 -14
- package/dist/{chunk-L62JVQPL.js → chunk-C2SOA3KN.js} +3 -3
- package/dist/{chunk-JBSCMOLR.js → chunk-DBTI74IT.js} +6 -6
- package/dist/{chunk-X3PBQ4BK.js → chunk-DHWYAHAM.js} +1 -1
- package/dist/{chunk-RQO67SAO.js → chunk-DLXA2ZXJ.js} +2 -2
- package/dist/{chunk-KBPWC7NU.js → chunk-EZKISZ3Q.js} +1 -1
- package/dist/{chunk-6TRQLG3D.js → chunk-FCONFDZ4.js} +1 -1
- package/dist/{chunk-7UED4D5T.js → chunk-H6QL3FWC.js} +22 -22
- package/dist/{chunk-5HNXLP4W.js → chunk-HDSDOBWN.js} +1 -1
- package/dist/{chunk-QKHZF2LH.js → chunk-IGSAXSM7.js} +4 -4
- package/dist/{chunk-HE5PZAPS.js → chunk-ITP4OR7R.js} +4 -4
- package/dist/{chunk-QPZL2IYT.js → chunk-LBN67OZR.js} +1 -1
- package/dist/{chunk-R5OHONYU.js → chunk-LIK4T6CF.js} +6 -6
- package/dist/{chunk-RZ3PBNDV.js → chunk-LMTHFU5D.js} +7 -7
- package/dist/{chunk-5NR7N567.js → chunk-MJCJ62RZ.js} +4 -4
- package/dist/{chunk-PYTRZZ4V.js → chunk-NANQFFGO.js} +8 -8
- package/dist/{chunk-D4YV5TDV.js → chunk-NHJU2ZAL.js} +11 -0
- package/dist/{chunk-FEZIEEOP.js → chunk-O2H7JUEQ.js} +289 -334
- package/dist/{chunk-CE2P6TOV.js → chunk-O5RG7SKU.js} +3 -3
- package/dist/{chunk-7MYXH5LA.js → chunk-PF3PEX4Q.js} +1 -1
- package/dist/{chunk-C4NY6L7S.js → chunk-PM5WSDAD.js} +1 -1
- package/dist/{chunk-KUQRWV53.js → chunk-S3DRTWPX.js} +5 -5
- package/dist/{chunk-N67T4VY3.js → chunk-SBCWV4E4.js} +9 -9
- package/dist/{chunk-6GGDBXXP.js → chunk-T5MK3RUT.js} +3 -3
- package/dist/{chunk-OQHO62VA.js → chunk-V2IX5Q5L.js} +8 -8
- package/dist/{chunk-DTYOEHUP.js → chunk-VAUPAX3O.js} +4 -4
- package/dist/{chunk-BJZML4RT.js → chunk-WOJG25QZ.js} +9 -9
- package/dist/{chunk-QHJZSYKY.js → chunk-XALIC5SY.js} +2 -2
- package/dist/{chunk-VYDIA2UL.js → chunk-YC5CFKME.js} +2 -6
- package/dist/{chunk-LM7UE523.js → chunk-YLBJBBYX.js} +3 -3
- package/dist/{chunk-R5BGW4WR.js → chunk-YZQLXALE.js} +2 -2
- package/dist/cli/chat.js +35 -35
- package/dist/cli/check.js +5 -5
- package/dist/cli/plugins.js +14 -14
- package/dist/cli/snapshot-create.js +10 -10
- package/dist/cli/upgrade.js +7 -7
- package/dist/{db-FVCSDROR.js → db-6BD722UD.js} +8 -8
- package/dist/instrumentation.js +3 -3
- package/dist/nitro.js +7 -7
- package/dist/{oauth-callback-server-Z5PXTDOE.js → oauth-callback-server-P6AIT27Q.js} +31 -31
- package/dist/{runner-RHYU7OGV.js → runner-OKPDZOJC.js} +23 -23
- package/dist/{skills-QTN73DN5.js → skills-CQFX3V2I.js} +5 -5
- package/dist/spawn-GA5MADGU.js +42 -0
- package/dist/task-runner-7IIYO44C.js +36 -0
- package/dist/{validation-2ZK7GA6N.js → validation-STB4W433.js} +5 -5
- package/dist/version.js +1 -1
- package/dist/{work-7IBKSZRU.js → work-B7N5TEYI.js} +23 -23
- package/dist/worker-W6PBEHCA.js +24 -0
- package/package.json +5 -5
- package/dist/spawn-R56OWLUH.js +0 -42
- package/dist/task-runner-LLJZTLRP.js +0 -36
- package/dist/worker-RNVQVCO7.js +0 -24
|
@@ -13,26 +13,26 @@ import {
|
|
|
13
13
|
getPlugins,
|
|
14
14
|
setPlugins,
|
|
15
15
|
validatePlugins
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4UUKQB6I.js";
|
|
17
17
|
import "./chunk-3Y47VMHV.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-5GWV7SXF.js";
|
|
19
|
+
import "./chunk-6ZQ3CE6X.js";
|
|
20
|
+
import "./chunk-YLBJBBYX.js";
|
|
21
|
+
import "./chunk-PF3PEX4Q.js";
|
|
22
|
+
import "./chunk-7NL7T6VU.js";
|
|
23
23
|
import "./chunk-VFUK3X5B.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-BR5GNDPS.js";
|
|
25
|
+
import "./chunk-NHJU2ZAL.js";
|
|
26
|
+
import "./chunk-EZKISZ3Q.js";
|
|
27
|
+
import "./chunk-2K26W3FP.js";
|
|
28
|
+
import "./chunk-DHWYAHAM.js";
|
|
29
29
|
import "./chunk-CEMMLV5L.js";
|
|
30
30
|
import "./chunk-N7TMSOZH.js";
|
|
31
31
|
import "./chunk-DWPN6SCH.js";
|
|
32
32
|
import "./chunk-TXKUKMVO.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-7ENMKNEK.js";
|
|
34
34
|
import "./chunk-PEQXYSSE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-PM5WSDAD.js";
|
|
36
36
|
export {
|
|
37
37
|
PluginHookDeniedError,
|
|
38
38
|
applyPluginFormatMarkdown,
|
package/dist/api/schema.js
CHANGED
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
workspaceParamsSchema,
|
|
67
67
|
workspaceRepoSchema,
|
|
68
68
|
workspaceSchema
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-LBN67OZR.js";
|
|
70
70
|
import {
|
|
71
71
|
healthReportSchema,
|
|
72
72
|
pluginOperationalReportFeedSchema,
|
|
@@ -83,9 +83,9 @@ import "../chunk-PDO5BLNM.js";
|
|
|
83
83
|
import {
|
|
84
84
|
conversationTurnFailureCodeSchema,
|
|
85
85
|
conversationTurnFailureReasonSchema
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-7NL7T6VU.js";
|
|
87
87
|
import "../chunk-VFUK3X5B.js";
|
|
88
|
-
import "../chunk-
|
|
88
|
+
import "../chunk-NHJU2ZAL.js";
|
|
89
89
|
export {
|
|
90
90
|
acceptedConversationMessageSchema,
|
|
91
91
|
actorDirectoryReportSchema,
|
package/dist/api.js
CHANGED
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
workspaceListSchema,
|
|
59
59
|
workspaceParamsSchema,
|
|
60
60
|
workspaceSchema
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-LBN67OZR.js";
|
|
62
62
|
import {
|
|
63
63
|
appendAndEnqueueWebMessage,
|
|
64
64
|
conversationArchiveTimes,
|
|
@@ -78,12 +78,12 @@ import {
|
|
|
78
78
|
resolveSlackConversationContextFromThreadId,
|
|
79
79
|
viewerConversationMembership,
|
|
80
80
|
webActorFromEmail
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-NANQFFGO.js";
|
|
82
82
|
import {
|
|
83
83
|
buildSentryConversationUrl,
|
|
84
84
|
buildSentryEventUrl,
|
|
85
85
|
getWebAuthorization
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-HDSDOBWN.js";
|
|
87
87
|
import {
|
|
88
88
|
conversationActiveDaysColumn,
|
|
89
89
|
conversationAggregateColumns,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
readTaskExecutionSummaries,
|
|
98
98
|
readTaskExecutions,
|
|
99
99
|
readTaskRuns
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-MJCJ62RZ.js";
|
|
101
101
|
import {
|
|
102
102
|
healthReportSchema,
|
|
103
103
|
pluginOperationalReportFeedSchema,
|
|
@@ -121,24 +121,24 @@ import {
|
|
|
121
121
|
readScheduledTask,
|
|
122
122
|
readStats,
|
|
123
123
|
saveScheduledTask
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-VAUPAX3O.js";
|
|
125
125
|
import {
|
|
126
126
|
parseSlackThreadId
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-FCONFDZ4.js";
|
|
128
128
|
import {
|
|
129
129
|
cancelHumanFacingPendingMessages,
|
|
130
130
|
getConversation
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-IGSAXSM7.js";
|
|
132
132
|
import "./chunk-DA2KGZZI.js";
|
|
133
133
|
import {
|
|
134
134
|
agentTurnUsageSchema,
|
|
135
135
|
fallbackShortTitle,
|
|
136
136
|
hasAgentTurnUsage,
|
|
137
137
|
renderJuniorNativeConversationEvent
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-YZQLXALE.js";
|
|
139
139
|
import {
|
|
140
140
|
getCachedSnapshot
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-C2SOA3KN.js";
|
|
142
142
|
import "./chunk-PDO5BLNM.js";
|
|
143
143
|
import {
|
|
144
144
|
getVercelConversationWorkQueue
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
updateWorkspace,
|
|
165
165
|
withSlackRetries,
|
|
166
166
|
workspaceRepoCheckoutPath
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-4UUKQB6I.js";
|
|
168
168
|
import "./chunk-3Y47VMHV.js";
|
|
169
169
|
import {
|
|
170
170
|
getConversationStore,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
locationFromRow,
|
|
174
174
|
parseSessionSource,
|
|
175
175
|
resolveRootConversationId
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-5GWV7SXF.js";
|
|
177
177
|
import {
|
|
178
178
|
conversationReadColumns,
|
|
179
179
|
juniorApiTokens,
|
|
@@ -185,23 +185,23 @@ import {
|
|
|
185
185
|
juniorIdentities,
|
|
186
186
|
juniorSchedulerTasks,
|
|
187
187
|
juniorUsers
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-6ZQ3CE6X.js";
|
|
189
189
|
import {
|
|
190
190
|
create,
|
|
191
191
|
hash
|
|
192
|
-
} from "./chunk-
|
|
193
|
-
import "./chunk-
|
|
192
|
+
} from "./chunk-YLBJBBYX.js";
|
|
193
|
+
import "./chunk-PF3PEX4Q.js";
|
|
194
194
|
import {
|
|
195
195
|
decodeStoredConversationEvent
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-7NL7T6VU.js";
|
|
197
197
|
import {
|
|
198
198
|
juniorDestinations
|
|
199
199
|
} from "./chunk-VFUK3X5B.js";
|
|
200
|
-
import "./chunk-
|
|
201
|
-
import "./chunk-
|
|
202
|
-
import "./chunk-
|
|
203
|
-
import "./chunk-
|
|
204
|
-
import "./chunk-
|
|
200
|
+
import "./chunk-BR5GNDPS.js";
|
|
201
|
+
import "./chunk-NHJU2ZAL.js";
|
|
202
|
+
import "./chunk-EZKISZ3Q.js";
|
|
203
|
+
import "./chunk-2K26W3FP.js";
|
|
204
|
+
import "./chunk-DHWYAHAM.js";
|
|
205
205
|
import "./chunk-CEMMLV5L.js";
|
|
206
206
|
import {
|
|
207
207
|
parseSlackChannelId,
|
|
@@ -213,9 +213,9 @@ import "./chunk-TXKUKMVO.js";
|
|
|
213
213
|
import {
|
|
214
214
|
logException,
|
|
215
215
|
logWarn
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-7ENMKNEK.js";
|
|
217
217
|
import "./chunk-PEQXYSSE.js";
|
|
218
|
-
import "./chunk-
|
|
218
|
+
import "./chunk-PM5WSDAD.js";
|
|
219
219
|
|
|
220
220
|
// src/api.ts
|
|
221
221
|
import { Hono as Hono9 } from "hono";
|
|
@@ -5048,7 +5048,7 @@ async function readPeoplePluginReports(args) {
|
|
|
5048
5048
|
source: "plugins"
|
|
5049
5049
|
});
|
|
5050
5050
|
}
|
|
5051
|
-
const { getPluginProfileReports } = await import("./agent-hooks-
|
|
5051
|
+
const { getPluginProfileReports } = await import("./agent-hooks-CM4EKXL4.js");
|
|
5052
5052
|
return pluginOperationalReportFeedSchema.parse({
|
|
5053
5053
|
generatedAt: new Date(nowMs).toISOString(),
|
|
5054
5054
|
reports: await getPluginProfileReports({
|
|
@@ -5882,7 +5882,7 @@ function readDescriptionText(home) {
|
|
|
5882
5882
|
}
|
|
5883
5883
|
}
|
|
5884
5884
|
async function readSkillReports() {
|
|
5885
|
-
const { discoverSkills } = await import("./skills-
|
|
5885
|
+
const { discoverSkills } = await import("./skills-CQFX3V2I.js");
|
|
5886
5886
|
const skills = await discoverSkills();
|
|
5887
5887
|
return skillReportsSchema.parse(
|
|
5888
5888
|
skills.map((skill) => ({
|
|
@@ -5892,7 +5892,7 @@ async function readSkillReports() {
|
|
|
5892
5892
|
);
|
|
5893
5893
|
}
|
|
5894
5894
|
async function readPlugins() {
|
|
5895
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
5895
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-V7WGCXUD.js");
|
|
5896
5896
|
return pluginsSchema.parse(
|
|
5897
5897
|
pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
5898
5898
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
@@ -5905,7 +5905,7 @@ async function readPlugins() {
|
|
|
5905
5905
|
async function readRuntimeInfoReport() {
|
|
5906
5906
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
5907
5907
|
import("./discovery-DWVDM7UK.js"),
|
|
5908
|
-
import("./catalog-runtime-
|
|
5908
|
+
import("./catalog-runtime-V7WGCXUD.js"),
|
|
5909
5909
|
readPlugins(),
|
|
5910
5910
|
readSkillReports()
|
|
5911
5911
|
]);
|
|
@@ -5921,7 +5921,7 @@ async function readRuntimeInfoReport() {
|
|
|
5921
5921
|
}
|
|
5922
5922
|
async function readPluginOperationalReportFeed() {
|
|
5923
5923
|
const nowMs = Date.now();
|
|
5924
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
5924
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-CM4EKXL4.js");
|
|
5925
5925
|
return pluginOperationalReportFeedSchema.parse({
|
|
5926
5926
|
source: "plugins",
|
|
5927
5927
|
generatedAt: new Date(nowMs).toISOString(),
|
package/dist/app.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Hono } from "hono";
|
|
2
|
+
import type { ModelProfileInput } from "@/chat/model-profile";
|
|
2
3
|
import { type ExperimentalFeaturesConfig } from "@/chat/experimental";
|
|
3
4
|
import { type SandboxResourceConfig } from "@/chat/sandbox/resources";
|
|
4
5
|
import { type JuniorPluginSet } from "./plugins";
|
|
@@ -8,6 +9,7 @@ import { JUNIOR_VERSION } from "./version";
|
|
|
8
9
|
export { defineJuniorPlugins } from "./plugins";
|
|
9
10
|
export { JUNIOR_VERSION };
|
|
10
11
|
export type { JuniorPluginInput, JuniorPluginSet, JuniorPluginSetOptions, } from "./plugins";
|
|
12
|
+
export type { ModelProfileInput } from "@/chat/model-profile";
|
|
11
13
|
export interface JuniorAppOptions {
|
|
12
14
|
/** Authenticated dashboard mounted by core when configured. */
|
|
13
15
|
dashboard?: JuniorDashboardOptions;
|
|
@@ -19,8 +21,12 @@ export interface JuniorAppOptions {
|
|
|
19
21
|
experimental?: ExperimentalFeaturesConfig;
|
|
20
22
|
/** Profile used for new conversations. Configure with `profiles`. */
|
|
21
23
|
defaultProfile?: string;
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Named profiles available to the router and `handoff` tool. Configure with
|
|
26
|
+
* `defaultProfile`. Each value may be a model id string or an object with
|
|
27
|
+
* `modelId` and optional `description` and `reasoningLevel` settings.
|
|
28
|
+
*/
|
|
29
|
+
profiles?: Readonly<Record<string, ModelProfileInput>>;
|
|
24
30
|
/** Slack-specific overrides applied after env parsing. */
|
|
25
31
|
slack?: {
|
|
26
32
|
/** Slack emoji shown while Junior is processing. Defaults to `eyes`. */
|