@desplega.ai/agent-swarm 1.115.0 → 1.117.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/README.md +2 -2
- package/dist/{actions-17ya5wde.js → actions-7bnvhcgs.js} +10 -8
- package/dist/{app-4f718yk0.js → app-976fykvr.js} +3 -3
- package/dist/{assistant-ah7csnjz.js → assistant-5drs03t0.js} +13 -11
- package/dist/{boot-reembed-4jpxhb25.js → boot-reembed-0zhftca3.js} +4 -4
- package/dist/{boot-reembed-qata34xa.js → boot-reembed-wce58xfv.js} +3 -3
- package/dist/{boot-scrub-logs-tv48nn3z.js → boot-scrub-logs-vkd2vvxp.js} +2 -2
- package/dist/{cli-zsrdty74.js → cli-09j7m5v3.js} +4 -4
- package/dist/{cli-beea4a3y.js → cli-1987vgjc.js} +3 -3
- package/dist/{cli-k3y4z3h5.js → cli-5ekf4gcj.js} +2 -76
- package/dist/{cli-cnwssmsr.js → cli-6058t3w0.js} +1 -1
- package/dist/{cli-tffvrh6j.js → cli-9kk0xa5w.js} +1 -1
- package/dist/{cli-q1rx7g0d.js → cli-e0xv4nd4.js} +11 -9
- package/dist/{cli-12vb0xg6.js → cli-f5cx2j92.js} +2 -2
- package/dist/{cli-3samkyap.js → cli-fep22bhf.js} +2 -2
- package/dist/{cli-t0vqevnm.js → cli-hmw1vk30.js} +1 -1
- package/dist/{cli-pet3aev6.js → cli-jkp1gndy.js} +5 -5
- package/dist/{cli-52fg7s7x.js → cli-kfjs4fjw.js} +1 -1
- package/dist/{cli-65ekje01.js → cli-m4p6c600.js} +10 -8
- package/dist/{cli-cchksf5q.js → cli-ndsyqqqk.js} +2 -2
- package/dist/{cli-tece6zgm.js → cli-q0yn57de.js} +1 -1
- package/dist/{cli-hrhye2rm.js → cli-r06ed00c.js} +70 -24
- package/dist/{cli-7xje5amz.js → cli-rymspw51.js} +1 -1
- package/dist/{cli-15y7qhzp.js → cli-s5q026mr.js} +295 -4
- package/dist/{cli-shvaxw27.js → cli-t6n84nqv.js} +8 -6
- package/dist/{cli-r9f6ngrf.js → cli-vwhg6sbn.js} +2 -2
- package/dist/{cli-6aq8xhvm.js → cli-w5axeg22.js} +1 -1
- package/dist/{cli-b23axgz4.js → cli-xcp5dmts.js} +2 -2
- package/dist/{cli-dcca6j8m.js → cli-yarjrgd5.js} +1 -1
- package/dist/{cli-cmw9rzy5.js → cli-z824vphk.js} +2 -2
- package/dist/cli.js +10 -10
- package/dist/{commands-hch4e2k1.js → commands-b3p0fjzd.js} +2 -2
- package/dist/{db-p3h2j06x.js → db-6xw82vz3.js} +2 -2
- package/dist/{handlers-9er4zx9q.js → handlers-kwrk085v.js} +13 -11
- package/dist/{hook-4axs756z.js → hook-e4wdztg5.js} +1 -1
- package/dist/{http-809fvtz2.js → http-x7svk8q5.js} +41 -37
- package/dist/{index-rm85cfdx.js → index-35tw5g2v.js} +6 -6
- package/dist/{index-47em3d2n.js → index-aadhkkde.js} +10 -10
- package/dist/{index-9fqaktjr.js → index-qb6nfqmy.js} +8 -8
- package/dist/{index-9ht8gr56.js → index-zj38e3q2.js} +9 -9
- package/dist/{keepalive-3cps6e3e.js → keepalive-enehyqc8.js} +4 -4
- package/dist/{lead-fkk95wgq.js → lead-nmzd0ykq.js} +18 -18
- package/dist/{maintenance-fweqh0yj.js → maintenance-staxb3xt.js} +4 -4
- package/dist/{oauth-refresh-sweep-sycqtbph.js → oauth-refresh-sweep-fqczcwxn.js} +3 -3
- package/dist/{onboard-cy0rkgvx.js → onboard-shmqj6ep.js} +2 -2
- package/dist/{otel-impl-wbns8hf7.js → otel-impl-726bmdyc.js} +1 -1
- package/dist/{pricing-refresh-0hvazmkf.js → pricing-refresh-rzwka8rf.js} +4 -4
- package/dist/{rbac-roles-kfesjy9y.js → rbac-roles-chkhakmf.js} +3 -3
- package/dist/{rbac-roles-mwcwhbxc.js → rbac-roles-j2k0h8sx.js} +2 -2
- package/dist/{seed-pricing-h2kdq4cq.js → seed-pricing-vta6a1q3.js} +3 -3
- package/dist/{setup-8506q97w.js → setup-yv9ctywz.js} +2 -2
- package/dist/{worker-4r5c6zyb.js → worker-7w6571j0.js} +18 -18
- package/openapi.json +1 -1
- package/package.json +2 -2
- package/src/be/db.ts +89 -3
- package/src/server-user.ts +1 -0
- package/src/tasks/slack-routing.ts +147 -0
- package/src/tests/approval-requests.test.ts +36 -0
- package/src/tests/http-api-integration.test.ts +38 -0
- package/src/tests/pages-complete-fetch.test.ts +54 -0
- package/src/tests/send-task-slack-routing-guard.test.ts +355 -0
- package/src/tests/slack-metadata-inheritance.test.ts +279 -1
- package/src/tests/slack-routing-guard.test.ts +164 -0
- package/src/tools/send-task.ts +145 -82
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
} from "./cli-ftyf58xj.js";
|
|
11
11
|
import {
|
|
12
12
|
startPricingRefreshLoop
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-fep22bhf.js";
|
|
14
14
|
import {
|
|
15
15
|
seedPricingFromModelsDev
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-q0yn57de.js";
|
|
17
17
|
import {
|
|
18
18
|
ensureRbacSeedsSynced,
|
|
19
19
|
getUserGrant
|
|
20
|
-
} from "./cli-
|
|
20
|
+
} from "./cli-kfjs4fjw.js";
|
|
21
21
|
import {
|
|
22
22
|
can,
|
|
23
23
|
decideAdmission,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
repointTrackerSyncBySwarmId,
|
|
38
38
|
updateTrackerSync,
|
|
39
39
|
updateTrackerSyncSwarmId
|
|
40
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-yarjrgd5.js";
|
|
41
41
|
import {
|
|
42
42
|
ZodFirstPartyTypeKind,
|
|
43
43
|
objectType
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
ensure,
|
|
48
48
|
require_dist,
|
|
49
49
|
runScheduleNow
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-t6n84nqv.js";
|
|
51
51
|
import {
|
|
52
52
|
TriggerSchemaError,
|
|
53
53
|
applyDefinitionPatch,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
startWorkflowExecution,
|
|
62
62
|
validateDefinition,
|
|
63
63
|
validateJsonSchema
|
|
64
|
-
} from "./cli-
|
|
64
|
+
} from "./cli-e0xv4nd4.js";
|
|
65
65
|
import {
|
|
66
66
|
getApiKey
|
|
67
67
|
} from "./cli-f14fvzag.js";
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
setScriptConnectionEnabled,
|
|
82
82
|
upsertCredentialBinding,
|
|
83
83
|
upsertScriptConnection
|
|
84
|
-
} from "./cli-
|
|
84
|
+
} from "./cli-vwhg6sbn.js";
|
|
85
85
|
import {
|
|
86
86
|
CANDIDATE_SET_MULTIPLIER,
|
|
87
87
|
computeScore,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
isGraphExpansionEnabled,
|
|
94
94
|
rerank,
|
|
95
95
|
rowToCandidate
|
|
96
|
-
} from "./cli-
|
|
96
|
+
} from "./cli-rymspw51.js";
|
|
97
97
|
import {
|
|
98
98
|
buildAuthorizationUrl,
|
|
99
99
|
ensureToken,
|
|
@@ -101,17 +101,17 @@ import {
|
|
|
101
101
|
getOAuthApp,
|
|
102
102
|
getOAuthTokens,
|
|
103
103
|
upsertOAuthApp
|
|
104
|
-
} from "./cli-
|
|
104
|
+
} from "./cli-hmw1vk30.js";
|
|
105
105
|
import {
|
|
106
106
|
createAdditiveBuffer,
|
|
107
107
|
extractSlackMessageText,
|
|
108
108
|
parseSlackTs
|
|
109
|
-
} from "./cli-
|
|
109
|
+
} from "./cli-9kk0xa5w.js";
|
|
110
110
|
import {
|
|
111
111
|
getSlackApp,
|
|
112
112
|
startSlackApp,
|
|
113
113
|
stopSlackApp
|
|
114
|
-
} from "./cli-
|
|
114
|
+
} from "./cli-jkp1gndy.js";
|
|
115
115
|
import {
|
|
116
116
|
findOrCreateUserByEmail,
|
|
117
117
|
findUserByExternalId,
|
|
@@ -127,18 +127,13 @@ import {
|
|
|
127
127
|
resolveIdentityByEmail,
|
|
128
128
|
resolveUserByToken,
|
|
129
129
|
unlinkIdentity
|
|
130
|
-
} from "./cli-
|
|
130
|
+
} from "./cli-w5axeg22.js";
|
|
131
131
|
import {
|
|
132
132
|
markdownToSlack
|
|
133
133
|
} from "./cli-ma04faw5.js";
|
|
134
134
|
import {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
buildJiraContextKey,
|
|
138
|
-
createTaskWithSiblingAwareness,
|
|
139
|
-
githubContextKey,
|
|
140
|
-
linearContextKey
|
|
141
|
-
} from "./cli-k3y4z3h5.js";
|
|
135
|
+
createTaskWithSiblingAwareness
|
|
136
|
+
} from "./cli-5ekf4gcj.js";
|
|
142
137
|
import {
|
|
143
138
|
getAppUrl,
|
|
144
139
|
getMcpBaseUrl,
|
|
@@ -190,8 +185,12 @@ import {
|
|
|
190
185
|
WorkflowNodePatchSchema,
|
|
191
186
|
WorkflowRunStatusSchema,
|
|
192
187
|
acceptTask,
|
|
188
|
+
agentContextKey,
|
|
189
|
+
agentmailContextKey,
|
|
190
|
+
buildJiraContextKey,
|
|
193
191
|
cancelTask,
|
|
194
192
|
checkDependencies,
|
|
193
|
+
checkSlackRoutingCoherence,
|
|
195
194
|
claimTask,
|
|
196
195
|
completeTask,
|
|
197
196
|
countKv,
|
|
@@ -299,15 +298,18 @@ import {
|
|
|
299
298
|
getWorkflow,
|
|
300
299
|
getWorkflowRun,
|
|
301
300
|
getWorkflowRunStepsByRunId,
|
|
301
|
+
githubContextKey,
|
|
302
302
|
hasCapacity,
|
|
303
303
|
incrKv,
|
|
304
304
|
incrementEmptyPollCount,
|
|
305
305
|
initDb,
|
|
306
|
+
init_context_key,
|
|
306
307
|
init_db,
|
|
307
308
|
init_defaults,
|
|
308
309
|
init_registry,
|
|
309
310
|
init_request_auth_context,
|
|
310
311
|
init_resolver,
|
|
312
|
+
init_slack_routing,
|
|
311
313
|
init_swarm_config_guard,
|
|
312
314
|
init_task_lifecycle_events,
|
|
313
315
|
init_template,
|
|
@@ -319,6 +321,7 @@ import {
|
|
|
319
321
|
isAgentEligibleForTask,
|
|
320
322
|
isReservedConfigKey,
|
|
321
323
|
isTerminalTaskStatus,
|
|
324
|
+
linearContextKey,
|
|
322
325
|
listKv,
|
|
323
326
|
listMcpServers,
|
|
324
327
|
listSkills,
|
|
@@ -369,7 +372,7 @@ import {
|
|
|
369
372
|
upsertService,
|
|
370
373
|
upsertSwarmConfig,
|
|
371
374
|
validateConfigValue
|
|
372
|
-
} from "./cli-
|
|
375
|
+
} from "./cli-s5q026mr.js";
|
|
373
376
|
import {
|
|
374
377
|
init_zod
|
|
375
378
|
} from "./cli-bw80ck94.js";
|
|
@@ -377,6 +380,7 @@ import {
|
|
|
377
380
|
$ZodObject,
|
|
378
381
|
$ZodType,
|
|
379
382
|
$constructor,
|
|
383
|
+
ZodIssueCode,
|
|
380
384
|
ZodOptional,
|
|
381
385
|
_enum,
|
|
382
386
|
_null,
|
|
@@ -413,7 +417,7 @@ import {
|
|
|
413
417
|
import {
|
|
414
418
|
init_package,
|
|
415
419
|
package_default
|
|
416
|
-
} from "./cli-
|
|
420
|
+
} from "./cli-xcp5dmts.js";
|
|
417
421
|
import {
|
|
418
422
|
init_secret_scrubber,
|
|
419
423
|
refreshSecretScrubberCache,
|
|
@@ -19701,7 +19705,7 @@ async function initOtel(serviceRole = process.env.AGENT_ROLE || "api") {
|
|
|
19701
19705
|
return;
|
|
19702
19706
|
initialized2 = true;
|
|
19703
19707
|
try {
|
|
19704
|
-
const impl = await import("./otel-impl-
|
|
19708
|
+
const impl = await import("./otel-impl-726bmdyc.js");
|
|
19705
19709
|
await impl.boot(serviceRole);
|
|
19706
19710
|
realWithSpan = impl.withSpan;
|
|
19707
19711
|
realStartSpan = impl.startSpan;
|
|
@@ -22194,6 +22198,7 @@ function kvWriteAuthError(namespace, info) {
|
|
|
22194
22198
|
|
|
22195
22199
|
// src/tools/kv/resolve-namespace.ts
|
|
22196
22200
|
init_db();
|
|
22201
|
+
init_context_key();
|
|
22197
22202
|
function resolveNamespace(explicit, info) {
|
|
22198
22203
|
if (explicit && explicit.length > 0) {
|
|
22199
22204
|
return { namespace: explicit, source: "explicit" };
|
|
@@ -28606,6 +28611,7 @@ var registerScriptUpsertTool = (server) => {
|
|
|
28606
28611
|
// src/tools/send-task.ts
|
|
28607
28612
|
init_zod();
|
|
28608
28613
|
init_db();
|
|
28614
|
+
init_slack_routing();
|
|
28609
28615
|
|
|
28610
28616
|
// src/tools/task-dedup.ts
|
|
28611
28617
|
init_db();
|
|
@@ -28677,8 +28683,19 @@ var sendTaskInputSchema = object({
|
|
|
28677
28683
|
slackChannelId: string().optional().describe("Slack channel ID to post progress updates to. Use this to propagate Slack context when delegating from a Slack thread."),
|
|
28678
28684
|
slackThreadTs: string().optional().describe("Slack thread timestamp. Required with slackChannelId for thread-level updates."),
|
|
28679
28685
|
slackUserId: string().optional().describe("Slack user ID of the original requester."),
|
|
28686
|
+
overrideSlackContext: boolean().default(false).describe("Explicitly route this task's Slack updates to a different channel/thread than its parent/contextKey. Requires slackChannelId AND slackThreadTs. Use only for deliberate cross-channel dispatch (e.g. escalation to another human's DM); logged for audit. Without this flag, a slackChannelId/slackThreadTs that disagrees with the parent task or inherited contextKey is rejected — omit the three Slack fields to inherit them from the parent as a unit instead."),
|
|
28680
28687
|
requestedByUserId: string().uuid().optional().describe("ID of the human user who originally requested this task chain. When omitted, inherited from the caller's current task so the attribution flows through multi-hop delegation automatically."),
|
|
28681
28688
|
followUpConfig: FollowUpConfigSchema.optional().describe("Control the lead follow-up created when this task finishes. When to use `followUpConfig`: set `disabled: true` when you'll wait for this task to complete inline and no follow-up is needed; set `onCompleted` / `onFailed` with specific instructions when you need to follow up effectively on a particular outcome of a long-running flow; for normal one-shot tasks, leave it unset because defaults are fine. It is most valuable for long-running / complex flows.")
|
|
28689
|
+
}).superRefine((data, ctx) => {
|
|
28690
|
+
const hasChannel = !!data.slackChannelId;
|
|
28691
|
+
const hasThread = !!data.slackThreadTs;
|
|
28692
|
+
if (hasChannel !== hasThread) {
|
|
28693
|
+
ctx.addIssue({
|
|
28694
|
+
code: ZodIssueCode.custom,
|
|
28695
|
+
message: "slackChannelId and slackThreadTs must both be set, or both omitted.",
|
|
28696
|
+
path: [hasChannel ? "slackThreadTs" : "slackChannelId"]
|
|
28697
|
+
});
|
|
28698
|
+
}
|
|
28682
28699
|
});
|
|
28683
28700
|
var sendTaskOutputSchema = object({
|
|
28684
28701
|
yourAgentId: string().uuid().optional(),
|
|
@@ -28722,6 +28739,7 @@ async function sendTaskHandler(ctx, {
|
|
|
28722
28739
|
slackChannelId,
|
|
28723
28740
|
slackThreadTs,
|
|
28724
28741
|
slackUserId,
|
|
28742
|
+
overrideSlackContext,
|
|
28725
28743
|
requestedByUserId: inputRequestedByUserId,
|
|
28726
28744
|
followUpConfig
|
|
28727
28745
|
}) {
|
|
@@ -28763,6 +28781,27 @@ async function sendTaskHandler(ctx, {
|
|
|
28763
28781
|
const normalizedModel = splitLegacyModelAlias({ model, modelTier });
|
|
28764
28782
|
const effectiveParentTaskId = parentTaskId ?? sourceTaskId;
|
|
28765
28783
|
const effectiveParentTask = effectiveParentTaskId ? getTaskById(effectiveParentTaskId) : null;
|
|
28784
|
+
if (!overrideSlackContext) {
|
|
28785
|
+
const inheritedContextKey = effectiveParentTask?.contextKey;
|
|
28786
|
+
const routingCheck = checkSlackRoutingCoherence({
|
|
28787
|
+
explicit: { channelId: slackChannelId, threadTs: slackThreadTs, userId: slackUserId },
|
|
28788
|
+
parent: effectiveParentTask,
|
|
28789
|
+
inheritedContextKey
|
|
28790
|
+
});
|
|
28791
|
+
if (routingCheck.verdict !== "ok") {
|
|
28792
|
+
const msg = routingCheck.verdict === "partial-unit" ? `Slack routing rejected: ${routingCheck.detail}` : `Slack routing mismatch: you passed ${routingCheck.field}="${routingCheck.got}" but the ${routingCheck.expectedSource} task says "${routingCheck.expected}". Omit the three Slack fields to inherit them from the parent as a unit (preferred), or pass overrideSlackContext: true if the cross-channel routing is deliberate.`;
|
|
28793
|
+
return {
|
|
28794
|
+
content: [{ type: "text", text: msg }],
|
|
28795
|
+
structuredContent: {
|
|
28796
|
+
yourAgentId: creatorAgentId,
|
|
28797
|
+
success: false,
|
|
28798
|
+
message: msg
|
|
28799
|
+
}
|
|
28800
|
+
};
|
|
28801
|
+
}
|
|
28802
|
+
} else if (slackChannelId || slackThreadTs) {
|
|
28803
|
+
console.log(`[send-task] slack-context override: creatorAgentId=${creatorAgentId ?? "n/a"} slackChannelId=${slackChannelId ?? "n/a"} slackThreadTs=${slackThreadTs ?? "n/a"} parentTaskId=${effectiveParentTaskId ?? "n/a"}`);
|
|
28804
|
+
}
|
|
28766
28805
|
let effectiveAgentId = agentId;
|
|
28767
28806
|
if (effectiveParentTaskId && !agentId) {
|
|
28768
28807
|
if (effectiveParentTask?.agentId) {
|
|
@@ -28842,6 +28881,7 @@ async function sendTaskHandler(ctx, {
|
|
|
28842
28881
|
slackChannelId,
|
|
28843
28882
|
slackThreadTs,
|
|
28844
28883
|
slackUserId,
|
|
28884
|
+
overrideSlackContext,
|
|
28845
28885
|
followUpConfig,
|
|
28846
28886
|
routingAffinity: requiredCapabilities?.length ? { capabilities: requiredCapabilities } : undefined
|
|
28847
28887
|
});
|
|
@@ -28895,6 +28935,7 @@ async function sendTaskHandler(ctx, {
|
|
|
28895
28935
|
slackChannelId,
|
|
28896
28936
|
slackThreadTs,
|
|
28897
28937
|
slackUserId,
|
|
28938
|
+
overrideSlackContext,
|
|
28898
28939
|
followUpConfig
|
|
28899
28940
|
});
|
|
28900
28941
|
transferTrackerSyncToResumeChild({
|
|
@@ -28926,6 +28967,7 @@ async function sendTaskHandler(ctx, {
|
|
|
28926
28967
|
slackChannelId,
|
|
28927
28968
|
slackThreadTs,
|
|
28928
28969
|
slackUserId,
|
|
28970
|
+
overrideSlackContext,
|
|
28929
28971
|
followUpConfig
|
|
28930
28972
|
});
|
|
28931
28973
|
transferTrackerSyncToResumeChild({
|
|
@@ -32281,6 +32323,7 @@ function createIngressBuffer(opts) {
|
|
|
32281
32323
|
}
|
|
32282
32324
|
|
|
32283
32325
|
// src/agentmail/handlers.ts
|
|
32326
|
+
init_context_key();
|
|
32284
32327
|
init_event_bus();
|
|
32285
32328
|
|
|
32286
32329
|
// src/agentmail/templates.ts
|
|
@@ -32830,6 +32873,7 @@ function stopAuditGc() {
|
|
|
32830
32873
|
// src/github/handlers.ts
|
|
32831
32874
|
init_db();
|
|
32832
32875
|
init_resolver();
|
|
32876
|
+
init_context_key();
|
|
32833
32877
|
|
|
32834
32878
|
// src/github/mentions.ts
|
|
32835
32879
|
var GITHUB_BOT_NAME = process.env.GITHUB_BOT_NAME || "agent-swarm-bot";
|
|
@@ -34462,6 +34506,7 @@ Original issue: {{issue_key}} — {{issue_summary}}`,
|
|
|
34462
34506
|
// src/jira/sync.ts
|
|
34463
34507
|
init_db();
|
|
34464
34508
|
init_resolver();
|
|
34509
|
+
init_context_key();
|
|
34465
34510
|
init_types();
|
|
34466
34511
|
var JIRA_WEBHOOK_ACTOR = { kind: "system", id: "webhook:jira" };
|
|
34467
34512
|
function resolveJiraActor(accountId, email, name, sampleEventType, sampleContext) {
|
|
@@ -34838,7 +34883,7 @@ async function notifySlack(text) {
|
|
|
34838
34883
|
return;
|
|
34839
34884
|
}
|
|
34840
34885
|
try {
|
|
34841
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
34886
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-976fykvr.js");
|
|
34842
34887
|
const app = getSlackApp2();
|
|
34843
34888
|
if (!app) {
|
|
34844
34889
|
console.warn("[Jira webhook keepalive] Slack not available, cannot send notification");
|
|
@@ -34907,7 +34952,7 @@ async function deleteJiraWebhook(webhookId) {
|
|
|
34907
34952
|
console.log(`[Jira webhook keepalive] Deleted webhook id=${webhookId}`);
|
|
34908
34953
|
}
|
|
34909
34954
|
async function overwriteWebhookIds(next) {
|
|
34910
|
-
const { getDb: getDb2 } = await import("./db-
|
|
34955
|
+
const { getDb: getDb2 } = await import("./db-6xw82vz3.js");
|
|
34911
34956
|
const db = getDb2();
|
|
34912
34957
|
const txn = db.transaction(() => {
|
|
34913
34958
|
const row = db.query("SELECT metadata FROM oauth_apps WHERE provider = 'jira'").get();
|
|
@@ -106641,6 +106686,7 @@ function resetLinearClient() {
|
|
|
106641
106686
|
// src/linear/sync.ts
|
|
106642
106687
|
init_db();
|
|
106643
106688
|
init_resolver();
|
|
106689
|
+
init_context_key();
|
|
106644
106690
|
init_types();
|
|
106645
106691
|
|
|
106646
106692
|
// src/linear/gate.ts
|