mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-11 09:11:13 +00:00
fix(build): restore main build on current agent api
This commit is contained in:
@@ -2,7 +2,6 @@ import { createHash } from "node:crypto";
|
||||
import fs from "node:fs/promises";
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import type { ExternalPluginCompatibility } from "../../packages/plugin-package-contract/src/index.js";
|
||||
import { isAtLeast, parseSemver } from "./runtime-guard.js";
|
||||
import { compareComparableSemver, parseComparableSemver } from "./semver-compare.js";
|
||||
import { createTempDownloadTarget } from "./temp-download.js";
|
||||
@@ -12,7 +11,13 @@ const DEFAULT_FETCH_TIMEOUT_MS = 30_000;
|
||||
|
||||
export type ClawHubPackageFamily = "skill" | "code-plugin" | "bundle-plugin";
|
||||
export type ClawHubPackageChannel = "official" | "community" | "private";
|
||||
export type ClawHubPackageCompatibility = ExternalPluginCompatibility;
|
||||
// Keep aligned with @openclaw/plugin-package-contract ExternalPluginCompatibility.
|
||||
export type ClawHubPackageCompatibility = {
|
||||
pluginApiRange?: string;
|
||||
builtWithOpenClawVersion?: string;
|
||||
pluginSdkVersion?: string;
|
||||
minGatewayVersion?: string;
|
||||
};
|
||||
export type ClawHubPackageListItem = {
|
||||
name: string;
|
||||
displayName: string;
|
||||
|
||||
Reference in New Issue
Block a user