@opengeni/runtime 4.6.1 → 4.6.2-canary.39854174564001

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.
@@ -13734,13 +13734,18 @@ function interactionToolName(name) {
13734
13734
  const prefix = `${INTERACTION_MCP_SERVER_ID}${MCP_TOOL_NAME_SEPARATOR}`;
13735
13735
  return name.startsWith(prefix) ? name.slice(prefix.length) : null;
13736
13736
  }
13737
+ var CUA_TOOL_PREFIX = "cua_";
13738
+ var CUA_WORKING_SET = ["cua_get_window_state", "cua_run_steps"];
13737
13739
  function familyCompanions(disclosed, pool) {
13738
13740
  const disclosedShort = new Set(
13739
13741
  disclosed.map((tool2) => interactionToolName(tool2.name)).filter((name) => name !== null)
13740
13742
  );
13741
- const wanted = INTERACTION_TOOL_FAMILIES.filter(
13742
- (family) => family.some((member) => disclosedShort.has(member))
13743
- ).flat();
13743
+ const wanted = [
13744
+ ...INTERACTION_TOOL_FAMILIES.filter(
13745
+ (family) => family.some((member) => disclosedShort.has(member))
13746
+ ).flat(),
13747
+ ...[...disclosedShort].some((name) => name.startsWith(CUA_TOOL_PREFIX)) ? CUA_WORKING_SET : []
13748
+ ];
13744
13749
  const companions = [];
13745
13750
  for (const member of wanted) {
13746
13751
  if (disclosedShort.has(member)) continue;
@@ -17343,4 +17348,4 @@ export {
17343
17348
  resolveTurnModel,
17344
17349
  MultiProviderModelProvider
17345
17350
  };
17346
- //# sourceMappingURL=chunk-YXNCKAJS.js.map
17351
+ //# sourceMappingURL=chunk-TVZD7HHB.js.map