mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-14 19:00:44 +00:00
[codex] Extract filesystem safety primitives (#77918)
* refactor: extract filesystem safety primitives * refactor: use fs-safe for file access helpers * refactor: reuse fs-safe for media reads * refactor: use fs-safe for image reads * refactor: reuse fs-safe in qqbot media opener * refactor: reuse fs-safe for local media checks * refactor: consume cleaner fs-safe api * refactor: align fs-safe json option names * fix: preserve fs-safe migration contracts * refactor: use fs-safe primitive subpaths * refactor: use grouped fs-safe subpaths * refactor: align fs-safe api usage * refactor: adapt private state store api * chore: refresh proof gate * refactor: follow fs-safe json api split * refactor: follow reduced fs-safe surface * build: default fs-safe python helper off * fix: preserve fs-safe plugin sdk aliases * refactor: consolidate fs-safe usage * refactor: unify fs-safe store usage * refactor: trim fs-safe temp workspace usage * refactor: hide low-level fs-safe primitives * build: use published fs-safe package * fix: preserve outbound recovery durability after rebase * chore: refresh pr checks
This commit is contained in:
committed by
GitHub
parent
61481eb34f
commit
538605ff44
@@ -1,5 +1,5 @@
|
||||
import { fileExists, readJsonFile, resolveArchiveKind } from "../infra/archive.js";
|
||||
import { writeFileFromPathWithinRoot } from "../infra/fs-safe.js";
|
||||
import { resolveArchiveKind } from "../infra/archive.js";
|
||||
import { pathExists, root } from "../infra/fs-safe.js";
|
||||
import { resolveExistingInstallPath, withExtractedArchiveRoot } from "../infra/install-flow.js";
|
||||
import {
|
||||
resolveInstallModeOptions,
|
||||
@@ -15,6 +15,7 @@ import {
|
||||
ensureInstallTargetAvailable,
|
||||
resolveCanonicalInstallTarget,
|
||||
} from "../infra/install-target.js";
|
||||
import { readJson } from "../infra/json-files.js";
|
||||
import {
|
||||
finalizeNpmSpecArchiveInstall,
|
||||
installFromNpmSpecArchiveWithInstaller,
|
||||
@@ -40,9 +41,10 @@ export type { NpmIntegrityDrift, NpmSpecResolution };
|
||||
|
||||
export {
|
||||
checkMinHostVersion,
|
||||
root,
|
||||
detectBundleManifestFormat,
|
||||
ensureInstallTargetAvailable,
|
||||
fileExists,
|
||||
pathExists as fileExists,
|
||||
finalizeNpmSpecArchiveInstall,
|
||||
getPackageManifestMetadata,
|
||||
installFromNpmSpecArchiveWithInstaller,
|
||||
@@ -50,7 +52,7 @@ export {
|
||||
isPathInside,
|
||||
loadBundleManifest,
|
||||
loadPluginManifest,
|
||||
readJsonFile,
|
||||
readJson as readJsonFile,
|
||||
resolveArchiveKind,
|
||||
resolveArchiveSourcePath,
|
||||
resolveCanonicalInstallTarget,
|
||||
@@ -66,5 +68,4 @@ export {
|
||||
scanPackageInstallSource,
|
||||
validateRegistryNpmSpec,
|
||||
withExtractedArchiveRoot,
|
||||
writeFileFromPathWithinRoot,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user