@otto-code/client 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,6 +205,12 @@ export interface FileReadResult {
205
205
  path: string;
206
206
  kind: LegacyFileExplorerFilePayload["kind"];
207
207
  modifiedAt: string;
208
+ /**
209
+ * Detected line endings. Optional because only the inline JSON read path
210
+ * reports them — the chunked binary transfer never does, and neither do
211
+ * daemons older than v0.4.4. Absent means "not reported", not "LF".
212
+ */
213
+ eol?: FileEol;
208
214
  }
209
215
  export interface TextFileReadResult {
210
216
  path: string;
@@ -119,6 +119,7 @@ function legacyExplorerFileToBytes(file) {
119
119
  path: file.path,
120
120
  kind: file.kind,
121
121
  modifiedAt: file.modifiedAt,
122
+ eol: file.eol,
122
123
  };
123
124
  }
124
125
  function binaryFileKind(mime, encoding) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otto-code/client",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Otto client SDK package",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "files": [
@@ -36,8 +36,8 @@
36
36
  "test": "vitest run"
37
37
  },
38
38
  "dependencies": {
39
- "@otto-code/protocol": "0.6.4",
40
- "@otto-code/relay": "0.6.4",
39
+ "@otto-code/protocol": "0.6.5",
40
+ "@otto-code/relay": "0.6.5",
41
41
  "zod": "^4.4.3"
42
42
  },
43
43
  "devDependencies": {