@sentry/junior 0.113.0 → 0.115.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-BKEMWR3Z.js → agent-hooks-4EUUXP2F.js} +12 -11
- package/dist/api/conversations/detail.d.ts +26 -0
- package/dist/api/conversations/event-list.d.ts +26 -0
- package/dist/api/conversations/events.d.ts +1 -1
- package/dist/api/health.d.ts +7 -0
- package/dist/api/plugin-reports.d.ts +62 -0
- package/dist/api/plugins.d.ts +9 -0
- package/dist/api/runtime.d.ts +24 -0
- package/dist/api/schema/conversation.d.ts +104 -0
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +6 -6
- package/dist/api/skills.d.ts +6 -0
- package/dist/api.js +140 -100
- package/dist/app.d.ts +2 -0
- package/dist/app.js +1117 -5010
- package/dist/catalog-runtime-Y32UEQLB.js +18 -0
- package/dist/chat/agent/request.d.ts +6 -0
- package/dist/chat/agent/sandbox.d.ts +2 -0
- package/dist/chat/agent/tools.d.ts +2 -0
- package/dist/chat/config.d.ts +3 -1
- package/dist/chat/conversations/history.d.ts +92 -0
- package/dist/chat/conversations/projection.d.ts +20 -1
- package/dist/chat/local/credential-sync.d.ts +5 -0
- package/dist/chat/local/oauth-relay.d.ts +4 -0
- package/dist/chat/mcp/oauth.d.ts +1 -0
- package/dist/chat/oauth-authorization.d.ts +17 -0
- package/dist/chat/oauth-flow.d.ts +9 -0
- package/dist/chat/sandbox/egress/schemas.d.ts +46 -0
- package/dist/chat/sandbox/egress/signals.d.ts +9 -0
- package/dist/chat/sandbox/sandbox.d.ts +2 -0
- package/dist/chat/sentry-payload-filter.d.ts +4 -4
- package/dist/chat/services/context-budget.d.ts +7 -2
- package/dist/chat/services/context-compaction.d.ts +28 -1
- package/dist/chat/services/conversation-memory.d.ts +1 -0
- package/dist/chat/services/mcp-auth-orchestration.d.ts +5 -3
- package/dist/chat/services/plugin-auth-orchestration.d.ts +2 -0
- package/dist/chat/services/provider-error.d.ts +1 -0
- package/dist/chat/services/turn-router.d.ts +1 -0
- package/dist/chat/slack/message-control.d.ts +2 -0
- package/dist/chat/slack/oauth-authorization-message.d.ts +3 -0
- package/dist/chat/task-execution/slack-work.d.ts +2 -0
- package/dist/chat/tool-support/zod-tool.d.ts +1 -1
- package/dist/chat/tools/definition.d.ts +5 -0
- package/dist/chat/tools/sandbox/edit-file.d.ts +1 -1
- package/dist/chat/tools/sandbox/text-edits.d.ts +1 -0
- package/dist/{chunk-4WZ7YKDF.js → chunk-2QG4MZQ7.js} +2 -2
- package/dist/{chunk-H5ON7XTE.js → chunk-43RYMWJ2.js} +954 -2514
- package/dist/chunk-4CODA7P5.js +43 -0
- package/dist/{chunk-HMRVILWZ.js → chunk-67CVNDJ7.js} +1 -1
- package/dist/{chunk-LR2SKL5Y.js → chunk-6FKLPVF3.js} +1 -1
- package/dist/{chunk-2ZTTXTSZ.js → chunk-6OPTF4BQ.js} +10 -4
- package/dist/{chunk-3CTIAKSS.js → chunk-6V762AB4.js} +1 -1
- package/dist/{chunk-WBB22ANL.js → chunk-AGLQYELI.js} +77 -8
- package/dist/{chunk-DXRPHBOU.js → chunk-CEYOL62C.js} +77 -36
- package/dist/{chunk-QTS66GMR.js → chunk-CWEZEPD4.js} +3 -3
- package/dist/chunk-DIB4GX3G.js +8 -0
- package/dist/{chunk-OXE5ZUTS.js → chunk-EW5MLKT5.js} +10 -75
- package/dist/{chunk-42WRQLJ6.js → chunk-F3B2YJ76.js} +0 -14
- package/dist/chunk-FA6POGLH.js +70 -0
- package/dist/{chunk-ZRSUCJGA.js → chunk-FHC4JUSF.js} +1 -1
- package/dist/{chunk-6Y5L4BOM.js → chunk-FXOYURO4.js} +5 -3
- package/dist/{chunk-UKGNSJQQ.js → chunk-G36V2YGB.js} +108 -82
- package/dist/{chunk-K5BXPM74.js → chunk-G5SX4UPR.js} +3 -43
- package/dist/chunk-HDSDCEPK.js +80 -0
- package/dist/{chunk-LLKDNPYV.js → chunk-HWCQRGLL.js} +37 -3
- package/dist/{chunk-C4MZ3GP5.js → chunk-HZF5P5UN.js} +1 -1
- package/dist/chunk-LYA2AB5G.js +1914 -0
- package/dist/{chunk-36UJA3OD.js → chunk-NVUQSFWX.js} +2 -2
- package/dist/chunk-OB42YVAE.js +16 -0
- package/dist/{chunk-4VKFQPCW.js → chunk-PVZHG2XZ.js} +4 -4
- package/dist/{chunk-YJ44UT7D.js → chunk-RAVKCKXA.js} +7 -7
- package/dist/{chunk-RCBUZGIT.js → chunk-SYJT7AKB.js} +23 -20
- package/dist/{chunk-NP7TYFYR.js → chunk-TVE25LPW.js} +1 -1
- package/dist/chunk-W3U3YQYI.js +71 -0
- package/dist/chunk-YCLO7D7M.js +4267 -0
- package/dist/cli/chat.js +72 -40
- package/dist/cli/check.js +10 -8
- package/dist/cli/init.js +1 -0
- package/dist/cli/plugins.js +16 -14
- package/dist/cli/snapshot-warmup.js +13 -11
- package/dist/cli/upgrade.js +10 -8
- package/dist/{db-2ASK6MV6.js → db-KBSJHAZU.js} +8 -7
- package/dist/handlers/sandbox-egress-signals.d.ts +4 -0
- package/dist/instrumentation.js +72 -4
- package/dist/nitro.js +2 -2
- package/dist/oauth-callback-server-EYRMJTCS.js +231 -0
- package/dist/oauth-relay-3ZU72UGL.js +9 -0
- package/dist/reporting-schema.d.ts +12 -4
- package/dist/reporting.d.ts +5 -5
- package/dist/{runner-L363K62Z.js → runner-RQGZ5Z2S.js} +139 -72
- package/dist/sandbox-egress-signals-CDFAP67O.js +75 -0
- package/dist/{skills-VCPG3NOO.js → skills-JJQIE3BT.js} +10 -8
- package/dist/validation-MZ47PZP5.js +21 -0
- package/dist/version.js +1 -1
- package/package.json +5 -5
- package/dist/catalog-runtime-6XYOUVRZ.js +0 -16
- package/dist/chat/oauth-authorization-message.d.ts +0 -6
- package/dist/validation-GY7AJBLC.js +0 -19
|
@@ -11,21 +11,22 @@ import {
|
|
|
11
11
|
getPlugins,
|
|
12
12
|
setPlugins,
|
|
13
13
|
validatePlugins
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-RAVKCKXA.js";
|
|
15
|
+
import "./chunk-67CVNDJ7.js";
|
|
16
|
+
import "./chunk-CWEZEPD4.js";
|
|
17
|
+
import "./chunk-HWCQRGLL.js";
|
|
18
18
|
import "./chunk-JQFJO5WH.js";
|
|
19
19
|
import "./chunk-4ZNGQH7C.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-SYJT7AKB.js";
|
|
21
21
|
import "./chunk-VFUK3X5B.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-FXOYURO4.js";
|
|
23
|
+
import "./chunk-HZF5P5UN.js";
|
|
24
|
+
import "./chunk-NVUQSFWX.js";
|
|
25
|
+
import "./chunk-OB42YVAE.js";
|
|
26
|
+
import "./chunk-F3B2YJ76.js";
|
|
26
27
|
import "./chunk-6GWA276C.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-TVE25LPW.js";
|
|
29
|
+
import "./chunk-FHC4JUSF.js";
|
|
29
30
|
import "./chunk-MLKGABMK.js";
|
|
30
31
|
export {
|
|
31
32
|
PluginHookDeniedError,
|
|
@@ -119,13 +119,39 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
119
119
|
agent: "agent";
|
|
120
120
|
}>;
|
|
121
121
|
}, import("zod/v4/core").$strict>], "state">, import("zod").ZodObject<{
|
|
122
|
+
type: import("zod").ZodLiteral<"turn_routed">;
|
|
123
|
+
turnId: import("zod").ZodString;
|
|
124
|
+
modelProfile: import("zod").ZodString;
|
|
125
|
+
modelId: import("zod").ZodString;
|
|
126
|
+
reasoningLevel: import("zod").ZodString;
|
|
127
|
+
confidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
128
|
+
source: import("zod").ZodEnum<{
|
|
129
|
+
configured: "configured";
|
|
130
|
+
inherited: "inherited";
|
|
131
|
+
router: "router";
|
|
132
|
+
}>;
|
|
133
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
122
134
|
type: import("zod").ZodLiteral<"compaction">;
|
|
135
|
+
modelProfile: import("zod").ZodOptional<import("zod").ZodString>;
|
|
136
|
+
modelId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
137
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
138
|
+
details: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
139
|
+
reason: import("zod").ZodLiteral<"capacity">;
|
|
140
|
+
estimatedInputTokens: import("zod").ZodNumber;
|
|
141
|
+
replacementInputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
142
|
+
triggerTokens: import("zod").ZodNumber;
|
|
143
|
+
inputLimitTokens: import("zod").ZodNumber;
|
|
144
|
+
inputMessageCount: import("zod").ZodNumber;
|
|
145
|
+
retainedMessageCount: import("zod").ZodNumber;
|
|
146
|
+
summaryChars: import("zod").ZodNumber;
|
|
147
|
+
}, import("zod/v4/core").$strict>>;
|
|
123
148
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
124
149
|
type: import("zod").ZodLiteral<"handoff">;
|
|
125
150
|
modelProfile: import("zod").ZodString;
|
|
126
151
|
modelId: import("zod").ZodString;
|
|
127
152
|
reasoningLevel: import("zod").ZodOptional<import("zod").ZodString>;
|
|
128
153
|
triggeringToolCallId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
154
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
129
155
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
130
156
|
type: import("zod").ZodLiteral<"subagent">;
|
|
131
157
|
startedSeq: import("zod").ZodNumber;
|
|
@@ -54,13 +54,39 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
54
54
|
agent: "agent";
|
|
55
55
|
}>;
|
|
56
56
|
}, import("zod/v4/core").$strict>], "state">, import("zod").ZodObject<{
|
|
57
|
+
type: import("zod").ZodLiteral<"turn_routed">;
|
|
58
|
+
turnId: import("zod").ZodString;
|
|
59
|
+
modelProfile: import("zod").ZodString;
|
|
60
|
+
modelId: import("zod").ZodString;
|
|
61
|
+
reasoningLevel: import("zod").ZodString;
|
|
62
|
+
confidence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
63
|
+
source: import("zod").ZodEnum<{
|
|
64
|
+
configured: "configured";
|
|
65
|
+
inherited: "inherited";
|
|
66
|
+
router: "router";
|
|
67
|
+
}>;
|
|
68
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
57
69
|
type: import("zod").ZodLiteral<"compaction">;
|
|
70
|
+
modelProfile: import("zod").ZodOptional<import("zod").ZodString>;
|
|
71
|
+
modelId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
72
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
73
|
+
details: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
74
|
+
reason: import("zod").ZodLiteral<"capacity">;
|
|
75
|
+
estimatedInputTokens: import("zod").ZodNumber;
|
|
76
|
+
replacementInputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
77
|
+
triggerTokens: import("zod").ZodNumber;
|
|
78
|
+
inputLimitTokens: import("zod").ZodNumber;
|
|
79
|
+
inputMessageCount: import("zod").ZodNumber;
|
|
80
|
+
retainedMessageCount: import("zod").ZodNumber;
|
|
81
|
+
summaryChars: import("zod").ZodNumber;
|
|
82
|
+
}, import("zod/v4/core").$strict>>;
|
|
58
83
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
59
84
|
type: import("zod").ZodLiteral<"handoff">;
|
|
60
85
|
modelProfile: import("zod").ZodString;
|
|
61
86
|
modelId: import("zod").ZodString;
|
|
62
87
|
reasoningLevel: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
88
|
triggeringToolCallId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
89
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
90
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
65
91
|
type: import("zod").ZodLiteral<"subagent">;
|
|
66
92
|
startedSeq: import("zod").ZodNumber;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ConversationEvent } from "@/chat/conversations/history";
|
|
2
2
|
import { type ConversationReportEvent } from "../schema/conversation";
|
|
3
3
|
/** Canonical event types that can contribute to the reporting projection. */
|
|
4
|
-
export declare const conversationReportSourceEventTypes: readonly ["message", "message_handled", "agent_step", "tool_execution_started", "turn_started", "turn_completed", "turn_failed", "compaction", "handoff", "subagent_started", "subagent_ended"];
|
|
4
|
+
export declare const conversationReportSourceEventTypes: readonly ["message", "message_handled", "agent_step", "tool_execution_started", "turn_started", "turn_routed", "turn_completed", "turn_failed", "compaction", "handoff", "subagent_started", "subagent_ended"];
|
|
5
5
|
/** Return tool result ids that may need start metadata from outside a page. */
|
|
6
6
|
export declare function conversationReportToolResultIds(events: ConversationEvent[]): string[];
|
|
7
7
|
/**
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Serve Junior's authenticated health report. */
|
|
2
|
+
declare const _default: import("./route").ApiRoute<import("zod").ZodObject<{
|
|
3
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
4
|
+
service: import("zod").ZodString;
|
|
5
|
+
timestamp: import("zod").ZodString;
|
|
6
|
+
}, import("zod/v4/core").$strict>>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/** Serve operational reports contributed by loaded plugins. */
|
|
2
|
+
declare const _default: import("./route").ApiRoute<import("zod").ZodObject<{
|
|
3
|
+
generatedAt: import("zod").ZodString;
|
|
4
|
+
reports: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5
|
+
generatedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6
|
+
metrics: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
7
|
+
label: import("zod").ZodString;
|
|
8
|
+
tone: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
9
|
+
warning: "warning";
|
|
10
|
+
danger: "danger";
|
|
11
|
+
good: "good";
|
|
12
|
+
neutral: "neutral";
|
|
13
|
+
}>>;
|
|
14
|
+
value: import("zod").ZodString;
|
|
15
|
+
}, import("zod/v4/core").$strict>>>;
|
|
16
|
+
recordSets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
17
|
+
fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
18
|
+
key: import("zod").ZodString;
|
|
19
|
+
label: import("zod").ZodString;
|
|
20
|
+
}, import("zod/v4/core").$strict>>>;
|
|
21
|
+
emptyText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
+
records: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
23
|
+
id: import("zod").ZodString;
|
|
24
|
+
tone: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
25
|
+
warning: "warning";
|
|
26
|
+
danger: "danger";
|
|
27
|
+
good: "good";
|
|
28
|
+
neutral: "neutral";
|
|
29
|
+
}>>;
|
|
30
|
+
values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
31
|
+
}, import("zod/v4/core").$strict>>>;
|
|
32
|
+
title: import("zod").ZodString;
|
|
33
|
+
}, import("zod/v4/core").$strict>>>;
|
|
34
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
35
|
+
pluginName: import("zod").ZodString;
|
|
36
|
+
widgets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
37
|
+
categories: import("zod").ZodArray<import("zod").ZodObject<{
|
|
38
|
+
id: import("zod").ZodString;
|
|
39
|
+
label: import("zod").ZodString;
|
|
40
|
+
values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>;
|
|
41
|
+
}, import("zod/v4/core").$strict>>;
|
|
42
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
43
|
+
emptyText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
44
|
+
id: import("zod").ZodString;
|
|
45
|
+
series: import("zod").ZodArray<import("zod").ZodObject<{
|
|
46
|
+
key: import("zod").ZodString;
|
|
47
|
+
label: import("zod").ZodString;
|
|
48
|
+
tone: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
49
|
+
warning: "warning";
|
|
50
|
+
danger: "danger";
|
|
51
|
+
good: "good";
|
|
52
|
+
neutral: "neutral";
|
|
53
|
+
}>>;
|
|
54
|
+
}, import("zod/v4/core").$strict>>;
|
|
55
|
+
timeRangeDays: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodLiteral<7>, import("zod").ZodLiteral<30>, import("zod").ZodLiteral<90>]>>>;
|
|
56
|
+
title: import("zod").ZodString;
|
|
57
|
+
type: import("zod").ZodLiteral<"bar_chart">;
|
|
58
|
+
}, import("zod/v4/core").$strict>>>;
|
|
59
|
+
}, import("zod/v4/core").$strict>>;
|
|
60
|
+
source: import("zod").ZodLiteral<"plugins">;
|
|
61
|
+
}, import("zod/v4/core").$strict>>;
|
|
62
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Serve safe manifest metadata for loaded plugins. */
|
|
2
|
+
declare const _default: import("./route").ApiRoute<import("zod").ZodArray<import("zod").ZodObject<{
|
|
3
|
+
capabilities: import("zod").ZodArray<import("zod").ZodString>;
|
|
4
|
+
configKeys: import("zod").ZodArray<import("zod").ZodString>;
|
|
5
|
+
description: import("zod").ZodString;
|
|
6
|
+
displayName: import("zod").ZodString;
|
|
7
|
+
name: import("zod").ZodString;
|
|
8
|
+
}, import("zod/v4/core").$strict>>>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** Serve Junior runtime build and environment metadata. */
|
|
2
|
+
declare const _default: import("./route").ApiRoute<import("zod").ZodObject<{
|
|
3
|
+
cwd: import("zod").ZodString;
|
|
4
|
+
homeDir: import("zod").ZodString;
|
|
5
|
+
descriptionText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6
|
+
providers: import("zod").ZodArray<import("zod").ZodString>;
|
|
7
|
+
skills: import("zod").ZodArray<import("zod").ZodObject<{
|
|
8
|
+
name: import("zod").ZodString;
|
|
9
|
+
pluginProvider: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10
|
+
}, import("zod/v4/core").$strict>>;
|
|
11
|
+
packagedContent: import("zod").ZodObject<{
|
|
12
|
+
packageNames: import("zod").ZodArray<import("zod").ZodString>;
|
|
13
|
+
packages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
14
|
+
dir: import("zod").ZodString;
|
|
15
|
+
hasMigrationsDir: import("zod").ZodBoolean;
|
|
16
|
+
hasSkillsDir: import("zod").ZodBoolean;
|
|
17
|
+
packageName: import("zod").ZodString;
|
|
18
|
+
}, import("zod/v4/core").$strict>>;
|
|
19
|
+
manifestRoots: import("zod").ZodArray<import("zod").ZodString>;
|
|
20
|
+
skillRoots: import("zod").ZodArray<import("zod").ZodString>;
|
|
21
|
+
tracingIncludes: import("zod").ZodArray<import("zod").ZodString>;
|
|
22
|
+
}, import("zod/v4/core").$strict>;
|
|
23
|
+
}, import("zod/v4/core").$strict>>;
|
|
24
|
+
export default _default;
|
|
@@ -153,13 +153,39 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
153
153
|
agent: "agent";
|
|
154
154
|
}>;
|
|
155
155
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
156
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
157
|
+
turnId: z.ZodString;
|
|
158
|
+
modelProfile: z.ZodString;
|
|
159
|
+
modelId: z.ZodString;
|
|
160
|
+
reasoningLevel: z.ZodString;
|
|
161
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
source: z.ZodEnum<{
|
|
163
|
+
configured: "configured";
|
|
164
|
+
inherited: "inherited";
|
|
165
|
+
router: "router";
|
|
166
|
+
}>;
|
|
167
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
156
168
|
type: z.ZodLiteral<"compaction">;
|
|
169
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
170
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
171
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
172
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
reason: z.ZodLiteral<"capacity">;
|
|
174
|
+
estimatedInputTokens: z.ZodNumber;
|
|
175
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
triggerTokens: z.ZodNumber;
|
|
177
|
+
inputLimitTokens: z.ZodNumber;
|
|
178
|
+
inputMessageCount: z.ZodNumber;
|
|
179
|
+
retainedMessageCount: z.ZodNumber;
|
|
180
|
+
summaryChars: z.ZodNumber;
|
|
181
|
+
}, z.core.$strict>>;
|
|
157
182
|
}, z.core.$strict>, z.ZodObject<{
|
|
158
183
|
type: z.ZodLiteral<"handoff">;
|
|
159
184
|
modelProfile: z.ZodString;
|
|
160
185
|
modelId: z.ZodString;
|
|
161
186
|
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
162
187
|
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
188
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
163
189
|
}, z.core.$strict>, z.ZodObject<{
|
|
164
190
|
type: z.ZodLiteral<"subagent">;
|
|
165
191
|
startedSeq: z.ZodNumber;
|
|
@@ -224,13 +250,39 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
224
250
|
agent: "agent";
|
|
225
251
|
}>;
|
|
226
252
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
253
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
254
|
+
turnId: z.ZodString;
|
|
255
|
+
modelProfile: z.ZodString;
|
|
256
|
+
modelId: z.ZodString;
|
|
257
|
+
reasoningLevel: z.ZodString;
|
|
258
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
259
|
+
source: z.ZodEnum<{
|
|
260
|
+
configured: "configured";
|
|
261
|
+
inherited: "inherited";
|
|
262
|
+
router: "router";
|
|
263
|
+
}>;
|
|
264
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
227
265
|
type: z.ZodLiteral<"compaction">;
|
|
266
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
267
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
268
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
269
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
270
|
+
reason: z.ZodLiteral<"capacity">;
|
|
271
|
+
estimatedInputTokens: z.ZodNumber;
|
|
272
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
triggerTokens: z.ZodNumber;
|
|
274
|
+
inputLimitTokens: z.ZodNumber;
|
|
275
|
+
inputMessageCount: z.ZodNumber;
|
|
276
|
+
retainedMessageCount: z.ZodNumber;
|
|
277
|
+
summaryChars: z.ZodNumber;
|
|
278
|
+
}, z.core.$strict>>;
|
|
228
279
|
}, z.core.$strict>, z.ZodObject<{
|
|
229
280
|
type: z.ZodLiteral<"handoff">;
|
|
230
281
|
modelProfile: z.ZodString;
|
|
231
282
|
modelId: z.ZodString;
|
|
232
283
|
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
233
284
|
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
285
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
234
286
|
}, z.core.$strict>, z.ZodObject<{
|
|
235
287
|
type: z.ZodLiteral<"subagent">;
|
|
236
288
|
startedSeq: z.ZodNumber;
|
|
@@ -388,13 +440,39 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
388
440
|
agent: "agent";
|
|
389
441
|
}>;
|
|
390
442
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
443
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
444
|
+
turnId: z.ZodString;
|
|
445
|
+
modelProfile: z.ZodString;
|
|
446
|
+
modelId: z.ZodString;
|
|
447
|
+
reasoningLevel: z.ZodString;
|
|
448
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
449
|
+
source: z.ZodEnum<{
|
|
450
|
+
configured: "configured";
|
|
451
|
+
inherited: "inherited";
|
|
452
|
+
router: "router";
|
|
453
|
+
}>;
|
|
454
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
391
455
|
type: z.ZodLiteral<"compaction">;
|
|
456
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
457
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
458
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
459
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
460
|
+
reason: z.ZodLiteral<"capacity">;
|
|
461
|
+
estimatedInputTokens: z.ZodNumber;
|
|
462
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
463
|
+
triggerTokens: z.ZodNumber;
|
|
464
|
+
inputLimitTokens: z.ZodNumber;
|
|
465
|
+
inputMessageCount: z.ZodNumber;
|
|
466
|
+
retainedMessageCount: z.ZodNumber;
|
|
467
|
+
summaryChars: z.ZodNumber;
|
|
468
|
+
}, z.core.$strict>>;
|
|
392
469
|
}, z.core.$strict>, z.ZodObject<{
|
|
393
470
|
type: z.ZodLiteral<"handoff">;
|
|
394
471
|
modelProfile: z.ZodString;
|
|
395
472
|
modelId: z.ZodString;
|
|
396
473
|
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
397
474
|
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
475
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
398
476
|
}, z.core.$strict>, z.ZodObject<{
|
|
399
477
|
type: z.ZodLiteral<"subagent">;
|
|
400
478
|
startedSeq: z.ZodNumber;
|
|
@@ -473,13 +551,39 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
473
551
|
agent: "agent";
|
|
474
552
|
}>;
|
|
475
553
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
554
|
+
type: z.ZodLiteral<"turn_routed">;
|
|
555
|
+
turnId: z.ZodString;
|
|
556
|
+
modelProfile: z.ZodString;
|
|
557
|
+
modelId: z.ZodString;
|
|
558
|
+
reasoningLevel: z.ZodString;
|
|
559
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
560
|
+
source: z.ZodEnum<{
|
|
561
|
+
configured: "configured";
|
|
562
|
+
inherited: "inherited";
|
|
563
|
+
router: "router";
|
|
564
|
+
}>;
|
|
565
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
476
566
|
type: z.ZodLiteral<"compaction">;
|
|
567
|
+
modelProfile: z.ZodOptional<z.ZodString>;
|
|
568
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
569
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
570
|
+
details: z.ZodOptional<z.ZodObject<{
|
|
571
|
+
reason: z.ZodLiteral<"capacity">;
|
|
572
|
+
estimatedInputTokens: z.ZodNumber;
|
|
573
|
+
replacementInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
574
|
+
triggerTokens: z.ZodNumber;
|
|
575
|
+
inputLimitTokens: z.ZodNumber;
|
|
576
|
+
inputMessageCount: z.ZodNumber;
|
|
577
|
+
retainedMessageCount: z.ZodNumber;
|
|
578
|
+
summaryChars: z.ZodNumber;
|
|
579
|
+
}, z.core.$strict>>;
|
|
477
580
|
}, z.core.$strict>, z.ZodObject<{
|
|
478
581
|
type: z.ZodLiteral<"handoff">;
|
|
479
582
|
modelProfile: z.ZodString;
|
|
480
583
|
modelId: z.ZodString;
|
|
481
584
|
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
482
585
|
triggeringToolCallId: z.ZodOptional<z.ZodString>;
|
|
586
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
483
587
|
}, z.core.$strict>, z.ZodObject<{
|
|
484
588
|
type: z.ZodLiteral<"subagent">;
|
|
485
589
|
startedSeq: z.ZodNumber;
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export type { LocationActorSummaryReport, LocationActivityDayReport, LocationDet
|
|
|
8
8
|
export type { ActorActivityDayReport, ActorDirectoryReport, ActorProfileReport, ActorSummaryReport, ActorTotalsReport, PeopleActivityDayReport, PersonParams, } from "./schema/person";
|
|
9
9
|
export { apiErrorSchema } from "./schema/common";
|
|
10
10
|
export type { ApiError } from "./schema/common";
|
|
11
|
-
export { healthReportSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema,
|
|
12
|
-
export type { HealthReport, PluginOperationalReport, PluginOperationalReportFeed, PluginPackageContentItemReport, PluginPackageContentReport,
|
|
11
|
+
export { healthReportSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, runtimeInfoReportSchema, skillReportSchema, skillReportsSchema, } from "../reporting-schema";
|
|
12
|
+
export type { HealthReport, PluginOperationalReport, PluginOperationalReportFeed, PluginPackageContentItemReport, PluginPackageContentReport, Plugin, Plugins, RuntimeInfoReport, SkillReport, SkillReports, } from "../reporting-schema";
|
package/dist/api/schema.js
CHANGED
|
@@ -22,19 +22,19 @@ import {
|
|
|
22
22
|
locationDirectoryReportSchema,
|
|
23
23
|
locationParamsSchema,
|
|
24
24
|
personParamsSchema
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-G36V2YGB.js";
|
|
26
26
|
import {
|
|
27
27
|
healthReportSchema,
|
|
28
28
|
pluginOperationalReportFeedSchema,
|
|
29
29
|
pluginOperationalReportSchema,
|
|
30
30
|
pluginPackageContentItemReportSchema,
|
|
31
31
|
pluginPackageContentReportSchema,
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
pluginSchema,
|
|
33
|
+
pluginsSchema,
|
|
34
34
|
runtimeInfoReportSchema,
|
|
35
35
|
skillReportSchema,
|
|
36
36
|
skillReportsSchema
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-6OPTF4BQ.js";
|
|
38
38
|
import "../chunk-PDO5BLNM.js";
|
|
39
39
|
import "../chunk-VFUK3X5B.js";
|
|
40
40
|
import "../chunk-MLKGABMK.js";
|
|
@@ -67,8 +67,8 @@ export {
|
|
|
67
67
|
pluginOperationalReportSchema,
|
|
68
68
|
pluginPackageContentItemReportSchema,
|
|
69
69
|
pluginPackageContentReportSchema,
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
pluginSchema,
|
|
71
|
+
pluginsSchema,
|
|
72
72
|
runtimeInfoReportSchema,
|
|
73
73
|
skillReportSchema,
|
|
74
74
|
skillReportsSchema
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Serve the skills discovered for the current Junior runtime. */
|
|
2
|
+
declare const _default: import("./route").ApiRoute<import("zod").ZodArray<import("zod").ZodObject<{
|
|
3
|
+
name: import("zod").ZodString;
|
|
4
|
+
pluginProvider: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5
|
+
}, import("zod/v4/core").$strict>>>;
|
|
6
|
+
export default _default;
|