@opengeni/api-router 2.6.3-canary.0 → 2.6.4-canary.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/app.d.ts +2 -1
- package/dist/app.js +3 -1
- package/dist/{chunk-XTLI3CBH.js → chunk-UOI7KAP3.js} +1010 -410
- package/dist/chunk-UOI7KAP3.js.map +1 -0
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp/scheduled-task-view.d.ts +3 -3
- package/dist/model-catalog.d.ts +5 -31
- package/package.json +18 -18
- package/src/app.ts +34 -9
- package/src/index.ts +13 -1
- package/src/integrations/slack-interactions.ts +77 -37
- package/src/mcp/server.ts +11 -2
- package/src/model-catalog.ts +45 -337
- package/src/routes/automations.ts +186 -19
- package/src/routes/connections.ts +271 -16
- package/src/routes/github.ts +0 -8
- package/src/routes/pr-review.ts +80 -4
- package/src/routes/scheduled-tasks.ts +40 -13
- package/src/routes/sessions.ts +72 -47
- package/src/routes/supergrok.ts +3 -2
- package/src/routes/workspaces.ts +373 -3
- package/dist/chunk-XTLI3CBH.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createOpenGeniSlackBotInteractionClient,
|
|
7
7
|
startSlackInteractionPump,
|
|
8
8
|
startTemporalScheduleCleanupPump
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UOI7KAP3.js";
|
|
10
10
|
|
|
11
11
|
// src/index.ts
|
|
12
12
|
import {
|
|
@@ -32,7 +32,10 @@ import {
|
|
|
32
32
|
} from "@opengeni/observability";
|
|
33
33
|
import { createObjectStorage } from "@opengeni/storage";
|
|
34
34
|
import { isArtifactRuntimeConfigured } from "@opengeni/artifact-tool/runtime/development";
|
|
35
|
-
import {
|
|
35
|
+
import {
|
|
36
|
+
resolveCatalogSettings,
|
|
37
|
+
SESSION_WORKFLOW_WAKE_DISPATCHER_SCHEDULE_ID
|
|
38
|
+
} from "@opengeni/core";
|
|
36
39
|
import {
|
|
37
40
|
Connection,
|
|
38
41
|
Client as TemporalClient,
|
|
@@ -2905,6 +2908,15 @@ async function startApi(options = {}) {
|
|
|
2905
2908
|
() => assertRuntimeDatabasePosture(dbClient.db, databasePosture),
|
|
2906
2909
|
{ ...retryOptions, onRetry }
|
|
2907
2910
|
);
|
|
2911
|
+
const resolvedCatalog = await retryStartupDependency(
|
|
2912
|
+
"model catalog",
|
|
2913
|
+
() => resolveCatalogSettings(dbClient.db, settings),
|
|
2914
|
+
{ ...retryOptions, onRetry }
|
|
2915
|
+
);
|
|
2916
|
+
observability.info("OpenGeni model catalog resolved", {
|
|
2917
|
+
catalogSource: resolvedCatalog.source,
|
|
2918
|
+
catalogVersion: resolvedCatalog.version
|
|
2919
|
+
});
|
|
2908
2920
|
bus = await retryStartupDependency(
|
|
2909
2921
|
"NATS",
|
|
2910
2922
|
() => createNatsEventBus(
|