mirror of
http://192.168.0.88:13333/lywsvip/openclaw-zero-token.git
synced 2026-05-08 08:08:33 +08:00
Major upgrade from e26988a38 to upstream v2026.3.28 (f9b107928).
Key changes:
- Upstream src/, ui/, extensions/ (89 bundled extensions)
- Zero-token web providers preserved in src/zero-token/
- AskOnce plugin restored and registered as CLI command
- Added missing packages: @anthropic-ai/vertex-sdk, @modelcontextprotocol/sdk
- Fixed tsconfig rootDir, skipLibCheck for plugin-sdk DTS build
- Added askonce to bundled plugin metadata and package.json exports
- Fixed AskOnce CLI command registration (missing commands metadata)
- Restored AskOnce adapter imports (correct 5-level relative paths)
- Removed stale migration artifacts from root directory
64 lines
2.1 KiB
TypeScript
64 lines
2.1 KiB
TypeScript
import { fileExists, readJsonFile, resolveArchiveKind } from "../infra/archive.js";
|
|
import { writeFileFromPathWithinRoot } from "../infra/fs-safe.js";
|
|
import { resolveExistingInstallPath, withExtractedArchiveRoot } from "../infra/install-flow.js";
|
|
import {
|
|
resolveInstallModeOptions,
|
|
resolveTimedInstallModeOptions,
|
|
} from "../infra/install-mode-options.js";
|
|
import { installPackageDir } from "../infra/install-package-dir.js";
|
|
import {
|
|
type NpmIntegrityDrift,
|
|
type NpmSpecResolution,
|
|
resolveArchiveSourcePath,
|
|
} from "../infra/install-source-utils.js";
|
|
import {
|
|
ensureInstallTargetAvailable,
|
|
resolveCanonicalInstallTarget,
|
|
} from "../infra/install-target.js";
|
|
import {
|
|
finalizeNpmSpecArchiveInstall,
|
|
installFromNpmSpecArchiveWithInstaller,
|
|
} from "../infra/npm-pack-install.js";
|
|
import { validateRegistryNpmSpec } from "../infra/npm-registry-spec.js";
|
|
import { resolveCompatibilityHostVersion, resolveRuntimeServiceVersion } from "../version.js";
|
|
import { detectBundleManifestFormat, loadBundleManifest } from "./bundle-manifest.js";
|
|
import { scanBundleInstallSource, scanPackageInstallSource } from "./install-security-scan.js";
|
|
import {
|
|
getPackageManifestMetadata,
|
|
loadPluginManifest,
|
|
resolvePackageExtensionEntries,
|
|
} from "./manifest.js";
|
|
import { checkMinHostVersion } from "./min-host-version.js";
|
|
import { isPathInside } from "./path-safety.js";
|
|
|
|
export type { NpmIntegrityDrift, NpmSpecResolution };
|
|
|
|
export {
|
|
checkMinHostVersion,
|
|
detectBundleManifestFormat,
|
|
ensureInstallTargetAvailable,
|
|
fileExists,
|
|
finalizeNpmSpecArchiveInstall,
|
|
getPackageManifestMetadata,
|
|
installFromNpmSpecArchiveWithInstaller,
|
|
installPackageDir,
|
|
isPathInside,
|
|
loadBundleManifest,
|
|
loadPluginManifest,
|
|
readJsonFile,
|
|
resolveArchiveKind,
|
|
resolveArchiveSourcePath,
|
|
resolveCanonicalInstallTarget,
|
|
resolveExistingInstallPath,
|
|
resolveInstallModeOptions,
|
|
resolvePackageExtensionEntries,
|
|
resolveCompatibilityHostVersion,
|
|
resolveRuntimeServiceVersion,
|
|
resolveTimedInstallModeOptions,
|
|
scanBundleInstallSource,
|
|
scanPackageInstallSource,
|
|
validateRegistryNpmSpec,
|
|
withExtractedArchiveRoot,
|
|
writeFileFromPathWithinRoot,
|
|
};
|