@sentry/junior 0.278.0 → 0.279.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/{adapter-BXosqTMx.js → adapter-phTTgw7H.js} +1 -1
- package/dist/{admin-Thn7NfOi.js → admin-PcpJDugZ.js} +1 -1
- package/dist/{agent-invocations-D7c4BQGc.js → agent-invocations-CUg_SODU.js} +0 -1
- package/dist/{agent-runner-DE-43MPb.js → agent-runner-DwvT1BY0.js} +76 -35
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +5 -5
- package/dist/api.d.ts +1 -1
- package/dist/api.js +37 -367
- package/dist/{app-CHNS-AX2.d.ts → app-DVs6noo7.d.ts} +3 -3
- package/dist/app.d.ts +1 -1
- package/dist/app.js +460 -77
- package/dist/{assistant-reply-pauL6qyn.js → assistant-reply-BXfxczd7.js} +1 -1
- package/dist/{automation-DphoTRYl.js → automation-BehArCcq.js} +1 -1
- package/dist/{background-compaction-queue-CAL4A2y7.js → background-compaction-queue-CcbuLJrZ.js} +2 -2
- package/dist/{briefs-4fyPJJEu.js → briefs-Dd_ezwED.js} +10 -9
- package/dist/{catalog-runtime-BoOb5oUv.js → catalog-runtime-BWVMeZhW.js} +2 -2
- package/dist/cli/chat.js +16 -16
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +4 -4
- package/dist/cli/plugins.js +5 -5
- package/dist/cli/snapshot-create.js +4 -4
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +4 -4
- package/dist/{client-v_OVYuHZ.js → client-Bpxe4vKa.js} +7 -3
- package/dist/{config-o2jLRY5J.js → config-C_bmRhrJ.js} +2 -2
- package/dist/{connections-RC4NXAx8.js → connections-B2rHe5W5.js} +10 -10
- package/dist/{conversation-CZfyQvdm.js → conversation-CIiJtx5q.js} +6 -1
- package/dist/conversation-pending-messages-CnBvE6-6.js +173 -0
- package/dist/{conversation-privacy-C23M8KaD.js → conversation-privacy-CzOfcz0U.js} +1 -1
- package/dist/{credential-sync-Dd0WyNfF.js → credential-sync-Dal_unpv.js} +15 -15
- package/dist/{db-BjLzDJCt.d.ts → db-CyLrV9C7.d.ts} +1 -1
- package/dist/{executor-CJfsD0VX.js → executor-BfYH-Wws.js} +6 -4
- package/dist/instrumentation.d.ts +12 -0
- package/dist/instrumentation.js +56 -23
- package/dist/{logging-dFaXvBRK.js → logging-CkT3_Xxp.js} +2 -2
- package/dist/{message-DSwxIZet.js → message-Q5dkgaJ5.js} +10 -10
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +18 -6
- package/dist/{oauth-callback-server-CDcuCp27.js → oauth-callback-server-BDRaqe8O.js} +2 -2
- package/dist/{oauth-relay-C6ZAyJgf.js → oauth-relay-D0G3T16m.js} +1 -1
- package/dist/{package-discovery-DJBompdd.js → package-discovery-DJhGdS4c.js} +1 -1
- package/dist/{plugins-DOm9Y6qI.js → plugins-HYh_JOdw.js} +1 -1
- package/dist/{projection-BTge9wrH.js → projection-DWxX7pb1.js} +122 -44
- package/dist/{prompt-DDtCnlHP.js → prompt--dwus7Y-.js} +1 -1
- package/dist/proxy-path-BHYoKZdq.js +15 -0
- package/dist/{registry-Cp6CNmtP.js → registry-DnrdeO4s.js} +2 -2
- package/dist/{resolve-B_7h2cXx.js → resolve-C_QXfqD_.js} +3 -3
- package/dist/{result-5LBEfnLX.js → result-DNmOxT-N.js} +10 -10
- package/dist/{runner-C5-S4oq-.js → runner-zd_noJ1l.js} +11 -11
- package/dist/{sandbox-egress-signals-B4GehT1L.js → sandbox-egress-signals-DQjv-nbG.js} +1 -1
- package/dist/{schema-B5fpczDw.js → schema-CNJNzvr8.js} +5 -68
- package/dist/{schema-Tr484cCC.d.ts → schema-e90H5FIN.d.ts} +988 -1
- package/dist/sentry-BRTJqumy.js +51 -0
- package/dist/sentry-DrKC2NeM.d.ts +1 -0
- package/dist/sentry-route-name-BhwWnfqj.js +51 -0
- package/dist/{service-account-Cq_dLrZJ.js → service-account-BK26XlHo.js} +3 -3
- package/dist/{service-account-BkEv20zf.js → service-account-CCH2Hv4h.js} +3 -3
- package/dist/{session-stop-BsS4qFS2.js → session-stop-6Tf--T7G.js} +14 -14
- package/dist/{skills-M0BA0_s6.js → skills-BNrk8gi4.js} +4 -4
- package/dist/{spawn-BO3y7H4d.js → spawn-C75hAB9l.js} +3 -3
- package/dist/{stop-D5R82Wla.js → stop-RYbf7PWi.js} +516 -172
- package/dist/{store-BGBzQWNf.js → store-CO5vGjwD.js} +5 -5
- package/dist/{store-CGJZTEVz.js → store-G3h2djJU.js} +3 -3
- package/dist/{task-queue-UD27ei2U.js → task-queue-DlN58XeM.js} +3 -3
- package/dist/{task-runner-noxjOjkM.js → task-runner-B-Bdm23d.js} +21 -9
- package/dist/{thread-state-BSu6rM6p.js → thread-state-Cj_7Slru.js} +4 -4
- package/dist/{turn-failure-response-wahwyPrZ.js → turn-failure-response-CE7gaoC7.js} +7 -7
- package/dist/{turn-lifecycle-Bo4Trccw.js → turn-lifecycle-7sXwXLJ6.js} +1 -1
- package/dist/{turn-session-routing-DnSaaEpn.js → turn-session-routing-FBdaH1zf.js} +10 -10
- package/dist/{validation-B9-8iKyw.js → validation-DLWxEzWW.js} +2 -2
- package/dist/{version-C7HejFP2.js → version-DtQ8WFIZ.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-DLXajQZE.js → viewer-vsM8_90o.js} +5 -5
- package/dist/{work-DRGSlfia.js → work-DsoFRO_0.js} +10 -10
- package/dist/{worker-BGh5Dwc6.js → worker-6kZEsCXs.js} +7 -7
- package/migrations/0077_drop_agent_invocation_model_profile.sql +1 -0
- package/migrations/0078_plugin_conversation_index.sql +20 -0
- package/migrations/0079_conversation_event_author_index.sql +20 -0
- package/migrations/meta/0077_snapshot.json +4141 -0
- package/migrations/meta/0078_snapshot.json +4175 -0
- package/migrations/meta/0079_snapshot.json +4203 -0
- package/migrations/meta/_journal.json +21 -0
- package/package.json +5 -5
- package/dist/common-Eu6sx09c.js +0 -107
- package/dist/rolldown-runtime-nwUcYXjP.js +0 -27
- package/dist/sentry-MDkYAVPV.js +0 -23
|
@@ -540,6 +540,27 @@
|
|
|
540
540
|
"when": 1793812855460,
|
|
541
541
|
"tag": "0076_conversation_auto_archive",
|
|
542
542
|
"breakpoints": true
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"idx": 77,
|
|
546
|
+
"version": "7",
|
|
547
|
+
"when": 1793840083445,
|
|
548
|
+
"tag": "0077_drop_agent_invocation_model_profile",
|
|
549
|
+
"breakpoints": true
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"idx": 78,
|
|
553
|
+
"version": "7",
|
|
554
|
+
"when": 1793853487201,
|
|
555
|
+
"tag": "0078_plugin_conversation_index",
|
|
556
|
+
"breakpoints": true
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"idx": 79,
|
|
560
|
+
"version": "7",
|
|
561
|
+
"when": 1793855917036,
|
|
562
|
+
"tag": "0079_conversation_event_author_index",
|
|
563
|
+
"breakpoints": true
|
|
543
564
|
}
|
|
544
565
|
]
|
|
545
566
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.279.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"sharp": "^0.35.3",
|
|
92
92
|
"yaml": "^2.9.0",
|
|
93
93
|
"zod": "^4.5.4",
|
|
94
|
-
"@sentry/junior-plugin-api": "0.
|
|
94
|
+
"@sentry/junior-plugin-api": "0.279.0"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
97
|
"bullmq": "^6.5.0",
|
|
@@ -126,9 +126,9 @@
|
|
|
126
126
|
"typescript": "^7.0.2",
|
|
127
127
|
"vercel": "^54.4.0",
|
|
128
128
|
"vitest": "^4.1.12",
|
|
129
|
-
"@sentry/junior-github": "0.
|
|
130
|
-
"@sentry/junior-
|
|
131
|
-
"@sentry/junior-
|
|
129
|
+
"@sentry/junior-github": "0.279.0",
|
|
130
|
+
"@sentry/junior-memory": "0.279.0",
|
|
131
|
+
"@sentry/junior-testing": "0.0.0"
|
|
132
132
|
},
|
|
133
133
|
"scripts": {
|
|
134
134
|
"build": "tsdown",
|
package/dist/common-Eu6sx09c.js
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
// src/reporting-schema.ts
|
|
3
|
-
const healthReportSchema = z.object({
|
|
4
|
-
status: z.literal("ok"),
|
|
5
|
-
service: z.string(),
|
|
6
|
-
timestamp: z.string()
|
|
7
|
-
}).strict();
|
|
8
|
-
const pluginSchema = z.object({
|
|
9
|
-
configKeys: z.array(z.string()),
|
|
10
|
-
description: z.string(),
|
|
11
|
-
displayName: z.string(),
|
|
12
|
-
name: z.string()
|
|
13
|
-
}).strict();
|
|
14
|
-
const pluginsSchema = z.array(pluginSchema);
|
|
15
|
-
const skillReportSchema = z.object({
|
|
16
|
-
name: z.string(),
|
|
17
|
-
pluginProvider: z.string().optional()
|
|
18
|
-
}).strict();
|
|
19
|
-
const skillReportsSchema = z.array(skillReportSchema);
|
|
20
|
-
const pluginPackageContentItemReportSchema = z.object({
|
|
21
|
-
dir: z.string(),
|
|
22
|
-
hasMigrationsDir: z.boolean(),
|
|
23
|
-
hasSkillsDir: z.boolean(),
|
|
24
|
-
packageName: z.string()
|
|
25
|
-
}).strict();
|
|
26
|
-
const pluginPackageContentReportSchema = z.object({
|
|
27
|
-
packageNames: z.array(z.string()),
|
|
28
|
-
packages: z.array(pluginPackageContentItemReportSchema),
|
|
29
|
-
manifestRoots: z.array(z.string()),
|
|
30
|
-
skillRoots: z.array(z.string()),
|
|
31
|
-
tracingIncludes: z.array(z.string())
|
|
32
|
-
}).strict();
|
|
33
|
-
const runtimeInfoReportSchema = z.object({
|
|
34
|
-
cwd: z.string(),
|
|
35
|
-
homeDir: z.string(),
|
|
36
|
-
descriptionText: z.string().optional(),
|
|
37
|
-
providers: z.array(z.string()),
|
|
38
|
-
skills: z.array(skillReportSchema),
|
|
39
|
-
packagedContent: pluginPackageContentReportSchema
|
|
40
|
-
}).strict();
|
|
41
|
-
const pluginOperationalToneSchema = z.enum([
|
|
42
|
-
"danger",
|
|
43
|
-
"good",
|
|
44
|
-
"neutral",
|
|
45
|
-
"warning"
|
|
46
|
-
]);
|
|
47
|
-
const pluginOperationalMetricSchema = z.object({
|
|
48
|
-
label: z.string(),
|
|
49
|
-
tone: pluginOperationalToneSchema.optional(),
|
|
50
|
-
value: z.string()
|
|
51
|
-
}).strict();
|
|
52
|
-
const pluginOperationalFieldSchema = z.object({
|
|
53
|
-
key: z.string(),
|
|
54
|
-
label: z.string()
|
|
55
|
-
}).strict();
|
|
56
|
-
const pluginOperationalRecordSchema = z.object({
|
|
57
|
-
id: z.string(),
|
|
58
|
-
tone: pluginOperationalToneSchema.optional(),
|
|
59
|
-
values: z.record(z.string(), z.string())
|
|
60
|
-
}).strict();
|
|
61
|
-
const pluginOperationalRecordSetSchema = z.object({
|
|
62
|
-
fields: z.array(pluginOperationalFieldSchema).optional(),
|
|
63
|
-
emptyText: z.string().optional(),
|
|
64
|
-
records: z.array(pluginOperationalRecordSchema).optional(),
|
|
65
|
-
title: z.string()
|
|
66
|
-
}).strict();
|
|
67
|
-
const pluginOperationalBarChartWidgetSchema = z.object({
|
|
68
|
-
categories: z.array(z.object({
|
|
69
|
-
id: z.string().min(1),
|
|
70
|
-
label: z.string().min(1),
|
|
71
|
-
values: z.record(z.string(), z.number().finite())
|
|
72
|
-
}).strict()).max(100),
|
|
73
|
-
description: z.string().optional(),
|
|
74
|
-
emptyText: z.string().optional(),
|
|
75
|
-
id: z.string().min(1),
|
|
76
|
-
series: z.array(z.object({
|
|
77
|
-
format: z.literal("usd").optional(),
|
|
78
|
-
key: z.string().min(1),
|
|
79
|
-
label: z.string().min(1),
|
|
80
|
-
tone: pluginOperationalToneSchema.optional()
|
|
81
|
-
}).strict()).min(1).max(8),
|
|
82
|
-
timeRangeDays: z.array(z.union([
|
|
83
|
-
z.literal(1),
|
|
84
|
-
z.literal(7),
|
|
85
|
-
z.literal(30),
|
|
86
|
-
z.literal(90)
|
|
87
|
-
])).min(1).max(4).optional(),
|
|
88
|
-
title: z.string().min(1),
|
|
89
|
-
type: z.literal("bar_chart")
|
|
90
|
-
}).strict();
|
|
91
|
-
const pluginOperationalReportSchema = z.object({
|
|
92
|
-
generatedAt: z.string().optional(),
|
|
93
|
-
metrics: z.array(pluginOperationalMetricSchema).optional(),
|
|
94
|
-
recordSets: z.array(pluginOperationalRecordSetSchema).optional(),
|
|
95
|
-
title: z.string().optional(),
|
|
96
|
-
pluginName: z.string(),
|
|
97
|
-
widgets: z.array(pluginOperationalBarChartWidgetSchema).max(12).optional()
|
|
98
|
-
}).strict();
|
|
99
|
-
const pluginOperationalReportFeedSchema = z.object({
|
|
100
|
-
generatedAt: z.string(),
|
|
101
|
-
reports: z.array(pluginOperationalReportSchema),
|
|
102
|
-
source: z.literal("plugins")
|
|
103
|
-
}).strict();
|
|
104
|
-
// src/api/schema/common.ts
|
|
105
|
-
/** Stable error body returned by Junior-owned REST endpoints. */
|
|
106
|
-
const apiErrorSchema = z.object({ error: z.string().min(1) }).strict();
|
|
107
|
-
export { pluginPackageContentItemReportSchema as a, pluginsSchema as c, skillReportsSchema as d, pluginOperationalReportSchema as i, runtimeInfoReportSchema as l, healthReportSchema as n, pluginPackageContentReportSchema as o, pluginOperationalReportFeedSchema as r, pluginSchema as s, apiErrorSchema as t, skillReportSchema as u };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import "node:module";
|
|
2
|
-
// \0rolldown/runtime.js
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __exportAll = (all, no_symbols) => {
|
|
8
|
-
let target = {};
|
|
9
|
-
for (var name in all) __defProp(target, name, {
|
|
10
|
-
get: all[name],
|
|
11
|
-
enumerable: true
|
|
12
|
-
});
|
|
13
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
14
|
-
return target;
|
|
15
|
-
};
|
|
16
|
-
var __copyProps = (to, from, except, desc) => {
|
|
17
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
18
|
-
key = keys[i];
|
|
19
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
20
|
-
get: ((k) => from[k]).bind(null, key),
|
|
21
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
return to;
|
|
25
|
-
};
|
|
26
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
27
|
-
export { __reExport as n, __exportAll as t };
|
package/dist/sentry-MDkYAVPV.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
|
|
2
|
-
import { captureException, captureMessage, continueTrace, flush, getActiveSpan, getClient, getGlobalScope, getTraceData, init, logger, setTag, setUser, spanToJSON, startInactiveSpan, startSpan, withActiveSpan, withScope } from "@sentry/node";
|
|
3
|
-
// src/chat/sentry.ts
|
|
4
|
-
var sentry_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
captureException: () => captureException,
|
|
6
|
-
captureMessage: () => captureMessage,
|
|
7
|
-
continueTrace: () => continueTrace,
|
|
8
|
-
flush: () => flush,
|
|
9
|
-
getActiveSpan: () => getActiveSpan,
|
|
10
|
-
getClient: () => getClient,
|
|
11
|
-
getGlobalScope: () => getGlobalScope,
|
|
12
|
-
getTraceData: () => getTraceData,
|
|
13
|
-
init: () => init,
|
|
14
|
-
logger: () => logger,
|
|
15
|
-
setTag: () => setTag,
|
|
16
|
-
setUser: () => setUser,
|
|
17
|
-
spanToJSON: () => spanToJSON,
|
|
18
|
-
startInactiveSpan: () => startInactiveSpan,
|
|
19
|
-
startSpan: () => startSpan,
|
|
20
|
-
withActiveSpan: () => withActiveSpan,
|
|
21
|
-
withScope: () => withScope
|
|
22
|
-
});
|
|
23
|
-
export { withScope as _, getClient as a, init as c, setTag as d, setUser as f, withActiveSpan as g, startSpan as h, getActiveSpan as i, logger as l, startInactiveSpan as m, captureMessage as n, getGlobalScope as o, spanToJSON as p, continueTrace as r, getTraceData as s, captureException as t, sentry_exports as u };
|