@sayknow-cli/coding-agent 0.7.5 → 0.7.6
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.
- package/CHANGELOG.md +6 -0
- package/package.json +7 -7
- package/src/session-import/service.ts +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.7.6] - 2026-10-05
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Session import keeps the real read error (e.g. `content_too_large`) when closing the source file also fails, instead of surfacing `EBADF: bad file descriptor, close`.
|
|
10
|
+
|
|
5
11
|
## [0.7.5] - 2026-10-05
|
|
6
12
|
|
|
7
13
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@sayknow-cli/coding-agent",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.6",
|
|
5
5
|
"description": "Sayknow-CLI CLI with read, bash, edit, write tools and session management",
|
|
6
6
|
"homepage": "https://sayknow-cli.com",
|
|
7
7
|
"author": "jaybeyond",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"@agentclientprotocol/sdk": "1.3.0",
|
|
55
55
|
"@babel/parser": "^7.29.3",
|
|
56
56
|
"@mozilla/readability": "^0.6.0",
|
|
57
|
-
"@sayknow-cli/stats": "0.7.
|
|
58
|
-
"@sayknow-cli/agent-core": "0.7.
|
|
59
|
-
"@sayknow-cli/ai": "0.7.
|
|
60
|
-
"@sayknow-cli/natives": "0.7.
|
|
61
|
-
"@sayknow-cli/tui": "0.7.
|
|
62
|
-
"@sayknow-cli/utils": "0.7.
|
|
57
|
+
"@sayknow-cli/stats": "0.7.6",
|
|
58
|
+
"@sayknow-cli/agent-core": "0.7.6",
|
|
59
|
+
"@sayknow-cli/ai": "0.7.6",
|
|
60
|
+
"@sayknow-cli/natives": "0.7.6",
|
|
61
|
+
"@sayknow-cli/tui": "0.7.6",
|
|
62
|
+
"@sayknow-cli/utils": "0.7.6",
|
|
63
63
|
"@puppeteer/browsers": "^2.13.0",
|
|
64
64
|
"@types/turndown": "5.0.6",
|
|
65
65
|
"@xterm/headless": "^6.0.0",
|
|
@@ -169,9 +169,13 @@ async function readImportSource(
|
|
|
169
169
|
);
|
|
170
170
|
}
|
|
171
171
|
sourceBytes = Buffer.concat(chunks, bytes);
|
|
172
|
-
}
|
|
173
|
-
|
|
172
|
+
} catch (error) {
|
|
173
|
+
// The read already failed: a close failure (EBADF seen on Linux CI) must not
|
|
174
|
+
// replace the typed import error the caller acts on.
|
|
175
|
+
await handle.close().catch(() => {});
|
|
176
|
+
throw error;
|
|
174
177
|
}
|
|
178
|
+
await handle.close();
|
|
175
179
|
const bytes = sourceBytes.byteLength;
|
|
176
180
|
const after = await fsp.lstat(resolved).catch(() => undefined);
|
|
177
181
|
if (
|