fix(ci): narrow browser logger and schema seams

This commit is contained in:
Peter Steinberger 2026-03-27 23:29:32 +00:00
parent fc5e5f1e8e
commit 36b9ec9418
7 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import { Type } from "@sinclair/typebox";
import { optionalStringEnum, stringEnum } from "./core-api.js";
import { optionalStringEnum, stringEnum } from "openclaw/plugin-sdk/channel-actions";
const BROWSER_ACT_KINDS = [
"click",

View File

@ -1,8 +1,9 @@
import { createSubsystemLogger, loadConfig } from "openclaw/plugin-sdk/browser-support";
import { resolveBrowserConfig } from "./browser/config.js";
import { ensureBrowserControlAuth } from "./browser/control-auth.js";
import { createBrowserRuntimeState, stopBrowserRuntime } from "./browser/runtime-lifecycle.js";
import { type BrowserServerState, createBrowserRouteContext } from "./browser/server-context.js";
import { loadConfig } from "./config/config.js";
import { createSubsystemLogger } from "./logging/subsystem.js";
import { isDefaultBrowserPluginEnabled } from "./plugin-enabled.js";
let state: BrowserServerState | null = null;

View File

@ -1 +1 @@
export { createSubsystemLogger } from "openclaw/plugin-sdk/browser-support";
export { createSubsystemLogger } from "openclaw/plugin-sdk/logging-core";

View File

@ -1,6 +1,5 @@
import type { Server } from "node:http";
import express from "express";
import { createSubsystemLogger, loadConfig } from "openclaw/plugin-sdk/browser-support";
import { resolveBrowserConfig } from "./browser/config.js";
import { ensureBrowserControlAuth, resolveBrowserControlAuth } from "./browser/control-auth.js";
import { registerBrowserRoutes } from "./browser/routes/index.js";
@ -11,6 +10,8 @@ import {
installBrowserAuthMiddleware,
installBrowserCommonMiddleware,
} from "./browser/server-middleware.js";
import { loadConfig } from "./config/config.js";
import { createSubsystemLogger } from "./logging/subsystem.js";
import { isDefaultBrowserPluginEnabled } from "./plugin-enabled.js";
let state: BrowserServerState | null = null;

View File

@ -220,6 +220,10 @@
"types": "./dist/plugin-sdk/temp-path.d.ts",
"default": "./dist/plugin-sdk/temp-path.js"
},
"./plugin-sdk/logging-core": {
"types": "./dist/plugin-sdk/logging-core.d.ts",
"default": "./dist/plugin-sdk/logging-core.js"
},
"./plugin-sdk/account-helpers": {
"types": "./dist/plugin-sdk/account-helpers.d.ts",
"default": "./dist/plugin-sdk/account-helpers.js"

View File

@ -45,6 +45,7 @@
"lazy-runtime",
"testing",
"temp-path",
"logging-core",
"account-helpers",
"account-core",
"account-id",

View File

@ -0,0 +1 @@
export { createSubsystemLogger } from "../logging/subsystem.js";