@acmecloud/core 1.0.7 → 1.0.8

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.
@@ -12,6 +12,7 @@ import * as diff from "diff";
12
12
  import { replaceCode } from "./edit.js";
13
13
  import { getLspClientForFile } from "./lsp-client.js";
14
14
  import { executeBatch, BATCH_WHITELIST } from "./batch.js";
15
+ import { executeBrowserAction } from "./browser.js";
15
16
  const execAsync = promisify(exec);
16
17
  // ── Constants (from opencode patterns) ──
17
18
  const DEFAULT_READ_LIMIT = 2000;
@@ -967,6 +968,9 @@ export const toolExecutors = {
967
968
  batch: async (args) => {
968
969
  return executeBatch(args, toolExecutors);
969
970
  },
971
+ browser_action: async (args) => {
972
+ return executeBrowserAction(args);
973
+ },
970
974
  };
971
975
  // Create AI SDK tool objects (with execute) for the agent
972
976
  const tool = (options) => createTool(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acmecloud/core",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -1095,6 +1095,9 @@ export const toolExecutors: Record<string, (args: any) => Promise<string>> = {
1095
1095
  batch: async (args) => {
1096
1096
  return executeBatch(args, toolExecutors);
1097
1097
  },
1098
+ browser_action: async (args) => {
1099
+ return executeBrowserAction(args);
1100
+ },
1098
1101
  };
1099
1102
 
1100
1103
  // Create AI SDK tool objects (with execute) for the agent