refactor patch feat/7d-b-external-agent-protocol-impl #4 / 5
aaronrene · 27 days ago · Jun 28, 2026 · Diff

refactor: update external-agent-protocol.mjs to use unified input object

sha256:6391a283c7eab1ba014db1f722e4d7d933e439a22b657b128bd3b442bc53a9ef sha
+12 symbols
sha256:116caed6f3fb30eaafee6eca6b004571a9269368bf17dc76544b185750a0541f snapshot
+12
symbols added
0
dead code introduced
Semantic Changes 12 symbols
~ lib/agent/external-agent-protocol.mjs .mjs 12 symbols added
+ handleClaimTask function async_function handleClaimTask L121–225
+ handleCompleteTask function async_function handleCompleteTask L312–446
+ handleGetTasks function async_function handleGetTasks L541–584
+ handleHeartbeatTask function async_function handleHeartbeatTask L227–310
+ handleNeedsInputTask function async_function handleNeedsInputTask L448–539
+ protocolError function function protocolError L74–77
+ resolveBearer function function resolveBearer L112–119
+ scrubPii function function scrubPii L83–91
+ sweepExpiredLeases function async_function sweepExpiredLeases L586–625
+ taskViewForExternalProtocol function function taskViewForExternalProtocol L93–110
+ validateIdempotencyKey function function validateIdempotencyKey L79–81
+ withTaskLock function async_function withTaskLock L59–72

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:6391a283c7eab1ba014db1f722e4d7d933e439a22b657b128bd3b442bc53a9ef --body "your comment"