352 Commits

Author SHA1 Message Date
GitHub Actions
fa7e2f0a29 chore: bump Claude Code to 2.1.217 and Agent SDK to 0.3.217 2026-07-21 21:35:48 +00:00
GitHub Actions
b76a0776ae chore: bump Claude Code to 2.1.216 and Agent SDK to 0.3.216 2026-07-20 22:14:27 +00:00
GitHub Actions
af0559ee4f chore: bump Claude Code to 2.1.215 and Agent SDK to 0.3.215 2026-07-19 02:56:28 +00:00
GitHub Actions
3553f84341 chore: bump Claude Code to 2.1.214 and Agent SDK to 0.3.214 2026-07-18 01:20:51 +00:00
GitHub Actions
700e7f8316 chore: bump Claude Code to 2.1.212 and Agent SDK to 0.3.212 2026-07-17 00:27:04 +00:00
Jianke LIN
214a70611b
fix: map claude_args model to SDK options (#1474) 2026-07-15 20:22:15 -07:00
GitHub Actions
1298632ce7 chore: bump Claude Code to 2.1.211 and Agent SDK to 0.3.211 2026-07-15 23:10:52 +00:00
GitHub Actions
1253134445 chore: bump Claude Code to 2.1.210 and Agent SDK to 0.3.210 2026-07-14 23:46:09 +00:00
GitHub Actions
f1bd27ca5b chore: bump Claude Code to 2.1.209 and Agent SDK to 0.3.209 2026-07-14 06:36:42 +00:00
GitHub Actions
a08f8913d5 chore: bump Claude Code to 2.1.208 and Agent SDK to 0.3.208 2026-07-14 01:11:18 +00:00
石岳峰
972a512078
fix(sdk): fail step when result has is_error:true despite success subtype (#1496)
Treat subtype success with is_error:true as a failed run so CI does not
show a misleading green check when the review never actually ran.

Fixes #1495

Co-authored-by: syf2211 <syf2211@users.noreply.github.com>
2026-07-13 09:01:51 -07:00
GitHub Actions
e90deca476 chore: bump Claude Code to 2.1.207 and Agent SDK to 0.3.207 2026-07-11 00:52:42 +00:00
GitHub Actions
536f2c32a3 chore: bump Claude Code to 2.1.206 and Agent SDK to 0.3.206 2026-07-09 23:35:14 +00:00
GitHub Actions
37b464ce72 chore: bump Claude Code to 2.1.205 and Agent SDK to 0.3.205 2026-07-08 21:22:46 +00:00
GitHub Actions
ba0aafd430 chore: bump Claude Code to 2.1.204 and Agent SDK to 0.3.204 2026-07-08 00:28:40 +00:00
GitHub Actions
0fe28cdb64 chore: bump Claude Code to 2.1.203 and Agent SDK to 0.3.203 2026-07-07 21:07:00 +00:00
GitHub Actions
f87768c6d2 chore: bump Claude Code to 2.1.202 and Agent SDK to 0.3.202 2026-07-06 22:52:16 +00:00
JerryLee
235b39bf21
fix: preserve repeated add-dir flags in claude args (#1256) 2026-07-03 22:38:30 -07:00
GitHub Actions
558b1d6cab chore: bump Claude Code to 2.1.201 and Agent SDK to 0.3.201 2026-07-03 23:51:09 +00:00
GitHub Actions
01872ccc02 chore: bump Claude Code to 2.1.200 and Agent SDK to 0.3.200 2026-07-03 16:53:31 +00:00
GitHub Actions
769e3bdff9 chore: bump Claude Code to 2.1.199 and Agent SDK to 0.3.199 2026-07-02 23:36:20 +00:00
GitHub Actions
6c0083bb72 chore: bump Claude Code to 2.1.198 and Agent SDK to 0.3.198 2026-07-01 20:46:29 +00:00
GitHub Actions
fad22eb3fa chore: bump Claude Code to 2.1.197 and Agent SDK to 0.3.197 2026-06-30 17:57:23 +00:00
GitHub Actions
4633baf526 chore: bump Claude Code to 2.1.196 and Agent SDK to 0.3.196 2026-06-29 23:27:52 +00:00
GitHub Actions
a92e7c70a4 chore: bump Claude Code to 2.1.195 and Agent SDK to 0.3.195 2026-06-26 21:30:09 +00:00
GitHub Actions
5211368122 chore: bump Claude Code to 2.1.193 and Agent SDK to 0.3.193 2026-06-25 21:46:38 +00:00
GitHub Actions
428971d2ec chore: bump Claude Code to 2.1.191 and Agent SDK to 0.3.191 2026-06-24 21:59:09 +00:00
GitHub Actions
74eedf1a18 chore: bump Claude Code to 2.1.190 and Agent SDK to 0.3.190 2026-06-24 15:55:36 +00:00
GitHub Actions
80b3182633 chore: bump Claude Code to 2.1.187 and Agent SDK to 0.3.187 2026-06-23 21:05:06 +00:00
GitHub Actions
30544b6743 chore: bump Claude Code to 2.1.186 and Agent SDK to 0.3.186 2026-06-22 20:38:23 +00:00
GitHub Actions
2fee155104 chore: bump Claude Code to 2.1.185 and Agent SDK to 0.3.185 2026-06-20 21:00:13 +00:00
GitHub Actions
51705da45e chore: bump Claude Code to 2.1.183 and Agent SDK to 0.3.183 2026-06-19 01:21:31 +00:00
GitHub Actions
806af32823 chore: bump Claude Code to 2.1.181 and Agent SDK to 0.3.181 2026-06-17 22:08:47 +00:00
GitHub Actions
9dd8b95a39 chore: bump Claude Code to 2.1.179 and Agent SDK to 0.3.179 2026-06-16 20:23:28 +00:00
GitHub Actions
4d7e1f0cd8 chore: bump Claude Code to 2.1.178 and Agent SDK to 0.3.178 2026-06-15 21:37:45 +00:00
alexglynn
a5e5d3b82e
fix(parse-sdk-options): prevent shell-quote from collapsing unquoted Bash(X:*) rules to bare Bash (#1350)
* fix(parse-sdk-options): prevent shell-quote from collapsing unquoted Bash(X:*) rules to bare Bash

shell-quote's parse() tokenizes unquoted `(`, `)` as control operators
and barewords containing `*` as glob ops, all returned as non-string
objects. parseClaudeArgsToExtraArgs filtered those out, so an unquoted
`--allowedTools View,Bash(gh:*),Bash(cat:*)` collapsed to bare `Bash` —
silently widening scoped permission rules to unrestricted Bash(*).

Escape shell control metachars to Unicode private-use placeholders
before parse() and restore after; extract .pattern from glob ops.
Preserves existing quote/whitespace handling.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* ci: retrigger

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-13 22:45:14 -07:00
GitHub Actions
d5726de019 chore: bump Claude Code to 2.1.177 and Agent SDK to 0.3.177 2026-06-13 01:25:48 +00:00
GitHub Actions
56fa348258 chore: bump Claude Code to 2.1.176 and Agent SDK to 0.3.176 2026-06-12 21:54:44 +00:00
GitHub Actions
0cb4f3e5e7 chore: bump Claude Code to 2.1.175 and Agent SDK to 0.3.175 2026-06-12 04:24:54 +00:00
looooown
eba921ff6f
docs: fix execution file parsing example (#1297) 2026-06-11 21:19:57 -07:00
Stephen Cobbe
84d317e8f9
fix: break SDK iterator after result message to prevent hang (#1339)
In some workflow contexts — reliably reproducible for us on
pull_request-triggered runs of this action — the Claude Agent SDK
query() async iterator does not close after the terminal result
message is emitted. The for-await loop in runClaudeWithSdk blocks
indefinitely after Claude has finished its work, until the workflow's
timeout-minutes cap kills the job.

Symptoms observed in production (4× in our scan-reviewer workflow):
- Claude completes successfully: SDK emits { type: "result",
  subtype: "success", ... } with the cost / turns / duration set.
- The action then sits with zero log output for the rest of
  timeout-minutes (we measured 18-19 min of dead time after result).
- The job is cancelled at timeout. writeExecutionFile is never
  called → no claude-execution-output.json → cost-tracker and other
  post-steps see nothing.
- Run shows as cancelled, even though Claude did its work and any
  verdict it posted via gh tools already landed.

Author-mode (workflow_dispatch) runs from the same codebase
terminate cleanly the same day, so the hang is specific to certain
event triggers.

By SDK contract the result message is terminal — no further messages
follow. Break out of the loop immediately after capturing it,
regardless of whether the upstream iterator ever closes. If the SDK
is later fixed to close cleanly in all contexts, this break becomes
a no-op.
2026-06-11 21:17:47 -07:00
GitHub Actions
ebcdfe6dc6 chore: bump Claude Code to 2.1.174 and Agent SDK to 0.3.174 2026-06-12 01:17:25 +00:00
GitHub Actions
0f97b95b65 chore: bump Claude Code to 2.1.173 and Agent SDK to 0.3.173 2026-06-11 05:43:00 +00:00
GitHub Actions
eee73e2ae5 chore: bump Claude Code to 2.1.172 and Agent SDK to 0.3.172 2026-06-10 21:01:40 +00:00
GitHub Actions
11ba60486e chore: bump Claude Code to 2.1.170 and Agent SDK to 0.3.170 2026-06-09 17:27:26 +00:00
GitHub Actions
593d7a5c4e chore: bump Claude Code to 2.1.169 and Agent SDK to 0.3.169 2026-06-08 21:57:59 +00:00
GitHub Actions
fbda2eb1bd chore: bump Claude Code to 2.1.168 and Agent SDK to 0.3.168 2026-06-06 23:42:46 +00:00
GitHub Actions
64de744025 chore: bump Claude Code to 2.1.167 and Agent SDK to 0.3.167 2026-06-06 01:34:14 +00:00
GitHub Actions
410165836e chore: bump Claude Code to 2.1.166 and Agent SDK to 0.3.166 2026-06-06 00:56:12 +00:00
GitHub Actions
41ea7642c1 chore: bump Claude Code to 2.1.165 and Agent SDK to 0.3.165 2026-06-05 05:45:57 +00:00