removedInput schema / properties / ops / items / anyOf
Removed value: -[
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "create",
- "type": "string"
- },
- "path": {
- "description": "Canonical path of the NEW file, e.g. /chapters/intro.typ.",
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "description": "Full text of the new file.",
- "maxLength": 2097152,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "path",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "edits": {
- "description": "Search/replace blocks, applied in order against this file's text.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "replace": {
- "description": "Replacement text.",
- "maxLength": 65536,
- "type": "string"
- },
- "search": {
- "description": "Exact text to find in this file — must match exactly once.",
- "maxLength": 65536,
- "type": "string"
- }
- },
- "required": [
- "search",
- "replace"
- ],
- "type": "object"
- },
- "maxItems": 64,
- "minItems": 1,
- "type": "array"
- },
- "kind": {
- "const": "edit",
- "type": "string"
- },
- "path": {
- "description": "Exact path of the EXISTING file to edit (as listed by list_files).",
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "path",
- "edits"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "rename",
- "type": "string"
- },
- "newPath": {
- "description": "Destination path — also moves into a folder (e.g. /draft.typ → /chapters/intro.typ). Must be a free, safe in-tree path. References (#include/#image) are NOT auto-rewritten — bundle the corrective `edit` ops in the same proposal.",
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "path": {
- "description": "Exact CURRENT path of the EXISTING file to move (as listed by list_files).",
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "path",
- "newPath"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "delete",
- "type": "string"
- },
- "path": {
- "description": "Exact path of the EXISTING file to remove (recoverable soft-delete on Accept).",
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "path"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bytes": {
- "description": "The file's bytes, base64-encoded (standard base64; decoded size is capped).",
- "maxLength": 89478490,
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "create-binary",
- "type": "string"
- },
- "mime": {
- "description": "Optional media type; inferred from the bytes/extension when omitted.",
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- },
- "path": {
- "description": "Canonical path of the NEW binary file, e.g. /figures/logo.png.",
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "path",
- "bytes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "create-binary-path",
- "type": "string"
- },
- "mime": {
- "description": "Optional media type; inferred from the file's bytes/extension when omitted.",
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- },
- "path": {
- "description": "Canonical IN-TREE path of the NEW binary file, e.g. /figures/logo.png.",
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "srcPath": {
- "description": "ABSOLUTE path of the source file on the machine running the Galley kernel — the kernel reads its bytes locally (no base64 transfer). Decoded size is capped at the blob limit.",
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "path",
- "srcPath"
- ],
- "type": "object"
- }
-]
addedInput schema / properties / ops / items / oneOf
Added value: +[
+ {
+ "properties": {
+ "kind": {
+ "const": "create",
+ "type": "string"
+ },
+ "path": {
+ "description": "Canonical path of the NEW file, e.g. /chapters/intro.typ.",
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "description": "Full text of the new file.",
+ "maxLength": 2097152,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "path",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "edits": {
+ "description": "Search/replace blocks, applied in order against this file's text.",
+ "items": {
+ "properties": {
+ "replace": {
+ "description": "Replacement text.",
+ "maxLength": 65536,
+ "type": "string"
+ },
+ "search": {
+ "description": "Exact text to find in this file — must match exactly once.",
+ "maxLength": 65536,
+ "type": "string"
+ }
+ },
+ "required": [
+ "search",
+ "replace"
+ ],
+ "type": "object"
+ },
+ "maxItems": 64,
+ "minItems": 1,
+ "type": "array"
+ },
+ "kind": {
+ "const": "edit",
+ "type": "string"
+ },
+ "path": {
+ "description": "Exact path of the EXISTING file to edit (as listed by list_files).",
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "path",
+ "edits"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "kind": {
+ "const": "rename",
+ "type": "string"
+ },
+ "newPath": {
+ "description": "Destination path — also moves into a folder (e.g. /draft.typ → /chapters/intro.typ). Must be a free, safe in-tree path. References (#include/#image) are NOT auto-rewritten — bundle the corrective `edit` ops in the same proposal.",
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ },
+ "path": {
+ "description": "Exact CURRENT path of the EXISTING file to move (as listed by list_files).",
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "path",
+ "newPath"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "kind": {
+ "const": "delete",
+ "type": "string"
+ },
+ "path": {
+ "description": "Exact path of the EXISTING file to remove (recoverable soft-delete on Accept).",
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "path"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "bytes": {
+ "description": "The file's bytes, base64-encoded (standard base64; decoded size is capped).",
+ "maxLength": 89478490,
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "create-binary",
+ "type": "string"
+ },
+ "mime": {
+ "description": "Optional media type; inferred from the bytes/extension when omitted.",
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "path": {
+ "description": "Canonical path of the NEW binary file, e.g. /figures/logo.png.",
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "path",
+ "bytes"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "kind": {
+ "const": "create-binary-path",
+ "type": "string"
+ },
+ "mime": {
+ "description": "Optional media type; inferred from the file's bytes/extension when omitted.",
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "path": {
+ "description": "Canonical IN-TREE path of the NEW binary file, e.g. /figures/logo.png.",
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ },
+ "srcPath": {
+ "description": "ABSOLUTE path of the source file on the machine running the Galley kernel — the kernel reads its bytes locally (no base64 transfer). Decoded size is capped at the blob limit.",
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "path",
+ "srcPath"
+ ],
+ "type": "object"
+ }
+]