fix(ci): narrow runtime seams and partial mocks

This commit is contained in:
Peter Steinberger
2026-04-04 18:35:05 +01:00
parent 83fe8efe3d
commit 40f958a953
6 changed files with 29 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
import type { IncomingMessage, ServerResponse } from "node:http";
import type { WebhookRequestBody } from "@line/bot-sdk";
import { danger, logVerbose, type RuntimeEnv } from "openclaw/plugin-sdk/runtime";
import { danger, logVerbose, type RuntimeEnv } from "openclaw/plugin-sdk/runtime-env";
import {
isRequestBodyLimitError,
readRequestBodyWithLimit,

View File

@@ -1,6 +1,6 @@
import type { WebhookRequestBody } from "@line/bot-sdk";
import type { NextFunction, Request, Response } from "express";
import { danger, logVerbose, type RuntimeEnv } from "openclaw/plugin-sdk/runtime";
import { danger, logVerbose, type RuntimeEnv } from "openclaw/plugin-sdk/runtime-env";
import { parseLineWebhookBody, validateLineSignature } from "./webhook-utils.js";
const LINE_WEBHOOK_MAX_RAW_BODY_BYTES = 64 * 1024;