@rowan-agent/agent 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1367,7 +1367,7 @@ function createPhaseInteractionDriver(state, phase, signal) {
1367
1367
  };
1368
1368
  const matchingStoredRequest = (input) => {
1369
1369
  const fingerprint = interactionFingerprint(input);
1370
- return [...requests.values()].find((request) => !usedRequestIds.has(request.id) && interactionFingerprint(request) === fingerprint);
1370
+ return [...requests.values()].find((request) => !usedRequestIds.has(request.id) && (answers.has(request.id) || request.status === "pending") && request.toolCallId === input.toolCallId && interactionFingerprint(request) === fingerprint);
1371
1371
  };
1372
1372
  return {
1373
1373
  signal: signal ?? new AbortController().signal,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rowan-agent/agent",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",