@opengeni/api-router 2.6.4 → 2.8.1-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-HHKQMVY7.js} +3009 -1699
- package/dist/chunk-HHKQMVY7.js.map +1 -0
- package/dist/github-access.d.ts +25 -2
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/integrations/personal-github-repositories.d.ts +41 -2
- package/dist/mcp/scheduled-task-view.d.ts +3 -3
- package/dist/model-catalog.d.ts +5 -31
- package/dist/routes/codex.d.ts +8 -1
- package/dist/routes/github.d.ts +2 -0
- package/dist/routes/organization-model-providers.d.ts +3 -0
- package/dist/workspace-deletion.d.ts +6 -0
- package/package.json +18 -18
- package/src/app.ts +55 -9
- package/src/auth/organization-user-setup.ts +3 -3
- package/src/github-access.ts +117 -1
- package/src/http/sse.ts +15 -7
- package/src/index.ts +13 -1
- package/src/integrations/personal-github-repositories.ts +238 -9
- package/src/integrations/slack-app-home.ts +2 -2
- package/src/integrations/slack-interactions.ts +77 -37
- package/src/mcp/company-brain-governed-writes.ts +2 -2
- package/src/mcp/company-profile-agent-admin.ts +1 -1
- package/src/mcp/remember.ts +1 -1
- package/src/mcp/server.ts +11 -2
- package/src/model-catalog.ts +45 -337
- package/src/routes/automations.ts +178 -19
- package/src/routes/codex.ts +136 -32
- package/src/routes/connections.ts +271 -16
- package/src/routes/github.ts +116 -15
- package/src/routes/organization-memberships.ts +50 -3
- package/src/routes/organization-model-providers.ts +231 -0
- package/src/routes/packs.ts +1 -0
- package/src/routes/personal-github.ts +39 -0
- package/src/routes/pr-review.ts +72 -4
- package/src/routes/scheduled-tasks.ts +40 -13
- package/src/routes/sessions.ts +88 -52
- package/src/routes/supergrok.ts +3 -2
- package/src/routes/workspaces.ts +405 -62
- package/src/workspace-deletion.ts +64 -0
- package/dist/chunk-XTLI3CBH.js.map +0 -1
package/dist/app.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ErrorCode } from "@opengeni/contracts";
|
|
1
|
+
import { type AccessGrant, type ErrorCode } from "@opengeni/contracts";
|
|
2
2
|
import { Hono } from "hono";
|
|
3
3
|
import type { ApiRouteDeps, AppDependencies } from "@opengeni/core";
|
|
4
4
|
export { allowedCorsOrigin } from "./http/cors.js";
|
|
@@ -13,6 +13,7 @@ export declare function apiRequestBodyLimitBytes(settings: {
|
|
|
13
13
|
voiceInputResumableMaxChunkSizeBytes?: number;
|
|
14
14
|
}): number;
|
|
15
15
|
export declare function createApp(deps: AppDependencies): Hono;
|
|
16
|
+
export declare function resolveWorkspaceMcpRouteDeps(routeDeps: ApiRouteDeps, grant: AccessGrant): Promise<ApiRouteDeps>;
|
|
16
17
|
export declare function createAppComposition(deps: AppDependencies): {
|
|
17
18
|
app: Hono;
|
|
18
19
|
routeDeps: ApiRouteDeps;
|
package/dist/app.js
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
mergeToolRefs,
|
|
13
13
|
normalizeResources,
|
|
14
14
|
replaySessionEvents,
|
|
15
|
+
resolveWorkspaceMcpRouteDeps,
|
|
15
16
|
routeLabel,
|
|
16
17
|
sseSessionStream,
|
|
17
18
|
sseWorkspaceControlStream,
|
|
@@ -23,7 +24,7 @@ import {
|
|
|
23
24
|
withDefaultEnabledCapabilityMcpTools,
|
|
24
25
|
workflowIdForSession,
|
|
25
26
|
workspaceActorContextExempt
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HHKQMVY7.js";
|
|
27
28
|
export {
|
|
28
29
|
API_MAX_REQUEST_BODY_BYTES,
|
|
29
30
|
allowedCorsOrigin,
|
|
@@ -38,6 +39,7 @@ export {
|
|
|
38
39
|
mergeToolRefs,
|
|
39
40
|
normalizeResources,
|
|
40
41
|
replaySessionEvents,
|
|
42
|
+
resolveWorkspaceMcpRouteDeps,
|
|
41
43
|
routeLabel,
|
|
42
44
|
sseSessionStream,
|
|
43
45
|
sseWorkspaceControlStream,
|