@sentry/junior 0.96.0 → 0.97.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-5URSMY3O.js → agent-hooks-XSUIVRQS.js} +8 -6
- package/dist/{reporting → api}/conversations/activity.d.ts +1 -1
- package/dist/api/conversations/detail-projection.d.ts +10 -0
- package/dist/api/conversations/detail.d.ts +3 -0
- package/dist/api/conversations/detail.query.d.ts +3 -0
- package/dist/api/conversations/list.d.ts +3 -0
- package/dist/api/conversations/list.query.d.ts +94 -0
- package/dist/api/conversations/projection.d.ts +14 -0
- package/dist/api/conversations/schema.d.ts +683 -0
- package/dist/{reporting → api}/conversations/shared.d.ts +1 -5
- package/dist/api/conversations/stats.d.ts +3 -0
- package/dist/api/conversations/stats.query.d.ts +3 -0
- package/dist/api/conversations/subagent.d.ts +3 -0
- package/dist/{reporting → api}/conversations/transcript.d.ts +4 -4
- package/dist/api/people/list.d.ts +1 -2
- package/dist/api/people/list.query.d.ts +3 -4
- package/dist/api/people/profile.d.ts +1 -2
- package/dist/api/people/profile.query.d.ts +3 -4
- package/dist/api/people/schema.d.ts +193 -0
- package/dist/api/people/shared.d.ts +31 -9
- package/dist/api/schema.d.ts +20 -0
- package/dist/api/schema.js +50 -0
- package/dist/api-reference.d.ts +4 -3
- package/dist/api.d.ts +3 -0
- package/dist/api.js +156 -0
- package/dist/app.d.ts +1 -4
- package/dist/app.js +100 -366
- package/dist/build/virtual-config.d.ts +2 -2
- package/dist/{catalog-runtime-MSMAYYIK.js → catalog-runtime-PFHVMHDR.js} +3 -2
- package/dist/chat/agent/resume.d.ts +3 -1
- package/dist/chat/agent/tools.d.ts +2 -1
- package/dist/chat/config.d.ts +1 -8
- package/dist/chat/conversations/history.d.ts +241 -27
- package/dist/chat/conversations/legacy-advisor-session.d.ts +7 -0
- package/dist/chat/conversations/legacy-import.d.ts +2 -2
- package/dist/chat/conversations/projection.d.ts +19 -3
- package/dist/chat/conversations/sql/legacy-history-import.d.ts +1 -1
- package/dist/chat/conversations/sql/store.d.ts +15 -9
- package/dist/chat/conversations/store.d.ts +9 -4
- package/dist/chat/model-profile.d.ts +14 -0
- package/dist/chat/pi/transcript.d.ts +5 -3
- package/dist/chat/resource-events/store.d.ts +2 -2
- package/dist/chat/services/context-compaction.d.ts +15 -0
- package/dist/chat/services/turn-result.d.ts +1 -0
- package/dist/chat/services/turn-session-record.d.ts +6 -6
- package/dist/chat/state/turn-session.d.ts +16 -5
- package/dist/chat/task-execution/store.d.ts +2 -2
- package/dist/chat/tools/handoff/tool.d.ts +45 -0
- package/dist/chat/tools/types.d.ts +7 -2
- package/dist/chat/usage.d.ts +25 -25
- package/dist/{chunk-RITD7E5L.js → chunk-35BNLDOJ.js} +338 -577
- package/dist/{chunk-PMNN6ST4.js → chunk-3ECW2K2O.js} +7 -2
- package/dist/{chunk-5C6XTTFI.js → chunk-3F4OPKGF.js} +89 -55
- package/dist/chunk-3V7OFJZC.js +264 -0
- package/dist/chunk-4ZNGQH7C.js +25 -0
- package/dist/{chunk-S5KZ5LPG.js → chunk-5HLDPVYS.js} +14 -447
- package/dist/{chunk-DZENG5ML.js → chunk-6U26PYI5.js} +24 -14
- package/dist/chunk-AUUCAFDE.js +546 -0
- package/dist/{chunk-6APU57E6.js → chunk-B3IT5END.js} +41 -260
- package/dist/chunk-CEA3A3UA.js +86 -0
- package/dist/{chunk-YDT7SNCN.js → chunk-D5KZYS4T.js} +1 -1
- package/dist/{chunk-YDVEH3SB.js → chunk-EEZCY5WX.js} +78 -28
- package/dist/{chunk-2NAZZPPS.js → chunk-EOWXRY5E.js} +1 -1
- package/dist/{chunk-GQ3GK22G.js → chunk-FBHZJFHI.js} +2 -2
- package/dist/{chunk-CZEX6KIQ.js → chunk-G3E7SCME.js} +0 -23
- package/dist/chunk-GUAP3H7O.js +319 -0
- package/dist/{chunk-BYZWPRJA.js → chunk-H66UCBPW.js} +6 -4
- package/dist/{chunk-L7CDEIVJ.js → chunk-LMJPRYHP.js} +4 -2
- package/dist/chunk-LUAE4MGW.js +199 -0
- package/dist/{chunk-GY34VGP5.js → chunk-LVA4I4H7.js} +3 -1
- package/dist/chunk-LVUKF5CE.js +63 -0
- package/dist/{chunk-AAZXTVJT.js → chunk-NG2AV7IB.js} +2 -72
- package/dist/chunk-ON6YKIQ7.js +260 -0
- package/dist/chunk-PDO5BLNM.js +22 -0
- package/dist/chunk-QNVHH5PU.js +20 -0
- package/dist/{chunk-P3YFQLEN.js → chunk-T533JLM3.js} +8 -10
- package/dist/chunk-UAMKJPDF.js +11 -0
- package/dist/chunk-VFH4ZKZT.js +66 -0
- package/dist/{chunk-UKHVMPX5.js → chunk-WGXMTFNU.js} +15 -17
- package/dist/{chunk-MNTINMWR.js → chunk-WJOSZOON.js} +184 -300
- package/dist/chunk-WTYEKPXU.js +451 -0
- package/dist/{chunk-IYM2SIVG.js → chunk-XIRPQQVE.js} +605 -363
- package/dist/cli/chat.js +24 -21
- package/dist/cli/check.js +4 -3
- package/dist/cli/init.js +12 -0
- package/dist/cli/plugins.js +12 -9
- package/dist/cli/snapshot-warmup.js +8 -6
- package/dist/cli/upgrade.js +265 -137
- package/dist/db/db.d.ts +4 -0
- package/dist/db/schema/conversations.d.ts +128 -0
- package/dist/db/schema.d.ts +129 -60
- package/dist/{db-2D6RMG67.js → db-BWXYIKFQ.js} +3 -3
- package/dist/detail-GA6NXWQJ.js +43 -0
- package/dist/discovery-RMHYSRL7.js +43 -0
- package/dist/handlers/health.d.ts +3 -0
- package/dist/instrumentation.js +1 -1
- package/dist/{legacy-import-VZ2MEGP7.js → legacy-import-3NQJVGQL.js} +4 -4
- package/dist/{api/people/list.js → list-A3WFRIYX.js} +26 -16
- package/dist/list-UXJI5Q5X.js +27 -0
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +2 -1
- package/dist/plugin-conversations-DDNGC35A.js +36 -0
- package/dist/{api/people/profile.js → profile-4RYDXWTF.js} +33 -18
- package/dist/reporting/plugin-conversations.d.ts +3 -0
- package/dist/reporting-schema.d.ts +140 -0
- package/dist/reporting.d.ts +12 -81
- package/dist/{runner-JZBRQP4F.js → runner-JALSYH2P.js} +17 -12
- package/dist/skills-MAZXZ2KE.js +26 -0
- package/dist/stats-XKXH3PTY.js +217 -0
- package/dist/subagent-TZ55XY37.js +48 -0
- package/dist/usage-schema.d.ts +25 -0
- package/dist/{validation-6XOOQGME.js → validation-FMEAEKCY.js} +4 -3
- package/migrations/0000_initial.sql +115 -0
- package/migrations/0001_conversation_metrics.sql +4 -0
- package/migrations/README.md +12 -30
- package/migrations/meta/0000_snapshot.json +1 -33
- package/migrations/meta/0001_snapshot.json +972 -0
- package/migrations/meta/_journal.json +9 -2
- package/package.json +14 -18
- package/dist/api/people/types.d.ts +0 -85
- package/dist/chat/advisor-request.d.ts +0 -4
- package/dist/chat/conversations/sql/migrations.d.ts +0 -22
- package/dist/chat/tools/advisor/session-store.d.ts +0 -9
- package/dist/chat/tools/advisor/tool.d.ts +0 -72
- package/dist/chunk-RAIB6WSG.js +0 -142
- package/dist/chunk-WM6KHPBQ.js +0 -48
- package/dist/db/schema/migrations.d.ts +0 -58
- package/dist/reporting/conversations/context.d.ts +0 -8
- package/dist/reporting/conversations/details.d.ts +0 -6
- package/dist/reporting/conversations/index.d.ts +0 -4
- package/dist/reporting/conversations/statistics.d.ts +0 -4
- package/dist/reporting/conversations/summaries.d.ts +0 -20
- package/dist/reporting/conversations/types.d.ts +0 -191
- package/dist/reporting/conversations.d.ts +0 -1
- package/dist/reporting.js +0 -1155
package/dist/cli/chat.js
CHANGED
|
@@ -1,31 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAgentRunner,
|
|
3
3
|
executeAgentRun
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-XIRPQQVE.js";
|
|
5
|
+
import "../chunk-WGXMTFNU.js";
|
|
6
|
+
import "../chunk-WJOSZOON.js";
|
|
7
|
+
import "../chunk-GUAP3H7O.js";
|
|
8
|
+
import "../chunk-3F4OPKGF.js";
|
|
9
|
+
import "../chunk-H66UCBPW.js";
|
|
10
|
+
import "../chunk-PDO5BLNM.js";
|
|
8
11
|
import "../chunk-CM5EZD5F.js";
|
|
9
|
-
import "../chunk-WM6KHPBQ.js";
|
|
10
|
-
import "../chunk-MNTINMWR.js";
|
|
11
|
-
import "../chunk-5C6XTTFI.js";
|
|
12
12
|
import {
|
|
13
13
|
loadAppPluginSet
|
|
14
14
|
} from "../chunk-Y2CM7HXH.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-5HLDPVYS.js";
|
|
16
|
+
import "../chunk-WTYEKPXU.js";
|
|
17
|
+
import "../chunk-EOWXRY5E.js";
|
|
18
|
+
import "../chunk-35BNLDOJ.js";
|
|
19
|
+
import "../chunk-G3E7SCME.js";
|
|
20
|
+
import "../chunk-4ZNGQH7C.js";
|
|
21
|
+
import "../chunk-EEZCY5WX.js";
|
|
22
|
+
import "../chunk-LVA4I4H7.js";
|
|
21
23
|
import "../chunk-B7PUBQQM.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-3ECW2K2O.js";
|
|
25
|
+
import "../chunk-LMJPRYHP.js";
|
|
24
26
|
import "../chunk-I35CTGPO.js";
|
|
25
27
|
import "../chunk-OB42YVAE.js";
|
|
26
28
|
import "../chunk-6GWA276C.js";
|
|
27
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-B3IT5END.js";
|
|
28
30
|
import "../chunk-7FBGKXPE.js";
|
|
31
|
+
import "../chunk-3V7OFJZC.js";
|
|
29
32
|
import "../chunk-MLKGABMK.js";
|
|
30
33
|
|
|
31
34
|
// src/cli/chat.ts
|
|
@@ -148,10 +151,10 @@ async function configureLocalChatPlugins(pluginSet) {
|
|
|
148
151
|
databaseModule
|
|
149
152
|
] = await Promise.all([
|
|
150
153
|
import("../plugins-PZMDS7AT.js"),
|
|
151
|
-
import("../agent-hooks-
|
|
152
|
-
import("../catalog-runtime-
|
|
153
|
-
import("../validation-
|
|
154
|
-
import("../db-
|
|
154
|
+
import("../agent-hooks-XSUIVRQS.js"),
|
|
155
|
+
import("../catalog-runtime-PFHVMHDR.js"),
|
|
156
|
+
import("../validation-FMEAEKCY.js"),
|
|
157
|
+
import("../db-BWXYIKFQ.js")
|
|
155
158
|
]);
|
|
156
159
|
const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
|
|
157
160
|
const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
|
|
@@ -212,7 +215,7 @@ function newRunConversationId() {
|
|
|
212
215
|
async function prepareLocalChatRun(io, pluginSet) {
|
|
213
216
|
defaultStateAdapterForLocalChat();
|
|
214
217
|
await configureLocalChatPlugins(pluginSet);
|
|
215
|
-
const { runLocalAgentTurn } = await import("../runner-
|
|
218
|
+
const { runLocalAgentTurn } = await import("../runner-JALSYH2P.js");
|
|
216
219
|
const deps = {
|
|
217
220
|
agentRunner: createAgentRunner(executeAgentRun),
|
|
218
221
|
deliverReply: async (reply) => {
|
package/dist/cli/check.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseSkillFile
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-3ECW2K2O.js";
|
|
4
4
|
import {
|
|
5
5
|
parseInlinePluginManifest,
|
|
6
6
|
parsePluginManifest
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-LMJPRYHP.js";
|
|
8
8
|
import "../chunk-I35CTGPO.js";
|
|
9
9
|
import "../chunk-OB42YVAE.js";
|
|
10
10
|
import "../chunk-6GWA276C.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-B3IT5END.js";
|
|
12
12
|
import {
|
|
13
13
|
JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
|
|
14
14
|
JUNIOR_HEARTBEAT_ROUTE,
|
|
15
15
|
LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION
|
|
16
16
|
} from "../chunk-7FBGKXPE.js";
|
|
17
|
+
import "../chunk-3V7OFJZC.js";
|
|
17
18
|
import "../chunk-MLKGABMK.js";
|
|
18
19
|
|
|
19
20
|
// src/cli/check.ts
|
package/dist/cli/init.js
CHANGED
|
@@ -70,6 +70,15 @@ function writeTsConfig(targetDir) {
|
|
|
70
70
|
`
|
|
71
71
|
);
|
|
72
72
|
}
|
|
73
|
+
function writePnpmWorkspace(targetDir) {
|
|
74
|
+
fs.writeFileSync(
|
|
75
|
+
path.join(targetDir, "pnpm-workspace.yaml"),
|
|
76
|
+
`minimumReleaseAge: 1440
|
|
77
|
+
minimumReleaseAgeExclude:
|
|
78
|
+
- "@sentry/*"
|
|
79
|
+
`
|
|
80
|
+
);
|
|
81
|
+
}
|
|
73
82
|
function writeVercelJson(targetDir) {
|
|
74
83
|
fs.writeFileSync(
|
|
75
84
|
path.join(targetDir, "vercel.json"),
|
|
@@ -201,6 +210,8 @@ JUNIOR_BOT_NAME=
|
|
|
201
210
|
JUNIOR_SLASH_COMMAND=
|
|
202
211
|
AI_MODEL=
|
|
203
212
|
AI_FAST_MODEL=
|
|
213
|
+
AI_HANDOFF_MODEL=
|
|
214
|
+
AI_MODEL_PROFILES=
|
|
204
215
|
AI_MEMORY_MODEL=
|
|
205
216
|
AI_EMBEDDING_MODEL=
|
|
206
217
|
MEMORY_RECALL_MAX_VECTOR_DISTANCE=
|
|
@@ -218,6 +229,7 @@ SENTRY_ORG_SLUG=
|
|
|
218
229
|
writePluginsFile(target);
|
|
219
230
|
writeNitroConfig(target);
|
|
220
231
|
writeTsConfig(target);
|
|
232
|
+
writePnpmWorkspace(target);
|
|
221
233
|
writeVercelJson(target);
|
|
222
234
|
writeGitHubWorkflow(target);
|
|
223
235
|
log(`Created ${name} at ${target}`);
|
package/dist/cli/plugins.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
validatePluginEgressCredentialHooks,
|
|
3
3
|
validatePluginRegistrations
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-D5KZYS4T.js";
|
|
5
5
|
import {
|
|
6
6
|
pluginCatalogConfigFromPluginSet,
|
|
7
7
|
pluginCliRegistrationsFromPluginSet,
|
|
@@ -13,25 +13,28 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
setPlugins,
|
|
15
15
|
validatePlugins
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-5HLDPVYS.js";
|
|
17
|
+
import "../chunk-WTYEKPXU.js";
|
|
17
18
|
import {
|
|
18
19
|
createPluginLogger
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-CZEX6KIQ.js";
|
|
20
|
+
} from "../chunk-EOWXRY5E.js";
|
|
21
21
|
import {
|
|
22
22
|
getDb
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-35BNLDOJ.js";
|
|
24
|
+
import "../chunk-G3E7SCME.js";
|
|
25
|
+
import "../chunk-4ZNGQH7C.js";
|
|
26
|
+
import "../chunk-EEZCY5WX.js";
|
|
27
|
+
import "../chunk-LVA4I4H7.js";
|
|
26
28
|
import "../chunk-B7PUBQQM.js";
|
|
27
29
|
import {
|
|
28
30
|
pluginCatalogRuntime
|
|
29
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-LMJPRYHP.js";
|
|
30
32
|
import "../chunk-I35CTGPO.js";
|
|
31
33
|
import "../chunk-OB42YVAE.js";
|
|
32
34
|
import "../chunk-6GWA276C.js";
|
|
33
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-B3IT5END.js";
|
|
34
36
|
import "../chunk-7FBGKXPE.js";
|
|
37
|
+
import "../chunk-3V7OFJZC.js";
|
|
35
38
|
import "../chunk-MLKGABMK.js";
|
|
36
39
|
|
|
37
40
|
// src/cli/plugins.ts
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveRuntimeDependencySnapshot
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-H66UCBPW.js";
|
|
4
|
+
import "../chunk-G3E7SCME.js";
|
|
5
|
+
import "../chunk-4ZNGQH7C.js";
|
|
5
6
|
import {
|
|
6
7
|
disconnectStateAdapter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-EEZCY5WX.js";
|
|
9
|
+
import "../chunk-LVA4I4H7.js";
|
|
9
10
|
import {
|
|
10
11
|
pluginCatalogRuntime
|
|
11
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-LMJPRYHP.js";
|
|
12
13
|
import "../chunk-I35CTGPO.js";
|
|
13
14
|
import "../chunk-OB42YVAE.js";
|
|
14
15
|
import "../chunk-6GWA276C.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-B3IT5END.js";
|
|
16
17
|
import "../chunk-7FBGKXPE.js";
|
|
18
|
+
import "../chunk-3V7OFJZC.js";
|
|
17
19
|
import "../chunk-MLKGABMK.js";
|
|
18
20
|
|
|
19
21
|
// src/cli/snapshot-warmup.ts
|