adp-openclaw 0.0.56 → 0.0.58
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/package.json +1 -1
- package/src/monitor.ts +3 -1
package/package.json
CHANGED
package/src/monitor.ts
CHANGED
|
@@ -633,7 +633,9 @@ async function connectAndHandle(params: ConnectParams): Promise<void> {
|
|
|
633
633
|
sendOutboundEnd(cancelText);
|
|
634
634
|
|
|
635
635
|
// Mark the session as aborted so the SDK injects an "abort hint"
|
|
636
|
-
// on the next message, preventing the AI from resuming the cancelled task
|
|
636
|
+
// on the next message, preventing the AI from resuming the cancelled task.
|
|
637
|
+
// This aligns with openclaw's behavior: keep all transcript history intact,
|
|
638
|
+
// only set abortedLastRun=true so next turn gets "Resume carefully" hint.
|
|
637
639
|
await markSessionAborted({
|
|
638
640
|
sessionKey: route.sessionKey,
|
|
639
641
|
runtime,
|