@desplega.ai/agent-swarm 1.171.0 → 1.171.1
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/{acp-adapter-1z9p3fvx.js → acp-adapter-wnhq4ydy.js} +2 -2
- package/dist/{actions-rc2yjk8a.js → actions-45eyf0ns.js} +14 -14
- package/dist/{amp-adapter-ypyf5s1x.js → amp-adapter-f5dr6dm0.js} +1 -1
- package/dist/{app-04ab2s0z.js → app-qv86qhzz.js} +3 -3
- package/dist/{assistant-vhmjd8wf.js → assistant-10yaeebp.js} +15 -15
- package/dist/{boot-reembed-3p0m259x.js → boot-reembed-p2wbqxm4.js} +2 -2
- package/dist/{boot-reembed-wew3gwk8.js → boot-reembed-wyb785et.js} +2 -2
- package/dist/{boot-scrub-sweep-5ytwtq24.js → boot-scrub-sweep-daaqcs9t.js} +3 -3
- package/dist/{boot-seeds-s8p2xry8.js → boot-seeds-1pvzyx4h.js} +5 -5
- package/dist/{claude-adapter-akrzg6jh.js → claude-adapter-v2py1c6g.js} +3 -3
- package/dist/{claude-sdk-session-exq1jadx.js → claude-sdk-session-mk938tpt.js} +3 -3
- package/dist/{cli-tg8q0b5y.js → cli-2aap68ns.js} +1 -1
- package/dist/{cli-2qbs2tvf.js → cli-2k8gyaey.js} +1 -1
- package/dist/{cli-jxsgrnmq.js → cli-48ve9gsj.js} +1 -1
- package/dist/{cli-p2pjfq1r.js → cli-6pxmb99j.js} +1 -1
- package/dist/{cli-w0zx9ya1.js → cli-8ntwbxmm.js} +4 -4
- package/dist/{cli-0d2rqhvq.js → cli-amvnn9wz.js} +3 -3
- package/dist/{cli-x3fy2tgp.js → cli-apnwqe6h.js} +1 -1
- package/dist/{cli-erbp6b4g.js → cli-bkdbswyn.js} +1 -1
- package/dist/{cli-62bwwc2q.js → cli-c9cnsnms.js} +2 -2
- package/dist/{cli-8mr695sb.js → cli-d78fccnb.js} +5 -5
- package/dist/{cli-mzj3aqac.js → cli-ehf1dfay.js} +3 -3
- package/dist/{cli-p8f7dqgt.js → cli-f3vy7ncj.js} +19 -19
- package/dist/{cli-n8ybnv1k.js → cli-f651ypy4.js} +1 -1
- package/dist/{cli-ctret352.js → cli-hadkza7w.js} +13 -13
- package/dist/{cli-4bm25xtw.js → cli-hrbedqp0.js} +1 -1
- package/dist/{cli-280gnz4v.js → cli-j8xzym9k.js} +1 -1
- package/dist/{cli-n805bb98.js → cli-jn9wk8z8.js} +1 -1
- package/dist/{cli-01qndrvw.js → cli-jr749y58.js} +2 -2
- package/dist/{cli-hsk5gd15.js → cli-ndvfgmk8.js} +3 -3
- package/dist/{cli-nkjwe4z7.js → cli-pw9x22wp.js} +8 -8
- package/dist/{cli-6xxxb8qt.js → cli-pwnxv8pw.js} +3 -3
- package/dist/{cli-srmej5tp.js → cli-tb8p51kg.js} +2 -2
- package/dist/{cli-r455yd58.js → cli-tqzk05ty.js} +1 -1
- package/dist/{cli-wfvedq5w.js → cli-vtqrsgnm.js} +4 -4
- package/dist/{cli-x207g4w1.js → cli-xy6sgy6p.js} +1 -1
- package/dist/{cli-s88my3br.js → cli-z9cvwx5m.js} +5 -5
- package/dist/{cli-ec7hrgqp.js → cli-zh93km01.js} +7 -7
- package/dist/cli.js +11 -11
- package/dist/{codex-adapter-9ag75whm.js → codex-adapter-cg8vntj1.js} +2 -2
- package/dist/{codex-session-runner-9fp7y4cf.js → codex-session-runner-jxs6n1qx.js} +2 -2
- package/dist/{commands-d7eah0y9.js → commands-8zhezbzr.js} +2 -2
- package/dist/{controllers-connect-8t0k65x2.js → controllers-connect-q0brsq11.js} +14 -14
- package/dist/{db-2rmd23wq.js → db-d80sy99v.js} +3 -3
- package/dist/{db-sp39qv72.js → db-ggc4b127.js} +2 -2
- package/dist/{dispatcher-g7fsybsd.js → dispatcher-eascgc1z.js} +13 -13
- package/dist/{grok-adapter-1err1me7.js → grok-adapter-8ram8zse.js} +3 -3
- package/dist/{handlers-c7yggm37.js → handlers-hypxbg7e.js} +16 -16
- package/dist/{heartbeat-dkm924fk.js → heartbeat-ge72pt7q.js} +15 -15
- package/dist/{hook-wgx4exw6.js → hook-grgtyrad.js} +1 -1
- package/dist/{hook-g8e7sfnf.js → hook-xzwg1zwp.js} +2 -2
- package/dist/{http-1d23k928.js → http-2nf2axqq.js} +31 -31
- package/dist/{index-va4zbvzp.js → index-0h5dd9xg.js} +13 -13
- package/dist/{index-vertaxs1.js → index-27aez391.js} +2 -2
- package/dist/{index-q7cj9bn2.js → index-57svck0z.js} +15 -15
- package/dist/{index-y5vvczrs.js → index-6zehd2p5.js} +7 -7
- package/dist/{index-gm10tmye.js → index-9egx96ey.js} +13 -13
- package/dist/{keepalive-1jc5e7ct.js → keepalive-5pjbsz8f.js} +4 -4
- package/dist/{lead-yxw2f1sg.js → lead-g19prqhd.js} +20 -20
- package/dist/{maintenance-h7w2m10y.js → maintenance-1brc7q4c.js} +2 -2
- package/dist/{oauth-refresh-sweep-wh9ypd1b.js → oauth-refresh-sweep-rhe857nd.js} +3 -3
- package/dist/{onboard-dfr9j762.js → onboard-6bcg69eg.js} +2 -2
- package/dist/{otel-impl-and31m5s.js → otel-impl-y237rck3.js} +1 -1
- package/dist/{pricing-refresh-23zr6j3w.js → pricing-refresh-se1qg8wn.js} +4 -4
- package/dist/{rbac-roles-wnx35x4x.js → rbac-roles-b6ca1n23.js} +2 -2
- package/dist/{rbac-roles-nc7k9d0t.js → rbac-roles-c58kydph.js} +3 -3
- package/dist/{render-v2-81cg1y52.js → render-v2-gqz7z5xt.js} +3 -3
- package/dist/{resume-d4b6j2n2.js → resume-yb3y3vda.js} +5 -5
- package/dist/{setup-g68r1w28.js → setup-1rbr9x3c.js} +2 -2
- package/dist/{work-objects-0zzdnbt9.js → work-objects-nzcp8srm.js} +16 -16
- package/dist/{worker-p1g8qm6h.js → worker-wnz1h3g0.js} +20 -20
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/providers/amp-adapter.ts +1 -1
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
ensurePricingSeeded,
|
|
22
22
|
ensureRbacSeeded
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-ehf1dfay.js";
|
|
24
24
|
import {
|
|
25
25
|
buildCatalogEntries,
|
|
26
26
|
getCatalogGeneration,
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
requestModelCatalogRefresh,
|
|
31
31
|
startPricingRefreshLoop,
|
|
32
32
|
upsertModelCatalogOverlay
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-tb8p51kg.js";
|
|
34
34
|
import {
|
|
35
35
|
loadModelsDevCache
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-xy6sgy6p.js";
|
|
37
37
|
import {
|
|
38
38
|
AppDefinitionSchema,
|
|
39
39
|
AppElementsSchema,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
upsertScriptConnection,
|
|
91
91
|
validateScriptImports,
|
|
92
92
|
writeBareImportShim
|
|
93
|
-
} from "./cli-
|
|
93
|
+
} from "./cli-jr749y58.js";
|
|
94
94
|
import {
|
|
95
95
|
detachedProcessGroup,
|
|
96
96
|
registerProcessGroup,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
ensureToken,
|
|
103
103
|
ensureTokenOrThrow,
|
|
104
104
|
onAuthorizationRefreshed
|
|
105
|
-
} from "./cli-
|
|
105
|
+
} from "./cli-apnwqe6h.js";
|
|
106
106
|
import {
|
|
107
107
|
AgentFsProvider,
|
|
108
108
|
getFileStorageProvider,
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
walkGraph,
|
|
159
159
|
withSaveWarnings,
|
|
160
160
|
workflowSaveWarnings
|
|
161
|
-
} from "./cli-
|
|
161
|
+
} from "./cli-vtqrsgnm.js";
|
|
162
162
|
import {
|
|
163
163
|
BaseExecutor,
|
|
164
164
|
HumanInTheLoopExecutor,
|
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
resolveValidationPort,
|
|
173
173
|
resolveWorkflowLlmConfig,
|
|
174
174
|
validateDefinition
|
|
175
|
-
} from "./cli-
|
|
175
|
+
} from "./cli-pwnxv8pw.js";
|
|
176
176
|
import {
|
|
177
177
|
ZodFirstPartyTypeKind,
|
|
178
178
|
objectType
|
|
@@ -200,7 +200,7 @@ import {
|
|
|
200
200
|
taskCitationWarnings,
|
|
201
201
|
upsertTaskCitations,
|
|
202
202
|
withSpan
|
|
203
|
-
} from "./cli-
|
|
203
|
+
} from "./cli-pw9x22wp.js";
|
|
204
204
|
import {
|
|
205
205
|
require_dist
|
|
206
206
|
} from "./cli-51tf7ac3.js";
|
|
@@ -221,7 +221,7 @@ import {
|
|
|
221
221
|
resolveUserByToken,
|
|
222
222
|
revokeRuntimeTokensForRuntime,
|
|
223
223
|
unlinkIdentity
|
|
224
|
-
} from "./cli-
|
|
224
|
+
} from "./cli-tqzk05ty.js";
|
|
225
225
|
import {
|
|
226
226
|
canProvisionKind,
|
|
227
227
|
init_runtime_providers
|
|
@@ -229,7 +229,7 @@ import {
|
|
|
229
229
|
import {
|
|
230
230
|
getUserGrant,
|
|
231
231
|
init_rbac_roles
|
|
232
|
-
} from "./cli-
|
|
232
|
+
} from "./cli-hrbedqp0.js";
|
|
233
233
|
import {
|
|
234
234
|
can,
|
|
235
235
|
decideAdmission,
|
|
@@ -546,7 +546,7 @@ import {
|
|
|
546
546
|
upsertSwarmConfig,
|
|
547
547
|
validateConfigValue,
|
|
548
548
|
workflowContextKey
|
|
549
|
-
} from "./cli-
|
|
549
|
+
} from "./cli-amvnn9wz.js";
|
|
550
550
|
import {
|
|
551
551
|
$OpenAPIRegistry,
|
|
552
552
|
$OpenApiGeneratorV31,
|
|
@@ -693,7 +693,7 @@ import {
|
|
|
693
693
|
import {
|
|
694
694
|
init_package,
|
|
695
695
|
package_default
|
|
696
|
-
} from "./cli-
|
|
696
|
+
} from "./cli-bkdbswyn.js";
|
|
697
697
|
import {
|
|
698
698
|
init_event_bus,
|
|
699
699
|
workflowEventBus
|
|
@@ -26811,7 +26811,7 @@ async function notifySlack(text) {
|
|
|
26811
26811
|
return;
|
|
26812
26812
|
}
|
|
26813
26813
|
try {
|
|
26814
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
26814
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-qv86qhzz.js");
|
|
26815
26815
|
const app = getSlackApp2();
|
|
26816
26816
|
if (!app) {
|
|
26817
26817
|
console.warn("[Jira webhook keepalive] Slack not available, cannot send notification");
|
|
@@ -26882,7 +26882,7 @@ async function deleteJiraWebhook(webhookId) {
|
|
|
26882
26882
|
console.log(`[Jira webhook keepalive] Deleted webhook id=${webhookId}`);
|
|
26883
26883
|
}
|
|
26884
26884
|
async function overwriteWebhookIds(next) {
|
|
26885
|
-
const { getDbClient: getDbClient2 } = await import("./db-
|
|
26885
|
+
const { getDbClient: getDbClient2 } = await import("./db-ggc4b127.js");
|
|
26886
26886
|
await getDbClient2().transaction(async (tx) => {
|
|
26887
26887
|
const row = await tx.get("SELECT metadata FROM oauth_apps WHERE provider = 'jira'");
|
|
26888
26888
|
if (!row) {
|
|
@@ -100712,7 +100712,7 @@ async function reloadGlobalConfigsAndIntegrations() {
|
|
|
100712
100712
|
return runWithoutRequestAuth(() => reloadGlobalConfigsAndIntegrationsInner());
|
|
100713
100713
|
}
|
|
100714
100714
|
async function reloadGlobalConfigsAndIntegrationsInner() {
|
|
100715
|
-
const { getEmbeddingProvider: getEmbeddingProvider2, resetEmbeddingProvider } = await import("./index-
|
|
100715
|
+
const { getEmbeddingProvider: getEmbeddingProvider2, resetEmbeddingProvider } = await import("./index-27aez391.js");
|
|
100716
100716
|
const wasEmbeddingsConfigured = getEmbeddingProvider2().isConfigured();
|
|
100717
100717
|
const updated = await loadGlobalConfigsIntoEnv(true);
|
|
100718
100718
|
await syncTelemetryEnabled("settings").catch((err) => {
|
|
@@ -100728,10 +100728,10 @@ async function reloadGlobalConfigsAndIntegrationsInner() {
|
|
|
100728
100728
|
integrations.push("embeddings");
|
|
100729
100729
|
}
|
|
100730
100730
|
if (!wasEmbeddingsConfigured && isEmbeddingsConfigured) {
|
|
100731
|
-
import("./boot-reembed-
|
|
100731
|
+
import("./boot-reembed-p2wbqxm4.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
|
|
100732
100732
|
console.error("[config-reload] memory backfill failed (non-fatal):", err);
|
|
100733
100733
|
});
|
|
100734
|
-
import("./boot-reembed-
|
|
100734
|
+
import("./boot-reembed-wyb785et.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
|
|
100735
100735
|
console.error("[config-reload] script backfill failed (non-fatal):", err);
|
|
100736
100736
|
});
|
|
100737
100737
|
}
|
|
@@ -101911,7 +101911,7 @@ function setPreloadedTools(server, names) {
|
|
|
101911
101911
|
async function applyPreToolCall(name, args, requestInfo, inputSchema) {
|
|
101912
101912
|
if (requestInfo.callOrigin !== "mcp")
|
|
101913
101913
|
return { args };
|
|
101914
|
-
const dispatcher = await import("./dispatcher-
|
|
101914
|
+
const dispatcher = await import("./dispatcher-eascgc1z.js");
|
|
101915
101915
|
const result = await dispatcher.dispatchPre("pre.tool.call", { tool: name, args, requestInfo }, inputSchema ? {
|
|
101916
101916
|
validateModify: async (data) => {
|
|
101917
101917
|
const schema = normalizeObjectSchema(inputSchema) ?? inputSchema;
|
|
@@ -132577,7 +132577,7 @@ class NotifyExecutor extends BaseExecutor {
|
|
|
132577
132577
|
}
|
|
132578
132578
|
}
|
|
132579
132579
|
case "slack": {
|
|
132580
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
132580
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-qv86qhzz.js");
|
|
132581
132581
|
const app = getSlackApp2();
|
|
132582
132582
|
if (!app) {
|
|
132583
132583
|
return {
|
|
@@ -36,7 +36,7 @@ import { mkdir, mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
|
36
36
|
import { tmpdir } from "node:os";
|
|
37
37
|
import { join } from "node:path";
|
|
38
38
|
init_secret_scrubber();
|
|
39
|
-
var AMP_PACKAGE = "@ampcode/cli@0.0.
|
|
39
|
+
var AMP_PACKAGE = "@ampcode/cli@0.0.1791806555-g425e34";
|
|
40
40
|
var AMP_MCP_SERVER_NAME = "agent-swarm";
|
|
41
41
|
var AMP_PLUGIN_MODE_KEY = "agent-swarm";
|
|
42
42
|
var AMP_LIVE_TEST_TIMEOUT_MS = 5000;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./cli-231av4y6.js";
|
|
7
7
|
import {
|
|
8
8
|
checkGrokCredentials
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-j8xzym9k.js";
|
|
10
10
|
import {
|
|
11
11
|
createSkillInvokeTracker,
|
|
12
12
|
isSkillLoaderCall,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
checkCodexCredentials,
|
|
17
17
|
codexUserHome
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-2k8gyaey.js";
|
|
19
19
|
import {
|
|
20
20
|
checkClaudeManagedCredentials
|
|
21
21
|
} from "./cli-k2v5x13t.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
checkAmpCredentials,
|
|
33
33
|
liveTestAmpCredentials
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-f651ypy4.js";
|
|
35
35
|
import {
|
|
36
36
|
isLeadChannelMonitoringEnabled,
|
|
37
37
|
isUnknownModelError,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
} from "./cli-bqjfjex4.js";
|
|
51
51
|
import {
|
|
52
52
|
checkClaudeCredentials
|
|
53
|
-
} from "./cli-
|
|
53
|
+
} from "./cli-c9cnsnms.js";
|
|
54
54
|
import {
|
|
55
55
|
getContextWindowSize
|
|
56
56
|
} from "./cli-7avy4v8w.js";
|
|
@@ -67,13 +67,13 @@ import {
|
|
|
67
67
|
isAzureDevOpsUrl,
|
|
68
68
|
parseAzureDevOpsRepoUrl,
|
|
69
69
|
resolveScriptsOnlyMode
|
|
70
|
-
} from "./cli-
|
|
70
|
+
} from "./cli-f3vy7ncj.js";
|
|
71
71
|
import {
|
|
72
72
|
terminateRegisteredProcessGroups
|
|
73
73
|
} from "./cli-zt3w1cn1.js";
|
|
74
74
|
import {
|
|
75
75
|
validateJsonSchema
|
|
76
|
-
} from "./cli-
|
|
76
|
+
} from "./cli-vtqrsgnm.js";
|
|
77
77
|
import {
|
|
78
78
|
authJsonToCredentialSelection,
|
|
79
79
|
credentialsToAuthJson,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
startSpan,
|
|
89
89
|
withSpan,
|
|
90
90
|
withSpanContext
|
|
91
|
-
} from "./cli-
|
|
91
|
+
} from "./cli-pw9x22wp.js";
|
|
92
92
|
import {
|
|
93
93
|
MASKED_SECRET_VALUE,
|
|
94
94
|
initTelemetry,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
isCodexAuthFailureReason,
|
|
102
102
|
mapTriggerSurface,
|
|
103
103
|
telemetry
|
|
104
|
-
} from "./cli-
|
|
104
|
+
} from "./cli-amvnn9wz.js";
|
|
105
105
|
import {
|
|
106
106
|
ProviderNameSchema,
|
|
107
107
|
WorkerNudgeSchema,
|
|
@@ -225,7 +225,7 @@ async function materializeCodexAuthJson(_slot, creds, deps = {}) {
|
|
|
225
225
|
async function createProviderAdapter(provider) {
|
|
226
226
|
switch (provider) {
|
|
227
227
|
case "claude": {
|
|
228
|
-
const { ClaudeAdapter } = await import("./claude-adapter-
|
|
228
|
+
const { ClaudeAdapter } = await import("./claude-adapter-v2py1c6g.js");
|
|
229
229
|
return new ClaudeAdapter;
|
|
230
230
|
}
|
|
231
231
|
case "pi": {
|
|
@@ -233,7 +233,7 @@ async function createProviderAdapter(provider) {
|
|
|
233
233
|
return new PiMonoAdapter;
|
|
234
234
|
}
|
|
235
235
|
case "codex": {
|
|
236
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
236
|
+
const { CodexAdapter } = await import("./codex-adapter-cg8vntj1.js");
|
|
237
237
|
return new CodexAdapter;
|
|
238
238
|
}
|
|
239
239
|
case "claude-managed": {
|
|
@@ -253,7 +253,7 @@ async function createProviderAdapter(provider) {
|
|
|
253
253
|
return new DshAdapter;
|
|
254
254
|
}
|
|
255
255
|
case "amp": {
|
|
256
|
-
const { AmpAdapter } = await import("./amp-adapter-
|
|
256
|
+
const { AmpAdapter } = await import("./amp-adapter-f5dr6dm0.js");
|
|
257
257
|
return new AmpAdapter;
|
|
258
258
|
}
|
|
259
259
|
case "cursor": {
|
|
@@ -261,11 +261,11 @@ async function createProviderAdapter(provider) {
|
|
|
261
261
|
return new CursorAdapter;
|
|
262
262
|
}
|
|
263
263
|
case "grok": {
|
|
264
|
-
const { GrokAdapter } = await import("./grok-adapter-
|
|
264
|
+
const { GrokAdapter } = await import("./grok-adapter-8ram8zse.js");
|
|
265
265
|
return new GrokAdapter;
|
|
266
266
|
}
|
|
267
267
|
case "acp": {
|
|
268
|
-
const { ACPAdapter } = await import("./acp-adapter-
|
|
268
|
+
const { ACPAdapter } = await import("./acp-adapter-wnhq4ydy.js");
|
|
269
269
|
return new ACPAdapter;
|
|
270
270
|
}
|
|
271
271
|
default:
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
generateRandomCodeVerifier,
|
|
13
13
|
generateRandomState,
|
|
14
14
|
oauthAppRowToProviderConfig
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-apnwqe6h.js";
|
|
16
16
|
import {
|
|
17
17
|
CredentialBroker,
|
|
18
18
|
DEFAULT_CREDENTIAL_BINDINGS,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
updateAuthorizationTokens,
|
|
47
47
|
upsertAuthorization,
|
|
48
48
|
upsertSwarmConfig
|
|
49
|
-
} from "./cli-
|
|
49
|
+
} from "./cli-amvnn9wz.js";
|
|
50
50
|
import {
|
|
51
51
|
defaultAssetKey,
|
|
52
52
|
init_key
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordUnmappedIdentity,
|
|
3
3
|
resolveIdentity
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-f3vy7ncj.js";
|
|
5
5
|
import {
|
|
6
6
|
findOrCreateUserByEmail,
|
|
7
7
|
findUserByExternalId,
|
|
8
8
|
init_users,
|
|
9
9
|
linkIdentity
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-tqzk05ty.js";
|
|
11
11
|
import {
|
|
12
12
|
getKv,
|
|
13
13
|
init_db1 as init_db,
|
|
14
14
|
upsertKv
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-amvnn9wz.js";
|
|
16
16
|
|
|
17
17
|
// src/slack/enrich.ts
|
|
18
18
|
init_db();
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
setSlackMessageTracking,
|
|
71
71
|
slackContextKey,
|
|
72
72
|
updateSlackMessageRecord
|
|
73
|
-
} from "./cli-
|
|
73
|
+
} from "./cli-amvnn9wz.js";
|
|
74
74
|
import {
|
|
75
75
|
init_types,
|
|
76
76
|
isTerminalTaskStatus
|
|
@@ -52916,7 +52916,7 @@ async function initOtel(serviceRole = process.env.AGENT_ROLE || "api") {
|
|
|
52916
52916
|
return;
|
|
52917
52917
|
initialized = true;
|
|
52918
52918
|
try {
|
|
52919
|
-
const impl = await import("./otel-impl-
|
|
52919
|
+
const impl = await import("./otel-impl-y237rck3.js");
|
|
52920
52920
|
await impl.boot(serviceRole, {
|
|
52921
52921
|
exportConsoleLogs: serviceRole === "api" && isApiLogExportEnabled()
|
|
52922
52922
|
});
|
|
@@ -54588,15 +54588,15 @@ async function initSlackApp() {
|
|
|
54588
54588
|
});
|
|
54589
54589
|
initialized2 = true;
|
|
54590
54590
|
app.use(slackInboundOutcomeMiddleware());
|
|
54591
|
-
const { registerMessageHandler } = await import("./handlers-
|
|
54592
|
-
const { registerCommandHandler } = await import("./commands-
|
|
54593
|
-
const { registerActionHandlers } = await import("./actions-
|
|
54594
|
-
const { registerWorkObjectHandlers } = await import("./work-objects-
|
|
54591
|
+
const { registerMessageHandler } = await import("./handlers-hypxbg7e.js");
|
|
54592
|
+
const { registerCommandHandler } = await import("./commands-8zhezbzr.js");
|
|
54593
|
+
const { registerActionHandlers } = await import("./actions-45eyf0ns.js");
|
|
54594
|
+
const { registerWorkObjectHandlers } = await import("./work-objects-nzcp8srm.js");
|
|
54595
54595
|
registerMessageHandler(app);
|
|
54596
54596
|
registerCommandHandler(app);
|
|
54597
54597
|
registerActionHandlers(app);
|
|
54598
54598
|
registerWorkObjectHandlers(app);
|
|
54599
|
-
const { createAssistant } = await import("./assistant-
|
|
54599
|
+
const { createAssistant } = await import("./assistant-10yaeebp.js");
|
|
54600
54600
|
app.assistant(createAssistant());
|
|
54601
54601
|
return app;
|
|
54602
54602
|
}
|
|
@@ -54605,7 +54605,7 @@ async function startSlackApp() {
|
|
|
54605
54605
|
await initSlackApp();
|
|
54606
54606
|
}
|
|
54607
54607
|
if (app) {
|
|
54608
|
-
const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-
|
|
54608
|
+
const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-gqz7z5xt.js");
|
|
54609
54609
|
if (isSlackRenderV2Enabled2())
|
|
54610
54610
|
await ensureSlackRenderV2Activation();
|
|
54611
54611
|
await app.start();
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./cli-x61srfpp.js";
|
|
5
5
|
import {
|
|
6
6
|
getSlackApp
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-pw9x22wp.js";
|
|
8
8
|
import {
|
|
9
9
|
claimApprovalCancellationNotification,
|
|
10
10
|
completeApprovalCancellationNotificationClaim,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getTaskById,
|
|
13
13
|
init_db1 as init_db,
|
|
14
14
|
releaseApprovalCancellationNotificationClaim
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-amvnn9wz.js";
|
|
16
16
|
import {
|
|
17
17
|
TERMINAL_TASK_STATUSES,
|
|
18
18
|
init_types
|
|
@@ -433,7 +433,7 @@ class HumanInTheLoopExecutor extends BaseExecutor {
|
|
|
433
433
|
}
|
|
434
434
|
if (notification.channel === "slack") {
|
|
435
435
|
try {
|
|
436
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
436
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-qv86qhzz.js");
|
|
437
437
|
const slackApp = getSlackApp2();
|
|
438
438
|
if (!slackApp) {
|
|
439
439
|
console.warn("[HITL] Slack not initialized — cannot send notification");
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildModelsDevSeedRows,
|
|
3
3
|
loadModelsDevCache
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-xy6sgy6p.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogEntry,
|
|
7
7
|
getActivePricingRow,
|
|
8
8
|
getDbClient,
|
|
9
9
|
init_db1 as init_db,
|
|
10
10
|
insertPricingRow
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-amvnn9wz.js";
|
|
12
12
|
import {
|
|
13
13
|
init_runtime_model_catalog,
|
|
14
14
|
setRuntimeModelCatalog
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
resolveValidationPort,
|
|
9
9
|
systemOneRetryViolations,
|
|
10
10
|
systemOneUnresolvedError
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-pwnxv8pw.js";
|
|
12
12
|
import {
|
|
13
13
|
WorkflowReplayStateError,
|
|
14
14
|
cancelPendingApprovalRequestsForRun,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
telemetry,
|
|
52
52
|
updateWorkflowRun,
|
|
53
53
|
updateWorkflowRunStep
|
|
54
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-amvnn9wz.js";
|
|
55
55
|
import {
|
|
56
56
|
RetryPolicySchema,
|
|
57
57
|
init_types
|
|
@@ -317,7 +317,7 @@ async function notifyAutomationPreflightFailure(preflight) {
|
|
|
317
317
|
return;
|
|
318
318
|
}
|
|
319
319
|
try {
|
|
320
|
-
const { getSlackApp } = await import("./app-
|
|
320
|
+
const { getSlackApp } = await import("./app-qv86qhzz.js");
|
|
321
321
|
const app = getSlackApp();
|
|
322
322
|
if (!app) {
|
|
323
323
|
console.warn("[Automation Preflight] Slack not available, cannot send notification");
|
|
@@ -1458,7 +1458,7 @@ async function runClaimedStep(def, runId, ctx, node, registry, existingStep, ste
|
|
|
1458
1458
|
if ("async" in result && result.async) {
|
|
1459
1459
|
const waiting = await checkpointStepWaiting(runId, stepId, ctx);
|
|
1460
1460
|
if (waiting && result.waitFor === "workflow.child.finished") {
|
|
1461
|
-
const { resumeFromChildRun } = await import("./resume-
|
|
1461
|
+
const { resumeFromChildRun } = await import("./resume-yb3y3vda.js");
|
|
1462
1462
|
await resumeFromChildRun(stepId, registry);
|
|
1463
1463
|
}
|
|
1464
1464
|
return { outcome: waiting ? "waiting" : "completed", successors: [] };
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
instantFlush,
|
|
6
6
|
requestSlackThreadSteering,
|
|
7
7
|
wasEventSeen
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-d78fccnb.js";
|
|
9
9
|
import {
|
|
10
10
|
enrichSlackUserEmail,
|
|
11
11
|
resolveSlackUserId,
|
|
12
12
|
rewriteSlackMentions
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-ndvfgmk8.js";
|
|
14
14
|
import {
|
|
15
15
|
TaskCreationBlockedError,
|
|
16
16
|
broadcastMatches,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
hasOtherUserMention,
|
|
24
24
|
notifySlackFileFailures,
|
|
25
25
|
routeMessage
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-f3vy7ncj.js";
|
|
27
27
|
import {
|
|
28
28
|
ackSlackMessage,
|
|
29
29
|
buildTreeBlocks,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
noteSlackInboundSideEffect,
|
|
35
35
|
registerTreeMessage,
|
|
36
36
|
reportSlackInboundFailure
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-pw9x22wp.js";
|
|
38
38
|
import {
|
|
39
39
|
getAgentById,
|
|
40
40
|
getAgentWorkingOnThread,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
isExtensionAgent,
|
|
48
48
|
reactionName,
|
|
49
49
|
slackContextKey
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-amvnn9wz.js";
|
|
51
51
|
import {
|
|
52
52
|
init_resolver,
|
|
53
53
|
resolveTemplate
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
remediateStalledRuntime
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-8ntwbxmm.js";
|
|
4
4
|
import {
|
|
5
5
|
REBOOT_RETRY_PIN_TAG,
|
|
6
6
|
agentsWithLiveRuntime,
|
|
@@ -25,22 +25,22 @@ import {
|
|
|
25
25
|
repointTrackerSyncBySwarmId,
|
|
26
26
|
resolveLeadOnlyRecoveryAssignment,
|
|
27
27
|
runtimeStaleThresholdMinutes
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-f3vy7ncj.js";
|
|
29
29
|
import {
|
|
30
30
|
isMultiRuntimeEnabled
|
|
31
31
|
} from "./cli-re8z5p8p.js";
|
|
32
32
|
import {
|
|
33
33
|
runSavedScriptAsAgent
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-jr749y58.js";
|
|
35
35
|
import {
|
|
36
36
|
createApprovalFollowUpTask
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-pwnxv8pw.js";
|
|
38
38
|
import {
|
|
39
39
|
init_db as init_db2,
|
|
40
40
|
init_users,
|
|
41
41
|
listRuntimePools,
|
|
42
42
|
mintToken
|
|
43
|
-
} from "./cli-
|
|
43
|
+
} from "./cli-tqzk05ty.js";
|
|
44
44
|
import {
|
|
45
45
|
MAX_EMPTY_POLLS,
|
|
46
46
|
assignUnassignedTaskPending,
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
settleSupersededTaskDependents,
|
|
99
99
|
supersedeTask,
|
|
100
100
|
updateAgentStatus
|
|
101
|
-
} from "./cli-
|
|
101
|
+
} from "./cli-amvnn9wz.js";
|
|
102
102
|
import {
|
|
103
103
|
TERMINAL_TASK_STATUSES,
|
|
104
104
|
init_types
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
import {
|
|
113
113
|
init_package,
|
|
114
114
|
package_default
|
|
115
|
-
} from "./cli-
|
|
115
|
+
} from "./cli-bkdbswyn.js";
|
|
116
116
|
import {
|
|
117
117
|
init_event_bus,
|
|
118
118
|
workflowEventBus
|