Refresh format facts and retain the asynchronous cancellation recheck
This commit is contained in:
1 parent
2df57db6e0
commit
f7b9547bb4
4 files changed
+5
-4
No files matched your search
@@ -15,8 +15,8 @@
|
||||
en: 14c57f30e676f6e3
|
||||
zh: b1a0ccf26fab3727
|
||||
/session-persistence-formats/format-references:
|
||||
en: d0b94efc6bce9073
|
||||
zh: 0bc584a91a013c98
|
||||
en: 3c29467018aea879
|
||||
zh: f9f844e3329bd26d
|
||||
/session-persistence-formats/scope-and-evidence:
|
||||
en: 44ba17a168ec63ac
|
||||
zh: c80a44bdbf17a174
|
||||
|
||||
@@ -32,7 +32,7 @@ The index is generated from validated snapshots and the current writer constant.
|
||||
| 1 | PR #3349 | [V1](v1.md) | [JSON](v1.schema.json) | 54 / 415 |
|
||||
| 2 | `dsh-v0.1.3-alpha.2` | [V2](v2.md) | [JSON](v2.schema.json) | 56 / 435 |
|
||||
| 3 | PR #4320 | [V3](v3.md) | [JSON](v3.schema.json) | 60 / 467 |
|
||||
| 4 | Current checkout | [Current catalog](../../persistence-catalog.md) | [JSON](../../persistence-schema.json) | 67 / 640 |
|
||||
| 4 | Current checkout | [Current catalog](../../persistence-catalog.md) | [JSON](../../persistence-schema.json) | 67 / 644 |
|
||||
|
||||
<!-- persistence-format-index:end -->
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ description: "查找从 V0 到工作区写入器版本的每个 Session 格式
|
||||
| 1 | PR #3349 | [V1](v1.zh.md) | [JSON](v1.schema.json) | 54 / 415 |
|
||||
| 2 | `dsh-v0.1.3-alpha.2` | [V2](v2.zh.md) | [JSON](v2.schema.json) | 56 / 435 |
|
||||
| 3 | PR #4320 | [V3](v3.zh.md) | [JSON](v3.schema.json) | 60 / 467 |
|
||||
| 4 | 当前工作树 | [当前目录](../../persistence-catalog.zh.md) | [JSON](../../persistence-schema.json) | 67 / 640 |
|
||||
| 4 | 当前工作树 | [当前目录](../../persistence-catalog.zh.md) | [JSON](../../persistence-schema.json) | 67 / 644 |
|
||||
|
||||
<!-- persistence-format-index:end -->
|
||||
|
||||
|
||||
@@ -158,6 +158,7 @@ export class CuaHeldInputs {
|
||||
const owner = this.owners.get(agent)
|
||||
const inTurn = ctx.agents.turnBoundaryOf(agent.session).openTurnStartSeq !== null
|
||||
const text = await owner?.reminder(inTurn)
|
||||
// oxlint-disable-next-line typescript/no-unnecessary-condition -- Cancellation can arrive while the native state query awaits.
|
||||
if (signal.aborted) { await this.release(agent); return result }
|
||||
if (text && !owner?.closing) return { ...result, additionalContexts: [...result.additionalContexts ?? [],
|
||||
createUserMessage({ content: [{ type: 'text', text }],
|
||||
|
||||
Reference in new issue
Block a user