maka-agent 0.2.1-dev.82.20261014 → 0.2.1-dev.84.20261014

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.
@@ -1063,6 +1063,7 @@ export function buildComputerUseTools(deps) {
1063
1063
  // -1 is not undefined — an unguarded field would hand `window:-1:0` to the
1064
1064
  // reorder and rely on it throwing.
1065
1065
  const targetWindowId = context.boundAction?.target.windowId;
1066
+ const overlayRects = observations.get(context.sessionId)?.obscuringRects;
1066
1067
  const overlayContext = {
1067
1068
  sessionId: context.sessionId,
1068
1069
  toolCallId: context.toolCallId,
@@ -1070,6 +1071,7 @@ export function buildComputerUseTools(deps) {
1070
1071
  ...(Number.isInteger(targetWindowId) && targetWindowId > 0
1071
1072
  ? { targetWindowId: targetWindowId }
1072
1073
  : {}),
1074
+ ...(overlayRects && overlayRects.length > 0 ? { obscuringRects: overlayRects } : {}),
1073
1075
  };
1074
1076
  let fence;
1075
1077
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maka-agent",
3
- "version": "0.2.1-dev.82.20261014",
3
+ "version": "0.2.1-dev.84.20261014",
4
4
  "description": "Apache Maka (Incubating) developer snapshot; not an Apache release.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",