@sentry/junior 0.276.0 → 0.278.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-DoPR2jS-.js → adapter-BXosqTMx.js} +1 -1
- package/dist/{admin-BJTT-kXb.js → admin-Thn7NfOi.js} +1 -1
- package/dist/{agent-invocations-CUWrrzkc.js → agent-invocations-D7c4BQGc.js} +6 -2
- package/dist/{agent-runner-sMpA5qGM.js → agent-runner-DE-43MPb.js} +396 -877
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +5 -5
- package/dist/api.d.ts +13 -2
- package/dist/api.js +132 -61
- package/dist/{app-DTj-yAQt.d.ts → app-CHNS-AX2.d.ts} +6 -27
- package/dist/app.d.ts +3 -3
- package/dist/app.js +65 -57
- package/dist/{assistant-reply-DbxKnBQF.js → assistant-reply-pauL6qyn.js} +28 -6
- package/dist/{automation-B8_mC68r.js → automation-DphoTRYl.js} +1 -1
- package/dist/{background-compaction-queue-Bywqo1WJ.js → background-compaction-queue-CAL4A2y7.js} +2 -2
- package/dist/{briefs-IL7QnCCR.js → briefs-4fyPJJEu.js} +5 -6
- package/dist/{catalog-runtime--sC2CYLQ.js → catalog-runtime-BoOb5oUv.js} +1 -1
- package/dist/cli/chat.d.ts +1 -1
- package/dist/cli/chat.js +14 -14
- package/dist/cli/check.js +3 -3
- package/dist/cli/init.js +0 -2
- package/dist/cli/main.js +3 -3
- package/dist/cli/plugins.d.ts +1 -1
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +4 -4
- package/dist/cli/upgrade.d.ts +2 -2
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-7diKvInp.js → client-v_OVYuHZ.js} +3 -3
- package/dist/{config-Cb--cuv-.js → config-o2jLRY5J.js} +24 -99
- package/dist/{connections-C4-4fxaE.js → connections-RC4NXAx8.js} +10 -10
- package/dist/{conversation-DppJ83Hw.js → conversation-CZfyQvdm.js} +54 -109
- package/dist/{conversation-privacy-DTwdT3Pi.js → conversation-privacy-C23M8KaD.js} +1 -1
- package/dist/{credential-sync-Sl5RQCkS.js → credential-sync-Dd0WyNfF.js} +13 -13
- package/dist/{db-Ck6TXQIx.d.ts → db-BjLzDJCt.d.ts} +1 -1
- package/dist/{executor-BFKmqxYe.js → executor-CJfsD0VX.js} +13 -5
- package/dist/instrumentation.js +2 -2
- package/dist/{logging-B04X_eCB.js → logging-dFaXvBRK.js} +4 -2
- package/dist/{media-DstkkoNP.js → media-DTAA8Qs_.js} +21 -23
- package/dist/{message-DQMFyyE-.js → message-DSwxIZet.js} +22 -28
- package/dist/nitro.d.ts +2 -2
- package/dist/nitro.js +7 -3
- package/dist/{oauth-callback-server-BGq0_vQI.js → oauth-callback-server-CDcuCp27.js} +2 -2
- package/dist/{plugins-B_0Cr0MO.d.ts → plugins-DtmjkTza.d.ts} +1 -0
- package/dist/{projection-6dXaN0n-.js → projection-BTge9wrH.js} +5426 -5300
- package/dist/{prompt-B4fQKGZR.js → prompt-DDtCnlHP.js} +1 -1
- package/dist/{registry-CEqKR_ld.js → registry-Cp6CNmtP.js} +24 -8
- package/dist/{resolve-8I5DkrfI.js → resolve-B_7h2cXx.js} +3 -3
- package/dist/{result-BgAW90IM.js → result-5LBEfnLX.js} +9 -9
- package/dist/{runner-CSKDr_19.js → runner-C5-S4oq-.js} +11 -11
- package/dist/{sandbox-egress-signals-BxAT276e.js → sandbox-egress-signals-B4GehT1L.js} +1 -1
- package/dist/{schema-Cal-EFdi.js → schema-B5fpczDw.js} +82 -4
- package/dist/{schema-CaUWl2EV.d.ts → schema-Tr484cCC.d.ts} +935 -688
- package/dist/{service-account-CUuVJCKT.js → service-account-BkEv20zf.js} +3 -3
- package/dist/{service-account-CtOab1Xz.js → service-account-Cq_dLrZJ.js} +3 -3
- package/dist/{session-stop-DK8LuPZW.js → session-stop-BsS4qFS2.js} +26 -16
- package/dist/{skills-Bc0D7BGy.js → skills-M0BA0_s6.js} +2 -2
- package/dist/{spawn-DF_GUcd8.js → spawn-BO3y7H4d.js} +2 -3
- package/dist/{stop-DthSy-z8.js → stop-D5R82Wla.js} +612 -186
- package/dist/{store-C5uVTx2G.js → store-BGBzQWNf.js} +9 -16
- package/dist/{store-BgH2P3X9.js → store-CGJZTEVz.js} +3 -3
- package/dist/{task-queue-C6ROM_XJ.js → task-queue-UD27ei2U.js} +3 -3
- package/dist/{task-runner-BwAkjjVE.js → task-runner-noxjOjkM.js} +7 -7
- package/dist/{thread-state-BXjgk1pW.js → thread-state-BSu6rM6p.js} +4 -4
- package/dist/{turn-failure-response-CVI57qKL.js → turn-failure-response-wahwyPrZ.js} +7 -7
- package/dist/{turn-lifecycle-CF6ibonp.js → turn-lifecycle-Bo4Trccw.js} +1 -1
- package/dist/{turn-session-routing-DddybdNu.js → turn-session-routing-DnSaaEpn.js} +10 -10
- package/dist/{validation-BxF1nQbC.js → validation-B9-8iKyw.js} +1 -1
- package/dist/{version-CTzSbCmR.js → version-C7HejFP2.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-CQwBszc7.js → viewer-DLXajQZE.js} +94 -28
- package/dist/{work-BHlShEQ6.js → work-DRGSlfia.js} +12 -17
- package/dist/{worker-DhY9MnsH.js → worker-BGh5Dwc6.js} +6 -6
- package/migrations/0074_conversation_participant_pins.sql +1 -0
- package/migrations/0075_conversation_detail_version.sql +1 -0
- package/migrations/0076_conversation_auto_archive.sql +5 -0
- package/migrations/meta/0074_snapshot.json +4076 -0
- package/migrations/meta/0075_snapshot.json +4083 -0
- package/migrations/meta/0076_snapshot.json +4147 -0
- package/migrations/meta/_journal.json +21 -0
- package/package.json +5 -5
- package/dist/model-profile-B998sjVd.js +0 -67
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as getChatConfig } from "./config-
|
|
1
|
+
import { i as getChatConfig } from "./config-o2jLRY5J.js";
|
|
2
2
|
import { t as ACTIVE_LOCK_TTL_MS } from "./locks-D-0h111u.js";
|
|
3
3
|
import { createMemoryState } from "@chat-adapter/state-memory";
|
|
4
4
|
import { createRedisState } from "@chat-adapter/state-redis";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as getDb, r as listAdminUsersFromSql, u as setUserAdminFromSql } from "./viewer-
|
|
1
|
+
import { S as getDb, r as listAdminUsersFromSql, u as setUserAdminFromSql } from "./viewer-DLXajQZE.js";
|
|
2
2
|
import { CLI_USAGE } from "./cli/run.js";
|
|
3
3
|
// src/cli/admin.ts
|
|
4
4
|
/**
|
|
@@ -25,7 +25,6 @@ const juniorDestinations = pgTable("junior_destinations", {
|
|
|
25
25
|
createdAt: timestamptz("created_at").notNull(),
|
|
26
26
|
updatedAt: timestamptz("updated_at").notNull()
|
|
27
27
|
}, (table) => [uniqueIndex("junior_destinations_provider_destination_uidx").on(table.provider, table.providerTenantId, table.providerDestinationId), index("junior_destinations_provider_kind_idx").on(table.provider, table.kind)]);
|
|
28
|
-
// src/db/schema/users.ts
|
|
29
28
|
const juniorUsers = pgTable("junior_users", {
|
|
30
29
|
id: text("id").primaryKey(),
|
|
31
30
|
primaryEmail: text("primary_email").notNull(),
|
|
@@ -36,6 +35,10 @@ const juniorUsers = pgTable("junior_users", {
|
|
|
36
35
|
customization: text("customization"),
|
|
37
36
|
/** Junior-wide admin role. Only the `junior admin` CLI changes it. */
|
|
38
37
|
isAdmin: boolean("is_admin").notNull().default(false),
|
|
38
|
+
/** Auto-archive this user's conversations when their work is done. */
|
|
39
|
+
autoArchiveDefault: boolean("auto_archive_default").notNull().default(false),
|
|
40
|
+
/** Hours done work and the conversation stay quiet before auto-archive. */
|
|
41
|
+
autoArchiveGraceHours: integer("auto_archive_grace_hours").notNull().default(24),
|
|
39
42
|
createdAt: timestamptz("created_at").notNull(),
|
|
40
43
|
updatedAt: timestamptz("updated_at").notNull()
|
|
41
44
|
}, (table) => [uniqueIndex("junior_users_primary_email_normalized_uidx").on(table.primaryEmailNormalized)]);
|
|
@@ -100,6 +103,7 @@ const juniorConversations = pgTable("junior_conversations", {
|
|
|
100
103
|
executionDurationMs: integer("execution_duration_ms").notNull().default(0),
|
|
101
104
|
executionUsage: jsonb("execution_usage_json").$type(),
|
|
102
105
|
metricRunId: text("metric_run_id"),
|
|
106
|
+
detailVersion: integer("detail_version").notNull().default(0),
|
|
103
107
|
legacyArchivedAt: timestamptz("archived_at")
|
|
104
108
|
}, (table) => [
|
|
105
109
|
index("junior_conversations_last_activity_idx").on(table.lastActivityAt.desc(), table.conversationId),
|
|
@@ -159,7 +163,7 @@ const juniorAgentInvocations = pgTable("junior_agent_invocations", {
|
|
|
159
163
|
destination: jsonb("destination_json").$type().notNull(),
|
|
160
164
|
destinationVisibility: text("destination_visibility").$type(),
|
|
161
165
|
agentType: text("agent_type").$type(),
|
|
162
|
-
modelProfile: text("model_profile")
|
|
166
|
+
modelProfile: text("model_profile"),
|
|
163
167
|
reasoningLevel: text("reasoning_level").$type(),
|
|
164
168
|
parentToolCallId: text("parent_tool_call_id"),
|
|
165
169
|
status: text("status").$type().notNull(),
|