@wrongstack/acp 0.318.0 → 0.319.0
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/dist/client.js +3 -0
- package/dist/index.js +3 -0
- package/package.json +2 -2
package/dist/client.js
CHANGED
|
@@ -1911,6 +1911,9 @@ var ACPSession = class _ACPSession {
|
|
|
1911
1911
|
if (!this.sessionId) {
|
|
1912
1912
|
this.sessionId = await executeCreateSession(this.opContext());
|
|
1913
1913
|
}
|
|
1914
|
+
if (signal.aborted) {
|
|
1915
|
+
return emptyRunResult("cancelled");
|
|
1916
|
+
}
|
|
1914
1917
|
this.resetScratch();
|
|
1915
1918
|
this.progressHandler = onProgress ?? null;
|
|
1916
1919
|
const promptId = this.allocId();
|
package/dist/index.js
CHANGED
|
@@ -3175,6 +3175,9 @@ var ACPSession = class _ACPSession {
|
|
|
3175
3175
|
if (!this.sessionId) {
|
|
3176
3176
|
this.sessionId = await executeCreateSession(this.opContext());
|
|
3177
3177
|
}
|
|
3178
|
+
if (signal.aborted) {
|
|
3179
|
+
return emptyRunResult("cancelled");
|
|
3180
|
+
}
|
|
3178
3181
|
this.resetScratch();
|
|
3179
3182
|
this.progressHandler = onProgress ?? null;
|
|
3180
3183
|
const promptId = this.allocId();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/acp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.319.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ACP (Agent Client Protocol) integration for WrongStack — client + agent support",
|
|
6
6
|
"keywords": [
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
],
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@agentclientprotocol/sdk": "^1.4.0",
|
|
55
|
-
"@wrongstack/core": "0.
|
|
55
|
+
"@wrongstack/core": "0.319.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/node": "^26.2.0",
|