@sentry/junior 0.217.0 → 0.218.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-CV4MPfCD.js → agent-C-wRol8n.js} +98 -23
- package/dist/{agent-hooks-BtGATjr2.js → agent-hooks-Au93EfEr.js} +6 -6
- package/dist/{agent-runner-DCj_cPjl.js → agent-runner-skcXibgb.js} +5 -5
- package/dist/api.js +15 -15
- package/dist/{app-D4nNdzPG.d.ts → app-BYD2Nyji.d.ts} +1 -1
- package/dist/app.d.ts +2 -2
- package/dist/app.js +29 -29
- package/dist/{auth-pause-state-C7GMUpb9.js → auth-pause-state-CU71X-6Z.js} +6 -6
- package/dist/{briefs-eG5Jo1xa.js → briefs-Dcdrr46e.js} +2 -2
- package/dist/{catalog-runtime-LUAIHslF.js → catalog-runtime-B9yDPVCR.js} +1 -1
- package/dist/{checkpoint-CmkbGGiR.js → checkpoint-CQ6eQrJD.js} +6 -6
- package/dist/cli/chat.d.ts +1 -1
- package/dist/cli/chat.js +13 -13
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +1 -1
- package/dist/cli/plugins.d.ts +1 -1
- package/dist/cli/plugins.js +3 -3
- package/dist/cli/snapshot-create.js +3 -3
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-ciJRmcY5.js → client-BV3_abpr.js} +2 -2
- package/dist/{config-BMwzCmw-.js → config-DceVK986.js} +2 -2
- package/dist/{conversation-privacy-CLkpzAlt.js → conversation-privacy-C_w2FAlM.js} +1 -1
- package/dist/{credential-sync-BoWHpDBP.js → credential-sync-DKXGTID8.js} +20 -20
- package/dist/{execution-stats-C-E5FIsT.js → execution-stats-BIyGof8p.js} +3 -3
- package/dist/{executor-D0xETqi8.js → executor-CxoH7xaY.js} +1 -1
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-C8FZ3LSY.js → job-queue-DwA7xmCQ.js} +1 -1
- package/dist/{logging-CHZ0aJXO.js → logging-CtfUmyiN.js} +1 -1
- package/dist/nitro.d.ts +2 -2
- package/dist/nitro.js +3 -3
- package/dist/{oauth-callback-server-D2JPUvY4.js → oauth-callback-server-RefMcYAD.js} +2 -2
- package/dist/{pending-auth-HNSPyxoN.js → pending-auth-B_nSqxpd.js} +2 -2
- package/dist/{plugins-BI9A1vKA.d.ts → plugins-BT2l4We3.d.ts} +2 -1
- package/dist/{profile-6veboDue.js → profile-BRupCR8f.js} +4 -4
- package/dist/{registry-DR6TJe4J.js → registry-DiIwniX1.js} +62 -18
- package/dist/{resolve-DprAzyQN.js → resolve-0BvJroyG.js} +2 -2
- package/dist/{runner-CV9Wahh9.js → runner-DDHI2RaU.js} +9 -9
- package/dist/{sandbox-egress-signals-BpRsWlQP.js → sandbox-egress-signals-CoVhGAih.js} +1 -1
- package/dist/{short-title-XUBD7AYC.js → short-title-BdpXj7eS.js} +2 -2
- package/dist/{skills-DeUBvhdn.js → skills-MlftIiVP.js} +2 -2
- package/dist/{spawn-BFzlrZae.js → spawn-DLlXPelG.js} +2 -2
- package/dist/{stats-BvNqVRdB.js → stats-BjipUP7p.js} +5 -5
- package/dist/{task-queue-CbxNVEAg.js → task-queue-DyfnQ7ZM.js} +3 -3
- package/dist/{task-runner-BH5M3JHb.js → task-runner-BOuCBVgO.js} +7 -7
- package/dist/{thread-state-Db98GdYL.js → thread-state-DrGVG1E-.js} +5 -5
- package/dist/{turn-execution-mZIWtngI.js → turn-execution-CZKg5Fw9.js} +3 -3
- package/dist/{turn-lifecycle-CNsgouon.js → turn-lifecycle-BV2Wp_qF.js} +1 -1
- package/dist/{validation-Dy7SUhLv.js → validation-BXDSxuOX.js} +1 -1
- package/dist/{version-Es4nurl1.js → version-DNJ6W0LC.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{web-authorization-DG2K_bpi.js → web-authorization-DhXHpeMK.js} +1 -1
- package/dist/{web-input-CZjYeCFh.js → web-input-BqFF7CQB.js} +4 -4
- package/dist/{work-DTqDMGeD.js → work-DEMP0L3f.js} +9 -9
- package/dist/{worker-BvuVxS4T.js → worker-DvK47zmH.js} +5 -5
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ht as getConversationEventStore } from "./agent-hooks-
|
|
2
|
-
import { n as runAgentWithTimeout } from "./agent-runner-
|
|
3
|
-
import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-
|
|
1
|
+
import { Ht as getConversationEventStore } from "./agent-hooks-Au93EfEr.js";
|
|
2
|
+
import { n as runAgentWithTimeout } from "./agent-runner-skcXibgb.js";
|
|
3
|
+
import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-BV2Wp_qF.js";
|
|
4
4
|
//#region src/chat/runtime/turn-execution.ts
|
|
5
5
|
/** An error thrown while the agent advances a Run. */
|
|
6
6
|
var AgentRunError = class extends Error {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ht as getConversationEventStore } from "./agent-hooks-
|
|
1
|
+
import { Ht as getConversationEventStore } from "./agent-hooks-Au93EfEr.js";
|
|
2
2
|
//#region src/chat/conversations/turn-lifecycle.ts
|
|
3
3
|
/** Persist correlated turn lifecycle facts with retry-safe terminal exclusion. */
|
|
4
4
|
var ConversationTurnLifecycleService = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
|
|
2
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
2
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-B9yDPVCR.js";
|
|
3
3
|
import { isDeepStrictEqual } from "node:util";
|
|
4
4
|
//#region src/chat/plugins/validation.ts
|
|
5
5
|
var validation_exports = /* @__PURE__ */ __exportAll({
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as JUNIOR_VERSION } from "./version-
|
|
1
|
+
import { t as JUNIOR_VERSION } from "./version-DNJ6W0LC.js";
|
|
2
2
|
export { JUNIOR_VERSION };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as getStateAdapter } from "./profile-
|
|
1
|
+
import { w as getStateAdapter } from "./profile-BRupCR8f.js";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
//#region src/chat/conversations/web-authorization.ts
|
|
4
4
|
const WEB_AUTHORIZATION_PREFIX = "junior:web_authorization:v1";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as logWarn } from "./logging-
|
|
2
|
-
import { s as getSlackBotToken } from "./config-
|
|
1
|
+
import { f as logWarn } from "./logging-CtfUmyiN.js";
|
|
2
|
+
import { s as getSlackBotToken } from "./config-DceVK986.js";
|
|
3
3
|
import "./context-Bplcgypl.js";
|
|
4
|
-
import { K as normalizeSlackConversationId, Wt as getConversationStore } from "./agent-hooks-
|
|
5
|
-
import { c as parseSlackThreadId, ft as appendAndEnqueueExclusiveInboundMessage, pt as appendAndEnqueueInboundMessage, qt as buildDeterministicTurnId } from "./stats-
|
|
4
|
+
import { K as normalizeSlackConversationId, Wt as getConversationStore } from "./agent-hooks-Au93EfEr.js";
|
|
5
|
+
import { c as parseSlackThreadId, ft as appendAndEnqueueExclusiveInboundMessage, pt as appendAndEnqueueInboundMessage, qt as buildDeterministicTurnId } from "./stats-BjipUP7p.js";
|
|
6
6
|
import { t as healthReportSchema } from "./reporting-schema-DosTN__Q.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
|
|
2
|
-
import { $ as AuthorizationFlowDisabledError, A as createAgentInvocationSchema, M as AgentInvocationLimitError, O as agentBindingSchema, f as PluginCredentialFailureError, j as AgentInvocationBusyError, k as agentInvocationSchema } from "./agent-
|
|
3
|
-
import { Ht as getConversationEventStore, Kt as getSqlExecutor, Wt as getConversationStore } from "./agent-hooks-
|
|
4
|
-
import { f as juniorAgentBindings, p as juniorAgentInvocations } from "./executor-
|
|
5
|
-
import { L as openConversationProjection, o as failTurnRecord, r as saveTurnCheckpoint, s as getTurnRecord, v as getTerminalAssistantMessages } from "./checkpoint-
|
|
6
|
-
import { pt as appendAndEnqueueInboundMessage } from "./stats-
|
|
7
|
-
import { _ as isTurnInputCommitLostError, h as getConversationTurnBoundaryError, p as TurnInputCommitLostError, s as getAssistantReplyText } from "./pending-auth-
|
|
8
|
-
import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-
|
|
9
|
-
import { n as executeTurn, t as AgentRunError } from "./turn-execution-
|
|
10
|
-
import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState } from "./thread-state-
|
|
2
|
+
import { $ as AuthorizationFlowDisabledError, A as createAgentInvocationSchema, M as AgentInvocationLimitError, O as agentBindingSchema, f as PluginCredentialFailureError, j as AgentInvocationBusyError, k as agentInvocationSchema } from "./agent-C-wRol8n.js";
|
|
3
|
+
import { Ht as getConversationEventStore, Kt as getSqlExecutor, Wt as getConversationStore } from "./agent-hooks-Au93EfEr.js";
|
|
4
|
+
import { f as juniorAgentBindings, p as juniorAgentInvocations } from "./executor-CxoH7xaY.js";
|
|
5
|
+
import { L as openConversationProjection, o as failTurnRecord, r as saveTurnCheckpoint, s as getTurnRecord, v as getTerminalAssistantMessages } from "./checkpoint-CQ6eQrJD.js";
|
|
6
|
+
import { pt as appendAndEnqueueInboundMessage } from "./stats-BjipUP7p.js";
|
|
7
|
+
import { _ as isTurnInputCommitLostError, h as getConversationTurnBoundaryError, p as TurnInputCommitLostError, s as getAssistantReplyText } from "./pending-auth-B_nSqxpd.js";
|
|
8
|
+
import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-BV2Wp_qF.js";
|
|
9
|
+
import { n as executeTurn, t as AgentRunError } from "./turn-execution-CZKg5Fw9.js";
|
|
10
|
+
import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState } from "./thread-state-DrGVG1E-.js";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
import { createHash } from "node:crypto";
|
|
13
13
|
import { and, asc, count, eq, inArray } from "drizzle-orm";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
|
|
2
|
-
import { b as isProviderRetryError } from "./client-
|
|
3
|
-
import { S as withLogContext, d as logInfo, f as logWarn, u as logException } from "./logging-
|
|
4
|
-
import { a as getChatConfig } from "./config-
|
|
5
|
-
import { At as recordConversationRetry, Ct as drainConversationMailbox, Et as getConversationWorkState, Ft as startConversationWork, Ht as isInvalidConversationRecordError, Nt as requestAnotherSlice, St as deadLetterAttempt, Vt as isFinalAttempt, _t as clearConsumedConversationWake, bt as completeConversationWork, dt as ackMessages, gt as checkInConversationWork, jt as releaseConversationWork, kt as recordAttemptFailure, mt as beginConversationResume, wt as ensureConversationWake, xt as countPendingConversationMessages, yt as completeConversationStop, zt as hasConversationStop } from "./stats-
|
|
2
|
+
import { b as isProviderRetryError } from "./client-BV3_abpr.js";
|
|
3
|
+
import { S as withLogContext, d as logInfo, f as logWarn, u as logException } from "./logging-CtfUmyiN.js";
|
|
4
|
+
import { a as getChatConfig } from "./config-DceVK986.js";
|
|
5
|
+
import { At as recordConversationRetry, Ct as drainConversationMailbox, Et as getConversationWorkState, Ft as startConversationWork, Ht as isInvalidConversationRecordError, Nt as requestAnotherSlice, St as deadLetterAttempt, Vt as isFinalAttempt, _t as clearConsumedConversationWake, bt as completeConversationWork, dt as ackMessages, gt as checkInConversationWork, jt as releaseConversationWork, kt as recordAttemptFailure, mt as beginConversationResume, wt as ensureConversationWake, xt as countPendingConversationMessages, yt as completeConversationStop, zt as hasConversationStop } from "./stats-BjipUP7p.js";
|
|
6
6
|
import { c as ConversationQueueMessageRejectedError } from "./vercel-queue-DIkVcfK4.js";
|
|
7
|
-
import { a as getTurnRequestDeadline } from "./job-queue-
|
|
7
|
+
import { a as getTurnRequestDeadline } from "./job-queue-DwA7xmCQ.js";
|
|
8
8
|
//#region src/chat/task-execution/worker.ts
|
|
9
9
|
var worker_exports = /* @__PURE__ */ __exportAll({
|
|
10
10
|
CONVERSATION_WORK_DEFER_DELAY_MS: () => CONVERSATION_WORK_DEFER_DELAY_MS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.218.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"pg": "^8.16.3",
|
|
86
86
|
"yaml": "^2.9.0",
|
|
87
87
|
"zod": "^4.5.4",
|
|
88
|
-
"@sentry/junior-plugin-api": "0.
|
|
88
|
+
"@sentry/junior-plugin-api": "0.218.0"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@emnapi/core": "^1.10.0",
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
"typescript": "^6.0.3",
|
|
105
105
|
"vercel": "^54.4.0",
|
|
106
106
|
"vitest": "^4.1.7",
|
|
107
|
-
"@sentry/junior-github": "0.
|
|
108
|
-
"@sentry/junior-
|
|
109
|
-
"@sentry/junior-
|
|
107
|
+
"@sentry/junior-github": "0.218.0",
|
|
108
|
+
"@sentry/junior-testing": "0.0.0",
|
|
109
|
+
"@sentry/junior-memory": "0.218.0"
|
|
110
110
|
},
|
|
111
111
|
"scripts": {
|
|
112
112
|
"build": "tsdown",
|