@sentry/junior 0.219.0 → 0.221.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-DFeJ0yVy.js → agent-CFrfUdN5.js} +65 -71
- package/dist/{agent-hooks-CKaIOT4I.js → agent-hooks-kjLDY-Aa.js} +8 -8
- package/dist/{agent-runner-DifJddqY.js → agent-runner-DMMa36Zl.js} +5 -5
- package/dist/api/schema.d.ts +30 -0
- package/dist/api/schema.js +2 -2
- package/dist/api.js +80 -19
- package/dist/app.js +33 -160
- package/dist/{auth-pause-state-nAyuKldT.js → auth-pause-state-TdhAyYM4.js} +6 -6
- package/dist/{briefs-D2iu2JPg.js → briefs-CIN2DMSo.js} +4 -4
- package/dist/{catalog-runtime-v3x4peOv.js → catalog-runtime-D1v0KsgY.js} +1 -1
- package/dist/{checkpoint-Cc7ba7dw.js → checkpoint-B2-uc-1h.js} +7 -7
- 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.js +3 -3
- package/dist/cli/snapshot-create.js +3 -3
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-DVKLZG01.js → client-DIe9JhwF.js} +2 -2
- package/dist/{config-BXIOxlCK.js → config-0_JixokJ.js} +2 -2
- package/dist/{conversation-BpqLg4MM.js → conversation-BSRGzJmY.js} +1 -0
- package/dist/{conversation-privacy-8-WR4KBo.js → conversation-privacy-6NLCEkzx.js} +1 -1
- package/dist/{credential-sync-BOcckr3l.js → credential-sync-Dqg2o90r.js} +21 -21
- package/dist/{execution-stats-G61-pwq6.js → execution-stats-vnXVMVeu.js} +3 -3
- package/dist/{executor-D_aAfzGp.js → executor-CmZKtNpH.js} +1 -1
- package/dist/instrumentation.js +8 -6
- package/dist/{job-queue-DjgMEeqJ.js → job-queue-B1k3woMW.js} +1 -1
- package/dist/{logging-1iHJtqBM.js → logging-D2YJv_PA.js} +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-callback-server-wwYSbTaU.js → oauth-callback-server-BQtO5l5M.js} +2 -2
- package/dist/{pending-auth-B2qOCIx1.js → pending-auth-DuSNoTpn.js} +2 -2
- package/dist/{profile-B4e6XN37.js → profile-C3TEFAVI.js} +4 -4
- package/dist/{prompt-DAoaq0CT.js → prompt-BkaHwBW0.js} +1 -1
- package/dist/{registry-C0DT9wqc.js → registry-Bp0kd2xe.js} +1 -1
- package/dist/{resolve-DugfbPdI.js → resolve-BABNNBLL.js} +2 -2
- package/dist/{runner-RE9Lp-M8.js → runner-Bvn90ijl.js} +10 -10
- package/dist/{sandbox-egress-signals-BqkV7azF.js → sandbox-egress-signals-DLfYAOiO.js} +1 -1
- package/dist/{schema-BMG8MJPJ.js → schema-YPJXVcOW.js} +1 -1
- package/dist/{short-title-C7tWtQQy.js → short-title-C2fM-ERl.js} +2 -2
- package/dist/{skills-B6OcxCOp.js → skills-D1otDVYp.js} +2 -2
- package/dist/{spawn-BmZvmNYc.js → spawn-C-fAS-Rk.js} +2 -2
- package/dist/{stats-BtMLD1n8.js → stats-BfUFTUrM.js} +33 -8
- package/dist/{task-queue-a2aXjkx2.js → task-queue-VdYCCwO0.js} +3 -3
- package/dist/{task-runner-Bg2trvKT.js → task-runner-6tzKHNbM.js} +8 -8
- package/dist/{thread-state-D4zlHEq1.js → thread-state-CD_fsyrM.js} +5 -5
- package/dist/{turn-execution-CgCTt4YP.js → turn-execution-eVhqozjK.js} +3 -3
- package/dist/{turn-lifecycle-ClF1kY55.js → turn-lifecycle-CxAtVANu.js} +1 -1
- package/dist/{validation-CGkLLzS9.js → validation-CMERqrCD.js} +1 -1
- package/dist/{version-CZfM8Kly.js → version-C8XFxpkQ.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{web-authorization-DCSwmiua.js → web-authorization-Dq2NDhY0.js} +1 -1
- package/dist/{web-input-CQrFGEv9.js → web-input-Bdh_rCZ7.js} +4 -4
- package/dist/{work-lRFwhKJe.js → work-DCwaUeWu.js} +9 -9
- package/dist/{worker-BV4FekSX.js → worker-grswNVoc.js} +5 -5
- package/migrations/0043_scheduled_automation_channel_destinations.sql +36 -0
- package/migrations/meta/0043_snapshot.json +3610 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +4 -4
|
@@ -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-DIe9JhwF.js";
|
|
3
|
+
import { S as withLogContext, d as logInfo, f as logWarn, u as logException } from "./logging-D2YJv_PA.js";
|
|
4
|
+
import { a as getChatConfig } from "./config-0_JixokJ.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-BfUFTUrM.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-B1k3woMW.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,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
UPDATE "junior_scheduler_tasks"
|
|
2
|
+
SET "record" = jsonb_set(
|
|
3
|
+
"record",
|
|
4
|
+
'{destination}',
|
|
5
|
+
("record"->'destination') - 'threadTs',
|
|
6
|
+
false
|
|
7
|
+
)
|
|
8
|
+
WHERE "record"->'destination' ? 'threadTs';
|
|
9
|
+
--> statement-breakpoint
|
|
10
|
+
UPDATE "junior_scheduler_tasks"
|
|
11
|
+
SET "record" = jsonb_set(
|
|
12
|
+
"record",
|
|
13
|
+
'{outcomes}',
|
|
14
|
+
(
|
|
15
|
+
SELECT jsonb_agg(
|
|
16
|
+
CASE
|
|
17
|
+
WHEN "outcome"->'destination' ? 'threadTs'
|
|
18
|
+
THEN jsonb_set(
|
|
19
|
+
"outcome",
|
|
20
|
+
'{destination}',
|
|
21
|
+
("outcome"->'destination') - 'threadTs',
|
|
22
|
+
false
|
|
23
|
+
)
|
|
24
|
+
ELSE "outcome"
|
|
25
|
+
END
|
|
26
|
+
ORDER BY "ordinality"
|
|
27
|
+
)
|
|
28
|
+
FROM jsonb_array_elements("record"->'outcomes') WITH ORDINALITY AS "items"("outcome", "ordinality")
|
|
29
|
+
),
|
|
30
|
+
false
|
|
31
|
+
)
|
|
32
|
+
WHERE EXISTS (
|
|
33
|
+
SELECT 1
|
|
34
|
+
FROM jsonb_array_elements("record"->'outcomes') AS "items"("outcome")
|
|
35
|
+
WHERE "outcome"->'destination' ? 'threadTs'
|
|
36
|
+
);
|