@sentry/junior 0.182.0 → 0.183.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-3S25UIHO.js → agent-hooks-SNRBZYAU.js} +11 -11
- package/dist/api/code/overview.d.ts +35 -0
- package/dist/api/code/routes.d.ts +4 -0
- package/dist/api/schema/code.d.ts +75 -0
- package/dist/api/schema.d.ts +2 -0
- package/dist/api/schema.js +9 -1
- package/dist/api.js +258 -134
- package/dist/app.js +71 -48
- package/dist/{catalog-runtime-ESLMBQBV.js → catalog-runtime-3I3JOIIH.js} +4 -4
- package/dist/chat/agent-invocations/store.d.ts +4 -2
- package/dist/chat/agent-invocations/work.d.ts +1 -3
- package/dist/chat/app/factory.d.ts +3 -3
- package/dist/chat/app/services.d.ts +3 -3
- package/dist/chat/code/publisher.d.ts +3 -0
- package/dist/chat/code/store.d.ts +9 -0
- package/dist/chat/event-tasks/store.d.ts +10 -0
- package/dist/chat/ingress/slack-webhook.d.ts +1 -1
- package/dist/chat/plugins/agent-hooks.d.ts +5 -0
- package/dist/chat/{runtime/slack-runtime.d.ts → providers/slack/runtime.d.ts} +2 -2
- package/dist/chat/{runtime/reply-executor.d.ts → providers/slack/turn.d.ts} +10 -9
- package/dist/chat/resource-events/store.d.ts +12 -0
- package/dist/chat/runtime/turn-execution.d.ts +30 -0
- package/dist/chat/slack/dispatch-turn.d.ts +12 -14
- package/dist/chat/task-execution/slack-work.d.ts +1 -1
- package/dist/{chunk-SXOZIG5X.js → chunk-24OJZ5OU.js} +6 -6
- package/dist/{chunk-SVFSYQMT.js → chunk-2ADFGSUS.js} +1 -1
- package/dist/{chunk-GGYA5NPN.js → chunk-2EPYYVJC.js} +8 -8
- package/dist/{chunk-KGMHUDVF.js → chunk-35PM4YY5.js} +6 -6
- package/dist/{chunk-3ENUMZNG.js → chunk-37IQ6DGU.js} +3 -3
- package/dist/{chunk-3THPTNN6.js → chunk-3HJ4F4L7.js} +4 -4
- package/dist/{chunk-3NFHI2NA.js → chunk-3L7CWDQQ.js} +1 -1
- package/dist/{chunk-CVBIM4Z3.js → chunk-4WGFWHWP.js} +1 -1
- package/dist/{chunk-YHL2L2ZZ.js → chunk-56XONJPF.js} +1 -1
- package/dist/{chunk-44BQ3TSK.js → chunk-6UXDTPEN.js} +233 -173
- package/dist/{chunk-2CEOXDG2.js → chunk-AHMWPFIW.js} +174 -6
- package/dist/{chunk-6TSWXBTQ.js → chunk-AX3UDIMA.js} +3 -3
- package/dist/{chunk-S35OZMSL.js → chunk-AYW7J6K4.js} +13 -13
- package/dist/{chunk-WOIALVN2.js → chunk-E3OBGRHN.js} +1 -1
- package/dist/{chunk-4DZ62L36.js → chunk-EENQGEIP.js} +1 -1
- package/dist/{chunk-UUMBHORH.js → chunk-FJMTMGBC.js} +1 -1
- package/dist/{chunk-Z7ALSQS3.js → chunk-G2B2XZQW.js} +1 -1
- package/dist/{chunk-TEFNHMO2.js → chunk-HUK5XIZL.js} +4 -4
- package/dist/{chunk-LT4QYGKM.js → chunk-IO6KFXYE.js} +160 -97
- package/dist/{chunk-JIOKUIAS.js → chunk-KTXOGLNE.js} +2 -2
- package/dist/{chunk-LHQK5XCU.js → chunk-LMNMMESF.js} +2 -2
- package/dist/{chunk-UQP54CXZ.js → chunk-LZBPGX5A.js} +1 -1
- package/dist/{chunk-PQES5LB5.js → chunk-PLZT45VC.js} +5 -5
- package/dist/{chunk-V5UZCCNW.js → chunk-QI5JW5AG.js} +6 -6
- package/dist/{chunk-A7THOQ6N.js → chunk-QZV76CM4.js} +21 -21
- package/dist/{chunk-LB4FWMCV.js → chunk-R767Y7QV.js} +183 -155
- package/dist/{chunk-MJISSOWB.js → chunk-SQHFVIMZ.js} +1 -1
- package/dist/{chunk-BDDWVY32.js → chunk-T5MTGX2E.js} +19 -19
- package/dist/{chunk-DZR3L74W.js → chunk-V64JCZUV.js} +3 -3
- package/dist/{chunk-VHMAFMHB.js → chunk-VOV3SCM3.js} +1 -1
- package/dist/{chunk-BZD4ADQH.js → chunk-W46NIB5H.js} +1 -1
- package/dist/{chunk-QHALFHZA.js → chunk-W5JMPEBO.js} +9 -9
- package/dist/{chunk-D6OHGAIO.js → chunk-WOKJRLM2.js} +5 -5
- package/dist/chunk-WVIA7V3M.js +975 -0
- package/dist/{chunk-UKIHNBBD.js → chunk-X52ESOBP.js} +3 -3
- package/dist/cli/chat.js +33 -35
- package/dist/cli/check.js +5 -5
- package/dist/cli/plugins.js +12 -12
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +6 -6
- package/dist/db/schema/code.d.ts +367 -0
- package/dist/db/schema.d.ts +367 -1
- package/dist/{db-NYIWZ4L5.js → db-K2VMNLHQ.js} +6 -6
- package/dist/instrumentation.js +3 -3
- package/dist/nitro.js +6 -6
- package/dist/{oauth-callback-server-A2YTPVVX.js → oauth-callback-server-DZZMTKSS.js} +25 -25
- package/dist/{runner-VKAEU52J.js → runner-IIAKWDXI.js} +18 -18
- package/dist/{skills-52GMXUTY.js → skills-EXIQ7BP5.js} +5 -5
- package/dist/spawn-ZR6OOEAN.js +37 -0
- package/dist/task-runner-C52HYCVD.js +32 -0
- package/dist/{validation-VD2YQX2W.js → validation-XUGIWBJF.js} +5 -5
- package/dist/version.js +1 -1
- package/dist/{work-ZWBTGEQP.js → work-G4RLJ634.js} +18 -18
- package/dist/worker-R2JEHK67.js +22 -0
- package/migrations/0036_complex_rage.sql +32 -0
- package/migrations/meta/0036_snapshot.json +3186 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +6 -6
- package/dist/chunk-CZYNWPWD.js +0 -930
- package/dist/spawn-GSS4EBLR.js +0 -37
- package/dist/task-runner-DUGDWF5O.js +0 -32
- package/dist/worker-XUWD5WS7.js +0 -22
|
@@ -13,24 +13,24 @@ import {
|
|
|
13
13
|
getPlugins,
|
|
14
14
|
setPlugins,
|
|
15
15
|
validatePlugins
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AHMWPFIW.js";
|
|
17
17
|
import "./chunk-3Y47VMHV.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-AX3UDIMA.js";
|
|
19
|
+
import "./chunk-6UXDTPEN.js";
|
|
20
|
+
import "./chunk-X52ESOBP.js";
|
|
21
|
+
import "./chunk-G2B2XZQW.js";
|
|
22
22
|
import "./chunk-VFUK3X5B.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-LMNMMESF.js";
|
|
24
|
+
import "./chunk-2ADFGSUS.js";
|
|
25
|
+
import "./chunk-E3OBGRHN.js";
|
|
26
|
+
import "./chunk-EENQGEIP.js";
|
|
27
27
|
import "./chunk-CEMMLV5L.js";
|
|
28
28
|
import "./chunk-N7TMSOZH.js";
|
|
29
29
|
import "./chunk-DWPN6SCH.js";
|
|
30
30
|
import "./chunk-TXKUKMVO.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-LZBPGX5A.js";
|
|
32
32
|
import "./chunk-PEQXYSSE.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-W46NIB5H.js";
|
|
34
34
|
export {
|
|
35
35
|
PluginHookDeniedError,
|
|
36
36
|
applyPluginFormatMarkdown,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/** Read code activity created by Junior across installed code plugins. */
|
|
2
|
+
export declare function readCodeOverview(nowMs?: number): Promise<{
|
|
3
|
+
changes: {
|
|
4
|
+
id: string;
|
|
5
|
+
number: number;
|
|
6
|
+
openedAt: string;
|
|
7
|
+
provider: string;
|
|
8
|
+
repository: string;
|
|
9
|
+
state: "open" | "closed" | "merged";
|
|
10
|
+
closedAt?: string | undefined;
|
|
11
|
+
mergedAt?: string | undefined;
|
|
12
|
+
title?: string | undefined;
|
|
13
|
+
url?: string | undefined;
|
|
14
|
+
}[];
|
|
15
|
+
generatedAt: string;
|
|
16
|
+
repositories: {
|
|
17
|
+
closed: number;
|
|
18
|
+
created: number;
|
|
19
|
+
id: string;
|
|
20
|
+
merged: number;
|
|
21
|
+
name: string;
|
|
22
|
+
open: number;
|
|
23
|
+
provider: string;
|
|
24
|
+
url?: string | undefined;
|
|
25
|
+
}[];
|
|
26
|
+
summary: {
|
|
27
|
+
closed: number;
|
|
28
|
+
created: number;
|
|
29
|
+
merged: number;
|
|
30
|
+
open: number;
|
|
31
|
+
mergeRate?: number | undefined;
|
|
32
|
+
};
|
|
33
|
+
windowEnd: string;
|
|
34
|
+
windowStart: string;
|
|
35
|
+
}>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const codeChangeSummarySchema: z.ZodObject<{
|
|
3
|
+
closed: z.ZodNumber;
|
|
4
|
+
created: z.ZodNumber;
|
|
5
|
+
merged: z.ZodNumber;
|
|
6
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
open: z.ZodNumber;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
export declare const codeRepositorySummarySchema: z.ZodObject<{
|
|
10
|
+
closed: z.ZodNumber;
|
|
11
|
+
created: z.ZodNumber;
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
merged: z.ZodNumber;
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
open: z.ZodNumber;
|
|
16
|
+
provider: z.ZodString;
|
|
17
|
+
url: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
export declare const codeChangeSummaryReportSchema: z.ZodObject<{
|
|
20
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
23
|
+
number: z.ZodNumber;
|
|
24
|
+
openedAt: z.ZodString;
|
|
25
|
+
provider: z.ZodString;
|
|
26
|
+
repository: z.ZodString;
|
|
27
|
+
state: z.ZodEnum<{
|
|
28
|
+
open: "open";
|
|
29
|
+
closed: "closed";
|
|
30
|
+
merged: "merged";
|
|
31
|
+
}>;
|
|
32
|
+
title: z.ZodOptional<z.ZodString>;
|
|
33
|
+
url: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$strict>;
|
|
35
|
+
export declare const codeOverviewReportSchema: z.ZodObject<{
|
|
36
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
37
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
40
|
+
number: z.ZodNumber;
|
|
41
|
+
openedAt: z.ZodString;
|
|
42
|
+
provider: z.ZodString;
|
|
43
|
+
repository: z.ZodString;
|
|
44
|
+
state: z.ZodEnum<{
|
|
45
|
+
open: "open";
|
|
46
|
+
closed: "closed";
|
|
47
|
+
merged: "merged";
|
|
48
|
+
}>;
|
|
49
|
+
title: z.ZodOptional<z.ZodString>;
|
|
50
|
+
url: z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, z.core.$strict>>;
|
|
52
|
+
generatedAt: z.ZodString;
|
|
53
|
+
repositories: z.ZodArray<z.ZodObject<{
|
|
54
|
+
closed: z.ZodNumber;
|
|
55
|
+
created: z.ZodNumber;
|
|
56
|
+
id: z.ZodString;
|
|
57
|
+
merged: z.ZodNumber;
|
|
58
|
+
name: z.ZodString;
|
|
59
|
+
open: z.ZodNumber;
|
|
60
|
+
provider: z.ZodString;
|
|
61
|
+
url: z.ZodOptional<z.ZodString>;
|
|
62
|
+
}, z.core.$strict>>;
|
|
63
|
+
summary: z.ZodObject<{
|
|
64
|
+
closed: z.ZodNumber;
|
|
65
|
+
created: z.ZodNumber;
|
|
66
|
+
merged: z.ZodNumber;
|
|
67
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
open: z.ZodNumber;
|
|
69
|
+
}, z.core.$strict>;
|
|
70
|
+
windowEnd: z.ZodString;
|
|
71
|
+
windowStart: z.ZodString;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
export type CodeChangeSummaryReport = z.infer<typeof codeChangeSummaryReportSchema>;
|
|
74
|
+
export type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
|
|
75
|
+
export type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export { dailyConversationActivitySchema } from "./activity";
|
|
2
2
|
export type { DailyConversationActivity } from "./activity";
|
|
3
|
+
export { codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codeRepositorySummarySchema, } from "./schema/code";
|
|
4
|
+
export type { CodeChangeSummaryReport, CodeOverviewReport, CodeRepositorySummary, } from "./schema/code";
|
|
3
5
|
export { acceptedConversationMessageSchema, archiveConversationBodySchema, archiveConversationResponseSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventPageSchema, conversationEventHistorySchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, createConversationBodySchema, createConversationMessageBodySchema, } from "./schema/conversation";
|
|
4
6
|
export type { AcceptedConversationMessage, ArchiveConversationBody, ArchiveConversationResponse, CancelConversationPendingMessagesBody, CancelConversationPendingMessagesResponse, ActorIdentity, ConversationAuxiliaryCosts, ConversationCost, ConversationDetailReport, ConversationEventPage, ConversationEventHistory, ConversationFeed, ConversationPendingMessage, ConversationPendingMessageDelivery, ConversationPendingMessagesReport, ConversationReportEvent, ConversationReportEventData, ConversationReportStatus, ConversationMetricDay, ConversationModelUsage, ConversationParams, ConversationSourceTask, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, CreateConversationBody, CreateConversationMessageBody, GuardianMetricDay, GuardianStats, } from "./schema/conversation";
|
|
5
7
|
export { actorDirectoryReportSchema, actorProfileReportSchema, personalSpendReportSchema, personParamsSchema, } from "./schema/person";
|
package/dist/api/schema.js
CHANGED
|
@@ -8,6 +8,10 @@ import {
|
|
|
8
8
|
baselineSnapshotSchema,
|
|
9
9
|
cancelConversationPendingMessagesBodySchema,
|
|
10
10
|
cancelConversationPendingMessagesResponseSchema,
|
|
11
|
+
codeChangeSummaryReportSchema,
|
|
12
|
+
codeChangeSummarySchema,
|
|
13
|
+
codeOverviewReportSchema,
|
|
14
|
+
codeRepositorySummarySchema,
|
|
11
15
|
conversationAuxiliaryCostsSchema,
|
|
12
16
|
conversationDetailQuerySchema,
|
|
13
17
|
conversationDetailReportSchema,
|
|
@@ -59,7 +63,7 @@ import {
|
|
|
59
63
|
workspaceParamsSchema,
|
|
60
64
|
workspaceRepoSchema,
|
|
61
65
|
workspaceSchema
|
|
62
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-WVIA7V3M.js";
|
|
63
67
|
import {
|
|
64
68
|
healthReportSchema,
|
|
65
69
|
pluginOperationalReportFeedSchema,
|
|
@@ -84,6 +88,10 @@ export {
|
|
|
84
88
|
baselineSnapshotSchema,
|
|
85
89
|
cancelConversationPendingMessagesBodySchema,
|
|
86
90
|
cancelConversationPendingMessagesResponseSchema,
|
|
91
|
+
codeChangeSummaryReportSchema,
|
|
92
|
+
codeChangeSummarySchema,
|
|
93
|
+
codeOverviewReportSchema,
|
|
94
|
+
codeRepositorySummarySchema,
|
|
87
95
|
conversationAuxiliaryCostsSchema,
|
|
88
96
|
conversationDetailQuerySchema,
|
|
89
97
|
conversationDetailReportSchema,
|