Merge remote-tracking branch 'origin/master' into codex/unify-landlock-release

This commit is contained in:
Hypatia May
2026-08-06 16:36:01 +08:00
268 changed files with 6846 additions and 1001 deletions

View File

@@ -202,7 +202,12 @@ describe('bash tool through the agent loop', () => {
expect(pendingNotice.content.some(
block => block.type === 'text' && block.text.includes('background task bash-1 (bash: echo bg-ok) finished'),
)).toBe(true)
expect(pendingNotice.source).toEqual({ kind: 'plugin', plugin: 'tool-tasks' })
expect(pendingNotice.source).toEqual({
kind: 'plugin',
plugin: 'tool-tasks',
form: 'notice',
summary: 'bash echo bg-ok [status: completed, exit code: 0]',
})
// The next turn first admits that notice as user/message, then collects
// the output through the generic task tool.