@sentry/junior 0.320.0 → 0.322.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-CKtEUuWD.js} +23 -2
- package/dist/{admin-BzRXDVfh.js → admin-BGOiUGwR.js} +1 -1
- package/dist/{agent-DxZ7nHfD.js → agent-OUkEw6Bv.js} +276 -1648
- package/dist/{agent-status-Bq_AIpyp.js → agent-status-C_HHxO_d.js} +1 -10
- package/dist/{agent-update-delivery-CO4FU5Gg.js → agent-update-delivery-H6mnPI4q.js} +4 -4
- package/dist/api/schema.d.ts +98 -16
- package/dist/api/schema.js +6 -6
- package/dist/api.js +81 -36
- package/dist/{app-CHCFIIDu.d.ts → app-BK_vhZIq.d.ts} +1 -1
- package/dist/app.d.ts +1 -1
- package/dist/app.js +85 -48
- package/dist/{change-record-K-KsqNhT.d.ts → change-record-DdrJxahk.d.ts} +26 -15
- package/dist/{channel-access-BghWqlXx.js → channel-access-DRhVJIuQ.js} +1 -1
- package/dist/{chat-core-engine-BgfSLrDu.js → chat-core-engine-El308gYr.js} +5 -10
- 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-DYl631oM.js} +3 -3
- package/dist/{conversation-feed-DEUdD7mb.js → conversation-feed-BUaMmSLi.js} +2 -12
- package/dist/{conversation-privacy-qoh95v90.js → conversation-privacy-DR_j5Tqf.js} +1 -1
- package/dist/{create-jZSaDrCR.js → create-ZkI-_JAs.js} +2 -2
- package/dist/{credential-sync-Bj9-UlNE.js → credential-sync-Bo6_FtCI.js} +12 -12
- package/dist/{db-BacvswT0.js → db-RDpWIeRK.js} +1744 -216
- package/dist/{deployment-BoJkRPDt.js → deployment-CeKaP0ZJ.js} +1 -1
- package/dist/{html-DW0pw5Pr.js → html-BMv4fAPu.js} +5 -5
- package/dist/instrumentation.js +2 -2
- package/dist/{list-Dz3CdP3g.js → list-CuLf7Ob2.js} +39 -70
- package/dist/{logging-DsTnMqyi.js → logging-BQsfrLHl.js} +1 -1
- package/dist/{markers-C33gNYNE.js → markers-Bh0vqJ5k.js} +3186 -1754
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -4
- package/dist/{oauth-callback-server-C-pEhAQK.js → oauth-callback-server-BxuN0Jqz.js} +2 -2
- package/dist/{oauth-relay-DIXdH-io.js → oauth-relay-vyG2gOwY.js} +1 -1
- package/dist/{profile-v9vA3RvH.js → profile-DiAB4QfT.js} +39 -8
- package/dist/{prompt-C5CW2wKO.js → prompt-5PDkRQ1K.js} +2 -1
- package/dist/{reports-eBgrhPXS.js → reports-CbqB7unq.js} +2 -2
- package/dist/{resolve-HVXmbeCr.js → resolve-C7e0pwuP.js} +5 -5
- package/dist/{result-BPNzgeTl.js → result-D_D-2Adp.js} +7 -7
- package/dist/{runner-aNSDTST6.js → runner-CCVTdp0x.js} +7 -7
- package/dist/{sandbox-egress-signals-nzp9Ykf7.js → sandbox-egress-signals-D4OKOFgy.js} +1 -1
- package/dist/{schema-BlTO5M1d.js → schema-CmPO8BfI.js} +50 -12
- package/dist/{service-account-DWIf1t6p.js → service-account-CeWsFrBi.js} +2 -2
- package/dist/{skills-50izzzdK.js → skills-DfbOjWxl.js} +5 -5
- package/dist/{slack-conversation-unfurl-C6jXhVYg.js → slack-conversation-unfurl-BxF0Yb3-.js} +10 -9
- package/dist/{system-prompt-table-CIR1B44Z.js → system-prompt-table-DySHMtu0.js} +17 -17
- package/dist/{topics-DxuKurCX.js → topic-ChZe9WPj.js} +6 -1
- package/dist/{engine-context-Bi3Ync5t.js → turn-ended-DQ10G3in.js} +11 -845
- package/dist/{types-BNHkJrOP.js → types-BWAgOJtR.js} +95 -78
- package/dist/{user-customization-CvfuY9Eo.js → user-customization-DNzu_r1x.js} +10 -1
- package/dist/{users-DOVo9sdU.js → users-BmZlg_ci.js} +13 -7
- package/dist/{validation-CK0vuEHB.js → validation-BU4tXvH3.js} +1 -1
- package/dist/{version-BuLVNlxB.js → version-D9yLYOBu.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{worker-C82kHU1R.js → worker-C7EDSL3d.js} +4 -4
- package/migrations/20261127184420_question_answerer/migration.sql +36 -0
- package/migrations/20261127184420_question_answerer/snapshot.json +108 -0
- package/migrations/20261127224730_inbox_item_close_action/migration.sql +1 -0
- package/migrations/20261127224730_inbox_item_close_action/snapshot.json +42 -0
- package/package.json +6 -6
- package/skills/design-automation-skill/SKILL.md +1 -1
- package/dist/storage-BtCxXiNt.js +0 -273
- package/dist/topic-B2EWKKBT.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as actorIdentitySchema, Nt as spaceRefSchema, V as conversationDetailReportSchema, X as conversationSummaryReportSchema,
|
|
1
|
+
import { Bt as inboxItemChangeRecordSchema, F as actorIdentitySchema, Nt as spaceRefSchema, V as conversationDetailReportSchema, X as conversationSummaryReportSchema, Zt as messageAttachmentSchema } from "./types-BWAgOJtR.js";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
// src/reporting-schema.ts
|
|
4
4
|
const healthReportSchema = z.object({
|
|
@@ -296,14 +296,6 @@ const conversationFeedMediaSchema = z.object({
|
|
|
296
296
|
id: z.string().min(1)
|
|
297
297
|
}).strict();
|
|
298
298
|
/**
|
|
299
|
-
* The viewer's newest answer to an Inbox item that the Conversation added:
|
|
300
|
-
* when it closed and the options they picked. A text answer has no choices.
|
|
301
|
-
*/
|
|
302
|
-
const conversationFeedViewerAnswerSchema = z.object({
|
|
303
|
-
choices: z.array(z.string()),
|
|
304
|
-
closedAt: z.string().datetime()
|
|
305
|
-
}).strict();
|
|
306
|
-
/**
|
|
307
299
|
* A root in the feed, or one of its visible Threads. A Thread nests under
|
|
308
300
|
* its nearest visible Thread ancestor, or under the root. Tasks never show.
|
|
309
301
|
*/
|
|
@@ -321,9 +313,7 @@ const conversationFeedItemSchema = conversationSummaryReportSchema.extend({
|
|
|
321
313
|
* Only on a root, and only when the cap cut some.
|
|
322
314
|
*/
|
|
323
315
|
omittedThreadCount: z.number().int().positive().optional(),
|
|
324
|
-
threads: z.lazy(() => z.array(conversationFeedItemSchema)).optional()
|
|
325
|
-
/** Only on the viewer's own feed. */
|
|
326
|
-
viewerAnswer: conversationFeedViewerAnswerSchema.optional()
|
|
316
|
+
threads: z.lazy(() => z.array(conversationFeedItemSchema)).optional()
|
|
327
317
|
});
|
|
328
318
|
const conversationFeedSchema = z.object({
|
|
329
319
|
conversations: z.array(conversationFeedItemSchema),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as logWarn } from "./logging-
|
|
1
|
+
import { m as logWarn } from "./logging-BQsfrLHl.js";
|
|
2
2
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3
3
|
import { renderSystemMessageUpdate } from "@earendil-works/pi-ai";
|
|
4
4
|
// src/chat/conversation-privacy.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Bp as nextDetailVersion, Im as juniorConversations, Nt as spawnChildAgentInputSchema, Qt as ensureConversationWake, en as getConversationWorkState, gn as hasConversationStop, i as getConversationStore, kt as getAgentBinding, mr as getConversationStoppedAtMs, o as getSqlExecutor, vm as juniorAgentBindings } from "./db-RDpWIeRK.js";
|
|
2
|
+
import { Dt as agentConfigSchema, Nt as getSpawnedChildConversationId, Ot as readAgentConfig, St as buildParentMessage, _t as addConversationNote, ai as loadTurnStart, bt as readChildConversationSender, jt as getChildAgentLockName, n as recordSubagentStartedMarker, o as listOpenChildAgents, xt as appendParentMessage } from "./markers-Bh0vqJ5k.js";
|
|
3
3
|
import { eq } from "drizzle-orm";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
// src/chat/agent/types.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as botConfig, R as getChatConfig, c as acquireActiveLock, i as getStateAdapter, k as parseSlackUserId, z as getRuntimeMetadata } from "./adapter-
|
|
3
|
-
import {
|
|
4
|
-
import { O as isNativeIdentityProvider, f as logException, g as runBestEffort, m as logWarn } from "./logging-
|
|
5
|
-
import { G as mapBounded } from "./prompt-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as discoverSkills } from "./skills-
|
|
9
|
-
import { A as createUserTokenStore, I as resolvePluginOAuthAccount } from "./profile-
|
|
10
|
-
import { i as lookupSlackUserProfile } from "./users-
|
|
11
|
-
import { s as readConnectedOAuthTokens, t as escapeHtml, u as htmlCallbackResponse } from "./html-
|
|
12
|
-
import { n as relayLocalOAuthCallback } from "./oauth-relay-
|
|
1
|
+
import { d as homeDir } from "./topic-ChZe9WPj.js";
|
|
2
|
+
import { L as botConfig, R as getChatConfig, c as acquireActiveLock, i as getStateAdapter, k as parseSlackUserId, z as getRuntimeMetadata } from "./adapter-CKtEUuWD.js";
|
|
3
|
+
import { Ca as postSlackMessage, Gf as parseOAuthTokenResponse, Kf as hasRequiredOAuthScope, Uc as getSlackClient, Wf as buildOAuthTokenRequest, Zf as deleteMcpAuthSession, al as readIdentityById, bl as upsertLinkedIdentity, bp as getMcpProviderErrorAttributes, fl as resolveActorIdentityId, jf as getAppContext, o as getSqlExecutor, rp as getMcpStoredOAuthCredentials, sp as putMcpStoredOAuthCredentials, tp as getMcpAuthSession, vl as findUserByVerifiedEmails } from "./db-RDpWIeRK.js";
|
|
4
|
+
import { O as isNativeIdentityProvider, f as logException, g as runBestEffort, m as logWarn } from "./logging-BQsfrLHl.js";
|
|
5
|
+
import { G as mapBounded } from "./prompt-5PDkRQ1K.js";
|
|
6
|
+
import { G as coerceThreadConversationState, Gr as getConversationPendingAuth, H as getPersistedThreadState, Li as formatProviderLabel, Ri as parseOAuthStatePayload, Rr as authorizationId, ar as recordAuthorizationCompleted, ei as getTurnRecord, ir as recordAuthenticationLinked, q as deleteWebAuthorization } from "./markers-Bh0vqJ5k.js";
|
|
7
|
+
import { Yt as finalizeMcpAuthorization, et as wakeAuthorizedTurn, tt as wakePausedTurn } from "./agent-OUkEw6Bv.js";
|
|
8
|
+
import { t as discoverSkills } from "./skills-DfbOjWxl.js";
|
|
9
|
+
import { A as createUserTokenStore, I as resolvePluginOAuthAccount } from "./profile-DiAB4QfT.js";
|
|
10
|
+
import { i as lookupSlackUserProfile } from "./users-BmZlg_ci.js";
|
|
11
|
+
import { s as readConnectedOAuthTokens, t as escapeHtml, u as htmlCallbackResponse } from "./html-BMv4fAPu.js";
|
|
12
|
+
import { n as relayLocalOAuthCallback } from "./oauth-relay-vyG2gOwY.js";
|
|
13
13
|
import * as z from "zod";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import { pluginStoredTokensSchema } from "@sentry/junior-plugin-api";
|