@suveren/gateway 0.2.4 → 0.2.5

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.
@@ -1072,9 +1072,11 @@ Proposal ID: ${proposal.id}. Check status with check-pending-commitments(proposa
1072
1072
  );
1073
1073
  }
1074
1074
  await state2.spClient.postReceipt({
1075
- attestationHash: authHash,
1075
+ // v0.5: send the bare content address; the AS reconstructs the
1076
+ // per-user storage key. Fall back to frameHash only for legacy
1077
+ // (pre-v0.4) records that predate bounds_hash.
1078
+ boundsHash: auth.boundsHash ?? authHash,
1076
1079
  profileId: auth.profileId,
1077
- path: auth.path,
1078
1080
  action: tool.namespacedName,
1079
1081
  actionType,
1080
1082
  executionContext: { ...execution },
@@ -1501,10 +1503,10 @@ async function executeCommitted(proposal, state2, integrationManager2) {
1501
1503
  );
1502
1504
  }
1503
1505
  try {
1506
+ const boundsHash = proposal.frameHash.split(":").slice(0, 2).join(":");
1504
1507
  await state2.spClient.postReceipt({
1505
- attestationHash: proposal.frameHash,
1508
+ boundsHash,
1506
1509
  profileId: proposal.profileId,
1507
- path: proposal.path,
1508
1510
  action: proposal.tool,
1509
1511
  actionType: proposalActionType,
1510
1512
  executionContext: proposal.executionContext,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suveren/gateway",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Suveren gateway — local agent gateway built in compliance with the Human Agency Protocol (HAP). Runs the UI, control plane, and MCP server in one Node process.",
5
5
  "type": "module",
6
6
  "main": "server.js",