@sentry/junior 0.285.0 → 0.287.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-DN5AB4VU.js → adapter-CL-HUKgd.js} +1 -1
- package/dist/{admin-DOITMKnn.js → admin-C9urXVfi.js} +2 -1
- package/dist/{agent-runner-BsWhHe4N.js → agent-runner-Bfnw551N.js} +2174 -1323
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +7 -7
- package/dist/api.d.ts +1 -1
- package/dist/api.js +73 -112
- package/dist/{app-DyMs9330.d.ts → app-DBY5TnfY.d.ts} +2 -3
- package/dist/app.d.ts +1 -1
- package/dist/app.js +72 -42
- package/dist/{assistant-reply-9Jip5bsr.js → assistant-reply-u_PRYzuz.js} +1 -1
- package/dist/{automation-Mk8aaHzy.js → automation-DksGNDRO.js} +3 -6
- package/dist/{background-compaction-queue-DXkLsWoH.js → background-compaction-queue-CYI909P5.js} +137 -3
- package/dist/{briefs-Cl8-nK9B.js → briefs-DaXiMWzT.js} +6 -5
- package/dist/{catalog-runtime-Bte6jRB2.js → catalog-runtime-BCIuBe4d.js} +1 -1
- package/dist/cli/chat.js +14 -14
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +3 -3
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +5 -6
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-DDbBucBw.js → config-CkHcUMN7.js} +580 -3
- package/dist/{connections-DA4LT9LL.js → connections-BnIj0wtx.js} +16 -50
- package/dist/{conversation-D8kVoCrP.js → conversation-E7ZPJx2H.js} +22 -6
- package/dist/{conversation-pending-messages-BvROq1bq.js → conversation-pending-messages-DVch6YQw.js} +2 -5
- package/dist/{conversation-privacy-D0j_h70R.js → conversation-privacy-DF1hW0ja.js} +1 -1
- package/dist/{credential-sync-hcsYatw-.js → credential-sync-CzMar9hq.js} +13 -13
- package/dist/{viewer-1Ea81s0b.js → db-DJ11eZqq.js} +64 -367
- package/dist/{db-BhHZSuFw.d.ts → db-YDKKDxlh.d.ts} +4 -4
- package/dist/{executor-BLEMIgIZ.js → executor-BY9TB31g.js} +20 -19
- package/dist/instrumentation.js +2 -2
- package/dist/{logging-BfORLKoq.js → logging-BO5zU6Mt.js} +1 -1
- package/dist/{media-Bu9C6lz0.js → media-Cz1ZiV1U.js} +16 -4
- package/dist/{message-DqjuKzUx.js → message-CsUbuEc8.js} +10 -10
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +2 -3
- package/dist/{oauth-callback-server-CFSRzu1n.js → oauth-callback-server-hiDKK0_n.js} +2 -2
- package/dist/{projection-DliWYrnT.js → projection-CL_YWeGf.js} +352 -356
- package/dist/{prompt-BvIUzY4y.js → prompt-BHOEQSmf.js} +182 -2
- package/dist/{registry-rC7MCxu8.js → registry-BriFLnaJ.js} +1 -1
- package/dist/{reporting-window-B4TwyuJo.js → reporting-window-B3Ze-Qnt.js} +4 -1
- package/dist/{resolve-Biu8Qw3u.js → resolve-Bt6GgAiA.js} +3 -3
- package/dist/{result-DxJMCX47.js → result-Bo1TZu0Q.js} +8 -8
- package/dist/{runner-BQJSFLKg.js → runner-D3YeCQgt.js} +16 -12
- package/dist/{sandbox-egress-signals-6aMxJSDn.js → sandbox-egress-signals-CcnSPP4S.js} +1 -1
- package/dist/{schema-BasXTvi2.js → schema-BWE3RJEB.js} +19 -7
- package/dist/{schema-BUviRAs8.d.ts → schema-C6fsEwjo.d.ts} +90 -8
- package/dist/{service-account-BI5Wgx22.js → service-account-DiQQuuw7.js} +3 -3
- package/dist/{service-account-CAE-_1dR.js → service-account-r6fl0b-9.js} +3 -3
- package/dist/{session-stop-CA-jOJ84.js → session-stop-B2Nut40V.js} +27 -25
- package/dist/{skills-B22duVJU.js → skills-CD5aJdzg.js} +2 -2
- package/dist/spawn-CalgZQiu.js +79 -0
- package/dist/{stop-DioIcEAu.js → stop-kujZLbi0.js} +233 -1127
- package/dist/{store-Dn4W7qgH.js → store-DdIEUL1q.js} +3 -3
- package/dist/{turn-session-routing-CGMKrYOj.js → task-runner-D_RDr2Hu.js} +1440 -993
- package/dist/{store-B26LV6UP.js → turn-failure-response-B5nV1Er-.js} +337 -6
- package/dist/{validation-TzhfQABF.js → validation-K4pqwoVZ.js} +1 -1
- package/dist/{version-DSk8CFvA.js → version-DBvhk1X9.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/viewer-DrMmFUul.js +337 -0
- package/dist/{work-ybG4_q5C.js → work-ljRoODGu.js} +110 -94
- package/dist/{worker-ccSyZRNz.js → worker-CYO1Q0Js.js} +5 -6
- package/migrations/0086_shared_archive.sql +31 -0
- package/migrations/0087_child_location.sql +64 -0
- package/migrations/0088_conversation_unsubscribe.sql +1 -0
- package/migrations/meta/0086_snapshot.json +4366 -0
- package/migrations/meta/0087_snapshot.json +4366 -0
- package/migrations/meta/0088_snapshot.json +4372 -0
- package/migrations/meta/_journal.json +21 -0
- package/package.json +5 -4
- package/dist/config-DqFnykQT.js +0 -579
- package/dist/spawn-BB2_4VYn.js +0 -31
- package/dist/task-queue-Bt0IoR2i.js +0 -139
- package/dist/task-runner-D8lddjzp.js +0 -290
- package/dist/thread-state-CrFk3K_7.js +0 -173
- package/dist/turn-failure-response-DaJ04qVj.js +0 -224
- package/dist/turn-lifecycle-C2mXS7AZ.js +0 -58
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./config-
|
|
2
|
-
import { p as logException } from "./logging-
|
|
1
|
+
import "./config-CkHcUMN7.js";
|
|
2
|
+
import { p as logException } from "./logging-BO5zU6Mt.js";
|
|
3
3
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4
|
-
import {
|
|
4
|
+
import { sql } from "drizzle-orm";
|
|
5
5
|
import { bigint, boolean, check, date, doublePrecision, foreignKey, index, integer, jsonb, pgTable, primaryKey, text, timestamp, uniqueIndex, uuid } from "drizzle-orm/pg-core";
|
|
6
6
|
import { Pool } from "@neondatabase/serverless";
|
|
7
7
|
import { drizzle } from "drizzle-orm/neon-serverless";
|
|
@@ -115,7 +115,8 @@ const juniorConversations = pgTable("junior_conversations", {
|
|
|
115
115
|
lastEnqueuedAt: timestamptz("last_enqueued_at"),
|
|
116
116
|
parentConversationId: text("parent_conversation_id").references(() => juniorConversations.conversationId),
|
|
117
117
|
kind: text("kind").$type(),
|
|
118
|
-
|
|
118
|
+
archivedAt: timestamptz("archived_at"),
|
|
119
|
+
legacyChildArchivedAt: timestamptz("child_archived_at"),
|
|
119
120
|
forkedFromConversationId: text("forked_from_conversation_id").references(() => juniorConversations.conversationId, { onDelete: "set null" }),
|
|
120
121
|
quickQuestionAt: timestamptz("quick_question_at"),
|
|
121
122
|
rootConversationId: text("root_conversation_id").references(() => juniorConversations.conversationId),
|
|
@@ -131,8 +132,7 @@ const juniorConversations = pgTable("junior_conversations", {
|
|
|
131
132
|
executionDurationMs: integer("execution_duration_ms").notNull().default(0),
|
|
132
133
|
executionUsage: jsonb("execution_usage_json").$type(),
|
|
133
134
|
metricRunId: text("metric_run_id"),
|
|
134
|
-
detailVersion: integer("detail_version").notNull().default(0)
|
|
135
|
-
legacyArchivedAt: timestamptz("archived_at")
|
|
135
|
+
detailVersion: integer("detail_version").notNull().default(0)
|
|
136
136
|
}, (table) => [
|
|
137
137
|
check("junior_conversations_kind_check", sql`${table.kind} in ('root', 'thread', 'task')`),
|
|
138
138
|
check("junior_conversations_kind_parent_check", sql`${table.kind} is null or ((${table.kind} = 'root') = (${table.parentConversationId} is null))`),
|
|
@@ -144,11 +144,6 @@ const juniorConversations = pgTable("junior_conversations", {
|
|
|
144
144
|
index("junior_conversations_forked_from_idx").on(table.forkedFromConversationId),
|
|
145
145
|
index("junior_conversations_root_idx").on(table.rootConversationId)
|
|
146
146
|
]);
|
|
147
|
-
/** Select runtime conversation fields without reading the legacy archive column. */
|
|
148
|
-
function conversationReadColumns() {
|
|
149
|
-
const { legacyArchivedAt, ...columns } = getTableColumns(juniorConversations);
|
|
150
|
-
return columns;
|
|
151
|
-
}
|
|
152
147
|
// src/db/schema/attachments.ts
|
|
153
148
|
/** Durable metadata for files owned by one conversation. */
|
|
154
149
|
const juniorAttachments = pgTable("junior_attachments", {
|
|
@@ -371,25 +366,32 @@ const juniorConversationBindings = pgTable("junior_conversation_bindings", {
|
|
|
371
366
|
/**
|
|
372
367
|
* Materialized personal-feed membership for one linked user on one root
|
|
373
368
|
* conversation. Rows come from the root actor and from the authors of Turn
|
|
374
|
-
* input messages. Thread context authors do not get a row.
|
|
369
|
+
* input messages. Thread context authors do not get a row. An unsubscribed
|
|
370
|
+
* row keeps access but leaves the active feed.
|
|
375
371
|
*/
|
|
376
372
|
const juniorConversationParticipants = pgTable("junior_conversation_participants", {
|
|
377
373
|
userId: text("user_id").notNull().references(() => juniorUsers.id),
|
|
378
374
|
rootConversationId: text("root_conversation_id").notNull().references(() => juniorConversations.conversationId),
|
|
379
375
|
lastMessageAt: timestamptz("last_message_at").notNull(),
|
|
380
|
-
|
|
376
|
+
legacyArchivedAt: timestamptz("archived_at"),
|
|
381
377
|
pinnedAt: timestamptz("pinned_at"),
|
|
382
378
|
/**
|
|
383
379
|
* The viewer's place for this pin in the Pinned section, from a drag
|
|
384
|
-
* reorder. Null until the first reorder, and cleared on unpin
|
|
385
|
-
*
|
|
380
|
+
* reorder. Null until the first reorder, and cleared on unpin and
|
|
381
|
+
* re-pin. Null pins sort first, by activity.
|
|
386
382
|
*/
|
|
387
383
|
pinPosition: integer("pin_position"),
|
|
388
384
|
/**
|
|
389
385
|
* Per-conversation auto-archive choice for this user. Null uses the
|
|
390
386
|
* user's `autoArchiveDefault`.
|
|
391
387
|
*/
|
|
392
|
-
autoArchive: boolean("auto_archive")
|
|
388
|
+
autoArchive: boolean("auto_archive"),
|
|
389
|
+
/**
|
|
390
|
+
* Set when this user left the conversation. It stays out of their
|
|
391
|
+
* active feed until they mention Junior in it again, subscribe, or pin
|
|
392
|
+
* it. The row keeps its access, so it is not deleted.
|
|
393
|
+
*/
|
|
394
|
+
unsubscribedAt: timestamptz("unsubscribed_at")
|
|
393
395
|
}, (table) => [
|
|
394
396
|
primaryKey({
|
|
395
397
|
name: "junior_conversation_participants_user_root_pk",
|
|
@@ -397,8 +399,7 @@ const juniorConversationParticipants = pgTable("junior_conversation_participants
|
|
|
397
399
|
}),
|
|
398
400
|
index("junior_conversation_participants_user_activity_idx").on(table.userId, table.lastMessageAt.desc()),
|
|
399
401
|
index("junior_conversation_participants_root_idx").on(table.rootConversationId),
|
|
400
|
-
index("junior_conversation_participants_auto_archive_idx").on(table.userId).where(sql`${table.autoArchive}
|
|
401
|
-
index("junior_conversation_participants_unarchived_activity_idx").on(table.userId, table.lastMessageAt, table.rootConversationId).where(sql`${table.archivedAt} is null`)
|
|
402
|
+
index("junior_conversation_participants_auto_archive_idx").on(table.userId).where(sql`${table.autoArchive}`)
|
|
402
403
|
]);
|
|
403
404
|
// src/db/schema/conversation-read-positions.ts
|
|
404
405
|
/**
|
|
@@ -1001,4 +1002,4 @@ function createJuniorSqlExecutor(args) {
|
|
|
1001
1002
|
statementTimeoutMs
|
|
1002
1003
|
});
|
|
1003
1004
|
}
|
|
1004
|
-
export {
|
|
1005
|
+
export { juniorConversations as A, isUserInstruction as C, juniorCodeChanges as D, juniorConversationAnnotations as E, juniorUsers as M, juniorDestinations as N, juniorCodeRepositories as O, juniorArtifacts as P, juniorConversationMetrics as S, juniorApiTokens as T, juniorConversationReadPositions as _, juniorPushSubscriptions as a, juniorConversationBriefs as b, juniorReviewItemSlackCards as c, juniorAutomationVersions as d, juniorAutomations as f, juniorAgentInvocations as g, juniorAgentBindings as h, juniorWorkspaces as i, juniorIdentities as j, juniorAttachments as k, juniorReviewItems as l, juniorLocationConfigurations as m, juniorSnapshots as n, juniorReviewItemAssignees as o, juniorStats as p, juniorWorkspaceRepos as r, juniorReviewItemConversations as s, createJuniorSqlExecutor as t, juniorAutomationRuns as u, juniorConversationParticipants as v, juniorConversationEvents as w, CONVERSATION_METRICS as x, juniorConversationBindings as y };
|
package/dist/instrumentation.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as getClient, c as init, i as getActiveSpan, o as getGlobalScope, p as spanToJSON, s as getTraceData } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import { R as getDeploymentServiceVersion, z as getDeploymentTelemetryAttributes } from "./logging-
|
|
3
|
-
import { n as getCurrentConversationPrivacy } from "./conversation-privacy-
|
|
2
|
+
import { R as getDeploymentServiceVersion, z as getDeploymentTelemetryAttributes } from "./logging-BO5zU6Mt.js";
|
|
3
|
+
import { n as getCurrentConversationPrivacy } from "./conversation-privacy-DF1hW0ja.js";
|
|
4
4
|
import { n as redactSandboxEgressProxyPath } from "./proxy-path-BHYoKZdq.js";
|
|
5
5
|
import { t as consumePrivateTraceResultMarker } from "./private-trace-result-CE7_lEdq.js";
|
|
6
6
|
import { n as promoteHttpRouteName, r as routeNameMiddleware, t as nameRequestRoute } from "./sentry-route-name-BhwWnfqj.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as withScope, d as setTag, f as setUser, h as startSpan, i as getActiveSpan, l as logger, n as captureMessage, p as spanToJSON, s as getTraceData, t as captureException } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import { t as JUNIOR_VERSION } from "./version-
|
|
2
|
+
import { t as JUNIOR_VERSION } from "./version-DBvhk1X9.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { styleText } from "node:util";
|
|
5
5
|
import { ConfigError, configureSync, getConfig, getLogger } from "@logtape/logtape";
|
|
@@ -37,8 +37,8 @@ function instructionProvenanceFor(actor) {
|
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Provenance of an instruction that an agent wrote, such as a parent agent
|
|
40
|
-
* task in a child Conversation. It has no Actor
|
|
41
|
-
*
|
|
40
|
+
* task in a child Conversation. It has no Actor: it is user intent only for a
|
|
41
|
+
* Run whose instructions an agent writes.
|
|
42
42
|
*/
|
|
43
43
|
const agentInstructionProvenance = { authority: "instruction" };
|
|
44
44
|
/** Unattributed ambient-context provenance for non-instruction messages. */
|
|
@@ -274,7 +274,7 @@ const messagesSummarizedEventDataSchema = z.object({
|
|
|
274
274
|
createdAtMs: z.number(),
|
|
275
275
|
id: z.string().min(1),
|
|
276
276
|
summary: z.string()
|
|
277
|
-
}).strict())
|
|
277
|
+
}).strict()).optional()
|
|
278
278
|
}).strict();
|
|
279
279
|
/** Product surface that owns a durable conversation turn. */
|
|
280
280
|
const conversationTurnSurfaceSchema = z.enum([
|
|
@@ -315,7 +315,9 @@ const turnStartedEventDataSchema = z.object({
|
|
|
315
315
|
type: z.literal("turn_started"),
|
|
316
316
|
turnId: z.string().min(1),
|
|
317
317
|
inputMessageIds: z.array(z.string().min(1)).min(1),
|
|
318
|
-
surface: conversationTurnSurfaceSchema
|
|
318
|
+
surface: conversationTurnSurfaceSchema,
|
|
319
|
+
/** Highest Message seq known when the Turn built its thread context. */
|
|
320
|
+
threadContextThroughSeq: z.number().int().nonnegative().optional()
|
|
319
321
|
}).strict().refine((data) => new Set(data.inputMessageIds).size === data.inputMessageIds.length, "turn input message ids must be unique");
|
|
320
322
|
const legacyTurnRoutedEventDataSchema = z.object({
|
|
321
323
|
type: z.literal("turn_routed"),
|
|
@@ -357,6 +359,14 @@ const attachmentsDeliveredEventDataSchema = z.object({
|
|
|
357
359
|
toolCallId: z.string().min(1).optional(),
|
|
358
360
|
turnId: z.string().min(1).optional()
|
|
359
361
|
}).strict();
|
|
362
|
+
/** Host-owned transcript item for a reply that a plugin tool posted. */
|
|
363
|
+
const replyPostedEventDataSchema = z.object({
|
|
364
|
+
type: z.literal("reply_posted"),
|
|
365
|
+
plugin: z.string().min(1),
|
|
366
|
+
text: z.string().min(1),
|
|
367
|
+
url: z.string().url().optional(),
|
|
368
|
+
toolCallId: z.string().min(1)
|
|
369
|
+
}).strict();
|
|
360
370
|
const turnCompletedEventDataSchema = z.object({
|
|
361
371
|
type: z.literal("turn_completed"),
|
|
362
372
|
turnId: z.string().min(1),
|
|
@@ -428,6 +438,7 @@ const appendableConversationEventDataSchema = z.union([
|
|
|
428
438
|
turnContextEventDataSchema,
|
|
429
439
|
structuredConversationEventDataSchema,
|
|
430
440
|
attachmentsDeliveredEventDataSchema,
|
|
441
|
+
replyPostedEventDataSchema,
|
|
431
442
|
turnCompletedEventDataSchema,
|
|
432
443
|
turnFailedEventDataSchema,
|
|
433
444
|
subagentStartedEventDataSchema,
|
|
@@ -462,6 +473,7 @@ const KNOWN_CONVERSATION_EVENT_TYPES = [
|
|
|
462
473
|
"turn_context",
|
|
463
474
|
"structured_event",
|
|
464
475
|
"attachments_delivered",
|
|
476
|
+
"reply_posted",
|
|
465
477
|
"turn_routed",
|
|
466
478
|
"turn_completed",
|
|
467
479
|
"turn_failed",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { v as __exportAll } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as botConfig } from "./config-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { r as appendAndEnqueueInboundMessage } from "./store-
|
|
9
|
-
import {
|
|
10
|
-
import { r as enqueueAgentMessageToParent } from "./result-
|
|
2
|
+
import { bn as renderUntrustedTag, eo as canAccessConversation, no as readConversationAccessFromSql } from "./projection-CL_YWeGf.js";
|
|
3
|
+
import { n as botConfig } from "./config-CkHcUMN7.js";
|
|
4
|
+
import { T as SYSTEM_IDENTITY_ID, a as getConversationStore, o as getDb } from "./db-DJ11eZqq.js";
|
|
5
|
+
import { $t as toolInvocationDestination, Gt as AgentMessageTargetError, Qt as actorFromRun, Ut as AgentMessagePausedError } from "./agent-runner-Bfnw551N.js";
|
|
6
|
+
import { I as PARENT_AGENT_TARGET, v as getActiveAgentInvocationForConversation } from "./turn-failure-response-B5nV1Er-.js";
|
|
7
|
+
import { G as admitAutomatedTurn, S as EVENT_WAIT_MS, V as postAutomatedTurnLimitNoticeForConversation } from "./session-stop-B2Nut40V.js";
|
|
8
|
+
import { r as appendAndEnqueueInboundMessage } from "./store-DdIEUL1q.js";
|
|
9
|
+
import { a as enqueueAgentInvocation, c as createAgentInvocationForMessage, u as findChildAgentConversationId } from "./work-ljRoODGu.js";
|
|
10
|
+
import { r as enqueueAgentMessageToParent } from "./result-Bo1TZu0Q.js";
|
|
11
11
|
// src/chat/agent-invocations/top-level-message.ts
|
|
12
12
|
const AGENT_MESSAGE_EVENT_NAMESPACE = "junior";
|
|
13
13
|
/** Event type of a message from another top-level agent. */
|
|
@@ -15,7 +15,7 @@ const TOP_LEVEL_AGENT_MESSAGE_EVENT_TYPE = "agent.top_level_message";
|
|
|
15
15
|
/**
|
|
16
16
|
* Check that a top-level agent can message another top-level agent under
|
|
17
17
|
* `policies/conversation-access.md`. A private Conversation is isolated, so
|
|
18
|
-
* only public agents
|
|
18
|
+
* only public agents can message each other.
|
|
19
19
|
* Every target that the sender cannot reach gets the same error, so the
|
|
20
20
|
* error does not show that a private Conversation exists.
|
|
21
21
|
*/
|
package/dist/nitro.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as JuniorDashboardOptions } from "./app-
|
|
1
|
+
import { i as JuniorDashboardOptions } from "./app-DBY5TnfY.js";
|
|
2
2
|
import { n as JuniorPluginSet } from "./plugins-DtmjkTza.js";
|
|
3
3
|
import { withSentryConfig as withSentryConfig$1 } from "@sentry/nitro";
|
|
4
4
|
type SentryNitroConfig = Parameters<typeof withSentryConfig$1>[0];
|
package/dist/nitro.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { A as JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE, D as JUNIOR_AUTO_ARCHIVE_CRON_SCHEDULE, F as JUNIOR_RETENTION_ROUTE, I as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, M as JUNIOR_HEARTBEAT_ROUTE, N as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE, O as JUNIOR_AUTO_ARCHIVE_ROUTE, P as JUNIOR_RETENTION_CRON_SCHEDULE, R as getDeploymentServiceVersion, j as JUNIOR_HEARTBEAT_CRON_SCHEDULE, k as JUNIOR_CONTEXT_COMPACTION_CALLBACK_ROUTE } from "./logging-
|
|
1
|
+
import { A as JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE, D as JUNIOR_AUTO_ARCHIVE_CRON_SCHEDULE, F as JUNIOR_RETENTION_ROUTE, I as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, M as JUNIOR_HEARTBEAT_ROUTE, N as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE, O as JUNIOR_AUTO_ARCHIVE_ROUTE, P as JUNIOR_RETENTION_CRON_SCHEDULE, R as getDeploymentServiceVersion, j as JUNIOR_HEARTBEAT_CRON_SCHEDULE, k as JUNIOR_CONTEXT_COMPACTION_CALLBACK_ROUTE } from "./logging-BO5zU6Mt.js";
|
|
2
2
|
import { d as resolvePackageDir, t as discoverInstalledPluginPackageContent, u as isValidPackageName } from "./package-discovery-DJhGdS4c.js";
|
|
3
|
-
import { a as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC, t as BACKGROUND_COMPACTION_QUEUE_TOPIC,
|
|
3
|
+
import { a as PLUGIN_TASK_QUEUE_TOPIC, p as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC, t as BACKGROUND_COMPACTION_QUEUE_TOPIC, v as resolveConversationWorkQueueTopic } from "./background-compaction-queue-CYI909P5.js";
|
|
4
4
|
import { a as pluginRuntimeRegistrationsFromPluginSet, r as pluginCatalogConfigFromPluginSet } from "./plugins-HYh_JOdw.js";
|
|
5
|
-
import { t as PLUGIN_TASK_QUEUE_TOPIC } from "./task-queue-Bt0IoR2i.js";
|
|
6
5
|
import { n as loadPluginSetFromModule, r as resolvePluginModule } from "./plugin-module-Cf5gVPWP.js";
|
|
7
6
|
import path from "node:path";
|
|
8
7
|
import { cpSync, existsSync, mkdirSync, readdirSync, statSync } from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as GET, n as syncLocalOAuthCredential, r as GET$1 } from "./credential-sync-
|
|
1
|
+
import { Rn as createUserTokenStore } from "./projection-CL_YWeGf.js";
|
|
2
|
+
import { a as GET, n as syncLocalOAuthCredential, r as GET$1 } from "./credential-sync-CzMar9hq.js";
|
|
3
3
|
import { createServer } from "node:http";
|
|
4
4
|
// src/chat/local/oauth-callback-server.ts
|
|
5
5
|
const LOCAL_OAUTH_TIMEOUT_MS = 6e5;
|