@sentry/junior 0.320.0 → 0.321.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-DlLLoJKj.js → adapter-BkDQYdg6.js} +1 -1
- package/dist/{admin-BzRXDVfh.js → admin-XS3G9BOj.js} +1 -1
- package/dist/{agent-DxZ7nHfD.js → agent-CL9ZkOgx.js} +20 -17
- package/dist/{agent-update-delivery-CO4FU5Gg.js → agent-update-delivery-t0bXEgPs.js} +4 -4
- package/dist/api/schema.d.ts +2 -12
- package/dist/api/schema.js +4 -4
- package/dist/api.js +21 -21
- package/dist/{app-CHCFIIDu.d.ts → app-CwFRvmEH.d.ts} +1 -1
- package/dist/app.d.ts +1 -1
- package/dist/app.js +21 -21
- package/dist/{change-record-K-KsqNhT.d.ts → change-record-CRuG9Mu3.d.ts} +1 -6
- package/dist/{channel-access-BghWqlXx.js → channel-access-BUHB0saC.js} +1 -1
- package/dist/{chat-core-engine-BgfSLrDu.js → chat-core-engine-DuBaPbqK.js} +4 -4
- package/dist/cli/chat.js +16 -16
- package/dist/cli/check.js +4 -4
- package/dist/cli/main.js +2 -2
- package/dist/cli/plugins.js +3 -3
- package/dist/cli/snapshot-create.js +4 -4
- package/dist/cli/upgrade.js +2 -2
- package/dist/{continue-in-slack-DBlQP4PC.js → continue-in-slack-D9naZmqM.js} +3 -3
- package/dist/{conversation-feed-DEUdD7mb.js → conversation-feed-B1_1NJc8.js} +2 -12
- package/dist/{conversation-privacy-qoh95v90.js → conversation-privacy-C0mixZKx.js} +1 -1
- package/dist/{create-jZSaDrCR.js → create-CLV0M1vw.js} +2 -2
- package/dist/{credential-sync-Bj9-UlNE.js → credential-sync-DL9r-ry5.js} +11 -11
- package/dist/{db-BacvswT0.js → db-CbURDbaB.js} +23 -15
- package/dist/{deployment-BoJkRPDt.js → deployment-D9uPRDMD.js} +1 -1
- package/dist/{engine-context-Bi3Ync5t.js → engine-context-BP0h6u4m.js} +9 -9
- package/dist/{html-DW0pw5Pr.js → html-l4hKICAL.js} +4 -4
- package/dist/instrumentation.js +2 -2
- package/dist/{list-Dz3CdP3g.js → list-cGaO9_Hf.js} +12 -46
- package/dist/{logging-DsTnMqyi.js → logging-CqgOoICc.js} +1 -1
- package/dist/{markers-C33gNYNE.js → markers-BtUv4-oc.js} +18 -16
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-C-pEhAQK.js → oauth-callback-server-C3GxhsuB.js} +2 -2
- package/dist/{oauth-relay-DIXdH-io.js → oauth-relay-BGm6sLCB.js} +1 -1
- package/dist/{profile-v9vA3RvH.js → profile-bLo0h7Le.js} +12 -6
- package/dist/{prompt-C5CW2wKO.js → prompt-CX29OGO9.js} +1 -1
- package/dist/{reports-eBgrhPXS.js → reports-DeDCCu_H.js} +2 -2
- package/dist/{resolve-HVXmbeCr.js → resolve-D9RKNH3v.js} +5 -5
- package/dist/{result-BPNzgeTl.js → result-BFBwK1M2.js} +7 -7
- package/dist/{runner-aNSDTST6.js → runner-DNdoVQg8.js} +7 -7
- package/dist/{sandbox-egress-signals-nzp9Ykf7.js → sandbox-egress-signals-BBcCiEhm.js} +1 -1
- package/dist/{schema-BlTO5M1d.js → schema-RzsplzdI.js} +2 -2
- package/dist/{service-account-DWIf1t6p.js → service-account-B7E7OIFP.js} +2 -2
- package/dist/{skills-50izzzdK.js → skills-DMJsS5e4.js} +4 -4
- package/dist/{slack-conversation-unfurl-C6jXhVYg.js → slack-conversation-unfurl-EWYTnBZI.js} +7 -7
- package/dist/{storage-BtCxXiNt.js → storage-XD0lB4Gk.js} +2 -2
- package/dist/{system-prompt-table-CIR1B44Z.js → system-prompt-table-C886lsT9.js} +4 -4
- package/dist/{types-BNHkJrOP.js → types-CGgQ3-Bb.js} +1 -9
- package/dist/{users-DOVo9sdU.js → users-DBrcQl47.js} +1 -1
- package/dist/{validation-CK0vuEHB.js → validation-CofUHWqz.js} +1 -1
- package/dist/{version-BuLVNlxB.js → version-D_vbXyNw.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{worker-C82kHU1R.js → worker-buhFcpl9.js} +4 -4
- package/package.json +6 -6
|
@@ -587,14 +587,6 @@ function normalizeUserInputAnswer(request, answer) {
|
|
|
587
587
|
...other ? { other } : void 0
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
|
-
/**
|
|
591
|
-
* Return the option labels that an answer picked, in field order. Text
|
|
592
|
-
* fields and the note pick no option.
|
|
593
|
-
*/
|
|
594
|
-
function answeredChoices(request, answer) {
|
|
595
|
-
const { values } = normalizeUserInputAnswer(request, answer);
|
|
596
|
-
return request.fields.flatMap((field) => field.kind === "text" ? [] : values[field.id] ?? []);
|
|
597
|
-
}
|
|
598
590
|
/** Return true when an answer has no value and no free text. */
|
|
599
591
|
function isEmptyUserInputAnswer(answer) {
|
|
600
592
|
return !answer.other && Object.keys(answer.values).length === 0;
|
|
@@ -3078,4 +3070,4 @@ const TODOS_REGISTRATION_NAME = "todos";
|
|
|
3078
3070
|
const UPDATE_TODOS_TOOL_NAME = `${TODOS_REGISTRATION_NAME}_updateTodos`;
|
|
3079
3071
|
/** Assignee text for the list's own agent, in tool results and blocks. */
|
|
3080
3072
|
const SELF_TODO_ASSIGNEE = "self";
|
|
3081
|
-
export { activityPreviewText as $, automationInstructionToolSchema as $t, automationVersionSchema as A,
|
|
3073
|
+
export { activityPreviewText as $, automationInstructionToolSchema as $t, automationVersionSchema as A, isWithinNotificationSchedule as An, spaceListQuerySchema as At, conversationDetailQuerySchema as B, TOP_LEVEL_AGENT_MESSAGE_EVENT_TYPE as Bn, annotationCard as Bt, automationScheduleIntentSchema as C, userInputRequestSchema as Cn, instructionActors as Ct, automationVersionActivateSchema as D, automationTaskSchema as Dn, SPACE_NAME_MAX_CHARS as Dt, automationUpdateSchema as E, automationTaskDescription as En, SPACE_DESCRIPTION_MAX_CHARS as Et, actorIdentitySchema as F, isValidTimeZone as Fn, spaceVisibilitySchema as Ft, conversationParamsSchema as G, usageSchema as Gn, resolveMessageCards as Gt, conversationEventHistorySchema as H, isAgentUpdateEventType as Hn, messageCardText as Ht, conversationActivityPreviewSchema as I, CONTENT_VERSION_HEADER as In, updateSpaceBodySchema as It, conversationReportMessageEventSchema as J, MAX_INPUT_ATTACHMENTS as Jt, conversationReportEventDataSchema as K, usageTokensSchema as Kn, automationCardStatus as Kt, conversationAttachmentParamsSchema as L, apiErrorSchema as Ln, conversationTreeStateSchema as Lt, scheduledAutomationSummarySchema as M, getFirstRunAtMs as Mn, spaceParamsSchema as Mt, CONVERSATION_DETAIL_VERSION_HEADER as N, getNextRunAtMs as Nn, spaceRefSchema as Nt, automationVersionListSchema as O, automationTaskText as On, archiveSpaceBodySchema as Ot, CONVERSATION_VERSION_HEADER as P, getZonedDateTimeParts as Pn, spaceSchema as Pt, conversationUsageSchema as Q, automationContextToolSchema as Qt, conversationAttachmentQuerySchema as R, AGENT_MESSAGE_EVENT_TYPE as Rn, conversationReadPositionSchema as Rt, automationRunWindowsSchema as S, userInputQuestionSchema as Sn, contextProvenance as St, automationSummarySchema as T, automationTaskColumns as Tn, sameActorIdentity as Tt, conversationEventPageSchema as U, isLegacyResultEventType as Un, readMessageCardRefs as Ut, conversationDetailReportSchema as V, isAgentMessageEventType as Vn, messageCardRef as Vt, conversationEventsQuerySchema as W, gatewayOnlyProviders as Wn, removedCardSchema as Wt, conversationSummaryReportSchema as X, messageAttachmentSchema as Xt, conversationReportStatusSchema as Y, inputFileSchema as Yt, conversationSurfaceSchema as Z, readMessageAttachments as Zt, automationListQuerySchema as _, buttonUserInputField as _n, historyReplacementSchema as _t, UPDATE_TODOS_TOOL_NAME as a, ScheduleIntentError as an, KNOWN_CONVERSATION_EVENT_TYPES as at, automationRunListSchema as b, normalizeUserInputAnswer as bn, piMessageSchema as bt, automationEditSchema as c, toolScheduleIntentSchema as cn, conversationTurnFailureReasonSchema as ct, automationExecutionSchema as d, eventAutomationTriggerSchema as dn, agentHistoryFromRow as dt, automationTitleSchema as en, conversationChildAgentTotalsSchema as et, automationExecutionStatusDaySchema as f, inboxItemNoticeRequestSchema as fn, encodeAgentHistoryPayload as ft, automationListPageSchema as g, USER_INPUT_NOTE as gn, historyItemFromPiMessage as gt, automationListItemSchema as h, USER_INPUT_LIMITS as hn, HISTORY_REPLACEMENT_TYPES as ht, TODO_STATUSES as i, scheduledRunSchema as in, formatAgentTypes as it, eventAutomationSummarySchema as j, notificationScheduleSchema as jn, spaceListSchema as jt, automationVersionParamsSchema as k, DEFAULT_NOTIFICATION_SCHEDULE as kn, createSpaceBodySchema as kt, automationEventCatalogSchema as l, weekdaySchema as ln, decodeStoredConversationEvent as lt, automationLifecycleSchema as m, inboxItemRequestSchema as mn, AGENT_HISTORY_ITEM_TYPES as mt, SELF_TODO_ASSIGNEE as n, SCHEDULED_AUTOMATION_SYSTEM_ACTOR as nn, agentTypeInstructions as nt, isOpenTodoStatus as o, compileScheduleIntent as on, conversationEventDataSchema as ot, automationExecutionStatusSchema as p, inboxItemQuestion as pn, isAgentHistoryData as pt, conversationReportEventSchema as q, MAX_ATTACHMENT_BYTES as qt, TODOS_REGISTRATION_NAME as r, scheduledAutomationSchema as rn, agentTypeSchema as rt, automationEditErrorSchema as s, scheduleIntentFromTool as sn, conversationTurnFailureCodeSchema as st, OPEN_TODO_STATUSES as t, taskOutcomeInputSchema as tn, AGENT_TYPES as tt, automationExecutionListSchema as u, eventAutomationSchema as un, newConversationEventSchema as ut, automationListSchema as v, formatUserInputAnswer as vn, isHistoryReplacement as vt, automationSchedulePreviewSchema as w, automationSkillNameSchema as wn, instructionProvenanceFor as wt, automationRunSchema as x, userInputFieldsSchema as xn, agentInstructionProvenance as xt, automationParamsSchema as y, isEmptyUserInputAnswer as yn, piMessageFromHistoryItem as yt, conversationAuxiliaryCostsSchema as z, AGENT_UPDATE_EVENT_TYPE as zn, inboxItemChangeRecordSchema as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ks as SlackActionError, Xs as getSlackClient, ic as withSlackRetries } from "./db-
|
|
1
|
+
import { Ks as SlackActionError, Xs as getSlackClient, ic as withSlackRetries } from "./db-CbURDbaB.js";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
// src/chat/slack/users.ts
|
|
4
4
|
const profileFieldsSchema = z.object({ fields: z.record(z.string(), z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Nd as getAppContext } from "./db-CbURDbaB.js";
|
|
3
3
|
import { isDeepStrictEqual } from "node:util";
|
|
4
4
|
// src/chat/plugins/validation.ts
|
|
5
5
|
var validation_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// package.json
|
|
2
|
-
var version = "0.
|
|
2
|
+
var version = "0.321.0";
|
|
3
3
|
// src/version.ts
|
|
4
4
|
/** Installed Junior package version, or `unknown` when package metadata is unavailable. */
|
|
5
5
|
const JUNIOR_VERSION = typeof version === "string" && version.trim() ? version : "unknown";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as JUNIOR_VERSION } from "./version-
|
|
1
|
+
export { t as JUNIOR_VERSION } from "./version-D_vbXyNw.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
|
|
2
|
-
import { $t as completeConversationWork, Cn as isFinalAttempt, Gt as beginConversationResume, Jt as claimConversationAttempt, Mn as isAttemptInterrupt, Nn as selectAttemptMessages, Qt as completeConversationStop,
|
|
3
|
-
import { R as getChatConfig } from "./adapter-
|
|
4
|
-
import { f as logException, m as logWarn, p as logInfo, w as withLogContext, y as setSpanAttributes } from "./logging-
|
|
5
|
-
import { j as saveHeldInput, k as getConversationStoppedAtMs } from "./markers-
|
|
2
|
+
import { $t as completeConversationWork, Cn as isFinalAttempt, Gt as beginConversationResume, Jt as claimConversationAttempt, Mn as isAttemptInterrupt, Nn as selectAttemptMessages, Qt as completeConversationStop, Vr as ConversationQueueMessageRejectedError, Vt as ackMessages, Wr as nudgeIdempotencyKey, Xt as clearConsumedConversationWake, an as getConversationWorkState, cn as recordAttemptFailure, dn as requestAnotherSlice, en as deadLetterAttempt, eu as isTopLevel, ln as recordConversationRetry, pn as startConversationWork, qt as checkInConversationWork, rn as ensureConversationWake, tn as drainConversationMailbox, un as releaseConversationWork, ur as getTurnRequestDeadline, wd as isProviderRetryError, wn as isInvalidConversationRecordError, xn as hasConversationStop, yn as countPendingConversationMessages } from "./db-CbURDbaB.js";
|
|
3
|
+
import { R as getChatConfig } from "./adapter-BkDQYdg6.js";
|
|
4
|
+
import { f as logException, m as logWarn, p as logInfo, w as withLogContext, y as setSpanAttributes } from "./logging-CqgOoICc.js";
|
|
5
|
+
import { j as saveHeldInput, k as getConversationStoppedAtMs } from "./markers-BtUv4-oc.js";
|
|
6
6
|
// src/chat/task-execution/lost-lease.ts
|
|
7
7
|
/**
|
|
8
8
|
* Count a slice that lost its Conversation Lease as a failed attempt, then
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.321.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@neondatabase/serverless": "^1.1.0",
|
|
67
67
|
"@sentry/api": "3.2.0",
|
|
68
68
|
"@sentry/http": "1.0.0",
|
|
69
|
-
"@sentry/junior-plugin-api": "0.
|
|
69
|
+
"@sentry/junior-plugin-api": "0.321.0",
|
|
70
70
|
"@sentry/nitro": "11.16.0",
|
|
71
71
|
"@sentry/node": "11.16.0",
|
|
72
72
|
"@sentry/server-utils": "11.16.0",
|
|
@@ -110,10 +110,10 @@
|
|
|
110
110
|
"@emnapi/core": "^1.10.0",
|
|
111
111
|
"@emnapi/runtime": "^1.10.0",
|
|
112
112
|
"@hono/node-server": "2.1.3",
|
|
113
|
-
"@sentry/junior-github": "0.
|
|
114
|
-
"@sentry/junior-linear": "0.
|
|
115
|
-
"@sentry/junior-notion": "0.
|
|
116
|
-
"@sentry/junior-sentry": "0.
|
|
113
|
+
"@sentry/junior-github": "0.321.0",
|
|
114
|
+
"@sentry/junior-linear": "0.321.0",
|
|
115
|
+
"@sentry/junior-notion": "0.321.0",
|
|
116
|
+
"@sentry/junior-sentry": "0.321.0",
|
|
117
117
|
"@sentry/junior-testing": "0.0.0",
|
|
118
118
|
"@types/node": "^24.19.2",
|
|
119
119
|
"@types/pg": "^8.15.6",
|