addedInput schema / additionalProperties
Added value: +false
addedInput schema / properties / bytes
Added value: +{
+ "default": 0,
+ "description": "humanize: byte count to format. Required for the humanize operation.",
+ "type": "integer"
+}
addedInput schema / properties / input / description
Added value: +"Structured input object for raidCalculator, partitionPlanner, and findCommand. May be supplied as this nested object or as top-level fields alongside operation."
addedInput schema / properties / input / properties / diskCount / description
Added value: +"raidCalculator: number of disks in the array; floored to an integer and must meet the level minimum."
addedInput schema / properties / input / properties / diskCount / minimum
Added value: +2
addedInput schema / properties / input / properties / diskSizeBytes / description
Added value: +"raidCalculator: capacity of one disk in bytes; must be positive."
addedInput schema / properties / input / properties / diskSizeBytes / minimum
Added value: +1
changedInput schema / properties / input / properties / diskSizeBytes / type
Previous value: -"integer"New value: +"number"
addedInput schema / properties / input / properties / level / description
Added value: +"raidCalculator: RAID/RAIDZ level. Minimum disk count is enforced per level (raid0/raid1 at least 2, raid5/raidz1 at least 3, raid6/raid10/raidz2 at least 4, raidz3 at least 5)."
addedInput schema / properties / input / properties / level / enum
Added value: +[
+ "raid0",
+ "raid1",
+ "raid5",
+ "raid6",
+ "raid10",
+ "raidz1",
+ "raidz2",
+ "raidz3"
+]
addedInput schema / properties / input / properties / maxSize
Added value: +{
+ "description": "findCommand: upper size bound (find -size -). Same suffix rules as minSize.",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedInput schema / properties / input / properties / minSize
Added value: +{
+ "description": "findCommand: lower size bound (find -size +). Accepts c/k/M/G/T suffix; bare numbers default to MiB (M).",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedInput schema / properties / input / properties / mtimeDays
Added value: +{
+ "description": "findCommand: -mtime filter. Positive = modified within N days; negative = older than N days; 0 = last 24 hours.",
+ "type": "integer"
+}
addedInput schema / properties / input / properties / name
Added value: +{
+ "description": "findCommand: filename glob for -name; shell-escaped.",
+ "type": "string"
+}
addedInput schema / properties / input / properties / partitions
Added value: +{
+ "description": "partitionPlanner: partition specs. Each sized by percent, bytes/sizeBytes, percentOrBytes, or remaining:true; optional name, mountPoint, fileSystem (default ext4).",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+}
addedInput schema / properties / input / properties / path
Added value: +{
+ "default": ".",
+ "description": "findCommand: starting directory for the find command. Shell-escaped.",
+ "type": "string"
+}
addedInput schema / properties / input / properties / totalBytes
Added value: +{
+ "description": "partitionPlanner: total disk size in bytes to divide; must be positive.",
+ "minimum": 1,
+ "type": "number"
+}
addedInput schema / properties / input / properties / type
Added value: +{
+ "description": "findCommand: restrict to regular files (f) or directories (d).",
+ "enum": [
+ "f",
+ "d"
+ ],
+ "type": "string"
+}
removedInput schema / properties / input / required
Removed value: -[
- "level",
- "diskCount",
- "diskSizeBytes"
-]
addedInput schema / properties / operation / description
Added value: +"Selects the computation. Determines which other fields are read."
addedInput schema / properties / operation / enum
Added value: +[
+ "parseDu",
+ "parseDf",
+ "raidCalculator",
+ "partitionPlanner",
+ "findCommand",
+ "humanize"
+]
addedInput schema / properties / system
Added value: +{
+ "default": "iec",
+ "description": "humanize: unit system. iec uses 1024 (KiB/MiB/GiB); si uses 1000 (KB/MB/GB).",
+ "enum": [
+ "iec",
+ "si"
+ ],
+ "type": "string"
+}
addedInput schema / properties / text
Added value: +{
+ "description": "Raw du or df command output to parse. Required for parseDu and parseDf; ignored otherwise. Auto-detects human (du -h) vs raw-byte columns.",
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "operation",
- "input"
-]New value: +[
+ "operation"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "operation": {
+ "description": "Echoes the requested operation.",
+ "type": "string"
+ },
+ "result": {
+ "description": "Operation-specific output.",
+ "properties": {
+ "command": {
+ "description": "findCommand: the assembled, shell-escaped find command string.",
+ "type": "string"
+ },
+ "entries": {
+ "description": "parseDu: parsed du rows, each with size (bytes), sizeHuman, path, depth.",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "explanation": {
+ "description": "findCommand: plain-English breakdown of each command clause.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "faultTolerance": {
+ "description": "raidCalculator: number of disk failures the array survives.",
+ "type": "integer"
+ },
+ "filesystems": {
+ "description": "parseDf: each with filesystem, sizeBytes, usedBytes, availableBytes, usePercent, mountPoint.",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "leftoverBytes": {
+ "description": "partitionPlanner: unallocated bytes after planning.",
+ "type": "integer"
+ },
+ "output": {
+ "description": "humanize: the formatted size string (e.g. 4.00 GiB).",
+ "type": "string"
+ },
+ "partitions": {
+ "description": "partitionPlanner: each with name, sizeBytes, percent, mountPoint, fileSystem.",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "redundancyOverhead": {
+ "description": "raidCalculator: raw bytes consumed by redundancy (total raw minus usable).",
+ "type": "integer"
+ },
+ "totalBytes": {
+ "description": "parseDu / partitionPlanner: total bytes.",
+ "type": "integer"
+ },
+ "usableBytes": {
+ "description": "raidCalculator: usable array capacity in bytes.",
+ "type": "integer"
+ },
+ "warnings": {
+ "description": "Advisory messages (skipped lines, RAID redundancy/URE caveats, over-allocation).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "success": {
+ "description": "True when the operation completed.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+}