fix(adb): preserve directory identities and share byte capture
Use Android 8-compatible batched find/stat with NUL-framed names and raw symlink targets. Preserve malformed or invalid UTF-8 records as partial evidence with exact source bytes. List hidden direct children without synthetic navigation entries. Share process byte capture with UTF-8 callers and screenshots, removing duplicate timeout and cancellation supervision. Verified 35 focused process, ADB, CLI and MCP tests; compatibility checked against AOSP Oreo sources. Live Android device/emulator verification was not run.
This commit is contained in:
@@ -149,7 +149,9 @@ export const adbInputSchemas = {
|
||||
.string()
|
||||
.min(1)
|
||||
.regex(/^\/[^\x00]*$/u, "Device path must be absolute")
|
||||
.describe("Absolute device directory path to list (ls -la)"),
|
||||
.describe(
|
||||
"Absolute device directory path to list, including hidden children",
|
||||
),
|
||||
}),
|
||||
list_adb_features: z.strictObject({
|
||||
serial: deviceSerialSchema.describe(
|
||||
|
||||
Reference in New Issue
Block a user