@vellumai/cli 0.5.11 → 0.5.12

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/lib/ngrok.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/cli",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "description": "CLI tools for vellum-assistant",
5
5
  "type": "module",
6
6
  "exports": {
package/src/lib/ngrok.ts CHANGED
@@ -235,6 +235,13 @@ function hasNonNgrokIngressUrl(): boolean {
235
235
  export async function maybeStartNgrokTunnel(
236
236
  targetPort: number,
237
237
  ): Promise<ChildProcess | null> {
238
+ // Managed/containerized deployments route webhooks through the platform's
239
+ // callback proxy. ngrok is not needed and would not be reachable from the
240
+ // platform anyway — skip it entirely.
241
+ const isContainerized =
242
+ process.env.IS_CONTAINERIZED === "true" ||
243
+ process.env.IS_CONTAINERIZED === "1";
244
+ if (isContainerized) return null;
238
245
  if (!hasWebhookIntegrationsConfigured()) return null;
239
246
  if (hasNonNgrokIngressUrl()) return null;
240
247