技能 2026-05-29 12:14 UTC
claude-code-workflow-creator
由提交人 ray-amjad 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix: correct args behavior — runtime serializes args to a string。解决了已知运行时异常与边界错误,提升系统稳定性。
Commit提交信息原文
fix: correct args behavior — runtime serializes args to a string
Empirically verified (zero-agent probe workflows): the Workflow runtime
serializes the `args` input to a string before the script runs. A JSON
object or array passed via the tool's `args` field arrives as JSON *text*,
not a live value, so `args.field` / `args.map(...)` do not work directly.
The skill previously claimed the opposite ("passed through unchanged, an
object stays an object, no stringification"). The defensive normalizer
(typeof args === 'string' ? JSON.parse : args) was already correct and is
kept; only the explanations are fixed, plus a verification recipe is added.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>