@opengeni/api-router 3.2.2 → 3.4.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/access-grant-rls.d.ts +15 -0
- package/dist/app.js +1 -1
- package/dist/billing-stripe-customer.d.ts +18 -0
- package/dist/billing-subscription-store.d.ts +34 -0
- package/dist/billing-subscriptions.d.ts +64 -0
- package/dist/{chunk-PQBHZ2YH.js → chunk-6DZ4H5JQ.js} +3133 -1711
- package/dist/{chunk-PQBHZ2YH.js.map → chunk-6DZ4H5JQ.js.map} +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/integrations/marketplace-plugin.d.ts +43 -43
- package/dist/mcp/server.d.ts +11 -1
- package/dist/routes/browser-sessions.d.ts +23 -2
- package/dist/routes/sessions.d.ts +1 -0
- package/dist/sandbox/channel-a.d.ts +10 -1
- package/dist/site-publishing/agent-data-tools.d.ts +5 -5
- package/dist/site-publishing/agent-session.d.ts +3 -2
- package/dist/site-publishing/runtime.d.ts +7 -6
- package/dist/site-publishing/service.d.ts +8 -11
- package/dist/site-publishing/session-request-authority.d.ts +3 -0
- package/package.json +24 -24
- package/src/access-grant-rls.ts +99 -10
- package/src/app.ts +105 -43
- package/src/billing-stripe-customer.ts +40 -0
- package/src/billing-subscription-store.ts +121 -0
- package/src/billing-subscriptions.ts +759 -0
- package/src/http/sse.ts +5 -1
- package/src/index.ts +3 -0
- package/src/mcp/action-catalog.gen.ts +113 -0
- package/src/mcp/action-schema-imports.gen.ts +5 -1
- package/src/mcp/server.ts +28 -0
- package/src/routes/billing.ts +161 -21
- package/src/routes/browser-sessions.ts +420 -26
- package/src/routes/computer-sessions.ts +102 -39
- package/src/routes/insights-usage.ts +22 -0
- package/src/routes/organization-memberships.ts +12 -0
- package/src/routes/sessions.ts +30 -5
- package/src/routes/site-runtime.ts +62 -20
- package/src/sandbox/channel-a.ts +18 -1
- package/src/sandbox/metrics-ingestion.ts +1 -0
- package/src/site-frame-guard.ts +11 -2
- package/src/site-publishing/agent-data-tools.ts +16 -8
- package/src/site-publishing/agent-session.ts +24 -6
- package/src/site-publishing/runtime.ts +29 -7
- package/src/site-publishing/service.ts +65 -77
- package/src/site-publishing/session-request-authority.ts +14 -0
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
startSlackInteractionPump,
|
|
16
16
|
startTemporalScheduleCleanupPump,
|
|
17
17
|
withAccessGrantSessionRlsContext
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6DZ4H5JQ.js";
|
|
19
19
|
import "./chunk-OGQDXVXY.js";
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
@@ -822,6 +822,7 @@ function helloRuntimeCapabilities(hello) {
|
|
|
822
822
|
operationCpuQuota: caps.operationCpuQuota === true,
|
|
823
823
|
transactionalFsWrite: caps.transactionalFsWrite === true,
|
|
824
824
|
credentialRenew: caps.credentialRenew === true,
|
|
825
|
+
browserControlHttp: caps.browserControlHttp === true,
|
|
825
826
|
screenControl: caps.consentedScreenControl === true,
|
|
826
827
|
...caps.macPermissions ? enrollmentMacPermissionCapabilities(caps.macPermissions) : {}
|
|
827
828
|
};
|
|
@@ -4064,7 +4065,8 @@ async function startApi(options = {}) {
|
|
|
4064
4065
|
const dbClient = createDb(settings.databaseUrl, {
|
|
4065
4066
|
max: settings.apiDatabasePoolMax,
|
|
4066
4067
|
...searchPath ? { searchPath } : {},
|
|
4067
|
-
rlsStrategy: settings.rlsStrategy
|
|
4068
|
+
rlsStrategy: settings.rlsStrategy,
|
|
4069
|
+
...settings.databasePreparedStatements === void 0 ? {} : { preparedStatements: settings.databasePreparedStatements }
|
|
4068
4070
|
});
|
|
4069
4071
|
let bus;
|
|
4070
4072
|
let workflowClient;
|