@sentry/junior 0.298.0 → 0.300.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/{actor-6jsm_v96.js → actor-D2iXzvlN.js} +2 -1
- package/dist/{state-CSuA2J1V.js → adapter-S5UkjNK3.js} +53 -136
- package/dist/{admin-BF3DbYGf.js → admin-UrTniSPO.js} +2 -2
- package/dist/{agent-runner-Q9GkoerG.js → agent-runner-bY4_0UPm.js} +1444 -1478
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +7 -7
- package/dist/api.d.ts +1 -1
- package/dist/api.js +382 -68
- package/dist/{app-DOg_mCtV.d.ts → app-D-AcIcCV.d.ts} +17 -4
- package/dist/app.d.ts +1 -1
- package/dist/app.js +148 -483
- package/dist/{automation-Cn8qmbdr.js → automation-Dw82oQ-h.js} +2 -2
- package/dist/{background-compaction-queue-BZhGFOK6.js → background-compaction-queue-B6U3060-.js} +9 -5
- package/dist/{briefs-CQrCRF6-.js → briefs-DqiwWu-n.js} +4 -4
- package/dist/{catalog-runtime-DZeD2WbL.js → catalog-runtime-D1oYNv04.js} +1 -1
- package/dist/cli/chat.js +17 -17
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +3 -3
- 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/{config-BOByVnxe.js → config-9nHoFiJP.js} +117 -12
- package/dist/{connections-BNN5cJam.js → connections-DZjTN3JC.js} +6 -6
- package/dist/continue-in-slack-Dtv7_U42.js +176 -0
- package/dist/{conversation-DCkzvxqB.js → conversation-Dyjq2CZ8.js} +36 -13
- package/dist/{conversation-feed-CMA12Rjs.js → conversation-feed-CcDxlrlQ.js} +109 -3
- package/dist/{conversation-privacy-C0eRxsgb.js → conversation-privacy-D-5HTXjS.js} +1 -1
- package/dist/{conversation-turn-D9qvcDX6.js → conversation-turn-Cxl8WZD7.js} +85 -68
- package/dist/{credential-sync-B_iUpxGL.js → credential-sync-C49ClwDX.js} +18 -18
- package/dist/{db-DoMcnYol.d.ts → db-2resqBh1.d.ts} +1 -1
- package/dist/{db-CoMNr2Zm.js → db-BJNo6fK5.js} +176 -12
- package/dist/{executor-C-m8VrzX.js → executor-DBIaOeJ_.js} +47 -13
- package/dist/{media-BepyEUNm.js → history-IjdmO_r6.js} +1 -85
- package/dist/instrumentation.js +14 -5
- package/dist/lineage-0dereG7H.js +37 -0
- package/dist/{logging-CJTi5niy.js → logging-BIclibct.js} +1 -1
- package/dist/{message-Q6_5DAWR.js → message-dkOl-Iii.js} +9 -10
- package/dist/model-input-CLo9TaUd.js +82 -0
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +17 -9
- package/dist/{oauth-callback-server-CH5XAyo-.js → oauth-callback-server-WmpjfJgQ.js} +2 -2
- package/dist/{plugins-HYh_JOdw.js → plugins-BBX07Jzt.js} +1 -1
- package/dist/{projection-BgwEE36_.js → projection-w_X-zi7v.js} +1035 -692
- package/dist/{prompt-DXc9DYT9.js → prompt-B1Xw46-S.js} +4 -4
- package/dist/{registry-9XwqSnM-.js → registry-BmP5vnlj.js} +4 -4
- package/dist/{resolve-DUIAbcRL.js → resolve-goo34bJK.js} +3 -3
- package/dist/{result-C2Vn8QGn.js → result-PVBeU0Wf.js} +158 -69
- package/dist/{runner-CXGtw-Mc.js → runner-DKrfvNV6.js} +9 -9
- package/dist/{sandbox-egress-signals-Di3S_dO7.js → sandbox-egress-signals-DsUcqrI0.js} +1 -1
- package/dist/{schema-Dyp7racy.js → schema-C9iNFz5n.js} +51 -7
- package/dist/{schema-BnbZ-rKv.d.ts → schema-Dns-sTas.d.ts} +1285 -761
- package/dist/{service-account-DM3KBBeG.js → service-account-CMAAloAL.js} +3 -3
- package/dist/{service-account-GzAMUQ8a.js → service-account-CmowamcB.js} +4 -4
- package/dist/session-stop-BcAXze8a.js +3330 -0
- package/dist/{skills-DCK9SD_l.js → skills-DfsazET6.js} +3 -3
- package/dist/slack-conversation-unfurl-CzQonuWz.js +370 -0
- package/dist/spawn-C7o0FDDp.js +73 -0
- package/dist/state-zSilNpbi.js +132 -0
- package/dist/{user-input-request-CXNIov9n.js → statuses-Hn-HsOph.js} +115 -26
- package/dist/{stop-Dh2DfwpK.js → stop-CFOujp8C.js} +9105 -6007
- package/dist/{store-DrA17Fbz.js → store-Dkeis_8o.js} +10 -10
- package/dist/{store-B1zepKG8.js → store-E3x2Fg_F.js} +24 -4
- package/dist/{task-queue-D1rXWfFN.js → task-queue-D-hCqdZW.js} +4 -4
- package/dist/{task-runner-CT4M8oDz.js → task-runner-vohUPLHe.js} +10 -10
- package/dist/{thread-context-DnqUkbzN.js → thread-context-BzvdkgI9.js} +18 -18
- package/dist/{turn-session-routing-VXDVXLRl.js → turn-session-routing-Bo_LxFum.js} +5 -5
- package/dist/turn-user-message-D5RnVmxQ.js +355 -0
- package/dist/users-2bggndVg.js +424 -0
- package/dist/{validation-zxAJBDDy.js → validation-BbWikeSa.js} +1 -1
- package/dist/{version-DcZ40a0g.js → version-GVBMW2jA.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-CgiGjW10.js → viewer-BpxRliyO.js} +36 -163
- package/dist/{warmup-CwKbxQLl.js → warmup-BW2qwnal.js} +1140 -145
- package/dist/{worker-CbDUzaBA.js → worker-Cbd-iuwZ.js} +25 -20
- package/migrations/0104_code_change_draft.sql +1 -0
- package/migrations/0105_attachment_uploads.sql +14 -0
- package/migrations/0106_conversation_agent_config.sql +1 -0
- package/migrations/0107_attachment_deferred_download.sql +2 -0
- package/migrations/meta/0104_snapshot.json +4516 -0
- package/migrations/meta/0105_snapshot.json +4611 -0
- package/migrations/meta/0106_snapshot.json +4617 -0
- package/migrations/meta/0107_snapshot.json +4617 -0
- package/migrations/meta/_journal.json +28 -0
- package/package.json +10 -8
- package/dist/attempt-selection-ClP3MMPr.js +0 -61
- package/dist/locks-D-0h111u.js +0 -48
- package/dist/notification-Bv25xbj0.js +0 -1284
- package/dist/prompt-input-BUr4J9RO.js +0 -1424
- package/dist/session-stop-D4i7e6iT.js +0 -181
- package/dist/spawn-6cX6xE9G.js +0 -80
- package/dist/turn-cancel-l460pfGW.js +0 -201
- package/dist/turn-user-message-BSPmkm7X.js +0 -608
- package/dist/turn-wake-DVFVXyhX.js +0 -161
- package/dist/{oauth-relay-CsfIazeF.js → oauth-relay-DRzq73b6.js} +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { _ as runBestEffort, a as extractGenAiUsageSummary } from "./logging-
|
|
3
|
-
import {
|
|
4
|
-
import { Q as
|
|
1
|
+
import { C as completeObject$1, S as completeDecision$1, w as completeText$1 } from "./config-9nHoFiJP.js";
|
|
2
|
+
import { _ as runBestEffort, a as extractGenAiUsageSummary } from "./logging-BIclibct.js";
|
|
3
|
+
import { Y as agentTurnCostUsd, r as getConversationEventStore } from "./db-BJNo6fK5.js";
|
|
4
|
+
import { Q as briefOutcomeStatusSchema, et as conversationBriefSchema, tt as parseBriefInput } from "./conversation-Dyjq2CZ8.js";
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { conversationEventPresentationSchema, defineConversationEvent } from "@sentry/junior-plugin-api";
|
|
7
7
|
// src/chat/conversations/structured-events.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as setSpanAttributes, h as logWarn, m as logInfo } from "./logging-
|
|
2
|
-
import { o as isUserActor, s as parseActorUserId } from "./actor-
|
|
1
|
+
import { b as setSpanAttributes, h as logWarn, m as logInfo } from "./logging-BIclibct.js";
|
|
2
|
+
import { o as isUserActor, s as parseActorUserId } from "./actor-D2iXzvlN.js";
|
|
3
3
|
import { n as normalizePluginPackageNames, o as pluginRoots, t as discoverInstalledPluginPackageContent } from "./package-discovery-DJhGdS4c.js";
|
|
4
|
+
import * as z from "zod";
|
|
4
5
|
import path from "node:path";
|
|
5
6
|
import { randomUUID } from "node:crypto";
|
|
6
|
-
import * as z from "zod";
|
|
7
7
|
import { parse } from "yaml";
|
|
8
8
|
import { readFileSync, readdirSync, statSync } from "node:fs";
|
|
9
9
|
// src/chat/plugins/inline-manifest-source.ts
|
|
@@ -532,7 +532,7 @@ function normalizeRuntimeDependencies(entries, name) {
|
|
|
532
532
|
});
|
|
533
533
|
continue;
|
|
534
534
|
}
|
|
535
|
-
if (
|
|
535
|
+
if (URL.parse(packageUrl)?.protocol !== "https:") throw new Error(`Plugin ${name} system runtime dependency url must be an https URL`);
|
|
536
536
|
const normalizedSha256 = typeof sha256 === "string" ? sha256.trim().toLowerCase() : "";
|
|
537
537
|
if (!/^[a-f0-9]{64}$/.test(normalizedSha256)) throw new Error(`Plugin ${name} system runtime dependency url entries must include a valid sha256`);
|
|
538
538
|
const dedupeKey = `${record.type}:url:${packageUrl}:${normalizedSha256}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as withSpan, b as setSpanAttributes } from "./logging-
|
|
3
|
-
import {
|
|
1
|
+
import { $i as create, ns as sleep, po as runNonInteractiveCommand, ra as getSandboxProvider, ro as SANDBOX_COMMAND_PATH, so as SANDBOX_WORKSPACE_ROOT, ta as isStale } from "./projection-w_X-zi7v.js";
|
|
2
|
+
import { E as withSpan, b as setSpanAttributes } from "./logging-BIclibct.js";
|
|
3
|
+
import { r as getStateAdapter } from "./adapter-S5UkjNK3.js";
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
// src/chat/sandbox/resources.ts
|
|
6
6
|
let configuredResources;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { v as __exportAll } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { f as credentialContextForActor } from "./registry-
|
|
5
|
-
import { a as EVENT_SYSTEM_ACTOR } from "./prompt-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { _ as agentInvocationResultEventType, g as AGENT_REPLY_EVENT_TYPE, h as AGENT_MESSAGE_EVENT_TYPE, m as AGENT_INVOCATION_EVENT_NAMESPACE } from "./user-input-request-CXNIov9n.js";
|
|
2
|
+
import { Jn as renderUntrustedTag } from "./projection-w_X-zi7v.js";
|
|
3
|
+
import { E as turnBehavior, a as getConversationStore, j as SYSTEM_IDENTITY_ID } from "./db-BJNo6fK5.js";
|
|
4
|
+
import { f as credentialContextForActor } from "./registry-BmP5vnlj.js";
|
|
5
|
+
import { a as EVENT_SYSTEM_ACTOR } from "./prompt-B1Xw46-S.js";
|
|
6
|
+
import { D as parseEventMessages, E as listActiveMailboxTurns, I as renderEventBatchInputs, L as timerWatchCredentialSubject, M as EVENT_WAIT_MS, O as resolveMailboxTurnWork, P as eventBatchMessageMeta, s as eventReviewItemInputs, t as getConversationStoppedAtMs, w as getEventBatchDelayMs } from "./session-stop-BcAXze8a.js";
|
|
7
|
+
import { A as readChildConversationSender, B as endActiveAgentInvocations, D as sendsResultToParent, E as reportReplacedWithoutOpenWork, F as parentMessageText, H as enqueueAgentInvocation, L as readParentMessage, O as childAgentInput, P as logDroppedParentMessage, Q as createAgentInvocationFromLatest, R as createAgentInvocationWorker, T as markAgentInvocationParentMailboxAppended, U as resolveAgentInvocationId, V as endAgentInvocationsOfStoppedWork, b as isTerminalAgentInvocation, h as TERMINAL_AGENT_INVOCATION_STATUSES, j as routeChildInput, k as getChildAgentInputSender, m as NON_TERMINAL_AGENT_INVOCATION_STATUSES, p as listUnreportedSiblingAgents, x as listAgentInvocationsForConversation, y as getLatestAgentInvocationForConversation } from "./warmup-BW2qwnal.js";
|
|
8
|
+
import { A as getAgentInvocationResultMessageId, C as ownAgentInvocation, D as getAgentInvocationIdForMessage, E as getAgentInvocationIdForEvents, F as getTurnReplyKey, M as getAgentReplyMessageId, O as getAgentInvocationIdForResult, R as buildDeterministicTurnId, S as listChildMessages, b as hasAgentInvocationReply, j as getAgentInvocationTurnId, y as childMessageSenderMetadata } from "./turn-user-message-D5RnVmxQ.js";
|
|
9
|
+
import { _ as getConversationWorkState, r as appendAndEnqueueInboundMessage } from "./store-E3x2Fg_F.js";
|
|
10
|
+
import { S as agentInvocationResultEventType, v as AGENT_INVOCATION_EVENT_NAMESPACE, x as AGENT_REPLY_EVENT_TYPE, y as AGENT_MESSAGE_EVENT_TYPE } from "./statuses-Hn-HsOph.js";
|
|
11
|
+
import { actorSchema } from "@sentry/junior-plugin-api";
|
|
13
12
|
// src/chat/agent-invocations/result.ts
|
|
14
13
|
var result_exports = /* @__PURE__ */ __exportAll({
|
|
15
14
|
createChildConversationWorker: () => createChildConversationWorker,
|
|
@@ -74,7 +73,7 @@ function siblingLabel(sibling) {
|
|
|
74
73
|
* sent at the same moment, so two siblings cannot each name the other.
|
|
75
74
|
*/
|
|
76
75
|
function renderResultUnderLock(sender, result) {
|
|
77
|
-
return async (parentInboundMessageIds) => renderResultInput(sender, result, await listUnreportedSiblingAgents(sender.parentConversationId, sender.childConversationId, parentInboundMessageIds));
|
|
76
|
+
return async (parentInboundMessageIds, messageSenders) => renderResultInput(sender, result, await listUnreportedSiblingAgents(sender.parentConversationId, sender.childConversationId, await listChildMessages(parentInboundMessageIds, messageSenders)));
|
|
78
77
|
}
|
|
79
78
|
function terminalResult(invocation) {
|
|
80
79
|
return {
|
|
@@ -96,7 +95,12 @@ function buildResultInboundMessage(invocation, nowMs) {
|
|
|
96
95
|
identifier: invocation.invocationId,
|
|
97
96
|
namespace: AGENT_INVOCATION_EVENT_NAMESPACE,
|
|
98
97
|
trustedSummary: summary
|
|
99
|
-
}
|
|
98
|
+
},
|
|
99
|
+
...childMessageSenderMetadata({
|
|
100
|
+
agentInvocationId: invocation.invocationId,
|
|
101
|
+
conversationId: invocation.childConversationId,
|
|
102
|
+
turnId: getAgentInvocationTurnId(invocation.invocationId)
|
|
103
|
+
})
|
|
100
104
|
};
|
|
101
105
|
return {
|
|
102
106
|
conversationId: invocation.parentConversationId,
|
|
@@ -125,10 +129,10 @@ function buildResultInboundMessage(invocation, nowMs) {
|
|
|
125
129
|
async function enqueueAgentInvocationResult(invocation, options) {
|
|
126
130
|
if (invocation.parentMailboxStatus !== "pending") return;
|
|
127
131
|
const nowMs = options.nowMs ?? Date.now();
|
|
128
|
-
const
|
|
129
|
-
if (!sendsResultToParent(invocation,
|
|
132
|
+
const parentMessages = await readParentChildMessages(invocation.parentConversationId, options.state);
|
|
133
|
+
if (!sendsResultToParent(invocation, parentMessages)) {
|
|
130
134
|
await markAgentInvocationParentMailboxAppended(invocation.invocationId, nowMs);
|
|
131
|
-
const replaced =
|
|
135
|
+
const replaced = hasAgentInvocationReply(parentMessages, invocation.invocationId) ? void 0 : await reportReplacedWithoutOpenWork(invocation.parentConversationId, nowMs);
|
|
132
136
|
if (replaced && isTerminalAgentInvocation(replaced)) await enqueueAgentInvocationResult(replaced, options);
|
|
133
137
|
return;
|
|
134
138
|
}
|
|
@@ -142,17 +146,39 @@ async function enqueueAgentInvocationResult(invocation, options) {
|
|
|
142
146
|
await markAgentInvocationParentMailboxAppended(invocation.invocationId, nowMs);
|
|
143
147
|
}
|
|
144
148
|
/**
|
|
145
|
-
* Read
|
|
146
|
-
* whose `reply` is among them has answered.
|
|
149
|
+
* Read every child reply and result that reached the parent's mailbox. A
|
|
150
|
+
* sibling whose `reply` is among them has answered.
|
|
147
151
|
*/
|
|
148
|
-
async function
|
|
149
|
-
|
|
152
|
+
async function readParentChildMessages(parentConversationId, state) {
|
|
153
|
+
const work = await getConversationWorkState({
|
|
150
154
|
conversationId: parentConversationId,
|
|
151
155
|
state
|
|
152
|
-
})
|
|
156
|
+
});
|
|
157
|
+
return await listChildMessages(work?.execution.inboundMessageIds ?? [], work?.execution.messageSenders ?? {});
|
|
153
158
|
}
|
|
154
|
-
function childAgentLabel(
|
|
155
|
-
return
|
|
159
|
+
function childAgentLabel(sender) {
|
|
160
|
+
return sender.agentName ? `Child agent "${sender.agentName}"` : "Child agent";
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Mailbox metadata of a reply or message from a child that no Agent
|
|
164
|
+
* invocation names. It carries the Actor of the child's Turn, so the parent
|
|
165
|
+
* runs with no more authority than that Turn. The author id must match it.
|
|
166
|
+
*/
|
|
167
|
+
function senderEventMetadata(sender, actor, event) {
|
|
168
|
+
return sender.invocationId ? {
|
|
169
|
+
kind: "event",
|
|
170
|
+
event
|
|
171
|
+
} : {
|
|
172
|
+
kind: "event",
|
|
173
|
+
event,
|
|
174
|
+
actor
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
/** Read the Actor that a reply or message from a child without an Agent invocation carries. */
|
|
178
|
+
function senderActorFromMetadata(metadata) {
|
|
179
|
+
const actor = metadata?.actor;
|
|
180
|
+
const parsed = actorSchema.safeParse(actor);
|
|
181
|
+
return parsed.success ? parsed.data : void 0;
|
|
156
182
|
}
|
|
157
183
|
function renderMessageInput(sender, text) {
|
|
158
184
|
return renderUntrustedTag("agent-message", {
|
|
@@ -170,18 +196,16 @@ function renderMessageInput(sender, text) {
|
|
|
170
196
|
*/
|
|
171
197
|
async function enqueueAgentMessageToParent(args) {
|
|
172
198
|
const nowMs = args.nowMs ?? Date.now();
|
|
173
|
-
const
|
|
199
|
+
const senderId = args.sender.invocationId ?? args.sender.childConversationId;
|
|
200
|
+
const inboundMessageId = `agent-invocation:${senderId}:message:${args.messageKey}`;
|
|
174
201
|
const summary = `${childAgentLabel(args.sender)} sent a message.`;
|
|
175
|
-
const metadata = {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
trustedSummary: summary
|
|
183
|
-
}
|
|
184
|
-
};
|
|
202
|
+
const metadata = senderEventMetadata(args.sender, args.actor, {
|
|
203
|
+
eventKey: inboundMessageId,
|
|
204
|
+
eventType: AGENT_MESSAGE_EVENT_TYPE,
|
|
205
|
+
identifier: senderId,
|
|
206
|
+
namespace: AGENT_INVOCATION_EVENT_NAMESPACE,
|
|
207
|
+
trustedSummary: summary
|
|
208
|
+
});
|
|
185
209
|
await appendAndEnqueueInboundMessage({
|
|
186
210
|
message: {
|
|
187
211
|
conversationId: args.sender.parentConversationId,
|
|
@@ -210,15 +234,18 @@ const RESULT_SUMMARIES = {
|
|
|
210
234
|
/**
|
|
211
235
|
* Append the result of one child agent Turn to its parent mailbox and wake
|
|
212
236
|
* the parent: a `reply`, which the parent reads as a completed
|
|
213
|
-
* `<agent-result>`, or a blocked or failed result. `sender`
|
|
214
|
-
*
|
|
215
|
-
* child's Turn; the parent never runs
|
|
216
|
-
* of the result, the `reply` tool call
|
|
217
|
-
* so a repeat call is safe.
|
|
237
|
+
* `<agent-result>`, or a blocked or failed result. `sender` names the child:
|
|
238
|
+
* an agent invocation, open or not, or the child Conversation when none
|
|
239
|
+
* names it. `actor` is the Actor of the child's Turn; the parent never runs
|
|
240
|
+
* with more authority than it. The key of the result, the `reply` tool call
|
|
241
|
+
* id or the Turn id, keys the message, so a repeat call is safe.
|
|
218
242
|
*/
|
|
219
243
|
async function enqueueChildResultToParent(args) {
|
|
220
244
|
const nowMs = args.nowMs ?? Date.now();
|
|
221
|
-
const
|
|
245
|
+
const actor = args.actor ?? args.sender.actor;
|
|
246
|
+
if (!actor) throw new Error(`Reply of ${args.sender.childConversationId} has no Actor for its parent`);
|
|
247
|
+
const senderId = args.sender.invocationId ?? args.sender.childConversationId;
|
|
248
|
+
const inboundMessageId = getAgentReplyMessageId(senderId, args.messageKey);
|
|
222
249
|
const rendered = args.result.kind === "reply" ? {
|
|
223
250
|
output: args.result.reply.text,
|
|
224
251
|
status: "completed"
|
|
@@ -226,15 +253,20 @@ async function enqueueChildResultToParent(args) {
|
|
|
226
253
|
output: args.result.text,
|
|
227
254
|
status: args.result.kind
|
|
228
255
|
};
|
|
256
|
+
const sender = {
|
|
257
|
+
...args.sender.invocationId ? { agentInvocationId: args.sender.invocationId } : void 0,
|
|
258
|
+
conversationId: args.sender.childConversationId,
|
|
259
|
+
turnId: args.turnId
|
|
260
|
+
};
|
|
229
261
|
const metadata = {
|
|
230
|
-
|
|
231
|
-
event: {
|
|
262
|
+
...senderEventMetadata(args.sender, actor, {
|
|
232
263
|
eventKey: inboundMessageId,
|
|
233
264
|
eventType: AGENT_REPLY_EVENT_TYPE,
|
|
234
|
-
identifier:
|
|
265
|
+
identifier: senderId,
|
|
235
266
|
namespace: AGENT_INVOCATION_EVENT_NAMESPACE,
|
|
236
267
|
trustedSummary: `${childAgentLabel(args.sender)} ${RESULT_SUMMARIES[args.result.kind]}`
|
|
237
|
-
}
|
|
268
|
+
}),
|
|
269
|
+
...childMessageSenderMetadata(sender)
|
|
238
270
|
};
|
|
239
271
|
await appendAndEnqueueInboundMessage({
|
|
240
272
|
message: {
|
|
@@ -243,7 +275,7 @@ async function enqueueChildResultToParent(args) {
|
|
|
243
275
|
delivery: "defer",
|
|
244
276
|
inboundMessageId,
|
|
245
277
|
input: {
|
|
246
|
-
authorId: resultAuthorId(
|
|
278
|
+
authorId: resultAuthorId(actor),
|
|
247
279
|
authorIdentityId: SYSTEM_IDENTITY_ID,
|
|
248
280
|
metadata,
|
|
249
281
|
text: renderResultInput(args.sender, rendered, [])
|
|
@@ -251,7 +283,7 @@ async function enqueueChildResultToParent(args) {
|
|
|
251
283
|
receivedAtMs: nowMs,
|
|
252
284
|
source: "event"
|
|
253
285
|
},
|
|
254
|
-
renderText: async (parentInboundMessageIds) =>
|
|
286
|
+
renderText: async (parentInboundMessageIds, messageSenders) => !ownAgentInvocation(sender) && await getConversationStoppedAtMs(args.sender.childConversationId) !== void 0 ? void 0 : await renderResultUnderLock(args.sender, rendered)(parentInboundMessageIds, messageSenders),
|
|
255
287
|
queue: args.queue,
|
|
256
288
|
queueDelayMs: EVENT_WAIT_MS,
|
|
257
289
|
state: args.state
|
|
@@ -260,19 +292,21 @@ async function enqueueChildResultToParent(args) {
|
|
|
260
292
|
/**
|
|
261
293
|
* Build the parent delivery of child agent Turns that run on the
|
|
262
294
|
* Conversation loop. Such a Turn has no open agent invocation, so its
|
|
263
|
-
* newest finished agent invocation names the child for the parent.
|
|
295
|
+
* newest finished agent invocation names the child for the parent. A child
|
|
296
|
+
* that no agent invocation names is named by its child Conversation.
|
|
264
297
|
*/
|
|
265
298
|
function createDeliverToParent(options) {
|
|
266
299
|
return async ({ actor, result, conversationId, turnId }) => {
|
|
267
|
-
const sender = (await listAgentInvocationsForConversation(conversationId, TERMINAL_AGENT_INVOCATION_STATUSES)).at(-1);
|
|
268
|
-
if (!sender) throw new Error(`
|
|
300
|
+
const sender = (await listAgentInvocationsForConversation(conversationId, TERMINAL_AGENT_INVOCATION_STATUSES)).at(-1) ?? await readChildConversationSender(conversationId);
|
|
301
|
+
if (!sender) throw new Error(`Conversation ${conversationId} has no parent agent`);
|
|
269
302
|
await enqueueChildResultToParent({
|
|
270
303
|
actor,
|
|
271
304
|
result,
|
|
272
305
|
messageKey: result.kind === "reply" ? getTurnReplyKey(turnId, result.reply.toolCallId) : turnId,
|
|
273
306
|
queue: options.queue,
|
|
274
307
|
sender,
|
|
275
|
-
state: options.state
|
|
308
|
+
state: options.state,
|
|
309
|
+
turnId
|
|
276
310
|
});
|
|
277
311
|
};
|
|
278
312
|
}
|
|
@@ -297,11 +331,8 @@ function createEndStoppedChildWork(options) {
|
|
|
297
331
|
const turns = await listActiveMailboxTurns(conversationId);
|
|
298
332
|
const pending = (await getConversationWorkState({ conversationId }))?.execution.pendingMessages ?? [];
|
|
299
333
|
const turnIds = /* @__PURE__ */ new Set([...turns.map((turn) => turn.turnId), ...pending.map((message) => buildDeterministicTurnId(message.inboundMessageId))]);
|
|
300
|
-
const sender = await getLatestAgentInvocationForConversation(conversationId);
|
|
301
|
-
if (sender && (await
|
|
302
|
-
const turnId = parseTurnReplyMessageId(messageId);
|
|
303
|
-
return turnId !== void 0 && turnIds.has(turnId) && isAgentReplyMessageId(messageId, sender.invocationId);
|
|
304
|
-
})) return;
|
|
334
|
+
const sender = await getLatestAgentInvocationForConversation(conversationId) ?? await readChildConversationSender(conversationId);
|
|
335
|
+
if (sender && (await readParentChildMessages(sender.parentConversationId, void 0)).some((message) => message.sender.conversationId === conversationId && turnIds.has(message.sender.turnId))) return;
|
|
305
336
|
const [turn] = turns;
|
|
306
337
|
await deliverToParent({
|
|
307
338
|
actor: turn?.actor ?? EVENT_SYSTEM_ACTOR,
|
|
@@ -332,7 +363,7 @@ async function startAgentInvocationsForChildInput(context, options) {
|
|
|
332
363
|
const routes = await Promise.all(messages.map((message) => routeChildInput(message, latest, stoppedAtMs)));
|
|
333
364
|
if (!routes.includes("agent invocation")) return;
|
|
334
365
|
const inputs = messages.map(childAgentInput);
|
|
335
|
-
const isAgentInput =
|
|
366
|
+
const isAgentInput = messages.every((message, index) => inputs[index] !== void 0 || readParentMessage(message) !== void 0);
|
|
336
367
|
const events = isAgentInput ? [] : parseEventMessages(messages);
|
|
337
368
|
if (!isAgentInput && events.length === 0) return;
|
|
338
369
|
if (!isAgentInput) {
|
|
@@ -360,14 +391,32 @@ async function startAgentInvocationsForChildInput(context, options) {
|
|
|
360
391
|
return { status: "completed" };
|
|
361
392
|
}
|
|
362
393
|
for (const [index, message] of messages.entries()) {
|
|
363
|
-
|
|
394
|
+
const parentMessage = readParentMessage(message);
|
|
395
|
+
if (routes[index] === "dropped") {
|
|
396
|
+
if (parentMessage) logDroppedParentMessage(message, parentMessage);
|
|
397
|
+
continue;
|
|
398
|
+
}
|
|
399
|
+
if (parentMessage) {
|
|
400
|
+
await enqueueAgentInvocation(await createAgentInvocationFromLatest({
|
|
401
|
+
input: message.input.text.trim(),
|
|
402
|
+
invocationId: getAgentInvocationIdForMessage(message.inboundMessageId),
|
|
403
|
+
latest,
|
|
404
|
+
runAs: {
|
|
405
|
+
actor: parentMessage.actor,
|
|
406
|
+
credentialContext: parentMessage.credentialContext,
|
|
407
|
+
fork: parentMessage.fork,
|
|
408
|
+
parentToolCallId: parentMessage.parentToolCallId
|
|
409
|
+
}
|
|
410
|
+
}), options);
|
|
411
|
+
continue;
|
|
412
|
+
}
|
|
364
413
|
const input = inputs[index];
|
|
365
|
-
const source = await
|
|
414
|
+
const { invocation: source } = await getChildAgentInputSender(message, input);
|
|
366
415
|
const invocation = await createAgentInvocationFromLatest({
|
|
367
416
|
input: message.input.text.trim(),
|
|
368
|
-
invocationId: input.kind === "result" ? getAgentInvocationIdForResult(source.invocationId) : getAgentInvocationIdForMessage(message.inboundMessageId),
|
|
417
|
+
invocationId: input.kind === "result" && source ? getAgentInvocationIdForResult(source.invocationId) : getAgentInvocationIdForMessage(message.inboundMessageId),
|
|
369
418
|
latest,
|
|
370
|
-
...input.kind === "result" ? { runAs: {
|
|
419
|
+
...input.kind === "result" && source ? { runAs: {
|
|
371
420
|
actor: source.actor,
|
|
372
421
|
credentialContext: source.credentialContext
|
|
373
422
|
} } : void 0
|
|
@@ -399,7 +448,8 @@ function createChildConversationWorker(agentRunner, options) {
|
|
|
399
448
|
messageKey: reply.toolCallId,
|
|
400
449
|
queue: options.queue,
|
|
401
450
|
sender,
|
|
402
|
-
state: options.state
|
|
451
|
+
state: options.state,
|
|
452
|
+
turnId: getAgentInvocationTurnId(sender.invocationId)
|
|
403
453
|
})
|
|
404
454
|
});
|
|
405
455
|
return async (context) => {
|
|
@@ -421,14 +471,32 @@ function createChildConversationWorker(agentRunner, options) {
|
|
|
421
471
|
await context.attempt.ack();
|
|
422
472
|
return { status: "completed" };
|
|
423
473
|
}
|
|
424
|
-
|
|
474
|
+
const result = await options.runTurn(context, kept);
|
|
475
|
+
if (result.status === "completed") await reportParentWithoutOpenWork(context.conversationId, options);
|
|
476
|
+
return result;
|
|
425
477
|
};
|
|
426
478
|
}
|
|
427
479
|
/**
|
|
480
|
+
* A completed Turn of a child that no Agent invocation names can end the
|
|
481
|
+
* last open work of its parent, such as a Turn that ends with `noReply`. A
|
|
482
|
+
* `replaced` result of that parent then reports, as when a child row ends.
|
|
483
|
+
* A child with a row reports when its row ends, as on `main`.
|
|
484
|
+
*
|
|
485
|
+
* TODO(dcramer): Remove with the `replaced` result (#3060 step 7).
|
|
486
|
+
*/
|
|
487
|
+
async function reportParentWithoutOpenWork(conversationId, options) {
|
|
488
|
+
if (await getLatestAgentInvocationForConversation(conversationId)) return;
|
|
489
|
+
const sender = await readChildConversationSender(conversationId);
|
|
490
|
+
const replaced = sender ? await reportReplacedWithoutOpenWork(sender.parentConversationId) : void 0;
|
|
491
|
+
if (replaced && isTerminalAgentInvocation(replaced)) await enqueueAgentInvocationResult(replaced, options);
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
428
494
|
* Run each agent invocation result or message as the Actor that triggered the
|
|
429
495
|
* child, user or system, with its grants. This is on purpose: the result
|
|
430
|
-
* continues that Actor's work. The Actor comes from SQL
|
|
431
|
-
*
|
|
496
|
+
* continues that Actor's work. The Actor comes from SQL when an agent
|
|
497
|
+
* invocation names the child, so the parent Turn has the same authority it
|
|
498
|
+
* had at spawn time. Otherwise the input carries it, and so does a parent
|
|
499
|
+
* task to a child.
|
|
432
500
|
* Input that a child's Turn with another Actor sent runs as the Event system
|
|
433
501
|
* Actor, so it never gets more authority than that Turn. A result that a stop
|
|
434
502
|
* skipped is dropped. Returns undefined when no input is left.
|
|
@@ -438,21 +506,42 @@ async function withAgentInvocationResultActors(work) {
|
|
|
438
506
|
const conversationId = work.batch[0]?.message.conversationId;
|
|
439
507
|
const [latest, stoppedAtMs] = conversationId ? await Promise.all([getLatestAgentInvocationForConversation(conversationId), getConversationStoppedAtMs(conversationId)]) : [void 0, void 0];
|
|
440
508
|
const kept = (await Promise.all(work.batch.map(async (entry) => {
|
|
509
|
+
const parentMessage = readParentMessage(entry.message);
|
|
510
|
+
if (parentMessage) {
|
|
511
|
+
if (await routeChildInput(entry.message, latest, stoppedAtMs) === "dropped") {
|
|
512
|
+
logDroppedParentMessage(entry.message, parentMessage);
|
|
513
|
+
return;
|
|
514
|
+
}
|
|
515
|
+
const text = await parentMessageText(entry.message, parentMessage);
|
|
516
|
+
return {
|
|
517
|
+
...entry,
|
|
518
|
+
actor: parentMessage.actor,
|
|
519
|
+
...parentMessage.credentialContext ? { credentialContext: parentMessage.credentialContext } : void 0,
|
|
520
|
+
message: {
|
|
521
|
+
...entry.message,
|
|
522
|
+
input: {
|
|
523
|
+
...entry.message.input,
|
|
524
|
+
text
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
}
|
|
441
529
|
const input = childAgentInput(entry.message);
|
|
442
530
|
if (!input) return entry;
|
|
443
531
|
if (await routeChildInput(entry.message, latest, stoppedAtMs) === "dropped") return;
|
|
444
|
-
const invocation = await
|
|
445
|
-
|
|
532
|
+
const { invocation } = await getChildAgentInputSender(entry.message, input);
|
|
533
|
+
const actor = invocation?.actor ?? senderActorFromMetadata(entry.message.input.metadata);
|
|
534
|
+
if (!actor || entry.message.input.authorId !== resultAuthorId(actor)) return {
|
|
446
535
|
...entry,
|
|
447
536
|
actor: EVENT_SYSTEM_ACTOR
|
|
448
537
|
};
|
|
449
|
-
return input.kind === "result" && invocation
|
|
538
|
+
return input.kind === "result" && invocation?.credentialContext ? {
|
|
450
539
|
...entry,
|
|
451
|
-
actor
|
|
540
|
+
actor,
|
|
452
541
|
credentialContext: invocation.credentialContext
|
|
453
542
|
} : {
|
|
454
543
|
...entry,
|
|
455
|
-
actor
|
|
544
|
+
actor
|
|
456
545
|
};
|
|
457
546
|
}))).filter((entry) => entry !== void 0);
|
|
458
547
|
return kept.length > 0 ? {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as latestConversationMessageSeq, I as upsertConversationMessage, M as normalizeConversationText, N as recordDeliveredAssistantMessage, W as authorizationId, a as loadProjection,
|
|
2
|
-
import { S as setTags, T as withLogContext, p as logException } from "./logging-
|
|
3
|
-
import {
|
|
4
|
-
import { f as credentialContextForActor } from "./registry-
|
|
5
|
-
import {
|
|
6
|
-
import { _ as ConversationTurnLifecycleService, g as startActiveTurn, h as markTurnFailed } from "./turn-user-message-
|
|
7
|
-
import { a as getPersistedThreadState, c as coerceThreadConversationState, i as getPersistedSandboxState, s as persistThreadStateById } from "./turn-session-routing-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { A as latestConversationMessageSeq, I as upsertConversationMessage, M as normalizeConversationText, N as recordDeliveredAssistantMessage, W as authorizationId, a as loadProjection, b as persistConversationMessages, bn as persistWithRetry, d as recordAuthorizationCompleted, j as markConversationMessage, nt as saveTurnCheckpoint, t as commitAcceptedReply, un as getAssistantReplyText, v as hydrateConversationMessages } from "./projection-w_X-zi7v.js";
|
|
2
|
+
import { S as setTags, T as withLogContext, p as logException } from "./logging-BIclibct.js";
|
|
3
|
+
import { a as getConversationStore, j as SYSTEM_IDENTITY_ID, r as getConversationEventStore } from "./db-BJNo6fK5.js";
|
|
4
|
+
import { f as credentialContextForActor } from "./registry-BmP5vnlj.js";
|
|
5
|
+
import { V as messageCardText } from "./conversation-Dyjq2CZ8.js";
|
|
6
|
+
import { _ as ConversationTurnLifecycleService, g as startActiveTurn, h as markTurnFailed } from "./turn-user-message-D5RnVmxQ.js";
|
|
7
|
+
import { a as getPersistedThreadState, c as coerceThreadConversationState, i as getPersistedSandboxState, s as persistThreadStateById } from "./turn-session-routing-Bo_LxFum.js";
|
|
8
|
+
import { c as buildDeliveredTurnStatePatch, l as loadPendingMessageCards, o as completeAuthPauseTurn, r as finalizeFailedTurnReplyWithEvent, t as buildTurnThreadContext } from "./thread-context-BzvdkgI9.js";
|
|
9
|
+
import { n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-vohUPLHe.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
import { createLocalSource, localDestinationSchema } from "@sentry/junior-plugin-api";
|
|
12
12
|
// src/chat/local/runner.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ga as sandboxEgressSignalsResponseSchema } from "./projection-w_X-zi7v.js";
|
|
2
2
|
// src/chat/local/sandbox-egress-signals.ts
|
|
3
3
|
const SANDBOX_EGRESS_SIGNALS_PATH = "/api/internal/sandbox-egress/signals";
|
|
4
4
|
const LOCAL_DEV_SERVER_TIMEOUT_MS = 1e3;
|
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
import { r as notificationScheduleSchema } from "./schedule-cP0AACm1.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { D as idempotencyKeySchema, O as conversationChildAgentTotalsSchema, S as conversationUsageSchema, b as conversationSummaryReportSchema, c as conversationAuxiliaryCostsSchema, i as actorIdentitySchema, q as inputFileSchema } from "./conversation-Dyjq2CZ8.js";
|
|
3
|
+
import { r as AGENT_INVOCATION_STATUSES, u as userInputRequestSchema } from "./statuses-Hn-HsOph.js";
|
|
4
4
|
import { i as fillUtcHours, r as fillUtcDays, s as sumUtcHoursIntoSixHours } from "./reporting-window-DopzcOHh.js";
|
|
5
|
-
import "./automation-
|
|
6
|
-
import "./conversation-feed-
|
|
5
|
+
import "./automation-Dw82oQ-h.js";
|
|
6
|
+
import "./conversation-feed-CcDxlrlQ.js";
|
|
7
7
|
import { t as isPushServiceEndpoint } from "./push-endpoint-CO-nomUd.js";
|
|
8
8
|
import * as z from "zod";
|
|
9
|
-
import { codeChangeStateSchema, eventMatchSchema } from "@sentry/junior-plugin-api";
|
|
9
|
+
import { codeChangeStateSchema, eventMatchSchema, ownedObjectAnnotationSchema } from "@sentry/junior-plugin-api";
|
|
10
|
+
// src/api/schema/conversation-attachment-upload.ts
|
|
11
|
+
/**
|
|
12
|
+
* Ask to upload one file for a Message. `conversationId` names an existing
|
|
13
|
+
* Conversation; without it, the file is for the Conversation that the first
|
|
14
|
+
* Message with this idempotency key creates.
|
|
15
|
+
*/
|
|
16
|
+
const createAttachmentUploadBodySchema = inputFileSchema.safeExtend({
|
|
17
|
+
conversationId: z.string().min(1).optional(),
|
|
18
|
+
idempotencyKey: idempotencyKeySchema
|
|
19
|
+
}).strict();
|
|
20
|
+
/** Upload id and the request that writes the file bytes. */
|
|
21
|
+
const attachmentUploadSchema = z.object({
|
|
22
|
+
uploadId: z.string().min(1),
|
|
23
|
+
target: z.object({
|
|
24
|
+
headers: z.record(z.string(), z.string()),
|
|
25
|
+
method: z.literal("PUT"),
|
|
26
|
+
url: z.string().min(1)
|
|
27
|
+
}).strict()
|
|
28
|
+
}).strict();
|
|
29
|
+
const attachmentUploadParamsSchema = z.object({ uploadId: z.string().uuid() }).strict();
|
|
10
30
|
// src/api/schema/conversation-catch-up.ts
|
|
11
31
|
/**
|
|
12
32
|
* The unread rows to summarize: every event after `afterSeq`, through
|
|
@@ -175,6 +195,21 @@ const stopConversationTurnResponseSchema = z.object({
|
|
|
175
195
|
stoppedInboundMessageIds: z.array(z.string().min(1)),
|
|
176
196
|
stoppedMessages: z.array(stoppedConversationMessageSchema)
|
|
177
197
|
}).strict();
|
|
198
|
+
// src/api/schema/object-link.ts
|
|
199
|
+
/** The most links that one object request may resolve. */
|
|
200
|
+
const MAX_OBJECT_LINKS = 20;
|
|
201
|
+
const objectLinkUrlSchema = z.string().trim().min(1).max(2048);
|
|
202
|
+
/** One or more `url` query values. */
|
|
203
|
+
const objectLinksQuerySchema = z.object({ url: z.preprocess((value) => typeof value === "string" ? [value] : value, z.array(objectLinkUrlSchema).min(1).max(20)) }).strict();
|
|
204
|
+
/** The object cards of the links that resolved for the viewer. */
|
|
205
|
+
const objectLinksReportSchema = z.object({ objects: z.array(z.object({
|
|
206
|
+
object: ownedObjectAnnotationSchema,
|
|
207
|
+
url: objectLinkUrlSchema
|
|
208
|
+
}).strict()).max(20) }).strict();
|
|
209
|
+
/** A participant asks to attach one linked object to a Conversation. */
|
|
210
|
+
const attachObjectLinkBodySchema = z.object({ url: objectLinkUrlSchema }).strict();
|
|
211
|
+
/** `unchanged` when the Conversation already has the object. */
|
|
212
|
+
const attachObjectLinkResponseSchema = z.object({ status: z.enum(["attached", "unchanged"]) }).strict();
|
|
178
213
|
// src/api/schema/conversation-continue-in-slack.ts
|
|
179
214
|
/** Public Slack channel Location that a dashboard Conversation moves to. */
|
|
180
215
|
const continueConversationInSlackBodySchema = z.object({ locationId: z.string().min(1) }).strict();
|
|
@@ -300,6 +335,8 @@ const codeRepositorySummarySchema = z.object({
|
|
|
300
335
|
}).strict();
|
|
301
336
|
const codeChangeSummaryReportSchema = z.object({
|
|
302
337
|
closedAt: z.string().optional(),
|
|
338
|
+
/** Whether the code change is a draft. Readers ignore it unless open. */
|
|
339
|
+
draft: z.boolean(),
|
|
303
340
|
id: z.string().uuid(),
|
|
304
341
|
/**
|
|
305
342
|
* Latest push, review, or comment by a person. Absent when the code
|
|
@@ -602,7 +639,14 @@ const personalTokenMetadataSchema = z.object({
|
|
|
602
639
|
lastUsedAt: z.string().datetime().nullable()
|
|
603
640
|
}).strict();
|
|
604
641
|
const personalTokenListSchema = z.object({ tokens: z.array(personalTokenMetadataSchema) }).strict();
|
|
605
|
-
const createPersonalTokenBodySchema = z.object({
|
|
642
|
+
const createPersonalTokenBodySchema = z.object({
|
|
643
|
+
name: z.string().trim().min(1).max(80),
|
|
644
|
+
/**
|
|
645
|
+
* Origin of a Preview that will receive the token. The API creates the
|
|
646
|
+
* token only when Junior made that Preview for the viewer.
|
|
647
|
+
*/
|
|
648
|
+
previewOrigin: z.string().url().refine((value) => new URL(value).origin === value, "Expected an origin.").optional()
|
|
649
|
+
}).strict();
|
|
606
650
|
const createdPersonalTokenSchema = personalTokenMetadataSchema.extend({ token: z.string().startsWith("jr_pat_") }).strict();
|
|
607
651
|
const personalTokenParamsSchema = z.object({ id: z.string().uuid() }).strict();
|
|
608
652
|
const revokePersonalTokenResponseSchema = z.object({ revoked: z.literal(true) }).strict();
|
|
@@ -844,4 +888,4 @@ const versionsSchema = z.object({
|
|
|
844
888
|
/** The viewer's rolling model spend. */
|
|
845
889
|
spend: z.string().min(1)
|
|
846
890
|
}).strict();
|
|
847
|
-
export { codeActivityDaySchema as $, revokePersonalTokenResponseSchema as A,
|
|
891
|
+
export { codeActivityDaySchema as $, revokePersonalTokenResponseSchema as A, pinConversationBodySchema as At, activityDays as B, serviceAccountSchema as C, archiveConversationResponseSchema as Ct, personalTokenListSchema as D, conversationSubscriptionResponseSchema as Dt, createdPersonalTokenSchema as E, conversationSubscriptionBodySchema as Et, personalSpendReportSchema as F, conversationCatchUpSchema as Ft, pushSubscriptionBodySchema as G, activitySixHours as H, locationActivityDayReportSchema as I, attachmentUploadParamsSchema as It, connectionListSchema as J, pushSubscriptionDeleteBodySchema as K, locationDetailReportSchema as L, attachmentUploadSchema as Lt, actorProfileReportSchema as M, reorderPinnedConversationsBodySchema as Mt, avatarParamsSchema as N, reorderPinnedConversationsResponseSchema as Nt, personalTokenMetadataSchema as O, conversationDeliveryBodySchema as Ot, personParamsSchema as P, conversationCatchUpBodySchema as Pt, startConnectionResponseSchema as Q, locationDirectoryReportSchema as R, createAttachmentUploadBodySchema as Rt, serviceAccountParamsSchema as S, archiveConversationBodySchema as St, createPersonalTokenBodySchema as T, conversationAutoArchiveSchema as Tt, dailyConversationActivitySchema as U, activityHours as V, notificationSettingsSchema as W, connectionSchema as X, connectionParamsSchema as Y, disconnectConnectionResponseSchema as Z, reviewItemParamsSchema as _, objectLinksReportSchema as _t, replyTimeSegmentsReportSchema as a, codeRepositoryReportSchema as at, disconnectServiceAccountResponseSchema as b, CONVERSATION_OUTLINE_TEXT_LENGTH as bt, workspaceBodySchema as c, conversationWatchesReportSchema as ct, workspaceRepoSchema as d, continueConversationInSlackBodySchema as dt, codeChangeSummaryReportSchema as et, workspaceSchema as f, continueConversationInSlackResponseSchema as ft, reviewItemListSchema as g, objectLinksQuerySchema as gt, reviewItemListQuerySchema as h, attachObjectLinkResponseSchema as ht, statsReportSchema as i, codeRepositoryParamsSchema as it, actorDirectoryReportSchema as j, pinConversationResponseSchema as jt, personalTokenParamsSchema as k, conversationDeliveryResponseSchema as kt, workspaceListSchema as l, conversationChildAgentSchema as lt, reviewItemCountSchema as m, attachObjectLinkBodySchema as mt, versionsSchema as n, codeOverviewReportSchema as nt, baselineSnapshotSchema as o, codeRepositorySummarySchema as ot, reviewItemActionSchema as p, MAX_OBJECT_LINKS as pt, testNotificationResponseSchema as q, statSchema as r, codePersonReportSchema as rt, deleteWorkspaceResponseSchema as s, conversationWatchSchema as st, versionsQuerySchema as t, codeChangeSummarySchema as tt, workspaceParamsSchema as u, conversationChildAgentsReportSchema as ut, reviewItemSchema as v, stopConversationTurnResponseSchema as vt, startServiceAccountSignInResponseSchema as w, archiveDoneConversationsResponseSchema as wt, serviceAccountListSchema as x, conversationOutlineSchema as xt, reviewItemWaitingConversationsSchema as y, conversationStatsReportSchema as yt, locationParamsSchema as z };
|